From 02b944951eea6dd30a9dc6c27c0804822775c83e Mon Sep 17 00:00:00 2001 From: Rutra Date: Wed, 13 May 2026 12:54:04 +0200 Subject: [PATCH] init --- chunk-3W3Y6BTK.js | 1 + chunk-DE53CV2Q.js | 1 + chunk-TG6VAGNW.js | 1 + chunk-THKCX2S5.js | 5 +++++ chunk-WJQFUTKA.js | 1 + favicon.ico | Bin 0 -> 15086 bytes icons/discord.svg | 3 +++ icons/instagram.svg | 3 +++ icons/plus.svg | 3 +++ icons/tiktok.svg | 3 +++ icons/twitch.svg | 3 +++ icons/youtube.svg | 3 +++ index.html | 13 +++++++++++++ main-TLKF55AO.js | 2 ++ polyfills-5CFQRCPP.js | 2 ++ styles-5INURTSO.css | 0 16 files changed, 44 insertions(+) create mode 100644 chunk-3W3Y6BTK.js create mode 100644 chunk-DE53CV2Q.js create mode 100644 chunk-TG6VAGNW.js create mode 100644 chunk-THKCX2S5.js create mode 100644 chunk-WJQFUTKA.js create mode 100644 favicon.ico create mode 100644 icons/discord.svg create mode 100644 icons/instagram.svg create mode 100644 icons/plus.svg create mode 100644 icons/tiktok.svg create mode 100644 icons/twitch.svg create mode 100644 icons/youtube.svg create mode 100644 index.html create mode 100644 main-TLKF55AO.js create mode 100644 polyfills-5CFQRCPP.js create mode 100644 styles-5INURTSO.css diff --git a/chunk-3W3Y6BTK.js b/chunk-3W3Y6BTK.js new file mode 100644 index 0000000..ede8a84 --- /dev/null +++ b/chunk-3W3Y6BTK.js @@ -0,0 +1 @@ +import{A as o,C as $,D as l,E as c,F as ae,G as le,W as N,_ as q,a,b as u,c as ie,d as re,e as se,f as oe,g as I,ga as m,h as g,ia as h,j as U,ja as D,k as p,ka as ue,la as z,ma as Z,r as C,s as H,t as S,u as L,y as V,z as W}from"./chunk-THKCX2S5.js";var ve=(()=>{class n{_renderer;_elementRef;onChange=t=>{};onTouched=()=>{};constructor(t,i){this._renderer=t,this._elementRef=i}setProperty(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static \u0275fac=function(i){return new(i||n)(o(W),o(L))};static \u0275dir=l({type:n})}return n})(),ye=(()=>{class n extends ve{static \u0275fac=(()=>{let t;return function(r){return(t||(t=S(n)))(r||n)}})();static \u0275dir=l({type:n,features:[c]})}return n})(),K=new p("");var xe={provide:K,useExisting:g(()=>Ce),multi:!0};function Pe(){let n=Z()?Z().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}var Re=new p(""),Ce=(()=>{class n extends ve{_compositionMode;_composing=!1;constructor(t,i,r){super(t,i),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!Pe())}writeValue(t){let i=t??"";this.setProperty("value",i)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static \u0275fac=function(i){return new(i||n)(o(W),o(L),o(Re,8))};static \u0275dir=l({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,r){i&1&&N("input",function(d){return r._handleInput(d.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(d){return r._compositionEnd(d.target.value)})},standalone:!1,features:[m([xe]),c]})}return n})();function ke(n){return n==null||je(n)===0}function je(n){return n==null?null:Array.isArray(n)||typeof n=="string"?n.length:n instanceof Set?n.size:null}var J=new p(""),Ve=new p("");function Ge(n){return ke(n.value)?{required:!0}:null}function de(n){return null}function De(n){return n!=null}function be(n){return ae(n)?re(n):n}function Ae(n){let e={};return n.forEach(t=>{e=t!=null?a(a({},e),t):e}),Object.keys(e).length===0?null:e}function Me(n,e){return e.map(t=>t(n))}function Te(n){return!n.validate}function Ee(n){return n.map(e=>Te(e)?e:t=>e.validate(t))}function Be(n){if(!n)return null;let e=n.filter(De);return e.length==0?null:function(t){return Ae(Me(t,e))}}function Q(n){return n!=null?Be(Ee(n)):null}function Ue(n){if(!n)return null;let e=n.filter(De);return e.length==0?null:function(t){let i=Me(t,e).map(be);return oe(i).pipe(se(Ae))}}function ee(n){return n!=null?Ue(Ee(n)):null}function ce(n,e){return n===null?[e]:Array.isArray(n)?[...n,e]:[n,e]}function He(n){return n._rawValidators}function Le(n){return n._rawAsyncValidators}function X(n){return n?Array.isArray(n)?n:[n]:[]}function x(n,e){return Array.isArray(n)?n.includes(e):n===e}function he(n,e){let t=X(e);return X(n).forEach(r=>{x(t,r)||t.push(r)}),t}function fe(n,e){return X(e).filter(t=>!x(n,t))}var P=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=Q(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=ee(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_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}},y=class extends P{name;get formDirective(){return null}get path(){return null}},F=class extends P{_parent=null;name=null;valueAccessor=null},R=class{_cd;constructor(e){this._cd=e}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},We={"[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"},Tt=u(a({},We),{"[class.ng-submitted]":"isSubmitted"}),Bt=(()=>{class n extends R{constructor(t){super(t)}static \u0275fac=function(i){return new(i||n)(o(F,2))};static \u0275dir=l({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&q("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[c]})}return n})(),Ut=(()=>{class n extends R{constructor(t){super(t)}static \u0275fac=function(i){return new(i||n)(o(y,10))};static \u0275dir=l({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){i&2&&q("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},standalone:!1,features:[c]})}return n})();var b="VALID",O="INVALID",_="PENDING",A="DISABLED",f=class{},k=class extends f{value;source;constructor(e,t){super(),this.value=e,this.source=t}},E=class extends f{pristine;source;constructor(e,t){super(),this.pristine=e,this.source=t}},w=class extends f{touched;source;constructor(e,t){super(),this.touched=e,this.source=t}},v=class extends f{status;source;constructor(e,t){super(),this.status=e,this.source=t}},Y=class extends f{source;constructor(e){super(),this.source=e}},j=class extends f{source;constructor(e){super(),this.source=e}};function we(n){return(B(n)?n.validators:n)||null}function $e(n){return Array.isArray(n)?Q(n):n||null}function Fe(n,e){return(B(e)?e.asyncValidators:n)||null}function qe(n){return Array.isArray(n)?ee(n):n||null}function B(n){return n!=null&&!Array.isArray(n)&&typeof n=="object"}function ze(n,e,t){let i=n.controls;if(!(e?Object.keys(i):i).length)throw new I(1e3,"");if(!i[t])throw new I(1001,"")}function Ze(n,e,t){n._forEachChild((i,r)=>{if(t[r]===void 0)throw new I(1002,"")})}var G=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(e,t){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 status(){return h(this.statusReactive)}set status(e){h(()=>this.statusReactive.set(e))}_status=D(()=>this.statusReactive());statusReactive=C(void 0);get valid(){return this.status===b}get invalid(){return this.status===O}get pending(){return this.status==_}get disabled(){return this.status===A}get enabled(){return this.status!==A}errors;get pristine(){return h(this.pristineReactive)}set pristine(e){h(()=>this.pristineReactive.set(e))}_pristine=D(()=>this.pristineReactive());pristineReactive=C(!0);get dirty(){return!this.pristine}get touched(){return h(this.touchedReactive)}set touched(e){h(()=>this.touchedReactive.set(e))}_touched=D(()=>this.touchedReactive());touchedReactive=C(!1);get untouched(){return!this.touched}_events=new ie;events=this._events.asObservable();valueChanges;statusChanges;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(he(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(he(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(fe(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(fe(e,this._rawAsyncValidators))}hasValidator(e){return x(this._rawValidators,e)}hasAsyncValidator(e){return x(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let t=this.touched===!1;this.touched=!0;let i=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(u(a({},e),{sourceControl:i})),t&&e.emitEvent!==!1&&this._events.next(new w(!0,i))}markAllAsDirty(e={}){this.markAsDirty({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsDirty(e))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(e))}markAsUntouched(e={}){let t=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=e.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:i})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,i),t&&e.emitEvent!==!1&&this._events.next(new w(!1,i))}markAsDirty(e={}){let t=this.pristine===!0;this.pristine=!1;let i=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(u(a({},e),{sourceControl:i})),t&&e.emitEvent!==!1&&this._events.next(new E(!1,i))}markAsPristine(e={}){let t=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=e.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,i),t&&e.emitEvent!==!1&&this._events.next(new E(!0,i))}markAsPending(e={}){this.status=_;let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new v(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(u(a({},e),{sourceControl:t}))}disable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=A,this.errors=null,this._forEachChild(r=>{r.disable(u(a({},e),{onlySelf:!0}))}),this._updateValue();let i=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new k(this.value,i)),this._events.next(new v(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(u(a({},e),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=b,this._forEachChild(i=>{i.enable(u(a({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(u(a({},e),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(e,t){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===b||this.status===_)&&this._runAsyncValidator(i,e.emitEvent)}let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new k(this.value,t)),this._events.next(new v(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(u(a({},e),{sourceControl:t}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?A:b}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,t){if(this.asyncValidator){this.status=_,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1,shouldHaveEmitted:e!==!1};let i=be(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:t,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(t.emitEvent!==!1,this,t.shouldHaveEmitted)}get(e){let t=e;return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((i,r)=>i&&i._find(r),this)}getError(e,t){let i=t?this.get(t):this;return i&&i.errors?i.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,t,i){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||i)&&this._events.next(new v(this.status,t)),this._parent&&this._parent._updateControlsErrors(e,t,i)}_initObservables(){this.valueChanges=new V,this.statusChanges=new V}_calculateStatus(){return this._allControlsDisabled()?A:this.errors?O:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(_)?_:this._anyControlsHaveStatus(O)?O:b}_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,t){let i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,t),r&&this._events.next(new E(this.pristine,t))}_updateTouched(e={},t){this.touched=this._anyControlsTouched(),this._events.next(new w(this.touched,t)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,t)}_onDisabledChange=[];_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){B(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=$e(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=qe(this._rawAsyncValidators)}},T=class extends G{constructor(e,t,i){super(we(t),Fe(i,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;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,i={}){this.registerControl(e,t),this.updateValueAndValidity({emitEvent:i.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,i={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){Ze(this,!0,e),Object.keys(e).forEach(i=>{ze(this,!0,i),this.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){e!=null&&(Object.keys(e).forEach(i=>{let r=this.controls[i];r&&r.patchValue(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((i,r)=>{i.reset(e?e[r]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t),t?.emitEvent!==!1&&this._events.next(new j(this))}getRawValue(){return this._reduceChildren({},(e,t,i)=>(e[i]=t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(t,i)=>i._syncPendingControls()?!0:t);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(t=>{let i=this.controls[t];i&&e(i,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[t,i]of Object.entries(this.controls))if(this.contains(t)&&e(i))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(t,i,r)=>((i.enabled||this.disabled)&&(t[r]=i.value),t))}_reduceChildren(e,t){let i=e;return this._forEachChild((r,s)=>{i=t(i,r,s)}),i}_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 te=new p("",{providedIn:"root",factory:()=>ne}),ne="always";function Xe(n,e){return[...e.path,n]}function Ie(n,e,t=ne){Se(n,e),e.valueAccessor.writeValue(n.value),(n.disabled||t==="always")&&e.valueAccessor.setDisabledState?.(n.disabled),Ke(n,e),Qe(n,e),Je(n,e),Ye(n,e)}function ge(n,e){n.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function Ye(n,e){if(e.valueAccessor.setDisabledState){let t=i=>{e.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(t),e._registerOnDestroy(()=>{n._unregisterOnDisabledChange(t)})}}function Se(n,e){let t=He(n);e.validator!==null?n.setValidators(ce(t,e.validator)):typeof t=="function"&&n.setValidators([t]);let i=Le(n);e.asyncValidator!==null?n.setAsyncValidators(ce(i,e.asyncValidator)):typeof i=="function"&&n.setAsyncValidators([i]);let r=()=>n.updateValueAndValidity();ge(e._rawValidators,r),ge(e._rawAsyncValidators,r)}function Ke(n,e){e.valueAccessor.registerOnChange(t=>{n._pendingValue=t,n._pendingChange=!0,n._pendingDirty=!0,n.updateOn==="change"&&Ne(n,e)})}function Je(n,e){e.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,n.updateOn==="blur"&&n._pendingChange&&Ne(n,e),n.updateOn!=="submit"&&n.markAsTouched()})}function Ne(n,e){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function Qe(n,e){let t=(i,r)=>{e.valueAccessor.writeValue(i),r&&e.viewToModelUpdate(i)};n.registerOnChange(t),e._registerOnDestroy(()=>{n._unregisterOnChange(t)})}function et(n,e){n==null,Se(n,e)}function tt(n,e){if(!n.hasOwnProperty("model"))return!1;let t=n.model;return t.isFirstChange()?!0:!Object.is(e,t.currentValue)}function nt(n){return Object.getPrototypeOf(n.constructor)===ye}function it(n,e){n._syncPendingControls(),e.forEach(t=>{let i=t.control;i.updateOn==="submit"&&i._pendingChange&&(t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function rt(n,e){if(!e)return null;Array.isArray(e);let t,i,r;return e.forEach(s=>{s.constructor===Ce?t=s:nt(s)?i=s:r=s}),r||i||t||null}var st={provide:y,useExisting:g(()=>ot)},M=Promise.resolve(),ot=(()=>{class n extends y{callSetDisabledState;get submitted(){return h(this.submittedReactive)}_submitted=D(()=>this.submittedReactive());submittedReactive=C(!1);_directives=new Set;form;ngSubmit=new V;options;constructor(t,i,r){super(),this.callSetDisabledState=r,this.form=new T({},Q(t),ee(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){M.then(()=>{let i=this._findContainer(t.path);t.control=i.registerControl(t.name,t.control),Ie(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){M.then(()=>{let i=this._findContainer(t.path);i&&i.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){M.then(()=>{let i=this._findContainer(t.path),r=new T({});et(r,t),i.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){M.then(()=>{let i=this._findContainer(t.path);i&&i.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,i){M.then(()=>{this.form.get(t.path).setValue(i)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),it(this.form,this._directives),this.ngSubmit.emit(t),this.form._events.next(new Y(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static \u0275fac=function(i){return new(i||n)(o(J,10),o(Ve,10),o(te,8))};static \u0275dir=l({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&N("submit",function(d){return r.onSubmit(d)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[m([st]),c]})}return n})();function pe(n,e){let t=n.indexOf(e);t>-1&&n.splice(t,1)}function me(n){return typeof n=="object"&&n!==null&&Object.keys(n).length===2&&"value"in n&&"disabled"in n}var at=class extends G{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(e=null,t,i){super(we(t),Fe(i,t)),this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),B(t)&&(t.nonNullable||t.initialValueIsDefault)&&(me(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(i=>i(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,t?.emitEvent!==!1&&this._events.next(new j(this))}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){pe(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){pe(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){me(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 lt={provide:F,useExisting:g(()=>ut)},_e=Promise.resolve(),ut=(()=>{class n extends F{_changeDetectorRef;callSetDisabledState;control=new at;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new V;constructor(t,i,r,s,d,Oe){super(),this._changeDetectorRef=d,this.callSetDisabledState=Oe,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=rt(this,s)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let i=t.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),tt(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Ie(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){_e.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let i=t.isDisabled.currentValue,r=i!==0&&z(i);_e.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?Xe(t,this._parent):[t]}static \u0275fac=function(i){return new(i||n)(o(y,9),o(J,10),o(Ve,10),o(K,10),o(ue,8),o(te,8))};static \u0275dir=l({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[m([lt]),c,H]})}return n})();var Lt=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275dir=l({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return n})(),dt={provide:K,useExisting:g(()=>ct),multi:!0},ct=(()=>{class n extends ye{writeValue(t){let i=t??"";this.setProperty("value",i)}registerOnChange(t){this.onChange=i=>{t(i==""?null:parseFloat(i))}}static \u0275fac=(()=>{let t;return function(r){return(t||(t=S(n)))(r||n)}})();static \u0275dir=l({type:n,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,r){i&1&&N("input",function(d){return r.onChange(d.target.value)})("blur",function(){return r.onTouched()})},standalone:!1,features:[m([dt]),c]})}return n})();var ht=(()=>{class n{_validator=de;_onChange;_enabled;ngOnChanges(t){if(this.inputName in t){let i=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):de,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return t!=null}static \u0275fac=function(i){return new(i||n)};static \u0275dir=l({type:n,features:[H]})}return n})();var ft={provide:J,useExisting:g(()=>gt),multi:!0};var gt=(()=>{class n extends ht{required;inputName="required";normalizeInput=z;createValidator=t=>Ge;enabled(t){return t}static \u0275fac=(()=>{let t;return function(r){return(t||(t=S(n)))(r||n)}})();static \u0275dir=l({type:n,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,r){i&2&&le("required",r._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[m([ft]),c]})}return n})();var pt=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=$({type:n});static \u0275inj=U({})}return n})();var Wt=(()=>{class n{static withConfig(t){return{ngModule:n,providers:[{provide:te,useValue:t.callSetDisabledState??ne}]}}static \u0275fac=function(i){return new(i||n)};static \u0275mod=$({type:n});static \u0275inj=U({imports:[pt]})}return n})();export{Ce as a,Bt as b,Ut as c,ot as d,ut as e,Lt as f,ct as g,gt as h,Wt as i}; diff --git a/chunk-DE53CV2Q.js b/chunk-DE53CV2Q.js new file mode 100644 index 0000000..2135445 --- /dev/null +++ b/chunk-DE53CV2Q.js @@ -0,0 +1 @@ +import{a as G}from"./chunk-TG6VAGNW.js";import{a as U,b as z,e as N,g as j,i as R}from"./chunk-3W3Y6BTK.js";import{$ as l,B as L,H as h,I as w,J as E,L as D,M as v,N as S,O as o,P as a,Q as V,U as C,W as f,Y as d,Z as A,_ as k,a as b,aa as P,b as M,ba as W,ca as B,da as g,ea as u,fa as p,l as O,m as _,n as m,r as y,va as I,w as T,x as c}from"./chunk-THKCX2S5.js";var F=(s,r)=>r.id;function X(s,r){if(s&1){let t=C();o(0,"div",19)(1,"input",23),f("input",function(e){let n=_(t).$index,x=d(3);return m(x.updateTag(n,e.target.value))}),a(),o(2,"button",24),f("click",function(){let e=_(t).$index,n=d(3);return m(n.removeTag(e))}),l(3,"\u2715"),a()()}if(s&2){let t=r.$implicit;c(),S("value",t)}}function q(s,r){s&1&&l(0," Sauvegarde\u2026 ")}function K(s,r){s&1&&l(0," Sauvegarder ")}function Q(s,r){if(s&1){let t=C();o(0,"div",8)(1,"div",9)(2,"label"),l(3,"Nom"),a(),o(4,"input",10),p("ngModelChange",function(e){let n=_(t);return u(n.name,e)||(n.name=e),m(e)}),a()(),o(5,"div",9)(6,"label"),l(7,"Titre"),a(),o(8,"input",11),p("ngModelChange",function(e){let n=_(t);return u(n.title,e)||(n.title=e),m(e)}),a()(),o(9,"div",9)(10,"label"),l(11,"Avatar URL"),a(),o(12,"input",12),p("ngModelChange",function(e){let n=_(t);return u(n.avatarUrl,e)||(n.avatarUrl=e),m(e)}),a()(),o(13,"div",9)(14,"label"),l(15,"Background Image URL"),a(),o(16,"input",13),p("ngModelChange",function(e){let n=_(t);return u(n.backgroundImageUrl,e)||(n.backgroundImageUrl=e),m(e)}),a()(),o(17,"div",14)(18,"label"),l(19,"Description courte"),a(),o(20,"textarea",15),p("ngModelChange",function(e){let n=_(t);return u(n.description,e)||(n.description=e),m(e)}),a()(),o(21,"div",14)(22,"label"),l(23,"\xC0 propos (HTML)"),a(),o(24,"textarea",16),p("ngModelChange",function(e){let n=_(t);return u(n.aboutText,e)||(n.aboutText=e),m(e)}),a()()(),o(25,"div",17)(26,"label"),l(27,"Tags"),a(),o(28,"div",18),D(29,X,4,1,"div",19,E),o(31,"button",20),f("click",function(){_(t);let e=d(2);return m(e.addTag())}),l(32,"+ Tag"),a()()(),o(33,"div",21)(34,"button",22),f("click",function(){_(t);let e=d(2);return m(e.saveProfile())}),h(35,q,1,0)(36,K,1,0),a()()}if(s&2){let t=r,i=d(2);c(4),g("ngModel",t.name),c(4),g("ngModel",t.title),c(4),g("ngModel",t.avatarUrl),c(4),g("ngModel",t.backgroundImageUrl),c(4),g("ngModel",t.description),c(4),g("ngModel",t.aboutText),c(5),v(t.tags),c(5),S("disabled",i.profileSaving()),c(),w(i.profileSaving()?35:36)}}function Y(s,r){if(s&1&&(o(0,"section",7)(1,"h2"),l(2,"Profil"),a(),h(3,Q,37,8),a()),s&2){let t,i=d();c(3),w((t=i.profile())?3:-1,t)}}function Z(s,r){if(s&1){let t=C();o(0,"div",32)(1,"input",34),p("ngModelChange",function(e){_(t);let n=d(3);return u(n.editGameDraft.icon,e)||(n.editGameDraft.icon=e),m(e)}),a(),o(2,"input",35),p("ngModelChange",function(e){_(t);let n=d(3);return u(n.editGameDraft.name,e)||(n.editGameDraft.name=e),m(e)}),a(),o(3,"input",36),p("ngModelChange",function(e){_(t);let n=d(3);return u(n.editGameDraft.type,e)||(n.editGameDraft.type=e),m(e)}),a(),o(4,"input",37),p("ngModelChange",function(e){_(t);let n=d(3);return u(n.editGameDraft.sortOrder,e)||(n.editGameDraft.sortOrder=e),m(e)}),a(),o(5,"button",38),f("click",function(){_(t);let e=d(3);return m(e.saveGame())}),l(6,"\u2713"),a(),o(7,"button",39),f("click",function(){_(t);let e=d(3);return m(e.editingGameId=null)}),l(8,"\u2715"),a()()}if(s&2){let t=d(3);c(),g("ngModel",t.editGameDraft.icon),c(),g("ngModel",t.editGameDraft.name),c(),g("ngModel",t.editGameDraft.type),c(),g("ngModel",t.editGameDraft.sortOrder)}}function $(s,r){if(s&1){let t=C();o(0,"div",33)(1,"span",40),l(2),a(),o(3,"span",41),l(4),a(),o(5,"span",42),l(6),a(),o(7,"button",43),f("click",function(){_(t);let e=d().$implicit,n=d(2);return m(n.startEditGame(e))}),l(8,"\u270E"),a(),o(9,"button",24),f("click",function(){_(t);let e=d().$implicit,n=d(2);return m(n.deleteGame(e.id))}),l(10,"\u2715"),a()()}if(s&2){let t=d().$implicit;c(2),P(t.icon),c(2),P(t.name),c(2),P(t.type)}}function ee(s,r){if(s&1&&h(0,Z,9,4,"div",32)(1,$,11,3,"div",33),s&2){let t=r.$implicit,i=d(2);w(i.editingGameId===t.id?0:1)}}function te(s,r){if(s&1){let t=C();o(0,"section",7)(1,"h2"),l(2,"Jeux"),a(),o(3,"div",25),D(4,ee,2,1,null,null,F),a(),o(6,"div",26)(7,"h3"),l(8,"Ajouter un jeu"),a(),o(9,"div",8)(10,"div",9)(11,"label"),l(12,"Nom"),a(),o(13,"input",27),p("ngModelChange",function(e){_(t);let n=d();return u(n.newGame.name,e)||(n.newGame.name=e),m(e)}),a()(),o(14,"div",9)(15,"label"),l(16,"Ic\xF4ne (emoji)"),a(),o(17,"input",28),p("ngModelChange",function(e){_(t);let n=d();return u(n.newGame.icon,e)||(n.newGame.icon=e),m(e)}),a()(),o(18,"div",9)(19,"label"),l(20,"Type"),a(),o(21,"input",29),p("ngModelChange",function(e){_(t);let n=d();return u(n.newGame.type,e)||(n.newGame.type=e),m(e)}),a()(),o(22,"div",9)(23,"label"),l(24,"Ordre"),a(),o(25,"input",30),p("ngModelChange",function(e){_(t);let n=d();return u(n.newGame.sortOrder,e)||(n.newGame.sortOrder=e),m(e)}),a()()(),o(26,"button",31),f("click",function(){_(t);let e=d();return m(e.addGame())}),l(27,"Ajouter"),a()()()}if(s&2){let t=d();c(4),v(t.games()),c(9),g("ngModel",t.newGame.name),c(4),g("ngModel",t.newGame.icon),c(4),g("ngModel",t.newGame.type),c(4),g("ngModel",t.newGame.sortOrder)}}function ne(s,r){if(s&1){let t=C();o(0,"div",32)(1,"input",51),p("ngModelChange",function(e){_(t);let n=d(3);return u(n.editSocialLinkDraft.platform,e)||(n.editSocialLinkDraft.platform=e),m(e)}),a(),o(2,"input",52),p("ngModelChange",function(e){_(t);let n=d(3);return u(n.editSocialLinkDraft.url,e)||(n.editSocialLinkDraft.url=e),m(e)}),a(),o(3,"input",53),p("ngModelChange",function(e){_(t);let n=d(3);return u(n.editSocialLinkDraft.username,e)||(n.editSocialLinkDraft.username=e),m(e)}),a(),o(4,"input",54),p("ngModelChange",function(e){_(t);let n=d(3);return u(n.editSocialLinkDraft.icon,e)||(n.editSocialLinkDraft.icon=e),m(e)}),a(),o(5,"input",55),p("ngModelChange",function(e){_(t);let n=d(3);return u(n.editSocialLinkDraft.color,e)||(n.editSocialLinkDraft.color=e),m(e)}),a(),o(6,"input",56),p("ngModelChange",function(e){_(t);let n=d(3);return u(n.editSocialLinkDraft.color,e)||(n.editSocialLinkDraft.color=e),m(e)}),a(),o(7,"button",38),f("click",function(){_(t);let e=d(3);return m(e.saveSocialLink())}),l(8,"\u2713"),a(),o(9,"button",39),f("click",function(){_(t);let e=d(3);return m(e.editingSocialLinkId=null)}),l(10,"\u2715"),a()()}if(s&2){let t=d(3);c(),g("ngModel",t.editSocialLinkDraft.platform),c(),g("ngModel",t.editSocialLinkDraft.url),c(),g("ngModel",t.editSocialLinkDraft.username),c(),g("ngModel",t.editSocialLinkDraft.icon),c(),g("ngModel",t.editSocialLinkDraft.color),c(),g("ngModel",t.editSocialLinkDraft.color)}}function ie(s,r){if(s&1){let t=C();o(0,"div",33),V(1,"span",57),o(2,"span",41),l(3),a(),o(4,"span",42),l(5),a(),o(6,"a",58),l(7),a(),o(8,"button",43),f("click",function(){_(t);let e=d().$implicit,n=d(2);return m(n.startEditSocialLink(e))}),l(9,"\u270E"),a(),o(10,"button",24),f("click",function(){_(t);let e=d().$implicit,n=d(2);return m(n.deleteSocialLink(e.id))}),l(11,"\u2715"),a()()}if(s&2){let t=d().$implicit;c(),A("background",t.color),c(2),P(t.platform),c(2),P(t.username),c(),S("href",t.url,T),c(),P(t.url)}}function oe(s,r){if(s&1&&h(0,ne,11,6,"div",32)(1,ie,12,6,"div",33),s&2){let t=r.$implicit,i=d(2);w(i.editingSocialLinkId===t.id?0:1)}}function ae(s,r){if(s&1){let t=C();o(0,"section",7)(1,"h2"),l(2,"R\xE9seaux sociaux"),a(),o(3,"div",25),D(4,oe,2,1,null,null,F),a(),o(6,"div",26)(7,"h3"),l(8,"Ajouter un lien"),a(),o(9,"div",8)(10,"div",9)(11,"label"),l(12,"Plateforme"),a(),o(13,"input",44),p("ngModelChange",function(e){_(t);let n=d();return u(n.newSocialLink.platform,e)||(n.newSocialLink.platform=e),m(e)}),a()(),o(14,"div",9)(15,"label"),l(16,"URL"),a(),o(17,"input",45),p("ngModelChange",function(e){_(t);let n=d();return u(n.newSocialLink.url,e)||(n.newSocialLink.url=e),m(e)}),a()(),o(18,"div",9)(19,"label"),l(20,"Username"),a(),o(21,"input",46),p("ngModelChange",function(e){_(t);let n=d();return u(n.newSocialLink.username,e)||(n.newSocialLink.username=e),m(e)}),a()(),o(22,"div",9)(23,"label"),l(24,"Ic\xF4ne (ex: twitch.svg)"),a(),o(25,"input",47),p("ngModelChange",function(e){_(t);let n=d();return u(n.newSocialLink.icon,e)||(n.newSocialLink.icon=e),m(e)}),a()(),o(26,"div",9)(27,"label"),l(28,"Couleur"),a(),o(29,"div",48)(30,"input",49),p("ngModelChange",function(e){_(t);let n=d();return u(n.newSocialLink.color,e)||(n.newSocialLink.color=e),m(e)}),a(),o(31,"input",50),p("ngModelChange",function(e){_(t);let n=d();return u(n.newSocialLink.color,e)||(n.newSocialLink.color=e),m(e)}),a()()()(),o(32,"button",31),f("click",function(){_(t);let e=d();return m(e.addSocialLink())}),l(33,"Ajouter"),a()()()}if(s&2){let t=d();c(4),v(t.socialLinks()),c(9),g("ngModel",t.newSocialLink.platform),c(4),g("ngModel",t.newSocialLink.url),c(4),g("ngModel",t.newSocialLink.username),c(4),g("ngModel",t.newSocialLink.icon),c(5),g("ngModel",t.newSocialLink.color),c(),g("ngModel",t.newSocialLink.color)}}function re(s,r){if(s&1){let t=C();o(0,"div",64)(1,"div",66)(2,"input",67),p("ngModelChange",function(e){_(t);let n=d(3);return u(n.editFanartDraft.title,e)||(n.editFanartDraft.title=e),m(e)}),a(),o(3,"input",68),p("ngModelChange",function(e){_(t);let n=d(3);return u(n.editFanartDraft.author,e)||(n.editFanartDraft.author=e),m(e)}),a(),o(4,"input",69),p("ngModelChange",function(e){_(t);let n=d(3);return u(n.editFanartDraft.imageUrl,e)||(n.editFanartDraft.imageUrl=e),m(e)}),a(),o(5,"input",70),p("ngModelChange",function(e){_(t);let n=d(3);return u(n.editFanartDraft.sortOrder,e)||(n.editFanartDraft.sortOrder=e),m(e)}),a(),o(6,"div",71)(7,"button",38),f("click",function(){_(t);let e=d(3);return m(e.saveFanart())}),l(8,"\u2713 Sauvegarder"),a(),o(9,"button",39),f("click",function(){_(t);let e=d(3);return m(e.editingFanartId=null)}),l(10,"Annuler"),a()()()()}if(s&2){let t=d(3);c(2),g("ngModel",t.editFanartDraft.title),c(),g("ngModel",t.editFanartDraft.author),c(),g("ngModel",t.editFanartDraft.imageUrl),c(),g("ngModel",t.editFanartDraft.sortOrder)}}function le(s,r){if(s&1){let t=C();o(0,"div",65),V(1,"img",72),o(2,"div",73)(3,"span",74),l(4),a(),o(5,"span",75),l(6),a()(),o(7,"button",76),f("click",function(){_(t);let e=d().$implicit,n=d(2);return m(n.startEditFanart(e))}),l(8,"\u270E"),a(),o(9,"button",77),f("click",function(){_(t);let e=d().$implicit,n=d(2);return m(n.deleteFanart(e.id))}),l(10,"\u2715"),a()()}if(s&2){let t=d().$implicit;c(),S("src",t.imageUrl,T)("alt",t.title),c(3),P(t.title),c(2),W("par ",t.author)}}function de(s,r){if(s&1&&h(0,re,11,4,"div",64)(1,le,11,4,"div",65),s&2){let t=r.$implicit,i=d(2);w(i.editingFanartId===t.id?0:1)}}function ce(s,r){if(s&1){let t=C();o(0,"section",7)(1,"h2"),l(2,"Fanarts"),a(),o(3,"div",59),D(4,de,2,1,null,null,F),a(),o(6,"div",26)(7,"h3"),l(8,"Ajouter un fanart"),a(),o(9,"div",8)(10,"div",9)(11,"label"),l(12,"Titre"),a(),o(13,"input",60),p("ngModelChange",function(e){_(t);let n=d();return u(n.newFanart.title,e)||(n.newFanart.title=e),m(e)}),a()(),o(14,"div",9)(15,"label"),l(16,"Auteur"),a(),o(17,"input",61),p("ngModelChange",function(e){_(t);let n=d();return u(n.newFanart.author,e)||(n.newFanart.author=e),m(e)}),a()(),o(18,"div",14)(19,"label"),l(20,"URL de l'image"),a(),o(21,"input",62),p("ngModelChange",function(e){_(t);let n=d();return u(n.newFanart.imageUrl,e)||(n.newFanart.imageUrl=e),m(e)}),a()(),o(22,"div",9)(23,"label"),l(24,"Ordre"),a(),o(25,"input",63),p("ngModelChange",function(e){_(t);let n=d();return u(n.newFanart.sortOrder,e)||(n.newFanart.sortOrder=e),m(e)}),a()()(),o(26,"button",31),f("click",function(){_(t);let e=d();return m(e.addFanart())}),l(27,"Ajouter"),a()()()}if(s&2){let t=d();c(4),v(t.fanarts()),c(9),g("ngModel",t.newFanart.title),c(4),g("ngModel",t.newFanart.author),c(4),g("ngModel",t.newFanart.imageUrl),c(4),g("ngModel",t.newFanart.sortOrder)}}function se(s,r){if(s&1){let t=C();o(0,"div",80)(1,"input",88),f("ngModelChange",function(e){let n=_(t).$index,x=d(2);return m(x.updateBrandColor(n,"hex",e))}),a(),o(2,"input",89),f("ngModelChange",function(e){let n=_(t).$index,x=d(2);return m(x.updateBrandColor(n,"name",e))}),a(),o(3,"input",90),f("ngModelChange",function(e){let n=_(t).$index,x=d(2);return m(x.updateBrandColor(n,"hex",e))}),a(),o(4,"button",24),f("click",function(){let e=_(t).$index,n=d(2);return m(n.removeColor(e))}),l(5,"\u2715"),a()()}if(s&2){let t=r.$implicit,i=r.$index;c(),S("ngModel",t.hex)("name","cHex"+i),c(),S("ngModel",t.name)("name","cName"+i),c(),S("ngModel",t.hex)("name","cHexT"+i)}}function _e(s,r){if(s&1){let t=C();o(0,"div",86)(1,"input",91),f("ngModelChange",function(e){let n=_(t).$index,x=d(2);return m(x.updateBrandFont(n,e))}),a(),o(2,"button",24),f("click",function(){let e=_(t).$index,n=d(2);return m(n.removeFont(e))}),l(3,"\u2715"),a()()}if(s&2){let t=r.$implicit,i=r.$index;c(),S("ngModel",t.name)("name","fName"+i)}}function me(s,r){if(s&1){let t=C();o(0,"section",7)(1,"h2"),l(2,"Brand Guidelines"),a(),o(3,"div",78)(4,"h3"),l(5,"Couleurs"),a(),o(6,"div",79),D(7,se,6,6,"div",80,E),a(),o(9,"div",81)(10,"input",82),p("ngModelChange",function(e){_(t);let n=d();return u(n.newColor.name,e)||(n.newColor.name=e),m(e)}),a(),o(11,"input",83),p("ngModelChange",function(e){_(t);let n=d();return u(n.newColor.hex,e)||(n.newColor.hex=e),m(e)}),a(),o(12,"input",84),p("ngModelChange",function(e){_(t);let n=d();return u(n.newColor.hex,e)||(n.newColor.hex=e),m(e)}),a(),o(13,"button",20),f("click",function(){_(t);let e=d();return m(e.addColor())}),l(14,"+ Couleur"),a()()(),o(15,"div",78)(16,"h3"),l(17,"Polices"),a(),o(18,"div",85),D(19,_e,4,2,"div",86,E),a(),o(21,"div",81)(22,"input",87),p("ngModelChange",function(e){_(t);let n=d();return u(n.newFont.name,e)||(n.newFont.name=e),m(e)}),a(),o(23,"button",20),f("click",function(){_(t);let e=d();return m(e.addFont())}),l(24,"+ Police"),a()()(),o(25,"div",21)(26,"button",31),f("click",function(){_(t);let e=d();return m(e.saveBrand())}),l(27,"Sauvegarder"),a()()()}if(s&2){let t=d();c(7),v(t.brand().colors),c(3),g("ngModel",t.newColor.name),c(),g("ngModel",t.newColor.hex),c(),g("ngModel",t.newColor.hex),c(7),v(t.brand().fonts),c(3),g("ngModel",t.newFont.name)}}function ge(s,r){s&1&&l(0," Importation\u2026 ")}function ue(s,r){s&1&&l(0," Choisir un fichier .json ")}function pe(s,r){if(s&1&&(o(0,"div",98),l(1),a()),s&2){let t=r;k("success",t.type==="success")("error",t.type==="error"),c(),B(" ",t.type==="success"?"\u2713":"\u2715"," ",t.message," ")}}function fe(s,r){if(s&1){let t=C();o(0,"section",7)(1,"h2"),l(2,"Sauvegarde & Restauration"),a(),o(3,"div",92)(4,"div",93)(5,"div",94),l(6,"\u2B07\uFE0F"),a(),o(7,"h3"),l(8,"Exporter"),a(),o(9,"p"),l(10,"T\xE9l\xE9charge toutes les donn\xE9es (profil, jeux, r\xE9seaux, fanarts, brand) dans un fichier "),o(11,"code"),l(12,".json"),a(),l(13,"."),a(),o(14,"button",31),f("click",function(){_(t);let e=d();return m(e.exportBackup())}),l(15,"T\xE9l\xE9charger la sauvegarde"),a()(),o(16,"div",93)(17,"div",94),l(18,"\u2B06\uFE0F"),a(),o(19,"h3"),l(20,"Importer"),a(),o(21,"p"),l(22,"Restaure les donn\xE9es depuis un fichier "),o(23,"code"),l(24,".json"),a(),l(25," export\xE9 pr\xE9c\xE9demment. "),o(26,"strong"),l(27,"Cette action \xE9crase toutes les donn\xE9es existantes."),a()(),o(28,"label",95),h(29,ge,1,0)(30,ue,1,0),o(31,"input",96),f("change",function(e){_(t);let n=d();return m(n.importBackup(e))}),a()()()(),h(32,pe,2,6,"div",97),a()}if(s&2){let t,i=d();c(28),k("loading",i.importing()),c(),w(i.importing()?29:30),c(2),S("disabled",i.importing()),c(),w((t=i.backupStatus())?32:-1,t)}}var H=class s{auth=O(I);api=O(G);activeTab=y("profile");profile=y(null);profileSaving=y(!1);games=y([]);newGame={name:"",icon:"",type:"",sortOrder:0};editingGameId=null;editGameDraft={name:"",icon:"",type:"",sortOrder:0};socialLinks=y([]);newSocialLink={platform:"",url:"",username:"",icon:"",color:"#000000"};editingSocialLinkId=null;editSocialLinkDraft={platform:"",url:"",username:"",icon:"",color:"#000000"};fanarts=y([]);newFanart={title:"",author:"",imageUrl:"",sortOrder:0};editingFanartId=null;editFanartDraft={title:"",author:"",imageUrl:"",sortOrder:0};brand=y({colors:[],fonts:[]});newColor={name:"",hex:"#000000"};newFont={name:""};ngOnInit(){this.loadAll()}loadAll(){this.api.getProfile().subscribe(r=>this.profile.set(r)),this.api.getGames().subscribe(r=>this.games.set(r)),this.api.getSocialLinks().subscribe(r=>this.socialLinks.set(r)),this.api.getFanarts().subscribe(r=>this.fanarts.set(r)),this.api.getBrand().subscribe(r=>this.brand.set(r))}saveProfile(){let r=this.profile();r&&(this.profileSaving.set(!0),this.api.updateProfile(r).subscribe({next:t=>{this.profile.set(t),this.profileSaving.set(!1)},error:()=>this.profileSaving.set(!1)}))}updateTag(r,t){let i=this.profile();if(!i)return;let e=[...i.tags];e[r]=t,this.profile.set(M(b({},i),{tags:e}))}addTag(){let r=this.profile();r&&this.profile.set(M(b({},r),{tags:[...r.tags,""]}))}removeTag(r){let t=this.profile();if(!t)return;let i=t.tags.filter((e,n)=>n!==r);this.profile.set(M(b({},t),{tags:i}))}addGame(){this.newGame.name&&this.api.createGame(this.newGame).subscribe(r=>{this.games.update(t=>[...t,r]),this.newGame={name:"",icon:"",type:"",sortOrder:0}})}startEditGame(r){this.editingGameId=r.id,this.editGameDraft={name:r.name,icon:r.icon,type:r.type,sortOrder:r.sortOrder}}saveGame(){this.editingGameId&&this.api.updateGame(this.editingGameId,this.editGameDraft).subscribe(r=>{this.games.update(t=>t.map(i=>i.id===r.id?r:i)),this.editingGameId=null})}deleteGame(r){this.api.deleteGame(r).subscribe(()=>{this.games.update(t=>t.filter(i=>i.id!==r))})}addSocialLink(){!this.newSocialLink.platform||!this.newSocialLink.url||this.api.createSocialLink(this.newSocialLink).subscribe(r=>{this.socialLinks.update(t=>[...t,r]),this.newSocialLink={platform:"",url:"",username:"",icon:"",color:"#000000"}})}startEditSocialLink(r){this.editingSocialLinkId=r.id,this.editSocialLinkDraft={platform:r.platform,url:r.url,username:r.username,icon:r.icon,color:r.color}}saveSocialLink(){this.editingSocialLinkId&&this.api.updateSocialLink(this.editingSocialLinkId,this.editSocialLinkDraft).subscribe(r=>{this.socialLinks.update(t=>t.map(i=>i.id===r.id?r:i)),this.editingSocialLinkId=null})}deleteSocialLink(r){this.api.deleteSocialLink(r).subscribe(()=>{this.socialLinks.update(t=>t.filter(i=>i.id!==r))})}addFanart(){!this.newFanart.title||!this.newFanart.imageUrl||this.api.createFanart(this.newFanart).subscribe(r=>{this.fanarts.update(t=>[...t,r]),this.newFanart={title:"",author:"",imageUrl:"",sortOrder:0}})}startEditFanart(r){this.editingFanartId=r.id,this.editFanartDraft={title:r.title,author:r.author,imageUrl:r.imageUrl,sortOrder:r.sortOrder}}saveFanart(){this.editingFanartId&&this.api.updateFanart(this.editingFanartId,this.editFanartDraft).subscribe(r=>{this.fanarts.update(t=>t.map(i=>i.id===r.id?r:i)),this.editingFanartId=null})}deleteFanart(r){this.api.deleteFanart(r).subscribe(()=>{this.fanarts.update(t=>t.filter(i=>i.id!==r))})}updateBrandColor(r,t,i){this.brand.update(e=>{let n=e.colors.map((x,J)=>J===r?M(b({},x),{[t]:i}):x);return M(b({},e),{colors:n})})}updateBrandFont(r,t){this.brand.update(i=>{let e=i.fonts.map((n,x)=>x===r?M(b({},n),{name:t}):n);return M(b({},i),{fonts:e})})}addColor(){!this.newColor.name||!this.newColor.hex||(this.brand.update(r=>M(b({},r),{colors:[...r.colors,b({},this.newColor)]})),this.newColor={name:"",hex:"#000000"})}removeColor(r){this.brand.update(t=>M(b({},t),{colors:t.colors.filter((i,e)=>e!==r)}))}addFont(){this.newFont.name&&(this.brand.update(r=>M(b({},r),{fonts:[...r.fonts,b({},this.newFont)]})),this.newFont={name:""})}removeFont(r){this.brand.update(t=>M(b({},t),{fonts:t.fonts.filter((i,e)=>e!==r)}))}saveBrand(){this.api.updateBrand(this.brand()).subscribe(r=>this.brand.set(r))}backupStatus=y(null);importing=y(!1);exportBackup(){this.api.exportBackup().subscribe(r=>{let t=URL.createObjectURL(r),i=document.createElement("a");i.href=t,i.download=`lordrutra-backup-${new Date().toISOString().slice(0,10)}.json`,i.click(),URL.revokeObjectURL(t)})}importBackup(r){let t=r.target.files?.[0];if(!t)return;this.importing.set(!0),this.backupStatus.set(null);let i=new FileReader;i.onload=e=>{try{let n=JSON.parse(e.target?.result);this.api.restoreBackup(n).subscribe({next:x=>{this.importing.set(!1),this.backupStatus.set({type:"success",message:`Restaur\xE9 le ${new Date(x.restoredAt).toLocaleString("fr-FR")}`}),this.loadAll()},error:()=>{this.importing.set(!1),this.backupStatus.set({type:"error",message:"Erreur lors de la restauration."})}})}catch{this.importing.set(!1),this.backupStatus.set({type:"error",message:"Fichier JSON invalide."})}},i.readAsText(t),r.target.value=""}static \u0275fac=function(t){return new(t||s)};static \u0275cmp=L({type:s,selectors:[["app-admin-dashboard"]],decls:29,vars:18,consts:[[1,"admin"],[1,"sidebar"],[1,"sidebar-brand"],[1,"sidebar-icon"],[3,"click"],[1,"logout-btn",3,"click"],[1,"main"],[1,"section"],[1,"form-grid"],[1,"field"],["name","name","type","text",3,"ngModelChange","ngModel"],["name","title","type","text",3,"ngModelChange","ngModel"],["name","avatarUrl","type","text",3,"ngModelChange","ngModel"],["name","backgroundImageUrl","type","text",3,"ngModelChange","ngModel"],[1,"field","full"],["name","description","rows","2",3,"ngModelChange","ngModel"],["name","aboutText","rows","5",3,"ngModelChange","ngModel"],[1,"tags-section"],[1,"tags-list"],[1,"tag-item"],[1,"btn-outline",3,"click"],[1,"actions"],[1,"btn-primary",3,"click","disabled"],["type","text",3,"input","value"],[1,"btn-icon","danger",3,"click"],[1,"list"],[1,"add-form"],["name","gName","type","text","placeholder","Civilization VII",3,"ngModelChange","ngModel"],["name","gIcon","type","text","placeholder","\u2694\uFE0F",3,"ngModelChange","ngModel"],["name","gType","type","text","placeholder","Strat\xE9gie 4X",3,"ngModelChange","ngModel"],["name","gOrder","type","number",3,"ngModelChange","ngModel"],[1,"btn-primary",3,"click"],[1,"list-item","edit-row"],[1,"list-item"],["name","egIcon","type","text","placeholder","\u2694\uFE0F",1,"edit-input","small",3,"ngModelChange","ngModel"],["name","egName","type","text","placeholder","Nom",1,"edit-input",3,"ngModelChange","ngModel"],["name","egType","type","text","placeholder","Type",1,"edit-input",3,"ngModelChange","ngModel"],["name","egOrder","type","number",1,"edit-input","small",3,"ngModelChange","ngModel"],[1,"btn-primary","small",3,"click"],[1,"btn-icon",3,"click"],[1,"item-icon"],[1,"item-name"],[1,"item-sub"],[1,"btn-icon","edit",3,"click"],["name","slPlatform","type","text","placeholder","Twitch",3,"ngModelChange","ngModel"],["name","slUrl","type","text","placeholder","https://twitch.tv/...",3,"ngModelChange","ngModel"],["name","slUsername","type","text","placeholder","lordrutra",3,"ngModelChange","ngModel"],["name","slIcon","type","text","placeholder","twitch.svg",3,"ngModelChange","ngModel"],[1,"color-field"],["name","slColorPicker","type","color",3,"ngModelChange","ngModel"],["name","slColorText","type","text","placeholder","#9147ff",3,"ngModelChange","ngModel"],["name","eslPlatform","type","text","placeholder","Plateforme",1,"edit-input",3,"ngModelChange","ngModel"],["name","eslUrl","type","text","placeholder","URL",1,"edit-input",3,"ngModelChange","ngModel"],["name","eslUsername","type","text","placeholder","Username",1,"edit-input",3,"ngModelChange","ngModel"],["name","eslIcon","type","text","placeholder","icon.svg",1,"edit-input","small",3,"ngModelChange","ngModel"],["name","eslColorPicker","type","color",1,"edit-color",3,"ngModelChange","ngModel"],["name","eslColorText","type","text","placeholder","#fff",1,"edit-input","small",3,"ngModelChange","ngModel"],[1,"color-dot"],["target","_blank",1,"item-url",3,"href"],[1,"fanarts-grid"],["name","faTitle","type","text","placeholder","Fan Art 1",3,"ngModelChange","ngModel"],["name","faAuthor","type","text","placeholder","Luri",3,"ngModelChange","ngModel"],["name","faImageUrl","type","text","placeholder","https://cdn.davor-nucleus.fr/...",3,"ngModelChange","ngModel"],["name","faOrder","type","number",3,"ngModelChange","ngModel"],[1,"fanart-card","fanart-edit"],[1,"fanart-card"],[1,"fanart-edit-fields"],["name","efTitle","type","text","placeholder","Titre",3,"ngModelChange","ngModel"],["name","efAuthor","type","text","placeholder","Auteur",3,"ngModelChange","ngModel"],["name","efUrl","type","text","placeholder","URL image",3,"ngModelChange","ngModel"],["name","efOrder","type","number","placeholder","Ordre",3,"ngModelChange","ngModel"],[1,"fanart-edit-actions"],["loading","lazy",3,"src","alt"],[1,"fanart-info"],[1,"fanart-title"],[1,"fanart-author"],[1,"btn-icon","edit","fanart-edit-btn",3,"click"],[1,"btn-icon","danger","fanart-delete",3,"click"],[1,"brand-block"],[1,"colors-list"],[1,"color-item"],[1,"add-inline"],["name","cName","type","text","placeholder","Rouge",3,"ngModelChange","ngModel"],["name","cHexPicker","type","color",3,"ngModelChange","ngModel"],["name","cHexText","type","text","placeholder","#c0302a",2,"width","90px",3,"ngModelChange","ngModel"],[1,"fonts-list"],[1,"font-item"],["name","fName","type","text","placeholder","Cinzel",3,"ngModelChange","ngModel"],["type","color",1,"color-swatch-input",3,"ngModelChange","ngModel","name"],["type","text","placeholder","Nom",1,"edit-input",3,"ngModelChange","ngModel","name"],["type","text","placeholder","#fff",1,"edit-input","small",3,"ngModelChange","ngModel","name"],["type","text","placeholder","Nom de la police",1,"edit-input",3,"ngModelChange","ngModel","name"],[1,"backup-block"],[1,"backup-card"],[1,"backup-icon"],[1,"btn-upload"],["type","file","accept",".json","hidden","",3,"change","disabled"],[1,"backup-status",3,"success","error"],[1,"backup-status"]],template:function(t,i){t&1&&(o(0,"div",0)(1,"aside",1)(2,"div",2)(3,"span",3),l(4,"\u2694\uFE0F"),a(),o(5,"span"),l(6,"LordRutra Admin"),a()(),o(7,"nav")(8,"button",4),f("click",function(){return i.activeTab.set("profile")}),l(9,"\u{1F464} Profil"),a(),o(10,"button",4),f("click",function(){return i.activeTab.set("games")}),l(11,"\u{1F3AE} Jeux"),a(),o(12,"button",4),f("click",function(){return i.activeTab.set("social")}),l(13,"\u{1F517} R\xE9seaux"),a(),o(14,"button",4),f("click",function(){return i.activeTab.set("fanarts")}),l(15,"\u{1F5BC}\uFE0F Fanarts"),a(),o(16,"button",4),f("click",function(){return i.activeTab.set("brand")}),l(17,"\u{1F3A8} Brand"),a(),o(18,"button",4),f("click",function(){return i.activeTab.set("backup")}),l(19,"\u{1F4BE} Backup"),a()(),o(20,"button",5),f("click",function(){return i.auth.logout()}),l(21,"\u2190 D\xE9connexion"),a()(),o(22,"main",6),h(23,Y,4,1,"section",7),h(24,te,28,4,"section",7),h(25,ae,34,6,"section",7),h(26,ce,28,4,"section",7),h(27,me,28,4,"section",7),h(28,fe,33,5,"section",7),a()()),t&2&&(c(8),k("active",i.activeTab()==="profile"),c(2),k("active",i.activeTab()==="games"),c(2),k("active",i.activeTab()==="social"),c(2),k("active",i.activeTab()==="fanarts"),c(2),k("active",i.activeTab()==="brand"),c(2),k("active",i.activeTab()==="backup"),c(5),w(i.activeTab()==="profile"?23:-1),c(),w(i.activeTab()==="games"?24:-1),c(),w(i.activeTab()==="social"?25:-1),c(),w(i.activeTab()==="fanarts"?26:-1),c(),w(i.activeTab()==="brand"?27:-1),c(),w(i.activeTab()==="backup"?28:-1))},dependencies:[R,U,j,z,N],styles:[".admin[_ngcontent-%COMP%]{display:flex;min-height:100vh;background:#f1f5f9;font-family:Inter,system-ui,sans-serif}.sidebar[_ngcontent-%COMP%]{width:220px;min-width:220px;background:#1e293b;color:#e2e8f0;display:flex;flex-direction:column;padding:1.5rem 0;position:sticky;top:0;height:100vh}.sidebar-brand[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.6rem;padding:0 1.25rem 1.5rem;font-weight:700;font-size:.95rem;border-bottom:1px solid #334155;margin-bottom:1rem}.sidebar-icon[_ngcontent-%COMP%]{font-size:1.4rem}.sidebar[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1}.sidebar[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:none;border:none;color:#94a3b8;text-align:left;padding:.75rem 1.25rem;font-size:.9rem;cursor:pointer;transition:background .15s,color .15s;border-radius:0}.sidebar[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover, .sidebar[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] button.active[_ngcontent-%COMP%]{background:#334155;color:#fff}.logout-btn[_ngcontent-%COMP%]{background:none;border:none;color:#64748b;text-align:left;padding:.75rem 1.25rem;font-size:.85rem;cursor:pointer;margin-top:auto;transition:color .15s}.logout-btn[_ngcontent-%COMP%]:hover{color:#ef4444}.main[_ngcontent-%COMP%]{flex:1;padding:2rem 2.5rem;overflow-y:auto}.section[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.4rem;font-weight:700;color:#1e293b;margin:0 0 1.5rem}.form-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1.25rem}.field[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.35rem}.field.full[_ngcontent-%COMP%]{grid-column:1 / -1}.field[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:.75rem;font-weight:600;color:#475569;text-transform:uppercase;letter-spacing:.05em}.field[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .field[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%], .field[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{padding:.6rem .75rem;border:1.5px solid #e2e8f0;border-radius:7px;font-size:.9rem;color:#1e293b;outline:none;transition:border-color .2s;background:#fff;resize:vertical}.field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus, .field[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:focus{border-color:#6366f1}.btn-primary[_ngcontent-%COMP%]{padding:.6rem 1.25rem;background:#6366f1;color:#fff;border:none;border-radius:7px;font-size:.9rem;font-weight:600;cursor:pointer;transition:background .2s}.btn-primary[_ngcontent-%COMP%]:hover:not(:disabled){background:#4f46e5}.btn-primary[_ngcontent-%COMP%]:disabled{opacity:.5;cursor:not-allowed}.btn-outline[_ngcontent-%COMP%]{padding:.5rem 1rem;background:none;border:1.5px solid #6366f1;color:#6366f1;border-radius:7px;font-size:.85rem;font-weight:600;cursor:pointer;transition:background .15s}.btn-outline[_ngcontent-%COMP%]:hover{background:#eef2ff}.btn-icon[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer;padding:.25rem .5rem;border-radius:5px;font-size:.85rem;transition:background .15s}.btn-icon.danger[_ngcontent-%COMP%]{color:#ef4444}.btn-icon.danger[_ngcontent-%COMP%]:hover{background:#fee2e2}.actions[_ngcontent-%COMP%]{margin-top:1.5rem}.list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem;margin-bottom:2rem}.list-item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;background:#fff;border-radius:8px;padding:.75rem 1rem;border:1px solid #e2e8f0}.item-icon[_ngcontent-%COMP%]{font-size:1.2rem}.item-name[_ngcontent-%COMP%]{font-weight:600;color:#1e293b;flex:1}.item-sub[_ngcontent-%COMP%]{font-size:.82rem;color:#64748b}.item-url[_ngcontent-%COMP%]{font-size:.78rem;color:#6366f1;text-decoration:none;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.color-dot[_ngcontent-%COMP%]{width:14px;height:14px;border-radius:50%;flex-shrink:0;border:1px solid rgba(0,0,0,.1)}.add-form[_ngcontent-%COMP%]{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:1.25rem 1.5rem}.add-form[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:1rem;font-weight:700;color:#1e293b;margin:0 0 1rem}.tags-section[_ngcontent-%COMP%]{margin-bottom:1.5rem}.tags-section[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{display:block;font-size:.75rem;font-weight:600;color:#475569;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.5rem}.tags-list[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.tag-item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.25rem}.tag-item[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding:.35rem .6rem;border:1.5px solid #e2e8f0;border-radius:20px;font-size:.85rem;outline:none;width:110px}.tag-item[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{border-color:#6366f1}.fanarts-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:1rem;margin-bottom:2rem}.fanart-card[_ngcontent-%COMP%]{position:relative;background:#fff;border-radius:10px;border:1px solid #e2e8f0;overflow:hidden}.fanart-card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;aspect-ratio:1;object-fit:cover;display:block}.fanart-info[_ngcontent-%COMP%]{padding:.6rem .75rem;display:flex;flex-direction:column;gap:.15rem}.fanart-title[_ngcontent-%COMP%]{font-size:.85rem;font-weight:600;color:#1e293b}.fanart-author[_ngcontent-%COMP%]{font-size:.75rem;color:#64748b}.fanart-delete[_ngcontent-%COMP%]{position:absolute;top:.4rem;right:.4rem;background:#ffffffe6!important;border-radius:50%!important;width:26px;height:26px;display:flex;align-items:center;justify-content:center}.brand-block[_ngcontent-%COMP%]{margin-bottom:2rem}.brand-block[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:1rem;font-weight:700;color:#1e293b;margin:0 0 .75rem}.colors-list[_ngcontent-%COMP%], .fonts-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.4rem;margin-bottom:.75rem}.color-item[_ngcontent-%COMP%], .font-item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;background:#fff;border:1px solid #e2e8f0;border-radius:7px;padding:.5rem .75rem}.color-swatch[_ngcontent-%COMP%]{width:24px;height:24px;border-radius:5px;border:1px solid rgba(0,0,0,.1);flex-shrink:0}.color-name[_ngcontent-%COMP%]{font-weight:600;color:#1e293b;flex:1}.color-hex[_ngcontent-%COMP%]{font-size:.82rem;color:#64748b;font-family:monospace}.font-name[_ngcontent-%COMP%]{font-weight:600;color:#1e293b;flex:1}.add-inline[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.add-inline[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding:.5rem .75rem;border:1.5px solid #e2e8f0;border-radius:7px;font-size:.9rem;outline:none;flex:1;min-width:100px}.add-inline[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{border-color:#6366f1}.add-inline[_ngcontent-%COMP%] input[type=color][_ngcontent-%COMP%]{width:42px;height:38px;padding:2px;cursor:pointer;flex:none}.color-field[_ngcontent-%COMP%]{display:flex;gap:.5rem;align-items:center}.color-field[_ngcontent-%COMP%] input[type=color][_ngcontent-%COMP%]{width:42px;height:36px;padding:2px;cursor:pointer;border-radius:6px;border:1.5px solid #e2e8f0}.edit-row[_ngcontent-%COMP%]{flex-wrap:wrap;gap:.4rem}.edit-input[_ngcontent-%COMP%]{padding:.45rem .6rem;border:1.5px solid #c7d2fe;border-radius:6px;font-size:.85rem;outline:none;flex:1;min-width:80px;background:#f8faff}.edit-input[_ngcontent-%COMP%]:focus{border-color:#6366f1}.edit-input.small[_ngcontent-%COMP%]{flex:0 0 70px;min-width:unset}.edit-color[_ngcontent-%COMP%]{width:36px;height:34px;padding:2px;border-radius:6px;border:1.5px solid #e2e8f0;cursor:pointer;flex-shrink:0}.btn-primary.small[_ngcontent-%COMP%]{padding:.45rem .75rem;font-size:.82rem}.btn-icon.edit[_ngcontent-%COMP%]{color:#6366f1}.btn-icon.edit[_ngcontent-%COMP%]:hover{background:#eef2ff}.fanart-edit[_ngcontent-%COMP%]{padding:.75rem}.fanart-edit-fields[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem}.fanart-edit-fields[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding:.5rem .65rem;border:1.5px solid #c7d2fe;border-radius:6px;font-size:.85rem;outline:none;background:#f8faff}.fanart-edit-fields[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{border-color:#6366f1}.fanart-edit-actions[_ngcontent-%COMP%]{display:flex;gap:.5rem;align-items:center;margin-top:.25rem}.fanart-edit-btn[_ngcontent-%COMP%]{position:absolute;top:.4rem;left:.4rem;background:#ffffffe6!important;border-radius:50%!important;width:26px;height:26px;display:flex;align-items:center;justify-content:center}.backup-block[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:1.5rem}.backup-card[_ngcontent-%COMP%]{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1.75rem;display:flex;flex-direction:column;gap:.75rem}.backup-icon[_ngcontent-%COMP%]{font-size:2rem}.backup-card[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:1.1rem;font-weight:700;color:#1e293b;margin:0}.backup-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:.875rem;color:#64748b;margin:0;line-height:1.5}.backup-card[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{background:#f1f5f9;padding:.1em .4em;border-radius:4px;font-size:.82em}.btn-upload[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;padding:.65rem 1.25rem;background:#0f172a;color:#fff;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:background .2s;margin-top:auto}.btn-upload[_ngcontent-%COMP%]:hover{background:#1e293b}.btn-upload.loading[_ngcontent-%COMP%]{opacity:.6;cursor:not-allowed}.backup-status[_ngcontent-%COMP%]{padding:.875rem 1.25rem;border-radius:8px;font-size:.9rem;font-weight:500}.backup-status.success[_ngcontent-%COMP%]{background:#dcfce7;color:#166534}.backup-status.error[_ngcontent-%COMP%]{background:#fee2e2;color:#991b1b}.color-swatch-input[_ngcontent-%COMP%]{width:36px;height:34px;padding:2px;border-radius:6px;border:1.5px solid #e2e8f0;cursor:pointer;flex-shrink:0}"]})};export{H as AdminDashboard}; diff --git a/chunk-TG6VAGNW.js b/chunk-TG6VAGNW.js new file mode 100644 index 0000000..51b098b --- /dev/null +++ b/chunk-TG6VAGNW.js @@ -0,0 +1 @@ +import{i,l as a,oa as s,pa as n,ua as h,va as u}from"./chunk-THKCX2S5.js";var o=class r{http=a(n);auth=a(u);base=h.apiUrl;headers(){return new s({Authorization:`Bearer ${this.auth.getToken()}`})}getProfile(){return this.http.get(`${this.base}/vtuber/profile`)}updateProfile(t){return this.http.put(`${this.base}/vtuber/profile`,t,{headers:this.headers()})}getGames(){return this.http.get(`${this.base}/vtuber/games`)}createGame(t){return this.http.post(`${this.base}/vtuber/games`,t,{headers:this.headers()})}updateGame(t,e){return this.http.put(`${this.base}/vtuber/games/${t}`,e,{headers:this.headers()})}deleteGame(t){return this.http.delete(`${this.base}/vtuber/games/${t}`,{headers:this.headers()})}getSocialLinks(){return this.http.get(`${this.base}/vtuber/social-links`)}createSocialLink(t){return this.http.post(`${this.base}/vtuber/social-links`,t,{headers:this.headers()})}updateSocialLink(t,e){return this.http.put(`${this.base}/vtuber/social-links/${t}`,e,{headers:this.headers()})}deleteSocialLink(t){return this.http.delete(`${this.base}/vtuber/social-links/${t}`,{headers:this.headers()})}getFanarts(){return this.http.get(`${this.base}/vtuber/fanarts`)}createFanart(t){return this.http.post(`${this.base}/vtuber/fanarts`,t,{headers:this.headers()})}updateFanart(t,e){return this.http.put(`${this.base}/vtuber/fanarts/${t}`,e,{headers:this.headers()})}deleteFanart(t){return this.http.delete(`${this.base}/vtuber/fanarts/${t}`,{headers:this.headers()})}exportBackup(){return this.http.get(`${this.base}/vtuber/backup/export`,{headers:this.headers(),responseType:"blob"})}restoreBackup(t){return this.http.post(`${this.base}/vtuber/backup/restore`,t,{headers:this.headers()})}getBrand(){return this.http.get(`${this.base}/vtuber/brand`)}updateBrand(t){return this.http.put(`${this.base}/vtuber/brand`,t,{headers:this.headers()})}static \u0275fac=function(e){return new(e||r)};static \u0275prov=i({token:r,factory:r.\u0275fac,providedIn:"root"})};export{o as a}; diff --git a/chunk-THKCX2S5.js b/chunk-THKCX2S5.js new file mode 100644 index 0000000..4601553 --- /dev/null +++ b/chunk-THKCX2S5.js @@ -0,0 +1,5 @@ +var Em=Object.defineProperty,Im=Object.defineProperties;var wm=Object.getOwnPropertyDescriptors;var Au=Object.getOwnPropertySymbols;var Dm=Object.prototype.hasOwnProperty,bm=Object.prototype.propertyIsEnumerable;var Ou=(e,t,n)=>t in e?Em(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,v=(e,t)=>{for(var n in t||={})Dm.call(t,n)&&Ou(e,n,t[n]);if(Au)for(var n of Au(t))bm.call(t,n)&&Ou(e,n,t[n]);return e},U=(e,t)=>Im(e,wm(t));var ra;function Co(){return ra}function Le(e){let t=ra;return ra=e,t}var Pu=Symbol("NotFound");function hn(e){return e===Pu||e?.name==="\u0275NotFound"}var ae=null,So=!1,oa=1,Tm=null,ce=Symbol("SIGNAL");function S(e){let t=ae;return ae=e,t}function Ro(){return ae}var gn={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function mn(e){if(So)throw new Error("");if(ae===null)return;ae.consumerOnSignalRead(e);let t=ae.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=ae.recomputing;if(r&&(n=t!==void 0?t.nextProducer:ae.producers,n!==void 0&&n.producer===e)){ae.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===ae&&(!r||Sm(o,ae)))return;let i=yn(ae),s={producer:e,consumer:ae,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};ae.producersTail=s,t!==void 0?t.nextProducer=s:ae.producers=s,i&&ju(e,s)}function ku(){oa++}function xo(e){if(!(yn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===oa)){if(!e.producerMustRecompute(e)&&!dr(e)){No(e);return}e.producerRecomputeValue(e),No(e)}}function ia(e){if(e.consumers===void 0)return;let t=So;So=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Cm(r)}}finally{So=t}}function sa(){return ae?.consumerAllowSignalWrites!==!1}function Cm(e){e.dirty=!0,ia(e),e.consumerMarkedDirty?.(e)}function No(e){e.dirty=!1,e.lastCleanEpoch=oa}function vn(e){return e&&Lu(e),S(e)}function Lu(e){e.producersTail=void 0,e.recomputing=!0}function ur(e,t){S(t),e&&Fu(e)}function Fu(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(yn(e))do n=aa(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function dr(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(xo(n),r!==n.version))return!0}return!1}function fr(e){if(yn(e)){let t=e.producers;for(;t!==void 0;)t=aa(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function ju(e,t){let n=e.consumersTail,r=yn(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)ju(o.producer,o)}function aa(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!yn(t)){let i=t.producers;for(;i!==void 0;)i=aa(i)}return n}function yn(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Ao(e){Tm?.(e)}function Sm(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function Oo(e,t){return Object.is(e,t)}function Po(e,t){let n=Object.create(_m);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(xo(n),mn(n),n.value===lr)throw n.error;return n.value};return r[ce]=n,Ao(n),r}var _o=Symbol("UNSET"),Mo=Symbol("COMPUTING"),lr=Symbol("ERRORED"),_m=U(v({},gn),{value:_o,dirty:!0,error:null,equal:Oo,kind:"computed",producerMustRecompute(e){return e.value===_o||e.value===Mo},producerRecomputeValue(e){if(e.value===Mo)throw new Error("");let t=e.value;e.value=Mo;let n=vn(e),r,o=!1;try{r=e.computation(),S(null),o=t!==_o&&t!==lr&&r!==lr&&e.equal(t,r)}catch(i){r=lr,e.error=i}finally{ur(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Mm(){throw new Error}var Uu=Mm;function Vu(e){Uu(e)}function ca(e){Uu=e}var Nm=null;function la(e,t){let n=Object.create(ko);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Hu(n);return r[ce]=n,Ao(n),[r,s=>En(n,s),s=>ua(n,s)]}function Hu(e){return mn(e),e.value}function En(e,t){sa()||Vu(e),e.equal(e.value,t)||(e.value=t,Rm(e))}function ua(e,t){sa()||Vu(e),En(e,t(e.value))}var ko=U(v({},gn),{equal:Oo,value:void 0,kind:"signal"});function Rm(e){e.version++,ku(),ia(e),Nm?.(e)}function M(e){return typeof e=="function"}function In(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Lo=In(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: +${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=n});function pr(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var G=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(M(r))try{r()}catch(i){t=i instanceof Lo?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{$u(i)}catch(s){t=t??[],s instanceof Lo?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Lo(t)}}add(t){var n;if(t&&t!==this)if(this.closed)$u(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&pr(n,t)}remove(t){let{_finalizers:n}=this;n&&pr(n,t),t instanceof e&&t._removeParent(this)}};G.EMPTY=(()=>{let e=new G;return e.closed=!0,e})();var da=G.EMPTY;function Fo(e){return e instanceof G||e&&"closed"in e&&M(e.remove)&&M(e.add)&&M(e.unsubscribe)}function $u(e){M(e)?e():e.unsubscribe()}var Ne={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var wn={setTimeout(e,t,...n){let{delegate:r}=wn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=wn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function jo(e){wn.setTimeout(()=>{let{onUnhandledError:t}=Ne;if(t)t(e);else throw e})}function hr(){}var Bu=fa("C",void 0,void 0);function zu(e){return fa("E",void 0,e)}function Gu(e){return fa("N",e,void 0)}function fa(e,t,n){return{kind:e,value:t,error:n}}var Pt=null;function Dn(e){if(Ne.useDeprecatedSynchronousErrorHandling){let t=!Pt;if(t&&(Pt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Pt;if(Pt=null,n)throw r}}else e()}function qu(e){Ne.useDeprecatedSynchronousErrorHandling&&Pt&&(Pt.errorThrown=!0,Pt.error=e)}var kt=class extends G{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Fo(t)&&t.add(this)):this.destination=Om}static create(t,n,r){return new bn(t,n,r)}next(t){this.isStopped?ha(Gu(t),this):this._next(t)}error(t){this.isStopped?ha(zu(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ha(Bu,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},xm=Function.prototype.bind;function pa(e,t){return xm.call(e,t)}var ga=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Uo(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Uo(r)}else Uo(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Uo(n)}}},bn=class extends kt{constructor(t,n,r){super();let o;if(M(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ne.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&pa(t.next,i),error:t.error&&pa(t.error,i),complete:t.complete&&pa(t.complete,i)}):o=t}this.destination=new ga(o)}};function Uo(e){Ne.useDeprecatedSynchronousErrorHandling?qu(e):jo(e)}function Am(e){throw e}function ha(e,t){let{onStoppedNotification:n}=Ne;n&&wn.setTimeout(()=>n(e,t))}var Om={closed:!0,next:hr,error:Am,complete:hr};var Tn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function me(e){return e}function ma(...e){return va(e)}function va(e){return e.length===0?me:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var A=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=km(n)?n:new bn(n,r,o);return Dn(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Wu(r),new r((o,i)=>{let s=new bn({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Tn](){return this}pipe(...n){return va(n)(this)}toPromise(n){return n=Wu(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Wu(e){var t;return(t=e??Ne.Promise)!==null&&t!==void 0?t:Promise}function Pm(e){return e&&M(e.next)&&M(e.error)&&M(e.complete)}function km(e){return e&&e instanceof kt||Pm(e)&&Fo(e)}function ya(e){return M(e?.lift)}function P(e){return t=>{if(ya(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function O(e,t,n,r,o){return new Ea(e,t,n,r,o)}var Ea=class extends kt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function Cn(){return P((e,t)=>{let n=null;e._refCount++;let r=O(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Sn=class extends A{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,ya(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new G;let n=this.getSubject();t.add(this.source.subscribe(O(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=G.EMPTY)}return t}refCount(){return Cn()(this)}};var Zu=In(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ee=(()=>{class e extends A{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Vo(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Zu}next(n){Dn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Dn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Dn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?da:(this.currentObservers=null,i.push(n),new G(()=>{this.currentObservers=null,pr(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new A;return n.source=this,n}}return e.create=(t,n)=>new Vo(t,n),e})(),Vo=class extends ee{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:da}};var te=class extends ee{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var pe=new A(e=>e.complete());function Qu(e){return e&&M(e.schedule)}function Yu(e){return e[e.length-1]}function Ho(e){return M(Yu(e))?e.pop():void 0}function ft(e){return Qu(Yu(e))?e.pop():void 0}function Ju(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function Ku(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Lt(e){return this instanceof Lt?(this.v=e,this):new Lt(e)}function Xu(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(g){return Promise.resolve(g).then(f,d)}}function a(f,g){r[f]&&(o[f]=function(D){return new Promise(function(y,m){i.push([f,D,y,m])>1||c(f,D)})},g&&(o[f]=g(o[f])))}function c(f,g){try{l(r[f](g))}catch(D){p(i[0][3],D)}}function l(f){f.value instanceof Lt?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,g){f(g),i.shift(),i.length&&c(i[0][0],i[0][1])}}function ed(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Ku=="function"?Ku(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var $o=e=>e&&typeof e.length=="number"&&typeof e!="function";function Bo(e){return M(e?.then)}function zo(e){return M(e[Tn])}function Go(e){return Symbol.asyncIterator&&M(e?.[Symbol.asyncIterator])}function qo(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Lm(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Wo=Lm();function Zo(e){return M(e?.[Wo])}function Qo(e){return Xu(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Lt(n.read());if(o)return yield Lt(void 0);yield yield Lt(r)}}finally{n.releaseLock()}})}function Yo(e){return M(e?.getReader)}function q(e){if(e instanceof A)return e;if(e!=null){if(zo(e))return Fm(e);if($o(e))return jm(e);if(Bo(e))return Um(e);if(Go(e))return td(e);if(Zo(e))return Vm(e);if(Yo(e))return Hm(e)}throw qo(e)}function Fm(e){return new A(t=>{let n=e[Tn]();if(M(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function jm(e){return new A(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,jo)})}function Vm(e){return new A(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function td(e){return new A(t=>{$m(e,t).catch(n=>t.error(n))})}function Hm(e){return td(Qo(e))}function $m(e,t){var n,r,o,i;return Ju(this,void 0,void 0,function*(){try{for(n=ed(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function he(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Ko(e,t=0){return P((n,r)=>{n.subscribe(O(r,o=>he(r,e,()=>r.next(o),t),()=>he(r,e,()=>r.complete(),t),o=>he(r,e,()=>r.error(o),t)))})}function Jo(e,t=0){return P((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function nd(e,t){return q(e).pipe(Jo(t),Ko(t))}function rd(e,t){return q(e).pipe(Jo(t),Ko(t))}function od(e,t){return new A(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function id(e,t){return new A(n=>{let r;return he(n,t,()=>{r=e[Wo](),he(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>M(r?.return)&&r.return()})}function Xo(e,t){if(!e)throw new Error("Iterable cannot be null");return new A(n=>{he(n,t,()=>{let r=e[Symbol.asyncIterator]();he(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function sd(e,t){return Xo(Qo(e),t)}function ad(e,t){if(e!=null){if(zo(e))return nd(e,t);if($o(e))return od(e,t);if(Bo(e))return rd(e,t);if(Go(e))return Xo(e,t);if(Zo(e))return id(e,t);if(Yo(e))return sd(e,t)}throw qo(e)}function W(e,t){return t?ad(e,t):q(e)}function b(...e){let t=ft(e);return W(e,t)}function _n(e,t){let n=M(e)?e:()=>e,r=o=>o.error(n());return new A(t?o=>t.schedule(r,0,o):r)}function Ia(e){return!!e&&(e instanceof A||M(e.lift)&&M(e.subscribe))}var Qe=In(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function R(e,t){return P((n,r)=>{let o=0;n.subscribe(O(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Bm}=Array;function zm(e,t){return Bm(t)?e(...t):e(t)}function ei(e){return R(t=>zm(e,t))}var{isArray:Gm}=Array,{getPrototypeOf:qm,prototype:Wm,keys:Zm}=Object;function ti(e){if(e.length===1){let t=e[0];if(Gm(t))return{args:t,keys:null};if(Qm(t)){let n=Zm(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Qm(e){return e&&typeof e=="object"&&qm(e)===Wm}function ni(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function ri(...e){let t=ft(e),n=Ho(e),{args:r,keys:o}=ti(e);if(r.length===0)return W([],t);let i=new A(Ym(r,t,o?s=>ni(o,s):me));return n?i.pipe(ei(n)):i}function Ym(e,t,n=me){return r=>{cd(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c{let l=W(e[c],t),u=!1;l.subscribe(O(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function cd(e,t,n){e?he(n,e,t):t()}function ld(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=D=>l{i&&t.next(D),l++;let y=!1;q(n(D,u++)).subscribe(O(t,m=>{o?.(m),i?f(m):t.next(m)},()=>{y=!0},void 0,()=>{if(y)try{for(l--;c.length&&lg(m)):g(m)}p()}catch(m){t.error(m)}}))};return e.subscribe(O(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Y(e,t,n=1/0){return M(t)?Y((r,o)=>R((i,s)=>t(r,i,o,s))(q(e(r,o))),n):(typeof t=="number"&&(n=t),P((r,o)=>ld(r,o,e,n)))}function ud(e=1/0){return Y(me,e)}function dd(){return ud(1)}function Mn(...e){return dd()(W(e,ft(e)))}function gr(e){return new A(t=>{q(e()).subscribe(t)})}function Km(...e){let t=Ho(e),{args:n,keys:r}=ti(e),o=new A(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?ni(r,a):a),i.complete())}))}});return t?o.pipe(ei(t)):o}function ge(e,t){return P((n,r)=>{let o=0;n.subscribe(O(r,i=>e.call(t,i,o++)&&r.next(i)))})}function pt(e){return P((t,n)=>{let r=null,o=!1,i;r=t.subscribe(O(n,void 0,void 0,s=>{i=q(e(s,pt(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function fd(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(O(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function ht(e,t){return M(t)?Y(e,t,1):Y(e,1)}function gt(e){return P((t,n)=>{let r=!1;t.subscribe(O(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Ye(e){return e<=0?()=>pe:P((t,n)=>{let r=0;t.subscribe(O(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function oi(e=Jm){return P((t,n)=>{let r=!1;t.subscribe(O(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Jm(){return new Qe}function Ft(e){return P((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Ke(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ge((o,i)=>e(o,i,r)):me,Ye(1),n?gt(t):oi(()=>new Qe))}function Nn(e){return e<=0?()=>pe:P((t,n)=>{let r=[];t.subscribe(O(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function wa(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ge((o,i)=>e(o,i,r)):me,Nn(1),n?gt(t):oi(()=>new Qe))}function Da(e,t){return P(fd(e,t,arguments.length>=2,!0))}function ba(...e){let t=ft(e);return P((n,r)=>{(t?Mn(e,n,t):Mn(e,n)).subscribe(r)})}function le(e,t){return P((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(O(r,c=>{o?.unsubscribe();let l=0,u=i++;q(e(c,u)).subscribe(o=O(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function ii(e){return P((t,n)=>{q(e).subscribe(O(n,()=>n.complete(),hr)),!n.closed&&t.subscribe(n)})}function H(e,t,n){let r=M(e)||t||n?{next:e,error:t,complete:n}:e;return r?P((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(O(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):me}function pd(e){let t=S(null);try{return e()}finally{S(t)}}var li="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",E=class extends Error{code;constructor(t,n){super(xn(t,n)),this.code=t}};function Xm(e){return`NG0${Math.abs(e)}`}function xn(e,t){return`${Xm(e)}${t?": "+t:""}`}var Bt=globalThis;function F(e){for(let t in e)if(e[t]===F)return t;throw Error("")}function md(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Xe(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Xe).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(` +`);return r>=0?n.slice(0,r):n}function ka(e,t){return e?t?`${e} ${t}`:e:t||""}var ev=F({__forward_ref__:F});function ui(e){return e.__forward_ref__=ui,e.toString=function(){return Xe(this())},e}function ne(e){return La(e)?e():e}function La(e){return typeof e=="function"&&e.hasOwnProperty(ev)&&e.__forward_ref__===ui}function w(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Er(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ir(e){return tv(e,di)}function Fa(e){return Ir(e)!==null}function tv(e,t){return e.hasOwnProperty(t)&&e[t]||null}function nv(e){let t=e?.[di]??null;return t||null}function Ca(e){return e&&e.hasOwnProperty(ai)?e[ai]:null}var di=F({\u0275prov:F}),ai=F({\u0275inj:F}),I=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=w({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function ja(e){return e&&!!e.\u0275providers}var Ua=F({\u0275cmp:F}),Va=F({\u0275dir:F}),Ha=F({\u0275pipe:F}),$a=F({\u0275mod:F}),vr=F({\u0275fac:F}),zt=F({__NG_ELEMENT_ID__:F}),hd=F({__NG_ENV_ID__:F});function yt(e){return typeof e=="string"?e:e==null?"":String(e)}function vd(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():yt(e)}var yd=F({ngErrorCode:F}),rv=F({ngErrorMessage:F}),ov=F({ngTokenPath:F});function Ba(e,t){return Ed("",-200,t)}function fi(e,t){throw new E(-201,!1)}function Ed(e,t,n){let r=new E(t,e);return r[yd]=t,r[rv]=e,n&&(r[ov]=n),r}function iv(e){return e[yd]}var Sa;function Id(){return Sa}function ve(e){let t=Sa;return Sa=e,t}function za(e,t,n){let r=Ir(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;fi(e,"Injector")}var sv={},jt=sv,av="__NG_DI_FLAG__",_a=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Ut(n)||0;try{return this.injector.get(t,r&8?null:jt,r)}catch(o){if(hn(o))return o;throw o}}};function cv(e,t=0){let n=Co();if(n===void 0)throw new E(-203,!1);if(n===null)return za(e,void 0,t);{let r=lv(t),o=n.retrieve(e,r);if(hn(o)){if(r.optional)return null;throw o}return o}}function T(e,t=0){return(Id()||cv)(ne(e),t)}function h(e,t){return T(e,Ut(t))}function Ut(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function lv(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Ma(e){let t=[];for(let n=0;nArray.isArray(n)?pi(n,t):t(n))}function Ga(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function wr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function wd(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Dd(e,t,n){let r=An(e,t);return r>=0?e[r|1]=n:(r=~r,wd(e,r,t,n)),r}function hi(e,t){let n=An(e,t);if(n>=0)return e[n|1]}function An(e,t){return dv(e,t,1)}function dv(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<{n.push(s)};return pi(t,s=>{let a=s;ci(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Sd(o,i),n}function Sd(e,t){for(let n=0;n{t(i,r)})}}function ci(e,t,n,r){if(e=ne(e),!e)return!1;let o=null,i=Ca(e),s=!i&&It(e);if(!i&&!s){let c=e.ngModule;if(i=Ca(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)ci(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;pi(i.imports,u=>{ci(u,t,n,r)&&(l||=[],l.push(u))}),l!==void 0&&Sd(l,t)}if(!a){let l=Vt(o)||(()=>new o);t({provide:o,useFactory:l,deps:ye},o),t({provide:Wa,useValue:o,multi:!0},o),t({provide:et,useValue:()=>T(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Ka(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Ka(e,t){for(let n of e)ja(n)&&(n=n.\u0275providers),Array.isArray(n)?Ka(n,t):t(n)}var fv=F({provide:String,useValue:F});function _d(e){return e!==null&&typeof e=="object"&&fv in e}function pv(e){return!!(e&&e.useExisting)}function hv(e){return!!(e&&e.useFactory)}function Ht(e){return typeof e=="function"}function Md(e){return!!e.useClass}var Dr=new I(""),si={},gd={},Ta;function br(){return Ta===void 0&&(Ta=new yr),Ta}var K=class{},$t=class extends K{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Ra(t,s=>this.processProvider(s)),this.records.set(qa,Rn(void 0,this)),o.has("environment")&&this.records.set(K,Rn(void 0,this));let i=this.records.get(Dr);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Wa,ye,{self:!0}))}retrieve(t,n){let r=Ut(n)||0;try{return this.get(t,jt,r)}catch(o){if(hn(o))return o;throw o}}destroy(){mr(this),this._destroyed=!0;let t=S(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),S(t)}}onDestroy(t){return mr(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){mr(this);let n=Le(this),r=ve(void 0),o;try{return t()}finally{Le(n),ve(r)}}get(t,n=jt,r){if(mr(this),t.hasOwnProperty(hd))return t[hd](this);let o=Ut(r),i,s=Le(this),a=ve(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=Ev(t)&&Ir(t);u&&this.injectableDefInScope(u)?l=Rn(Na(t),si):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?br():this.parent;return n=o&8&&n===jt?null:n,c.get(t,n)}catch(c){let l=iv(c);throw l===-200||l===-201?new E(l,null):c}finally{ve(a),Le(s)}}resolveInjectorInitializers(){let t=S(null),n=Le(this),r=ve(void 0),o;try{let i=this.get(et,ye,{self:!0});for(let s of i)s()}finally{Le(n),ve(r),S(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(Xe(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=ne(t);let n=Ht(t)?t:ne(t&&t.provide),r=mv(t);if(!Ht(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Rn(void 0,si,!0),o.factory=()=>Ma(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=S(null);try{if(n.value===gd)throw Ba(Xe(t));return n.value===si&&(n.value=gd,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&yv(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{S(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ne(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Na(e){let t=Ir(e),n=t!==null?t.factory:Vt(e);if(n!==null)return n;if(e instanceof I)throw new E(204,!1);if(e instanceof Function)return gv(e);throw new E(204,!1)}function gv(e){if(e.length>0)throw new E(204,!1);let n=nv(e);return n!==null?()=>n.factory(e):()=>new e}function mv(e){if(_d(e))return Rn(void 0,e.useValue);{let t=Ja(e);return Rn(t,si)}}function Ja(e,t,n){let r;if(Ht(e)){let o=ne(e);return Vt(o)||Na(o)}else if(_d(e))r=()=>ne(e.useValue);else if(hv(e))r=()=>e.useFactory(...Ma(e.deps||[]));else if(pv(e))r=(o,i)=>T(ne(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=ne(e&&(e.useClass||e.provide));if(vv(e))r=()=>new o(...Ma(e.deps));else return Vt(o)||Na(o)}return r}function mr(e){if(e.destroyed)throw new E(205,!1)}function Rn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function vv(e){return!!e.deps}function yv(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Ev(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Ra(e,t){for(let n of e)Array.isArray(n)?Ra(n,t):n&&ja(n)?Ra(n.\u0275providers,t):t(n)}function re(e,t){let n;e instanceof $t?(mr(e),n=e):n=new _a(e);let r,o=Le(n),i=ve(void 0);try{return t()}finally{Le(o),ve(i)}}function Nd(){return Id()!==void 0||Co()!=null}var Re=0,C=1,N=2,J=3,Te=4,Ce=5,On=6,Pn=7,$=8,nt=9,Ue=10,V=11,kn=12,Xa=13,Gt=14,Ee=15,qt=16,Wt=17,Zt=18,Tr=19,ec=20,Je=21,gi=22,Cr=23,Ie=24,mi=25,Qt=26,oe=27,Rd=1,tc=6,wt=7,Sr=8,_r=9,B=10;function Ve(e){return Array.isArray(e)&&typeof e[Rd]=="object"}function xe(e){return Array.isArray(e)&&e[Rd]===!0}function nc(e){return(e.flags&4)!==0}function Dt(e){return e.componentOffset>-1}function vi(e){return(e.flags&1)===1}function He(e){return!!e.template}function Ln(e){return(e[N]&512)!==0}function Yt(e){return(e[N]&256)===256}var rc="svg",xd="math";function Se(e){for(;Array.isArray(e);)e=e[Re];return e}function oc(e,t){return Se(t[e])}function Ae(e,t){return Se(t[e.index])}function Mr(e,t){return e.data[t]}function _e(e,t){let n=t[e];return Ve(n)?n:n[Re]}function yi(e){return(e[N]&128)===128}function Ad(e){return xe(e[J])}function $e(e,t){return t==null?null:e[t]}function ic(e){e[Wt]=0}function sc(e){e[N]&1024||(e[N]|=1024,yi(e)&&Rr(e))}function Od(e,t){for(;e>0;)t=t[Gt],e--;return t}function Nr(e){return!!(e[N]&9216||e[Ie]?.dirty)}function Ei(e){e[Ue].changeDetectionScheduler?.notify(8),e[N]&64&&(e[N]|=1024),Nr(e)&&Rr(e)}function Rr(e){e[Ue].changeDetectionScheduler?.notify(0);let t=mt(e);for(;t!==null&&!(t[N]&8192||(t[N]|=8192,!yi(t)));)t=mt(t)}function ac(e,t){if(Yt(e))throw new E(911,!1);e[Je]===null&&(e[Je]=[]),e[Je].push(t)}function Pd(e,t){if(e[Je]===null)return;let n=e[Je].indexOf(t);n!==-1&&e[Je].splice(n,1)}function mt(e){let t=e[J];return xe(t)?t[J]:t}function kd(e){return e[Pn]??=[]}function Ld(e){return e.cleanup??=[]}var x={lFrame:Jd(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var xa=!1;function Fd(){return x.lFrame.elementDepthCount}function jd(){x.lFrame.elementDepthCount++}function cc(){x.lFrame.elementDepthCount--}function Ud(){return x.bindingsEnabled}function Vd(){return x.skipHydrationRootTNode!==null}function lc(e){return x.skipHydrationRootTNode===e}function uc(){x.skipHydrationRootTNode=null}function k(){return x.lFrame.lView}function ie(){return x.lFrame.tView}function Hd(e){return x.lFrame.contextLView=e,e[$]}function $d(e){return x.lFrame.contextLView=null,e}function ue(){let e=dc();for(;e!==null&&e.type===64;)e=e.parent;return e}function dc(){return x.lFrame.currentTNode}function Bd(){let e=x.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Fn(e,t){let n=x.lFrame;n.currentTNode=e,n.isParent=t}function fc(){return x.lFrame.isParent}function zd(){x.lFrame.isParent=!1}function pc(){return xa}function hc(e){let t=xa;return xa=e,t}function Gd(){return x.lFrame.bindingIndex}function qd(e){return x.lFrame.bindingIndex=e}function bt(){return x.lFrame.bindingIndex++}function gc(e){let t=x.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Wd(){return x.lFrame.inI18n}function Zd(e,t){let n=x.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ii(t)}function Qd(){return x.lFrame.currentDirectiveIndex}function Ii(e){x.lFrame.currentDirectiveIndex=e}function Yd(e){let t=x.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function mc(e){x.lFrame.currentQueryIndex=e}function Iv(e){let t=e[C];return t.type===2?t.declTNode:t.type===1?e[Ce]:null}function vc(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Iv(i),o===null||(i=i[Gt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=x.lFrame=Kd();return r.currentTNode=t,r.lView=e,!0}function wi(e){let t=Kd(),n=e[C];x.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Kd(){let e=x.lFrame,t=e===null?null:e.child;return t===null?Jd(e):t}function Jd(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Xd(){let e=x.lFrame;return x.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var yc=Xd;function Di(){let e=Xd();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ef(e){return(x.lFrame.contextLView=Od(e,x.lFrame.contextLView))[$]}function rt(){return x.lFrame.selectedIndex}function Tt(e){x.lFrame.selectedIndex=e}function xr(){let e=x.lFrame;return Mr(e.tView,e.selectedIndex)}function tf(){x.lFrame.currentNamespace=rc}function nf(){wv()}function wv(){x.lFrame.currentNamespace=null}function rf(){return x.lFrame.currentNamespace}var of=!0;function bi(){return of}function Ti(e){of=e}function Aa(e,t=null,n=null,r){let o=Ec(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ec(e,t=null,n=null,r,o=new Set){let i=[n||ye,Cd(e)];return r=r||(typeof e=="object"?void 0:Xe(e)),new $t(i,t||br(),r||null,o)}var Fe=class e{static THROW_IF_NOT_FOUND=jt;static NULL=new yr;static create(t,n){if(Array.isArray(t))return Aa({name:""},n,t,"");{let r=t.name??"";return Aa({name:r},t.parent,t.providers,r)}}static \u0275prov=w({token:e,providedIn:"any",factory:()=>T(qa)});static __NG_ELEMENT_ID__=-1},Z=new I(""),Ct=(()=>{class e{static __NG_ELEMENT_ID__=Dv;static __NG_ENV_ID__=n=>n}return e})(),Oa=class extends Ct{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Yt(this._lView)}onDestroy(t){let n=this._lView;return ac(n,t),()=>Pd(n,t)}};function Dv(){return new Oa(k())}var je=class{_console=console;handleError(t){this._console.error("ERROR",t)}},we=new I("",{providedIn:"root",factory:()=>{let e=h(K),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(je),t.handleError(n))}}}),sf={provide:et,useValue:()=>{h(je)},multi:!0},bv=new I("",{providedIn:"root",factory:()=>{let e=h(Z).defaultView;if(!e)return;let t=h(we),n=i=>{t(i.reason),i.preventDefault()},r=i=>{i.error?t(i.error):t(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener("unhandledrejection",n),e.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(o):o(),h(Ct).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",n)})}});function Tv(){return tt([Td(()=>{h(bv)})])}function Ic(e){return typeof e=="function"&&e[ce]!==void 0}function Kt(e,t){let[n,r,o]=la(e,t?.equal),i=n,s=i[ce];return i.set=r,i.update=o,i.asReadonly=af.bind(i),i}function af(){let e=this[ce];if(e.readonlyFn===void 0){let t=()=>this();t[ce]=e,e.readonlyFn=t}return e.readonlyFn}function wc(e){return Ic(e)&&typeof e.set=="function"}var vt=class{},Ar=new I("",{providedIn:"root",factory:()=>!1});var Dc=new I(""),bc=new I(""),Be=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new te(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new A(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ci=(()=>{class e{internalPendingTasks=h(Be);scheduler=h(vt);errorHandler=h(we);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})();function Or(...e){}var Tc=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:()=>new Pa})}return e})(),Pa=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}};function Hr(e){return{toString:e}.toString()}function Av(e){return typeof e=="function"}var Pi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Bf(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var ll=(()=>{let e=()=>zf;return e.ngInherit=!0,e})();function zf(e){return e.type.prototype.ngOnChanges&&(e.setInput=Pv),Ov}function Ov(){let e=qf(this),t=e?.current;if(t){let n=e.previous;if(n===Et)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Pv(e,t,n,r,o){let i=this.declaredInputs[r],s=qf(e)||kv(e,{previous:Et,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Pi(l&&l.currentValue,n,c===Et),Bf(e,t,o,n)}var Gf="__ngSimpleChanges__";function qf(e){return e[Gf]||null}function kv(e,t){return e[Gf]=t}var cf=[];var j=function(e,t=null,n){for(let r=0;r=r)break}else t[c]<0&&(e[Wt]+=65536),(a>14>16&&(e[N]&3)===t&&(e[N]+=16384,lf(a,i)):lf(a,i)}var Un=-1,Xt=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function Uv(e){return(e.flags&8)!==0}function Vv(e){return(e.flags&16)!==0}function Hv(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i>16}function Li(e,t){let n=zv(e),r=t;for(;n>0;)r=r[Gt],n--;return r}var kc=!0;function df(e){let t=kc;return kc=e,t}var Gv=256,Qf=Gv-1,Yf=5,qv=0,ze={};function Wv(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(zt)&&(r=n[zt]),r==null&&(r=n[zt]=qv++);let o=r&Qf,i=1<>Yf)]|=i}function Fi(e,t){let n=Kf(e,t);if(n!==-1)return n;let r=t[C];r.firstCreatePass&&(e.injectorIndex=t.length,Sc(r.data,e),Sc(t,null),Sc(r.blueprint,null));let o=ul(e,t),i=e.injectorIndex;if(Zf(o)){let s=ki(o),a=Li(o,t),c=a[C].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Sc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Kf(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function ul(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=np(o),r===null)return Un;if(n++,o=o[Gt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Un}function Lc(e,t,n){Wv(e,t,n)}function Jf(e,t,n){if(n&8||e!==void 0)return e;fi(t,"NodeInjector")}function Xf(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[nt],i=ve(void 0);try{return o?o.get(t,r,n&8):za(t,r,n&8)}finally{ve(i)}}return Jf(r,t,n)}function ep(e,t,n,r=0,o){if(e!==null){if(t[N]&2048&&!(r&2)){let s=Jv(e,t,n,r,ze);if(s!==ze)return s}let i=tp(e,t,n,r,ze);if(i!==ze)return i}return Xf(t,n,r,o)}function tp(e,t,n,r,o){let i=Yv(n);if(typeof i=="function"){if(!vc(t,e,r))return r&1?Jf(o,n,r):Xf(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))fi(n);else return s}finally{yc()}}else if(typeof i=="number"){let s=null,a=Kf(e,t),c=Un,l=r&1?t[Ee][Ce]:null;for((a===-1||r&4)&&(c=a===-1?ul(e,t):t[a+8],c===Un||!pf(r,!1)?a=-1:(s=t[C],a=ki(c),t=Li(c,t)));a!==-1;){let u=t[C];if(ff(i,a,u.data)){let d=Zv(a,t,n,s,r,l);if(d!==ze)return d}c=t[a+8],c!==Un&&pf(r,t[C].data[a+8]===l)&&ff(i,a,t)?(s=u,a=ki(c),t=Li(c,t)):a=-1}}return o}function Zv(e,t,n,r,o,i){let s=t[C],a=s.data[e+8],c=r==null?Dt(a)&&kc:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=Qv(a,s,n,c,l);return u!==null?ji(t,s,u,a,o):ze}function Qv(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f=c&&g.type===n)return f}if(o){let f=s[c];if(f&&He(f)&&f.type===n)return c}return null}function ji(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Xt){let a=i;if(a.resolving){let f=vd(s[n]);throw Ba(f)}let c=df(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?ve(a.injectImpl):null,p=vc(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Lv(n,s[n],t)}finally{d!==null&&ve(d),df(c),a.resolving=!1,yc()}}return i}function Yv(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(zt)?e[zt]:void 0;return typeof t=="number"?t>=0?t&Qf:Kv:t}function ff(e,t,n){let r=1<>Yf)]&r)}function pf(e,t){return!(e&2)&&!(e&1&&t)}var Jt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ep(this._tNode,this._lView,t,Ut(r),n)}};function Kv(){return new Jt(ue(),k())}function es(e){return Hr(()=>{let t=e.prototype.constructor,n=t[vr]||Fc(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[vr]||Fc(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Fc(e){return La(e)?()=>{let t=Fc(ne(e));return t&&t()}:Vt(e)}function Jv(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[N]&2048&&!Ln(s);){let a=tp(i,s,n,r|2,ze);if(a!==ze)return a;let c=i.parent;if(!c){let l=s[ec];if(l){let u=l.get(n,ze,r);if(u!==ze)return u}c=np(s),s=s[Gt]}i=c}return o}function np(e){let t=e[C],n=t.type;return n===2?t.declTNode:n===1?e[Ce]:null}function Xv(){return dl(ue(),k())}function dl(e,t){return new rp(Ae(e,t))}var rp=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Xv}return e})();function op(e){return(e.flags&128)===128}var fl=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(fl||{}),ip=new Map,ey=0;function ty(){return ey++}function ny(e){ip.set(e[Tr],e)}function jc(e){ip.delete(e[Tr])}var hf="__ngContext__";function Hn(e,t){Ve(t)?(e[hf]=t[Tr],ny(t)):e[hf]=t}function sp(e){return cp(e[kn])}function ap(e){return cp(e[Te])}function cp(e){for(;e!==null&&!xe(e);)e=e[Te];return e}var Uc;function pl(e){Uc=e}function hl(){if(Uc!==void 0)return Uc;if(typeof document<"u")return document;throw new E(210,!1)}var ts=new I("",{providedIn:"root",factory:()=>ry}),ry="ng",ns=new I(""),$r=new I("",{providedIn:"platform",factory:()=>"unknown"});var rs=new I("",{providedIn:"root",factory:()=>hl().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var oy="h",iy="b";var lp="r";var up="di";var dp=!1,fp=new I("",{providedIn:"root",factory:()=>dp});var sy=(e,t,n,r)=>{};function ay(e,t,n,r){sy(e,t,n,r)}function gl(e){return(e.flags&32)===32}var cy=()=>null;function pp(e,t,n=!1){return cy(e,t,n)}function hp(e,t){let n=e.contentQueries;if(n!==null){let r=S(null);try{for(let o=0;oe,createScript:e=>e,createScriptURL:e=>e})}catch{}return Si}function os(e){return ly()?.createHTML(e)||e}var _i;function uy(){if(_i===void 0&&(_i=null,Bt.trustedTypes))try{_i=Bt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return _i}function gf(e){return uy()?.createHTML(e)||e}var Ui=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${li})`}};function is(e){return e instanceof Ui?e.changingThisBreaksApplicationSecurity:e}function ml(e,t){let n=mp(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${li})`)}return n===t}function mp(e){return e instanceof Ui&&e.getTypeName()||null}function dy(e){let t=new $c(e);return fy()?new Hc(t):t}var Hc=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(os(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},$c=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=os(t),n}};function fy(){try{return!!new window.DOMParser().parseFromString(os(""),"text/html")}catch{return!1}}var py=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function vl(e){return e=String(e),e.match(py)?e:"unsafe:"+e}function st(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Br(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var vp=st("area,br,col,hr,img,wbr"),yp=st("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ep=st("rp,rt"),hy=Br(Ep,yp),gy=Br(yp,st("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),my=Br(Ep,st("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),mf=Br(vp,gy,my,hy),Ip=st("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),vy=st("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),yy=st("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),Ey=Br(Ip,vy,yy),Iy=st("script,style,template");var Bc=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=by(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Dy(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=vf(t).toLowerCase();if(!mf.hasOwnProperty(n))return this.sanitizedSomething=!0,!Iy.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=vf(t).toLowerCase();mf.hasOwnProperty(n)&&!vp.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(yf(t))}};function wy(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Dy(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw wp(t);return t}function by(e){let t=e.firstChild;if(t&&wy(e,t))throw wp(t);return t}function vf(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function wp(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Ty=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Cy=/([^\#-~ |!])/g;function yf(e){return e.replace(/&/g,"&").replace(Ty,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Cy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var Mi;function Dp(e,t){let n=null;try{Mi=Mi||dy(e);let r=t?String(t):"";n=Mi.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Mi.getInertBodyElement(r)}while(r!==i);let a=new Bc().sanitizeChildren(Ef(n)||n);return os(a)}finally{if(n){let r=Ef(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Ef(e){return"content"in e&&Sy(e)?e.content:null}function Sy(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}function _y(e,t){return e.createText(t)}function My(e,t,n){e.setValue(t,n)}function bp(e,t,n){return e.createElement(t,n)}function Vi(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Tp(e,t,n){e.appendChild(t,n)}function If(e,t,n,r,o){r!==null?Vi(e,t,n,r,o):Tp(e,t,n)}function Cp(e,t,n,r){e.removeChild(null,t,n,r)}function Ny(e,t,n){e.setAttribute(t,"style",n)}function Ry(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Sp(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Hv(e,t,r),o!==null&&Ry(e,t,o),i!==null&&Ny(e,t,i)}var ss=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e})(ss||{});function xy(e){let t=_p();return t?gf(t.sanitize(ss.HTML,e)||""):ml(e,"HTML")?gf(is(e)):Dp(hl(),yt(e))}function Ay(e){let t=_p();return t?t.sanitize(ss.URL,e)||"":ml(e,"URL")?is(e):vl(yt(e))}function _p(){let e=k();return e&&e[Ue].sanitizer}function Mp(e){return e instanceof Function?e():e}function Oy(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var Np="ng-template";function Py(e,t,n,r){let o=0;if(r){for(;o-1){let i;for(;++oi?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(Oe(r))return!1;s=!0}}}}return Oe(r)||s}function Oe(e){return(e&1)===0}function Fy(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Oe(s)&&(t+=wf(i,o),o=""),r=s,i=i||!Oe(r);n++}return o!==""&&(t+=wf(i,o)),t}function $y(e){return e.map(Hy).join(",")}function By(e){let t=[],n=[],r=1,o=2;for(;rnull),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof G&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},de=Gc;function Pp(e){let t,n;function r(){e=Or;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function bf(e){return queueMicrotask(()=>e()),()=>{e=Or}}var Tl="isAngularZone",Hi=Tl+"_ID",Qy=0,Q=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new de(!1);onMicrotaskEmpty=new de(!1);onStable=new de(!1);onError=new de(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Op}=t;if(typeof Zone>"u")throw new E(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Jy(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Tl)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new E(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Yy,Or,Or);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Yy={};function Cl(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Ky(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Pp(()=>{e.callbackScheduled=!1,qc(e),e.isCheckStableRunning=!0,Cl(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),qc(e)}function Jy(e){let t=()=>{Ky(e)},n=Qy++;e._inner=e._inner.fork({name:"angular",properties:{[Tl]:!0,[Hi]:n,[Hi+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Xy(c))return r.invokeTask(i,s,a,c);try{return Tf(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Cf(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Tf(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!eE(c)&&t(),Cf(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,qc(e),Cl(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function qc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Tf(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Cf(e){e._nesting--,Cl(e)}var $i=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new de;onMicrotaskEmpty=new de;onStable=new de;onError=new de;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function Xy(e){return kp(e,"__ignore_ng_zone__")}function eE(e){return kp(e,"__scheduler_tick__")}function kp(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Lp=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})();var Fp=new I("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function jp(e,t,n){let r=e.get(Fp);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function tE(e,t){let n=e.get(Fp);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function nE(e,t){for(let[n,r]of t)jp(e,r.animateFns)}function Sf(e,t,n,r){let o=e?.[Qt]?.enter;t!==null&&o&&o.has(n.index)&&nE(r,o)}function jn(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;xe(o)?c=o:Ve(o)&&(l=!0,o=o[Re]);let u=Se(o);e===0&&r!==null?(Sf(a,r,i,n),s==null?Tp(t,r,u):Vi(t,r,u,s||null,!0)):e===1&&r!==null?(Sf(a,r,i,n),Vi(t,r,u,s||null,!0)):e===2?_f(a,i,n,d=>{Cp(t,u,l,d)}):e===3&&_f(a,i,n,()=>{t.destroyNode(u)}),c!=null&&gE(t,e,n,c,i,r,s)}}function rE(e,t){Up(e,t),t[Re]=null,t[Ce]=null}function oE(e,t,n,r,o,i){r[Re]=o,r[Ce]=t,ls(e,r,n,1,o,i)}function Up(e,t){t[Ue].changeDetectionScheduler?.notify(9),ls(e,t,t[V],2,null,null)}function iE(e){let t=e[kn];if(!t)return _c(e[C],e);for(;t;){let n=null;if(Ve(t))n=t[kn];else{let r=t[B];r&&(n=r)}if(!n){for(;t&&!t[Te]&&t!==e;)Ve(t)&&_c(t[C],t),t=t[J];t===null&&(t=e),Ve(t)&&_c(t[C],t),n=t&&t[Te]}t=n}}function Sl(e,t){let n=e[_r],r=n.indexOf(t);n.splice(r,1)}function cs(e,t){if(Yt(t))return;let n=t[V];n.destroyNode&&ls(e,t,n,3,null,null),iE(t)}function _c(e,t){if(Yt(t))return;let n=S(null);try{t[N]&=-129,t[N]|=256,t[Ie]&&fr(t[Ie]),cE(e,t),aE(e,t),t[C].type===1&&t[V].destroy();let r=t[qt];if(r!==null&&xe(t[J])){r!==t[J]&&Sl(r,t);let o=t[Zt];o!==null&&o.detachView(e)}jc(t)}finally{S(n)}}function _f(e,t,n,r){let o=e?.[Qt];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&en.add(e),jp(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s){for(let c=0;c{e[Qt].running=void 0,en.delete(e),t(!0)});return}t(!1)}function aE(e,t){let n=e.cleanup,r=t[Pn];if(n!==null)for(let s=0;s=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Pn]=null);let o=t[Je];if(o!==null){t[Je]=null;for(let s=0;soe&&Ap(e,t,oe,!1),j(s?2:0,o,n),n(r,o)}finally{Tt(i),j(s?3:1,o,n)}}function $p(e,t,n){DE(e,t,n),(n.flags&64)===64&&bE(e,t,n)}function Nl(e,t,n=Ae){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;inull;function IE(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Bp(e,t,n,r,o,i){let s=t[C];if(Rl(e,s,t,n,r)){Dt(e)&&wE(t,e.index);return}e.type&3&&(n=IE(n)),zp(e,t,n,r,o,i)}function zp(e,t,n,r,o,i){if(e.type&3){let s=Ae(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function wE(e,t){let n=_e(t,e);n[N]&16||(n[N]|=64)}function DE(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Dt(n)&&qy(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Fi(n,t);let i=n.initialInputs;for(let s=r;s{Rr(e.lView)},consumerOnSignalRead(){this.lView[Ie]=this}});function FE(e){let t=e[Ie]??Object.create(jE);return t.lView=e,t}var jE=U(v({},gn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=mt(e.lView);for(;t&&!Yp(t[C]);)t=mt(t);t&&sc(t)},consumerOnSignalRead(){this.lView[Ie]=this}});function Yp(e){return e.type!==2}function Kp(e){if(e[Cr]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Cr])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[N]&8192)}}var UE=100;function Jp(e,t=0){let r=e[Ue].rendererFactory,o=!1;o||r.begin?.();try{VE(e,t)}finally{o||r.end?.()}}function VE(e,t){let n=pc();try{hc(!0),Zc(e,t);let r=0;for(;Nr(e);){if(r===UE)throw new E(103,!1);r++,Zc(e,1)}}finally{hc(n)}}function HE(e,t,n,r){if(Yt(t))return;let o=t[N],i=!1,s=!1;wi(t);let a=!0,c=null,l=null;i||(Yp(e)?(l=OE(t),c=vn(l)):Ro()===null?(a=!1,l=FE(t),c=vn(l)):t[Ie]&&(fr(t[Ie]),t[Ie]=null));try{ic(t),qd(e.bindingStartIndex),n!==null&&Hp(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Ri(t,f,null)}else{let f=e.preOrderHooks;f!==null&&xi(t,f,0,null),Cc(t,0)}if(s||$E(t),Kp(t),Xp(t,0),e.contentQueries!==null&&hp(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Ri(t,f)}else{let f=e.contentHooks;f!==null&&xi(t,f,1),Cc(t,1)}zE(e,t);let d=e.components;d!==null&&th(t,d,0);let p=e.viewQuery;if(p!==null&&Vc(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Ri(t,f)}else{let f=e.viewHooks;f!==null&&xi(t,f,2),Cc(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[gi]){for(let f of t[gi])f();t[gi]=null}i||(Zp(t),t[N]&=-73)}catch(u){throw i||Rr(t),u}finally{l!==null&&(ur(l,c),a&&kE(l)),Di()}}function Xp(e,t){for(let n=sp(e);n!==null;n=ap(n))for(let r=B;r0&&(e[n-1][Te]=r[Te]);let i=wr(e,B+t);rE(r[C],r);let s=i[Zt];s!==null&&s.detachView(i[C]),r[J]=null,r[Te]=null,r[N]&=-129}return r}function GE(e,t,n,r){let o=B+r,i=n.length;r>0&&(n[o-1][Te]=t),r-1&&(jr(t,r),wr(n,r))}this._attachedToViewContainer=!1}cs(this._lView[C],this._lView)}onDestroy(t){ac(this._lView,t)}markForCheck(){Ol(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[N]&=-129}reattach(){Ei(this._lView),this._lView[N]|=128}detectChanges(){this._lView[N]|=1024,Jp(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Ln(this._lView),n=this._lView[qt];n!==null&&!t&&Sl(n,this._lView),Up(this._lView[C],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=t;let n=Ln(this._lView),r=this._lView[qt];r!==null&&!n&&ih(r,this._lView),Ei(this._lView)}};function ds(e,t,n,r,o){let i=e.data[t];if(i===null)i=qE(e,t,n,r,o),Wd()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Bd();i.injectorIndex=s===null?-1:s.injectorIndex}return Fn(i,!0),i}function qE(e,t,n,r,o){let i=dc(),s=fc(),a=s?i:i&&i.parent,c=e.data[t]=ZE(e,a,n,t,r,o);return WE(e,c,i,s),c}function WE(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function ZE(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Vd()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var tA=new RegExp(`^(\\d+)*(${iy}|${oy})*(.*)`);function QE(e){let t=e[tc]??[],r=e[J][V],o=[];for(let i of t)i.data[up]!==void 0?o.push(i):YE(i,r);e[tc]=o}function YE(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[lp];for(;nnull,JE=()=>null;function Qc(e,t){return KE(e,t)}function sh(e,t,n){return JE(e,t,n)}var ah=class{},fs=class{},Yc=class{resolveComponentFactory(t){throw new E(917,!1)}},Gr=class{static NULL=new Yc},nn=class{},XE=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>eI()}return e})();function eI(){let e=k(),t=ue(),n=_e(t.index,e);return(Ve(n)?n:e)[V]}var ch=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:()=>null})}return e})();var Ai={},Kc=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Ai,r);return o!==Ai||n===Ai?o:this.parentInjector.get(t,n,r)}};function Bi(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&(n.directiveToIndex=new Map);for(let p=0;p0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function lI(e,t,n){if(n){if(t.exportAs)for(let r=0;rr(Se(D[e.index])):e.index;ph(g,t,n,i,a,f,!1)}}return l}function pI(e){return e.startsWith("animation")||e.startsWith("transition")}function hI(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function ph(e,t,n,r,o,i,s){let a=t.firstCreatePass?Ld(t):null,c=kd(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Of(e,t,n,r,o,i){let s=t[n],a=t[C],l=a.data[n].outputs[r],d=s[l].subscribe(i);ph(e.index,a,t,o,i,d,!0)}var Jc=Symbol("BINDING");var zi=class extends Gr{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=It(t);return new $n(n,this.ngModule)}};function gI(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&as.SignalBased)!==0};return o&&(i.transform=o),i})}function mI(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function vI(e,t,n){let r=t instanceof K?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Kc(n,r):n}function yI(e){let t=e.get(nn,null);if(t===null)throw new E(407,!1);let n=e.get(ch,null),r=e.get(vt,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function EI(e,t){let n=hh(e);return bp(t,n,n==="svg"?rc:n==="math"?xd:null)}function hh(e){return(e.selectors[0][0]||"div").toLowerCase()}var $n=class extends fs{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=gI(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=mI(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=$y(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){j(22);let a=S(null);try{let c=this.componentDef,l=II(r,c,s,i),u=vI(c,o||this.ngModule,t),d=yI(u),p=d.rendererFactory.createRenderer(null,c),f=r?vE(p,r,c.encapsulation,u):EI(c,p),g=s?.some(Pf)||i?.some(m=>typeof m!="function"&&m.bindings.some(Pf)),D=Il(null,l,null,512|Rp(c),null,null,d,p,u,null,pp(f,u,!0));D[oe]=f,wi(D);let y=null;try{let m=uh(oe,D,2,"#host",()=>l.directiveRegistry,!0,0);Sp(p,f,m),Hn(f,D),$p(l,D,m),gp(l,m,D),dh(l,m),n!==void 0&&DI(m,this.ngContentSelectors,n),y=_e(m.index,D),D[$]=y[$],xl(l,D,null)}catch(m){throw y!==null&&jc(y),jc(D),m}finally{j(23),Di()}return new Gi(this.componentType,D,!!g)}finally{S(a)}}};function II(e,t,n,r){let o=e?["ng-version","20.3.19"]:By(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[Jc].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Pf(e){let t=e[Jc].kind;return t==="input"||t==="twoWay"}var Gi=class extends ah{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Mr(n[C],oe),this.location=dl(this._tNode,n),this.instance=_e(this._tNode.index,n)[$],this.hostView=this.changeDetectorRef=new tn(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=Rl(r,o[C],o,t,n);this.previousInputValues.set(t,n);let s=_e(r.index,o);Ol(s,1)}get injector(){return new Jt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function DI(e,t,n){let r=e.projection=[];for(let o=0;o{class e{static __NG_ELEMENT_ID__=bI}return e})();function bI(){let e=ue();return CI(e,k())}var TI=hs,gh=class extends TI{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return dl(this._hostTNode,this._hostLView)}get injector(){return new Jt(this._hostTNode,this._hostLView)}get parentInjector(){let t=ul(this._hostTNode,this._hostLView);if(Zf(t)){let n=Li(t,this._hostLView),r=ki(t),o=n[C].data[r+8];return new Jt(o,n)}else return new Jt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=kf(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-B}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Qc(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Lr(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!Av(t),l;if(c)l=n;else{let y=n||{};l=y.index,r=y.injector,o=y.projectableNodes,i=y.environmentInjector||y.ngModuleRef,s=y.directives,a=y.bindings}let u=c?t:new $n(It(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let m=(c?d:this.parentInjector).get(K,null);m&&(i=m)}let p=It(u.componentType??{}),f=Qc(this._lContainer,p?.id??null),g=f?.firstChild??null,D=u.create(d,o,g,i,s,a);return this.insertImpl(D.hostView,l,Lr(this._hostTNode,f)),D}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Ad(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[J],l=new gh(c,c[Ce],c[J]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return us(s,o,i,r),t.attachToViewContainerRef(),Ga(Mc(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=kf(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=jr(this._lContainer,n);r&&(wr(Mc(this._lContainer),n),cs(r[C],r))}detach(t){let n=this._adjustIndex(t,-1),r=jr(this._lContainer,n);return r&&wr(Mc(this._lContainer),n)!=null?new tn(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function kf(e){return e[Sr]}function Mc(e){return e[Sr]||(e[Sr]=[])}function CI(e,t){let n,r=t[e.index];return xe(r)?n=r:(n=nh(r,t,null,e),t[e.index]=n,wl(t,n)),_I(n,t,e,r),new gh(n,e,t)}function SI(e,t){let n=e[V],r=n.createComment(""),o=Ae(t,e),i=n.parentNode(o);return Vi(n,i,r,n.nextSibling(o),!1),r}var _I=RI,MI=()=>!1;function NI(e,t,n){return MI(e,t,n)}function RI(e,t,n,r){if(e[wt])return;let o;n.type&8?o=Se(r):o=SI(t,n),e[wt]=o}var Bn=class{},gs=class{};var qi=class extends Bn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new zi(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Za(t);this._bootstrapComponents=Mp(i.bootstrap),this._r3Injector=Ec(t,n,[{provide:Bn,useValue:this},{provide:Gr,useValue:this.componentFactoryResolver},...r],Xe(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Wi=class extends gs{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new qi(this.moduleType,t,[])}};var Ur=class extends Bn{injector;componentFactoryResolver=new zi(this);instance=null;constructor(t){super();let n=new $t([...t.providers,{provide:Bn,useValue:this},{provide:Gr,useValue:this.componentFactoryResolver}],t.parent||br(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function qr(e,t,n=null){return new Ur({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var xI=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Ya(!1,n.type),o=r.length>0?qr([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=w({token:e,providedIn:"environment",factory:()=>new e(T(K))})}return e})();function Pl(e){return Hr(()=>{let t=mh(e),n=U(v({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===fl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(xI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ot.Emulated,styles:e.styles||ye,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&St("NgStandalone"),vh(n);let r=e.dependencies;return n.directiveDefs=Lf(r,AI),n.pipeDefs=Lf(r,bd),n.id=kI(n),n})}function AI(e){return It(e)||Qa(e)}function ms(e){return Hr(()=>({type:e.type,bootstrap:e.bootstrap||ye,declarations:e.declarations||ye,imports:e.imports||ye,exports:e.exports||ye,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function OI(e,t){if(e==null)return Et;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=as.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function PI(e){if(e==null)return Et;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function kl(e){return Hr(()=>{let t=mh(e);return vh(t),t})}function mh(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Et,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||ye,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:OI(e.inputs,t),outputs:PI(e.outputs),debugInfo:null}}function vh(e){e.features?.forEach(t=>t(e))}function Lf(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function kI(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function LI(e){return Object.getPrototypeOf(e.prototype).constructor}function yh(e){let t=LI(e.type),n=!0,r=[e];for(;t;){let o;if(He(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new E(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Nc(e.inputs),s.declaredInputs=Nc(e.declaredInputs),s.outputs=Nc(e.outputs);let a=o.hostBindings;a&&HI(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&UI(e,c),l&&VI(e,l),FI(e,o),md(e.outputs,o.outputs),He(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Vn(o.hostAttrs,n=Vn(n,o.hostAttrs))}}function Nc(e){return e===Et?{}:e===ye?[]:e}function UI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function VI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function HI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function $I(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Vn(e.mergedAttrs,e.attrs);let u=e.tView=El(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Fn(e,!1);let c=BI(n,t,e,r);bi()&&_l(n,t,c,e),Hn(c,t);let l=nh(c,t,c,e);t[r+oe]=l,wl(t,l),NI(l,e,t)}function Zi(e,t,n,r,o,i,s,a,c,l,u){let d=n+oe,p;if(t.firstCreatePass){if(p=ds(t,d,4,s||null,a||null),l!=null){let f=$e(t.consts,l);p.localNames=[];for(let g=0;g{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var Fl=new I("");function Wr(e){return!!e&&typeof e.then=="function"}function Eh(e){return!!e&&typeof e.subscribe=="function"}var Ih=new I("");var jl=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=h(Ih,{optional:!0})??[];injector=h(Fe);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=re(this.injector,o);if(Wr(i))n.push(i);else if(Eh(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vs=new I("");function wh(){ca(()=>{let e="";throw new E(600,e)})}function Dh(e){return e.isBoundToModule}var GI=10;var on=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=h(we);afterRenderManager=h(Lp);zonelessEnabled=h(Ar);rootEffectScheduler=h(Tc);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new ee;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=h(Be);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(R(n=>!n))}constructor(){h(zr,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=h(K);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Fe.NULL){return this._injector.get(Q).run(()=>{j(10);let s=n instanceof fs;if(!this._injector.get(jl).done){let g="";throw new E(405,g)}let c;s?c=n:c=this._injector.get(Gr).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=Dh(c)?void 0:this._injector.get(Bn),u=r||c.selector,d=c.create(o,[],u,l),p=d.location.nativeElement,f=d.injector.get(Fl,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),kr(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),j(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){j(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(bl.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new E(101,!1);let n=S(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,S(n),this.afterTick.next(),j(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(nn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++Nr(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;kr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(vs,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>kr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new E(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function kr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function bh(e,t,n,r){let o=k(),i=bt();if(Ge(o,i,t)){let s=ie(),a=xr();SE(a,o,e,t,n,r)}return bh}var cA=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Xc=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Rc(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function qI(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),u=t[i],d=Rc(i,l,i,u,n);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let p=e.at(s),f=t[c],g=Rc(s,p,c,f,n);if(g!==0){g<0&&e.updateValue(s,f),s--,c--;continue}let D=n(i,l),y=n(s,p),m=n(i,u);if(Object.is(m,y)){let z=n(c,f);Object.is(z,D)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new Qi,o??=jf(e,i,s,n),el(e,r,i,m))e.updateValue(i,u),i++,s++;else if(o.has(m))r.set(D,e.detach(i)),s--;else{let z=e.create(i,t[i]);e.attach(i,z),i++,s++}}for(;i<=c;)Ff(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),d=l.value,p=Rc(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new Qi,o??=jf(e,i,s,n);let f=n(i,d);if(el(e,r,i,f))e.updateValue(i,d),i++,s++,l=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,l=c.next();else{let g=n(i,u);r.set(g,e.detach(i)),s--}}}for(;!l.done;)Ff(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function el(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Ff(e,t,n,r,o){if(el(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function jf(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Qi=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function WI(e,t,n,r,o,i,s,a){St("NgControlFlow");let c=k(),l=ie(),u=$e(l.consts,i);return Zi(c,l,e,t,n,r,o,u,256,s,a),Ul}function Ul(e,t,n,r,o,i,s,a){St("NgControlFlow");let c=k(),l=ie(),u=$e(l.consts,i);return Zi(c,l,e,t,n,r,o,u,512,s,a),Ul}function ZI(e,t){St("NgControlFlow");let n=k(),r=bt(),o=n[r]!==Pe?n[r]:-1,i=o!==-1?Yi(n,oe+o):void 0,s=0;if(Ge(n,r,e)){let a=S(null);try{if(i!==void 0&&oh(i,s),e!==-1){let c=oe+e,l=Yi(n,c),u=ol(n[C],c),d=sh(l,u,n),p=Al(n,u,t,{dehydratedView:d});us(l,p,s,Lr(u,d))}}finally{S(a)}}else if(i!==void 0){let a=rh(i,s);a!==void 0&&(a[$]=t)}}var tl=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-B}};function QI(e){return e}function YI(e,t){return t}var nl=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function KI(e,t,n,r,o,i,s,a,c,l,u,d,p){St("NgControlFlow");let f=k(),g=ie(),D=c!==void 0,y=k(),m=a?s.bind(y[Ee][$]):s,z=new nl(D,m);y[oe+e]=z,Zi(f,g,e+1,t,n,r,o,$e(g.consts,i),256),D&&Zi(f,g,e+2,c,l,u,d,$e(g.consts,p),512)}var rl=class extends Xc{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-B}at(t){return this.getLView(t)[$].$implicit}attach(t,n){let r=n[On];this.needsIndexUpdate||=t!==this.length,us(this.lContainer,n,t,Lr(this.templateTNode,r)),XI(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,ew(this.lContainer,t),tw(this.lContainer,t)}create(t,n){let r=Qc(this.lContainer,this.templateTNode.tView.ssrId),o=Al(this.hostLView,this.templateTNode,new tl(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){cs(t[C],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[$].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t0){let i=r[nt];tE(i,o),en.delete(r),o.detachedLeaveAnimationFns=void 0}}function ew(e,t){if(e.length<=B)return;let n=B+t,r=e[n],o=r?r[Qt]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function tw(e,t){return jr(e,t)}function nw(e,t){return rh(e,t)}function ol(e,t){return Mr(e,t)}function Th(e,t,n){let r=k(),o=bt();if(Ge(r,o,t)){let i=ie(),s=xr();Bp(s,r,e,t,r[V],n)}return Th}function Uf(e,t,n,r,o){Rl(t,e,n,o?"class":"style",r)}function Vl(e,t,n,r){let o=k(),i=o[C],s=e+oe,a=i.firstCreatePass?uh(s,o,2,t,CE,Ud(),n,r):i.data[s];if(Gp(a,o,e,t,Sh),vi(a)){let c=o[C];$p(c,o,a),gp(c,a,o)}return r!=null&&Nl(o,a),Vl}function Hl(){let e=ie(),t=ue(),n=qp(t);return e.firstCreatePass&&dh(e,n),lc(n)&&uc(),cc(),n.classesWithoutHost!=null&&Uv(n)&&Uf(e,n,k(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&Vv(n)&&Uf(e,n,k(),n.stylesWithoutHost,!1),Hl}function ys(e,t,n,r){return Vl(e,t,n,r),Hl(),ys}function $l(e,t,n,r){let o=k(),i=o[C],s=e+oe,a=i.firstCreatePass?dI(s,i,2,t,n,r):i.data[s];return Gp(a,o,e,t,Sh),r!=null&&Nl(o,a),$l}function Bl(){let e=ue(),t=qp(e);return lc(t)&&uc(),cc(),Bl}function Ch(e,t,n,r){return $l(e,t,n,r),Bl(),Ch}var Sh=(e,t,n,r,o)=>(Ti(!0),bp(t[V],r,rf()));function rw(){return k()}function _h(e,t,n){let r=k(),o=bt();if(Ge(r,o,t)){let i=ie(),s=xr();zp(s,r,e,t,r[V],n)}return _h}var Zr="en-US";var ow=Zr;function Mh(e){typeof e=="string"&&(ow=e.toLowerCase().replace(/_/g,"-"))}function Nh(e,t,n){let r=k(),o=ie(),i=ue();return xh(o,r,r[V],i,e,t,n),Nh}function Rh(e,t,n){let r=k(),o=ie(),i=ue();return(i.type&3||n)&&fh(i,o,r,n,r[V],e,t,Oi(i,r,t)),Rh}function xh(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Oi(r,t,i),fh(r,e,t,s,n,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d>17&32767}function sw(e){return(e&2)==2}function aw(e,t){return e&131071|t<<17}function il(e){return e|2}function zn(e){return(e&131068)>>2}function xc(e,t){return e&-131069|t<<2}function cw(e){return(e&1)===1}function sl(e){return e|1}function lw(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=rn(s),c=zn(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||An(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=rn(e[a+1]);e[r+1]=Ni(p,a),p!==0&&(e[p+1]=xc(e[p+1],r)),e[a+1]=aw(e[a+1],r)}else e[r+1]=Ni(a,0),a!==0&&(e[a+1]=xc(e[a+1],r)),a=r;else e[r+1]=Ni(c,0),a===0?a=r:e[c+1]=xc(e[c+1],r),c=r;l&&(e[r+1]=il(e[r+1])),Vf(e,u,r,!0),Vf(e,u,r,!1),uw(t,u,e,r,i),s=Ni(a,c),i?t.classBindings=s:t.styleBindings=s}function uw(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&An(i,t)>=0&&(n[r+1]=sl(n[r+1]))}function Vf(e,t,n,r){let o=e[n+1],i=t===null,s=r?rn(o):zn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];dw(c,t)&&(a=!0,e[s+1]=r?sl(l):il(l)),s=r?rn(l):zn(l)}a&&(e[n+1]=r?il(o):sl(o))}function dw(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?An(e,t)>=0:!1}function Ah(e,t,n){return Ph(e,t,n,!1),Ah}function Oh(e,t){return Ph(e,t,null,!0),Oh}function Ph(e,t,n,r){let o=k(),i=ie(),s=gc(2);if(i.firstUpdatePass&&pw(i,e,s,r),t!==Pe&&Ge(o,s,t)){let a=i.data[rt()];yw(i,a,o,o[V],e,o[s+1]=Ew(t,n),r,s)}}function fw(e,t){return t>=e.expandoStartIndex}function pw(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[rt()],s=fw(e,n);Iw(i,r)&&t===null&&!s&&(t=!1),t=hw(o,i,t,r),lw(o,i,t,n,s,r)}}function hw(e,t,n,r){let o=Yd(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Ac(null,e,t,n,r),n=Vr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Ac(o,e,t,n,r),i===null){let c=gw(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Ac(null,e,t,c[1],r),c=Vr(c,t.attrs,r),mw(e,t,r,c))}else i=vw(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function gw(e,t,n){let r=n?t.classBindings:t.styleBindings;if(zn(r)!==0)return e[rn(r)]}function mw(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[rn(o)]=r}function vw(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===Pe&&(p=d?ye:void 0);let f=d?hi(p,r):u===r?p:void 0;if(l&&!Ki(f)&&(f=hi(c,r)),Ki(f)&&(a=f,s))return a;let g=e[o+1];o=s?rn(g):zn(g)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=hi(c,r))}return a}function Ki(e){return e!==void 0}function Ew(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Xe(is(e)))),e}function Iw(e,t){return(e.flags&(t?8:16))!==0}function ww(e,t=""){let n=k(),r=ie(),o=e+oe,i=r.firstCreatePass?ds(r,o,1,t,null):r.data[o],s=Dw(r,n,i,t,e);n[o]=s,bi()&&_l(r,n,s,i),Fn(i,!1)}var Dw=(e,t,n,r,o)=>(Ti(!0),_y(t[V],r));function bw(e,t,n,r=""){return Ge(e,bt(),n)?t+yt(n)+r:Pe}function Tw(e,t,n,r,o,i=""){let s=Gd(),a=fI(e,s,n,o);return gc(2),a?t+yt(n)+r+yt(o)+i:Pe}function kh(e){return zl("",e),kh}function zl(e,t,n){let r=k(),o=bw(r,e,t,n);return o!==Pe&&Fh(r,rt(),o),zl}function Lh(e,t,n,r,o){let i=k(),s=Tw(i,e,t,n,r,o);return s!==Pe&&Fh(i,rt(),s),Lh}function Fh(e,t,n){let r=oc(t,e);My(e[V],r,n)}function jh(e,t,n){wc(t)&&(t=t());let r=k(),o=bt();if(Ge(r,o,t)){let i=ie(),s=xr();Bp(s,r,e,t,r[V],n)}return jh}function Cw(e,t){let n=wc(e);return n&&e.set(t),n}function Uh(e,t){let n=k(),r=ie(),o=ue();return xh(r,n,n[V],o,e,t),Uh}function Sw(e,t,n){let r=ie();if(r.firstCreatePass){let o=He(e);al(n,r.data,r.blueprint,o,!0),al(t,r.data,r.blueprint,o,!1)}}function al(e,t,n,r,o){if(e=ne(e),Array.isArray(e))for(let i=0;i>20;if(Ht(e)||!e.multi){let f=new Xt(l,o,ps,null),g=Pc(c,t,o?u:u+p,d);g===-1?(Lc(Fi(a,s),i,c),Oc(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[g]=f,s[g]=f)}else{let f=Pc(c,t,u+p,d),g=Pc(c,t,u,u+p),D=f>=0&&n[f],y=g>=0&&n[g];if(o&&!y||!o&&!D){Lc(Fi(a,s),i,c);let m=Nw(o?Mw:_w,n.length,o,r,l,e);!o&&y&&(n[g].providerFactory=m),Oc(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(m),s.push(m)}else{let m=Vh(n[o?g:f],l,!o&&r);Oc(i,e,f>-1?f:g,m)}!o&&r&&y&&n[g].componentProviders++}}}function Oc(e,t,n,r){let o=Ht(t),i=Md(t);if(o||i){let c=(i?ne(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Vh(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Pc(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>Sw(r,o?o(e):e,t)}}var Ji=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},Gl=(()=>{class e{compileModuleSync(n){return new Wi(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Za(n),i=Mp(o.declarations).reduce((s,a)=>{let c=It(a);return c&&s.push(new $n(c)),s},[]);return new Ji(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var xw=(()=>{class e{zone=h(Q);changeDetectionScheduler=h(vt);applicationRef=h(on);applicationErrorHandler=h(we);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Hh=new I("",{factory:()=>!1});function ql({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Q(U(v({},Wl()),{scheduleInRootZone:n})),[{provide:Q,useFactory:e},{provide:et,multi:!0,useFactory:()=>{let r=h(xw,{optional:!0});return()=>r.initialize()}},{provide:et,multi:!0,useFactory:()=>{let r=h(Ow);return()=>{r.initialize()}}},t===!0?{provide:Dc,useValue:!0}:[],{provide:bc,useValue:n??Op},{provide:we,useFactory:()=>{let r=h(Q),o=h(K),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(je),i.handleError(s))})}}}]}function Aw(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=ql({ngZoneFactory:()=>{let o=Wl(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&St("NgZone_CoalesceEvent"),new Q(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return tt([{provide:Hh,useValue:!0},{provide:Ar,useValue:!1},r])}function Wl(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Ow=(()=>{class e{subscription=new G;initialized=!1;zone=h(Q);pendingTasks=h(Be);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Q.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Q.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var $h=(()=>{class e{applicationErrorHandler=h(we);appRef=h(on);taskService=h(Be);ngZone=h(Q);zonelessEnabled=h(Ar);tracing=h(zr,{optional:!0});disableScheduling=h(Dc,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new G;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Hi):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(h(bc,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof $i||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?bf:Pp;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Hi+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,bf(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Pw(){return typeof $localize<"u"&&$localize.locale||Zr}var Zl=new I("",{providedIn:"root",factory:()=>h(Zl,{optional:!0,skipSelf:!0})||Pw()});function _t(e){return pd(e)}function kw(e,t){return Po(e,t?.equal)}var Bh=class{[ce];constructor(t){this[ce]=t}destroy(){this[ce].destroy()}};var Gh=Symbol("InputSignalNode#UNSET"),Gw=U(v({},ko),{transformFn:void 0,applyValueToInputSignal(e,t){En(e,t)}});function qh(e,t){let n=Object.create(Gw);n.value=e,n.transformFn=t?.transform;function r(){if(mn(n),n.value===Gh){let o=null;throw new E(-950,o)}return n.value}return r[ce]=n,r}var qw=new I("");qw.__NG_ELEMENT_ID__=e=>{let t=ue();if(t===null)throw new E(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new E(204,!1)};function zh(e,t){return qh(e,t)}function Ww(e){return qh(Gh,e)}var Wh=(zh.required=Ww,zh);var Ql=new I(""),Zw=new I("");function Qr(e){return!e.moduleRef}function Qw(e){let t=Qr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Q);return n.run(()=>{Qr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(we),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Qr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Ql);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Ql);s.add(i),e.moduleRef.onDestroy(()=>{kr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return Kw(r,n,()=>{let i=t.get(Be),s=i.add(),a=t.get(jl);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Zl,Zr);if(Mh(c||Zr),!t.get(Zw,!0))return Qr(e)?t.get(on):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Qr(e)){let u=t.get(on);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return Yw?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var Yw;function Kw(e,t,n){try{let r=n();return Wr(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Es=null;function Jw(e=[],t){return Fe.create({name:t,providers:[{provide:Dr,useValue:"platform"},{provide:Ql,useValue:new Set([()=>Es=null])},...e]})}function Xw(e=[]){if(Es)return Es;let t=Jw(e);return Es=t,wh(),eD(t),t}function eD(e){let t=e.get(ns,null);re(e,()=>{t?.forEach(n=>n())})}var Zh=(()=>{class e{static __NG_ELEMENT_ID__=tD}return e})();function tD(e){return nD(ue(),k(),(e&16)===16)}function nD(e,t,n){if(Dt(e)&&!n){let r=_e(e.index,t);return new tn(r,r)}else if(e.type&175){let r=t[Ee];return new tn(r,t)}return null}function Qh(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;j(8);try{let i=o?.injector??Xw(r),s=[ql({}),{provide:vt,useExisting:$h},sf,...n||[]],a=new Ur({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return Qw({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{j(9)}}function rD(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var Jh=null;function at(){return Jh}function Yl(e){Jh??=e}var Yr=class{},Kl=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>h(Xh),providedIn:"platform"})}return e})();var Xh=(()=>{class e extends Kl{_location;_history;_doc=h(Z);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return at().getBaseHref(this._doc)}onPopState(n){let r=at().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=at().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function eg(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function Yh(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Mt(e){return e&&e[0]!=="?"?`?${e}`:e}var Is=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>h(ng),providedIn:"root"})}return e})(),tg=new I(""),ng=(()=>{class e extends Is{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??h(Z).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return eg(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Mt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Mt(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Mt(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(T(Kl),T(tg,8))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Gn=(()=>{class e{_subject=new ee;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=sD(Yh(Kh(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Mt(r))}normalize(n){return e.stripTrailingSlash(iD(this._basePath,Kh(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Mt(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Mt(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=Mt;static joinWithSlash=eg;static stripTrailingSlash=Yh;static \u0275fac=function(r){return new(r||e)(T(Is))};static \u0275prov=w({token:e,factory:()=>oD(),providedIn:"root"})}return e})();function oD(){return new Gn(T(Is))}function iD(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Kh(e){return e.replace(/\/index.html$/,"")}function sD(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function Kr(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var an=class{};var rg="browser";var Jr=class{_doc;constructor(t){this._doc=t}manager},ws=(()=>{class e extends Jr{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(T(Z))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),bs=new I(""),nu=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});let o=n.filter(s=>!(s instanceof ws));this._plugins=o.slice().reverse();let i=n.find(s=>s instanceof ws);i&&this._plugins.push(i)}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new E(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(T(bs),T(Q))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),Jl="ng-app-id";function og(e){for(let t of e)t.remove()}function ig(e,t){let n=t.createElement("style");return n.textContent=e,n}function aD(e,t,n,r){let o=e.head?.querySelectorAll(`style[${Jl}="${t}"],link[${Jl}="${t}"]`);if(o)for(let i of o)i.removeAttribute(Jl),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]})}function eu(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var ru=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,aD(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,ig);r?.forEach(o=>this.addUsage(o,this.external,eu))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(og(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])og(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,ig(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,eu(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(T(Z),T(ts),T(rs,8),T($r))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),Xl={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},ou=/%COMP%/g;var ag="%COMP%",cD=`_nghost-${ag}`,lD=`_ngcontent-${ag}`,uD=!0,dD=new I("",{providedIn:"root",factory:()=>uD});function fD(e){return lD.replace(ou,e)}function pD(e){return cD.replace(ou,e)}function cg(e,t){return t.map(n=>n.replace(ou,e))}var iu=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,o,i,s,a,c=null,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.platformIsServer=!1,this.defaultRenderer=new Xr(n,s,a,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof Ds?o.applyToHost(n):o instanceof eo&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer,p=this.tracingService;switch(r.encapsulation){case ot.Emulated:i=new Ds(c,l,r,this.appId,u,s,a,d,p);break;case ot.ShadowDom:return new tu(c,l,n,r,s,a,this.nonce,d,p);default:i=new eo(c,l,r,u,s,a,d,p);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(T(nu),T(ru),T(ts),T(dD),T(Z),T(Q),T(rs),T(zr,8))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),Xr=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o,i){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.tracingService=i}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(Xl[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(sg(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(sg(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new E(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=Xl[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=Xl[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(it.DashCase|it.Important)?t.style.setProperty(n,r,o&it.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&it.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t=="string"&&(t=at().getGlobalEventTarget(this.doc,t),!t))throw new E(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;t(n)===!1&&n.preventDefault()}}};function sg(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var tu=class extends Xr{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,o,i,s,a,c,l){super(t,i,s,c,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=o.styles;u=cg(o.id,u);for(let p of u){let f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=p,this.shadowRoot.appendChild(f)}let d=o.getExternalStyles?.();if(d)for(let p of d){let f=eu(p,i);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},eo=class extends Xr{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c,l){super(t,i,s,a,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let u=r.styles;this.styles=l?cg(l,u):u,this.styleUrls=r.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&en.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Ds=class extends eo{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c,l){let u=o+"-"+r.id;super(t,n,r,i,s,a,c,l,u),this.contentAttr=fD(u),this.hostAttr=pD(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}};var Ts=class e extends Yr{supportsDOMEvents=!0;static makeCurrent(){Yl(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=hD();return n==null?null:gD(n)}resetBaseElement(){to=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Kr(document.cookie,t)}},to=null;function hD(){return to=to||document.head.querySelector("base"),to?to.getAttribute("href"):null}function gD(e){return new URL(e,document.baseURI).pathname}var mD=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),lg=["alt","control","meta","shift"],vD={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},yD={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},ug=(()=>{class e extends Jr{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>at().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),lg.forEach(l=>{let u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=vD[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),lg.forEach(s=>{if(s!==o){let a=yD[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(T(Z))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();function ED(e,t,n){let r=v({rootComponent:e,platformRef:n?.platformRef},ID(t));return Qh(r)}function ID(e){return{appProviders:[...CD,...e?.providers??[]],platformProviders:TD}}function wD(){Ts.makeCurrent()}function DD(){return new je}function bD(){return pl(document),document}var TD=[{provide:$r,useValue:rg},{provide:ns,useValue:wD,multi:!0},{provide:Z,useFactory:bD}];var CD=[{provide:Dr,useValue:"root"},{provide:je,useFactory:DD},{provide:bs,useClass:ws,multi:!0,deps:[Z]},{provide:bs,useClass:ug,multi:!0,deps:[Z]},iu,ru,nu,{provide:nn,useExisting:iu},{provide:an,useClass:mD},[]];var Zn=class{},no=class{},Nt=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(` +`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var Ss=class{encodeKey(t){return dg(t)}encodeValue(t){return dg(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function SD(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var _D=/%(\d[a-f0-9])/gi,MD={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function dg(e){return encodeURIComponent(e).replace(_D,(t,n)=>MD[n]??t)}function Cs(e){return`${e}`}var ct=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new Ss,t.fromString){if(t.fromObject)throw new E(2805,!1);this.map=SD(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(Cs):[Cs(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(Cs(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(Cs(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var _s=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function ND(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function fg(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function pg(e){return typeof Blob<"u"&&e instanceof Blob}function hg(e){return typeof FormData<"u"&&e instanceof FormData}function RD(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var gg="Content-Type",mg="Accept",vg="X-Request-URL",yg="text/plain",Eg="application/json",xD=`${Eg}, ${yg}, */*`,qn=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(ND(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new E(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),this.transferCache=i.transferCache}if(this.headers??=new Nt,this.context??=new _s,!this.params)this.params=new ct,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":aAt.set(Ot,t.setHeaders[Ot]),z)),t.setParams&&(Me=Object.keys(t.setParams).reduce((At,Ot)=>At.set(Ot,t.setParams[Ot]),Me)),new e(n,r,D,{params:Me,headers:z,context:se,reportProgress:m,responseType:o,withCredentials:y,transferCache:f,keepalive:i,cache:a,priority:s,timeout:g,mode:c,redirect:l,credentials:u,referrer:d,integrity:p})}},cn=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(cn||{}),Qn=class{headers;status;statusText;url;ok;type;redirected;constructor(t,n=200,r="OK"){this.headers=t.headers||new Nt,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.ok=this.status>=200&&this.status<300}},Ms=class e extends Qn{constructor(t={}){super(t)}type=cn.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},ro=class e extends Qn{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=cn.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected})}},Wn=class extends Qn{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},AD=200,OD=204;function su(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer}}var Rs=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof qn)i=n;else{let c;o.headers instanceof Nt?c=o.headers:c=new Nt(o.headers);let l;o.params&&(o.params instanceof ct?l=o.params:l=new ct({fromObject:o.params})),i=new qn(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,integrity:o.integrity,timeout:o.timeout})}let s=b(i).pipe(ht(c=>this.handler.handle(c)));if(n instanceof qn||o.observe==="events")return s;let a=s.pipe(ge(c=>c instanceof ro));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(R(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new E(2806,!1);return c.body}));case"blob":return a.pipe(R(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new E(2807,!1);return c.body}));case"text":return a.pipe(R(c=>{if(c.body!==null&&typeof c.body!="string")throw new E(2808,!1);return c.body}));default:return a.pipe(R(c=>c.body))}case"response":return a;default:throw new E(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new ct().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,su(o,r))}post(n,r,o={}){return this.request("POST",n,su(o,r))}put(n,r,o={}){return this.request("PUT",n,su(o,r))}static \u0275fac=function(r){return new(r||e)(T(Zn))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();var PD=new I("");function kD(e,t){return t(e)}function LD(e,t,n){return(r,o)=>re(n,()=>t(r,i=>e(i,o)))}var Ig=new I(""),wg=new I(""),Dg=new I("",{providedIn:"root",factory:()=>!0});var Ns=(()=>{class e extends Zn{backend;injector;chain=null;pendingTasks=h(Ci);contributeToStability=h(Dg);constructor(n,r){super(),this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Ig),...this.injector.get(wg,[])]));this.chain=r.reduceRight((o,i)=>LD(o,i,this.injector),kD)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Ft(r))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(T(no),T(K))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();var FD=/^\)\]\}',?\n/,jD=RegExp(`^${vg}:`,"m");function UD(e){return"responseURL"in e&&e.responseURL?e.responseURL:jD.test(e.getAllResponseHeaders())?e.getResponseHeader(vg):null}var au=(()=>{class e{xhrFactory;constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new E(-2800,!1);let r=this.xhrFactory;return b(null).pipe(le(()=>new A(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((y,m)=>s.setRequestHeader(y,m.join(","))),n.headers.has(mg)||s.setRequestHeader(mg,xD),!n.headers.has(gg)){let y=n.detectContentTypeHeader();y!==null&&s.setRequestHeader(gg,y)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let y=n.responseType.toLowerCase();s.responseType=y!=="json"?y:"text"}let a=n.serializeBody(),c=null,l=()=>{if(c!==null)return c;let y=s.statusText||"OK",m=new Nt(s.getAllResponseHeaders()),z=UD(s)||n.url;return c=new Ms({headers:m,status:s.status,statusText:y,url:z}),c},u=()=>{let{headers:y,status:m,statusText:z,url:Me}=l(),se=null;m!==OD&&(se=typeof s.response>"u"?s.responseText:s.response),m===0&&(m=se?AD:0);let At=m>=200&&m<300;if(n.responseType==="json"&&typeof se=="string"){let Ot=se;se=se.replace(FD,"");try{se=se!==""?JSON.parse(se):null}catch(ym){se=Ot,At&&(At=!1,se={error:ym,text:se})}}At?(i.next(new ro({body:se,headers:y,status:m,statusText:z,url:Me||void 0})),i.complete()):i.error(new Wn({error:se,headers:y,status:m,statusText:z,url:Me||void 0}))},d=y=>{let{url:m}=l(),z=new Wn({error:y,status:s.status||0,statusText:s.statusText||"Unknown Error",url:m||void 0});i.error(z)},p=d;n.timeout&&(p=y=>{let{url:m}=l(),z=new Wn({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:m||void 0});i.error(z)});let f=!1,g=y=>{f||(i.next(l()),f=!0);let m={type:cn.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(m.total=y.total),n.responseType==="text"&&s.responseText&&(m.partialText=s.responseText),i.next(m)},D=y=>{let m={type:cn.UploadProgress,loaded:y.loaded};y.lengthComputable&&(m.total=y.total),i.next(m)};return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",p),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",g),a!==null&&s.upload&&s.upload.addEventListener("progress",D)),s.send(a),i.next({type:cn.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",p),n.reportProgress&&(s.removeEventListener("progress",g),a!==null&&s.upload&&s.upload.removeEventListener("progress",D)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(T(an))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),bg=new I(""),VD="XSRF-TOKEN",HD=new I("",{providedIn:"root",factory:()=>VD}),$D="X-XSRF-TOKEN",BD=new I("",{providedIn:"root",factory:()=>$D}),oo=class{},zD=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(n,r){this.doc=n,this.cookieName=r}getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Kr(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)(T(Z),T(HD))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),GD=/^(?:https?:)?\/\//i;function qD(e,t){if(!h(bg)||e.method==="GET"||e.method==="HEAD"||GD.test(e.url))return t(e);let n=h(oo).getToken(),r=h(BD);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}function WD(...e){let t=[Rs,au,Ns,{provide:Zn,useExisting:Ns},{provide:no,useFactory:()=>h(PD,{optional:!0})??h(au)},{provide:Ig,useValue:qD,multi:!0},{provide:bg,useValue:!0},{provide:oo,useClass:zD}];for(let n of e)t.push(...n.\u0275providers);return tt(t)}var Tg=(()=>{class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static \u0275fac=function(r){return new(r||e)(T(Z))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var _="primary",Io=Symbol("RouteTitle"),fu=class{params;constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function dn(e){return new fu(e)}function Ag(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.lengthr[i]===o)}else return e===t}function Pg(e){return e.length>0?e[e.length-1]:null}function dt(e){return Ia(e)?e:Wr(e)?W(Promise.resolve(e)):b(e)}var YD={exact:Lg,subset:Fg},kg={exact:KD,subset:JD,ignored:()=>!0};function Cg(e,t,n){return YD[n.paths](e.root,t.root,n.matrixParams)&&kg[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function KD(e,t){return qe(e,t)}function Lg(e,t,n){if(!ln(e.segments,t.segments)||!Os(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!Lg(e.children[r],t.children[r],n))return!1;return!0}function JD(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>Og(e[n],t[n]))}function Fg(e,t,n){return jg(e,t,t.segments,n)}function jg(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!ln(o,n)||t.hasChildren()||!Os(o,n,r))}else if(e.segments.length===n.length){if(!ln(e.segments,n)||!Os(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!Fg(e.children[o],t.children[o],r))return!1;return!0}else{let o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!ln(e.segments,o)||!Os(e.segments,o,r)||!e.children[_]?!1:jg(e.children[_],t,i,r)}}function Os(e,t,n){return t.every((r,o)=>kg[n](e[o].parameters,r.parameters))}var Ze=class{root;queryParams;fragment;_queryParamMap;constructor(t=new L([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=dn(this.queryParams),this._queryParamMap}toString(){return tb.serialize(this)}},L=class{segments;children;parent=null;constructor(t,n){this.segments=t,this.children=n,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ps(this)}},Rt=class{path;parameters;_parameterMap;constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=dn(this.parameters),this._parameterMap}toString(){return Vg(this)}};function XD(e,t){return ln(e,t)&&e.every((n,r)=>qe(n.parameters,t[r].parameters))}function ln(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function eb(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===_&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==_&&(n=n.concat(t(o,r)))}),n}var wo=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>new fn,providedIn:"root"})}return e})(),fn=class{parse(t){let n=new gu(t);return new Ze(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${io(t.root,!0)}`,r=ob(t.queryParams),o=typeof t.fragment=="string"?`#${nb(t.fragment)}`:"";return`${n}${r}${o}`}},tb=new fn;function Ps(e){return e.segments.map(t=>Vg(t)).join("/")}function io(e,t){if(!e.hasChildren())return Ps(e);if(t){let n=e.children[_]?io(e.children[_],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==_&&r.push(`${o}:${io(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=eb(e,(r,o)=>o===_?[io(e.children[_],!1)]:[`${o}:${io(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[_]!=null?`${Ps(e)}/${n[0]}`:`${Ps(e)}/(${n.join("//")})`}}function Ug(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function xs(e){return Ug(e).replace(/%3B/gi,";")}function nb(e){return encodeURI(e)}function hu(e){return Ug(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ks(e){return decodeURIComponent(e)}function Sg(e){return ks(e.replace(/\+/g,"%20"))}function Vg(e){return`${hu(e.path)}${rb(e.parameters)}`}function rb(e){return Object.entries(e).map(([t,n])=>`;${hu(t)}=${hu(n)}`).join("")}function ob(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${xs(n)}=${xs(o)}`).join("&"):`${xs(n)}=${xs(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var ib=/^[^\/()?;#]+/;function cu(e){let t=e.match(ib);return t?t[0]:""}var sb=/^[^\/()?;=#]+/;function ab(e){let t=e.match(sb);return t?t[0]:""}var cb=/^[^=?&#]+/;function lb(e){let t=e.match(cb);return t?t[0]:""}var ub=/^[^&#]+/;function db(e){let t=e.match(ub);return t?t[0]:""}var gu=class{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new L([],{}):new L([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[_]=new L(t,n)),r}parseSegment(){let t=cu(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new E(4009,!1);return this.capture(t),new Rt(ks(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=ab(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=cu(this.remaining);o&&(r=o,this.capture(r))}t[ks(n)]=ks(r)}parseQueryParam(t){let n=lb(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=db(this.remaining);s&&(r=s,this.capture(r))}let o=Sg(n),i=Sg(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=cu(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new E(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=_);let s=this.parseChildren();n[i??_]=Object.keys(s).length===1&&s[_]?s[_]:new L([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new E(4011,!1)}};function Hg(e){return e.segments.length>0?new L([],{[_]:e}):e}function $g(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=$g(o);if(r===_&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}let n=new L(e.segments,t);return fb(n)}function fb(e){if(e.numberOfChildren===1&&e.children[_]){let t=e.children[_];return new L(e.segments.concat(t.segments),t.children)}return e}function er(e){return e instanceof Ze}function Bg(e,t,n=null,r=null){let o=zg(e);return Gg(o,t,n,r)}function zg(e){let t;function n(i){let s={};for(let c of i.children){let l=n(c);s[c.outlet]=l}let a=new L(i.url,s);return i===e&&(t=a),a}let r=n(e.root),o=Hg(r);return t??o}function Gg(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return lu(o,o,o,n,r);let i=pb(t);if(i.toRoot())return lu(o,o,new L([],{}),n,r);let s=hb(i,o,e),a=s.processChildren?ao(s.segmentGroup,s.index,i.commands):Wg(s.segmentGroup,s.index,i.commands);return lu(o,s.segmentGroup,a,n,r)}function Ls(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function uo(e){return typeof e=="object"&&e!=null&&e.outlets}function lu(e,t,n,r,o){let i={};r&&Object.entries(r).forEach(([c,l])=>{i[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`});let s;e===t?s=n:s=qg(e,t,n);let a=Hg($g(s));return new Ze(a,i,o)}function qg(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=qg(i,t,n)}),new L(e.segments,r)}var Fs=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Ls(r[0]))throw new E(4003,!1);let o=r.find(uo);if(o&&o!==Pg(r))throw new E(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function pb(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Fs(!0,0,e);let t=0,n=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?n=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Fs(n,t,r)}var Jn=class{segmentGroup;processChildren;index;constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function hb(e,t,n){if(e.isAbsolute)return new Jn(t,!0,0);if(!n)return new Jn(t,!1,NaN);if(n.parent===null)return new Jn(n,!0,0);let r=Ls(e.commands[0])?0:1,o=n.segments.length-1+r;return gb(n,o,e.numberOfDoubleDots)}function gb(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new E(4005,!1);o=r.segments.length}return new Jn(r,!1,o-i)}function mb(e){return uo(e[0])?e[0].outlets:{[_]:e}}function Wg(e,t,n){if(e??=new L([],{}),e.segments.length===0&&e.hasChildren())return ao(e,t,n);let r=vb(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndexi!==_)&&e.children[_]&&e.numberOfChildren===1&&e.children[_].segments.length===0){let i=ao(e.children[_],t,n);return new L(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Wg(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new L(e.segments,o)}}function vb(e,t,n){let r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o=n.length)return i;let s=e.segments[o],a=n[r];if(uo(a))break;let c=`${a}`,l=r0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!Mg(c,l,s))return i;r+=2}else{if(!Mg(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function mu(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=mu(new L([],{}),0,r))}),t}function _g(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function Mg(e,t,n){return e==n.path&&qe(t,n.parameters)}var co="imperative",X=(function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e})(X||{}),be=class{id;url;constructor(t,n){this.id=t,this.url=n}},pn=class extends be{type=X.NavigationStart;navigationTrigger;restoredState;constructor(t,n,r="imperative",o=null){super(t,n),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},lt=class extends be{urlAfterRedirects;type=X.NavigationEnd;constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},fe=(function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e[e.Aborted=4]="Aborted",e})(fe||{}),fo=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(fo||{}),We=class extends be{reason;code;type=X.NavigationCancel;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},ut=class extends be{reason;code;type=X.NavigationSkipped;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}},tr=class extends be{error;target;type=X.NavigationError;constructor(t,n,r,o){super(t,n),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},po=class extends be{urlAfterRedirects;state;type=X.RoutesRecognized;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},js=class extends be{urlAfterRedirects;state;type=X.GuardsCheckStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Us=class extends be{urlAfterRedirects;state;shouldActivate;type=X.GuardsCheckEnd;constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Vs=class extends be{urlAfterRedirects;state;type=X.ResolveStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Hs=class extends be{urlAfterRedirects;state;type=X.ResolveEnd;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},$s=class{route;type=X.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Bs=class{route;type=X.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},zs=class{snapshot;type=X.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Gs=class{snapshot;type=X.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},qs=class{snapshot;type=X.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ws=class{snapshot;type=X.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var ho=class{},nr=class{url;navigationBehaviorOptions;constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function Eb(e){return!(e instanceof ho)&&!(e instanceof nr)}function Ib(e,t){return e.providers&&!e._injector&&(e._injector=qr(e.providers,t,`Route: ${e.path}`)),e._injector??t}function ke(e){return e.outlet||_}function wb(e,t){let n=e.filter(r=>ke(r)===t);return n.push(...e.filter(r=>ke(r)!==t)),n}function ir(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var Zs=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return ir(this.route?.snapshot)??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new sr(this.rootInjector)}},sr=(()=>{class e{rootInjector;contexts=new Map;constructor(n){this.rootInjector=n}onChildOutletCreated(n,r){let o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Zs(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static \u0275fac=function(r){return new(r||e)(T(K))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Qs=class{_root;constructor(t){this._root=t}get root(){return this._root.value}parent(t){let n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=vu(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=vu(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=yu(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return yu(t,this._root).map(n=>n.value)}};function vu(e,t){if(e===t.value)return t;for(let n of t.children){let r=vu(e,n);if(r)return r}return null}function yu(e,t){if(e===t.value)return[t];for(let n of t.children){let r=yu(e,n);if(r.length)return r.unshift(t),r}return[]}var De=class{value;children;constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function Kn(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var go=class extends Qs{snapshot;constructor(t,n){super(t),this.snapshot=n,Su(this,t)}toString(){return this.snapshot.toString()}};function Zg(e){let t=Db(e),n=new te([new Rt("",{})]),r=new te({}),o=new te({}),i=new te({}),s=new te(""),a=new xt(n,r,i,s,o,_,e,t.root);return a.snapshot=t.root,new go(new De(a,[]),t)}function Db(e){let t={},n={},r={},i=new un([],t,r,"",n,_,e,null,{});return new mo("",new De(i,[]))}var xt=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(t,n,r,o,i,s,a,c){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(R(l=>l[Io]))??b(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(R(t=>dn(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(R(t=>dn(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Ys(e,t,n="emptyOnly"){let r,{routeConfig:o}=e;return t!==null&&(n==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:v(v({},t.params),e.params),data:v(v({},t.data),e.data),resolve:v(v(v(v({},e.data),t.data),o?.data),e._resolvedData)}:r={params:v({},e.params),data:v({},e.data),resolve:v(v({},e.data),e._resolvedData??{})},o&&Yg(o)&&(r.resolve[Io]=o.title),r}var un=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Io]}constructor(t,n,r,o,i,s,a,c,l){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=dn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=dn(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},mo=class extends Qs{url;constructor(t,n){super(n),this.url=t,Su(this,n)}toString(){return Qg(this._root)}};function Su(e,t){t.value._routerState=e,t.children.forEach(n=>Su(e,n))}function Qg(e){let t=e.children.length>0?` { ${e.children.map(Qg).join(", ")} } `:"";return`${e.value}${t}`}function uu(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,qe(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),qe(t.params,n.params)||e.paramsSubject.next(n.params),QD(t.url,n.url)||e.urlSubject.next(n.url),qe(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Eu(e,t){let n=qe(e.params,t.params)&&XD(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||Eu(e.parent,t.parent))}function Yg(e){return typeof e.title=="string"||e.title===null}var Kg=new I(""),_u=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=_;activateEvents=new de;deactivateEvents=new de;attachEvents=new de;detachEvents=new de;routerOutletData=Wh();parentContexts=h(sr);location=h(hs);changeDetector=h(Zh);inputBinder=h(ea,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new E(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new E(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new E(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new E(4013,!1);this._activatedRoute=n;let o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new Iu(n,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=kl({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[ll]})}return e})(),Iu=class{route;childContexts;parent;outletData;constructor(t,n,r,o){this.route=t,this.childContexts=n,this.parent=r,this.outletData=o}get(t,n){return t===xt?this.route:t===sr?this.childContexts:t===Kg?this.outletData:this.parent.get(t,n)}},ea=new I("");var Mu=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Pl({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&ys(0,"router-outlet")},dependencies:[_u],encapsulation:2})}return e})();function Nu(e){let t=e.children&&e.children.map(Nu),n=t?U(v({},e),{children:t}):v({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==_&&(n.component=Mu),n}function bb(e,t,n){let r=vo(e,t._root,n?n._root:void 0);return new go(r,t)}function vo(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=Tb(e,t,n);return new De(r,o)}else{if(e.shouldAttach(t.value)){let i=e.retrieve(t.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>vo(e,a)),s}}let r=Cb(t.value),o=t.children.map(i=>vo(e,i));return new De(r,o)}}function Tb(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return vo(e,r,o);return vo(e,r)})}function Cb(e){return new xt(new te(e.url),new te(e.params),new te(e.queryParams),new te(e.fragment),new te(e.data),e.outlet,e.component,e)}var rr=class{redirectTo;navigationBehaviorOptions;constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},Jg="ngNavigationCancelingError";function Ks(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=er(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=Xg(!1,fe.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function Xg(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[Jg]=!0,n.cancellationCode=t,n}function Sb(e){return em(e)&&er(e.url)}function em(e){return!!e&&e[Jg]}var _b=(e,t,n,r)=>R(o=>(new wu(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)),wu=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),uu(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=Kn(n);t.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Kn(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Kn(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){let o=Kn(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Ws(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Gs(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(uu(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),uu(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}},Js=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},Xn=class{component;route;constructor(t,n){this.component=t,this.route=n}};function Mb(e,t,n){let r=e._root,o=t?t._root:null;return so(r,o,n,[r.value])}function Nb(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function ar(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Fa(e)?e:t.get(e):r}function so(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Kn(t);return e.children.forEach(s=>{Rb(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>lo(a,n.getContext(s),o)),o}function Rb(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=xb(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Js(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?so(e,t,a?a.children:null,r,o):so(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Xn(a.outlet.component,s))}else s&&lo(t,a,o),o.canActivateChecks.push(new Js(r)),i.component?so(e,null,a?a.children:null,r,o):so(e,null,n,r,o);return o}function xb(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!ln(e.url,t.url);case"pathParamsOrQueryParamsChange":return!ln(e.url,t.url)||!qe(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Eu(e,t)||!qe(e.queryParams,t.queryParams);default:return!Eu(e,t)}}function lo(e,t,n){let r=Kn(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?lo(s,t.children.getContext(i),n):lo(s,null,n):lo(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new Xn(t.outlet.component,o)):n.canDeactivateChecks.push(new Xn(null,o)):n.canDeactivateChecks.push(new Xn(null,o))}function Do(e){return typeof e=="function"}function Ab(e){return typeof e=="boolean"}function Ob(e){return e&&Do(e.canLoad)}function Pb(e){return e&&Do(e.canActivate)}function kb(e){return e&&Do(e.canActivateChild)}function Lb(e){return e&&Do(e.canDeactivate)}function Fb(e){return e&&Do(e.canMatch)}function tm(e){return e instanceof Qe||e?.name==="EmptyError"}var As=Symbol("INITIAL_VALUE");function or(){return le(e=>ri(e.map(t=>t.pipe(Ye(1),ba(As)))).pipe(R(t=>{for(let n of t)if(n!==!0){if(n===As)return As;if(n===!1||jb(n))return n}return!0}),ge(t=>t!==As),Ye(1)))}function jb(e){return er(e)||e instanceof rr}function Ub(e,t){return Y(n=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return s.length===0&&i.length===0?b(U(v({},n),{guardsResult:!0})):Vb(s,r,o,e).pipe(Y(a=>a&&Ab(a)?Hb(r,i,e,t):b(a)),R(a=>U(v({},n),{guardsResult:a})))})}function Vb(e,t,n,r){return W(e).pipe(Y(o=>qb(o.component,o.route,n,t,r)),Ke(o=>o!==!0,!0))}function Hb(e,t,n,r){return W(t).pipe(ht(o=>Mn(Bb(o.route.parent,r),$b(o.route,r),Gb(e,o.path,n),zb(e,o.route,n))),Ke(o=>o!==!0,!0))}function $b(e,t){return e!==null&&t&&t(new qs(e)),b(!0)}function Bb(e,t){return e!==null&&t&&t(new zs(e)),b(!0)}function zb(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return b(!0);let o=r.map(i=>gr(()=>{let s=ir(t)??n,a=ar(i,s),c=Pb(a)?a.canActivate(t,e):re(s,()=>a(t,e));return dt(c).pipe(Ke())}));return b(o).pipe(or())}function Gb(e,t,n){let r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>Nb(s)).filter(s=>s!==null).map(s=>gr(()=>{let a=s.guards.map(c=>{let l=ir(s.node)??n,u=ar(c,l),d=kb(u)?u.canActivateChild(r,e):re(l,()=>u(r,e));return dt(d).pipe(Ke())});return b(a).pipe(or())}));return b(i).pipe(or())}function qb(e,t,n,r,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return b(!0);let s=i.map(a=>{let c=ir(t)??o,l=ar(a,c),u=Lb(l)?l.canDeactivate(e,t,n,r):re(c,()=>l(e,t,n,r));return dt(u).pipe(Ke())});return b(s).pipe(or())}function Wb(e,t,n,r){let o=t.canLoad;if(o===void 0||o.length===0)return b(!0);let i=o.map(s=>{let a=ar(s,e),c=Ob(a)?a.canLoad(t,n):re(e,()=>a(t,n));return dt(c)});return b(i).pipe(or(),nm(r))}function nm(e){return ma(H(t=>{if(typeof t!="boolean")throw Ks(e,t)}),R(t=>t===!0))}function Zb(e,t,n,r){let o=t.canMatch;if(!o||o.length===0)return b(!0);let i=o.map(s=>{let a=ar(s,e),c=Fb(a)?a.canMatch(t,n):re(e,()=>a(t,n));return dt(c)});return b(i).pipe(or(),nm(r))}var yo=class{segmentGroup;constructor(t){this.segmentGroup=t||null}},Eo=class extends Error{urlTree;constructor(t){super(),this.urlTree=t}};function Yn(e){return _n(new yo(e))}function Qb(e){return _n(new E(4e3,!1))}function Yb(e){return _n(Xg(!1,fe.GuardRejected))}var Du=class{urlSerializer;urlTree;constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return b(r);if(o.numberOfChildren>1||!o.children[_])return Qb(`${t.redirectTo}`);o=o.children[_]}}applyRedirectCommands(t,n,r,o,i){return Kb(n,o,i).pipe(R(s=>{if(s instanceof Ze)throw new Eo(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),t,r);if(s[0]==="/")throw new Eo(a);return a}))}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new Ze(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){let i=this.createSegments(t,n.segments,r,o),s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,o)}),new L(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path[0]===":"?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new E(4001,!1);return o}findOrReturn(t,n){let r=0;for(let o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}};function Kb(e,t,n){if(typeof e=="string")return b(e);let r=e,{queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,params:l,data:u,title:d}=t;return dt(re(n,()=>r({params:l,data:u,queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,title:d})))}var bu={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Jb(e,t,n,r,o){let i=rm(e,t,n);return i.matched?(r=Ib(t,r),Zb(r,t,n,o).pipe(R(s=>s===!0?i:v({},bu)))):b(i)}function rm(e,t,n){if(t.path==="**")return Xb(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?v({},bu):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||Ag)(n,e,t);if(!o)return v({},bu);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?v(v({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function Xb(e){return{matched:!0,parameters:e.length>0?Pg(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function Ng(e,t,n,r){return n.length>0&&nT(e,n,r)?{segmentGroup:new L(t,tT(r,new L(n,e.children))),slicedSegments:[]}:n.length===0&&rT(e,n,r)?{segmentGroup:new L(e.segments,eT(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new L(e.segments,e.children),slicedSegments:n}}function eT(e,t,n,r){let o={};for(let i of n)if(ta(e,t,i)&&!r[ke(i)]){let s=new L([],{});o[ke(i)]=s}return v(v({},r),o)}function tT(e,t){let n={};n[_]=t;for(let r of e)if(r.path===""&&ke(r)!==_){let o=new L([],{});n[ke(r)]=o}return n}function nT(e,t,n){return n.some(r=>ta(e,t,r)&&ke(r)!==_)}function rT(e,t,n){return n.some(r=>ta(e,t,r))}function ta(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function oT(e,t,n){return t.length===0&&!e.children[n]}var Tu=class{};function iT(e,t,n,r,o,i,s="emptyOnly"){return new Cu(e,t,n,r,o,s,i).recognize()}var sT=31,Cu=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Du(this.urlSerializer,this.urlTree)}noMatchError(t){return new E(4002,`'${t.segmentGroup}'`)}recognize(){let t=Ng(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(R(({children:n,rootSnapshot:r})=>{let o=new De(r,n),i=new mo("",o),s=Bg(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(t){let n=new un([],Object.freeze({}),Object.freeze(v({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),_,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,_,n).pipe(R(r=>({children:r,rootSnapshot:n})),pt(r=>{if(r instanceof Eo)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof yo?this.noMatchError(r):r}))}processSegmentGroup(t,n,r,o,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r,i):this.processSegment(t,n,r,r.segments,o,!0,i).pipe(R(s=>s instanceof De?[s]:[]))}processChildren(t,n,r,o){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return W(i).pipe(ht(s=>{let a=r.children[s],c=wb(n,s);return this.processSegmentGroup(t,c,a,s,o)}),Da((s,a)=>(s.push(...a),s)),gt(null),wa(),Y(s=>{if(s===null)return Yn(r);let a=om(s);return aT(a),b(a)}))}processSegment(t,n,r,o,i,s,a){return W(n).pipe(ht(c=>this.processSegmentAgainstRoute(c._injector??t,n,c,r,o,i,s,a).pipe(pt(l=>{if(l instanceof yo)return b(null);throw l}))),Ke(c=>!!c),pt(c=>{if(tm(c))return oT(r,o,i)?b(new Tu):Yn(r);throw c}))}processSegmentAgainstRoute(t,n,r,o,i,s,a,c){return ke(r)!==s&&(s===_||!ta(o,i,r))?Yn(o):r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,r,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s,c):Yn(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){let{matched:c,parameters:l,consumedSegments:u,positionalParamSegments:d,remainingSegments:p}=rm(n,o,i);if(!c)return Yn(n);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>sT&&(this.allowRedirects=!1));let f=new un(i,l,Object.freeze(v({},this.urlTree.queryParams)),this.urlTree.fragment,Rg(o),ke(o),o.component??o._loadedComponent??null,o,xg(o)),g=Ys(f,a,this.paramsInheritanceStrategy);return f.params=Object.freeze(g.params),f.data=Object.freeze(g.data),this.applyRedirects.applyRedirectCommands(u,o.redirectTo,d,f,t).pipe(le(y=>this.applyRedirects.lineralizeSegments(o,y)),Y(y=>this.processSegment(t,r,n,y.concat(p),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,o,i,s){let a=Jb(n,r,o,t,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(le(c=>c.matched?(t=r._injector??t,this.getChildConfig(t,r,o).pipe(le(({routes:l})=>{let u=r._loadedInjector??t,{parameters:d,consumedSegments:p,remainingSegments:f}=c,g=new un(p,d,Object.freeze(v({},this.urlTree.queryParams)),this.urlTree.fragment,Rg(r),ke(r),r.component??r._loadedComponent??null,r,xg(r)),D=Ys(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(D.params),g.data=Object.freeze(D.data);let{segmentGroup:y,slicedSegments:m}=Ng(n,p,f,l);if(m.length===0&&y.hasChildren())return this.processChildren(u,l,y,g).pipe(R(Me=>new De(g,Me)));if(l.length===0&&m.length===0)return b(new De(g,[]));let z=ke(r)===i;return this.processSegment(u,l,y,m,z?_:i,!0,g).pipe(R(Me=>new De(g,Me instanceof De?[Me]:[])))}))):Yn(n)))}getChildConfig(t,n,r){return n.children?b({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?b({routes:n._loadedRoutes,injector:n._loadedInjector}):Wb(t,n,r,this.urlSerializer).pipe(Y(o=>o?this.configLoader.loadChildren(t,n).pipe(H(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):Yb(n))):b({routes:[],injector:t})}};function aT(e){e.sort((t,n)=>t.value.outlet===_?-1:n.value.outlet===_?1:t.value.outlet.localeCompare(n.value.outlet))}function cT(e){let t=e.value.routeConfig;return t&&t.path===""}function om(e){let t=[],n=new Set;for(let r of e){if(!cT(r)){t.push(r);continue}let o=t.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),n.add(o)):t.push(r)}for(let r of n){let o=om(r.children);t.push(new De(r.value,o))}return t.filter(r=>!n.has(r))}function Rg(e){return e.data||{}}function xg(e){return e.resolve||{}}function lT(e,t,n,r,o,i){return Y(s=>iT(e,t,n,r,s.extractedUrl,o,i).pipe(R(({state:a,tree:c})=>U(v({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function uT(e,t){return Y(n=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return b(n);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let l of im(c))s.add(l);let a=0;return W(s).pipe(ht(c=>i.has(c)?dT(c,r,e,t):(c.data=Ys(c,c.parent,e).resolve,b(void 0))),H(()=>a++),Nn(1),Y(c=>a===s.size?b(n):pe))})}function im(e){let t=e.children.map(n=>im(n)).flat();return[e,...t]}function dT(e,t,n,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!Yg(o)&&(i[Io]=o.title),gr(()=>(e.data=Ys(e,e.parent,n).resolve,fT(i,e,t,r).pipe(R(s=>(e._resolvedData=s,e.data=v(v({},e.data),s),null)))))}function fT(e,t,n,r){let o=pu(e);if(o.length===0)return b({});let i={};return W(o).pipe(Y(s=>pT(e[s],t,n,r).pipe(Ke(),H(a=>{if(a instanceof rr)throw Ks(new fn,a);i[s]=a}))),Nn(1),R(()=>i),pt(s=>tm(s)?pe:_n(s)))}function pT(e,t,n,r){let o=ir(t)??r,i=ar(e,o),s=i.resolve?i.resolve(t,n):re(o,()=>i(t,n));return dt(s)}function du(e){return le(t=>{let n=e(t);return n?W(n).pipe(R(()=>t)):b(t)})}var Ru=(()=>{class e{buildTitle(n){let r,o=n.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===_);return r}getResolvedTitleForRoute(n){return n.data[Io]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>h(sm),providedIn:"root"})}return e})(),sm=(()=>{class e extends Ru{title;constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(T(Tg))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),bo=new I("",{providedIn:"root",factory:()=>({})}),To=new I(""),am=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=h(Gl);loadComponent(n,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return b(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=dt(re(n,()=>r.loadComponent())).pipe(R(lm),le(um),H(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),Ft(()=>{this.componentLoaders.delete(r)})),i=new Sn(o,()=>new ee).pipe(Cn());return this.componentLoaders.set(r,i),i}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return b({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=cm(r,this.compiler,n,this.onLoadEndListener).pipe(Ft(()=>{this.childrenLoaders.delete(r)})),s=new Sn(i,()=>new ee).pipe(Cn());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function cm(e,t,n,r){return dt(re(n,()=>e.loadChildren())).pipe(R(lm),le(um),Y(o=>o instanceof gs||Array.isArray(o)?b(o):W(t.compileModuleAsync(o))),R(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(n).injector,s=i.get(To,[],{optional:!0,self:!0}).flat()),{routes:s.map(Nu),injector:i}}))}function hT(e){return e&&typeof e=="object"&&"default"in e}function lm(e){return hT(e)?e.default:e}function um(e){return b(e)}var na=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>h(gT),providedIn:"root"})}return e})(),gT=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),dm=new I("");var fm=new I(""),pm=(()=>{class e{currentNavigation=Kt(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new ee;transitionAbortWithErrorSubject=new ee;configLoader=h(am);environmentInjector=h(K);destroyRef=h(Ct);urlSerializer=h(wo);rootContexts=h(sr);location=h(Gn);inputBindingEnabled=h(ea,{optional:!0})!==null;titleStrategy=h(Ru);options=h(bo,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=h(na);createViewTransition=h(dm,{optional:!0});navigationErrorHandler=h(fm,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>b(void 0);rootComponentType=null;destroyed=!1;constructor(){let n=o=>this.events.next(new $s(o)),r=o=>this.events.next(new Bs(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;_t(()=>{this.transitions?.next(U(v({},n),{extractedUrl:this.urlHandlingStrategy.extract(n.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:r}))})}setupNavigations(n){return this.transitions=new te(null),this.transitions.pipe(ge(r=>r!==null),le(r=>{let o=!1;return b(r).pipe(le(i=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",fe.SupersededByNewNavigation),pe;this.currentTransition=r,this.currentNavigation.set({id:i.id,initialUrl:i.rawUrl,extractedUrl:i.extractedUrl,targetBrowserUrl:typeof i.extras.browserUrl=="string"?this.urlSerializer.parse(i.extras.browserUrl):i.extras.browserUrl,trigger:i.source,extras:i.extras,previousNavigation:this.lastSuccessfulNavigation?U(v({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>i.abortController.abort()});let s=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),a=i.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!s&&a!=="reload")return this.events.next(new ut(i.id,this.urlSerializer.serialize(i.rawUrl),"",fo.IgnoredSameUrlNavigation)),i.resolve(!1),pe;if(this.urlHandlingStrategy.shouldProcessUrl(i.rawUrl))return b(i).pipe(le(c=>(this.events.next(new pn(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),c.id!==this.navigationId?pe:Promise.resolve(c))),lT(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),H(c=>{r.targetSnapshot=c.targetSnapshot,r.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation.update(u=>(u.finalUrl=c.urlAfterRedirects,u));let l=new po(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(i.currentRawUrl)){let{id:c,extractedUrl:l,source:u,restoredState:d,extras:p}=i,f=new pn(c,this.urlSerializer.serialize(l),u,d);this.events.next(f);let g=Zg(this.rootComponentType).snapshot;return this.currentTransition=r=U(v({},i),{targetSnapshot:g,urlAfterRedirects:l,extras:U(v({},p),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(D=>(D.finalUrl=l,D)),b(r)}else return this.events.next(new ut(i.id,this.urlSerializer.serialize(i.extractedUrl),"",fo.IgnoredByUrlHandlingStrategy)),i.resolve(!1),pe}),H(i=>{let s=new js(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects),i.targetSnapshot);this.events.next(s)}),R(i=>(this.currentTransition=r=U(v({},i),{guards:Mb(i.targetSnapshot,i.currentSnapshot,this.rootContexts)}),r)),Ub(this.environmentInjector,i=>this.events.next(i)),H(i=>{if(r.guardsResult=i.guardsResult,i.guardsResult&&typeof i.guardsResult!="boolean")throw Ks(this.urlSerializer,i.guardsResult);let s=new Us(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects),i.targetSnapshot,!!i.guardsResult);this.events.next(s)}),ge(i=>i.guardsResult?!0:(this.cancelNavigationTransition(i,"",fe.GuardRejected),!1)),du(i=>{if(i.guards.canActivateChecks.length!==0)return b(i).pipe(H(s=>{let a=new Vs(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),le(s=>{let a=!1;return b(s).pipe(uT(this.paramsInheritanceStrategy,this.environmentInjector),H({next:()=>a=!0,complete:()=>{a||this.cancelNavigationTransition(s,"",fe.NoDataFromResolver)}}))}),H(s=>{let a=new Hs(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}))}),du(i=>{let s=a=>{let c=[];if(a.routeConfig?.loadComponent){let l=ir(a)??this.environmentInjector;c.push(this.configLoader.loadComponent(l,a.routeConfig).pipe(H(u=>{a.component=u}),R(()=>{})))}for(let l of a.children)c.push(...s(l));return c};return ri(s(i.targetSnapshot.root)).pipe(gt(null),Ye(1))}),du(()=>this.afterPreactivation()),le(()=>{let{currentSnapshot:i,targetSnapshot:s}=r,a=this.createViewTransition?.(this.environmentInjector,i.root,s.root);return a?W(a).pipe(R(()=>r)):b(r)}),R(i=>{let s=bb(n.routeReuseStrategy,i.targetSnapshot,i.currentRouterState);return this.currentTransition=r=U(v({},i),{targetRouterState:s}),this.currentNavigation.update(a=>(a.targetRouterState=s,a)),r}),H(()=>{this.events.next(new ho)}),_b(this.rootContexts,n.routeReuseStrategy,i=>this.events.next(i),this.inputBindingEnabled),Ye(1),ii(new A(i=>{let s=r.abortController.signal,a=()=>i.next();return s.addEventListener("abort",a),()=>s.removeEventListener("abort",a)}).pipe(ge(()=>!o&&!r.targetRouterState),H(()=>{this.cancelNavigationTransition(r,r.abortController.signal.reason+"",fe.Aborted)}))),H({next:i=>{o=!0,this.lastSuccessfulNavigation=_t(this.currentNavigation),this.events.next(new lt(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects))),this.titleStrategy?.updateTitle(i.targetRouterState.snapshot),i.resolve(!0)},complete:()=>{o=!0}}),ii(this.transitionAbortWithErrorSubject.pipe(H(i=>{throw i}))),Ft(()=>{o||this.cancelNavigationTransition(r,"",fe.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),pt(i=>{if(this.destroyed)return r.resolve(!1),pe;if(o=!0,em(i))this.events.next(new We(r.id,this.urlSerializer.serialize(r.extractedUrl),i.message,i.cancellationCode)),Sb(i)?this.events.next(new nr(i.url,i.navigationBehaviorOptions)):r.resolve(!1);else{let s=new tr(r.id,this.urlSerializer.serialize(r.extractedUrl),i,r.targetSnapshot??void 0);try{let a=re(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(a instanceof rr){let{message:c,cancellationCode:l}=Ks(this.urlSerializer,a);this.events.next(new We(r.id,this.urlSerializer.serialize(r.extractedUrl),c,l)),this.events.next(new nr(a.redirectTo,a.navigationBehaviorOptions))}else throw this.events.next(s),i}catch(a){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(a)}}return pe}))}))}cancelNavigationTransition(n,r,o){let i=new We(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=_t(this.currentNavigation),o=r?.targetBrowserUrl??r?.extractedUrl;return n.toString()!==o?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function mT(e){return e!==co}var hm=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>h(vT),providedIn:"root"})}return e})(),Xs=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},vT=(()=>{class e extends Xs{static \u0275fac=(()=>{let n;return function(o){return(n||(n=es(e)))(o||e)}})();static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),gm=(()=>{class e{urlSerializer=h(wo);options=h(bo,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=h(Gn);urlHandlingStrategy=h(na);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Ze;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:n,initialUrl:r,targetBrowserUrl:o}){let i=n!==void 0?this.urlHandlingStrategy.merge(n,r):r,s=o??i;return s instanceof Ze?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:n,finalUrl:r,initialUrl:o}){r&&n?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,o),this.routerState=n):this.rawUrlTree=o}routerState=Zg(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:n}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n??this.rawUrlTree)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>h(yT),providedIn:"root"})}return e})(),yT=(()=>{class e extends gm{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{n(r.url,r.state,"popstate")})})}handleRouterEvent(n,r){n instanceof pn?this.updateStateMemento():n instanceof ut?this.commitTransition(r):n instanceof po?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof ho?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof We&&n.code!==fe.SupersededByNewNavigation&&n.code!==fe.Redirect?this.restoreHistory(r):n instanceof tr?this.restoreHistory(r,!0):n instanceof lt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,{extras:r,id:o}){let{replaceUrl:i,state:s}=r;if(this.location.isCurrentPathEqualTo(n)||i){let a=this.browserPageId,c=v(v({},s),this.generateNgRouterState(o,a));this.location.replaceState(n,"",c)}else{let a=v(v({},s),this.generateNgRouterState(o,this.browserPageId+1));this.location.go(n,"",a)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===n.finalUrl&&i===0&&(this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static \u0275fac=(()=>{let n;return function(o){return(n||(n=es(e)))(o||e)}})();static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function xu(e,t){e.events.pipe(ge(n=>n instanceof lt||n instanceof We||n instanceof tr||n instanceof ut),R(n=>n instanceof lt||n instanceof ut?0:(n instanceof We?n.code===fe.Redirect||n.code===fe.SupersededByNewNavigation:!1)?2:1),ge(n=>n!==2),Ye(1)).subscribe(()=>{t()})}var ET={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},IT={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},cr=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=h(Ll);stateManager=h(gm);options=h(bo,{optional:!0})||{};pendingTasks=h(Be);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=h(pm);urlSerializer=h(wo);location=h(Gn);urlHandlingStrategy=h(na);injector=h(K);_events=new ee;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=h(hm);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=h(To,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!h(ea,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}eventsSubscription=new G;subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=_t(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof We&&r.code!==fe.Redirect&&r.code!==fe.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof lt)this.navigated=!0;else if(r instanceof nr){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=v({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||mT(o.source)},s);this.scheduleNavigation(a,co,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Eb(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortWithErrorSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),co,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r,o)=>{this.navigateToSyncWithBrowser(n,o,r)})}navigateToSyncWithBrowser(n,r,o){let i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=v({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(i.state=c)}let a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i).catch(c=>{this.disposed||this.injector.get(we)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return _t(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Nu),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,l=c?this.currentUrlTree.fragment:s,u=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":u=v(v({},this.currentUrlTree.queryParams),i);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=i||null}u!==null&&(u=this.removeEmptyProps(u));let d;try{let p=o?o.snapshot:this.routerState.snapshot.root;d=zg(p)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return Gg(d,n,u,l??null)}navigateByUrl(n,r={skipLocationChange:!1}){let o=er(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,co,null,r)}navigate(n,r={skipLocationChange:!1}){return wT(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.console.warn(xn(4018,!1)),this.urlSerializer.parse("/")}}isActive(n,r){let o;if(r===!0?o=v({},ET):r===!1?o=v({},IT):o=r,er(n))return Cg(this.currentUrlTree,n,o);let i=this.parseUrl(n);return Cg(this.currentUrlTree,i,o)}removeEmptyProps(n){return Object.entries(n).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,l;s?(a=s.resolve,c=s.reject,l=s.promise):l=new Promise((d,p)=>{a=d,c=p});let u=this.pendingTasks.add();return xu(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(d=>Promise.reject(d))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function wT(e){for(let t=0;tn.\u0275providers)])}function CT(e){return e.routerState.root}function ST(){let e=h(Fe);return t=>{let n=e.get(on);if(t!==n.components[0])return;let r=e.get(cr),o=e.get(_T);e.get(MT)===1&&r.initialNavigation(),e.get(NT,null,{optional:!0})?.setUpPreloading(),e.get(bT,null,{optional:!0})?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var _T=new I("",{factory:()=>new ee}),MT=new I("",{providedIn:"root",factory:()=>1});var NT=new I("");var mm={apiUrl:"https://api.personalink.davor-nucleus.fr/api/v1"};var vm=class e{http=h(Rs);router=h(cr);TOKEN_KEY="admin_token";isAuthenticated=Kt(!!this.getToken());login(t,n){return this.http.post(`${mm.apiUrl}/auth/login`,{email:t,password:n}).pipe(H(r=>{localStorage.setItem(this.TOKEN_KEY,r.data.token),this.isAuthenticated.set(!0)}))}logout(){localStorage.removeItem(this.TOKEN_KEY),this.isAuthenticated.set(!1),this.router.navigate(["/admin/login"])}getToken(){return localStorage.getItem(this.TOKEN_KEY)}static \u0275fac=function(n){return new(n||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})};export{v as a,U as b,ee as c,W as d,R as e,Km as f,E as g,ui as h,w as i,Er as j,I as k,h as l,Hd as m,$d as n,tf as o,nf as p,Tv as q,Kt as r,ll as s,es as t,rp as u,xy as v,Ay as w,Wy as x,de as y,XE as z,ps as A,Pl as B,ms as C,kl as D,yh as E,Wr as F,bh as G,WI as H,ZI as I,QI as J,YI as K,KI as L,JI as M,Th as N,Vl as O,Hl as P,ys as Q,$l as R,Bl as S,Ch as T,rw as U,_h as V,Nh as W,Rh as X,iw as Y,Ah as Z,Oh as _,ww as $,kh as aa,zl as ba,Lh as ca,jh as da,Cw as ea,Uh as fa,Rw as ga,Aw as ha,_t as ia,kw as ja,Zh as ka,rD as la,at as ma,ED as na,Nt as oa,Rs as pa,WD as qa,_u as ra,cr as sa,TT as ta,mm as ua,vm as va}; diff --git a/chunk-WJQFUTKA.js b/chunk-WJQFUTKA.js new file mode 100644 index 0000000..165b6b6 --- /dev/null +++ b/chunk-WJQFUTKA.js @@ -0,0 +1 @@ +import{a as A,b as E,c as L,d as N,e as V,f as z,h as k,i as F}from"./chunk-3W3Y6BTK.js";import{$ as o,B as M,H as p,I as f,N as w,O as e,P as n,U as x,W as y,Y as P,aa as v,da as b,ea as _,fa as h,l as c,m,n as s,r as u,sa as O,va as S,x as a}from"./chunk-THKCX2S5.js";function D(i,l){if(i&1&&(e(0,"p",11),o(1),n()),i&2){let d=P();a(),v(d.error())}}function W(i,l){i&1&&o(0," Connexion\u2026 ")}function q(i,l){i&1&&o(0," Se connecter ")}var T=class i{auth=c(S);router=c(O);email="";password="";error=u("");loading=u(!1);submit(){!this.email||!this.password||(this.loading.set(!0),this.error.set(""),this.auth.login(this.email,this.password).subscribe({next:()=>this.router.navigate(["/admin"]),error:()=>{this.error.set("Identifiants incorrects."),this.loading.set(!1)}}))}static \u0275fac=function(d){return new(d||i)};static \u0275cmp=M({type:i,selectors:[["app-admin-login"]],decls:23,vars:5,consts:[["loginForm","ngForm"],[1,"login-page"],[1,"login-card"],[1,"login-header"],[1,"login-logo"],[3,"ngSubmit"],[1,"field"],["for","email"],["id","email","type","email","name","email","placeholder","admin@lordrutra.fr","autocomplete","email","required","",3,"ngModelChange","ngModel"],["for","password"],["id","password","type","password","name","password","placeholder","\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022","autocomplete","current-password","required","",3,"ngModelChange","ngModel"],[1,"error"],["type","submit",3,"disabled"]],template:function(d,t){if(d&1){let g=x();e(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4),o(4,"\u2694\uFE0F"),n(),e(5,"h1"),o(6,"LordRutra Admin"),n(),e(7,"p"),o(8,"Acc\xE8s backoffice"),n()(),e(9,"form",5,0),y("ngSubmit",function(){return m(g),s(t.submit())}),e(11,"div",6)(12,"label",7),o(13,"Email"),n(),e(14,"input",8),h("ngModelChange",function(r){return m(g),_(t.email,r)||(t.email=r),s(r)}),n()(),e(15,"div",6)(16,"label",9),o(17,"Mot de passe"),n(),e(18,"input",10),h("ngModelChange",function(r){return m(g),_(t.password,r)||(t.password=r),s(r)}),n()(),p(19,D,2,1,"p",11),e(20,"button",12),p(21,W,1,0)(22,q,1,0),n()()()()}d&2&&(a(14),b("ngModel",t.email),a(4),b("ngModel",t.password),a(),f(t.error()?19:-1),a(),w("disabled",t.loading()),a(),f(t.loading()?21:22))},dependencies:[F,z,A,E,L,k,V,N],styles:[".login-page[_ngcontent-%COMP%]{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#f1f5f9}.login-card[_ngcontent-%COMP%]{background:#fff;border-radius:12px;box-shadow:0 4px 24px #00000014;padding:2.5rem 2rem;width:100%;max-width:380px}.login-header[_ngcontent-%COMP%]{text-align:center;margin-bottom:2rem}.login-logo[_ngcontent-%COMP%]{font-size:2.5rem;margin-bottom:.5rem}.login-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:1.4rem;font-weight:700;color:#1e293b;margin:0 0 .25rem}.login-header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:.875rem;color:#64748b;margin:0}.field[_ngcontent-%COMP%]{margin-bottom:1.25rem}.field[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:block;font-size:.8rem;font-weight:600;color:#475569;margin-bottom:.4rem;text-transform:uppercase;letter-spacing:.05em}.field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%;padding:.65rem .875rem;border:1.5px solid #e2e8f0;border-radius:8px;font-size:.95rem;color:#1e293b;outline:none;transition:border-color .2s;box-sizing:border-box}.field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{border-color:#6366f1}.error[_ngcontent-%COMP%]{color:#ef4444;font-size:.85rem;margin:0 0 1rem}button[type=submit][_ngcontent-%COMP%]{width:100%;padding:.75rem;background:#6366f1;color:#fff;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:background .2s;margin-top:.5rem}button[type=submit][_ngcontent-%COMP%]:hover:not(:disabled){background:#4f46e5}button[type=submit][_ngcontent-%COMP%]:disabled{opacity:.6;cursor:not-allowed}"]})};export{T as AdminLogin}; diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..57614f9c967596fad0a3989bec2b1deff33034f6 GIT binary patch literal 15086 zcmd^G33O9Omi+`8$@{|M-I6TH3wzF-p5CV8o}7f~KxR60LK+ApEFB<$bcciv%@SmA zV{n>g85YMFFeU*Uvl=i4v)C*qgnb;$GQ=3XTe9{Y%c`mO%su)noNCCQ*@t1WXn|B(hQ7i~ zrUK8|pUkD6#lNo!bt$6)jR!&C?`P5G(`e((P($RaLeq+o0Vd~f11;qB05kdbAOm?r zXv~GYr_sibQO9NGTCdT;+G(!{4Xs@4fPak8#L8PjgJwcs-Mm#nR_Z0s&u?nDX5^~@ z+A6?}g0|=4e_LoE69pPFO`yCD@BCjgKpzMH0O4Xs{Ahc?K3HC5;l=f zg>}alhBXX&);z$E-wai+9TTRtBX-bWYY@cl$@YN#gMd~tM_5lj6W%8ah4;uZ;jP@Q zVbuel1rPA?2@x9Y+u?e`l{Z4ngfG5q5BLH5QsEu4GVpt{KIp1?U)=3+KQ;%7ec8l* zdV=zZgN5>O3G(3L2fqj3;oBbZZw$Ij@`Juz@?+yy#OPw)>#wsTewVgTK9BGt5AbZ&?K&B3GVF&yu?@(Xj3fR3n+ZP0%+wo)D9_xp>Z$`A4 zfV>}NWjO#3lqumR0`gvnffd9Ka}JJMuHS&|55-*mCD#8e^anA<+sFZVaJe7{=p*oX zE_Uv?1>e~ga=seYzh{9P+n5<+7&9}&(kwqSaz;1aD|YM3HBiy<))4~QJSIryyqp| z8nGc(8>3(_nEI4n)n7j(&d4idW1tVLjZ7QbNLXg;LB ziHsS5pXHEjGJZb59KcvS~wv;uZR-+4qEqow`;JCfB*+b^UL^3!?;-^F%yt=VjU|v z39SSqKcRu_NVvz!zJzL0CceJaS6%!(eMshPv_0U5G`~!a#I$qI5Ic(>IONej@aH=f z)($TAT#1I{iCS4f{D2+ApS=$3E7}5=+y(rA9mM#;Cky%b*Gi0KfFA`ofKTzu`AV-9 znW|y@19rrZ*!N2AvDi<_ZeR3O2R{#dh1#3-d%$k${Rx42h+i&GZo5!C^dSL34*AKp z27mTd>k>?V&X;Nl%GZ(>0s`1UN~Hfyj>KPjtnc|)xM@{H_B9rNr~LuH`Gr5_am&Ep zTjZA8hljNj5H1Ipm-uD9rC}U{-vR!eay5&6x6FkfupdpT*84MVwGpdd(}ib)zZ3Ky z7C$pnjc82(W_y_F{PhYj?o!@3__UUvpX)v69aBSzYj3 zdi}YQkKs^SyXyFG2LTRz9{(w}y~!`{EuAaUr6G1M{*%c+kP1olW9z23dSH!G4_HSK zzae-DF$OGR{ofP*!$a(r^5Go>I3SObVI6FLY)N@o<*gl0&kLo-OT{Tl*7nCz>Iq=? zcigIDHtj|H;6sR?or8Wd_a4996GI*CXGU}o;D9`^FM!AT1pBY~?|4h^61BY#_yIfO zKO?E0 zJ{Pc`9rVEI&$xxXu`<5E)&+m(7zX^v0rqofLs&bnQT(1baQkAr^kEsk)15vlzAZ-l z@OO9RF<+IiJ*O@HE256gCt!bF=NM*vh|WVWmjVawcNoksRTMvR03H{p@cjwKh(CL4 z7_PB(dM=kO)!s4fW!1p0f93YN@?ZSG` z$B!JaAJCtW$B97}HNO9(x-t30&E}Mo1UPi@Av%uHj~?T|!4JLwV;KCx8xO#b9IlUW zI6+{a@Wj|<2Y=U;a@vXbxqZNngH8^}LleE_4*0&O7#3iGxfJ%Id>+sb;7{L=aIic8 z|EW|{{S)J-wr@;3PmlxRXU8!e2gm_%s|ReH!reFcY8%$Hl4M5>;6^UDUUae?kOy#h zk~6Ee_@ZAn48Bab__^bNmQ~+k=02jz)e0d9Z3>G?RGG!65?d1>9}7iG17?P*=GUV-#SbLRw)Hu{zx*azHxWkGNTWl@HeWjA?39Ia|sCi{e;!^`1Oec zb>Z|b65OM*;eC=ZLSy?_fg$&^2xI>qSLA2G*$nA3GEnp3$N-)46`|36m*sc#4%C|h zBN<2U;7k>&G_wL4=Ve5z`ubVD&*Hxi)r@{4RCDw7U_D`lbC(9&pG5C*z#W>8>HU)h z!h3g?2UL&sS!oY5$3?VlA0Me9W5e~V;2jds*fz^updz#AJ%G8w2V}AEE?E^=MK%Xt z__Bx1cr7+DQmuHmzn*|hh%~eEc9@m05@clWfpEFcr+06%0&dZJH&@8^&@*$qR@}o3 z@Tuuh2FsLz^zH+dN&T&?0G3I?MpmYJ;GP$J!EzjeM#YLJ!W$}MVNb0^HfOA>5Fe~UNn%Zk(PT@~9}1dt)1UQ zU*B5K?Dl#G74qmg|2>^>0WtLX#Jz{lO4NT`NYB*(L#D|5IpXr9v&7a@YsGp3vLR7L zHYGHZg7{ie6n~2p$6Yz>=^cEg7tEgk-1YRl%-s7^cbqFb(U7&Dp78+&ut5!Tn(hER z|Gp4Ed@CnOPeAe|N>U(dB;SZ?NU^AzoD^UAH_vamp6Ws}{|mSq`^+VP1g~2B{%N-!mWz<`)G)>V-<`9`L4?3dM%Qh6<@kba+m`JS{Ya@9Fq*m6$$ zA1%Ogc~VRH33|S9l%CNb4zM%k^EIpqY}@h{w(aBcJ9c05oiZx#SK9t->5lSI`=&l~ z+-Ic)a{FbBhXV$Xt!WRd`R#Jk-$+_Z52rS>?Vpt2IK<84|E-SBEoIw>cs=a{BlQ7O z-?{Fy_M&84&9|KM5wt~)*!~i~E=(6m8(uCO)I=)M?)&sRbzH$9Rovzd?ZEY}GqX+~ zFbEbLz`BZ49=2Yh-|<`waK-_4!7`ro@zlC|r&I4fc4oyb+m=|c8)8%tZ-z5FwhzDt zL5kB@u53`d@%nHl0Sp)Dw`(QU&>vujEn?GPEXUW!Wi<+4e%BORl&BIH+SwRcbS}X@ z01Pk|vA%OdJKAs17zSXtO55k!;%m9>1eW9LnyAX4uj7@${O6cfii`49qTNItzny5J zH&Gj`e}o}?xjQ}r?LrI%FjUd@xflT3|7LA|ka%Q3i}a8gVm<`HIWoJGH=$EGClX^C0lysQJ>UO(q&;`T#8txuoQ_{l^kEV9CAdXuU1Ghg8 zN_6hHFuy&1x24q5-(Z7;!poYdt*`UTdrQOIQ!2O7_+AHV2hgXaEz7)>$LEdG z<8vE^Tw$|YwZHZDPM!SNOAWG$?J)MdmEk{U!!$M#fp7*Wo}jJ$Q(=8>R`Ats?e|VU?Zt7Cdh%AdnfyN3MBWw{ z$OnREvPf7%z6`#2##_7id|H%Y{vV^vWXb?5d5?a_y&t3@p9t$ncHj-NBdo&X{wrfJ zamN)VMYROYh_SvjJ=Xd!Ga?PY_$;*L=SxFte!4O6%0HEh%iZ4=gvns7IWIyJHa|hT z2;1+e)`TvbNb3-0z&DD_)Jomsg-7p_Uh`wjGnU1urmv1_oVqRg#=C?e?!7DgtqojU zWoAB($&53;TsXu^@2;8M`#z{=rPy?JqgYM0CDf4v@z=ZD|ItJ&8%_7A#K?S{wjxgd z?xA6JdJojrWpB7fr2p_MSsU4(R7=XGS0+Eg#xR=j>`H@R9{XjwBmqAiOxOL` zt?XK-iTEOWV}f>Pz3H-s*>W z4~8C&Xq25UQ^xH6H9kY_RM1$ch+%YLF72AA7^b{~VNTG}Tj#qZltz5Q=qxR`&oIlW Nr__JTFzvMr^FKp4S3v*( literal 0 HcmV?d00001 diff --git a/icons/discord.svg b/icons/discord.svg new file mode 100644 index 0000000..6799be3 --- /dev/null +++ b/icons/discord.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/instagram.svg b/icons/instagram.svg new file mode 100644 index 0000000..dcf5d37 --- /dev/null +++ b/icons/instagram.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/plus.svg b/icons/plus.svg new file mode 100644 index 0000000..902a9d0 --- /dev/null +++ b/icons/plus.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/tiktok.svg b/icons/tiktok.svg new file mode 100644 index 0000000..bd83434 --- /dev/null +++ b/icons/tiktok.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/twitch.svg b/icons/twitch.svg new file mode 100644 index 0000000..a92e9ea --- /dev/null +++ b/icons/twitch.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/youtube.svg b/icons/youtube.svg new file mode 100644 index 0000000..80efb73 --- /dev/null +++ b/icons/youtube.svg @@ -0,0 +1,3 @@ + + + diff --git a/index.html b/index.html new file mode 100644 index 0000000..fce079b --- /dev/null +++ b/index.html @@ -0,0 +1,13 @@ + + + + + VtuberSite + + + + + + + + diff --git a/main-TLKF55AO.js b/main-TLKF55AO.js new file mode 100644 index 0000000..048da3f --- /dev/null +++ b/main-TLKF55AO.js @@ -0,0 +1,2 @@ +import{a as q}from"./chunk-TG6VAGNW.js";import{$ as o,B as d,G as b,H as j,I as N,K as U,L as x,M as h,N as _,Q as F,R as e,S as n,T as s,V as m,X as g,Z as w,aa as c,ba as P,ha as K,l as M,na as G,o as u,p as C,q as H,qa as R,r as V,ra as Y,sa as Z,ta as J,v as k,va as $,w as f,x as l}from"./chunk-THKCX2S5.js";var O=class a{nav=null;hamburger=null;mobileNav=null;onDocumentClick=i=>this.handleDocumentClick(i);name="LordRutra";twitch={platform:"Twitch",url:"https://twitch.tv/lordrutra",username:"lordrutra",icon:"twitch.svg",color:"#9147ff"};ngAfterViewInit(){this.nav=document.getElementById("nav"),this.hamburger=document.getElementById("hbg"),this.mobileNav=document.getElementById("mnav"),document.addEventListener("click",this.onDocumentClick)}ngOnDestroy(){document.removeEventListener("click",this.onDocumentClick)}toggleMobileMenu(){!this.hamburger||!this.mobileNav||(this.hamburger.classList.toggle("open"),this.mobileNav.classList.toggle("open"))}closeMobileMenu(){!this.hamburger||!this.mobileNav||(this.hamburger.classList.remove("open"),this.mobileNav.classList.remove("open"))}scrollTo(i){this.closeMobileMenu(),document.getElementById(i)?.scrollIntoView({behavior:"smooth"})}handleDocumentClick(i){let t=i.target;this.nav&&this.mobileNav&&!this.nav.contains(t)&&!this.mobileNav.contains(t)&&this.closeMobileMenu()}static \u0275fac=function(t){return new(t||a)};static \u0275cmp=d({type:a,selectors:[["app-nav-bar"]],inputs:{name:"name",twitch:"twitch"},decls:36,vars:5,consts:[["id","nav"],["href","#hero",1,"nav-logo",3,"click"],[1,"nav-links"],["href","#about",3,"click"],["href","#reseaux",3,"click"],["href","#galerie",3,"click"],["href","#mediakit",3,"click"],[1,"nav-right"],["target","_blank",1,"nav-stream-btn",3,"href"],["width","14","height","14","viewBox","0 0 24 24"],["d","M11.571 4.714h1.715v5.143H11.57zm4.715 0H18v5.143h-1.714zM6 0L1.714 4.286v15.428h5.143V24l4.286-4.286h3.428L22.286 12V0zm14.571 11.143l-3.428 3.428h-3.429l-3 3v-3H6.857V1.714h13.714z"],["id","hbg","aria-label","Menu",1,"hamburger",3,"click"],["id","mnav",1,"mobile-nav"],["target","_blank",3,"click","href"]],template:function(t,r){t&1&&(e(0,"nav",0)(1,"a",1),g("click",function(p){return p.preventDefault(),r.scrollTo("hero")}),o(2),n(),e(3,"ul",2)(4,"li")(5,"a",3),g("click",function(p){return p.preventDefault(),r.scrollTo("about")}),o(6,"\xC0 propos"),n()(),e(7,"li")(8,"a",4),g("click",function(p){return p.preventDefault(),r.scrollTo("reseaux")}),o(9,"R\xE9seaux"),n()(),e(10,"li")(11,"a",5),g("click",function(p){return p.preventDefault(),r.scrollTo("galerie")}),o(12,"Galerie"),n()(),e(13,"li")(14,"a",6),g("click",function(p){return p.preventDefault(),r.scrollTo("mediakit")}),o(15,"M\xE9dia Kit"),n()()(),e(16,"div",7)(17,"a",8),u(),e(18,"svg",9),s(19,"path",10),n(),o(20),n(),C(),e(21,"button",11),g("click",function(){return r.toggleMobileMenu()}),s(22,"span")(23,"span")(24,"span"),n()()(),e(25,"nav",12)(26,"a",3),g("click",function(p){return p.preventDefault(),r.scrollTo("about")}),o(27,"\xC0 propos"),n(),e(28,"a",4),g("click",function(p){return p.preventDefault(),r.scrollTo("reseaux")}),o(29,"R\xE9seaux"),n(),e(30,"a",5),g("click",function(p){return p.preventDefault(),r.scrollTo("galerie")}),o(31,"Galerie"),n(),e(32,"a",6),g("click",function(p){return p.preventDefault(),r.scrollTo("mediakit")}),o(33,"M\xE9dia Kit"),n(),e(34,"a",13),g("click",function(){return r.closeMobileMenu()}),o(35,"\u25B6 Rejoindre le stream"),n()()),t&2&&(l(2),c(r.name),l(15),m("href",r.twitch.url,f),l(),b("fill",r.twitch.color),l(2),P(" ",r.twitch.platform," "),l(14),m("href",r.twitch.url,f))},styles:['nav[_ngcontent-%COMP%]{position:fixed;top:0;left:0;right:0;z-index:100;height:var(--nav-h);display:flex;align-items:center;justify-content:space-between;padding:0 48px;background:#09080fd1;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid var(--border);transition:background .35s}nav.scrolled[_ngcontent-%COMP%]{background:#09080ff7}.nav-logo[_ngcontent-%COMP%]{font-family:Cinzel,serif;font-weight:700;font-size:18px;letter-spacing:.08em;color:var(--text);text-decoration:none}.nav-logo[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--red-glow)}.nav-links[_ngcontent-%COMP%]{display:flex;gap:36px;list-style:none}.nav-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--text-dim);text-decoration:none;position:relative;transition:color .2s}.nav-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:after{content:"";position:absolute;bottom:-4px;left:0;width:0;height:1px;background:var(--red-glow);transition:width .3s}.nav-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:var(--text)}.nav-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover:after{width:100%}.nav-right[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px}.nav-stream-btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:7px;padding:8px 18px;background:#9147ff1f;border:1px solid rgba(145,71,255,.3);color:#9147ff;font-size:12px;font-weight:600;letter-spacing:.08em;text-decoration:none;transition:all .2s}.nav-stream-btn[_ngcontent-%COMP%]:hover{background:#9147ff38;border-color:#9147ff;box-shadow:0 0 16px #9147ff33}.hamburger[_ngcontent-%COMP%]{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:8px;background:none;border:none}.hamburger[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;width:22px;height:1.5px;background:var(--text);transition:transform .3s,opacity .3s}.hamburger.open[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(1){transform:translateY(6.5px) rotate(45deg)}.hamburger.open[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(2){opacity:0}.hamburger.open[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(3){transform:translateY(-6.5px) rotate(-45deg)}.mobile-nav[_ngcontent-%COMP%]{display:none;position:fixed;top:var(--nav-h);left:0;right:0;height:auto;background:#09080f;backdrop-filter:none;-webkit-backdrop-filter:none;border-top:1px solid rgba(160,99,232,.15);border-bottom:1px solid rgba(160,99,232,.15);z-index:999;padding:28px 32px;flex-direction:column;gap:20px}.mobile-nav.open[_ngcontent-%COMP%]{display:flex}.mobile-nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-family:Cinzel,serif;font-size:16px;letter-spacing:.1em;color:var(--text-dim);text-decoration:none;transition:color .2s}.mobile-nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:var(--text)}@media(max-width:768px){nav[_ngcontent-%COMP%]{padding:0 20px}.nav-links[_ngcontent-%COMP%], .nav-stream-btn[_ngcontent-%COMP%]{display:none}.hamburger[_ngcontent-%COMP%]{display:flex}}']})};function tt(a,i){return this.socialLinks}function et(a,i){if(a&1&&(e(0,"a",31),u(),e(1,"svg",32),s(2,"use"),n()()),a&2){let t=i.$implicit;w("--hc",t.color),m("href",t.url,f)("title",t.platform),l(2),b("href","icons/"+t.icon+"#icon")}}var S=class a{avatarUrl="";name="";title="";description="";backgroundImageUrl="";socialLinks=[];static \u0275fac=function(t){return new(t||a)};static \u0275cmp=d({type:a,selectors:[["app-hero-banner"]],inputs:{avatarUrl:"avatarUrl",name:"name",title:"title",description:"description",backgroundImageUrl:"backgroundImageUrl",socialLinks:"socialLinks"},decls:67,vars:7,consts:[["id","hero"],[1,"hero-bg"],[1,"hero-tint"],["id","particles",1,"hero-particles"],[1,"particle"],[1,"hero-inner"],[1,"hero-text"],[1,"live-badge"],[1,"live-dot"],[1,"hero-eyebrow"],[1,"hero-name",3,"innerHTML"],[1,"hero-subtitle"],[1,"hero-desc"],[1,"hero-cta"],["target","_blank",1,"btn-primary",3,"href"],["width","14","height","14","viewBox","0 0 24 24","fill","currentColor"],["href","icons/twitch.svg#icon"],[1,"hero-socials"],["target","_blank",1,"hero-social-link",3,"href","title","--hc"],[1,"hero-stats"],[1,"stat-item"],[1,"stat-num"],[1,"stat-label"],[1,"hero-avatar"],[1,"avatar-glow"],[1,"avatar-ring-a"],[1,"avatar-ring-b"],["alt","LordRutra avatar",1,"avatar-img",3,"src"],[1,"scroll-indicator"],[1,"scroll-text"],[1,"scroll-line"],["target","_blank",1,"hero-social-link",3,"href","title"],["width","18","height","18","viewBox","0 0 24 24","fill","currentColor"]],template:function(t,r){t&1&&(e(0,"section",0),s(1,"div",1)(2,"div",2),e(3,"div",3),s(4,"span",4)(5,"span",4)(6,"span",4)(7,"span",4)(8,"span",4)(9,"span",4)(10,"span",4)(11,"span",4)(12,"span",4)(13,"span",4)(14,"span",4)(15,"span",4)(16,"span",4)(17,"span",4)(18,"span",4)(19,"span",4)(20,"span",4)(21,"span",4),n(),e(22,"div",5)(23,"div",6)(24,"div",7),s(25,"span",8),o(26," VTuber FR "),n(),e(27,"div",9),o(28,"Pr\xE9sentation officielle"),n(),s(29,"h1",10),e(30,"p",11),o(31),n(),e(32,"p",12),o(33),n(),e(34,"div",13)(35,"a",14),u(),e(36,"svg",15),s(37,"use",16),n(),o(38," Rejoindre le stream "),n()(),C(),e(39,"div",17),x(40,et,3,5,"a",18,tt,!0),n(),e(42,"div",19)(43,"div",20)(44,"span",21),o(45,"Chaos"),n(),e(46,"span",22),o(47,"Sp\xE9cialit\xE9"),n()(),e(48,"div",20)(49,"span",21),o(50,"FR"),n(),e(51,"span",22),o(52,"Langue"),n()(),e(53,"div",20)(54,"span",21),o(55,"VTuber"),n(),e(56,"span",22),o(57,"Format"),n()()()(),e(58,"div",23),s(59,"div",24)(60,"div",25)(61,"div",26)(62,"img",27),n()(),e(63,"div",28)(64,"span",29),o(65,"Scroll"),n(),s(66,"div",30),n()()),t&2&&(l(),w("background-image",`url(${r.backgroundImageUrl})`),l(28),m("innerHTML",r.name.replace("dR","d
R"),k),l(2),c(r.title),l(2),P(" ",r.description," "),l(2),m("href",r.socialLinks[0].url,f),l(5),h(r.socialLinks),l(22),m("src",r.avatarUrl,f))},styles:['#hero[_ngcontent-%COMP%]{min-height:100vh;position:relative;display:flex;align-items:center;overflow:hidden}.hero-bg[_ngcontent-%COMP%]{position:absolute;inset:0;background-size:cover;background-position:center top}.hero-bg[_ngcontent-%COMP%]:after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,#09080ff7 28%,#09080fb8 52%,#09080f61 78%,#09080f8c),linear-gradient(to bottom,rgba(9,8,15,.45) 0%,transparent 22%,transparent 65%,rgba(9,8,15,.98) 100%)}.hero-tint[_ngcontent-%COMP%]{position:absolute;inset:0;background:radial-gradient(ellipse 55% 70% at 72% 50%,rgba(123,63,196,.09) 0%,transparent 60%),radial-gradient(ellipse 35% 50% at 28% 45%,rgba(192,48,42,.11) 0%,transparent 55%);z-index:1;pointer-events:none}.hero-particles[_ngcontent-%COMP%]{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:2}.particle[_ngcontent-%COMP%]{position:absolute;bottom:-10px;border-radius:50%;animation:_ngcontent-%COMP%_float-up linear infinite;opacity:0}@keyframes _ngcontent-%COMP%_float-up{0%{transform:translateY(0) scale(0);opacity:0}8%{opacity:1}92%{opacity:.45}to{transform:translateY(-110vh) scale(1.8);opacity:0}}@keyframes _ngcontent-%COMP%_float-up-r{0%{transform:translateY(0) translate(0) scale(0);opacity:0}8%{opacity:1}50%{transform:translateY(-55vh) translate(18px) scale(1);opacity:.5}92%{opacity:.35}to{transform:translateY(-110vh) translate(6px) scale(1.6);opacity:0}}@keyframes _ngcontent-%COMP%_float-up-l{0%{transform:translateY(0) translate(0) scale(0);opacity:0}8%{opacity:1}50%{transform:translateY(-55vh) translate(-14px) scale(1);opacity:.5}92%{opacity:.35}to{transform:translateY(-110vh) translate(-4px) scale(1.6);opacity:0}}.particle[_ngcontent-%COMP%]:nth-child(1){left:4%;width:3px;height:3px;background:#9147ff;box-shadow:0 0 8px #9147ff;animation-name:_ngcontent-%COMP%_float-up;animation-duration:10s;animation-delay:0s;filter:blur(.3px)}.particle[_ngcontent-%COMP%]:nth-child(2){left:10%;width:4px;height:4px;background:#c0302a;box-shadow:0 0 12px #c0302a;animation-name:_ngcontent-%COMP%_float-up-r;animation-duration:7s;animation-delay:2.3s;filter:blur(.5px)}.particle[_ngcontent-%COMP%]:nth-child(3){left:17%;width:2px;height:2px;background:#a063e8;box-shadow:0 0 6px #a063e8;animation-name:_ngcontent-%COMP%_float-up;animation-duration:13s;animation-delay:.8s}.particle[_ngcontent-%COMP%]:nth-child(4){left:23%;width:5px;height:5px;background:#7b3fc4;box-shadow:0 0 14px #7b3fc4;animation-name:_ngcontent-%COMP%_float-up-l;animation-duration:9s;animation-delay:4.1s;filter:blur(.6px)}.particle[_ngcontent-%COMP%]:nth-child(5){left:30%;width:3px;height:3px;background:#e04040;box-shadow:0 0 10px #e04040;animation-name:_ngcontent-%COMP%_float-up;animation-duration:8s;animation-delay:1.7s}.particle[_ngcontent-%COMP%]:nth-child(6){left:37%;width:4px;height:4px;background:#9147ff;box-shadow:0 0 12px #9147ff;animation-name:_ngcontent-%COMP%_float-up-r;animation-duration:11s;animation-delay:3.2s;filter:blur(.4px)}.particle[_ngcontent-%COMP%]:nth-child(7){left:43%;width:2px;height:2px;background:#c0302a;box-shadow:0 0 7px #c0302a;animation-name:_ngcontent-%COMP%_float-up;animation-duration:7s;animation-delay:5.5s}.particle[_ngcontent-%COMP%]:nth-child(8){left:50%;width:3px;height:3px;background:#a063e8;box-shadow:0 0 9px #a063e8;animation-name:_ngcontent-%COMP%_float-up-l;animation-duration:14s;animation-delay:.4s;filter:blur(.3px)}.particle[_ngcontent-%COMP%]:nth-child(9){left:56%;width:4px;height:4px;background:#7b3fc4;box-shadow:0 0 13px #7b3fc4;animation-name:_ngcontent-%COMP%_float-up;animation-duration:9s;animation-delay:2.9s;filter:blur(.5px)}.particle[_ngcontent-%COMP%]:nth-child(10){left:63%;width:2px;height:2px;background:#e04040;box-shadow:0 0 6px #e04040;animation-name:_ngcontent-%COMP%_float-up-r;animation-duration:8s;animation-delay:6.2s}.particle[_ngcontent-%COMP%]:nth-child(11){left:70%;width:5px;height:5px;background:#9147ff;box-shadow:0 0 16px #9147ff;animation-name:_ngcontent-%COMP%_float-up;animation-duration:12s;animation-delay:1.1s;filter:blur(.7px)}.particle[_ngcontent-%COMP%]:nth-child(12){left:76%;width:3px;height:3px;background:#c0302a;box-shadow:0 0 9px #c0302a;animation-name:_ngcontent-%COMP%_float-up-l;animation-duration:7s;animation-delay:3.8s}.particle[_ngcontent-%COMP%]:nth-child(13){left:82%;width:4px;height:4px;background:#a063e8;box-shadow:0 0 12px #a063e8;animation-name:_ngcontent-%COMP%_float-up;animation-duration:11s;animation-delay:.6s;filter:blur(.4px)}.particle[_ngcontent-%COMP%]:nth-child(14){left:88%;width:2px;height:2px;background:#7b3fc4;box-shadow:0 0 7px #7b3fc4;animation-name:_ngcontent-%COMP%_float-up-r;animation-duration:9s;animation-delay:4.6s}.particle[_ngcontent-%COMP%]:nth-child(15){left:93%;width:3px;height:3px;background:#e04040;box-shadow:0 0 10px #e04040;animation-name:_ngcontent-%COMP%_float-up;animation-duration:8s;animation-delay:2.1s}.particle[_ngcontent-%COMP%]:nth-child(16){left:7%;width:4px;height:4px;background:#9147ff;box-shadow:0 0 12px #9147ff;animation-name:_ngcontent-%COMP%_float-up-l;animation-duration:10s;animation-delay:7.3s;filter:blur(.3px)}.particle[_ngcontent-%COMP%]:nth-child(17){left:46%;width:2px;height:2px;background:#c0302a;box-shadow:0 0 7px #c0302a;animation-name:_ngcontent-%COMP%_float-up;animation-duration:12s;animation-delay:1.9s}.particle[_ngcontent-%COMP%]:nth-child(18){left:86%;width:4px;height:4px;background:#a063e8;box-shadow:0 0 13px #a063e8;animation-name:_ngcontent-%COMP%_float-up-r;animation-duration:8s;animation-delay:5.8s;filter:blur(.5px)}.hero-inner[_ngcontent-%COMP%]{position:relative;z-index:3;display:grid;grid-template-columns:1fr auto;align-items:center;gap:72px;width:100%;max-width:1200px;margin:0 auto;padding:120px 48px 80px}.hero-text[_ngcontent-%COMP%]{max-width:570px}.live-badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:8px;padding:5px 14px;background:#c0302a1c;border:1px solid rgba(224,64,64,.32);font-size:10px;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--red-glow);margin-bottom:24px}.live-dot[_ngcontent-%COMP%]{width:6px;height:6px;background:var(--red-glow);border-radius:50%;animation:_ngcontent-%COMP%_blink 1.4s ease-in-out infinite;box-shadow:0 0 8px var(--red-glow)}@keyframes _ngcontent-%COMP%_blink{0%,to{opacity:1}50%{opacity:.15;box-shadow:none}}.hero-eyebrow[_ngcontent-%COMP%]{font-family:Cinzel,serif;font-size:11px;letter-spacing:.35em;text-transform:uppercase;color:var(--red-glow);margin-bottom:18px;display:flex;align-items:center;gap:14px;opacity:.75}.hero-eyebrow[_ngcontent-%COMP%]:before{content:"";flex-shrink:0;width:40px;height:1px;background:linear-gradient(to right,transparent,var(--red-glow))}.hero-name[_ngcontent-%COMP%]{font-family:Cinzel,serif;font-size:clamp(52px,7.5vw,100px);font-weight:900;line-height:.92;letter-spacing:-.02em;margin-bottom:20px;background:linear-gradient(140deg,#f0ece8 20%,var(--purple-light) 58%,var(--red-glow) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.hero-subtitle[_ngcontent-%COMP%]{font-family:Cinzel,serif;font-size:clamp(13px,1.8vw,19px);font-weight:400;color:var(--text-dim);letter-spacing:.07em;margin-bottom:28px;padding-left:20px;position:relative}.hero-subtitle[_ngcontent-%COMP%]:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:8px;height:1px;background:var(--text-dim)}.hero-desc[_ngcontent-%COMP%]{font-size:15.5px;line-height:1.85;color:var(--text-dim);max-width:480px;margin-bottom:40px}.hero-cta[_ngcontent-%COMP%]{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:32px}.hero-socials[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}.hero-social-link[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:40px;height:40px;color:var(--text-dim);background:#150f22a6;border:1px solid var(--border);text-decoration:none;transition:all .2s}.hero-social-link[_ngcontent-%COMP%]:hover{color:var(--hc, var(--text));border-color:var(--hc, var(--text));background:#150f22e6;transform:translateY(-3px);box-shadow:0 4px 16px #00000059}.hero-stats[_ngcontent-%COMP%]{display:flex;margin-top:48px;padding-top:30px;border-top:1px solid var(--border)}.stat-item[_ngcontent-%COMP%]{flex:1;padding-right:28px;position:relative}.stat-item[_ngcontent-%COMP%]:not(:last-child):after{content:"";position:absolute;right:14px;top:0;bottom:0;width:1px;background:var(--border)}.stat-num[_ngcontent-%COMP%]{display:block;font-family:Cinzel,serif;font-size:22px;font-weight:700;color:var(--text);margin-bottom:4px}.stat-label[_ngcontent-%COMP%]{font-size:10px;letter-spacing:.15em;text-transform:uppercase;color:var(--text-dim)}.hero-avatar[_ngcontent-%COMP%]{flex-shrink:0;position:relative;width:420px;height:440px;display:flex;align-items:center;justify-content:center}.avatar-glow[_ngcontent-%COMP%]{position:absolute;width:360px;height:360px;border-radius:50%;background:radial-gradient(circle,rgba(160,99,232,.28) 0%,rgba(192,48,42,.14) 45%,transparent 70%);filter:blur(48px);animation:_ngcontent-%COMP%_pulse-glow 3.5s ease-in-out infinite}@keyframes _ngcontent-%COMP%_pulse-glow{0%,to{transform:scale(1);opacity:.6}50%{transform:scale(1.18);opacity:1}}.avatar-ring-a[_ngcontent-%COMP%]{position:absolute;width:374px;height:374px;border-radius:50%;border:1px solid rgba(160,99,232,.22);animation:_ngcontent-%COMP%_spin-cw 22s linear infinite}.avatar-ring-a[_ngcontent-%COMP%]:before{content:"";position:absolute;top:-4px;left:50%;width:8px;height:8px;background:var(--red-glow);border-radius:50%;transform:translate(-50%);box-shadow:0 0 18px 4px var(--red-glow),0 0 32px var(--red)}.avatar-ring-b[_ngcontent-%COMP%]{position:absolute;width:348px;height:348px;border-radius:50%;border:1px solid rgba(192,48,42,.14);animation:_ngcontent-%COMP%_spin-cw 14s linear infinite reverse}.avatar-ring-b[_ngcontent-%COMP%]:after{content:"";position:absolute;bottom:-3px;left:50%;width:6px;height:6px;background:var(--purple-light);border-radius:50%;transform:translate(-50%);box-shadow:0 0 12px var(--purple-light)}@keyframes _ngcontent-%COMP%_spin-cw{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.avatar-img[_ngcontent-%COMP%]{position:relative;z-index:2;width:315px;height:315px;object-fit:cover;border-radius:50%;border:2px solid rgba(123,63,196,.38);filter:drop-shadow(0 0 40px rgba(160,99,232,.38)) drop-shadow(0 0 18px rgba(192,48,42,.18))}@media(max-width:900px){.hero-inner[_ngcontent-%COMP%]{grid-template-columns:1fr;padding:110px 32px 64px;gap:48px;text-align:center}.hero-eyebrow[_ngcontent-%COMP%], .hero-cta[_ngcontent-%COMP%], .hero-socials[_ngcontent-%COMP%]{justify-content:center}.hero-avatar[_ngcontent-%COMP%]{width:280px;height:280px;margin:0 auto;order:-1}.avatar-img[_ngcontent-%COMP%]{width:210px;height:210px}.avatar-glow[_ngcontent-%COMP%]{width:240px;height:240px}.avatar-ring-a[_ngcontent-%COMP%]{width:248px;height:248px}.avatar-ring-b[_ngcontent-%COMP%]{width:230px;height:230px}}@media(max-width:480px){.hero-inner[_ngcontent-%COMP%]{padding:90px 18px 52px;gap:32px}.hero-avatar[_ngcontent-%COMP%]{width:220px;height:220px}.avatar-img[_ngcontent-%COMP%]{width:166px;height:166px}.avatar-glow[_ngcontent-%COMP%]{width:190px;height:190px}.avatar-ring-a[_ngcontent-%COMP%]{width:196px;height:196px}.avatar-ring-b[_ngcontent-%COMP%]{width:182px;height:182px}.hero-stats[_ngcontent-%COMP%], .scroll-indicator[_ngcontent-%COMP%]{display:none}}']})};function nt(a,i){if(a&1&&(e(0,"span",9),o(1),n()),a&2){let t=i.$implicit;l(),c(t)}}function ot(a,i){if(a&1&&(e(0,"div",11)(1,"div",12),o(2),n(),e(3,"div")(4,"div",13),o(5),n(),e(6,"div",14),o(7),n()()()),a&2){let t=i.$implicit;l(2),c(t.icon),l(3),c(t.name),l(2),c(t.type)}}var D=class a{aboutText="";tags=[];games=[];static \u0275fac=function(t){return new(t||a)};static \u0275cmp=d({type:a,selectors:[["app-about"]],inputs:{aboutText:"aboutText",tags:"tags",games:"games"},decls:18,vars:1,consts:[["id","about"],[1,"wrap"],[1,"section-label"],[1,"section-title","rev"],[2,"color","var(--text-dim)","font-size",".65em"],[1,"about-grid"],[1,"about-text","rev","d1"],[3,"innerHTML"],[1,"tags"],[1,"tag"],[1,"about-games","rev","d2"],[1,"game-card"],[1,"game-icon"],[1,"game-name"],[1,"game-type"]],template:function(t,r){t&1&&(e(0,"div",0)(1,"div",1)(2,"div",2),o(3,"// 01 \u2014 \xC0 propos"),n(),e(4,"h2",3),o(5," L'Empereur Gryphon"),s(6,"br"),e(7,"span",4),o(8,"de la Brume Sanglante"),n()(),e(9,"div",5)(10,"div",6),s(11,"p",7),e(12,"div",8),x(13,nt,2,1,"span",9,U),n()(),e(15,"div",10),x(16,ot,8,3,"div",11,U),n()()()()),t&2&&(l(11),m("innerHTML",r.aboutText,k),l(2),h(r.tags),l(3),h(r.games))},styles:[".about-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:start}.about-text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:15.5px;line-height:1.9;color:var(--text-dim);margin-bottom:18px}.about-text[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{color:var(--text);font-weight:600}.tags[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}.tag[_ngcontent-%COMP%]{padding:6px 14px;background:#1e1434cc;border:1px solid var(--border);font-size:11px;letter-spacing:.1em;color:var(--text-dim);clip-path:polygon(0 0,calc(100% - 6px) 0,100% 6px,100% 100%,6px 100%,0 calc(100% - 6px));transition:border-color .2s,color .2s;cursor:default}.tag[_ngcontent-%COMP%]:hover{border-color:var(--purple-light);color:var(--text)}.about-games[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px}.game-card[_ngcontent-%COMP%]{display:flex;align-items:center;gap:16px;padding:14px 18px;background:var(--card);border:1px solid var(--border);border-left:3px solid var(--red);transition:border-left-color .25s,background .25s,transform .2s}.game-card[_ngcontent-%COMP%]:hover{border-left-color:var(--purple-light);background:#150f22f5;transform:translate(4px)}.game-icon[_ngcontent-%COMP%]{width:42px;height:42px;background:#231937e6;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0}.game-name[_ngcontent-%COMP%]{font-size:14px;font-weight:600;color:var(--text)}.game-type[_ngcontent-%COMP%]{font-size:11px;color:var(--text-dim);letter-spacing:.08em;text-transform:uppercase;margin-top:3px}@media(max-width:768px){.about-grid[_ngcontent-%COMP%]{grid-template-columns:1fr;gap:40px}}"]})};function it(a,i){a&1&&(e(0,"span",16),o(1,"\u25CF Live"),n())}function at(a,i){if(a&1&&(e(0,"a",12)(1,"div",13),u(),e(2,"svg",14),s(3,"use"),n()(),C(),e(4,"span",15),o(5),n(),e(6,"span",11),o(7),n(),j(8,it,2,0,"span",16),n()),a&2){let t=i.$implicit;w("--ca",t.color),m("href",t.url,f),l(),w("background",t.color+"20"),l(),b("fill",t.color),l(),b("href","icons/"+t.icon+"#icon"),l(2),c(t.platform),l(2),c(t.username),l(),N(t.platform==="Twitch"?8:-1)}}var L=class a{socialLinks=[{platform:"Twitch",url:"https://twitch.tv/lordrutra",username:"lordrutra",icon:"twitch.svg",color:"#9147ff"},{platform:"YouTube",url:"https://youtube.com/@lordrutra",username:"lordrutra",icon:"youtube.svg",color:"#ff0000"},{platform:"TikTok",url:"https://tiktok.com/@lordrutra",username:"lordrutra",icon:"tiktok.svg",color:"#69c9d0"},{platform:"Instagram",url:"https://instagram.com/lordrutra",username:"lordrutra",icon:"instagram.svg",color:"#e1306c"},{platform:"Discord",url:"https://discord.gg/a2Fs9nNjc9",username:"Rejoindre le serveur",icon:"discord.svg",color:"#5865f2"}];static \u0275fac=function(t){return new(t||a)};static \u0275cmp=d({type:a,selectors:[["app-social-media"]],inputs:{socialLinks:"socialLinks"},decls:17,vars:0,consts:[["id","reseaux"],[1,"wrap"],[1,"section-label"],[1,"section-title","rev"],[1,"reseaux-grid"],["target","_blank",1,"reseau-card","rev",3,"href","--ca"],[1,"reseau-card",2,"--ca","rgba(154,142,168,.25)","cursor","default","opacity",".38"],[1,"reseau-icon",2,"background","rgba(25,20,40,.9)"],["width","30","height","30","viewBox","0 0 24 24","fill","var(--text-dim)"],["href","icons/plus.svg#icon"],[1,"reseau-name",2,"color","var(--text-dim)"],[1,"reseau-handle"],["target","_blank",1,"reseau-card","rev",3,"href"],[1,"reseau-icon"],["width","30","height","30","viewBox","0 0 24 24"],[1,"reseau-name"],[1,"reseau-badge"]],template:function(t,r){t&1&&(e(0,"div",0)(1,"div",1)(2,"div",2),o(3,"// 02 \u2014 R\xE9seaux sociaux"),n(),e(4,"h2",3),o(5,"Me Rejoindre"),n(),e(6,"div",4),x(7,at,9,10,"a",5,U),e(9,"div",6)(10,"div",7),u(),e(11,"svg",8),s(12,"use",9),n()(),C(),e(13,"span",10),o(14,"Bient\xF4t"),n(),e(15,"span",11),o(16,"Plus de plateformes"),n()()()()()),t&2&&(l(7),h(r.socialLinks))},styles:['#reseaux[_ngcontent-%COMP%]{background:linear-gradient(180deg,transparent,rgba(16,13,28,.55) 18%,rgba(16,13,28,.55) 82%,transparent)}.reseaux-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:18px}.reseau-card[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:12px;padding:32px 18px 28px;background:var(--card);border:1px solid var(--border);text-decoration:none;color:var(--text);position:relative;overflow:hidden;cursor:pointer;transition:transform .25s,border-color .25s,box-shadow .25s}.reseau-card[_ngcontent-%COMP%]:before{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--ca, var(--red));transform:scaleX(0);transform-origin:center;transition:transform .35s}.reseau-card[_ngcontent-%COMP%]:hover{transform:translateY(-6px);border-color:var(--ca, var(--red));box-shadow:0 16px 40px #0006}.reseau-card[_ngcontent-%COMP%]:hover:before{transform:scaleX(1)}.reseau-icon[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:16px;display:flex;align-items:center;justify-content:center;transition:transform .25s}.reseau-card[_ngcontent-%COMP%]:hover .reseau-icon[_ngcontent-%COMP%]{transform:scale(1.08)}.reseau-name[_ngcontent-%COMP%]{font-family:Cinzel,serif;font-size:14px;letter-spacing:.1em;font-weight:600}.reseau-handle[_ngcontent-%COMP%]{font-size:12px;color:var(--text-dim)}.reseau-badge[_ngcontent-%COMP%]{position:absolute;top:10px;right:10px;padding:3px 8px;background:#231937e6;font-size:9px;letter-spacing:.12em;color:var(--red-glow);text-transform:uppercase}']})};function rt(a,i){if(a&1&&(e(0,"div",5),s(1,"img",8),e(2,"div",9)(3,"span",10),o(4),n(),e(5,"span",11),o(6),n()()()),a&2){let t=i.$implicit;l(),m("src",t.imageUrl,f)("alt",t.title),l(3),c(t.title),l(2),c(t.author)}}var A=class a{fanarts=[];discordUrl="";static \u0275fac=function(t){return new(t||a)};static \u0275cmp=d({type:a,selectors:[["app-galerie"]],inputs:{fanarts:"fanarts",discordUrl:"discordUrl"},decls:14,vars:1,consts:[["id","galerie"],[1,"wrap"],[1,"section-label"],[1,"section-title","rev"],[1,"gallery-grid"],[1,"gallery-item","rev"],[1,"gallery-cta","rev"],["target","_blank",1,"btn-secondary",3,"href"],[3,"src","alt"],[1,"gallery-overlay"],[1,"gallery-overlay-icon"],[1,"gallery-overlay-text"]],template:function(t,r){t&1&&(e(0,"div",0)(1,"div",1)(2,"div",2),o(3,"// 03 \u2014 Galerie"),n(),e(4,"h2",3),o(5,"Fanarts"),n(),e(6,"div",4),x(7,rt,7,4,"div",5,U),n(),e(9,"div",6)(10,"p"),o(11,"Tu as cr\xE9\xE9 un fanart ? Partage-le sur Discord ou tag-moi sur les r\xE9seaux !"),n(),e(12,"a",7),o(13,"Partager un fanart"),n()()()()),t&2&&(l(7),h(r.fanarts),l(5),m("href",r.discordUrl,f))},styles:[".gallery-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.gallery-item[_ngcontent-%COMP%]{position:relative;aspect-ratio:1;overflow:hidden;cursor:pointer;background:var(--bg3);border:1px solid var(--border)}.gallery-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;filter:saturate(.8);transition:transform .5s ease,filter .4s}.gallery-item[_ngcontent-%COMP%]:hover img[_ngcontent-%COMP%]{transform:scale(1.08);filter:saturate(1.15)}.gallery-overlay[_ngcontent-%COMP%]{position:absolute;inset:0;background:linear-gradient(to top,rgba(9,8,15,.92) 0%,rgba(9,8,15,.42) 55%,transparent 100%);display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;padding:22px;opacity:0;transition:opacity .35s}.gallery-item[_ngcontent-%COMP%]:hover .gallery-overlay[_ngcontent-%COMP%]{opacity:1}.gallery-overlay-icon[_ngcontent-%COMP%]{font-size:26px}.gallery-overlay-text[_ngcontent-%COMP%]{font-family:Cinzel,serif;font-size:13px;letter-spacing:.15em;color:var(--text)}.gallery-placeholder[_ngcontent-%COMP%]{aspect-ratio:1;background:#150f228c;border:1px dashed rgba(160,99,232,.18);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;position:relative;overflow:hidden;transition:border-color .25s}.gallery-placeholder[_ngcontent-%COMP%]:hover{border-color:#a063e852}.gp-stripe[_ngcontent-%COMP%]{position:absolute;inset:0;background-image:repeating-linear-gradient(45deg,rgba(40,30,65,.5) 0px,rgba(40,30,65,.5) 1px,transparent 1px,transparent 14px);opacity:.4}.gp-icon[_ngcontent-%COMP%]{font-size:30px;opacity:.22;position:relative}.gp-text[_ngcontent-%COMP%]{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--text-dim);opacity:.35;text-align:center;padding:0 16px;position:relative}.gallery-cta[_ngcontent-%COMP%]{margin-top:36px;text-align:center}.gallery-cta[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--text-dim);font-size:14px;margin-bottom:18px}@media(max-width:640px){.gallery-grid[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr);gap:10px}}@media(max-width:360px){.gallery-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}}"]})};function lt(a,i){if(a&1&&(e(0,"a",11)(1,"span",19),u(),e(2,"svg",20),s(3,"use"),n()(),C(),e(4,"div")(5,"div",21),o(6),n(),e(7,"div",22),o(8),n()()()),a&2){let t=i.$implicit;m("href",t.url,f),l(2),b("fill",t.color),l(),b("href","icons/"+t.icon+"#icon"),l(3),c(t.platform),l(2),c(t.username)}}function st(a,i){if(a&1&&(e(0,"div",14),s(1,"div",23),e(2,"span",24),o(3),n(),e(4,"span",25),o(5),n()()),a&2){let t=i.$implicit;l(),w("background",t.hex),l(2),c(t.hex),l(2),c(t.name)}}var I=class a{socialLinks=[];brandGuidelines={colors:[],fonts:[]};static \u0275fac=function(t){return new(t||a)};static \u0275cmp=d({type:a,selectors:[["app-media-kit"]],inputs:{socialLinks:"socialLinks",brandGuidelines:"brandGuidelines"},decls:32,vars:0,consts:[["id","mediakit",2,"position","relative"],[1,"mk-ambient"],[1,"wrap",2,"position","relative"],[1,"section-label"],[1,"section-title","rev"],[2,"color","var(--text-dim)","font-size",".62em"],[1,"mk-grid"],[1,"mk-card","mk-card--main","rev"],[1,"mk-title"],[1,"mk-contact-desc"],[1,"mk-contact-links"],["target","_blank",1,"mk-contact-row",3,"href"],[1,"mk-card","rev","d1"],[1,"mk-colors"],[1,"mk-swatch"],[1,"mk-typo"],[1,"mk-typo-label"],[2,"font-family","'Cinzel',serif","font-size","17px","color","var(--text)","margin-bottom","6px"],[2,"font-family","'Inter',sans-serif","font-size","14px","color","var(--text-dim)"],[1,"mk-contact-icon"],["width","30","height","30","viewBox","0 0 24 24"],[1,"mk-contact-name"],[1,"mk-contact-sub"],[1,"mk-circle"],[1,"mk-hex"],[1,"mk-name"]],template:function(t,r){t&1&&(e(0,"div",0),s(1,"div",1),e(2,"div",2)(3,"div",3),o(4,"// 04 \u2014 M\xE9dia Kit"),n(),e(5,"h2",4),o(6," Partenariats"),s(7,"br"),e(8,"span",5),o(9,"& Collaborations"),n()(),e(10,"div",6)(11,"div",7)(12,"div",8),o(13,"\u{1F4EC} Contact & Collaboration"),n(),e(14,"p",9),o(15," Ouvert aux collaborations, partenariats et projets cr\xE9atifs. Pour toute demande professionnelle, contactez-moi via Discord ou les r\xE9seaux sociaux. "),n(),e(16,"div",10),x(17,lt,9,5,"a",11,U),n()(),e(19,"div",12)(20,"div",8),o(21,"\u{1F3A8} Charte graphique"),n(),e(22,"div",13),x(23,st,6,4,"div",14,U),n(),e(25,"div",15)(26,"div",16),o(27,"Typographies"),n(),e(28,"div",17),o(29,"Cinzel \u2014 Titres"),n(),e(30,"div",18),o(31,"Inter \u2014 Corps de texte"),n()()()()()()),t&2&&(l(17),h(r.socialLinks),l(6),h(r.brandGuidelines.colors))},styles:['#mediakit[_ngcontent-%COMP%]{position:relative}.mk-ambient[_ngcontent-%COMP%]{position:absolute;inset:0;background:radial-gradient(ellipse 70% 50% at 50% 65%,rgba(21,15,34,.7) 0%,transparent 70%),radial-gradient(ellipse 35% 35% at 18% 85%,rgba(192,48,42,.05) 0%,transparent 60%);pointer-events:none}.mk-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:2fr 1fr;gap:20px;position:relative}.mk-card[_ngcontent-%COMP%]{padding:32px;background:var(--card);border:1px solid var(--border);position:relative;overflow:hidden;transition:border-color .25s}.mk-card[_ngcontent-%COMP%]:hover{border-color:#a063e840}.mk-card[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(to right,var(--red),var(--purple-light))}.mk-title[_ngcontent-%COMP%]{font-family:Cinzel,serif;font-size:15px;font-weight:600;color:var(--text);margin-bottom:22px}.mk-rows[_ngcontent-%COMP%]{display:flex;flex-direction:column}.mk-row[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-bottom:1px solid var(--border)}.mk-row[_ngcontent-%COMP%]:last-child{border-bottom:none;padding-bottom:0}.mk-row-label[_ngcontent-%COMP%]{font-size:13px;color:var(--text-dim)}.mk-row-val[_ngcontent-%COMP%]{font-family:Cinzel,serif;font-size:16px;font-weight:600;color:var(--text)}.mk-colors[_ngcontent-%COMP%]{display:flex;gap:16px;flex-wrap:wrap}.mk-swatch[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:8px}.mk-circle[_ngcontent-%COMP%]{width:52px;height:52px;border-radius:50%;border:2px solid var(--border);transition:transform .2s;cursor:default}.mk-circle[_ngcontent-%COMP%]:hover{transform:scale(1.1)}.mk-hex[_ngcontent-%COMP%]{font-size:10px;font-family:Inter,monospace;color:var(--text-dim);letter-spacing:.06em}.mk-name[_ngcontent-%COMP%]{font-size:10px;color:var(--text-dim)}.mk-typo[_ngcontent-%COMP%]{margin-top:22px;padding-top:18px;border-top:1px solid var(--border)}.mk-typo-label[_ngcontent-%COMP%]{font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:var(--text-dim);margin-bottom:12px}.mk-card--main[_ngcontent-%COMP%]{display:flex;flex-direction:column}.mk-contact-desc[_ngcontent-%COMP%]{font-size:14px;color:var(--text-dim);line-height:1.8;margin-bottom:24px}.mk-contact-links[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-bottom:28px}.mk-contact-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid var(--border);text-decoration:none;color:inherit;transition:padding-left .2s}.mk-contact-row[_ngcontent-%COMP%]:last-child{border-bottom:none}.mk-contact-row[_ngcontent-%COMP%]:hover{padding-left:6px}.mk-contact-icon[_ngcontent-%COMP%]{font-size:20px;flex-shrink:0;width:32px;text-align:center}.mk-contact-name[_ngcontent-%COMP%]{font-size:14px;color:var(--text);font-weight:500;margin-bottom:2px}.mk-contact-sub[_ngcontent-%COMP%]{font-size:12px;color:var(--text-dim)}.mk-collab-label[_ngcontent-%COMP%]{font-size:10px;letter-spacing:.15em;text-transform:uppercase;color:var(--text-dim);margin-bottom:14px}@media(max-width:768px){.mk-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}}@media(max-width:480px){.mk-card[_ngcontent-%COMP%]{padding:20px 16px}.mk-colors[_ngcontent-%COMP%]{gap:12px}.mk-circle[_ngcontent-%COMP%]{width:42px;height:42px}}']})};var T=class a{scrollTo(i){document.getElementById(i)?.scrollIntoView({behavior:"smooth"})}static \u0275fac=function(t){return new(t||a)};static \u0275cmp=d({type:a,selectors:[["app-footer"]],decls:25,vars:0,consts:[[1,"footer-logo"],[1,"footer-tagline"],[1,"footer-links"],["href","#about"],["href","#reseaux"],["href","#galerie"],["href","#mediakit"],[1,"footer-copy"],["href","#hero","id","btt","title","Retour en haut","aria-label","Retour en haut",3,"click"],["width","16","height","16","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2.5","stroke-linecap","round"],["points","18 15 12 9 6 15"]],template:function(t,r){t&1&&(e(0,"footer")(1,"div",0),o(2,"Lord"),e(3,"span"),o(4,"Rutra"),n()(),e(5,"div",1),o(6,"Empereur de la Brume Sanglante"),n(),e(7,"ul",2)(8,"li")(9,"a",3),o(10,"\xC0 propos"),n()(),e(11,"li")(12,"a",4),o(13,"R\xE9seaux"),n()(),e(14,"li")(15,"a",5),o(16,"Galerie"),n()(),e(17,"li")(18,"a",6),o(19,"M\xE9dia Kit"),n()()(),e(20,"p",7),o(21,"\xA9 2026 LordRutra \u2014 Tous droits r\xE9serv\xE9s."),n()(),e(22,"a",8),g("click",function(p){return p.preventDefault(),r.scrollTo("hero")}),u(),e(23,"svg",9),s(24,"polyline",10),n()())},styles:['footer[_ngcontent-%COMP%]{padding:64px 48px 48px;text-align:center;border-top:1px solid var(--border);position:relative}footer[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:50%;transform:translate(-50%);width:220px;height:1px;background:linear-gradient(to right,transparent,var(--red-glow),transparent)}.footer-logo[_ngcontent-%COMP%]{font-family:Cinzel,serif;font-size:26px;font-weight:700;margin-bottom:8px}.footer-logo[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--red-glow)}.footer-tagline[_ngcontent-%COMP%]{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--text-dim);opacity:.55;margin-bottom:28px}.footer-links[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:32px;list-style:none;margin-bottom:32px}.footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--text-dim);text-decoration:none;transition:color .2s}.footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:var(--text)}.footer-copy[_ngcontent-%COMP%]{font-size:11px;color:#9a8ea859;letter-spacing:.05em}@media(max-width:480px){footer[_ngcontent-%COMP%]{padding:48px 18px 36px}.footer-links[_ngcontent-%COMP%]{flex-wrap:wrap;gap:18px;justify-content:center}.footer-logo[_ngcontent-%COMP%]{font-size:22px}}']})};var B=class a{scrollObserver=null;nav=null;scrollProgress=null;backToTop=null;onScroll=()=>this.handleScroll();api=M(q);name="";avatarUrl="";backgroundImageUrl="";title="";description="";aboutText="";tags=[];games=[];socialLinks=[];socialLinksMediaKit=[];fanarts=[];brandGuidelines={colors:[],fonts:[]};discordUrl="";ngOnInit(){this.api.getProfile().subscribe(i=>{this.name=i.name,this.avatarUrl=i.avatarUrl,this.backgroundImageUrl=i.backgroundImageUrl,this.title=i.title,this.description=i.description,this.aboutText=i.aboutText,this.tags=i.tags}),this.api.getGames().subscribe(i=>{this.games=i.map(t=>({name:t.name,icon:t.icon,type:t.type}))}),this.api.getSocialLinks().subscribe(i=>{this.socialLinks=i.map(t=>({platform:t.platform,url:t.url,username:t.username,icon:t.icon,color:t.color})),this.discordUrl=this.socialLinks.find(t=>t.platform==="Discord")?.url||"",this.socialLinksMediaKit=this.socialLinks.filter(t=>t.platform=="Discord"||t.platform=="Twitch")}),this.api.getFanarts().subscribe(i=>{this.fanarts=i.map(t=>({title:t.title,author:t.author,imageUrl:t.imageUrl}))}),this.api.getBrand().subscribe(i=>{this.brandGuidelines={colors:i.colors.map(t=>({name:t.name,hex:t.hex})),fonts:i.fonts.map(t=>({name:t.name}))}})}ngAfterViewInit(){this.initializeNavigation(),this.initializeScrollReveal()}ngOnDestroy(){window.removeEventListener("scroll",this.onScroll),this.scrollObserver?.disconnect()}initializeNavigation(){this.nav=document.getElementById("nav"),this.scrollProgress=document.getElementById("scroll-progress"),this.backToTop=document.getElementById("btt"),window.addEventListener("scroll",this.onScroll,{passive:!0})}initializeScrollReveal(){this.scrollObserver=new IntersectionObserver(i=>{i.forEach(t=>{t.isIntersecting&&(t.target.classList.add("in"),this.scrollObserver?.unobserve(t.target))})},{threshold:.1,rootMargin:"0px 0px -36px 0px"}),document.querySelectorAll(".rev").forEach(i=>this.scrollObserver?.observe(i))}handleScroll(){if(!this.nav||!this.scrollProgress||!this.backToTop)return;let i=window.scrollY,t=document.documentElement.scrollHeight-window.innerHeight,r=t>0?i/t*100:0;this.nav.classList.toggle("scrolled",i>60),this.scrollProgress.style.width=`${r}%`,this.backToTop.classList.toggle("vis",i>400)}static \u0275fac=function(t){return new(t||a)};static \u0275cmp=d({type:a,selectors:[["app-lordrutra"]],decls:11,vars:16,consts:[[3,"name","twitch"],["id","scroll-progress"],[3,"avatarUrl","name","title","description","socialLinks","backgroundImageUrl"],[3,"aboutText","tags","games"],[1,"divider"],[3,"socialLinks"],[3,"discordUrl","fanarts"],[3,"brandGuidelines","socialLinks"]],template:function(t,r){t&1&&F(0,"app-nav-bar",0)(1,"div",1)(2,"app-hero-banner",2)(3,"app-about",3)(4,"div",4)(5,"app-social-media",5)(6,"div",4)(7,"app-galerie",6)(8,"div",4)(9,"app-media-kit",7)(10,"app-footer"),t&2&&(_("name",r.name)("twitch",r.socialLinks[0]),l(2),_("avatarUrl",r.avatarUrl)("name",r.name)("title",r.title)("description",r.description)("socialLinks",r.socialLinks)("backgroundImageUrl",r.backgroundImageUrl),l(),_("aboutText",r.aboutText)("tags",r.tags)("games",r.games),l(2),_("socialLinks",r.socialLinks),l(2),_("discordUrl",r.discordUrl)("fanarts",r.fanarts),l(2),_("brandGuidelines",r.brandGuidelines)("socialLinks",r.socialLinksMediaKit))},dependencies:[O,S,D,L,A,I,T],styles:[`@font-face{font-family:Cinzel;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/cinzel/v26/8vIJ7ww63mVu7gt7-GT7LEc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Cinzel;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/cinzel/v26/8vIJ7ww63mVu7gt79mT7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Cinzel;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/cinzel/v26/8vIJ7ww63mVu7gt7-GT7LEc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Cinzel;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/cinzel/v26/8vIJ7ww63mVu7gt79mT7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Cinzel;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/cinzel/v26/8vIJ7ww63mVu7gt7-GT7LEc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Cinzel;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/cinzel/v26/8vIJ7ww63mVu7gt79mT7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Cinzel;font-style:normal;font-weight:900;font-display:swap;src:url(https://fonts.gstatic.com/s/cinzel/v26/8vIJ7ww63mVu7gt7-GT7LEc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Cinzel;font-style:normal;font-weight:900;font-display:swap;src:url(https://fonts.gstatic.com/s/cinzel/v26/8vIJ7ww63mVu7gt79mT7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:300;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:300;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:300;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:300;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:300;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:300;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:300;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--bg: #09080f;--bg2: #100d1c;--bg3: #150f22;--red: #c0302a;--red-glow: #e04040;--purple: #7b3fc4;--purple-light: #a063e8;--text: #f0ece8;--text-dim: #9a8ea8;--border: rgba(160,99,232,.15);--card: rgba(21,15,34,.88);--nav-h: 64px}html{scroll-behavior:smooth}body{background:var(--bg);color:var(--text);font-family:Inter,sans-serif;font-weight:400;overflow-x:hidden}app-lordrutra{display:block;background:var(--bg);color:var(--text)}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-track{background:var(--bg)}::-webkit-scrollbar-thumb{background:linear-gradient(to bottom,var(--red),var(--purple));border-radius:3px}#scroll-progress{position:fixed;top:0;left:0;height:2px;width:0%;background:linear-gradient(to right,var(--red),var(--purple-light));z-index:200;transition:width .1s linear}.btn-primary{display:inline-flex;align-items:center;gap:9px;padding:14px 30px;background:var(--red);color:#fff;font-family:Inter,sans-serif;font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;text-decoration:none;border:none;cursor:pointer;clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px));transition:background .25s,transform .15s,box-shadow .25s}.btn-primary:hover{background:var(--red-glow);transform:translateY(-2px);box-shadow:0 8px 28px #e0404059}.btn-secondary{display:inline-flex;align-items:center;gap:9px;padding:14px 30px;background:transparent;color:var(--text-dim);font-family:Inter,sans-serif;font-size:12px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;text-decoration:none;border:1px solid var(--border);cursor:pointer;transition:all .25s}.btn-secondary:hover{border-color:var(--purple-light);color:var(--purple-light);transform:translateY(-2px);box-shadow:0 8px 24px #a063e826}.scroll-indicator{position:absolute;bottom:36px;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;gap:10px;opacity:.3;animation:si-bounce 2.2s ease-in-out infinite;z-index:4;pointer-events:none}@keyframes si-bounce{0%,to{transform:translate(-50%) translateY(0)}50%{transform:translate(-50%) translateY(8px)}}.scroll-line{width:1px;height:48px;background:linear-gradient(to bottom,var(--text-dim),transparent)}.scroll-text{font-size:9px;letter-spacing:.25em;text-transform:uppercase;color:var(--text-dim);writing-mode:vertical-rl}.wrap{max-width:1200px;margin:0 auto;padding:96px 48px}.section-label{font-family:Cinzel,serif;font-size:10px;letter-spacing:.32em;text-transform:uppercase;color:var(--red-glow);margin-bottom:14px;display:flex;align-items:center;gap:12px}.section-label:after{content:"";flex:1;max-width:56px;height:1px;background:linear-gradient(to right,var(--red-glow),transparent)}.section-title{font-family:Cinzel,serif;font-size:clamp(30px,4.5vw,52px);font-weight:700;line-height:1.05;margin-bottom:52px}.divider{max-width:1104px;margin:0 auto;height:1px;background:linear-gradient(to right,transparent,var(--border),transparent)}.rev{opacity:0;transform:translateY(22px);transition:opacity .65s ease,transform .65s ease}.rev.in{opacity:1;transform:none}.d1{transition-delay:.1s}.d2{transition-delay:.2s}.d3{transition-delay:.3s}.d4{transition-delay:.4s}@media(max-width:768px){.wrap{padding:72px 24px}}@media(max-width:480px){.wrap{padding:56px 18px}.btn-primary,.btn-secondary{padding:12px 20px;font-size:11px}.section-title{margin-bottom:36px}#btt{bottom:18px;right:18px;width:38px;height:38px}}#btt{position:fixed;bottom:32px;right:32px;width:44px;height:44px;background:#150f22e6;border:1px solid var(--border);color:var(--text-dim);display:flex;align-items:center;justify-content:center;cursor:pointer;text-decoration:none;opacity:0;transform:translateY(16px);transition:opacity .3s,transform .3s,border-color .2s,color .2s;z-index:50}#btt.vis{opacity:1;transform:translateY(0)}#btt:hover{border-color:var(--purple-light);color:var(--purple-light)} +`],encapsulation:2})};var X=()=>{let a=M($),i=M(Z);return a.isAuthenticated()?!0:i.createUrlTree(["/admin/login"])};var Q=[{path:"lordrutra",component:B},{path:"admin/login",loadComponent:()=>import("./chunk-WJQFUTKA.js").then(a=>a.AdminLogin)},{path:"admin",loadComponent:()=>import("./chunk-DE53CV2Q.js").then(a=>a.AdminDashboard),canActivate:[X]},{path:"",redirectTo:"lordrutra",pathMatch:"full"}];var W={providers:[H(),K({eventCoalescing:!0}),J(Q),R()]};var z=class a{title=V("vtuberSite");static \u0275fac=function(t){return new(t||a)};static \u0275cmp=d({type:a,selectors:[["app-root"]],decls:1,vars:0,template:function(t,r){t&1&&F(0,"router-outlet")},dependencies:[Y],encapsulation:2})};G(z,W).catch(a=>console.error(a)); diff --git a/polyfills-5CFQRCPP.js b/polyfills-5CFQRCPP.js new file mode 100644 index 0000000..b237b5e --- /dev/null +++ b/polyfills-5CFQRCPP.js @@ -0,0 +1,2 @@ +var ce=globalThis;function te(t){return(ce.__Zone_symbol_prefix||"__zone_symbol__")+t}function ht(){let t=ce.performance;function n(I){t&&t.mark&&t.mark(I)}function a(I,s){t&&t.measure&&t.measure(I,s)}n("Zone");class e{static __symbol__=te;static assertZonePatched(){if(ce.Promise!==S.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let s=e.current;for(;s.parent;)s=s.parent;return s}static get current(){return b.zone}static get currentTask(){return D}static __load_patch(s,i,r=!1){if(S.hasOwnProperty(s)){let E=ce[te("forceDuplicateZoneCheck")]===!0;if(!r&&E)throw Error("Already loaded patch: "+s)}else if(!ce["__Zone_disable_"+s]){let E="Zone:"+s;n(E),S[s]=i(ce,e,R),a(E,E)}}get parent(){return this._parent}get name(){return this._name}_parent;_name;_properties;_zoneDelegate;constructor(s,i){this._parent=s,this._name=i?i.name||"unnamed":"",this._properties=i&&i.properties||{},this._zoneDelegate=new f(this,this._parent&&this._parent._zoneDelegate,i)}get(s){let i=this.getZoneWith(s);if(i)return i._properties[s]}getZoneWith(s){let i=this;for(;i;){if(i._properties.hasOwnProperty(s))return i;i=i._parent}return null}fork(s){if(!s)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,s)}wrap(s,i){if(typeof s!="function")throw new Error("Expecting function got: "+s);let r=this._zoneDelegate.intercept(this,s,i),E=this;return function(){return E.runGuarded(r,this,arguments,i)}}run(s,i,r,E){b={parent:b,zone:this};try{return this._zoneDelegate.invoke(this,s,i,r,E)}finally{b=b.parent}}runGuarded(s,i=null,r,E){b={parent:b,zone:this};try{try{return this._zoneDelegate.invoke(this,s,i,r,E)}catch(x){if(this._zoneDelegate.handleError(this,x))throw x}}finally{b=b.parent}}runTask(s,i,r){if(s.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(s.zone||J).name+"; Execution: "+this.name+")");let E=s,{type:x,data:{isPeriodic:ee=!1,isRefreshable:M=!1}={}}=s;if(s.state===q&&(x===U||x===k))return;let he=s.state!=A;he&&E._transitionTo(A,d);let _e=D;D=E,b={parent:b,zone:this};try{x==k&&s.data&&!ee&&!M&&(s.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,E,i,r)}catch(Q){if(this._zoneDelegate.handleError(this,Q))throw Q}}finally{let Q=s.state;if(Q!==q&&Q!==X)if(x==U||ee||M&&Q===p)he&&E._transitionTo(d,A,p);else{let Te=E._zoneDelegates;this._updateTaskCount(E,-1),he&&E._transitionTo(q,A,q),M&&(E._zoneDelegates=Te)}b=b.parent,D=_e}}scheduleTask(s){if(s.zone&&s.zone!==this){let r=this;for(;r;){if(r===s.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${s.zone.name}`);r=r.parent}}s._transitionTo(p,q);let i=[];s._zoneDelegates=i,s._zone=this;try{s=this._zoneDelegate.scheduleTask(this,s)}catch(r){throw s._transitionTo(X,p,q),this._zoneDelegate.handleError(this,r),r}return s._zoneDelegates===i&&this._updateTaskCount(s,1),s.state==p&&s._transitionTo(d,p),s}scheduleMicroTask(s,i,r,E){return this.scheduleTask(new g(F,s,i,r,E,void 0))}scheduleMacroTask(s,i,r,E,x){return this.scheduleTask(new g(k,s,i,r,E,x))}scheduleEventTask(s,i,r,E,x){return this.scheduleTask(new g(U,s,i,r,E,x))}cancelTask(s){if(s.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(s.zone||J).name+"; Execution: "+this.name+")");if(!(s.state!==d&&s.state!==A)){s._transitionTo(V,d,A);try{this._zoneDelegate.cancelTask(this,s)}catch(i){throw s._transitionTo(X,V),this._zoneDelegate.handleError(this,i),i}return this._updateTaskCount(s,-1),s._transitionTo(q,V),s.runCount=-1,s}}_updateTaskCount(s,i){let r=s._zoneDelegates;i==-1&&(s._zoneDelegates=null);for(let E=0;EI.hasTask(i,r),onScheduleTask:(I,s,i,r)=>I.scheduleTask(i,r),onInvokeTask:(I,s,i,r,E,x)=>I.invokeTask(i,r,E,x),onCancelTask:(I,s,i,r)=>I.cancelTask(i,r)};class f{get zone(){return this._zone}_zone;_taskCounts={microTask:0,macroTask:0,eventTask:0};_parentDelegate;_forkDlgt;_forkZS;_forkCurrZone;_interceptDlgt;_interceptZS;_interceptCurrZone;_invokeDlgt;_invokeZS;_invokeCurrZone;_handleErrorDlgt;_handleErrorZS;_handleErrorCurrZone;_scheduleTaskDlgt;_scheduleTaskZS;_scheduleTaskCurrZone;_invokeTaskDlgt;_invokeTaskZS;_invokeTaskCurrZone;_cancelTaskDlgt;_cancelTaskZS;_cancelTaskCurrZone;_hasTaskDlgt;_hasTaskDlgtOwner;_hasTaskZS;_hasTaskCurrZone;constructor(s,i,r){this._zone=s,this._parentDelegate=i,this._forkZS=r&&(r&&r.onFork?r:i._forkZS),this._forkDlgt=r&&(r.onFork?i:i._forkDlgt),this._forkCurrZone=r&&(r.onFork?this._zone:i._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:i._interceptZS),this._interceptDlgt=r&&(r.onIntercept?i:i._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this._zone:i._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:i._invokeZS),this._invokeDlgt=r&&(r.onInvoke?i:i._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this._zone:i._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:i._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?i:i._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this._zone:i._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:i._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?i:i._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this._zone:i._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:i._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?i:i._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this._zone:i._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:i._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?i:i._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this._zone:i._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let E=r&&r.onHasTask,x=i&&i._hasTaskZS;(E||x)&&(this._hasTaskZS=E?r:c,this._hasTaskDlgt=i,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,r.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=i,this._scheduleTaskCurrZone=this._zone),r.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=i,this._invokeTaskCurrZone=this._zone),r.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=i,this._cancelTaskCurrZone=this._zone))}fork(s,i){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,s,i):new e(s,i)}intercept(s,i,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,s,i,r):i}invoke(s,i,r,E,x){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,s,i,r,E,x):i.apply(r,E)}handleError(s,i){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,s,i):!0}scheduleTask(s,i){let r=i;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,s,i),r||(r=i);else if(i.scheduleFn)i.scheduleFn(i);else if(i.type==F)z(i);else throw new Error("Task is missing scheduleFn.");return r}invokeTask(s,i,r,E){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,s,i,r,E):i.callback.apply(r,E)}cancelTask(s,i){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,s,i);else{if(!i.cancelFn)throw Error("Task is not cancelable");r=i.cancelFn(i)}return r}hasTask(s,i){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,s,i)}catch(r){this.handleError(s,r)}}_updateTaskCount(s,i){let r=this._taskCounts,E=r[s],x=r[s]=E+i;if(x<0)throw new Error("More tasks executed then were scheduled.");if(E==0||x==0){let ee={microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:s};this.hasTask(this._zone,ee)}}}class g{type;source;invoke;callback;data;scheduleFn;cancelFn;_zone=null;runCount=0;_zoneDelegates=null;_state="notScheduled";constructor(s,i,r,E,x,ee){if(this.type=s,this.source=i,this.data=E,this.scheduleFn=x,this.cancelFn=ee,!r)throw new Error("callback is not defined");this.callback=r;let M=this;s===U&&E&&E.useG?this.invoke=g.invokeTask:this.invoke=function(){return g.invokeTask.call(ce,M,this,arguments)}}static invokeTask(s,i,r){s||(s=this),K++;try{return s.runCount++,s.zone.runTask(s,i,r)}finally{K==1&&$(),K--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(q,p)}_transitionTo(s,i,r){if(this._state===i||this._state===r)this._state=s,s==q&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${s}', expecting state '${i}'${r?" or '"+r+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let T=te("setTimeout"),y=te("Promise"),w=te("then"),_=[],P=!1,L;function H(I){if(L||ce[y]&&(L=ce[y].resolve(0)),L){let s=L[w];s||(s=L.then),s.call(L,I)}else ce[T](I,0)}function z(I){K===0&&_.length===0&&H($),I&&_.push(I)}function $(){if(!P){for(P=!0;_.length;){let I=_;_=[];for(let s=0;sb,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:z,showUncaughtError:()=>!e[te("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:H},b={parent:null,zone:new e(null,null)},D=null,K=0;function W(){}return a("Zone","Zone"),e}function dt(){let t=globalThis,n=t[te("forceDuplicateZoneCheck")]===!0;if(t.Zone&&(n||typeof t.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return t.Zone??=ht(),t.Zone}var pe=Object.getOwnPropertyDescriptor,Me=Object.defineProperty,Ae=Object.getPrototypeOf,_t=Object.create,Tt=Array.prototype.slice,je="addEventListener",He="removeEventListener",Ne=te(je),Ze=te(He),ae="true",le="false",ve=te("");function Ve(t,n){return Zone.current.wrap(t,n)}function xe(t,n,a,e,c){return Zone.current.scheduleMacroTask(t,n,a,e,c)}var j=te,we=typeof window<"u",be=we?window:void 0,Y=we&&be||globalThis,Et="removeAttribute";function Fe(t,n){for(let a=t.length-1;a>=0;a--)typeof t[a]=="function"&&(t[a]=Ve(t[a],n+"_"+a));return t}function gt(t,n){let a=t.constructor.name;for(let e=0;e{let y=function(){return T.apply(this,Fe(arguments,a+"."+c))};return fe(y,T),y})(f)}}}function et(t){return t?t.writable===!1?!1:!(typeof t.get=="function"&&typeof t.set>"u"):!0}var tt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,De=!("nw"in Y)&&typeof Y.process<"u"&&Y.process.toString()==="[object process]",Ge=!De&&!tt&&!!(we&&be.HTMLElement),nt=typeof Y.process<"u"&&Y.process.toString()==="[object process]"&&!tt&&!!(we&&be.HTMLElement),Ce={},kt=j("enable_beforeunload"),Xe=function(t){if(t=t||Y.event,!t)return;let n=Ce[t.type];n||(n=Ce[t.type]=j("ON_PROPERTY"+t.type));let a=this||t.target||Y,e=a[n],c;if(Ge&&a===be&&t.type==="error"){let f=t;c=e&&e.call(this,f.message,f.filename,f.lineno,f.colno,f.error),c===!0&&t.preventDefault()}else c=e&&e.apply(this,arguments),t.type==="beforeunload"&&Y[kt]&&typeof c=="string"?t.returnValue=c:c!=null&&!c&&t.preventDefault();return c};function Ye(t,n,a){let e=pe(t,n);if(!e&&a&&pe(a,n)&&(e={enumerable:!0,configurable:!0}),!e||!e.configurable)return;let c=j("on"+n+"patched");if(t.hasOwnProperty(c)&&t[c])return;delete e.writable,delete e.value;let f=e.get,g=e.set,T=n.slice(2),y=Ce[T];y||(y=Ce[T]=j("ON_PROPERTY"+T)),e.set=function(w){let _=this;if(!_&&t===Y&&(_=Y),!_)return;typeof _[y]=="function"&&_.removeEventListener(T,Xe),g?.call(_,null),_[y]=w,typeof w=="function"&&_.addEventListener(T,Xe,!1)},e.get=function(){let w=this;if(!w&&t===Y&&(w=Y),!w)return null;let _=w[y];if(_)return _;if(f){let P=f.call(this);if(P)return e.set.call(this,P),typeof w[Et]=="function"&&w.removeAttribute(n),P}return null},Me(t,n,e),t[c]=!0}function rt(t,n,a){if(n)for(let e=0;efunction(g,T){let y=a(g,T);return y.cbIdx>=0&&typeof T[y.cbIdx]=="function"?xe(y.name,T[y.cbIdx],y,c):f.apply(g,T)})}function fe(t,n){t[j("OriginalDelegate")]=n}var $e=!1,Le=!1;function yt(){if($e)return Le;$e=!0;try{let t=be.navigator.userAgent;(t.indexOf("MSIE ")!==-1||t.indexOf("Trident/")!==-1||t.indexOf("Edge/")!==-1)&&(Le=!0)}catch{}return Le}function Je(t){return typeof t=="function"}function Ke(t){return typeof t=="number"}var pt={useG:!0},ne={},ot={},st=new RegExp("^"+ve+"(\\w+)(true|false)$"),it=j("propagationStopped");function ct(t,n){let a=(n?n(t):t)+le,e=(n?n(t):t)+ae,c=ve+a,f=ve+e;ne[t]={},ne[t][le]=c,ne[t][ae]=f}function vt(t,n,a,e){let c=e&&e.add||je,f=e&&e.rm||He,g=e&&e.listeners||"eventListeners",T=e&&e.rmAll||"removeAllListeners",y=j(c),w="."+c+":",_="prependListener",P="."+_+":",L=function(p,d,A){if(p.isRemoved)return;let V=p.callback;typeof V=="object"&&V.handleEvent&&(p.callback=k=>V.handleEvent(k),p.originalDelegate=V);let X;try{p.invoke(p,d,[A])}catch(k){X=k}let F=p.options;if(F&&typeof F=="object"&&F.once){let k=p.originalDelegate?p.originalDelegate:p.callback;d[f].call(d,A.type,k,F)}return X};function H(p,d,A){if(d=d||t.event,!d)return;let V=p||d.target||t,X=V[ne[d.type][A?ae:le]];if(X){let F=[];if(X.length===1){let k=L(X[0],V,d);k&&F.push(k)}else{let k=X.slice();for(let U=0;U{throw U})}}}let z=function(p){return H(this,p,!1)},$=function(p){return H(this,p,!0)};function J(p,d){if(!p)return!1;let A=!0;d&&d.useG!==void 0&&(A=d.useG);let V=d&&d.vh,X=!0;d&&d.chkDup!==void 0&&(X=d.chkDup);let F=!1;d&&d.rt!==void 0&&(F=d.rt);let k=p;for(;k&&!k.hasOwnProperty(c);)k=Ae(k);if(!k&&p[c]&&(k=p),!k||k[y])return!1;let U=d&&d.eventNameToString,S={},R=k[y]=k[c],b=k[j(f)]=k[f],D=k[j(g)]=k[g],K=k[j(T)]=k[T],W;d&&d.prepend&&(W=k[j(d.prepend)]=k[d.prepend]);function I(o,u){return u?typeof o=="boolean"?{capture:o,passive:!0}:o?typeof o=="object"&&o.passive!==!1?{...o,passive:!0}:o:{passive:!0}:o}let s=function(o){if(!S.isExisting)return R.call(S.target,S.eventName,S.capture?$:z,S.options)},i=function(o){if(!o.isRemoved){let u=ne[o.eventName],v;u&&(v=u[o.capture?ae:le]);let C=v&&o.target[v];if(C){for(let m=0;mre.zone.cancelTask(re);o.call(Ee,"abort",ie,{once:!0}),re.removeAbortListener=()=>Ee.removeEventListener("abort",ie)}if(S.target=null,me&&(me.taskData=null),Be&&(S.options.once=!0),typeof re.options!="boolean"&&(re.options=se),re.target=N,re.capture=Se,re.eventName=Z,B&&(re.originalDelegate=G),O?ge.unshift(re):ge.push(re),m)return N}};return k[c]=l(R,w,ee,M,F),W&&(k[_]=l(W,P,E,M,F,!0)),k[f]=function(){let o=this||t,u=arguments[0];d&&d.transferEventName&&(u=d.transferEventName(u));let v=arguments[2],C=v?typeof v=="boolean"?!0:v.capture:!1,m=arguments[1];if(!m)return b.apply(this,arguments);if(V&&!V(b,m,o,arguments))return;let O=ne[u],N;O&&(N=O[C?ae:le]);let Z=N&&o[N];if(Z)for(let G=0;Gfunction(c,f){c[it]=!0,e&&e.apply(c,f)})}function Pt(t,n){n.patchMethod(t,"queueMicrotask",a=>function(e,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}var Re=j("zoneTask");function ke(t,n,a,e){let c=null,f=null;n+=e,a+=e;let g={};function T(w){let _=w.data;_.args[0]=function(){return w.invoke.apply(this,arguments)};let P=c.apply(t,_.args);return Ke(P)?_.handleId=P:(_.handle=P,_.isRefreshable=Je(P.refresh)),w}function y(w){let{handle:_,handleId:P}=w.data;return f.call(t,_??P)}c=ue(t,n,w=>function(_,P){if(Je(P[0])){let L={isRefreshable:!1,isPeriodic:e==="Interval",delay:e==="Timeout"||e==="Interval"?P[1]||0:void 0,args:P},H=P[0];P[0]=function(){try{return H.apply(this,arguments)}finally{let{handle:A,handleId:V,isPeriodic:X,isRefreshable:F}=L;!X&&!F&&(V?delete g[V]:A&&(A[Re]=null))}};let z=xe(n,P[0],L,T,y);if(!z)return z;let{handleId:$,handle:J,isRefreshable:q,isPeriodic:p}=z.data;if($)g[$]=z;else if(J&&(J[Re]=z,q&&!p)){let d=J.refresh;J.refresh=function(){let{zone:A,state:V}=z;return V==="notScheduled"?(z._state="scheduled",A._updateTaskCount(z,1)):V==="running"&&(z._state="scheduling"),d.call(this)}}return J??$??z}else return w.apply(t,P)}),f=ue(t,a,w=>function(_,P){let L=P[0],H;Ke(L)?(H=g[L],delete g[L]):(H=L?.[Re],H?L[Re]=null:H=L),H?.type?H.cancelFn&&H.zone.cancelTask(H):w.apply(t,P)})}function Rt(t,n){let{isBrowser:a,isMix:e}=n.getGlobalObjects();if(!a&&!e||!t.customElements||!("customElements"in t))return;let c=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];n.patchCallbacks(n,t.customElements,"customElements","define",c)}function Ct(t,n){if(Zone[n.symbol("patchEventTarget")])return;let{eventNames:a,zoneSymbolEventNames:e,TRUE_STR:c,FALSE_STR:f,ZONE_SYMBOL_PREFIX:g}=n.getGlobalObjects();for(let y=0;yf.target===t);if(e.length===0)return n;let c=e[0].ignoreProperties;return n.filter(f=>c.indexOf(f)===-1)}function Qe(t,n,a,e){if(!t)return;let c=lt(t,n,a);rt(t,c,e)}function Ie(t){return Object.getOwnPropertyNames(t).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}function Dt(t,n){if(De&&!nt||Zone[t.symbol("patchEvents")])return;let a=n.__Zone_ignore_on_properties,e=[];if(Ge){let c=window;e=e.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let f=[];Qe(c,Ie(c),a&&a.concat(f),Ae(c))}e=e.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{let a=n[t.__symbol__("legacyPatch")];a&&a()}),t.__load_patch("timers",n=>{let e="clear";ke(n,"set",e,"Timeout"),ke(n,"set",e,"Interval"),ke(n,"set",e,"Immediate")}),t.__load_patch("requestAnimationFrame",n=>{ke(n,"request","cancel","AnimationFrame"),ke(n,"mozRequest","mozCancel","AnimationFrame"),ke(n,"webkitRequest","webkitCancel","AnimationFrame")}),t.__load_patch("blocking",(n,a)=>{let e=["alert","prompt","confirm"];for(let c=0;cfunction(w,_){return a.current.run(g,n,_,y)})}}),t.__load_patch("EventTarget",(n,a,e)=>{wt(n,e),Ct(n,e);let c=n.XMLHttpRequestEventTarget;c&&c.prototype&&e.patchEventTarget(n,e,[c.prototype])}),t.__load_patch("MutationObserver",(n,a,e)=>{ye("MutationObserver"),ye("WebKitMutationObserver")}),t.__load_patch("IntersectionObserver",(n,a,e)=>{ye("IntersectionObserver")}),t.__load_patch("FileReader",(n,a,e)=>{ye("FileReader")}),t.__load_patch("on_property",(n,a,e)=>{Dt(e,n)}),t.__load_patch("customElements",(n,a,e)=>{Rt(n,e)}),t.__load_patch("XHR",(n,a)=>{w(n);let e=j("xhrTask"),c=j("xhrSync"),f=j("xhrListener"),g=j("xhrScheduled"),T=j("xhrURL"),y=j("xhrErrorBeforeScheduled");function w(_){let P=_.XMLHttpRequest;if(!P)return;let L=P.prototype;function H(R){return R[e]}let z=L[Ne],$=L[Ze];if(!z){let R=_.XMLHttpRequestEventTarget;if(R){let b=R.prototype;z=b[Ne],$=b[Ze]}}let J="readystatechange",q="scheduled";function p(R){let b=R.data,D=b.target;D[g]=!1,D[y]=!1;let K=D[f];z||(z=D[Ne],$=D[Ze]),K&&$.call(D,J,K);let W=D[f]=()=>{if(D.readyState===D.DONE)if(!b.aborted&&D[g]&&R.state===q){let s=D[a.__symbol__("loadfalse")];if(D.status!==0&&s&&s.length>0){let i=R.invoke;R.invoke=function(){let r=D[a.__symbol__("loadfalse")];for(let E=0;Efunction(R,b){return R[c]=b[2]==!1,R[T]=b[1],V.apply(R,b)}),X="XMLHttpRequest.send",F=j("fetchTaskAborting"),k=j("fetchTaskScheduling"),U=ue(L,"send",()=>function(R,b){if(a.current[k]===!0||R[c])return U.apply(R,b);{let D={target:R,url:R[T],isPeriodic:!1,args:b,aborted:!1},K=xe(X,d,D,p,A);R&&R[y]===!0&&!D.aborted&&K.state===q&&K.invoke()}}),S=ue(L,"abort",()=>function(R,b){let D=H(R);if(D&&typeof D.type=="string"){if(D.cancelFn==null||D.data&&D.data.aborted)return;D.zone.cancelTask(D)}else if(a.current[F]===!0)return S.apply(R,b)})}}),t.__load_patch("geolocation",n=>{n.navigator&&n.navigator.geolocation&>(n.navigator.geolocation,["getCurrentPosition","watchPosition"])}),t.__load_patch("PromiseRejectionEvent",(n,a)=>{function e(c){return function(f){at(n,c).forEach(T=>{let y=n.PromiseRejectionEvent;if(y){let w=new y(c,{promise:f.promise,reason:f.rejection});T.invoke(w)}})}}n.PromiseRejectionEvent&&(a[j("unhandledPromiseRejectionHandler")]=e("unhandledrejection"),a[j("rejectionHandledHandler")]=e("rejectionhandled"))}),t.__load_patch("queueMicrotask",(n,a,e)=>{Pt(n,e)})}function Ot(t){t.__load_patch("ZoneAwarePromise",(n,a,e)=>{let c=Object.getOwnPropertyDescriptor,f=Object.defineProperty;function g(h){if(h&&h.toString===Object.prototype.toString){let l=h.constructor&&h.constructor.name;return(l||"")+": "+JSON.stringify(h)}return h?h.toString():Object.prototype.toString.call(h)}let T=e.symbol,y=[],w=n[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,_=T("Promise"),P=T("then"),L="__creationTrace__";e.onUnhandledError=h=>{if(e.showUncaughtError()){let l=h&&h.rejection;l?console.error("Unhandled Promise rejection:",l instanceof Error?l.message:l,"; Zone:",h.zone.name,"; Task:",h.task&&h.task.source,"; Value:",l,l instanceof Error?l.stack:void 0):console.error(h)}},e.microtaskDrainDone=()=>{for(;y.length;){let h=y.shift();try{h.zone.runGuarded(()=>{throw h.throwOriginal?h.rejection:h})}catch(l){z(l)}}};let H=T("unhandledPromiseRejectionHandler");function z(h){e.onUnhandledError(h);try{let l=a[H];typeof l=="function"&&l.call(this,h)}catch{}}function $(h){return h&&typeof h.then=="function"}function J(h){return h}function q(h){return M.reject(h)}let p=T("state"),d=T("value"),A=T("finally"),V=T("parentPromiseValue"),X=T("parentPromiseState"),F="Promise.then",k=null,U=!0,S=!1,R=0;function b(h,l){return o=>{try{I(h,l,o)}catch(u){I(h,!1,u)}}}let D=function(){let h=!1;return function(o){return function(){h||(h=!0,o.apply(null,arguments))}}},K="Promise resolved with itself",W=T("currentTaskTrace");function I(h,l,o){let u=D();if(h===o)throw new TypeError(K);if(h[p]===k){let v=null;try{(typeof o=="object"||typeof o=="function")&&(v=o&&o.then)}catch(C){return u(()=>{I(h,!1,C)})(),h}if(l!==S&&o instanceof M&&o.hasOwnProperty(p)&&o.hasOwnProperty(d)&&o[p]!==k)i(o),I(h,o[p],o[d]);else if(l!==S&&typeof v=="function")try{v.call(o,u(b(h,l)),u(b(h,!1)))}catch(C){u(()=>{I(h,!1,C)})()}else{h[p]=l;let C=h[d];if(h[d]=o,h[A]===A&&l===U&&(h[p]=h[X],h[d]=h[V]),l===S&&o instanceof Error){let m=a.currentTask&&a.currentTask.data&&a.currentTask.data[L];m&&f(o,W,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{let O=h[d],N=!!o&&A===o[A];N&&(o[V]=O,o[X]=C);let Z=l.run(m,void 0,N&&m!==q&&m!==J?[]:[O]);I(o,!0,Z)}catch(O){I(o,!1,O)}},o)}let E="function ZoneAwarePromise() { [native code] }",x=function(){},ee=n.AggregateError;class M{static toString(){return E}static resolve(l){return l instanceof M?l:I(new this(null),U,l)}static reject(l){return I(new this(null),S,l)}static withResolvers(){let l={};return l.promise=new M((o,u)=>{l.resolve=o,l.reject=u}),l}static any(l){if(!l||typeof l[Symbol.iterator]!="function")return Promise.reject(new ee([],"All promises were rejected"));let o=[],u=0;try{for(let m of l)u++,o.push(M.resolve(m))}catch{return Promise.reject(new ee([],"All promises were rejected"))}if(u===0)return Promise.reject(new ee([],"All promises were rejected"));let v=!1,C=[];return new M((m,O)=>{for(let N=0;N{v||(v=!0,m(Z))},Z=>{C.push(Z),u--,u===0&&(v=!0,O(new ee(C,"All promises were rejected")))})})}static race(l){let o,u,v=new this((O,N)=>{o=O,u=N});function C(O){o(O)}function m(O){u(O)}for(let O of l)$(O)||(O=this.resolve(O)),O.then(C,m);return v}static all(l){return M.allWithCallback(l)}static allSettled(l){return(this&&this.prototype instanceof M?this:M).allWithCallback(l,{thenCallback:u=>({status:"fulfilled",value:u}),errorCallback:u=>({status:"rejected",reason:u})})}static allWithCallback(l,o){let u,v,C=new this((Z,G)=>{u=Z,v=G}),m=2,O=0,N=[];for(let Z of l){$(Z)||(Z=this.resolve(Z));let G=O;try{Z.then(B=>{N[G]=o?o.thenCallback(B):B,m--,m===0&&u(N)},B=>{o?(N[G]=o.errorCallback(B),m--,m===0&&u(N)):v(B)})}catch(B){v(B)}m++,O++}return m-=2,m===0&&u(N),C}constructor(l){let o=this;if(!(o instanceof M))throw new Error("Must be an instanceof Promise.");o[p]=k,o[d]=[];try{let u=D();l&&l(u(b(o,U)),u(b(o,S)))}catch(u){I(o,!1,u)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return M}then(l,o){let u=this.constructor?.[Symbol.species];(!u||typeof u!="function")&&(u=this.constructor||M);let v=new u(x),C=a.current;return this[p]==k?this[d].push(C,v,l,o):r(this,C,v,l,o),v}catch(l){return this.then(null,l)}finally(l){let o=this.constructor?.[Symbol.species];(!o||typeof o!="function")&&(o=M);let u=new o(x);u[A]=A;let v=a.current;return this[p]==k?this[d].push(v,u,l,l):r(this,v,u,l,l),u}}M.resolve=M.resolve,M.reject=M.reject,M.race=M.race,M.all=M.all;let he=n[_]=n.Promise;n.Promise=M;let _e=T("thenPatched");function Q(h){let l=h.prototype,o=c(l,"then");if(o&&(o.writable===!1||!o.configurable))return;let u=l.then;l[P]=u,h.prototype.then=function(v,C){return new M((O,N)=>{u.call(this,O,N)}).then(v,C)},h[_e]=!0}e.patchThen=Q;function Te(h){return function(l,o){let u=h.apply(l,o);if(u instanceof M)return u;let v=u.constructor;return v[_e]||Q(v),u}}return he&&(Q(he),ue(n,"fetch",h=>Te(h))),Promise[a.__symbol__("uncaughtPromiseErrors")]=y,M})}function Nt(t){t.__load_patch("toString",n=>{let a=Function.prototype.toString,e=j("OriginalDelegate"),c=j("Promise"),f=j("Error"),g=function(){if(typeof this=="function"){let _=this[e];if(_)return typeof _=="function"?a.call(_):Object.prototype.toString.call(_);if(this===Promise){let P=n[c];if(P)return a.call(P)}if(this===Error){let P=n[f];if(P)return a.call(P)}}return a.call(this)};g[e]=a,Function.prototype.toString=g;let T=Object.prototype.toString,y="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?y:T.call(this)}})}function Zt(t,n,a,e,c){let f=Zone.__symbol__(e);if(n[f])return;let g=n[f]=n[e];n[e]=function(T,y,w){return y&&y.prototype&&c.forEach(function(_){let P=`${a}.${e}::`+_,L=y.prototype;try{if(L.hasOwnProperty(_)){let H=t.ObjectGetOwnPropertyDescriptor(L,_);H&&H.value?(H.value=t.wrapWithCurrentZone(H.value,P),t._redefineProperty(y.prototype,_,H)):L[_]&&(L[_]=t.wrapWithCurrentZone(L[_],P))}else L[_]&&(L[_]=t.wrapWithCurrentZone(L[_],P))}catch{}}),g.call(n,T,y,w)},t.attachOriginToPatched(n[e],g)}function Lt(t){t.__load_patch("util",(n,a,e)=>{let c=Ie(n);e.patchOnProperties=rt,e.patchMethod=ue,e.bindArguments=Fe,e.patchMacroTask=mt;let f=a.__symbol__("BLACK_LISTED_EVENTS"),g=a.__symbol__("UNPATCHED_EVENTS");n[g]&&(n[f]=n[g]),n[f]&&(a[f]=a[g]=n[f]),e.patchEventPrototype=bt,e.patchEventTarget=vt,e.isIEOrEdge=yt,e.ObjectDefineProperty=Me,e.ObjectGetOwnPropertyDescriptor=pe,e.ObjectCreate=_t,e.ArraySlice=Tt,e.patchClass=ye,e.wrapWithCurrentZone=Ve,e.filterProperties=lt,e.attachOriginToPatched=fe,e._redefineProperty=Object.defineProperty,e.patchCallbacks=Zt,e.getGlobalObjects=()=>({globalSources:ot,zoneSymbolEventNames:ne,eventNames:c,isBrowser:Ge,isMix:nt,isNode:De,TRUE_STR:ae,FALSE_STR:le,ZONE_SYMBOL_PREFIX:ve,ADD_EVENT_LISTENER_STR:je,REMOVE_EVENT_LISTENER_STR:He})})}function It(t){Ot(t),Nt(t),Lt(t)}var ut=dt();It(ut);St(ut); diff --git a/styles-5INURTSO.css b/styles-5INURTSO.css new file mode 100644 index 0000000..e69de29