homebridge-config-ui-x 5.11.2-beta.9 → 5.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -21
- package/dist/core/auth/auth.controller.d.ts +0 -4
- package/dist/core/config/config.interfaces.d.ts +0 -14
- package/dist/core/config/config.service.d.ts +0 -6
- package/dist/core/config/config.service.js +0 -8
- package/dist/core/config/config.service.js.map +1 -1
- package/dist/core/config/config.startup.js +17 -48
- package/dist/core/config/config.startup.js.map +1 -1
- package/dist/core/feature-flags/feature-flags.registry.js +0 -5
- package/dist/core/feature-flags/feature-flags.registry.js.map +1 -1
- package/dist/core/homebridge-ipc/homebridge-ipc.service.js +0 -1
- package/dist/core/homebridge-ipc/homebridge-ipc.service.js.map +1 -1
- package/dist/core/spa/spa.filter.d.ts +0 -3
- package/dist/core/spa/spa.filter.js +2 -22
- package/dist/core/spa/spa.filter.js.map +1 -1
- package/dist/globalDefaults.js +0 -3
- package/dist/globalDefaults.js.map +1 -1
- package/dist/main.js +4 -18
- package/dist/main.js.map +1 -1
- package/dist/modules/accessories/accessories.controller.d.ts +1 -1
- package/dist/modules/accessories/accessories.module.js +0 -2
- package/dist/modules/accessories/accessories.module.js.map +1 -1
- package/dist/modules/accessories/accessories.service.d.ts +3 -21
- package/dist/modules/accessories/accessories.service.js +17 -280
- package/dist/modules/accessories/accessories.service.js.map +1 -1
- package/dist/modules/child-bridges/child-bridges.interfaces.d.ts +0 -9
- package/dist/modules/config-editor/config-editor.controller.d.ts +0 -4
- package/dist/modules/config-editor/config-editor.controller.js +0 -64
- package/dist/modules/config-editor/config-editor.controller.js.map +1 -1
- package/dist/modules/config-editor/config-editor.service.d.ts +1 -6
- package/dist/modules/config-editor/config-editor.service.js +1 -45
- package/dist/modules/config-editor/config-editor.service.js.map +1 -1
- package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.service.js +1 -1
- package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.service.js.map +1 -1
- package/dist/modules/plugins/plugins.module.js +1 -1
- package/dist/modules/plugins/plugins.service.js +2 -17
- package/dist/modules/plugins/plugins.service.js.map +1 -1
- package/dist/modules/server/server.controller.d.ts +0 -50
- package/dist/modules/server/server.controller.js +2 -201
- package/dist/modules/server/server.controller.js.map +1 -1
- package/dist/modules/server/server.service.d.ts +0 -48
- package/dist/modules/server/server.service.js +14 -502
- package/dist/modules/server/server.service.js.map +1 -1
- package/dist/modules/status/status.gateway.d.ts +0 -2
- package/dist/modules/status/status.interfaces.d.ts +0 -11
- package/dist/modules/status/status.service.d.ts +1 -4
- package/dist/modules/status/status.service.js +2 -21
- package/dist/modules/status/status.service.js.map +1 -1
- package/package.json +5 -7
- package/public/3rdpartylicenses.txt +620 -594
- package/public/assets/plugin-ui-utils/ui.js +0 -3
- package/public/assets/plugin-ui-utils/ui.js.map +1 -1
- package/public/chunk-2BB4D4TW.js +1 -0
- package/public/chunk-2GCZ3AMH.js +1 -0
- package/public/chunk-2K5FWBCK.js +8 -0
- package/public/chunk-2LQBMVWH.js +1 -0
- package/public/chunk-34ZN4GVA.js +3 -0
- package/public/chunk-3JW6FD5V.js +1 -0
- package/public/chunk-57XTQ6PK.js +1 -0
- package/public/chunk-5DBV5PYR.js +19 -0
- package/public/chunk-5GKTPXPE.js +1 -0
- package/public/chunk-5X7ARCKG.js +5 -0
- package/public/chunk-67HOYJJ2.js +1 -0
- package/public/chunk-6MZHUZRT.js +4 -0
- package/public/chunk-77CMUO6J.js +1 -0
- package/public/chunk-7LJYL7EH.js +1 -0
- package/public/chunk-7TFBELRD.js +1 -0
- package/public/chunk-AXOHPUQR.js +1 -0
- package/public/chunk-BMAZBLAT.js +1 -0
- package/public/chunk-C554TVZA.js +2 -0
- package/public/chunk-DGDNSN6I.js +1 -0
- package/public/chunk-E6RSPO2D.js +1 -0
- package/public/chunk-ESQ665GW.js +5 -0
- package/public/chunk-G4QH622U.js +5 -0
- package/public/chunk-GKPR5M7S.js +1 -0
- package/public/chunk-GT7UMMFF.js +2 -0
- package/public/chunk-HBIQJCSE.js +1 -0
- package/public/{chunk-BMOLDRJ3.js → chunk-JLZ5WU6N.js} +1 -1
- package/public/chunk-JSZIAFBJ.js +1 -0
- package/public/chunk-JWQRV434.js +1 -0
- package/public/chunk-JX72JCMA.js +1 -0
- package/public/chunk-KT26K4DO.js +1 -0
- package/public/chunk-L63FND3A.js +1 -0
- package/public/chunk-LSXTHVKB.js +1 -0
- package/public/chunk-N5VXONVW.js +1 -0
- package/public/{chunk-H7F7H5MW.js → chunk-N6JGA2PG.js} +1 -1
- package/public/chunk-NVCJ3EJS.js +1 -0
- package/public/chunk-OPJZWDSO.js +1 -0
- package/public/chunk-OXBXHVWY.js +8 -0
- package/public/chunk-QHROK73U.js +50 -0
- package/public/chunk-QNEXPAIT.js +1 -0
- package/public/chunk-R2G2YWV4.js +51 -0
- package/public/chunk-RCNF365Q.js +1 -0
- package/public/chunk-RT6EDRIH.js +1 -0
- package/public/chunk-RWM6K46M.js +1 -0
- package/public/chunk-SVVR6UMH.js +1 -0
- package/public/chunk-UI4U37MO.js +1 -0
- package/public/chunk-ULKYNDD3.js +16 -0
- package/public/chunk-UPZ5UT6G.js +1 -0
- package/public/chunk-UQFIBBEZ.js +1 -0
- package/public/chunk-UWUTC3BD.js +1 -0
- package/public/chunk-UZ6QYM64.js +1 -0
- package/public/{chunk-IDVQIBZN.js → chunk-VKHX6FUQ.js} +2 -52
- package/public/chunk-VM2MV3DC.js +1 -0
- package/public/chunk-VM6FMRHY.js +1 -0
- package/public/chunk-VYK3U745.js +1 -0
- package/public/chunk-VZJJWHRX.js +1 -0
- package/public/chunk-WHC4E7WY.js +1 -0
- package/public/chunk-WJKVPIP2.js +1 -0
- package/public/chunk-WOBQOQPU.js +1 -0
- package/public/chunk-WTGHGHPV.js +1 -0
- package/public/chunk-WY6UQ47H.js +1 -0
- package/public/chunk-X4ZEQSRY.js +4 -0
- package/public/{chunk-TJXF3MRO.js → chunk-XVO5247V.js} +1 -1
- package/public/chunk-XWNU2MFJ.js +1 -0
- package/public/chunk-YD3GJ2C6.js +1 -0
- package/public/chunk-YUEGV7HK.js +4 -0
- package/public/chunk-ZLRFR32W.js +1 -0
- package/public/chunk-ZZ5IX26U.js +40 -0
- package/public/chunk-ZZQEWRDE.js +1 -0
- package/public/index.html +2 -2
- package/public/main-VKVUZHHA.js +1 -0
- package/public/polyfills-5KWHJ7II.js +2 -0
- package/public/styles-7EFV5QBG.css +1 -0
- package/scripts/extract-plugin-alias.js +2 -53
- package/dist/core/spa/spa-html.service.d.ts +0 -5
- package/dist/core/spa/spa-html.service.js +0 -32
- package/dist/core/spa/spa-html.service.js.map +0 -1
- package/dist/core/ssl/ssl-cert-generator.service.d.ts +0 -15
- package/dist/core/ssl/ssl-cert-generator.service.js +0 -125
- package/dist/core/ssl/ssl-cert-generator.service.js.map +0 -1
- package/dist/modules/accessories/accessories.interfaces.d.ts +0 -94
- package/dist/modules/accessories/accessories.interfaces.js +0 -2
- package/dist/modules/accessories/accessories.interfaces.js.map +0 -1
- package/docs/matter-todo.md +0 -15
- package/docs/ssl-upload-pr.md +0 -103
- package/public/assets/matter.svg +0 -8
- package/public/chunk-2OWZ4XP5.js +0 -5
- package/public/chunk-3N7C33O4.js +0 -1
- package/public/chunk-4UVYLGCZ.js +0 -1
- package/public/chunk-4XUH7NXA.js +0 -1
- package/public/chunk-52X3LPJH.js +0 -1
- package/public/chunk-5R6AJZGA.js +0 -1
- package/public/chunk-6CBJSM3U.js +0 -4
- package/public/chunk-6DLZEENG.js +0 -1
- package/public/chunk-6QWPGE2L.js +0 -1
- package/public/chunk-77S5CL3V.js +0 -1
- package/public/chunk-7BMHIIBT.js +0 -1
- package/public/chunk-7JIIKSDG.js +0 -1
- package/public/chunk-7WKZ7EMI.js +0 -1
- package/public/chunk-7WUBDTA6.js +0 -1
- package/public/chunk-A2MXGFJ6.js +0 -1
- package/public/chunk-AWTSOXJ2.js +0 -2
- package/public/chunk-B46EWHBD.js +0 -1
- package/public/chunk-B4AJQJMI.js +0 -1
- package/public/chunk-B75B723G.js +0 -1
- package/public/chunk-BBBDRQZR.js +0 -1
- package/public/chunk-BQRKHSGH.js +0 -1
- package/public/chunk-BXRCPOIK.js +0 -1
- package/public/chunk-BZ3XB6O4.js +0 -1
- package/public/chunk-CKURAGOR.js +0 -1
- package/public/chunk-CMERG3AC.js +0 -1
- package/public/chunk-CPT52C2F.js +0 -1
- package/public/chunk-DFG4HJK5.js +0 -1
- package/public/chunk-DPITSP7F.js +0 -5
- package/public/chunk-DSSLC7R5.js +0 -1
- package/public/chunk-ETWBSGPI.js +0 -1
- package/public/chunk-F635TFLI.js +0 -1
- package/public/chunk-GJG6QZ7P.js +0 -1
- package/public/chunk-GU5F3H4I.js +0 -1
- package/public/chunk-GVFAT25G.js +0 -3
- package/public/chunk-H4WASUXW.js +0 -1
- package/public/chunk-HBUIXUR3.js +0 -12
- package/public/chunk-HN6QQBDC.js +0 -1
- package/public/chunk-HUTYOGRH.js +0 -4
- package/public/chunk-HYHFIPBC.js +0 -1
- package/public/chunk-IBUR2RIO.js +0 -1
- package/public/chunk-IDJSTIFL.js +0 -1
- package/public/chunk-IP6FLYVL.js +0 -1
- package/public/chunk-IPI77WYV.js +0 -1
- package/public/chunk-J2DDS6ED.js +0 -1
- package/public/chunk-J6ND4K5Q.js +0 -1
- package/public/chunk-JUQRWAIR.js +0 -1
- package/public/chunk-JWGWPSC6.js +0 -1
- package/public/chunk-JWUEJV6S.js +0 -1
- package/public/chunk-K7PJFUH4.js +0 -1
- package/public/chunk-KFPYUDGJ.js +0 -1
- package/public/chunk-KIRW7NMH.js +0 -1
- package/public/chunk-KV4RQA3A.js +0 -1
- package/public/chunk-LAVT57X4.js +0 -1
- package/public/chunk-LI37IF2Z.js +0 -1
- package/public/chunk-LKJRMUOE.js +0 -1
- package/public/chunk-LLNAB3NM.js +0 -35
- package/public/chunk-LO72RI4S.js +0 -1
- package/public/chunk-LVQWSVHA.js +0 -1
- package/public/chunk-LZ7S7WKH.js +0 -1
- package/public/chunk-LZTSIWKP.js +0 -19
- package/public/chunk-MDHWQ5V2.js +0 -8
- package/public/chunk-MJP4XVUI.js +0 -1
- package/public/chunk-N3SESV2P.js +0 -1
- package/public/chunk-NAICVRJH.js +0 -1
- package/public/chunk-NCFDA3W4.js +0 -1
- package/public/chunk-OS475ZQO.js +0 -1
- package/public/chunk-OVQGZ4C6.js +0 -2
- package/public/chunk-PAZUAFSZ.js +0 -1
- package/public/chunk-PD3Q2PZE.js +0 -1
- package/public/chunk-PEUDPLH6.js +0 -1
- package/public/chunk-PRGOUVRO.js +0 -1
- package/public/chunk-PYPOWROR.js +0 -2
- package/public/chunk-QE7VI3JB.js +0 -1
- package/public/chunk-QES44GQE.js +0 -1
- package/public/chunk-R2CO54AK.js +0 -19
- package/public/chunk-R6MQZ2DW.js +0 -1
- package/public/chunk-RESZLSD7.js +0 -1
- package/public/chunk-RGWFM4OK.js +0 -1
- package/public/chunk-RI4GLH22.js +0 -1
- package/public/chunk-RP5JPYDI.js +0 -1
- package/public/chunk-RT25QBCQ.js +0 -1
- package/public/chunk-RVWZNTDJ.js +0 -1
- package/public/chunk-RXDY2NMJ.js +0 -1
- package/public/chunk-SDRRZFEQ.js +0 -1
- package/public/chunk-SPC2DLZR.js +0 -3
- package/public/chunk-TCJMUYCJ.js +0 -16
- package/public/chunk-TCUQZ3QO.js +0 -1
- package/public/chunk-TQBVDY26.js +0 -1
- package/public/chunk-U24HWDVU.js +0 -1
- package/public/chunk-U2NM4L2D.js +0 -1
- package/public/chunk-UFVCK77E.js +0 -68
- package/public/chunk-UWYTPKKV.js +0 -1
- package/public/chunk-V2TVR4X3.js +0 -1
- package/public/chunk-VKR3GG6K.js +0 -1
- package/public/chunk-W4WAFNIS.js +0 -1
- package/public/chunk-W55SP3LJ.js +0 -1
- package/public/chunk-WP3AD6W5.js +0 -1
- package/public/chunk-WU7URLRW.js +0 -1
- package/public/chunk-X6RWNTC7.js +0 -1
- package/public/chunk-XPFMPBEG.js +0 -1
- package/public/chunk-Y3PXWRYQ.js +0 -1
- package/public/chunk-Y5WP66WK.js +0 -1
- package/public/chunk-YCQCWGBG.js +0 -1
- package/public/chunk-YHBVXMFX.js +0 -1
- package/public/chunk-Z5PUNNUZ.js +0 -1
- package/public/chunk-ZAWMHW3P.js +0 -1
- package/public/chunk-ZCGZM7LU.js +0 -1
- package/public/chunk-ZSFO6PRU.js +0 -4
- package/public/main-EZDP2TWN.js +0 -1
- package/public/media/matter-P563JGDL.svg +0 -8
- package/public/polyfills-34U4WL3Z.js +0 -1
- package/public/styles-CT2LPGES.css +0 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
var Py=Object.create;var ko=Object.defineProperty,Ly=Object.defineProperties,jy=Object.getOwnPropertyDescriptor,By=Object.getOwnPropertyDescriptors,Vy=Object.getOwnPropertyNames,Fo=Object.getOwnPropertySymbols,Hy=Object.getPrototypeOf,Da=Object.prototype.hasOwnProperty,Id=Object.prototype.propertyIsEnumerable;var Ed=(e,t,n)=>t in e?ko(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,z=(e,t)=>{for(var n in t||={})Da.call(t,n)&&Ed(e,n,t[n]);if(Fo)for(var n of Fo(t))Id.call(t,n)&&Ed(e,n,t[n]);return e},oe=(e,t)=>Ly(e,By(t));var U_=e=>t=>{var n=e[t];if(n)return n();throw new Error("Module not found in bundle: "+t)};var Uy=(e,t)=>{var n={};for(var r in e)Da.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Fo)for(var r of Fo(e))t.indexOf(r)<0&&Id.call(e,r)&&(n[r]=e[r]);return n};var $_=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),z_=(e,t)=>{for(var n in t)ko(e,n,{get:t[n],enumerable:!0})},$y=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Vy(t))!Da.call(e,o)&&o!==n&&ko(e,o,{get:()=>t[o],enumerable:!(r=jy(t,o))||r.enumerable});return e};var G_=(e,t,n)=>(n=e!=null?Py(Hy(e)):{},$y(t||!e||!e.__esModule?ko(n,"default",{value:e,enumerable:!0}):n,e));var _n=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(u){o(u)}},s=c=>{try{a(n.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});function T(e){return typeof e=="function"}function Mn(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 Po=Mn(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
|
|
2
|
+
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
3
|
+
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function qt(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(T(r))try{r()}catch(i){t=i instanceof Po?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{wd(i)}catch(s){t=t??[],s instanceof Po?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Po(t)}}add(t){var n;if(t&&t!==this)if(this.closed)wd(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)&&qt(n,t)}remove(t){let{_finalizers:n}=this;n&&qt(n,t),t instanceof e&&t._removeParent(this)}};G.EMPTY=(()=>{let e=new G;return e.closed=!0,e})();var Ea=G.EMPTY;function Lo(e){return e instanceof G||e&&"closed"in e&&T(e.remove)&&T(e.add)&&T(e.unsubscribe)}function wd(e){T(e)?e():e.unsubscribe()}var Pe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Sn={setTimeout(e,t,...n){let{delegate:r}=Sn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Sn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function jo(e){Sn.setTimeout(()=>{let{onUnhandledError:t}=Pe;if(t)t(e);else throw e})}function ht(){}var Cd=Ia("C",void 0,void 0);function bd(e){return Ia("E",void 0,e)}function Td(e){return Ia("N",e,void 0)}function Ia(e,t,n){return{kind:e,value:t,error:n}}var Zt=null;function Nn(e){if(Pe.useDeprecatedSynchronousErrorHandling){let t=!Zt;if(t&&(Zt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Zt;if(Zt=null,n)throw r}}else e()}function _d(e){Pe.useDeprecatedSynchronousErrorHandling&&Zt&&(Zt.errorThrown=!0,Zt.error=e)}var Yt=class extends G{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Lo(t)&&t.add(this)):this.destination=Wy}static create(t,n,r){return new Le(t,n,r)}next(t){this.isStopped?Ca(Td(t),this):this._next(t)}error(t){this.isStopped?Ca(bd(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ca(Cd,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()}}},zy=Function.prototype.bind;function wa(e,t){return zy.call(e,t)}var ba=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Bo(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Bo(r)}else Bo(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Bo(n)}}},Le=class extends Yt{constructor(t,n,r){super();let o;if(T(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Pe.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&wa(t.next,i),error:t.error&&wa(t.error,i),complete:t.complete&&wa(t.complete,i)}):o=t}this.destination=new ba(o)}};function Bo(e){Pe.useDeprecatedSynchronousErrorHandling?_d(e):jo(e)}function Gy(e){throw e}function Ca(e,t){let{onStoppedNotification:n}=Pe;n&&Sn.setTimeout(()=>n(e,t))}var Wy={closed:!0,next:ht,error:Gy,complete:ht};var An=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ie(e){return e}function qy(...e){return Ta(e)}function Ta(e){return e.length===0?ie: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=Yy(n)?n:new Le(n,r,o);return Nn(()=>{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=Md(r),new r((o,i)=>{let s=new Le({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)}[An](){return this}pipe(...n){return Ta(n)(this)}toPromise(n){return n=Md(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 Md(e){var t;return(t=e??Pe.Promise)!==null&&t!==void 0?t:Promise}function Zy(e){return e&&T(e.next)&&T(e.error)&&T(e.complete)}function Yy(e){return e&&e instanceof Yt||Zy(e)&&Lo(e)}var Sd=Mn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var pe=(()=>{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 Sd}next(n){Nn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Nn(()=>{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(){Nn(()=>{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?Ea:(this.currentObservers=null,i.push(n),new G(()=>{this.currentObservers=null,qt(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 pe{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:Ea}};var je=Mn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Qy(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new Le({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new je)}});e.subscribe(i)})}var Ho=class extends G{constructor(t,n){super()}schedule(t,n=0){return this}};var wr={setInterval(e,t,...n){let{delegate:r}=wr;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=wr;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var xn=class extends Ho{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return wr.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&wr.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,qt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Cr={now(){return(Cr.delegate||Date).now()},delegate:void 0};var Rn=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Rn.now=Cr.now;var On=class extends Rn{constructor(t,n=Rn.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var gt=new On(xn),Nd=gt;function _a(e){return T(e?.lift)}function N(e){return t=>{if(_a(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 C(e,t,n,r,o){return new Ma(e,t,n,r,o)}var Ma=class extends Yt{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 Ad(e,t=gt){return N((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let u=i;i=null,r.next(u)}};function c(){let u=s+e,l=t.now();if(l<u){o=this.schedule(void 0,u-l),r.add(o);return}a()}n.subscribe(C(r,u=>{i=u,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}var mt=new A(e=>e.complete());function Fn(e){return e<=0?()=>mt:N((t,n)=>{let r=0;t.subscribe(C(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Sa(){return N((e,t)=>{let n=null;e._refCount++;let r=C(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 Na=class extends A{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,_a(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(C(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 Sa()(this)}};var kn={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=kn;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new G(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=kn;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=kn;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var br=class extends pe{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 Uo=class extends pe{constructor(t=1/0,n=1/0,r=Cr){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var $o=class extends xn{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=kn.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&n===t._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(kn.cancelAnimationFrame(n),t._scheduled=void 0)}};var zo=class extends On{flush(t){this._active=!0;let n;t?n=t.id:(n=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Ky=new zo($o);function Go(e){return e&&T(e.schedule)}function Aa(e){return e[e.length-1]}function xt(e){return T(Aa(e))?e.pop():void 0}function Ze(e){return Go(Aa(e))?e.pop():void 0}function xd(e,t){return typeof Aa(e)=="number"?e.pop():t}function Od(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(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function Rd(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 Qt(e){return this instanceof Qt?(this.v=e,this):new Qt(e)}function Fd(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(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(D){return new Promise(function(v,m){i.push([f,D,v,m])>1||c(f,D)})},h&&(o[f]=h(o[f])))}function c(f,h){try{u(r[f](h))}catch(D){p(i[0][3],D)}}function u(f){f.value instanceof Qt?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function kd(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 Rd=="function"?Rd(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(u){i({value:u,done:a})},s)}}var Pn=e=>e&&typeof e.length=="number"&&typeof e!="function";function Wo(e){return T(e?.then)}function qo(e){return T(e[An])}function Zo(e){return Symbol.asyncIterator&&T(e?.[Symbol.asyncIterator])}function Yo(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 Jy(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Qo=Jy();function Ko(e){return T(e?.[Qo])}function Jo(e){return Fd(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Qt(n.read());if(o)return yield Qt(void 0);yield yield Qt(r)}}finally{n.releaseLock()}})}function Xo(e){return T(e?.getReader)}function R(e){if(e instanceof A)return e;if(e!=null){if(qo(e))return Xy(e);if(Pn(e))return ev(e);if(Wo(e))return tv(e);if(Zo(e))return Pd(e);if(Ko(e))return nv(e);if(Xo(e))return rv(e)}throw Yo(e)}function Xy(e){return new A(t=>{let n=e[An]();if(T(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function ev(e){return new A(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function tv(e){return new A(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,jo)})}function nv(e){return new A(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Pd(e){return new A(t=>{ov(e,t).catch(n=>t.error(n))})}function rv(e){return Pd(Jo(e))}function ov(e,t){var n,r,o,i;return Od(this,void 0,void 0,function*(){try{for(n=kd(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 ei(e,t=0){return N((n,r)=>{n.subscribe(C(r,o=>he(r,e,()=>r.next(o),t),()=>he(r,e,()=>r.complete(),t),o=>he(r,e,()=>r.error(o),t)))})}function ti(e,t=0){return N((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ld(e,t){return R(e).pipe(ti(t),ei(t))}function jd(e,t){return R(e).pipe(ti(t),ei(t))}function Bd(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 Vd(e,t){return new A(n=>{let r;return he(n,t,()=>{r=e[Qo](),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)}),()=>T(r?.return)&&r.return()})}function ni(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 Hd(e,t){return ni(Jo(e),t)}function Ud(e,t){if(e!=null){if(qo(e))return Ld(e,t);if(Pn(e))return Bd(e,t);if(Wo(e))return jd(e,t);if(Zo(e))return ni(e,t);if(Ko(e))return Vd(e,t);if(Xo(e))return Hd(e,t)}throw Yo(e)}function Ye(e,t){return t?Ud(e,t):R(e)}function Ln(...e){let t=Ze(e);return Ye(e,t)}function iv(e,t){let n=T(e)?e:()=>e,r=o=>o.error(n());return new A(t?o=>t.schedule(r,0,o):r)}function sv(e){return!!e&&(e instanceof A||T(e.lift)&&T(e.subscribe))}function av(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=!1,s;e.subscribe({next:a=>{s=a,i=!0},error:o,complete:()=>{i?r(s):n?r(t.defaultValue):o(new je)}})})}function $d(e){return e instanceof Date&&!isNaN(e)}function ge(e,t){return N((n,r)=>{let o=0;n.subscribe(C(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:cv}=Array;function uv(e,t){return cv(t)?e(...t):e(t)}function jn(e){return ge(t=>uv(e,t))}var{isArray:lv}=Array,{getPrototypeOf:dv,prototype:fv,keys:pv}=Object;function ri(e){if(e.length===1){let t=e[0];if(lv(t))return{args:t,keys:null};if(hv(t)){let n=pv(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function hv(e){return e&&typeof e=="object"&&dv(e)===fv}function oi(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function gv(...e){let t=Ze(e),n=xt(e),{args:r,keys:o}=ri(e);if(r.length===0)return Ye([],t);let i=new A(mv(r,t,o?s=>oi(o,s):ie));return n?i.pipe(jn(n)):i}function mv(e,t,n=ie){return r=>{zd(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)zd(t,()=>{let u=Ye(e[c],t),l=!1;u.subscribe(C(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function zd(e,t,n){e?he(n,e,t):t()}function Gd(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&t.complete()},f=D=>u<r?h(D):c.push(D),h=D=>{i&&t.next(D),u++;let v=!1;R(n(D,l++)).subscribe(C(t,m=>{o?.(m),i?f(m):t.next(m)},()=>{v=!0},void 0,()=>{if(v)try{for(u--;c.length&&u<r;){let m=c.shift();s?he(t,s,()=>h(m)):h(m)}p()}catch(m){t.error(m)}}))};return e.subscribe(C(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Be(e,t,n=1/0){return T(t)?Be((r,o)=>ge((i,s)=>t(r,i,o,s))(R(e(r,o))),n):(typeof t=="number"&&(n=t),N((r,o)=>Gd(r,o,e,n)))}function Tr(e=1/0){return Be(ie,e)}function Wd(){return Tr(1)}function Rt(...e){return Wd()(Ye(e,Ze(e)))}function yv(e){return new A(t=>{R(e()).subscribe(t)})}function vv(...e){let t=xt(e),{args:n,keys:r}=ri(e),o=new A(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;R(n[l]).subscribe(C(i,p=>{d||(d=!0,u--),a[l]=p},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?oi(r,a):a),i.complete())}))}});return t?o.pipe(jn(t)):o}var Dv=["addListener","removeListener"],Ev=["addEventListener","removeEventListener"],Iv=["on","off"];function xa(e,t,n,r){if(T(n)&&(r=n,n=void 0),r)return xa(e,t,n).pipe(jn(r));let[o,i]=bv(e)?Ev.map(s=>a=>e[s](t,a,n)):wv(e)?Dv.map(qd(e,t)):Cv(e)?Iv.map(qd(e,t)):[];if(!o&&Pn(e))return Be(s=>xa(s,t,n))(R(e));if(!o)throw new TypeError("Invalid event target");return new A(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function qd(e,t){return n=>r=>e[n](t,r)}function wv(e){return T(e.addListener)&&T(e.removeListener)}function Cv(e){return T(e.on)&&T(e.off)}function bv(e){return T(e.addEventListener)&&T(e.removeEventListener)}function Kt(e=0,t,n=Nd){let r=-1;return t!=null&&(Go(t)?n=t:r=t),new A(o=>{let i=$d(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Tv(e=0,t=gt){return e<0&&(e=0),Kt(e,e,t)}function _v(...e){let t=Ze(e),n=xd(e,1/0),r=e;return r.length?r.length===1?R(r[0]):Tr(n)(Ye(r,t)):mt}var{isArray:Mv}=Array;function ii(e){return e.length===1&&Mv(e[0])?e[0]:e}function yt(e,t){return N((n,r)=>{let o=0;n.subscribe(C(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Sv(...e){return e=ii(e),e.length===1?R(e[0]):new A(Nv(e))}function Nv(e){return t=>{let n=[];for(let r=0;n&&!t.closed&&r<e.length;r++)n.push(R(e[r]).subscribe(C(t,o=>{if(n){for(let i=0;i<n.length;i++)i!==r&&n[i].unsubscribe();n=null}t.next(o)})))}}function Av(...e){let t=xt(e),n=ii(e);return n.length?new A(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)R(n[s]).subscribe(C(r,a=>{if(o[s].push(a),o.every(c=>c.length)){let c=o.map(u=>u.shift());r.next(t?t(...c):c),o.some((u,l)=>!u.length&&i[l])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):mt}function Zd(e){return N((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let u=o;o=null,n.next(u)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(C(n,u=>{r=!0,o=u,i||R(e(u)).subscribe(i=C(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function xv(e,t=gt){return Zd(()=>Kt(e,t))}function Yd(e){return N((t,n)=>{let r=null,o=!1,i;r=t.subscribe(C(n,void 0,void 0,s=>{i=R(e(s,Yd(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Qd(e,t,n,r,o){return(i,s)=>{let a=n,c=t,u=0;i.subscribe(C(s,l=>{let d=u++;c=a?e(c,l,d):(a=!0,l),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Ra(e,t){return T(t)?Be(e,t,1):Be(e,1)}function _r(e){return N((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Kd(){return N((e,t)=>{e.subscribe(C(t,ht))})}function Jd(e){return ge(()=>e)}function Oa(e,t){return t?n=>Rt(t.pipe(Fn(1),Kd()),n.pipe(Oa(e))):Be((n,r)=>R(e(n,r)).pipe(Fn(1),Jd(n)))}function Rv(e,t=gt){let n=Kt(e,t);return Oa(()=>n)}function Ov(e,t=ie){return e=e??Fv,N((n,r)=>{let o,i=!0;n.subscribe(C(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Fv(e,t){return e===t}function si(e=kv){return N((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function kv(){return new je}function Pv(...e){return t=>Rt(t,Ln(...e))}function ai(e){return N((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Lv(e,t){let n=arguments.length>=2;return r=>r.pipe(e?yt((o,i)=>e(o,i,r)):ie,Fn(1),n?_r(t):si(()=>new je))}function Fa(e){return e<=0?()=>mt:N((t,n)=>{let r=[];t.subscribe(C(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function jv(e,t){let n=arguments.length>=2;return r=>r.pipe(e?yt((o,i)=>e(o,i,r)):ie,Fa(1),n?_r(t):si(()=>new je))}function Bv(e,t){return N(Qd(e,t,arguments.length>=2,!0))}function Xd(e={}){let{connector:t=()=>new pe,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,l=d=!1},h=()=>{let D=s;f(),D?.unsubscribe()};return N((D,v)=>{u++,!d&&!l&&p();let m=c=c??t();v.add(()=>{u--,u===0&&!d&&!l&&(a=ka(h,o))}),m.subscribe(v),!s&&u>0&&(s=new Le({next:O=>m.next(O),error:O=>{d=!0,p(),a=ka(f,n,O),m.error(O)},complete:()=>{l=!0,p(),a=ka(f,r),m.complete()}}),R(D).subscribe(s))})(i)}}function ka(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Le({next:()=>{r.unsubscribe(),e()}});return R(t(...n)).subscribe(r)}function Vv(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Xd({connector:()=>new Uo(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Hv(e){return yt((t,n)=>e<=n)}function Uv(...e){let t=Ze(e);return N((n,r)=>{(t?Rt(e,n,t):Rt(e,n)).subscribe(r)})}function ci(e,t){return N((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(C(r,c=>{o?.unsubscribe();let u=0,l=i++;R(e(c,l)).subscribe(o=C(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function ef(e){return N((t,n)=>{R(e).subscribe(C(n,()=>n.complete(),ht)),!n.closed&&t.subscribe(n)})}function $v(e,t,n){let r=T(e)||t||n?{next:e,error:t,complete:n}:e;return r?N((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(C(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):ie}function zv(...e){let t=xt(e);return N((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c<o;c++)R(e[c]).subscribe(C(r,u=>{i[c]=u,!a&&!s[c]&&(s[c]=!0,(a=s.every(ie))&&(s=null))},ht));n.subscribe(C(r,c=>{if(a){let u=[c,...i];r.next(t?t(...u):u)}}))})}var Pa;function ui(){return Pa}function Qe(e){let t=Pa;return Pa=e,t}var tf=Symbol("NotFound");function Bn(e){return e===tf||e?.name==="\u0275NotFound"}var se=null,li=!1,La=1,Gv=null,ee=Symbol("SIGNAL");function M(e){let t=se;return se=e,t}function hi(){return se}var Vn={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 Jt(e){if(li)throw new Error("");if(se===null)return;se.consumerOnSignalRead(e);let t=se.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=se.recomputing;if(r&&(n=t!==void 0?t.nextProducer:se.producers,n!==void 0&&n.producer===e)){se.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===se&&(!r||qv(o,se)))return;let i=Un(se),s={producer:e,consumer:se,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};se.producersTail=s,t!==void 0?t.nextProducer=s:se.producers=s,i&&sf(e,s)}function nf(){La++}function gi(e){if(!(Un(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===La)){if(!e.producerMustRecompute(e)&&!Nr(e)){pi(e);return}e.producerRecomputeValue(e),pi(e)}}function ja(e){if(e.consumers===void 0)return;let t=li;li=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Wv(r)}}finally{li=t}}function Ba(){return se?.consumerAllowSignalWrites!==!1}function Wv(e){e.dirty=!0,ja(e),e.consumerMarkedDirty?.(e)}function pi(e){e.dirty=!1,e.lastCleanEpoch=La}function Hn(e){return e&&rf(e),M(e)}function rf(e){e.producersTail=void 0,e.recomputing=!0}function Sr(e,t){M(t),e&&of(e)}function of(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Un(e))do n=Va(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Nr(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(gi(n),r!==n.version))return!0}return!1}function Ar(e){if(Un(e)){let t=e.producers;for(;t!==void 0;)t=Va(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function sf(e,t){let n=e.consumersTail,r=Un(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)sf(o.producer,o)}function Va(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,!Un(t)){let i=t.producers;for(;i!==void 0;)i=Va(i)}return n}function Un(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function mi(e){Gv?.(e)}function qv(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 yi(e,t){return Object.is(e,t)}function xr(e,t){let n=Object.create(Zv);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(gi(n),Jt(n),n.value===Mr)throw n.error;return n.value};return r[ee]=n,mi(n),r}var di=Symbol("UNSET"),fi=Symbol("COMPUTING"),Mr=Symbol("ERRORED"),Zv=oe(z({},Vn),{value:di,dirty:!0,error:null,equal:yi,kind:"computed",producerMustRecompute(e){return e.value===di||e.value===fi},producerRecomputeValue(e){if(e.value===fi)throw new Error("");let t=e.value;e.value=fi;let n=Hn(e),r,o=!1;try{r=e.computation(),M(null),o=t!==di&&t!==Mr&&r!==Mr&&e.equal(t,r)}catch(i){r=Mr,e.error=i}finally{Sr(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Yv(){throw new Error}var af=Yv;function cf(e){af(e)}function Ha(e){af=e}var Qv=null;function Ua(e,t){let n=Object.create(vi);n.value=e,t!==void 0&&(n.equal=t);let r=()=>uf(n);return r[ee]=n,mi(n),[r,s=>Xt(n,s),s=>$a(n,s)]}function uf(e){return Jt(e),e.value}function Xt(e,t){Ba()||cf(e),e.equal(e.value,t)||(e.value=t,Kv(e))}function $a(e,t){Ba()||cf(e),Xt(e,t(e.value))}var vi=oe(z({},Vn),{equal:yi,value:void 0,kind:"signal"});function Kv(e){e.version++,nf(),ja(e),Qv?.(e)}function lf(e){let t=M(null);try{return e()}finally{M(t)}}var Ci="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",y=class extends Error{code;constructor(t,n){super(Je(t,n)),this.code=t}};function Jv(e){return`NG0${Math.abs(e)}`}function Je(e,t){return`${Jv(e)}${t?": "+t:""}`}var re=globalThis;function F(e){for(let t in e)if(e[t]===F)return t;throw Error("")}function pf(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Dt(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Dt).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(`
|
|
4
|
+
`);return r>=0?n.slice(0,r):n}function bi(e,t){return e?t?`${e} ${t}`:e:t||""}var Xv=F({__forward_ref__:F});function Ti(e){return e.__forward_ref__=Ti,e.toString=function(){return Dt(this())},e}function te(e){return ec(e)?e():e}function ec(e){return typeof e=="function"&&e.hasOwnProperty(Xv)&&e.__forward_ref__===Ti}function _(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Et(e){return{providers:e.providers||[],imports:e.imports||[]}}function kr(e){return tD(e,_i)}function eD(e){return kr(e)!==null}function tD(e,t){return e.hasOwnProperty(t)&&e[t]||null}function nD(e){let t=e?.[_i]??null;return t||null}function Ga(e){return e&&e.hasOwnProperty(Ei)?e[Ei]:null}var _i=F({\u0275prov:F}),Ei=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=_({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function tc(e){return e&&!!e.\u0275providers}var nc=F({\u0275cmp:F}),rc=F({\u0275dir:F}),oc=F({\u0275pipe:F}),ic=F({\u0275mod:F}),Or=F({\u0275fac:F}),on=F({__NG_ELEMENT_ID__:F}),df=F({__NG_ENV_ID__:F});function J(e){return typeof e=="string"?e:e==null?"":String(e)}function hf(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():J(e)}var gf=F({ngErrorCode:F}),rD=F({ngErrorMessage:F}),oD=F({ngTokenPath:F});function sc(e,t){return mf("",-200,t)}function Mi(e,t){throw new y(-201,!1)}function mf(e,t,n){let r=new y(t,e);return r[gf]=t,r[rD]=e,n&&(r[oD]=n),r}function iD(e){return e[gf]}var Wa;function yf(){return Wa}function le(e){let t=Wa;return Wa=e,t}function ac(e,t,n){let r=kr(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;Mi(e,"Injector")}var sD={},en=sD,aD="__NG_DI_FLAG__",qa=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=tn(n)||0;try{return this.injector.get(t,r&8?null:en,r)}catch(o){if(Bn(o))return o;throw o}}};function cD(e,t=0){let n=ui();if(n===void 0)throw new y(-203,!1);if(n===null)return ac(e,void 0,t);{let r=uD(t),o=n.retrieve(e,r);if(Bn(o)){if(r.optional)return null;throw o}return o}}function b(e,t=0){return(yf()||cD)(te(e),t)}function g(e,t){return b(e,tn(t))}function tn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function uD(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Za(e){let t=[];for(let n=0;n<e.length;n++){let r=te(e[n]);if(Array.isArray(r)){if(r.length===0)throw new y(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=lD(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(b(o,i))}else t.push(b(r))}return t}function lD(e){return e[aD]}function Ot(e,t){let n=e.hasOwnProperty(Or);return n?e[Or]:null}function vf(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function Df(e){return e.flat(Number.POSITIVE_INFINITY)}function Si(e,t){e.forEach(n=>Array.isArray(n)?Si(n,t):t(n))}function cc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Pr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ef(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function If(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 Ni(e,t,n){let r=zn(e,t);return r>=0?e[r|1]=n:(r=~r,If(e,r,t,n)),r}function Ai(e,t){let n=zn(e,t);if(n>=0)return e[n|1]}function zn(e,t){return dD(e,t,1)}function dD(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var Ve={},ae=[],kt=new I(""),uc=new I("",-1),lc=new I(""),Fr=class{get(t,n=en){if(n===en){let o=mf("",-201);throw o.name="\u0275NotFound",o}return n}};function dc(e){return e[ic]||null}function Xe(e){return e[nc]||null}function xi(e){return e[rc]||null}function wf(e){return e[oc]||null}function Gn(e){return{\u0275providers:e}}function Cf(...e){return{\u0275providers:fc(!0,e),\u0275fromNgModule:!0}}function fc(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Si(t,s=>{let a=s;Ii(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&bf(o,i),n}function bf(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];pc(o,i=>{t(i,r)})}}function Ii(e,t,n,r){if(e=te(e),!e)return!1;let o=null,i=Ga(e),s=!i&&Xe(e);if(!i&&!s){let c=e.ngModule;if(i=Ga(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 u of c)Ii(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{Si(i.imports,l=>{Ii(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&bf(u,t)}if(!a){let u=Ot(o)||(()=>new o);t({provide:o,useFactory:u,deps:ae},o),t({provide:lc,useValue:o,multi:!0},o),t({provide:kt,useValue:()=>b(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;pc(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function pc(e,t){for(let n of e)tc(n)&&(n=n.\u0275providers),Array.isArray(n)?pc(n,t):t(n)}var fD=F({provide:String,useValue:F});function Tf(e){return e!==null&&typeof e=="object"&&fD in e}function pD(e){return!!(e&&e.useExisting)}function hD(e){return!!(e&&e.useFactory)}function nn(e){return typeof e=="function"}function _f(e){return!!e.useClass}var Lr=new I(""),Di={},ff={},za;function Wn(){return za===void 0&&(za=new Fr),za}var me=class{},rn=class extends me{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,Qa(t,s=>this.processProvider(s)),this.records.set(uc,$n(void 0,this)),o.has("environment")&&this.records.set(me,$n(void 0,this));let i=this.records.get(Lr);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(lc,ae,{self:!0}))}retrieve(t,n){let r=tn(n)||0;try{return this.get(t,en,r)}catch(o){if(Bn(o))return o;throw o}}destroy(){Rr(this),this._destroyed=!0;let t=M(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(),M(t)}}onDestroy(t){return Rr(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Rr(this);let n=Qe(this),r=le(void 0),o;try{return t()}finally{Qe(n),le(r)}}get(t,n=en,r){if(Rr(this),t.hasOwnProperty(df))return t[df](this);let o=tn(r),i,s=Qe(this),a=le(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=DD(t)&&kr(t);l&&this.injectableDefInScope(l)?u=$n(Ya(t),Di):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?Wn():this.parent;return n=o&8&&n===en?null:n,c.get(t,n)}catch(c){let u=iD(c);throw u===-200||u===-201?new y(u,null):c}finally{le(a),Qe(s)}}resolveInjectorInitializers(){let t=M(null),n=Qe(this),r=le(void 0),o;try{let i=this.get(kt,ae,{self:!0});for(let s of i)s()}finally{Qe(n),le(r),M(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(Dt(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=te(t);let n=nn(t)?t:te(t&&t.provide),r=mD(t);if(!nn(t)&&t.multi===!0){let o=this.records.get(n);o||(o=$n(void 0,Di,!0),o.factory=()=>Za(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=M(null);try{if(n.value===ff)throw sc(Dt(t));return n.value===Di&&(n.value=ff,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&vD(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{M(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=te(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 Ya(e){let t=kr(e),n=t!==null?t.factory:Ot(e);if(n!==null)return n;if(e instanceof I)throw new y(204,!1);if(e instanceof Function)return gD(e);throw new y(204,!1)}function gD(e){if(e.length>0)throw new y(204,!1);let n=nD(e);return n!==null?()=>n.factory(e):()=>new e}function mD(e){if(Tf(e))return $n(void 0,e.useValue);{let t=hc(e);return $n(t,Di)}}function hc(e,t,n){let r;if(nn(e)){let o=te(e);return Ot(o)||Ya(o)}else if(Tf(e))r=()=>te(e.useValue);else if(hD(e))r=()=>e.useFactory(...Za(e.deps||[]));else if(pD(e))r=(o,i)=>b(te(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=te(e&&(e.useClass||e.provide));if(yD(e))r=()=>new o(...Za(e.deps));else return Ot(o)||Ya(o)}return r}function Rr(e){if(e.destroyed)throw new y(205,!1)}function $n(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function yD(e){return!!e.deps}function vD(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function DD(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Qa(e,t){for(let n of e)Array.isArray(n)?Qa(n,t):n&&tc(n)?Qa(n.\u0275providers,t):t(n)}function qn(e,t){let n;e instanceof rn?(Rr(e),n=e):n=new qa(e);let r,o=Qe(n),i=le(void 0);try{return t()}finally{Qe(o),le(i)}}function gc(){return yf()!==void 0||ui()!=null}var Me=0,w=1,S=2,ne=3,Se=4,de=5,sn=6,Zn=7,q=8,It=9,et=10,k=11,Yn=12,mc=13,an=14,fe=15,Pt=16,cn=17,tt=18,jr=19,yc=20,vt=21,Ri=22,Qn=23,Te=24,un=25,ln=26,j=27,vc=1,Dc=6,Lt=7,Br=8,dn=9,W=10;function nt(e){return Array.isArray(e)&&typeof e[vc]=="object"}function He(e){return Array.isArray(e)&&e[vc]===!0}function Ec(e){return(e.flags&4)!==0}function jt(e){return e.componentOffset>-1}function Kn(e){return(e.flags&1)===1}function Ne(e){return!!e.template}function Jn(e){return(e[S]&512)!==0}function fn(e){return(e[S]&256)===256}var Ic="svg",Mf="math";function Ae(e){for(;Array.isArray(e);)e=e[Me];return e}function wc(e){for(;Array.isArray(e);){if(typeof e[vc]=="object")return e;e=e[Me]}return null}function Cc(e,t){return Ae(t[e])}function Ue(e,t){return Ae(t[e.index])}function Vr(e,t){return e.data[t]}function Oi(e,t){return e[t]}function bc(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function xe(e,t){let n=t[e];return nt(n)?n:n[Me]}function Sf(e){return(e[S]&4)===4}function Fi(e){return(e[S]&128)===128}function Nf(e){return He(e[ne])}function Re(e,t){return t==null?null:e[t]}function Tc(e){e[cn]=0}function _c(e){e[S]&1024||(e[S]|=1024,Fi(e)&&pn(e))}function Af(e,t){for(;e>0;)t=t[an],e--;return t}function Hr(e){return!!(e[S]&9216||e[Te]?.dirty)}function ki(e){e[et].changeDetectionScheduler?.notify(8),e[S]&64&&(e[S]|=1024),Hr(e)&&pn(e)}function pn(e){e[et].changeDetectionScheduler?.notify(0);let t=Ft(e);for(;t!==null&&!(t[S]&8192||(t[S]|=8192,!Fi(t)));)t=Ft(t)}function Mc(e,t){if(fn(e))throw new y(911,!1);e[vt]===null&&(e[vt]=[]),e[vt].push(t)}function xf(e,t){if(e[vt]===null)return;let n=e[vt].indexOf(t);n!==-1&&e[vt].splice(n,1)}function Ft(e){let t=e[ne];return He(t)?t[ne]:t}function Sc(e){return e[Zn]??=[]}function Nc(e){return e.cleanup??=[]}function Rf(e,t,n,r){let o=Sc(t);o.push(n),e.firstCreatePass&&Nc(e).push(r,o.length-1)}var x={lFrame:zf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ka=!1;function Of(){return x.lFrame.elementDepthCount}function Ff(){x.lFrame.elementDepthCount++}function Ac(){x.lFrame.elementDepthCount--}function Pi(){return x.bindingsEnabled}function xc(){return x.skipHydrationRootTNode!==null}function Rc(e){return x.skipHydrationRootTNode===e}function Oc(){x.skipHydrationRootTNode=null}function E(){return x.lFrame.lView}function B(){return x.lFrame.tView}function kf(e){return x.lFrame.contextLView=e,e[q]}function Pf(e){return x.lFrame.contextLView=null,e}function Z(){let e=Fc();for(;e!==null&&e.type===64;)e=e.parent;return e}function Fc(){return x.lFrame.currentTNode}function Lf(){let e=x.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Xn(e,t){let n=x.lFrame;n.currentTNode=e,n.isParent=t}function kc(){return x.lFrame.isParent}function Pc(){x.lFrame.isParent=!1}function jf(){return x.lFrame.contextLView}function Lc(){return Ka}function Li(e){let t=Ka;return Ka=e,t}function rt(){let e=x.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ur(){return x.lFrame.bindingIndex}function Bf(e){return x.lFrame.bindingIndex=e}function wt(){return x.lFrame.bindingIndex++}function hn(e){let t=x.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Vf(){return x.lFrame.inI18n}function Hf(e,t){let n=x.lFrame;n.bindingIndex=n.bindingRootIndex=e,ji(t)}function Uf(){return x.lFrame.currentDirectiveIndex}function ji(e){x.lFrame.currentDirectiveIndex=e}function jc(e){let t=x.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Bi(){return x.lFrame.currentQueryIndex}function $r(e){x.lFrame.currentQueryIndex=e}function ED(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[de]:null}function Bc(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=ED(i),o===null||(i=i[an],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=x.lFrame=$f();return r.currentTNode=t,r.lView=e,!0}function Vi(e){let t=$f(),n=e[w];x.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function $f(){let e=x.lFrame,t=e===null?null:e.child;return t===null?zf(e):t}function zf(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 Gf(){let e=x.lFrame;return x.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Vc=Gf;function Hi(){let e=Gf();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 Wf(e){return(x.lFrame.contextLView=Af(e,x.lFrame.contextLView))[q]}function _e(){return x.lFrame.selectedIndex}function Bt(e){x.lFrame.selectedIndex=e}function er(){let e=x.lFrame;return Vr(e.tView,e.selectedIndex)}function qf(){x.lFrame.currentNamespace=Ic}function Zf(){ID()}function ID(){x.lFrame.currentNamespace=null}function Yf(){return x.lFrame.currentNamespace}var Qf=!0;function Ui(){return Qf}function zr(e){Qf=e}function Ja(e,t=null,n=null,r){let o=Hc(e,t,n,r);return o.resolveInjectorInitializers(),o}function Hc(e,t=null,n=null,r,o=new Set){let i=[n||ae,Cf(e)];return r=r||(typeof e=="object"?void 0:Dt(e)),new rn(i,t||Wn(),r||null,o)}var ye=class e{static THROW_IF_NOT_FOUND=en;static NULL=new Fr;static create(t,n){if(Array.isArray(t))return Ja({name:""},n,t,"");{let r=t.name??"";return Ja({name:r},t.parent,t.providers,r)}}static \u0275prov=_({token:e,providedIn:"any",factory:()=>b(uc)});static __NG_ELEMENT_ID__=-1},Y=new I(""),Oe=(()=>{class e{static __NG_ELEMENT_ID__=wD;static __NG_ENV_ID__=n=>n}return e})(),wi=class extends Oe{_lView;constructor(t){super(),this._lView=t}get destroyed(){return fn(this._lView)}onDestroy(t){let n=this._lView;return Mc(n,t),()=>xf(n,t)}};function wD(){return new wi(E())}var be=class{_console=console;handleError(t){this._console.error("ERROR",t)}},ot=new I("",{providedIn:"root",factory:()=>{let e=g(me),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(be),t.handleError(n))}}}),Kf={provide:kt,useValue:()=>void g(be),multi:!0};function Uc(e){return typeof e=="function"&&e[ee]!==void 0}function $i(e,t){let[n,r,o]=Ua(e,t?.equal),i=n,s=i[ee];return i.set=r,i.update=o,i.asReadonly=zi.bind(i),i}function zi(){let e=this[ee];if(e.readonlyFn===void 0){let t=()=>this();t[ee]=e,e.readonlyFn=t}return e.readonlyFn}function $c(e){return Uc(e)&&typeof e.set=="function"}var Gr=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=CD}return e})();function CD(){return new Gr(E(),Z())}var Ke=class{},Wr=new I("",{providedIn:"root",factory:()=>!1});var zc=new I(""),Gc=new I(""),Vt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new br(!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=_({token:e,providedIn:"root",factory:()=>new e})}return e})(),tr=(()=>{class e{internalPendingTasks=g(Vt);scheduler=g(Ke);errorHandler=g(ot);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=_({token:e,providedIn:"root",factory:()=>new e})}return e})();function nr(...e){}var Gi=(()=>{class e{static \u0275prov=_({token:e,providedIn:"root",factory:()=>new Xa})}return e})(),Xa=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 ro(e){return{toString:e}.toString()}function ND(e){return typeof e=="function"}var ns=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Fp(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var oo=(()=>{let e=()=>kp;return e.ngInherit=!0,e})();function kp(e){return e.type.prototype.ngOnChanges&&(e.setInput=xD),AD}function AD(){let e=Lp(this),t=e?.current;if(t){let n=e.previous;if(n===Ve)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function xD(e,t,n,r,o){let i=this.declaredInputs[r],s=Lp(e)||RD(e,{previous:Ve,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new ns(u&&u.currentValue,n,c===Ve),Fp(e,t,o,n)}var Pp="__ngSimpleChanges__";function Lp(e){return e[Pp]||null}function RD(e,t){return e[Pp]=t}var Jf=[];var P=function(e,t=null,n){for(let r=0;r<Jf.length;r++){let o=Jf[r];o(e,t,n)}};function OD(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=kp(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function jp(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function Ki(e,t,n){Bp(e,t,3,n)}function Ji(e,t,n,r){(e[S]&3)===n&&Bp(e,t,n,r)}function Wc(e,t){let n=e[S];(n&3)===t&&(n&=16383,n+=1,e[S]=n)}function Bp(e,t,n,r){let o=r!==void 0?e[cn]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[cn]+=65536),(a<i||i==-1)&&(FD(e,n,t,c),e[cn]=(e[cn]&4294901760)+c+2),c++}function Xf(e,t){P(4,e,t);let n=M(null);try{t.call(e)}finally{M(n),P(5,e,t)}}function FD(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[S]>>14<e[cn]>>16&&(e[S]&3)===t&&(e[S]+=16384,Xf(a,i)):Xf(a,i)}var or=-1,mn=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 kD(e){return(e.flags&8)!==0}function PD(e){return(e.flags&16)!==0}function LD(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];jD(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Vp(e){return e===3||e===4||e===6}function jD(e){return e.charCodeAt(0)===64}function ir(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?ep(e,n,o,null,t[++r]):ep(e,n,o,null,null))}}return e}function ep(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function Hp(e){return e!==or}function rs(e){return e&32767}function BD(e){return e>>16}function os(e,t){let n=BD(e),r=t;for(;n>0;)r=r[an],n--;return r}var nu=!0;function is(e){let t=nu;return nu=e,t}var VD=256,Up=VD-1,$p=5,HD=0,it={};function UD(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(on)&&(r=n[on]),r==null&&(r=n[on]=HD++);let o=r&Up,i=1<<o;t.data[e+(o>>$p)]|=i}function ss(e,t){let n=zp(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,qc(r.data,e),qc(t,null),qc(r.blueprint,null));let o=Hu(e,t),i=e.injectorIndex;if(Hp(o)){let s=rs(o),a=os(o,t),c=a[w].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function qc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function zp(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Hu(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=Yp(o),r===null)return or;if(n++,o=o[an],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return or}function ru(e,t,n){UD(e,t,n)}function $D(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(Vp(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function Gp(e,t,n){if(n&8||e!==void 0)return e;Mi(t,"NodeInjector")}function Wp(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[It],i=le(void 0);try{return o?o.get(t,r,n&8):ac(t,r,n&8)}finally{le(i)}}return Gp(r,t,n)}function qp(e,t,n,r=0,o){if(e!==null){if(t[S]&2048&&!(r&2)){let s=ZD(e,t,n,r,it);if(s!==it)return s}let i=Zp(e,t,n,r,it);if(i!==it)return i}return Wp(t,n,r,o)}function Zp(e,t,n,r,o){let i=GD(n);if(typeof i=="function"){if(!Bc(t,e,r))return r&1?Gp(o,n,r):Wp(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Mi(n);else return s}finally{Vc()}}else if(typeof i=="number"){let s=null,a=zp(e,t),c=or,u=r&1?t[fe][de]:null;for((a===-1||r&4)&&(c=a===-1?Hu(e,t):t[a+8],c===or||!np(r,!1)?a=-1:(s=t[w],a=rs(c),t=os(c,t)));a!==-1;){let l=t[w];if(tp(i,a,l.data)){let d=zD(a,t,n,s,r,u);if(d!==it)return d}c=t[a+8],c!==or&&np(r,t[w].data[a+8]===u)&&tp(i,a,t)?(s=l,a=rs(c),t=os(c,t)):a=-1}}return o}function zD(e,t,n,r,o,i){let s=t[w],a=s.data[e+8],c=r==null?jt(a)&&nu:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=Xi(a,s,n,c,u);return l!==null?Qr(t,s,l,a,o):it}function Xi(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:u;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&Ne(f)&&f.type===n)return c}return null}function Qr(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof mn){let a=i;if(a.resolving){let f=hf(s[n]);throw sc(f)}let c=is(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?le(a.injectImpl):null,p=Bc(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&OD(n,s[n],t)}finally{d!==null&&le(d),is(c),a.resolving=!1,Vc()}}return i}function GD(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(on)?e[on]:void 0;return typeof t=="number"?t>=0?t&Up:WD:t}function tp(e,t,n){let r=1<<e;return!!(n[t+(e>>$p)]&r)}function np(e,t){return!(e&2)&&!(e&1&&t)}var gn=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return qp(this._tNode,this._lView,t,tn(r),n)}};function WD(){return new gn(Z(),E())}function qD(e){return ro(()=>{let t=e.prototype.constructor,n=t[Or]||ou(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Or]||ou(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ou(e){return ec(e)?()=>{let t=ou(te(e));return t&&t()}:Ot(e)}function ZD(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[S]&2048&&!Jn(s);){let a=Zp(i,s,n,r|2,it);if(a!==it)return a;let c=i.parent;if(!c){let u=s[yc];if(u){let l=u.get(n,it,r);if(l!==it)return l}c=Yp(s),s=s[an]}i=c}return o}function Yp(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[de]:null}function Uu(e){return $D(Z(),e)}function YD(){return ur(Z(),E())}function ur(e,t){return new st(Ue(e,t))}var st=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=YD}return e})();function Qp(e){return e instanceof st?e.nativeElement:e}function QD(){return this._results[Symbol.iterator]()}var as=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new pe}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=Df(t);(this._changesDetected=!vf(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=QD};function Kp(e){return(e.flags&128)===128}var $u=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})($u||{}),Jp=new Map,KD=0;function JD(){return KD++}function XD(e){Jp.set(e[jr],e)}function iu(e){Jp.delete(e[jr])}var rp="__ngContext__";function sr(e,t){nt(t)?(e[rp]=t[jr],XD(t)):e[rp]=t}function Xp(e){return th(e[Yn])}function eh(e){return th(e[Se])}function th(e){for(;e!==null&&!He(e);)e=e[Se];return e}var su;function zu(e){su=e}function Gu(){if(su!==void 0)return su;if(typeof document<"u")return document;throw new y(210,!1)}var Cs=new I("",{providedIn:"root",factory:()=>eE}),eE="ng",bs=new I(""),io=new I("",{providedIn:"platform",factory:()=>"unknown"});var tE=new I(""),Ts=new I("",{providedIn:"root",factory:()=>Gu().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),_s={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Ms=new I("",{providedIn:"root",factory:()=>_s});var nE="h",rE="b";var nh="r";var rh="di";var oh=!1,ih=new I("",{providedIn:"root",factory:()=>oh});var sh=new I("");var oE=(e,t,n,r)=>{};function iE(e,t,n,r){oE(e,t,n,r)}function Ss(e){return(e.flags&32)===32}var sE=()=>null;function ah(e,t,n=!1){return sE(e,t,n)}function ch(e,t){let n=e.contentQueries;if(n!==null){let r=M(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];$r(i),a.contentQueries(2,t[s],s)}}}finally{M(r)}}}function au(e,t,n){$r(0);let r=M(null);try{t(e,n)}finally{M(r)}}function Wu(e,t,n){if(Ec(t)){let r=M(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{M(r)}}}var bt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e})(bt||{});var Wi;function uh(){if(Wi===void 0&&(Wi=null,re.trustedTypes))try{Wi=re.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Wi}function Ns(e){return uh()?.createHTML(e)||e}function aE(e){return uh()?.createScriptURL(e)||e}var qi;function lh(){if(qi===void 0&&(qi=null,re.trustedTypes))try{qi=re.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return qi}function op(e){return lh()?.createHTML(e)||e}function ip(e){return lh()?.createScriptURL(e)||e}var Tt=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ci})`}},cu=class extends Tt{getTypeName(){return"HTML"}},uu=class extends Tt{getTypeName(){return"Style"}},lu=class extends Tt{getTypeName(){return"Script"}},du=class extends Tt{getTypeName(){return"URL"}},fu=class extends Tt{getTypeName(){return"ResourceURL"}};function ve(e){return e instanceof Tt?e.changingThisBreaksApplicationSecurity:e}function at(e,t){let n=dh(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ci})`)}return n===t}function dh(e){return e instanceof Tt&&e.getTypeName()||null}function qu(e){return new cu(e)}function Zu(e){return new uu(e)}function Yu(e){return new lu(e)}function Qu(e){return new du(e)}function Ku(e){return new fu(e)}function cE(e){let t=new hu(e);return uE()?new pu(t):t}var pu=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Ns(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},hu=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=Ns(t),n}};function uE(){try{return!!new window.DOMParser().parseFromString(Ns(""),"text/html")}catch{return!1}}var lE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function so(e){return e=String(e),e.match(lE)?e:"unsafe:"+e}function _t(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function ao(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var fh=_t("area,br,col,hr,img,wbr"),ph=_t("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),hh=_t("rp,rt"),dE=ao(hh,ph),fE=ao(ph,_t("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")),pE=ao(hh,_t("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")),sp=ao(fh,fE,pE,dE),gh=_t("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),hE=_t("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"),gE=_t("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"),mE=ao(gh,hE,gE),yE=_t("script,style,template"),gu=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=EE(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=DE(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=ap(t).toLowerCase();if(!sp.hasOwnProperty(n))return this.sanitizedSomething=!0,!yE.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!mE.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;gh[a]&&(c=so(c)),this.buf.push(" ",s,'="',cp(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=ap(t).toLowerCase();sp.hasOwnProperty(n)&&!fh.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(cp(t))}};function vE(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function DE(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw mh(t);return t}function EE(e){let t=e.firstChild;if(t&&vE(e,t))throw mh(t);return t}function ap(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function mh(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var IE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wE=/([^\#-~ |!])/g;function cp(e){return e.replace(/&/g,"&").replace(IE,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(wE,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Zi;function As(e,t){let n=null;try{Zi=Zi||cE(e);let r=t?String(t):"";n=Zi.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=Zi.getInertBodyElement(r)}while(r!==i);let a=new gu().sanitizeChildren(up(n)||n);return Ns(a)}finally{if(n){let r=up(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function up(e){return"content"in e&&CE(e)?e.content:null}function CE(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var bE=/^>|^->|<!--|-->|--!>|<!-$/g,TE=/(<|>)/g,_E="\u200B$1\u200B";function ME(e){return e.replace(bE,t=>t.replace(TE,_E))}function SE(e,t){return e.createText(t)}function NE(e,t,n){e.setValue(t,n)}function AE(e,t){return e.createComment(ME(t))}function yh(e,t,n){return e.createElement(t,n)}function cs(e,t,n,r,o){e.insertBefore(t,n,r,o)}function vh(e,t,n){e.appendChild(t,n)}function lp(e,t,n,r,o){r!==null?cs(e,t,n,r,o):vh(e,t,n)}function Dh(e,t,n,r){e.removeChild(null,t,n,r)}function xE(e,t,n){e.setAttribute(t,"style",n)}function RE(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Eh(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&LD(e,t,r),o!==null&&RE(e,t,o),i!==null&&xE(e,t,i)}var Fe=(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})(Fe||{});function OE(e){let t=Ju();return t?op(t.sanitize(Fe.HTML,e)||""):at(e,"HTML")?op(ve(e)):As(Gu(),J(e))}function Ih(e){let t=Ju();return t?t.sanitize(Fe.URL,e)||"":at(e,"URL")?ve(e):so(J(e))}function wh(e){let t=Ju();if(t)return ip(t.sanitize(Fe.RESOURCE_URL,e)||"");if(at(e,"ResourceURL"))return ip(ve(e));throw new y(904,!1)}function FE(e){return aE(e[0])}function kE(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?wh:Ih}function PE(e,t,n){return kE(t,n)(e)}function Ju(){let e=E();return e&&e[et].sanitizer}function LE(e){return e.ownerDocument.defaultView}function Ch(e){return e instanceof Function?e():e}function jE(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 bh="ng-template";function BE(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&jE(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Xu(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function Xu(e){return e.type===4&&e.value!==bh}function VE(e,t,n){let r=e.type===4&&!n?bh:e.value;return t===r}function HE(e,t,n){let r=4,o=e.attrs,i=o!==null?zE(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!$e(r)&&!$e(c))return!1;if(s&&$e(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!VE(e,c,n)||c===""&&t.length===1){if($e(r))return!1;s=!0}}else if(r&8){if(o===null||!BE(e,o,c,n)){if($e(r))return!1;s=!0}}else{let u=t[++a],l=UE(c,o,Xu(e),n);if(l===-1){if($e(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if($e(r))return!1;s=!0}}}}return $e(r)||s}function $e(e){return(e&1)===0}function UE(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return GE(t,e)}function Th(e,t,n=!1){for(let r=0;r<t.length;r++)if(HE(e,t[r],n))return!0;return!1}function $E(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function zE(e){for(let t=0;t<e.length;t++){let n=e[t];if(Vp(n))return t}return e.length}function GE(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function WE(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function dp(e,t){return e?":not("+t.trim()+")":t}function qE(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!$e(s)&&(t+=dp(i,o),o=""),r=s,i=i||!$e(r);n++}return o!==""&&(t+=dp(i,o)),t}function ZE(e){return e.map(qE).join(",")}function YE(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!$e(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var Q={};function el(e,t,n,r,o,i,s,a,c,u,l){let d=j+r,p=d+o,f=QE(d,p),h=typeof u=="function"?u():u;return f[w]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:l}}function QE(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Q);return n}function KE(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=el(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function tl(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[Me]=o,d[S]=r|4|128|8|64|1024,(u!==null||e&&e[S]&2048)&&(d[S]|=2048),Tc(d),d[ne]=d[an]=e,d[q]=n,d[et]=s||e&&e[et],d[k]=a||e&&e[k],d[It]=c||e&&e[It]||null,d[de]=i,d[jr]=JD(),d[sn]=l,d[yc]=u,d[fe]=t.type==2?e[fe]:d,d}function JE(e,t,n){let r=Ue(t,e),o=KE(n),i=e[et].rendererFactory,s=nl(e,tl(e,o,null,_h(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function _h(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Mh(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function nl(e,t){return e[Yn]?e[mc][Se]=t:e[Yn]=t,e[mc]=t,t}function XE(e=1){Sh(B(),E(),_e()+e,!1)}function Sh(e,t,n,r){if(!r)if((t[S]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Ki(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Ji(t,i,0,n)}Bt(n)}var xs=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(xs||{});function mu(e,t,n,r){let o=M(null);try{let[i,s,a]=e.inputs[n],c=null;(s&xs.SignalBased)!==0&&(c=t[i][ee]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):Fp(t,c,i,r)}finally{M(o)}}var Ge=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Ge||{}),eI;function rl(e,t){return eI(e,t)}var yn=new Set,Rs=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Rs||{}),In=new I(""),fp=new Set;function ct(e){fp.has(e)||(fp.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Nh=!1,yu=class extends pe{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,gc()&&(this.destroyRef=g(Oe,{optional:!0})??void 0,this.pendingTasks=g(Vt,{optional:!0})??void 0)}emit(t){let n=M(null);try{super.next(t)}finally{M(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),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)}})}}},Ct=yu;function Ah(e){let t,n;function r(){e=nr;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 pp(e){return queueMicrotask(()=>e()),()=>{e=nr}}var ol="isAngularZone",us=ol+"_ID",tI=0,H=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ct(!1);onMicrotaskEmpty=new Ct(!1);onStable=new Ct(!1);onError=new Ct(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Nh}=t;if(typeof Zone>"u")throw new y(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,oI(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(ol)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new y(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new y(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,nI,nr,nr);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)}},nI={};function il(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 rI(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Ah(()=>{e.callbackScheduled=!1,vu(e),e.isCheckStableRunning=!0,il(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),vu(e)}function oI(e){let t=()=>{rI(e)},n=tI++;e._inner=e._inner.fork({name:"angular",properties:{[ol]:!0,[us]:n,[us+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(iI(c))return r.invokeTask(i,s,a,c);try{return hp(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),gp(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return hp(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!sI(c)&&t(),gp(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,vu(e),il(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 vu(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function hp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function gp(e){e._nesting--,il(e)}var ls=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ct;onMicrotaskEmpty=new Ct;onStable=new Ct;onError=new Ct;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 iI(e){return xh(e,"__ignore_ng_zone__")}function sI(e){return xh(e,"__scheduler_tick__")}function xh(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var sl=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=_({token:e,providedIn:"root",factory:()=>new e})}return e})(),Rh=[0,1,2,3],Oh=(()=>{class e{ngZone=g(H);scheduler=g(Ke);errorHandler=g(be,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(In,{optional:!0})}execute(){let n=this.sequences.size>0;n&&P(16),this.executing=!0;for(let r of Rh)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&P(17)}register(n){let{view:r}=n;r!==void 0?((r[un]??=[]).push(n),pn(r),r[S]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Rs.AFTER_NEXT_RENDER,n):n()}static \u0275prov=_({token:e,providedIn:"root",factory:()=>new e})}return e})(),ds=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[un];t&&(this.view[un]=t.filter(n=>n!==this))}};function aI(e,t){let n=t?.injector??g(ye);return ct("NgAfterRender"),Fh(e,n,t,!1)}function cI(e,t){let n=t?.injector??g(ye);return ct("NgAfterNextRender"),Fh(e,n,t,!0)}function uI(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Fh(e,t,n,r){let o=t.get(sl);o.impl??=t.get(Oh);let i=t.get(In,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Oe):null,a=t.get(Gr,null,{optional:!0}),c=new ds(o.impl,uI(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var kh=new I("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function Ph(e,t,n){let r=e.get(kh);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 lI(e,t){let n=e.get(kh);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function dI(e,t){for(let[n,r]of t)Ph(e,r.animateFns)}function mp(e,t,n,r){let o=e?.[ln]?.enter;t!==null&&o&&o.has(n.index)&&dI(r,o)}function rr(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;He(o)?c=o:nt(o)&&(u=!0,o=o[Me]);let l=Ae(o);e===0&&r!==null?(mp(a,r,i,n),s==null?vh(t,r,l):cs(t,r,l,s||null,!0)):e===1&&r!==null?(mp(a,r,i,n),cs(t,r,l,s||null,!0)):e===2?yp(a,i,n,d=>{Dh(t,l,u,d)}):e===3&&yp(a,i,n,()=>{t.destroyNode(l)}),c!=null&&wI(t,e,n,c,i,r,s)}}function fI(e,t){Lh(e,t),t[Me]=null,t[de]=null}function pI(e,t,n,r,o,i){r[Me]=o,r[de]=t,Fs(e,r,n,1,o,i)}function Lh(e,t){t[et].changeDetectionScheduler?.notify(9),Fs(e,t,t[k],2,null,null)}function hI(e){let t=e[Yn];if(!t)return Zc(e[w],e);for(;t;){let n=null;if(nt(t))n=t[Yn];else{let r=t[W];r&&(n=r)}if(!n){for(;t&&!t[Se]&&t!==e;)nt(t)&&Zc(t[w],t),t=t[ne];t===null&&(t=e),nt(t)&&Zc(t[w],t),n=t&&t[Se]}t=n}}function al(e,t){let n=e[dn],r=n.indexOf(t);n.splice(r,1)}function Os(e,t){if(fn(t))return;let n=t[k];n.destroyNode&&Fs(e,t,n,3,null,null),hI(t)}function Zc(e,t){if(fn(t))return;let n=M(null);try{t[S]&=-129,t[S]|=256,t[Te]&&Ar(t[Te]),yI(e,t),mI(e,t),t[w].type===1&&t[k].destroy();let r=t[Pt];if(r!==null&&He(t[ne])){r!==t[ne]&&al(r,t);let o=t[tt];o!==null&&o.detachView(e)}iu(t)}finally{M(n)}}function yp(e,t,n,r){let o=e?.[ln];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&yn.add(e),Ph(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let u=s.animateFns[c],{promise:l}=u();a.push(l)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),gI(e,r)}else e&&yn.delete(e),r(!1)},o)}function gI(e,t){let n=e[ln]?.running;if(n){n.then(()=>{e[ln].running=void 0,yn.delete(e),t(!0)});return}t(!1)}function mI(e,t){let n=e.cleanup,r=t[Zn];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Zn]=null);let o=t[vt];if(o!==null){t[vt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Qn];if(i!==null){t[Qn]=null;for(let s of i)s.destroy()}}function yI(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof mn)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];P(4,a,c);try{c.call(a)}finally{P(5,a,c)}}else{P(4,o,i);try{i.call(o)}finally{P(5,o,i)}}}}}function jh(e,t,n){return vI(e,t.parent,n)}function vI(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Me];if(jt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===bt.None||o===bt.Emulated)return null}return Ue(r,n)}function Bh(e,t,n){return EI(e,t,n)}function DI(e,t,n){return e.type&40?Ue(e,n):null}var EI=DI,vp;function cl(e,t,n,r){let o=jh(e,r,t),i=t[k],s=r.parent||t[de],a=Bh(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)lp(i,o,n[c],a,!1);else lp(i,o,n,a,!1);vp!==void 0&&vp(i,r,t,n,o)}function qr(e,t){if(t!==null){let n=t.type;if(n&3)return Ue(t,e);if(n&4)return Du(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return qr(e,r);{let o=e[t.index];return He(o)?Du(-1,o):Ae(o)}}else{if(n&128)return qr(e,t.next);if(n&32)return rl(t,e)()||Ae(e[t.index]);{let r=Vh(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Ft(e[fe]);return qr(o,r)}else return qr(e,t.next)}}}return null}function Vh(e,t){if(t!==null){let r=e[fe][de],o=t.projection;return r.projection[o]}return null}function Du(e,t){let n=W+e+1;if(n<t.length){let r=t[n],o=r[w].firstChild;if(o!==null)return qr(r,o)}return t[Lt]}function ul(e,t,n,r,o,i,s){for(;n!=null;){let a=r[It];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&sr(Ae(c),r),n.flags|=2),!Ss(n))if(u&8)ul(e,t,n.child,r,o,i,!1),rr(t,e,a,o,c,n,i,r);else if(u&32){let l=rl(n,r),d;for(;d=l();)rr(t,e,a,o,d,n,i,r);rr(t,e,a,o,c,n,i,r)}else u&16?Hh(e,t,r,n,o,i):rr(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Fs(e,t,n,r,o,i){ul(n,r,e.firstChild,t,o,i,!1)}function II(e,t,n){let r=t[k],o=jh(e,n,t),i=n.parent||t[de],s=Bh(i,n,t);Hh(r,0,t,n,o,s)}function Hh(e,t,n,r,o,i){let s=n[fe],c=s[de].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];rr(t,e,n[It],o,l,r,i,n)}else{let u=c,l=s[ne];Kp(r)&&(u.flags|=128),ul(e,t,u,l,o,i,!0)}}function wI(e,t,n,r,o,i,s){let a=r[Lt],c=Ae(r);a!==c&&rr(t,e,n,i,a,o,s);for(let u=W;u<r.length;u++){let l=r[u];Fs(l[w],l,e,t,i,a)}}function CI(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Ge.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Ge.Important),e.setStyle(n,r,o,i))}}function Uh(e,t,n,r,o){let i=_e(),s=r&2;try{Bt(-1),s&&t.length>j&&Sh(e,t,j,!1),P(s?2:0,o,n),n(r,o)}finally{Bt(i),P(s?3:1,o,n)}}function ks(e,t,n){NI(e,t,n),(n.flags&64)===64&&AI(e,t,n)}function lr(e,t,n=Ue){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function bI(e,t,n,r){let i=r.get(ih,oh)||n===bt.ShadowDom,s=e.selectRootElement(t,i);return TI(s),s}function TI(e){_I(e)}var _I=()=>null;function MI(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function $h(e,t,n,r,o,i){let s=t[w];if(fl(e,s,t,n,r)){jt(e)&&SI(t,e.index);return}e.type&3&&(n=MI(n)),ll(e,t,n,r,o,i)}function ll(e,t,n,r,o,i){if(e.type&3){let s=Ue(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function SI(e,t){let n=xe(t,e);n[S]&16||(n[S]|=64)}function NI(e,t,n){let r=n.directiveStart,o=n.directiveEnd;jt(n)&&JE(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||ss(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Qr(t,e,s,n);if(sr(c,t),i!==null&&FI(t,s-r,c,a,n,i),Ne(a)){let u=xe(n.index,t);u[q]=Qr(t,e,s,n)}}}function AI(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Uf();try{Bt(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];ji(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&xI(c,u)}}finally{Bt(-1),ji(s)}}function xI(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function dl(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Th(t,i.selectors,!1)&&(r??=[],Ne(i)?r.unshift(i):r.push(i))}return r}function RI(e,t,n,r,o,i){let s=Ue(e,t);OI(t[k],s,i,e.value,n,r,o)}function OI(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?J(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function FI(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];mu(r,n,c,u)}}function Ps(e,t,n,r,o){let i=j+n,s=t[w],a=o(s,t,e,r,n);t[i]=a,Xn(e,!0);let c=e.type===2;return c?(Eh(t[k],a,e),(Of()===0||Kn(e))&&sr(a,t),Ff()):sr(a,t),Ui()&&(!c||!Ss(e))&&cl(s,t,a,e),e}function Ls(e){let t=e;return kc()?Pc():(t=t.parent,Xn(t,!1)),t}function kI(e,t,n){return(e===null||Ne(e))&&(n=wc(n[t.index])),n[k]}function PI(e,t){let n=e[It];if(!n)return;let r;try{r=n.get(ot,null)}catch{r=null}r?.(t)}function fl(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let u=s[c],l=s[c+1],d=t.data[u];mu(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];mu(l,u,r,o),a=!0}return a}function LI(e,t){let n=xe(t,e),r=n[w];jI(r,n);let o=n[Me];o!==null&&n[sn]===null&&(n[sn]=ah(o,n[It])),P(18),pl(r,n,n[q]),P(19,n[q])}function jI(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function pl(e,t,n){Vi(t);try{let r=e.viewQuery;r!==null&&au(1,r,n);let o=e.template;o!==null&&Uh(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[tt]?.finishViewCreation(e),e.staticContentQueries&&ch(e,t),e.staticViewQueries&&au(2,e.viewQuery,n);let i=e.components;i!==null&&BI(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[S]&=-5,Hi()}}function BI(e,t){for(let n=0;n<t.length;n++)LI(e,t[n])}function co(e,t,n,r){let o=M(null);try{let i=t.tView,a=e[S]&4096?4096:16,c=tl(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[Pt]=u;let l=e[tt];return l!==null&&(c[tt]=l.createEmbeddedView(i)),pl(i,c,n),c}finally{M(o)}}function ar(e,t){return!t||t.firstChild===null||Kp(e)}function Kr(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(Ae(i)),He(i)&&zh(i,r);let s=n.type;if(s&8)Kr(e,t,n.child,r);else if(s&32){let a=rl(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Vh(t,n);if(Array.isArray(a))r.push(...a);else{let c=Ft(t[fe]);Kr(c[w],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function zh(e,t){for(let n=W;n<e.length;n++){let r=e[n],o=r[w].firstChild;o!==null&&Kr(r[w],r,o,t)}e[Lt]!==e[Me]&&t.push(e[Lt])}function Gh(e){if(e[un]!==null){for(let t of e[un])t.impl.addSequence(t);e[un].length=0}}var Wh=[];function VI(e){return e[Te]??HI(e)}function HI(e){let t=Wh.pop()??Object.create($I);return t.lView=e,t}function UI(e){e.lView[Te]!==e&&(e.lView=null,Wh.push(e))}var $I=oe(z({},Vn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{pn(e.lView)},consumerOnSignalRead(){this.lView[Te]=this}});function zI(e){let t=e[Te]??Object.create(GI);return t.lView=e,t}var GI=oe(z({},Vn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Ft(e.lView);for(;t&&!qh(t[w]);)t=Ft(t);t&&_c(t)},consumerOnSignalRead(){this.lView[Te]=this}});function qh(e){return e.type!==2}function Zh(e){if(e[Qn]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Qn])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[S]&8192)}}var WI=100;function Yh(e,t=0){let r=e[et].rendererFactory,o=!1;o||r.begin?.();try{qI(e,t)}finally{o||r.end?.()}}function qI(e,t){let n=Lc();try{Li(!0),Eu(e,t);let r=0;for(;Hr(e);){if(r===WI)throw new y(103,!1);r++,Eu(e,1)}}finally{Li(n)}}function ZI(e,t,n,r){if(fn(t))return;let o=t[S],i=!1,s=!1;Vi(t);let a=!0,c=null,u=null;i||(qh(e)?(u=VI(t),c=Hn(u)):hi()===null?(a=!1,u=zI(t),c=Hn(u)):t[Te]&&(Ar(t[Te]),t[Te]=null));try{Tc(t),Bf(e.bindingStartIndex),n!==null&&Uh(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Ki(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Ji(t,f,0,null),Wc(t,0)}if(s||YI(t),Zh(t),Qh(t,0),e.contentQueries!==null&&ch(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Ki(t,f)}else{let f=e.contentHooks;f!==null&&Ji(t,f,1),Wc(t,1)}KI(e,t);let d=e.components;d!==null&&Jh(t,d,0);let p=e.viewQuery;if(p!==null&&au(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Ki(t,f)}else{let f=e.viewHooks;f!==null&&Ji(t,f,2),Wc(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Ri]){for(let f of t[Ri])f();t[Ri]=null}i||(Gh(t),t[S]&=-73)}catch(l){throw i||pn(t),l}finally{u!==null&&(Sr(u,c),a&&UI(u)),Hi()}}function Qh(e,t){for(let n=Xp(e);n!==null;n=eh(n))for(let r=W;r<n.length;r++){let o=n[r];Kh(o,t)}}function YI(e){for(let t=Xp(e);t!==null;t=eh(t)){if(!(t[S]&2))continue;let n=t[dn];for(let r=0;r<n.length;r++){let o=n[r];_c(o)}}}function QI(e,t,n){P(18);let r=xe(t,e);Kh(r,n),P(19,r[q])}function Kh(e,t){Fi(e)&&Eu(e,t)}function Eu(e,t){let r=e[w],o=e[S],i=e[Te],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Nr(i)),s||=!1,i&&(i.dirty=!1),e[S]&=-9217,s)ZI(r,e,r.template,e[q]);else if(o&8192){let a=M(null);try{Zh(e),Qh(e,1);let c=r.components;c!==null&&Jh(e,c,1),Gh(e)}finally{M(a)}}}function Jh(e,t,n){for(let r=0;r<t.length;r++)QI(e,t[r],n)}function KI(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)Bt(~o);else{let i=o,s=n[++r],a=n[++r];Hf(s,i);let c=t[i];P(24,c),a(2,c),P(25,c)}}}finally{Bt(-1)}}function hl(e,t){let n=Lc()?64:1088;for(e[et].changeDetectionScheduler?.notify(t);e;){e[S]|=n;let r=Ft(e);if(Jn(e)&&!r)return e;e=r}return null}function Xh(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function eg(e,t){let n=W+t;if(n<e.length)return e[n]}function uo(e,t,n,r=!0){let o=t[w];if(JI(o,t,e,n),r){let s=Du(n,e),a=t[k],c=a.parentNode(e[Lt]);c!==null&&pI(o,e[de],a,t,c,s)}let i=t[sn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function tg(e,t){let n=Jr(e,t);return n!==void 0&&Os(n[w],n),n}function Jr(e,t){if(e.length<=W)return;let n=W+t,r=e[n];if(r){let o=r[Pt];o!==null&&o!==e&&al(o,r),t>0&&(e[n-1][Se]=r[Se]);let i=Pr(e,W+t);fI(r[w],r);let s=i[tt];s!==null&&s.detachView(i[w]),r[ne]=null,r[Se]=null,r[S]&=-129}return r}function JI(e,t,n,r){let o=W+r,i=n.length;r>0&&(n[o-1][Se]=t),r<i-W?(t[Se]=n[o],cc(n,W+r,t)):(n.push(t),t[Se]=null),t[ne]=n;let s=t[Pt];s!==null&&n!==s&&ng(s,t);let a=t[tt];a!==null&&a.insertView(e),ki(t),t[S]|=128}function ng(e,t){let n=e[dn],r=t[ne];if(nt(r))e[S]|=2;else{let o=r[ne][fe];t[fe]!==o&&(e[S]|=2)}n===null?e[dn]=[t]:n.push(t)}var Ht=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[w];return Kr(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[q]}set context(t){this._lView[q]=t}get destroyed(){return fn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[ne];if(He(t)){let n=t[Br],r=n?n.indexOf(this):-1;r>-1&&(Jr(t,r),Pr(n,r))}this._attachedToViewContainer=!1}Os(this._lView[w],this._lView)}onDestroy(t){Mc(this._lView,t)}markForCheck(){hl(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[S]&=-129}reattach(){ki(this._lView),this._lView[S]|=128}detectChanges(){this._lView[S]|=1024,Yh(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Jn(this._lView),n=this._lView[Pt];n!==null&&!t&&al(n,this._lView),Lh(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=t;let n=Jn(this._lView),r=this._lView[Pt];r!==null&&!n&&ng(r,this._lView),ki(this._lView)}};var Ut=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=XI;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=co(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new Ht(i)}}return e})();function XI(){return js(Z(),E())}function js(e,t){return e.type&4?new Ut(t,e,ur(e,t)):null}function dr(e,t,n,r,o){let i=e.data[t];if(i===null)i=ew(e,t,n,r,o),Vf()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Lf();i.injectorIndex=s===null?-1:s.injectorIndex}return Xn(i,!0),i}function ew(e,t,n,r,o){let i=Fc(),s=kc(),a=s?i:i&&i.parent,c=e.data[t]=nw(e,a,n,t,r,o);return tw(e,c,i,s),c}function tw(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 nw(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return xc()&&(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 Hk=new RegExp(`^(\\d+)*(${rE}|${nE})*(.*)`);function rw(e){let t=e[Dc]??[],r=e[ne][k],o=[];for(let i of t)i.data[rh]!==void 0?o.push(i):ow(i,r);e[Dc]=o}function ow(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[nh];for(;n<o;){let i=r.nextSibling;Dh(t,r,!1),r=i,n++}}}var iw=()=>null,sw=()=>null;function fs(e,t){return iw(e,t)}function rg(e,t,n){return sw(e,t,n)}var og=class{},Bs=class{},Iu=class{resolveComponentFactory(t){throw new y(917,!1)}},lo=class{static NULL=new Iu},vn=class{},fr=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>aw()}return e})();function aw(){let e=E(),t=Z(),n=xe(t.index,e);return(nt(n)?n:e)[k]}var ig=(()=>{class e{static \u0275prov=_({token:e,providedIn:"root",factory:()=>null})}return e})();var es={},wu=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,es,r);return o!==es||n===es?o:this.parentInjector.get(t,n,r)}};function ps(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=bi(o,a);else if(i==2){let c=a,u=t[++s];r=bi(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function K(e,t=0){let n=E();if(n===null)return b(e,t);let r=Z();return qp(r,n,te(e),t)}function cw(){let e="invalid";throw new Error(e)}function sg(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,u=null;for(let l of s)if(l.resolveHostDirectives!==null){[a,c,u]=l.resolveHostDirectives(s);break}dw(e,t,n,a,i,c,u)}i!==null&&r!==null&&uw(n,r,i)}function uw(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new y(-301,!1);r.push(t[o],i)}}function lw(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function dw(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let p=0;p<a;p++){let f=r[p];!c&&Ne(f)&&(c=!0,lw(e,n,p)),ru(ss(n,t),e,f.type)}yw(n,e.data.length,a);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=Mh(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=ir(n.mergedAttrs,f.hostAttrs),pw(e,n,t,d,f),mw(d,f,o),s!==null&&s.has(f)){let[D,v]=s.get(f);n.directiveToIndex.set(f.type,[d,D+n.directiveStart,v+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!u&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}fw(e,n,i)}function fw(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Dp(0,t,o,r),Dp(1,t,o,r),Ip(t,r,!1);else{let i=n.get(o);Ep(0,t,i,r),Ep(1,t,i,r),Ip(t,r,!0)}}}function Dp(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),ag(t,i)}}function Ep(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),ag(t,s)}}function ag(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Ip(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Xu(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let u=o[c];for(let l of u)if(l===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===t){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function pw(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Ot(o.type,!0)),s=new mn(i,Ne(o),K,null);e.blueprint[r]=s,n[r]=s,hw(e,t,r,Mh(e,n,o.hostVars,Q),o)}function hw(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;gw(s)!=a&&s.push(a),s.push(n,r,i)}}function gw(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function mw(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Ne(t)&&(n[""]=e)}}function yw(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function gl(e,t,n,r,o,i,s,a){let c=t[w],u=c.consts,l=Re(u,s),d=dr(c,e,n,r,l);return i&&sg(c,t,d,Re(u,a),o),d.mergedAttrs=ir(d.mergedAttrs,d.attrs),d.attrs!==null&&ps(d,d.attrs,!1),d.mergedAttrs!==null&&ps(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function ml(e,t){jp(e,t),Ec(t)&&e.queries.elementEnd(t)}function cg(e,t,n,r,o,i){let s=t.consts,a=Re(s,o),c=dr(t,e,n,r,a);if(c.mergedAttrs=ir(c.mergedAttrs,c.attrs),i!=null){let u=Re(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&ps(c,c.attrs,!1),c.mergedAttrs!==null&&ps(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function yl(e){return Vs(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function ug(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function Vs(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function wn(e,t,n){return e[t]=n}function vl(e,t){return e[t]}function ce(e,t,n){if(n===Q)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Xr(e,t,n,r){let o=ce(e,t,n);return ce(e,t+1,r)||o}function Dl(e,t,n,r,o){let i=Xr(e,t,n,r);return ce(e,t+2,o)||i}function fo(e,t,n,r,o,i){let s=Xr(e,t,n,r);return Xr(e,t+2,o,i)||s}function ts(e,t,n){return function r(o){let i=jt(e)?xe(e.index,t):t;hl(i,5);let s=t[q],a=wp(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=wp(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function wp(e,t,n,r){let o=M(null);try{return P(6,t,n),n(r)!==!1}catch(i){return PI(e,i),!1}finally{P(7,t,n),M(o)}}function lg(e,t,n,r,o,i,s,a){let c=Kn(e),u=!1,l=null;if(!r&&c&&(l=Dw(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=Ue(e,n),p=r?r(d):d;iE(n,p,i,a);let f=o.listen(p,i,a);if(!vw(i)){let h=r?D=>r(Ae(D[e.index])):e.index;dg(h,t,n,i,a,f,!1)}}return u}function vw(e){return e.startsWith("animation")||e.startsWith("transition")}function Dw(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[Zn],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function dg(e,t,n,r,o,i,s){let a=t.firstCreatePass?Nc(t):null,c=Sc(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function Cp(e,t,n,r,o,i){let s=t[n],a=t[w],u=a.data[n].outputs[r],d=s[u].subscribe(i);dg(e.index,a,t,o,i,d,!0)}var Cu=Symbol("BINDING");var hs=class extends lo{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Xe(t);return new $t(n,this.ngModule)}};function Ew(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&xs.SignalBased)!==0};return o&&(i.transform=o),i})}function Iw(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function ww(e,t,n){let r=t instanceof me?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new wu(n,r):n}function Cw(e){let t=e.get(vn,null);if(t===null)throw new y(407,!1);let n=e.get(ig,null),r=e.get(Ke,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function bw(e,t){let n=fg(e);return yh(t,n,n==="svg"?Ic:n==="math"?Mf:null)}function fg(e){return(e.selectors[0][0]||"div").toLowerCase()}var $t=class extends Bs{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=Ew(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=Iw(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=ZE(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){P(22);let a=M(null);try{let c=this.componentDef,u=Tw(r,c,s,i),l=ww(c,o||this.ngModule,t),d=Cw(l),p=d.rendererFactory.createRenderer(null,c),f=r?bI(p,r,c.encapsulation,l):bw(c,p),h=s?.some(bp)||i?.some(m=>typeof m!="function"&&m.bindings.some(bp)),D=tl(null,u,null,512|_h(c),null,null,d,p,l,null,ah(f,l,!0));D[j]=f,Vi(D);let v=null;try{let m=gl(j,D,2,"#host",()=>u.directiveRegistry,!0,0);Eh(p,f,m),sr(f,D),ks(u,D,m),Wu(u,m,D),ml(u,m),n!==void 0&&Mw(m,this.ngContentSelectors,n),v=xe(m.index,D),D[q]=v[q],pl(u,D,null)}catch(m){throw v!==null&&iu(v),iu(D),m}finally{P(23),Hi()}return new gs(this.componentType,D,!!h)}finally{M(a)}}};function Tw(e,t,n,r){let o=e?["ng-version","20.3.15"]:YE(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[Cu].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l<r.length;l++){let d=r[l];if(typeof d!="function")for(let p of d.bindings){a+=p[Cu].requiredVars;let f=l+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,p=xi(d);c.push(p)}return el(0,null,_w(i,s),1,a,c,null,null,null,[o],null)}function _w(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function bp(e){let t=e[Cu].kind;return t==="input"||t==="twoWay"}var gs=class extends og{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Vr(n[w],j),this.location=ur(this._tNode,n),this.instance=xe(this._tNode.index,n)[q],this.hostView=this.changeDetectorRef=new Ht(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=fl(r,o[w],o,t,n);this.previousInputValues.set(t,n);let s=xe(r.index,o);hl(s,1)}get injector(){return new gn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Mw(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var zt=(()=>{class e{static __NG_ELEMENT_ID__=Sw}return e})();function Sw(){let e=Z();return hg(e,E())}var Nw=zt,pg=class extends Nw{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ur(this._hostTNode,this._hostLView)}get injector(){return new gn(this._hostTNode,this._hostLView)}get parentInjector(){let t=Hu(this._hostTNode,this._hostLView);if(Hp(t)){let n=os(t,this._hostLView),r=rs(t),o=n[w].data[r+8];return new gn(o,n)}else return new gn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Tp(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-W}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=fs(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,ar(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!ND(t),u;if(c)u=n;else{let v=n||{};u=v.index,r=v.injector,o=v.projectableNodes,i=v.environmentInjector||v.ngModuleRef,s=v.directives,a=v.bindings}let l=c?t:new $t(Xe(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let m=(c?d:this.parentInjector).get(me,null);m&&(i=m)}let p=Xe(l.componentType??{}),f=fs(this._lContainer,p?.id??null),h=f?.firstChild??null,D=l.create(d,o,h,i,s,a);return this.insertImpl(D.hostView,u,ar(this._hostTNode,f)),D}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Nf(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[ne],u=new pg(c,c[de],c[ne]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return uo(s,o,i,r),t.attachToViewContainerRef(),cc(Yc(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Tp(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Jr(this._lContainer,n);r&&(Pr(Yc(this._lContainer),n),Os(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=Jr(this._lContainer,n);return r&&Pr(Yc(this._lContainer),n)!=null?new Ht(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Tp(e){return e[Br]}function Yc(e){return e[Br]||(e[Br]=[])}function hg(e,t){let n,r=t[e.index];return He(r)?n=r:(n=Xh(r,t,null,e),t[e.index]=n,nl(t,n)),xw(n,t,e,r),new pg(n,e,t)}function Aw(e,t){let n=e[k],r=n.createComment(""),o=Ue(t,e),i=n.parentNode(o);return cs(n,i,r,n.nextSibling(o),!1),r}var xw=Fw,Rw=()=>!1;function Ow(e,t,n){return Rw(e,t,n)}function Fw(e,t,n,r){if(e[Lt])return;let o;n.type&8?o=Ae(r):o=Aw(t,n),e[Lt]=o}var bu=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Tu=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Il(t,n).matches!==null&&this.queries[n].setDirty()}},ms=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=Vw(t):this.predicate=t}},_u=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},Mu=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,kw(n,i)),this.matchTNodeWithReadOption(t,n,Xi(n,t,i,!1,!1))}else r===Ut?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Xi(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===st||o===zt||o===Ut&&n.type&4)this.addMatch(n.index,-2);else{let i=Xi(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function kw(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function Pw(e,t){return e.type&11?ur(e,t):e.type&4?js(e,t):null}function Lw(e,t,n,r){return n===-1?Pw(t,e):n===-2?jw(e,t,r):Qr(e,e[w],n,t)}function jw(e,t,n){if(n===st)return ur(t,e);if(n===Ut)return js(t,e);if(n===zt)return hg(t,e)}function gg(e,t,n,r){let o=t[tt].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(Lw(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Su(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=gg(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let u=i[a+1],l=t[-c];for(let d=W;d<l.length;d++){let p=l[d];p[Pt]===p[ne]&&Su(p[w],p,u,r)}if(l[dn]!==null){let d=l[dn];for(let p=0;p<d.length;p++){let f=d[p];Su(f[w],f,u,r)}}}}}return r}function El(e,t){return e[tt].queries[t].queryList}function mg(e,t,n){let r=new as((n&4)===4);return Rf(e,t,r,r.destroy),(t[tt]??=new Tu).queries.push(new bu(r))-1}function yg(e,t,n){let r=B();return r.firstCreatePass&&(vg(r,new ms(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),mg(r,E(),t)}function Bw(e,t,n,r){let o=B();if(o.firstCreatePass){let i=Z();vg(o,new ms(t,n,r),i.index),Hw(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return mg(o,E(),n)}function Vw(e){return e.split(",").map(t=>t.trim())}function vg(e,t,n){e.queries===null&&(e.queries=new _u),e.queries.track(new Mu(t,n))}function Hw(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Il(e,t){return e.queries.getByIndex(t)}function Dg(e,t){let n=e[w],r=Il(n,t);return r.crossesNgTemplate?Su(n,e,t,[]):gg(n,e,r,t)}function Eg(e,t,n){let r,o=xr(()=>{r._dirtyCounter();let i=$w(r,e);if(t&&i===void 0)throw new y(-951,!1);return i});return r=o[ee],r._dirtyCounter=$i(0),r._flatValue=void 0,o}function Ig(e){return Eg(!0,!1,e)}function wg(e){return Eg(!0,!0,e)}function Uw(e,t){let n=e[ee];n._lView=E(),n._queryIndex=t,n._queryList=El(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function $w(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[S]&4)return t?void 0:ae;let o=El(n,r),i=Dg(n,r);return o.reset(i,Qp),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var Dn=class{},Cg=class{};var ys=class extends Dn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new hs(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=dc(t);this._bootstrapComponents=Ch(i.bootstrap),this._r3Injector=Hc(t,n,[{provide:Dn,useValue:this},{provide:lo,useValue:this.componentFactoryResolver},...r],Dt(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)}},vs=class extends Cg{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new ys(this.moduleType,t,[])}};var eo=class extends Dn{injector;componentFactoryResolver=new hs(this);instance=null;constructor(t){super();let n=new rn([...t.providers,{provide:Dn,useValue:this},{provide:lo,useValue:this.componentFactoryResolver}],t.parent||Wn(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function bg(e,t,n=null){return new eo({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var zw=(()=>{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=fc(!1,n.type),o=r.length>0?bg([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=_({token:e,providedIn:"environment",factory:()=>new e(b(me))})}return e})();function Gw(e){return ro(()=>{let t=Tg(e),n=oe(z({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===$u.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(zw).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||bt.Emulated,styles:e.styles||ae,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&ct("NgStandalone"),_g(n);let r=e.dependencies;return n.directiveDefs=_p(r,Ww),n.pipeDefs=_p(r,wf),n.id=Yw(n),n})}function Ww(e){return Xe(e)||xi(e)}function Gt(e){return ro(()=>({type:e.type,bootstrap:e.bootstrap||ae,declarations:e.declarations||ae,imports:e.imports||ae,exports:e.exports||ae,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function qw(e,t){if(e==null)return Ve;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=xs.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function Zw(e){if(e==null)return Ve;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Mt(e){return ro(()=>{let t=Tg(e);return _g(t),t})}function pr(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Tg(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||Ve,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||ae,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:qw(e.inputs,t),outputs:Zw(e.outputs),debugInfo:null}}function _g(e){e.features?.forEach(t=>t(e))}function _p(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 Yw(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 Qw(e){return Object.getPrototypeOf(e.prototype).constructor}function Mg(e){let t=Qw(e.type),n=!0,r=[e];for(;t;){let o;if(Ne(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new y(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Qc(e.inputs),s.declaredInputs=Qc(e.declaredInputs),s.outputs=Qc(e.outputs);let a=o.hostBindings;a&&tC(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&Xw(e,c),u&&eC(e,u),Kw(e,o),pf(e.outputs,o.outputs),Ne(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===Mg&&(n=!1)}}t=Object.getPrototypeOf(t)}Jw(r)}function Kw(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function Jw(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=ir(o.hostAttrs,n=ir(n,o.hostAttrs))}}function Qc(e){return e===Ve?{}:e===ae?[]:e}function Xw(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function eC(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function tC(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function nC(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=rC,n.hostDirectives=r?e.map(Nu):[e]):r?n.hostDirectives.unshift(...e.map(Nu)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function rC(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,Sg(s,t,r),o.set(s,[a,t.length-1])}i===0&&Ne(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,r,o]}function Sg(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)Mp(Nu(i),t,n)}else Mp(r,t,n)}function Mp(e,t,n){let r=xi(e.directive);oC(r.declaredInputs,e.inputs),Sg(r,t,n),n.set(r,e),t.push(r)}function Nu(e){return typeof e=="function"?{directive:te(e),inputs:Ve,outputs:Ve}:{directive:te(e.directive),inputs:Sp(e.inputs),outputs:Sp(e.outputs)}}function Sp(e){if(e===void 0||e.length===0)return Ve;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function oC(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function Ng(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=ir(e.mergedAttrs,e.attrs);let l=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),l.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Xn(e,!1);let c=sC(n,t,e,r);Ui()&&cl(n,t,c,e),sr(c,t);let u=Xh(c,t,c,e);t[r+j]=u,nl(t,u),Ow(u,e,t)}function iC(e,t,n,r,o,i,s,a,c,u,l){let d=n+j,p;return t.firstCreatePass?(p=dr(t,d,4,s||null,a||null),Pi()&&sg(t,e,p,Re(t.consts,u),dl),jp(t,p)):p=t.data[d],Ng(p,e,t,n,r,o,i,c),Kn(p)&&ks(t,e,p),u!=null&&lr(e,p,l),p}function to(e,t,n,r,o,i,s,a,c,u,l){let d=n+j,p;if(t.firstCreatePass){if(p=dr(t,d,4,s||null,a||null),u!=null){let f=Re(t.consts,u);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return Ng(p,e,t,n,r,o,i,c),u!=null&&lr(e,p,l),p}function Ag(e,t,n,r,o,i,s,a){let c=E(),u=B(),l=Re(u.consts,i);return iC(c,u,e,t,n,r,o,l,void 0,s,a),Ag}var sC=aC;function aC(e,t,n,r){return zr(!0),t[k].createComment("")}var xg=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var Hs=new I(""),hr=new I(""),po=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(n,r,o){this._ngZone=n,this.registry=r,gc()&&(this._destroyRef=g(Oe,{optional:!0})??void 0),wl||(Rg(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let n=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{H.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{n.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(n)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static \u0275fac=function(r){return new(r||e)(b(H),b(ho),b(hr))};static \u0275prov=_({token:e,factory:e.\u0275fac})}return e})(),ho=(()=>{class e{_applications=new Map;registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return wl?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Rg(e){wl=e}var wl;function Us(e){return!!e&&typeof e.then=="function"}function Cl(e){return!!e&&typeof e.subscribe=="function"}var bl=new I("");function cC(e){return Gn([{provide:bl,multi:!0,useValue:e}])}var Tl=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=g(bl,{optional:!0})??[];injector=g(ye);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=qn(this.injector,o);if(Us(i))n.push(i);else if(Cl(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=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Og=new I("");function Fg(){Ha(()=>{let e="";throw new y(600,e)})}function kg(e){return e.isBoundToModule}var uC=10;var Cn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(ot);afterRenderManager=g(sl);zonelessEnabled=g(Wr);rootEffectScheduler=g(Gi);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new pe;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=g(Vt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(ge(n=>!n))}constructor(){g(In,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=g(me);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=ye.NULL){return this._injector.get(H).run(()=>{P(10);let s=n instanceof Bs;if(!this._injector.get(Tl).done){let h="";throw new y(405,h)}let c;s?c=n:c=this._injector.get(lo).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=kg(c)?void 0:this._injector.get(Dn),l=r||c.selector,d=c.create(o,[],l,u),p=d.location.nativeElement,f=d.injector.get(Hs,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),Zr(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),P(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){P(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Rs.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new y(101,!1);let n=M(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,M(n),this.afterTick.next(),P(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(vn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<uC;)P(14),this.synchronizeOnce(),P(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!Hr(o))continue;let i=r&&!this.zonelessEnabled?0:1;Yh(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Hr(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;Zr(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(Og,[]).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),()=>Zr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new y(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=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Zr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Pg(e,t,n,r){let o=E(),i=wt();if(ce(o,i,t)){let s=B(),a=er();RI(a,o,e,t,n,r)}return Pg}var Zk=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Au=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 Kc(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function lC(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 u=e.at(i),l=t[i],d=Kc(i,u,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let p=e.at(s),f=t[c],h=Kc(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let D=n(i,u),v=n(s,p),m=n(i,l);if(Object.is(m,v)){let O=n(c,f);Object.is(O,D)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new Ds,o??=Ap(e,i,s,n),xu(e,r,i,m))e.updateValue(i,l),i++,s++;else if(o.has(m))r.set(D,e.detach(i)),s--;else{let O=e.create(i,t[i]);e.attach(i,O),i++,s++}}for(;i<=c;)Np(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),u=c.next();for(;!u.done&&i<=s;){let l=e.at(i),d=u.value,p=Kc(i,l,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,u=c.next();else{r??=new Ds,o??=Ap(e,i,s,n);let f=n(i,d);if(xu(e,r,i,f))e.updateValue(i,d),i++,s++,u=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,u=c.next();else{let h=n(i,l);r.set(h,e.detach(i)),s--}}}for(;!u.done;)Np(e,r,n,e.length,u.value),u=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function xu(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Np(e,t,n,r,o){if(xu(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Ap(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 Ds=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 dC(e,t,n,r,o,i,s,a){ct("NgControlFlow");let c=E(),u=B(),l=Re(u.consts,i);return to(c,u,e,t,n,r,o,l,256,s,a),_l}function _l(e,t,n,r,o,i,s,a){ct("NgControlFlow");let c=E(),u=B(),l=Re(u.consts,i);return to(c,u,e,t,n,r,o,l,512,s,a),_l}function fC(e,t){ct("NgControlFlow");let n=E(),r=wt(),o=n[r]!==Q?n[r]:-1,i=o!==-1?Es(n,j+o):void 0,s=0;if(ce(n,r,e)){let a=M(null);try{if(i!==void 0&&tg(i,s),e!==-1){let c=j+e,u=Es(n,c),l=ku(n[w],c),d=rg(u,l,n),p=co(n,l,t,{dehydratedView:d});uo(u,p,s,ar(l,d))}}finally{M(a)}}else if(i!==void 0){let a=eg(i,s);a!==void 0&&(a[q]=t)}}var Ru=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-W}};function pC(e){return e}function hC(e,t){return t}var Ou=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function gC(e,t,n,r,o,i,s,a,c,u,l,d,p){ct("NgControlFlow");let f=E(),h=B(),D=c!==void 0,v=E(),m=a?s.bind(v[fe][q]):s,O=new Ou(D,m);v[j+e]=O,to(f,h,e+1,t,n,r,o,Re(h.consts,i),256),D&&to(f,h,e+2,c,u,l,d,Re(h.consts,p),512)}var Fu=class extends Au{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-W}at(t){return this.getLView(t)[q].$implicit}attach(t,n){let r=n[sn];this.needsIndexUpdate||=t!==this.length,uo(this.lContainer,n,t,ar(this.templateTNode,r)),yC(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,vC(this.lContainer,t),DC(this.lContainer,t)}create(t,n){let r=fs(this.lContainer,this.templateTNode.tView.ssrId),o=co(this.hostLView,this.templateTNode,new Ru(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Os(t[w],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[q].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[q].$index=t}getLView(t){return EC(this.lContainer,t)}};function mC(e){let t=M(null),n=_e();try{let r=E(),o=r[w],i=r[n],s=n+1,a=Es(r,s);if(i.liveCollection===void 0){let u=ku(o,s);i.liveCollection=new Fu(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(lC(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let u=wt(),l=c.length===0;if(ce(r,u,l)){let d=n+2,p=Es(r,d);if(l){let f=ku(o,d),h=rg(p,f,r),D=co(r,f,void 0,{dehydratedView:h});uo(p,D,0,ar(f,h))}else o.firstUpdatePass&&rw(p),tg(p,0)}}}finally{M(t)}}function Es(e,t){return e[t]}function yC(e,t){if(e.length<=W)return;let n=W+t,r=e[n],o=r?r[ln]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[It];lI(i,o),yn.delete(r),o.detachedLeaveAnimationFns=void 0}}function vC(e,t){if(e.length<=W)return;let n=W+t,r=e[n],o=r?r[ln]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function DC(e,t){return Jr(e,t)}function EC(e,t){return eg(e,t)}function ku(e,t){return Vr(e,t)}function Lg(e,t,n){let r=E(),o=wt();if(ce(r,o,t)){let i=B(),s=er();$h(s,r,e,t,r[k],n)}return Lg}function Pu(e,t,n,r,o){fl(t,e,n,o?"class":"style",r)}function Ml(e,t,n,r){let o=E(),i=o[w],s=e+j,a=i.firstCreatePass?gl(s,o,2,t,dl,Pi(),n,r):i.data[s];if(Ps(a,o,e,t,Vg),Kn(a)){let c=o[w];ks(c,o,a),Wu(c,a,o)}return r!=null&&lr(o,a),Ml}function Sl(){let e=B(),t=Z(),n=Ls(t);return e.firstCreatePass&&ml(e,n),Rc(n)&&Oc(),Ac(),n.classesWithoutHost!=null&&kD(n)&&Pu(e,n,E(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&PD(n)&&Pu(e,n,E(),n.stylesWithoutHost,!1),Sl}function jg(e,t,n,r){return Ml(e,t,n,r),Sl(),jg}function Nl(e,t,n,r){let o=E(),i=o[w],s=e+j,a=i.firstCreatePass?cg(s,i,2,t,n,r):i.data[s];return Ps(a,o,e,t,Vg),r!=null&&lr(o,a),Nl}function Al(){let e=Z(),t=Ls(e);return Rc(t)&&Oc(),Ac(),Al}function Bg(e,t,n,r){return Nl(e,t,n,r),Al(),Bg}var Vg=(e,t,n,r,o)=>(zr(!0),yh(t[k],r,Yf()));function Hg(e,t,n){let r=E(),o=r[w],i=e+j,s=o.firstCreatePass?gl(i,r,8,"ng-container",dl,Pi(),t,n):o.data[i];if(Ps(s,r,e,"ng-container",zg),Kn(s)){let a=r[w];ks(a,r,s),Wu(a,s,r)}return n!=null&&lr(r,s),Hg}function xl(){let e=B(),t=Z(),n=Ls(t);return e.firstCreatePass&&ml(e,n),xl}function Rl(e,t,n){let r=E(),o=r[w],i=e+j,s=o.firstCreatePass?cg(i,o,8,"ng-container",t,n):o.data[i];return Ps(s,r,e,"ng-container",zg),n!=null&&lr(r,s),Rl}function Ug(){let e=Z(),t=Ls(e);return xl}function $g(e,t,n){return Rl(e,t,n),Ug(),$g}var zg=(e,t,n,r,o)=>(zr(!0),AE(t[k],""));function IC(){return E()}function Gg(e,t,n){let r=E(),o=wt();if(ce(r,o,t)){let i=B(),s=er();ll(s,r,e,t,r[k],n)}return Gg}function Wg(e,t,n){let r=E(),o=wt();if(ce(r,o,t)){let i=B(),s=er(),a=jc(i.data),c=kI(a,s,r);ll(s,r,e,t,c,n)}return Wg}var Yi=void 0;function wC(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var CC=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Yi,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Yi,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Yi,"{1} 'at' {0}",Yi],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",wC],Yr={};function Ol(e,t,n){typeof t!="string"&&(n=t,t=e[U.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Yr[t]=e,n&&(Yr[t][U.ExtraData]=n)}function De(e){let t=bC(e),n=xp(t);if(n)return n;let r=t.split("-")[0];if(n=xp(r),n)return n;if(r==="en")return CC;throw new y(701,!1)}function xp(e){return e in Yr||(Yr[e]=re.ng&&re.ng.common&&re.ng.common.locales&&re.ng.common.locales[e]),Yr[e]}var U=(function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e})(U||{});function bC(e){return e.toLowerCase().replace(/_/g,"-")}var go="en-US";var TC=go;function qg(e){typeof e=="string"&&(TC=e.toLowerCase().replace(/_/g,"-"))}function Zg(e,t,n){let r=E(),o=B(),i=Z();return Qg(o,r,r[k],i,e,t,n),Zg}function Yg(e,t,n){let r=E(),o=B(),i=Z();return(i.type&3||n)&&lg(i,o,r,n,r[k],e,t,ts(i,r,t)),Yg}function Qg(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=ts(r,t,i),lg(r,e,t,s,n,o,i,c)&&(a=!1)),a){let u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d<l.length;d+=2){let p=l[d],f=l[d+1];c??=ts(r,t,i),Cp(r,t,p,f,o,c)}if(u&&u.length)for(let d of u)c??=ts(r,t,i),Cp(r,t,d,o,o,c)}}function _C(e=1){return Wf(e)}function MC(e,t){let n=null,r=$E(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Th(e,i,!0):WE(r,i))return o}return n}function SC(e){let t=E()[fe][de];if(!t.projection){let n=e?e.length:1,r=t.projection=Ef(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?MC(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function NC(e,t=0,n,r,o,i){let s=E(),a=B(),c=r?e+1:null;c!==null&&to(s,a,c,r,o,i,null,n);let u=dr(a,j+e,16,null,n||null);u.projection===null&&(u.projection=t),Pc();let d=!s[sn]||xc();s[fe][de].projection[u.projection]===null&&c!==null?AC(s,a,c):d&&!Ss(u)&&II(a,s,u)}function AC(e,t,n){let r=j+n,o=t.data[r],i=e[r],s=fs(i,o.tView.ssrId),a=co(e,o,void 0,{dehydratedView:s});uo(i,a,0,ar(o,s))}function xC(e,t,n,r){Bw(e,t,n,r)}function RC(e,t,n){yg(e,t,n)}function OC(e){let t=E(),n=B(),r=Bi();$r(r+1);let o=Il(n,r);if(e.dirty&&Sf(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Dg(t,r);e.reset(i,Qp),e.notifyOnChanges()}return!0}return!1}function FC(){return El(E(),Bi())}function kC(e,t,n,r){Uw(e,yg(t,n,r))}function PC(e=1){$r(Bi()+e)}function LC(e){let t=jf();return Oi(t,j+e)}function Qi(e,t){return e<<17|t<<2}function En(e){return e>>17&32767}function jC(e){return(e&2)==2}function BC(e,t){return e&131071|t<<17}function Lu(e){return e|2}function cr(e){return(e&131068)>>2}function Jc(e,t){return e&-131069|t<<2}function VC(e){return(e&1)===1}function ju(e){return e|1}function HC(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=En(s),c=cr(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||zn(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=En(e[a+1]);e[r+1]=Qi(p,a),p!==0&&(e[p+1]=Jc(e[p+1],r)),e[a+1]=BC(e[a+1],r)}else e[r+1]=Qi(a,0),a!==0&&(e[a+1]=Jc(e[a+1],r)),a=r;else e[r+1]=Qi(c,0),a===0?a=r:e[c+1]=Jc(e[c+1],r),c=r;u&&(e[r+1]=Lu(e[r+1])),Rp(e,l,r,!0),Rp(e,l,r,!1),UC(t,l,e,r,i),s=Qi(a,c),i?t.classBindings=s:t.styleBindings=s}function UC(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&zn(i,t)>=0&&(n[r+1]=ju(n[r+1]))}function Rp(e,t,n,r){let o=e[n+1],i=t===null,s=r?En(o):cr(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];$C(c,t)&&(a=!0,e[s+1]=r?ju(u):Lu(u)),s=r?En(u):cr(u)}a&&(e[n+1]=r?Lu(o):ju(o))}function $C(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?zn(e,t)>=0:!1}var ze={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function zC(e){return e.substring(ze.key,ze.keyEnd)}function GC(e){return WC(e),Kg(e,Jg(e,0,ze.textEnd))}function Kg(e,t){let n=ze.textEnd;return n===t?-1:(t=ze.keyEnd=qC(e,ze.key=t,n),Jg(e,t,n))}function WC(e){ze.key=0,ze.keyEnd=0,ze.value=0,ze.valueEnd=0,ze.textEnd=e.length}function Jg(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function qC(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function $s(e,t,n){return em(e,t,n,!1),$s}function Xg(e,t){return em(e,t,null,!0),Xg}function ZC(e){QC(nb,YC,e,!0)}function YC(e,t){for(let n=GC(t);n>=0;n=Kg(t,n))Ni(e,zC(t),!0)}function em(e,t,n,r){let o=E(),i=B(),s=hn(2);if(i.firstUpdatePass&&nm(i,e,s,r),t!==Q&&ce(o,s,t)){let a=i.data[_e()];rm(i,a,o,o[k],e,o[s+1]=ob(t,n),r,s)}}function QC(e,t,n,r){let o=B(),i=hn(2);o.firstUpdatePass&&nm(o,null,i,r);let s=E();if(n!==Q&&ce(s,i,n)){let a=o.data[_e()];if(om(a,r)&&!tm(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=bi(c,n||"")),Pu(o,a,s,n,r)}else rb(o,a,s,s[k],s[i+1],s[i+1]=tb(e,t,n),r,i)}}function tm(e,t){return t>=e.expandoStartIndex}function nm(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[_e()],s=tm(e,n);om(i,r)&&t===null&&!s&&(t=!1),t=KC(o,i,t,r),HC(o,i,t,n,s,r)}}function KC(e,t,n,r){let o=jc(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Xc(null,e,t,n,r),n=no(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Xc(o,e,t,n,r),i===null){let c=JC(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Xc(null,e,t,c[1],r),c=no(c,t.attrs,r),XC(e,t,r,c))}else i=eb(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function JC(e,t,n){let r=n?t.classBindings:t.styleBindings;if(cr(r)!==0)return e[En(r)]}function XC(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[En(o)]=r}function eb(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=no(r,s,n)}return no(r,t.attrs,n)}function Xc(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=no(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function no(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Ni(e,s,n?!0:t[++i]))}return e===void 0?null:e}function tb(e,t,n){if(n==null||n==="")return ae;let r=[],o=ve(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function nb(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Ni(e,r,n)}function rb(e,t,n,r,o,i,s,a){o===Q&&(o=ae);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,h=null,D;l===d?(c+=2,u+=2,p!==f&&(h=d,D=f)):d===null||l!==null&&l<d?(c+=2,h=l):(u+=2,h=d,D=f),h!==null&&rm(e,t,n,r,h,D,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function rm(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=VC(u)?Op(c,t,n,o,cr(u),s):void 0;if(!Is(l)){Is(i)||jC(u)&&(i=Op(c,null,n,o,a,s));let d=Cc(_e(),n);CI(r,s,d,o,i)}}function Op(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,p=n[o+1];p===Q&&(p=d?ae:void 0);let f=d?Ai(p,r):l===r?p:void 0;if(u&&!Is(f)&&(f=Ai(c,r)),Is(f)&&(a=f,s))return a;let h=e[o+1];o=s?En(h):cr(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Ai(c,r))}return a}function Is(e){return e!==void 0}function ob(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Dt(ve(e)))),e}function om(e,t){return(e.flags&(t?8:16))!==0}function ib(e,t=""){let n=E(),r=B(),o=e+j,i=r.firstCreatePass?dr(r,o,1,t,null):r.data[o],s=sb(r,n,i,t,e);n[o]=s,Ui()&&cl(r,n,s,i),Xn(i,!1)}var sb=(e,t,n,r,o)=>(zr(!0),SE(t[k],r));function im(e,t,n,r=""){return ce(e,wt(),n)?t+J(n)+r:Q}function ab(e,t,n,r,o,i=""){let s=Ur(),a=Xr(e,s,n,o);return hn(2),a?t+J(n)+r+J(o)+i:Q}function cb(e,t,n,r,o,i,s,a=""){let c=Ur(),u=Dl(e,c,n,o,s);return hn(3),u?t+J(n)+r+J(o)+i+J(s)+a:Q}function ub(e,t,n,r,o,i,s,a,c,u=""){let l=Ur(),d=fo(e,l,n,o,s,c);return hn(4),d?t+J(n)+r+J(o)+i+J(s)+a+J(c)+u:Q}function lb(e,t,n,r,o,i,s,a,c,u,l,d=""){let p=Ur(),f=fo(e,p,n,o,s,c);return f=ce(e,p+4,l)||f,hn(5),f?t+J(n)+r+J(o)+i+J(s)+a+J(c)+u+J(l)+d:Q}function sm(e){return Fl("",e),sm}function Fl(e,t,n){let r=E(),o=im(r,e,t,n);return o!==Q&&mo(r,_e(),o),Fl}function am(e,t,n,r,o){let i=E(),s=ab(i,e,t,n,r,o);return s!==Q&&mo(i,_e(),s),am}function cm(e,t,n,r,o,i,s){let a=E(),c=cb(a,e,t,n,r,o,i,s);return c!==Q&&mo(a,_e(),c),cm}function um(e,t,n,r,o,i,s,a,c){let u=E(),l=ub(u,e,t,n,r,o,i,s,a,c);return l!==Q&&mo(u,_e(),l),um}function lm(e,t,n,r,o,i,s,a,c,u,l){let d=E(),p=lb(d,e,t,n,r,o,i,s,a,c,u,l);return p!==Q&&mo(d,_e(),p),lm}function mo(e,t,n){let r=Cc(t,e);NE(e[k],r,n)}function dm(e,t,n){$c(t)&&(t=t());let r=E(),o=wt();if(ce(r,o,t)){let i=B(),s=er();$h(s,r,e,t,r[k],n)}return dm}function db(e,t){let n=$c(e);return n&&e.set(t),n}function fm(e,t){let n=E(),r=B(),o=Z();return Qg(r,n,n[k],o,e,t),fm}function fb(e,t,n=""){return im(E(),e,t,n)}function pb(e,t,n){let r=B();if(r.firstCreatePass){let o=Ne(e);Bu(n,r.data,r.blueprint,o,!0),Bu(t,r.data,r.blueprint,o,!1)}}function Bu(e,t,n,r,o){if(e=te(e),Array.isArray(e))for(let i=0;i<e.length;i++)Bu(e[i],t,n,r,o);else{let i=B(),s=E(),a=Z(),c=nn(e)?e:te(e.provide),u=hc(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(nn(e)||!e.multi){let f=new mn(u,o,K,null),h=tu(c,t,o?l:l+p,d);h===-1?(ru(ss(a,s),i,c),eu(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=tu(c,t,l+p,d),h=tu(c,t,l,l+p),D=f>=0&&n[f],v=h>=0&&n[h];if(o&&!v||!o&&!D){ru(ss(a,s),i,c);let m=mb(o?gb:hb,n.length,o,r,u,e);!o&&v&&(n[h].providerFactory=m),eu(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=pm(n[o?h:f],u,!o&&r);eu(i,e,f>-1?f:h,m)}!o&&r&&v&&n[h].componentProviders++}}}function eu(e,t,n,r){let o=nn(t),i=_f(t);if(o||i){let c=(i?te(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function pm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function tu(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function hb(e,t,n,r,o){return Vu(this.multi,[])}function gb(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Qr(r,r[w],this.providerFactory.index,o);s=c.slice(0,a),Vu(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],Vu(i,s);return s}function Vu(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function mb(e,t,n,r,o,i){let s=new mn(e,n,K,null);return s.multi=[],s.index=t,s.componentProviders=0,pm(s,o,r&&!n),s}function yb(e,t=[]){return n=>{n.providersResolver=(r,o)=>pb(r,o?o(e):e,t)}}function vb(e,t,n){let r=rt()+e,o=E();return o[r]===Q?wn(o,r,n?t.call(n):t()):vl(o,r)}function Db(e,t,n,r){return hm(E(),rt(),e,t,n,r)}function Eb(e,t,n,r,o){return gm(E(),rt(),e,t,n,r,o)}function Ib(e,t,n,r,o,i){return Tb(E(),rt(),e,t,n,r,o,i)}function wb(e,t,n,r,o,i,s){return _b(E(),rt(),e,t,n,r,o,i,s)}function Cb(e,t,n,r,o,i,s,a){let c=rt()+e,u=E(),l=fo(u,c,n,r,o,i);return ce(u,c+4,s)||l?wn(u,c+5,a?t.call(a,n,r,o,i,s):t(n,r,o,i,s)):vl(u,c+5)}function bb(e,t,n,r,o,i,s,a,c,u){let l=rt()+e,d=E(),p=fo(d,l,n,r,o,i);return Dl(d,l+4,s,a,c)||p?wn(d,l+7,u?t.call(u,n,r,o,i,s,a,c):t(n,r,o,i,s,a,c)):vl(d,l+7)}function zs(e,t){let n=e[t];return n===Q?void 0:n}function hm(e,t,n,r,o,i){let s=t+n;return ce(e,s,o)?wn(e,s+1,i?r.call(i,o):r(o)):zs(e,s+1)}function gm(e,t,n,r,o,i,s){let a=t+n;return Xr(e,a,o,i)?wn(e,a+2,s?r.call(s,o,i):r(o,i)):zs(e,a+2)}function Tb(e,t,n,r,o,i,s,a){let c=t+n;return Dl(e,c,o,i,s)?wn(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):zs(e,c+3)}function _b(e,t,n,r,o,i,s,a,c){let u=t+n;return fo(e,u,o,i,s,a)?wn(e,u+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):zs(e,u+4)}function Mb(e,t){let n=B(),r,o=e+j;n.firstCreatePass?(r=Sb(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=Ot(r.type,!0)),s,a=le(K);try{let c=is(!1),u=i();return is(c),bc(n,E(),o,u),u}finally{le(a)}}function Sb(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Nb(e,t,n){let r=e+j,o=E(),i=Oi(o,r);return mm(o,r)?hm(o,rt(),t,i.transform,n,i):i.transform(n)}function Ab(e,t,n,r){let o=e+j,i=E(),s=Oi(i,o);return mm(i,o)?gm(i,rt(),t,s.transform,n,r,s):s.transform(n,r)}function mm(e,t){return e[w].data[t].pure}function xb(e,t){return js(e,t)}var ws=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},Rb=(()=>{class e{compileModuleSync(n){return new vs(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=dc(n),i=Ch(o.declarations).reduce((s,a)=>{let c=Xe(a);return c&&s.push(new $t(c)),s},[]);return new ws(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=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ob=(()=>{class e{zone=g(H);changeDetectionScheduler=g(Ke);applicationRef=g(Cn);applicationErrorHandler=g(ot);_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=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ym({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new H(oe(z({},vm()),{scheduleInRootZone:n})),[{provide:H,useFactory:e},{provide:kt,multi:!0,useFactory:()=>{let r=g(Ob,{optional:!0});return()=>r.initialize()}},{provide:kt,multi:!0,useFactory:()=>{let r=g(Fb);return()=>{r.initialize()}}},t===!0?{provide:zc,useValue:!0}:[],{provide:Gc,useValue:n??Nh},{provide:ot,useFactory:()=>{let r=g(H),o=g(me),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(be),i.handleError(s))})}}}]}function vm(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Fb=(()=>{class e{subscription=new G;initialized=!1;zone=g(H);pendingTasks=g(Vt);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(()=>{H.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{H.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Dm=(()=>{class e{applicationErrorHandler=g(ot);appRef=g(Cn);taskService=g(Vt);ngZone=g(H);zonelessEnabled=g(Wr);tracing=g(In,{optional:!0});disableScheduling=g(zc,{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(us):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(Gc,{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 ls||!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}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?pp:Ah;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(us+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,pp(()=>{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=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function kb(){return typeof $localize<"u"&&$localize.locale||go}var gr=new I("",{providedIn:"root",factory:()=>g(gr,{optional:!0,skipSelf:!0})||kb()});var yo=class{destroyed=!1;listeners=null;errorHandler=g(be,{optional:!0});destroyRef=g(Oe);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new y(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(Je(953,!1));return}if(this.listeners===null)return;let n=M(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{M(n)}}};function Im(e){return lf(e)}function Pb(e,t){return xr(e,t?.equal)}var Em=class{[ee];constructor(t){this[ee]=t}destroy(){this[ee].destroy()}};var qs=Symbol("InputSignalNode#UNSET"),xm=oe(z({},vi),{transformFn:void 0,applyValueToInputSignal(e,t){Xt(e,t)}});function Rm(e,t){let n=Object.create(xm);n.value=e,n.transformFn=t?.transform;function r(){if(Jt(n),n.value===qs){let o=null;throw new y(-950,o)}return n.value}return r[ee]=n,r}var wm=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Uu(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},$b=new I("");$b.__NG_ELEMENT_ID__=e=>{let t=Z();if(t===null)throw new y(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new y(204,!1)};function NV(e){return new yo}function Cm(e,t){return Rm(e,t)}function zb(e){return Rm(qs,e)}var AV=(Cm.required=zb,Cm);function bm(e,t){return Ig(t)}function Gb(e,t){return wg(t)}var xV=(bm.required=Gb,bm);function Om(e,t){let n=Object.create(xm),r=new yo;n.value=e;function o(){return Jt(n),Tm(n.value),n.value}return o[ee]=n,o.asReadonly=zi.bind(o),o.set=i=>{n.equal(n.value,i)||(Xt(n,i),r.emit(i))},o.update=i=>{Tm(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Tm(e){if(e===qs)throw new y(952,!1)}function _m(e,t){return Om(e,t)}function Wb(e){return Om(qs,e)}var RV=(_m.required=Wb,_m);var kl=new I(""),qb=new I("");function vo(e){return!e.moduleRef}function Zb(e){let t=vo(e)?e.r3Injector:e.moduleRef.injector,n=t.get(H);return n.run(()=>{vo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(ot),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),vo(e)){let i=()=>t.destroy(),s=e.platformInjector.get(kl);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(kl);s.add(i),e.moduleRef.onDestroy(()=>{Zr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return Qb(r,n,()=>{let i=t.get(Vt),s=i.add(),a=t.get(Tl);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(gr,go);if(qg(c||go),!t.get(qb,!0))return vo(e)?t.get(Cn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(vo(e)){let l=t.get(Cn);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return Yb?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void i.remove(s))})})}var Yb;function Qb(e,t,n){try{let r=n();return Us(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Gs=null;function Kb(e=[],t){return ye.create({name:t,providers:[{provide:Lr,useValue:"platform"},{provide:kl,useValue:new Set([()=>Gs=null])},...e]})}function Jb(e=[]){if(Gs)return Gs;let t=Kb(e);return Gs=t,Fg(),Xb(t),t}function Xb(e){let t=e.get(bs,null);qn(e,()=>{t?.forEach(n=>n())})}var $l=(()=>{class e{static __NG_ELEMENT_ID__=eT}return e})();function eT(e){return tT(Z(),E(),(e&16)===16)}function tT(e,t,n){if(jt(e)&&!n){let r=xe(e.index,t);return new Ht(r,r)}else if(e.type&175){let r=t[fe];return new Ht(r,t)}return null}var Pl=class{constructor(){}supports(t){return yl(t)}create(t){return new Ll(t)}},nT=(e,t)=>t,Ll=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||nT}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<Mm(r,o,i)?n:r,a=Mm(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let u=a-o,l=c-o;if(u!=l){for(let p=0;p<u;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;l<=h&&h<u&&(i[p]=f+1)}let d=s.previousIndex;i[d]=l-u}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!yl(t))throw new y(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,ug(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new jl(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Ws),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Ws),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},jl=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},Bl=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Ws=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Bl,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Mm(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var Vl=class{constructor(){}supports(t){return t instanceof Map||Vs(t)}create(){return new Hl}},Hl=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Vs(t)))throw new y(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Ul(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},Ul=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Sm(){return new zl([new Pl])}var zl=(()=>{class e{factories;static \u0275prov=_({token:e,providedIn:"root",factory:Sm});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=g(e,{optional:!0,skipSelf:!0});return e.create(n,r||Sm())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new y(901,!1)}}return e})();function Nm(){return new Gl([new Vl])}var Gl=(()=>{class e{static \u0275prov=_({token:e,providedIn:"root",factory:Nm});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=g(e,{optional:!0,skipSelf:!0});return e.create(n,r||Nm())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new y(901,!1)}}return e})();var Fm=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(b(Cn))};static \u0275mod=Gt({type:e});static \u0275inj=Et({})}return e})();function km(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;P(8);try{let i=o?.injector??Jb(r),s=[ym({}),{provide:Ke,useExisting:Dm},Kf,...n||[]],a=new eo({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return Zb({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{P(9)}}function Do(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Wl(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function OV(e,t){let n=Xe(e),r=t.elementInjector||Wn();return new $t(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function FV(e){let t=Xe(e);if(!t)return null;let n=new $t(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var jm=null;function ut(){return jm}function ql(e){jm??=e}var Eo=class{},Io=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:()=>g(Bm),providedIn:"platform"})}return e})(),rT=new I(""),Bm=(()=>{class e extends Io{_location;_history;_doc=g(Y);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ut().getBaseHref(this._doc)}onPopState(n){let r=ut().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=ut().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=_({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Zs(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function Pm(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function We(e){return e&&e[0]!=="?"?`?${e}`:e}var mr=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:()=>g(Vm),providedIn:"root"})}return e})(),Ys=new I(""),Vm=(()=>{class e extends mr{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(Y).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 Zs(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+We(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+We(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+We(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)(b(Io),b(Ys,8))};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Hm=(()=>{class e{_subject=new pe;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=sT(Pm(Lm(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+We(r))}normalize(n){return e.stripTrailingSlash(iT(this._basePath,Lm(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+We(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+We(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=We;static joinWithSlash=Zs;static stripTrailingSlash=Pm;static \u0275fac=function(r){return new(r||e)(b(mr))};static \u0275prov=_({token:e,factory:()=>oT(),providedIn:"root"})}return e})();function oT(){return new Hm(b(mr))}function iT(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Lm(e){return e.replace(/\/index.html$/,"")}function sT(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var aT=(()=>{class e extends mr{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,r!=null&&(this._baseHref=r)}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}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=Zs(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+We(i))||this._platformLocation.pathname;this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+We(i))||this._platformLocation.pathname;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)(b(Io),b(Ys,8))};static \u0275prov=_({token:e,factory:e.\u0275fac})}return e})();var ed=(function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e})(ed||{});var ue=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(ue||{}),L=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(L||{}),Ee=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(Ee||{}),Ie={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function qm(e){return De(e)[U.LocaleId]}function Zm(e,t,n){let r=De(e),o=[r[U.DayPeriodsFormat],r[U.DayPeriodsStandalone]],i=ke(o,t);return ke(i,n)}function Ym(e,t,n){let r=De(e),o=[r[U.DaysFormat],r[U.DaysStandalone]],i=ke(o,t);return ke(i,n)}function Qm(e,t,n){let r=De(e),o=[r[U.MonthsFormat],r[U.MonthsStandalone]],i=ke(o,t);return ke(i,n)}function Km(e,t){let r=De(e)[U.Eras];return ke(r,t)}function wo(e,t){let n=De(e);return ke(n[U.DateFormat],t)}function Co(e,t){let n=De(e);return ke(n[U.TimeFormat],t)}function bo(e,t){let r=De(e)[U.DateTimeFormat];return ke(r,t)}function lt(e,t){let n=De(e),r=n[U.NumberSymbols][t];if(typeof r>"u"){if(t===Ie.CurrencyDecimal)return n[U.NumberSymbols][Ie.Decimal];if(t===Ie.CurrencyGroup)return n[U.NumberSymbols][Ie.Group]}return r}function Jm(e,t){return De(e)[U.NumberFormats][t]}function Xm(e){if(!e[U.ExtraData])throw new y(2303,!1)}function ey(e){let t=De(e);return Xm(t),(t[U.ExtraData][2]||[]).map(r=>typeof r=="string"?Zl(r):[Zl(r[0]),Zl(r[1])])}function ty(e,t,n){let r=De(e);Xm(r);let o=[r[U.ExtraData][0],r[U.ExtraData][1]],i=ke(o,t)||[];return ke(i,n)||[]}function ke(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new y(2304,!1)}function Zl(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var cT=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Qs={},uT=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function ny(e,t,n,r){let o=vT(e);t=St(n,t)||t;let s=[],a;for(;t;)if(a=uT.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let c=o.getTimezoneOffset();r&&(c=oy(r,c),o=yT(o,r));let u="";return s.forEach(l=>{let d=gT(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function ta(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function St(e,t){let n=qm(e);if(Qs[n]??={},Qs[n][t])return Qs[n][t];let r="";switch(t){case"shortDate":r=wo(e,Ee.Short);break;case"mediumDate":r=wo(e,Ee.Medium);break;case"longDate":r=wo(e,Ee.Long);break;case"fullDate":r=wo(e,Ee.Full);break;case"shortTime":r=Co(e,Ee.Short);break;case"mediumTime":r=Co(e,Ee.Medium);break;case"longTime":r=Co(e,Ee.Long);break;case"fullTime":r=Co(e,Ee.Full);break;case"short":let o=St(e,"shortTime"),i=St(e,"shortDate");r=Ks(bo(e,Ee.Short),[o,i]);break;case"medium":let s=St(e,"mediumTime"),a=St(e,"mediumDate");r=Ks(bo(e,Ee.Medium),[s,a]);break;case"long":let c=St(e,"longTime"),u=St(e,"longDate");r=Ks(bo(e,Ee.Long),[c,u]);break;case"full":let l=St(e,"fullTime"),d=St(e,"fullDate");r=Ks(bo(e,Ee.Full),[l,d]);break}return r&&(Qs[n][t]=r),r}function Ks(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function qe(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),i+s}function lT(e,t){return qe(e,3).substring(0,t)}function X(e,t,n=0,r=!1,o=!1){return function(i,s){let a=dT(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return lT(a,t);let c=lt(s,Ie.MinusSign);return qe(a,t,c,r,o)}}function dT(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new y(2301,!1)}}function V(e,t,n=ue.Format,r=!1){return function(o,i){return fT(o,i,e,t,n,r)}}function fT(e,t,n,r,o,i){switch(n){case 2:return Qm(t,o,r)[e.getMonth()];case 1:return Ym(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=ey(t),l=ty(t,o,r),d=u.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,D=s>=f.hours&&a>=f.minutes,v=s<h.hours||s===h.hours&&a<h.minutes;if(f.hours<h.hours){if(D&&v)return!0}else if(D||v)return!0}else if(p.hours===s&&p.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return Zm(t,o,r)[s<12?0:1];case 3:return Km(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new y(2302,!1)}}function Js(e){return function(t,n,r){let o=-1*r,i=lt(n,Ie.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+qe(s,2,i)+qe(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+qe(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+qe(s,2,i)+":"+qe(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+qe(s,2,i)+":"+qe(Math.abs(o%60),2,i);default:throw new y(2310,!1)}}}var pT=0,ea=4;function hT(e){let t=ta(e,pT,1).getDay();return ta(e,0,1+(t<=ea?ea:ea+7)-t)}function ry(e){let t=e.getDay(),n=t===0?-3:ea-t;return ta(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Yl(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=ry(n),s=hT(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return qe(o,e,lt(r,Ie.MinusSign))}}function Xs(e,t=!1){return function(n,r){let i=ry(n).getFullYear();return qe(i,e,lt(r,Ie.MinusSign),t)}}var Ql={};function gT(e){if(Ql[e])return Ql[e];let t;switch(e){case"G":case"GG":case"GGG":t=V(3,L.Abbreviated);break;case"GGGG":t=V(3,L.Wide);break;case"GGGGG":t=V(3,L.Narrow);break;case"y":t=X(0,1,0,!1,!0);break;case"yy":t=X(0,2,0,!0,!0);break;case"yyy":t=X(0,3,0,!1,!0);break;case"yyyy":t=X(0,4,0,!1,!0);break;case"Y":t=Xs(1);break;case"YY":t=Xs(2,!0);break;case"YYY":t=Xs(3);break;case"YYYY":t=Xs(4);break;case"M":case"L":t=X(1,1,1);break;case"MM":case"LL":t=X(1,2,1);break;case"MMM":t=V(2,L.Abbreviated);break;case"MMMM":t=V(2,L.Wide);break;case"MMMMM":t=V(2,L.Narrow);break;case"LLL":t=V(2,L.Abbreviated,ue.Standalone);break;case"LLLL":t=V(2,L.Wide,ue.Standalone);break;case"LLLLL":t=V(2,L.Narrow,ue.Standalone);break;case"w":t=Yl(1);break;case"ww":t=Yl(2);break;case"W":t=Yl(1,!0);break;case"d":t=X(2,1);break;case"dd":t=X(2,2);break;case"c":case"cc":t=X(7,1);break;case"ccc":t=V(1,L.Abbreviated,ue.Standalone);break;case"cccc":t=V(1,L.Wide,ue.Standalone);break;case"ccccc":t=V(1,L.Narrow,ue.Standalone);break;case"cccccc":t=V(1,L.Short,ue.Standalone);break;case"E":case"EE":case"EEE":t=V(1,L.Abbreviated);break;case"EEEE":t=V(1,L.Wide);break;case"EEEEE":t=V(1,L.Narrow);break;case"EEEEEE":t=V(1,L.Short);break;case"a":case"aa":case"aaa":t=V(0,L.Abbreviated);break;case"aaaa":t=V(0,L.Wide);break;case"aaaaa":t=V(0,L.Narrow);break;case"b":case"bb":case"bbb":t=V(0,L.Abbreviated,ue.Standalone,!0);break;case"bbbb":t=V(0,L.Wide,ue.Standalone,!0);break;case"bbbbb":t=V(0,L.Narrow,ue.Standalone,!0);break;case"B":case"BB":case"BBB":t=V(0,L.Abbreviated,ue.Format,!0);break;case"BBBB":t=V(0,L.Wide,ue.Format,!0);break;case"BBBBB":t=V(0,L.Narrow,ue.Format,!0);break;case"h":t=X(3,1,-12);break;case"hh":t=X(3,2,-12);break;case"H":t=X(3,1);break;case"HH":t=X(3,2);break;case"m":t=X(4,1);break;case"mm":t=X(4,2);break;case"s":t=X(5,1);break;case"ss":t=X(5,2);break;case"S":t=X(6,1);break;case"SS":t=X(6,2);break;case"SSS":t=X(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Js(0);break;case"ZZZZZ":t=Js(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Js(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Js(2);break;default:return null}return Ql[e]=t,t}function oy(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function mT(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function yT(e,t,n){let o=e.getTimezoneOffset(),i=oy(t,o);return mT(e,-1*(i-o))}function vT(e){if(Um(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return ta(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(cT))return DT(r)}let t=new Date(e);if(!Um(t))throw new y(2311,!1);return t}function DT(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,c,u),t}function Um(e){return e instanceof Date&&!isNaN(e.valueOf())}var ET=/^(\d+)?\.((\d+)(-(\d+))?)?$/,$m=22,na=".",To="0",IT=";",wT=",",Kl="#";function CT(e,t,n,r,o,i,s=!1){let a="",c=!1;if(!isFinite(e))a=lt(n,Ie.Infinity);else{let u=_T(e);s&&(u=TT(u));let l=t.minInt,d=t.minFrac,p=t.maxFrac;if(i){let O=i.match(ET);if(O===null)throw new y(2306,!1);let we=O[1],$=O[3],Ce=O[5];we!=null&&(l=Jl(we)),$!=null&&(d=Jl($)),Ce!=null?p=Jl(Ce):$!=null&&d>p&&(p=d)}MT(u,d,p);let f=u.digits,h=u.integerLen,D=u.exponent,v=[];for(c=f.every(O=>!O);h<l;h++)f.unshift(0);for(;h<0;h++)f.unshift(0);h>0?v=f.splice(h,f.length):(v=f,f=[0]);let m=[];for(f.length>=t.lgSize&&m.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)m.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&m.unshift(f.join("")),a=m.join(lt(n,r)),v.length&&(a+=lt(n,o)+v.join("")),D&&(a+=lt(n,Ie.Exponential)+"+"+D)}return e<0&&!c?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function iy(e,t,n){let r=Jm(t,ed.Decimal),o=bT(r,lt(t,Ie.MinusSign));return CT(e,o,t,Ie.Group,Ie.Decimal,n)}function bT(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(IT),o=r[0],i=r[1],s=o.indexOf(na)!==-1?o.split(na):[o.substring(0,o.lastIndexOf(To)+1),o.substring(o.lastIndexOf(To)+1)],a=s[0],c=s[1]||"";n.posPre=a.substring(0,a.indexOf(Kl));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===To?n.minFrac=n.maxFrac=l+1:d===Kl?n.maxFrac=l+1:n.posSuf+=d}let u=a.split(wT);if(n.gSize=u[1]?u[1].length:0,n.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,i){let l=o.length-n.posPre.length-n.posSuf.length,d=i.indexOf(Kl);n.negPre=i.substring(0,d).replace(/'/g,""),n.negSuf=i.slice(d+l).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function TT(e){if(e.digits[0]===0)return e;let t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(t===0?e.digits.push(0,0):t===1&&e.digits.push(0),e.integerLen+=2),e}function _T(e){let t=Math.abs(e)+"",n=0,r,o,i,s,a;for((o=t.indexOf(na))>-1&&(t=t.replace(na,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===To;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===To;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>$m&&(r=r.splice(0,$m-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function MT(e,t,n){if(t>n)throw new y(2307,!1);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let c=i!==0,u=t+e.integerLen,l=r.reduceRight(function(d,p,f,h){return p=p+d,h[f]=p<10?p:p-10,c&&(h[f]===0&&f>=u?h.pop():c=!1),p>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function Jl(e){let t=parseInt(e);if(isNaN(t))throw new y(2305,!1);return t}var Xl=/\s+/,zm=[],ST=(()=>{class e{_ngEl;_renderer;initialClasses=zm;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(Xl):zm}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Xl):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(Xl).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(K(st),K(fr))};static \u0275dir=Mt({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var ra=class{$implicit;ngForOf;index;count;constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},sy=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new ra(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),Gm(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);Gm(i,o)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(K(zt),K(Ut),K(zl))};static \u0275dir=Mt({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function Gm(e,t){e.context.$implicit=t.item}var NT=(()=>{class e{_viewContainer;_context=new oa;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Wm(n,!1),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Wm(n,!1),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(K(zt),K(Ut))};static \u0275dir=Mt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),oa=class{$implicit=null;ngIf=null};function Wm(e,t){if(e&&!e.createEmbeddedView)throw new y(2020,!1)}var AT=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){let[o,i]=n.split("."),s=o.indexOf("-")===-1?void 0:Ge.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||e)(K(st),K(Gl),K(fr))};static \u0275dir=Mt({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),xT=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(K(zt))};static \u0275dir=Mt({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[oo]})}return e})();function ia(e,t){return new y(2100,!1)}var RT=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,OT=(()=>{class e{transform(n){if(n==null)return null;if(typeof n!="string")throw ia(e,n);return n.replace(RT,r=>r[0].toUpperCase()+r.slice(1).toLowerCase())}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=pr({name:"titlecase",type:e,pure:!0})}return e})(),FT=(()=>{class e{transform(n){if(n==null)return null;if(typeof n!="string")throw ia(e,n);return n.toUpperCase()}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=pr({name:"uppercase",type:e,pure:!0})}return e})(),kT="mediumDate",ay=new I(""),cy=new I(""),PT=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??kT,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return ny(n,s,i||this.locale,a)}catch(s){throw ia(e,s.message)}}static \u0275fac=function(r){return new(r||e)(K(gr,16),K(ay,24),K(cy,24))};static \u0275pipe=pr({name:"date",type:e,pure:!0})}return e})();var LT=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!jT(n))return null;o||=this._locale;try{let i=BT(n);return iy(i,o,r)}catch(i){throw ia(e,i.message)}}static \u0275fac=function(r){return new(r||e)(K(gr,16))};static \u0275pipe=pr({name:"number",type:e,pure:!0})}return e})();function jT(e){return!(e==null||e===""||e!==e)}function BT(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new y(2309,!1);return e}var td=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Gt({type:e});static \u0275inj=Et({})}return e})();function _o(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 Tn=class{};function H2(e,t,n){return Ol(e,t,n)}var rd="browser";function U2(e){return e===rd}var $2=(()=>{class e{static \u0275prov=_({token:e,providedIn:"root",factory:()=>new nd(g(Y),window)})}return e})(),nd=class{document;window;offset=()=>[0,0];constructor(t,n){this.document=t,this.window=n}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t,n){this.window.scrollTo(oe(z({},n),{left:t[0],top:t[1]}))}scrollToAnchor(t,n){let r=VT(this.document,t);r&&(this.scrollToElement(r,n),r.focus())}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t}catch{console.warn(Je(2400,!1))}}scrollToElement(t,n){let r=t.getBoundingClientRect(),o=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(oe(z({},n),{left:o-s[0],top:i-s[1]}))}};function VT(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var ly=e=>e.src,HT=new I("",{providedIn:"root",factory:()=>ly});var uy=/^((\s*\d+w\s*(,|$)){1,})$/;var UT=[1,2],$T=640;var zT=1920,GT=1080;var z2=(()=>{class e{imageLoader=g(HT);config=WT(g(Ms));renderer=g(fr);imgElement=g(st).nativeElement;injector=g(ye);destroyRef=g(Oe);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;decoding;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;constructor(){}ngOnInit(){ct("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("decoding",this.getDecoding()),this.setHostAttribute("ng-img","true");let n=this.updateSrcAndSrcset();this.sizes?this.getLoadingBehavior()==="lazy"?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&uy.test(this.ngSrcset)&&this.getLoadingBehavior()==="lazy"&&this.setHostAttribute("sizes","auto, 100vw")}ngOnChanges(n){if(n.ngSrc&&!n.ngSrc.isFirstChange()){let r=this._renderedSrc;this.updateSrcAndSrcset(!0)}}callImageLoader(n){let r=n;return this.loaderParams&&(r.loaderParams=this.loaderParams),this.imageLoader(r)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getDecoding(){return this.priority?"sync":this.decoding??"auto"}getRewrittenSrc(){if(!this._renderedSrc){let n={src:this.ngSrc};this._renderedSrc=this.callImageLoader(n)}return this._renderedSrc}getRewrittenSrcset(){let n=uy.test(this.ngSrcset);return this.ngSrcset.split(",").filter(o=>o!=="").map(o=>{o=o.trim();let i=n?parseFloat(o):parseFloat(o)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:i})} ${o}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:n}=this.config,r=n;return this.sizes?.trim()==="100vw"&&(r=n.filter(i=>i>=$T)),r.map(i=>`${this.callImageLoader({src:this.ngSrc,width:i})} ${i}w`).join(", ")}updateSrcAndSrcset(n=!1){n&&(this._renderedSrc=null);let r=this.getRewrittenSrc();this.setHostAttribute("src",r);let o;return this.ngSrcset?o=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(o=this.getAutomaticSrcset()),o&&this.setHostAttribute("srcset",o),o}getFixedSrcset(){return UT.map(r=>`${this.callImageLoader({src:this.ngSrc,width:this.width*r})} ${r}x`).join(", ")}shouldGenerateAutomaticSrcset(){let n=!1;return this.sizes||(n=this.width>zT||this.height>GT),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==ly&&!n}generatePlaceholder(n){let{placeholderResolution:r}=this.config;return n===!0?`url(${this.callImageLoader({src:this.ngSrc,width:r,isPlaceholder:!0})})`:typeof n=="string"?`url(${n})`:null}shouldBlurPlaceholder(n){return!n||!n.hasOwnProperty("blur")?!0:!!n.blur}removePlaceholderOnLoad(n){let r=()=>{let s=this.injector.get($l);o(),i(),this.placeholder=!1,s.markForCheck()},o=this.renderer.listen(n,"load",r),i=this.renderer.listen(n,"error",r);this.destroyRef.onDestroy(()=>{o(),i()}),qT(n,r)}setHostAttribute(n,r){this.renderer.setAttribute(this.imgElement,n,r)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=Mt({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(r,o){r&2&&$s("position",o.fill?"absolute":null)("width",o.fill?"100%":null)("height",o.fill?"100%":null)("inset",o.fill?"0":null)("background-size",o.placeholder?"cover":null)("background-position",o.placeholder?"50% 50%":null)("background-repeat",o.placeholder?"no-repeat":null)("background-image",o.placeholder?o.generatePlaceholder(o.placeholder):null)("filter",o.placeholder&&o.shouldBlurPlaceholder(o.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",ZT],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",Wl],height:[2,"height","height",Wl],decoding:"decoding",loading:"loading",priority:[2,"priority","priority",Do],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",Do],fill:[2,"fill","fill",Do],placeholder:[2,"placeholder","placeholder",YT],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[oo]})}return e})();function WT(e){let t={};return e.breakpoints&&(t.breakpoints=e.breakpoints.sort((n,r)=>n-r)),Object.assign({},_s,e,t)}function qT(e,t){e.complete&&e.naturalWidth&&t()}function ZT(e){return typeof e=="string"?e:ve(e)}function YT(e){return typeof e=="string"&&e!=="true"&&e!=="false"&&e!==""?e:Do(e)}var vr=class{},Dr=class{},ft=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
5
|
+
`).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 ca=class{encodeKey(t){return dy(t)}encodeValue(t){return dy(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function QT(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 KT=/%(\d[a-f0-9])/gi,JT={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function dy(e){return encodeURIComponent(e).replace(KT,(t,n)=>JT[n]??t)}function sa(e){return`${e}`}var Nt=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new ca,t.fromString){if(t.fromObject)throw new y(2805,!1);this.map=QT(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(sa):[sa(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(sa(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(sa(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 ua=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 XT(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function fy(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function py(e){return typeof Blob<"u"&&e instanceof Blob}function hy(e){return typeof FormData<"u"&&e instanceof FormData}function e_(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Mo="Content-Type",la="Accept",cd="X-Request-URL",yy="text/plain",vy="application/json",Dy=`${vy}, ${yy}, */*`,yr=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(XT(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 y(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 ft,this.context??=new ua,!this.params)this.params=new Nt,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||fy(this.body)||py(this.body)||hy(this.body)||e_(this.body)?this.body:this.body instanceof Nt?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||hy(this.body)?null:py(this.body)?this.body.type||null:fy(this.body)?null:typeof this.body=="string"?yy:this.body instanceof Nt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?vy:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,u=t.redirect||this.redirect,l=t.credentials||this.credentials,d=t.referrer||this.referrer,p=t.integrity||this.integrity,f=t.transferCache??this.transferCache,h=t.timeout??this.timeout,D=t.body!==void 0?t.body:this.body,v=t.withCredentials??this.withCredentials,m=t.reportProgress??this.reportProgress,O=t.headers||this.headers,we=t.params||this.params,$=t.context??this.context;return t.setHeaders!==void 0&&(O=Object.keys(t.setHeaders).reduce((Ce,pt)=>Ce.set(pt,t.setHeaders[pt]),O)),t.setParams&&(we=Object.keys(t.setParams).reduce((Ce,pt)=>Ce.set(pt,t.setParams[pt]),we)),new e(n,r,D,{params:we,headers:O,context:$,reportProgress:m,responseType:o,withCredentials:v,transferCache:f,keepalive:i,cache:a,priority:s,timeout:h,mode:c,redirect:u,credentials:l,referrer:d,integrity:p})}},At=(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})(At||{}),Er=class{headers;status;statusText;url;ok;type;redirected;constructor(t,n=200,r="OK"){this.headers=t.headers||new ft,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}},So=class e extends Er{constructor(t={}){super(t)}type=At.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})}},Ir=class e extends Er{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=At.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})}},dt=class extends Er{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}},Ey=200,t_=204;function od(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 Iy=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof yr)i=n;else{let c;o.headers instanceof ft?c=o.headers:c=new ft(o.headers);let u;o.params&&(o.params instanceof Nt?u=o.params:u=new Nt({fromObject:o.params})),i=new yr(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,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=Ln(i).pipe(Ra(c=>this.handler.handle(c)));if(n instanceof yr||o.observe==="events")return s;let a=s.pipe(yt(c=>c instanceof Ir));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(ge(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new y(2806,!1);return c.body}));case"blob":return a.pipe(ge(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new y(2807,!1);return c.body}));case"text":return a.pipe(ge(c=>{if(c.body!==null&&typeof c.body!="string")throw new y(2808,!1);return c.body}));case"json":default:return a.pipe(ge(c=>c.body))}case"response":return a;default:throw new y(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 Nt().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,od(o,r))}post(n,r,o={}){return this.request("POST",n,od(o,r))}put(n,r,o={}){return this.request("PUT",n,od(o,r))}static \u0275fac=function(r){return new(r||e)(b(vr))};static \u0275prov=_({token:e,factory:e.\u0275fac})}return e})(),n_=/^\)\]\}',?\n/;function gy(e){if(e.url)return e.url;let t=cd.toLocaleLowerCase();return e.headers.get(t)}var wy=new I(""),aa=(()=>{class e{fetchImpl=g(id,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n));ngZone=g(H);destroyRef=g(Oe);handle(n){return new A(r=>{let o=new AbortController;this.doRequest(n,o.signal,r).then(sd,s=>r.error(new dt({error:s})));let i;return n.timeout&&(i=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{o.signal.aborted||o.abort(new DOMException("signal timed out","TimeoutError"))},n.timeout))),()=>{i!==void 0&&clearTimeout(i),o.abort()}})}doRequest(n,r,o){return _n(this,null,function*(){let i=this.createRequestInit(n),s;try{let h=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,z({signal:r},i)));r_(h),o.next({type:At.Sent}),s=yield h}catch(h){o.error(new dt({error:h,status:h.status??0,statusText:h.statusText,url:n.urlWithParams,headers:h.headers}));return}let a=new ft(s.headers),c=s.statusText,u=gy(s)??n.urlWithParams,l=s.status,d=null;if(n.reportProgress&&o.next(new So({headers:a,status:l,statusText:c,url:u})),s.body){let h=s.headers.get("content-length"),D=[],v=s.body.getReader(),m=0,O,we,$=typeof Zone<"u"&&Zone.current,Ce=!1;if(yield this.ngZone.runOutsideAngular(()=>_n(this,null,function*(){for(;;){if(this.destroyRef.destroyed){yield v.cancel(),Ce=!0;break}let{done:Wt,value:va}=yield v.read();if(Wt)break;if(D.push(va),m+=va.length,n.reportProgress){we=n.responseType==="text"?(we??"")+(O??=new TextDecoder).decode(va,{stream:!0}):void 0;let Dd=()=>o.next({type:At.DownloadProgress,total:h?+h:void 0,loaded:m,partialText:we});$?$.run(Dd):Dd()}}})),Ce){o.complete();return}let pt=this.concatChunks(D,m);try{let Wt=s.headers.get(Mo)??"";d=this.parseBody(n,pt,Wt,l)}catch(Wt){o.error(new dt({error:Wt,headers:new ft(s.headers),status:s.status,statusText:s.statusText,url:gy(s)??n.urlWithParams}));return}}l===0&&(l=d?Ey:0);let p=l>=200&&l<300,f=s.redirected;p?(o.next(new Ir({body:d,headers:a,status:l,statusText:c,url:u,redirected:f})),o.complete()):o.error(new dt({error:d,headers:a,status:l,statusText:c,url:u,redirected:f}))})}parseBody(n,r,o,i){switch(n.responseType){case"json":let s=new TextDecoder().decode(r).replace(n_,"");if(s==="")return null;try{return JSON.parse(s)}catch(a){if(i<200||i>=300)return s;throw a}case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(n){let r={},o;if(o=n.credentials,n.withCredentials&&(o="include"),n.headers.forEach((i,s)=>r[i]=s.join(",")),n.headers.has(la)||(r[la]=Dy),!n.headers.has(Mo)){let i=n.detectContentTypeHeader();i!==null&&(r[Mo]=i)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:o,keepalive:n.keepalive,cache:n.cache,priority:n.priority,mode:n.mode,redirect:n.redirect,referrer:n.referrer,integrity:n.integrity}}concatChunks(n,r){let o=new Uint8Array(r),i=0;for(let s of n)o.set(s,i),i+=s.length;return o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:e.\u0275fac})}return e})(),id=class{};function sd(){}function r_(e){e.then(sd,sd)}function Cy(e,t){return t(e)}function o_(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}function i_(e,t,n){return(r,o)=>qn(n,()=>t(r,i=>e(i,o)))}var by=new I(""),ud=new I(""),Ty=new I(""),ld=new I("",{providedIn:"root",factory:()=>!0});function s_(){let e=null;return(t,n)=>{e===null&&(e=(g(by,{optional:!0})??[]).reduceRight(o_,Cy));let r=g(tr);if(g(ld)){let i=r.add();return e(t,n).pipe(ai(i))}else return e(t,n)}}var da=(()=>{class e extends vr{backend;injector;chain=null;pendingTasks=g(tr);contributeToStability=g(ld);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(ud),...this.injector.get(Ty,[])]));this.chain=r.reduceRight((o,i)=>i_(o,i,this.injector),Cy)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(ai(r))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(b(Dr),b(me))};static \u0275prov=_({token:e,factory:e.\u0275fac})}return e})();var a_=/^\)\]\}',?\n/,c_=RegExp(`^${cd}:`,"m");function u_(e){return"responseURL"in e&&e.responseURL?e.responseURL:c_.test(e.getAllResponseHeaders())?e.getResponseHeader(cd):null}var ad=(()=>{class e{xhrFactory;constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new y(-2800,!1);let r=this.xhrFactory;return Ln(null).pipe(ci(()=>new A(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((v,m)=>s.setRequestHeader(v,m.join(","))),n.headers.has(la)||s.setRequestHeader(la,Dy),!n.headers.has(Mo)){let v=n.detectContentTypeHeader();v!==null&&s.setRequestHeader(Mo,v)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let v=n.responseType.toLowerCase();s.responseType=v!=="json"?v:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let v=s.statusText||"OK",m=new ft(s.getAllResponseHeaders()),O=u_(s)||n.url;return c=new So({headers:m,status:s.status,statusText:v,url:O}),c},l=()=>{let{headers:v,status:m,statusText:O,url:we}=u(),$=null;m!==t_&&($=typeof s.response>"u"?s.responseText:s.response),m===0&&(m=$?Ey:0);let Ce=m>=200&&m<300;if(n.responseType==="json"&&typeof $=="string"){let pt=$;$=$.replace(a_,"");try{$=$!==""?JSON.parse($):null}catch(Wt){$=pt,Ce&&(Ce=!1,$={error:Wt,text:$})}}Ce?(i.next(new Ir({body:$,headers:v,status:m,statusText:O,url:we||void 0})),i.complete()):i.error(new dt({error:$,headers:v,status:m,statusText:O,url:we||void 0}))},d=v=>{let{url:m}=u(),O=new dt({error:v,status:s.status||0,statusText:s.statusText||"Unknown Error",url:m||void 0});i.error(O)},p=d;n.timeout&&(p=v=>{let{url:m}=u(),O=new dt({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:m||void 0});i.error(O)});let f=!1,h=v=>{f||(i.next(u()),f=!0);let m={type:At.DownloadProgress,loaded:v.loaded};v.lengthComputable&&(m.total=v.total),n.responseType==="text"&&s.responseText&&(m.partialText=s.responseText),i.next(m)},D=v=>{let m={type:At.UploadProgress,loaded:v.loaded};v.lengthComputable&&(m.total=v.total),i.next(m)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",p),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),a!==null&&s.upload&&s.upload.addEventListener("progress",D)),s.send(a),i.next({type:At.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",p),n.reportProgress&&(s.removeEventListener("progress",h),a!==null&&s.upload&&s.upload.removeEventListener("progress",D)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(b(Tn))};static \u0275prov=_({token:e,factory:e.\u0275fac})}return e})(),_y=new I(""),l_="XSRF-TOKEN",d_=new I("",{providedIn:"root",factory:()=>l_}),f_="X-XSRF-TOKEN",p_=new I("",{providedIn:"root",factory:()=>f_}),No=class{},h_=(()=>{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=_o(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)(b(Y),b(d_))};static \u0275prov=_({token:e,factory:e.\u0275fac})}return e})(),g_=/^(?:https?:)?\/\//i;function m_(e,t){if(!g(_y)||e.method==="GET"||e.method==="HEAD"||g_.test(e.url))return t(e);let n=g(No).getToken(),r=g(p_);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}var fa=(function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e})(fa||{});function My(e,t){return{\u0275kind:e,\u0275providers:t}}function y_(...e){let t=[Iy,ad,da,{provide:vr,useExisting:da},{provide:Dr,useFactory:()=>g(wy,{optional:!0})??g(ad)},{provide:ud,useValue:m_,multi:!0},{provide:_y,useValue:!0},{provide:No,useClass:h_}];for(let n of e)t.push(...n.\u0275providers);return Gn(t)}var my=new I("");function v_(){return My(fa.LegacyInterceptors,[{provide:my,useFactory:s_},{provide:ud,useExisting:my,multi:!0}])}function D_(){return My(fa.Fetch,[aa,{provide:wy,useExisting:aa},{provide:Dr,useExisting:aa}])}var Ao=class{_doc;constructor(t){this._doc=t}manager},pa=(()=>{class e extends Ao{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)(b(Y))};static \u0275prov=_({token:e,factory:e.\u0275fac})}return e})(),ga=new I(""),gd=(()=>{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 pa));this._plugins=o.slice().reverse();let i=n.find(s=>s instanceof pa);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 y(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(b(ga),b(H))};static \u0275prov=_({token:e,factory:e.\u0275fac})}return e})(),dd="ng-app-id";function Sy(e){for(let t of e)t.remove()}function Ny(e,t){let n=t.createElement("style");return n.textContent=e,n}function E_(e,t,n,r){let o=e.head?.querySelectorAll(`style[${dd}="${t}"],link[${dd}="${t}"]`);if(o)for(let i of o)i.removeAttribute(dd),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 pd(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var md=(()=>{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,E_(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,Ny);r?.forEach(o=>this.addUsage(o,this.external,pd))}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&&(Sy(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Sy(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,Ny(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,pd(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)(b(Y),b(Cs),b(Ts,8),b(io))};static \u0275prov=_({token:e,factory:e.\u0275fac})}return e})(),fd={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"},yd=/%COMP%/g;var xy="%COMP%",I_=`_nghost-${xy}`,w_=`_ngcontent-${xy}`,C_=!0,b_=new I("",{providedIn:"root",factory:()=>C_});function T_(e){return w_.replace(yd,e)}function __(e){return I_.replace(yd,e)}function Ry(e,t){return t.map(n=>n.replace(yd,e))}var vd=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,o,i,s,a,c=null,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=u,this.platformIsServer=!1,this.defaultRenderer=new xo(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 ha?o.applyToHost(n):o instanceof Ro&&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,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer,p=this.tracingService;switch(r.encapsulation){case bt.Emulated:i=new ha(c,u,r,this.appId,l,s,a,d,p);break;case bt.ShadowDom:return new hd(c,u,n,r,s,a,this.nonce,d,p);default:i=new Ro(c,u,r,l,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)(b(gd),b(md),b(Cs),b(b_),b(Y),b(H),b(Ts),b(In,8))};static \u0275prov=_({token:e,factory:e.\u0275fac})}return e})(),xo=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(fd[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Ay(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Ay(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 y(-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=fd[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=fd[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&(Ge.DashCase|Ge.Important)?t.style.setProperty(n,r,o&Ge.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Ge.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=ut().getGlobalEventTarget(this.doc,t),!t))throw new y(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 Ay(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var hd=class extends xo{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,c,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=o.styles;l=Ry(o.id,l);for(let p of l){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=pd(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)}},Ro=class extends xo{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,a,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=u?Ry(u,l):l,this.styleUrls=r.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&yn.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},ha=class extends Ro{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c,u){let l=o+"-"+r.id;super(t,n,r,i,s,a,c,u,l),this.contentAttr=T_(l),this.hostAttr=__(l)}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 ma=class e extends Eo{supportsDOMEvents=!0;static makeCurrent(){ql(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=M_();return n==null?null:S_(n)}resetBaseElement(){Oo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return _o(document.cookie,t)}},Oo=null;function M_(){return Oo=Oo||document.head.querySelector("base"),Oo?Oo.getAttribute("href"):null}function S_(e){return new URL(e,document.baseURI).pathname}var ya=class{addToWindow(t){re.getAngularTestability=(r,o=!0)=>{let i=t.findTestabilityInTree(r,o);if(i==null)throw new y(5103,!1);return i},re.getAllAngularTestabilities=()=>t.getAllTestabilities(),re.getAllAngularRootElements=()=>t.getAllRootElements();let n=r=>{let o=re.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&r()};o.forEach(a=>{a.whenStable(s)})};re.frameworkStabilizers||(re.frameworkStabilizers=[]),re.frameworkStabilizers.push(n)}findTestabilityInTree(t,n,r){if(n==null)return null;let o=t.getTestability(n);return o??(r?ut().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},N_=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:e.\u0275fac})}return e})(),Oy=["alt","control","meta","shift"],A_={"\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"},x_={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Fy=(()=>{class e extends Ao{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(()=>ut().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."),Oy.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),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=A_[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"),Oy.forEach(s=>{if(s!==o){let a=x_[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)(b(Y))};static \u0275prov=_({token:e,factory:e.\u0275fac})}return e})();function R_(e,t,n){let r=z({rootComponent:e,platformRef:n?.platformRef},O_(t));return km(r)}function O_(e){return{appProviders:[...ky,...e?.providers??[]],platformProviders:L_}}function F_(){ma.makeCurrent()}function k_(){return new be}function P_(){return zu(document),document}var L_=[{provide:io,useValue:rd},{provide:bs,useValue:F_,multi:!0},{provide:Y,useFactory:P_}];var j_=[{provide:hr,useClass:ya},{provide:Hs,useClass:po,deps:[H,ho,hr]},{provide:po,useClass:po,deps:[H,ho,hr]}],ky=[{provide:Lr,useValue:"root"},{provide:be,useFactory:k_},{provide:ga,useClass:pa,multi:!0,deps:[Y]},{provide:ga,useClass:Fy,multi:!0,deps:[Y]},vd,md,gd,{provide:vn,useExisting:vd},{provide:Tn,useClass:N_},[]],B_=(()=>{class e{constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Gt({type:e});static \u0275inj=Et({providers:[...ky,...j_],imports:[td,Fm]})}return e})();var rU=(()=>{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)(b(Y))};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var V_=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=_({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=b(H_),o},providedIn:"root"})}return e})(),H_=(()=>{class e extends V_{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case Fe.NONE:return r;case Fe.HTML:return at(r,"HTML")?ve(r):As(this._doc,String(r)).toString();case Fe.STYLE:return at(r,"Style")?ve(r):r;case Fe.SCRIPT:if(at(r,"Script"))return ve(r);throw new y(5200,!1);case Fe.URL:return at(r,"URL")?ve(r):so(String(r));case Fe.RESOURCE_URL:if(at(r,"ResourceURL"))return ve(r);throw new y(5201,!1);default:throw new y(5202,!1)}}bypassSecurityTrustHtml(n){return qu(n)}bypassSecurityTrustStyle(n){return Zu(n)}bypassSecurityTrustScript(n){return Yu(n)}bypassSecurityTrustUrl(n){return Qu(n)}bypassSecurityTrustResourceUrl(n){return Ku(n)}static \u0275fac=function(r){return new(r||e)(b(Y))};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();export{z as a,oe as b,U_ as c,Uy as d,$_ as e,z_ as f,G_ as g,_n as h,G as i,qy as j,A as k,Sa as l,Na as m,pe as n,br as o,Ky as p,mt as q,Ye as r,Ln as s,iv as t,sv as u,je as v,av as w,Qy as x,ge as y,gv as z,Be as A,Tr as B,Rt as C,yv as D,vv as E,xa as F,Kt as G,Tv as H,_v as I,yt as J,Sv as K,Av as L,xv as M,Yd as N,Ra as O,Ad as P,_r as Q,Fn as R,Rv as S,Ov as T,Pv as U,ai as V,Lv as W,Fa as X,jv as Y,Bv as Z,Vv as _,Hv as $,Uv as aa,ci as ba,ef as ca,$v as da,zv as ea,y as fa,Je as ga,Ti as ha,_ as ia,Et as ja,eD as ka,I as la,b as ma,g as na,Gn as oa,Cf as pa,me as qa,qn as ra,kf as sa,Pf as ta,qf as ua,Zf as va,ye as wa,Y as xa,Oe as ya,ot as za,$i as Aa,Vt as Ba,oo as Ca,qD as Da,Uu as Ea,st as Fa,Cs as Ga,io as Ha,tE as Ia,sh as Ja,Fe as Ka,OE as La,Ih as Ma,FE as Na,PE as Oa,LE as Pa,XE as Qa,ct as Ra,Ct as Sa,H as Ta,aI as Ua,cI as Va,Ut as Wa,lo as Xa,vn as Ya,fr as Za,K as _a,cw as $a,zt as ab,Cg as bb,bg as cb,Gw as db,Gt as eb,Mt as fb,pr as gb,Mg as hb,nC as ib,Ag as jb,xg as kb,Us as lb,cC as mb,Og as nb,Cn as ob,Pg as pb,dC as qb,fC as rb,pC as sb,hC as tb,gC as ub,mC as vb,Lg as wb,Ml as xb,Sl as yb,jg as zb,Nl as Ab,Al as Bb,Bg as Cb,Hg as Db,xl as Eb,Rl as Fb,Ug as Gb,$g as Hb,IC as Ib,Gg as Jb,Wg as Kb,Zg as Lb,Yg as Mb,_C as Nb,SC as Ob,NC as Pb,xC as Qb,RC as Rb,OC as Sb,FC as Tb,kC as Ub,PC as Vb,LC as Wb,$s as Xb,Xg as Yb,ZC as Zb,ib as _b,sm as $b,Fl as ac,am as bc,cm as cc,um as dc,lm as ec,dm as fc,db as gc,fm as hc,fb as ic,yb as jc,vb as kc,Db as lc,Eb as mc,Ib as nc,wb as oc,Cb as pc,bb as qc,Mb as rc,Nb as sc,Ab as tc,xb as uc,Rb as vc,gr as wc,Im as xc,Pb as yc,wm as zc,NV as Ac,AV as Bc,xV as Cc,RV as Dc,$l as Ec,Do as Fc,Wl as Gc,OV as Hc,FV as Ic,ut as Jc,rT as Kc,mr as Lc,Vm as Mc,Hm as Nc,aT as Oc,ST as Pc,sy as Qc,NT as Rc,AT as Sc,xT as Tc,OT as Uc,FT as Vc,PT as Wc,LT as Xc,td as Yc,H2 as Zc,U2 as _c,$2 as $c,z2 as ad,Nt as bd,At as cd,Ir as dd,Iy as ed,by as fd,y_ as gd,v_ as hd,D_ as id,vd as jd,R_ as kd,B_ as ld,rU as md,V_ as nd};
|