angular2-credit-card-draw 1.0.7 → 2.0.0

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.
Files changed (83) hide show
  1. package/.storybook/main.ts +12 -0
  2. package/.storybook/preview.ts +15 -0
  3. package/.storybook/tsconfig.json +7 -0
  4. package/.travis.yml +6 -4
  5. package/README.MD +132 -84
  6. package/dist/angular2-credit-card-draw/README.MD +132 -0
  7. package/dist/angular2-credit-card-draw/fesm2022/angular2-credit-card-draw.mjs +60 -0
  8. package/dist/angular2-credit-card-draw/fesm2022/angular2-credit-card-draw.mjs.map +1 -0
  9. package/dist/angular2-credit-card-draw/types/angular2-credit-card-draw.d.ts +24 -0
  10. package/ng-package.json +10 -0
  11. package/package.json +54 -47
  12. package/src/card.component.stories.ts +36 -0
  13. package/src/card.component.ts +16 -20
  14. package/src/card.html +388 -388
  15. package/src/card.module.ts +14 -0
  16. package/src/public-api.ts +2 -0
  17. package/storybook-static/assets/Color-6AOWCN3U-BHKwsHJb.js +1 -0
  18. package/storybook-static/assets/DocsRenderer-JROSPFPF-CPN4diXU.js +290 -0
  19. package/storybook-static/assets/WithTooltip-CDUNV5IS-CxkNVblN.js +9 -0
  20. package/storybook-static/assets/angular-platform-BykChHPp.js +7 -0
  21. package/storybook-static/assets/card.component.stories-Cbn8dXwJ.js +393 -0
  22. package/storybook-static/assets/chunk-242VQQM5-Jx3JgJO8.js +1 -0
  23. package/storybook-static/assets/chunk-DRQKCCAG-DvhnS67P.js +1 -0
  24. package/storybook-static/assets/chunk-QQBDHPVZ-wyKC71kO.js +1 -0
  25. package/storybook-static/assets/chunk-W22LQPXL-I4qw3Lnf.js +18 -0
  26. package/storybook-static/assets/components-fboz0Wwr.js +1 -0
  27. package/storybook-static/assets/formatter-L2YTDE3Q-Bcc5sJgv.js +1 -0
  28. package/storybook-static/assets/iframe-C2YkrQlr.js +1 -0
  29. package/storybook-static/assets/iframe-D-RwILkF.js +1099 -0
  30. package/storybook-static/assets/preload-helper-C313MjYS.js +1 -0
  31. package/storybook-static/assets/react-BxCz-S_c.js +1 -0
  32. package/storybook-static/assets/react-DL9pMoMl.js +1 -0
  33. package/storybook-static/assets/rolldown-runtime-vtgMY1y5.js +1 -0
  34. package/storybook-static/assets/syntaxhighlighter-4REYKNEV-Donq5IPh.js +6 -0
  35. package/storybook-static/assets/theming-CXmlqL_e.js +39 -0
  36. package/storybook-static/favicon-wrapper.svg +46 -0
  37. package/storybook-static/favicon.svg +1 -0
  38. package/storybook-static/iframe.html +680 -0
  39. package/storybook-static/index.html +149 -0
  40. package/storybook-static/index.json +1 -0
  41. package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  42. package/storybook-static/nunito-sans-bold.woff2 +0 -0
  43. package/storybook-static/nunito-sans-italic.woff2 +0 -0
  44. package/storybook-static/nunito-sans-regular.woff2 +0 -0
  45. package/storybook-static/project.json +1 -0
  46. package/storybook-static/sb-addons/docs-1/manager-bundle.js +18 -0
  47. package/storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +632 -0
  48. package/storybook-static/sb-common-assets/favicon-wrapper.svg +46 -0
  49. package/storybook-static/sb-common-assets/favicon.svg +1 -0
  50. package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  51. package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  52. package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  53. package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  54. package/storybook-static/sb-manager/globals-runtime.js +79237 -0
  55. package/storybook-static/sb-manager/globals.js +24 -0
  56. package/storybook-static/sb-manager/manager-stores.js +23 -0
  57. package/storybook-static/sb-manager/runtime.js +29276 -0
  58. package/storybook-static/services/core/docgen/components-carddraw.json +151 -0
  59. package/storybook-static/services/core/story-docs/components-carddraw.json +21 -0
  60. package/storybook-static/vite-inject-mocker-entry.js +2 -0
  61. package/tsconfig.json +15 -20
  62. package/tsconfig.lib.json +15 -0
  63. package/.npmignore +0 -24
  64. package/dist/card.component.ts +0 -21
  65. package/dist/dist/card.component.d.ts +0 -10
  66. package/dist/dist/card.component.js +0 -53
  67. package/dist/dist/card.component.js.map +0 -1
  68. package/dist/index.d.ts +0 -5
  69. package/dist/index.js +0 -40
  70. package/dist/index.js.map +0 -1
  71. package/gulpfile.js +0 -8
  72. package/index.ts +0 -24
  73. package/tslint.json +0 -110
  74. package/typings/globals/angular-protractor/index.d.ts +0 -1844
  75. package/typings/globals/angular-protractor/typings.json +0 -8
  76. package/typings/globals/es6-shim/index.d.ts +0 -665
  77. package/typings/globals/es6-shim/typings.json +0 -8
  78. package/typings/globals/jasmine/index.d.ts +0 -499
  79. package/typings/globals/jasmine/typings.json +0 -8
  80. package/typings/globals/selenium-webdriver/index.d.ts +0 -5390
  81. package/typings/globals/selenium-webdriver/typings.json +0 -8
  82. package/typings/index.d.ts +0 -4
  83. package/typings.json +0 -10
@@ -0,0 +1,7 @@
1
+ import{i as e,n as t,r as n}from"./rolldown-runtime-vtgMY1y5.js";function setActiveConsumer(e){let t=r;return r=e,t}function getActiveConsumer(){return r}function producerUpdateValueVersion(e){consumerIsLive(e)&&!e.dirty||!e.dirty&&e.lastCleanEpoch===i||(!e.producerMustRecompute(e)&&!consumerPollProducersForChange(e)||e.producerRecomputeValue(e),producerMarkClean(e))}function producerMarkClean(e){e.dirty=!1,e.lastCleanEpoch=i}function consumerBeforeComputation(e){return e&&resetConsumerBeforeComputation(e),setActiveConsumer(e)}function resetConsumerBeforeComputation(e){e.producersTail=void 0,e.recomputing=!0}function consumerAfterComputation(e,t){setActiveConsumer(t),e&&finalizeConsumerAfterComputation(e)}function finalizeConsumerAfterComputation(e){e.recomputing=!1;let t=e.producersTail,n=t===void 0?e.producers:t.nextProducer;if(n!==void 0){if(consumerIsLive(e))do n=producerRemoveLiveConsumerLink(n);while(n!==void 0);t===void 0?e.producers=void 0:t.nextProducer=void 0}}function consumerPollProducersForChange(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let e=t.producer,n=t.lastReadVersion;if(n!==e.version||(producerUpdateValueVersion(e),n!==e.version))return!0}return!1}function consumerDestroy(e){if(consumerIsLive(e)){let t=e.producers;for(;t!==void 0;)t=producerRemoveLiveConsumerLink(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function producerRemoveLiveConsumerLink(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,i=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r===void 0?t.consumersTail=i:r.prevConsumer=i,i!==void 0)i.nextConsumer=r;else if(t.consumers=r,!consumerIsLive(t)){let e=t.producers;for(;e!==void 0;)e=producerRemoveLiveConsumerLink(e)}return n}function consumerIsLive(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function setThrowInvalidWriteToSignalError(e){s=e}var r,i,a,o,s;function init__effect_chunk(){return(init__effect_chunk=t((()=>{r=null,i=1,a=Symbol(`SIGNAL`),o={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 __extends(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Class extends value `+String(t)+` is not a constructor or null`);extendStatics(e,t);function __(){this.constructor=e}e.prototype=t===null?Object.create(t):(__.prototype=t.prototype,new __)}function __decorate(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function __values(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 TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)}function __read(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,a=[],o;try{for(;(t===void 0||t-->0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a}function __spreadArray(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var extendStatics;function init_tslib_es6(){return(init_tslib_es6=t((()=>{extendStatics=function(e,t){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},extendStatics(e,t)}})))()}function isFunction(e){return typeof e==`function`}function init_isFunction(){return(init_isFunction=t((()=>{})))()}function createErrorClass(e){var _super=function(e){Error.call(e),e.stack=Error().stack},t=e(_super);return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}function init_createErrorClass(){return(init_createErrorClass=t((()=>{})))()}var c;function init_UnsubscriptionError(){return(init_UnsubscriptionError=t((()=>{init_createErrorClass(),c=createErrorClass(function(e){return function UnsubscriptionErrorImpl(t){e(this),this.message=t?t.length+` errors occurred during unsubscription:
2
+ `+t.map(function(e,t){return t+1+`) `+e.toString()}).join(`
3
+ `):``,this.name=`UnsubscriptionError`,this.errors=t}})})))()}function arrRemove(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}function init_arrRemove(){return(init_arrRemove=t((()=>{})))()}function isSubscription(e){return e instanceof l||e&&`closed`in e&&isFunction(e.remove)&&isFunction(e.add)&&isFunction(e.unsubscribe)}function execFinalizer(e){isFunction(e)?e():e.unsubscribe()}var l,u;function init_Subscription(){return(init_Subscription=t((()=>{init_tslib_es6(),init_isFunction(),init_UnsubscriptionError(),init_arrRemove(),l=function(){function Subscription(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return Subscription.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a){if(this._parentage=null,Array.isArray(a))try{for(var o=__values(a),s=o.next();!s.done;s=o.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this)}var l=this.initialTeardown;if(isFunction(l))try{l()}catch(e){i=e instanceof c?e.errors:[e]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var d=__values(u),f=d.next();!f.done;f=d.next()){var p=f.value;try{execFinalizer(p)}catch(e){i??=[],e instanceof c?i=__spreadArray(__spreadArray([],__read(i)),__read(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{f&&!f.done&&(r=d.return)&&r.call(d)}finally{if(n)throw n.error}}}if(i)throw new c(i)}},Subscription.prototype.add=function(e){if(e&&e!==this){if(this.closed)execFinalizer(e);else{if(e instanceof Subscription){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=this._finalizers??[]).push(e)}}},Subscription.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},Subscription.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},Subscription.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&arrRemove(t,e)},Subscription.prototype.remove=function(e){var t=this._finalizers;t&&arrRemove(t,e),e instanceof Subscription&&e._removeParent(this)},Subscription.EMPTY=(function(){var e=new Subscription;return e.closed=!0,e})(),Subscription}(),u=l.EMPTY})))()}var d;function init_config(){return(init_config=t((()=>{d={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}})))()}var f;function init_timeoutProvider(){return(init_timeoutProvider=t((()=>{init_tslib_es6(),f={setTimeout:function(e,t){var n=[...arguments].slice(2),r=f.delegate;return r?.setTimeout?r.setTimeout.apply(r,__spreadArray([e,t],__read(n))):setTimeout.apply(void 0,__spreadArray([e,t],__read(n)))},clearTimeout:function(e){return(f.delegate?.clearTimeout||clearTimeout)(e)},delegate:void 0}})))()}function reportUnhandledError(e){f.setTimeout(function(){var t=d.onUnhandledError;if(t)t(e);else throw e})}function init_reportUnhandledError(){return(init_reportUnhandledError=t((()=>{init_config(),init_timeoutProvider()})))()}function noop$1(){}function init_noop(){return(init_noop=t((()=>{e(noop$1,`noop`)})))()}function errorNotification(e){return createNotification(`E`,void 0,e)}function nextNotification(e){return createNotification(`N`,e,void 0)}function createNotification(e,t,n){return{kind:e,value:t,error:n}}var p;function init_NotificationFactories(){return(init_NotificationFactories=t((()=>{p=(function(){return createNotification(`C`,void 0,void 0)})()})))()}function errorContext(e){if(d.useDeprecatedSynchronousErrorHandling){var t=!m;if(t&&(m={errorThrown:!1,error:null}),e(),t){var n=m,r=n.errorThrown,i=n.error;if(m=null,r)throw i}}else e()}function captureError(e){d.useDeprecatedSynchronousErrorHandling&&m&&(m.errorThrown=!0,m.error=e)}var m;function init_errorContext(){return(init_errorContext=t((()=>{init_config(),m=null})))()}function bind(e,t){return g.call(e,t)}function handleUnhandledError(e){d.useDeprecatedSynchronousErrorHandling?captureError(e):reportUnhandledError(e)}function defaultErrorHandler(e){throw e}function handleStoppedNotification(e,t){var n=d.onStoppedNotification;n&&f.setTimeout(function(){return n(e,t)})}var h,g,_,v,y;function init_Subscriber(){return(init_Subscriber=t((()=>{init_tslib_es6(),init_isFunction(),init_Subscription(),init_config(),init_reportUnhandledError(),init_noop(),init_NotificationFactories(),init_timeoutProvider(),init_errorContext(),h=function(e){__extends(Subscriber,e);function Subscriber(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,isSubscription(t)&&t.add(n)):n.destination=y,n}return Subscriber.create=function(e,t,n){return new v(e,t,n)},Subscriber.prototype.next=function(e){this.isStopped?handleStoppedNotification(nextNotification(e),this):this._next(e)},Subscriber.prototype.error=function(e){this.isStopped?handleStoppedNotification(errorNotification(e),this):(this.isStopped=!0,this._error(e))},Subscriber.prototype.complete=function(){this.isStopped?handleStoppedNotification(p,this):(this.isStopped=!0,this._complete())},Subscriber.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},Subscriber.prototype._next=function(e){this.destination.next(e)},Subscriber.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Subscriber.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Subscriber}(l),g=Function.prototype.bind,_=function(){function ConsumerObserver(e){this.partialObserver=e}return ConsumerObserver.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){handleUnhandledError(e)}},ConsumerObserver.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){handleUnhandledError(e)}else handleUnhandledError(e)},ConsumerObserver.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){handleUnhandledError(e)}},ConsumerObserver}(),v=function(e){__extends(SafeSubscriber,e);function SafeSubscriber(t,n,r){var i=e.call(this)||this,a;if(isFunction(t)||!t)a={next:t??void 0,error:n??void 0,complete:r??void 0};else{var o;i&&d.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=function(){return i.unsubscribe()},a={next:t.next&&bind(t.next,o),error:t.error&&bind(t.error,o),complete:t.complete&&bind(t.complete,o)}):a=t}return i.destination=new _(a),i}return SafeSubscriber}(h),y={closed:!0,next:noop$1,error:defaultErrorHandler,complete:noop$1}})))()}var b;function init_observable(){return(init_observable=t((()=>{b=(function(){return typeof Symbol==`function`&&Symbol.observable||`@@observable`})()})))()}function identity(e){return e}function init_identity(){return(init_identity=t((()=>{})))()}function pipeFromArray(e){return e.length===0?identity:e.length===1?e[0]:function piped(t){return e.reduce(function(e,t){return t(e)},t)}}function init_pipe(){return(init_pipe=t((()=>{init_identity()})))()}function getPromiseCtor(e){return e??d.Promise??Promise}function isObserver(e){return e&&isFunction(e.next)&&isFunction(e.error)&&isFunction(e.complete)}function isSubscriber(e){return e&&e instanceof h||isObserver(e)&&isSubscription(e)}var x;function init_Observable(){return(init_Observable=t((()=>{init_Subscriber(),init_Subscription(),init_observable(),init_pipe(),init_config(),init_isFunction(),init_errorContext(),x=function(){function Observable(e){e&&(this._subscribe=e)}return Observable.prototype.lift=function(e){var t=new Observable;return t.source=this,t.operator=e,t},Observable.prototype.subscribe=function(e,t,n){var r=this,i=isSubscriber(e)?e:new v(e,t,n);return errorContext(function(){var e=r,t=e.operator,n=e.source;i.add(t?t.call(i,n):n?r._subscribe(i):r._trySubscribe(i))}),i},Observable.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},Observable.prototype.forEach=function(e,t){var n=this;return t=getPromiseCtor(t),new t(function(t,r){var i=new v({next:function(t){try{e(t)}catch(e){r(e),i.unsubscribe()}},error:r,complete:t});n.subscribe(i)})},Observable.prototype._subscribe=function(e){return this.source?.subscribe(e)},Observable.prototype[b]=function(){return this},Observable.prototype.pipe=function(){return pipeFromArray([...arguments])(this)},Observable.prototype.toPromise=function(e){var t=this;return e=getPromiseCtor(e),new e(function(e,n){var r;t.subscribe(function(e){return r=e},function(e){return n(e)},function(){return e(r)})})},Observable.create=function(e){return new Observable(e)},Observable}()})))()}function hasLift(e){return isFunction(e?.lift)}function operate(e){return function(t){if(hasLift(t))return t.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw TypeError(`Unable to lift unknown Observable type`)}}function init_lift(){return(init_lift=t((()=>{init_isFunction()})))()}function createOperatorSubscriber(e,t,n,r,i){return new S(e,t,n,r,i)}var S;function init_OperatorSubscriber(){return(init_OperatorSubscriber=t((()=>{init_tslib_es6(),init_Subscriber(),S=function(e){__extends(OperatorSubscriber,e);function OperatorSubscriber(t,n,r,i,a,o){var s=e.call(this,t)||this;return s.onFinalize=a,s.shouldUnsubscribe=o,s._next=n?function(e){try{n(e)}catch(e){t.error(e)}}:e.prototype._next,s._error=i?function(e){try{i(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=r?function(){try{r()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,s}return OperatorSubscriber.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;e.prototype.unsubscribe.call(this),n||(t=this.onFinalize)==null||t.call(this)}},OperatorSubscriber}(h)})))()}var ee;function init_ObjectUnsubscribedError(){return(init_ObjectUnsubscribedError=t((()=>{init_createErrorClass(),ee=createErrorClass(function(e){return function ObjectUnsubscribedErrorImpl(){e(this),this.name=`ObjectUnsubscribedError`,this.message=`object unsubscribed`}})})))()}var te,ne;function init_Subject(){return(init_Subject=t((()=>{init_tslib_es6(),init_Observable(),init_Subscription(),init_ObjectUnsubscribedError(),init_arrRemove(),init_errorContext(),te=function(e){__extends(Subject,e);function Subject(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return Subject.prototype.lift=function(e){var t=new ne(this,this);return t.operator=e,t},Subject.prototype._throwIfClosed=function(){if(this.closed)throw new ee},Subject.prototype.next=function(e){var t=this;errorContext(function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||=Array.from(t.observers);try{for(var i=__values(t.currentObservers),a=i.next();!a.done;a=i.next())a.value.next(e)}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}})},Subject.prototype.error=function(e){var t=this;errorContext(function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}})},Subject.prototype.complete=function(){var e=this;errorContext(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},Subject.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(Subject.prototype,"observed",{get:function(){return this.observers?.length>0},enumerable:!1,configurable:!0}),Subject.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},Subject.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Subject.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,i=n.isStopped,a=n.observers;return r||i?u:(this.currentObservers=null,a.push(e),new l(function(){t.currentObservers=null,arrRemove(a,e)}))},Subject.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,i=t.isStopped;n?e.error(r):i&&e.complete()},Subject.prototype.asObservable=function(){var e=new x;return e.source=this,e},Subject.create=function(e,t){return new ne(e,t)},Subject}(x),ne=function(e){__extends(AnonymousSubject,e);function AnonymousSubject(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return AnonymousSubject.prototype.next=function(e){var t,n;(n=(t=this.destination)?.next)==null||n.call(t,e)},AnonymousSubject.prototype.error=function(e){var t,n;(n=(t=this.destination)?.error)==null||n.call(t,e)},AnonymousSubject.prototype.complete=function(){var e,t;(t=(e=this.destination)?.complete)==null||t.call(e)},AnonymousSubject.prototype._subscribe=function(e){return this.source?.subscribe(e)??u},AnonymousSubject}(te)})))()}var re;function init_BehaviorSubject(){return(init_BehaviorSubject=t((()=>{init_tslib_es6(),init_Subject(),re=function(e){__extends(BehaviorSubject,e);function BehaviorSubject(t){var n=e.call(this)||this;return n._value=t,n}return Object.defineProperty(BehaviorSubject.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),BehaviorSubject.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return!n.closed&&t.next(this._value),n},BehaviorSubject.prototype.getValue=function(){var e=this,t=e.hasError,n=e.thrownError,r=e._value;if(t)throw n;return this._throwIfClosed(),r},BehaviorSubject.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},BehaviorSubject}(te)})))()}function map(e,t){return operate(function(n,r){var i=0;n.subscribe(createOperatorSubscriber(r,function(n){r.next(e.call(t,n,i++))}))})}function init_map(){return(init_map=t((()=>{init_lift(),init_OperatorSubscriber()})))()}function getCurrentInjector(){return ie}function setCurrentInjector(e){let t=ie;return ie=e,t}function isNotFound(e){return e===ae||e?.name===`ɵNotFound`}var ie,ae;function init__not_found_chunk(){return(init__not_found_chunk=t((()=>{ie=void 0,ae=Symbol(`NotFound`)})))()}function untracked$1(e){let t=setActiveConsumer(null);try{return e()}finally{setActiveConsumer(t)}}function init__untracked_chunk(){return(init__untracked_chunk=t((()=>{init__effect_chunk(),e(untracked$1,`untracked`)})))()}function formatRuntimeErrorCode(e){return`NG0${Math.abs(e)}`}function formatRuntimeError(e,t){return`${formatRuntimeErrorCode(e)}${t?`: `+t:``}`}function getClosureSafeProperty(e){for(let t in e)if(e[t]===getClosureSafeProperty)return t;throw Error(``)}function fillProperties(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function stringify(e){if(typeof e==`string`)return e;if(Array.isArray(e))return`[${e.map(stringify).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 concatStringsWithSpace(e,t){return e?t?`${e} ${t}`:e:t||``}function forwardRef(e){return e.__forward_ref__=forwardRef,e}function resolveForwardRef(e){return isForwardRef(e)?e():e}function isForwardRef(e){return typeof e==`function`&&e.hasOwnProperty(se)&&e.__forward_ref__===forwardRef}function assertEqual(e,t,n){e!=t&&throwError(n,e,t,`==`)}function throwError(e,t,n,r){throw Error(`ASSERTION ERROR: ${e}`+(r==null?``:` [Expected=> ${n} ${r} ${t} <=Actual]`))}function ɵɵdefineInjectable(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ɵɵdefineInjector(e){return{providers:e.providers||[],imports:e.imports||[]}}function getInjectableDef(e){return getOwnDefinition(e,ce)}function getOwnDefinition(e,t){return e.hasOwnProperty(t)&&e[t]||null}function getInheritedInjectableDef(e){return(e?.[ce]??null)||null}function getInjectorDef(e){return e&&e.hasOwnProperty(le)?e[le]:null}function isEnvironmentProviders(e){return e&&!!e.ɵproviders}function getNgModuleDef(e){return assertTypeDefined(e,`@NgModule`),e[pe]||null}function getNgModuleDefOrThrow(e){let t=getNgModuleDef(e);if(!t)throw new RuntimeError(915,!1);return t}function getComponentDef(e){return assertTypeDefined(e,`@Component`),e[ue]||null}function getDirectiveDef(e){return assertTypeDefined(e,`@Directive`),e[de]||null}function getPipeDef$1(e){return assertTypeDefined(e,`@Pipe`),e[fe]||null}function assertTypeDefined(e,t){if(e==null)throw new RuntimeError(-919,!1)}function isStandalone(e){let t=getComponentDef(e)||getDirectiveDef(e)||getPipeDef$1(e);return t!==null&&t.standalone}function renderStringify(e){return typeof e==`string`?e:e==null?``:String(e)}function stringifyForError(e){return typeof e==`function`?e.name||e.toString():typeof e==`object`&&e&&typeof e.type==`function`?e.type.name||e.type.toString():renderStringify(e)}function cyclicDependencyError(e,t){return createRuntimeError(``,-200,t)}function throwProviderNotFoundError(e,t){throw new RuntimeError(-201,!1)}function createRuntimeError(e,t,n){let r=new RuntimeError(t,e);return r[ge]=t,r[_e]=e,n&&(r[ve]=n),r}function getRuntimeErrorCode(e){return e[ge]}function getInjectImplementation(){return ye}function setInjectImplementation(e){let t=ye;return ye=e,t}function injectRootLimpMode(e,t,n){let r=getInjectableDef(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;throwProviderNotFoundError(e,``)}function injectInjectorOnly(e,t=0){let n=getCurrentInjector();if(n===void 0)throw new RuntimeError(-203,!1);if(n===null)return injectRootLimpMode(e,void 0,t);{let r=convertToInjectOptions(t),i=n.retrieve(e,r);if(isNotFound(i)){if(r.optional)return null;throw i}return i}}function ɵɵinject(e,t=0){return(getInjectImplementation()||injectInjectorOnly)(resolveForwardRef(e),t)}function ɵɵinvalidFactoryDep(e){throw new RuntimeError(202,!1)}function inject(e,t){return ɵɵinject(e,convertToBitFlags(t))}function convertToBitFlags(e){return e===void 0||typeof e==`number`?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function convertToInjectOptions(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function injectArgs(e){let t=[];for(let n=0;n<e.length;n++){let r=resolveForwardRef(e[n]);if(Array.isArray(r)){if(r.length===0)throw new RuntimeError(900,!1);let e,n=0;for(let t=0;t<r.length;t++){let i=r[t],a=getInjectFlag(i);typeof a==`number`?a===-1?e=i.token:n|=a:e=i}t.push(ɵɵinject(e,n))}else t.push(ɵɵinject(r))}return t}function attachInjectFlag(e,t){return e[xe]=t,e.prototype[xe]=t,e}function getInjectFlag(e){return e[xe]}function getFactoryDef(e,t){return e.hasOwnProperty(w)?e[w]:null}function arrayEquals(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],a=t[r];if(n&&(i=n(i),a=n(a)),a!==i)return!1}return!0}function flatten(e){return e.flat(1/0)}function deepForEach(e,t){e.forEach(e=>Array.isArray(e)?deepForEach(e,t):t(e))}function addToArray(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function removeFromArray(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function newArray(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function arraySplice(e,t,n){let r=e.length-n;for(;t<r;)e[t]=e[t+n],t++;for(;n--;)e.pop()}function arrayInsert2(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(i===1)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;){let t=i-2;e[i]=e[t],i--}e[t]=n,e[t+1]=r}}function keyValueArraySet(e,t,n){let r=keyValueArrayIndexOf(e,t);return r>=0?e[r|1]=n:(r=~r,arrayInsert2(e,r,t,n)),r}function keyValueArrayGet(e,t){let n=keyValueArrayIndexOf(e,t);if(n>=0)return e[n|1]}function keyValueArrayIndexOf(e,t){return _arrayIndexOfSorted(e,t,1)}function _arrayIndexOfSorted(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){let a=r+(i-r>>1),o=e[a<<n];if(t===o)return a<<n;o>t?i=a:r=a+1}return~(i<<n)}function makeEnvironmentProviders(e){return{ɵproviders:e}}function importProvidersFrom(...e){return{ɵproviders:internalImportProvidersFrom(!0,e),ɵfromNgModule:!0}}function internalImportProvidersFrom(e,...t){let n=[],r=new Set,i,collectProviders=e=>{n.push(e)};return deepForEach(t,e=>{let t=e;walkProviderTree(t,collectProviders,[],r)&&(i||=[],i.push(t))}),i!==void 0&&processInjectorTypesWithProviders(i,collectProviders),n}function processInjectorTypesWithProviders(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:i}=e[n];deepForEachProvider(i,e=>{t(e,r)})}}function walkProviderTree(e,t,n,r){if(e=resolveForwardRef(e),!e)return!1;let i=null,a=getInjectorDef(e),o=!a&&getComponentDef(e);if(!a&&!o){let t=e.ngModule;if(a=getInjectorDef(t),a)i=t;else return!1}else if(o&&!o.standalone)return!1;else i=e;let s=r.has(i);if(o){if(s)return!1;if(r.add(i),o.dependencies){let e=typeof o.dependencies==`function`?o.dependencies():o.dependencies;for(let i of e)walkProviderTree(i,t,n,r)}}else if(a){if(a.imports!=null&&!s){r.add(i);let e;try{deepForEach(a.imports,i=>{walkProviderTree(i,t,n,r)&&(e||=[],e.push(i))})}finally{}e!==void 0&&processInjectorTypesWithProviders(e,t)}if(!s){let e=getFactoryDef(i)||(()=>new i);t({provide:i,useFactory:e,deps:E},i),t({provide:we,useValue:i,multi:!0},i),t({provide:Se,useValue:()=>ɵɵinject(i),multi:!0},i)}let o=a.providers;if(o!=null&&!s){let n=e;deepForEachProvider(o,e=>{t(e,n)})}}else return!1;return i!==e&&e.providers!==void 0}function deepForEachProvider(e,t){for(let n of e)isEnvironmentProviders(n)&&(n=n.ɵproviders),Array.isArray(n)?deepForEachProvider(n,t):t(n)}function isValueProvider(e){return typeof e==`object`&&!!e&&Te in e}function isExistingProvider(e){return!!(e&&e.useExisting)}function isFactoryProvider(e){return!!(e&&e.useFactory)}function isTypeProvider(e){return typeof e==`function`}function isClassProvider(e){return!!e.useClass}function getNullInjector(){return ke===void 0&&(ke=new NullInjector),ke}function injectableDefOrInjectorDefFactory(e){let t=getInjectableDef(e),n=t===null?getFactoryDef(e):t.factory;if(n!==null)return n;if(e instanceof InjectionToken)throw new RuntimeError(-204,!1);if(e instanceof Function)return getUndecoratedInjectableFactory(e);throw new RuntimeError(-204,!1)}function getUndecoratedInjectableFactory(e){if(e.length>0)throw new RuntimeError(-204,!1);let t=getInheritedInjectableDef(e);return t===null?()=>new e:()=>t.factory(e)}function providerToRecord(e){return isValueProvider(e)?makeRecord(void 0,e.useValue):makeRecord(providerToFactory(e),De)}function providerToFactory(e,t,n){let factory;if(isTypeProvider(e)){let t=resolveForwardRef(e);return getFactoryDef(t)||injectableDefOrInjectorDefFactory(t)}if(isValueProvider(e))factory=()=>resolveForwardRef(e.useValue);else if(isFactoryProvider(e))factory=()=>e.useFactory(...injectArgs(e.deps||[]));else if(isExistingProvider(e))factory=(t,n)=>ɵɵinject(resolveForwardRef(e.useExisting),n!==void 0&&n&8?8:void 0);else{let t=resolveForwardRef(e&&(e.useClass||e.provide));if(hasDeps(e))factory=()=>new t(...injectArgs(e.deps));else return getFactoryDef(t)||injectableDefOrInjectorDefFactory(t)}return factory}function assertNotDestroyed(e){if(e.destroyed)throw new RuntimeError(-205,!1)}function makeRecord(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function hasDeps(e){return!!e.deps}function hasOnDestroy(e){return typeof e==`object`&&!!e&&typeof e.ngOnDestroy==`function`}function couldBeInjectableType(e){return typeof e==`function`||typeof e==`object`&&e.ngMetadataName===`InjectionToken`}function forEachSingleProvider(e,t){for(let n of e)Array.isArray(n)?forEachSingleProvider(n,t):n&&isEnvironmentProviders(n)?forEachSingleProvider(n.ɵproviders,t):t(n)}function runInInjectionContext(e,t){let n;e instanceof R3Injector?(assertNotDestroyed(e),n=e):n=new RetrievingInjector(e);let r=setCurrentInjector(n),i=setInjectImplementation(void 0);try{return t()}finally{setCurrentInjector(r),setInjectImplementation(i)}}function isInInjectionContext(){return getInjectImplementation()!==void 0||getCurrentInjector()!=null}function isLView(e){return Array.isArray(e)&&typeof e[Ae]==`object`}function isLContainer(e){return Array.isArray(e)&&e[Ae]===!0}function isContentQueryHost(e){return!!(e.flags&4)}function isComponentHost(e){return e.componentOffset>-1}function isDirectiveHost(e){return(e.flags&1)==1}function isComponentDef(e){return!!e.template}function isRootView(e){return!!(e[2]&512)}function isDestroyed(e){return(e[2]&256)==256}function SECURITY_SCHEMA(){return je||(je={},registerContext(D.HTML,void 0,[[`iframe`,[`srcdoc`]],[`*`,[`innerHTML`,`outerHTML`]]]),registerContext(D.STYLE,void 0,[[`*`,[`style`]]]),registerContext(D.URL,void 0,[[`*`,[`formAction`]],[`area`,[`href`]],[`a`,[`href`,`xlink:href`]],[`form`,[`action`]],[`img`,[`src`]],[`video`,[`src`]]]),registerContext(D.URL,Me,[[`*`,[`href`,`xlink:href`]],[`annotation`,[`href`,`xlink:href`]],[`annotation-xml`,[`href`,`xlink:href`]],[`maction`,[`href`,`xlink:href`]],[`malignmark`,[`href`,`xlink:href`]],[`math`,[`href`,`xlink:href`]],[`mroot`,[`href`,`xlink:href`]],[`msqrt`,[`href`,`xlink:href`]],[`merror`,[`href`,`xlink:href`]],[`mfrac`,[`href`,`xlink:href`]],[`mglyph`,[`href`,`xlink:href`]],[`msub`,[`href`,`xlink:href`]],[`msup`,[`href`,`xlink:href`]],[`msubsup`,[`href`,`xlink:href`]],[`mmultiscripts`,[`href`,`xlink:href`]],[`mprescripts`,[`href`,`xlink:href`]],[`mi`,[`href`,`xlink:href`]],[`mn`,[`href`,`xlink:href`]],[`mo`,[`href`,`xlink:href`]],[`mpadded`,[`href`,`xlink:href`]],[`mphantom`,[`href`,`xlink:href`]],[`mrow`,[`href`,`xlink:href`]],[`ms`,[`href`,`xlink:href`]],[`mspace`,[`href`,`xlink:href`]],[`mstyle`,[`href`,`xlink:href`]],[`mtable`,[`href`,`xlink:href`]],[`mtd`,[`href`,`xlink:href`]],[`mtr`,[`href`,`xlink:href`]],[`mtext`,[`href`,`xlink:href`]],[`mover`,[`href`,`xlink:href`]],[`munder`,[`href`,`xlink:href`]],[`munderover`,[`href`,`xlink:href`]],[`semantics`,[`href`,`xlink:href`]],[`none`,[`href`,`xlink:href`]]]),registerContext(D.RESOURCE_URL,void 0,[[`base`,[`href`]],[`embed`,[`src`]],[`frame`,[`src`]],[`iframe`,[`src`]],[`link`,[`href`]],[`object`,[`codebase`,`data`]]]),registerContext(D.URL,`svg`,[[`a`,[`href`,`xlink:href`]]]),registerContext(D.ATTRIBUTE_NO_BINDING,`svg`,[[`animate`,[`attributeName`,`values`,`to`,`from`]],[`set`,[`to`,`attributeName`]],[`animateMotion`,[`attributeName`]],[`animateTransform`,[`attributeName`]]]),registerContext(D.ATTRIBUTE_NO_BINDING,void 0,[[`unknown`,[`attributeName`,`values`,`to`,`from`,`sandbox`,`allow`,`allowFullscreen`,`referrerPolicy`,`csp`,`fetchPriority`]],[`iframe`,[`sandbox`,`allow`,`allowFullscreen`,`referrerPolicy`,`csp`,`fetchPriority`]]])),je}function registerContext(e,t,n){for(let[r,i]of n){let n=t&&r!==`unknown`?`:${t}:${r}`:r;n=n.toLowerCase();for(let t of i)je[`${n}|${t.toLowerCase()}`]=e}}function checkSecurityContext(e,t,n){let r=SECURITY_SCHEMA(),i=e.toLowerCase(),a=t.toLowerCase(),o=n&&i!==`*`&&i!==`unknown`?r[`:${n}:${i}|${a}`]:void 0,s=n?r[`:${n}:*|${a}`]:void 0;return o??s??r[`${i}|${a}`]??r[`*|${a}`]??D.NONE}function unwrapRNode(e){for(;Array.isArray(e);)e=e[0];return e}function unwrapLView(e){for(;Array.isArray(e);){if(typeof e[Ae]==`object`)return e;e=e[0]}return null}function getNativeByIndex(e,t){return unwrapRNode(t[e])}function getNativeByTNode(e,t){return unwrapRNode(t[e.index])}function getTNode(e,t){return e.data[t]}function load(e,t){return e[t]}function store(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function getComponentLViewByIndex(e,t){let n=t[e];return isLView(n)?n:n[0]}function isCreationMode(e){return(e[2]&4)==4}function viewAttachedToChangeDetector(e){return(e[2]&128)==128}function viewAttachedToContainer(e){return isLContainer(e[3])}function getConstant(e,t){return t==null?null:e[t]}function resetPreOrderHookFlags(e){e[17]=0}function markViewForRefresh(e){e[2]&1024||(e[2]|=1024,viewAttachedToChangeDetector(e)&&markAncestorsForTraversal(e))}function walkUpViews(e,t){for(;e>0;)t=t[14],e--;return t}function requiresRefreshOrTraversal(e){return!!(e[2]&9216||e[24]?.dirty)}function updateAncestorTraversalFlagsOnAttach(e){e[10].changeDetectionScheduler?.notify(8),e[2]&64&&(e[2]|=1024),requiresRefreshOrTraversal(e)&&markAncestorsForTraversal(e)}function markAncestorsForTraversal(e){e[10].changeDetectionScheduler?.notify(0);let t=getLViewParent(e);for(;t!==null&&!(t[2]&8192||(t[2]|=8192,!viewAttachedToChangeDetector(t)));)t=getLViewParent(t)}function storeLViewOnDestroy(e,t){if(isDestroyed(e))throw new RuntimeError(911,!1);e[21]===null&&(e[21]=[]),e[21].push(t)}function removeLViewOnDestroy(e,t){if(e[21]===null)return;let n=e[21].indexOf(t);n!==-1&&e[21].splice(n,1)}function getLViewParent(e){let t=e[3];return isLContainer(t)?t[3]:t}function getOrCreateLViewCleanup(e){return e[7]??=[]}function getOrCreateTViewCleanup(e){return e.cleanup??=[]}function storeCleanupWithContext(e,t,n,r){let i=getOrCreateLViewCleanup(t);i.push(n),e.firstCreatePass&&getOrCreateTViewCleanup(e).push(r,i.length-1)}function getElementDepthCount(){return O.lFrame.elementDepthCount}function increaseElementDepthCount(){O.lFrame.elementDepthCount++}function decreaseElementDepthCount(){O.lFrame.elementDepthCount--}function getBindingsEnabled(){return O.bindingsEnabled}function isInSkipHydrationBlock(){return O.skipHydrationRootTNode!==null}function isSkipHydrationRootTNode(e){return O.skipHydrationRootTNode===e}function ɵɵenableBindings(){O.bindingsEnabled=!0}function ɵɵdisableBindings(){O.bindingsEnabled=!1}function leaveSkipHydrationBlock(){O.skipHydrationRootTNode=null}function getLView(){return O.lFrame.lView}function getTView(){return O.lFrame.tView}function ɵɵrestoreView(e){return O.lFrame.contextLView=e,e[8]}function ɵɵresetView(e){return O.lFrame.contextLView=null,e}function getCurrentTNode(){let e=getCurrentTNodePlaceholderOk();for(;e!==null&&e.type===64;)e=e.parent;return e}function getCurrentTNodePlaceholderOk(){return O.lFrame.currentTNode}function getCurrentParentTNode(){let e=O.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function setCurrentTNode(e,t){let n=O.lFrame;n.currentTNode=e,n.isParent=t}function isCurrentTNodeParent(){return O.lFrame.isParent}function setCurrentTNodeAsNotParent(){O.lFrame.isParent=!1}function getContextLView(){return O.lFrame.contextLView}function isRefreshingViews(){return Ne}function setIsRefreshingViews(e){let t=Ne;return Ne=e,t}function getBindingRoot(){let e=O.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function getBindingIndex(){return O.lFrame.bindingIndex}function setBindingIndex(e){return O.lFrame.bindingIndex=e}function nextBindingIndex(){return O.lFrame.bindingIndex++}function incrementBindingIndex(e){let t=O.lFrame,n=t.bindingIndex;return t.bindingIndex+=e,n}function isInI18nBlock(){return O.lFrame.inI18n}function setInI18nBlock(e){O.lFrame.inI18n=e}function setBindingRootForHostBindings(e,t){let n=O.lFrame;n.bindingIndex=n.bindingRootIndex=e,setCurrentDirectiveIndex(t)}function getCurrentDirectiveIndex(){return O.lFrame.currentDirectiveIndex}function setCurrentDirectiveIndex(e){O.lFrame.currentDirectiveIndex=e}function getCurrentDirectiveDef(e){let t=O.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function getCurrentQueryIndex(){return O.lFrame.currentQueryIndex}function setCurrentQueryIndex(e){O.lFrame.currentQueryIndex=e}function getDeclarationTNode(e){let t=e[1];return t.type===2?t.declTNode:t.type===1?e[5]:null}function enterDI(e,t,n){if(n&4){let r=t,i=e;for(;r=r.parent,r===null&&!(n&1)&&(r=getDeclarationTNode(i),!(r===null||(i=i[14],r.type&10))););if(r===null)return!1;t=r,e=i}let r=O.lFrame=allocLFrame();return r.currentTNode=t,r.lView=e,!0}function enterView(e){let t=allocLFrame(),n=e[1];O.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function allocLFrame(){let e=O.lFrame,t=e===null?null:e.child;return t===null?createLFrame(e):t}function createLFrame(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 leaveViewLight(){let e=O.lFrame;return O.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}function leaveView(){let e=leaveViewLight();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 nextContextImpl(e){return(O.lFrame.contextLView=walkUpViews(e,O.lFrame.contextLView))[8]}function getSelectedIndex(){return O.lFrame.selectedIndex}function setSelectedIndex(e){O.lFrame.selectedIndex=e}function getSelectedTNode(){let e=O.lFrame;return getTNode(e.tView,e.selectedIndex)}function ɵɵnamespaceSVG(){O.lFrame.currentNamespace=`svg`}function ɵɵnamespaceMathML(){O.lFrame.currentNamespace=Me}function ɵɵnamespaceHTML(){namespaceHTMLInternal()}function namespaceHTMLInternal(){O.lFrame.currentNamespace=null}function getNamespace(){return O.lFrame.currentNamespace}function wasLastNodeCreated(){return Fe}function lastNodeWasCreated(e){Fe=e}function createInjector(e,t=null,n=null,r){let i=createInjectorWithoutInjectorInstances(e,t,n,r);return i.resolveInjectorInitializers(),i}function createInjectorWithoutInjectorInstances(e,t=null,n=null,r,i=new Set){let a=[n||E,importProvidersFrom(e)];return new R3Injector(a,t||getNullInjector(),null,i)}function injectDestroyRef(){return new NodeInjectorDestroyRef(getLView())}function noop(...e){}function scheduleCallbackWithRafRace(e){let t,n;function cleanup(){e=noop;try{n!==void 0&&typeof cancelAnimationFrame==`function`&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),cleanup()}),typeof requestAnimationFrame==`function`&&(n=requestAnimationFrame(()=>{e(),cleanup()})),()=>cleanup()}function scheduleCallbackWithMicrotask(e){return queueMicrotask(()=>e()),()=>{e=noop}}function checkStable(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 delayChangeDetectionForEvents(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function scheduleCheckStable(){scheduleCallbackWithRafRace(()=>{e.callbackScheduled=!1,updateMicroTaskStatus(e),e.isCheckStableRunning=!0,checkStable(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{scheduleCheckStable()}):e._outer.run(()=>{scheduleCheckStable()}),updateMicroTaskStatus(e)}function forkInnerZoneWithAngularBehavior(e){let delayChangeDetectionForEventsDelegate=()=>{delayChangeDetectionForEvents(e)},t=He++;e._inner=e._inner.fork({name:`angular`,properties:{[Be]:!0,[Ve]:t,[Ve+t]:!0},onInvokeTask:(t,n,r,i,a,o)=>{if(shouldBeIgnoredByZone(o))return t.invokeTask(r,i,a,o);try{return onEnter(e),t.invokeTask(r,i,a,o)}finally{(e.shouldCoalesceEventChangeDetection&&i.type===`eventTask`||e.shouldCoalesceRunChangeDetection)&&delayChangeDetectionForEventsDelegate(),onLeave(e)}},onInvoke:(t,n,r,i,a,o,s)=>{try{return onEnter(e),t.invoke(r,i,a,o,s)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!isSchedulerTick(o)&&delayChangeDetectionForEventsDelegate(),onLeave(e)}},onHasTask:(t,n,r,i)=>{t.hasTask(r,i),n===r&&(i.change==`microTask`?(e._hasPendingMicrotasks=i.microTask,updateMicroTaskStatus(e),checkStable(e)):i.change==`macroTask`&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(t,n,r,i)=>(t.handleError(r,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function updateMicroTaskStatus(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0)}function onEnter(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function onLeave(e){e._nesting--,checkStable(e)}function shouldBeIgnoredByZone(e){return hasApplyArgsData(e,`__ignore_ng_zone__`)}function isSchedulerTick(e){return hasApplyArgsData(e,`__scheduler_tick__`)}function hasApplyArgsData(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}function injectViewContext(){return new Ke(getLView(),getCurrentTNode())}var oe,RuntimeError,C,se,ce,le,InjectionToken,ue,de,fe,pe,w,me,he,ge,_e,ve,ye,be,xe,RetrievingInjector,T,E,Se,Ce,we,NullInjector,Te,Ee,De,Oe,ke,EnvironmentInjector,R3Injector,Ae,D,je,Me,O,Ne,Pe,Fe,Ie,k,Le,NodeInjectorDestroyRef,Re,ze,EventEmitter_,A,Be,Ve,He,j,Ue,NoopNgZone,ErrorHandler,We,Ge,Ke,ChangeDetectionScheduler,qe,Je,Ye,Xe,ZoneAwareEffectScheduler;function init__effect_chunk2(){return(init__effect_chunk2=t((()=>{init__effect_chunk(),init_BehaviorSubject(),init_Observable(),init_Subject(),init_Subscription(),init__not_found_chunk(),oe=`https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss`,RuntimeError=class extends Error{code;constructor(e,t){super(formatRuntimeError(e,t)),this.code=e}},C=globalThis,se=getClosureSafeProperty({__forward_ref__:getClosureSafeProperty}),ce=getClosureSafeProperty({ɵprov:getClosureSafeProperty}),le=getClosureSafeProperty({ɵinj:getClosureSafeProperty}),InjectionToken=class{_desc;ngMetadataName=`InjectionToken`;ɵprov;constructor(e,t){this._desc=e,this.ɵprov=void 0,typeof t==`number`?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.ɵprov=ɵɵdefineInjectable({token:this,providedIn:t.providedIn||`root`,factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}},ue=getClosureSafeProperty({ɵcmp:getClosureSafeProperty}),de=getClosureSafeProperty({ɵdir:getClosureSafeProperty}),fe=getClosureSafeProperty({ɵpipe:getClosureSafeProperty}),pe=getClosureSafeProperty({ɵmod:getClosureSafeProperty}),w=getClosureSafeProperty({ɵfac:getClosureSafeProperty}),me=getClosureSafeProperty({__NG_ELEMENT_ID__:getClosureSafeProperty}),he=getClosureSafeProperty({__NG_ENV_ID__:getClosureSafeProperty}),e(getPipeDef$1,`getPipeDef`),ge=getClosureSafeProperty({ngErrorCode:getClosureSafeProperty}),_e=getClosureSafeProperty({ngErrorMessage:getClosureSafeProperty}),ve=getClosureSafeProperty({ngTokenPath:getClosureSafeProperty}),be={},xe=`__NG_DI_FLAG__`,RetrievingInjector=class{injector;constructor(e){this.injector=e}retrieve(e,t){let n=convertToBitFlags(t)||0;try{return this.injector.get(e,n&8?null:be,n)}catch(e){if(isNotFound(e))return e;throw e}}},T={},E=[],Se=new InjectionToken(``),Ce=new InjectionToken(``,-1),we=new InjectionToken(``),NullInjector=class{get(e,t=be){if(t===be){let e=createRuntimeError(``,-201);throw e.name=`ɵNotFound`,e}return t}},Te=getClosureSafeProperty({provide:String,useValue:getClosureSafeProperty}),Ee=new InjectionToken(``),De={},Oe={},ke=void 0,EnvironmentInjector=class{},R3Injector=class extends EnvironmentInjector{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(e,t,n,r){super(),this.parent=t,this.source=n,this.scopes=r,forEachSingleProvider(e,e=>this.processProvider(e)),this.records.set(Ce,makeRecord(void 0,this)),r.has(`environment`)&&this.records.set(EnvironmentInjector,makeRecord(void 0,this));let i=this.records.get(Ee);i!=null&&typeof i.value==`string`&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(we,E,{self:!0}))}retrieve(e,t){let n=convertToBitFlags(t)||0;try{return this.get(e,be,n)}catch(e){if(isNotFound(e))return e;throw e}}destroy(){assertNotDestroyed(this),this._destroyed=!0;let e=setActiveConsumer(null);try{for(let e of this._ngOnDestroyHooks)e.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let t of e)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),setActiveConsumer(e)}}onDestroy(e){return assertNotDestroyed(this),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){assertNotDestroyed(this);let t=setCurrentInjector(this),n=setInjectImplementation(void 0);try{return e()}finally{setCurrentInjector(t),setInjectImplementation(n)}}get(e,t=be,n){if(assertNotDestroyed(this),e.hasOwnProperty(he))return e[he](this);let r=convertToBitFlags(n),i=setCurrentInjector(this),a=setInjectImplementation(void 0);try{if(!(r&4)){let t=this.records.get(e);if(t===void 0){let n=couldBeInjectableType(e)&&getInjectableDef(e);t=n&&this.injectableDefInScope(n)?makeRecord(injectableDefOrInjectorDefFactory(e),De):null,this.records.set(e,t)}if(t!=null)return this.hydrate(e,t,r)}let n=r&2?getNullInjector():this.parent;return t=r&8&&t===be?null:t,n.get(e,t)}catch(e){let t=getRuntimeErrorCode(e);throw t===-200||t===-201?new RuntimeError(t,null):e}finally{setInjectImplementation(a),setCurrentInjector(i)}}resolveInjectorInitializers(){let e=setActiveConsumer(null),t=setCurrentInjector(this),n=setInjectImplementation(void 0);try{let e=this.get(Se,E,{self:!0});for(let t of e)t()}finally{setCurrentInjector(t),setInjectImplementation(n),setActiveConsumer(e)}}toString(){return`R3Injector[...]`}processProvider(e){e=resolveForwardRef(e);let t=isTypeProvider(e)?e:resolveForwardRef(e&&e.provide),n=providerToRecord(e);if(!isTypeProvider(e)&&e.multi===!0){let n=this.records.get(t);n||(n=makeRecord(void 0,De,!0),n.factory=()=>injectArgs(n.multi),this.records.set(t,n)),t=e,n.multi.push(e)}this.records.set(t,n)}hydrate(e,t,n){let r=setActiveConsumer(null);try{if(t.value===Oe)throw cyclicDependencyError(``);return t.value===De&&(t.value=Oe,t.value=t.factory(void 0,n)),typeof t.value==`object`&&t.value&&hasOnDestroy(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{setActiveConsumer(r)}}injectableDefInScope(e){if(!e.providedIn)return!1;let t=resolveForwardRef(e.providedIn);return typeof t==`string`?t===`any`||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(e){let t=this._onDestroyHooks.indexOf(e);t!==-1&&this._onDestroyHooks.splice(t,1)}},Ae=1,D=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[e.ATTRIBUTE_NO_BINDING=6]=`ATTRIBUTE_NO_BINDING`,e}(D||{}),Me=`math`,O={lFrame:createLFrame(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Ne=!1,Pe=leaveViewLight,Fe=!0,Ie=class Injector{static THROW_IF_NOT_FOUND=be;static NULL=new NullInjector;static create(e,t){if(Array.isArray(e))return createInjector({name:``},t,e,``);{let t=e.name??``;return createInjector({name:t},e.parent,e.providers,t)}}static ɵprov=ɵɵdefineInjectable({token:Injector,providedIn:`any`,factory:()=>ɵɵinject(Ce)});static __NG_ELEMENT_ID__=-1},k=new InjectionToken(``),Le=(()=>{class DestroyRef{static __NG_ELEMENT_ID__=injectDestroyRef;static __NG_ENV_ID__=e=>e}return DestroyRef})(),NodeInjectorDestroyRef=class extends Le{_lView;constructor(e){super(),this._lView=e}get destroyed(){return isDestroyed(this._lView)}onDestroy(e){let t=this._lView;return storeLViewOnDestroy(t,e),()=>removeLViewOnDestroy(t,e)}},Re=new InjectionToken(``),ze=(()=>{class PendingTasksInternal{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new re(!1);debugTaskTracker=inject(Re,{optional:!0});get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new x(e=>{e.next(!1),e.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),this.debugTaskTracker?.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.debugTaskTracker?.remove(e),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 ɵprov=ɵɵdefineInjectable({token:PendingTasksInternal,providedIn:`root`,factory:()=>new PendingTasksInternal})}return PendingTasksInternal})(),EventEmitter_=class extends te{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(e=!1){super(),this.__isAsync=e,isInInjectionContext()&&(this.destroyRef=inject(Le,{optional:!0})??void 0,this.pendingTasks=inject(ze,{optional:!0})??void 0)}emit(e){let t=setActiveConsumer(null);try{super.next(e)}finally{setActiveConsumer(t)}}subscribe(e,t,n){let r=e,i=t||(()=>null),a=n;if(e&&typeof e==`object`){let t=e;r=t.next?.bind(t),i=t.error?.bind(t),a=t.complete?.bind(t)}this.__isAsync&&(i=this.wrapInTimeout(i),r&&=this.wrapInTimeout(r),a&&=this.wrapInTimeout(a));let o=super.subscribe({next:r,error:i,complete:a});return e instanceof l&&e.add(o),o}wrapInTimeout(e){return t=>{let n=this.pendingTasks?.add();setTimeout(()=>{try{e(t)}finally{n!==void 0&&this.pendingTasks?.remove(n)}})}}},A=EventEmitter_,Be=`isAngularZone`,Ve=`isAngularZone_ID`,He=0,j=class NgZone{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new A(!1);onMicrotaskEmpty=new A(!1);onStable=new A(!1);onError=new A(!1);constructor(e){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:i=!1}=e;if(typeof Zone>`u`)throw new RuntimeError(908,!1);Zone.assertZonePatched();let a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!r&&n,a.shouldCoalesceRunChangeDetection=r,a.callbackScheduled=!1,a.scheduleInRootZone=i,forkInnerZoneWithAngularBehavior(a)}static isInAngularZone(){return typeof Zone<`u`&&Zone.current.get(Be)===!0}static assertInAngularZone(){if(!NgZone.isInAngularZone())throw new RuntimeError(909,!1)}static assertNotInAngularZone(){if(NgZone.isInAngularZone())throw new RuntimeError(909,!1)}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){let i=this._inner,a=i.scheduleEventTask(`NgZoneEvent: `+r,e,Ue,noop,noop);try{return i.runTask(a,t,n)}finally{i.cancelTask(a)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}},Ue={},NoopNgZone=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new A;onMicrotaskEmpty=new A;onStable=new A;onError=new A;run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,r){return e.apply(t,n)}},ErrorHandler=class{_console=console;handleError(e){this._console.error(`ERROR`,e)}},We=new InjectionToken(``,{factory:()=>{let e=inject(j),t=inject(EnvironmentInjector),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(ErrorHandler),n.handleError(r))})}}}),Ge={provide:Se,useValue:()=>{inject(ErrorHandler,{optional:!0})},multi:!0},Ke=(()=>{class ViewContext{view;node;constructor(e,t){this.view=e,this.node=t}static __NG_ELEMENT_ID__=injectViewContext}return ViewContext})(),ChangeDetectionScheduler=class{},qe=new InjectionToken(``,{factory:()=>!0}),Je=new InjectionToken(``),Ye=(()=>{class PendingTasks{internalPendingTasks=inject(ze);scheduler=inject(ChangeDetectionScheduler);errorHandler=inject(We);add(){let e=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(e)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(e))}}run(e){let t=this.add();e().catch(this.errorHandler).finally(t)}static ɵprov=ɵɵdefineInjectable({token:PendingTasks,providedIn:`root`,factory:()=>new PendingTasks})}return PendingTasks})(),Xe=(()=>{class EffectScheduler{static ɵprov=ɵɵdefineInjectable({token:EffectScheduler,providedIn:`root`,factory:()=>new ZoneAwareEffectScheduler})}return EffectScheduler})(),ZoneAwareEffectScheduler=class{dirtyEffectCount=0;queues=new Map;add(e){this.enqueue(e),this.schedule(e)}schedule(e){e.dirty&&this.dirtyEffectCount++}remove(e){let t=e.zone,n=this.queues.get(t);n.has(e)&&(n.delete(e),e.dirty&&this.dirtyEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let n=this.queues.get(t);n.has(e)||n.add(e)}flush(){for(;this.dirtyEffectCount>0;){let e=!1;for(let[t,n]of this.queues)e||=t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n));e||(this.dirtyEffectCount=0)}}flushQueue(e){let t=!1;for(let n of e)n.dirty&&(this.dirtyEffectCount--,t=!0,n.run());return t}}})))()}function noSideEffects(e){return{toString:e}.toString()}function makeDecorator(e,t,n,r,i){return noSideEffects(()=>{let r=makeMetadataCtor(t);function DecoratorFactory(...e){if(this instanceof DecoratorFactory)return r.call(this,...e),this;let t=new DecoratorFactory(...e);return function TypeDecorator(n){return i&&i(n,...e),(n.hasOwnProperty(Ze)?n[Ze]:Object.defineProperty(n,Ze,{value:[]})[Ze]).push(t),n}}return n&&(DecoratorFactory.prototype=Object.create(n.prototype)),DecoratorFactory.prototype.ngMetadataName=e,DecoratorFactory.annotationCls=DecoratorFactory,DecoratorFactory})}function makeMetadataCtor(e){return function ctor(...t){if(e){let n=e(...t);for(let e in n)this[e]=n[e]}}}function makeParamDecorator(e,t,n){return noSideEffects(()=>{let n=makeMetadataCtor(t);function ParamDecoratorFactory(...e){if(this instanceof ParamDecoratorFactory)return n.apply(this,e),this;let t=new ParamDecoratorFactory(...e);return ParamDecorator.annotation=t,ParamDecorator;function ParamDecorator(e,n,r){let i=e.hasOwnProperty(Qe)?e[Qe]:Object.defineProperty(e,Qe,{value:[]})[Qe];for(;i.length<=r;)i.push(null);return(i[r]=i[r]||[]).push(t),e}}return ParamDecoratorFactory.prototype.ngMetadataName=e,ParamDecoratorFactory.annotationCls=ParamDecoratorFactory,ParamDecoratorFactory})}function makePropDecorator(e,t,n,r){return noSideEffects(()=>{let r=makeMetadataCtor(t);function PropDecoratorFactory(...e){if(this instanceof PropDecoratorFactory)return r.apply(this,e),this;let t=new PropDecoratorFactory(...e);function PropDecorator(e,n){if(e===void 0)throw Error(`Standard Angular field decorators are not supported in JIT mode.`);let r=e.constructor,i=r.hasOwnProperty($e)?r[$e]:Object.defineProperty(r,$e,{value:{}})[$e];i[n]=i.hasOwnProperty(n)&&i[n]||[],i[n].unshift(t)}return PropDecorator}return n&&(PropDecoratorFactory.prototype=Object.create(n.prototype)),PropDecoratorFactory.prototype.ngMetadataName=e,PropDecoratorFactory.annotationCls=PropDecoratorFactory,PropDecoratorFactory})}function getCompilerFacade(e){let t=C.ng;if(t&&t.ɵcompilerFacade)return t.ɵcompilerFacade;throw Error(`JIT compiler unavailable`)}function isType(e){return typeof e==`function`}function isDelegateCtor(e){return st.test(e)||ut.test(e)||ct.test(e)&&!lt.test(e)}function convertTsickleDecoratorIntoMetadata(e){return e?e.map(e=>{let t=e.type.annotationCls;return new t(...e.args?e.args:[])}):[]}function getParentCtor(e){let t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}function applyValueToInputField(e,t,n,r){t===null?e[n]=r:t.applyValueToInputSignal(t,r)}function NgOnChangesFeatureImpl(e){return e.type.prototype.ngOnChanges&&(e.setInput=ngOnChangesSetInput),rememberChangeHistoryAndInvokeOnChangesHook}function rememberChangeHistoryAndInvokeOnChangesHook(){let e=getSimpleChangesStore(this),t=e?.current;if(t){let n=e.previous;if(n===T)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function ngOnChangesSetInput(e,t,n,r,i){let a=this.declaredInputs[r],o=getSimpleChangesStore(e)||setSimpleChangesStore(e,{previous:T,current:null}),s=o.current||={},c=o.previous,l=c[a];s[a]=new SimpleChange(l&&l.currentValue,n,c===T),applyValueToInputField(e,t,i,n)}function getSimpleChangesStore(e){return e[ft]||null}function setSimpleChangesStore(e,t){return e[ft]=t}function registerPreOrderHooks(e,t,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:a}=t.type.prototype;if(r){let r=NgOnChangesFeatureImpl(t);(n.preOrderHooks??=[]).push(e,r),(n.preOrderCheckHooks??=[]).push(e,r)}i&&(n.preOrderHooks??=[]).push(0-e,i),a&&((n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a))}function registerPostOrderHooks(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let{ngAfterContentInit:t,ngAfterContentChecked:r,ngAfterViewInit:i,ngAfterViewChecked:a,ngOnDestroy:o}=e.data[n].type.prototype;t&&(e.contentHooks??=[]).push(-n,t),r&&((e.contentHooks??=[]).push(n,r),(e.contentCheckHooks??=[]).push(n,r)),i&&(e.viewHooks??=[]).push(-n,i),a&&((e.viewHooks??=[]).push(n,a),(e.viewCheckHooks??=[]).push(n,a)),o!=null&&(e.destroyHooks??=[]).push(n,o)}}function executeCheckHooks(e,t,n){callHooks(e,t,3,n)}function executeInitAndCheckHooks(e,t,n,r){(e[2]&3)===n&&callHooks(e,t,n,r)}function incrementInitPhaseFlags(e,t){let n=e[2];(n&3)===t&&(n&=16383,n+=1,e[2]=n)}function callHooks(e,t,n,r){let i=r===void 0?0:e[17]&65535,a=r??-1,o=t.length-1,s=0;for(let c=i;c<o;c++)if(typeof t[c+1]==`number`){if(s=t[c],r!=null&&s>=r)break}else t[c]<0&&(e[17]+=65536),(s<a||a==-1)&&(callHook(e,n,t,c),e[17]=(e[17]&4294901760)+c+2),c++}function callHookInternal(e,t){profiler(M.LifecycleHookStart,e,t);let n=setActiveConsumer(null);try{t.call(e)}finally{setActiveConsumer(n),profiler(M.LifecycleHookEnd,e,t)}}function callHook(e,t,n,r){let i=n[r]<0,a=n[r+1],o=e[i?-n[r]:n[r]];i?e[2]>>14<e[17]>>16&&(e[2]&3)===t&&(e[2]+=16384,callHookInternal(o,a)):callHookInternal(o,a)}function isTNodeShape(e){return typeof e==`object`&&!!e&&(e.insertBeforeIndex===null||typeof e.insertBeforeIndex==`number`||Array.isArray(e.insertBeforeIndex))}function hasClassInput(e){return!!(e.flags&8)}function hasStyleInput(e){return!!(e.flags&16)}function setUpAttributes(e,t,n){let r=0;for(;r<n.length;){let i=n[r];if(typeof i==`number`){if(i!==0)break;r++;let a=n[r++],o=n[r++],s=n[r++];e.setAttribute(t,o,s,a)}else{let a=i,o=n[++r];isAnimationProp(a)?e.setProperty(t,a,o):e.setAttribute(t,a,o),r++}}return r}function isNameOnlyAttributeMarker(e){return e===3||e===4||e===6}function isAnimationProp(e){return e.charCodeAt(0)===64}function mergeHostAttrs(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 i=t[r];typeof i==`number`?n=i:n===0||(n===-1||n===2?mergeHostAttribute(e,n,i,null,t[++r]):mergeHostAttribute(e,n,i,null,null))}}}return e}function mergeHostAttribute(e,t,n,r,i){let a=0,o=e.length;if(t===-1)o=-1;else for(;a<e.length;){let n=e[a++];if(typeof n==`number`){if(n===t){o=-1;break}if(n>t){o=a-1;break}}}for(;a<e.length;){let t=e[a];if(typeof t==`number`)break;if(t===n){i!==null&&(e[a+1]=i);return}a++,i!==null&&a++}o!==-1&&(e.splice(o,0,t),a=o+1),e.splice(a++,0,n),i!==null&&e.splice(a++,0,i)}function hasParentInjector(e){return e!==mt}function getParentInjectorIndex(e){return e&32767}function getParentInjectorViewOffset(e){return e>>16}function getParentInjectorView(e,t){let n=getParentInjectorViewOffset(e),r=t;for(;n>0;)r=r[14],n--;return r}function setIncludeViewProviders(e){let t=ht;return ht=e,t}function bloomAdd(e,t,n){let r;typeof n==`string`?r=n.charCodeAt(0)||0:n.hasOwnProperty(me)&&(r=n[me]),r??=n[me]=vt++;let i=r&gt,a=1<<i;t.data[e+(i>>_t)]|=a}function getOrCreateNodeInjectorForNode(e,t){let n=getInjectorIndex(e,t);if(n!==-1)return n;let r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,insertBloom(r.data,e),insertBloom(t,null),insertBloom(r.blueprint,null));let i=getParentInjectorLocation(e,t),a=e.injectorIndex;if(hasParentInjector(i)){let e=getParentInjectorIndex(i),n=getParentInjectorView(i,t),r=n[1].data;for(let i=0;i<8;i++)t[a+i]=n[e+i]|r[e+i]}return t[a+8]=i,a}function insertBloom(e,t){e.push(0,0,0,0,0,0,0,0,t)}function getInjectorIndex(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function getParentInjectorLocation(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;i!==null;){if(r=getTNodeFromLView(i),r===null)return mt;if(n++,i=i[14],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return mt}function diPublicInInjector(e,t,n){bloomAdd(e,t,n)}function injectAttributeImpl(e,t){if(t===`class`)return e.classes;if(t===`style`)return e.styles;let n=e.attrs;if(n){let e=n.length,r=0;for(;r<e;){let i=n[r];if(isNameOnlyAttributeMarker(i))break;if(i===0)r+=2;else if(typeof i==`number`)for(r++;r<e&&typeof n[r]==`string`;)r++;else if(i===t)return n[r+1];else r+=2}}return null}function notFoundValueOrThrow(e,t,n){if(n&8||e!==void 0)return e;throwProviderNotFoundError(t,`NodeInjector`)}function lookupTokenUsingModuleInjector(e,t,n,r){if(n&8&&r===void 0&&(r=null),!(n&3)){let i=e[9],a=setInjectImplementation(void 0);try{return i?i.get(t,r,n&8):injectRootLimpMode(t,r,n&8)}finally{setInjectImplementation(a)}}return notFoundValueOrThrow(r,t,n)}function getOrCreateInjectable(e,t,n,r=0,i){if(e!==null){if(t[2]&2048&&!(r&2)){let i=lookupTokenUsingEmbeddedInjector(e,t,n,r,N);if(i!==N)return i}let i=lookupTokenUsingNodeInjector(e,t,n,r,N);if(i!==N)return i}return lookupTokenUsingModuleInjector(t,n,r,i)}function lookupTokenUsingNodeInjector(e,t,n,r,i){let a=bloomHashBitOrFactory(n);if(typeof a==`function`){if(!enterDI(t,e,r))return r&1?notFoundValueOrThrow(i,n,r):lookupTokenUsingModuleInjector(t,n,r,i);try{let e;if(e=a(r),e==null&&!(r&8))throwProviderNotFoundError(n);else return e}finally{Pe()}}else if(typeof a==`number`){let i=null,o=getInjectorIndex(e,t),s=mt,c=r&1?t[15][5]:null;for((o===-1||r&4)&&(s=o===-1?getParentInjectorLocation(e,t):t[o+8],s===mt||!shouldSearchParent(r,!1)?o=-1:(i=t[1],o=getParentInjectorIndex(s),t=getParentInjectorView(s,t)));o!==-1;){let e=t[1];if(bloomHasToken(a,o,e.data)){let e=searchTokensOnInjector(o,t,n,i,r,c);if(e!==N)return e}s=t[o+8],s!==mt&&shouldSearchParent(r,t[1].data[o+8]===c)&&bloomHasToken(a,o,t)?(i=e,o=getParentInjectorIndex(s),t=getParentInjectorView(s,t)):o=-1}}return i}function searchTokensOnInjector(e,t,n,r,i,a){let o=t[1],s=o.data[e+8],c=locateDirectiveOrProvider(s,o,n,r==null?isComponentHost(s)&&ht:r!=o&&!!(s.type&3),i&1&&a===s);return c===null?N:getNodeInjectable(t,o,c,s,i)}function locateDirectiveOrProvider(e,t,n,r,i){let a=e.providerIndexes,o=t.data,s=a&1048575,c=e.directiveStart,l=e.directiveEnd,u=a>>20,d=r?s:s+u,f=i?s+u:l;for(let e=d;e<f;e++){let t=o[e];if(e<c&&n===t||e>=c&&t.type===n)return e}if(i){let e=o[c];if(e&&isComponentDef(e)&&e.type===n)return c}return null}function getNodeInjectable(e,t,n,r,i){let a=e[n],o=t.data;if(a instanceof NodeInjectorFactory){let s=a;if(s.resolving)throw cyclicDependencyError(``);let c=setIncludeViewProviders(s.canSeeViewProviders);s.resolving=!0,o[n].type||o[n];let l=s.injectImpl?setInjectImplementation(s.injectImpl):null;enterDI(e,r,0);try{a=e[n]=s.factory(void 0,i,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&registerPreOrderHooks(n,o[n],t)}finally{l!==null&&setInjectImplementation(l),setIncludeViewProviders(c),s.resolving=!1,Pe()}}return a}function bloomHashBitOrFactory(e){if(typeof e==`string`)return e.charCodeAt(0)||0;let t=e.hasOwnProperty(me)?e[me]:void 0;return typeof t==`number`?t>=0?t&gt:createNodeInjector:t}function bloomHasToken(e,t,n){let r=1<<e;return!!(n[t+(e>>_t)]&r)}function shouldSearchParent(e,t){return!(e&2)&&!(e&1&&t)}function createNodeInjector(){return new NodeInjector(getCurrentTNode(),getLView())}function ɵɵgetInheritedFactory(e){return noSideEffects(()=>{let t=e.prototype.constructor,n=t[w]||getFactoryOf(t),r=Object.prototype,i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){let e=i[w]||getFactoryOf(i);if(e&&e!==n)return e;i=Object.getPrototypeOf(i)}return e=>new e})}function getFactoryOf(e){return isForwardRef(e)?()=>{let t=getFactoryOf(resolveForwardRef(e));return t&&t()}:getFactoryDef(e)}function lookupTokenUsingEmbeddedInjector(e,t,n,r,i){let a=e,o=t;for(;a!==null&&o!==null&&o[2]&2048&&!isRootView(o);){let e=lookupTokenUsingNodeInjector(a,o,n,r|2,N);if(e!==N)return e;let t=a.parent;if(!t){let e=o[20];if(e){let t=e.get(n,N,r&-5);if(t!==N)return t}t=getTNodeFromLView(o),o=o[14]}a=t}return i}function getTNodeFromLView(e){let t=e[1],n=t.type;return n===2?t.declTNode:n===1?e[5]:null}function ɵɵinjectAttribute(e){return injectAttributeImpl(getCurrentTNode(),e)}function getReflect(){return bt||=new ReflectionCapabilities}function reflectDependencies(e){return convertDependencies(getReflect().parameters(e))}function convertDependencies(e){return e.map(e=>reflectDependency(e))}function reflectDependency(e){let t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let n=0;n<e.length;n++){let r=e[n];if(r===void 0)continue;let i=Object.getPrototypeOf(r);if(r instanceof tt||i.ngMetadataName===`Optional`)t.optional=!0;else if(r instanceof rt||i.ngMetadataName===`SkipSelf`)t.skipSelf=!0;else if(r instanceof nt||i.ngMetadataName===`Self`)t.self=!0;else if(r instanceof it||i.ngMetadataName===`Host`)t.host=!0;else if(r instanceof et)t.token=r.token;else if(r instanceof yt){if(r.attributeName===void 0)throw new RuntimeError(-204,!1);t.attribute=r.attributeName}else t.token=r}else t.token=e===void 0||Array.isArray(e)&&e.length===0?null:e;return t}function compileInjectable(e,t){let n=null,r=null;e.hasOwnProperty(ce)||Object.defineProperty(e,ce,{get:()=>(n===null&&(n=getCompilerFacade({usage:0,kind:`injectable`,type:e}).compileInjectable(at,`ng:///${e.name}/ɵprov.js`,getInjectableMetadata(e,t))),n)}),e.hasOwnProperty(w)||Object.defineProperty(e,w,{get:()=>{if(r===null){let t=getCompilerFacade({usage:0,kind:`injectable`,type:e});r=t.compileFactory(at,`ng:///${e.name}/ɵfac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:reflectDependencies(e),target:t.FactoryTarget.Injectable})}return r},configurable:!0})}function isUseClassProvider(e){return e.useClass!==void 0}function isUseValueProvider(e){return xt in e}function isUseFactoryProvider(e){return e.useFactory!==void 0}function isUseExistingProvider(e){return e.useExisting!==void 0}function getInjectableMetadata(e,t){let n=t||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn};return(isUseClassProvider(n)||isUseFactoryProvider(n))&&n.deps!==void 0&&(r.deps=convertDependencies(n.deps)),isUseClassProvider(n)?r.useClass=n.useClass:isUseValueProvider(n)?r.useValue=n.useValue:isUseFactoryProvider(n)?r.useFactory=n.useFactory:isUseExistingProvider(n)&&(r.useExisting=n.useExisting),r}function injectElementRef(){return createElementRef(getCurrentTNode(),getLView())}function createElementRef(e,t){return new Ct(getNativeByTNode(e,t))}function unwrapElementRef(e){return e instanceof Ct?e.nativeElement:e}function symbolIterator(){return this._results[Symbol.iterator]()}function hasInSkipHydrationBlockFlag(e){return(e.flags&128)==128}function getUniqueLViewId(){return Et++}function registerLView(e){Tt.set(e[19],e)}function unregisterLView(e){Tt.delete(e[19])}function getTrackedLViews(){return Tt}function attachPatchData(e,t){isLView(t)?(e[Dt]=t[19],registerLView(t)):e[Dt]=t}function getFirstLContainer(e){return getNearestLContainer(e[12])}function getNextLContainer(e){return getNearestLContainer(e[4])}function getNearestLContainer(e){for(;e!==null&&!isLContainer(e);)e=e[4];return e}function setDocument(e){Ot=e}function getDocument(){if(Ot!==void 0)return Ot;if(typeof document<`u`)return document;throw new RuntimeError(210,!1)}function makeStateKey(e){return e}function retrieveTransferredState(e,t){let n=e.getElementById(t+`-state`);if(n?.tagName===`SCRIPT`&&n.textContent)try{return JSON.parse(n.textContent)}catch(e){console.warn(`Exception while restoring TransferState for app `+t,e)}return{}}function onInteraction(e,t){let n=Vt.get(e);if(!n){n=new DeferEventEntry,Vt.set(e,n);for(let t of Ht)e.addEventListener(t,n.listener,zt)}return n.callbacks.add(t),()=>{let{callbacks:r,listener:i}=n;if(r.delete(t),r.size===0){Vt.delete(e);for(let t of Ht)e.removeEventListener(t,i,zt)}}}function onHover(e,t){let n=Bt.get(e);if(!n){n=new DeferEventEntry,Bt.set(e,n);for(let t of Ut)e.addEventListener(t,n.listener,zt)}return n.callbacks.add(t),()=>{let{callbacks:r,listener:i}=n;if(r.delete(t),r.size===0){for(let t of Ut)e.removeEventListener(t,i,zt);Bt.delete(e)}}}function createIntersectionObserver(e){let t=getIntersectionObserverKey(e);return new IntersectionObserver(e=>{for(let n of e)n.isIntersecting&&P.has(n.target)&&P.get(n.target)?.get(t)?.listener()},e)}function onViewport(e,t,n,r){let i=getIntersectionObserverKey(r),a=P.get(e)?.get(i);Wt.has(i)||Wt.set(i,{observer:n(r),count:0});let o=Wt.get(i);if(!a){a=new DeferEventEntry,o.observer.observe(e);let t=P.get(e);t?t.set(i,a):(t=new Map,P.set(e,t)),t.set(i,a),o.count++}return a.callbacks.add(t),()=>{if(P.get(e)?.has(i)){if(a.callbacks.delete(t),a.callbacks.size===0){o.observer.unobserve(e),o.count--;let t=P.get(e);t&&(t.delete(i),t.size===0&&P.delete(e))}o.count===0&&(o.observer.disconnect(),Wt.delete(i))}}}function getIntersectionObserverKey(e){return e?`${e.rootMargin}/${typeof e.threshold==`number`?e.threshold:e.threshold?.join(`
5
+ `)}`:``}function markEventHandledForElement(e,t){if(typeof e!=`object`||!e)return;let n=Gt.get(e);n||(n=new WeakSet,Gt.set(e,n)),n.add(t)}function stashEventListenerImpl(e,t,n,r){_stashEventListenerImpl(e,t,n,r)}function isDetachedByI18n(e){return(e.flags&32)==32}function retrieveHydrationInfo(e,t,n=!1){return _retrieveHydrationInfoImpl(e,t,n)}function getLNodeForHydration(e){let t=e._lView;return t[1].type===2?null:(isRootView(t)&&(t=t[27]),t)}function isIncrementalHydrationEnabled(e){return e.get(Rt,!1,{optional:!0})}function getParentBlockHydrationQueue(e,t){let n=t.get(Kt),r=t.get(Ft).get(Jt,{}),i=!1,a=e,o=null,s=[];for(;!i&&a;){i=n.has(a);let e=n.hydrating.get(a);if(o===null&&e!=null){o=e.promise;break}s.unshift(a),a=r[a].p}return{parentBlockPromise:o,hydrationQueue:s}}function refreshContentQueries(e,t){let n=e.contentQueries;if(n!==null){let r=setActiveConsumer(null);try{for(let r=0;r<n.length;r+=2){let i=n[r],a=n[r+1];if(a!==-1){let n=e.data[a];setCurrentQueryIndex(i),n.contentQueries(2,t[a],a)}}}finally{setActiveConsumer(r)}}}function executeViewQueryFn(e,t,n){setCurrentQueryIndex(0);let r=setActiveConsumer(null);try{t(e,n)}finally{setActiveConsumer(r)}}function executeContentQueries(e,t,n){if(isContentQueryHost(t)){let r=setActiveConsumer(null);try{let r=t.directiveStart,i=t.directiveEnd;for(let t=r;t<i;t++){let r=e.data[t];if(r.contentQueries){let e=n[t];r.contentQueries(1,e,t)}}}finally{setActiveConsumer(r)}}}function getPolicy$1(){if(Qt===void 0&&(Qt=null,C.trustedTypes))try{Qt=C.trustedTypes.createPolicy(`angular`,{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Qt}function trustedHTMLFromString(e){return getPolicy$1()?.createHTML(e)||e}function trustedScriptURLFromString(e){return getPolicy$1()?.createScriptURL(e)||e}function getPolicy(){if($t===void 0&&($t=null,C.trustedTypes))try{$t=C.trustedTypes.createPolicy(`angular#unsafe-bypass`,{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return $t}function trustedHTMLFromStringBypass(e){return getPolicy()?.createHTML(e)||e}function trustedScriptFromStringBypass(e){return getPolicy()?.createScript(e)||e}function trustedScriptURLFromStringBypass(e){return getPolicy()?.createScriptURL(e)||e}function unwrapSafeValue(e){return e instanceof SafeValueImpl?e.changingThisBreaksApplicationSecurity:e}function allowSanitizationBypassAndThrow(e,t){let n=getSanitizationBypassType(e);if(n!=null&&n!==t){if(n===`ResourceURL`&&t===`URL`)return!0;throw Error(`Required a safe ${t}, got a ${n} (see ${oe})`)}return n===t}function getSanitizationBypassType(e){return e instanceof SafeValueImpl&&e.getTypeName()||null}function getInertBodyHelper(e){let t=new InertDocumentHelper(e);return isDOMParserAvailable()?new DOMParserHelper(t):t}function isDOMParserAvailable(){try{return!!new window.DOMParser().parseFromString(trustedHTMLFromString(``),`text/html`)}catch{return!1}}function _sanitizeUrl(e){return e=String(e),e.match(en)?e:`unsafe:`+e}function tagSet(e){let t={};for(let n of e.split(`,`))t[n]=!0;return t}function merge(...e){let t={};for(let n of e)for(let e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}function isClobberedElement(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function getNextSibling(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw clobberedElementError(t);return t}function getFirstChild(e){let t=e.firstChild;if(t&&isClobberedElement(e,t))throw clobberedElementError(t);return t}function getNodeName(e){let t=e.nodeName;return typeof t==`string`?t:`FORM`}function clobberedElementError(e){return Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}function encodeEntities(e){return e.replace(/&/g,`&amp;`).replace(ln,function(e){let t=e.charCodeAt(0),n=e.charCodeAt(1);return`&#`+((t-55296)*1024+(n-56320)+65536)+`;`}).replace(un,function(e){return`&#`+e.charCodeAt(0)+`;`}).replace(/</g,`&lt;`).replace(/>/g,`&gt;`)}function _sanitizeHtml(e,t){let n=null;try{dn||=getInertBodyHelper(e);let r=t?String(t):``;n=dn.getInertBodyElement(r);let i=5,a=r;do{if(i===0)throw Error(`Failed to sanitize html because the input is unstable`);i--,r=a,a=n.innerHTML,n=dn.getInertBodyElement(r)}while(r!==a);return trustedHTMLFromString(new SanitizingHtmlSerializer().sanitizeChildren(getTemplateContent(n)||n))}finally{if(n){let e=getTemplateContent(n)||n;for(;e.firstChild;)e.firstChild.remove()}}}function getTemplateContent(e){return`content`in e&&isTemplateElement(e)?e.content:null}function isTemplateElement(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName===`TEMPLATE`}function escapeCommentText(e){return e.replace(fn,e=>e.replace(pn,mn))}function createTextNode(e,t){return e.createText(t)}function updateTextNode(e,t,n){e.setValue(t,n)}function createCommentNode(e,t){return e.createComment(escapeCommentText(t))}function createElementNode(e,t,n){return e.createElement(t,n)}function nativeInsertBefore(e,t,n,r,i){e.insertBefore(t,n,r,i)}function nativeAppendChild(e,t,n){e.appendChild(t,n)}function nativeAppendOrInsertBefore(e,t,n,r,i){r===null?nativeAppendChild(e,t,n):nativeInsertBefore(e,t,n,r,i)}function nativeRemoveNode(e,t,n,r){e.removeChild(null,t,n,r)}function writeDirectStyle(e,t,n){e.setAttribute(t,`style`,n)}function writeDirectClass(e,t,n){n===``?e.removeAttribute(t,`class`):e.setAttribute(t,`class`,n)}function setupStaticAttributes(e,t,n){let{mergedAttrs:r,classes:i,styles:a}=n;r!==null&&setUpAttributes(e,t,r),i!==null&&writeDirectClass(e,t,i),a!==null&&writeDirectStyle(e,t,a)}function enforceIframeSecurity(e){let t=getLView();e.src=``,e.srcdoc=trustedHTMLFromString(``),nativeRemoveNode(t[11],e)}function splitNsName(e,t=!0){if(e[0]!=`:`)return[null,e];let n=e.indexOf(`:`,1);if(n===-1){if(t)throw Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,n),e.slice(n+1)]}function ɵɵsanitizeHtml(e,t,n){if(t!==void 0&&n!==void 0&&getSecurityContext(t,n)!==D.HTML)return e;let r=getSanitizer();return r?trustedHTMLFromStringBypass(r.sanitize(D.HTML,e)||``):allowSanitizationBypassAndThrow(e,`HTML`)?trustedHTMLFromStringBypass(unwrapSafeValue(e)):_sanitizeHtml(getDocument(),renderStringify(e))}function ɵɵsanitizeStyle(e){let t=getSanitizer();return t?t.sanitize(D.STYLE,e)||``:allowSanitizationBypassAndThrow(e,`Style`)?unwrapSafeValue(e):renderStringify(e)}function ɵɵsanitizeUrl(e){let t=getSanitizer();return t?t.sanitize(D.URL,e)||``:allowSanitizationBypassAndThrow(e,`URL`)?unwrapSafeValue(e):_sanitizeUrl(renderStringify(e))}function ɵɵsanitizeResourceUrl(e){let t=getSanitizer();if(t)return trustedScriptURLFromStringBypass(t.sanitize(D.RESOURCE_URL,e)||``);if(allowSanitizationBypassAndThrow(e,`ResourceURL`))return trustedScriptURLFromStringBypass(unwrapSafeValue(e));throw new RuntimeError(904,!1)}function ɵɵsanitizeScript(e){let t=getSanitizer();if(t)return trustedScriptFromStringBypass(t.sanitize(D.SCRIPT,e)||``);if(allowSanitizationBypassAndThrow(e,`Script`))return trustedScriptFromStringBypass(unwrapSafeValue(e));throw new RuntimeError(905,!1)}function ɵɵtrustConstantHtml(e){return trustedHTMLFromString(e[0])}function ɵɵtrustConstantResourceUrl(e){return trustedScriptURLFromString(e[0])}function getUrlSanitizer(e,t){switch(getSecurityContext(e,t)){case D.RESOURCE_URL:return ɵɵsanitizeResourceUrl;case D.URL:return ɵɵsanitizeUrl;default:return null}}function ɵɵsanitizeUrlOrResourceUrl(e,t,n){return getUrlSanitizer(t,n)?.(e)??e}function getSanitizer(){let e=getLView();return e&&e[10].sanitizer}function getSecurityContext(e,t){let[n,r]=resolveElement(e);return checkSecurityContext(r,t,n)}function resolveElement(e){e=e.toLowerCase();let t=splitNsName(e,!1);if(t[0])return t;let n=getSelectedIndex()===-1?null:getSelectedTNode(),r=n?.namespace;if(e===`#host`&&n?.type===2){let t=getNativeByTNode(n,getLView());if(t.tagName&&(e=t.tagName.toLowerCase()),r==null){let e=t.namespaceURI;r=e&&Zt[e]}}return[r,e]}function ɵɵvalidateAttribute(e,t,n){let r=getSelectedIndex()===-1?null:getSelectedTNode();if(r&&r.type!==2)return e;let[i,a]=resolveElement(t);if(checkSecurityContext(a,n,i)!==D.ATTRIBUTE_NO_BINDING)return e;let o=getLView();if(r){if(a===`iframe`)enforceIframeSecurity(getNativeByTNode(r,o));else if(i===`svg`){let t=gn[a]?.[n.toLowerCase()];if(t){if(getSecuritySensitiveSVGAnimationAttributeName(getNativeByTNode(r,o),t))throw new RuntimeError(-910,!1);return e}}}throw new RuntimeError(-910,!1)}function getSecuritySensitiveSVGAnimationAttributeName(e,t){for(let n of e.getAttributeNames()){if(n.toLowerCase()!==`attributename`)continue;let r=e.getAttribute(n);if(r!==null&&t.has(r.toLowerCase()))return r}return null}function ɵɵresolveWindow(e){return e.ownerDocument.defaultView}function ɵɵresolveDocument(e){return e.ownerDocument}function ɵɵresolveBody(e){return e.ownerDocument.body}function maybeUnwrapFn(e){return e instanceof Function?e():e}function classIndexOf(e,t,n){let r=e.length;for(;;){let i=e.indexOf(t,n);if(i===-1)return i;if(i===0||e.charCodeAt(i-1)<=32){let n=t.length;if(i+n===r||e.charCodeAt(i+n)<=32)return i}n=i+1}}function isCssClassMatching(e,t,n,r){let i=0;if(r){for(;i<t.length&&typeof t[i]==`string`;i+=2)if(t[i]===`class`&&classIndexOf(t[i+1].toLowerCase(),n,0)!==-1)return!0}else if(isInlineTemplate(e))return!1;if(i=t.indexOf(1,i),i>-1){let e;for(;++i<t.length&&typeof(e=t[i])==`string`;)if(e.toLowerCase()===n)return!0}return!1}function isInlineTemplate(e){return e.type===4&&e.value!==_n}function hasTagAndTypeMatch(e,t,n){return t===(e.type===4&&!n?_n:e.value)}function isNodeMatchingSelector(e,t,n){let r=4,i=e.attrs,a=i===null?0:getNameOnlyMarkerIndex(i),o=!1;for(let s=0;s<t.length;s++){let c=t[s];if(typeof c==`number`){if(!o&&!isPositive(r)&&!isPositive(c))return!1;if(o&&isPositive(c))continue;o=!1,r=c|r&1}else if(!o){if(r&4){if(r=2|r&1,c!==``&&!hasTagAndTypeMatch(e,c,n)||c===``&&t.length===1){if(isPositive(r))return!1;o=!0}}else if(r&8){if(i===null||!isCssClassMatching(e,i,c,n)){if(isPositive(r))return!1;o=!0}}else{let l=t[++s],u=findAttrIndexInNode(c,i,isInlineTemplate(e),n);if(u===-1){if(isPositive(r))return!1;o=!0;continue}if(l!==``){let e;if(e=u>a?``:i[u+1].toLowerCase(),r&2&&l!==e){if(isPositive(r))return!1;o=!0}}}}}return isPositive(r)||o}function isPositive(e){return!(e&1)}function findAttrIndexInNode(e,t,n,r){if(t===null)return-1;let i=0;if(r||!n){let n=!1;for(;i<t.length;){let r=t[i];if(r===e)return i;if(r===3||r===6)n=!0;else if(r===1||r===2){let e=t[++i];for(;typeof e==`string`;)e=t[++i];continue}else if(r===4)break;else if(r===0){i+=4;continue}i+=n?1:2}return-1}return matchTemplateAttribute(t,e)}function isNodeMatchingSelectorList(e,t,n=!1){for(let r=0;r<t.length;r++)if(isNodeMatchingSelector(e,t[r],n))return!0;return!1}function getProjectAsAttrValue(e){let t=e.attrs;if(t!=null){let e=t.indexOf(5);if(!(e&1))return t[e+1]}return null}function getNameOnlyMarkerIndex(e){for(let t=0;t<e.length;t++){let n=e[t];if(isNameOnlyAttributeMarker(n))return t}return e.length}function matchTemplateAttribute(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 isSelectorInSelectorList(e,t){selectorListLoop:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let t=0;t<e.length;t++)if(e[t]!==r[t])continue selectorListLoop;return!0}}return!1}function maybeWrapInNotSelector(e,t){return e?`:not(`+t.trim()+`)`:t}function stringifyCSSSelector(e){let t=e[0],n=1,r=2,i=``,a=!1;for(;n<e.length;){let o=e[n];if(typeof o==`string`){if(r&2){let t=e[++n];i+=`[`+o+(t.length>0?`="`+t+`"`:``)+`]`}else r&8?i+=`.`+o:r&4&&(i+=` `+o)}else i!==``&&!isPositive(o)&&(t+=maybeWrapInNotSelector(a,i),i=``),r=o,a||=!isPositive(r);n++}return i!==``&&(t+=maybeWrapInNotSelector(a,i)),t}function stringifyCSSSelectorList(e){return e.map(stringifyCSSSelector).join(`,`)}function extractAttrsAndClassesFromSelector(e){let t=[],n=[],r=1,i=2;for(;r<e.length;){let a=e[r];if(typeof a==`string`)i===2?a!==``&&t.push(a,e[++r]):i===8&&n.push(a);else{if(!isPositive(i))break;i=a}r++}return n.length&&t.push(1,...n),t}function createTView(e,t,n,r,i,a,o,s,c,l,u){let d=27+r,f=d+i,p=createViewBlueprint(d,f),m=typeof l==`function`?l():l;return p[1]={type:e,blueprint:p,template:n,queries:null,viewQuery:s,declTNode:t,data:p.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,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 a==`function`?a():a,pipeRegistry:typeof o==`function`?o():o,firstChild:null,schemas:c,consts:m,incompleteFirstPass:!1,ssrId:u}}function createViewBlueprint(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:I);return n}function getOrCreateComponentTView(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=createTView(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function createLView(e,t,n,r,i,a,o,s,c,l,u){let d=t.blueprint.slice();return d[0]=i,d[2]=r|1228,(l!==null||e&&e[2]&2048)&&(d[2]|=2048),resetPreOrderHookFlags(d),d[3]=d[14]=e,d[8]=n,d[10]=o||e&&e[10],d[11]=s||e&&e[11],d[9]=c||e&&e[9]||null,d[5]=a,d[19]=getUniqueLViewId(),d[6]=u,d[20]=l,d[15]=t.type==2?e[15]:d,d}function createComponentLView(e,t,n){let r=getNativeByTNode(t,e),i=getOrCreateComponentTView(n),a=e[10].rendererFactory,o=addToEndOfViewTree(e,createLView(e,i,null,getInitialLViewFlagsFromDef(n),r,t,null,a.createRenderer(r,n),null,null,null));return e[t.index]=o}function getInitialLViewFlagsFromDef(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function allocExpando(e,t,n,r){if(n===0)return-1;let i=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function addToEndOfViewTree(e,t){return e[12]?e[13][4]=t:e[12]=t,e[13]=t,t}function ɵɵadvance(e=1){selectIndexInternal(getTView(),getLView(),getSelectedIndex()+e,!1)}function selectIndexInternal(e,t,n,r){if(!r){if((t[2]&3)==3){let r=e.preOrderCheckHooks;r!==null&&executeCheckHooks(t,r,n)}else{let r=e.preOrderHooks;r!==null&&executeInitAndCheckHooks(t,r,0,n)}}setSelectedIndex(n)}function writeToDirectiveInput(e,t,n,r){let i=setActiveConsumer(null);try{let[i,o,s]=e.inputs[n],c=null;(o&vn.SignalBased)!==0&&(c=t[i][a]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):s!==null&&(r=s.call(t,r)),e.setInput===null?applyValueToInputField(t,c,i,r):e.setInput(t,c,r,n,i)}finally{setActiveConsumer(i)}}function icuContainerIterate(e,t){return yn(e,t)}function ensureIcuContainerVisitorLoaded(e){yn===void 0&&(yn=e())}function areAnimationsDisabled(e){return e[9].get(bn,Cn)}function trackEnterClasses(e,t,n){let r=wn.get(e);if(r){for(let e of t)r.classList.push(e);for(let e of n)r.cleanupFns.push(e)}else wn.set(e,{classList:t,cleanupFns:n})}function cleanupEnterClassData(e){let t=wn.get(e);if(t){for(let e of t.cleanupFns)e();wn.delete(e)}Tn.delete(e)}function clearLeavingNodes(e,t){let n=En.get(e);if(n&&n.length>0){let e=n.findIndex(e=>e===t);e>-1&&n.splice(e,1)}n?.length===0&&En.delete(e)}function cancelLeavingNodes(e,t){let n=En.get(e);if(!n||n.length===0)return;let r=t.parentNode,i=t.previousSibling;for(let e=n.length-1;e>=0;e--){let a=n[e],o=a.parentNode;a===t?(n.splice(e,1),Dn.add(a),a.dispatchEvent(new CustomEvent(`animationend`,{detail:{cancel:!0}}))):(i&&a===i||o&&r&&o!==r)&&(n.splice(e,1),a.dispatchEvent(new CustomEvent(`animationend`,{detail:{cancel:!0}})),a.parentNode?.removeChild(a))}}function trackLeavingNodes(e,t){let n=En.get(e);n?n.includes(t)||n.push(t):En.set(e,[t])}function getLViewEnterAnimations(e){let t=e[26]??={};return t.enter??=new Map}function getLViewLeaveAnimations(e){let t=e[26]??={};return t.leave??=new Map}function getClassListFromValue(e){let t=typeof e==`function`?e():e,n=Array.isArray(t)?t:null;return typeof t==`string`&&(n=t.trim().split(/\s+/).filter(e=>e)),n}function cancelAnimationsIfRunning(e,t){if(!R)return;let n=wn.get(e);if(n&&n.classList.length>0&&elementHasClassList(e,n.classList))for(let r of n.classList)t.removeClass(e,r);cleanupEnterClassData(e)}function elementHasClassList(e,t){for(let n of t)if(e.classList.contains(n))return!0;return!1}function getEventTarget(e){return e.composedPath?e.composedPath()[0]:e.target}function isLongestAnimation(e,t){let n=Tn.get(t);return n===void 0||t===getEventTarget(e)&&(n.animationName!==void 0&&e.animationName===n.animationName||n.propertyName!==void 0&&(n.propertyName===`all`||e.propertyName===n.propertyName))}function addAnimationToLView(e,t,n){let r=e.get(t.index)??{animateFns:[]};r.animateFns.push(n),e.set(t.index,r)}function cleanupAfterLeaveAnimations(e,t){if(e)for(let t of e)t();for(let e of t)e()}function clearLViewNodeAnimationResolvers(e,t){let n=getLViewLeaveAnimations(e).get(t.index);n&&(n.resolvers=void 0)}function leaveAnimationFunctionCleanup(e,t,n,r,i){clearLeavingNodes(t,n),cleanupAfterLeaveAnimations(r,i),clearLViewNodeAnimationResolvers(e,t)}function parseCssTimeUnitsToMs(e){if(!e)return 0;let t=e.toLowerCase().indexOf(`ms`)>-1?1:1e3;return parseFloat(e)*t}function parseCssPropertyValue(e,t){return e.getPropertyValue(t).split(`,`).map(e=>e.trim())}function getLongestComputedTransition(e){let t=parseCssPropertyValue(e,`transition-property`),n=parseCssPropertyValue(e,`transition-duration`),r=parseCssPropertyValue(e,`transition-delay`),i={propertyName:``,duration:0,animationName:void 0};for(let e=0;e<t.length;e++){let a=parseCssTimeUnitsToMs(r[e])+parseCssTimeUnitsToMs(n[e]);a>i.duration&&(i.propertyName=t[e],i.duration=a)}return i}function getLongestComputedAnimation(e){let t=parseCssPropertyValue(e,`animation-name`),n=parseCssPropertyValue(e,`animation-delay`),r=parseCssPropertyValue(e,`animation-duration`),i=parseCssPropertyValue(e,`animation-iteration-count`),a={animationName:``,propertyName:void 0,duration:0};for(let e=0;e<t.length;e++){let o=parseCssTimeUnitsToMs(n[e])+parseCssTimeUnitsToMs(r[e]),s=i[e];o>a.duration&&s!==`infinite`&&(a.animationName=t[e],a.duration=o)}return a}function isShorterThanExistingAnimation(e,t){return e!==void 0&&e.duration>t.duration}function longestExists(e){return(e.animationName!=null||e.propertyName!=null)&&e.duration>0}function determineLongestAnimationFromComputedStyles(e,t){let n=getComputedStyle(e),r=getLongestComputedAnimation(n),i=getLongestComputedTransition(n),a=r.duration>i.duration?r:i;isShorterThanExistingAnimation(t.get(e),a)||longestExists(a)&&t.set(e,a)}function determineLongestAnimation(e,t,n){if(!n)return;let r=e.getAnimations();return r.length===0?determineLongestAnimationFromComputedStyles(e,t):determineLongestAnimationFromElementAnimations(e,t,r)}function determineLongestAnimationFromElementAnimations(e,t,n){let r={animationName:void 0,propertyName:void 0,duration:0};for(let e of n){let t=e.effect?.getTiming();if(t?.iterations===1/0)continue;let n=typeof t?.duration==`number`?t.duration:0,i=(t?.delay??0)+n,a=e.playbackRate;a!==void 0&&a!==0&&a!==1&&(i/=Math.abs(a));let o,s;e.animationName?s=e.animationName:o=e.transitionProperty,i>=r.duration&&(r={animationName:s,propertyName:o,duration:i})}isShorterThanExistingAnimation(t.get(e),r)||longestExists(r)&&t.set(e,r)}function performanceMarkFeature(e){jn.has(e)||(jn.add(e),performance?.mark?.(`mark_feature_usage`,{detail:{feature:e}}))}function afterEveryRender(e,t){let n=t?.injector??inject(Ie);return performanceMarkFeature(`NgAfterRender`),afterEveryRenderImpl(e,n,t,!1)}function afterNextRender(e,t){let n=t?.injector??inject(Ie);return performanceMarkFeature(`NgAfterNextRender`),afterEveryRenderImpl(e,n,t,!0)}function getHooks(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function afterEveryRenderImpl(e,t,n,r){let i=t.get(Mn);i.impl??=t.get(Pn);let a=t.get(An,null,{optional:!0}),o=n?.manualCleanup===!0?null:t.get(Le),s=t.get(Ke,null,{optional:!0}),c=new AfterRenderSequence(i.impl,getHooks(e),s?.view,r,o,a?.snapshot(null));return i.impl.register(c),c}function addToAnimationQueue(e,t,n){let r=e.get(Fn);if(Array.isArray(t))for(let e of t)r.queue.add(e),n?.detachedLeaveAnimationFns?.push(e);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function removeFromAnimationQueue(e,t){let n=e.get(Fn);if(t.detachedLeaveAnimationFns){for(let e of t.detachedLeaveAnimationFns)n.queue.delete(e);t.detachedLeaveAnimationFns=void 0}}function scheduleAnimationQueue(e){let t=e.get(Fn);t.isScheduled||=(afterNextRender(()=>{t.isScheduled=!1;for(let e of t.queue)e();t.queue.clear()},{injector:t.injector}),!0)}function initializeAnimationQueueScheduler(e){let t=e.get(Fn);t.scheduler=scheduleAnimationQueue,t.scheduler(e)}function queueEnterAnimations(e,t){for(let[n,r]of t)addToAnimationQueue(e,r.animateFns)}function maybeQueueEnterAnimation(e,t,n,r){let i=e?.[26]?.enter;t!==null&&i&&i.has(n.index)&&queueEnterAnimations(r,i)}function applyToElementOrContainer(e,t,n,r,i,a,o,s){if(i!=null){let c,l=!1;isLContainer(i)?c=i:isLView(i)&&(l=!0,i=i[0]);let u=unwrapRNode(i);e===0&&r!==null?(maybeQueueEnterAnimation(s,r,a,n),o==null?nativeAppendChild(t,r,u):nativeInsertBefore(t,r,u,o||null,!0)):e===1&&r!==null?(maybeQueueEnterAnimation(s,r,a,n),nativeInsertBefore(t,r,u,o||null,!0),cancelLeavingNodes(a,u)):e===2?(s?.[26]?.leave?.has(a.index)&&trackLeavingNodes(a,u),Dn.delete(u),runLeaveAnimationsWithCallback(s,a,n,e=>{Dn.has(u)?Dn.delete(u):nativeRemoveNode(t,u,l,e)})):e===3&&(Dn.delete(u),runLeaveAnimationsWithCallback(s,a,n,()=>{t.destroyNode(u)})),c!=null&&applyContainer(t,e,n,c,a,r,o)}}function removeViewFromDOM(e,t){detachViewFromDOM(e,t),t[0]=null,t[5]=null}function addViewToDOM(e,t,n,r,i,a){r[0]=i,r[5]=t,applyView(e,r,n,1,i,a)}function detachViewFromDOM(e,t){t[10].changeDetectionScheduler?.notify(9),applyView(e,t,t[11],2,null,null)}function destroyViewTree(e){let t=e[12];if(!t)return cleanUpView(e[1],e);for(;t;){let n=null;if(isLView(t))n=t[12];else{let e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)isLView(t)&&cleanUpView(t[1],t),t=t[3];t===null&&(t=e),isLView(t)&&cleanUpView(t[1],t),n=t&&t[4]}t=n}}function detachMovedView(e,t){let n=e[9],r=n.indexOf(t);n.splice(r,1)}function destroyLView(e,t){if(isDestroyed(t))return;let n=t[11];n.destroyNode&&applyView(e,t,n,3,null,null),destroyViewTree(t)}function cleanUpView(e,t){if(isDestroyed(t))return;let n=setActiveConsumer(null);try{t[2]&=-129,t[2]|=256,t[24]&&consumerDestroy(t[24]),executeOnDestroys(e,t),processCleanups(e,t),t[1].type===1&&t[11].destroy();let n=t[16];if(n!==null&&isLContainer(t[3])){n!==t[3]&&detachMovedView(n,t);let r=t[18];r!==null&&r.detachView(e)}unregisterLView(t)}finally{setActiveConsumer(n)}}function runLeaveAnimationsWithCallback(e,t,n,r){let i=e?.[26];if(i==null||i.leave==null||!i.leave.has(t.index))return r(!1);e&&On.add(e[19]),addToAnimationQueue(n,()=>{if(i.leave&&i.leave.has(t.index)){let n=i.leave.get(t.index),a=[];if(n){for(let e=0;e<n.animateFns.length;e++){let t=n.animateFns[e],{promise:r}=t();a.push(r)}i.detachedLeaveAnimationFns=void 0}i.running=Promise.allSettled(a),runAfterLeaveAnimations(e,r)}else e&&On.delete(e[19]),r(!1)},i)}function runAfterLeaveAnimations(e,t){let n=e[26]?.running;n?n.then(()=>{e[26].running=void 0,On.delete(e[19]),t(!0)}):t(!1)}function processCleanups(e,t){let n=e.cleanup,r=t[7];if(n!==null)for(let e=0;e<n.length-1;e+=2)if(typeof n[e]==`string`){let t=n[e+3];t>=0?r[t]():r[-t].unsubscribe(),e+=2}else{let t=r[n[e+1]];n[e].call(t)}r!==null&&(t[7]=null);let i=t[21];if(i!==null){t[21]=null;for(let e=0;e<i.length;e++){let t=i[e];t()}}let a=t[23];if(a!==null){t[23]=null;for(let e of a)e.destroy()}}function executeOnDestroys(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let e=0;e<n.length;e+=2){let r=t[n[e]];if(!(r instanceof NodeInjectorFactory)){let t=n[e+1];if(Array.isArray(t))for(let e=0;e<t.length;e+=2){let n=r[t[e]],i=t[e+1];profiler(M.LifecycleHookStart,n,i);try{i.call(n)}finally{profiler(M.LifecycleHookEnd,n,i)}}else{profiler(M.LifecycleHookStart,r,t);try{t.call(r)}finally{profiler(M.LifecycleHookEnd,r,t)}}}}}function getParentRElement(e,t,n){return getClosestRElement(e,t.parent,n)}function getClosestRElement(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[0];if(isComponentHost(r)){let{encapsulation:t}=e.data[r.directiveStart+r.componentOffset];if(t===F.None||t===F.Emulated)return null}return getNativeByTNode(r,n)}function getInsertInFrontOfRNode(e,t,n){return In(e,t,n)}function getInsertInFrontOfRNodeWithNoI18n(e,t,n){return e.type&40?getNativeByTNode(e,n):null}function setI18nHandling(e,t){In=e,Ln=t}function appendChild(e,t,n,r){let i=getParentRElement(e,r,t),a=t[11],o=getInsertInFrontOfRNode(r.parent||t[5],r,t);if(i!=null){if(Array.isArray(n))for(let e=0;e<n.length;e++)nativeAppendOrInsertBefore(a,i,n[e],o,!1);else nativeAppendOrInsertBefore(a,i,n,o,!1)}Ln!==void 0&&Ln(a,r,t,n,i)}function getFirstNativeNode(e,t){if(t!==null){let n=t.type;if(n&3)return getNativeByTNode(t,e);if(n&4)return getBeforeNodeForView(-1,e[t.index]);if(n&8){let n=t.child;if(n!==null)return getFirstNativeNode(e,n);{let n=e[t.index];return isLContainer(n)?getBeforeNodeForView(-1,n):unwrapRNode(n)}}if(n&128)return getFirstNativeNode(e,t.next);if(n&32)return icuContainerIterate(t,e)()||unwrapRNode(e[t.index]);{let n=getProjectionNodes(e,t);return n===null?getFirstNativeNode(e,t.next):Array.isArray(n)?n[0]:getFirstNativeNode(getLViewParent(e[15]),n)}}return null}function getProjectionNodes(e,t){if(t!==null){let n=e[15][5],r=t.projection;return n.projection[r]}return null}function getBeforeNodeForView(e,t){let n=10+e+1;if(n<t.length){let e=t[n],r=e[1].firstChild;if(r!==null)return getFirstNativeNode(e,r)}return t[7]}function applyNodes(e,t,n,r,i,a,o){for(;n!=null;){let s=r[9];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(o&&t===0&&(c&&attachPatchData(unwrapRNode(c),r),n.flags|=2),!isDetachedByI18n(n)){if(l&8)applyNodes(e,t,n.child,r,i,a,!1),applyToElementOrContainer(t,e,s,i,c,n,a,r);else if(l&32){let o=icuContainerIterate(n,r),l;for(;l=o();)applyToElementOrContainer(t,e,s,i,l,n,a,r);applyToElementOrContainer(t,e,s,i,c,n,a,r)}else l&16?applyProjectionRecursive(e,t,r,n,i,a):applyToElementOrContainer(t,e,s,i,c,n,a,r)}n=o?n.projectionNext:n.next}}function applyView(e,t,n,r,i,a){applyNodes(n,r,e.firstChild,t,i,a,!1)}function applyProjection(e,t,n){let r=t[11];applyProjectionRecursive(r,0,t,n,getParentRElement(e,n,t),getInsertInFrontOfRNode(n.parent||t[5],n,t))}function applyProjectionRecursive(e,t,n,r,i,a){let o=n[15],s=o[5].projection[r.projection];if(Array.isArray(s))for(let o=0;o<s.length;o++){let c=s[o];applyToElementOrContainer(t,e,n[9],i,c,r,a,n)}else{let n=s,c=o[3];hasInSkipHydrationBlockFlag(r)&&(n.flags|=128),applyNodes(e,t,n,c,i,a,!0)}}function applyContainer(e,t,n,r,i,a,o){let s=r[7];s!==unwrapRNode(r)&&applyToElementOrContainer(t,e,n,a,s,i,o);for(let n=10;n<r.length;n++){let i=r[n];applyView(i[1],i,e,t,a,s)}}function applyStyling(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let t=r.indexOf(`-`)===-1?void 0:L.DashCase;i==null?e.removeStyle(n,r,t):(typeof i==`string`&&i.endsWith(`!important`)&&(i=i.slice(0,-10),t|=L.Important),e.setStyle(n,r,i,t))}}function executeTemplate(e,t,n,r,i){let a=getSelectedIndex(),o=r&2;try{setSelectedIndex(-1),o&&t.length>27&&selectIndexInternal(e,t,27,!1);let a=o?M.TemplateUpdateStart:M.TemplateCreateStart;profiler(a,i,n),n(r,i)}finally{setSelectedIndex(a);let e=o?M.TemplateUpdateEnd:M.TemplateCreateEnd;profiler(e,i,n)}}function createDirectivesInstances(e,t,n){instantiateAllDirectives(e,t,n),(n.flags&64)==64&&invokeDirectivesHostBindings(e,t,n)}function saveResolvedLocalsInData(e,t,n=getNativeByTNode){let r=t.localNames;if(r!==null){let i=t.index+1;for(let a=0;a<r.length;a+=2){let o=r[a+1],s=o===-1?n(t,e):e[o];e[i++]=s}}}function locateHostElement(e,t,n,r){let i=r.get(Lt,It)||n===F.ShadowDom||n===F.ExperimentalIsolatedShadowDom,a=e.selectRootElement(t,i);return applyRootElementTransform(a),a}function applyRootElementTransform(e){_applyRootElementTransformImpl(e)}function mapPropName(e){return e===`class`?`className`:e===`for`?`htmlFor`:e===`formaction`?`formAction`:e===`innerHtml`?`innerHTML`:e===`readonly`?`readOnly`:e===`tabindex`?`tabIndex`:e}function setPropertyAndInputs(e,t,n,r,i,a){let o=t[1];setAllInputsForProperty(e,o,t,n,r)?isComponentHost(e)&&markDirtyIfOnPush(t,e.index):(e.type&3&&(n=mapPropName(n)),setDomProperty(e,t,n,r,i,a))}function setDomProperty(e,t,n,r,i,a){if(e.type&3){let o=getNativeByTNode(e,t);r=a==null?r:a(r,e.value||``,n),i.setProperty(o,n,r)}else e.type&12}function markDirtyIfOnPush(e,t){let n=getComponentLViewByIndex(t,e);n[2]&16||(n[2]|=64)}function instantiateAllDirectives(e,t,n){let r=n.directiveStart,i=n.directiveEnd;isComponentHost(n)&&createComponentLView(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||getOrCreateNodeInjectorForNode(n,t);let a=n.initialInputs;for(let o=r;o<i;o++){let i=e.data[o],s=getNodeInjectable(t,e,o,n);if(attachPatchData(s,t),a!==null&&setInputsFromAttrs(t,o-r,s,i,n,a),isComponentDef(i)){let r=getComponentLViewByIndex(n.index,t);r[8]=getNodeInjectable(t,e,o,n)}}}function invokeDirectivesHostBindings(e,t,n){let r=n.directiveStart,i=n.directiveEnd,a=n.index,o=getCurrentDirectiveIndex();try{setSelectedIndex(a);for(let n=r;n<i;n++){let r=e.data[n],i=t[n];setCurrentDirectiveIndex(n),(r.hostBindings!==null||r.hostVars!==0||r.hostAttrs!==null)&&invokeHostBindingsInCreationMode(r,i)}}finally{setSelectedIndex(-1),setCurrentDirectiveIndex(o)}}function invokeHostBindingsInCreationMode(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function findDirectiveDefMatches(e,t){let n=e.directiveRegistry,r=null;if(n)for(let e=0;e<n.length;e++){let i=n[e];isNodeMatchingSelectorList(t,i.selectors,!1)&&(r??=[],isComponentDef(i)?r.unshift(i):r.push(i))}return r}function elementAttributeInternal(e,t,n,r,i,a){let o=getNativeByTNode(e,t);setElementAttribute(t[11],o,a,e.value,n,r,i)}function setElementAttribute(e,t,n,r,i,a,o){if(a==null)e.removeAttribute(t,i,n);else{let s=o==null?renderStringify(a):o(a,r||``,i);e.setAttribute(t,i,s,n)}}function setInputsFromAttrs(e,t,n,r,i,a){let o=a[t];if(o!==null)for(let e=0;e<o.length;e+=2){let t=o[e],i=o[e+1];writeToDirectiveInput(r,n,t,i)}}function elementLikeStartShared(e,t,n,r,i){let a=27+n,o=t[1],s=i(o,t,e,r,n);t[a]=s,setCurrentTNode(e,!0);let c=e.type===2;return c?(setupStaticAttributes(t[11],s,e),(getElementDepthCount()===0||isDirectiveHost(e))&&attachPatchData(s,t),increaseElementDepthCount()):attachPatchData(s,t),!wasLastNodeCreated()||c&&isDetachedByI18n(e)||appendChild(o,t,s,e),e}function elementLikeEndShared(e){let t=e;return isCurrentTNodeParent()?setCurrentTNodeAsNotParent():(t=t.parent,setCurrentTNode(t,!1)),t}function loadComponentRenderer(e,t,n){return(e===null||isComponentDef(e))&&(n=unwrapLView(n[t.index])),n[11]}function handleUncaughtError(e,t){let n=e[9];if(!n)return;let r;try{r=n.get(We,null)}catch{r=null}r?.(t)}function setAllInputsForProperty(e,t,n,r,i){let a=e.inputs?.[r],o=e.hostDirectiveInputs?.[r],s=!1;if(o)for(let e=0;e<o.length;e+=2){let r=o[e],a=o[e+1],c=t.data[r];writeToDirectiveInput(c,n[r],a,i),s=!0}if(a)for(let e of a){let a=n[e],o=t.data[e];writeToDirectiveInput(o,a,r,i),s=!0}return s}function renderComponent(e,t){let n=getComponentLViewByIndex(t,e),r=n[1];syncViewWithBlueprint(r,n);let i=n[0];i!==null&&n[6]===null&&(n[6]=retrieveHydrationInfo(i,n[9])),profiler(M.ComponentStart);try{renderView(r,n,n[8])}finally{profiler(M.ComponentEnd,n[8])}}function syncViewWithBlueprint(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function renderView(e,t,n){enterView(t);try{let r=e.viewQuery;r!==null&&executeViewQueryFn(1,r,n);let i=e.template;i!==null&&executeTemplate(e,t,i,1,n),e.firstCreatePass&&=!1,t[18]?.finishViewCreation(e),e.staticContentQueries&&refreshContentQueries(e,t),e.staticViewQueries&&executeViewQueryFn(2,e.viewQuery,n);let a=e.components;a!==null&&renderChildComponents(t,a)}catch(t){throw e.firstCreatePass&&=(e.incompleteFirstPass=!0,!1),t}finally{t[2]&=-5,leaveView()}}function renderChildComponents(e,t){for(let n=0;n<t.length;n++)renderComponent(e,t[n])}function createAndRenderEmbeddedLView(e,t,n,r){let i=setActiveConsumer(null);try{let i=t.tView,a=createLView(e,i,n,e[2]&4096?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);a[16]=e[t.index];let o=e[18];return o!==null&&(a[18]=o.createEmbeddedView(i)),renderView(i,a,n),a}finally{setActiveConsumer(i)}}function shouldAddViewToDom(e,t){return!t||t.firstChild===null||hasInSkipHydrationBlockFlag(e)}function collectNativeNodes(e,t,n,r,i=!1){for(;n!==null;){if(n.type===128){n=i?n.projectionNext:n.next;continue}let a=t[n.index];a!==null&&r.push(unwrapRNode(a)),isLContainer(a)&&collectNativeNodesInLContainer(a,r);let o=n.type;if(o&8)collectNativeNodes(e,t,n.child,r);else if(o&32){let e=icuContainerIterate(n,t),i;for(;i=e();)r.push(i)}else if(o&16){let e=getProjectionNodes(t,n);if(Array.isArray(e))r.push(...e);else{let n=getLViewParent(t[15]);collectNativeNodes(n[1],n,e,r,!0)}}n=i?n.projectionNext:n.next}return r}function collectNativeNodesInLContainer(e,t){for(let n=10;n<e.length;n++){let r=e[n],i=r[1].firstChild;i!==null&&collectNativeNodes(r[1],r,i,t)}e[7]!==e[0]&&t.push(e[7])}function addAfterRenderSequencesForView(e){if(e[25]!==null){for(let t of e[25])t.impl.addSequence(t);e[25].length=0}}function getOrBorrowReactiveLViewConsumer(e){return e[24]??borrowReactiveLViewConsumer(e)}function borrowReactiveLViewConsumer(e){let t=Rn.pop()??Object.create(zn);return t.lView=e,t}function maybeReturnReactiveLViewConsumer(e){e.lView[24]!==e&&(e.lView=null,Rn.push(e))}function getOrCreateTemporaryConsumer(e){let t=e[24]??Object.create(Bn);return t.lView=e,t}function viewShouldHaveReactiveConsumer(e){return e.type!==2}function runEffectsInView(e){if(e[23]===null)return;let t=!0;for(;t;){let n=!1;for(let t of e[23])t.dirty&&(n=!0,t.zone===null||Zone.current===t.zone?t.run():t.zone.run(()=>t.run()));t=n&&!!(e[2]&8192)}}function detectChangesInternal(e,t=0){let n=e[10].rendererFactory;n.begin?.();try{detectChangesInViewWhileDirty(e,t)}finally{n.end?.()}}function detectChangesInViewWhileDirty(e,t){let n=isRefreshingViews();try{setIsRefreshingViews(!0),detectChangesInView(e,t);let n=0;for(;requiresRefreshOrTraversal(e);){if(n===Vn)throw new RuntimeError(103,!1);n++,detectChangesInView(e,1)}}finally{setIsRefreshingViews(n)}}function refreshView(e,t,n,r){if(isDestroyed(t))return;let i=t[2];enterView(t);let a=!0,o=null,s=null;viewShouldHaveReactiveConsumer(e)?(s=getOrBorrowReactiveLViewConsumer(t),o=consumerBeforeComputation(s)):getActiveConsumer()===null?(a=!1,s=getOrCreateTemporaryConsumer(t),o=consumerBeforeComputation(s)):t[24]&&=(consumerDestroy(t[24]),null);try{resetPreOrderHookFlags(t),setBindingIndex(e.bindingStartIndex),n!==null&&executeTemplate(e,t,n,2,r);let a=(i&3)==3;if(a){let n=e.preOrderCheckHooks;n!==null&&executeCheckHooks(t,n,null)}else{let n=e.preOrderHooks;n!==null&&executeInitAndCheckHooks(t,n,0,null),incrementInitPhaseFlags(t,0)}if(markTransplantedViewsForRefresh(t),runEffectsInView(t),detectChangesInEmbeddedViews(t,0),e.contentQueries!==null&&refreshContentQueries(e,t),a){let n=e.contentCheckHooks;n!==null&&executeCheckHooks(t,n)}else{let n=e.contentHooks;n!==null&&executeInitAndCheckHooks(t,n,1),incrementInitPhaseFlags(t,1)}processHostBindingOpCodes(e,t);let o=e.components;o!==null&&detectChangesInChildComponents(t,o,0);let s=e.viewQuery;if(s!==null&&executeViewQueryFn(2,s,r),a){let n=e.viewCheckHooks;n!==null&&executeCheckHooks(t,n)}else{let n=e.viewHooks;n!==null&&executeInitAndCheckHooks(t,n,2),incrementInitPhaseFlags(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[22]){for(let e of t[22])e();t[22]=null}addAfterRenderSequencesForView(t),t[2]&=-73}catch(e){throw markAncestorsForTraversal(t),e}finally{s!==null&&(consumerAfterComputation(s,o),a&&maybeReturnReactiveLViewConsumer(s)),leaveView()}}function detectChangesInEmbeddedViews(e,t){for(let n=getFirstLContainer(e);n!==null;n=getNextLContainer(n))for(let e=10;e<n.length;e++){let r=n[e];detectChangesInViewIfAttached(r,t)}}function markTransplantedViewsForRefresh(e){for(let t=getFirstLContainer(e);t!==null;t=getNextLContainer(t)){if(!(t[2]&2))continue;let e=t[9];for(let t=0;t<e.length;t++){let n=e[t];markViewForRefresh(n)}}}function detectChangesInComponent(e,t,n){profiler(M.ComponentStart);let r=getComponentLViewByIndex(t,e);try{detectChangesInViewIfAttached(r,n)}finally{profiler(M.ComponentEnd,r[8])}}function detectChangesInViewIfAttached(e,t){viewAttachedToChangeDetector(e)&&detectChangesInView(e,t)}function detectChangesInView(e,t){let n=e[1],r=e[2],i=e[24],a=!!(t===0&&r&16);if(a||=!!(r&64&&t===0),a||=!!(r&1024),a||=!!(i?.dirty&&consumerPollProducersForChange(i)),a||=!1,i&&(i.dirty=!1),e[2]&=-9217,a)refreshView(n,e,n.template,e[8]);else if(r&8192){let t=setActiveConsumer(null);try{runEffectsInView(e),detectChangesInEmbeddedViews(e,1);let t=n.components;t!==null&&detectChangesInChildComponents(e,t,1),addAfterRenderSequencesForView(e)}finally{setActiveConsumer(t)}}}function detectChangesInChildComponents(e,t,n){for(let r=0;r<t.length;r++)detectChangesInComponent(e,t[r],n)}function processHostBindingOpCodes(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let e=0;e<n.length;e++){let r=n[e];if(r<0)setSelectedIndex(~r);else{let i=r,a=n[++e],o=n[++e];setBindingRootForHostBindings(a,i);let s=t[i];profiler(M.HostBindingsUpdateStart,s);try{o(2,s)}finally{profiler(M.HostBindingsUpdateEnd,s)}}}}finally{setSelectedIndex(-1)}}function markViewDirty(e,t){let n=isRefreshingViews()?64:1088;for(e[10].changeDetectionScheduler?.notify(t);e;){e[2]|=n;let t=getLViewParent(e);if(isRootView(e)&&!t)return e;e=t}return null}function createLContainer(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function getLViewFromLContainer(e,t){let n=10+t;if(n<e.length)return e[n]}function addLViewToLContainer(e,t,n,r=!0){let i=t[1];if(insertView(i,t,e,n),r){let r=getBeforeNodeForView(n,e),a=t[11],o=a.parentNode(e[7]);o!==null&&addViewToDOM(i,e[5],a,t,o,r)}let a=t[6];a!==null&&a.firstChild!==null&&(a.firstChild=null)}function removeLViewFromLContainer(e,t){let n=detachView(e,t);return n!==void 0&&destroyLView(n[1],n),n}function detachView(e,t){if(e.length<=10)return;let n=10+t,r=e[n];if(r){let i=r[16];i!==null&&i!==e&&detachMovedView(i,r),t>0&&(e[n-1][4]=r[4]);let a=removeFromArray(e,10+t);removeViewFromDOM(r[1],r);let o=a[18];o!==null&&o.detachView(a[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function insertView(e,t,n,r){let i=10+r,a=n.length;r>0&&(n[i-1][4]=t),r<a-10?(t[4]=n[i],addToArray(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;let o=t[16];o!==null&&n!==o&&trackMovedView(o,t);let s=t[18];s!==null&&s.insertView(e),updateAncestorTraversalFlagsOnAttach(t),t[2]|=128}function trackMovedView(e,t){let n=e[9],r=t[3];if(isLView(r))e[2]|=2;else{let n=r[3][15];t[15]!==n&&(e[2]|=2)}n===null?e[9]=[t]:n.push(t)}function injectTemplateRef(){return createTemplateRef(getCurrentTNode(),getLView())}function createTemplateRef(e,t){return e.type&4?new z(t,e,createElementRef(e,t)):null}function getInsertInFrontOfRNodeWithI18n(e,t,n){let r=t.insertBeforeIndex,i=Array.isArray(r)?r[0]:r;return i===null?getInsertInFrontOfRNodeWithNoI18n(e,t,n):unwrapRNode(n[i])}function processI18nInsertBefore(e,t,n,r,i){let a=t.insertBeforeIndex;if(Array.isArray(a)){let o=r,s=null;if(t.type&3||(s=o,o=i),o!==null&&t.componentOffset===-1)for(let t=1;t<a.length;t++){let r=n[a[t]];nativeInsertBefore(e,o,r,s,!1)}}}function getOrCreateTNode(e,t,n,r,i){let a=e.data[t];if(a===null)a=createTNodeAtIndex(e,t,n,r,i),isInI18nBlock()&&(a.flags|=32);else if(a.type&64){a.type=n,a.value=r,a.attrs=i;let e=getCurrentParentTNode();a.injectorIndex=e===null?-1:e.injectorIndex}return setCurrentTNode(a,!0),a}function createTNodeAtIndex(e,t,n,r,i){let a=getCurrentTNodePlaceholderOk(),o=isCurrentTNodeParent(),s=o?a:a&&a.parent,c=e.data[t]=createTNode(e,s,n,t,r,i);return linkTNodeInTView(e,c,a,o),c}function linkTNodeInTView(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 createTNode(e,t,n,r,i,a){let o=t?t.injectorIndex:-1,s=0;return isInSkipHydrationBlock()&&(s|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:s,providerIndexes:0,value:i,namespace:getNamespace(),attrs:a,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}}function addTNodeAndUpdateInsertBeforeIndex(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){let r=e[n];isI18nText(r)||isNewTNodeCreatedBefore(r,t)&&getInsertBeforeIndex(r)===null&&setInsertBeforeIndex(r,t.index)}}function isI18nText(e){return!(e.type&64)}function isNewTNodeCreatedBefore(e,t){return isI18nText(t)||e.index>t.index}function getInsertBeforeIndex(e){let t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function setInsertBeforeIndex(e,t){let n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(setI18nHandling(getInsertInFrontOfRNodeWithI18n,processI18nInsertBefore),e.insertBeforeIndex=t)}function getTIcu(e,t){let n=e.data[t];return n===null||typeof n==`string`?null:n.hasOwnProperty(`currentCaseLViewIndex`)?n:n.value}function setTIcu(e,t,n){let r=e.data[t];r===null?e.data[t]=n:r.value=n}function setTNodeInsertBeforeIndex(e,t){let n=e.insertBeforeIndex;n===null?(setI18nHandling(getInsertInFrontOfRNodeWithI18n,processI18nInsertBefore),n=e.insertBeforeIndex=[null,t]):(assertEqual(Array.isArray(n),!0,`Expecting array here`),n.push(t))}function createTNodePlaceholder(e,t,n){let r=createTNodeAtIndex(e,n,64,null,null);return addTNodeAndUpdateInsertBeforeIndex(t,r),r}function getCurrentICUCaseIndex(e,t){let n=t[e.currentCaseLViewIndex];return n===null?n:n<0?~n:n}function getParentFromIcuCreateOpCode(e){return e>>>17}function getRefFromIcuCreateOpCode(e){return(e&131070)>>>1}function icuCreateOpCode(e,t,n){return e|t<<17|n<<1}function isRootTemplateMessage(e){return e===-1}function enterIcu(e,t,n){e.index=0;let r=getCurrentICUCaseIndex(t,n);e.removes=r===null?E:t.remove[r]}function icuContainerIteratorNext(e){if(e.index<e.removes.length){let t=e.removes[e.index++];if(t>0)return e.lView[t];{e.stack.push(e.index,e.removes);let n=~t,r=e.lView[1].data[n];return enterIcu(e,r,e.lView),icuContainerIteratorNext(e)}}return e.stack.length===0?(e.lView=void 0,null):(e.removes=e.stack.pop(),e.index=e.stack.pop(),icuContainerIteratorNext(e))}function loadIcuContainerVisitor(){let e={stack:[],index:-1};function icuContainerIteratorStart(t,n){for(e.lView=n;e.stack.length;)e.stack.pop();return enterIcu(e,t.value,n),icuContainerIteratorNext.bind(null,e)}return icuContainerIteratorStart}function prepareI18nBlockForHydration(e,t,n,r){_prepareI18nBlockForHydrationImpl(e,t,n,r)}function claimDehydratedIcuCase(e,t,n){_claimDehydratedIcuCaseImpl(e,t,n)}function cleanupI18nHydrationData(e){let t=e[6];if(t){let{i18nNodes:n,dehydratedIcuData:r}=t;if(n&&r){let t=e[11];for(let e of r.values())cleanupDehydratedIcuData(t,n,e)}t.i18nNodes=void 0,t.dehydratedIcuData=void 0}}function cleanupDehydratedIcuData(e,t,n){for(let r of n.node.cases[n.case]){let n=t.get(r.index-27);n&&nativeRemoveNode(e,n,!1)}}function removeDehydratedViews(e){let t=e[6]??[],n=e[3][11],r=[];for(let e of t)e.data.di===void 0?removeDehydratedView(e,n):r.push(e);e[6]=r}function removeDehydratedViewList(e){let{lContainer:t}=e,n=t[6];if(n===null)return;let r=t[3][11];for(let e of n)removeDehydratedView(e,r)}function removeDehydratedView(e,t){let n=0,r=e.firstChild;if(r){let i=e.data.r;for(;n<i;){let e=r.nextSibling;nativeRemoveNode(t,r,!1),r=e,n++}}}function cleanupLContainer(e){removeDehydratedViews(e);let t=e[0];isLView(t)&&cleanupLView(t);for(let t=10;t<e.length;t++)cleanupLView(e[t])}function cleanupLView(e){cleanupI18nHydrationData(e);let t=e[1];for(let n=27;n<t.bindingStartIndex;n++)if(isLContainer(e[n])){let t=e[n];cleanupLContainer(t)}else isLView(e[n])&&cleanupLView(e[n])}function cleanupDehydratedViews(e){let t=e._views;for(let e of t){let t=getLNodeForHydration(e);t!==null&&t[0]!==null&&(isLView(t)?cleanupLView(t):cleanupLContainer(t))}}function cleanupHydratedDeferBlocks(e,t,n,r){e!==null&&(n.cleanup(t),cleanupLContainer(e.lContainer),cleanupDehydratedViews(r))}function findMatchingDehydratedView(e,t){return _findMatchingDehydratedViewImpl(e,t)}function findAndReconcileMatchingDehydratedViews(e,t,n){return _findAndReconcileMatchingDehydratedViewsImpl(e,t,n)}function injectRenderer2(){let e=getLView(),t=getComponentLViewByIndex(getCurrentTNode().index,e);return(isLView(t)?t:e)[11]}function isModuleWithProviders(e){return e.ngModule!==void 0}function isNgModule(e){return!!getNgModuleDef(e)}function isPipe(e){return!!getPipeDef$1(e)}function isDirective(e){return!!getDirectiveDef(e)}function isComponent(e){return!!getComponentDef(e)}function getDependencyTypeForError(e){return getComponentDef(e)?`component`:getDirectiveDef(e)?`directive`:getPipeDef$1(e)?`pipe`:`type`}function verifyStandaloneImport(e,t){if(isForwardRef(e)&&(e=resolveForwardRef(e),!e))throw Error(`Expected forwardRef function, imported from "${stringifyForError(t)}", to return a standalone entity or NgModule but got "${stringifyForError(e)||e}".`);if(getNgModuleDef(e)==null){let n=getComponentDef(e)||getDirectiveDef(e)||getPipeDef$1(e);if(n!=null){if(!n.standalone){let n=getDependencyTypeForError(e);throw Error(`The "${stringifyForError(e)}" ${n}, imported from "${stringifyForError(t)}", is not standalone. Does the ${n} have the standalone: false flag?`)}}else if(isModuleWithProviders(e))throw Error(`A module with providers was imported from "${stringifyForError(t)}". Modules with providers are not supported in standalone components imports.`);else throw Error(`The "${stringifyForError(e)}" type, imported from "${stringifyForError(t)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`)}}function addSet(e,t){for(let n of e)t.add(n)}function computeStaticStyling(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,a=0;if(t!==null)for(let e=0;e<t.length;e++){let n=t[e];if(typeof n==`number`)a=n;else if(a==1)i=concatStringsWithSpace(i,n);else if(a==2){let i=n,a=t[++e];r=concatStringsWithSpace(r,i+`: `+a+`;`)}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function ɵɵdirectiveInject(e,t=0){let n=getLView();return n===null?ɵɵinject(e,t):getOrCreateInjectable(getCurrentTNode(),n,resolveForwardRef(e),t)}function ɵɵinvalidFactory(){throw Error(`invalid`)}function resolveDirectives(e,t,n,r,i){let a=r===null?null:{"":-1},o=i(e,n);if(o!==null){let r=o,i=null,s=null;for(let e of o)if(e.resolveHostDirectives!==null){[r,i,s]=e.resolveHostDirectives(o);break}initializeDirectives(e,t,n,r,a,i,s)}a!==null&&r!==null&&cacheMatchingLocalNames(n,r,a)}function cacheMatchingLocalNames(e,t,n){let r=e.localNames=[];for(let e=0;e<t.length;e+=2){let i=n[t[e+1]];if(i==null)throw new RuntimeError(-301,!1);r.push(t[e],i)}}function markAsComponentHost(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function initializeDirectives(e,t,n,r,i,a,o){let s=r.length,c=null;for(let i=0;i<s;i++){let a=r[i];c===null&&isComponentDef(a)&&(c=a,markAsComponentHost(e,n,i)),diPublicInInjector(getOrCreateNodeInjectorForNode(n,t),e,a.type)}initTNodeFlags(n,e.data.length,s),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let e=0;e<s;e++){let t=r[e];t.providersResolver&&t.providersResolver(t)}let l=!1,u=!1,d=allocExpando(e,t,s,null);s>0&&(n.directiveToIndex=new Map);for(let c=0;c<s;c++){let s=r[c];if(n.mergedAttrs=mergeHostAttrs(n.mergedAttrs,s.hostAttrs),configureViewWithDirective(e,n,t,d,s),saveNameToExportMap(d,s,i),o!==null&&o.has(s)){let[e,t]=o.get(s);n.directiveToIndex.set(s.type,[d,e+n.directiveStart,t+n.directiveStart])}else a!==null&&a.has(s)||n.directiveToIndex.set(s.type,d);s.contentQueries!==null&&(n.flags|=4),(s.hostBindings!==null||s.hostAttrs!==null||s.hostVars!==0)&&(n.flags|=64);let f=s.type.prototype;!l&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(f.ngOnChanges||f.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}initializeInputAndOutputAliases(e,n,a)}function initializeInputAndOutputAliases(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let i=e.data[r];if(n===null||!n.has(i))setupSelectorMatchedInputsOrOutputs(0,t,i,r),setupSelectorMatchedInputsOrOutputs(1,t,i,r),setupInitialInputs(t,r,!1);else{let e=n.get(i);setupHostDirectiveInputsOrOutputs(0,t,e,r),setupHostDirectiveInputsOrOutputs(1,t,e,r),setupInitialInputs(t,r,!0)}}}function setupSelectorMatchedInputsOrOutputs(e,t,n,r){let i=e===0?n.inputs:n.outputs;for(let n in i)if(i.hasOwnProperty(n)){let i;i=e===0?t.inputs??={}:t.outputs??={},i[n]??=[],i[n].push(r),setShadowStylingInputFlags(t,n)}}function setupHostDirectiveInputsOrOutputs(e,t,n,r){let i=e===0?n.inputs:n.outputs;for(let n in i)if(i.hasOwnProperty(n)){let a=i[n],o;o=e===0?t.hostDirectiveInputs??={}:t.hostDirectiveOutputs??={},o[a]??=[],o[a].push(r,n),setShadowStylingInputFlags(t,a)}}function setShadowStylingInputFlags(e,t){t===`class`?e.flags|=8:t===`style`&&(e.flags|=16)}function setupInitialInputs(e,t,n){let{attrs:r,inputs:i,hostDirectiveInputs:a}=e;if(r===null||!n&&i===null||n&&a===null||isInlineTemplate(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let o=null,s=0;for(;s<r.length;){let e=r[s];if(e===0)s+=4;else if(e===5)s+=2;else{if(typeof e==`number`)break;if(!n&&i.hasOwnProperty(e)){let n=i[e];for(let i of n)if(i===t){o??=[],o.push(e,r[s+1]);break}}else if(n&&a.hasOwnProperty(e)){let n=a[e];for(let e=0;e<n.length;e+=2)if(n[e]===t){o??=[],o.push(n[e+1],r[s+1]);break}}s+=2}}e.initialInputs??=[],e.initialInputs.push(o)}function configureViewWithDirective(e,t,n,r,i){e.data[r]=i;let a=i.factory||=getFactoryDef(i.type,!0),o=new NodeInjectorFactory(a,isComponentDef(i),ɵɵdirectiveInject,null);e.blueprint[r]=o,n[r]=o,registerHostBindingOpCodes(e,t,r,allocExpando(e,n,i.hostVars,I),i)}function registerHostBindingOpCodes(e,t,n,r,i){let a=i.hostBindings;if(a){let i=e.hostBindingOpCodes;i===null&&(i=e.hostBindingOpCodes=[]);let o=~t.index;lastSelectedElementIdx(i)!=o&&i.push(o),i.push(n,r,a)}}function lastSelectedElementIdx(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n==`number`&&n<0)return n}return 0}function saveNameToExportMap(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;isComponentDef(t)&&(n[``]=e)}}function initTNodeFlags(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function directiveHostFirstCreatePass(e,t,n,r,i,a,o,s){let c=t[1],l=c.consts,u=getOrCreateTNode(c,e,n,r,getConstant(l,o));return a&&resolveDirectives(c,t,u,getConstant(l,s),i),u.mergedAttrs=mergeHostAttrs(u.mergedAttrs,u.attrs),u.attrs!==null&&computeStaticStyling(u,u.attrs,!1),u.mergedAttrs!==null&&computeStaticStyling(u,u.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,u),u}function directiveHostEndFirstCreatePass(e,t){registerPostOrderHooks(e,t),isContentQueryHost(t)&&e.queries.elementEnd(t)}function domOnlyFirstCreatePass(e,t,n,r,i,a){let o=t.consts,s=getOrCreateTNode(t,e,n,r,getConstant(o,i));if(s.mergedAttrs=mergeHostAttrs(s.mergedAttrs,s.attrs),a!=null){let e=getConstant(o,a);s.localNames=[];for(let t=0;t<e.length;t+=2)s.localNames.push(e[t],-1)}return s.attrs!==null&&computeStaticStyling(s,s.attrs,!1),s.mergedAttrs!==null&&computeStaticStyling(s,s.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,s),s}function isListLikeIterable(e){return isJsObject(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function iterateListLike(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 isJsObject(e){return e!==null&&(typeof e==`function`||typeof e==`object`)}function updateBinding(e,t,n){return e[t]=n}function getBinding(e,t){return e[t]}function bindingUpdated(e,t,n){if(n===I)return!1;let r=e[t];return!Object.is(r,n)&&(e[t]=n,!0)}function bindingUpdated2(e,t,n,r){let i=bindingUpdated(e,t,n);return bindingUpdated(e,t+1,r)||i}function bindingUpdated3(e,t,n,r,i){let a=bindingUpdated2(e,t,n,r);return bindingUpdated(e,t+2,i)||a}function bindingUpdated4(e,t,n,r,i,a){let o=bindingUpdated2(e,t,n,r);return bindingUpdated2(e,t+2,i,a)||o}function wrapListener(e,t,n){return function wrapListenerIn_markDirtyAndPreventDefault(r){let i=wrapListenerIn_markDirtyAndPreventDefault.__ngNativeEl__;i!==void 0&&markEventHandledForElement(r,i),markViewDirty(isComponentHost(e)?getComponentLViewByIndex(e.index,t):t,5);let a=t[8],o=executeListenerWithErrorHandling(t,a,n,r),s=wrapListenerIn_markDirtyAndPreventDefault.__ngNextListenerFn__;for(;s;)o=executeListenerWithErrorHandling(t,a,s,r)&&o,s=s.__ngNextListenerFn__;return o}}function executeListenerWithErrorHandling(e,t,n,r){let i=setActiveConsumer(null);try{return profiler(M.OutputStart,t,n),n(r)!==!1}catch(t){return handleUncaughtError(e,t),!1}finally{profiler(M.OutputEnd,t,n),setActiveConsumer(i)}}function listenToDomEvent(e,t,n,r,i,a,o,s){let c=isDirectiveHost(e),l=!1,u=null;if(!r&&c&&(u=findExistingListener(t,n,a,e.index)),u!==null){let e=u.__ngLastListenerFn__||u;e.__ngNextListenerFn__=o,u.__ngLastListenerFn__=o,l=!0}else{let o=getNativeByTNode(e,n),c=r?r(o):o;stashEventListenerImpl(n,c,a,s),r||(s.__ngNativeEl__=o);let l=i.listen(c,a,s);isAnimationEventType(a)||storeListenerCleanup(r?t=>r(unwrapRNode(t[e.index])):e.index,t,n,a,s,l,!1)}return l}function isAnimationEventType(e){return e.startsWith(`animation`)||e.startsWith(`transition`)}function findExistingListener(e,t,n,r){let i=e.cleanup;if(i!=null)for(let e=0;e<i.length-1;e+=2){let a=i[e];if(a===n&&i[e+1]===r){let n=t[7],r=i[e+2];return n&&n.length>r?n[r]:null}typeof a==`string`&&(e+=2)}return null}function storeListenerCleanup(e,t,n,r,i,a,o){let s=t.firstCreatePass?getOrCreateTViewCleanup(t):null,c=getOrCreateLViewCleanup(n),l=c.length;c.push(i,a),s&&s.push(r,e,l,(l+1)*(o?-1:1))}function listenToOutput(e,t,n,r,i,a){let o=t[n],s=t[1],c=o[s.data[n].outputs[r]].subscribe(a);storeListenerCleanup(e.index,s,t,i,a,c,!0)}function ɵɵcontrolCreate(){controlCreateInternal()}function controlCreateInternal(){let e=getLView(),t=getTView(),n=getCurrentTNode();if(t.firstCreatePass&&initializeControlFirstCreatePass(t,n),n.controlDirectiveIndex===-1)return;performanceMarkFeature(`NgSignalForms`);let r=e[n.controlDirectiveIndex];t.data[n.controlDirectiveIndex].controlDef.create(r,new ControlDirectiveHostImpl(e,t,n))}function ɵɵcontrol(){controlUpdateInternal()}function controlUpdateInternal(){let e=getLView(),t=getTView(),n=getSelectedTNode();if(n.controlDirectiveIndex===-1)return;let r=t.data[n.controlDirectiveIndex].controlDef,i=e[n.controlDirectiveIndex];r.update(i,new ControlDirectiveHostImpl(e,t,n))}function initializeControlFirstCreatePass(e,t,n){for(let n=t.directiveStart;n<t.directiveEnd;n++)if(e.data[n].controlDef){t.controlDirectiveIndex=n;break}if(t.controlDirectiveIndex===-1)return;let r=e.data[t.controlDirectiveIndex].controlDef;r.passThroughInput&&(t.inputs?.[r.passThroughInput]?.length??0)>1?t.flags|=4096:initializeCustomControlStatus(e,t)}function initializeCustomControlStatus(e,t){for(let n=t.directiveStart;n<t.directiveEnd;n++){let r=e.data[n];if(hasModelInput(r,`value`)){t.flags|=1024,t.customControlIndex=n;return}if(hasModelInput(r,`checked`)){t.flags|=2048,t.customControlIndex=n;return}}}function hasModelInput(e,t){return hasInput(e,t)&&hasOutput(e,t+`Change`)}function hasInput(e,t){return t in e.inputs}function hasOutput(e,t){return t in e.outputs}function getComponentName(e){return e.debugInfo?.className||e.type.name||null}function toInputRefArray(e){return Object.keys(e).map(t=>{let[n,r,i]=e[t],a={propName:n,templateName:t,isSignal:(r&vn.SignalBased)!==0};return i&&(a.transform=i),a})}function toOutputRefArray(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function createRootViewInjector(e,t,n){let r=t instanceof EnvironmentInjector?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new ChainedInjector(n,r):n}function createRootLViewEnvironment(e){let t=e.get(RendererFactory2,null);if(t===null)throw new RuntimeError(407,!1);return{rendererFactory:t,sanitizer:e.get(Kn,null),changeDetectionScheduler:e.get(ChangeDetectionScheduler,null),ngReflect:!1,tracingService:e.get(An,null,{optional:!0})}}function createHostElement(e,t){let n=inferTagNameFromDefinition(e);return createElementNode(t,n,n===`svg`?`svg`:n===`math`?Me:null)}function assertNotScriptHostElement(e){if(e?.toLowerCase()===`script`)throw new RuntimeError(905,!1)}function inferTagNameFromDefinition(e){return(e.selectors[0][0]||`div`).toLowerCase()}function createRootTView(e,t,n,r){let i=e?[`ng-version`,`21.2.25`]:extractAttrsAndClassesFromSelector(t.selectors[0]),a=null,o=null,s=0;if(n)for(let e of n)s+=e[Yn].requiredVars,e.create&&(e.targetIdx=0,(a??=[]).push(e)),e.update&&(e.targetIdx=0,(o??=[]).push(e));if(r)for(let e=0;e<r.length;e++){let t=r[e];if(typeof t!=`function`)for(let n of t.bindings){s+=n[Yn].requiredVars;let t=e+1;n.create&&(n.targetIdx=t,(a??=[]).push(n)),n.update&&(n.targetIdx=t,(o??=[]).push(n))}}let c=[t];if(r)for(let e of r){let t=getDirectiveDef(typeof e==`function`?e:e.type);c.push(t)}return createTView(0,null,getRootTViewTemplate(a,o),1,s,c,null,null,null,[i],null)}function getRootTViewTemplate(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let t of e)t.create();if(n&2&&t)for(let e of t)e.update()}}function isInputBinding(e){let t=e[Yn].kind;return t===`input`||t===`twoWay`}function projectNodes(e,t,n){let r=e.projection=[];for(let e=0;e<t.length;e++){let t=n[e];r.push(t!=null&&t.length?Array.from(t):null)}}function injectViewContainerRef(){return createContainerRef(getCurrentTNode(),getLView())}function getViewRefs(e){return e[8]}function getOrCreateViewRefs(e){return e[8]||=[]}function createContainerRef(e,t){let n,r=t[e.index];return isLContainer(r)?n=r:(n=createLContainer(r,t,null,e),t[e.index]=n,addToEndOfViewTree(t,n)),Zn(n,t,e,r),new Xn(n,e,t)}function insertAnchorNode(e,t){let n=e[11],r=n.createComment(``),i=getNativeByTNode(t,e);return nativeInsertBefore(n,n.parentNode(i),r,n.nextSibling(i),!1),r}function populateDehydratedViewsInLContainer(e,t,n){return _populateDehydratedViewsInLContainer(e,t,n)}function createAnchorNode(e,t,n,r){if(e[7])return;let i;i=n.type&8?unwrapRNode(r):insertAnchorNode(t,n),e[7]=i}function getIdxOfMatchingSelector(e,t){let n=e.localNames;if(n!==null){for(let e=0;e<n.length;e+=2)if(n[e]===t)return n[e+1]}return null}function createResultByTNodeType(e,t){return e.type&11?createElementRef(e,t):e.type&4?createTemplateRef(e,t):null}function createResultForNode(e,t,n,r){return n===-1?createResultByTNodeType(t,e):n===-2?createSpecialToken(e,t,r):getNodeInjectable(e,e[1],n,t)}function createSpecialToken(e,t,n){if(n===Ct)return createElementRef(t,e);if(n===z)return createTemplateRef(t,e);if(n===B)return createContainerRef(t,e)}function materializeViewResults(e,t,n,r){let i=t[18].queries[r];if(i.matches===null){let r=e.data,a=n.matches,o=[];for(let e=0;a!==null&&e<a.length;e+=2){let i=a[e];if(i<0)o.push(null);else{let s=r[i];o.push(createResultForNode(t,s,a[e+1],n.metadata.read))}}i.matches=o}return i.matches}function collectQueryResults(e,t,n,r){let i=e.queries.getByIndex(n),a=i.matches;if(a!==null){let o=materializeViewResults(e,t,i,n);for(let e=0;e<a.length;e+=2){let n=a[e];if(n>0)r.push(o[e/2]);else{let i=a[e+1],o=t[-n];for(let e=10;e<o.length;e++){let t=o[e];t[16]===t[3]&&collectQueryResults(t[1],t,i,r)}if(o[9]!==null){let e=o[9];for(let t=0;t<e.length;t++){let n=e[t];collectQueryResults(n[1],n,i,r)}}}}}return r}function loadQueryInternal(e,t){return e[18].queries[t].queryList}function createLQuery(e,t,n){let r=new QueryList((n&4)==4);return storeCleanupWithContext(e,t,r,r.destroy),(t[18]??=new $n).queries.push(new Qn(r))-1}function createViewQuery(e,t,n){let r=getTView();return r.firstCreatePass&&(createTQuery(r,new TQueryMetadata_(e,t,n),-1),(t&2)==2&&(r.staticViewQueries=!0)),createLQuery(r,getLView(),t)}function createContentQuery(e,t,n,r){let i=getTView();if(i.firstCreatePass){let a=getCurrentTNode();createTQuery(i,new TQueryMetadata_(t,n,r),a.index),saveContentQueryAndDirectiveIndex(i,e),(n&2)==2&&(i.staticContentQueries=!0)}return createLQuery(i,getLView(),n)}function splitQueryMultiSelectors(e){return e.split(`,`).map(e=>e.trim())}function createTQuery(e,t,n){e.queries===null&&(e.queries=new er),e.queries.track(new tr(t,n))}function saveContentQueryAndDirectiveIndex(e,t){let n=e.contentQueries||=[];t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}function getTQuery(e,t){return e.queries.getByIndex(t)}function getQueryResults(e,t){let n=e[1],r=getTQuery(n,t);return r.crossesNgTemplate?collectQueryResults(n,e,t,[]):materializeViewResults(n,e,r,t)}function bindQueryToSignal(e,t){let n=e[a];n._lView=getLView(),n._queryIndex=t,n._queryList=loadQueryInternal(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(e=>e+1))}function maybeQueueResolutionOfComponentResources(e,t){componentNeedsResolution(t)&&(nr.set(e,t),rr.add(e))}function componentNeedsResolution(e){return!!(e.templateUrl&&!e.hasOwnProperty(`template`)||e.styleUrls?.length||e.styleUrl)}function assertSameOrNotExisting(e,t,n){if(t&&t!==n&&ar)throw new RuntimeError(921,!1)}function registerNgModuleType(e,t){assertSameOrNotExisting(t,ir.get(t)||null,e),ir.set(t,e)}function createNgModule(e,t){return new NgModuleRef(e,t??null,[])}function createEnvironmentInjector(e,t,n=null){return new EnvironmentNgModuleRefAdapter({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function ɵɵdefineComponent(e){return noSideEffects(()=>{let t=getNgDirectiveDef(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===wt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?e=>e.get(sr).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||F.Emulated,styles:e.styles||E,_:null,schemas:e.schemas||null,tView:null,id:``};t.standalone&&performanceMarkFeature(`NgStandalone`),initFeatures(n);let r=e.dependencies;return n.directiveDefs=extractDefListOrFactory(r,extractDirectiveDef),n.pipeDefs=extractDefListOrFactory(r,getPipeDef$1),n.id=getComponentId(n),n})}function extractDirectiveDef(e){return getComponentDef(e)||getDirectiveDef(e)}function ɵɵdefineNgModule(e){return noSideEffects(()=>({type:e.type,bootstrap:e.bootstrap||E,declarations:e.declarations||E,imports:e.imports||E,exports:e.exports||E,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function parseAndConvertInputsForDefinition(e,t){if(e==null)return T;let n={};for(let r in e)if(e.hasOwnProperty(r)){let i=e[r],a,o,s,c;Array.isArray(i)?(s=i[0],a=i[1],o=i[2]??a,c=i[3]||null):(a=i,o=i,s=vn.None,c=null),n[a]=[r,s,c],t[a]=o}return n}function parseAndConvertOutputsForDefinition(e){if(e==null)return T;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function ɵɵdefineDirective(e){return noSideEffects(()=>{let t=getNgDirectiveDef(e);return initFeatures(t),t})}function ɵɵdefinePipe(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 getNgDirectiveDef(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||T,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||E,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:parseAndConvertInputsForDefinition(e.inputs,t),outputs:parseAndConvertOutputsForDefinition(e.outputs),debugInfo:null}}function initFeatures(e){e.features?.forEach(t=>t(e))}function extractDefListOrFactory(e,t){return e?()=>{let n=typeof e==`function`?e():e,r=[];for(let e of n){let n=t(e);n!==null&&r.push(n)}return r}:null}function getComponentId(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 e of r.join(`|`))t=Math.imul(31,t)+e.charCodeAt(0)|0;return t+=2147483648,`c`+t}function ɵɵControlFeature(e){return t=>{t.controlDef={create:(e,t)=>{e?.ɵngControlCreate(t)},update:(e,t)=>{e?.ɵngControlUpdate?.(t)},passThroughInput:e}}}function ɵɵHostDirectivesFeature(e){let feature=t=>{let n=Array.isArray(e);t.hostDirectives===null?(t.resolveHostDirectives=resolveHostDirectives,t.hostDirectives=n?e.map(createHostDirectiveDef):[e]):n?t.hostDirectives.unshift(...e.map(createHostDirectiveDef)):t.hostDirectives.unshift(e)};return feature.ngInherit=!0,feature}function resolveHostDirectives(e){let t=[],n=!1,r=null,i=null;for(let a=0;a<e.length;a++){let o=e[a];if(o.hostDirectives!==null){let e=t.length;r??=new Map,i??=new Map,findHostDirectiveDefs(o,t,r),i.set(o,[e,t.length-1])}a===0&&isComponentDef(o)&&(n=!0,t.push(o))}for(let r=+!!n;r<e.length;r++)t.push(e[r]);return[t,r,i]}function findHostDirectiveDefs(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r==`function`){let e=r();for(let r of e)trackHostDirectiveDef(createHostDirectiveDef(r),t,n)}else trackHostDirectiveDef(r,t,n)}function trackHostDirectiveDef(e,t,n){let r=getDirectiveDef(e.directive);patchDeclaredInputs(r.declaredInputs,e.inputs),findHostDirectiveDefs(r,t,n),n.set(r,e),t.push(r)}function createHostDirectiveDef(e){return typeof e==`function`?{directive:resolveForwardRef(e),inputs:T,outputs:T}:{directive:resolveForwardRef(e.directive),inputs:bindingArrayToMap(e.inputs),outputs:bindingArrayToMap(e.outputs)}}function bindingArrayToMap(e){if(e===void 0||e.length===0)return T;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function patchDeclaredInputs(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];e[r]=e[n]}}function getSuperType(e){return Object.getPrototypeOf(e.prototype).constructor}function ɵɵInheritDefinitionFeature(e){let t=getSuperType(e.type),n=!0,r=[e];for(;t&&t!==Function.prototype&&t!==Object.prototype;){let i,a=Object.hasOwn(t,ue)?t[ue]:void 0,o=Object.hasOwn(t,de)?t[de]:void 0;if(isComponentDef(e))i=a??o;else{if(a)throw new RuntimeError(903,!1);i=o}if(i){if(n){r.push(i);let t=e;t.inputs=maybeUnwrapEmpty(e.inputs),t.declaredInputs=maybeUnwrapEmpty(e.declaredInputs),t.outputs=maybeUnwrapEmpty(e.outputs);let n=i.hostBindings;n&&inheritHostBindings(e,n);let a=i.viewQuery,o=i.contentQueries;if(a&&inheritViewQuery(e,a),o&&inheritContentQueries(e,o),mergeInputsWithTransforms(e,i),fillProperties(e.outputs,i.outputs),isComponentDef(i)&&i.data.animation){let t=e.data;t.animation=(t.animation||[]).concat(i.data.animation)}}let t=i.features;if(t)for(let r=0;r<t.length;r++){let i=t[r];i&&i.ngInherit&&i(e),i===ɵɵInheritDefinitionFeature&&(n=!1)}}t=Object.getPrototypeOf(t)}mergeHostAttrsAcrossInheritance(r)}function mergeInputsWithTransforms(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 mergeHostAttrsAcrossInheritance(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=mergeHostAttrs(i.hostAttrs,n=mergeHostAttrs(n,i.hostAttrs))}}function maybeUnwrapEmpty(e){return e===T?{}:e===E?[]:e}function inheritViewQuery(e,t){let n=e.viewQuery;e.viewQuery=n?(e,r)=>{t(e,r),n(e,r)}:t}function inheritContentQueries(e,t){let n=e.contentQueries;e.contentQueries=n?(e,r,i)=>{t(e,r,i),n(e,r,i)}:t}function inheritHostBindings(e,t){let n=e.hostBindings;e.hostBindings=n?(e,r)=>{t(e,r),n(e,r)}:t}function templateCreate(e,t,n,r,i,a,o,s){if(n.firstCreatePass){e.mergedAttrs=mergeHostAttrs(e.mergedAttrs,e.attrs);let t=e.tView=createTView(2,e,i,a,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),t.queries=n.queries.embeddedTView(e))}s&&(e.flags|=s),setCurrentTNode(e,!1);let c=lr(n,t,e,r);wasLastNodeCreated()&&appendChild(n,t,c,e),attachPatchData(c,t);let l=createLContainer(c,t,c,e);t[r+27]=l,addToEndOfViewTree(t,l),populateDehydratedViewsInLContainer(l,e,t)}function declareDirectiveHostTemplate(e,t,n,r,i,a,o,s,c,l,u){let d=n+27,f;return t.firstCreatePass?(f=getOrCreateTNode(t,d,4,o||null,s||null),getBindingsEnabled()&&resolveDirectives(t,e,f,getConstant(t.consts,l),findDirectiveDefMatches),registerPostOrderHooks(t,f)):f=t.data[d],templateCreate(f,e,t,n,r,i,a,c),isDirectiveHost(f)&&createDirectivesInstances(t,e,f),l!=null&&saveResolvedLocalsInData(e,f,u),f}function declareNoDirectiveHostTemplate(e,t,n,r,i,a,o,s,c,l,u){let d=n+27,f;if(t.firstCreatePass){if(f=getOrCreateTNode(t,d,4,o||null,s||null),l!=null){let e=getConstant(t.consts,l);f.localNames=[];for(let t=0;t<e.length;t+=2)f.localNames.push(e[t],-1)}}else f=t.data[d];return templateCreate(f,e,t,n,r,i,a,c),l!=null&&saveResolvedLocalsInData(e,f,u),f}function ɵɵtemplate(e,t,n,r,i,a,o,s){let c=getLView(),l=getTView();return declareDirectiveHostTemplate(c,l,e,t,n,r,i,getConstant(l.consts,a),void 0,o,s),ɵɵtemplate}function ɵɵdomTemplate(e,t,n,r,i,a,o,s){let c=getLView(),l=getTView();return declareNoDirectiveHostTemplate(c,l,e,t,n,r,i,getConstant(l.consts,a),void 0,o,s),ɵɵdomTemplate}function createContainerAnchorImpl(e,t,n,r){return lastNodeWasCreated(!0),t[11].createComment(``)}function storeTriggerCleanupFn(e,t,n){let r=getCleanupFnKeyByType(e);t[r]===null&&(t[r]=[]),t[r].push(n)}function invokeTriggerCleanupFns(e,t){let n=getCleanupFnKeyByType(e),r=t[n];if(r!==null){for(let e of r)e();t[n]=null}}function invokeAllTriggerCleanupFns(e){invokeTriggerCleanupFns(1,e),invokeTriggerCleanupFns(0,e),invokeTriggerCleanupFns(2,e)}function getCleanupFnKeyByType(e){let t=gr;return e===1?t=_r:e===2&&(t=xr),t}function getDeferBlockDataIndex(e){return e+1}function getLDeferBlockDetails(e,t){return e[1],e[getDeferBlockDataIndex(t.index)]}function setLDeferBlockDetails(e,t,n){e[1];let r=getDeferBlockDataIndex(t);e[r]=n}function getTDeferBlockDetails(e,t){let n=getDeferBlockDataIndex(t.index);return e.data[n]}function setTDeferBlockDetails(e,t,n){let r=getDeferBlockDataIndex(t);e.data[r]=n}function getTemplateIndexForState(e,t,n){let r=t[1],i=getTDeferBlockDetails(r,n);switch(e){case H.Complete:return i.primaryTmplIndex;case H.Loading:return i.loadingTmplIndex;case H.Error:return i.errorTmplIndex;case H.Placeholder:return i.placeholderTmplIndex;default:return null}}function getMinimumDurationForState(e,t){return t===H.Placeholder?e.placeholderBlockConfig?.[ur]??null:t===H.Loading?e.loadingBlockConfig?.[ur]??null:null}function getLoadingBlockAfter(e){return e.loadingBlockConfig?.[dr]??null}function addDepsToRegistry(e,t){if(!e||e.length===0)return t;let n=new Set(e);for(let e of t)n.add(e);return e.length===n.size?e:Array.from(n)}function getPrimaryBlockTNode(e,t){return getTNode(e,t.primaryTmplIndex+27)}function onViewportWrapper(e,t,n,r){let i=n.get(j);return onViewport(e,()=>i.run(t),e=>i.runOutsideAngular(()=>createIntersectionObserver(e)),r)}function getTriggerLView(e,t,n){return n==null?e:n>=0?walkUpViews(n,e):e[t.index][10]??null}function getTriggerElement(e,t){return getNativeByIndex(27+t,e)}function registerDomTrigger(e,t,n,r,i,a,o,s){let c=e[9],l=c.get(j),u;function pollDomTrigger(){if(isDestroyed(e)){u.destroy();return}let d=getLDeferBlockDetails(e,t),f=d[1];if(f!==fr.Initial&&f!==H.Placeholder){u.destroy();return}let p=getTriggerLView(e,t,r);if(!p||(u.destroy(),isDestroyed(p)))return;let m=i(getTriggerElement(p,n),()=>{l.run(()=>{e!==p&&removeLViewOnDestroy(p,m),a()})},c,s);e!==p&&storeLViewOnDestroy(p,m),storeTriggerCleanupFn(o,d,m)}u=afterEveryRender({read:pollDomTrigger},{injector:c})}function onIdle(e,t){let n=t.get(Cr),cleanupFn=()=>n.remove(e);return n.add(e),cleanupFn}function onTimer(e){return(t,n)=>scheduleTimerTrigger(e,t,n)}function scheduleTimerTrigger(e,t,n){let r=n.get(wr),i=n.get(j),cleanupFn=()=>r.remove(t);return r.add(e,t,i),cleanupFn}function getOrCreateEnvironmentInjector(e,t,n){return e.get(Tr).getOrCreateInjector(t,e,n,``)}function createDeferBlockInjector(e,t,n){if(e instanceof ChainedInjector){let r=e.injector,i=e.parentInjector,a=getOrCreateEnvironmentInjector(i,t,n);return new ChainedInjector(r,a)}let r=e.get(EnvironmentInjector);if(r!==e){let i=getOrCreateEnvironmentInjector(r,t,n);return new ChainedInjector(e,i)}return getOrCreateEnvironmentInjector(e,t,n)}function renderDeferBlockState(e,t,n,r=!1){let i=n[3],a=i[1];if(isDestroyed(i))return;let o=getLDeferBlockDetails(i,t),s=o[1],c=o[yr];if(!(c!==null&&e<c)&&isValidStateChange(s,e)&&isValidStateChange(o[pr]??-1,e)){let s=getTDeferBlockDetails(a,t),c=!r&&(getLoadingBlockAfter(s)!==null||getMinimumDurationForState(s,H.Loading)!==null||getMinimumDurationForState(s,H.Placeholder))?Dr:applyDeferBlockState;try{c(e,o,n,t,i)}catch(e){handleUncaughtError(i,e)}}}function findMatchingDehydratedViewForDeferBlock(e,t){let n=e[6]?.findIndex(e=>e.data.s===t[1])??-1;return{dehydratedView:n>-1?e[6][n]:null,dehydratedViewIx:n}}function applyDeferBlockState(e,t,n,r,i){profiler(M.DeferBlockStateStart);let a=getTemplateIndexForState(e,i,r);if(a!==null){t[1]=e;let o=i[1],s=getTNode(o,a+27);removeLViewFromLContainer(n,0);let c;if(e===H.Complete){let e=getTDeferBlockDetails(o,r),t=e.providers;t&&t.length>0&&(c=createDeferBlockInjector(i[9],e,t))}let{dehydratedView:l,dehydratedViewIx:u}=findMatchingDehydratedViewForDeferBlock(n,t),d=createAndRenderEmbeddedLView(i,s,null,{injector:c,dehydratedView:l});if(addLViewToLContainer(n,d,0,shouldAddViewToDom(s,l)),markViewDirty(d,2),u>-1&&n[6]?.splice(u,1),(e===H.Complete||e===H.Error)&&Array.isArray(t[br])){for(let e of t[br])e();t[br]=null}}profiler(M.DeferBlockStateEnd)}function applyDeferBlockStateWithScheduling(e,t,n,r,i){let a=Date.now(),o=i[1],s=getTDeferBlockDetails(o,r);if(t[mr]===null||t[mr]<=a){t[mr]=null;let o=getLoadingBlockAfter(s),c=t[hr]!==null;if(e===H.Loading&&o!==null&&!c){t[pr]=e;let a=scheduleDeferBlockUpdate(o,t,r,n,i);t[hr]=a}else{e>H.Loading&&c&&(t[hr](),t[hr]=null,t[pr]=null),applyDeferBlockState(e,t,n,r,i);let o=getMinimumDurationForState(s,e);o!==null&&(t[mr]=a+o,scheduleDeferBlockUpdate(o,t,r,n,i))}}else t[pr]=e}function scheduleDeferBlockUpdate(e,t,n,r,i){let callback=()=>{let e=t[pr];t[mr]=null,t[pr]=null,e!==null&&renderDeferBlockState(e,n,r)};return scheduleTimerTrigger(e,callback,i[9])}function isValidStateChange(e,t){return e<t}function renderPlaceholder(e,t){let n=e[t.index];renderDeferBlockState(H.Placeholder,t,n)}function renderDeferStateAfterResourceLoading(e,t,n){e.loadingPromise.then(()=>{e.loadingState===V.COMPLETE?renderDeferBlockState(H.Complete,t,n):e.loadingState===V.FAILED&&renderDeferBlockState(H.Error,t,n)})}function ɵɵdeferEnableTimerScheduling(e,t,n,r){let i=e.consts;n!=null&&(t.placeholderBlockConfig=getConstant(i,n)),r!=null&&(t.loadingBlockConfig=getConstant(i,r)),Dr===null&&(Dr=applyDeferBlockStateWithScheduling)}function isSignal(e){return typeof e==`function`&&e[a]!==void 0}function isWritableSignal(e){return isSignal(e)&&typeof e.set==`function`}function setTestabilityGetter(e){Mr=e}function isPromise(e){return!!e&&typeof e.then==`function`}function isSubscribable(e){return!!e&&typeof e.subscribe==`function`}function publishSignalConfiguration(){setThrowInvalidWriteToSignalError(()=>{throw new RuntimeError(600,``)})}function isBoundToModule(e){return e.isBoundToModule}function remove(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function promiseWithResolvers(){let e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}function scheduleDelayedTrigger(e){let t=getLView(),n=getCurrentTNode();if(renderPlaceholder(t,n),!shouldTriggerDeferBlock(0,t))return;let r=t[9];storeTriggerCleanupFn(0,getLDeferBlockDetails(t,n),e(()=>triggerDeferBlock(0,t,n),r))}function scheduleDelayedPrefetching(e){let t=getLView(),n=t[9],r=getCurrentTNode(),i=t[1],a=getTDeferBlockDetails(i,r);if(a.loadingState===V.NOT_STARTED){let i=getLDeferBlockDetails(t,r),prefetch=()=>triggerPrefetching(a,t,r);storeTriggerCleanupFn(1,i,e(prefetch,n))}}function scheduleDelayedHydrating(e,t,n){let r=t[9],i=getLDeferBlockDetails(t,n),a=i[vr];storeTriggerCleanupFn(2,i,e(()=>triggerHydrationFromBlockName(r,a),r))}function triggerPrefetching(e,t,n){triggerResourceLoading(e,t,n)}function triggerResourceLoading(e,t,n){let r=t[9],i=t[1];if(e.loadingState!==V.NOT_STARTED)return e.loadingPromise??Promise.resolve();let a=getLDeferBlockDetails(t,n),o=getPrimaryBlockTNode(i,e);e.loadingState=V.IN_PROGRESS,invokeTriggerCleanupFns(1,a);let s=e.dependencyResolverFn,c=r.get(Ye).add();return s?(e.loadingPromise=Promise.allSettled(s()).then(n=>{let r=!1,i=[],a=[];for(let e=0;e<n.length;e++){let t=n[e];if(t.status===`fulfilled`){let e=t.value,n=getComponentDef(e)||getDirectiveDef(e);if(n)i.push(n);else{let t=getPipeDef$1(e);t&&a.push(t)}}else{r=!0,t.reason instanceof Error?t.reason:Error(String(t.reason));break}}if(r)e.loadingState=V.FAILED,e.errorTmplIndex===null&&handleUncaughtError(t,new RuntimeError(-750,``));else{e.loadingState=V.COMPLETE;let t=o.tView;i.length>0&&(t.directiveRegistry=addDepsToRegistry(t.directiveRegistry,i),e.providers=internalImportProvidersFrom(!1,...i.map(e=>e.type))),a.length>0&&(t.pipeRegistry=addDepsToRegistry(t.pipeRegistry,a))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=V.COMPLETE,c()}),e.loadingPromise)}function shouldTriggerDeferBlock(e,t){return t[9].get(Er,null,{optional:!0})?.behavior!==Sr.Manual}function triggerDeferBlock(e,t,n){let r=t[1],i=t[n.index];if(!shouldTriggerDeferBlock(e,t))return;let a=getLDeferBlockDetails(t,n),o=getTDeferBlockDetails(r,n);switch(invokeAllTriggerCleanupFns(a),o.loadingState){case V.NOT_STARTED:renderDeferBlockState(H.Loading,n,i),triggerResourceLoading(o,t,n),o.loadingState===V.IN_PROGRESS&&renderDeferStateAfterResourceLoading(o,n,i);break;case V.IN_PROGRESS:renderDeferBlockState(H.Loading,n,i),renderDeferStateAfterResourceLoading(o,n,i);break;case V.COMPLETE:renderDeferBlockState(H.Complete,n,i);break;case V.FAILED:renderDeferBlockState(H.Error,n,i)}}async function triggerHydrationFromBlockName(e,t,n){let r=e.get(Kt);if(r.hydrating.has(t))return;let{parentBlockPromise:i,hydrationQueue:a}=getParentBlockHydrationQueue(t,e);if(a.length===0)return;i!==null&&a.shift(),populateHydratingStateForQueue(r,a),i!==null&&await i;let o=a[0];r.has(o)?await triggerHydrationForBlockQueue(e,a,n):r.awaitParentBlock(o,async()=>await triggerHydrationForBlockQueue(e,a,n))}async function triggerHydrationForBlockQueue(e,t,n){let r=e.get(Kt),i=r.hydrating,a=e.get(ze),o=a.add();for(let n=0;n<t.length;n++){let a=t[n],o=r.get(a);if(o!=null){if(await triggerResourceLoadingForHydration(o),await nextRender(e),deferBlockHasErrored(o)){removeDehydratedViewList(o),cleanupRemainingHydrationQueue(t.slice(n),r);break}i.get(a).resolve()}else{cleanupParentContainer(n,t,r),cleanupRemainingHydrationQueue(t.slice(n),r);break}}let s=t[t.length-1];await i.get(s)?.promise,a.remove(o),n&&n(t),cleanupHydratedDeferBlocks(r.get(s),t,r,e.get(Lr))}function deferBlockHasErrored(e){return getLDeferBlockDetails(e.lView,e.tNode)[1]===H.Error}function cleanupParentContainer(e,t,n){let r=e-1,i=r>-1?n.get(t[r]):null;i&&cleanupLContainer(i.lContainer)}function cleanupRemainingHydrationQueue(e,t){let n=t.hydrating;for(let t in e)n.get(t)?.reject();t.cleanup(e)}function populateHydratingStateForQueue(e,t){for(let n of t)e.hydrating.set(n,promiseWithResolvers())}function nextRender(e){return new Promise(t=>afterNextRender(t,{injector:e}))}async function triggerResourceLoadingForHydration(e){let{tNode:t,lView:n}=e,r=getLDeferBlockDetails(n,t);return new Promise(e=>{onDeferBlockCompletion(r,e),triggerDeferBlock(2,n,t)})}function onDeferBlockCompletion(e,t){Array.isArray(e[br])||(e[br]=[]),e[br].push(t)}function shouldAttachTrigger(e,t,n){return e===0?shouldAttachRegularTrigger(t,n):e!==2||!shouldAttachRegularTrigger(t,n)}function hasHydrateTriggers(e){return e!=null&&(e&1)==1}function shouldAttachRegularTrigger(e,t){let n=e[9],r=getTDeferBlockDetails(e[1],t),i=isIncrementalHydrationEnabled(n),a=hasHydrateTriggers(r.flags),o=getLDeferBlockDetails(e,t)[vr]!==null;return!(a&&o&&i)}function getHydrateTriggers(e,t){let n=getTDeferBlockDetails(e,t);return n.hydrateTriggers??=new Map}function ɵɵdefer(e,t,n,r,i,a,o,s,c,l){let u=getLView(),d=getTView(),f=e+27,p=declareNoDirectiveHostTemplate(u,d,e,null,0,0),m=u[9],h=isIncrementalHydrationEnabled(m);if(d.firstCreatePass){performanceMarkFeature(`NgDefer`);let e={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:i??null,errorTmplIndex:a??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:V.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:l??0};c?.(d,e,s,o),setTDeferBlockDetails(d,f,e)}let g=u[f];populateDehydratedViewsInLContainer(g,p,u);let _=null,v=null;if(g[6]?.length>0){let e=g[6][0].data;v=e.di??null,_=e.s}let y=[null,fr.Initial,null,null,null,null,v,_,null,null];setLDeferBlockDetails(u,f,y);let b=null;v!==null&&h&&(b=m.get(Kt),b.add(v,{lView:u,tNode:p,lContainer:g}));let onLViewDestroy=()=>{invokeAllTriggerCleanupFns(y),v!==null&&b?.cleanup([v])};storeTriggerCleanupFn(0,y,()=>removeLViewOnDestroy(u,onLViewDestroy)),storeLViewOnDestroy(u,onLViewDestroy)}function ɵɵdeferWhen(e){let t=getLView(),n=getSelectedTNode();if(shouldAttachTrigger(0,t,n)&&bindingUpdated(t,nextBindingIndex(),e)){let r=setActiveConsumer(null);try{let r=!!e,i=getLDeferBlockDetails(t,n)[1];r===!1&&i===fr.Initial?renderPlaceholder(t,n):r===!0&&(i===fr.Initial||i===H.Placeholder)&&triggerDeferBlock(0,t,n)}finally{setActiveConsumer(r)}}}function ɵɵdeferPrefetchWhen(e){let t=getLView(),n=getSelectedTNode();if(shouldAttachTrigger(1,t,n)&&bindingUpdated(t,nextBindingIndex(),e)){let r=setActiveConsumer(null);try{let r=!!e,i=t[1],a=getTDeferBlockDetails(i,n);r===!0&&a.loadingState===V.NOT_STARTED&&triggerPrefetching(a,t,n)}finally{setActiveConsumer(r)}}}function ɵɵdeferHydrateWhen(e){let t=getLView(),n=getSelectedTNode();if(!shouldAttachTrigger(2,t,n))return;let r=nextBindingIndex();if(getHydrateTriggers(getTView(),n).set(6,null),bindingUpdated(t,r,e)){let r=t[9],i=setActiveConsumer(null);try{if(e){let e=getLDeferBlockDetails(t,n)[vr];triggerHydrationFromBlockName(r,e)}}finally{setActiveConsumer(i)}}}function ɵɵdeferHydrateNever(){let e=getLView(),t=getCurrentTNode();shouldAttachTrigger(2,e,t)&&getHydrateTriggers(getTView(),t).set(7,null)}function ɵɵdeferOnIdle(){shouldAttachTrigger(0,getLView(),getCurrentTNode())&&scheduleDelayedTrigger(onIdle)}function ɵɵdeferPrefetchOnIdle(){shouldAttachTrigger(1,getLView(),getCurrentTNode())&&scheduleDelayedPrefetching(onIdle)}function ɵɵdeferHydrateOnIdle(){let e=getLView(),t=getCurrentTNode();shouldAttachTrigger(2,e,t)&&(getHydrateTriggers(getTView(),t).set(0,null),scheduleDelayedHydrating(onIdle,e,t))}function ɵɵdeferOnImmediate(){let e=getLView(),t=getCurrentTNode();shouldAttachTrigger(0,e,t)&&(getTDeferBlockDetails(e[1],t).loadingTmplIndex===null&&renderPlaceholder(e,t),triggerDeferBlock(0,e,t))}function ɵɵdeferPrefetchOnImmediate(){let e=getLView(),t=getCurrentTNode();if(!shouldAttachTrigger(1,e,t))return;let n=e[1],r=getTDeferBlockDetails(n,t);r.loadingState===V.NOT_STARTED&&triggerResourceLoading(r,e,t)}function ɵɵdeferHydrateOnImmediate(){let e=getLView(),t=getCurrentTNode();if(shouldAttachTrigger(2,e,t)){getHydrateTriggers(getTView(),t).set(1,null);{let n=e[9],r=getLDeferBlockDetails(e,t)[vr];triggerHydrationFromBlockName(n,r)}}}function ɵɵdeferOnTimer(e){shouldAttachTrigger(0,getLView(),getCurrentTNode())&&scheduleDelayedTrigger(onTimer(e))}function ɵɵdeferPrefetchOnTimer(e){shouldAttachTrigger(1,getLView(),getCurrentTNode())&&scheduleDelayedPrefetching(onTimer(e))}function ɵɵdeferHydrateOnTimer(e){let t=getLView(),n=getCurrentTNode();shouldAttachTrigger(2,t,n)&&(getHydrateTriggers(getTView(),n).set(5,{type:5,delay:e}),scheduleDelayedHydrating(onTimer(e),t,n))}function ɵɵdeferOnHover(e,t){let n=getLView(),r=getCurrentTNode();shouldAttachTrigger(0,n,r)&&(renderPlaceholder(n,r),registerDomTrigger(n,r,e,t,onHover,()=>triggerDeferBlock(0,n,r),0))}function ɵɵdeferPrefetchOnHover(e,t){let n=getLView(),r=getCurrentTNode();if(!shouldAttachTrigger(1,n,r))return;let i=n[1],a=getTDeferBlockDetails(i,r);a.loadingState===V.NOT_STARTED&&registerDomTrigger(n,r,e,t,onHover,()=>triggerPrefetching(a,n,r),1)}function ɵɵdeferHydrateOnHover(){let e=getLView(),t=getCurrentTNode();shouldAttachTrigger(2,e,t)&&getHydrateTriggers(getTView(),t).set(4,null)}function ɵɵdeferOnInteraction(e,t){let n=getLView(),r=getCurrentTNode();shouldAttachTrigger(0,n,r)&&(renderPlaceholder(n,r),registerDomTrigger(n,r,e,t,onInteraction,()=>triggerDeferBlock(0,n,r),0))}function ɵɵdeferPrefetchOnInteraction(e,t){let n=getLView(),r=getCurrentTNode();if(!shouldAttachTrigger(1,n,r))return;let i=n[1],a=getTDeferBlockDetails(i,r);a.loadingState===V.NOT_STARTED&&registerDomTrigger(n,r,e,t,onInteraction,()=>triggerPrefetching(a,n,r),1)}function ɵɵdeferHydrateOnInteraction(){let e=getLView(),t=getCurrentTNode();shouldAttachTrigger(2,e,t)&&getHydrateTriggers(getTView(),t).set(3,null)}function ɵɵdeferOnViewport(e,t,n){let r=getLView(),i=getCurrentTNode();shouldAttachTrigger(0,r,i)&&(renderPlaceholder(r,i),registerDomTrigger(r,i,e,t,onViewportWrapper,()=>triggerDeferBlock(0,r,i),0,n))}function ɵɵdeferPrefetchOnViewport(e,t,n){let r=getLView(),i=getCurrentTNode();if(!shouldAttachTrigger(1,r,i))return;let a=r[1],o=getTDeferBlockDetails(a,i);o.loadingState===V.NOT_STARTED&&registerDomTrigger(r,i,e,t,onViewportWrapper,()=>triggerPrefetching(o,r,i),1,n)}function ɵɵdeferHydrateOnViewport(e){let t=getLView(),n=getCurrentTNode();shouldAttachTrigger(2,t,n)&&getHydrateTriggers(getTView(),n).set(2,e?{type:2,intersectionObserverOptions:e}:null)}function ɵɵariaProperty(e,t){let n=getLView();if(bindingUpdated(n,nextBindingIndex(),t)){let r=getTView(),i=getSelectedTNode();if(setAllInputsForProperty(i,r,n,e,t))isComponentHost(i)&&markDirtyIfOnPush(n,i.index);else{let r=getNativeByTNode(i,n);setElementAttribute(n[11],r,null,i.value,e,t,null)}}return ɵɵariaProperty}function ɵɵattribute(e,t,n,r){let i=getLView();return bindingUpdated(i,nextBindingIndex(),t)&&(getTView(),elementAttributeInternal(getSelectedTNode(),i,e,t,n,r)),ɵɵattribute}function ɵɵanimateEnter(e){if(performanceMarkFeature(`NgAnimateEnter`),!R)return ɵɵanimateEnter;let t=getLView();if(areAnimationsDisabled(t))return ɵɵanimateEnter;let n=getCurrentTNode(),r=t[9].get(j);return addAnimationToLView(getLViewEnterAnimations(t),n,()=>runEnterAnimation(t,n,e,r)),initializeAnimationQueueScheduler(t[9]),queueEnterAnimations(t[9],getLViewEnterAnimations(t)),ɵɵanimateEnter}function runEnterAnimation(e,t,n,r){let i=getNativeByTNode(t,e),a=e[11],o=getClassListFromValue(n),s=[],c=!1,handleEnterAnimationStart=e=>{if(getEventTarget(e)!==i)return;let t=e instanceof AnimationEvent?`animationend`:`transitionend`;r.runOutsideAngular(()=>{a.listen(i,t,handleEnterAnimationEnd)})},handleEnterAnimationEnd=e=>{getEventTarget(e)===i&&(isLongestAnimation(e,i)&&(c=!0),enterAnimationEnd(e,i,a))};if(o&&o.length>0){r.runOutsideAngular(()=>{s.push(a.listen(i,`animationstart`,handleEnterAnimationStart)),s.push(a.listen(i,`transitionstart`,handleEnterAnimationStart))}),trackEnterClasses(i,o,s);for(let e of o)a.addClass(i,e);r.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!c&&(determineLongestAnimation(i,Tn,R),!Tn.has(i))){for(let e of o)a.removeClass(i,e);cleanupEnterClassData(i)}})})}}function enterAnimationEnd(e,t,n){let r=wn.get(t);if(getEventTarget(e)===t&&r&&isLongestAnimation(e,t)){e.stopPropagation();for(let e of r.classList)n.removeClass(t,e);cleanupEnterClassData(t)}}function ɵɵanimateEnterListener(e){if(performanceMarkFeature(`NgAnimateEnter`),!R)return ɵɵanimateEnterListener;let t=getLView();if(areAnimationsDisabled(t))return ɵɵanimateEnterListener;let n=getCurrentTNode();return addAnimationToLView(getLViewEnterAnimations(t),n,()=>runEnterAnimationFunction(t,n,e)),initializeAnimationQueueScheduler(t[9]),queueEnterAnimations(t[9],getLViewEnterAnimations(t)),ɵɵanimateEnterListener}function runEnterAnimationFunction(e,t,n){let r=getNativeByTNode(t,e);n.call(e[8],{target:r,animationComplete:noOpAnimationComplete})}function ɵɵanimateLeave(e){if(performanceMarkFeature(`NgAnimateLeave`),!R)return ɵɵanimateLeave;let t=getLView();if(areAnimationsDisabled(t))return ɵɵanimateLeave;let n=getCurrentTNode(),r=t[9].get(j);return addAnimationToLView(getLViewLeaveAnimations(t),n,()=>runLeaveAnimations(t,n,e,r)),initializeAnimationQueueScheduler(t[9]),ɵɵanimateLeave}function runLeaveAnimations(e,t,n,r){let{promise:i,resolve:a}=promiseWithResolvers(),o=getNativeByTNode(t,e),s=e[11];On.add(e[19]),(getLViewLeaveAnimations(e).get(t.index).resolvers??=[]).push(a);let c=getClassListFromValue(n);return c&&c.length>0?animateLeaveClassRunner(o,t,e,c,s,r):a(),{promise:i,resolve:a}}function animateLeaveClassRunner(e,t,n,r,i,a){cancelAnimationsIfRunning(e,i);let o=[],s=getLViewLeaveAnimations(n).get(t.index)?.resolvers,c,l=!1,handleOutAnimationEnd=a=>{if((getEventTarget(a)===e||a.type===`animation-fallback`)&&(a.type===`animation-fallback`||isLongestAnimation(a,e))){if(l=!0,c&&clearTimeout(c),a.type!==`animation-fallback`&&a.stopPropagation(),Tn.delete(e),clearLeavingNodes(t,e),Array.isArray(t.projection))for(let t of r)i.removeClass(e,t);cleanupAfterLeaveAnimations(s,o),clearLViewNodeAnimationResolvers(n,t)}};a.runOutsideAngular(()=>{o.push(i.listen(e,`animationend`,handleOutAnimationEnd)),o.push(i.listen(e,`transitionend`,handleOutAnimationEnd))}),trackLeavingNodes(t,e);for(let t of r)i.addClass(e,t);a.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(l)return;determineLongestAnimation(e,Tn,R);let r=Tn.get(e);r?(c=setTimeout(()=>{handleOutAnimationEnd(new CustomEvent(`animation-fallback`))},r.duration+50),o.push(()=>clearTimeout(c))):(clearLeavingNodes(t,e),cleanupAfterLeaveAnimations(s,o),clearLViewNodeAnimationResolvers(n,t))})})}function ɵɵanimateLeaveListener(e){if(performanceMarkFeature(`NgAnimateLeave`),!R)return ɵɵanimateLeaveListener;let t=getLView(),n=getCurrentTNode();On.add(t[19]);let r=t[9].get(j),i=t[9].get(xn);return addAnimationToLView(getLViewLeaveAnimations(t),n,()=>runLeaveAnimationFunction(t,n,e,r,i)),initializeAnimationQueueScheduler(t[9]),ɵɵanimateLeaveListener}function runLeaveAnimationFunction(e,t,n,r,i){let{promise:a,resolve:o}=promiseWithResolvers(),s=getNativeByTNode(t,e),c=[],l=e[11],u=areAnimationsDisabled(e);(getLViewLeaveAnimations(e).get(t.index).resolvers??=[]).push(o);let d=getLViewLeaveAnimations(e).get(t.index)?.resolvers;if(u)leaveAnimationFunctionCleanup(e,t,s,d,c);else{let a=setTimeout(()=>leaveAnimationFunctionCleanup(e,t,s,d,c),i),o={target:s,animationComplete:()=>{leaveAnimationFunctionCleanup(e,t,s,d,c),clearTimeout(a)}};trackLeavingNodes(t,s),r.runOutsideAngular(()=>{c.push(l.listen(s,`animationend`,()=>{leaveAnimationFunctionCleanup(e,t,s,d,c),clearTimeout(a)},{once:!0}))}),n.call(e[8],o)}return{promise:a,resolve:o}}function ɵɵcomponentInstance(){return getLView()[15][8]}function valuesMatching(e,t,n,r,i){return e===n&&Object.is(t,r)?1:Object.is(i(e,t),i(n,r))?-1:0}function reconcile(e,t,n,r){let i,a,o=0,s=e.length-1;if(Array.isArray(t)){setActiveConsumer(r);let c=t.length-1;for(setActiveConsumer(null);o<=s&&o<=c;){let r=e.at(o),l=t[o],u=valuesMatching(o,r,o,l,n);if(u!==0){u<0&&e.updateValue(o,l),o++;continue}let d=e.at(s),f=t[c],p=valuesMatching(s,d,c,f,n);if(p!==0){p<0&&e.updateValue(s,f),s--,c--;continue}let m=n(o,r),h=n(s,d),g=n(o,l);if(Object.is(g,h)){let t=n(c,f);Object.is(t,m)?(e.swap(o,s),e.updateValue(s,f),c--,s--):e.move(s,o),e.updateValue(o,l),o++}else if(i??=new UniqueValueMultiKeyMap,a??=initLiveItemsInTheFuture(e,o,s,n),attachPreviouslyDetached(e,i,o,g))e.updateValue(o,l),o++,s++;else if(a.has(g))i.set(m,e.detach(o)),s--;else{let n=e.create(o,t[o]);e.attach(o,n),o++,s++}}for(;o<=c;)createOrAttach(e,i,n,o,t[o]),o++}else if(t!=null){setActiveConsumer(r);let c=t[Symbol.iterator]();setActiveConsumer(null);let l=c.next();for(;!l.done&&o<=s;){let t=e.at(o),r=l.value,u=valuesMatching(o,t,o,r,n);if(u!==0)u<0&&e.updateValue(o,r),o++,l=c.next();else{i??=new UniqueValueMultiKeyMap,a??=initLiveItemsInTheFuture(e,o,s,n);let u=n(o,r);if(attachPreviouslyDetached(e,i,o,u))e.updateValue(o,r),o++,s++,l=c.next();else if(!a.has(u))e.attach(o,e.create(o,r)),o++,s++,l=c.next();else{let r=n(o,t);i.set(r,e.detach(o)),s--}}}for(;!l.done;)createOrAttach(e,i,n,e.length,l.value),l=c.next()}for(;o<=s;)e.destroy(e.detach(s--));i?.forEach(t=>{e.destroy(t)})}function attachPreviouslyDetached(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function createOrAttach(e,t,n,r,i){if(attachPreviouslyDetached(e,t,r,n(r,i)))e.updateValue(r,i);else{let t=e.create(r,i);e.attach(r,t)}}function initLiveItemsInTheFuture(e,t,n,r){let i=new Set;for(let a=t;a<=n;a++)i.add(r(a,e.at(a)));return i}function ɵɵconditionalCreate(e,t,n,r,i,a,o,s){performanceMarkFeature(`NgControlFlow`);let c=getLView(),l=getTView();return declareNoDirectiveHostTemplate(c,l,e,t,n,r,i,getConstant(l.consts,a),256,o,s),ɵɵconditionalBranchCreate}function ɵɵconditionalBranchCreate(e,t,n,r,i,a,o,s){performanceMarkFeature(`NgControlFlow`);let c=getLView(),l=getTView();return declareNoDirectiveHostTemplate(c,l,e,t,n,r,i,getConstant(l.consts,a),512,o,s),ɵɵconditionalBranchCreate}function ɵɵconditional(e,t){performanceMarkFeature(`NgControlFlow`);let n=getLView(),r=nextBindingIndex(),i=n[r]===I?-1:n[r],a=i===-1?void 0:getLContainer(n,27+i);if(bindingUpdated(n,r,e)){let r=setActiveConsumer(null);try{if(a!==void 0&&removeLViewFromLContainer(a,0),e!==-1){let r=27+e,i=getLContainer(n,r),a=getExistingTNode(n[1],r),o=findAndReconcileMatchingDehydratedViews(i,a,n);addLViewToLContainer(i,createAndRenderEmbeddedLView(n,a,t,{dehydratedView:o}),0,shouldAddViewToDom(a,o))}}finally{setActiveConsumer(r)}}else if(a!==void 0){let e=getLViewFromLContainer(a,0);e!==void 0&&(e[8]=t)}}function ɵɵrepeaterTrackByIndex(e){return e}function ɵɵrepeaterTrackByIdentity(e,t){return t}function ɵɵrepeaterCreate(e,t,n,r,i,a,o,s,c,l,u,d,f){performanceMarkFeature(`NgControlFlow`);let p=getLView(),m=getTView(),h=c!==void 0,g=getLView(),_=s?o.bind(g[15][8]):o,v=new RepeaterMetadata(h,_);g[27+e]=v,declareNoDirectiveHostTemplate(p,m,e+1,t,n,r,i,getConstant(m.consts,a),256),h&&declareNoDirectiveHostTemplate(p,m,e+2,c,l,u,d,getConstant(m.consts,f),512)}function ɵɵrepeater(e){let t=setActiveConsumer(null),n=getSelectedIndex();try{let r=getLView(),i=r[1],a=r[n],o=n+1,s=getLContainer(r,o);if(a.liveCollection===void 0){let e=getExistingTNode(i,o);a.liveCollection=new LiveCollectionLContainerImpl(s,r,e)}else a.liveCollection.reset();let c=a.liveCollection;if(reconcile(c,e,a.trackByFn,t),c.updateIndexes(),a.hasEmptyBlock){let e=nextBindingIndex(),t=c.length===0;if(bindingUpdated(r,e,t)){let e=n+2,a=getLContainer(r,e);if(t){let t=getExistingTNode(i,e),n=findAndReconcileMatchingDehydratedViews(a,t,r);addLViewToLContainer(a,createAndRenderEmbeddedLView(r,t,void 0,{dehydratedView:n}),0,shouldAddViewToDom(t,n))}else i.firstUpdatePass&&removeDehydratedViews(a),removeLViewFromLContainer(a,0)}}}finally{setActiveConsumer(t)}}function getLContainer(e,t){return e[t]}function clearDetachAnimationList(e,t){if(e.length<=10)return;let n=e[10+t],r=n?n[26]:void 0;if(n&&r&&r.detachedLeaveAnimationFns&&r.detachedLeaveAnimationFns.length>0){let e=n[9];removeFromAnimationQueue(e,r),On.delete(n[19]),r.detachedLeaveAnimationFns=void 0}}function maybeInitDetachAnimationList(e,t){if(e.length<=10)return;let n=e[10+t],r=n?n[26]:void 0;r&&r.leave&&r.leave.size>0&&(r.detachedLeaveAnimationFns=[])}function detachExistingView(e,t){return detachView(e,t)}function getExistingLViewFromLContainer(e,t){return getLViewFromLContainer(e,t)}function getExistingTNode(e,t){return getTNode(e,t)}function ɵɵproperty(e,t,n){let r=getLView();return bindingUpdated(r,nextBindingIndex(),t)&&(getTView(),setPropertyAndInputs(getSelectedTNode(),r,e,t,r[11],n)),ɵɵproperty}function setDirectiveInputsWhichShadowsStyling(e,t,n,r,i){setAllInputsForProperty(t,e,n,i?`class`:`style`,r)}function ɵɵelementStart(e,t,n,r){let i=getLView(),a=i[1],o=e+27,s=a.firstCreatePass?directiveHostFirstCreatePass(o,i,2,t,findDirectiveDefMatches,getBindingsEnabled(),n,r):a.data[o];if(isComponentHost(s)){let n=i[10].tracingService;if(n&&n.componentCreate){let o=a.data[s.directiveStart+s.componentOffset];return n.componentCreate(getComponentName(o),()=>(initializeElement(e,t,i,s,r),ɵɵelementStart))}}return initializeElement(e,t,i,s,r),ɵɵelementStart}function initializeElement(e,t,n,r,i){if(elementLikeStartShared(r,n,e,t,_locateOrCreateElementNode),isDirectiveHost(r)){let e=n[1];createDirectivesInstances(e,n,r),executeContentQueries(e,r,n)}i!=null&&saveResolvedLocalsInData(n,r)}function ɵɵelementEnd(){let e=getTView(),t=elementLikeEndShared(getCurrentTNode());return e.firstCreatePass&&directiveHostEndFirstCreatePass(e,t),isSkipHydrationRootTNode(t)&&leaveSkipHydrationBlock(),decreaseElementDepthCount(),t.classesWithoutHost!=null&&hasClassInput(t)&&setDirectiveInputsWhichShadowsStyling(e,t,getLView(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&hasStyleInput(t)&&setDirectiveInputsWhichShadowsStyling(e,t,getLView(),t.stylesWithoutHost,!1),ɵɵelementEnd}function ɵɵelement(e,t,n,r){return ɵɵelementStart(e,t,n,r),ɵɵelementEnd(),ɵɵelement}function ɵɵdomElementStart(e,t,n,r){let i=getLView(),a=i[1],o=e+27,s=a.firstCreatePass?domOnlyFirstCreatePass(o,a,2,t,n,r):a.data[o];return elementLikeStartShared(s,i,e,t,_locateOrCreateElementNode),r!=null&&saveResolvedLocalsInData(i,s),ɵɵdomElementStart}function ɵɵdomElementEnd(){return isSkipHydrationRootTNode(elementLikeEndShared(getCurrentTNode()))&&leaveSkipHydrationBlock(),decreaseElementDepthCount(),ɵɵdomElementEnd}function ɵɵdomElement(e,t,n,r){return ɵɵdomElementStart(e,t,n,r),ɵɵdomElementEnd(),ɵɵdomElement}function ɵɵelementContainerStart(e,t,n){let r=getLView(),i=r[1],a=e+27,o=i.firstCreatePass?directiveHostFirstCreatePass(a,r,8,`ng-container`,findDirectiveDefMatches,getBindingsEnabled(),t,n):i.data[a];if(elementLikeStartShared(o,r,e,`ng-container`,_locateOrCreateElementContainerNode),isDirectiveHost(o)){let e=r[1];createDirectivesInstances(e,r,o),executeContentQueries(e,o,r)}return n!=null&&saveResolvedLocalsInData(r,o),ɵɵelementContainerStart}function ɵɵelementContainerEnd(){let e=getTView(),t=elementLikeEndShared(getCurrentTNode());return e.firstCreatePass&&directiveHostEndFirstCreatePass(e,t),ɵɵelementContainerEnd}function ɵɵelementContainer(e,t,n){return ɵɵelementContainerStart(e,t,n),ɵɵelementContainerEnd(),ɵɵelementContainer}function ɵɵdomElementContainerStart(e,t,n){let r=getLView(),i=r[1],a=e+27,o=i.firstCreatePass?domOnlyFirstCreatePass(a,i,8,`ng-container`,t,n):i.data[a];return elementLikeStartShared(o,r,e,`ng-container`,_locateOrCreateElementContainerNode),n!=null&&saveResolvedLocalsInData(r,o),ɵɵdomElementContainerStart}function ɵɵdomElementContainerEnd(){return elementLikeEndShared(getCurrentTNode()),ɵɵelementContainerEnd}function ɵɵdomElementContainer(e,t,n){return ɵɵdomElementContainerStart(e,t,n),ɵɵdomElementContainerEnd(),ɵɵdomElementContainer}function ɵɵgetCurrentView(){return getLView()}function ɵɵdomProperty(e,t,n){let r=getLView();return bindingUpdated(r,nextBindingIndex(),t)&&(getTView(),setDomProperty(getSelectedTNode(),r,e,t,r[11],n)),ɵɵdomProperty}function ɵɵsyntheticHostProperty(e,t,n){let r=getLView();if(bindingUpdated(r,nextBindingIndex(),t)){let i=getTView(),a=getSelectedTNode();setDomProperty(a,r,e,t,loadComponentRenderer(getCurrentDirectiveDef(i.data),a,r),n)}return ɵɵsyntheticHostProperty}function plural(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,``).length;return t===1&&n===0?1:5}function findLocaleData(e){let t=normalizeLocale(e),n=getLocaleData(t);if(n)return n;let r=t.split(`-`)[0];if(n=getLocaleData(r),n)return n;if(r===`en`)return zr;throw new RuntimeError(701,!1)}function getLocalePluralCase$1(e){return findLocaleData(e)[U.PluralCase]}function getLocaleData(e){if(!(e in Br)){let t=C.ng&&C.ng.common&&C.ng.common.locales&&C.ng.common.locales[e];return t!==void 0&&(Br[e]=t),t}return Br[e]}function normalizeLocale(e){return e.toLowerCase().replace(/_/g,`-`)}function getPluralCase(e,t){let n=getLocalePluralCase$1(t)(parseInt(e,10)),r=Vr[n];return r===void 0?`other`:r}function setLocaleId(e){typeof e==`string`&&(Kr=e.toLowerCase().replace(/_/g,`-`))}function getLocaleId$1(){return Kr}function setMaskBit(e){e&&(qr|=1<<Math.min(Jr,31)),Jr++}function applyI18n(e,t,n){try{if(Jr>0){let r=e.data[n];applyUpdateOpCodes(e,t,Array.isArray(r)?r:r.update,getBindingIndex()-Jr-1,qr)}}finally{qr=0,Jr=0}}function createNodeWithoutHydration(e,t,n){let r=e[11];switch(n){case Node.COMMENT_NODE:return createCommentNode(r,t);case Node.TEXT_NODE:return createTextNode(r,t);case Node.ELEMENT_NODE:return createElementNode(r,t,null)}}function applyCreateOpCodes(e,t,n,r){let i=e[11];for(let a=0;a<t.length;a++){let o=t[a++],s=t[a],c=(o&W.COMMENT)===W.COMMENT,l=(o&W.APPEND_EAGERLY)===W.APPEND_EAGERLY,u=o>>>W.SHIFT,d=e[u],f=!1;d===null&&(d=e[u]=_locateOrCreateNode(e,u,s,c?Node.COMMENT_NODE:Node.TEXT_NODE),f=wasLastNodeCreated()),l&&n!==null&&f&&nativeInsertBefore(i,n,d,r,!1)}}function applyMutableOpCodes(e,t,n,r){let i=n[11],a=null,o;for(let s=0;s<t.length;s++){let c=t[s];if(typeof c==`string`){let e=t[++s];n[e]===null&&(n[e]=_locateOrCreateNode(n,e,c,Node.TEXT_NODE))}else if(typeof c==`number`)switch(c&1){case 0:let l=getParentFromIcuCreateOpCode(c);a===null&&(a=l,o=i.parentNode(r));let u,d;if(l===a?(u=r,d=o):(u=null,d=unwrapRNode(n[l])),d!==null){let t=getRefFromIcuCreateOpCode(c),r=n[t];nativeInsertBefore(i,d,r,u,!1);let a=getTIcu(e,t);if(typeof a==`object`&&a){let t=getCurrentICUCaseIndex(a,n);t!==null&&applyMutableOpCodes(e,a.create[t],n,n[a.anchorIdx])}}break;case 1:let f=c>>>1,p=t[++s],m=t[++s];setElementAttribute(i,getNativeByIndex(f,n),null,null,p,m,null)}else switch(c){case Gr:let e=t[++s],r=t[++s];n[r]===null&&attachPatchData(n[r]=_locateOrCreateNode(n,r,e,Node.COMMENT_NODE),n);break;case Wr:let i=t[++s],a=t[++s];n[a]===null&&attachPatchData(n[a]=_locateOrCreateNode(n,a,i,Node.ELEMENT_NODE),n)}}}function applyUpdateOpCodes(e,t,n,r,i){for(let a=0;a<n.length;a++){let o=n[a],s=n[++a];if(o&i){let i=``;for(let o=a+1;o<=a+s;o++){let a=n[o];if(typeof a==`string`)i+=a;else if(typeof a==`number`){if(a<0)i+=renderStringify(t[r-a]);else{let s=a>>>2;switch(a&3){case 1:let a=n[++o],c=n[++o],l=e.data[s];if(typeof l==`string`)setElementAttribute(t[11],t[s],null,l,a,i,c);else{let e=getSelectedIndex();setSelectedIndex(s);try{setPropertyAndInputs(l,t,a,i,t[11],c)}finally{setSelectedIndex(e)}}break;case 0:let u=t[s];u!==null&&updateTextNode(t[11],u,i);break;case 2:applyIcuSwitchCase(e,getTIcu(e,s),t,i);break;case 3:applyIcuUpdateCase(e,getTIcu(e,s),r,t)}}}}}else{let i=n[a+1];if(i>0&&(i&3)==3){let n=getTIcu(e,i>>>2);t[n.currentCaseLViewIndex]<0&&applyIcuUpdateCase(e,n,r,t)}}a+=s}}function applyIcuUpdateCase(e,t,n,r){let i=r[t.currentCaseLViewIndex];if(i!==null){let a=qr;i<0&&(i=r[t.currentCaseLViewIndex]=~i,a=-1),applyUpdateOpCodes(e,r,t.update[i],n,a)}}function applyIcuSwitchCase(e,t,n,r){let i=getCaseIndex(t,r);if(getCurrentICUCaseIndex(t,n)!==i&&(applyIcuSwitchCaseRemove(e,t,n),n[t.currentCaseLViewIndex]=i===null?null:~i,i!==null)){let r=n[t.anchorIdx];r&&applyMutableOpCodes(e,t.create[i],n,r),claimDehydratedIcuCase(n,t.anchorIdx,i)}}function applyIcuSwitchCaseRemove(e,t,n){let r=getCurrentICUCaseIndex(t,n);if(r!==null){let i=t.remove[r];for(let t=0;t<i.length;t++){let r=i[t];if(r>0){let e=getNativeByIndex(r,n);e!==null&&nativeRemoveNode(n[11],e)}else applyIcuSwitchCaseRemove(e,getTIcu(e,~r),n)}}}function getCaseIndex(e,t){let n=e.cases.indexOf(t);if(n===-1)switch(e.type){case 1:{let r=getPluralCase(t,getLocaleId$1());n=e.cases.indexOf(r),n===-1&&r!==`other`&&(n=e.cases.indexOf(`other`));break}case 0:n=e.cases.indexOf(`other`)}return n===-1?null:n}function replaceNgsp(e){return e.replace(ni,` `)}function i18nStartFirstCreatePass(e,t,n,r,i,a){let o=getCurrentParentTNode(),s=[],c=[],l=[[]],u=[[]];i=getTranslationForTemplate(i,a);let d=replaceNgsp(i).split(ti);for(let r=0;r<d.length;r++){let a=d[r];if(r&1){let t=a.charCodeAt(0)===47,n=a.charCodeAt(+!!t),r=27+Number.parseInt(a.substring(t?2:1));if(t)l.shift(),u.shift(),setCurrentTNode(getCurrentParentTNode(),!1);else{let t=createTNodePlaceholder(e,l[0],r);l.unshift([]),setCurrentTNode(t,!0);let i={kind:2,index:r,children:[],type:n===35?0:1};u[0].push(i),u.unshift(i.children)}}else{let r=i18nParseTextIntoPartsAndICU(a);for(let a=0;a<r.length;a++){let d=r[a];if(a&1){let r=d;if(typeof r!=`object`)throw Error(`Unable to parse ICU expression in "${i}" message.`);let a=createTNodeAndAddOpCode(e,o,l[0],n,s,``,!0).index;icuStart(u[0],e,n,c,t,r,a)}else{let t=d;t!==``&&i18nStartFirstCreatePassProcessTextNode(u[0],e,o,l[0],s,c,n,t)}}}}e.data[r]={create:s,update:c,ast:u[0],parentTNodeIndex:t}}function createTNodeAndAddOpCode(e,t,n,r,i,a,o){let s=allocExpando(e,r,1,null),c=s<<W.SHIFT,l=getCurrentParentTNode();t===l&&(l=null),l===null&&(c|=W.APPEND_EAGERLY),o&&(c|=W.COMMENT,ensureIcuContainerVisitorLoaded(loadIcuContainerVisitor)),i.push(c,a===null?``:a);let u=createTNodeAtIndex(e,s,o?32:1,a===null?``:a,null);addTNodeAndUpdateInsertBeforeIndex(n,u);let d=u.index;return setCurrentTNode(u,!1),l!==null&&t!==l&&setTNodeInsertBeforeIndex(l,d),u}function i18nStartFirstCreatePassProcessTextNode(e,t,n,r,i,a,o,s){let c=s.match(Yr),l=createTNodeAndAddOpCode(t,n,r,o,i,c?null:s,!1).index;c&&generateBindingUpdateOpCodes(a,s,l,null,0,null),e.push({kind:0,index:l})}function i18nAttributesFirstPass(e,t,n){let r=getCurrentTNode(),i=r.index,a=[];if(e.firstCreatePass&&e.data[t]===null){for(let e=0;e<n.length;e+=2){let t=n[e],o=n[e+1];if(o!==``){if(Xr.test(o))throw Error(`ICU expressions are not supported in attributes. Message: "${o}".`);let e=r.namespace?`:${r.namespace}:${r.value}`:r.value;generateBindingUpdateOpCodes(a,o,i,t,countBindings(a),i18nResolveSanitizer(t,e))}}e.data[t]=a}}function generateBindingUpdateOpCodes(e,t,n,r,i,a){let o=e.length,s=o+1;e.push(null,null);let c=o+2,l=t.split(Yr),u=0;for(let t=0;t<l.length;t++){let n=l[t];if(t&1){let t=i+parseInt(n,10);e.push(-1-t),u|=toMaskBit(t)}else n!==``&&e.push(n)}return e.push(n<<2|!!r),r&&e.push(r,a),e[o]=u,e[s]=e.length-c,u}function countBindings(e){let t=0;for(let n=0;n<e.length;n++){let r=e[n];typeof r==`number`&&r<0&&t++}return t}function toMaskBit(e){return 1<<Math.min(e,31)}function removeInnerTemplateTranslation(e){let t,n=``,r=0,i=!1,a;for(;(t=ei.exec(e))!==null;)i?t[0]===`${$r}/*${a}${$r}`&&(r=t.index,i=!1):(n+=e.substring(r,t.index+t[0].length),a=t[1],i=!0);return n+=e.slice(r),n}function getTranslationForTemplate(e,t){if(isRootTemplateMessage(t))return removeInnerTemplateTranslation(e);{let n=e.indexOf(`:${t}${$r}`)+2+t.toString().length,r=e.search(RegExp(`${$r}\\/\\*\\d+:${t}${$r}`));return removeInnerTemplateTranslation(e.substring(n,r))}}function icuStart(e,t,n,r,i,a,o){let s=0,c={type:a.type,currentCaseLViewIndex:allocExpando(t,n,1,null),anchorIdx:o,cases:[],create:[],remove:[],update:[]};addUpdateIcuSwitch(r,a,o),setTIcu(t,o,c);let l=a.values,u=[];for(let e=0;e<l.length;e++){let o=l[e],d=[];for(let e=0;e<o.length;e++){let t=o[e];if(typeof t!=`string`){let n=d.push(t)-1;o[e]=`<!--�${n}�-->`}}let f=[];u.push(f),s=parseIcuCase(f,t,c,n,r,i,a.cases[e],o.join(``),d)|s}s&&addUpdateIcuUpdate(r,s,o),e.push({kind:3,index:o,cases:u,currentCaseLViewIndex:c.currentCaseLViewIndex})}function parseICUBlock(e){let t=[],n=[],r=1,i=0;e=e.replace(Qr,function(e,t,n){return r=n===`select`?0:1,i=parseInt(t.slice(1),10),``});let a=i18nParseTextIntoPartsAndICU(e);for(let e=0;e<a.length;){let i=a[e++].trim();r===1&&(i=i.replace(/\s*(?:=)?(\w+)\s*/,`$1`)),i.length&&t.push(i);let o=i18nParseTextIntoPartsAndICU(a[e++]);t.length>n.length&&n.push(o)}return{type:r,mainBinding:i,cases:t,values:n}}function i18nParseTextIntoPartsAndICU(e){if(!e)return[];let t=0,n=[],r=[],i=/[{}]/g;i.lastIndex=0;let a;for(;a=i.exec(e);){let i=a.index;if(a[0]==`}`){if(n.pop(),n.length==0){let n=e.substring(t,i);Qr.test(n)?r.push(parseICUBlock(n)):r.push(n),t=i+1}}else{if(n.length==0){let n=e.substring(t,i);r.push(n),t=i+1}n.push(`{`)}}let o=e.substring(t);return r.push(o),r}function parseIcuCase(e,t,n,r,i,a,o,s,c){let l=[],u=[],d=[];n.cases.push(o),n.create.push(l),n.remove.push(u),n.update.push(d);let f=getInertBodyHelper(getDocument()).getInertBodyElement(s),p=getTemplateContent(f)||f;return p?walkIcuTree(e,t,n,r,i,l,u,d,p,a,c,0):0}function walkIcuTree(e,t,n,r,i,a,o,s,c,l,u,d){let f=0,p=c.firstChild;for(;p;){let c=allocExpando(t,r,1,null);switch(p.nodeType){case Node.ELEMENT_NODE:let m=p,h=m.tagName.toLowerCase();if(an.hasOwnProperty(h)){addCreateNodeAndAppend(a,Wr,h,l,c),t.data[c]=h;let g=m.attributes;for(let e=0;e<g.length;e++){let t=g.item(e),n=t.name.toLowerCase(),r=!!t.value.match(Yr),i=m.namespaceURI,o=i&&Zt[i],l=o?`:${o}:${h}`:h;if(r)sn.hasOwnProperty(n)&&generateBindingUpdateOpCodes(s,t.value,c,t.name,0,i18nResolveSanitizer(n,l));else if(sn[n]){let e=t.value;i18nResolveSanitizer(n,l)?addCreateAttribute(a,c,t.name,`unsafe:blocked`):addCreateAttribute(a,c,t.name,e)}}let _={kind:1,index:c,children:[]};e.push(_),f=walkIcuTree(_.children,t,n,r,i,a,o,s,p,c,u,d+1)|f,addRemoveNode(o,c,d)}break;case Node.TEXT_NODE:let g=p.textContent||``,_=g.match(Yr);addCreateNodeAndAppend(a,null,_?``:g,l,c),addRemoveNode(o,c,d),_&&(f=generateBindingUpdateOpCodes(s,g,c,null,0,null)|f),e.push({kind:0,index:c});break;case Node.COMMENT_NODE:let v=Zr.exec(p.textContent||``);if(v){let n=u[parseInt(v[1],10)];addCreateNodeAndAppend(a,Gr,``,l,c),icuStart(e,t,r,i,l,n,c),addRemoveNestedIcu(o,c,d)}}p=p.nextSibling}return f}function addRemoveNode(e,t,n){n===0&&e.push(t)}function addRemoveNestedIcu(e,t,n){n===0&&(e.push(~t),e.push(t))}function addUpdateIcuSwitch(e,t,n){e.push(toMaskBit(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}function addUpdateIcuUpdate(e,t,n){e.push(t,1,n<<2|3)}function addCreateNodeAndAppend(e,t,n,r,i){t!==null&&e.push(t),e.push(n,i,icuCreateOpCode(0,r,i))}function addCreateAttribute(e,t,n,r){e.push(t<<1|1,n,r)}function normalizeTagName(e){let[t,n]=splitNsName(e.toLowerCase(),!1);return t===Yt||t===Xt?`:${t}:${n}`:n}function i18nResolveSanitizer(e,t){let n=e.toLowerCase(),r=t?normalizeTagName(t):`*`,[i]=splitNsName(r,!1),a=SECURITY_SCHEMA();switch(a[`${r}|${n}`]||(i?a[`:${i}:*|${n}`]:void 0)||a[`*|${n}`]||D.NONE){case D.HTML:return ɵɵsanitizeHtml;case D.STYLE:return ɵɵsanitizeStyle;case D.SCRIPT:return ɵɵsanitizeScript;case D.URL:return _sanitizeUrl;case D.RESOURCE_URL:return ɵɵsanitizeResourceUrl;case D.ATTRIBUTE_NO_BINDING:return ɵɵvalidateAttribute;default:return null}}function i18nPostprocess(e,t={}){let n=e;if(ii.test(e)){let e={},t=[ri];n=n.replace(ai,(n,r,i)=>{let a=r||i,o=e[a]||[];if(o.length||(a.split(`|`).forEach(e=>{let t=e.match(ui),n=t?parseInt(t[1],10):ri,r=li.test(e);o.push([n,r,e])}),e[a]=o),!o.length)throw Error(`i18n postprocess: unmatched placeholder - ${a}`);let s=t[t.length-1],c=0;for(let e=0;e<o.length;e++)if(o[e][0]===s){c=e;break}let[l,u,d]=o[c];return u?t.pop():s!==l&&t.push(l),o.splice(c,1),d})}return Object.keys(t).length&&(n=n.replace(oi,(e,n,r,i,a,o)=>t.hasOwnProperty(r)?`${n}${t[r]}${o}`:e),n=n.replace(si,(e,n)=>t.hasOwnProperty(n)?t[n]:e),n=n.replace(ci,(e,n)=>{if(t.hasOwnProperty(n)){let r=t[n];if(!r.length)throw Error(`i18n postprocess: unmatched ICU - ${e} with key: ${n}`);return r.shift()}return e})),n}function ɵɵi18nStart(e,t,n=-1){let r=getTView(),i=getLView(),a=27+e,o=getConstant(r.consts,t),s=getCurrentParentTNode();if(r.firstCreatePass&&i18nStartFirstCreatePass(r,s===null?0:s.index,i,a,o,n),r.type===2){let e=i[15];e[2]|=32}else i[2]|=32;let c=r.data[a],l=getClosestRElement(r,s===i[5]?null:s,i),u=s&&s.type&8?i[s.index]:null;prepareI18nBlockForHydration(i,a,s,n),applyCreateOpCodes(i,c.create,l,u),setInI18nBlock(!0)}function ɵɵi18nEnd(){setInI18nBlock(!1)}function ɵɵi18n(e,t,n){ɵɵi18nStart(e,t,n),ɵɵi18nEnd()}function ɵɵi18nAttributes(e,t){let n=getTView(),r=getConstant(n.consts,t);i18nAttributesFirstPass(n,e+27,r)}function ɵɵi18nExp(e){return setMaskBit(bindingUpdated(getLView(),nextBindingIndex(),e)),ɵɵi18nExp}function ɵɵi18nApply(e){applyI18n(getTView(),getLView(),e+27)}function ɵɵi18nPostprocess(e,t={}){return i18nPostprocess(e,t)}function ɵɵlistener(e,t,n){let r=getLView(),i=getTView(),a=getCurrentTNode();return listenerInternal(i,r,r[11],a,e,t,n),ɵɵlistener}function ɵɵsyntheticHostListener(e,t){let n=getCurrentTNode(),r=getLView(),i=getTView();return listenerInternal(i,r,loadComponentRenderer(getCurrentDirectiveDef(i.data),n,r),n,e,t),ɵɵsyntheticHostListener}function ɵɵdomListener(e,t,n){let r=getLView(),i=getTView(),a=getCurrentTNode();return(a.type&3||n)&&listenToDomEvent(a,i,r,n,r[11],e,t,wrapListener(a,r,t)),ɵɵdomListener}function listenerInternal(e,t,n,r,i,a,o){let s=!0,c=null;if((r.type&3||o)&&(c??=wrapListener(r,t,a),listenToDomEvent(r,e,t,o,n,i,a,c)&&(s=!1)),s){let e=r.outputs?.[i],n=r.hostDirectiveOutputs?.[i];if(n&&n.length)for(let e=0;e<n.length;e+=2){let o=n[e],s=n[e+1];c??=wrapListener(r,t,a),listenToOutput(r,t,o,s,i,c)}if(e&&e.length)for(let n of e)c??=wrapListener(r,t,a),listenToOutput(r,t,n,i,i,c)}}function ɵɵnextContext(e=1){return nextContextImpl(e)}function matchingProjectionSlotIndex(e,t){let n=null,r=getProjectAsAttrValue(e);for(let i=0;i<t.length;i++){let a=t[i];if(a===`*`)n=i;else if(r===null?isNodeMatchingSelectorList(e,a,!0):isSelectorInSelectorList(r,a))return i}return n}function ɵɵprojectionDef(e){let t=getLView()[15][5];if(!t.projection){let n=t.projection=newArray(e?e.length:1,null),r=n.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let t=e?matchingProjectionSlotIndex(i,e):0;t!==null&&(r[t]?r[t].projectionNext=i:n[t]=i,r[t]=i)}i=i.next}}}function ɵɵprojection(e,t=0,n,r,i,a){let o=getLView(),s=getTView(),c=r?e+1:null;c!==null&&declareNoDirectiveHostTemplate(o,s,c,r,i,a,null,n);let l=getOrCreateTNode(s,27+e,16,null,n||null);l.projection===null&&(l.projection=t),setCurrentTNodeAsNotParent();let u=!o[6]||isInSkipHydrationBlock();o[15][5].projection[l.projection]===null&&c!==null?insertFallbackContent(o,s,c):u&&!isDetachedByI18n(l)&&applyProjection(s,o,l)}function insertFallbackContent(e,t,n){let r=27+n,i=t.data[r],a=e[r],o=findMatchingDehydratedView(a,i.tView.ssrId);addLViewToLContainer(a,createAndRenderEmbeddedLView(e,i,void 0,{dehydratedView:o}),0,shouldAddViewToDom(i,o))}function ɵɵcontentQuery(e,t,n,r){return createContentQuery(e,t,n,r),ɵɵcontentQuery}function ɵɵviewQuery(e,t,n){return createViewQuery(e,t,n),ɵɵviewQuery}function ɵɵqueryRefresh(e){let t=getLView(),n=getTView(),r=getCurrentQueryIndex();setCurrentQueryIndex(r+1);let i=getTQuery(n,r);if(e.dirty&&isCreationMode(t)===((i.metadata.flags&2)==2)){if(i.matches===null)e.reset([]);else{let n=getQueryResults(t,r);e.reset(n,unwrapElementRef),e.notifyOnChanges()}return!0}return!1}function ɵɵloadQuery(){return loadQueryInternal(getLView(),getCurrentQueryIndex())}function ɵɵcontentQuerySignal(e,t,n,r,i){return bindQueryToSignal(t,createContentQuery(e,n,r,i)),ɵɵcontentQuerySignal}function ɵɵviewQuerySignal(e,t,n,r){return bindQueryToSignal(e,createViewQuery(t,n,r)),ɵɵviewQuerySignal}function ɵɵqueryAdvance(e=1){setCurrentQueryIndex(getCurrentQueryIndex()+e)}function ɵɵreference(e){return load(getContextLView(),27+e)}function toTStylingRange(e,t){return e<<17|t<<2}function getTStylingRangePrev(e){return e>>17&32767}function getTStylingRangePrevDuplicate(e){return(e&2)==2}function setTStylingRangePrev(e,t){return e&131071|t<<17}function setTStylingRangePrevDuplicate(e){return e|2}function getTStylingRangeNext(e){return(e&131068)>>2}function setTStylingRangeNext(e,t){return e&-131069|t<<2}function getTStylingRangeNextDuplicate(e){return(e&1)==1}function setTStylingRangeNextDuplicate(e){return e|1}function insertTStylingBinding(e,t,n,r,i,a){let o=a?t.classBindings:t.styleBindings,s=getTStylingRangePrev(o),c=getTStylingRangeNext(o);e[r]=n;let l=!1,u;if(Array.isArray(n)){let e=n;u=e[1],(u===null||keyValueArrayIndexOf(e,u)>0)&&(l=!0)}else u=n;if(i){if(c!==0){let t=getTStylingRangePrev(e[s+1]);e[r+1]=toTStylingRange(t,s),t!==0&&(e[t+1]=setTStylingRangeNext(e[t+1],r)),e[s+1]=setTStylingRangePrev(e[s+1],r)}else e[r+1]=toTStylingRange(s,0),s!==0&&(e[s+1]=setTStylingRangeNext(e[s+1],r)),s=r}else e[r+1]=toTStylingRange(c,0),s===0?s=r:e[c+1]=setTStylingRangeNext(e[c+1],r),c=r;l&&(e[r+1]=setTStylingRangePrevDuplicate(e[r+1])),markDuplicates(e,u,r,!0),markDuplicates(e,u,r,!1),markDuplicateOfResidualStyling(t,u,e,r,a),o=toTStylingRange(s,c),a?t.classBindings=o:t.styleBindings=o}function markDuplicateOfResidualStyling(e,t,n,r,i){let a=i?e.residualClasses:e.residualStyles;a!=null&&typeof t==`string`&&keyValueArrayIndexOf(a,t)>=0&&(n[r+1]=setTStylingRangeNextDuplicate(n[r+1]))}function markDuplicates(e,t,n,r){let i=e[n+1],a=t===null,o=r?getTStylingRangePrev(i):getTStylingRangeNext(i),s=!1;for(;o!==0&&(s===!1||a);){let n=e[o],i=e[o+1];isStylingMatch(n,t)&&(s=!0,e[o+1]=r?setTStylingRangeNextDuplicate(i):setTStylingRangePrevDuplicate(i)),o=r?getTStylingRangePrev(i):getTStylingRangeNext(i)}s&&(e[n+1]=r?setTStylingRangePrevDuplicate(i):setTStylingRangeNextDuplicate(i))}function isStylingMatch(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t==`string`?keyValueArrayIndexOf(e,t)>=0:!1}function getLastParsedKey(e){return e.substring(G.key,G.keyEnd)}function getLastParsedValue(e){return e.substring(G.value,G.valueEnd)}function parseClassName(e){return resetParserState(e),parseClassNameNext(e,consumeWhitespace(e,0,G.textEnd))}function parseClassNameNext(e,t){let n=G.textEnd;return n===t?-1:(t=G.keyEnd=consumeClassToken(e,G.key=t,n),consumeWhitespace(e,t,n))}function parseStyle(e){return resetParserState(e),parseStyleNext(e,consumeWhitespace(e,0,G.textEnd))}function parseStyleNext(e,t){let n=G.textEnd,r=G.key=consumeWhitespace(e,t,n);return n===r?-1:(r=G.keyEnd=consumeStyleKey(e,r,n),r=consumeSeparator(e,r,n,58),r=G.value=consumeWhitespace(e,r,n),r=G.valueEnd=consumeStyleValue(e,r,n),consumeSeparator(e,r,n,59))}function resetParserState(e){G.key=0,G.keyEnd=0,G.value=0,G.valueEnd=0,G.textEnd=e.length}function consumeWhitespace(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function consumeClassToken(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function consumeStyleKey(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function consumeSeparator(e,t,n,r){return t=consumeWhitespace(e,t,n),t<n&&t++,t}function consumeStyleValue(e,t,n){let r=-1,i=-1,a=-1,o=t,s=o;for(;o<n;){let c=e.charCodeAt(o++);if(c===59)return s;c===34||c===39?s=o=consumeQuotedText(e,c,o,n):t===o-4&&a===85&&i===82&&r===76&&c===40?s=o=consumeQuotedText(e,41,o,n):c>32&&(s=o),a=i,i=r,r=c&-33}return s}function consumeQuotedText(e,t,n,r){let i=-1,a=n;for(;a<r;){let n=e.charCodeAt(a++);if(n==t&&i!==92)return a;i=n==92&&i===92?0:n}throw Error()}function ɵɵstyleProp(e,t,n){return checkStylingProperty(e,t,n,!1),ɵɵstyleProp}function ɵɵclassProp(e,t){return checkStylingProperty(e,t,null,!0),ɵɵclassProp}function ɵɵstyleMap(e){checkStylingMap(styleKeyValueArraySet,styleStringParser,e,!1)}function styleStringParser(e,t){for(let n=parseStyle(t);n>=0;n=parseStyleNext(t,n))styleKeyValueArraySet(e,getLastParsedKey(t),getLastParsedValue(t))}function ɵɵclassMap(e){checkStylingMap(classKeyValueArraySet,classStringParser,e,!0)}function classStringParser(e,t){for(let n=parseClassName(t);n>=0;n=parseClassNameNext(t,n))keyValueArraySet(e,getLastParsedKey(t),!0)}function checkStylingProperty(e,t,n,r){let i=getLView(),a=getTView(),o=incrementBindingIndex(2);if(a.firstUpdatePass&&stylingFirstUpdatePass(a,e,o,r),t!==I&&bindingUpdated(i,o,t)){let s=a.data[getSelectedIndex()];updateStyling(a,s,i,i[11],e,i[o+1]=normalizeSuffix(t,n),r,o)}}function checkStylingMap(e,t,n,r){let i=getTView(),a=incrementBindingIndex(2);i.firstUpdatePass&&stylingFirstUpdatePass(i,null,a,r);let o=getLView();if(n!==I&&bindingUpdated(o,a,n)){let s=i.data[getSelectedIndex()];if(hasStylingInputShadow(s,r)&&!isInHostBindings(i,a)){let e=r?s.classesWithoutHost:s.stylesWithoutHost;e!==null&&(n=concatStringsWithSpace(e,n||``)),setDirectiveInputsWhichShadowsStyling(i,s,o,n,r)}else updateStylingMap(i,s,o,o[11],o[a+1],o[a+1]=toStylingKeyValueArray(e,t,n),r,a)}}function isInHostBindings(e,t){return t>=e.expandoStartIndex}function stylingFirstUpdatePass(e,t,n,r){let i=e.data;if(i[n+1]===null){let a=i[getSelectedIndex()],o=isInHostBindings(e,n);hasStylingInputShadow(a,r)&&t===null&&!o&&(t=!1),t=wrapInStaticStylingKey(i,a,t,r),insertTStylingBinding(i,a,t,n,o,r)}}function wrapInStaticStylingKey(e,t,n,r){let i=getCurrentDirectiveDef(e),a=r?t.residualClasses:t.residualStyles;if(i===null)(r?t.classBindings:t.styleBindings)===0&&(n=collectStylingFromDirectives(null,e,t,n,r),n=collectStylingFromTAttrs(n,t.attrs,r),a=null);else{let o=t.directiveStylingLast;if(o===-1||e[o]!==i){if(n=collectStylingFromDirectives(i,e,t,n,r),a===null){let n=getTemplateHeadTStylingKey(e,t,r);n!==void 0&&Array.isArray(n)&&(n=collectStylingFromDirectives(null,e,t,n[1],r),n=collectStylingFromTAttrs(n,t.attrs,r),setTemplateHeadTStylingKey(e,t,r,n))}else a=collectResidual(e,t,r)}}return a!==void 0&&(r?t.residualClasses=a:t.residualStyles=a),n}function getTemplateHeadTStylingKey(e,t,n){let r=n?t.classBindings:t.styleBindings;if(getTStylingRangeNext(r)!==0)return e[getTStylingRangePrev(r)]}function setTemplateHeadTStylingKey(e,t,n,r){let i=n?t.classBindings:t.styleBindings;e[getTStylingRangePrev(i)]=r}function collectResidual(e,t,n){let r,i=t.directiveEnd;for(let a=1+t.directiveStylingLast;a<i;a++){let t=e[a].hostAttrs;r=collectStylingFromTAttrs(r,t,n)}return collectStylingFromTAttrs(r,t.attrs,n)}function collectStylingFromDirectives(e,t,n,r,i){let a=null,o=n.directiveEnd,s=n.directiveStylingLast;for(s===-1?s=n.directiveStart:s++;s<o&&(a=t[s],r=collectStylingFromTAttrs(r,a.hostAttrs,i),a!==e);)s++;return e!==null&&(n.directiveStylingLast=s),r}function collectStylingFromTAttrs(e,t,n){let r=n?1:2,i=-1;if(t!==null)for(let a=0;a<t.length;a++){let o=t[a];typeof o==`number`?i=o:i===r&&(Array.isArray(e)||(e=e===void 0?[]:[``,e]),keyValueArraySet(e,o,n?!0:t[++a]))}return e===void 0?null:e}function toStylingKeyValueArray(e,t,n){if(n==null||n===``)return E;let r=[],i=unwrapSafeValue(n);if(Array.isArray(i))for(let t=0;t<i.length;t++)e(r,i[t],!0);else if(i instanceof Set)for(let t of i)e(r,t,!0);else if(typeof i==`object`)for(let t in i)i.hasOwnProperty(t)&&e(r,t,i[t]);else typeof i==`string`&&t(r,i);return r}function styleKeyValueArraySet(e,t,n){keyValueArraySet(e,t,unwrapSafeValue(n))}function classKeyValueArraySet(e,t,n){let r=String(t);r!==``&&!r.includes(` `)&&keyValueArraySet(e,r,n)}function updateStylingMap(e,t,n,r,i,a,o,s){i===I&&(i=E);let c=0,l=0,u=0<i.length?i[0]:null,d=0<a.length?a[0]:null;for(;u!==null||d!==null;){let f=c<i.length?i[c+1]:void 0,p=l<a.length?a[l+1]:void 0,m=null,h;u===d?(c+=2,l+=2,f!==p&&(m=d,h=p)):d===null||u!==null&&u<d?(c+=2,m=u):(l+=2,m=d,h=p),m!==null&&updateStyling(e,t,n,r,m,h,o,s),u=c<i.length?i[c]:null,d=l<a.length?a[l]:null}}function updateStyling(e,t,n,r,i,a,o,s){if(!(t.type&3))return;let c=e.data,l=c[s+1];isStylingValuePresent(getTStylingRangeNextDuplicate(l)?findStylingValue(c,t,n,i,getTStylingRangeNext(l),o):void 0)||(isStylingValuePresent(a)||getTStylingRangePrevDuplicate(l)&&(a=findStylingValue(c,null,n,i,s,o)),applyStyling(r,o,getNativeByIndex(getSelectedIndex(),n),i,a))}function findStylingValue(e,t,n,r,i,a){let o=t===null,s;for(;i>0;){let t=e[i],a=Array.isArray(t),c=a?t[1]:t,l=c===null,u=n[i+1];u===I&&(u=l?E:void 0);let d=l?keyValueArrayGet(u,r):c===r?u:void 0;if(a&&!isStylingValuePresent(d)&&(d=keyValueArrayGet(t,r)),isStylingValuePresent(d)&&(s=d,o))return s;let f=e[i+1];i=o?getTStylingRangePrev(f):getTStylingRangeNext(f)}if(t!==null){let e=a?t.residualClasses:t.residualStyles;e!=null&&(s=keyValueArrayGet(e,r))}return s}function isStylingValuePresent(e){return e!==void 0}function normalizeSuffix(e,t){return e==null||e===``||(typeof t==`string`?e+=t:typeof e==`object`&&(e=stringify(unwrapSafeValue(e)))),e}function hasStylingInputShadow(e,t){return!!(e.flags&(t?8:16))}function ɵɵtext(e,t=``){let n=getLView(),r=getTView(),i=e+27,a=r.firstCreatePass?getOrCreateTNode(r,i,1,t,null):r.data[i],o=_locateOrCreateTextNode(r,n,a,t);n[i]=o,wasLastNodeCreated()&&appendChild(r,n,o,a),setCurrentTNode(a,!1)}function interpolationV(e,t){let n=!1,r=getBindingIndex();for(let i=1;i<t.length;i+=2)n=bindingUpdated(e,r++,t[i])||n;if(setBindingIndex(r),!n)return I;let i=t[0];for(let e=1;e<t.length;e+=2)i+=renderStringify(t[e])+(e+1===t.length?``:t[e+1]);return i}function interpolation1(e,t,n,r=``){return bindingUpdated(e,nextBindingIndex(),n)?t+renderStringify(n)+r:I}function interpolation2(e,t,n,r,i,a=``){let o=bindingUpdated2(e,getBindingIndex(),n,i);return incrementBindingIndex(2),o?t+renderStringify(n)+r+renderStringify(i)+a:I}function interpolation3(e,t,n,r,i,a,o,s=``){let c=bindingUpdated3(e,getBindingIndex(),n,i,o);return incrementBindingIndex(3),c?t+renderStringify(n)+r+renderStringify(i)+a+renderStringify(o)+s:I}function interpolation4(e,t,n,r,i,a,o,s,c,l=``){let u=bindingUpdated4(e,getBindingIndex(),n,i,o,c);return incrementBindingIndex(4),u?t+renderStringify(n)+r+renderStringify(i)+a+renderStringify(o)+s+renderStringify(c)+l:I}function interpolation5(e,t,n,r,i,a,o,s,c,l,u,d=``){let f=getBindingIndex(),p=bindingUpdated4(e,f,n,i,o,c);return p=bindingUpdated(e,f+4,u)||p,incrementBindingIndex(5),p?t+renderStringify(n)+r+renderStringify(i)+a+renderStringify(o)+s+renderStringify(c)+l+renderStringify(u)+d:I}function interpolation6(e,t,n,r,i,a,o,s,c,l,u,d,f,p=``){let m=getBindingIndex(),h=bindingUpdated4(e,m,n,i,o,c);return h=bindingUpdated2(e,m+4,u,f)||h,incrementBindingIndex(6),h?t+renderStringify(n)+r+renderStringify(i)+a+renderStringify(o)+s+renderStringify(c)+l+renderStringify(u)+d+renderStringify(f)+p:I}function interpolation7(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h=``){let g=getBindingIndex(),_=bindingUpdated4(e,g,n,i,o,c);return _=bindingUpdated3(e,g+4,u,f,m)||_,incrementBindingIndex(7),_?t+renderStringify(n)+r+renderStringify(i)+a+renderStringify(o)+s+renderStringify(c)+l+renderStringify(u)+d+renderStringify(f)+p+renderStringify(m)+h:I}function interpolation8(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_=``){let v=getBindingIndex(),y=bindingUpdated4(e,v,n,i,o,c);return y=bindingUpdated4(e,v+4,u,f,m,g)||y,incrementBindingIndex(8),y?t+renderStringify(n)+r+renderStringify(i)+a+renderStringify(o)+s+renderStringify(c)+l+renderStringify(u)+d+renderStringify(f)+p+renderStringify(m)+h+renderStringify(g)+_:I}function ɵɵtextInterpolate(e){return ɵɵtextInterpolate1(``,e),ɵɵtextInterpolate}function ɵɵtextInterpolate1(e,t,n){let r=getLView(),i=interpolation1(r,e,t,n);return i!==I&&textBindingInternal(r,getSelectedIndex(),i),ɵɵtextInterpolate1}function ɵɵtextInterpolate2(e,t,n,r,i){let a=getLView(),o=interpolation2(a,e,t,n,r,i);return o!==I&&textBindingInternal(a,getSelectedIndex(),o),ɵɵtextInterpolate2}function ɵɵtextInterpolate3(e,t,n,r,i,a,o){let s=getLView(),c=interpolation3(s,e,t,n,r,i,a,o);return c!==I&&textBindingInternal(s,getSelectedIndex(),c),ɵɵtextInterpolate3}function ɵɵtextInterpolate4(e,t,n,r,i,a,o,s,c){let l=getLView(),u=interpolation4(l,e,t,n,r,i,a,o,s,c);return u!==I&&textBindingInternal(l,getSelectedIndex(),u),ɵɵtextInterpolate4}function ɵɵtextInterpolate5(e,t,n,r,i,a,o,s,c,l,u){let d=getLView(),f=interpolation5(d,e,t,n,r,i,a,o,s,c,l,u);return f!==I&&textBindingInternal(d,getSelectedIndex(),f),ɵɵtextInterpolate5}function ɵɵtextInterpolate6(e,t,n,r,i,a,o,s,c,l,u,d,f){let p=getLView(),m=interpolation6(p,e,t,n,r,i,a,o,s,c,l,u,d,f);return m!==I&&textBindingInternal(p,getSelectedIndex(),m),ɵɵtextInterpolate6}function ɵɵtextInterpolate7(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m){let h=getLView(),g=interpolation7(h,e,t,n,r,i,a,o,s,c,l,u,d,f,p,m);return g!==I&&textBindingInternal(h,getSelectedIndex(),g),ɵɵtextInterpolate7}function ɵɵtextInterpolate8(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g){let _=getLView(),v=interpolation8(_,e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g);return v!==I&&textBindingInternal(_,getSelectedIndex(),v),ɵɵtextInterpolate8}function ɵɵtextInterpolateV(e){let t=getLView(),n=interpolationV(t,e);return n!==I&&textBindingInternal(t,getSelectedIndex(),n),ɵɵtextInterpolateV}function textBindingInternal(e,t,n){let r=getNativeByIndex(t,e);updateTextNode(e[11],r,n)}function ɵɵtwoWayProperty(e,t,n){isWritableSignal(t)&&(t=t());let r=getLView();return bindingUpdated(r,nextBindingIndex(),t)&&(getTView(),setPropertyAndInputs(getSelectedTNode(),r,e,t,r[11],n)),ɵɵtwoWayProperty}function ɵɵtwoWayBindingSet(e,t){let n=isWritableSignal(e);return n&&e.set(t),n}function ɵɵtwoWayListener(e,t){let n=getLView(),r=getTView(),i=getCurrentTNode();return listenerInternal(r,n,n[11],i,e,t),ɵɵtwoWayListener}function ɵɵdeclareLet(e){performanceMarkFeature(`NgLet`);let t=getTView(),n=getLView(),r=e+27;return setCurrentTNode(getOrCreateTNode(t,r,128,null,null),!1),store(t,n,r,di),ɵɵdeclareLet}function ɵɵstoreLet(e){return store(getTView(),getLView(),getSelectedIndex(),e),e}function ɵɵreadContextLet(e){let t=load(getContextLView(),27+e);if(t===di)throw new RuntimeError(314,!1);return t}function ɵɵattachSourceLocations(e,t){let n=getTView(),r=getLView(),i=r[11],a=`data-ng-source-location`;for(let[o,s,c,l]of t){getTNode(n,o+27);let t=getNativeByIndex(o+27,r);if(!t.hasAttribute(a)){let n=`${e}@o:${s},l:${c},c:${l}`;i.setAttribute(t,a,n)}}}function ɵɵinterpolate(e){return bindingUpdated(getLView(),nextBindingIndex(),e)?renderStringify(e):I}function ɵɵinterpolate1(e,t,n=``){return interpolation1(getLView(),e,t,n)}function ɵɵinterpolate2(e,t,n,r,i=``){return interpolation2(getLView(),e,t,n,r,i)}function ɵɵinterpolate3(e,t,n,r,i,a,o=``){return interpolation3(getLView(),e,t,n,r,i,a,o)}function ɵɵinterpolate4(e,t,n,r,i,a,o,s,c=``){return interpolation4(getLView(),e,t,n,r,i,a,o,s,c)}function ɵɵinterpolate5(e,t,n,r,i,a,o,s,c,l,u=``){return interpolation5(getLView(),e,t,n,r,i,a,o,s,c,l,u)}function ɵɵinterpolate6(e,t,n,r,i,a,o,s,c,l,u,d,f=``){return interpolation6(getLView(),e,t,n,r,i,a,o,s,c,l,u,d,f)}function ɵɵinterpolate7(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m=``){return interpolation7(getLView(),e,t,n,r,i,a,o,s,c,l,u,d,f,p,m)}function ɵɵinterpolate8(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g=``){return interpolation8(getLView(),e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g)}function ɵɵinterpolateV(e){return interpolationV(getLView(),e)}function ɵɵarrowFunction(e,t,n){let r=getBindingRoot()+e,i=getLView();return i[r]===I?updateBinding(i,r,t(n,i)):getBinding(i,r)}function providersResolver(e,t,n){let r=getTView();r.firstCreatePass&&resolveProvider(t,r.data,r.blueprint,isComponentDef(e),n)}function resolveProvider(e,t,n,r,i){if(e=resolveForwardRef(e),Array.isArray(e))for(let a=0;a<e.length;a++)resolveProvider(e[a],t,n,r,i);else{let a=getTView(),o=getLView(),s=getCurrentTNode(),c=isTypeProvider(e)?e:resolveForwardRef(e.provide),l=providerToFactory(e),u=s.providerIndexes&1048575,d=s.directiveStart,f=s.providerIndexes>>20;if(isTypeProvider(e)||!e.multi){let r=new NodeInjectorFactory(l,i,ɵɵdirectiveInject,null),p=indexOf(c,t,i?u:u+f,d);p===-1?(diPublicInInjector(getOrCreateNodeInjectorForNode(s,o),a,c),registerDestroyHooksIfSupported(a,e,t.length),t.push(c),s.directiveStart++,s.directiveEnd++,i&&(s.providerIndexes+=1048576),n.push(r),o.push(r)):(n[p]=r,o[p]=r)}else{let p=indexOf(c,t,u+f,d),m=indexOf(c,t,u,u+f),h=p>=0&&n[p],g=m>=0&&n[m];if(i&&!g||!i&&!h){diPublicInInjector(getOrCreateNodeInjectorForNode(s,o),a,c);let u=multiFactory(i?multiViewProvidersFactoryResolver:multiProvidersFactoryResolver,n.length,i,r,l,e);!i&&g&&(n[m].providerFactory=u),registerDestroyHooksIfSupported(a,e,t.length,0),t.push(c),s.directiveStart++,s.directiveEnd++,i&&(s.providerIndexes+=1048576),n.push(u),o.push(u)}else{let t=multiFactoryAdd(n[i?m:p],l,!i&&r);registerDestroyHooksIfSupported(a,e,p>-1?p:m,t)}!i&&r&&g&&n[m].componentProviders++}}}function registerDestroyHooksIfSupported(e,t,n,r){let i=isTypeProvider(t),a=isClassProvider(t);if(i||a){let o=(a?resolveForwardRef(t.useClass):t).prototype.ngOnDestroy;if(o){let a=e.destroyHooks||=[];if(!i&&t.multi){let e=a.indexOf(n);e===-1?a.push(n,[r,o]):a[e+1].push(r,o)}else a.push(n,o)}}}function multiFactoryAdd(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function indexOf(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function multiProvidersFactoryResolver(e,t,n,r,i){return multiResolve(this.multi,[])}function multiViewProvidersFactoryResolver(e,t,n,r,i){let a=this.multi,o;if(this.providerFactory){let e=this.providerFactory.componentProviders,t=getNodeInjectable(r,r[1],this.providerFactory.index,i);o=t.slice(0,e),multiResolve(a,o);for(let n=e;n<t.length;n++)o.push(t[n])}else o=[],multiResolve(a,o);return o}function multiResolve(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function multiFactory(e,t,n,r,i,a){let o=new NodeInjectorFactory(e,n,ɵɵdirectiveInject,null);return o.multi=[],o.index=t,o.componentProviders=0,multiFactoryAdd(o,i,r&&!n),o}function ɵɵProvidersFeature(e,t){return n=>{n.providersResolver=(t,n)=>providersResolver(t,n?n(e):e,!1),t&&(n.viewProvidersResolver=(e,n)=>providersResolver(e,n?n(t):t,!0))}}function ɵɵExternalStylesFeature(e){return t=>{e.length<1||(t.getExternalStyles=n=>e.map(e=>e+`?ngcomp`+(n?`=`+encodeURIComponent(n):``)+`&e=`+t.encapsulation))}}function ɵɵsetComponentScope(e,t,n){let r=e.ɵcmp;r.directiveDefs=extractDefListOrFactory(t,extractDirectiveDef),r.pipeDefs=extractDefListOrFactory(n,getPipeDef$1)}function ɵɵsetNgModuleScope(e,t){return noSideEffects(()=>{let n=getNgModuleDefOrThrow(e);n.declarations=convertToTypeArray(t.declarations||E),n.imports=convertToTypeArray(t.imports||E),n.exports=convertToTypeArray(t.exports||E),t.bootstrap&&(n.bootstrap=convertToTypeArray(t.bootstrap)),qn.registerNgModule(e,t)})}function convertToTypeArray(e){if(typeof e==`function`)return e;let t=flatten(e);return t.some(isForwardRef)?()=>t.map(resolveForwardRef).map(maybeUnwrapModuleWithProviders):t.map(maybeUnwrapModuleWithProviders)}function maybeUnwrapModuleWithProviders(e){return isModuleWithProviders(e)?e.ngModule:e}function ɵɵpureFunction0(e,t){let n=getBindingRoot()+e,r=getLView();return r[n]===I?updateBinding(r,n,t()):getBinding(r,n)}function ɵɵpureFunction1(e,t,n){return pureFunction1Internal(getLView(),getBindingRoot(),e,t,n)}function ɵɵpureFunction2(e,t,n,r){return pureFunction2Internal(getLView(),getBindingRoot(),e,t,n,r)}function ɵɵpureFunction3(e,t,n,r,i){return pureFunction3Internal(getLView(),getBindingRoot(),e,t,n,r,i)}function ɵɵpureFunction4(e,t,n,r,i,a,o){return pureFunction4Internal(getLView(),getBindingRoot(),e,t,n,r,i,a)}function ɵɵpureFunction5(e,t,n,r,i,a,o){let s=getBindingRoot()+e,c=getLView(),l=bindingUpdated4(c,s,n,r,i,a);return bindingUpdated(c,s+4,o)||l?updateBinding(c,s+5,t(n,r,i,a,o)):getBinding(c,s+5)}function ɵɵpureFunction6(e,t,n,r,i,a,o,s){let c=getBindingRoot()+e,l=getLView(),u=bindingUpdated4(l,c,n,r,i,a);return bindingUpdated2(l,c+4,o,s)||u?updateBinding(l,c+6,t(n,r,i,a,o,s)):getBinding(l,c+6)}function ɵɵpureFunction7(e,t,n,r,i,a,o,s,c){let l=getBindingRoot()+e,u=getLView(),d=bindingUpdated4(u,l,n,r,i,a);return bindingUpdated3(u,l+4,o,s,c)||d?updateBinding(u,l+7,t(n,r,i,a,o,s,c)):getBinding(u,l+7)}function ɵɵpureFunction8(e,t,n,r,i,a,o,s,c,l){let u=getBindingRoot()+e,d=getLView(),f=bindingUpdated4(d,u,n,r,i,a);return bindingUpdated4(d,u+4,o,s,c,l)||f?updateBinding(d,u+8,t(n,r,i,a,o,s,c,l)):getBinding(d,u+8)}function ɵɵpureFunctionV(e,t,n){return pureFunctionVInternal(getLView(),getBindingRoot(),e,t,n)}function getPureFunctionReturnValue(e,t){let n=e[t];return n===I?void 0:n}function pureFunction1Internal(e,t,n,r,i,a){let o=t+n;return bindingUpdated(e,o,i)?updateBinding(e,o+1,a?r.call(a,i):r(i)):getPureFunctionReturnValue(e,o+1)}function pureFunction2Internal(e,t,n,r,i,a,o){let s=t+n;return bindingUpdated2(e,s,i,a)?updateBinding(e,s+2,o?r.call(o,i,a):r(i,a)):getPureFunctionReturnValue(e,s+2)}function pureFunction3Internal(e,t,n,r,i,a,o,s){let c=t+n;return bindingUpdated3(e,c,i,a,o)?updateBinding(e,c+3,s?r.call(s,i,a,o):r(i,a,o)):getPureFunctionReturnValue(e,c+3)}function pureFunction4Internal(e,t,n,r,i,a,o,s,c){let l=t+n;return bindingUpdated4(e,l,i,a,o,s)?updateBinding(e,l+4,c?r.call(c,i,a,o,s):r(i,a,o,s)):getPureFunctionReturnValue(e,l+4)}function pureFunctionVInternal(e,t,n,r,i,a){let o=t+n,s=!1;for(let t=0;t<i.length;t++)bindingUpdated(e,o++,i[t])&&(s=!0);return s?updateBinding(e,o,r.apply(a,i)):getPureFunctionReturnValue(e,o)}function ɵɵpipe(e,t){let n=getTView(),r,i=e+27;n.firstCreatePass?(r=getPipeDef(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];let a=r.factory||(r.factory=getFactoryDef(r.type,!0)),o=setInjectImplementation(ɵɵdirectiveInject);try{let e=setIncludeViewProviders(!1),t=a();return setIncludeViewProviders(e),store(n,getLView(),i,t),t}finally{setInjectImplementation(o)}}function getPipeDef(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function ɵɵpipeBind1(e,t,n){let r=e+27,i=getLView(),a=load(i,r);return isPure(i,r)?pureFunction1Internal(i,getBindingRoot(),t,a.transform,n,a):a.transform(n)}function ɵɵpipeBind2(e,t,n,r){let i=e+27,a=getLView(),o=load(a,i);return isPure(a,i)?pureFunction2Internal(a,getBindingRoot(),t,o.transform,n,r,o):o.transform(n,r)}function ɵɵpipeBind3(e,t,n,r,i){let a=e+27,o=getLView(),s=load(o,a);return isPure(o,a)?pureFunction3Internal(o,getBindingRoot(),t,s.transform,n,r,i,s):s.transform(n,r,i)}function ɵɵpipeBind4(e,t,n,r,i,a){let o=e+27,s=getLView(),c=load(s,o);return isPure(s,o)?pureFunction4Internal(s,getBindingRoot(),t,c.transform,n,r,i,a,c):c.transform(n,r,i,a)}function ɵɵpipeBindV(e,t,n){let r=e+27,i=getLView(),a=load(i,r);return isPure(i,r)?pureFunctionVInternal(i,getBindingRoot(),t,a.transform,n,a):a.transform.apply(a,n)}function isPure(e,t){return e[1].data[t].pure}function ɵɵtemplateRefExtractor(e,t){return createTemplateRef(e,t)}function ɵɵgetComponentDepsFactory(e,t){return()=>{try{return qn.getComponentDependencies(e,t).dependencies}catch(t){throw console.error(`Computing dependencies in local compilation mode for the component "${e.name}" failed with the exception:`,t),t}}}function ɵsetClassDebugInfo(e,t){let n=getComponentDef(e);n!==null&&(n.debugInfo=t)}function ɵɵgetReplaceMetadataURL(e,t,n){let r=`./@ng/component?c=${e}&t=${encodeURIComponent(t)}`;return new URL(r,n).href}function ɵɵreplaceMetadata(e,t,n,r,i=null,a=null){let o=getComponentDef(e);t.apply(null,[e,n,...r]);let{newDef:s,oldDef:c}=mergeWithExistingDefinition(o,getComponentDef(e));if(e[ue]=s,c.tView){let e=getTrackedLViews().values();for(let t of e)isRootView(t)&&t[3]===null&&recreateMatchingLViews(i,a,s,c,t)}}function mergeWithExistingDefinition(e,t){let n={...e};return{newDef:Object.assign(e,t,{directiveDefs:n.directiveDefs,pipeDefs:n.pipeDefs,setInput:n.setInput,type:n.type}),oldDef:n}}function recreateMatchingLViews(e,t,n,r,i){let a=i[1];if(a===r.tView)recreateLView(e,t,n,r,i);else for(let o=27;o<a.bindingStartIndex;o++){let a=i[o];if(isLContainer(a)){isLView(a[0])&&recreateMatchingLViews(e,t,n,r,a[0]);for(let i=10;i<a.length;i++)recreateMatchingLViews(e,t,n,r,a[i])}else isLView(a)&&recreateMatchingLViews(e,t,n,r,a)}}function clearRendererCache(e,t){e.componentReplaced?.(t.id)}function recreateLView(e,t,n,r,i){let a=i[8],o=i[0],s=i[3],c=i[5],l=i[9].get(j,null),recreate=()=>{if(r.encapsulation===F.ShadowDom||r.encapsulation===F.ExperimentalIsolatedShadowDom){let e=o.cloneNode(!1);o.replaceWith(e),o=e}let e=getOrCreateComponentTView(n),t=createLView(s,e,a,getInitialLViewFlagsFromDef(n),o,c,null,null,null,null,null);replaceLViewInTree(s,i,t,c.index),destroyLView(i[1],i),cleanupLView(i);let l=i[10].rendererFactory;clearRendererCache(l,r),t[11]=l.createRenderer(o,n),removeViewFromDOM(i[1],i),resetProjectionState(c),renderView(e,t,a),refreshView(e,t,e.template,a)};l===null?executeWithInvalidateFallback(e,t,recreate):l.run(()=>executeWithInvalidateFallback(e,t,recreate))}function executeWithInvalidateFallback(e,t,n){try{n()}catch(n){let r=n;if(t!==null&&r.message){let n=r.message+(r.stack?`
6
+ `+r.stack:``);e?.hot?.send?.(`angular:invalidate`,{id:t,message:n,error:!0})}throw n}}function replaceLViewInTree(e,t,n,r){for(let r=27;r<e[1].bindingStartIndex;r++){let i=e[r];if((isLView(i)||isLContainer(i))&&i[4]===t){i[4]=n;break}}e[12]===t&&(e[12]=n),e[13]===t&&(e[13]=n),n[4]=t[4],t[4]=null,e[r]=n}function resetProjectionState(e){if(e.projection!==null){for(let t of e.projection)isTNodeShape(t)&&(t.projectionNext=null,t.flags&=-3);e.projection=null}}function getJitOptions(){return fi}function enqueueModuleForDelayedScoping(e,t){pi.push({moduleType:e,ngModule:t})}function flushModuleScopingQueueAsMuchAsPossible(){if(!mi){mi=!0;try{for(let e=pi.length-1;e>=0;e--){let{moduleType:t,ngModule:n}=pi[e];n.declarations&&n.declarations.every(isResolvedDeclaration)&&(pi.splice(e,1),setScopeOnDeclaredComponents(t,n))}}finally{mi=!1}}}function isResolvedDeclaration(e){return Array.isArray(e)?e.every(isResolvedDeclaration):!!resolveForwardRef(e)}function compileNgModule(e,t={}){compileNgModuleDefs(e,t),t.id!==void 0&&registerNgModuleType(e,t.id),enqueueModuleForDelayedScoping(e,t)}function compileNgModuleDefs(e,t,n=!1){let r=flatten(t.declarations||E),i=null;Object.defineProperty(e,pe,{configurable:!0,get:()=>(i===null&&(i=getCompilerFacade({usage:0,kind:`NgModule`,type:e}).compileNgModule(K,`ng:///${e.name}/ɵmod.js`,{type:e,bootstrap:flatten(t.bootstrap||E).map(resolveForwardRef),declarations:r.map(resolveForwardRef),imports:flatten(t.imports||E).map(resolveForwardRef).map(expandModuleWithProviders),exports:flatten(t.exports||E).map(resolveForwardRef).map(expandModuleWithProviders),schemas:t.schemas?flatten(t.schemas):null,id:t.id||null}),i.schemas||(i.schemas=[])),i)});let a=null;Object.defineProperty(e,w,{get:()=>{if(a===null){let t=getCompilerFacade({usage:0,kind:`NgModule`,type:e});a=t.compileFactory(K,`ng:///${e.name}/ɵfac.js`,{name:e.name,type:e,deps:reflectDependencies(e),target:t.FactoryTarget.NgModule,typeArgumentCount:0})}return a},configurable:!1});let o=null;Object.defineProperty(e,le,{get:()=>{if(o===null){let n={name:e.name,type:e,providers:t.providers||E,imports:[(t.imports||E).map(resolveForwardRef),(t.exports||E).map(resolveForwardRef)]};o=getCompilerFacade({usage:0,kind:`NgModule`,type:e}).compileInjector(K,`ng:///${e.name}/ɵinj.js`,n)}return o},configurable:!1})}function resetCompiledComponents(){pi.length=0,cr.clear()}function setScopeOnDeclaredComponents(e,t){let n=flatten(t.declarations||E),r=transitiveScopesFor(e);n.forEach(t=>{t=resolveForwardRef(t),t.hasOwnProperty(ue)?patchComponentDefWithScope(getComponentDef(t),r):!t.hasOwnProperty(de)&&!t.hasOwnProperty(fe)&&(t.ngSelectorScope=e)})}function patchComponentDefWithScope(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(e=>e.hasOwnProperty(ue)?getComponentDef(e):getDirectiveDef(e)).filter(e=>!!e),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(e=>getPipeDef$1(e)),e.schemas=t.schemas,e.tView=null}function transitiveScopesFor(e){if(isNgModule(e)){let t=qn.getNgModuleScope(e);return{schemas:getNgModuleDefOrThrow(e).schemas||null,...t}}if(isStandalone(e)){if((getComponentDef(e)||getDirectiveDef(e))!==null)return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([e]),pipes:new Set}};if(getPipeDef$1(e)!==null)return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([e])}}}throw Error(`${e.name} does not have a module def (ɵmod property)`)}function expandModuleWithProviders(e){return isModuleWithProviders(e)?e.ngModule:e}function compileComponent(e,t){let n=null;maybeQueueResolutionOfComponentResources(e,t),addDirectiveFactoryDef(e,t),Object.defineProperty(e,ue,{get:()=>{if(n===null){let r=getCompilerFacade({usage:0,kind:`component`,type:e});if(componentNeedsResolution(t)){let n=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&n.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&n.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),t.styleUrl&&n.push(` - styleUrl: ${t.styleUrl}`),n.push(`Did you run and wait for 'resolveComponentResources()'?`),Error(n.join(`
7
+ `))}let i=getJitOptions(),a=t.preserveWhitespaces;a===void 0&&(a=i!==null&&i.preserveWhitespaces!==void 0&&i.preserveWhitespaces);let o=t.encapsulation;o===void 0&&(o=i!==null&&i.defaultEncapsulation!==void 0?i.defaultEncapsulation:F.Emulated);let s=t.templateUrl||`ng:///${e.name}/template.html`,c=directiveMetadata(e,t),l={...c,typeSourceSpan:r.createParseSourceSpan(`Component`,e.name,s),template:t.template||``,preserveWhitespaces:a,styles:typeof t.styles==`string`?[t.styles]:t.styles||E,animations:t.animations,declarations:[],changeDetection:t.changeDetection,encapsulation:o,viewProviders:t.viewProviders||null,hasDirectiveDependencies:!c.isStandalone||t.imports!=null&&t.imports.length>0};hi++;try{if(l.usesInheritance&&addDirectiveDefToUndecoratedParents(e),n=r.compileComponent(K,s,l),l.isStandalone){let r=flatten(t.imports||E),{directiveDefs:i,pipeDefs:a}=getStandaloneDefFunctions(e,r);n.directiveDefs=i,n.pipeDefs=a,n.dependencies=()=>r.map(resolveForwardRef)}}finally{hi--}if(hi===0&&flushModuleScopingQueueAsMuchAsPossible(),hasSelectorScope(e)){let t=transitiveScopesFor(e.ngSelectorScope);patchComponentDefWithScope(n,t)}if(t.schemas){if(l.isStandalone)n.schemas=t.schemas;else throw Error(`The 'schemas' was specified for the ${stringifyForError(e)} but is only valid on a component that is standalone.`)}else l.isStandalone&&(n.schemas=[])}return n},set:e=>{n=e},configurable:!1})}function getStandaloneDefFunctions(e,t){let directiveDefs=()=>isComponent(e)?[...qn.getStandaloneComponentScope(e,t).compilation.directives].map(e=>getComponentDef(e)||getDirectiveDef(e)).filter(e=>e!==null):[],pipeDefs=()=>isComponent(e)?[...qn.getStandaloneComponentScope(e,t).compilation.pipes].map(e=>getPipeDef$1(e)).filter(e=>e!==null):[];return{directiveDefs,pipeDefs}}function hasSelectorScope(e){return e.ngSelectorScope!==void 0}function compileDirective(e,t){let n=null;addDirectiveFactoryDef(e,t||{}),Object.defineProperty(e,de,{get:()=>{if(n===null){let r=getDirectiveMetadata(e,t||{});n=getCompilerFacade({usage:0,kind:`directive`,type:e}).compileDirective(K,r.sourceMapUrl,r.metadata)}return n},configurable:!1})}function getDirectiveMetadata(e,t){let n=e&&e.name,r=`ng:///${n}/ɵdir.js`,i=getCompilerFacade({usage:0,kind:`directive`,type:e}),a=directiveMetadata(e,t);return a.typeSourceSpan=i.createParseSourceSpan(`Directive`,n,r),a.usesInheritance&&addDirectiveDefToUndecoratedParents(e),{metadata:a,sourceMapUrl:r}}function addDirectiveFactoryDef(e,t){let n=null;Object.defineProperty(e,w,{get:()=>{if(n===null){let r=getDirectiveMetadata(e,t),i=getCompilerFacade({usage:0,kind:`directive`,type:e});n=i.compileFactory(K,`ng:///${e.name}/ɵfac.js`,{name:r.metadata.name,type:r.metadata.type,typeArgumentCount:0,deps:reflectDependencies(e),target:i.FactoryTarget.Directive})}return n},configurable:!1})}function extendsDirectlyFromObject(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function directiveMetadata(e,t){let n=getReflect(),r=n.ownPropMetadata(e);return{name:e.name,type:e,selector:t.selector===void 0?null:t.selector,host:t.host||T,propMetadata:r,inputs:t.inputs||E,outputs:t.outputs||E,queries:extractQueriesMetadata(e,r,isContentQuery),lifecycle:{usesOnChanges:n.hasLifecycleHook(e,`ngOnChanges`)},controlCreate:null,typeSourceSpan:null,usesInheritance:!extendsDirectlyFromObject(e),exportAs:extractExportAs(t.exportAs),providers:t.providers||null,viewQueries:extractQueriesMetadata(e,r,isViewQuery),isStandalone:t.standalone===void 0||!!t.standalone,isSignal:!!t.signals,hostDirectives:t.hostDirectives?.map(e=>typeof e==`function`?{directive:e}:e)||null}}function addDirectiveDefToUndecoratedParents(e){let t=Object.prototype,n=Object.getPrototypeOf(e.prototype).constructor;for(;n&&n!==t;)!getDirectiveDef(n)&&!getComponentDef(n)&&shouldAddAbstractDirective(n)&&compileDirective(n,null),n=Object.getPrototypeOf(n)}function convertToR3QueryPredicate(e){return typeof e==`string`?splitByComma(e):resolveForwardRef(e)}function convertToR3QueryMetadata(e,t){return{propertyName:e,predicate:convertToR3QueryPredicate(t.selector),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly,isSignal:!!t.isSignal}}function extractQueriesMetadata(e,t,n){let r=[],i=[];for(let a in t)if(t.hasOwnProperty(a)){let o=t[a];o.forEach(t=>{if(n(t)){if(!t.selector)throw Error(`Can't construct a query for the property "${a}" of "${stringifyForError(e)}" since the query selector wasn't defined.`);if(o.some(isInputAnnotation))throw Error(`Cannot combine @Input decorators with query decorators`);let n=convertToR3QueryMetadata(a,t);n.isSignal?r.push(n):i.push(n)}})}return[...r,...i]}function extractExportAs(e){return e===void 0?null:splitByComma(e)}function isContentQuery(e){let t=e.ngMetadataName;return t===`ContentChild`||t===`ContentChildren`}function isViewQuery(e){let t=e.ngMetadataName;return t===`ViewChild`||t===`ViewChildren`}function isInputAnnotation(e){return e.ngMetadataName===`Input`}function splitByComma(e){return e.split(`,`).map(e=>e.trim())}function shouldAddAbstractDirective(e){let t=getReflect();if(gi.some(n=>t.hasLifecycleHook(e,n)))return!0;let n=t.propMetadata(e);for(let e in n){let t=n[e];for(let e=0;e<t.length;e++){let n=t[e],r=n.ngMetadataName;if(isInputAnnotation(n)||isContentQuery(n)||isViewQuery(n)||r===`Output`||r===`HostBinding`||r===`HostListener`)return!0}}return!1}function compilePipe(e,t){let n=null,r=null;Object.defineProperty(e,w,{get:()=>{if(r===null){let n=getPipeMetadata(e,t),i=getCompilerFacade({usage:0,kind:`pipe`,type:n.type});r=i.compileFactory(K,`ng:///${n.name}/ɵfac.js`,{name:n.name,type:n.type,typeArgumentCount:0,deps:reflectDependencies(e),target:i.FactoryTarget.Pipe})}return r},configurable:!1}),Object.defineProperty(e,fe,{get:()=>{if(n===null){let r=getPipeMetadata(e,t);n=getCompilerFacade({usage:0,kind:`pipe`,type:r.type}).compilePipe(K,`ng:///${r.name}/ɵpipe.js`,r)}return n},configurable:!1})}function getPipeMetadata(e,t){return{type:e,name:e.name,pipeName:t.name,pure:t.pure===void 0||t.pure,isStandalone:t.standalone===void 0||!!t.standalone}}function provideZonelessChangeDetection(){return performanceMarkFeature(`NgZoneless`),makeEnvironmentProviders([...provideZonelessChangeDetectionInternal(),[]])}function provideZonelessChangeDetectionInternal(){return[{provide:ChangeDetectionScheduler,useExisting:Ci},{provide:j,useClass:NoopNgZone},{provide:qe,useValue:!0}]}function getGlobalLocale(){return typeof $localize<`u`&&$localize.locale||`en-US`}var Ze,Qe,$e,et,tt,nt,rt,it,at,ot,st,ct,lt,ut,ReflectionCapabilities,SimpleChange,dt,ft,pt,profiler,M,mt,NodeInjectorFactory,ht,gt,_t,vt,N,NodeInjector,yt,bt,xt,St,Ct,QueryList,wt,Tt,Et,Dt,Ot,kt,At,jt,Mt,Nt,Pt,Ft,It,Lt,Rt,zt,Bt,Vt,P,Ht,Ut,Wt,DeferEventEntry,Gt,_stashEventListenerImpl,Kt,qt,Jt,_retrieveHydrationInfoImpl,F,Yt,Xt,Zt,Qt,$t,SafeValueImpl,DOMParserHelper,InertDocumentHelper,en,tn,nn,rn,an,on,sn,cn,SanitizingHtmlSerializer,ln,un,dn,fn,pn,mn,hn,gn,_n,I,vn,L,yn,bn,xn,Sn,Cn,R,noOpAnimationComplete,wn,Tn,En,Dn,On,kn,An,jn,Mn,Nn,Pn,AfterRenderSequence,Fn,In,Ln,_applyRootElementTransformImpl,Rn,zn,Bn,Vn,ViewRef,z,_prepareI18nBlockForHydrationImpl,_claimDehydratedIcuCaseImpl,_findMatchingDehydratedViewImpl,_findAndReconcileMatchingDehydratedViewsImpl,Hn,Un,_NullComponentFactoryResolver,Wn,RendererFactory2,Gn,Kn,DepsTracker,qn,Jn,ChainedInjector,ControlDirectiveHostImpl,Yn,ComponentFactoryResolver,ComponentFactory,ComponentRef,B,Xn,Zn,_populateDehydratedViewsInLContainer,Qn,$n,TQueryMetadata_,er,tr,nr,rr,ir,ar,or,NgModuleRef,EnvironmentNgModuleRefAdapter,sr,cr,lr,V,ur,dr,H,fr,pr,mr,hr,gr,_r,vr,yr,br,xr,Sr,_requestIdleCallback,_cancelIdleCallback,Cr,wr,Tr,Er,Dr,Or,kr,Ar,jr,Mr,Nr,Pr,Fr,Ir,Lr,LiveCollection,UniqueValueMultiKeyMap,RepeaterContext,RepeaterMetadata,LiveCollectionLContainerImpl,_locateOrCreateElementNode,_locateOrCreateElementContainerNode,Rr,zr,Br,U,Vr,Hr,Ur,Wr,Gr,W,Kr,qr,Jr,_locateOrCreateNode,Yr,Xr,Zr,Qr,$r,ei,ti,ni,ri,ii,ai,oi,si,ci,li,ui,G,_locateOrCreateTextNode,di,K,fi,pi,mi,hi,gi,_i,vi,yi,bi,xi,Si,Ci,q,wi;function init__debug_node_chunk(){return(init__debug_node_chunk=t((()=>{init__effect_chunk2(),init__effect_chunk(),init_Subject(),init_Subscription(),init_map(),Ze=`__annotations__`,Qe=`__parameters__`,$e=`__prop__metadata__`,et=attachInjectFlag(makeParamDecorator(`Inject`,e=>({token:e})),-1),tt=attachInjectFlag(makeParamDecorator(`Optional`),8),nt=attachInjectFlag(makeParamDecorator(`Self`),2),rt=attachInjectFlag(makeParamDecorator(`SkipSelf`),4),it=attachInjectFlag(makeParamDecorator(`Host`),1),at={ɵɵdefineInjectable,ɵɵdefineInjector,ɵɵinject,ɵɵinvalidFactoryDep,resolveForwardRef},ot=Function,st=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,ct=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,lt=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,ut=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/,ReflectionCapabilities=class{_reflect;constructor(e){this._reflect=e||C.Reflect}factory(e){return(...t)=>new e(...t)}_zipTypesAndAnnotations(e,t){let n;n=newArray(e===void 0?t.length:e.length);for(let r=0;r<n.length;r++)e===void 0?n[r]=[]:e[r]&&e[r]!=Object?n[r]=[e[r]]:n[r]=[],t&&t[r]!=null&&(n[r]=n[r].concat(t[r]));return n}_ownParameters(e,t){if(isDelegateCtor(e.toString()))return null;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;let n=e.ctorParameters;if(n&&n!==t.ctorParameters){let e=typeof n==`function`?n():n,t=e.map(e=>e&&e.type),r=e.map(e=>e&&convertTsickleDecoratorIntoMetadata(e.decorators));return this._zipTypesAndAnnotations(t,r)}let r=e.hasOwnProperty(Qe)&&e[Qe],i=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata(`design:paramtypes`,e);return i||r?this._zipTypesAndAnnotations(i,r):newArray(e.length)}parameters(e){if(!isType(e))return[];let t=getParentCtor(e),n=this._ownParameters(e,t);return!n&&t!==Object&&(n=this.parameters(t)),n||[]}_ownAnnotations(e,t){if(e.annotations&&e.annotations!==t.annotations){let t=e.annotations;return typeof t==`function`&&t.annotations&&(t=t.annotations),t}return e.decorators&&e.decorators!==t.decorators?convertTsickleDecoratorIntoMetadata(e.decorators):e.hasOwnProperty(Ze)?e[Ze]:null}annotations(e){if(!isType(e))return[];let t=getParentCtor(e),n=this._ownAnnotations(e,t)||[];return(t===Object?[]:this.annotations(t)).concat(n)}_ownPropMetadata(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){let t=e.propMetadata;return typeof t==`function`&&t.propMetadata&&(t=t.propMetadata),t}if(e.propDecorators&&e.propDecorators!==t.propDecorators){let t=e.propDecorators,n={};return Object.keys(t).forEach(e=>{n[e]=convertTsickleDecoratorIntoMetadata(t[e])}),n}return e.hasOwnProperty($e)?e[$e]:null}propMetadata(e){if(!isType(e))return{};let t=getParentCtor(e),n={};if(t!==Object){let e=this.propMetadata(t);Object.keys(e).forEach(t=>{n[t]=e[t]})}let r=this._ownPropMetadata(e,t);return r&&Object.keys(r).forEach(e=>{let t=[];n.hasOwnProperty(e)&&t.push(...n[e]),t.push(...r[e]),n[e]=t}),n}ownPropMetadata(e){return isType(e)&&this._ownPropMetadata(e,getParentCtor(e))||{}}hasLifecycleHook(e,t){return e instanceof ot&&t in e.prototype}},SimpleChange=class{previousValue;currentValue;firstChange;constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}},dt=(()=>{let ɵɵNgOnChangesFeatureImpl=()=>NgOnChangesFeatureImpl;return ɵɵNgOnChangesFeatureImpl.ngInherit=!0,ɵɵNgOnChangesFeatureImpl})(),ft=`__ngSimpleChanges__`,pt=[],profiler=function(e,t=null,n){for(let r=0;r<pt.length;r++){let i=pt[r];i(e,t,n)}},M=function(e){return e[e.TemplateCreateStart=0]=`TemplateCreateStart`,e[e.TemplateCreateEnd=1]=`TemplateCreateEnd`,e[e.TemplateUpdateStart=2]=`TemplateUpdateStart`,e[e.TemplateUpdateEnd=3]=`TemplateUpdateEnd`,e[e.LifecycleHookStart=4]=`LifecycleHookStart`,e[e.LifecycleHookEnd=5]=`LifecycleHookEnd`,e[e.OutputStart=6]=`OutputStart`,e[e.OutputEnd=7]=`OutputEnd`,e[e.BootstrapApplicationStart=8]=`BootstrapApplicationStart`,e[e.BootstrapApplicationEnd=9]=`BootstrapApplicationEnd`,e[e.BootstrapComponentStart=10]=`BootstrapComponentStart`,e[e.BootstrapComponentEnd=11]=`BootstrapComponentEnd`,e[e.ChangeDetectionStart=12]=`ChangeDetectionStart`,e[e.ChangeDetectionEnd=13]=`ChangeDetectionEnd`,e[e.ChangeDetectionSyncStart=14]=`ChangeDetectionSyncStart`,e[e.ChangeDetectionSyncEnd=15]=`ChangeDetectionSyncEnd`,e[e.AfterRenderHooksStart=16]=`AfterRenderHooksStart`,e[e.AfterRenderHooksEnd=17]=`AfterRenderHooksEnd`,e[e.ComponentStart=18]=`ComponentStart`,e[e.ComponentEnd=19]=`ComponentEnd`,e[e.DeferBlockStateStart=20]=`DeferBlockStateStart`,e[e.DeferBlockStateEnd=21]=`DeferBlockStateEnd`,e[e.DynamicComponentStart=22]=`DynamicComponentStart`,e[e.DynamicComponentEnd=23]=`DynamicComponentEnd`,e[e.HostBindingsUpdateStart=24]=`HostBindingsUpdateStart`,e[e.HostBindingsUpdateEnd=25]=`HostBindingsUpdateEnd`,e}(M||{}),mt=-1,NodeInjectorFactory=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(e,t,n,r){this.factory=e,this.name=r,this.canSeeViewProviders=t,this.injectImpl=n}},ht=!0,gt=255,_t=5,vt=0,N={},NodeInjector=class{_tNode;_lView;constructor(e,t){this._tNode=e,this._lView=t}get(e,t,n){return getOrCreateInjectable(this._tNode,this._lView,e,convertToBitFlags(n),t)}},yt=makeParamDecorator(`Attribute`,e=>({attributeName:e,__NG_ELEMENT_ID__:()=>ɵɵinjectAttribute(e)})),bt=null,xt=getClosureSafeProperty({provide:String,useValue:getClosureSafeProperty}),St=makeDecorator(`Injectable`,void 0,void 0,void 0,(e,t)=>compileInjectable(e,t)),Ct=(()=>{class ElementRef{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=injectElementRef}return ElementRef})(),QueryList=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 te}constructor(e=!1){this._emitDistinctChangesOnly=e}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){this.dirty=!1;let n=flatten(e);(this._changesDetected=!arrayEquals(this._results,n,t))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=symbolIterator},wt=function(e){return e[e.OnPush=0]=`OnPush`,e[e.Eager=1]=`Eager`,e[e.Default=1]=`Default`,e}(wt||{}),Tt=new Map,Et=0,Dt=`__ngContext__`,Ot=void 0,kt=new InjectionToken(``,{factory:()=>At}),At=`ng`,jt=new InjectionToken(``),Mt=new InjectionToken(``,{providedIn:`platform`,factory:()=>`unknown`}),Nt=new InjectionToken(``),Pt=new InjectionToken(``,{factory:()=>inject(k).body?.querySelector(`[ngCspNonce]`)?.getAttribute(`ngCspNonce`)||null}),Ft=(()=>{class TransferState{static ɵprov=ɵɵdefineInjectable({token:TransferState,providedIn:`root`,factory:()=>{let e=new TransferState;return e.store=retrieveTransferredState(inject(k),inject(kt)),e}});store={};onSerializeCallbacks={};get(e,t){return this.store[e]===void 0?t:this.store[e]}set(e,t){this.store[e]=t}remove(e){delete this.store[e]}hasKey(e){return this.store.hasOwnProperty(e)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(e,t){this.onSerializeCallbacks[e]=t}toJson(){for(let e in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(e))try{this.store[e]=this.onSerializeCallbacks[e]()}catch(e){console.warn(`Exception in onSerialize callback: `,e)}return JSON.stringify(this.store).replace(/</g,`\\u003C`).replace(/\//g,`\\u002F`)}}return TransferState})(),It=!1,Lt=new InjectionToken(``,{factory:()=>It}),Rt=new InjectionToken(``),zt={passive:!0,capture:!0},Bt=new WeakMap,Vt=new WeakMap,P=new WeakMap,Ht=[`click`,`keydown`],Ut=[`mouseenter`,`mouseover`,`focusin`],Wt=new Map,DeferEventEntry=class{callbacks=new Set;listener=()=>{for(let e of this.callbacks)e()}},Gt=new WeakMap,_stashEventListenerImpl=(e,t,n,r)=>{},Kt=new InjectionToken(``),qt=`__nghDeferData__`,Jt=makeStateKey(qt),_retrieveHydrationInfoImpl=()=>null,F=function(e){return e[e.Emulated=0]=`Emulated`,e[e.None=2]=`None`,e[e.ShadowDom=3]=`ShadowDom`,e[e.ExperimentalIsolatedShadowDom=4]=`ExperimentalIsolatedShadowDom`,e}(F||{}),Yt=`svg`,Xt=`math`,Zt={"http://www.w3.org/2000/svg":Yt,"http://www.w3.org/1998/Math/MathML":Xt},SafeValueImpl=class{changingThisBreaksApplicationSecurity;constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${oe})`}},DOMParserHelper=class{inertDocumentHelper;constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=`<body><remove></remove>`+e;try{let t=new window.DOMParser().parseFromString(trustedHTMLFromString(e),`text/html`).body;return t===null?this.inertDocumentHelper.getInertBodyElement(e):(t.firstChild?.remove(),t)}catch{return null}}},InertDocumentHelper=class{defaultDoc;inertDocument;constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument(`sanitization-inert`)}getInertBodyElement(e){let t=this.inertDocument.createElement(`template`);return t.innerHTML=trustedHTMLFromString(e),t}},en=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,tn=tagSet(`area,br,col,hr,img,wbr`),nn=tagSet(`colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr`),rn=tagSet(`rp,rt`),an=merge(tn,merge(nn,tagSet(`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`)),merge(rn,tagSet(`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`)),merge(rn,nn)),on=tagSet(`background,cite,href,itemtype,longdesc,poster,src,xlink:href`),sn=merge(on,tagSet(`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`),tagSet(`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`)),cn=tagSet(`script,style,template`),SanitizingHtmlSerializer=class{sanitizedSomething=!1;buf=[];sanitizeChildren(e){let t=e.firstChild,n=!0,r=[];for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)r.push(t),t=getFirstChild(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=getNextSibling(t);if(e){t=e;break}t=r.pop()}return this.buf.join(``)}startElement(e){let t=getNodeName(e).toLowerCase();if(!an.hasOwnProperty(t))return this.sanitizedSomething=!0,!cn.hasOwnProperty(t);this.buf.push(`<`),this.buf.push(t);let n=e.attributes;for(let e=0;e<n.length;e++){let t=n.item(e),r=t.name,i=r.toLowerCase();if(!sn.hasOwnProperty(i)){this.sanitizedSomething=!0;continue}let a=t.value;on[i]&&(a=_sanitizeUrl(a)),this.buf.push(` `,r,`="`,encodeEntities(a),`"`)}return this.buf.push(`>`),!0}endElement(e){let t=getNodeName(e).toLowerCase();an.hasOwnProperty(t)&&!tn.hasOwnProperty(t)&&(this.buf.push(`</`),this.buf.push(t),this.buf.push(`>`))}chars(e){this.buf.push(encodeEntities(e))}},ln=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,un=/([^\#-~ |!])/g,fn=/^>|^->|<!--|-->|--!>|<!-$/g,pn=/(<|>)/g,mn=`​$1​`,hn=new Set([`href`,`xlink:href`]),gn={animate:{to:hn,values:hn,from:hn},set:{to:hn}},_n=`ng-template`,I={},vn=function(e){return e[e.None=0]=`None`,e[e.SignalBased=1]=`SignalBased`,e[e.HasDecoratorInputTransform=2]=`HasDecoratorInputTransform`,e}(vn||{}),L=function(e){return e[e.Important=1]=`Important`,e[e.DashCase=2]=`DashCase`,e}(L||{}),bn=new InjectionToken(``,{factory:()=>!1}),xn=new InjectionToken(``,{factory:()=>Sn}),Sn=4e3,Cn=!1,R=typeof document<`u`&&typeof document?.documentElement?.getAnimations==`function`,noOpAnimationComplete=()=>{},wn=new WeakMap,Tn=new WeakMap,En=new WeakMap,Dn=new WeakSet,On=new Set,kn=function(e){return e[e.CHANGE_DETECTION=0]=`CHANGE_DETECTION`,e[e.AFTER_NEXT_RENDER=1]=`AFTER_NEXT_RENDER`,e}(kn||{}),An=new InjectionToken(``),jn=new Set,Mn=(()=>{class AfterRenderManager{impl=null;execute(){this.impl?.execute()}static ɵprov=ɵɵdefineInjectable({token:AfterRenderManager,providedIn:`root`,factory:()=>new AfterRenderManager})}return AfterRenderManager})(),Nn=[0,1,2,3],Pn=(()=>{class AfterRenderImpl{ngZone=inject(j);scheduler=inject(ChangeDetectionScheduler);errorHandler=inject(ErrorHandler,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){inject(An,{optional:!0})}execute(){let e=this.sequences.size>0;e&&profiler(M.AfterRenderHooksStart),this.executing=!0;for(let e of Nn)for(let t of this.sequences)if(!t.erroredOrDestroyed&&t.hooks[e])try{t.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let n=t.hooks[e];return n(t.pipelinedValue)},t.snapshot))}catch(e){t.erroredOrDestroyed=!0,this.errorHandler?.handleError(e)}this.executing=!1;for(let e of this.sequences)e.afterRun(),e.once&&(this.sequences.delete(e),e.destroy());for(let e of this.deferredRegistrations)this.sequences.add(e);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&profiler(M.AfterRenderHooksEnd)}register(e){let{view:t}=e;t===void 0?this.executing?this.deferredRegistrations.add(e):this.addSequence(e):((t[25]??=[]).push(e),markAncestorsForTraversal(t),t[2]|=8192)}addSequence(e){this.sequences.add(e),this.scheduler.notify(7)}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,t){return t?t.run(kn.AFTER_NEXT_RENDER,e):e()}static ɵprov=ɵɵdefineInjectable({token:AfterRenderImpl,providedIn:`root`,factory:()=>new AfterRenderImpl})}return AfterRenderImpl})(),AfterRenderSequence=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(e,t,n,r,i,a=null){this.impl=e,this.hooks=t,this.view=n,this.once=r,this.snapshot=a,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 e=this.view?.[25];e&&(this.view[25]=e.filter(e=>e!==this))}},Fn=new InjectionToken(``,{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:inject(EnvironmentInjector)})}),In=getInsertInFrontOfRNodeWithNoI18n,_applyRootElementTransformImpl=()=>null,Rn=[],zn={...o,consumerIsAlwaysLive:!0,kind:`template`,consumerMarkedDirty:e=>{markAncestorsForTraversal(e.lView)},consumerOnSignalRead(){this.lView[24]=this}},Bn={...o,consumerIsAlwaysLive:!0,kind:`template`,consumerMarkedDirty:e=>{let t=getLViewParent(e.lView);for(;t&&!viewShouldHaveReactiveConsumer(t[1]);)t=getLViewParent(t);t&&markViewForRefresh(t)},consumerOnSignalRead(){this.lView[24]=this}},Vn=100,ViewRef=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let e=this._lView,t=e[1];return collectNativeNodes(t,e,t.firstChild,[])}constructor(e,t){this._lView=e,this._cdRefInjectingView=t}get context(){return this._lView[8]}set context(e){this._lView[8]=e}get destroyed(){return isDestroyed(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[3];if(isLContainer(e)){let t=e[8],n=t?t.indexOf(this):-1;n>-1&&(detachView(e,n),removeFromArray(t,n))}this._attachedToViewContainer=!1}destroyLView(this._lView[1],this._lView)}onDestroy(e){storeLViewOnDestroy(this._lView,e)}markForCheck(){markViewDirty(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[2]&=-129}reattach(){updateAncestorTraversalFlagsOnAttach(this._lView),this._lView[2]|=128}detectChanges(){this._lView[2]|=1024,detectChangesInternal(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new RuntimeError(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=isRootView(this._lView),t=this._lView[16];t!==null&&!e&&detachMovedView(t,this._lView),detachViewFromDOM(this._lView[1],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new RuntimeError(902,!1);this._appRef=e;let t=isRootView(this._lView),n=this._lView[16];n!==null&&!t&&trackMovedView(n,this._lView),updateAncestorTraversalFlagsOnAttach(this._lView)}},z=(()=>{class TemplateRef{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=injectTemplateRef;constructor(e,t,n){this._declarationLView=e,this._declarationTContainer=t,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,t){return this.createEmbeddedViewImpl(e,t)}createEmbeddedViewImpl(e,t,n){let r=createAndRenderEmbeddedLView(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:t,dehydratedView:n});return new ViewRef(r)}}return TemplateRef})(),_prepareI18nBlockForHydrationImpl=()=>{},_claimDehydratedIcuCaseImpl=()=>{},_findMatchingDehydratedViewImpl=()=>null,_findAndReconcileMatchingDehydratedViewsImpl=()=>null,Hn=class ComponentRef{},Un=class ComponentFactory{},_NullComponentFactoryResolver=class{resolveComponentFactory(e){throw new RuntimeError(917,!1)}},Wn=class ComponentFactoryResolver{static NULL=new _NullComponentFactoryResolver},RendererFactory2=class{},Gn=(()=>{class Renderer2{destroyNode=null;static __NG_ELEMENT_ID__=()=>injectRenderer2()}return Renderer2})(),Kn=(()=>{class Sanitizer{static ɵprov=ɵɵdefineInjectable({token:Sanitizer,providedIn:`root`,factory:()=>null})}return Sanitizer})(),DepsTracker=class{ownerNgModule=new WeakMap;ngModulesWithSomeUnresolvedDecls=new Set;ngModulesScopeCache=new WeakMap;standaloneComponentsScopeCache=new WeakMap;resolveNgModulesDecls(){if(this.ngModulesWithSomeUnresolvedDecls.size!==0){for(let e of this.ngModulesWithSomeUnresolvedDecls){let t=getNgModuleDef(e);if(t?.declarations)for(let n of maybeUnwrapFn(t.declarations))isComponent(n)&&this.ownerNgModule.set(n,e)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(e,t){this.resolveNgModulesDecls();let n=getComponentDef(e);if(n===null)throw Error(`Attempting to get component dependencies for a type that is not a component: ${e}`);if(n.standalone){let n=this.getStandaloneComponentScope(e,t);return n.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...n.compilation.directives,...n.compilation.pipes,...n.compilation.ngModules]}}{if(!this.ownerNgModule.has(e))return{dependencies:[]};let t=this.getNgModuleScope(this.ownerNgModule.get(e));return t.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...t.compilation.directives,...t.compilation.pipes]}}}registerNgModule(e,t){if(!isNgModule(e))throw Error(`Attempting to register a Type which is not NgModule as NgModule: ${e}`);this.ngModulesWithSomeUnresolvedDecls.add(e)}clearScopeCacheFor(e){this.ngModulesScopeCache.delete(e),this.standaloneComponentsScopeCache.delete(e)}getNgModuleScope(e){if(this.ngModulesScopeCache.has(e))return this.ngModulesScopeCache.get(e);let t=this.computeNgModuleScope(e);return this.ngModulesScopeCache.set(e,t),t}computeNgModuleScope(e){let t=getNgModuleDefOrThrow(e),n={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(let e of maybeUnwrapFn(t.imports))if(isNgModule(e)){let t=this.getNgModuleScope(e);addSet(t.exported.directives,n.compilation.directives),addSet(t.exported.pipes,n.compilation.pipes)}else if(isStandalone(e)){if(isDirective(e)||isComponent(e))n.compilation.directives.add(e);else if(isPipe(e))n.compilation.pipes.add(e);else throw new RuntimeError(980,`The standalone imported type is neither a component nor a directive nor a pipe`)}else{n.compilation.isPoisoned=!0;break}if(!n.compilation.isPoisoned)for(let e of maybeUnwrapFn(t.declarations)){if(isNgModule(e)||isStandalone(e)){n.compilation.isPoisoned=!0;break}isPipe(e)?n.compilation.pipes.add(e):n.compilation.directives.add(e)}for(let e of maybeUnwrapFn(t.exports))if(isNgModule(e)){let t=this.getNgModuleScope(e);addSet(t.exported.directives,n.exported.directives),addSet(t.exported.pipes,n.exported.pipes),addSet(t.exported.directives,n.compilation.directives),addSet(t.exported.pipes,n.compilation.pipes)}else isPipe(e)?n.exported.pipes.add(e):n.exported.directives.add(e);return n}getStandaloneComponentScope(e,t){if(this.standaloneComponentsScopeCache.has(e))return this.standaloneComponentsScopeCache.get(e);let n=this.computeStandaloneComponentScope(e,t);return this.standaloneComponentsScopeCache.set(e,n),n}computeStandaloneComponentScope(e,t){let n={compilation:{directives:new Set([e]),pipes:new Set,ngModules:new Set}};for(let r of flatten(t??[])){let t=resolveForwardRef(r);try{verifyStandaloneImport(t,e)}catch{return n.compilation.isPoisoned=!0,n}if(isNgModule(t)){n.compilation.ngModules.add(t);let e=this.getNgModuleScope(t);if(e.exported.isPoisoned)return n.compilation.isPoisoned=!0,n;addSet(e.exported.directives,n.compilation.directives),addSet(e.exported.pipes,n.compilation.pipes)}else if(isPipe(t))n.compilation.pipes.add(t);else if(isDirective(t)||isComponent(t))n.compilation.directives.add(t);else return n.compilation.isPoisoned=!0,n}return n}isOrphanComponent(e){let t=getComponentDef(e);return!t||t.standalone?!1:(this.resolveNgModulesDecls(),!this.ownerNgModule.has(e))}},qn=new DepsTracker,Jn={},ChainedInjector=class{injector;parentInjector;constructor(e,t){this.injector=e,this.parentInjector=t}get(e,t,n){let r=this.injector.get(e,Jn,n);return r!==Jn||t===Jn?r:this.parentInjector.get(e,t,n)}},ControlDirectiveHostImpl=class{lView;tView;tNode;hasPassThrough;constructor(e,t,n){this.lView=e,this.tView=t,this.tNode=n,this.hasPassThrough=!!(n.flags&4096)}get customControl(){return this.tNode.customControlIndex===-1?void 0:this.lView[this.tNode.customControlIndex]}get descriptor(){return`<${this.tNode.value}>`}listenToCustomControlOutput(e,t){hasOutput(this.tView.data[this.tNode.customControlIndex],e)&&listenToOutput(this.tNode,this.lView,this.tNode.customControlIndex,e,e,wrapListener(this.tNode,this.lView,t))}listenToCustomControlModel(e){let t=this.tNode.flags&1024?`valueChange`:`checkedChange`;listenToOutput(this.tNode,this.lView,this.tNode.customControlIndex,t,t,wrapListener(this.tNode,this.lView,e))}listenToDom(e,t){listenToDomEvent(this.tNode,this.tView,this.lView,void 0,this.lView[11],e,t,wrapListener(this.tNode,this.lView,t))}setInputOnDirectives(e,t){let n=this.tNode.inputs?.[e],r=this.tNode.hostDirectiveInputs?.[e];if(!n&&!r)return!1;if(n)for(let r of n){let n=this.tView.data[r],i=this.lView[r];writeToDirectiveInput(n,i,e,t)}if(r)for(let e=0;e<r.length;e+=2){let n=r[e],i=r[e+1],a=this.tView.data[n],o=this.lView[n];writeToDirectiveInput(a,o,i,t)}return!0}setCustomControlModelInput(e){let t=this.lView[this.tNode.customControlIndex],n=this.tView.data[this.tNode.customControlIndex];writeToDirectiveInput(n,t,this.tNode.flags&1024?`value`:`checked`,e)}customControlHasInput(e){return this.tNode.customControlIndex!==-1&&this.tView.data[this.tNode.customControlIndex].inputs[e]!=null}},Yn=Symbol(`BINDING`),ComponentFactoryResolver=class extends Wn{ngModule;constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let t=getComponentDef(e);return new ComponentFactory(t,this.ngModule)}},ComponentFactory=class extends Un{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=toInputRefArray(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=toOutputRefArray(this.componentDef.outputs),this.cachedOutputs}constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=stringifyCSSSelectorList(e.selectors),this.ngContentSelectors=e.ngContentSelectors??[],this.isBoundToModule=!!t}create(e,t,n,r,i,a){profiler(M.DynamicComponentStart);let o=setActiveConsumer(null);try{let o=this.componentDef,s=createRootViewInjector(o,r||this.ngModule,e),c=createRootLViewEnvironment(s),l=c.tracingService;return l&&l.componentCreate?l.componentCreate(getComponentName(o),()=>this.createComponentRef(c,s,t,n,i,a)):this.createComponentRef(c,s,t,n,i,a)}finally{setActiveConsumer(o)}}createComponentRef(e,t,n,r,i,a){let o=this.componentDef,s=createRootTView(r,o,a,i),c=e.rendererFactory.createRenderer(null,o),l=r?locateHostElement(c,r,o.encapsulation,t):createHostElement(o,c);assertNotScriptHostElement(l?.tagName);let u=a?.some(isInputBinding)||i?.some(e=>typeof e!=`function`&&e.bindings.some(isInputBinding)),d=createLView(null,s,null,512|getInitialLViewFlagsFromDef(o),null,null,e,c,t,null,retrieveHydrationInfo(l,t,!0));d[27]=l,enterView(d);let f=null;try{let e=directiveHostFirstCreatePass(27,d,2,`#host`,()=>s.directiveRegistry,!0,0);setupStaticAttributes(c,l,e),attachPatchData(l,d),createDirectivesInstances(s,d,e),executeContentQueries(s,e,d),directiveHostEndFirstCreatePass(s,e),n!==void 0&&projectNodes(e,this.ngContentSelectors,n),f=getComponentLViewByIndex(e.index,d),d[8]=f[8],renderView(s,d,null)}catch(e){throw f!==null&&unregisterLView(f),unregisterLView(d),e}finally{profiler(M.DynamicComponentEnd),leaveView()}return new ComponentRef(this.componentType,d,!!u)}},ComponentRef=class extends Hn{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(e,t,n){super(),this._rootLView=t,this._hasInputBindings=n,this._tNode=getTNode(t[1],27),this.location=createElementRef(this._tNode,t),this.instance=getComponentLViewByIndex(this._tNode.index,t)[8],this.hostView=this.changeDetectorRef=new ViewRef(t,void 0),this.componentType=e}setInput(e,t){this._hasInputBindings;let n=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),t))return;let r=this._rootLView;setAllInputsForProperty(n,r[1],r,e,t),this.previousInputValues.set(e,t),markViewDirty(getComponentLViewByIndex(n.index,r),1)}get injector(){return new NodeInjector(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}},B=(()=>{class ViewContainerRef{static __NG_ELEMENT_ID__=injectViewContainerRef}return ViewContainerRef})(),Xn=class R3ViewContainerRef extends B{_lContainer;_hostTNode;_hostLView;constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return createElementRef(this._hostTNode,this._hostLView)}get injector(){return new NodeInjector(this._hostTNode,this._hostLView)}get parentInjector(){let e=getParentInjectorLocation(this._hostTNode,this._hostLView);if(hasParentInjector(e)){let t=getParentInjectorView(e,this._hostLView),n=getParentInjectorIndex(e),r=t[1].data[n+8];return new NodeInjector(r,t)}return new NodeInjector(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let t=getViewRefs(this._lContainer);return t!==null&&t[e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,t,n){let r,i;typeof n==`number`?r=n:n!=null&&(r=n.index,i=n.injector);let a=findMatchingDehydratedView(this._lContainer,e.ssrId),o=e.createEmbeddedViewImpl(t||{},i,a);return this.insertImpl(o,r,shouldAddViewToDom(this._hostTNode,a)),o}createComponent(e,t,n,r,i,a,o){let s=e&&!isType(e),c;if(s)c=t;else{let e=t||{};c=e.index,n=e.injector,r=e.projectableNodes,i=e.environmentInjector||e.ngModuleRef,a=e.directives,o=e.bindings}let l=s?e:new ComponentFactory(getComponentDef(e)),u=n||this.parentInjector;if(!i&&l.ngModule==null){let e=(s?u:this.parentInjector).get(EnvironmentInjector,null);e&&(i=e)}let d=getComponentDef(l.componentType??{}),f=findMatchingDehydratedView(this._lContainer,d?.id??null),p=f?.firstChild??null,m=l.create(u,r,p,i,a,o);return this.insertImpl(m.hostView,c,shouldAddViewToDom(this._hostTNode,f)),m}insert(e,t){return this.insertImpl(e,t,!0)}insertImpl(e,t,n){let r=e._lView;if(viewAttachedToContainer(r)){let t=this.indexOf(e);if(t!==-1)this.detach(t);else{let t=r[3],n=new R3ViewContainerRef(t,t[5],t[3]);n.detach(n.indexOf(e))}}let i=this._adjustIndex(t),a=this._lContainer;return addLViewToLContainer(a,r,i,n),e.attachToViewContainerRef(),addToArray(getOrCreateViewRefs(a),i,e),e}move(e,t){return this.insert(e,t)}indexOf(e){let t=getViewRefs(this._lContainer);return t===null?-1:t.indexOf(e)}remove(e){let t=this._adjustIndex(e,-1),n=detachView(this._lContainer,t);n&&(removeFromArray(getOrCreateViewRefs(this._lContainer),t),destroyLView(n[1],n))}detach(e){let t=this._adjustIndex(e,-1),n=detachView(this._lContainer,t);return n&&removeFromArray(getOrCreateViewRefs(this._lContainer),t)!=null?new ViewRef(n):null}_adjustIndex(e,t=0){return e??this.length+t}},Zn=createAnchorNode,_populateDehydratedViewsInLContainer=()=>!1,Qn=class LQuery_{queryList;matches=null;constructor(e){this.queryList=e}clone(){return new LQuery_(this.queryList)}setDirty(){this.queryList.setDirty()}},$n=class LQueries_{queries;constructor(e=[]){this.queries=e}createEmbeddedView(e){let t=e.queries;if(t!==null){let n=e.contentQueries===null?t.length:e.contentQueries[0],r=[];for(let e=0;e<n;e++){let n=t.getByIndex(e),i=this.queries[n.indexInDeclarationView];r.push(i.clone())}return new LQueries_(r)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)getTQuery(e,t).matches!==null&&this.queries[t].setDirty()}},TQueryMetadata_=class{flags;read;predicate;constructor(e,t,n=null){this.flags=t,this.read=n,this.predicate=typeof e==`string`?splitQueryMultiSelectors(e):e}},er=class TQueries_{queries;constructor(e=[]){this.queries=e}elementStart(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let n=0;n<this.length;n++){let r=t===null?0:t.length,i=this.getByIndex(n).embeddedTView(e,r);i&&(i.indexInDeclarationView=n,t===null?t=[i]:t.push(i))}return t===null?null:new TQueries_(t)}template(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},tr=class TQuery_{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(e,t=-1){this.metadata=e,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new TQuery_(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!=1){let t=this._declarationNodeIndex,n=e.parent;for(;n!==null&&n.type&8&&n.index!==t;)n=n.parent;return t===(n===null?-1:n.index)}return this._appliesToNextNode}matchTNode(e,t){let n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){let i=n[r];this.matchTNodeWithReadOption(e,t,getIdxOfMatchingSelector(t,i)),this.matchTNodeWithReadOption(e,t,locateDirectiveOrProvider(t,e,i,!1,!1))}else n===z?t.type&4&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,locateDirectiveOrProvider(t,e,n,!1,!1))}matchTNodeWithReadOption(e,t,n){if(n!==null){let r=this.metadata.read;if(r!==null){if(r===Ct||r===B||r===z&&t.type&4)this.addMatch(t.index,-2);else{let n=locateDirectiveOrProvider(t,e,r,!1,!1);n!==null&&this.addMatch(t.index,n)}}else this.addMatch(t.index,n)}}addMatch(e,t){this.matches===null?this.matches=[e,t]:this.matches.push(e,t)}},nr=new Map,rr=new Set,ir=new Map,ar=!0,or=class NgModuleRef{},NgModuleRef=class extends or{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new ComponentFactoryResolver(this);constructor(e,t,n,r=!0){super(),this.ngModuleType=e,this._parent=t;let i=getNgModuleDef(e);this._bootstrapComponents=maybeUnwrapFn(i.bootstrap),this._r3Injector=createInjectorWithoutInjectorInstances(e,t,[{provide:or,useValue:this},{provide:Wn,useValue:this.componentFactoryResolver},...n],stringify(e),new Set([`environment`])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},EnvironmentNgModuleRefAdapter=class extends or{injector;componentFactoryResolver=new ComponentFactoryResolver(this);instance=null;constructor(e){super();let t=new R3Injector([...e.providers,{provide:or,useValue:this},{provide:Wn,useValue:this.componentFactoryResolver}],e.parent||getNullInjector(),e.debugName,new Set([`environment`]));this.injector=t,e.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}},sr=(()=>{class StandaloneService{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let t=internalImportProvidersFrom(!1,e.type),n=t.length>0?createEnvironmentInjector([t],this._injector,``):null;this.cachedInjectors.set(e,n)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static ɵprov=ɵɵdefineInjectable({token:StandaloneService,providedIn:`environment`,factory:()=>new StandaloneService(ɵɵinject(EnvironmentInjector))})}return StandaloneService})(),cr=new Map,lr=createContainerAnchorImpl,V=function(e){return e[e.NOT_STARTED=0]=`NOT_STARTED`,e[e.IN_PROGRESS=1]=`IN_PROGRESS`,e[e.COMPLETE=2]=`COMPLETE`,e[e.FAILED=3]=`FAILED`,e}(V||{}),ur=0,dr=1,H=function(e){return e[e.Placeholder=0]=`Placeholder`,e[e.Loading=1]=`Loading`,e[e.Complete=2]=`Complete`,e[e.Error=3]=`Error`,e}(H||{}),fr=function(e){return e[e.Initial=-1]=`Initial`,e}(fr||{}),pr=0,mr=2,hr=3,gr=4,_r=5,vr=6,yr=7,br=8,xr=9,Sr=function(e){return e[e.Manual=0]=`Manual`,e[e.Playthrough=1]=`Playthrough`,e}(Sr||{}),_requestIdleCallback=()=>typeof requestIdleCallback<`u`?requestIdleCallback:setTimeout,_cancelIdleCallback=()=>typeof requestIdleCallback<`u`?cancelIdleCallback:clearTimeout,Cr=(()=>{class IdleScheduler{executingCallbacks=!1;idleId=null;current=new Set;deferred=new Set;ngZone=inject(j);requestIdleCallbackFn=_requestIdleCallback().bind(globalThis);cancelIdleCallbackFn=_cancelIdleCallback().bind(globalThis);add(e){(this.executingCallbacks?this.deferred:this.current).add(e),this.idleId===null&&this.scheduleIdleCallback()}remove(e){let{current:t,deferred:n}=this;t.delete(e),n.delete(e),t.size===0&&n.size===0&&this.cancelIdleCallback()}scheduleIdleCallback(){let callback=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(let e of this.current)e();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(let e of this.deferred)this.current.add(e);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(callback))}cancelIdleCallback(){this.idleId!==null&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static ɵprov=ɵɵdefineInjectable({token:IdleScheduler,providedIn:`root`,factory:()=>new IdleScheduler})}return IdleScheduler})(),wr=(()=>{class TimerScheduler{executingCallbacks=!1;timeoutId=null;invokeTimerAt=null;current=[];deferred=[];add(e,t,n){let r=this.executingCallbacks?this.deferred:this.current;this.addToQueue(r,Date.now()+e,t),this.scheduleTimer(n)}remove(e){let{current:t,deferred:n}=this;this.removeFromQueue(t,e)===-1&&this.removeFromQueue(n,e),t.length===0&&n.length===0&&this.clearTimeout()}addToQueue(e,t,n){let r=e.length;for(let n=0;n<e.length;n+=2)if(e[n]>t){r=n;break}arrayInsert2(e,r,t,n)}removeFromQueue(e,t){let n=-1;for(let r=0;r<e.length;r+=2)if(e[r+1]===t){n=r;break}return n>-1&&arraySplice(e,n,2),n}scheduleTimer(e){let callback=()=>{this.clearTimeout(),this.executingCallbacks=!0;let t=[...this.current],n=Date.now();for(let e=0;e<t.length;e+=2){let r=t[e],i=t[e+1];if(r<=n)i();else break}let r=-1;for(let e=0;e<this.current.length&&this.current[e]<=n;e+=2)r=e+1;if(r>=0&&arraySplice(this.current,0,r+1),this.executingCallbacks=!1,this.deferred.length>0){for(let e=0;e<this.deferred.length;e+=2){let t=this.deferred[e],n=this.deferred[e+1];this.addToQueue(this.current,t,n)}this.deferred.length=0}this.scheduleTimer(e)};if(this.current.length>0){let t=Date.now(),n=this.current[0];if(this.timeoutId===null||this.invokeTimerAt&&this.invokeTimerAt-n>16){this.clearTimeout();let r=Math.max(n-t,16);this.invokeTimerAt=n,this.timeoutId=e.runOutsideAngular(()=>setTimeout(()=>e.run(callback),r))}}}clearTimeout(){this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static ɵprov=ɵɵdefineInjectable({token:TimerScheduler,providedIn:`root`,factory:()=>new TimerScheduler})}return TimerScheduler})(),Tr=(()=>{class CachedInjectorService{cachedInjectors=new Map;getOrCreateInjector(e,t,n,r){if(!this.cachedInjectors.has(e)){let i=n.length>0?createEnvironmentInjector(n,t,r):null;this.cachedInjectors.set(e,i)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static ɵprov=ɵɵdefineInjectable({token:CachedInjectorService,providedIn:`environment`,factory:()=>new CachedInjectorService})}return CachedInjectorService})(),Er=new InjectionToken(``),Dr=null,Or=new InjectionToken(``),kr=new InjectionToken(``),Ar=(()=>{class Testability{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(e,t,n){this._ngZone=e,this.registry=t,isInInjectionContext()&&(this._destroyRef=inject(Le,{optional:!0})??void 0),Mr||(setTestabilityGetter(n),n.addToWindow(t)),this._watchAngularEvents(),e.run(()=>{this._taskTrackingZone=typeof Zone>`u`?null:Zone.current.get(`TaskTrackingZone`)})}_watchAngularEvents(){let e=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),t=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{j.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{e.unsubscribe(),t.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>t.updateCb&&t.updateCb(e)?(clearTimeout(t.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==r),e()},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}whenStable(e,t,n){if(n&&!this._taskTrackingZone)throw Error(`Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?`);this.addCallback(e,t,n),this._runCallbacksIfReady()}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,t,n){return[]}static ɵfac=function Testability_Factory(e){return new(e||Testability)(ɵɵinject(j),ɵɵinject(jr),ɵɵinject(kr))};static ɵprov=ɵɵdefineInjectable({token:Testability,factory:Testability.ɵfac})}return Testability})(),jr=(()=>{class TestabilityRegistry{_applications=new Map;registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return Mr?.findTestabilityInTree(this,e,t)??null}static ɵfac=function TestabilityRegistry_Factory(e){return new(e||TestabilityRegistry)};static ɵprov=ɵɵdefineInjectable({token:TestabilityRegistry,factory:TestabilityRegistry.ɵfac,providedIn:`platform`})}return TestabilityRegistry})(),Nr=new InjectionToken(``),Pr=(()=>{class ApplicationInitStatus{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t});appInits=inject(Nr,{optional:!0})??[];injector=inject(Ie);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let t of this.appInits){let n=runInInjectionContext(this.injector,t);if(isPromise(n))e.push(n);else if(isSubscribable(n)){let t=new Promise((e,t)=>{n.subscribe({complete:e,error:t})});e.push(t)}}let complete=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{complete()}).catch(e=>{this.reject(e)}),e.length===0&&complete(),this.initialized=!0}static ɵfac=function ApplicationInitStatus_Factory(e){return new(e||ApplicationInitStatus)};static ɵprov=ɵɵdefineInjectable({token:ApplicationInitStatus,factory:ApplicationInitStatus.ɵfac,providedIn:`root`})}return ApplicationInitStatus})(),Fr=new InjectionToken(``),Ir=10,Lr=(()=>{class ApplicationRef{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=inject(We);afterRenderManager=inject(Mn);zonelessEnabled=inject(qe);rootEffectScheduler=inject(Xe);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new te;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=inject(ze);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(map(e=>!e))}constructor(){inject(An,{optional:!0})}whenStable(){let e;return new Promise(t=>{e=this.isStable.subscribe({next:e=>{e&&t()}})}).finally(()=>{e.unsubscribe()})}_injector=inject(EnvironmentInjector);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,t){return this.bootstrapImpl(e,t)}bootstrapImpl(e,t,n=Ie.NULL){return this._injector.get(j).run(()=>{profiler(M.BootstrapComponentStart);let r=e instanceof Un;if(!this._injector.get(Pr).done)throw new RuntimeError(405,``);let i;i=r?e:this._injector.get(Wn).resolveComponentFactory(e),this.componentTypes.push(i.componentType);let a=isBoundToModule(i)?void 0:this._injector.get(or),o=t||i.selector,s=i.create(n,[],o,a),c=s.location.nativeElement,l=s.injector.get(Or,null);return l?.registerApplication(c),s.onDestroy(()=>{this.detachView(s.hostView),remove(this.components,s),l?.unregisterApplication(c)}),this._loadComponent(s),profiler(M.BootstrapComponentEnd,s),s})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){profiler(M.ChangeDetectionStart),this.tracingSnapshot===null?this.tickImpl():this.tracingSnapshot.run(kn.CHANGE_DETECTION,this.tickImpl)}tickImpl=()=>{if(this._runningTick)throw profiler(M.ChangeDetectionEnd),new RuntimeError(101,!1);let e=setActiveConsumer(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,setActiveConsumer(e),this.afterTick.next(),profiler(M.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(RendererFactory2,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++<Ir;){profiler(M.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{profiler(M.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let e=!1;if(this.dirtyFlags&7){let t=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:n}of this.allViews)(t||requiresRefreshOrTraversal(n))&&(detectChangesInternal(n,t&&!this.zonelessEnabled?0:1),e=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}e||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:e})=>requiresRefreshOrTraversal(e))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(e){let t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){let t=e;remove(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView);try{this.tick()}catch(e){this.internalErrorHandler(e)}this.components.push(e),this._injector.get(Fr,[]).forEach(t=>t(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>remove(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new RuntimeError(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static ɵfac=function ApplicationRef_Factory(e){return new(e||ApplicationRef)};static ɵprov=ɵɵdefineInjectable({token:ApplicationRef,factory:ApplicationRef.ɵfac,providedIn:`root`})}return ApplicationRef})(),LiveCollection=class{destroy(e){}updateValue(e,t){}swap(e,t){let n=Math.min(e,t),r=Math.max(e,t),i=this.detach(r);if(r-n>1){let e=this.detach(n);this.attach(n,i),this.attach(r,e)}else this.attach(n,i)}move(e,t){this.attach(t,this.detach(e))}},UniqueValueMultiKeyMap=class{kvMap=new Map;_vMap=void 0;has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let t=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(n);)n=r.get(n);r.set(n,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,n]of this.kvMap)if(e(n,t),this._vMap!==void 0){let r=this._vMap;for(;r.has(n);)n=r.get(n),e(n,t)}}},RepeaterContext=class{lContainer;$implicit;$index;constructor(e,t,n){this.lContainer=e,this.$implicit=t,this.$index=n}get $count(){return this.lContainer.length-10}},RepeaterMetadata=class{hasEmptyBlock;trackByFn;liveCollection;constructor(e,t,n){this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=n}},LiveCollectionLContainerImpl=class extends LiveCollection{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(e,t,n){super(),this.lContainer=e,this.hostLView=t,this.templateTNode=n}get length(){return this.lContainer.length-10}at(e){return this.getLView(e)[8].$implicit}attach(e,t){let n=t[6];this.needsIndexUpdate||=e!==this.length,addLViewToLContainer(this.lContainer,t,e,shouldAddViewToDom(this.templateTNode,n)),clearDetachAnimationList(this.lContainer,e)}detach(e){return this.needsIndexUpdate||=e!==this.length-1,maybeInitDetachAnimationList(this.lContainer,e),detachExistingView(this.lContainer,e)}create(e,t){let n=findMatchingDehydratedView(this.lContainer,this.templateTNode.tView.ssrId);return createAndRenderEmbeddedLView(this.hostLView,this.templateTNode,new RepeaterContext(this.lContainer,t,e),{dehydratedView:n})}destroy(e){destroyLView(e[1],e)}updateValue(e,t){this.getLView(e)[8].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[8].$index=e}getLView(e){return getExistingLViewFromLContainer(this.lContainer,e)}},_locateOrCreateElementNode=(e,t,n,r,i)=>(lastNodeWasCreated(!0),createElementNode(t[11],r,getNamespace())),_locateOrCreateElementContainerNode=(e,t,n,r,i)=>(lastNodeWasCreated(!0),createCommentNode(t[11],``)),Rr=void 0,zr=[`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`]],Rr,[[`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`]],Rr,[[`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}`,Rr,Rr,Rr],[`.`,`,`,`;`,`%`,`+`,`-`,`E`,`×`,`‰`,`∞`,`NaN`,`:`],[`#,##0.###`,`#,##0%`,`¤#,##0.00`,`#E0`],`USD`,`$`,`US Dollar`,{},`ltr`,plural],Br=Object.create(null),e(getLocalePluralCase$1,`getLocalePluralCase`),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||{}),Vr=[`zero`,`one`,`two`,`few`,`many`],Hr=`en-US`,Ur=`USD`,Wr={marker:`element`},Gr={marker:`ICU`},W=function(e){return e[e.SHIFT=2]=`SHIFT`,e[e.APPEND_EAGERLY=1]=`APPEND_EAGERLY`,e[e.COMMENT=2]=`COMMENT`,e}(W||{}),Kr=Hr,e(getLocaleId$1,`getLocaleId`),qr=0,Jr=0,_locateOrCreateNode=(e,t,n,r)=>(lastNodeWasCreated(!0),createNodeWithoutHydration(e,n,r)),Yr=/�(\d+):?\d*�/gi,Xr=/({\s*�\d+:?\d*�\s*,\s*\S{6}\s*,[\s\S]*})/gi,Zr=/�(\d+)�/,Qr=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,$r=`�`,ei=/�\/?\*(\d+:\d+)�/gi,ti=/�(\/?[#*]\d+):?\d*�/gi,ni=/\uE500/g,ri=0,ii=/\[(�.+?�?)\]/,ai=/\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g,oi=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,si=/{([A-Z0-9_]+)}/g,ci=/�I18N_EXP_(ICU(_\d+)?)�/g,li=/\/\*/,ui=/\d+\:(\d+)/,G={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0},_locateOrCreateTextNode=(e,t,n,r)=>(lastNodeWasCreated(!0),createTextNode(t[11],r)),di={},K={ɵɵanimateEnter,ɵɵanimateEnterListener,ɵɵanimateLeave,ɵɵanimateLeaveListener,ɵɵattribute,ɵɵdefineComponent,ɵɵdefineDirective,ɵɵdefineInjectable,ɵɵdefineInjector,ɵɵdefineNgModule,ɵɵdefinePipe,ɵɵdirectiveInject,ɵɵgetInheritedFactory,ɵɵinject,ɵɵinjectAttribute,ɵɵinvalidFactory,ɵɵinvalidFactoryDep,ɵɵtemplateRefExtractor,ɵɵresetView,ɵɵHostDirectivesFeature,ɵɵNgOnChangesFeature:dt,ɵɵControlFeature,ɵɵProvidersFeature,ɵɵInheritDefinitionFeature,ɵɵExternalStylesFeature,ɵɵnextContext,ɵɵnamespaceHTML,ɵɵnamespaceMathML,ɵɵnamespaceSVG,ɵɵenableBindings,ɵɵdisableBindings,ɵɵelementStart,ɵɵelementEnd,ɵɵelement,ɵɵelementContainerStart,ɵɵelementContainerEnd,ɵɵdomElement,ɵɵdomElementStart,ɵɵdomElementEnd,ɵɵdomElementContainer,ɵɵdomElementContainerStart,ɵɵdomElementContainerEnd,ɵɵdomTemplate,ɵɵdomListener,ɵɵelementContainer,ɵɵpureFunction0,ɵɵpureFunction1,ɵɵpureFunction2,ɵɵpureFunction3,ɵɵpureFunction4,ɵɵpureFunction5,ɵɵpureFunction6,ɵɵpureFunction7,ɵɵpureFunction8,ɵɵpureFunctionV,ɵɵgetCurrentView,ɵɵrestoreView,ɵɵlistener,ɵɵprojection,ɵɵsyntheticHostProperty,ɵɵsyntheticHostListener,ɵɵpipeBind1,ɵɵpipeBind2,ɵɵpipeBind3,ɵɵpipeBind4,ɵɵpipeBindV,ɵɵprojectionDef,ɵɵdomProperty,ɵɵariaProperty,ɵɵproperty,ɵɵcontrol,ɵɵcontrolCreate,ɵɵpipe,ɵɵqueryRefresh,ɵɵqueryAdvance,ɵɵviewQuery,ɵɵviewQuerySignal,ɵɵloadQuery,ɵɵcontentQuery,ɵɵcontentQuerySignal,ɵɵreference,ɵɵclassMap,ɵɵstyleMap,ɵɵstyleProp,ɵɵclassProp,ɵɵadvance,ɵɵtemplate,ɵɵconditional,ɵɵconditionalCreate,ɵɵconditionalBranchCreate,ɵɵdefer,ɵɵdeferWhen,ɵɵdeferOnIdle,ɵɵdeferOnImmediate,ɵɵdeferOnTimer,ɵɵdeferOnHover,ɵɵdeferOnInteraction,ɵɵdeferOnViewport,ɵɵdeferPrefetchWhen,ɵɵdeferPrefetchOnIdle,ɵɵdeferPrefetchOnImmediate,ɵɵdeferPrefetchOnTimer,ɵɵdeferPrefetchOnHover,ɵɵdeferPrefetchOnInteraction,ɵɵdeferPrefetchOnViewport,ɵɵdeferHydrateWhen,ɵɵdeferHydrateNever,ɵɵdeferHydrateOnIdle,ɵɵdeferHydrateOnImmediate,ɵɵdeferHydrateOnTimer,ɵɵdeferHydrateOnHover,ɵɵdeferHydrateOnInteraction,ɵɵdeferHydrateOnViewport,ɵɵdeferEnableTimerScheduling,ɵɵrepeater,ɵɵrepeaterCreate,ɵɵrepeaterTrackByIndex,ɵɵrepeaterTrackByIdentity,ɵɵcomponentInstance,ɵɵtext,ɵɵtextInterpolate,ɵɵtextInterpolate1,ɵɵtextInterpolate2,ɵɵtextInterpolate3,ɵɵtextInterpolate4,ɵɵtextInterpolate5,ɵɵtextInterpolate6,ɵɵtextInterpolate7,ɵɵtextInterpolate8,ɵɵtextInterpolateV,ɵɵi18n,ɵɵi18nAttributes,ɵɵi18nExp,ɵɵi18nStart,ɵɵi18nEnd,ɵɵi18nApply,ɵɵi18nPostprocess,ɵɵresolveWindow,ɵɵresolveDocument,ɵɵresolveBody,ɵɵsetComponentScope,ɵɵsetNgModuleScope,ɵɵregisterNgModuleType:registerNgModuleType,ɵɵgetComponentDepsFactory,ɵsetClassDebugInfo,ɵɵdeclareLet,ɵɵstoreLet,ɵɵarrowFunction,ɵɵreadContextLet,ɵɵattachSourceLocations,ɵɵinterpolate,ɵɵinterpolate1,ɵɵinterpolate2,ɵɵinterpolate3,ɵɵinterpolate4,ɵɵinterpolate5,ɵɵinterpolate6,ɵɵinterpolate7,ɵɵinterpolate8,ɵɵinterpolateV,ɵɵsanitizeHtml,ɵɵsanitizeStyle,ɵɵsanitizeResourceUrl,ɵɵsanitizeScript,ɵɵvalidateAttribute,ɵɵsanitizeUrl,ɵɵsanitizeUrlOrResourceUrl,ɵɵtrustConstantHtml,ɵɵtrustConstantResourceUrl,forwardRef,resolveForwardRef,ɵɵtwoWayProperty,ɵɵtwoWayBindingSet,ɵɵtwoWayListener,ɵɵreplaceMetadata,ɵɵgetReplaceMetadataURL},fi=null,pi=[],mi=!1,hi=0,gi=[`ngOnChanges`,`ngOnInit`,`ngOnDestroy`,`ngDoCheck`,`ngAfterViewInit`,`ngAfterViewChecked`,`ngAfterContentInit`,`ngAfterContentChecked`],_i=makeDecorator(`Directive`,(e={})=>e,void 0,void 0,(e,t)=>compileDirective(e,t)),vi=makeDecorator(`Component`,(e={})=>({changeDetection:wt.Eager,...e}),_i,void 0,(e,t)=>compileComponent(e,t)),yi=makeDecorator(`Pipe`,e=>({pure:!0,...e}),void 0,void 0,(e,t)=>compilePipe(e,t)),bi=makePropDecorator(`Input`,e=>e?typeof e==`string`?{alias:e}:e:{}),xi=makePropDecorator(`Output`,e=>({alias:e})),Si=makeDecorator(`NgModule`,e=>e,void 0,void 0,(e,t)=>compileNgModule(e,t)),Ci=(()=>{class ChangeDetectionSchedulerImpl{applicationErrorHandler=inject(We);appRef=inject(Lr);taskService=inject(ze);ngZone=inject(j);zonelessEnabled=inject(qe);tracing=inject(An,{optional:!0});zoneIsDefined=typeof Zone<`u`&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new l;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ve):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(inject(Je,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let e=this.taskService.add();!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)||this.switchToMicrotaskScheduler(),this.taskService.remove(e)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let e=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})})}notify(e){if(!this.zonelessEnabled&&e===5)return;switch(e){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;break;case 12:this.appRef.dirtyFlags|=16;break;case 13:this.appRef.dirtyFlags|=2;break;case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let t=this.useMicrotaskScheduler?scheduleCallbackWithMicrotask:scheduleCallbackWithRafRace;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>t(()=>this.tick())):this.ngZone.runOutsideAngular(()=>t(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(`isAngularZone_ID`+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 e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(e){this.applicationErrorHandler(e)}finally{this.taskService.remove(e),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static ɵfac=function ChangeDetectionSchedulerImpl_Factory(e){return new(e||ChangeDetectionSchedulerImpl)};static ɵprov=ɵɵdefineInjectable({token:ChangeDetectionSchedulerImpl,factory:ChangeDetectionSchedulerImpl.ɵfac,providedIn:`root`})}return ChangeDetectionSchedulerImpl})(),q=new InjectionToken(``,{factory:()=>inject(q,{optional:!0,skipSelf:!0})||getGlobalLocale()}),wi=new InjectionToken(``,{factory:()=>Ur})})))()}function untracked(e){return untracked$1(e)}function init__resource_chunk(){return(init__resource_chunk=t((()=>{init__untracked_chunk()})))()}var Ti=n({ɵresetCompiledComponents:()=>resetCompiledComponents});function isApplicationBootstrapConfig(e){return!e.moduleRef}function bootstrap(e){let t=isApplicationBootstrapConfig(e)?e.r3Injector:e.moduleRef.injector,n=t.get(j);return n.run(()=>{isApplicationBootstrapConfig(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(We),i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:r})}),isApplicationBootstrapConfig(e)){let destroyListener=()=>t.destroy(),n=e.platformInjector.get(Di);n.add(destroyListener),t.onDestroy(()=>{i.unsubscribe(),n.delete(destroyListener)})}else{let destroyListener=()=>e.moduleRef.destroy(),t=e.platformInjector.get(Di);t.add(destroyListener),e.moduleRef.onDestroy(()=>{remove(e.allPlatformModules,e.moduleRef),i.unsubscribe(),t.delete(destroyListener)})}return _callAndReportToErrorHandler(r,n,()=>{let n=t.get(ze),r=n.add(),i=t.get(Pr);return i.runInitializers(),i.donePromise.then(()=>{if(setLocaleId(t.get(q,Hr)||`en-US`),!t.get(Oi,!0))return isApplicationBootstrapConfig(e)?t.get(Lr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(isApplicationBootstrapConfig(e)){let n=t.get(Lr);return e.rootComponent!==void 0&&n.bootstrap(e.rootComponent),n}return ki?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void n.remove(r))})})}function _callAndReportToErrorHandler(e,t,n){try{let r=n();return isPromise(r)?r.catch(n=>{throw t.runOutsideAngular(()=>e(n)),n}):r}catch(n){throw t.runOutsideAngular(()=>e(n)),n}}function createPlatformInjector(e=[],t){return Ie.create({name:t,providers:[{provide:Ee,useValue:`platform`},{provide:Di,useValue:new Set([()=>Ai=null])},...e]})}function createOrReusePlatformInjector(e=[]){if(Ai)return Ai;let t=createPlatformInjector(e);return Ai=t,publishSignalConfiguration(),runPlatformInitializers(t),t}function runPlatformInitializers(e){let t=e.get(jt,null);runInInjectionContext(e,()=>{t?.forEach(e=>e())})}function injectChangeDetectorRef(e){return createViewRef(getCurrentTNode(),getLView(),(e&16)==16)}function createViewRef(e,t,n){if(isComponentHost(e)&&!n){let n=getComponentLViewByIndex(e.index,t);return new ViewRef(n,n)}if(e.type&175){let e=t[15];return new ViewRef(e,t)}return null}function getPreviousIndex(e,t,n){let r=e.previousIndex;if(r===null)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}function defaultIterableDiffersFactory(){return new Mi([new DefaultIterableDifferFactory])}function defaultKeyValueDiffersFactory(){return new Ni([new DefaultKeyValueDifferFactory])}function internalCreateApplication(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:i}=e;profiler(M.BootstrapApplicationStart);try{let e=i?.injector??createOrReusePlatformInjector(r),a=[provideZonelessChangeDetectionInternal(),Ge,...n||[]];return bootstrap({r3Injector:new EnvironmentNgModuleRefAdapter({providers:a,parent:e,debugName:``,runEnvironmentInitializers:!1}).injector,platformInjector:e,rootComponent:t})}catch(e){return Promise.reject(e)}finally{profiler(M.BootstrapApplicationEnd)}}var Query,Ei,Di,Oi,ki,Ai,ji,DefaultIterableDifferFactory,trackByIdentity,DefaultIterableDiffer,IterableChangeRecord_,_DuplicateItemRecordList,_DuplicateMap,DefaultKeyValueDifferFactory,DefaultKeyValueDiffer,KeyValueChangeRecord_,Mi,Ni,Pi;function init_core(){return(init_core=t((()=>{init__debug_node_chunk(),init__effect_chunk2(),init__resource_chunk(),init__effect_chunk(),init__not_found_chunk(),Query=class{},Ei=makePropDecorator(`ViewChild`,(e,t)=>({selector:e,first:!0,isViewQuery:!0,descendants:!0,...t}),Query),Di=new InjectionToken(``),Oi=new InjectionToken(``),Ai=null,ji=(()=>{class ChangeDetectorRef{static __NG_ELEMENT_ID__=injectChangeDetectorRef}return ChangeDetectorRef})(),DefaultIterableDifferFactory=class{supports(e){return isListLikeIterable(e)}create(e){return new DefaultIterableDiffer(e)}},trackByIdentity=(e,t)=>t,DefaultIterableDiffer=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(e){this._trackByFn=e||trackByIdentity}forEachItem(e){let t;for(t=this._itHead;t!==null;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,i=null;for(;t||n;){let a=!n||t&&t.currentIndex<getPreviousIndex(n,r,i)?t:n,o=getPreviousIndex(a,r,i),s=a.currentIndex;if(a===n)r--,n=n._nextRemoved;else if(t=t._next,a.previousIndex==null)r++;else{i||=[];let e=o-r,t=s-r;if(e!=t){for(let n=0;n<e;n++){let r=n<i.length?i[n]:i[n]=0,a=r+n;t<=a&&a<e&&(i[n]=r+1)}let n=a.previousIndex;i[n]=t-e}}o!==s&&e(a,o,s)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;t!==null;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;t!==null;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;t!==null;t=t._nextIdentityChange)e(t)}diff(e){if(e??=[],!isListLikeIterable(e))throw new RuntimeError(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._itHead,n=!1,r,i,a;if(Array.isArray(e)){this.length=e.length;for(let r=0;r<this.length;r++)i=e[r],a=this._trackByFn(r,i),t===null||!Object.is(t.trackById,a)?(t=this._mismatch(t,i,a,r),n=!0):(n&&(t=this._verifyReinsertion(t,i,a,r)),Object.is(t.item,i)||this._addIdentityChange(t,i)),t=t._next}else r=0,iterateListLike(e,e=>{a=this._trackByFn(r,e),t===null||!Object.is(t.trackById,a)?(t=this._mismatch(t,e,a,r),n=!0):(n&&(t=this._verifyReinsertion(t,e,a,r)),Object.is(t.item,e)||this._addIdentityChange(t,e)),t=t._next,r++}),this.length=r;return this._truncate(t),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let i;return e===null?i=this._itTail:(i=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e===null?(e=this._linkedRecords===null?null:this._linkedRecords.get(n,r),e===null?e=this._addAfter(new IterableChangeRecord_(t,n),i,r):(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,r))):(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,r)),e}_verifyReinsertion(e,t,n,r){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return i===null?e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)):e=this._reinsertAfter(i,e._prev,r),e}_truncate(e){for(;e!==null;){let t=e._next;this._addToRemovals(this._unlink(e)),e=t}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(e,t,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let r=e._prevRemoved,i=e._nextRemoved;return r===null?this._removalsHead=i:r._nextRemoved=i,i===null?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=this._additionsTail===null?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){let r=t===null?this._itHead:t._next;return e._next=r,e._prev=t,r===null?this._itTail=e:r._prev=e,t===null?this._itHead=e:t._next=e,this._linkedRecords===null&&(this._linkedRecords=new _DuplicateMap),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let t=e._prev,n=e._next;return t===null?this._itHead=n:t._next=n,n===null?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=this._movesTail===null?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new _DuplicateMap),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=this._identityChangesTail===null?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}},IterableChangeRecord_=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(e,t){this.item=e,this.trackById=t}},_DuplicateItemRecordList=class{_head=null;_tail=null;add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;n!==null;n=n._nextDup)if((t===null||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let t=e._prevDup,n=e._nextDup;return t===null?this._head=n:t._nextDup=n,n===null?this._tail=t:n._prevDup=t,this._head===null}},_DuplicateMap=class{map=new Map;put(e){let t=e.trackById,n=this.map.get(t);n||(n=new _DuplicateItemRecordList,this.map.set(t,n)),n.add(e)}get(e,t){let n=e,r=this.map.get(n);return r?r.get(e,t):null}remove(e){let t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}},DefaultKeyValueDifferFactory=class{supports(e){return e instanceof Map||isJsObject(e)}create(){return new DefaultKeyValueDiffer}},DefaultKeyValueDiffer=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let t;for(t=this._mapHead;t!==null;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||isJsObject(e)))throw new RuntimeError(900,!1);return this.check(e)?this:null}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{let r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;e!==null;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){let n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){let n=this._records.get(e);this._maybeAddToChanges(n,t);let r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}let n=new KeyValueChangeRecord_(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}},KeyValueChangeRecord_=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(e){this.key=e}},Mi=(()=>{class IterableDiffers{factories;static ɵprov=ɵɵdefineInjectable({token:IterableDiffers,providedIn:`root`,factory:defaultIterableDiffersFactory});constructor(e){this.factories=e}static create(e,t){if(t!=null){let n=t.factories.slice();e=e.concat(n)}return new IterableDiffers(e)}static extend(e){return{provide:IterableDiffers,useFactory:()=>{let t=inject(IterableDiffers,{optional:!0,skipSelf:!0});return IterableDiffers.create(e,t||defaultIterableDiffersFactory())}}}find(e){let t=this.factories.find(t=>t.supports(e));if(t!=null)return t;throw new RuntimeError(901,!1)}}return IterableDiffers})(),Ni=(()=>{class KeyValueDiffers{static ɵprov=ɵɵdefineInjectable({token:KeyValueDiffers,providedIn:`root`,factory:defaultKeyValueDiffersFactory});factories;constructor(e){this.factories=e}static create(e,t){if(t){let n=t.factories.slice();e=e.concat(n)}return new KeyValueDiffers(e)}static extend(e){return{provide:KeyValueDiffers,useFactory:()=>{let t=inject(KeyValueDiffers,{optional:!0,skipSelf:!0});return KeyValueDiffers.create(e,t||defaultKeyValueDiffersFactory())}}}find(e){let t=this.factories.find(t=>t.supports(e));if(t)return t;throw new RuntimeError(901,!1)}}return KeyValueDiffers})(),Pi=(()=>{class ApplicationModule{constructor(e){}static ɵfac=function ApplicationModule_Factory(e){return new(e||ApplicationModule)(ɵɵinject(Lr))};static ɵmod=ɵɵdefineNgModule({type:ApplicationModule});static ɵinj=ɵɵdefineInjector({})}return ApplicationModule})()})))()}function getDOM(){return Fi}function setRootDomAdapter(e){Fi??=e}var Fi,DomAdapter;function init__platform_location_chunk(){return(init__platform_location_chunk=t((()=>{Fi=null,DomAdapter=class{}})))()}function getLocaleId(e){return findLocaleData(e)[U.LocaleId]}function getLocaleDayPeriods(e,t,n){let r=findLocaleData(e);return getLastDefinedValue(getLastDefinedValue([r[U.DayPeriodsFormat],r[U.DayPeriodsStandalone]],t),n)}function getLocaleDayNames(e,t,n){let r=findLocaleData(e);return getLastDefinedValue(getLastDefinedValue([r[U.DaysFormat],r[U.DaysStandalone]],t),n)}function getLocaleMonthNames(e,t,n){let r=findLocaleData(e);return getLastDefinedValue(getLastDefinedValue([r[U.MonthsFormat],r[U.MonthsStandalone]],t),n)}function getLocaleEraNames(e,t){let n=findLocaleData(e)[U.Eras];return getLastDefinedValue(n,t)}function getLocaleDateFormat(e,t){return getLastDefinedValue(findLocaleData(e)[U.DateFormat],t)}function getLocaleTimeFormat(e,t){return getLastDefinedValue(findLocaleData(e)[U.TimeFormat],t)}function getLocaleDateTimeFormat(e,t){let n=findLocaleData(e)[U.DateTimeFormat];return getLastDefinedValue(n,t)}function getLocaleNumberSymbol(e,t){let n=findLocaleData(e),r=n[U.NumberSymbols][t];if(r===void 0){if(t===Z.CurrencyDecimal)return n[U.NumberSymbols][Z.Decimal];if(t===Z.CurrencyGroup)return n[U.NumberSymbols][Z.Group]}return r}function getLocaleNumberFormat(e,t){return findLocaleData(e)[U.NumberFormats][t]}function getLocaleCurrencies(e){return findLocaleData(e)[U.Currencies]}function checkFullData(e){if(!e[U.ExtraData])throw new RuntimeError(2303,!1)}function getLocaleExtraDayPeriodRules(e){let t=findLocaleData(e);return checkFullData(t),(t[U.ExtraData][2]||[]).map(e=>typeof e==`string`?extractTime(e):[extractTime(e[0]),extractTime(e[1])])}function getLocaleExtraDayPeriods(e,t,n){let r=findLocaleData(e);return checkFullData(r),getLastDefinedValue(getLastDefinedValue([r[U.ExtraData][0],r[U.ExtraData][1]],t)||[],n)||[]}function getLastDefinedValue(e,t){for(let n=t;n>-1;n--)if(e[n]!==void 0)return e[n];throw new RuntimeError(2304,!1)}function extractTime(e){let[t,n]=e.split(`:`);return{hours:+t,minutes:+n}}function getCurrencySymbol(e,t,n=`en`){let r=getLocaleCurrencies(n)[e]||Ii[e]||[],i=r[1];return t===`narrow`&&typeof i==`string`?i:r[0]||e}function getNumberOfCurrencyDigits(e){let t,n=Ii[e];return n&&(t=n[2]),typeof t==`number`?t:Bi}function formatDate(e,t,n,r){let i=toDate(e);assertValidDateFormatLength(t),t=getNamedFormat(n,t)||t;let a=[],o;for(;t;)if(o=Ui.exec(t),o){a=a.concat(o.slice(1));let e=a.pop();if(!e)break;t=e}else{a.push(t);break}let s=i.getTimezoneOffset();r&&(s=timezoneToOffset(r,s),i=convertTimezoneToLocal(i,r));let c=``;return a.forEach(e=>{let t=getDateFormatter(e);c+=t?t(i,n,s):e===`''`?`'`:e.replace(/(^'|'$)/g,``).replace(/''/g,`'`)}),c}function assertValidDateFormatLength(e){if(e.length>Wi)throw new RuntimeError(2300,!1)}function createDate(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function getNamedFormat(e,t){let n=getLocaleId(e);if(Hi[n]??={},Hi[n][t])return Hi[n][t];let r=``;switch(t){case`shortDate`:r=getLocaleDateFormat(e,X.Short);break;case`mediumDate`:r=getLocaleDateFormat(e,X.Medium);break;case`longDate`:r=getLocaleDateFormat(e,X.Long);break;case`fullDate`:r=getLocaleDateFormat(e,X.Full);break;case`shortTime`:r=getLocaleTimeFormat(e,X.Short);break;case`mediumTime`:r=getLocaleTimeFormat(e,X.Medium);break;case`longTime`:r=getLocaleTimeFormat(e,X.Long);break;case`fullTime`:r=getLocaleTimeFormat(e,X.Full);break;case`short`:let t=getNamedFormat(e,`shortTime`),n=getNamedFormat(e,`shortDate`);r=formatDateTime(getLocaleDateTimeFormat(e,X.Short),[t,n]);break;case`medium`:let i=getNamedFormat(e,`mediumTime`),a=getNamedFormat(e,`mediumDate`);r=formatDateTime(getLocaleDateTimeFormat(e,X.Medium),[i,a]);break;case`long`:let o=getNamedFormat(e,`longTime`),s=getNamedFormat(e,`longDate`);r=formatDateTime(getLocaleDateTimeFormat(e,X.Long),[o,s]);break;case`full`:let c=getNamedFormat(e,`fullTime`),l=getNamedFormat(e,`fullDate`);r=formatDateTime(getLocaleDateTimeFormat(e,X.Full),[c,l])}return r&&(Hi[n][t]=r),r}function formatDateTime(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return t!=null&&n in t?t[n]:e})),e}function padNumber(e,t,n=`-`,r,i){let a=``;(e<0||i&&e<=0)&&(i?e=-e+1:(e=-e,a=n));let o=String(e);for(;o.length<t;)o=`0`+o;return r&&(o=o.slice(o.length-t)),a+o}function formatFractionalSeconds(e,t){return padNumber(e,3).substring(0,t)}function dateGetter(e,t,n=0,r=!1,i=!1){return function(a,o){let s=getDatePart(e,a);if((n>0||s>-n)&&(s+=n),e===3)s===0&&n===-12&&(s=12);else if(e===6)return formatFractionalSeconds(s,t);let c=getLocaleNumberSymbol(o,Z.MinusSign);return padNumber(s,t,c,r,i)}}function getDatePart(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 RuntimeError(2301,!1)}}function dateStrGetter(e,t,n=J.Format,r=!1){return function(i,a){return getDateTranslation(i,a,e,t,n,r)}}function getDateTranslation(e,t,n,r,i,a){switch(n){case 2:return getLocaleMonthNames(t,i,r)[e.getMonth()];case 1:return getLocaleDayNames(t,i,r)[e.getDay()];case 0:let n=e.getHours(),o=e.getMinutes();if(a){let e=getLocaleExtraDayPeriodRules(t),a=getLocaleExtraDayPeriods(t,i,r),s=e.findIndex(e=>{if(Array.isArray(e)){let[t,r]=e,i=n>=t.hours&&o>=t.minutes,a=n<r.hours||n===r.hours&&o<r.minutes;if(t.hours<r.hours){if(i&&a)return!0}else if(i||a)return!0}else if(e.hours===n&&e.minutes===o)return!0;return!1});if(s!==-1)return a[s]}return getLocaleDayPeriods(t,i,r)[n<12?0:1];case 3:return getLocaleEraNames(t,r)[e.getFullYear()<=0?0:1];default:throw new RuntimeError(2302,!1)}}function timeZoneGetter(e){return function(t,n,r){let i=-1*r,a=getLocaleNumberSymbol(n,Z.MinusSign),o=i>0?Math.floor(i/60):Math.ceil(i/60);switch(e){case 0:return(i>=0?`+`:``)+padNumber(o,2,a)+padNumber(Math.abs(i%60),2,a);case 1:return`GMT`+(i>=0?`+`:``)+padNumber(o,1,a);case 2:return`GMT`+(i>=0?`+`:``)+padNumber(o,2,a)+`:`+padNumber(Math.abs(i%60),2,a);case 3:return r===0?`Z`:(i>=0?`+`:``)+padNumber(o,2,a)+`:`+padNumber(Math.abs(i%60),2,a);default:throw new RuntimeError(2310,!1)}}}function getFirstThursdayOfYear(e){let t=createDate(e,Gi,1).getDay();return createDate(e,0,1+(t<=Ki?Ki:11)-t)}function getThursdayThisIsoWeek(e){let t=e.getDay(),n=t===0?-3:Ki-t;return createDate(e.getFullYear(),e.getMonth(),e.getDate()+n)}function weekGetter(e,t=!1){return function(n,r){let i;if(t){let e=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,t=n.getDate();i=1+Math.floor((t+e)/7)}else{let e=getThursdayThisIsoWeek(n),t=getFirstThursdayOfYear(e.getFullYear()),r=e.getTime()-t.getTime();i=1+Math.round(r/6048e5)}return padNumber(i,e,getLocaleNumberSymbol(r,Z.MinusSign))}}function weekNumberingYearGetter(e,t=!1){return function(n,r){return padNumber(getThursdayThisIsoWeek(n).getFullYear(),e,getLocaleNumberSymbol(r,Z.MinusSign),t)}}function getDateFormatter(e){if(qi[e])return qi[e];let t;switch(e){case`G`:case`GG`:case`GGG`:t=dateStrGetter(3,Y.Abbreviated);break;case`GGGG`:t=dateStrGetter(3,Y.Wide);break;case`GGGGG`:t=dateStrGetter(3,Y.Narrow);break;case`y`:t=dateGetter(0,1,0,!1,!0);break;case`yy`:t=dateGetter(0,2,0,!0,!0);break;case`yyy`:t=dateGetter(0,3,0,!1,!0);break;case`yyyy`:t=dateGetter(0,4,0,!1,!0);break;case`Y`:t=weekNumberingYearGetter(1);break;case`YY`:t=weekNumberingYearGetter(2,!0);break;case`YYY`:t=weekNumberingYearGetter(3);break;case`YYYY`:t=weekNumberingYearGetter(4);break;case`M`:case`L`:t=dateGetter(1,1,1);break;case`MM`:case`LL`:t=dateGetter(1,2,1);break;case`MMM`:t=dateStrGetter(2,Y.Abbreviated);break;case`MMMM`:t=dateStrGetter(2,Y.Wide);break;case`MMMMM`:t=dateStrGetter(2,Y.Narrow);break;case`LLL`:t=dateStrGetter(2,Y.Abbreviated,J.Standalone);break;case`LLLL`:t=dateStrGetter(2,Y.Wide,J.Standalone);break;case`LLLLL`:t=dateStrGetter(2,Y.Narrow,J.Standalone);break;case`w`:t=weekGetter(1);break;case`ww`:t=weekGetter(2);break;case`W`:t=weekGetter(1,!0);break;case`d`:t=dateGetter(2,1);break;case`dd`:t=dateGetter(2,2);break;case`c`:case`cc`:t=dateGetter(7,1);break;case`ccc`:t=dateStrGetter(1,Y.Abbreviated,J.Standalone);break;case`cccc`:t=dateStrGetter(1,Y.Wide,J.Standalone);break;case`ccccc`:t=dateStrGetter(1,Y.Narrow,J.Standalone);break;case`cccccc`:t=dateStrGetter(1,Y.Short,J.Standalone);break;case`E`:case`EE`:case`EEE`:t=dateStrGetter(1,Y.Abbreviated);break;case`EEEE`:t=dateStrGetter(1,Y.Wide);break;case`EEEEE`:t=dateStrGetter(1,Y.Narrow);break;case`EEEEEE`:t=dateStrGetter(1,Y.Short);break;case`a`:case`aa`:case`aaa`:t=dateStrGetter(0,Y.Abbreviated);break;case`aaaa`:t=dateStrGetter(0,Y.Wide);break;case`aaaaa`:t=dateStrGetter(0,Y.Narrow);break;case`b`:case`bb`:case`bbb`:t=dateStrGetter(0,Y.Abbreviated,J.Standalone,!0);break;case`bbbb`:t=dateStrGetter(0,Y.Wide,J.Standalone,!0);break;case`bbbbb`:t=dateStrGetter(0,Y.Narrow,J.Standalone,!0);break;case`B`:case`BB`:case`BBB`:t=dateStrGetter(0,Y.Abbreviated,J.Format,!0);break;case`BBBB`:t=dateStrGetter(0,Y.Wide,J.Format,!0);break;case`BBBBB`:t=dateStrGetter(0,Y.Narrow,J.Format,!0);break;case`h`:t=dateGetter(3,1,-12);break;case`hh`:t=dateGetter(3,2,-12);break;case`H`:t=dateGetter(3,1);break;case`HH`:t=dateGetter(3,2);break;case`m`:t=dateGetter(4,1);break;case`mm`:t=dateGetter(4,2);break;case`s`:t=dateGetter(5,1);break;case`ss`:t=dateGetter(5,2);break;case`S`:t=dateGetter(6,1);break;case`SS`:t=dateGetter(6,2);break;case`SSS`:t=dateGetter(6,3);break;case`Z`:case`ZZ`:case`ZZZ`:t=timeZoneGetter(0);break;case`ZZZZZ`:t=timeZoneGetter(3);break;case`O`:case`OO`:case`OOO`:case`z`:case`zz`:case`zzz`:t=timeZoneGetter(1);break;case`OOOO`:case`ZZZZ`:case`zzzz`:t=timeZoneGetter(2);break;default:return null}return qi[e]=t,t}function timezoneToOffset(e,t){e=e.replace(/:/g,``);let n=Date.parse(`Jan 01, 1970 00:00:00 `+e)/6e4;return isNaN(n)?t:n}function addDateMinutes(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function convertTimezoneToLocal(e,t,n){let r=e.getTimezoneOffset();return addDateMinutes(e,-1*(timezoneToOffset(t,r)-r))}function toDate(e){if(isDate(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[t,n=1,r=1]=e.split(`-`).map(e=>+e);return createDate(t,n-1,r)}let t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(Vi))return isoStringToDate(n)}let t=new Date(e);if(!isDate(t))throw new RuntimeError(2311,!1);return t}function isoStringToDate(e){let t=new Date(0),n=0,r=0,i=e[8]?t.setUTCFullYear:t.setFullYear,a=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),i.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let o=Number(e[4]||0)-n,s=Number(e[5]||0)-r,c=Number(e[6]||0),l=Math.floor(parseFloat(`0.`+(e[7]||0))*1e3);return a.call(t,o,s,c,l),t}function isDate(e){return e instanceof Date&&!isNaN(e.valueOf())}function formatNumberToLocaleString(e,t,n,r,i,a,o=!1){let s=``,c=!1;if(!isFinite(e))s=getLocaleNumberSymbol(n,Z.Infinity);else{let l=parseNumber(e);o&&(l=toPercent(l));let u=t.minInt,d=t.minFrac,f=t.maxFrac;if(a){let e=a.match(Ji);if(e===null)throw new RuntimeError(2306,!1);let t=e[1],n=e[3],r=e[5];if(t!=null&&(u=parseIntAutoRadix(t)),n!=null&&(d=parseIntAutoRadix(n)),r==null?n!=null&&d>f&&(f=d):f=parseIntAutoRadix(r),u>100||d>100||f>100)throw new RuntimeError(2306,!1)}roundNumber(l,d,f);let p=l.digits,m=l.integerLen,h=l.exponent,g=[];for(c=p.every(e=>!e);m<u;m++)p.unshift(0);for(;m<0;m++)p.unshift(0);m>0?g=p.splice(m,p.length):(g=p,p=[0]);let _=[];for(p.length>=t.lgSize&&_.unshift(p.splice(-t.lgSize,p.length).join(``));p.length>t.gSize;)_.unshift(p.splice(-t.gSize,p.length).join(``));p.length&&_.unshift(p.join(``)),s=_.join(getLocaleNumberSymbol(n,r)),g.length&&(s+=getLocaleNumberSymbol(n,i)+g.join(``)),h&&(s+=getLocaleNumberSymbol(n,Z.Exponential)+`+`+h)}return s=e<0&&!c?t.negPre+s+t.negSuf:t.posPre+s+t.posSuf,s}function formatCurrency(e,t,n,r,i){let a=parseNumberFormat(getLocaleNumberFormat(t,Li.Currency),getLocaleNumberSymbol(t,Z.MinusSign));return a.minFrac=getNumberOfCurrencyDigits(r),a.maxFrac=a.minFrac,formatNumberToLocaleString(e,a,t,Z.CurrencyGroup,Z.CurrencyDecimal,i).replace(ta,n).replace(ta,``).trim()}function formatPercent(e,t,n){return formatNumberToLocaleString(e,parseNumberFormat(getLocaleNumberFormat(t,Li.Percent),getLocaleNumberSymbol(t,Z.MinusSign)),t,Z.Group,Z.Decimal,n,!0).replace(new RegExp(na,`g`),getLocaleNumberSymbol(t,Z.PercentSign))}function formatNumber(e,t,n){return formatNumberToLocaleString(e,parseNumberFormat(getLocaleNumberFormat(t,Li.Decimal),getLocaleNumberSymbol(t,Z.MinusSign)),t,Z.Group,Z.Decimal,n)}function parseNumberFormat(e,t=`-`){let n={minInt:1,minFrac:0,maxFrac:0,posPre:``,posSuf:``,negPre:``,negSuf:``,gSize:0,lgSize:0},r=e.split(Qi),i=r[0],a=r[1],o=i.indexOf(Xi)===-1?[i.substring(0,i.lastIndexOf(Zi)+1),i.substring(i.lastIndexOf(Zi)+1)]:i.split(Xi),s=o[0],c=o[1]||``;n.posPre=s.substring(0,s.indexOf(ea));for(let e=0;e<c.length;e++){let t=c.charAt(e);t===Zi?n.minFrac=n.maxFrac=e+1:t===ea?n.maxFrac=e+1:n.posSuf+=t}let l=s.split($i);if(n.gSize=l[1]?l[1].length:0,n.lgSize=l[2]||l[1]?(l[2]||l[1]).length:0,a){let e=i.length-n.posPre.length-n.posSuf.length,t=a.indexOf(ea);n.negPre=a.substring(0,t).replace(/'/g,``),n.negSuf=a.slice(t+e).replace(/'/g,``)}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function toPercent(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 parseNumber(e){let t=Math.abs(e)+``,n=0,r,i,a,o,s;for((i=t.indexOf(Xi))>-1&&(t=t.replace(Xi,``)),(a=t.search(/e/i))>0?(i<0&&(i=a),i+=+t.slice(a+1),t=t.substring(0,a)):i<0&&(i=t.length),a=0;t.charAt(a)===Zi;a++);if(a===(s=t.length))r=[0],i=1;else{for(s--;t.charAt(s)===Zi;)s--;for(i-=a,r=[],o=0;a<=s;a++,o++)r[o]=Number(t.charAt(a))}return i>Yi&&(r=r.splice(0,21),n=i-1,i=1),{digits:r,exponent:n,integerLen:i}}function roundNumber(e,t,n){if(t>n)throw new RuntimeError(2307,!1);let r=e.digits,i=r.length-e.integerLen,a=Math.min(Math.max(t,i),n),o=a+e.integerLen,s=r[o];if(o>0){r.splice(Math.max(e.integerLen,o));for(let e=o;e<r.length;e++)r[e]=0}else{i=Math.max(0,i),e.integerLen=1,r.length=Math.max(1,o=a+1),r[0]=0;for(let e=1;e<o;e++)r[e]=0}if(s>=5){if(o-1<0){for(let t=0;t>o;t--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[o-1]++}for(;i<Math.max(0,a);i++)r.push(0);let c=a!==0,l=t+e.integerLen,u=r.reduceRight(function(e,t,n,r){return t+=e,r[n]=t<10?t:t-10,c&&(r[n]===0&&n>=l?r.pop():c=!1),+(t>=10)},0);u&&(r.unshift(u),e.integerLen++)}function parseIntAutoRadix(e){let t=parseInt(e);if(isNaN(t))throw new RuntimeError(2305,!1);return t}function getPluralCategory(e,t,n,r){let i=`=${e}`;if(t.indexOf(i)>-1||(i=n.getPluralCategory(e,r),t.indexOf(i)>-1))return i;if(t.indexOf(`other`)>-1)return`other`;throw new RuntimeError(2308,!1)}function getParentInjector(e){return e.get(or).injector}function applyViewChange(e,t){e.context.$implicit=t.item}function assertTemplate(e,t){if(e&&!e.createEmbeddedView)throw new RuntimeError(2020,!1)}function invalidPipeArgumentError(e,t){return new RuntimeError(2100,!1)}function assertPipeArgument(e,t){if(typeof t!=`string`)throw invalidPipeArgumentError(e,t)}function makeKeyValuePair(e,t){return{key:e,value:t}}function defaultComparator(e,t){let n=e.key,r=t.key;if(n===r)return 0;if(n==null)return 1;if(r==null)return-1;if(typeof n==`string`&&typeof r==`string`)return n<r?-1:1;if(typeof n==`number`&&typeof r==`number`)return n-r;if(typeof n==`boolean`&&typeof r==`boolean`)return n<r?-1:1;let i=String(n),a=String(r);return i==a?0:i<a?-1:1}function isValue(e){return e!=null&&e!==``&&e===e}function strToNumber(e){if(typeof e==`string`&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!=`number`)throw new RuntimeError(2309,!1);return e}var Ii,Li,Ri,J,Y,X,Z,zi,Bi,Vi,Hi,Ui,Wi,Gi,Ki,qi,Ji,Yi,Xi,Zi,Qi,$i,ea,ta,na,ra,ia,aa,oa,sa,ca,NgForOfContext,la,ua,NgIfContext,SwitchView,da,fa,pa,ma,ha,ga,_a,SubscribableStrategy,PromiseStrategy,va,ya,ba,xa,Sa,Ca,wa,Ta,Ea,Da,Oa,ka,Aa,ja,Ma,Na,Pa,Fa,Ia,La,Ra;function init__common_module_chunk(){return(init__common_module_chunk=t((()=>{init_core(),Ii={ADP:[void 0,void 0,0],AFN:[void 0,`؋`,0],ALL:[void 0,void 0,0],AMD:[void 0,`֏`,2],AOA:[void 0,`Kz`],ARS:[void 0,`$`],AUD:[`A$`,`$`],AZN:[void 0,`₼`],BAM:[void 0,`KM`],BBD:[void 0,`$`],BDT:[void 0,`৳`],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,`$`],BND:[void 0,`$`],BOB:[void 0,`Bs`],BRL:[`R$`],BSD:[void 0,`$`],BWP:[void 0,`P`],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,`$`],CAD:[`CA$`,`$`,2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,`$`,0],CNY:[`CN¥`,`¥`],COP:[void 0,`$`,2],CRC:[void 0,`₡`,2],CUC:[void 0,`$`],CUP:[void 0,`$`],CZK:[void 0,`Kč`,2],DJF:[void 0,void 0,0],DKK:[void 0,`kr`,2],DOP:[void 0,`$`],EGP:[void 0,`E£`],ESP:[void 0,`₧`,0],EUR:[`€`],FJD:[void 0,`$`],FKP:[void 0,`£`],GBP:[`£`],GEL:[void 0,`₾`],GHS:[void 0,`GH₵`],GIP:[void 0,`£`],GNF:[void 0,`FG`,0],GTQ:[void 0,`Q`],GYD:[void 0,`$`,2],HKD:[`HK$`,`$`],HNL:[void 0,`L`],HRK:[void 0,`kn`],HUF:[void 0,`Ft`,2],IDR:[void 0,`Rp`,2],ILS:[`₪`],INR:[`₹`],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,`kr`,0],ITL:[void 0,void 0,0],JMD:[void 0,`$`],JOD:[void 0,void 0,3],JPY:[`¥`,void 0,0],KGS:[void 0,`⃀`],KHR:[void 0,`៛`],KMF:[void 0,`CF`,0],KPW:[void 0,`₩`,0],KRW:[`₩`,void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,`$`],KZT:[void 0,`₸`],LAK:[void 0,`₭`,0],LBP:[void 0,`L£`,0],LKR:[void 0,`Rs`],LRD:[void 0,`$`],LTL:[void 0,`Lt`],LUF:[void 0,void 0,0],LVL:[void 0,`Ls`],LYD:[void 0,void 0,3],MGA:[void 0,`Ar`,0],MGF:[void 0,void 0,0],MMK:[void 0,`K`,0],MNT:[void 0,`₮`,2],MRO:[void 0,void 0,0],MUR:[void 0,`Rs`,2],MXN:[`MX$`,`$`],MYR:[void 0,`RM`],NAD:[void 0,`$`],NGN:[void 0,`₦`],NIO:[void 0,`C$`],NOK:[void 0,`kr`,2],NPR:[void 0,`Rs`],NZD:[`NZ$`,`$`],OMR:[void 0,void 0,3],PHP:[`₱`],PKR:[void 0,`Rs`,2],PLN:[void 0,`zł`],PYG:[void 0,`₲`,0],RON:[void 0,`lei`],RSD:[void 0,void 0,0],RUB:[void 0,`₽`],RWF:[void 0,`RF`,0],SBD:[void 0,`$`],SEK:[void 0,`kr`,2],SGD:[void 0,`$`],SHP:[void 0,`£`],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,`$`],SSP:[void 0,`£`],STD:[void 0,void 0,0],STN:[void 0,`Db`],SYP:[void 0,`£`,0],THB:[void 0,`฿`],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,`T$`],TRL:[void 0,void 0,0],TRY:[void 0,`₺`],TTD:[void 0,`$`],TWD:[`NT$`,`$`,2],TZS:[void 0,void 0,2],UAH:[void 0,`₴`],UGX:[void 0,void 0,0],USD:[`$`],UYI:[void 0,void 0,0],UYU:[void 0,`$`],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,`Bs`,2],VND:[`₫`,void 0,0],VUV:[void 0,void 0,0],XAF:[`FCFA`,void 0,0],XCD:[`EC$`,`$`],XCG:[`Cg.`],XOF:[`F CFA`,void 0,0],XPF:[`CFPF`,void 0,0],XXX:[`¤`],YER:[void 0,void 0,0],ZAR:[void 0,`R`],ZMK:[void 0,void 0,0],ZMW:[void 0,`ZK`],ZWD:[void 0,void 0,0]},Li=function(e){return e[e.Decimal=0]=`Decimal`,e[e.Percent=1]=`Percent`,e[e.Currency=2]=`Currency`,e[e.Scientific=3]=`Scientific`,e}(Li||{}),Ri=function(e){return e[e.Zero=0]=`Zero`,e[e.One=1]=`One`,e[e.Two=2]=`Two`,e[e.Few=3]=`Few`,e[e.Many=4]=`Many`,e[e.Other=5]=`Other`,e}(Ri||{}),J=function(e){return e[e.Format=0]=`Format`,e[e.Standalone=1]=`Standalone`,e}(J||{}),Y=function(e){return e[e.Narrow=0]=`Narrow`,e[e.Abbreviated=1]=`Abbreviated`,e[e.Wide=2]=`Wide`,e[e.Short=3]=`Short`,e}(Y||{}),X=function(e){return e[e.Short=0]=`Short`,e[e.Medium=1]=`Medium`,e[e.Long=2]=`Long`,e[e.Full=3]=`Full`,e}(X||{}),Z={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},zi=getLocalePluralCase$1,Bi=2,Vi=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Hi={},Ui=/((?:[^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]*)/,Wi=256,Gi=0,Ki=4,qi={},Ji=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Yi=22,Xi=`.`,Zi=`0`,Qi=`;`,$i=`,`,ea=`#`,ta=`¤`,na=`%`,ra=(()=>{class NgLocalization{static ɵfac=function NgLocalization_Factory(e){return new(e||NgLocalization)};static ɵprov=ɵɵdefineInjectable({token:NgLocalization,factory:()=>new ia(inject(q)),providedIn:`root`})}return NgLocalization})(),ia=(()=>{class NgLocaleLocalization extends ra{locale;constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(zi(t||this.locale)(e)){case Ri.Zero:return`zero`;case Ri.One:return`one`;case Ri.Two:return`two`;case Ri.Few:return`few`;case Ri.Many:return`many`;default:return`other`}}static ɵfac=function NgLocaleLocalization_Factory(e){return new(e||NgLocaleLocalization)(ɵɵinject(q))};static ɵprov=ɵɵdefineInjectable({token:NgLocaleLocalization,factory:NgLocaleLocalization.ɵfac})}return NgLocaleLocalization})(),aa=/\s+/,oa=[],sa=(()=>{class NgClass{_ngEl;_renderer;initialClasses=oa;rawClass;stateMap=new Map;constructor(e,t){this._ngEl=e,this._renderer=t}set klass(e){this.initialClasses=e==null?oa:e.trim().split(aa)}set ngClass(e){this.rawClass=typeof e==`string`?e.trim().split(aa):e}ngDoCheck(){for(let e of this.initialClasses)this._updateState(e,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let t of e)this._updateState(t,!0);else if(e!=null)for(let t of Object.keys(e))this._updateState(t,!!e[t]);this._applyStateDiff()}_updateState(e,t){let n=this.stateMap.get(e);n===void 0?this.stateMap.set(e,{enabled:t,changed:!0,touched:!0}):(n.enabled!==t&&(n.changed=!0,n.enabled=t),n.touched=!0)}_applyStateDiff(){for(let e of this.stateMap){let t=e[0],n=e[1];n.changed?(this._toggleClass(t,n.enabled),n.changed=!1):n.touched||(n.enabled&&this._toggleClass(t,!1),this.stateMap.delete(t)),n.touched=!1}}_toggleClass(e,t){e=e.trim(),e.length>0&&e.split(aa).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}static ɵfac=function NgClass_Factory(e){return new(e||NgClass)(ɵɵdirectiveInject(Ct),ɵɵdirectiveInject(Gn))};static ɵdir=ɵɵdefineDirective({type:NgClass,selectors:[[``,`ngClass`,``]],inputs:{klass:[0,`class`,`klass`],ngClass:`ngClass`}})}return NgClass})(),ca=(()=>{class NgComponentOutlet{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletEnvironmentInjector;ngComponentOutletContent;ngComponentOutletNgModule;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(e){this._viewContainerRef=e}_needToReCreateNgModuleInstance(e){return e.ngComponentOutletNgModule!==void 0}_needToReCreateComponentInstance(e){return e.ngComponentOutlet!==void 0||e.ngComponentOutletContent!==void 0||e.ngComponentOutletInjector!==void 0||e.ngComponentOutletEnvironmentInjector!==void 0||this._needToReCreateNgModuleInstance(e)}ngOnChanges(e){if(this._needToReCreateComponentInstance(e)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let t=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(e)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?createNgModule(this.ngComponentOutletNgModule,getParentInjector(t)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:t,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent,environmentInjector:this.ngComponentOutletEnvironmentInjector})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let e of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(e,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(e){for(let[t,n]of this._inputsUsed)n?(e.setInput(t,this.ngComponentOutletInputs[t]),this._inputsUsed.set(t,!1)):(e.setInput(t,void 0),this._inputsUsed.delete(t))}static ɵfac=function NgComponentOutlet_Factory(e){return new(e||NgComponentOutlet)(ɵɵdirectiveInject(B))};static ɵdir=ɵɵdefineDirective({type:NgComponentOutlet,selectors:[[``,`ngComponentOutlet`,``]],inputs:{ngComponentOutlet:`ngComponentOutlet`,ngComponentOutletInputs:`ngComponentOutletInputs`,ngComponentOutletInjector:`ngComponentOutletInjector`,ngComponentOutletEnvironmentInjector:`ngComponentOutletEnvironmentInjector`,ngComponentOutletContent:`ngComponentOutletContent`,ngComponentOutletNgModule:`ngComponentOutletNgModule`},exportAs:[`ngComponentOutlet`],features:[dt]})}return NgComponentOutlet})(),NgForOfContext=class{$implicit;ngForOf;index;count;constructor(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}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}},la=(()=>{class NgForOf{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let t=this._viewContainer;e.forEachOperation((e,n,r)=>{if(e.previousIndex==null)t.createEmbeddedView(this._template,new NgForOfContext(e.item,this._ngForOf,-1,-1),r===null?void 0:r);else if(r==null)t.remove(n===null?void 0:n);else if(n!==null){let i=t.get(n);t.move(i,r),applyViewChange(i,e)}});for(let e=0,n=t.length;e<n;e++){let r=t.get(e).context;r.index=e,r.count=n,r.ngForOf=this._ngForOf}e.forEachIdentityChange(e=>{applyViewChange(t.get(e.currentIndex),e)})}static ngTemplateContextGuard(e,t){return!0}static ɵfac=function NgForOf_Factory(e){return new(e||NgForOf)(ɵɵdirectiveInject(B),ɵɵdirectiveInject(z),ɵɵdirectiveInject(Mi))};static ɵdir=ɵɵdefineDirective({type:NgForOf,selectors:[[``,`ngFor`,``,`ngForOf`,``]],inputs:{ngForOf:`ngForOf`,ngForTrackBy:`ngForTrackBy`,ngForTemplate:`ngForTemplate`}})}return NgForOf})(),ua=(()=>{class NgIf{_viewContainer;_context=new NgIfContext;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,t){this._viewContainer=e,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){assertTemplate(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){assertTemplate(e,!1),this._elseTemplateRef=e,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(e,t){return!0}static ɵfac=function NgIf_Factory(e){return new(e||NgIf)(ɵɵdirectiveInject(B),ɵɵdirectiveInject(z))};static ɵdir=ɵɵdefineDirective({type:NgIf,selectors:[[``,`ngIf`,``]],inputs:{ngIf:`ngIf`,ngIfThen:`ngIfThen`,ngIfElse:`ngIfElse`}})}return NgIf})(),NgIfContext=class{$implicit=null;ngIf=null},SwitchView=class{_viewContainerRef;_templateRef;_created=!1;constructor(e,t){this._viewContainerRef=e,this._templateRef=t}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}},da=(()=>{class NgSwitch{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(e){this._ngSwitch=e,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){let t=e===this._ngSwitch;return this._lastCasesMatched||=t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(let t of this._defaultViews)t.enforceState(e)}}static ɵfac=function NgSwitch_Factory(e){return new(e||NgSwitch)};static ɵdir=ɵɵdefineDirective({type:NgSwitch,selectors:[[``,`ngSwitch`,``]],inputs:{ngSwitch:`ngSwitch`}})}return NgSwitch})(),fa=(()=>{class NgSwitchCase{ngSwitch;_view;ngSwitchCase;constructor(e,t,n){this.ngSwitch=n,n._addCase(),this._view=new SwitchView(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static ɵfac=function NgSwitchCase_Factory(e){return new(e||NgSwitchCase)(ɵɵdirectiveInject(B),ɵɵdirectiveInject(z),ɵɵdirectiveInject(da,9))};static ɵdir=ɵɵdefineDirective({type:NgSwitchCase,selectors:[[``,`ngSwitchCase`,``]],inputs:{ngSwitchCase:`ngSwitchCase`}})}return NgSwitchCase})(),pa=(()=>{class NgSwitchDefault{constructor(e,t,n){n._addDefault(new SwitchView(e,t))}static ɵfac=function NgSwitchDefault_Factory(e){return new(e||NgSwitchDefault)(ɵɵdirectiveInject(B),ɵɵdirectiveInject(z),ɵɵdirectiveInject(da,9))};static ɵdir=ɵɵdefineDirective({type:NgSwitchDefault,selectors:[[``,`ngSwitchDefault`,``]]})}return NgSwitchDefault})(),ma=(()=>{class NgPlural{_localization;_activeView;_caseViews={};constructor(e){this._localization=e}set ngPlural(e){this._updateView(e)}addCase(e,t){this._caseViews[e]=t}_updateView(e){this._clearViews();let t=getPluralCategory(e,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[t])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(e){e&&(this._activeView=e,this._activeView.create())}static ɵfac=function NgPlural_Factory(e){return new(e||NgPlural)(ɵɵdirectiveInject(ra))};static ɵdir=ɵɵdefineDirective({type:NgPlural,selectors:[[``,`ngPlural`,``]],inputs:{ngPlural:`ngPlural`}})}return NgPlural})(),ha=(()=>{class NgPluralCase{value;constructor(e,t,n,r){this.value=e;let i=!isNaN(Number(e));r.addCase(i?`=${e}`:e,new SwitchView(n,t))}static ɵfac=function NgPluralCase_Factory(e){return new(e||NgPluralCase)(ɵɵinjectAttribute(`ngPluralCase`),ɵɵdirectiveInject(z),ɵɵdirectiveInject(B),ɵɵdirectiveInject(ma,1))};static ɵdir=ɵɵdefineDirective({type:NgPluralCase,selectors:[[``,`ngPluralCase`,``]]})}return NgPluralCase})(),ga=(()=>{class NgStyle{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,t,n){this._ngEl=e,this._differs=t,this._renderer=n}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){let[n,r]=e.split(`.`),i=n.indexOf(`-`)===-1?void 0:L.DashCase;t==null?this._renderer.removeStyle(this._ngEl.nativeElement,n,i):this._renderer.setStyle(this._ngEl.nativeElement,n,r?`${t}${r}`:t,i)}_applyChanges(e){e.forEachRemovedItem(e=>this._setStyle(e.key,null)),e.forEachAddedItem(e=>this._setStyle(e.key,e.currentValue)),e.forEachChangedItem(e=>this._setStyle(e.key,e.currentValue))}static ɵfac=function NgStyle_Factory(e){return new(e||NgStyle)(ɵɵdirectiveInject(Ct),ɵɵdirectiveInject(Ni),ɵɵdirectiveInject(Gn))};static ɵdir=ɵɵdefineDirective({type:NgStyle,selectors:[[``,`ngStyle`,``]],inputs:{ngStyle:`ngStyle`}})}return NgStyle})(),_a=(()=>{class NgTemplateOutlet{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=inject(Ie);constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let e=this._viewContainerRef;if(this._viewRef&&e.remove(e.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let t=this._createContextForwardProxy();this._viewRef=e.createEmbeddedView(this.ngTemplateOutlet,t,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector===`outlet`?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,t,n)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,t,n):!1,get:(e,t,n)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,t,n)}})}static ɵfac=function NgTemplateOutlet_Factory(e){return new(e||NgTemplateOutlet)(ɵɵdirectiveInject(B))};static ɵdir=ɵɵdefineDirective({type:NgTemplateOutlet,selectors:[[``,`ngTemplateOutlet`,``]],inputs:{ngTemplateOutletContext:`ngTemplateOutletContext`,ngTemplateOutlet:`ngTemplateOutlet`,ngTemplateOutletInjector:`ngTemplateOutletInjector`},features:[dt]})}return NgTemplateOutlet})(),SubscribableStrategy=class{createSubscription(e,t,n){return untracked(()=>e.subscribe({next:t,error:n}))}dispose(e){untracked(()=>e.unsubscribe())}},PromiseStrategy=class{createSubscription(e,t,n){return e.then(e=>t?.(e),e=>n?.(e)),{unsubscribe:()=>{t=null,n=null}}}dispose(e){e.unsubscribe()}},va=new PromiseStrategy,ya=new SubscribableStrategy,ba=(()=>{class AsyncPipe{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=inject(We);constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e===this._obj?this._latestValue:(this._dispose(),this.transform(e))}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t),e=>this.applicationErrorHandler(e))}_selectStrategy(e){if(isPromise(e))return va;if(isSubscribable(e))return ya;throw invalidPipeArgumentError(AsyncPipe,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static ɵfac=function AsyncPipe_Factory(e){return new(e||AsyncPipe)(ɵɵdirectiveInject(ji,16))};static ɵpipe=ɵɵdefinePipe({name:`async`,type:AsyncPipe,pure:!1})}return AsyncPipe})(),xa=(()=>{class LowerCasePipe{transform(e){return e==null?null:(assertPipeArgument(LowerCasePipe,e),e.toLowerCase())}static ɵfac=function LowerCasePipe_Factory(e){return new(e||LowerCasePipe)};static ɵpipe=ɵɵdefinePipe({name:`lowercase`,type:LowerCasePipe,pure:!0})}return LowerCasePipe})(),Sa=/(?:[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,Ca=(()=>{class TitleCasePipe{transform(e){return e==null?null:(assertPipeArgument(TitleCasePipe,e),e.replace(Sa,e=>e[0].toUpperCase()+e.slice(1).toLowerCase()))}static ɵfac=function TitleCasePipe_Factory(e){return new(e||TitleCasePipe)};static ɵpipe=ɵɵdefinePipe({name:`titlecase`,type:TitleCasePipe,pure:!0})}return TitleCasePipe})(),wa=(()=>{class UpperCasePipe{transform(e){return e==null?null:(assertPipeArgument(UpperCasePipe,e),e.toUpperCase())}static ɵfac=function UpperCasePipe_Factory(e){return new(e||UpperCasePipe)};static ɵpipe=ɵɵdefinePipe({name:`uppercase`,type:UpperCasePipe,pure:!0})}return UpperCasePipe})(),Ta=`mediumDate`,Ea=new InjectionToken(``),Da=new InjectionToken(``),Oa=(()=>{class DatePipe{locale;defaultTimezone;defaultOptions;constructor(e,t,n){this.locale=e,this.defaultTimezone=t,this.defaultOptions=n}transform(e,t,n,r){if(e==null||e===``||e!==e)return null;try{let i=t??this.defaultOptions?.dateFormat??Ta,a=n??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return formatDate(e,i,r||this.locale,a)}catch(e){throw invalidPipeArgumentError(DatePipe,e.message)}}static ɵfac=function DatePipe_Factory(e){return new(e||DatePipe)(ɵɵdirectiveInject(q,16),ɵɵdirectiveInject(Ea,24),ɵɵdirectiveInject(Da,24))};static ɵpipe=ɵɵdefinePipe({name:`date`,type:DatePipe,pure:!0})}return DatePipe})(),ka=/#/g,Aa=(()=>{class I18nPluralPipe{_localization;constructor(e){this._localization=e}transform(e,t,n){if(e==null)return``;if(typeof t!=`object`||!t)throw invalidPipeArgumentError(I18nPluralPipe,t);return t[getPluralCategory(e,Object.keys(t),this._localization,n)].replace(ka,e.toString())}static ɵfac=function I18nPluralPipe_Factory(e){return new(e||I18nPluralPipe)(ɵɵdirectiveInject(ra,16))};static ɵpipe=ɵɵdefinePipe({name:`i18nPlural`,type:I18nPluralPipe,pure:!0})}return I18nPluralPipe})(),ja=(()=>{class I18nSelectPipe{transform(e,t){if(e==null)return``;if(typeof t!=`object`||typeof e!=`string`)throw invalidPipeArgumentError(I18nSelectPipe,t);return t.hasOwnProperty(e)?t[e]:t.hasOwnProperty(`other`)?t.other:``}static ɵfac=function I18nSelectPipe_Factory(e){return new(e||I18nSelectPipe)};static ɵpipe=ɵɵdefinePipe({name:`i18nSelect`,type:I18nSelectPipe,pure:!0})}return I18nSelectPipe})(),Ma=(()=>{class JsonPipe{transform(e){return JSON.stringify(e,null,2)}static ɵfac=function JsonPipe_Factory(e){return new(e||JsonPipe)};static ɵpipe=ɵɵdefinePipe({name:`json`,type:JsonPipe,pure:!1})}return JsonPipe})(),Na=(()=>{class KeyValuePipe{differs;constructor(e){this.differs=e}differ;keyValues=[];compareFn=defaultComparator;transform(e,t=defaultComparator){if(!e||!(e instanceof Map)&&typeof e!=`object`)return null;this.differ??=this.differs.find(e).create();let n=this.differ.diff(e),r=t!==this.compareFn;return n&&(this.keyValues=[],n.forEachItem(e=>{this.keyValues.push(makeKeyValuePair(e.key,e.currentValue))})),(n||r)&&(t&&this.keyValues.sort(t),this.compareFn=t),this.keyValues}static ɵfac=function KeyValuePipe_Factory(e){return new(e||KeyValuePipe)(ɵɵdirectiveInject(Ni,16))};static ɵpipe=ɵɵdefinePipe({name:`keyvalue`,type:KeyValuePipe,pure:!1})}return KeyValuePipe})(),Pa=(()=>{class DecimalPipe{_locale;constructor(e){this._locale=e}transform(e,t,n){if(!isValue(e))return null;n||=this._locale;try{return formatNumber(strToNumber(e),n,t)}catch(e){throw invalidPipeArgumentError(DecimalPipe,e.message)}}static ɵfac=function DecimalPipe_Factory(e){return new(e||DecimalPipe)(ɵɵdirectiveInject(q,16))};static ɵpipe=ɵɵdefinePipe({name:`number`,type:DecimalPipe,pure:!0})}return DecimalPipe})(),Fa=(()=>{class PercentPipe{_locale;constructor(e){this._locale=e}transform(e,t,n){if(!isValue(e))return null;n||=this._locale;try{return formatPercent(strToNumber(e),n,t)}catch(e){throw invalidPipeArgumentError(PercentPipe,e.message)}}static ɵfac=function PercentPipe_Factory(e){return new(e||PercentPipe)(ɵɵdirectiveInject(q,16))};static ɵpipe=ɵɵdefinePipe({name:`percent`,type:PercentPipe,pure:!0})}return PercentPipe})(),Ia=(()=>{class CurrencyPipe{_locale;_defaultCurrencyCode;constructor(e,t=`USD`){this._locale=e,this._defaultCurrencyCode=t}transform(e,t=this._defaultCurrencyCode,n=`symbol`,r,i){if(!isValue(e))return null;i||=this._locale,typeof n==`boolean`&&(n=n?`symbol`:`code`);let a=t||this._defaultCurrencyCode;n!==`code`&&(a=n===`symbol`||n===`symbol-narrow`?getCurrencySymbol(a,n===`symbol`?`wide`:`narrow`,i):n);try{return formatCurrency(strToNumber(e),i,a,t,r)}catch(e){throw invalidPipeArgumentError(CurrencyPipe,e.message)}}static ɵfac=function CurrencyPipe_Factory(e){return new(e||CurrencyPipe)(ɵɵdirectiveInject(q,16),ɵɵdirectiveInject(wi,16))};static ɵpipe=ɵɵdefinePipe({name:`currency`,type:CurrencyPipe,pure:!0})}return CurrencyPipe})(),La=(()=>{class SlicePipe{transform(e,t,n){if(e==null)return null;if(!(typeof e==`string`||Array.isArray(e)))throw invalidPipeArgumentError(SlicePipe,e);return e.slice(t,n)}static ɵfac=function SlicePipe_Factory(e){return new(e||SlicePipe)};static ɵpipe=ɵɵdefinePipe({name:`slice`,type:SlicePipe,pure:!1})}return SlicePipe})(),Ra=(()=>{class CommonModule{static ɵfac=function CommonModule_Factory(e){return new(e||CommonModule)};static ɵmod=ɵɵdefineNgModule({type:CommonModule,imports:[sa,ca,la,ua,_a,ga,da,fa,pa,ma,ha,ba,wa,xa,Ma,La,Pa,Fa,Ca,Ia,Oa,Aa,ja,Na],exports:[sa,ca,la,ua,_a,ga,da,fa,pa,ma,ha,ba,wa,xa,Ma,La,Pa,Fa,Ca,Ia,Oa,Aa,ja,Na]});static ɵinj=ɵɵdefineInjector({})}return CommonModule})()})))()}function parseCookieValue(e,t){t=encodeURIComponent(t);for(let n of e.split(`;`)){let e=n.indexOf(`=`),[r,i]=e==-1?[n,``]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(i)}return null}var XhrFactory;function init__xhr_chunk(){return(init__xhr_chunk=t((()=>{XhrFactory=class{}})))()}var za;function init_common(){return(init_common=t((()=>{init__common_module_chunk(),init__platform_location_chunk(),init_core(),za=`browser`})))()}function removeElements(e){for(let t of e)t.remove()}function createStyleElement(e,t){let n=t.createElement(`style`);return n.textContent=e,n}function addServerStyles(e,t,n,r){let i=e.head?.querySelectorAll(`style[${Ua}="${t}"],link[${Ua}="${t}"]`);if(i)for(let e of i)e.removeAttribute(Ua),e instanceof HTMLLinkElement?r.set(e.href.slice(e.href.lastIndexOf(`/`)+1),{usage:0,elements:[e]}):e.textContent&&n.set(e.textContent,{usage:0,elements:[e]})}function createLinkElement(e,t){let n=t.createElement(`link`);return n.setAttribute(`rel`,`stylesheet`),n.setAttribute(`href`,e),n}function shimContentAttribute(e){return Ya.replace(Ka,e)}function shimHostAttribute(e){return Ja.replace(Ka,e)}function shimStylesContent(e,t){return t.map(t=>t.replace(Ka,e))}function isTemplateNode(e){return e.tagName===`TEMPLATE`&&e.content!==void 0}var EventManagerPlugin,Ba,Va,Ha,Ua,Wa,Ga,Ka,qa,Ja,Ya,Xa,Za,Qa,DefaultDomRenderer2,ShadowDomRenderer,NoneEncapsulationDomRenderer,EmulatedEncapsulationDomRenderer2;function init__dom_renderer_chunk(){return(init__dom_renderer_chunk=t((()=>{init_common(),init_core(),EventManagerPlugin=class{_doc;constructor(e){this._doc=e}manager},Ba=(()=>{class DomEventsPlugin extends EventManagerPlugin{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n,r){return e.addEventListener(t,n,r),()=>this.removeEventListener(e,t,n,r)}removeEventListener(e,t,n,r){return e.removeEventListener(t,n,r)}static ɵfac=function DomEventsPlugin_Factory(e){return new(e||DomEventsPlugin)(ɵɵinject(k))};static ɵprov=ɵɵdefineInjectable({token:DomEventsPlugin,factory:DomEventsPlugin.ɵfac})}return DomEventsPlugin})(),Va=new InjectionToken(``),Ha=(()=>{class EventManager{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,t){this._zone=t,e.forEach(e=>{e.manager=this});let n=e.filter(e=>!(e instanceof Ba));this._plugins=n.slice().reverse();let r=e.find(e=>e instanceof Ba);r&&this._plugins.push(r)}addEventListener(e,t,n,r){return this._findPluginFor(t).addEventListener(e,t,n,r)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find(t=>t.supports(e)),!t)throw new RuntimeError(5101,!1);return this._eventNameToPlugin.set(e,t),t}static ɵfac=function EventManager_Factory(e){return new(e||EventManager)(ɵɵinject(Va),ɵɵinject(j))};static ɵprov=ɵɵdefineInjectable({token:EventManager,factory:EventManager.ɵfac})}return EventManager})(),Ua=`ng-app-id`,Wa=(()=>{class SharedStylesHost{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,t,n,r={}){this.doc=e,this.appId=t,this.nonce=n,addServerStyles(e,t,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,t){for(let t of e)this.addUsage(t,this.inline,createStyleElement);t?.forEach(e=>this.addUsage(e,this.external,createLinkElement))}removeStyles(e,t){for(let t of e)this.removeUsage(t,this.inline);t?.forEach(e=>this.removeUsage(e,this.external))}addUsage(e,t,n){let r=t.get(e);r?r.usage++:t.set(e,{usage:1,elements:[...this.hosts].map(t=>this.addElement(t,n(e,this.doc)))})}removeUsage(e,t){let n=t.get(e);n&&(n.usage--,n.usage<=0&&(removeElements(n.elements),t.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])removeElements(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[t,{elements:n}]of this.inline)n.push(this.addElement(e,createStyleElement(t,this.doc)));for(let[t,{elements:n}]of this.external)n.push(this.addElement(e,createLinkElement(t,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,t){return this.nonce&&t.setAttribute(`nonce`,this.nonce),e.appendChild(t)}static ɵfac=function SharedStylesHost_Factory(e){return new(e||SharedStylesHost)(ɵɵinject(k),ɵɵinject(kt),ɵɵinject(Pt,8),ɵɵinject(Mt))};static ɵprov=ɵɵdefineInjectable({token:SharedStylesHost,factory:SharedStylesHost.ɵfac})}return SharedStylesHost})(),Ga={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`},Ka=/%COMP%/g,qa=`%COMP%`,Ja=`_nghost-${qa}`,Ya=`_ngcontent-${qa}`,Xa=!0,Za=new InjectionToken(``,{factory:()=>Xa}),Qa=(()=>{class DomRendererFactory2{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,t,n,r,i,a,o=null,s=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.removeStylesOnCompDestroy=r,this.doc=i,this.ngZone=a,this.nonce=o,this.tracingService=s,this.defaultRenderer=new DefaultDomRenderer2(e,i,a,this.tracingService)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;let n=this.getOrCreateRenderer(e,t);return n instanceof EmulatedEncapsulationDomRenderer2?n.applyToHost(e):n instanceof NoneEncapsulationDomRenderer&&n.applyStyles(),n}getOrCreateRenderer(e,t){let n=this.rendererByCompId,r=n.get(t.id);if(!r){let i=this.doc,a=this.ngZone,o=this.eventManager,s=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,l=this.tracingService;switch(t.encapsulation){case F.Emulated:r=new EmulatedEncapsulationDomRenderer2(o,s,t,this.appId,c,i,a,l);break;case F.ShadowDom:return new ShadowDomRenderer(o,e,t,i,a,this.nonce,l,s);case F.ExperimentalIsolatedShadowDom:return new ShadowDomRenderer(o,e,t,i,a,this.nonce,l);default:r=new NoneEncapsulationDomRenderer(o,s,t,c,i,a,l)}n.set(t.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static ɵfac=function DomRendererFactory2_Factory(e){return new(e||DomRendererFactory2)(ɵɵinject(Ha),ɵɵinject(Wa),ɵɵinject(kt),ɵɵinject(Za),ɵɵinject(k),ɵɵinject(j),ɵɵinject(Pt),ɵɵinject(An,8))};static ɵprov=ɵɵdefineInjectable({token:DomRendererFactory2,factory:DomRendererFactory2.ɵfac})}return DomRendererFactory2})(),DefaultDomRenderer2=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(e,t,n,r){this.eventManager=e,this.doc=t,this.ngZone=n,this.tracingService=r}destroy(){}destroyNode=null;createElement(e,t){return t?this.doc.createElementNS(Ga[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(isTemplateNode(e)?e.content:e).appendChild(t)}insertBefore(e,t,n){e&&(isTemplateNode(e)?e.content:e).insertBefore(t,n)}removeChild(e,t){t.remove()}selectRootElement(e,t){let n=typeof e==`string`?this.doc.querySelector(e):e;if(!n)throw new RuntimeError(-5104,!1);return t||(n.textContent=``),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+`:`+t;let i=Ga[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){let r=Ga[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&(L.DashCase|L.Important)?e.style.setProperty(t,n,r&L.Important?`important`:``):e.style[t]=n}removeStyle(e,t,n){n&L.DashCase?e.style.removeProperty(t):e.style[t]=``}setProperty(e,t,n){e!=null&&(e[t]=n)}setValue(e,t){e.nodeValue=t}listen(e,t,n,r){if(typeof e==`string`&&(e=getDOM().getGlobalEventTarget(this.doc,e),!e))throw new RuntimeError(5102,!1);let i=this.decoratePreventDefault(n);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(e,t,i)),this.eventManager.addEventListener(e,t,i,r)}decoratePreventDefault(e){return t=>{if(t===`__ngUnwrap__`)return e;e(t)===!1&&t.preventDefault()}}},ShadowDomRenderer=class extends DefaultDomRenderer2{hostEl;sharedStylesHost;shadowRoot;constructor(e,t,n,r,i,a,o,s){super(e,r,i,o),this.hostEl=t,this.sharedStylesHost=s,this.shadowRoot=t.attachShadow({mode:`open`}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let c=n.styles;c=shimStylesContent(n.id,c);for(let e of c){let t=document.createElement(`style`);a&&t.setAttribute(`nonce`,a),t.textContent=e,this.shadowRoot.appendChild(t)}let l=n.getExternalStyles?.();if(l)for(let e of l){let t=createLinkElement(e,r);a&&t.setAttribute(`nonce`,a),this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(null,t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},NoneEncapsulationDomRenderer=class extends DefaultDomRenderer2{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(e,t,n,r,i,a,o,s){super(e,i,a,o),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r;let c=n.styles;this.styles=s?shimStylesContent(s,c):c,this.styleUrls=n.getExternalStyles?.(s)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&On.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},EmulatedEncapsulationDomRenderer2=class extends NoneEncapsulationDomRenderer{contentAttr;hostAttr;constructor(e,t,n,r,i,a,o,s){let c=r+`-`+n.id;super(e,t,n,i,a,o,s,c),this.contentAttr=shimContentAttribute(c),this.hostAttr=shimHostAttribute(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,``)}createElement(e,t){let n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,``),n}}})))()}function getBaseElementHref(){return eo||=document.head.querySelector(`base`),eo?eo.getAttribute(`href`):null}function relativePath(e){return new URL(e,document.baseURI).pathname}async function bootstrapApplication(e,t,n){return internalCreateApplication({rootComponent:e,...createProvidersConfig(t,n)})}function createProvidersConfig(e,t){return{platformRef:t?.platformRef,appProviders:[...co,...e?.providers??[]],platformProviders:oo}}function initDomAdapter(){$a.makeCurrent()}function errorHandler(){return new ErrorHandler}function _document(){return setDocument(document),document}var $a,eo,BrowserGetTestability,to,no,ro,io,ao,oo,so,co,lo;function init__browser_chunk(){return(init__browser_chunk=t((()=>{init__xhr_chunk(),init_common(),init_core(),init__dom_renderer_chunk(),$a=class BrowserDomAdapter extends DomAdapter{supportsDOMEvents=!0;static makeCurrent(){setRootDomAdapter(new BrowserDomAdapter)}onAndCancel(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.remove()}createElement(e,t){return t||=this.getDefaultDocument(),t.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument(`fakeTitle`)}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return t===`window`?window:t===`document`?e:t===`body`?e.body:null}getBaseHref(e){let t=getBaseElementHref();return t==null?null:relativePath(t)}resetBaseElement(){eo=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return parseCookieValue(document.cookie,e)}},eo=null,BrowserGetTestability=class{addToWindow(e){C.getAngularTestability=(t,n=!0)=>{let r=e.findTestabilityInTree(t,n);if(r==null)throw new RuntimeError(5103,!1);return r},C.getAllAngularTestabilities=()=>e.getAllTestabilities(),C.getAllAngularRootElements=()=>e.getAllRootElements();let whenAllStable=e=>{let t=C.getAllAngularTestabilities(),n=t.length,decrement=function(){n--,n==0&&e()};t.forEach(e=>{e.whenStable(decrement)})};C.frameworkStabilizers||(C.frameworkStabilizers=[]),C.frameworkStabilizers.push(whenAllStable)}findTestabilityInTree(e,t,n){return t==null?null:e.getTestability(t)??(n?getDOM().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null)}},to=(()=>{class BrowserXhr{build(){return new XMLHttpRequest}static ɵfac=function BrowserXhr_Factory(e){return new(e||BrowserXhr)};static ɵprov=ɵɵdefineInjectable({token:BrowserXhr,factory:BrowserXhr.ɵfac})}return BrowserXhr})(),no=[`alt`,`control`,`meta`,`shift`],ro={"\b":`Backspace`," ":`Tab`,"":`Delete`,"\x1B":`Escape`,Del:`Delete`,Esc:`Escape`,Left:`ArrowLeft`,Right:`ArrowRight`,Up:`ArrowUp`,Down:`ArrowDown`,Menu:`ContextMenu`,Scroll:`ScrollLock`,Win:`OS`},io={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},ao=(()=>{class KeyEventsPlugin extends EventManagerPlugin{constructor(e){super(e)}supports(e){return KeyEventsPlugin.parseEventName(e)!=null}addEventListener(e,t,n,r){let i=KeyEventsPlugin.parseEventName(t),a=KeyEventsPlugin.eventCallback(i.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>getDOM().onAndCancel(e,i.domEventName,a,r))}static parseEventName(e){let t=e.toLowerCase().split(`.`),n=t.shift();if(t.length===0||n!==`keydown`&&n!==`keyup`)return null;let r=KeyEventsPlugin._normalizeKey(t.pop()),i=``,a=t.indexOf(`code`);if(a>-1&&(t.splice(a,1),i=`code.`),no.forEach(e=>{let n=t.indexOf(e);n>-1&&(t.splice(n,1),i+=e+`.`)}),i+=r,t.length!=0||r.length===0)return null;let o={};return o.domEventName=n,o.fullKey=i,o}static matchEventFullKeyCode(e,t){let n=ro[e.key]||e.key,r=``;return t.indexOf(`code.`)>-1&&(n=e.code,r=`code.`),n==null||!n?!1:(n=n.toLowerCase(),n===` `?n=`space`:n===`.`&&(n=`dot`),no.forEach(t=>{if(t!==n){let n=io[t];n(e)&&(r+=t+`.`)}}),r+=n,r===t)}static eventCallback(e,t,n){return r=>{KeyEventsPlugin.matchEventFullKeyCode(r,e)&&n.runGuarded(()=>t(r))}}static _normalizeKey(e){return e===`esc`?`escape`:e}static ɵfac=function KeyEventsPlugin_Factory(e){return new(e||KeyEventsPlugin)(ɵɵinject(k))};static ɵprov=ɵɵdefineInjectable({token:KeyEventsPlugin,factory:KeyEventsPlugin.ɵfac})}return KeyEventsPlugin})(),oo=[{provide:Mt,useValue:za},{provide:jt,useValue:initDomAdapter,multi:!0},{provide:k,useFactory:_document}],so=[{provide:kr,useClass:BrowserGetTestability},{provide:Or,useClass:Ar},{provide:Ar,useClass:Ar}],co=[{provide:Ee,useValue:`root`},{provide:ErrorHandler,useFactory:errorHandler},{provide:Va,useClass:Ba,multi:!0},{provide:Va,useClass:ao,multi:!0},Qa,Wa,Ha,{provide:RendererFactory2,useExisting:Qa},{provide:XhrFactory,useClass:to},[]],lo=(()=>{class BrowserModule{constructor(){}static ɵfac=function BrowserModule_Factory(e){return new(e||BrowserModule)};static ɵmod=ɵɵdefineNgModule({type:BrowserModule,exports:[Ra,Pi]});static ɵinj=ɵɵdefineInjector({providers:[...co,...so],imports:[Ra,Pi]})}return BrowserModule})()})))()}function sequence(e,t=null){return{type:Q.Sequence,steps:e,options:t}}function style(e){return{type:Q.Style,styles:e,offset:null}}var Q,NoopAnimationPlayer,AnimationGroupPlayer;function init__private_export_chunk(){return(init__private_export_chunk=t((()=>{Q=function(e){return e[e.State=0]=`State`,e[e.Transition=1]=`Transition`,e[e.Sequence=2]=`Sequence`,e[e.Group=3]=`Group`,e[e.Animate=4]=`Animate`,e[e.Keyframes=5]=`Keyframes`,e[e.Style=6]=`Style`,e[e.Trigger=7]=`Trigger`,e[e.Reference=8]=`Reference`,e[e.AnimateChild=9]=`AnimateChild`,e[e.AnimateRef=10]=`AnimateRef`,e[e.Query=11]=`Query`,e[e.Stagger=12]=`Stagger`,e}(Q||{}),NoopAnimationPlayer=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(e=0,t=0){this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let t=e==`start`?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}},AnimationGroupPlayer=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(e){this.players=e;let t=0,n=0,r=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==i&&this._onFinish()}),e.onDestroy(()=>{++n==i&&this._onDestroy()}),e.onStart(()=>{++r==i&&this._onStart()})}),this.totalTime=this.players.reduce((e,t)=>Math.max(e,t.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let t=e*this.totalTime;this.players.forEach(e=>{let n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}getPosition(){let e=this.players.reduce((e,t)=>e===null||t.totalTime>e.totalTime?t:e,null);return e==null?0:e.getPosition()}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let t=e==`start`?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}})))()}function invalidTimingValue(e){return new RuntimeError(3e3,!1)}function negativeStepValue(){return new RuntimeError(3100,!1)}function negativeDelayValue(){return new RuntimeError(3101,!1)}function invalidStyleParams(e){return new RuntimeError(3001,!1)}function invalidParamValue(e){return new RuntimeError(3003,!1)}function invalidNodeType(e){return new RuntimeError(3004,!1)}function invalidCssUnitValue(e,t){return new RuntimeError(3005,!1)}function invalidTrigger(){return new RuntimeError(3006,!1)}function invalidDefinition(){return new RuntimeError(3007,!1)}function invalidState(e,t){return new RuntimeError(3008,!1)}function invalidStyleValue(e){return new RuntimeError(3002,!1)}function invalidParallelAnimation(e,t,n,r,i){return new RuntimeError(3010,!1)}function invalidKeyframes(){return new RuntimeError(3011,!1)}function invalidOffset(){return new RuntimeError(3012,!1)}function keyframeOffsetsOutOfOrder(){return new RuntimeError(3200,!1)}function keyframesMissingOffsets(){return new RuntimeError(3202,!1)}function invalidStagger(){return new RuntimeError(3013,!1)}function invalidQuery(e){return new RuntimeError(3014,!1)}function invalidExpression(e){return new RuntimeError(3015,!1)}function invalidTransitionAlias(e){return new RuntimeError(3016,!1)}function triggerBuildFailed(e,t){return new RuntimeError(3404,!1)}function animationFailed(e){return new RuntimeError(3502,!1)}function registerFailed(e){return new RuntimeError(3503,!1)}function missingOrDestroyedAnimation(){return new RuntimeError(3300,!1)}function createAnimationFailed(e){return new RuntimeError(3504,!1)}function missingPlayer(e){return new RuntimeError(3301,!1)}function missingTrigger(e,t){return new RuntimeError(3302,!1)}function missingEvent(e){return new RuntimeError(3303,!1)}function unsupportedTriggerEvent(e,t){return new RuntimeError(3400,!1)}function unregisteredTrigger(e){return new RuntimeError(3401,!1)}function triggerTransitionsFailed(e){return new RuntimeError(3402,!1)}function transitionFailed(e,t){return new RuntimeError(3505,!1)}function optimizeGroupPlayer(e){switch(e.length){case 0:return new NoopAnimationPlayer;case 1:return e[0];default:return new AnimationGroupPlayer(e)}}function normalizeKeyframes$1(e,t,n=new Map,r=new Map){let i=[],a=[],o=-1,s=null;if(t.forEach(t=>{let c=t.get(`offset`),l=c==o,u=l&&s||new Map;t.forEach((t,a)=>{let o=a,s=t;if(a!==`offset`)switch(o=e.normalizePropertyName(o,i),s){case`!`:s=n.get(a);break;case`*`:s=r.get(a);break;default:s=e.normalizeStyleValue(a,o,s,i)}u.set(o,s)}),l||a.push(u),s=u,o=c}),i.length)throw animationFailed(i);return a}function listenOnPlayer(e,t,n,r){switch(t){case`start`:e.onStart(()=>r(n&&copyAnimationEvent(n,`start`,e)));break;case`done`:e.onDone(()=>r(n&&copyAnimationEvent(n,`done`,e)));break;case`destroy`:e.onDestroy(()=>r(n&&copyAnimationEvent(n,`destroy`,e)))}}function copyAnimationEvent(e,t,n){let r=n.totalTime,i=!!n.disabled,a=makeAnimationEvent(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,r??e.totalTime,i),o=e._data;return o!=null&&(a._data=o),a}function makeAnimationEvent(e,t,n,r,i=``,a=0,o){return{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:a,disabled:!!o}}function getOrSetDefaultValue(e,t,n){let r=e.get(t);return r||e.set(t,r=n),r}function parseTimelineCommand(e){let t=e.indexOf(`:`);return[e.substring(1,t),e.slice(t+1)]}function getParentElement(e){let t=e.parentNode||e.host||null;return t===uo?null:t}function containsVendorPrefix(e){return e.substring(1,6)==`ebkit`}function validateStyleProperty(e){fo||(fo=getBodyNode()||{},po=fo.style?`WebkitAppearance`in fo.style:!1);let t=!0;return fo.style&&!containsVendorPrefix(e)&&(t=e in fo.style,!t&&po&&(t=`Webkit`+e.charAt(0).toUpperCase()+e.slice(1)in fo.style)),t}function getBodyNode(){return typeof document<`u`?document.body:null}function containsElement(e,t){for(;t;){if(t===e)return!0;t=getParentElement(t)}return!1}function invokeQuery(e,t,n){if(n)return Array.from(e.querySelectorAll(t));let r=e.querySelector(t);return r?[r]:[]}function resolveTimingValue(e){if(typeof e==`number`)return e;let t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:_convertTimeValueToMS(parseFloat(t[1]),t[2])}function _convertTimeValueToMS(e,t){switch(t){case`s`:return e*mo;default:return e}}function resolveTiming(e,t,n){return e.hasOwnProperty(`duration`)?e:parseTimeExpression(e,t,n)}function parseTimeExpression(e,t,n){let r,i=0,a=``;if(typeof e==`string`){let n=e.match(So);if(n===null)return t.push(invalidTimingValue(e)),{duration:0,delay:0,easing:``};r=_convertTimeValueToMS(parseFloat(n[1]),n[2]);let o=n[3];o!=null&&(i=_convertTimeValueToMS(parseFloat(o),n[4]));let s=n[5];s&&(a=s)}else r=e;if(!n){let n=!1,a=t.length;r<0&&(t.push(negativeStepValue()),n=!0),i<0&&(t.push(negativeDelayValue()),n=!0),n&&t.splice(a,0,invalidTimingValue(e))}return{duration:r,delay:i,easing:a}}function normalizeKeyframes(e){return e.length?e[0]instanceof Map?e:e.map(e=>new Map(Object.entries(e))):[]}function setStyles(e,t,n){t.forEach((t,r)=>{let i=dashCaseToCamelCase(r);n&&!n.has(r)&&n.set(r,e.style[i]),e.style[i]=t})}function eraseStyles(e,t){t.forEach((t,n)=>{let r=dashCaseToCamelCase(n);e.style[r]=``})}function normalizeAnimationEntry(e){return Array.isArray(e)?e.length==1?e[0]:sequence(e):e}function validateStyleParams(e,t,n){let r=t.params||{},i=extractStyleParams(e);i.length&&i.forEach(e=>{r.hasOwnProperty(e)||n.push(invalidStyleParams(e))})}function extractStyleParams(e){let t=[];if(typeof e==`string`){let n;for(;n=Co.exec(e);)t.push(n[1]);Co.lastIndex=0}return t}function interpolateParams(e,t,n){let r=`${e}`,i=r.replace(Co,(e,r)=>{let i=t[r];return i??=(n.push(invalidParamValue(r)),``),i.toString()});return i==r?e:i}function dashCaseToCamelCase(e){return e.replace(wo,(...e)=>e[1].toUpperCase())}function allowPreviousPlayerStylesMerge(e,t){return e===0||t===0}function balancePreviousStylesIntoKeyframes(e,t,n){if(n.size&&t.length){let r=t[0],i=[];if(n.forEach((e,t)=>{r.has(t)||i.push(t),r.set(t,e)}),i.length)for(let n=1;n<t.length;n++){let r=t[n];i.forEach(t=>r.set(t,computeStyle(e,t)))}}return t}function visitDslNode(e,t,n){switch(t.type){case Q.Trigger:return e.visitTrigger(t,n);case Q.State:return e.visitState(t,n);case Q.Transition:return e.visitTransition(t,n);case Q.Sequence:return e.visitSequence(t,n);case Q.Group:return e.visitGroup(t,n);case Q.Animate:return e.visitAnimate(t,n);case Q.Keyframes:return e.visitKeyframes(t,n);case Q.Style:return e.visitStyle(t,n);case Q.Reference:return e.visitReference(t,n);case Q.AnimateChild:return e.visitAnimateChild(t,n);case Q.AnimateRef:return e.visitAnimateRef(t,n);case Q.Query:return e.visitQuery(t,n);case Q.Stagger:return e.visitStagger(t,n);default:throw invalidNodeType(t.type)}}function computeStyle(e,t){return window.getComputedStyle(e)[t]}var uo,fo,po,mo,ho,go,_o,vo,yo,bo,xo,So,Co,wo;function init__util_chunk(){return(init__util_chunk=t((()=>{init__private_export_chunk(),init_core(),uo=typeof document>`u`?null:document.documentElement,fo=null,po=!1,mo=1e3,ho=`}}`,go=`ng-enter`,_o=`ng-leave`,vo=`ng-trigger`,yo=`.ng-trigger`,bo=`ng-animating`,xo=`.ng-animating`,So=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,Co=RegExp(`{{\\s*(.+?)\\s*${ho}`,`g`),wo=/-+([a-z0-9])/g})))()}function parseTransitionExpr(e,t){let n=[];return typeof e==`string`?e.split(/\s*,\s*/).forEach(e=>parseInnerTransitionStr(e,n,t)):n.push(e),n}function parseInnerTransitionStr(e,t,n){if(e[0]==`:`){let r=parseAnimationAlias(e,n);if(typeof r==`function`){t.push(r);return}e=r}let r=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(r==null||r.length<4)return n.push(invalidExpression(e)),t;let i=r[1],a=r[2],o=r[3];t.push(makeLambdaFromStates(i,o));let s=i==Do&&o==Do;a[0]==`<`&&!s&&t.push(makeLambdaFromStates(o,i))}function parseAnimationAlias(e,t){switch(e){case`:enter`:return`void => *`;case`:leave`:return`* => void`;case`:increment`:return(e,t)=>parseFloat(t)>parseFloat(e);case`:decrement`:return(e,t)=>parseFloat(t)<parseFloat(e);default:return t.push(invalidTransitionAlias(e)),`* => *`}}function makeLambdaFromStates(e,t){let n=Oo.has(e)||ko.has(e),r=Oo.has(t)||ko.has(t);return(i,a)=>{let o=e==Do||e==i,s=t==Do||t==a;return!o&&n&&typeof i==`boolean`&&(o=i?Oo.has(e):ko.has(e)),!s&&r&&typeof a==`boolean`&&(s=a?Oo.has(t):ko.has(t)),o&&s}}function buildAnimationAst(e,t,n,r){return new AnimationAstBuilderVisitor(e).build(t,n,r)}function normalizeSelector(e){let t=!!e.split(/\s*,\s*/).find(e=>e==Ao);return t&&(e=e.replace(jo,``)),e=e.replace(/@\*/g,yo).replace(/@\w+/g,e=>yo+`-`+e.slice(1)).replace(/:animating/g,xo),[e,t]}function normalizeParams(e){return e?{...e}:null}function consumeOffset(e){if(typeof e==`string`)return null;let t=null;if(Array.isArray(e))e.forEach(e=>{if(e instanceof Map&&e.has(`offset`)){let n=e;t=parseFloat(n.get(`offset`)),n.delete(`offset`)}});else if(e instanceof Map&&e.has(`offset`)){let n=e;t=parseFloat(n.get(`offset`)),n.delete(`offset`)}return t}function constructTimingAst(e,t){if(e.hasOwnProperty(`duration`))return e;if(typeof e==`number`){let n=resolveTiming(e,t).duration;return makeTimingAst(n,0,``)}let n=e;if(n.split(/\s+/).some(e=>e.charAt(0)==`{`&&e.charAt(1)==`{`)){let e=makeTimingAst(0,0,``);return e.dynamic=!0,e.strValue=n,e}let r=resolveTiming(n,t);return makeTimingAst(r.duration,r.delay,r.easing)}function normalizeAnimationOptions(e){return e?(e={...e},e.params&&(e.params=normalizeParams(e.params))):e={},e}function makeTimingAst(e,t,n){return{duration:e,delay:t,easing:n}}function createTimelineInstruction(e,t,n,r,i,a,o=null,s=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:a,totalTime:i+a,easing:o,subTimeline:s}}function buildAnimationTimelines(e,t,n,r,i,a=new Map,o=new Map,s,c,l=[]){return new AnimationTimelineBuilderVisitor().buildKeyframes(e,t,n,r,i,a,o,s,c,l)}function roundOffset(e,t=3){let n=10**(t-1);return Math.round(e*n)/n}function flattenStyles(e,t){let n=new Map,r;return e.forEach(e=>{if(e===`*`){r??=t.keys();for(let e of r)n.set(e,`*`)}else for(let[t,r]of e)n.set(t,r)}),n}function createTransitionInstruction(e,t,n,r,i,a,o,s,c,l,u,d,f){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:a,toState:r,toStyles:o,timelines:s,queriedElements:c,preStyleProps:l,postStyleProps:u,totalTime:d,errors:f}}function oneOrMoreTransitionsMatch(e,t,n,r,i){return e.some(e=>e(t,n,r,i))}function applyParamDefaults(e,t){let n={...t};return Object.entries(e).forEach(([e,t])=>{t!=null&&(n[e]=t)}),n}function buildTrigger(e,t,n){return new AnimationTrigger(e,t,n)}function createFallbackTransition(e,t,n){let r=[(e,t)=>!0],i={type:Q.Sequence,steps:[],options:null},a={type:Q.Transition,animation:i,matchers:r,options:null,queryCount:0,depCount:0};return new AnimationTransitionFactory(e,a,t)}function balanceProperties(e,t,n){e.has(t)?e.has(n)||e.set(n,e.get(t)):e.has(n)&&e.set(t,e.get(n))}function deleteOrUnsetInMap(e,t,n){let r=e.get(t);if(r){if(r.length){let e=r.indexOf(n);r.splice(e,1)}r.length==0&&e.delete(t)}return r}function normalizeTriggerValue(e){return e??null}function isElementNode(e){return e&&e.nodeType===1}function isTriggerEventValid(e){return e==`start`||e==`done`}function cloakElement(e,t){let n=e.style.display;return e.style.display=t??`none`,n}function cloakAndComputeStyles(e,t,n,r,i){let a=[];n.forEach(e=>a.push(cloakElement(e)));let o=[];r.forEach((n,r)=>{let a=new Map;n.forEach(e=>{let n=t.computeStyle(r,e,i);a.set(e,n),n&&n.length!=0||(r[$]=Yo,o.push(r))}),e.set(r,a)});let s=0;return n.forEach(e=>cloakElement(e,a[s++])),o}function buildRootMap(e,t){let n=new Map;if(e.forEach(e=>n.set(e,[])),t.length==0)return n;let r=new Set(t),i=new Map;function getRoot(e){if(!e)return 1;let t=i.get(e);if(t)return t;let a=e.parentNode;return t=n.has(a)?a:r.has(a)?1:getRoot(a),i.set(e,t),t}return t.forEach(e=>{let t=getRoot(e);t!==1&&n.get(t).push(e)}),n}function addClass(e,t){e.classList?.add(t)}function removeClass(e,t){e.classList?.remove(t)}function removeNodesAfterAnimationDone(e,t,n){optimizeGroupPlayer(n).onDone(()=>e.processLeaveNode(t))}function flattenGroupPlayers(e){let t=[];return _flattenGroupPlayersRecur(e,t),t}function _flattenGroupPlayersRecur(e,t){for(let n=0;n<e.length;n++){let r=e[n];r instanceof AnimationGroupPlayer?_flattenGroupPlayersRecur(r.players,t):t.push(r)}}function objEquals(e,t){let n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(let r=0;r<n.length;r++){let i=n[r];if(!t.hasOwnProperty(i)||e[i]!==t[i])return!1}return!0}function replacePostStylesAsPre(e,t,n){let r=n.get(e);if(!r)return!1;let i=t.get(e);return i?r.forEach(e=>i.add(e)):t.set(e,r),n.delete(e),!0}function packageNonAnimatableStyles(e,t){let n=null,r=null;return Array.isArray(t)&&t.length?(n=filterNonAnimatableStyles(t[0]),t.length>1&&(r=filterNonAnimatableStyles(t[t.length-1]))):t instanceof Map&&(n=filterNonAnimatableStyles(t)),n||r?new Qo(e,n,r):null}function filterNonAnimatableStyles(e){let t=null;return e.forEach((e,n)=>{isNonAnimatableStyle(n)&&(t||=new Map,t.set(n,e))}),t}function isNonAnimatableStyle(e){return e===`display`||e===`position`}function resolveElementFromTarget(e){switch(e){case`body`:return document.body;case`document`:return document;case`window`:return window;default:return e}}function parseTriggerCallbackName(e){let t=e.indexOf(`.`);return[e.substring(0,t),e.slice(t+1)]}var To,AnimationDriver,AnimationStyleNormalizer,Eo,WebAnimationsStyleNormalizer,Do,Oo,ko,Ao,jo,Mo,AnimationAstBuilderVisitor,AnimationAstBuilderContext,ElementInstructionMap,No,Po,Fo,AnimationTimelineBuilderVisitor,Io,Lo,Ro,SubTimelineBuilder,zo,AnimationTransitionFactory,AnimationStateStyles,AnimationTrigger,Bo,TimelineAnimationEngine,Vo,Ho,Uo,Wo,Go,Ko,qo,Jo,Yo,$,StateValue,Xo,Zo,AnimationTransitionNamespace,TransitionAnimationEngine,TransitionAnimationPlayer,AnimationEngine,Qo,WebAnimationsPlayer,WebAnimationsDriver,$o,es,BaseAnimationRenderer,AnimationRenderer,AnimationRendererFactory;function init_browser(){return(init_browser=t((()=>{init_core(),init__util_chunk(),init__private_export_chunk(),To=(()=>{class NoopAnimationDriver{validateStyleProperty(e){return validateStyleProperty(e)}containsElement(e,t){return containsElement(e,t)}getParentElement(e){return getParentElement(e)}query(e,t,n){return invokeQuery(e,t,n)}computeStyle(e,t,n){return n||``}animate(e,t,n,r,i,a=[],o){return new NoopAnimationPlayer(n,r)}static ɵfac=function NoopAnimationDriver_Factory(e){return new(e||NoopAnimationDriver)};static ɵprov=ɵɵdefineInjectable({token:NoopAnimationDriver,factory:NoopAnimationDriver.ɵfac})}return NoopAnimationDriver})(),AnimationDriver=class{static NOOP=new To},AnimationStyleNormalizer=class{},Eo=new Set(`width.height.minWidth.minHeight.maxWidth.maxHeight.left.top.bottom.right.fontSize.outlineWidth.outlineOffset.paddingTop.paddingLeft.paddingBottom.paddingRight.marginTop.marginLeft.marginBottom.marginRight.borderRadius.borderWidth.borderTopWidth.borderLeftWidth.borderRightWidth.borderBottomWidth.textIndent.perspective`.split(`.`)),WebAnimationsStyleNormalizer=class extends AnimationStyleNormalizer{normalizePropertyName(e,t){return dashCaseToCamelCase(e)}normalizeStyleValue(e,t,n,r){let i=``,a=n.toString().trim();if(Eo.has(t)&&n!==0&&n!==`0`){if(typeof n==`number`)i=`px`;else{let t=n.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&t[1].length==0&&r.push(invalidCssUnitValue(e,n))}}return a+i}},Do=`*`,Oo=new Set([`true`,`1`]),ko=new Set([`false`,`0`]),Ao=`:self`,jo=RegExp(`s*${Ao}s*,?`,`g`),Mo=``,AnimationAstBuilderVisitor=class{_driver;constructor(e){this._driver=e}build(e,t,n){let r=new AnimationAstBuilderContext(t);return this._resetContextStyleTimingState(r),visitDslNode(this,normalizeAnimationEntry(e),r)}_resetContextStyleTimingState(e){e.currentQuerySelector=Mo,e.collectedStyles=new Map,e.collectedStyles.set(Mo,new Map),e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,r=t.depCount=0,i=[],a=[];return e.name.charAt(0)==`@`&&t.errors.push(invalidTrigger()),e.definitions.forEach(e=>{if(this._resetContextStyleTimingState(t),e.type==Q.State){let n=e,r=n.name;r.toString().split(/\s*,\s*/).forEach(e=>{n.name=e,i.push(this.visitState(n,t))}),n.name=r}else if(e.type==Q.Transition){let i=this.visitTransition(e,t);n+=i.queryCount,r+=i.depCount,a.push(i)}else t.errors.push(invalidDefinition())}),{type:Q.Trigger,name:e.name,states:i,transitions:a,queryCount:n,depCount:r,options:null}}visitState(e,t){let n=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){let i=new Set,a=r||{};n.styles.forEach(e=>{e instanceof Map&&e.forEach(e=>{extractStyleParams(e).forEach(e=>{a.hasOwnProperty(e)||i.add(e)})})}),i.size&&t.errors.push(invalidState(e.name,[...i.values()]))}return{type:Q.State,name:e.name,style:n,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let n=visitDslNode(this,normalizeAnimationEntry(e.animation),t),r=parseTransitionExpr(e.expr,t.errors);return{type:Q.Transition,matchers:r,animation:n,queryCount:t.queryCount,depCount:t.depCount,options:normalizeAnimationOptions(e.options)}}visitSequence(e,t){return{type:Q.Sequence,steps:e.steps.map(e=>visitDslNode(this,e,t)),options:normalizeAnimationOptions(e.options)}}visitGroup(e,t){let n=t.currentTime,r=0,i=e.steps.map(e=>{t.currentTime=n;let i=visitDslNode(this,e,t);return r=Math.max(r,t.currentTime),i});return t.currentTime=r,{type:Q.Group,steps:i,options:normalizeAnimationOptions(e.options)}}visitAnimate(e,t){let n=constructTimingAst(e.timings,t.errors);t.currentAnimateTimings=n;let r,i=e.styles?e.styles:style({});if(i.type==Q.Keyframes)r=this.visitKeyframes(i,t);else{let i=e.styles,a=!1;if(!i){a=!0;let e={};n.easing&&(e.easing=n.easing),i=style(e)}t.currentTime+=n.duration+n.delay;let o=this.visitStyle(i,t);o.isEmptyStep=a,r=o}return t.currentAnimateTimings=null,{type:Q.Animate,timings:n,style:r,options:null}}visitStyle(e,t){let n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){let n=[],r=Array.isArray(e.styles)?e.styles:[e.styles];for(let e of r)typeof e==`string`?e===`*`?n.push(e):t.errors.push(invalidStyleValue(e)):n.push(new Map(Object.entries(e)));let i=!1,a=null;return n.forEach(e=>{if(e instanceof Map&&(e.has(`easing`)&&(a=e.get(`easing`),e.delete(`easing`)),!i)){for(let t of e.values())if(t.toString().indexOf(`{{`)>=0){i=!0;break}}}),{type:Q.Style,styles:n,easing:a,offset:e.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(e,t){let n=t.currentAnimateTimings,r=t.currentTime,i=t.currentTime;n&&i>0&&(i-=n.duration+n.delay),e.styles.forEach(e=>{typeof e!=`string`&&e.forEach((e,n)=>{let a=t.collectedStyles.get(t.currentQuerySelector),o=a.get(n),s=!0;o&&(i!=r&&i>=o.startTime&&r<=o.endTime&&(t.errors.push(invalidParallelAnimation(n,o.startTime,o.endTime,i,r)),s=!1),i=o.startTime),s&&a.set(n,{startTime:i,endTime:r}),t.options&&validateStyleParams(e,t.options,t.errors)})})}visitKeyframes(e,t){let n={type:Q.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(invalidKeyframes()),n;let r=0,i=[],a=!1,o=!1,s=0,c=e.steps.map(e=>{let n=this._makeStyleAst(e,t),c=n.offset==null?consumeOffset(n.styles):n.offset,l=0;return c!=null&&(r++,l=n.offset=c),o=o||l<0||l>1,a||=l<s,s=l,i.push(l),n});o&&t.errors.push(invalidOffset()),a&&t.errors.push(keyframeOffsetsOutOfOrder());let l=e.steps.length,u=0;r>0&&r<l?t.errors.push(keyframesMissingOffsets()):r==0&&(u=1/(l-1));let d=l-1,f=t.currentTime,p=t.currentAnimateTimings,m=p.duration;return c.forEach((e,r)=>{let a=u>0?r==d?1:u*r:i[r],o=a*m;t.currentTime=f+p.delay+o,p.duration=o,this._validateStyleAst(e,t),e.offset=a,n.styles.push(e)}),n}visitReference(e,t){return{type:Q.Reference,animation:visitDslNode(this,normalizeAnimationEntry(e.animation),t),options:normalizeAnimationOptions(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:Q.AnimateChild,options:normalizeAnimationOptions(e.options)}}visitAnimateRef(e,t){return{type:Q.AnimateRef,animation:this.visitReference(e.animation,t),options:normalizeAnimationOptions(e.options)}}visitQuery(e,t){let n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;let[i,a]=normalizeSelector(e.selector);t.currentQuerySelector=n.length?n+` `+i:i,getOrSetDefaultValue(t.collectedStyles,t.currentQuerySelector,new Map);let o=visitDslNode(this,normalizeAnimationEntry(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:Q.Query,selector:i,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:o,originalSelector:e.selector,options:normalizeAnimationOptions(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(invalidStagger());let n=e.timings===`full`?{duration:0,delay:0,easing:`full`}:resolveTiming(e.timings,t.errors,!0);return{type:Q.Stagger,animation:visitDslNode(this,normalizeAnimationEntry(e.animation),t),timings:n,options:null}}},AnimationAstBuilderContext=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(e){this.errors=e}},ElementInstructionMap=class{_map=new Map;get(e){return this._map.get(e)||[]}append(e,t){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},No=1,Po=RegExp(`:enter`,`g`),Fo=RegExp(`:leave`,`g`),AnimationTimelineBuilderVisitor=class{buildKeyframes(e,t,n,r,i,a,o,s,c,l=[]){c||=new ElementInstructionMap;let u=new Lo(e,t,c,r,i,l,[]);u.options=s;let d=s.delay?resolveTimingValue(s.delay):0;u.currentTimeline.delayNextStep(d),u.currentTimeline.setStyles([a],null,u.errors,s),visitDslNode(this,n,u);let f=u.timelines.filter(e=>e.containsAnimation());if(f.length&&o.size){let e;for(let n=f.length-1;n>=0;n--){let r=f[n];if(r.element===t){e=r;break}}e&&!e.allowOnlyTimelineStyles()&&e.setStyles([o],null,u.errors,s)}return f.length?f.map(e=>e.buildKeyframes()):[createTimelineInstruction(t,[],[],[],0,d,``,!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let n=t.subInstructions.get(t.element);if(n){let r=t.createSubContext(e.options),i=t.currentTimeline.currentTime,a=this._visitSubInstructions(n,r,r.options);i!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}visitAnimateRef(e,t){let n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,n),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,n){for(let r of e){let e=r?.delay;if(e){let i=typeof e==`number`?e:resolveTimingValue(interpolateParams(e,r?.params??{},t.errors));n.delayNextStep(i)}}}_visitSubInstructions(e,t,n){let r=t.currentTimeline.currentTime,i=n.duration==null?null:resolveTimingValue(n.duration),a=n.delay==null?null:resolveTimingValue(n.delay);return i!==0&&e.forEach(e=>{let n=t.appendInstructionToTimeline(e,i,a);r=Math.max(r,n.duration+n.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),visitDslNode(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let n=t.subContextCount,r=t,i=e.options;if(i&&(i.params||i.delay)&&(r=t.createSubContext(i),r.transformIntoNewTimeline(),i.delay!=null)){r.previousNode.type==Q.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Io);let e=resolveTimingValue(i.delay);r.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>visitDslNode(this,e,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let n=[],r=t.currentTimeline.currentTime,i=e.options&&e.options.delay?resolveTimingValue(e.options.delay):0;e.steps.forEach(a=>{let o=t.createSubContext(e.options);i&&o.delayNextStep(i),visitDslNode(this,a,o),r=Math.max(r,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(r),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let n=e.strValue;return resolveTiming(t.params?interpolateParams(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());let i=e.style;i.type==Q.Keyframes?this.visitKeyframes(i,t):(t.incrementTime(n.duration),this.visitStyle(i,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.hasCurrentStyleProperties()&&n.forwardFrame();let i=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(i):n.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let n=t.currentAnimateTimings,r=t.currentTimeline.duration,i=n.duration,a=t.createSubContext().currentTimeline;a.easing=n.easing,e.styles.forEach(e=>{let n=e.offset||0;a.forwardTime(n*i),a.setStyles(e.styles,e.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(r+i),t.previousNode=e}visitQuery(e,t){let n=t.currentTimeline.currentTime,r=e.options||{},i=r.delay?resolveTimingValue(r.delay):0;i&&(t.previousNode.type===Q.Style||n==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Io);let a=n,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=o.length;let s=null;o.forEach((n,r)=>{t.currentQueryIndex=r;let o=t.createSubContext(e.options,n);i&&o.delayNextStep(i),n===t.element&&(s=o.currentTimeline),visitDslNode(this,e.animation,o),o.currentTimeline.applyStylesToKeyframe();let c=o.currentTimeline.currentTime;a=Math.max(a,c)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),s&&(t.currentTimeline.mergeTimelineCollectedStyles(s),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let n=t.parentContext,r=t.currentTimeline,i=e.timings,a=Math.abs(i.duration),o=a*(t.currentQueryTotal-1),s=a*t.currentQueryIndex;switch(i.duration<0?`reverse`:i.easing){case`reverse`:s=o-s;break;case`full`:s=n.currentStaggerTime}let c=t.currentTimeline;s&&c.delayNextStep(s);let l=c.currentTime;visitDslNode(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-l+(r.startTime-n.currentTimeline.startTime)}},Io={},Lo=class AnimationTimelineContext{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Io;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,t,n,r,i,a,o,s){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=a,this.timelines=o,this.currentTimeline=s||new Ro(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let n=e,r=this.options;n.duration!=null&&(r.duration=resolveTimingValue(n.duration)),n.delay!=null&&(r.delay=resolveTimingValue(n.delay));let i=n.params;if(i){let e=r.params;e||=this.options.params={},Object.keys(i).forEach(n=>{t&&e.hasOwnProperty(n)||(e[n]=interpolateParams(i[n],e,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let n=e.params={};Object.keys(t).forEach(e=>{n[e]=t[e]})}}return e}createSubContext(e=null,t,n){let r=t||this.element,i=new AnimationTimelineContext(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(e),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(e){return this.previousNode=Io,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,n){let r={duration:t??e.duration,delay:this.currentTimeline.currentTime+(n??0)+e.delay,easing:``},i=new SubTimelineBuilder(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(i),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,n,r,i,a){let o=[];if(r&&o.push(this.element),e.length>0){e=e.replace(Po,`.`+this._enterClassName),e=e.replace(Fo,`.`+this._leaveClassName);let t=n!=1,r=this._driver.query(this.element,e,t);n!==0&&(r=n<0?r.slice(r.length+n,r.length):r.slice(0,n)),o.push(...r)}return!i&&o.length==0&&a.push(invalidQuery(t)),o}},Ro=class TimelineBuilder{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(e,t,n,r){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=r,this._elementTimelineStylesLookup||=new Map,this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new TimelineBuilder(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=No,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set(`easing`,e);for(let[e,t]of this._globalTimelineStyles)this._backFill.set(e,t||`*`),this._currentKeyframe.set(e,`*`);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,n,r){t&&this._previousKeyframe.set(`easing`,t);let i=r&&r.params||{},a=flattenStyles(e,this._globalTimelineStyles);for(let[e,t]of a){let r=interpolateParams(t,i,n);this._pendingStyles.set(e,r),this._localTimelineStyles.has(e)||this._backFill.set(e,this._globalTimelineStyles.get(e)??`*`),this._updateStyle(e,r)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((e,t)=>{let n=this._styleSummary.get(t);(!n||e.time>n.time)&&this._updateStyle(t,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,n=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((i,a)=>{let o=new Map([...this._backFill,...i]);o.forEach((n,r)=>{n===`!`?e.add(r):n===`*`&&t.add(r)}),n||o.set(`offset`,a/this.duration),r.push(o)});let i=[...e.values()],a=[...t.values()];if(n){let e=r[0],t=new Map(e);e.set(`offset`,0),t.set(`offset`,1),r=[e,t]}return createTimelineInstruction(this.element,r,i,a,this.duration,this.startTime,this.easing,!1)}},SubTimelineBuilder=class extends Ro{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,t,n,r,i,a,o=!1){super(e,t,a.delay),this.keyframes=n,this.preStyleProps=r,this.postStyleProps=i,this._stretchStartingKeyframe=o,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){let i=[],a=n+t,o=t/a,s=new Map(e[0]);s.set(`offset`,0),i.push(s);let c=new Map(e[0]);c.set(`offset`,roundOffset(o)),i.push(c);let l=e.length-1;for(let r=1;r<=l;r++){let o=new Map(e[r]),s=o.get(`offset`),c=t+s*n;o.set(`offset`,roundOffset(c/a)),i.push(o)}n=a,t=0,r=``,e=i}return createTimelineInstruction(this.element,e,this.preStyleProps,this.postStyleProps,n,t,r,!0)}},zo={},AnimationTransitionFactory=class{_triggerName;ast;_stateStyles;constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,r){return oneOrMoreTransitionsMatch(this.ast.matchers,e,t,n,r)}buildStyles(e,t,n){let r=this._stateStyles.get(`*`);return e!==void 0&&(r=this._stateStyles.get(e?.toString())||r),r?r.buildStyles(t,n):new Map}build(e,t,n,r,i,a,o,s,c,l){let u=[],d=this.ast.options&&this.ast.options.params||zo,f=o&&o.params||zo,p=this.buildStyles(n,f,u),m=s&&s.params||zo,h=this.buildStyles(r,m,u),g=new Set,_=new Map,v=new Map,y=r===`void`,b={params:applyParamDefaults(m,d),delay:this.ast.options?.delay},x=l?[]:buildAnimationTimelines(e,t,this.ast.animation,i,a,p,h,b,c,u),S=0;return x.forEach(e=>{S=Math.max(e.duration+e.delay,S)}),u.length?createTransitionInstruction(t,this._triggerName,n,r,y,p,h,[],[],_,v,S,u):(x.forEach(e=>{let n=e.element,r=getOrSetDefaultValue(_,n,new Set);e.preStyleProps.forEach(e=>r.add(e));let i=getOrSetDefaultValue(v,n,new Set);e.postStyleProps.forEach(e=>i.add(e)),n!==t&&g.add(n)}),createTransitionInstruction(t,this._triggerName,n,r,y,p,h,x,[...g.values()],_,v,S))}},AnimationStateStyles=class{styles;defaultParams;normalizer;constructor(e,t,n){this.styles=e,this.defaultParams=t,this.normalizer=n}buildStyles(e,t){let n=new Map,r=applyParamDefaults(e,this.defaultParams);return this.styles.styles.forEach(e=>{typeof e!=`string`&&e.forEach((e,i)=>{e&&=interpolateParams(e,r,t);let a=this.normalizer.normalizePropertyName(i,t);e=this.normalizer.normalizeStyleValue(i,a,e,t),n.set(i,e)})}),n}},AnimationTrigger=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,t,n){this.name=e,this.ast=t,this._normalizer=n,t.states.forEach(e=>{let t=e.options&&e.options.params||{};this.states.set(e.name,new AnimationStateStyles(e.style,t,n))}),balanceProperties(this.states,`true`,`1`),balanceProperties(this.states,`false`,`0`),t.transitions.forEach(t=>{this.transitionFactories.push(new AnimationTransitionFactory(e,t,this.states))}),this.fallbackTransition=createFallbackTransition(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,r){return this.transitionFactories.find(i=>i.match(e,t,n,r))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}},Bo=new ElementInstructionMap,TimelineAnimationEngine=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n}register(e,t){let n=[],r=buildAnimationAst(this._driver,t,n,[]);if(n.length)throw registerFailed(n);this._animations.set(e,r)}_buildPlayer(e,t,n){let r=e.element,i=normalizeKeyframes$1(this._normalizer,e.keyframes,t,n);return this._driver.animate(r,i,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){let r=[],i=this._animations.get(e),a,o=new Map;if(i?(a=buildAnimationTimelines(this._driver,t,i,go,_o,new Map,new Map,n,Bo,r),a.forEach(e=>{let t=getOrSetDefaultValue(o,e.element,new Map);e.postStyleProps.forEach(e=>t.set(e,null))})):(r.push(missingOrDestroyedAnimation()),a=[]),r.length)throw createAnimationFailed(r);o.forEach((e,t)=>{e.forEach((n,r)=>{e.set(r,this._driver.computeStyle(t,r,`*`))})});let s=optimizeGroupPlayer(a.map(e=>{let t=o.get(e.element);return this._buildPlayer(e,new Map,t)}));return this._playersById.set(e,s),s.onDestroy(()=>this.destroy(e)),this.players.push(s),s}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw missingPlayer(e);return t}listen(e,t,n,r){let i=makeAnimationEvent(t,``,``,``);return listenOnPlayer(this._getPlayer(e),n,i,r),()=>{}}command(e,t,n,r){if(n==`register`){this.register(e,r[0]);return}if(n==`create`){let n=r[0]||{};this.create(e,t,n);return}let i=this._getPlayer(e);switch(n){case`play`:i.play();break;case`pause`:i.pause();break;case`reset`:i.reset();break;case`restart`:i.restart();break;case`finish`:i.finish();break;case`init`:i.init();break;case`setPosition`:i.setPosition(parseFloat(r[0]));break;case`destroy`:this.destroy(e)}}},Vo=`ng-animate-queued`,Ho=`.ng-animate-queued`,Uo=`ng-animate-disabled`,Wo=`.ng-animate-disabled`,Go=`ng-star-inserted`,Ko=`.ng-star-inserted`,qo=[],Jo={namespaceId:``,setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Yo={namespaceId:``,setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},$=`__ng_removed`,StateValue=class{namespaceId;value;options;get params(){return this.options.params}constructor(e,t=``){this.namespaceId=t;let n=e&&e.hasOwnProperty(`value`),r=n?e.value:e;if(this.value=normalizeTriggerValue(r),n){let{value:t,...n}=e;this.options=n}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let e=this.options.params;Object.keys(t).forEach(n=>{e[n]??(e[n]=t[n])})}}},Xo=`void`,Zo=new StateValue(Xo),AnimationTransitionNamespace=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this._hostClassName=`ng-tns-`+e,addClass(t,this._hostClassName)}listen(e,t,n,r){if(!this._triggers.has(t))throw missingTrigger(n,t);if(n==null||n.length==0)throw missingEvent(t);if(!isTriggerEventValid(n))throw unsupportedTriggerEvent(n,t);let i=getOrSetDefaultValue(this._elementListeners,e,[]),a={name:t,phase:n,callback:r};i.push(a);let o=getOrSetDefaultValue(this._engine.statesByElement,e,new Map);return o.has(t)||(addClass(e,vo),addClass(e,vo+`-`+t),o.set(t,Zo)),()=>{this._engine.afterFlush(()=>{let e=i.indexOf(a);e>=0&&i.splice(e,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return!this._triggers.has(e)&&(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw unregisteredTrigger(e);return t}trigger(e,t,n,r=!0){let i=this._getTrigger(t),a=new TransitionAnimationPlayer(this.id,t,e),o=this._engine.statesByElement.get(e);o||(addClass(e,vo),addClass(e,vo+`-`+t),this._engine.statesByElement.set(e,o=new Map));let s=o.get(t),c=new StateValue(n,this.id);if(!(n&&n.hasOwnProperty(`value`))&&s&&c.absorbOptions(s.options),o.set(t,c),s||=Zo,c.value!==Xo&&s.value===c.value){if(!objEquals(s.params,c.params)){let t=[],n=i.matchStyles(s.value,s.params,t),r=i.matchStyles(c.value,c.params,t);t.length?this._engine.reportError(t):this._engine.afterFlush(()=>{eraseStyles(e,n),setStyles(e,r)})}return}let l=getOrSetDefaultValue(this._engine.playersByElement,e,[]);l.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let u=i.matchTransition(s.value,c.value,e,c.params),d=!1;if(!u){if(!r)return;u=i.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:u,fromState:s,toState:c,player:a,isFallbackTransition:d}),d||(addClass(e,Vo),a.onStart(()=>{removeClass(e,Vo)})),a.onDone(()=>{let t=this.players.indexOf(a);t>=0&&this.players.splice(t,1);let n=this._engine.playersByElement.get(e);if(n){let e=n.indexOf(a);e>=0&&n.splice(e,1)}}),this.players.push(a),l.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(t=>t.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(e=>e.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let n=this._engine.driver.query(e,yo,!0);n.forEach(e=>{if(e[$])return;let n=this._engine.fetchNamespacesByElement(e);n.size?n.forEach(n=>n.triggerLeaveAnimation(e,t,!1,!0)):this.clearElementCache(e)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(e=>this.clearElementCache(e)))}triggerLeaveAnimation(e,t,n,r){let i=this._engine.statesByElement.get(e),a=new Map;if(i){let o=[];if(i.forEach((t,n)=>{if(a.set(n,t.value),this._triggers.has(n)){let t=this.trigger(e,n,Xo,r);t&&o.push(t)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,a),n&&optimizeGroupPlayer(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(t&&n){let r=new Set;t.forEach(t=>{let i=t.name;if(r.has(i))return;r.add(i);let a=this._triggers.get(i).fallbackTransition,o=n.get(i)||Zo,s=new StateValue(Xo),c=new TransitionAnimationPlayer(this.id,i,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:a,fromState:o,toState:s,player:c,isFallbackTransition:!0})})}}removeNode(e,t){let n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let r=!1;if(n.totalAnimations){let t=n.players.length?n.playersByQueriedElement.get(e):[];if(t&&t.length)r=!0;else{let t=e;for(;t=t.parentNode;)if(n.statesByElement.get(t)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)n.markElementAsRemoved(this.id,e,!1,t);else{let r=e[$];r&&r!==Jo||(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){addClass(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(n=>{let r=n.player;if(r.destroyed)return;let i=n.element,a=this._elementListeners.get(i);a&&a.forEach(t=>{if(t.name==n.triggerName){let r=makeAnimationEvent(i,n.triggerName,n.fromState.value,n.toState.value);r._data=e,listenOnPlayer(n.player,t.phase,r,t.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(n)}),this._queue=[],t.sort((e,t)=>{let n=e.transition.ast.depCount,r=t.transition.ast.depCount;return n==0||r==0?n-r:this._engine.driver.containsElement(e.element,t.element)?1:-1})}destroy(e){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},TransitionAnimationEngine=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(e,t)=>{};_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,n){this.bodyNode=e,this.driver=t,this._normalizer=n}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,t){let n=new AnimationTransitionNamespace(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){let n=this._namespaceList,r=this.namespacesByHostElement;if(n.length-1>=0){let i=!1,a=this.driver.getParentElement(t);for(;a;){let t=r.get(a);if(t){let r=n.indexOf(t);n.splice(r+1,0,e),i=!0;break}a=this.driver.getParentElement(a)}i||n.unshift(e)}else n.push(e);return r.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||=this.createNamespace(e,t),n}registerTrigger(e,t,n){let r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let n=this._fetchNamespace(e);this.namespacesByHostElement.delete(n.hostElement);let r=this._namespaceList.indexOf(n);r>=0&&this._namespaceList.splice(r,1),n.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,n=this.statesByElement.get(e);if(n){for(let e of n.values())if(e.namespaceId){let n=this._fetchNamespace(e.namespaceId);n&&t.add(n)}}return t}trigger(e,t,n,r){if(isElementNode(t)){let i=this._fetchNamespace(e);if(i)return i.trigger(t,n,r),!0}return!1}insertNode(e,t,n,r){if(!isElementNode(t))return;let i=t[$];if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;let e=this.collectedLeaveElements.indexOf(t);e>=0&&this.collectedLeaveElements.splice(e,1)}if(e){let r=this._fetchNamespace(e);r&&r.insertNode(t,n)}r&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),addClass(e,Uo)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),removeClass(e,Uo))}removeNode(e,t,n){if(isElementNode(t)){let r=e?this._fetchNamespace(e):null;r?r.removeNode(t,n):this.markElementAsRemoved(e,t,!1,n);let i=this.namespacesByHostElement.get(t);i&&i.id!==e&&i.removeNode(t,n)}else this._onRemovalComplete(t,n)}markElementAsRemoved(e,t,n,r,i){this.collectedLeaveElements.push(t),t[$]={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:i}}listen(e,t,n,r,i){return isElementNode(t)?this._fetchNamespace(e).listen(t,n,r,i):()=>{}}_buildInstruction(e,t,n,r,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,i)}destroyInnerAnimations(e){let t=this.driver.query(e,yo,!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,xo,!0),t.forEach(e=>this.finishActiveQueriedAnimationOnElement(e)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(e=>{e.queued?e.markedForDestroy=!0:e.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(e=>e.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return optimizeGroupPlayer(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[$];if(t&&t.setForRemoval){if(e[$]=Jo,t.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Uo)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Wo,!0).forEach(e=>{this.markElementAsDisabled(e,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((e,t)=>this._balanceNamespaceList(e,t)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let e=0;e<this.collectedEnterElements.length;e++){let t=this.collectedEnterElements[e];addClass(t,Go)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let n=[];try{t=this._flushAnimations(n,e)}finally{for(let e=0;e<n.length;e++)n[e]()}}else for(let e=0;e<this.collectedLeaveElements.length;e++){let t=this.collectedLeaveElements[e];this.processLeaveNode(t)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(e=>e()),this._flushFns=[],this._whenQuietFns.length){let e=this._whenQuietFns;this._whenQuietFns=[],t.length?optimizeGroupPlayer(t).onDone(()=>{e.forEach(e=>e())}):e.forEach(e=>e())}}reportError(e){throw triggerTransitionsFailed(e)}_flushAnimations(e,t){let n=new ElementInstructionMap,r=[],i=new Map,a=[],o=new Map,s=new Map,c=new Map,l=new Set;this.disabledNodes.forEach(e=>{l.add(e);let t=this.driver.query(e,Ho,!0);for(let e=0;e<t.length;e++)l.add(t[e])});let u=this.bodyNode,d=Array.from(this.statesByElement.keys()),f=buildRootMap(d,this.collectedEnterElements),p=new Map,m=0;f.forEach((e,t)=>{let n=go+m++;p.set(t,n),e.forEach(e=>addClass(e,n))});let h=[],g=new Set,_=new Set;for(let e=0;e<this.collectedLeaveElements.length;e++){let t=this.collectedLeaveElements[e],n=t[$];n&&n.setForRemoval&&(h.push(t),g.add(t),n.hasAnimation?this.driver.query(t,Ko,!0).forEach(e=>g.add(e)):_.add(t))}let v=new Map,y=buildRootMap(d,Array.from(g));y.forEach((e,t)=>{let n=_o+m++;v.set(t,n),e.forEach(e=>addClass(e,n))}),e.push(()=>{f.forEach((e,t)=>{let n=p.get(t);e.forEach(e=>removeClass(e,n))}),y.forEach((e,t)=>{let n=v.get(t);e.forEach(e=>removeClass(e,n))}),h.forEach(e=>{this.processLeaveNode(e)})});let b=[],x=[];for(let e=this._namespaceList.length-1;e>=0;e--)this._namespaceList[e].drainQueuedTransitions(t).forEach(e=>{let t=e.player,i=e.element;if(b.push(t),this.collectedEnterElements.length){let n=i[$];if(n&&n.setForMove){if(n.previousTriggersValues&&n.previousTriggersValues.has(e.triggerName)){let t=n.previousTriggersValues.get(e.triggerName),r=this.statesByElement.get(e.element);if(r&&r.has(e.triggerName)){let n=r.get(e.triggerName);n.value=t,r.set(e.triggerName,n)}}t.destroy();return}}let l=!u||!this.driver.containsElement(u,i),d=v.get(i),f=p.get(i),m=this._buildInstruction(e,n,f,d,l);if(m.errors&&m.errors.length){x.push(m);return}if(l||e.isFallbackTransition){t.onStart(()=>eraseStyles(i,m.fromStyles)),t.onDestroy(()=>setStyles(i,m.toStyles)),r.push(t);return}let h=[];m.timelines.forEach(e=>{e.stretchStartingKeyframe=!0,this.disabledNodes.has(e.element)||h.push(e)}),m.timelines=h,n.append(i,m.timelines);let g={instruction:m,player:t,element:i};a.push(g),m.queriedElements.forEach(e=>getOrSetDefaultValue(o,e,[]).push(t)),m.preStyleProps.forEach((e,t)=>{if(e.size){let n=s.get(t);n||s.set(t,n=new Set),e.forEach((e,t)=>n.add(t))}}),m.postStyleProps.forEach((e,t)=>{let n=c.get(t);n||c.set(t,n=new Set),e.forEach((e,t)=>n.add(t))})});if(x.length){let e=[];x.forEach(t=>{e.push(transitionFailed(t.triggerName,t.errors))}),b.forEach(e=>e.destroy()),this.reportError(e)}let S=new Map,ee=new Map;a.forEach(e=>{let t=e.element;n.has(t)&&(ee.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,S))}),r.forEach(e=>{let t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e=>{getOrSetDefaultValue(S,t,[]).push(e),e.destroy()})});let te=h.filter(e=>replacePostStylesAsPre(e,s,c)),ne=new Map;cloakAndComputeStyles(ne,this.driver,_,c,`*`).forEach(e=>{replacePostStylesAsPre(e,s,c)&&te.push(e)});let re=new Map;f.forEach((e,t)=>{cloakAndComputeStyles(re,this.driver,new Set(e),s,`!`)}),te.forEach(e=>{let t=ne.get(e),n=re.get(e);ne.set(e,new Map([...t?.entries()??[],...n?.entries()??[]]))});let ie=[],ae=[],oe={};a.forEach(e=>{let{element:t,player:a,instruction:o}=e;if(n.has(t)){if(l.has(t)){a.onDestroy(()=>setStyles(t,o.toStyles)),a.disabled=!0,a.overrideTotalTime(o.totalTime),r.push(a);return}let e=oe;if(ee.size>1){let n=t,r=[];for(;n=n.parentNode;){let t=ee.get(n);if(t){e=t;break}r.push(n)}r.forEach(t=>ee.set(t,e))}let n=this._buildAnimation(a.namespaceId,o,S,i,re,ne);if(a.setRealPlayer(n),e===oe)ie.push(a);else{let t=this.playersByElement.get(e);t&&t.length&&(a.parentPlayer=optimizeGroupPlayer(t)),r.push(a)}}else eraseStyles(t,o.fromStyles),a.onDestroy(()=>setStyles(t,o.toStyles)),ae.push(a),l.has(t)&&r.push(a)}),ae.forEach(e=>{let t=i.get(e.element);if(t&&t.length){let n=optimizeGroupPlayer(t);e.setRealPlayer(n)}}),r.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let e=0;e<h.length;e++){let t=h[e],n=t[$];if(removeClass(t,_o),n&&n.hasAnimation)continue;let r=[];if(o.size){let e=o.get(t);e&&e.length&&r.push(...e);let n=this.driver.query(t,xo,!0);for(let e=0;e<n.length;e++){let t=o.get(n[e]);t&&t.length&&r.push(...t)}}let i=r.filter(e=>!e.destroyed);i.length?removeNodesAfterAnimationDone(this,t,i):this.processLeaveNode(t)}return h.length=0,ie.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();let t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),ie}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,r,i){let a=[];if(t){let t=this.playersByQueriedElement.get(e);t&&(a=t)}else{let t=this.playersByElement.get(e);if(t){let e=!i||i==Xo;t.forEach(t=>{t.queued||(e||t.triggerName==r)&&a.push(t)})}}return(n||r)&&(a=a.filter(e=>!(n&&n!=e.namespaceId||r&&r!=e.triggerName))),a}_beforeAnimationBuild(e,t,n){let r=t.triggerName,i=t.element,a=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:r;for(let e of t.timelines){let r=e.element,s=r!==i,c=getOrSetDefaultValue(n,r,[]);this._getPreviousPlayers(r,s,a,o,t.toState).forEach(e=>{let t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),c.push(e)})}eraseStyles(i,t.fromStyles)}_buildAnimation(e,t,n,r,i,a){let o=t.triggerName,s=t.element,c=[],l=new Set,u=new Set,d=t.timelines.map(t=>{let d=t.element;l.add(d);let f=d[$];if(f&&f.removedBeforeQueried)return new NoopAnimationPlayer(t.duration,t.delay);let p=d!==s,m=flattenGroupPlayers((n.get(d)||qo).map(e=>e.getRealPlayer())).filter(e=>{let t=e;return t.element?t.element===d:!1}),h=i.get(d),g=a.get(d),_=normalizeKeyframes$1(this._normalizer,t.keyframes,h,g),v=this._buildPlayer(t,_,m);if(t.subTimeline&&r&&u.add(d),p){let t=new TransitionAnimationPlayer(e,o,d);t.setRealPlayer(v),c.push(t)}return v});c.forEach(e=>{getOrSetDefaultValue(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>deleteOrUnsetInMap(this.playersByQueriedElement,e.element,e))}),l.forEach(e=>addClass(e,bo));let f=optimizeGroupPlayer(d);return f.onDestroy(()=>{l.forEach(e=>removeClass(e,bo)),setStyles(s,t.toStyles)}),u.forEach(e=>{getOrSetDefaultValue(r,e,[]).push(f)}),f}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new NoopAnimationPlayer(e.duration,e.delay)}},TransitionAnimationPlayer=class{namespaceId;triggerName;element;_player=new NoopAnimationPlayer;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,n)=>{t.forEach(t=>listenOnPlayer(e,n,void 0,t))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback(`start`)),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){getOrSetDefaultValue(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent(`done`,e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent(`start`,e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent(`destroy`,e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}},AnimationEngine=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,t)=>{};constructor(e,t,n){this._driver=t,this._normalizer=n,this._transitionEngine=new TransitionAnimationEngine(e.body,t,n),this._timelineEngine=new TimelineAnimationEngine(e.body,t,n),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,n,r,i){let a=e+`-`+r,o=this._triggerCache[a];if(!o){let e=[],t=buildAnimationAst(this._driver,i,e,[]);if(e.length)throw triggerBuildFailed(r,e);o=buildTrigger(r,t,this._normalizer),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,r,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)}onRemove(e,t,n){this._transitionEngine.removeNode(e,t,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,r){if(n.charAt(0)==`@`){let[e,i]=parseTimelineCommand(n),a=r;this._timelineEngine.command(e,t,i,a)}else this._transitionEngine.trigger(e,t,n,r)}listen(e,t,n,r,i){if(n.charAt(0)==`@`){let[e,r]=parseTimelineCommand(n);return this._timelineEngine.listen(e,t,r,i)}return this._transitionEngine.listen(e,t,n,r,i)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}},Qo=(()=>{class SpecialCasedStyles{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(e,t,n){this._element=e,this._startStyles=t,this._endStyles=n;let r=SpecialCasedStyles.initialStylesByElement.get(e);r||SpecialCasedStyles.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&setStyles(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(setStyles(this._element,this._initialStyles),this._endStyles&&=(setStyles(this._element,this._endStyles),null),this._state=1)}destroy(){this.finish(),this._state<3&&(SpecialCasedStyles.initialStylesByElement.delete(this._element),this._startStyles&&(eraseStyles(this._element,this._startStyles),this._endStyles=null),this._endStyles&&=(eraseStyles(this._element,this._endStyles),null),setStyles(this._element,this._initialStyles),this._state=3)}}return SpecialCasedStyles})(),WebAnimationsPlayer=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(e,t,n,r){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=r,this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;let e=this.keyframes,t=this._triggerWebAnimation(this.element,e,this.options);if(!t)return this._onFinish(),null;this.domPlayer=t,this._finalKeyframe=e.length?e[e.length-1]:new Map;let onFinish=()=>this._onFinish();return t.addEventListener(`finish`,onFinish),this.onDestroy(()=>{t.removeEventListener(`finish`,onFinish)}),t}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(e=>{t.push(Object.fromEntries(e))}),t}_triggerWebAnimation(e,t,n){let r=this._convertKeyframesToObject(t);try{return e.animate(r,n)}catch{return null}}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){let e=this._buildPlayer();e&&(this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),e.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish())}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer?.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=e*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:+!!this._initialized}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((t,n)=>{n!==`offset`&&e.set(n,this._finished?t:computeStyle(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){let t=e===`start`?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}},WebAnimationsDriver=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return containsElement(e,t)}getParentElement(e){return getParentElement(e)}query(e,t,n){return invokeQuery(e,t,n)}computeStyle(e,t,n){return computeStyle(e,t)}animate(e,t,n,r,i,a=[]){let o={duration:n,delay:r,fill:r==0?`both`:`forwards`};i&&(o.easing=i);let s=new Map,c=a.filter(e=>e instanceof WebAnimationsPlayer);allowPreviousPlayerStylesMerge(n,r)&&c.forEach(e=>{e.currentSnapshot.forEach((e,t)=>s.set(t,e))});let l=normalizeKeyframes(t).map(e=>new Map(e));l=balancePreviousStylesIntoKeyframes(e,l,s);let u=packageNonAnimatableStyles(e,l);return new WebAnimationsPlayer(e,l,o,u)}},$o=`@`,es=`@.disabled`,BaseAnimationRenderer=class{namespaceId;delegate;engine;_onDestroy;ɵtype=0;constructor(e,t,n,r){this.namespaceId=e,this.delegate=t,this.engine=n,this._onDestroy=r}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,n,r=!0){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,r)}removeChild(e,t,n,r){r?this.delegate.removeChild(e,t,n,r):this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,n,r){this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){this.delegate.removeAttribute(e,t,n)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,n,r){this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){t.charAt(0)==$o&&t==es?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,n,r){return this.delegate.listen(e,t,n,r)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},AnimationRenderer=class extends BaseAnimationRenderer{factory;constructor(e,t,n,r,i){super(t,n,r,i),this.factory=e,this.namespaceId=t}setProperty(e,t,n){t.charAt(0)==$o?t.charAt(1)==`.`&&t==es?(n=n===void 0||!!n,this.disableAnimations(e,n)):this.engine.process(this.namespaceId,e,t.slice(1),n):this.delegate.setProperty(e,t,n)}listen(e,t,n,r){if(t.charAt(0)==$o){let r=resolveElementFromTarget(e),i=t.slice(1),a=``;return i.charAt(0)!=$o&&([i,a]=parseTriggerCallbackName(i)),this.engine.listen(this.namespaceId,r,i,a,e=>{let t=e._data||-1;this.factory.scheduleListenerCallback(t,n,e)})}return this.delegate.listen(e,t,n,r)}},AnimationRendererFactory=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,t,n){this.delegate=e,this.engine=t,this._zone=n,t.onRemovalComplete=(e,t)=>{t?.removeChild(null,e)}}createRenderer(e,t){let n=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let e=this._rendererCache,t=e.get(n);if(!t){let onRendererDestroy=()=>e.delete(n);t=new BaseAnimationRenderer(``,n,this.engine,onRendererDestroy),e.set(n,t)}return t}let r=t.id,i=t.id+`-`+this._currentId;this._currentId++,this.engine.register(i,e);let registerTrigger=t=>{Array.isArray(t)?t.forEach(registerTrigger):this.engine.registerTrigger(r,i,e,t.name,t)};return t.data.animation.forEach(registerTrigger),new AnimationRenderer(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(n));return}let r=this._animationCallbacksBuffer;r.length==0&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(e=>{let[t,n]=e;t(n)}),this._animationCallbacksBuffer=[]})}),r.push([t,n])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(e){this.engine.flush(),this.delegate.componentReplaced?.(e)}}})))()}function instantiateDefaultStyleNormalizer(){return new WebAnimationsStyleNormalizer}function instantiateRendererFactory(){return new AnimationRendererFactory(inject(Qa),inject(AnimationEngine),inject(j))}function provideAnimations(){return performanceMarkFeature(`NgEagerAnimations`),[...is]}function provideNoopAnimations(){return[...rs]}var ts,ns,rs,is,as,os;function init_animations(){return(init_animations=t((()=>{init_core(),init_browser(),init_common(),init__dom_renderer_chunk(),init__browser_chunk(),ts=(()=>{class InjectableAnimationEngine extends AnimationEngine{constructor(e,t,n){super(e,t,n)}ngOnDestroy(){this.flush()}static ɵfac=function InjectableAnimationEngine_Factory(e){return new(e||InjectableAnimationEngine)(ɵɵinject(k),ɵɵinject(AnimationDriver),ɵɵinject(AnimationStyleNormalizer))};static ɵprov=ɵɵdefineInjectable({token:InjectableAnimationEngine,factory:InjectableAnimationEngine.ɵfac})}return InjectableAnimationEngine})(),ns=[{provide:AnimationStyleNormalizer,useFactory:instantiateDefaultStyleNormalizer},{provide:AnimationEngine,useClass:ts},{provide:RendererFactory2,useFactory:instantiateRendererFactory}],rs=[{provide:AnimationDriver,useClass:To},{provide:Nt,useValue:`NoopAnimations`},...ns],is=[{provide:AnimationDriver,useFactory:()=>new WebAnimationsDriver},{provide:Nt,useFactory:()=>`BrowserAnimations`},...ns],as=(()=>{class BrowserAnimationsModule{static withConfig(e){return{ngModule:BrowserAnimationsModule,providers:e.disableAnimations?rs:is}}static ɵfac=function BrowserAnimationsModule_Factory(e){return new(e||BrowserAnimationsModule)};static ɵmod=ɵɵdefineNgModule({type:BrowserAnimationsModule,exports:[lo]});static ɵinj=ɵɵdefineInjector({providers:is,imports:[lo]})}return BrowserAnimationsModule})(),os=(()=>{class NoopAnimationsModule{static ɵfac=function NoopAnimationsModule_Factory(e){return new(e||NoopAnimationsModule)};static ɵmod=ɵɵdefineNgModule({type:NoopAnimationsModule,exports:[lo]});static ɵinj=ɵɵdefineInjector({providers:rs,imports:[lo]})}return NoopAnimationsModule})()})))()}export{getComponentDef as A,x as B,yi as C,provideZonelessChangeDetection as D,init__debug_node_chunk as E,init_BehaviorSubject as F,__decorate as H,createOperatorSubscriber as I,init_OperatorSubscriber as L,init_map as M,map as N,InjectionToken as O,re as P,init_lift as R,xi as S,B as T,init_tslib_es6 as U,init_Observable as V,_i as _,provideNoopAnimations as a,bi as b,init__browser_chunk as c,init__common_module_chunk as d,ji as f,vi as g,init_core as h,provideAnimations as i,init__effect_chunk2 as j,j as k,init_common as l,Ti as m,os as n,lo as o,Ei as p,init_animations as r,bootstrapApplication as s,as as t,Ra as u,et as v,ReflectionCapabilities as w,Si as x,St as y,operate as z};