define(["exports","systemjs"],(function(t,e){"use strict";function n(t){var e=Object.create(null);return t&&Object.keys(t).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}})),e.default=t,Object.freeze(e)}var r=n(e).default;function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function s(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){return Object.is(t,e)}let u=null,l=!1,c=1;const d=Symbol("SIGNAL");function h(t){const e=u;return u=t,e}function f(){return u}const p={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function v(t){if(l)throw new Error("");if(null===u)return;u.consumerOnSignalRead(t);const e=u.nextProducerIndex++;if(x(u),e<u.producerNode.length&&u.producerNode[e]!==t&&A(u)){T(u.producerNode[e],u.producerIndexOfThis[e])}u.producerNode[e]!==t&&(u.producerNode[e]=t,u.producerIndexOfThis[e]=A(u)?D(t,u,e):0),u.producerLastReadVersion[e]=t.version}function g(t){A(t)&&!t.dirty||(t.dirty||t.lastCleanEpoch!==c)&&(t.producerMustRecompute(t)||C(t)?(t.producerRecomputeValue(t),w(t)):w(t))}function m(t){if(void 0===t.liveConsumerNode)return;const e=l;l=!0;try{for(const e of t.liveConsumerNode)e.dirty||b(e)}finally{l=e}}function y(){var t;return!1!==(null===(t=u)||void 0===t?void 0:t.consumerAllowSignalWrites)}function b(t){var e;t.dirty=!0,m(t),null===(e=t.consumerMarkedDirty)||void 0===e||e.call(t,t)}function w(t){t.dirty=!1,t.lastCleanEpoch=c}function _(t){return t&&(t.nextProducerIndex=0),h(t)}function S(t,e){if(h(e),t&&void 0!==t.producerNode&&void 0!==t.producerIndexOfThis&&void 0!==t.producerLastReadVersion){if(A(t))for(let e=t.nextProducerIndex;e<t.producerNode.length;e++)T(t.producerNode[e],t.producerIndexOfThis[e]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function C(t){x(t);for(let e=0;e<t.producerNode.length;e++){const n=t.producerNode[e],r=t.producerLastReadVersion[e];if(r!==n.version)return!0;if(g(n),r!==n.version)return!0}return!1}function E(t){if(x(t),A(t))for(let e=0;e<t.producerNode.length;e++)T(t.producerNode[e],t.producerIndexOfThis[e]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function D(t,e,n){if(k(t),0===t.liveConsumerNode.length&&I(t))for(let e=0;e<t.producerNode.length;e++)t.producerIndexOfThis[e]=D(t.producerNode[e],t,e);return t.liveConsumerIndexOfThis.push(n),t.liveConsumerNode.push(e)-1}function T(t,e){if(k(t),1===t.liveConsumerNode.length&&I(t))for(let e=0;e<t.producerNode.length;e++)T(t.producerNode[e],t.producerIndexOfThis[e]);const n=t.liveConsumerNode.length-1;if(t.liveConsumerNode[e]=t.liveConsumerNode[n],t.liveConsumerIndexOfThis[e]=t.liveConsumerIndexOfThis[n],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,e<t.liveConsumerNode.length){const n=t.liveConsumerIndexOfThis[e],r=t.liveConsumerNode[e];x(r),r.producerIndexOfThis[n]=e}}function A(t){var e,n;return t.consumerIsAlwaysLive||(null!==(e=null==t||null===(n=t.liveConsumerNode)||void 0===n?void 0:n.length)&&void 0!==e?e:0)>0}function x(t){var e,n,r;null!==(e=t.producerNode)&&void 0!==e||(t.producerNode=[]),null!==(n=t.producerIndexOfThis)&&void 0!==n||(t.producerIndexOfThis=[]),null!==(r=t.producerLastReadVersion)&&void 0!==r||(t.producerLastReadVersion=[])}function k(t){var e,n;null!==(e=t.liveConsumerNode)&&void 0!==e||(t.liveConsumerNode=[]),null!==(n=t.liveConsumerIndexOfThis)&&void 0!==n||(t.liveConsumerIndexOfThis=[])}function I(t){return void 0!==t.producerNode}const O=Symbol("UNSET"),R=Symbol("COMPUTING"),P=Symbol("ERRORED"),F=(()=>o(o({},p),{},{value:O,dirty:!0,error:null,equal:a,kind:"computed",producerMustRecompute:t=>t.value===O||t.value===R,producerRecomputeValue(t){if(t.value===R)throw new Error("Detected cycle in computations.");const e=t.value;t.value=R;const n=_(t);let r,i=!1;try{r=t.computation(),h(null),i=e!==O&&e!==P&&r!==P&&t.equal(e,r)}catch(e){r=P,t.error=e}finally{S(t,n)}i?t.value=e:(t.value=r,t.version++)}}))();let N=function(){throw new Error};function M(t){N(t)}function L(t,e){y()||M(t),t.equal(t.value,e)||(t.value=e,function(t){var e;t.version++,c++,m(t),null===(e=null)||void 0===e||e()}(t))}function j(t,e){y()||M(t),L(t,e(t.value))}const z=(()=>o(o({},p),{},{equal:a,value:void 0,kind:"signal"}))();function B(t,e,n){const r=Object.create(U);r.source=t,r.computation=e,null!=n&&(r.equal=n);const i=()=>{if(g(r),v(r),r.value===P)throw r.error;return r.value};return i[d]=r,i}const U=(()=>o(o({},p),{},{value:O,dirty:!0,error:null,equal:a,producerMustRecompute:t=>t.value===O||t.value===R,producerRecomputeValue(t){if(t.value===R)throw new Error("Detected cycle in computations.");const e=t.value;t.value=R;const n=_(t);let r;try{const n=t.source(),i=e===O||e===P?void 0:{source:t.sourceValue,value:e};r=t.computation(n,i),t.sourceValue=n}catch(e){r=P,t.error=e}finally{S(t,n)}e!==O&&r!==P&&t.equal(e,r)?t.value=e:(t.value=r,t.version++)}}))();let H;function V(){return H}function $(t){const e=H;return H=t,e}const q=Symbol("NotFound");var W=function(t,e){return W=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},W(t,e)};function G(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}W(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var Z=function(){return Z=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},Z.apply(this,arguments)};function Y(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{u(r.next(t))}catch(t){o(t)}}function a(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}u((r=r.apply(t,e||[])).next())}))}function K(t,e){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(u){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,a[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=e.call(t,o)}catch(t){a=[6,t],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}function Q(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function J(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function X(t,e,n){if(n||2===arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))}function tt(t){return this instanceof tt?(this.v=t,this):new tt(t)}function et(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(t,e||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",(function(t){return function(e){return Promise.resolve(e).then(t,l)}})),r[Symbol.asyncIterator]=function(){return this},r;function s(t,e){i[t]&&(r[t]=function(e){return new Promise((function(n,r){o.push([t,e,n,r])>1||a(t,e)}))},e&&(r[t]=e(r[t])))}function a(t,e){try{(n=i[t](e)).value instanceof tt?Promise.resolve(n.value.v).then(u,l):c(o[0][2],n)}catch(t){c(o[0][3],t)}var n}function u(t){a("next",t)}function l(t){a("throw",t)}function c(t,e){t(e),o.shift(),o.length&&a(o[0][0],o[0][1])}}function nt(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=Q(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise((function(r,i){(function(t,e,n,r){Promise.resolve(r).then((function(e){t({value:e,done:n})}),e)})(r,i,(e=t[n](e)).done,e.value)}))}}}function rt(t){return"function"==typeof t}function it(t){var e=t((function(t){Error.call(t),t.stack=(new Error).stack}));return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}"function"==typeof SuppressedError&&SuppressedError;var ot=it((function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(t,e){return e+1+") "+t.toString()})).join("\n  "):"",this.name="UnsubscriptionError",this.errors=e}}));function st(t,e){if(t){var n=t.indexOf(e);0<=n&&t.splice(n,1)}}var at=function(){function t(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){var t,e,n,r,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=Q(o),a=s.next();!a.done;a=s.next()){a.value.remove(this)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}else o.remove(this);var u=this.initialTeardown;if(rt(u))try{u()}catch(t){i=t instanceof ot?t.errors:[t]}var l=this._finalizers;if(l){this._finalizers=null;try{for(var c=Q(l),d=c.next();!d.done;d=c.next()){var h=d.value;try{ct(h)}catch(t){i=null!=i?i:[],t instanceof ot?i=X(X([],J(i)),J(t.errors)):i.push(t)}}}catch(t){n={error:t}}finally{try{d&&!d.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}}if(i)throw new ot(i)}},t.prototype.add=function(e){var n;if(e&&e!==this)if(this.closed)ct(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(e)}},t.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},t.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},t.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&st(e,t)},t.prototype.remove=function(e){var n=this._finalizers;n&&st(n,e),e instanceof t&&e._removeParent(this)},t.EMPTY=function(){var e=new t;return e.closed=!0,e}(),t}(),ut=at.EMPTY;function lt(t){return t instanceof at||t&&"closed"in t&&rt(t.remove)&&rt(t.add)&&rt(t.unsubscribe)}function ct(t){rt(t)?t():t.unsubscribe()}var dt={Promise:void 0},ht=function(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return setTimeout.apply(void 0,X([t,e],J(n)))};function ft(t){ht((function(){throw t}))}function pt(){}function vt(t){t()}var gt=function(t){function e(e){var n=t.call(this)||this;return n.isStopped=!1,e?(n.destination=e,lt(e)&&e.add(n)):n.destination=wt,n}return G(e,t),e.create=function(t,e,n){return new yt(t,e,n)},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(at),mt=function(){function t(t){this.partialObserver=t}return t.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(t){bt(t)}},t.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(t){bt(t)}else bt(t)},t.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(t){bt(t)}},t}(),yt=function(t){function e(e,n,r){var i,o=t.call(this)||this;return i=rt(e)||!e?{next:null!=e?e:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:e,o.destination=new mt(i),o}return G(e,t),e}(gt);function bt(t){ft(t)}var wt={closed:!0,next:pt,error:function(t){throw t},complete:pt},_t="function"==typeof Symbol&&Symbol.observable||"@@observable";function St(t){return t}function Ct(t){return 0===t.length?St:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}}var Et=function(){function t(t){t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r,i=this,o=(r=t)&&r instanceof gt||function(t){return t&&rt(t.next)&&rt(t.error)&&rt(t.complete)}(r)&&lt(r)?t:new yt(t,e,n);return vt((function(){var t=i,e=t.operator,n=t.source;o.add(e?e.call(o,n):n?i._subscribe(o):i._trySubscribe(o))})),o},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=Dt(e))((function(e,r){var i=new yt({next:function(e){try{t(e)}catch(t){r(t),i.unsubscribe()}},error:r,complete:e});n.subscribe(i)}))},t.prototype._subscribe=function(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)},t.prototype[_t]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return Ct(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=Dt(t))((function(t,n){var r;e.subscribe((function(t){return r=t}),(function(t){return n(t)}),(function(){return t(r)}))}))},t.create=function(e){return new t(e)},t}();function Dt(t){var e;return null!==(e=null!=t?t:dt.Promise)&&void 0!==e?e:Promise}function Tt(t){return rt(null==t?void 0:t.lift)}function At(t){return function(e){if(Tt(e))return e.lift((function(e){try{return t(e,this)}catch(t){this.error(t)}}));throw new TypeError("Unable to lift unknown Observable type")}}function xt(t,e,n,r,i){return new kt(t,e,n,r,i)}var kt=function(t){function e(e,n,r,i,o,s){var a=t.call(this,e)||this;return a.onFinalize=o,a.shouldUnsubscribe=s,a._next=n?function(t){try{n(t)}catch(t){e.error(t)}}:t.prototype._next,a._error=i?function(t){try{i(t)}catch(t){e.error(t)}finally{this.unsubscribe()}}:t.prototype._error,a._complete=r?function(){try{r()}catch(t){e.error(t)}finally{this.unsubscribe()}}:t.prototype._complete,a}return G(e,t),e.prototype.unsubscribe=function(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;t.prototype.unsubscribe.call(this),!n&&(null===(e=this.onFinalize)||void 0===e||e.call(this))}},e}(gt);function It(){return At((function(t,e){var n=null;t._refCount++;var r=xt(e,void 0,void 0,void 0,(function(){if(!t||t._refCount<=0||0<--t._refCount)n=null;else{var r=t._connection,i=n;n=null,!r||i&&r!==i||r.unsubscribe(),e.unsubscribe()}}));t.subscribe(r),r.closed||(n=t.connect())}))}var Ot=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._subject=null,r._refCount=0,r._connection=null,Tt(e)&&(r.lift=e.lift),r}return G(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype._teardown=function(){this._refCount=0;var t=this._connection;this._subject=this._connection=null,null==t||t.unsubscribe()},e.prototype.connect=function(){var t=this,e=this._connection;if(!e){e=this._connection=new at;var n=this.getSubject();e.add(this.source.subscribe(xt(n,void 0,(function(){t._teardown(),n.complete()}),(function(e){t._teardown(),n.error(e)}),(function(){return t._teardown()})))),e.closed&&(this._connection=null,e=at.EMPTY)}return e},e.prototype.refCount=function(){return It()(this)},e}(Et),Rt=it((function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Pt=function(t){function e(){var e=t.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return G(e,t),e.prototype.lift=function(t){var e=new Ft(this,this);return e.operator=t,e},e.prototype._throwIfClosed=function(){if(this.closed)throw new Rt},e.prototype.next=function(t){var e=this;vt((function(){var n,r;if(e._throwIfClosed(),!e.isStopped){e.currentObservers||(e.currentObservers=Array.from(e.observers));try{for(var i=Q(e.currentObservers),o=i.next();!o.done;o=i.next()){o.value.next(t)}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}}))},e.prototype.error=function(t){var e=this;vt((function(){if(e._throwIfClosed(),!e.isStopped){e.hasError=e.isStopped=!0,e.thrownError=t;for(var n=e.observers;n.length;)n.shift().error(t)}}))},e.prototype.complete=function(){var t=this;vt((function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}}))},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},e.prototype._innerSubscribe=function(t){var e=this,n=this,r=n.hasError,i=n.isStopped,o=n.observers;return r||i?ut:(this.currentObservers=null,o.push(t),new at((function(){e.currentObservers=null,st(o,t)})))},e.prototype._checkFinalizedStatuses=function(t){var e=this,n=e.hasError,r=e.thrownError,i=e.isStopped;n?t.error(r):i&&t.complete()},e.prototype.asObservable=function(){var t=new Et;return t.source=this,t},e.create=function(t,e){return new Ft(t,e)},e}(Et),Ft=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return G(e,t),e.prototype.next=function(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,t)},e.prototype.error=function(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,t)},e.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},e.prototype._subscribe=function(t){var e,n;return null!==(n=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==n?n:ut},e}(Pt),Nt=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return G(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){var t=this,e=t.hasError,n=t.thrownError,r=t._value;if(e)throw n;return this._throwIfClosed(),r},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(Pt),Mt={now:function(){return(Mt.delegate||Date).now()},delegate:void 0},Lt=function(t){function e(e,n,r){void 0===e&&(e=1/0),void 0===n&&(n=1/0),void 0===r&&(r=Mt);var i=t.call(this)||this;return i._bufferSize=e,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,n),i}return G(e,t),e.prototype.next=function(e){var n=this,r=n.isStopped,i=n._buffer,o=n._infiniteTimeWindow,s=n._timestampProvider,a=n._windowTime;r||(i.push(e),!o&&i.push(s.now()+a)),this._trimBuffer(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var e=this._innerSubscribe(t),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!t.closed;i+=n?1:2)t.next(r[i]);return this._checkFinalizedStatuses(t),e},e.prototype._trimBuffer=function(){var t=this,e=t._bufferSize,n=t._timestampProvider,r=t._buffer,i=t._infiniteTimeWindow,o=(i?1:2)*e;if(e<1/0&&o<r.length&&r.splice(0,r.length-o),!i){for(var s=n.now(),a=0,u=1;u<r.length&&r[u]<=s;u+=2)a=u;a&&r.splice(0,a+1)}},e}(Pt),jt=function(t){function e(e,n){return t.call(this)||this}return G(e,t),e.prototype.schedule=function(t,e){return this},e}(at),zt=function(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return setInterval.apply(void 0,X([t,e],J(n)))},Bt=function(t){return clearInterval(t)},Ut=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r.pending=!1,r}return G(e,t),e.prototype.schedule=function(t,e){var n;if(void 0===e&&(e=0),this.closed)return this;this.state=t;var r=this.id,i=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(i,r,e)),this.pending=!0,this.delay=e,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(i,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),zt(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!=n&&this.delay===n&&!1===this.pending)return e;null!=e&&Bt(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n,r=!1;try{this.work(t)}catch(t){r=!0,n=t||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),n},e.prototype.unsubscribe=function(){if(!this.closed){var e=this.id,n=this.scheduler,r=n.actions;this.work=this.state=this.scheduler=null,this.pending=!1,st(r,this),null!=e&&(this.id=this.recycleAsyncId(n,e,null)),this.delay=null,t.prototype.unsubscribe.call(this)}},e}(jt),Ht=function(){function t(e,n){void 0===n&&(n=t.now),this.schedulerActionCtor=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.schedulerActionCtor(this,t).schedule(n,e)},t.now=Mt.now,t}(),Vt=new(function(t){function e(e,n){void 0===n&&(n=Ht.now);var r=t.call(this,e,n)||this;return r.actions=[],r._active=!1,r}return G(e,t),e.prototype.flush=function(t){var e=this.actions;if(this._active)e.push(t);else{var n;this._active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}},e}(Ht))(Ut),$t=Vt,qt=new Et((function(t){return t.complete()}));function Wt(t){return t&&rt(t.schedule)}function Gt(t){return t[t.length-1]}function Zt(t){return Wt(Gt(t))?t.pop():void 0}var Yt=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t};function Kt(t){return rt(null==t?void 0:t.then)}function Qt(t){return rt(t[_t])}function Jt(t){return Symbol.asyncIterator&&rt(null==t?void 0:t[Symbol.asyncIterator])}function Xt(t){return new TypeError("You provided "+(null!==t&&"object"==typeof t?"an invalid object":"'"+t+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}var te="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function ee(t){return rt(null==t?void 0:t[te])}function ne(t){return et(this,arguments,(function(){var e,n,r;return K(this,(function(i){switch(i.label){case 0:e=t.getReader(),i.label=1;case 1:i.trys.push([1,,9,10]),i.label=2;case 2:return[4,tt(e.read())];case 3:return n=i.sent(),r=n.value,n.done?[4,tt(void 0)]:[3,5];case 4:return[2,i.sent()];case 5:return[4,tt(r)];case 6:return[4,i.sent()];case 7:return i.sent(),[3,2];case 8:return[3,10];case 9:return e.releaseLock(),[7];case 10:return[2]}}))}))}function re(t){return rt(null==t?void 0:t.getReader)}function ie(t){if(t instanceof Et)return t;if(null!=t){if(Qt(t))return i=t,new Et((function(t){var e=i[_t]();if(rt(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")}));if(Yt(t))return r=t,new Et((function(t){for(var e=0;e<r.length&&!t.closed;e++)t.next(r[e]);t.complete()}));if(Kt(t))return n=t,new Et((function(t){n.then((function(e){t.closed||(t.next(e),t.complete())}),(function(e){return t.error(e)})).then(null,ft)}));if(Jt(t))return oe(t);if(ee(t))return e=t,new Et((function(t){var n,r;try{for(var i=Q(e),o=i.next();!o.done;o=i.next()){var s=o.value;if(t.next(s),t.closed)return}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}t.complete()}));if(re(t))return oe(ne(t))}var e,n,r,i;throw Xt(t)}function oe(t){return new Et((function(e){(function(t,e){var n,r,i,o;return Y(this,void 0,void 0,(function(){var s,a;return K(this,(function(u){switch(u.label){case 0:u.trys.push([0,5,6,11]),n=nt(t),u.label=1;case 1:return[4,n.next()];case 2:if((r=u.sent()).done)return[3,4];if(s=r.value,e.next(s),e.closed)return[2];u.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return a=u.sent(),i={error:a},[3,11];case 6:return u.trys.push([6,,9,10]),r&&!r.done&&(o=n.return)?[4,o.call(n)]:[3,8];case 7:u.sent(),u.label=8;case 8:return[3,10];case 9:if(i)throw i.error;return[7];case 10:return[7];case 11:return e.complete(),[2]}}))}))})(t,e).catch((function(t){return e.error(t)}))}))}function se(t,e,n,r,i){void 0===r&&(r=0),void 0===i&&(i=!1);var o=e.schedule((function(){n(),i?t.add(this.schedule(null,r)):this.unsubscribe()}),r);if(t.add(o),!i)return o}function ae(t,e){return void 0===e&&(e=0),At((function(n,r){n.subscribe(xt(r,(function(n){return se(r,t,(function(){return r.next(n)}),e)}),(function(){return se(r,t,(function(){return r.complete()}),e)}),(function(n){return se(r,t,(function(){return r.error(n)}),e)})))}))}function ue(t,e){return void 0===e&&(e=0),At((function(n,r){r.add(t.schedule((function(){return n.subscribe(r)}),e))}))}function le(t,e){if(!t)throw new Error("Iterable cannot be null");return new Et((function(n){se(n,e,(function(){var r=t[Symbol.asyncIterator]();se(n,e,(function(){r.next().then((function(t){t.done?n.complete():n.next(t.value)}))}),0,!0)}))}))}function ce(t,e){if(null!=t){if(Qt(t))return function(t,e){return ie(t).pipe(ue(e),ae(e))}(t,e);if(Yt(t))return function(t,e){return new Et((function(n){var r=0;return e.schedule((function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())}))}))}(t,e);if(Kt(t))return function(t,e){return ie(t).pipe(ue(e),ae(e))}(t,e);if(Jt(t))return le(t,e);if(ee(t))return function(t,e){return new Et((function(n){var r;return se(n,e,(function(){r=t[te](),se(n,e,(function(){var t,e,i;try{e=(t=r.next()).value,i=t.done}catch(t){return void n.error(t)}i?n.complete():n.next(e)}),0,!0)})),function(){return rt(null==r?void 0:r.return)&&r.return()}}))}(t,e);if(re(t))return function(t,e){return le(ne(t),e)}(t,e)}throw Xt(t)}function de(t,e){return e?ce(t,e):ie(t)}function he(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return de(t,Zt(t))}function fe(t,e){var n=rt(t)?t:function(){return t};return new Et((function(t){return t.error(n())}))}var pe=it((function(t){return function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}}));function ve(t,e){return At((function(n,r){var i=0;n.subscribe(xt(r,(function(n){r.next(t.call(e,n,i++))})))}))}var ge=Array.isArray;function me(t){return ve((function(e){return function(t,e){return ge(e)?t.apply(void 0,X([],J(e))):t(e)}(t,e)}))}var ye=Array.isArray,be=Object.getPrototypeOf,we=Object.prototype,_e=Object.keys;function Se(t){if(1===t.length){var e=t[0];if(ye(e))return{args:e,keys:null};if((r=e)&&"object"==typeof r&&be(r)===we){var n=_e(e);return{args:n.map((function(t){return e[t]})),keys:n}}}var r;return{args:t,keys:null}}function Ce(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Zt(t),r=function(t){return rt(Gt(t))?t.pop():void 0}(t),i=Se(t),o=i.args,s=i.keys;if(0===o.length)return de([],n);var a=new Et(function(t,e,n){void 0===n&&(n=St);return function(r){Ee(e,(function(){for(var i=t.length,o=new Array(i),s=i,a=i,u=function(i){Ee(e,(function(){var u=de(t[i],e),l=!1;u.subscribe(xt(r,(function(t){o[i]=t,l||(l=!0,a--),a||r.next(n(o.slice()))}),(function(){--s||r.complete()})))}),r)},l=0;l<i;l++)u(l)}),r)}}(o,n,s?function(t){return function(t,e){return t.reduce((function(t,n,r){return t[n]=e[r],t}),{})}(s,t)}:St));return r?a.pipe(me(r)):a}function Ee(t,e,n){t?se(n,t,e):e()}function De(t,e,n){return void 0===n&&(n=1/0),rt(e)?De((function(n,r){return ve((function(t,i){return e(n,t,r,i)}))(ie(t(n,r)))}),n):("number"==typeof e&&(n=e),At((function(e,r){return function(t,e,n,r,i,o,s){var a=[],u=0,l=0,c=!1,d=function(){!c||a.length||u||e.complete()},h=function(t){u++;var i=!1;ie(n(t,l++)).subscribe(xt(e,(function(t){e.next(t)}),(function(){i=!0}),void 0,(function(){if(i)try{for(u--;a.length&&u<r;)t=void 0,t=a.shift(),s||h(t);d()}catch(t){e.error(t)}var t})))};return t.subscribe(xt(e,(function(t){return u<r?h(t):a.push(t)}),(function(){c=!0,d()}))),function(){}}(e,r,t,n)})))}function Te(t){return void 0===t&&(t=1/0),De(St,t)}function Ae(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return Te(1)(de(t,Zt(t)))}function xe(t){return new Et((function(e){ie(t()).subscribe(e)}))}function ke(t,e){return At((function(n,r){var i=0;n.subscribe(xt(r,(function(n){return t.call(e,n,i++)&&r.next(n)})))}))}function Ie(t){return At((function(e,n){var r,i=null,o=!1;i=e.subscribe(xt(n,void 0,void 0,(function(s){r=ie(t(s,Ie(t)(e))),i?(i.unsubscribe(),i=null,r.subscribe(n)):o=!0}))),o&&(i.unsubscribe(),i=null,r.subscribe(n))}))}function Oe(t,e){return rt(e)?De(t,e,1):De(t,1)}function Re(t){return At((function(e,n){var r=!1;e.subscribe(xt(n,(function(t){r=!0,n.next(t)}),(function(){r||n.next(t),n.complete()})))}))}function Pe(t){return t<=0?function(){return qt}:At((function(e,n){var r=0;e.subscribe(xt(n,(function(e){++r<=t&&(n.next(e),t<=r&&n.complete())})))}))}function Fe(t){return void 0===t&&(t=Ne),At((function(e,n){var r=!1;e.subscribe(xt(n,(function(t){r=!0,n.next(t)}),(function(){return r?n.complete():n.error(t())})))}))}function Ne(){return new pe}function Me(t){return At((function(e,n){try{e.subscribe(n)}finally{n.add(t)}}))}function Le(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?ke((function(e,n){return t(e,n,r)})):St,Pe(1),n?Re(e):Fe((function(){return new pe})))}}function je(t){return t<=0?function(){return qt}:At((function(e,n){var r=[];e.subscribe(xt(n,(function(e){r.push(e),t<r.length&&r.shift()}),(function(){var t,e;try{for(var i=Q(r),o=i.next();!o.done;o=i.next()){var s=o.value;n.next(s)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}n.complete()}),void 0,(function(){r=null})))}))}function ze(t,e){return At(function(t,e,n,r,i){return function(r,o){var s=n,a=e,u=0;r.subscribe(xt(o,(function(e){var n=u++;a=s?t(a,e,n):(s=!0,e),o.next(a)}),i))}}(t,e,arguments.length>=2))}function Be(t,e){return At((function(n,r){var i=null,o=0,s=!1,a=function(){return s&&!i&&r.complete()};n.subscribe(xt(r,(function(n){null==i||i.unsubscribe();var s=0,u=o++;ie(t(n,u)).subscribe(i=xt(r,(function(t){return r.next(e?e(n,t,u,s++):t)}),(function(){i=null,a()})))}),(function(){s=!0,a()})))}))}function Ue(t){return At((function(e,n){ie(t).subscribe(xt(n,(function(){return n.complete()}),pt)),!n.closed&&e.subscribe(n)}))}function He(t,e,n){var r=rt(t)||e||n?{next:t,error:e,complete:n}:t;return r?At((function(t,e){var n;null===(n=r.subscribe)||void 0===n||n.call(r);var i=!0;t.subscribe(xt(e,(function(t){var n;null===(n=r.next)||void 0===n||n.call(r,t),e.next(t)}),(function(){var t;i=!1,null===(t=r.complete)||void 0===t||t.call(r),e.complete()}),(function(t){var n;i=!1,null===(n=r.error)||void 0===n||n.call(r,t),e.error(t)}),(function(){var t,e;i&&(null===(t=r.unsubscribe)||void 0===t||t.call(r)),null===(e=r.finalize)||void 0===e||e.call(r)})))})):St}function Ve(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const $e="jsaction",qe="mouseover",We="mouseout",Ge="mouseenter",Ze="mouseleave",Ye="pointerover",Ke="pointerout",Qe="pointerenter",Je="pointerleave",Xe=[Ge,Ze,"pointerenter","pointerleave"];function tn(t,e){t.eventType=e}function en(t){return{eventType:t.eventType,event:t.event,targetElement:t.targetElement,eic:t.eic,eia:t.eia,timeStamp:t.timeStamp,eirp:t.eirp,eiack:t.eiack,eir:t.eir}}var nn;function rn(t,e,n,r){for(let i=0;i<e.length;i++)t.removeEventListener(e[i],n,r)}!function(t){t[t.I_AM_THE_JSACTION_FRAMEWORK=0]="I_AM_THE_JSACTION_FRAMEWORK"}(nn||(nn={}));class on{constructor(t){Ve(this,"containerManager",void 0),Ve(this,"eventHandlers",{}),Ve(this,"browserEventTypeToExtraEventTypes",{}),Ve(this,"dispatcher",null),Ve(this,"queuedEventInfos",[]),this.containerManager=t}handleEvent(t,e,n){const r=function(t,e,n,r,i,o,s,a){return{eventType:t,event:e,targetElement:n,eic:r,timeStamp:i,eia:o,eirp:s,eiack:a}}(t,e,e.target,n,Date.now());this.handleEventInfo(r)}handleEventInfo(t){var e;if(!this.dispatcher)return function(t,e){t.eirp=e}(t,!0),void(null===(e=this.queuedEventInfos)||void 0===e||e.push(t));this.dispatcher(t)}addEvent(t,e,n){if(t in this.eventHandlers||!this.containerManager)return;if(!on.MOUSE_SPECIAL_SUPPORT&&Xe.indexOf(t)>=0)return;const r=(t,e,n)=>{this.handleEvent(t,e,n)};this.eventHandlers[t]=r;const i=function(t){return t===Ge?qe:t===Ze?We:t===Qe?Ye:t===Je?Ke:t}(e||t);if(i!==t){const e=this.browserEventTypeToExtraEventTypes[i]||[];e.push(t),this.browserEventTypeToExtraEventTypes[i]=e}this.containerManager.addEventListener(i,(e=>n=>{r(t,n,e)}),n)}replayEarlyEvents(t=window._ejsa){t&&(this.replayEarlyEventInfos(t.q),function(t){t&&(rn(t.c,t.et,t.h),rn(t.c,t.etc,t.h,!0))}(t),delete window._ejsa)}replayEarlyEventInfos(t){for(let e=0;e<t.length;e++){const n=t[e],r=this.getEventTypesForBrowserEventType(n.eventType);for(let t=0;t<r.length;t++){const e=en(n);tn(e,r[t]),this.handleEventInfo(e)}}}getEventTypesForBrowserEventType(t){const e=[];return this.eventHandlers[t]&&e.push(t),this.browserEventTypeToExtraEventTypes[t]&&e.push(...this.browserEventTypeToExtraEventTypes[t]),e}handler(t){return this.eventHandlers[t]}cleanUp(){var t;null===(t=this.containerManager)||void 0===t||t.cleanUp(),this.containerManager=null,this.eventHandlers={},this.browserEventTypeToExtraEventTypes={},this.dispatcher=null,this.queuedEventInfos=[]}registerDispatcher(t,e){this.ecrd(t,e)}ecrd(t,e){var n;if(this.dispatcher=t,null!==(n=this.queuedEventInfos)&&void 0!==n&&n.length){for(let t=0;t<this.queuedEventInfos.length;t++)this.handleEventInfo(this.queuedEventInfos[t]);this.queuedEventInfos=null}}}var sn,an,un,ln,cn,dn,hn,fn,pn,vn,gn,mn,yn,bn,wn,_n,Sn,Cn,En,Dn,Tn,An,xn,kn;function In(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function On(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?In(Object(n),!0).forEach((function(e){Rn(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):In(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Rn(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Ve(on,"MOUSE_SPECIAL_SUPPORT",!1);const Pn="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";class Fn extends Error{constructor(t,e){super(Nn(t,e)),Rn(this,"code",void 0),this.code=t}}function Nn(t,e){const n=`NG0${Math.abs(t)}`;let r=`${n}${e?": "+e:""}`;return r}const Mn=Symbol("InputSignalNode#UNSET"),Ln=(()=>On(On({},z),{},{transformFn:void 0,applyValueToInputSignal(t,e){L(t,e)}}))();function jn(t,e){const n=Object.create(Ln);function r(){if(v(n),n.value===Mn){let t=null;throw new Fn(-950,t)}return n.value}return n.value=t,n.transformFn=null==e?void 0:e.transform,r[d]=n,r}function zn(t){return{toString:t}.toString()}const Bn="__annotations__",Un="__parameters__",Hn="__prop__metadata__";function Vn(t,e,n,r,i){return zn((()=>{const r=$n(e);function o(...t){if(this instanceof o)return r.call(this,...t),this;const e=new o(...t);return function(n){i&&i(n,...t);return(n.hasOwnProperty(Bn)?n[Bn]:Object.defineProperty(n,Bn,{value:[]})[Bn]).push(e),n}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o}))}function $n(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}function qn(t,e,n){return zn((()=>{const n=$n(e);function r(...t){if(this instanceof r)return n.apply(this,t),this;const e=new r(...t);return i.annotation=e,i;function i(t,n,r){const i=t.hasOwnProperty(Un)?t[Un]:Object.defineProperty(t,Un,{value:[]})[Un];for(;i.length<=r;)i.push(null);return(i[r]=i[r]||[]).push(e),t}}return r.prototype.ngMetadataName=t,r.annotationCls=r,r}))}function Wn(t,e,n,r){return zn((()=>{const r=$n(e);function i(...t){if(this instanceof i)return r.apply(this,t),this;const e=new i(...t);return function(t,n){if(void 0===t)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const r=t.constructor,i=r.hasOwnProperty(Hn)?r[Hn]:Object.defineProperty(r,Hn,{value:{}})[Hn];i[n]=i.hasOwnProperty(n)&&i[n]||[],i[n].unshift(e)}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i}))}const Gn=globalThis;function Zn(t){for(let e in t)if(t[e]===Zn)return e;throw Error("Could not find renamed property on target object.")}function Yn(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function Kn(t){if("string"==typeof t)return t;if(Array.isArray(t))return`[${t.map(Kn).join(", ")}]`;if(null==t)return""+t;const e=t.overriddenName||t.name;if(e)return`${e}`;const n=t.toString();if(null==n)return""+n;const r=n.indexOf("\n");return r>=0?n.slice(0,r):n}function Qn(t,e){return t?e?`${t} ${e}`:t:e||""}const Jn=Zn({__forward_ref__:Zn});function Xn(t){return t.__forward_ref__=Xn,t.toString=function(){return Kn(this())},t}function tr(t){return er(t)?t():t}function er(t){return"function"==typeof t&&t.hasOwnProperty(Jn)&&t.__forward_ref__===Xn}function nr(t,e,n){t!=e&&rr(n,t,e,"==")}function rr(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t}`+(null==r?"":` [Expected=> ${n} ${r} ${e} <=Actual]`))}function ir(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function or(t){return{providers:t.providers||[],imports:t.imports||[]}}function sr(t){return ar(t,lr)||ar(t,dr)}function ar(t,e){return t.hasOwnProperty(e)?t[e]:null}function ur(t){return t&&(t.hasOwnProperty(cr)||t.hasOwnProperty(hr))?t[cr]:null}const lr=Zn({"ɵprov":Zn}),cr=Zn({"ɵinj":Zn}),dr=Zn({ngInjectableDef:Zn}),hr=Zn({ngInjectorDef:Zn});class fr{constructor(t,e){Rn(this,"_desc",void 0),Rn(this,"ngMetadataName","InjectionToken"),Rn(this,"ɵprov",void 0),this._desc=t,this.ɵprov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.ɵprov=ir({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function pr(t){return t&&!!t.ɵproviders}const vr=Zn({"ɵcmp":Zn}),gr=Zn({"ɵdir":Zn}),mr=Zn({"ɵpipe":Zn}),yr=Zn({"ɵmod":Zn}),br=Zn({"ɵfac":Zn}),wr=Zn({__NG_ELEMENT_ID__:Zn}),_r=Zn({__NG_ENV_ID__:Zn});function Sr(t){return"string"==typeof t?t:null==t?"":String(t)}function Cr(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Sr(t)}function Er(t,e){throw new Fn(-200,t)}function Dr(t,e){throw new Fn(-201,false)}var Tr;let Ar;function xr(){return Ar}function kr(t){const e=Ar;return Ar=t,e}function Ir(t,e,n){const r=sr(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Tr.Optional?null:void 0!==e?e:void Dr()}!function(t){t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional"}(Tr||(Tr={}));const Or={},Rr="__NG_DI_FLAG__";class Pr{constructor(t){Rn(this,"injector",void 0),this.injector=t}retrieve(t,e){const n=e;return this.injector.get(t,n.optional?q:Or,n)}}const Fr="ngTempTokenPath",Nr=/\n/gm,Mr="__source";function Lr(t,e=Tr.Default){if(void 0===V())throw new Fn(-203,!1);if(null===V())return Ir(t,void 0,e);{const n=V();let r;r=n instanceof Pr?n.injector:n;const i=r.get(t,e&Tr.Optional?null:void 0,e);return i}}function jr(t,e=Tr.Default){return(xr()||Lr)(tr(t),e)}function zr(t){throw new Fn(202,!1)}function Br(t,e=Tr.Default){return jr(t,Ur(e))}function Ur(t){return void 0===t||"number"==typeof t?t:(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Hr(t){const e=[];for(let n=0;n<t.length;n++){const r=tr(t[n]);if(Array.isArray(r)){if(0===r.length)throw new Fn(900,!1);let t,n=Tr.Default;for(let e=0;e<r.length;e++){const i=r[e],o=i[Rr];"number"==typeof o?-1===o?t=i.token:n|=o:t=i}e.push(jr(t,n))}else e.push(jr(r))}return e}function Vr(t,e){return t[Rr]=e,t.prototype[Rr]=e,t}function $r(t,e,n,r){const i=t[Fr];throw e[Mr]&&i.unshift(e[Mr]),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"ɵ"==t.charAt(1)?t.slice(2):t;let i=Kn(e);if(Array.isArray(e))i=e.map(Kn).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];t.push(n+":"+("string"==typeof r?JSON.stringify(r):Kn(r)))}i=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${t.replace(Nr,"\n  ")}`}("\n"+t.message,i,n,r),t.ngTokenPath=i,t[Fr]=null,t}const qr=Vr(qn("Inject",(t=>({token:t}))),-1),Wr=Vr(qn("Optional"),8),Gr=Vr(qn("Self"),2),Zr=Vr(qn("SkipSelf"),4),Yr=Vr(qn("Host"),1);function Kr(t,e){const n=t.hasOwnProperty(br);return n?t[br]:null}function Qr(t){return t.flat(Number.POSITIVE_INFINITY)}function Jr(t,e){t.forEach((t=>Array.isArray(t)?Jr(t,e):e(t)))}function Xr(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function ti(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function ei(t,e){const n=[];for(let r=0;r<t;r++)n.push(e);return n}function ni(t,e,n){const r=t.length-n;for(;e<r;)t[e]=t[e+n],e++;for(;n--;)t.pop()}function ri(t,e,n,r){let i=t.length;if(i==e)t.push(n,r);else if(1===i)t.push(r,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;){const e=i-2;t[i]=t[e],i--}t[e]=n,t[e+1]=r}}function ii(t,e,n){let r=si(t,e);return r>=0?t[1|r]=n:(r=~r,ri(t,r,e,n)),r}function oi(t,e){const n=si(t,e);if(n>=0)return t[1|n]}function si(t,e){return function(t,e,n){let r=0,i=t.length>>n;for(;i!==r;){const o=r+(i-r>>1),s=t[o<<n];if(e===s)return o<<n;s>e?i=o:r=o+1}return~(i<<n)}(t,e,1)}const ai={},ui=[];const li=new fr(""),ci=new fr("",-1),di=new fr("");class hi{get(t,e=Or){if(e===Or){const e=new Error(`NullInjectorError: No provider for ${Kn(t)}!`);throw e.name="NullInjectorError",e}return e}}function fi(t,e){const n=t[yr]||null;if(!n&&!0===e)throw new Error(`Type ${Kn(t)} does not have 'ɵmod' property.`);return n}function pi(t){return t[vr]||null}function vi(t){return t[gr]||null}function gi(t){return t[mr]||null}function mi(t){const e=pi(t)||vi(t)||gi(t);return null!==e&&e.standalone}function yi(...t){return{"ɵproviders":bi(!0,t),"ɵfromNgModule":!0}}function bi(t,...e){const n=[],r=new Set;let i;const o=t=>{n.push(t)};return Jr(e,(t=>{const e=t;_i(e,o,[],r)&&(i||(i=[]),i.push(e))})),void 0!==i&&wi(i,o),n}function wi(t,e){for(let n=0;n<t.length;n++){const{ngModule:r,providers:i}=t[n];Si(i,(t=>{e(t,r)}))}}function _i(t,e,n,r){if(!(t=tr(t)))return!1;let i=null,o=ur(t);const s=!o&&pi(t);if(o||s){if(s&&!s.standalone)return!1;i=t}else{const e=t.ngModule;if(o=ur(e),!o)return!1;i=e}const a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){const t="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const i of t)_i(i,e,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let t;r.add(i);try{Jr(o.imports,(i=>{_i(i,e,n,r)&&(t||(t=[]),t.push(i))}))}finally{}void 0!==t&&wi(t,e)}if(!a){const t=Kr(i)||(()=>new i);e({provide:i,useFactory:t,deps:ui},i),e({provide:di,useValue:i,multi:!0},i),e({provide:li,useValue:()=>jr(i),multi:!0},i)}const s=o.providers;if(null!=s&&!a){const n=t;Si(s,(t=>{e(t,n)}))}}}return i!==t&&void 0!==t.providers}function Si(t,e){for(let n of t)pr(n)&&(n=n.ɵproviders),Array.isArray(n)?Si(n,e):e(n)}const Ci=Zn({provide:String,useValue:Zn});function Ei(t){return null!==t&&"object"==typeof t&&Ci in t}function Di(t){return!(!t||!t.useExisting)}function Ti(t){return!(!t||!t.useFactory)}function Ai(t){return"function"==typeof t}const xi=new fr(""),ki={},Ii={};let Oi;function Ri(){return void 0===Oi&&(Oi=new hi),Oi}class Pi{}class Fi extends Pi{get destroyed(){return this._destroyed}constructor(t,e,n,r){super(),Rn(this,"parent",void 0),Rn(this,"source",void 0),Rn(this,"scopes",void 0),Rn(this,"records",new Map),Rn(this,"_ngOnDestroyHooks",new Set),Rn(this,"_onDestroyHooks",[]),Rn(this,"_destroyed",!1),Rn(this,"injectorDefTypes",void 0),this.parent=e,this.source=n,this.scopes=r,zi(t,(t=>this.processProvider(t))),this.records.set(ci,ji(void 0,this)),r.has("environment")&&this.records.set(Pi,ji(void 0,this));const i=this.records.get(xi);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(di,ui,Tr.Self))}retrieve(t,e){const n=e;return this.get(t,n.optional?q:Or,n)}destroy(){Li(this),this._destroyed=!0;const t=h(null);try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const e of t)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),h(t)}}onDestroy(t){return Li(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Li(this);const e=$(this),n=kr(void 0);try{return t()}finally{$(e),kr(n)}}get(t,e=Or,n=Tr.Default){if(Li(this),t.hasOwnProperty(_r))return t[_r](this);n=Ur(n);const r=$(this),i=kr(void 0);try{if(!(n&Tr.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(o=t)||"object"==typeof o&&o instanceof fr)&&sr(t);e=n&&this.injectableDefInScope(n)?ji(Ni(t),ki):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}const r=n&Tr.Self?Ri():this.parent;return e=n&Tr.Optional&&e===Or?null:e,r.get(t,e)}catch(e){if("NullInjectorError"===e.name){if((e[Fr]=e[Fr]||[]).unshift(Kn(t)),r)throw e;return $r(e,t,"R3InjectorError",this.source)}throw e}finally{kr(i),$(r)}var o}resolveInjectorInitializers(){const t=h(null),e=$(this),n=kr(void 0);try{const t=this.get(li,ui,Tr.Self);0;for(const e of t)e()}finally{$(e),kr(n),h(t)}}toString(){const t=[],e=this.records;for(const n of e.keys())t.push(Kn(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){let e=Ai(t=tr(t))?t:tr(t&&t.provide);const n=function(t){if(Ei(t))return ji(void 0,t.useValue);return ji(Mi(t),ki)}(t);if(Ai(t)||!0!==t.multi)0;else{let n=this.records.get(e);n||(n=ji(void 0,ki,!0),n.factory=()=>Hr(n.multi),this.records.set(e,n)),e=t,n.multi.push(t)}this.records.set(e,n)}hydrate(t,e){const n=h(null);try{return e.value===Ii?Er(Kn(t)):e.value===ki&&(e.value=Ii,e.value=e.factory()),"object"==typeof e.value&&e.value&&(null!==(r=e.value)&&"object"==typeof r&&"function"==typeof r.ngOnDestroy)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{h(n)}var r}injectableDefInScope(t){if(!t.providedIn)return!1;const e=tr(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(t){const e=this._onDestroyHooks.indexOf(t);-1!==e&&this._onDestroyHooks.splice(e,1)}}function Ni(t){const e=sr(t),n=null!==e?e.factory:Kr(t);if(null!==n)return n;if(t instanceof fr)throw new Fn(204,!1);if(t instanceof Function)return function(t){const e=t.length;if(e>0)throw new Fn(204,!1);const n=(r=t,r&&(r[lr]||r[dr])||null);var r;return null!==n?()=>n.factory(t):()=>new t}(t);throw new Fn(204,!1)}function Mi(t,e,n){let r;if(Ai(t)){const e=tr(t);return Kr(e)||Ni(e)}if(Ei(t))r=()=>tr(t.useValue);else if(Ti(t))r=()=>t.useFactory(...Hr(t.deps||[]));else if(Di(t))r=()=>jr(tr(t.useExisting));else{const e=tr(t&&(t.useClass||t.provide));if(!t.deps)return Kr(e)||Ni(e);r=()=>new e(...Hr(t.deps))}return r}function Li(t){if(t.destroyed)throw new Fn(205,!1)}function ji(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function zi(t,e){for(const n of t)Array.isArray(n)?zi(n,e):n&&pr(n)?zi(n.ɵproviders,e):e(n)}function Bi(t,e){let n;t instanceof Fi?(Li(t),n=t):n=new Pr(t);const r=$(n),i=kr(void 0);try{return e()}finally{$(r),kr(i)}}function Ui(){return void 0!==xr()||null!=V()}function Hi(t){if(!Ui())throw new Fn(-203,!1)}var Vi,$i,qi,Wi;function Gi(t){const e=Gn.ng;if(e&&e.ɵcompilerFacade)return e.ɵcompilerFacade;throw new Error("JIT compiler unavailable")}!function(t){t[t.Directive=0]="Directive",t[t.Component=1]="Component",t[t.Injectable=2]="Injectable",t[t.Pipe=3]="Pipe",t[t.NgModule=4]="NgModule"}(Vi||(Vi={})),function(t){t[t.Directive=0]="Directive",t[t.Pipe=1]="Pipe",t[t.NgModule=2]="NgModule"}($i||($i={})),(Wi=qi||(qi={}))[Wi.Emulated=0]="Emulated",Wi[Wi.None=2]="None",Wi[Wi.ShadowDom=3]="ShadowDom";const Zi={"ɵɵdefineInjectable":ir,"ɵɵdefineInjector":or,"ɵɵinject":jr,"ɵɵinvalidFactoryDep":zr,resolveForwardRef:tr},Yi=Function;function Ki(t){return"function"==typeof t}const Qi=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,Ji=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Xi=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,to=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class eo{constructor(t){Rn(this,"_reflect",void 0),this._reflect=t||Gn.Reflect}factory(t){return(...e)=>new t(...e)}_zipTypesAndAnnotations(t,e){let n;n=ei(void 0===t?e.length:t.length);for(let r=0;r<n.length;r++)void 0===t?n[r]=[]:t[r]&&t[r]!=Object?n[r]=[t[r]]:n[r]=[],e&&null!=e[r]&&(n[r]=n[r].concat(e[r]));return n}_ownParameters(t,e){if(function(t){return Qi.test(t)||to.test(t)||Ji.test(t)&&!Xi.test(t)}(t.toString()))return null;if(t.parameters&&t.parameters!==e.parameters)return t.parameters;const n=t.ctorParameters;if(n&&n!==e.ctorParameters){const t="function"==typeof n?n():n,e=t.map((t=>t&&t.type)),r=t.map((t=>t&&no(t.decorators)));return this._zipTypesAndAnnotations(e,r)}const r=t.hasOwnProperty(Un)&&t[Un],i=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return i||r?this._zipTypesAndAnnotations(i,r):ei(t.length)}parameters(t){if(!Ki(t))return[];const e=ro(t);let n=this._ownParameters(t,e);return n||e===Object||(n=this.parameters(e)),n||[]}_ownAnnotations(t,e){if(t.annotations&&t.annotations!==e.annotations){let e=t.annotations;return"function"==typeof e&&e.annotations&&(e=e.annotations),e}return t.decorators&&t.decorators!==e.decorators?no(t.decorators):t.hasOwnProperty(Bn)?t[Bn]:null}annotations(t){if(!Ki(t))return[];const e=ro(t),n=this._ownAnnotations(t,e)||[];return(e!==Object?this.annotations(e):[]).concat(n)}_ownPropMetadata(t,e){if(t.propMetadata&&t.propMetadata!==e.propMetadata){let e=t.propMetadata;return"function"==typeof e&&e.propMetadata&&(e=e.propMetadata),e}if(t.propDecorators&&t.propDecorators!==e.propDecorators){const e=t.propDecorators,n={};return Object.keys(e).forEach((t=>{n[t]=no(e[t])})),n}return t.hasOwnProperty(Hn)?t[Hn]:null}propMetadata(t){if(!Ki(t))return{};const e=ro(t),n={};if(e!==Object){const t=this.propMetadata(e);Object.keys(t).forEach((e=>{n[e]=t[e]}))}const r=this._ownPropMetadata(t,e);return r&&Object.keys(r).forEach((t=>{const e=[];n.hasOwnProperty(t)&&e.push(...n[t]),e.push(...r[t]),n[t]=e})),n}ownPropMetadata(t){return Ki(t)&&this._ownPropMetadata(t,ro(t))||{}}hasLifecycleHook(t,e){return t instanceof Yi&&e in t.prototype}}function no(t){return t?t.map((t=>new(0,t.type.annotationCls)(...t.args?t.args:[]))):[]}function ro(t){const e=t.prototype?Object.getPrototypeOf(t.prototype):null;return(e?e.constructor:null)||Object}const io=19,oo=26,so=10;function ao(t){return Array.isArray(t)&&"object"==typeof t[1]}function uo(t){return Array.isArray(t)&&!0===t[1]}function lo(t){return!!(4&t.flags)}function co(t){return t.componentOffset>-1}function ho(t){return!(1&~t.flags)}function fo(t){return!!t.template}function po(t){return!!(512&t[2])}function vo(t){return!(256&~t[2])}class go{constructor(t,e,n){Rn(this,"previousValue",void 0),Rn(this,"currentValue",void 0),Rn(this,"firstChange",void 0),this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function mo(t,e,n,r){null!==e?e.applyValueToInputSignal(e,r):t[n]=r}const yo=(()=>{const t=()=>bo;return t.ngInherit=!0,t})();function bo(t){return t.type.prototype.ngOnChanges&&(t.setInput=_o),wo}function wo(){const t=Co(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===ai)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function _o(t,e,n,r,i){const o=this.declaredInputs[r],s=Co(t)||function(t,e){return t[So]=e}(t,{previous:ai,current:null}),a=s.current||(s.current={}),u=s.previous,l=u[o];a[o]=new go(l&&l.currentValue,n,u===ai),mo(t,e,i,n)}const So="__ngSimpleChanges__";function Co(t){return t[So]||null}let Eo=null;const Do=function(t,e=null,n){null!=Eo&&Eo(t,e,n)},To="math";function Ao(t){for(;Array.isArray(t);)t=t[0];return t}function xo(t,e){return Ao(e[t])}function ko(t,e){return Ao(e[t.index])}function Io(t,e){const n=t.data[e];return n}function Oo(t,e){return t[e]}function Ro(t,e){const n=e[t];return ao(n)?n:n[0]}function Po(t){return!(4&~t[2])}function Fo(t){return!(128&~t[2])}function No(t,e){return null==e?null:t[e]}function Mo(t){t[17]=0}function Lo(t){1024&t[2]||(t[2]|=1024,Fo(t)&&Uo(t))}function jo(t,e){for(;t>0;)e=e[14],t--;return e}function zo(t){var e;return!!(9216&t[2]||null!==(e=t[24])&&void 0!==e&&e.dirty)}function Bo(t){var e;null===(e=t[10].changeDetectionScheduler)||void 0===e||e.notify(8),64&t[2]&&(t[2]|=1024),zo(t)&&Uo(t)}function Uo(t){var e;null===(e=t[10].changeDetectionScheduler)||void 0===e||e.notify(0);let n=$o(t);for(;null!==n&&!(8192&n[2])&&(n[2]|=8192,Fo(n));)n=$o(n)}function Ho(t,e){if(vo(t))throw new Fn(911,!1);null===t[21]&&(t[21]=[]),t[21].push(e)}function Vo(t,e){if(null===t[21])return;const n=t[21].indexOf(e);-1!==n&&t[21].splice(n,1)}function $o(t){const e=t[3];return uo(e)?e[3]:e}function qo(t){var e;return null!==(e=t[7])&&void 0!==e?e:t[7]=[]}function Wo(t){var e;return null!==(e=t.cleanup)&&void 0!==e?e:t.cleanup=[]}const Go={lFrame:xs(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Zo;!function(t){t[t.Off=0]="Off",t[t.Exhaustive=1]="Exhaustive",t[t.OnlyDirtyViews=2]="OnlyDirtyViews"}(Zo||(Zo={}));let Yo=!1;function Ko(){return Go.bindingsEnabled}function Qo(){return null!==Go.skipHydrationRootTNode}function Jo(){Go.bindingsEnabled=!0}function Xo(){Go.bindingsEnabled=!1}function ts(){return Go.lFrame.lView}function es(){return Go.lFrame.tView}function ns(t){return Go.lFrame.contextLView=t,t[8]}function rs(t){return Go.lFrame.contextLView=null,t}function is(){let t=os();for(;null!==t&&64===t.type;)t=t.parent;return t}function os(){return Go.lFrame.currentTNode}function ss(){const t=Go.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function as(t,e){const n=Go.lFrame;n.currentTNode=t,n.isParent=e}function us(){return Go.lFrame.isParent}function ls(){Go.lFrame.isParent=!1}function cs(){const t=Go.lFrame.contextLView;return t}function ds(){return Yo}function hs(t){const e=Yo;return Yo=t,e}function fs(){const t=Go.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function ps(){return Go.lFrame.bindingIndex}function vs(t){return Go.lFrame.bindingIndex=t}function gs(){return Go.lFrame.bindingIndex++}function ms(t){const e=Go.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function ys(t){Go.lFrame.inI18n=t}function bs(t,e){const n=Go.lFrame;n.bindingIndex=n.bindingRootIndex=t,ws(e)}function ws(t){Go.lFrame.currentDirectiveIndex=t}function _s(t){const e=Go.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function Ss(){return Go.lFrame.currentQueryIndex}function Cs(t){Go.lFrame.currentQueryIndex=t}function Es(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[5]:null}function Ds(t,e,n){if(n&Tr.SkipSelf){let r=e,i=t;for(;!(r=r.parent,null!==r||n&Tr.Host||(r=Es(i),null===r)||(i=i[14],10&r.type)););if(null===r)return!1;e=r,t=i}const r=Go.lFrame=As();return r.currentTNode=e,r.lView=t,!0}function Ts(t){const e=As();const n=t[1];Go.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function As(){const t=Go.lFrame,e=null===t?null:t.child;return null===e?xs(t):e}function xs(t){const e={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:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function ks(){const t=Go.lFrame;return Go.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Is=ks;function Os(){const t=ks();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Rs(){return Go.lFrame.selectedIndex}function Ps(t){Go.lFrame.selectedIndex=t}function Fs(){const t=Go.lFrame;return Io(t.tView,t.selectedIndex)}function Ns(){Go.lFrame.currentNamespace="svg"}function Ms(){Go.lFrame.currentNamespace=To}function Ls(){Go.lFrame.currentNamespace=null}let js=!0;function zs(){return js}function Bs(t){js=t}function Us(t,e){for(let l=e.directiveStart,c=e.directiveEnd;l<c;l++){const e=t.data[l],c=e.type.prototype,{ngAfterContentInit:d,ngAfterContentChecked:h,ngAfterViewInit:f,ngAfterViewChecked:p,ngOnDestroy:v}=c;var n,r,i,o,s,a,u;if(d)(null!==(n=t.contentHooks)&&void 0!==n?n:t.contentHooks=[]).push(-l,d);if(h)(null!==(r=t.contentHooks)&&void 0!==r?r:t.contentHooks=[]).push(l,h),(null!==(i=t.contentCheckHooks)&&void 0!==i?i:t.contentCheckHooks=[]).push(l,h);if(f)(null!==(o=t.viewHooks)&&void 0!==o?o:t.viewHooks=[]).push(-l,f);if(p)(null!==(s=t.viewHooks)&&void 0!==s?s:t.viewHooks=[]).push(l,p),(null!==(a=t.viewCheckHooks)&&void 0!==a?a:t.viewCheckHooks=[]).push(l,p);if(null!=v)(null!==(u=t.destroyHooks)&&void 0!==u?u:t.destroyHooks=[]).push(l,v)}}function Hs(t,e,n){qs(t,e,3,n)}function Vs(t,e,n,r){(3&t[2])===n&&qs(t,e,n,r)}function $s(t,e){let n=t[2];(3&n)===e&&(n&=16383,n+=1,t[2]=n)}function qs(t,e,n,r){const i=void 0!==r?65535&t[17]:0,o=null!=r?r:-1,s=e.length-1;let a=0;for(let u=i;u<s;u++){if("number"==typeof e[u+1]){if(a=e[u],null!=r&&a>=r)break}else{e[u]<0&&(t[17]+=65536),(a<o||-1==o)&&(Gs(t,n,e,u),t[17]=(4294901760&t[17])+u+2),u++}}}function Ws(t,e){Do(4,t,e);const n=h(null);try{e.call(t)}finally{h(n),Do(5,t,e)}}function Gs(t,e,n,r){const i=n[r]<0,o=n[r+1],s=t[i?-n[r]:n[r]];if(i){t[2]>>14<t[17]>>16&&(3&t[2])===e&&(t[2]+=16384,Ws(s,o))}else Ws(s,o)}const Zs=-1;class Ys{constructor(t,e,n){Rn(this,"factory",void 0),Rn(this,"injectImpl",void 0),Rn(this,"resolving",!1),Rn(this,"canSeeViewProviders",void 0),Rn(this,"multi",void 0),Rn(this,"componentProviders",void 0),Rn(this,"index",void 0),Rn(this,"providerFactory",void 0),this.factory=t,this.canSeeViewProviders=e,this.injectImpl=n}}function Ks(t){return null!=t&&"object"==typeof t&&(null===t.insertBeforeIndex||"number"==typeof t.insertBeforeIndex||Array.isArray(t.insertBeforeIndex))}function Qs(t){return 3===t||4===t||6===t}function Js(t){return 64===t.charCodeAt(0)}function Xs(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){const i=e[r];"number"==typeof i?n=i:0===n||ta(t,n,i,null,-1===n||2===n?e[++r]:null)}}return t}function ta(t,e,n,r,i){let o=0,s=t.length;if(-1===e)s=-1;else for(;o<t.length;){const n=t[o++];if("number"==typeof n){if(n===e){s=-1;break}if(n>e){s=o-1;break}}}for(;o<t.length;){const e=t[o];if("number"==typeof e)break;if(e===n)return void(null!==i&&(t[o+1]=i));o++,null!==i&&o++}-1!==s&&(t.splice(s,0,e),o=s+1),t.splice(o++,0,n),null!==i&&t.splice(o++,0,i)}const ea={};class na{constructor(t,e){Rn(this,"injector",void 0),Rn(this,"parentInjector",void 0),this.injector=t,this.parentInjector=e}get(t,e,n){n=Ur(n);const r=this.injector.get(t,ea,n);return r!==ea||e===ea?r:this.parentInjector.get(t,e,n)}}function ra(t){return t!==Zs}function ia(t){return 32767&t}function oa(t,e){let n=t>>16;let r=e;for(;n>0;)r=r[14],n--;return r}let sa=!0;function aa(t){const e=sa;return sa=t,e}let ua=0;const la={};function ca(t,e){const n=ha(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,da(r.data,t),da(e,null),da(r.blueprint,null));const i=fa(t,e),o=t.injectorIndex;if(ra(i)){const t=ia(i),n=oa(i,e),r=n[1].data;for(let i=0;i<8;i++)e[o+i]=n[t+i]|r[t+i]}return e[o+8]=i,o}function da(t,e){t.push(0,0,0,0,0,0,0,0,e)}function ha(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function fa(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,r=null,i=e;for(;null!==i;){if(r=xa(i),null===r)return Zs;if(n++,i=i[14],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Zs}function pa(t,e,n){!function(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(wr)&&(r=n[wr]),null==r&&(r=n[wr]=ua++);const i=255&r,o=1<<i;e.data[t+(i>>5)]|=o}(t,e,n)}function va(t,e,n){if(n&Tr.Optional||void 0!==t)return t;Dr()}function ga(t,e,n,r){if(n&Tr.Optional&&void 0===r&&(r=null),!(n&(Tr.Self|Tr.Host))){const i=t[9],o=kr(void 0);try{return i?i.get(e,r,n&Tr.Optional):Ir(e,r,n&Tr.Optional)}finally{kr(o)}}return va(r,0,n)}function ma(t,e,n,r=Tr.Default,i){if(null!==t){if(2048&e[2]&&!(r&Tr.Self)){const i=function(t,e,n,r,i){let o=t,s=e;for(;null!==o&&null!==s&&2048&s[2]&&!po(s);){const t=ya(o,s,n,r|Tr.Self,la);if(t!==la)return t;let e=o.parent;if(!e){const t=s[20];if(t){const e=t.get(n,la,r);if(e!==la)return e}e=xa(s),s=s[14]}o=e}return i}(t,e,n,r,la);if(i!==la)return i}const i=ya(t,e,n,r,la);if(i!==la)return i}return ga(e,n,r,i)}function ya(t,e,n,r,i){const o=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(wr)?t[wr]:void 0;return"number"==typeof e?e>=0?255&e:Da:e}(n);if("function"==typeof o){if(!Ds(e,t,r))return r&Tr.Host?va(i,0,r):ga(e,n,r,i);try{let t;if(t=o(r),null!=t||r&Tr.Optional)return t;Dr()}finally{Is()}}else if("number"==typeof o){let i=null,s=ha(t,e),a=Zs,u=r&Tr.Host?e[15][5]:null;for((-1===s||r&Tr.SkipSelf)&&(a=-1===s?fa(t,e):e[s+8],a!==Zs&&Ca(r,!1)?(i=e[1],s=ia(a),e=oa(a,e)):s=-1);-1!==s;){const t=e[1];if(Sa(o,s,t.data)){const t=ba(s,e,n,i,r,u);if(t!==la)return t}a=e[s+8],a!==Zs&&Ca(r,e[1].data[s+8]===u)&&Sa(o,s,e)?(i=t,s=ia(a),e=oa(a,e)):s=-1}}return i}function ba(t,e,n,r,i,o){const s=e[1],a=s.data[t+8],u=wa(a,s,n,null==r?co(a)&&sa:r!=s&&!!(3&a.type),i&Tr.Host&&o===a);return null!==u?_a(e,s,u,a):la}function wa(t,e,n,r,i){const o=t.providerIndexes,s=e.data,a=1048575&o,u=t.directiveStart,l=t.directiveEnd,c=o>>20,d=i?a+c:l;for(let t=r?a:a+c;t<d;t++){const e=s[t];if(t<u&&n===e||t>=u&&e.type===n)return t}if(i){const t=s[u];if(t&&fo(t)&&t.type===n)return u}return null}function _a(t,e,n,r){let i=t[n];const o=e.data;if(i instanceof Ys){const s=i;s.resolving&&Er(Cr(o[n]));const a=aa(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?kr(s.injectImpl):null;Ds(t,r,Tr.Default);try{i=t[n]=s.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(r){var s,a;const r=bo(e);(null!==(s=n.preOrderHooks)&&void 0!==s?s:n.preOrderHooks=[]).push(t,r),(null!==(a=n.preOrderCheckHooks)&&void 0!==a?a:n.preOrderCheckHooks=[]).push(t,r)}var u,l,c;i&&(null!==(u=n.preOrderHooks)&&void 0!==u?u:n.preOrderHooks=[]).push(0-t,i),o&&((null!==(l=n.preOrderHooks)&&void 0!==l?l:n.preOrderHooks=[]).push(t,o),(null!==(c=n.preOrderCheckHooks)&&void 0!==c?c:n.preOrderCheckHooks=[]).push(t,o))}(n,o[n],e)}finally{null!==u&&kr(u),aa(a),s.resolving=!1,Is()}}return i}function Sa(t,e,n){const r=1<<t;return!!(n[e+(t>>5)]&r)}function Ca(t,e){return!(t&Tr.Self||t&Tr.Host&&e)}class Ea{constructor(t,e){Rn(this,"_tNode",void 0),Rn(this,"_lView",void 0),this._tNode=t,this._lView=e}get(t,e,n){return ma(this._tNode,this._lView,t,Ur(n),e)}}function Da(){return new Ea(is(),ts())}function Ta(t){return zn((()=>{const e=t.prototype.constructor,n=e[br]||Aa(e),r=Object.prototype;let i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){const t=i[br]||Aa(i);if(t&&t!==n)return t;i=Object.getPrototypeOf(i)}return t=>new t}))}function Aa(t){return er(t)?()=>{const e=Aa(tr(t));return e&&e()}:Kr(t)}function xa(t){const e=t[1],n=e.type;return 2===n?e.declTNode:1===n?t[5]:null}function ka(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let r=0;for(;r<t;){const i=n[r];if(Qs(i))break;if(0===i)r+=2;else if("number"==typeof i)for(r++;r<t&&"string"==typeof n[r];)r++;else{if(i===e)return n[r+1];r+=2}}}return null}(is(),t)}const Ia=qn("Attribute",(t=>({attributeName:t,__NG_ELEMENT_ID__:()=>ka(t)})));let Oa=null;function Ra(){return Oa=Oa||new eo}function Pa(t){return Fa(Ra().parameters(t))}function Fa(t){return t.map((t=>function(t){const e={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(t)&&t.length>0)for(let n=0;n<t.length;n++){const r=t[n];if(void 0===r)continue;const i=Object.getPrototypeOf(r);if(r instanceof Wr||"Optional"===i.ngMetadataName)e.optional=!0;else if(r instanceof Zr||"SkipSelf"===i.ngMetadataName)e.skipSelf=!0;else if(r instanceof Gr||"Self"===i.ngMetadataName)e.self=!0;else if(r instanceof Yr||"Host"===i.ngMetadataName)e.host=!0;else if(r instanceof qr)e.token=r.token;else if(r instanceof Ia){if(void 0===r.attributeName)throw new Fn(204,!1);e.attribute=r.attributeName}else e.token=r}else void 0===t||Array.isArray(t)&&0===t.length?e.token=null:e.token=t;return e}(t)))}function Na(t,e){let n=null,r=null;t.hasOwnProperty(lr)||Object.defineProperty(t,lr,{get:()=>{if(null===n){const r=Gi();n=r.compileInjectable(Zi,`ng:///${t.name}/ɵprov.js`,function(t,e){const n=e||{providedIn:null},r={name:t.name,type:t,typeArgumentCount:0,providedIn:n.providedIn};(La(n)||ja(n))&&void 0!==n.deps&&(r.deps=Fa(n.deps));La(n)?r.useClass=n.useClass:!function(t){return Ma in t}(n)?ja(n)?r.useFactory=n.useFactory:function(t){return void 0!==t.useExisting}(n)&&(r.useExisting=n.useExisting):r.useValue=n.useValue;return r}(t,e))}return n}}),t.hasOwnProperty(br)||Object.defineProperty(t,br,{get:()=>{if(null===r){const e=Gi();r=e.compileFactory(Zi,`ng:///${t.name}/ɵfac.js`,{name:t.name,type:t,typeArgumentCount:0,deps:Pa(t),target:e.FactoryTarget.Injectable})}return r},configurable:!0})}const Ma=Zn({provide:String,useValue:Zn});function La(t){return void 0!==t.useClass}function ja(t){return void 0!==t.useFactory}const za=Vn("Injectable",void 0,void 0,0,((t,e)=>Na(t,e)));function Ba(t,e=null,n=null,r){const i=Ua(t,e,n,r);return i.resolveInjectorInitializers(),i}function Ua(t,e=null,n=null,r,i=new Set){const o=[n||ui,yi(t)];return r=r||("object"==typeof t?void 0:Kn(t)),new Fi(o,e||Ri(),r||null,i)}class Ha{static create(t,e){if(Array.isArray(t))return Ba({name:""},e,t,"");{var n;const e=null!==(n=t.name)&&void 0!==n?n:"";return Ba({name:e},t.parent,t.providers,e)}}}sn=Ha,Rn(Ha,"THROW_IF_NOT_FOUND",Or),Rn(Ha,"NULL",new hi),Rn(Ha,"ɵprov",ir({token:sn,providedIn:"any",factory:()=>jr(ci)})),Rn(Ha,"__NG_ELEMENT_ID__",-1);new fr("").__NG_ELEMENT_ID__=t=>{const e=is();if(null===e)throw new Fn(204,!1);if(2&e.type)return e.value;if(t&Tr.Optional)return null;throw new Fn(204,!1)};const Va=!1;class $a{}Rn($a,"__NG_ELEMENT_ID__",(function(){return new qa(ts())})),Rn($a,"__NG_ENV_ID__",(t=>t));class qa extends $a{constructor(t){super(),Rn(this,"_lView",void 0),this._lView=t}onDestroy(t){return Ho(this._lView,t),()=>Vo(this._lView,t)}}class Wa{}const Ga=new fr("",{providedIn:"root",factory:()=>!1}),Za=(new fr("",{providedIn:"root",factory:()=>!1}),new fr("")),Ya=new fr("");class Ka{constructor(){Rn(this,"taskId",0),Rn(this,"pendingTasks",new Set),Rn(this,"hasPendingTasks",new Nt(!1))}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}}Rn(Ka,"ɵprov",ir({token:an=Ka,providedIn:"root",factory:()=>new an}));class Qa{constructor(){Rn(this,"internalPendingTasks",Br(Ka)),Rn(this,"scheduler",Br(Wa))}add(){const t=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(t)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(t))}}async run(t){const e=this.add();try{return await t()}finally{e()}}}Rn(Qa,"ɵprov",ir({token:un=Qa,providedIn:"root",factory:()=>new un}));const Ja=class extends Pt{constructor(t=!1){var e,n;(super(),Rn(this,"__isAsync",void 0),Rn(this,"destroyRef",void 0),Rn(this,"pendingTasks",void 0),this.__isAsync=t,Ui())&&(this.destroyRef=null!==(e=Br($a,{optional:!0}))&&void 0!==e?e:void 0,this.pendingTasks=null!==(n=Br(Ka,{optional:!0}))&&void 0!==n?n:void 0)}emit(t){const e=h(null);try{super.next(t)}finally{h(e)}}subscribe(t,e,n){let r=t,i=e||(()=>null),o=n;if(t&&"object"==typeof t){var s,a,u;const e=t;r=null===(s=e.next)||void 0===s?void 0:s.bind(e),i=null===(a=e.error)||void 0===a?void 0:a.bind(e),o=null===(u=e.complete)||void 0===u?void 0:u.bind(e)}this.__isAsync&&(i=this.wrapInTimeout(i),r&&(r=this.wrapInTimeout(r)),o&&(o=this.wrapInTimeout(o)));const l=super.subscribe({next:r,error:i,complete:o});return t instanceof at&&t.add(l),l}wrapInTimeout(t){return e=>{var n;const r=null===(n=this.pendingTasks)||void 0===n?void 0:n.add();setTimeout((()=>{var n;(t(e),void 0!==r)&&(null===(n=this.pendingTasks)||void 0===n||n.remove(r))}))}}};function Xa(...t){}function tu(t){let e,n;function r(){t=Xa;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==e&&clearTimeout(e)}catch(t){}}return e=setTimeout((()=>{t(),r()})),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame((()=>{t(),r()}))),()=>r()}function eu(t){return queueMicrotask((()=>t())),()=>{t=Xa}}const nu="isAngularZone",ru=nu+"_ID";let iu=0;class ou{constructor(t){Rn(this,"hasPendingMacrotasks",!1),Rn(this,"hasPendingMicrotasks",!1),Rn(this,"isStable",!0),Rn(this,"onUnstable",new Ja(!1)),Rn(this,"onMicrotaskEmpty",new Ja(!1)),Rn(this,"onStable",new Ja(!1)),Rn(this,"onError",new Ja(!1));const{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:i=Va}=t;if("undefined"==typeof Zone)throw new Fn(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,o.scheduleInRootZone=i,function(t){const e=()=>{!function(t){if(t.isCheckStableRunning||t.callbackScheduled)return;function e(){tu((()=>{t.callbackScheduled=!1,uu(t),t.isCheckStableRunning=!0,au(t),t.isCheckStableRunning=!1}))}t.callbackScheduled=!0,t.scheduleInRootZone?Zone.root.run((()=>{e()})):t._outer.run((()=>{e()}));uu(t)}(t)},n=iu++;t._inner=t._inner.fork({name:"angular",properties:{[nu]:!0,[ru]:n,[ru+n]:!0},onInvokeTask:(n,r,i,o,s,a)=>{if(function(t){return hu(t,"__ignore_ng_zone__")}(a))return n.invokeTask(i,o,s,a);try{return lu(t),n.invokeTask(i,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&e(),cu(t)}},onInvoke:(n,r,i,o,s,a,u)=>{try{return lu(t),n.invoke(i,o,s,a,u)}finally{!t.shouldCoalesceRunChangeDetection||t.callbackScheduled||function(t){return hu(t,"__scheduler_tick__")}(a)||e(),cu(t)}},onHasTask:(e,n,r,i)=>{e.hasTask(r,i),n===r&&("microTask"==i.change?(t._hasPendingMicrotasks=i.microTask,uu(t),au(t)):"macroTask"==i.change&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(e,n,r,i)=>(e.handleError(r,i),t.runOutsideAngular((()=>t.onError.emit(i))),!1)})}(o)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get(nu)}static assertInAngularZone(){if(!ou.isInAngularZone())throw new Fn(909,!1)}static assertNotInAngularZone(){if(ou.isInAngularZone())throw new Fn(909,!1)}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,r){const i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,t,su,Xa,Xa);try{return i.runTask(o,e,n)}finally{i.cancelTask(o)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const su={};function au(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular((()=>t.onStable.emit(null)))}finally{t.isStable=!0}}}function uu(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&!0===t.callbackScheduled?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function lu(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function cu(t){t._nesting--,au(t)}class du{constructor(){Rn(this,"hasPendingMicrotasks",!1),Rn(this,"hasPendingMacrotasks",!1),Rn(this,"isStable",!0),Rn(this,"onUnstable",new Ja),Rn(this,"onMicrotaskEmpty",new Ja),Rn(this,"onStable",new Ja),Rn(this,"onError",new Ja)}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}}function hu(t,e){var n;return!!Array.isArray(t)&&(1===t.length&&!0===(null===(n=t[0])||void 0===n||null===(n=n.data)||void 0===n?void 0:n[e]))}class fu{constructor(){Rn(this,"_console",console)}handleError(t){this._console.error("ERROR",t)}}const pu=new fr("",{providedIn:"root",factory:()=>{const t=Br(ou),e=Br(fu);return n=>t.runOutsideAngular((()=>e.handleError(n)))}});function vu(t,e){return jn(t,e)}function gu(t){return jn(Mn,t)}const mu=(vu.required=gu,vu);function yu(t,e){return new bu(ko(t,e))}class bu{constructor(t){Rn(this,"nativeElement",void 0),this.nativeElement=t}}function wu(t){return t instanceof bu?t.nativeElement:t}function _u(t){return"function"==typeof t&&void 0!==t[d]}function Su(t,e){const n=function(t){const e=Object.create(z);e.value=t;const n=()=>(v(e),e.value);return n[d]=e,n}(t),r=n[d];return n.set=t=>L(r,t),n.update=t=>j(r,t),n.asReadonly=Cu.bind(n),n}function Cu(){const t=this[d];if(void 0===t.readonlyFn){const e=()=>this();e[d]=t,t.readonlyFn=e}return t.readonlyFn}function Eu(t){return _u(t)&&"function"==typeof t.set}function Du(){return this._results[Symbol.iterator]()}Rn(bu,"__NG_ELEMENT_ID__",(function(){return yu(is(),ts())}));class Tu{get changes(){var t;return null!==(t=this._changes)&&void 0!==t?t:this._changes=new Pt}constructor(t=!1){Rn(this,"_emitDistinctChangesOnly",void 0),Rn(this,"dirty",!0),Rn(this,"_onDirty",void 0),Rn(this,"_results",[]),Rn(this,"_changesDetected",!1),Rn(this,"_changes",void 0),Rn(this,"length",0),Rn(this,"first",void 0),Rn(this,"last",void 0),Rn(this,Symbol.iterator,Du),this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){this.dirty=!1;const n=Qr(t);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++){let i=t[r],o=e[r];if(n&&(i=n(i),o=n(o)),o!==i)return!1}return!0}(this._results,n,e))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){void 0===this._changes||!this._changesDetected&&this._emitDistinctChangesOnly||this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){var t;this.dirty=!0,null===(t=this._onDirty)||void 0===t||t.call(this)}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function Au(t){return!(128&~t.flags)}var xu;t.ChangeDetectionStrategy=void 0,(xu=t.ChangeDetectionStrategy||(t.ChangeDetectionStrategy={}))[xu.OnPush=0]="OnPush",xu[xu.Default=1]="Default";const ku=new Map;let Iu=0;function Ou(t){ku.delete(t[io])}const Ru="__ngContext__";function Pu(t,e){var n;ao(e)?(t[Ru]=e[io],n=e,ku.set(n[io],n)):t[Ru]=e}function Fu(t){return Mu(t[12])}function Nu(t){return Mu(t[4])}function Mu(t){for(;null!==t&&!uo(t);)t=t[4];return t}let Lu;function ju(){if(void 0!==Lu)return Lu;if("undefined"!=typeof document)return document;throw new Fn(210,!1)}const zu=new fr("",{providedIn:"root",factory:()=>Bu}),Bu="ng",Uu=new fr(""),Hu=new fr("",{providedIn:"platform",factory:()=>"unknown"});new fr(""),new fr("");const Vu=new fr("",{providedIn:"root",factory:()=>{var t;return(null===(t=ju().body)||void 0===t||null===(t=t.querySelector("[ngCspNonce]"))||void 0===t?void 0:t.getAttribute("ngCspNonce"))||null}}),$u={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},qu=new fr("",{providedIn:"root",factory:()=>$u});class Wu{constructor(){Rn(this,"store",{}),Rn(this,"onSerializeCallbacks",{})}get(t,e){return void 0!==this.store[t]?this.store[t]:e}set(t,e){this.store[t]=e}remove(t){delete this.store[t]}hasKey(t){return this.store.hasOwnProperty(t)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(t,e){this.onSerializeCallbacks[t]=e}toJson(){for(const t in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(t))try{this.store[t]=this.onSerializeCallbacks[t]()}catch(t){console.warn("Exception in onSerialize callback: ",t)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}Rn(Wu,"ɵprov",ir({token:Wu,providedIn:"root",factory:function(){const t=new Wu;return"undefined"!=typeof ngServerMode&&ngServerMode||(t.store=function(t,e){const n=t.getElementById(e+"-state");if(null!=n&&n.textContent)try{return JSON.parse(n.textContent)}catch(t){console.warn("Exception while restoring TransferState for app "+e,t)}return{}}(ju(),Br(zu))),t}}));new fr("");const Gu=!1,Zu=new fr("",{providedIn:"root",factory:()=>Gu});new fr(""),new fr("");const Yu=new fr(""),Ku=new fr("",{providedIn:"root",factory:()=>new Map});var Qu;!function(t){t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER"}(Qu||(Qu={}));const Ju=new fr(""),Xu=new Set;function tl(t){var e,n;Xu.has(t)||(Xu.add(t),null===(e=performance)||void 0===e||null===(n=e.mark)||void 0===n||n.call(e,"mark_feature_usage",{detail:{feature:t}}))}class el{constructor(t,e){Rn(this,"view",void 0),Rn(this,"node",void 0),this.view=t,this.node=e}}var nl;Rn(el,"__NG_ELEMENT_ID__",(function(){return new el(ts(),is())})),function(t){t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read"}(nl||(nl={}));class rl{constructor(){Rn(this,"impl",null)}execute(){var t;null===(t=this.impl)||void 0===t||t.execute()}}Rn(rl,"ɵprov",ir({token:ln=rl,providedIn:"root",factory:()=>new ln}));const il=(()=>[nl.EarlyRead,nl.Write,nl.MixedReadWrite,nl.Read])();class ol{constructor(){Rn(this,"ngZone",Br(ou)),Rn(this,"scheduler",Br(Wa)),Rn(this,"errorHandler",Br(fu,{optional:!0})),Rn(this,"sequences",new Set),Rn(this,"deferredRegistrations",new Set),Rn(this,"executing",!1),Br(Ju,{optional:!0})}execute(){const t=this.sequences.size>0;t&&Do(16),this.executing=!0;for(const t of il)for(const n of this.sequences)if(!n.erroredOrDestroyed&&n.hooks[t])try{n.pipelinedValue=this.ngZone.runOutsideAngular((()=>this.maybeTrace((()=>(0,n.hooks[t])(n.pipelinedValue)),n.snapshot)))}catch(t){var e;n.erroredOrDestroyed=!0,null===(e=this.errorHandler)||void 0===e||e.handleError(t)}this.executing=!1;for(const t of this.sequences)t.afterRun(),t.once&&(this.sequences.delete(t),t.destroy());for(const t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),t&&Do(17)}register(t){const{view:e}=t;var n;void 0!==e?((null!==(n=e[25])&&void 0!==n?n:e[25]=[]).push(t),Uo(e),e[2]|=8192):this.executing?this.deferredRegistrations.add(t):this.addSequence(t)}addSequence(t){this.sequences.add(t),this.scheduler.notify(7)}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}maybeTrace(t,e){return e?e.run(Qu.AFTER_NEXT_RENDER,t):t()}}Rn(ol,"ɵprov",ir({token:cn=ol,providedIn:"root",factory:()=>new cn}));class sl{constructor(t,e,n,r,i,o=null){Rn(this,"impl",void 0),Rn(this,"hooks",void 0),Rn(this,"view",void 0),Rn(this,"once",void 0),Rn(this,"snapshot",void 0),Rn(this,"erroredOrDestroyed",!1),Rn(this,"pipelinedValue",void 0),Rn(this,"unregisterOnDestroy",void 0),this.impl=t,this.hooks=e,this.view=n,this.once=r,this.snapshot=o,this.unregisterOnDestroy=null==i?void 0:i.onDestroy((()=>this.destroy()))}afterRun(){var t;this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,null===(t=this.snapshot)||void 0===t||t.dispose(),this.snapshot=null}destroy(){var t,e;this.impl.unregister(this),null===(t=this.unregisterOnDestroy)||void 0===t||t.call(this);const n=null===(e=this.view)||void 0===e?void 0:e[25];n&&(this.view[25]=n.filter((t=>t!==this)))}}function al(t,e){var n;(null==e||!e.injector)&&Hi();const r=null!==(n=null==e?void 0:e.injector)&&void 0!==n?n:Br(Ha);return"undefined"!=typeof ngServerMode&&ngServerMode?cl:(tl("NgAfterRender"),ll(t,r,e,!1))}function ul(t,e){var n;(null==e||!e.injector)&&Hi();const r=null!==(n=null==e?void 0:e.injector)&&void 0!==n?n:Br(Ha);return"undefined"!=typeof ngServerMode&&ngServerMode?cl:(tl("NgAfterNextRender"),ll(t,r,e,!0))}function ll(t,e,n,r){var i,o;const s=e.get(rl);null!==(i=s.impl)&&void 0!==i||(s.impl=e.get(ol));const a=e.get(Ju,null,{optional:!0}),u=null!==(o=null==n?void 0:n.phase)&&void 0!==o?o:nl.MixedReadWrite,l=!0!==(null==n?void 0:n.manualCleanup)?e.get($a):null,c=e.get(el,null,{optional:!0}),d=new sl(s.impl,function(t,e){if(t instanceof Function){const n=[void 0,void 0,void 0,void 0];return n[e]=t,n}return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}(t,u),null==c?void 0:c.view,r,l,null==a?void 0:a.snapshot(null));return s.impl.register(d),d}const cl={destroy(){}};var dl;!function(t){t[t.NOT_STARTED=0]="NOT_STARTED",t[t.IN_PROGRESS=1]="IN_PROGRESS",t[t.COMPLETE=2]="COMPLETE",t[t.FAILED=3]="FAILED"}(dl||(dl={}));var hl,fl;!function(t){t[t.Placeholder=0]="Placeholder",t[t.Loading=1]="Loading",t[t.Complete=2]="Complete",t[t.Error=3]="Error"}(hl||(hl={})),function(t){t[t.Initial=-1]="Initial"}(fl||(fl={}));var pl;function vl(t,e,n){const r=yl(t);null===e[r]&&(e[r]=[]),e[r].push(n)}function gl(t,e){const n=yl(t),r=e[n];if(null!==r){for(const t of r)t();e[n]=null}}function ml(t){gl(1,t),gl(0,t),gl(2,t)}function yl(t){let e=4;return 1===t?e=5:2===t&&(e=9),e}function bl(t){return t+1}function wl(t,e){t[1];const n=bl(e.index);return t[n]}function _l(t,e){const n=bl(e.index);return t.data[n]}function Sl(t,e){var n,r,i,o;return e===hl.Placeholder?null!==(n=null===(r=t.placeholderBlockConfig)||void 0===r?void 0:r[0])&&void 0!==n?n:null:e===hl.Loading&&null!==(i=null===(o=t.loadingBlockConfig)||void 0===o?void 0:o[0])&&void 0!==i?i:null}function Cl(t){var e,n;return null!==(e=null===(n=t.loadingBlockConfig)||void 0===n?void 0:n[1])&&void 0!==e?e:null}function El(t,e){if(!t||0===t.length)return e;const n=new Set(t);for(const t of e)n.add(t);return t.length===n.size?t:Array.from(n)}!function(t){t[t.Manual=0]="Manual",t[t.Playthrough=1]="Playthrough"}(pl||(pl={}));const Dl={passive:!0,capture:!0},Tl=new WeakMap,Al=new WeakMap,xl=new WeakMap,kl=["click","keydown"],Il=["mouseenter","mouseover","focusin"];let Ol=null,Rl=0;class Pl{constructor(){Rn(this,"callbacks",new Set),Rn(this,"listener",(()=>{for(const t of this.callbacks)t()}))}}function Fl(t,e){let n=Al.get(t);if(!n){n=new Pl,Al.set(t,n);for(const e of kl)t.addEventListener(e,n.listener,Dl)}return n.callbacks.add(e),()=>{const{callbacks:r,listener:i}=n;if(r.delete(e),0===r.size){Al.delete(t);for(const e of kl)t.removeEventListener(e,i,Dl)}}}function Nl(t,e){let n=Tl.get(t);if(!n){n=new Pl,Tl.set(t,n);for(const e of Il)t.addEventListener(e,n.listener,Dl)}return n.callbacks.add(e),()=>{const{callbacks:r,listener:i}=n;if(r.delete(e),0===r.size){for(const e of Il)t.removeEventListener(e,i,Dl);Tl.delete(t)}}}function Ml(t,e,n){const r=n.get(ou);let i=xl.get(t);return Ol=Ol||r.runOutsideAngular((()=>new IntersectionObserver((t=>{for(const e of t)e.isIntersecting&&xl.has(e.target)&&r.run(xl.get(e.target).listener)})))),i||(i=new Pl,r.runOutsideAngular((()=>Ol.observe(t))),xl.set(t,i),Rl++),i.callbacks.add(e),()=>{if(xl.has(t)){var n,r;if(i.callbacks.delete(e),0===i.callbacks.size)null===(n=Ol)||void 0===n||n.unobserve(t),xl.delete(t),Rl--;if(0===Rl)null===(r=Ol)||void 0===r||r.disconnect(),Ol=null}}}function Ll(t,e){const n=xo(oo+e,t);return n}function jl(t,e,n,r,i,o,s){const a=t[9],u=a.get(ou);let l;l=al({read:function(){if(vo(t))return void l.destroy();const c=wl(t,e),d=c[1];if(d!==fl.Initial&&d!==hl.Placeholder)return void l.destroy();const h=function(t,e,n){var r;if(null==n)return t;if(n>=0)return jo(n,t);const i=t[e.index],o=null!==(r=i[10])&&void 0!==r?r:null;return o}(t,e,r);if(!h)return;if(l.destroy(),vo(h))return;const f=Ll(h,n),p=i(f,(()=>{u.run((()=>{t!==h&&Vo(h,p),o()}))}),a);t!==h&&Ho(h,p),vl(s,c,p)}},{injector:a})}const zl=t=>{t.removeAttribute($e),t.removeAttribute("ngb"),t.__jsaction_fns=void 0},Bl=new fr("",{providedIn:"root",factory:()=>({})}),Ul=new fr("");class Hl{constructor(){Rn(this,"registry",new Map),Rn(this,"cleanupFns",new Map),Rn(this,"jsActionMap",Br(Ku)),Rn(this,"contract",Br(Bl)),Rn(this,"hydrating",new Map),Rn(this,"awaitingCallbacks",new Map)}add(t,e){if(this.registry.set(t,e),this.awaitingCallbacks.has(t)){const e=this.awaitingCallbacks.get(t);for(const t of e)t()}}get(t){var e;return null!==(e=this.registry.get(t))&&void 0!==e?e:null}has(t){return this.registry.has(t)}cleanup(t){!function(t,e){if(t.length>0){let n=[];for(let r of t)e.has(r)&&(n=[...n,...e.get(r)]);new Set(n).forEach(zl)}}(t,this.jsActionMap);for(let e of t)this.registry.delete(e),this.jsActionMap.delete(e),this.invokeTriggerCleanupFns(e),this.hydrating.delete(e),this.awaitingCallbacks.delete(e);var e;0===this.size&&(null===(e=this.contract.instance)||void 0===e||e.cleanUp())}get size(){return this.registry.size}addCleanupFn(t,e){let n=[];this.cleanupFns.has(t)&&(n=this.cleanupFns.get(t)),n.push(e),this.cleanupFns.set(t,n)}invokeTriggerCleanupFns(t){var e;const n=null!==(e=this.cleanupFns.get(t))&&void 0!==e?e:[];for(let t of n)t();this.cleanupFns.delete(t)}awaitParentBlock(t,e){var n;const r=null!==(n=this.awaitingCallbacks.get(t))&&void 0!==n?n:[];r.push(e),this.awaitingCallbacks.set(t,r)}}Rn(Hl,"ɵprov",ir({token:dn=Hl,providedIn:null,factory:()=>new dn}));function Vl(t){let e=t._lView;return 2===e[1].type?null:(po(e)&&(e=e[26]),e)}var $l;!function(t){t.Hydrated="hydrated",t.Skipped="skipped",t.Mismatched="mismatched"}($l||($l={}));function ql(t){return t.get(Yu,!1,{optional:!0})}function Wl(t,e){const n=t.contentQueries;if(null!==n){const r=h(null);try{for(let r=0;r<n.length;r+=2){const i=n[r],o=n[r+1];if(-1!==o){const n=t.data[o];Cs(i),n.contentQueries(2,e[o],o)}}}finally{h(r)}}}function Gl(t,e,n){Cs(0);const r=h(null);try{e(t,n)}finally{h(r)}}function Zl(t,e,n){if(lo(e)){const r=h(null);try{const r=e.directiveStart,i=e.directiveEnd;for(let e=r;e<i;e++){const r=t.data[e];if(r.contentQueries){const t=n[e];r.contentQueries(1,t,e)}}}finally{h(r)}}}let Yl,Kl;function Ql(){if(void 0===Yl&&(Yl=null,Gn.trustedTypes))try{Yl=Gn.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Yl}function Jl(t){var e;return(null===(e=Ql())||void 0===e?void 0:e.createHTML(t))||t}function Xl(){if(void 0===Kl&&(Kl=null,Gn.trustedTypes))try{Kl=Gn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Kl}function tc(t){var e;return(null===(e=Xl())||void 0===e?void 0:e.createHTML(t))||t}function ec(t){var e;return(null===(e=Xl())||void 0===e?void 0:e.createScript(t))||t}function nc(t){var e;return(null===(e=Xl())||void 0===e?void 0:e.createScriptURL(t))||t}t.ViewEncapsulation=void 0,function(t){t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom"}(t.ViewEncapsulation||(t.ViewEncapsulation={}));class rc{constructor(t){Rn(this,"changingThisBreaksApplicationSecurity",void 0),this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Pn})`}}class ic extends rc{getTypeName(){return"HTML"}}class oc extends rc{getTypeName(){return"Style"}}class sc extends rc{getTypeName(){return"Script"}}class ac extends rc{getTypeName(){return"URL"}}class uc extends rc{getTypeName(){return"ResourceURL"}}function lc(t){return t instanceof rc?t.changingThisBreaksApplicationSecurity:t}function cc(t,e){const n=function(t){return t instanceof rc&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${Pn})`)}return n===e}function dc(t){const e=new fc(t);return function(){try{return!!(new window.DOMParser).parseFromString(Jl(""),"text/html")}catch(t){return!1}}()?new hc(e):e}class hc{constructor(t){Rn(this,"inertDocumentHelper",void 0),this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{var e;const n=(new window.DOMParser).parseFromString(Jl(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(null===(e=n.firstChild)||void 0===e||e.remove(),n)}catch(t){return null}}}class fc{constructor(t){Rn(this,"defaultDoc",void 0),Rn(this,"inertDocument",void 0),this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const e=this.inertDocument.createElement("template");return e.innerHTML=Jl(t),e}}const pc=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function vc(t){return(t=String(t)).match(pc)?t:"unsafe:"+t}function gc(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function mc(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const yc=gc("area,br,col,hr,img,wbr"),bc=gc("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),wc=gc("rp,rt"),_c=mc(wc,bc),Sc=mc(bc,gc("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")),Cc=mc(wc,gc("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")),Ec=mc(yc,Sc,Cc,_c),Dc=gc("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Tc=gc("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"),Ac=gc("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"),xc=mc(Dc,Tc,Ac),kc=gc("script,style,template");class Ic{constructor(){Rn(this,"sanitizedSomething",!1),Rn(this,"buf",[])}sanitizeChildren(t){let e=t.firstChild,n=!0,r=[];for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)r.push(e),e=Rc(e);else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=Oc(e);if(t){e=t;break}e=r.pop()}return this.buf.join("")}startElement(t){const e=Pc(t).toLowerCase();if(!Ec.hasOwnProperty(e))return this.sanitizedSomething=!0,!kc.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let t=0;t<n.length;t++){const e=n.item(t),r=e.name,i=r.toLowerCase();if(!xc.hasOwnProperty(i)){this.sanitizedSomething=!0;continue}let o=e.value;Dc[i]&&(o=vc(o)),this.buf.push(" ",r,'="',Lc(o),'"')}return this.buf.push(">"),!0}endElement(t){const e=Pc(t).toLowerCase();Ec.hasOwnProperty(e)&&!yc.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(Lc(t))}}function Oc(t){const e=t.nextSibling;if(e&&t!==e.previousSibling)throw Fc(e);return e}function Rc(t){const e=t.firstChild;if(e&&(n=e,(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY))throw Fc(e);var n;return e}function Pc(t){const e=t.nodeName;return"string"==typeof e?e:"FORM"}function Fc(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}const Nc=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Mc=/([^\#-~ |!])/g;function Lc(t){return t.replace(/&/g,"&amp;").replace(Nc,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(Mc,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let jc;function zc(t,e){let n=null;try{jc=jc||dc(t);let r=e?String(e):"";n=jc.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=jc.getInertBodyElement(r)}while(r!==o);const s=new Ic;return Jl(s.sanitizeChildren(Bc(n)||n))}finally{if(n){const t=Bc(n)||n;for(;t.firstChild;)t.firstChild.remove()}}}function Bc(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Uc;function Hc(t){const e=Kc();return e?tc(e.sanitize(Uc.HTML,t)||""):cc(t,"HTML")?tc(lc(t)):zc(ju(),Sr(t))}function Vc(t){const e=Kc();return e?e.sanitize(Uc.STYLE,t)||"":cc(t,"Style")?lc(t):Sr(t)}function $c(t){const e=Kc();return e?e.sanitize(Uc.URL,t)||"":cc(t,"URL")?lc(t):vc(Sr(t))}function qc(t){const e=Kc();if(e)return nc(e.sanitize(Uc.RESOURCE_URL,t)||"");if(cc(t,"ResourceURL"))return nc(lc(t));throw new Fn(904,!1)}function Wc(t){const e=Kc();if(e)return ec(e.sanitize(Uc.SCRIPT,t)||"");if(cc(t,"Script"))return ec(lc(t));throw new Fn(905,!1)}function Gc(t){return Jl(t[0])}function Zc(t){return function(t){var e;return(null===(e=Ql())||void 0===e?void 0:e.createScriptURL(t))||t}(t[0])}function Yc(t,e,n){return function(t,e){return"src"===e&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===e&&("base"===t||"link"===t)?qc:$c}(e,n)(t)}function Kc(){const t=ts();return t&&t[10].sanitizer}!function(t){t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL"}(Uc||(Uc={}));const Qc=/^>|^->|<!--|-->|--!>|<!-$/g,Jc=/(<|>)/g;function Xc(t){return t.replace(Qc,(t=>t.replace(Jc,"​$1​")))}new Map([["ngIf","NgIf"],["ngFor","NgFor"],["ngSwitchCase","NgSwitchCase"],["ngSwitchDefault","NgSwitchDefault"]]);function td(t){return t.ownerDocument.defaultView}function ed(t){return t.ownerDocument}function nd(t){return t.ownerDocument.body}function rd(t){return t instanceof Function?t():t}function id(t,e,n){let r=t.length;for(;;){const i=t.indexOf(e,n);if(-1===i)return i;if(0===i||t.charCodeAt(i-1)<=32){const n=e.length;if(i+n===r||t.charCodeAt(i+n)<=32)return i}n=i+1}}const od="ng-template";function sd(t,e,n,r){let i=0;if(r){for(;i<e.length&&"string"==typeof e[i];i+=2)if("class"===e[i]&&-1!==id(e[i+1].toLowerCase(),n,0))return!0}else if(ad(t))return!1;if(i=e.indexOf(1,i),i>-1){let t;for(;++i<e.length&&"string"==typeof(t=e[i]);)if(t.toLowerCase()===n)return!0}return!1}function ad(t){return 4===t.type&&t.value!==od}function ud(t,e,n){return e===(4!==t.type||n?t.value:od)}function ld(t,e,n){let r=4;const i=t.attrs,o=null!==i?function(t){for(let e=0;e<t.length;e++){if(Qs(t[e]))return e}return t.length}(i):0;let s=!1;for(let a=0;a<e.length;a++){const u=e[a];if("number"!=typeof u){if(!s)if(4&r){if(r=2|1&r,""!==u&&!ud(t,u,n)||""===u&&1===e.length){if(cd(r))return!1;s=!0}}else if(8&r){if(null===i||!sd(t,i,u,n)){if(cd(r))return!1;s=!0}}else{const l=e[++a],c=dd(u,i,ad(t),n);if(-1===c){if(cd(r))return!1;s=!0;continue}if(""!==l){let t;if(t=c>o?"":i[c+1].toLowerCase(),2&r&&l!==t){if(cd(r))return!1;s=!0}}}}else{if(!s&&!cd(r)&&!cd(u))return!1;if(s&&cd(u))continue;s=!1,r=u|1&r}}return cd(r)||s}function cd(t){return!(1&t)}function dd(t,e,n,r){if(null===e)return-1;let i=0;if(r||!n){let n=!1;for(;i<e.length;){const r=e[i];if(r===t)return i;if(3===r||6===r)n=!0;else{if(1===r||2===r){let t=e[++i];for(;"string"==typeof t;)t=e[++i];continue}if(4===r)break;if(0===r){i+=4;continue}}i+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const r=t[n];if("number"==typeof r)return-1;if(r===e)return n;n++}return-1}(e,t)}function hd(t,e,n=!1){for(let r=0;r<e.length;r++)if(ld(t,e[r],n))return!0;return!1}function fd(t,e){t:for(let n=0;n<e.length;n++){const r=e[n];if(t.length===r.length){for(let e=0;e<t.length;e++)if(t[e]!==r[e])continue t;return!0}}return!1}function pd(t,e){return t?":not("+e.trim()+")":e}function vd(t){let e=t[0],n=1,r=2,i="",o=!1;for(;n<t.length;){let s=t[n];if("string"==typeof s)if(2&r){const e=t[++n];i+="["+s+(e.length>0?'="'+e+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""===i||cd(s)||(e+=pd(o,i),i=""),r=s,o=o||!cd(r);n++}return""!==i&&(e+=pd(o,i)),e}function gd(t){return t.map(vd).join(",")}const md={};function yd(t,e){return t.createText(e)}function bd(t,e,n){t.setValue(e,n)}function wd(t,e){return t.createComment(Xc(e))}function _d(t,e,n){return t.createElement(e,n)}function Sd(t,e,n,r,i){t.insertBefore(e,n,r,i)}function Cd(t,e,n){t.appendChild(e,n)}function Ed(t,e,n,r,i){null!==r?Sd(t,e,n,r,i):Cd(t,e,n)}function Dd(t,e,n){t.removeChild(null,e,n)}function Td(t,e,n){const{mergedAttrs:r,classes:i,styles:o}=n;null!==r&&function(t,e,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const o=n[r++],s=n[r++],a=n[r++];t.setAttribute(e,s,a,o)}else{const o=i,s=n[++r];Js(o)?t.setProperty(e,o,s):t.setAttribute(e,o,s),r++}}}(t,e,r),null!==i&&function(t,e,n){""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n)}(t,e,i),null!==o&&function(t,e,n){t.setAttribute(e,"style",n)}(t,e,o)}function Ad(t,e,n,r,i,o,s,a,u,l,c){const d=oo+r,h=d+i,f=function(t,e){const n=[];for(let r=0;r<e;r++)n.push(r<t?null:md);return n}(d,h),p="function"==typeof l?l():l,v=f[1]={type:t,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:e,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,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:"function"==typeof o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:u,consts:p,incompleteFirstPass:!1,ssrId:c};return v}function xd(t){const e=t.tView;if(null===e||e.incompleteFirstPass){const e=null;return t.tView=Ad(1,e,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id)}return e}function kd(t,e,n,r,i,o,s,a,u,l,c){const d=e.blueprint.slice();return d[0]=i,d[2]=1228|r,(null!==l||t&&2048&t[2])&&(d[2]|=2048),Mo(d),d[3]=d[14]=t,d[8]=n,d[10]=s||t&&t[10],d[11]=a||t&&t[11],d[9]=u||t&&t[9]||null,d[5]=o,d[io]=Iu++,d[6]=c,d[20]=l,d[15]=2==e.type?t[15]:d,d}function Id(t){let e=16;return t.signals?e=4096:t.onPush&&(e=64),e}function Od(t,e,n,r){if(0===n)return-1;const i=e.length;for(let i=0;i<n;i++)e.push(r),t.blueprint.push(r),t.data.push(null);return i}function Rd(t,e){return t[12]?t[13][4]=e:t[12]=e,t[13]=e,e}function Pd(t=1){Fd(es(),ts(),Rs()+t,!1)}function Fd(t,e,n,r){if(!r){if(!(3&~e[2])){const r=t.preOrderCheckHooks;null!==r&&Hs(e,r,n)}else{const r=t.preOrderHooks;null!==r&&Vs(e,r,0,n)}}Ps(n)}var Nd;function Md(t,e,n,r){const i=h(null);try{0;const[i,o,s]=t.inputs[n];let a=null;if(o&Nd.SignalBased){a=e[i][d]}null!==a&&void 0!==a.transformFn?r=a.transformFn(r):null!==s&&(r=s.call(e,r)),null!==t.setInput?t.setInput(e,a,r,n,i):mo(e,a,i,r)}finally{h(i)}}function Ld(t,e,n,r,i){const o=Rs(),s=2&r;try{Ps(-1),s&&e.length>oo&&Fd(t,e,oo,!1);Do(s?2:0,i),n(r,i)}finally{Ps(o);Do(s?3:1,i)}}function jd(t,e,n){!function(t,e,n){const r=n.directiveStart,i=n.directiveEnd;co(n)&&function(t,e,n){const r=ko(e,t),i=xd(n),o=t[10].rendererFactory,s=Rd(t,kd(t,i,null,Id(n),r,e,null,o.createRenderer(r,n),null,null,null));t[e.index]=s}(e,n,t.data[r+n.componentOffset]);t.firstCreatePass||ca(n,e);const o=n.initialInputs;for(let s=r;s<i;s++){const i=t.data[s],a=_a(e,t,s,n);if(Pu(a,e),null!==o&&qd(e,s-r,a,i,n,o),fo(i)){Ro(n.index,e)[8]=_a(e,t,s,n)}}}(t,e,n),64&~n.flags||function(t,e,n){const r=n.directiveStart,i=n.directiveEnd,o=n.index,s=Go.lFrame.currentDirectiveIndex;try{Ps(o);for(let n=r;n<i;n++){const r=t.data[n],i=e[n];ws(n),null===r.hostBindings&&0===r.hostVars&&null===r.hostAttrs||Ud(r,i)}}finally{Ps(-1),ws(s)}}(t,e,n)}function zd(t,e,n=ko){const r=e.localNames;if(null!==r){let i=e.index+1;for(let o=0;o<r.length;o+=2){const s=r[o+1],a=-1===s?n(e,t):t[s];t[i++]=a}}}function Bd(t,e,n,r,i,o,s,a){if(!a){if(Zd(e,t,n,r,i))return void(co(e)&&function(t,e){const n=Ro(e,t);16&n[2]||(n[2]|=64)}(n,e.index))}if(3&e.type){const t=ko(e,n);r="class"===(u=r)?"className":"for"===u?"htmlFor":"formaction"===u?"formAction":"innerHtml"===u?"innerHTML":"readonly"===u?"readOnly":"tabindex"===u?"tabIndex":u,i=null!=s?s(i,e.value||"",r):i,o.setProperty(t,r,i)}else e.type;var u}function Ud(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Hd(t,e){const n=t.directiveRegistry;let r=null;if(n)for(let t=0;t<n.length;t++){const i=n[t];hd(e,i.selectors,!1)&&(null!=r||(r=[]),fo(i)?r.unshift(i):r.push(i))}return r}function Vd(t,e,n,r,i,o){const s=ko(t,e);$d(e[11],s,o,t.value,n,r,i)}function $d(t,e,n,r,i,o,s){if(null==o)t.removeAttribute(e,i,n);else{const a=null==s?Sr(o):s(o,r||"",i);t.setAttribute(e,i,a,n)}}function qd(t,e,n,r,i,o){const s=o[e];if(null!==s)for(let t=0;t<s.length;t+=2){const e=s[t],i=s[t+1];Md(r,n,e,i)}}function Wd(t,e,n){return(null===t||fo(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(n[e.index])),n[11]}function Gd(t,e){const n=t[9],r=n?n.get(fu,null):null;r&&r.handleError(e)}function Zd(t,e,n,r,i){var o,s;const a=null===(o=t.inputs)||void 0===o?void 0:o[r],u=null===(s=t.hostDirectiveInputs)||void 0===s?void 0:s[r];let l=!1;if(u)for(let t=0;t<u.length;t+=2){const r=u[t],o=u[t+1];Md(e.data[r],n[r],o,i),l=!0}if(a)for(const t of a){const o=n[t];Md(e.data[t],o,r,i),l=!0}return l}function Yd(t,e){const n=Ro(e,t),r=n[1];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(r,n);const i=n[0];null!==i&&null===n[6]&&(n[6]=(n[9],null)),Do(18),Kd(r,n,n[8]),Do(19,n[8])}function Kd(t,e,n){Ts(e);try{var r;const i=t.viewQuery;null!==i&&Gl(1,i,n);const o=t.template;null!==o&&Ld(t,e,o,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),null===(r=e[18])||void 0===r||r.finishViewCreation(t),t.staticContentQueries&&Wl(t,e),t.staticViewQueries&&Gl(2,t.viewQuery,n);const s=t.components;null!==s&&function(t,e){for(let n=0;n<e.length;n++)Yd(t,e[n])}(e,s)}catch(e){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),e}finally{e[2]&=-5,Os()}}function Qd(t,e,n,r){const i=h(null);try{var o,s,a;const i=e.tView,u=4096&t[2],l=kd(t,i,n,u?4096:16,null,e,null,null,null!==(o=null==r?void 0:r.injector)&&void 0!==o?o:null,null!==(s=null==r?void 0:r.embeddedViewInjector)&&void 0!==s?s:null,null!==(a=null==r?void 0:r.dehydratedView)&&void 0!==a?a:null),c=t[e.index];l[16]=c;const d=t[18];return null!==d&&(l[18]=d.createEmbeddedView(i)),Kd(i,l,n),l}finally{h(i)}}function Jd(t,e){return!e||null===e.firstChild||Au(t)}let Xd;function th(t,e){return Xd(t,e)}var eh;function nh(t){return!(32&~t.flags)}function rh(t,e,n,r,i){if(null!=r){let o,s=!1;uo(r)?o=r:ao(r)&&(s=!0,r=r[0]);const a=Ao(r);0===t&&null!==n?null==i?Cd(e,n,a):Sd(e,n,a,i||null,!0):1===t&&null!==n?Sd(e,n,a,i||null,!0):2===t?Dd(e,a,s):3===t&&e.destroyNode(a),null!=o&&function(t,e,n,r,i){const o=n[7],s=Ao(n);o!==s&&rh(e,t,r,o,i);for(let i=so;i<n.length;i++){const s=n[i];Ch(s[1],s,t,e,r,o)}}(e,t,o,n,i)}}function ih(t,e){oh(t,e),e[0]=null,e[5]=null}function oh(t,e){var n;null===(n=e[10].changeDetectionScheduler)||void 0===n||n.notify(9),Ch(t,e,e[11],2,null,null)}function sh(t,e){const n=t[9],r=n.indexOf(e);n.splice(r,1)}function ah(t,e){if(vo(e))return;const n=e[11];n.destroyNode&&Ch(t,e,n,3,null,null),function(t){let e=t[12];if(!e)return uh(t[1],t);for(;e;){let n=null;if(ao(e))n=e[12];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)ao(e)&&uh(e[1],e),e=e[3];null===e&&(e=t),ao(e)&&uh(e[1],e),n=e&&e[4]}e=n}}(e)}function uh(t,e){if(vo(e))return;const n=h(null);try{e[2]&=-129,e[2]|=256,e[24]&&E(e[24]),ch(t,e),lh(t,e),1===e[1].type&&e[11].destroy();const n=e[16];if(null!==n&&uo(e[3])){n!==e[3]&&sh(n,e);const r=e[18];null!==r&&r.detachView(t)}Ou(e)}finally{h(n)}}function lh(t,e){const n=t.cleanup,r=e[7];if(null!==n)for(let t=0;t<n.length-1;t+=2)if("string"==typeof n[t]){const e=n[t+3];e>=0?r[e]():r[-e].unsubscribe(),t+=2}else{const e=r[n[t+1]];n[t].call(e)}null!==r&&(e[7]=null);const i=e[21];if(null!==i){e[21]=null;for(let t=0;t<i.length;t++){const e=i[t];e()}}const o=e[23];if(null!==o){e[23]=null;for(const t of o)t.destroy()}}function ch(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let t=0;t<n.length;t+=2){const r=e[n[t]];if(!(r instanceof Ys)){const e=n[t+1];if(Array.isArray(e))for(let t=0;t<e.length;t+=2){const n=r[e[t]],i=e[t+1];Do(4,n,i);try{i.call(n)}finally{Do(5,n,i)}}else{Do(4,r,e);try{e.call(r)}finally{Do(5,r,e)}}}}}function dh(t,e,n){return hh(t,e.parent,n)}function hh(e,n,r){let i=n;for(;null!==i&&168&i.type;)i=(n=i).parent;if(null===i)return r[0];if(co(i)){const{encapsulation:n}=e.data[i.directiveStart+i.componentOffset];if(n===t.ViewEncapsulation.None||n===t.ViewEncapsulation.Emulated)return null}return ko(i,r)}function fh(t,e,n){return gh(t,e,n)}function ph(t,e,n){return 40&t.type?ko(t,n):null}!function(t){t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"}(Nd||(Nd={})),function(t){t[t.Important=1]="Important",t[t.DashCase=2]="DashCase"}(eh||(eh={}));let vh,gh=ph;function mh(t,e){gh=t,vh=e}function yh(t,e,n,r){const i=dh(t,r,e),o=e[11],s=fh(r.parent||e[5],r,e);if(null!=i)if(Array.isArray(n))for(let t=0;t<n.length;t++)Ed(o,i,n[t],s,!1);else Ed(o,i,n,s,!1);void 0!==vh&&vh(o,r,e,n,i)}function bh(t,e){if(null!==e){const n=e.type;if(3&n)return ko(e,t);if(4&n)return _h(-1,t[e.index]);if(8&n){const n=e.child;if(null!==n)return bh(t,n);{const n=t[e.index];return uo(n)?_h(-1,n):Ao(n)}}if(128&n)return bh(t,e.next);if(32&n){return th(e,t)()||Ao(t[e.index])}{const n=wh(t,e);if(null!==n){if(Array.isArray(n))return n[0];const e=$o(t[15]);return bh(e,n)}return bh(t,e.next)}}return null}function wh(t,e){if(null!==e){const n=t[15][5],r=e.projection;return n.projection[r]}return null}function _h(t,e){const n=so+t+1;if(n<e.length){const t=e[n],r=t[1].firstChild;if(null!==r)return bh(t,r)}return e[7]}function Sh(t,e,n,r,i,o,s){for(;null!=n;){if(128===n.type){n=n.next;continue}const a=r[n.index],u=n.type;if(s&&0===e&&(a&&Pu(Ao(a),r),n.flags|=2),!nh(n))if(8&u)Sh(t,e,n.child,r,i,o,!1),rh(e,t,i,a,o);else if(32&u){const s=th(n,r);let u;for(;u=s();)rh(e,t,i,u,o);rh(e,t,i,a,o)}else 16&u?Eh(t,e,r,n,i,o):rh(e,t,i,a,o);n=s?n.projectionNext:n.next}}function Ch(t,e,n,r,i,o){Sh(n,r,t.firstChild,e,i,o,!1)}function Eh(t,e,n,r,i,o){const s=n[15],a=s[5].projection[r.projection];if(Array.isArray(a))for(let n=0;n<a.length;n++){rh(e,t,i,a[n],o)}else{let n=a;const u=s[3];Au(r)&&(n.flags|=128),Sh(t,e,n,u,i,o,!0)}}function Dh(t,e,n,r,i=!1){for(;null!==n;){if(128===n.type){n=i?n.projectionNext:n.next;continue}const o=e[n.index];null!==o&&r.push(Ao(o)),uo(o)&&Th(o,r);const s=n.type;if(8&s)Dh(t,e,n.child,r);else if(32&s){const t=th(n,e);let i;for(;i=t();)r.push(i)}else if(16&s){const t=wh(e,n);if(Array.isArray(t))r.push(...t);else{const n=$o(e[15]);Dh(n[1],n,t,r,!0)}}n=i?n.projectionNext:n.next}return r}function Th(t,e){for(let n=so;n<t.length;n++){const r=t[n],i=r[1].firstChild;null!==i&&Dh(r[1],r,i,e)}t[7]!==t[0]&&e.push(t[7])}function Ah(t){if(null!==t[25]){for(const e of t[25])e.impl.addSequence(e);t[25].length=0}}let xh=[];function kh(t){var e;return null!==(e=t[24])&&void 0!==e?e:function(t){var e;const n=null!==(e=xh.pop())&&void 0!==e?e:Object.create(Ih);return n.lView=t,n}(t)}const Ih=On(On({},p),{},{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{Uo(t.lView)},consumerOnSignalRead(){this.lView[24]=this}});const Oh=On(On({},p),{},{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let e=$o(t.lView);for(;e&&!Rh(e[1]);)e=$o(e);e&&Lo(e)},consumerOnSignalRead(){this.lView[24]=this}});function Rh(t){return 2!==t.type}function Ph(t){if(null===t[23])return;let e=!0;for(;e;){let n=!1;for(const e of t[23])e.dirty&&(n=!0,null===e.zone||Zone.current===e.zone?e.run():e.zone.run((()=>e.run())));e=n&&!!(8192&t[2])}}function Fh(t,e=!0,n=0){const r=t[10].rendererFactory;var i;null===(i=r.begin)||void 0===i||i.call(r);try{!function(t,e){const n=ds();try{hs(!0),zh(t,e);let n=0;for(;zo(t);){if(100===n)throw new Fn(103,!1);n++,zh(t,1)}}finally{hs(n)}}(t,n)}catch(n){throw e&&Gd(t,n),n}finally{var o;null===(o=r.end)||void 0===o||o.call(r)}}function Nh(t,e,n,r){if(vo(e))return;const i=e[2];Ts(e);let o=!0,s=null,a=null;Rh(t)?(a=kh(e),s=_(a)):null===f()?(o=!1,a=function(t){var e;const n=null!==(e=t[24])&&void 0!==e?e:Object.create(Oh);return n.lView=t,n}(e),s=_(a)):e[24]&&(E(e[24]),e[24]=null);try{Mo(e),vs(t.bindingStartIndex),null!==n&&Ld(t,e,n,2,r);const o=!(3&~i);if(o){const n=t.preOrderCheckHooks;null!==n&&Hs(e,n,null)}else{const n=t.preOrderHooks;null!==n&&Vs(e,n,0,null),$s(e,0)}if(function(t){for(let e=Fu(t);null!==e;e=Nu(e)){if(!(2&e[2]))continue;const t=e[9];for(let e=0;e<t.length;e++){Lo(t[e])}}}(e),Ph(e),Mh(e,0),null!==t.contentQueries&&Wl(t,e),o){const n=t.contentCheckHooks;null!==n&&Hs(e,n)}else{const n=t.contentHooks;null!==n&&Vs(e,n,1),$s(e,1)}!function(t,e){const n=t.hostBindingOpCodes;if(null===n)return;try{for(let t=0;t<n.length;t++){const r=n[t];if(r<0)Ps(~r);else{const i=r,o=n[++t],s=n[++t];bs(o,i);const a=e[i];Do(24,a),s(2,a),Do(25,a)}}}finally{Ps(-1)}}(t,e);const s=t.components;null!==s&&Bh(e,s,0);const a=t.viewQuery;if(null!==a&&Gl(2,a,r),o){const n=t.viewCheckHooks;null!==n&&Hs(e,n)}else{const n=t.viewHooks;null!==n&&Vs(e,n,2),$s(e,2)}if(!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),e[22]){for(const t of e[22])t();e[22]=null}Ah(e),e[2]&=-73}catch(t){throw Uo(e),t}finally{null!==a&&(S(a,s),o&&(u=a).lView[24]!==u&&(u.lView=null,xh.push(u))),Os()}var u}function Mh(t,e){for(let n=Fu(t);null!==n;n=Nu(n))for(let t=so;t<n.length;t++){jh(n[t],e)}}function Lh(t,e,n){Do(18);const r=Ro(e,t);jh(r,n),Do(19,r[8])}function jh(t,e){Fo(t)&&zh(t,e)}function zh(t,e){const n=t[1],r=t[2],i=t[24];let o=!!(0===e&&16&r);if(o||(o=!!(64&r&&0===e)),o||(o=!!(1024&r)),o||(o=!(null==i||!i.dirty||!C(i))),o||(o=!1),i&&(i.dirty=!1),t[2]&=-9217,o)Nh(n,t,n.template,t[8]);else if(8192&r){Ph(t),Mh(t,1);const e=n.components;null!==e&&Bh(t,e,1),Ah(t)}}function Bh(t,e,n){for(let r=0;r<e.length;r++)Lh(t,e[r],n)}function Uh(t,e){var n;const r=ds()?64:1088;for(null===(n=t[10].changeDetectionScheduler)||void 0===n||n.notify(e);t;){t[2]|=r;const e=$o(t);if(po(t)&&!e)return t;t=e}return null}function Hh(t,e,n,r){const i=[t,!0,0,e,null,r,null,n,null,null];return i}function Vh(t,e){const n=so+e;if(n<t.length){const e=t[n];return e}}function $h(t,e,n,r=!0){const i=e[1];if(function(t,e,n,r){const i=so+r,o=n.length;r>0&&(n[i-1][4]=e);r<o-so?(e[4]=n[i],Xr(n,so+r,e)):(n.push(e),e[4]=null);e[3]=n;const s=e[16];null!==s&&n!==s&&Gh(s,e);const a=e[18];null!==a&&a.insertView(t);Bo(e),e[2]|=128}(i,e,t,n),r){const r=_h(n,t),o=e[11],s=o.parentNode(t[7]);null!==s&&function(t,e,n,r,i,o){r[0]=i,r[5]=e,Ch(t,r,n,1,i,o)}(i,t[5],o,e,s,r)}const o=e[6];null!==o&&null!==o.firstChild&&(o.firstChild=null)}function qh(t,e){const n=Wh(t,e);return void 0!==n&&ah(n[1],n),n}function Wh(t,e){if(t.length<=so)return;const n=so+e,r=t[n];if(r){const i=r[16];null!==i&&i!==t&&sh(i,r),e>0&&(t[n-1][4]=r[4]);const o=ti(t,so+e);ih(r[1],r);const s=o[18];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Gh(t,e){const n=t[9],r=e[3];if(ao(r))t[2]|=2;else{const n=r[3][15],i=e[15];i!==n&&(t[2]|=2)}null===n?t[9]=[e]:n.push(e)}let Zh=class{get rootNodes(){const t=this._lView,e=t[1];return Dh(e,t,e.firstChild,[])}constructor(t,e,n=!0){Rn(this,"_lView",void 0),Rn(this,"_cdRefInjectingView",void 0),Rn(this,"notifyErrorHandler",void 0),Rn(this,"_appRef",null),Rn(this,"_attachedToViewContainer",!1),this._lView=t,this._cdRefInjectingView=e,this.notifyErrorHandler=n}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return vo(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(uo(t)){const e=t[8],n=e?e.indexOf(this):-1;n>-1&&(Wh(t,n),ti(e,n))}this._attachedToViewContainer=!1}ah(this._lView[1],this._lView)}onDestroy(t){Ho(this._lView,t)}markForCheck(){Uh(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[2]&=-129}reattach(){Bo(this._lView),this._lView[2]|=128}detectChanges(){this._lView[2]|=1024,Fh(this._lView,this.notifyErrorHandler)}checkNoChanges(){0}attachToViewContainerRef(){if(this._appRef)throw new Fn(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=po(this._lView),e=this._lView[16];null===e||t||sh(e,this._lView),oh(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Fn(902,!1);this._appRef=t;const e=po(this._lView),n=this._lView[16];null===n||e||Gh(n,this._lView),Bo(this._lView)}};class Yh{}Rn(Yh,"__NG_ELEMENT_ID__",(function(){return Jh(is(),ts())}));const Kh=Yh,Qh=class extends Kh{constructor(t,e,n){super(),Rn(this,"_declarationLView",void 0),Rn(this,"_declarationTContainer",void 0),Rn(this,"elementRef",void 0),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}get ssrId(){var t;return(null===(t=this._declarationTContainer.tView)||void 0===t?void 0:t.ssrId)||null}createEmbeddedView(t,e){return this.createEmbeddedViewImpl(t,e)}createEmbeddedViewImpl(t,e,n){const r=Qd(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:e,dehydratedView:n});return new Zh(r)}};function Jh(t,e){return 4&t.type?new Qh(e,t,yu(t,e)):null}new Set(["ngh","ng-version","ng-server-context"]);function Xh(t,e,n){const r=e.insertBeforeIndex,i=Array.isArray(r)?r[0]:r;return null===i?ph(t,0,n):Ao(n[i])}function tf(t,e,n,r,i){const o=e.insertBeforeIndex;if(Array.isArray(o)){let s=r,a=null;if(3&e.type||(a=s,s=i),null!==s&&-1===e.componentOffset)for(let e=1;e<o.length;e++){Sd(t,s,n[o[e]],a,!1)}}}function ef(t,e,n,r,i){let o=t.data[e];if(null===o)o=nf(t,e,n,r,i),Go.lFrame.inI18n&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const t=ss();o.injectorIndex=null===t?-1:t.injectorIndex}return as(o,!0),o}function nf(t,e,n,r,i){const o=os(),s=us(),a=s?o:o&&o.parent,u=t.data[e]=function(t,e,n,r,i,o){let s=e?e.injectorIndex:-1,a=0;Qo()&&(a|=128);const u={type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,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:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0};0;return u}(0,a,n,e,r,i);return function(t,e,n,r){null===t.firstChild&&(t.firstChild=e);null!==n&&(r?null==n.child&&null!==e.parent&&(n.child=e):null===n.next&&(n.next=e,e.prev=n))}(t,u,o,s),u}function rf(t,e){if(t.push(e),t.length>1)for(let n=t.length-2;n>=0;n--){const r=t[n];of(r)||sf(r,e)&&null===af(r)&&uf(r,e.index)}}function of(t){return!(64&t.type)}function sf(t,e){return of(e)||t.index>e.index}function af(t){const e=t.insertBeforeIndex;return Array.isArray(e)?e[0]:e}function uf(t,e){const n=t.insertBeforeIndex;Array.isArray(n)?n[0]=e:(mh(Xh,tf),t.insertBeforeIndex=e)}function lf(t,e){const n=t.data[e];if(null===n||"string"==typeof n)return null;const r=n.hasOwnProperty("currentCaseLViewIndex")?n:n.value;return r}function cf(t,e,n){const r=nf(t,n,64,null,null);return rf(e,r),r}function df(t,e){const n=e[t.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function hf(t){return t>>>17}function ff(t){return(131070&t)>>>1}function pf(t,e,n){t.index=0;const r=df(e,n);t.removes=null!==r?e.remove[r]:ui}function vf(t){if(t.index<t.removes.length){const e=t.removes[t.index++];if(e>0){const n=t.lView[e];return n}{t.stack.push(t.index,t.removes);const n=~e,r=t.lView[1].data[n];return pf(t,r,t.lView),vf(t)}}return 0===t.stack.length?null:(t.removes=t.stack.pop(),t.index=t.stack.pop(),vf(t))}function gf(){const t={stack:[],index:-1};return function(e,n){for(t.lView=n;t.stack.length;)t.stack.pop();return pf(t,e.value,n),vf.bind(null,t)}}function mf(t,e,n){for(const r of n.node.cases[n.case]){const n=e.get(r.index-oo);n&&Dd(t,n,!1)}}function yf(t){const{lContainer:e}=t,n=e[6];if(null===n)return;const r=e[3][11];for(const t of n)bf(t,r)}function bf(t,e){let n=0,r=t.firstChild;if(r){const i=t.data.r;for(;n<i;){const t=r.nextSibling;Dd(e,r,!1),r=t,n++}}}function wf(t){!function(t){var e;const n=null!==(e=t[6])&&void 0!==e?e:[],r=t[3][11],i=[];for(const t of n)void 0!==t.data.di?i.push(t):bf(t,r);t[6]=i}(t);const e=t[0];ao(e)&&_f(e);for(let e=so;e<t.length;e++)_f(t[e])}function _f(t){!function(t){const e=t[6];if(e){const{i18nNodes:n,dehydratedIcuData:r}=e;if(n&&r){const e=t[11];for(const t of r.values())mf(e,n,t)}e.i18nNodes=void 0,e.dehydratedIcuData=void 0}}(t);const e=t[1];for(let n=oo;n<e.bindingStartIndex;n++)if(uo(t[n])){wf(t[n])}else ao(t[n])&&_f(t[n])}function Sf(t,e,n,r){null!==t&&(n.cleanup(e),wf(t.lContainer),function(t){const e=t._views;for(const t of e){const e=Vl(t);null!==e&&null!==e[0]&&(ao(e)?_f(e):wf(e))}}(r))}let Cf=class{},Ef=class{};let Df=(Rn(hn=class{},"NULL",new class{resolveComponentFactory(t){throw Error(`No component factory found for ${Kn(t)}.`)}}),hn);class Tf{}class Af{constructor(){Rn(this,"destroyNode",null)}}Rn(Af,"__NG_ELEMENT_ID__",(()=>function(){const t=ts(),e=Ro(is().index,t);return(ao(e)?e:t)[11]}()));class xf{}function kf(t){return void 0!==t.ngModule}function If(t){return!!fi(t)}function Of(t){return!!gi(t)}function Rf(t){return!!vi(t)}function Pf(t){return!!pi(t)}function Ff(t,e){if(er(t)&&!(t=tr(t)))throw new Error(`Expected forwardRef function, imported from "${Cr(e)}", to return a standalone entity or NgModule but got "${Cr(t)||t}".`);if(null==fi(t)){const r=pi(t)||vi(t)||gi(t);if(null==r)throw kf(t)?new Error(`A module with providers was imported from "${Cr(e)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${Cr(t)}" type, imported from "${Cr(e)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!r.standalone)throw new Error(`The "${Cr(t)}" ${n=t,pi(n)?"component":vi(n)?"directive":gi(n)?"pipe":"type"}, imported from "${Cr(e)}", is not standalone. Did you forget to add the standalone: true flag?`)}var n}Rn(xf,"ɵprov",ir({token:xf,providedIn:"root",factory:()=>null}));function Nf(t,e){for(const n of t)e.add(n)}const Mf=new class{constructor(){Rn(this,"ownerNgModule",new Map),Rn(this,"ngModulesWithSomeUnresolvedDecls",new Set),Rn(this,"ngModulesScopeCache",new Map),Rn(this,"standaloneComponentsScopeCache",new Map)}resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const t of this.ngModulesWithSomeUnresolvedDecls){const e=fi(t);if(null!=e&&e.declarations)for(const n of rd(e.declarations))Pf(n)&&this.ownerNgModule.set(n,t)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(t,e){this.resolveNgModulesDecls();const n=pi(t);if(null===n)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${t}`);if(n.standalone){const n=this.getStandaloneComponentScope(t,e);return n.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...n.compilation.directives,...n.compilation.pipes,...n.compilation.ngModules]}}{if(!this.ownerNgModule.has(t))return{dependencies:[]};const e=this.getNgModuleScope(this.ownerNgModule.get(t));return e.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...e.compilation.directives,...e.compilation.pipes]}}}registerNgModule(t,e){if(!If(t))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${t}`);this.ngModulesWithSomeUnresolvedDecls.add(t)}clearScopeCacheFor(t){this.ngModulesScopeCache.delete(t),this.standaloneComponentsScopeCache.delete(t)}getNgModuleScope(t){if(this.ngModulesScopeCache.has(t))return this.ngModulesScopeCache.get(t);const e=this.computeNgModuleScope(t);return this.ngModulesScopeCache.set(t,e),e}computeNgModuleScope(t){const e=fi(t,!0),n={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const t of rd(e.imports))if(If(t)){const e=this.getNgModuleScope(t);Nf(e.exported.directives,n.compilation.directives),Nf(e.exported.pipes,n.compilation.pipes)}else{if(!mi(t)){n.compilation.isPoisoned=!0;break}if(Rf(t)||Pf(t))n.compilation.directives.add(t);else{if(!Of(t))throw new Fn(980,"The standalone imported type is neither a component nor a directive nor a pipe");n.compilation.pipes.add(t)}}if(!n.compilation.isPoisoned)for(const t of rd(e.declarations)){if(If(t)||mi(t)){n.compilation.isPoisoned=!0;break}Of(t)?n.compilation.pipes.add(t):n.compilation.directives.add(t)}for(const t of rd(e.exports))if(If(t)){const e=this.getNgModuleScope(t);Nf(e.exported.directives,n.exported.directives),Nf(e.exported.pipes,n.exported.pipes),Nf(e.exported.directives,n.compilation.directives),Nf(e.exported.pipes,n.compilation.pipes)}else Of(t)?n.exported.pipes.add(t):n.exported.directives.add(t);return n}getStandaloneComponentScope(t,e){if(this.standaloneComponentsScopeCache.has(t))return this.standaloneComponentsScopeCache.get(t);const n=this.computeStandaloneComponentScope(t,e);return this.standaloneComponentsScopeCache.set(t,n),n}computeStandaloneComponentScope(t,e){const n={compilation:{directives:new Set([t]),pipes:new Set,ngModules:new Set}};for(const r of Qr(null!=e?e:[])){const e=tr(r);try{Ff(e,t)}catch(t){return n.compilation.isPoisoned=!0,n}if(If(e)){n.compilation.ngModules.add(e);const t=this.getNgModuleScope(e);if(t.exported.isPoisoned)return n.compilation.isPoisoned=!0,n;Nf(t.exported.directives,n.compilation.directives),Nf(t.exported.pipes,n.compilation.pipes)}else if(Of(e))n.compilation.pipes.add(e);else{if(!Rf(e)&&!Pf(e))return n.compilation.isPoisoned=!0,n;n.compilation.directives.add(e)}}return n}isOrphanComponent(t){const e=pi(t);return!(!e||e.standalone)&&(this.resolveNgModulesDecls(),!this.ownerNgModule.has(t))}};function Lf(t,e,n){let r=n?t.styles:null,i=n?t.classes:null,o=0;if(null!==e)for(let t=0;t<e.length;t++){const n=e[t];if("number"==typeof n)o=n;else if(1==o)i=Qn(i,n);else if(2==o){r=Qn(r,n+": "+e[++t]+";")}}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=i:t.classesWithoutHost=i}function jf(t,e=Tr.Default){const n=ts();if(null===n)return jr(t,e);const r=ma(is(),n,tr(t),e);return r}function zf(){throw new Error("invalid")}function Bf(t,e,n,r,i){const o=null===r?null:{"":-1},s=i(t,n);if(null!==s){let r,i=null,a=null;const u=function(t){let e=null,n=!1;for(let r=0;r<t.length;r++){const i=t[r];if(0===r&&fo(i)&&(e=i),null!==i.findHostDirectiveDefs){n=!0;break}}if(!n)return null;let r=null,i=null,o=null;for(const n of t)null!==n.findHostDirectiveDefs&&(null!=r||(r=[]),null!=i||(i=new Map),null!=o||(o=new Map),Uf(n,r,o,i)),n===e&&(null!=r||(r=[]),r.push(n));if(null!==r)return r.push(...null===e?t:t.slice(1)),[r,i,o];return null}(s);null===u?r=s:[r,i,a]=u,function(t,e,n,r,i,o,s){const a=r.length;let u=!1;for(let i=0;i<a;i++){const o=r[i];!u&&fo(o)&&(u=!0,Hf(t,n,i)),pa(ca(n,e),t,o.type)}!function(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}(n,t.data.length,a);for(let t=0;t<a;t++){const e=r[t];e.providersResolver&&e.providersResolver(e)}let l=!1,c=!1,d=Od(t,e,a,null);a>0&&(n.directiveToIndex=new Map);for(let u=0;u<a;u++){const a=r[u];if(n.mergedAttrs=Xs(n.mergedAttrs,a.hostAttrs),Gf(t,n,e,d,a),Zf(d,a,i),null!==s&&s.has(a)){const[t,e]=s.get(a);n.directiveToIndex.set(a.type,[d,t+n.directiveStart,e+n.directiveStart])}else null!==o&&o.has(a)||n.directiveToIndex.set(a.type,d);null!==a.contentQueries&&(n.flags|=4),null===a.hostBindings&&null===a.hostAttrs&&0===a.hostVars||(n.flags|=64);const p=a.type.prototype;var h,f;if(!l&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck))(null!==(h=t.preOrderHooks)&&void 0!==h?h:t.preOrderHooks=[]).push(n.index),l=!0;if(!c&&(p.ngOnChanges||p.ngDoCheck))(null!==(f=t.preOrderCheckHooks)&&void 0!==f?f:t.preOrderCheckHooks=[]).push(n.index),c=!0;d++}!function(t,e,n){for(let r=e.directiveStart;r<e.directiveEnd;r++){const i=t.data[r];if(null!==n&&n.has(i)){const t=n.get(i);$f(0,e,t,r),$f(1,e,t,r),Wf(e,r,!0)}else Vf(0,e,i,r),Vf(1,e,i,r),Wf(e,r,!1)}}(t,n,o)}(t,e,n,r,o,i,a)}null!==o&&null!==r&&function(t,e,n){const r=t.localNames=[];for(let t=0;t<e.length;t+=2){const i=n[e[t+1]];if(null==i)throw new Fn(-301,!1);r.push(e[t],i)}}(n,r,o)}function Uf(t,e,n,r){const i=e.length;t.findHostDirectiveDefs(t,e,r),n.set(t,[i,e.length-1])}function Hf(t,e,n){var r;e.componentOffset=n,(null!==(r=t.components)&&void 0!==r?r:t.components=[]).push(e.index)}function Vf(t,e,n,r){const i=0===t?n.inputs:n.outputs;for(const n in i)if(i.hasOwnProperty(n)){var o,s;let i;var a,u;if(0===t)i=null!==(a=e.inputs)&&void 0!==a?a:e.inputs={};else i=null!==(u=e.outputs)&&void 0!==u?u:e.outputs={};null!==(s=(o=i)[n])&&void 0!==s||(o[n]=[]),i[n].push(r),qf(e,n)}}function $f(t,e,n,r){const i=0===t?n.inputs:n.outputs;for(const n in i)if(i.hasOwnProperty(n)){var o,s;const l=i[n];let c;var a,u;if(0===t)c=null!==(a=e.hostDirectiveInputs)&&void 0!==a?a:e.hostDirectiveInputs={};else c=null!==(u=e.hostDirectiveOutputs)&&void 0!==u?u:e.hostDirectiveOutputs={};null!==(s=(o=c)[l])&&void 0!==s||(o[l]=[]),c[l].push(r,n),qf(e,l)}}function qf(t,e){"class"===e?t.flags|=8:"style"===e&&(t.flags|=16)}function Wf(t,e,n){var r;const{attrs:i,inputs:o,hostDirectiveInputs:s}=t;var a;if(null===i||!n&&null===o||n&&null===s||ad(t))return null!==(a=t.initialInputs)&&void 0!==a||(t.initialInputs=[]),void t.initialInputs.push(null);let u=null,l=0;for(;l<i.length;){const t=i[l];if(0!==t)if(5!==t){if("number"==typeof t)break;if(!n&&o.hasOwnProperty(t)){const n=o[t];for(const r of n)if(r===e){null!=u||(u=[]),u.push(t,i[l+1]);break}}else if(n&&s.hasOwnProperty(t)){const n=s[t];for(let t=0;t<n.length;t+=2)if(n[t]===e){null!=u||(u=[]),u.push(n[t+1],i[l+1]);break}}l+=2}else l+=2;else l+=4}null!==(r=t.initialInputs)&&void 0!==r||(t.initialInputs=[]),t.initialInputs.push(u)}function Gf(t,e,n,r,i){t.data[r]=i;const o=i.factory||(i.factory=Kr(i.type)),s=new Ys(o,fo(i),jf);t.blueprint[r]=s,n[r]=s,function(t,e,n,r,i){const o=i.hostBindings;if(o){let i=t.hostBindingOpCodes;null===i&&(i=t.hostBindingOpCodes=[]);const s=~e.index;(function(t){let e=t.length;for(;e>0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(i)!=s&&i.push(s),i.push(n,r,o)}}(t,e,r,Od(t,n,i.hostVars,md),i)}function Zf(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;fo(e)&&(n[""]=t)}}function Yf(t,e,n,r,i,o,s,a){const u=e.consts,l=ef(e,t,2,r,No(u,s));return o&&Bf(e,n,l,No(u,a),i),l.mergedAttrs=Xs(l.mergedAttrs,l.attrs),null!==l.attrs&&Lf(l,l.attrs,!1),null!==l.mergedAttrs&&Lf(l,l.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,l),l}function Kf(t,e){Us(t,e),lo(e)&&t.queries.elementEnd(e)}class Qf extends Df{constructor(t){super(),Rn(this,"ngModule",void 0),this.ngModule=t}resolveComponentFactory(t){const e=pi(t);return new Jf(e,this.ngModule)}}class Jf extends Ef{get inputs(){var t;return null!==(t=this.cachedInputs)&&void 0!==t||(this.cachedInputs=function(t){return Object.keys(t).map((e=>{const[n,r,i]=t[e],o={propName:n,templateName:e,isSignal:!!(r&Nd.SignalBased)};return i&&(o.transform=i),o}))}(this.componentDef.inputs)),this.cachedInputs}get outputs(){var t;return null!==(t=this.cachedOutputs)&&void 0!==t||(this.cachedOutputs=function(t){return Object.keys(t).map((e=>({propName:t[e],templateName:e})))}(this.componentDef.outputs)),this.cachedOutputs}constructor(t,e){var n;super(),Rn(this,"componentDef",void 0),Rn(this,"ngModule",void 0),Rn(this,"selector",void 0),Rn(this,"componentType",void 0),Rn(this,"ngContentSelectors",void 0),Rn(this,"isBoundToModule",void 0),Rn(this,"cachedInputs",null),Rn(this,"cachedOutputs",null),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=gd(t.selectors),this.ngContentSelectors=null!==(n=t.ngContentSelectors)&&void 0!==n?n:[],this.isBoundToModule=!!e}create(e,n,r,i){Do(22);const o=h(null);try{const o=this.componentDef,s=Ad(0,null,null,1,0,null,null,null,null,[r?["ng-version","19.2.3"]:function(t){const e=[],n=[];let r=1,i=2;for(;r<t.length;){let o=t[r];if("string"==typeof o)2===i?""!==o&&e.push(o,t[++r]):8===i&&n.push(o);else{if(!cd(i))break;i=o}r++}return n.length&&e.push(1,...n),e}(this.componentDef.selectors[0])],null),a=function(t,e,n){let r=e instanceof Pi?e:null==e?void 0:e.injector;return r&&null!==t.getStandaloneInjector&&(r=t.getStandaloneInjector(r)||r),r?new na(n,r):n}(o,i||this.ngModule,e),u=function(t){const e=t.get(Tf,null);if(null===e)throw new Fn(407,!1);return{rendererFactory:e,sanitizer:t.get(xf,null),changeDetectionScheduler:t.get(Wa,null)}}(a),l=u.rendererFactory.createRenderer(null,o),c=r?function(e,n,r,i){const o=i.get(Zu,Gu)||r===t.ViewEncapsulation.ShadowDom;return e.selectRootElement(n,o)}(l,r,o.encapsulation,a):function(t,e){const n=(t.selectors[0][0]||"div").toLowerCase();return _d(e,n,"svg"===n?"svg":"math"===n?To:null)}(o,l),d=kd(null,s,null,512|Id(o),null,null,u,l,a,null,null);d[26]=c,Ts(d);let h=null;try{const t=Yf(oo,s,d,"#host",(()=>[this.componentDef]),!0,0);c&&(Td(l,c,t),Pu(c,d)),jd(s,d,t),Zl(s,t,d),Kf(s,t),void 0!==n&&function(t,e,n){const r=t.projection=[];for(let t=0;t<e.length;t++){const e=n[t];r.push(null!=e&&e.length?Array.from(e):null)}}(t,this.ngContentSelectors,n),h=Ro(t.index,d),d[8]=h[8],Kd(s,d,null)}catch(t){throw null!==h&&Ou(h),Ou(d),t}finally{Do(23),Os()}return new Xf(this.componentType,d)}finally{h(o)}}}class Xf extends Cf{constructor(t,e){super(),Rn(this,"_rootLView",void 0),Rn(this,"instance",void 0),Rn(this,"hostView",void 0),Rn(this,"changeDetectorRef",void 0),Rn(this,"componentType",void 0),Rn(this,"location",void 0),Rn(this,"previousInputValues",null),Rn(this,"_tNode",void 0),this._rootLView=e,this._tNode=Io(e[1],oo),this.location=yu(this._tNode,e),this.instance=Ro(this._tNode.index,e)[8],this.hostView=this.changeDetectorRef=new Zh(e,void 0,!1),this.componentType=t}setInput(t,e){var n;const r=this._tNode;if(null!==(n=this.previousInputValues)&&void 0!==n||(this.previousInputValues=new Map),this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),e))return;const i=this._rootLView;Zd(r,i[1],i,t,e);this.previousInputValues.set(t,e);Uh(Ro(r.index,i),1)}get injector(){return new Ea(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class tp{}Rn(tp,"__NG_ELEMENT_ID__",(function(){return op(is(),ts())}));const ep=tp,np=class extends ep{constructor(t,e,n){super(),Rn(this,"_lContainer",void 0),Rn(this,"_hostTNode",void 0),Rn(this,"_hostLView",void 0),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return yu(this._hostTNode,this._hostLView)}get injector(){return new Ea(this._hostTNode,this._hostLView)}get parentInjector(){const t=fa(this._hostTNode,this._hostLView);if(ra(t)){const e=oa(t,this._hostLView),n=ia(t),r=e[1].data[n+8];return new Ea(r,e)}return new Ea(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=rp(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-so}createEmbeddedView(t,e,n){let r,i;"number"==typeof n?r=n:null!=n&&(r=n.index,i=n.injector);const o=(this._lContainer,t.ssrId,null),s=t.createEmbeddedViewImpl(e||{},i,o);return this.insertImpl(s,r,Jd(this._hostTNode,o)),s}createComponent(t,e,n,r,i){var o;const s=t&&!Ki(t);let a;if(s)a=e;else{0;const t=e||{};0,a=t.index,n=t.injector,r=t.projectableNodes,i=t.environmentInjector||t.ngModuleRef}const u=s?t:new Jf(pi(t)),l=n||this.parentInjector;if(!i&&null==u.ngModule){const t=(s?l:this.parentInjector).get(Pi,null);t&&(i=t)}const c=pi(null!==(o=u.componentType)&&void 0!==o?o:{}),d=(this._lContainer,null==c?void 0:c.id,null),h=null,f=u.create(l,r,h,i);return this.insertImpl(f.hostView,a,Jd(this._hostTNode,d)),f}insert(t,e){return this.insertImpl(t,e,!0)}insertImpl(t,e,n){const r=t._lView;if(uo(r[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=r[3],n=new np(e,e[5],e[3]);n.detach(n.indexOf(t))}}const i=this._adjustIndex(e),o=this._lContainer;return $h(o,r,i,n),t.attachToViewContainerRef(),Xr(ip(o),i,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=rp(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),n=Wh(this._lContainer,e);n&&(ti(ip(this._lContainer),e),ah(n[1],n))}detach(t){const e=this._adjustIndex(t,-1),n=Wh(this._lContainer,e);return n&&null!=ti(ip(this._lContainer),e)?new Zh(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}};function rp(t){return t[8]}function ip(t){return t[8]||(t[8]=[])}function op(t,e){let n;const r=e[t.index];return uo(r)?n=r:(n=Hh(r,e,null,t),e[t.index]=n,Rd(e,n)),sp(n,e,t,r),new np(n,t,e)}let sp=function(t,e,n,r){if(t[7])return;let i;i=8&n.type?Ao(r):function(t,e){const n=t[11],r=n.createComment(""),i=ko(e,t),o=n.parentNode(i);return Sd(n,o,r,n.nextSibling(i),!1),r}(e,n);t[7]=i};class ap{constructor(t){Rn(this,"queryList",void 0),Rn(this,"matches",null),this.queryList=t}clone(){return new ap(this.queryList)}setDirty(){this.queryList.setDirty()}}class up{constructor(t=[]){Rn(this,"queries",void 0),this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,r=[];for(let t=0;t<n;t++){const n=e.getByIndex(t),i=this.queries[n.indexInDeclarationView];r.push(i.clone())}return new up(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==_p(t,e).matches&&this.queries[e].setDirty()}}class lp{constructor(t,e,n=null){Rn(this,"flags",void 0),Rn(this,"read",void 0),Rn(this,"predicate",void 0),this.flags=e,this.read=n,this.predicate="string"==typeof t?t.split(",").map((t=>t.trim())):t}}class cp{constructor(t=[]){Rn(this,"queries",void 0),this.queries=t}elementStart(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const r=null!==e?e.length:0,i=this.getByIndex(n).embeddedTView(t,r);i&&(i.indexInDeclarationView=n,null!==e?e.push(i):e=[i])}return null!==e?new cp(e):null}template(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class dp{constructor(t,e=-1){Rn(this,"metadata",void 0),Rn(this,"matches",null),Rn(this,"indexInDeclarationView",-1),Rn(this,"crossesNgTemplate",!1),Rn(this,"_declarationNodeIndex",void 0),Rn(this,"_appliesToNextNode",!0),this.metadata=t,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new dp(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const e=this._declarationNodeIndex;let n=t.parent;for(;null!==n&&8&n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(t,e){const n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){const i=n[r];this.matchTNodeWithReadOption(t,e,hp(e,i)),this.matchTNodeWithReadOption(t,e,wa(e,t,i,!1,!1))}else n===Yh?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,wa(e,t,n,!1,!1))}matchTNodeWithReadOption(t,e,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===bu||r===tp||r===Yh&&4&e.type)this.addMatch(e.index,-2);else{const n=wa(e,t,r,!1,!1);null!==n&&this.addMatch(e.index,n)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function hp(t,e){const n=t.localNames;if(null!==n)for(let t=0;t<n.length;t+=2)if(n[t]===e)return n[t+1];return null}function fp(t,e,n,r){return-1===n?function(t,e){return 11&t.type?yu(t,e):4&t.type?Jh(t,e):null}(e,t):-2===n?function(t,e,n){if(n===bu)return yu(e,t);if(n===Yh)return Jh(e,t);if(n===tp)return op(e,t)}(t,e,r):_a(t,t[1],n,e)}function pp(t,e,n,r){const i=e[18].queries[r];if(null===i.matches){const r=t.data,o=n.matches,s=[];for(let t=0;null!==o&&t<o.length;t+=2){const i=o[t];if(i<0)s.push(null);else{const a=r[i];s.push(fp(e,a,o[t+1],n.metadata.read))}}i.matches=s}return i.matches}function vp(t,e,n,r){const i=t.queries.getByIndex(n),o=i.matches;if(null!==o){const s=pp(t,e,i,n);for(let t=0;t<o.length;t+=2){const n=o[t];if(n>0)r.push(s[t/2]);else{const i=o[t+1],s=e[-n];for(let t=so;t<s.length;t++){const e=s[t];e[16]===e[3]&&vp(e[1],e,i,r)}if(null!==s[9]){const t=s[9];for(let e=0;e<t.length;e++){const n=t[e];vp(n[1],n,i,r)}}}}}return r}function gp(t,e){return t[18].queries[e].queryList}function mp(t,e,n){var r;const i=new Tu(!(4&~n));!function(t,e,n,r){const i=qo(e);i.push(n),t.firstCreatePass&&Wo(t).push(r,i.length-1)}(t,e,i,i.destroy);return(null!==(r=e[18])&&void 0!==r?r:e[18]=new up).queries.push(new ap(i))-1}function yp(t,e,n){const r=es();return r.firstCreatePass&&(wp(r,new lp(t,e,n),-1),2&~e||(r.staticViewQueries=!0)),mp(r,ts(),e)}function bp(t,e,n,r){const i=es();if(i.firstCreatePass){const o=is();wp(i,new lp(e,n,r),o.index),function(t,e){const n=t.contentQueries||(t.contentQueries=[]),r=n.length?n[n.length-1]:-1;e!==r&&n.push(t.queries.length-1,e)}(i,t),2&~n||(i.staticContentQueries=!0)}return mp(i,ts(),n)}function wp(t,e,n){null===t.queries&&(t.queries=new cp),t.queries.track(new dp(e,n))}function _p(t,e){return t.queries.getByIndex(e)}function Sp(t,e){const n=t[1],r=_p(n,e);return r.crossesNgTemplate?vp(n,t,e,[]):pp(n,t,r,e)}function Cp(t,e){const n=t[d];n._lView=ts(),n._queryIndex=e,n._queryList=gp(n._lView,e),n._queryList.onDirty((()=>n._dirtyCounter.update((t=>t+1))))}const Ep=!0;class Dp{}const Tp=Wn("ContentChildren",((t,e={})=>On({selector:t,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:Ep},e)),Dp),Ap=Wn("ContentChild",((t,e={})=>On({selector:t,first:!0,isViewQuery:!1,descendants:!0},e)),Dp),xp=Wn("ViewChildren",((t,e={})=>On({selector:t,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:Ep},e)),Dp),kp=Wn("ViewChild",((t,e)=>On({selector:t,first:!0,isViewQuery:!0,descendants:!0},e)),Dp);let Ip=new Map;const Op=new Set;function Rp(t){return!!(t.templateUrl&&!t.hasOwnProperty("template")||t.styleUrls&&t.styleUrls.length||t.styleUrl)}const Pp=new Map;function Fp(t,e){!function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${Kn(e)} vs ${Kn(e.name)}`)}(e,Pp.get(e)||null,t),Pp.set(e,t)}function Np(t,e,n){const r=ts(),i=Fs(),o=ko(i,r);if(2===i.type&&"iframe"===e.toLowerCase()){const t=o;t.src="",t.srcdoc=Jl(""),Dd(r[11],t);throw new Fn(-910,!1)}return t}let Mp=class{},Lp=class{};class jp extends Mp{constructor(t,e,n,r=!0){super(),Rn(this,"ngModuleType",void 0),Rn(this,"_parent",void 0),Rn(this,"_bootstrapComponents",[]),Rn(this,"_r3Injector",void 0),Rn(this,"instance",void 0),Rn(this,"destroyCbs",[]),Rn(this,"componentFactoryResolver",new Qf(this)),this.ngModuleType=t,this._parent=e;const i=fi(t);this._bootstrapComponents=rd(i.bootstrap),this._r3Injector=Ua(t,e,[{provide:Mp,useValue:this},{provide:Df,useValue:this.componentFactoryResolver},...n],Kn(t),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach((t=>t())),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class zp extends Lp{constructor(t){super(),Rn(this,"moduleType",void 0),this.moduleType=t}create(t){return new jp(this.moduleType,t,[])}}class Bp extends Mp{constructor(t){super(),Rn(this,"injector",void 0),Rn(this,"componentFactoryResolver",new Qf(this)),Rn(this,"instance",null);const e=new Fi([...t.providers,{provide:Mp,useValue:this},{provide:Df,useValue:this.componentFactoryResolver}],t.parent||Ri(),t.debugName,new Set(["environment"]));this.injector=e,t.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Up(t,e,n=null){return new Bp({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}class Hp{constructor(t){Rn(this,"_injector",void 0),Rn(this,"cachedInjectors",new Map),this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const e=bi(0,t.type),n=e.length>0?Up([e],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,n)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}}function Vp(e){return zn((()=>{var n;const r=Qp(e),i=On(On({},r),{},{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===t.ChangeDetectionStrategy.OnPush,directiveDefs:null,pipeDefs:null,dependencies:r.standalone&&e.dependencies||null,getStandaloneInjector:r.standalone?t=>t.get(Hp).getOrCreateStandaloneInjector(i):null,getExternalStyles:null,signals:null!==(n=e.signals)&&void 0!==n&&n,data:e.data||{},encapsulation:e.encapsulation||t.ViewEncapsulation.Emulated,styles:e.styles||ui,_:null,schemas:e.schemas||null,tView:null,id:""});r.standalone&&tl("NgStandalone"),Jp(i);const o=e.dependencies;return i.directiveDefs=Xp(o,!1),i.pipeDefs=Xp(o,!0),i.id=function(t){let e=0;const n="function"==typeof t.consts?"":t.consts,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,n,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];0;for(const t of r.join("|"))e=Math.imul(31,e)+t.charCodeAt(0)|0;e+=2147483648;const i="c"+e;0;return i}(i),i}))}function $p(t){return pi(t)||vi(t)}function qp(t){return null!==t}function Wp(t){return zn((()=>({type:t.type,bootstrap:t.bootstrap||ui,declarations:t.declarations||ui,imports:t.imports||ui,exports:t.exports||ui,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null})))}function Gp(t,e){if(null==t)return ai;const n={};for(const i in t)if(t.hasOwnProperty(i)){const o=t[i];let s,a,u,l;var r;if(Array.isArray(o))u=o[0],s=o[1],a=null!==(r=o[2])&&void 0!==r?r:s,l=o[3]||null;else s=o,a=o,u=Nd.None,l=null;n[s]=[i,u,l],e[s]=a}return n}function Zp(t){if(null==t)return ai;const e={};for(const n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);return e}function Yp(t){return zn((()=>{const e=Qp(t);return Jp(e),e}))}function Kp(t){var e;return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:null===(e=t.standalone)||void 0===e||e,onDestroy:t.type.prototype.ngOnDestroy||null}}function Qp(t){var e;const n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputConfig:t.inputs||ai,exportAs:t.exportAs||null,standalone:null===(e=t.standalone)||void 0===e||e,signals:!0===t.signals,selectors:t.selectors||ui,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Gp(t.inputs,n),outputs:Zp(t.outputs),debugInfo:null}}function Jp(t){var e;null===(e=t.features)||void 0===e||e.forEach((e=>e(t)))}function Xp(t,e){if(!t)return null;const n=e?gi:$p;return()=>("function"==typeof t?t():t).map((t=>n(t))).filter(qp)}Rn(Hp,"ɵprov",ir({token:fn=Hp,providedIn:"environment",factory:()=>new fn(jr(Pi))}));new Map;function tv(t){return Object.getPrototypeOf(t.prototype).constructor}function ev(t){let e=tv(t.type),n=!0;const r=[t];for(;e;){let i;if(fo(t))i=e.ɵcmp||e.ɵdir;else{if(e.ɵcmp)throw new Fn(903,!1);i=e.ɵdir}if(i){if(n){r.push(i);const e=t;e.inputs=rv(t.inputs),e.declaredInputs=rv(t.declaredInputs),e.outputs=rv(t.outputs);const n=i.hostBindings;n&&sv(t,n);const o=i.viewQuery,s=i.contentQueries;if(o&&iv(t,o),s&&ov(t,s),nv(t,i),Yn(t.outputs,i.outputs),fo(i)&&i.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(i.data.animation)}}const e=i.features;if(e)for(let r=0;r<e.length;r++){const i=e[r];i&&i.ngInherit&&i(t),i===ev&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let r=t.length-1;r>=0;r--){const i=t[r];i.hostVars=e+=i.hostVars,i.hostAttrs=Xs(i.hostAttrs,n=Xs(n,i.hostAttrs))}}(r)}function nv(t,e){for(const n in e.inputs){if(!e.inputs.hasOwnProperty(n))continue;if(t.inputs.hasOwnProperty(n))continue;const r=e.inputs[n];void 0!==r&&(t.inputs[n]=r,t.declaredInputs[n]=e.declaredInputs[n])}}function rv(t){return t===ai?{}:t===ui?[]:t}function iv(t,e){const n=t.viewQuery;t.viewQuery=n?(t,r)=>{e(t,r),n(t,r)}:e}function ov(t,e){const n=t.contentQueries;t.contentQueries=n?(t,r,i)=>{e(t,r,i),n(t,r,i)}:e}function sv(t,e){const n=t.hostBindings;t.hostBindings=n?(t,r)=>{e(t,r),n(t,r)}:e}const av=["providersResolver"],uv=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function lv(t){let e,n=tv(t.type);e=fo(t)?n.ɵcmp:n.ɵdir;const r=t;for(const t of av)r[t]=e[t];if(fo(e))for(const t of uv)r[t]=e[t]}function cv(t){const e=e=>{const n=Array.isArray(t);null===e.hostDirectives?(e.findHostDirectiveDefs=dv,e.hostDirectives=n?t.map(fv):[t]):n?e.hostDirectives.unshift(...t.map(fv)):e.hostDirectives.unshift(t)};return e.ngInherit=!0,e}function dv(t,e,n){if(null!==t.hostDirectives)for(const r of t.hostDirectives)if("function"==typeof r){const t=r();for(const r of t)hv(fv(r),e,n)}else hv(r,e,n)}function hv(t,e,n){const r=vi(t.directive);(function(t,e){for(const n in e)if(e.hasOwnProperty(n)){const r=e[n],i=t[n];0,t[r]=i}})(r.declaredInputs,t.inputs),dv(r,e,n),n.set(r,t),e.push(r)}function fv(t){return"function"==typeof t?{directive:tr(t),inputs:ai,outputs:ai}:{directive:tr(t.directive),inputs:pv(t.inputs),outputs:pv(t.outputs)}}function pv(t){if(void 0===t||0===t.length)return ai;const e={};for(let n=0;n<t.length;n+=2)e[t[n]]=t[n+1];return e}function vv(t){return!!gv(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function gv(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function mv(t,e,n){return t[e]=n}function yv(t,e){return t[e]}function bv(t,e,n){const r=t[e];return!Object.is(r,n)&&(t[e]=n,!0)}function wv(t,e,n,r){const i=bv(t,e,n);return bv(t,e+1,r)||i}function _v(t,e,n,r,i){const o=wv(t,e,n,r);return bv(t,e+2,i)||o}function Sv(t,e,n,r,i,o){const s=wv(t,e,n,r);return wv(t,e+2,i,o)||s}function Cv(t,e,n,r,i,o,s,a,u,l){const c=n+oo,d=e.firstCreatePass?function(t,e,n,r,i,o,s,a,u){const l=e.consts,c=ef(e,t,4,s||null,a||null);Ko()&&Bf(e,n,c,No(l,u),Hd),c.mergedAttrs=Xs(c.mergedAttrs,c.attrs),Us(e,c);const d=c.tView=Ad(2,c,r,i,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,l,null);return null!==e.queries&&(e.queries.template(e,c),d.queries=e.queries.embeddedTView(c)),c}(c,e,t,r,i,o,s,a,u):e.data[c];as(d,!1);const h=Dv(e,t);zs()&&yh(e,t,h,d),Pu(h,t);const f=Hh(h,t,h,d);return t[c]=f,Rd(t,f),ho(d)&&jd(e,t,d),null!=u&&zd(t,d,l),d}function Ev(t,e,n,r,i,o,s,a){const u=ts(),l=es();return Cv(u,l,t,e,n,r,i,No(l.consts,o),s,a),Ev}let Dv=function(t,e,n,r){return Bs(!0),e[11].createComment("")};function Tv(t,e){const n=e.get(Av);return n.add(t),()=>n.remove(t)}class Av{constructor(){Rn(this,"executingCallbacks",!1),Rn(this,"idleId",null),Rn(this,"current",new Set),Rn(this,"deferred",new Set),Rn(this,"ngZone",Br(ou)),Rn(this,"requestIdleCallbackFn",("undefined"!=typeof requestIdleCallback?requestIdleCallback:setTimeout).bind(globalThis)),Rn(this,"cancelIdleCallbackFn",("undefined"!=typeof requestIdleCallback?cancelIdleCallback:clearTimeout).bind(globalThis))}add(t){(this.executingCallbacks?this.deferred:this.current).add(t),null===this.idleId&&this.scheduleIdleCallback()}remove(t){const{current:e,deferred:n}=this;e.delete(t),n.delete(t),0===e.size&&0===n.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const t=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const t of this.current)t();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const t of this.deferred)this.current.add(t);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn((()=>this.ngZone.run(t)))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}}function xv(t){return(e,n)=>kv(t,e,n)}function kv(t,e,n){const r=n.get(Iv),i=n.get(ou);return r.add(t,e,i),()=>r.remove(e)}Rn(Av,"ɵprov",ir({token:pn=Av,providedIn:"root",factory:()=>new pn}));class Iv{constructor(){Rn(this,"executingCallbacks",!1),Rn(this,"timeoutId",null),Rn(this,"invokeTimerAt",null),Rn(this,"current",[]),Rn(this,"deferred",[])}add(t,e,n){const r=this.executingCallbacks?this.deferred:this.current;this.addToQueue(r,Date.now()+t,e),this.scheduleTimer(n)}remove(t){const{current:e,deferred:n}=this;-1===this.removeFromQueue(e,t)&&this.removeFromQueue(n,t),0===e.length&&0===n.length&&this.clearTimeout()}addToQueue(t,e,n){let r=t.length;for(let n=0;n<t.length;n+=2){if(t[n]>e){r=n;break}}ri(t,r,e,n)}removeFromQueue(t,e){let n=-1;for(let r=0;r<t.length;r+=2){if(t[r+1]===e){n=r;break}}return n>-1&&ni(t,n,2),n}scheduleTimer(t){const e=()=>{this.clearTimeout(),this.executingCallbacks=!0;const e=[...this.current],n=Date.now();for(let t=0;t<e.length;t+=2){const r=e[t+1];if(!(e[t]<=n))break;r()}let r=-1;for(let t=0;t<this.current.length;t+=2){if(!(this.current[t]<=n))break;r=t+1}if(r>=0&&ni(this.current,0,r+1),this.executingCallbacks=!1,this.deferred.length>0){for(let t=0;t<this.deferred.length;t+=2){const e=this.deferred[t],n=this.deferred[t+1];this.addToQueue(this.current,e,n)}this.deferred.length=0}this.scheduleTimer(t)};if(this.current.length>0){const n=Date.now(),r=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-r>16){this.clearTimeout();const i=Math.max(r-n,16);this.invokeTimerAt=r,this.timeoutId=t.runOutsideAngular((()=>setTimeout((()=>t.run(e)),i)))}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}}Rn(Iv,"ɵprov",ir({token:vn=Iv,providedIn:"root",factory:()=>new vn}));class Ov{constructor(){Rn(this,"cachedInjectors",new Map)}getOrCreateInjector(t,e,n,r){if(!this.cachedInjectors.has(t)){const i=n.length>0?Up(n,e,r):null;this.cachedInjectors.set(t,i)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}}Rn(Ov,"ɵprov",ir({token:gn=Ov,providedIn:"environment",factory:()=>new gn}));const Rv=new fr("");function Pv(t,e,n){return t.get(Ov).getOrCreateInjector(e,t,n,"")}function Fv(t,e,n,r=!1){var i;const o=n[3],s=o[1];if(vo(o))return;const a=wl(o,e),u=a[1],l=a[7];if(!(null!==l&&t<l)&&jv(u,t)&&jv(null!==(i=a[0])&&void 0!==i?i:-1,t)){const i=_l(s,e),u=!r&&("undefined"==typeof ngServerMode||!ngServerMode)&&(null!==Cl(i)||null!==Sl(i,hl.Loading)||Sl(i,hl.Placeholder));0;const l=u?Uv:Nv;try{l(t,a,n,e,o)}catch(t){Gd(o,t)}}}function Nv(t,e,n,r,i){Do(20);const o=function(t,e,n){const r=_l(e[1],n);switch(t){case hl.Complete:return r.primaryTmplIndex;case hl.Loading:return r.loadingTmplIndex;case hl.Error:return r.errorTmplIndex;case hl.Placeholder:return r.placeholderTmplIndex;default:return null}}(t,i,r);if(null!==o){e[1]=t;const a=i[1],u=Io(a,o+oo),l=0;let c;if(qh(n,l),t===hl.Complete){const t=_l(a,r),e=t.providers;e&&e.length>0&&(c=function(t,e,n){if(t instanceof na){const r=t.injector,i=Pv(t.parentInjector,e,n);return new na(r,i)}const r=t.get(Pi);if(r!==t){const i=Pv(r,e,n);return new na(t,i)}return Pv(t,e,n)}(i[9],t,e))}const{dehydratedView:d,dehydratedViewIx:h}=function(t,e){var n,r;const i=null!==(n=null===(r=t[6])||void 0===r?void 0:r.findIndex((t=>t.data.s===e[1])))&&void 0!==n?n:-1;return{dehydratedView:i>-1?t[6][i]:null,dehydratedViewIx:i}}(n,e),f=Qd(i,u,null,{injector:c,dehydratedView:d});var s;if($h(n,f,l,Jd(u,d)),Uh(f,2),h>-1)null===(s=n[6])||void 0===s||s.splice(h,1);if((t===hl.Complete||t===hl.Error)&&Array.isArray(e[8])){for(const t of e[8])t();e[8]=null}}Do(21)}function Mv(t,e,n,r,i){const o=Date.now(),s=_l(i[1],r);if(null===e[2]||e[2]<=o){e[2]=null;const a=Cl(s),u=null!==e[3];if(t!==hl.Loading||null===a||u){t>hl.Loading&&u&&(e[3](),e[3]=null,e[0]=null),Nv(t,e,n,r,i);const a=Sl(s,t);null!==a&&(e[2]=o+a,Lv(a,e,r,n,i))}else{e[0]=t;const o=Lv(a,e,r,n,i);e[3]=o}}else e[0]=t}function Lv(t,e,n,r,i){return kv(t,(()=>{const t=e[0];e[2]=null,e[0]=null,null!==t&&Fv(t,n,r)}),i[9])}function jv(t,e){return t<e}function zv(t,e){const n=t[e.index];Fv(hl.Placeholder,e,n)}function Bv(t,e,n){t.loadingPromise.then((()=>{t.loadingState===dl.COMPLETE?Fv(hl.Complete,e,n):t.loadingState===dl.FAILED&&Fv(hl.Error,e,n)}))}let Uv=null;function Hv(t,e,n,r){const i=t.consts;null!=n&&(e.placeholderBlockConfig=No(i,n)),null!=r&&(e.loadingBlockConfig=No(i,r)),null===Uv&&(Uv=Mv)}function Vv(t,e,n,r){return zn((()=>{const i=t;null!==e&&(i.hasOwnProperty("decorators")&&void 0!==i.decorators?i.decorators.push(...e):i.decorators=e),null!==n&&(i.ctorParameters=n),null!==r&&(i.hasOwnProperty("propDecorators")&&void 0!==i.propDecorators?i.propDecorators=On(On({},i.propDecorators),r):i.propDecorators=r)}))}class $v{log(t){console.log(t)}warn(t){console.warn(t)}}mn=$v,Rn($v,"ɵfac",(function(t){return new(t||mn)})),Rn($v,"ɵprov",ir({token:mn,factory:mn.ɵfac,providedIn:"platform"}));new class{constructor(){Rn(this,"resolverToTokenToDependencies",new WeakMap),Rn(this,"resolverToProviders",new WeakMap),Rn(this,"resolverToEffects",new WeakMap),Rn(this,"standaloneInjectorToComponent",new WeakMap)}reset(){this.resolverToTokenToDependencies=new WeakMap,this.resolverToProviders=new WeakMap,this.standaloneInjectorToComponent=new WeakMap}};const qv=new fr(""),Wv=new fr("");class Gv{constructor(t,e,n){Rn(this,"_ngZone",void 0),Rn(this,"registry",void 0),Rn(this,"_isZoneStable",!0),Rn(this,"_callbacks",[]),Rn(this,"taskTrackingZone",null),this._ngZone=t,this.registry=e,Yv||(Yv=n,n.addToWindow(e)),this._watchAngularEvents(),t.run((()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")}))}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular((()=>{this._ngZone.onStable.subscribe({next:()=>{ou.assertNotInAngularZone(),queueMicrotask((()=>{this._isZoneStable=!0,this._runCallbacksIfReady()}))}})}))}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask((()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}}));else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter((e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map((t=>({source:t.source,creationLocation:t.creationLocation,data:t.data}))):[]}addCallback(t,e,n){let r=-1;e&&e>0&&(r=setTimeout((()=>{this._callbacks=this._callbacks.filter((t=>t.timeoutId!==r)),t()}),e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,e,n){return[]}}yn=Gv,Rn(Gv,"ɵfac",(function(t){return new(t||yn)(jr(ou),jr(Zv),jr(Wv))})),Rn(Gv,"ɵprov",ir({token:yn,factory:yn.ɵfac}));class Zv{constructor(){Rn(this,"_applications",new Map)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){var n,r;return null!==(n=null===(r=Yv)||void 0===r?void 0:r.findTestabilityInTree(this,t,e))&&void 0!==n?n:null}}let Yv;bn=Zv,Rn(Zv,"ɵfac",(function(t){return new(t||bn)})),Rn(Zv,"ɵprov",ir({token:bn,factory:bn.ɵfac,providedIn:"platform"}));class Kv{}Rn(Kv,"ɵprov",ir({token:Kv,providedIn:"root",factory:()=>new Qv}));class Qv{constructor(){Rn(this,"queuedEffectCount",0),Rn(this,"queues",new Map)}schedule(t){this.enqueue(t)}remove(t){const e=t.zone,n=this.queues.get(e);n.has(t)&&(n.delete(t),this.queuedEffectCount--)}enqueue(t){const e=t.zone;this.queues.has(e)||this.queues.set(e,new Set);const n=this.queues.get(e);n.has(t)||(this.queuedEffectCount++,n.add(t))}flush(){for(;this.queuedEffectCount>0;)for(const[t,e]of this.queues)null===t?this.flushQueue(e):t.run((()=>this.flushQueue(e)))}flushQueue(t){for(const e of t)t.delete(e),this.queuedEffectCount--,e.run()}}function Jv(t){return!!t&&"function"==typeof t.then}function Xv(t){return!!t&&"function"==typeof t.subscribe}const tg=new fr("");class eg{constructor(){var t;Rn(this,"resolve",void 0),Rn(this,"reject",void 0),Rn(this,"initialized",!1),Rn(this,"done",!1),Rn(this,"donePromise",new Promise(((t,e)=>{this.resolve=t,this.reject=e}))),Rn(this,"appInits",null!==(t=Br(tg,{optional:!0}))&&void 0!==t?t:[]),Rn(this,"injector",Br(Ha))}runInitializers(){if(this.initialized)return;const t=[];for(const e of this.appInits){const n=Bi(this.injector,e);if(Jv(n))t.push(n);else if(Xv(n)){const e=new Promise(((t,e)=>{n.subscribe({complete:t,error:e})}));t.push(e)}}const e=()=>{this.done=!0,this.resolve()};Promise.all(t).then((()=>{e()})).catch((t=>{this.reject(t)})),0===t.length&&e(),this.initialized=!0}}wn=eg,Rn(eg,"ɵfac",(function(t){return new(t||wn)})),Rn(eg,"ɵprov",ir({token:wn,factory:wn.ɵfac,providedIn:"root"}));const ng=new fr("");function rg(){N=()=>{throw new Fn(600,!1)}}function ig(t,e){return Array.isArray(e)?e.reduce(ig,t):On(On({},t),e)}class og{get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}constructor(){Rn(this,"_runningTick",!1),Rn(this,"_destroyed",!1),Rn(this,"_destroyListeners",[]),Rn(this,"_views",[]),Rn(this,"internalErrorHandler",Br(pu)),Rn(this,"afterRenderManager",Br(rl)),Rn(this,"zonelessEnabled",Br(Ga)),Rn(this,"rootEffectScheduler",Br(Kv)),Rn(this,"dirtyFlags",0),Rn(this,"tracingSnapshot",null),Rn(this,"externalTestViews",new Set),Rn(this,"afterTick",new Pt),Rn(this,"componentTypes",[]),Rn(this,"components",[]),Rn(this,"isStable",Br(Ka).hasPendingTasks.pipe(ve((t=>!t)))),Rn(this,"_injector",Br(Pi)),Rn(this,"_rendererFactory",null),Rn(this,"tickImpl",(()=>{if(this._runningTick)throw new Fn(101,!1);const t=h(null);try{this._runningTick=!0,this.synchronize()}catch(t){this.internalErrorHandler(t)}finally{var e;this._runningTick=!1,null===(e=this.tracingSnapshot)||void 0===e||e.dispose(),this.tracingSnapshot=null,h(t),this.afterTick.next(),Do(13)}})),Br(Ju,{optional:!0})}whenStable(){let t;return new Promise((e=>{t=this.isStable.subscribe({next:t=>{t&&e()}})})).finally((()=>{t.unsubscribe()}))}get injector(){return this._injector}bootstrap(t,e){Do(10);const n=t instanceof Ef;if(!this._injector.get(eg).done){let t="";throw new Fn(405,t)}let r;if(n)r=t;else{r=this._injector.get(Df).resolveComponentFactory(t)}this.componentTypes.push(r.componentType);const i=r.isBoundToModule?void 0:this._injector.get(Mp);const o=e||r.selector,s=r.create(Ha.NULL,[],o,i),a=s.location.nativeElement,u=s.injector.get(qv,null);return null==u||u.registerApplication(a),s.onDestroy((()=>{this.detachView(s.hostView),sg(this.components,s),null==u||u.unregisterApplication(a)})),this._loadComponent(s),Do(11,s),s}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Do(12),null!==this.tracingSnapshot?this.tracingSnapshot.run(Qu.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}synchronize(){null!==this._rendererFactory||this._injector.destroyed||(this._rendererFactory=this._injector.get(Tf,null,{optional:!0}));let t=0;for(;0!==this.dirtyFlags&&t++<10;)Do(14),this.synchronizeOnce(),Do(15)}synchronizeOnce(){if(16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),7&this.dirtyFlags){const t=Boolean(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:e,notifyErrorHandler:n}of this.allViews)ag(e,n,t,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}else{var t,e,n,r;null===(t=this._rendererFactory)||void 0===t||null===(e=t.begin)||void 0===e||e.call(t),null===(n=this._rendererFactory)||void 0===n||null===(r=n.end)||void 0===r||r.call(n)}8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some((({_lView:t})=>zo(t)))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;sg(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const e=this._injector.get(ng,[]);e.forEach((e=>e(t)))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach((t=>t())),this._views.slice().forEach((t=>t.destroy()))}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>sg(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new Fn(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}}function sg(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function ag(t,e,n,r){if(!n&&!zo(t))return;Fh(t,e,n&&!r?0:1)}function ug(t){const e=ts(),n=is();if(zv(e,n),!fg(0,e))return;const r=e[9];vl(0,wl(e,n),t((()=>pg(0,e,n)),r))}function lg(t,e){if("undefined"!=typeof ngServerMode&&ngServerMode)return;const n=ts(),r=n[9],i=is(),o=_l(n[1],i);if(o.loadingState===dl.NOT_STARTED){vl(1,wl(n,i),t((()=>dg(o,n,i)),r))}}function cg(t,e,n){if("undefined"!=typeof ngServerMode&&ngServerMode)return;const r=e[9],i=wl(e,n),o=i[6];vl(2,i,t((()=>vg(r,o)),r))}function dg(t,e,n){hg(t,e,n)}function hg(t,e,n){const r=e[9],i=e[1];var o;if(t.loadingState!==dl.NOT_STARTED)return null!==(o=t.loadingPromise)&&void 0!==o?o:Promise.resolve();const s=wl(e,n),a=function(t,e){return Io(t,e.primaryTmplIndex+oo)}(i,t);t.loadingState=dl.IN_PROGRESS,gl(1,s);let u=t.dependencyResolverFn;const l=r.get(Ka),c=l.add();return u?(t.loadingPromise=Promise.allSettled(u()).then((n=>{let r=!1;const i=[],o=[];for(const t of n){if("fulfilled"!==t.status){r=!0;break}{const e=t.value,n=pi(e)||vi(e);if(n)i.push(n);else{const t=gi(e);t&&o.push(t)}}}if(t.loadingPromise=null,l.remove(c),r){if(t.loadingState=dl.FAILED,null===t.errorTmplIndex){const t=new Fn(-750,!1);Gd(e,t)}}else{t.loadingState=dl.COMPLETE;const e=a.tView;if(i.length>0){e.directiveRegistry=El(e.directiveRegistry,i);const n=bi(!1,...i.map((t=>t.type)));t.providers=n}o.length>0&&(e.pipeRegistry=El(e.pipeRegistry,o))}})),t.loadingPromise):(t.loadingPromise=Promise.resolve().then((()=>{t.loadingPromise=null,t.loadingState=dl.COMPLETE,l.remove(c)})),t.loadingPromise)}function fg(t,e){if(0===t&&"undefined"!=typeof ngServerMode&&ngServerMode)return!1;const n=e[9].get(Rv,null,{optional:!0});return(null==n?void 0:n.behavior)!==pl.Manual}function pg(t,e,n){const r=e[1],i=e[n.index];if(!fg(t,e))return;const o=wl(e,n),s=_l(r,n);switch(ml(o),s.loadingState){case dl.NOT_STARTED:Fv(hl.Loading,n,i),hg(s,e,n),s.loadingState===dl.IN_PROGRESS&&Bv(s,n,i);break;case dl.IN_PROGRESS:Fv(hl.Loading,n,i),Bv(s,n,i);break;case dl.COMPLETE:Fv(hl.Complete,n,i);break;case dl.FAILED:Fv(hl.Error,n,i)}}async function vg(t,e,n){const r=t.get(Ul);if(r.hydrating.has(e))return;const{parentBlockPromise:i,hydrationQueue:o}=function(t,e){const n=e.get(Ul),r=e.get(Wu).get("__nghDeferData__",{});let i=!1,o=t,s=null;const a=[];for(;!i&&o;){i=n.has(o);const t=n.hydrating.get(o);if(null===s&&null!=t){s=t.promise;break}a.unshift(o),o=r[o].p}return{parentBlockPromise:s,hydrationQueue:a}}(e,t);if(0===o.length)return;null!==i&&o.shift(),function(t,e){for(let n of e)t.hydrating.set(n,Promise.withResolvers())}(r,o),null!==i&&await i;const s=o[0];r.has(s)?await gg(t,o):r.awaitParentBlock(s,(async()=>await gg(t,o)))}async function gg(t,e,n){var r;const i=t.get(Ul),o=i.hydrating,s=t.get(Ka),a=s.add();for(let n=0;n<e.length;n++){const r=e[n],s=i.get(r);if(null==s){mg(n,e,i),yg(e.slice(n),i);break}if(await wg(s),await bg(t),wl((u=s).lView,u.tNode)[1]===hl.Error){yf(s),yg(e.slice(n),i);break}o.get(r).resolve()}var u;const l=e[e.length-1];await(null===(r=o.get(l))||void 0===r?void 0:r.promise),s.remove(a),Sf(i.get(l),e,i,t.get(og))}function mg(t,e,n){const r=t-1,i=r>-1?n.get(e[r]):null;i&&wf(i.lContainer)}function yg(t,e){const n=e.hydrating;for(const e in t){var r;null===(r=n.get(e))||void 0===r||r.reject()}e.cleanup(t)}function bg(t){return new Promise((e=>ul(e,{injector:t})))}async function wg(t){const{tNode:e,lView:n}=t,r=wl(n,e);return new Promise((t=>{!function(t,e){Array.isArray(t[8])||(t[8]=[]);t[8].push(e)}(r,t),pg(2,n,e)}))}function _g(t,e,n){return 0===t?Sg(e,n):2===t?!Sg(e,n):!("undefined"!=typeof ngServerMode&&ngServerMode)}function Sg(t,e){const n=t[9],r=_l(t[1],e),i=ql(n),o=null!==r.flags&&!(1&~r.flags);if("undefined"!=typeof ngServerMode&&ngServerMode)return!i||!o;const s=null!==wl(t,e)[6];return!(o&&s&&i)}function Cg(t,e){var n;const r=_l(t,e);return null!==(n=r.hydrateTriggers)&&void 0!==n?n:r.hydrateTriggers=new Map}function Eg(t,e,n,r,i,o,s,a,u,l){var c;const d=ts(),h=es(),f=t+oo,p=Cv(d,h,t,null,0,0),v=d[9];if(h.firstCreatePass){tl("NgDefer");const t={primaryTmplIndex:e,loadingTmplIndex:null!=r?r:null,placeholderTmplIndex:null!=i?i:null,errorTmplIndex:null!=o?o:null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:null!=n?n:null,loadingState:dl.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:null!=l?l:0};null==u||u(h,t,a,s),function(t,e,n){const r=bl(e);t.data[r]=n}(h,f,t)}const g=d[f];let m=null,y=null;if((null===(c=g[6])||void 0===c?void 0:c.length)>0){var b;const t=g[6][0].data;y=null!==(b=t.di)&&void 0!==b?b:null,m=t.s}const w=[null,fl.Initial,null,null,null,null,y,m,null,null];!function(t,e,n){t[1];const r=bl(e);t[r]=n}(d,f,w);let _=null;null!==y&&(_=v.get(Ul),_.add(y,{lView:d,tNode:p,lContainer:g}));const S=()=>{var t;(ml(w),null!==y)&&(null===(t=_)||void 0===t||t.cleanup([y]))};vl(0,w,(()=>Vo(d,S))),Ho(d,S)}function Dg(t){const e=ts(),n=Fs();if(!_g(0,e,n))return;if(bv(e,gs(),t)){const r=h(null);try{const r=Boolean(t),i=wl(e,n)[1];!1===r&&i===fl.Initial?zv(e,n):!0!==r||i!==fl.Initial&&i!==hl.Placeholder||pg(0,e,n)}finally{h(r)}}}function Tg(t){const e=ts(),n=Fs();if(!_g(1,e,n))return;if(bv(e,gs(),t)){const n=h(null);try{const n=Boolean(t),r=e[1],i=Fs(),o=_l(r,i);!0===n&&o.loadingState===dl.NOT_STARTED&&dg(o,e,i)}finally{h(n)}}}function Ag(t){const e=ts(),n=Fs();if(!_g(2,e,n))return;const r=gs();if(Cg(es(),n).set(6,null),bv(e,r,t))if("undefined"!=typeof ngServerMode&&ngServerMode)pg(2,e,n);else{const r=e[9],i=h(null);try{if(!0===Boolean(t)){const t=wl(e,n)[6];vg(r,t)}}finally{h(i)}}}function xg(){const t=ts(),e=is();if(!_g(2,t,e))return;Cg(es(),e).set(7,null),"undefined"!=typeof ngServerMode&&ngServerMode&&pg(2,t,e)}function kg(){const t=ts(),e=is();_g(0,t,e)&&ug(Tv)}function Ig(){const t=ts(),e=is();_g(1,t,e)&&lg(Tv)}function Og(){const t=ts(),e=is();if(!_g(2,t,e))return;Cg(es(),e).set(0,null),"undefined"!=typeof ngServerMode&&ngServerMode?pg(2,t,e):cg(Tv,t,e)}function Rg(){const t=ts(),e=is();if(!_g(0,t,e))return;null===_l(t[1],e).loadingTmplIndex&&zv(t,e),pg(0,t,e)}function Pg(){const t=ts(),e=is();if(!_g(1,t,e))return;const n=_l(t[1],e);n.loadingState===dl.NOT_STARTED&&hg(n,t,e)}function Fg(){const t=ts(),e=is();if(!_g(2,t,e))return;if(Cg(es(),e).set(1,null),"undefined"!=typeof ngServerMode&&ngServerMode)pg(2,t,e);else{const n=t[9],r=wl(t,e)[6];vg(n,r)}}function Ng(t){const e=ts(),n=is();_g(0,e,n)&&ug(xv(t))}function Mg(t){const e=ts(),n=is();_g(1,e,n)&&lg(xv(t))}function Lg(t){const e=ts(),n=is();if(!_g(2,e,n))return;Cg(es(),n).set(5,{delay:t}),"undefined"!=typeof ngServerMode&&ngServerMode?pg(2,e,n):cg(xv(t),e,n)}function jg(t,e){const n=ts(),r=is();_g(0,n,r)&&(zv(n,r),"undefined"!=typeof ngServerMode&&ngServerMode||jl(n,r,t,e,Nl,(()=>pg(0,n,r)),0))}function zg(t,e){const n=ts(),r=is();if(!_g(1,n,r))return;const i=_l(n[1],r);i.loadingState===dl.NOT_STARTED&&jl(n,r,t,e,Nl,(()=>dg(i,n,r)),1)}function Bg(){const t=ts(),e=is();if(!_g(2,t,e))return;Cg(es(),e).set(4,null),"undefined"!=typeof ngServerMode&&ngServerMode&&pg(2,t,e)}function Ug(t,e){const n=ts(),r=is();_g(0,n,r)&&(zv(n,r),"undefined"!=typeof ngServerMode&&ngServerMode||jl(n,r,t,e,Fl,(()=>pg(0,n,r)),0))}function Hg(t,e){const n=ts(),r=is();if(!_g(1,n,r))return;const i=_l(n[1],r);i.loadingState===dl.NOT_STARTED&&jl(n,r,t,e,Fl,(()=>dg(i,n,r)),1)}function Vg(){const t=ts(),e=is();if(!_g(2,t,e))return;Cg(es(),e).set(3,null),"undefined"!=typeof ngServerMode&&ngServerMode&&pg(2,t,e)}function $g(t,e){const n=ts(),r=is();_g(0,n,r)&&(zv(n,r),"undefined"!=typeof ngServerMode&&ngServerMode||jl(n,r,t,e,Ml,(()=>pg(0,n,r)),0))}function qg(t,e){const n=ts(),r=is();if(!_g(1,n,r))return;const i=_l(n[1],r);i.loadingState===dl.NOT_STARTED&&jl(n,r,t,e,Ml,(()=>dg(i,n,r)),1)}function Wg(){const t=ts(),e=is();if(!_g(2,t,e))return;Cg(es(),e).set(2,null),"undefined"!=typeof ngServerMode&&ngServerMode&&pg(2,t,e)}function Gg(t,e,n,r){const i=ts(),o=gs();if(bv(i,o,e)){es();const o=Fs();Vd(o,i,t,e,n,r)}return Gg}function Zg(t,e){let n=!1,r=ps();for(let i=1;i<e.length;i+=2)n=bv(t,r++,e[i])||n;if(vs(r),!n)return md;let i=e[0];for(let t=1;t<e.length;t+=2)i+=Sr(e[t])+e[t+1];return i}function Yg(t,e,n,r){return bv(t,gs(),n)?e+Sr(n)+r:md}function Kg(t,e,n,r,i,o){const s=wv(t,ps(),n,i);return ms(2),s?e+Sr(n)+r+Sr(i)+o:md}function Qg(t,e,n,r,i,o,s,a){const u=_v(t,ps(),n,i,s);return ms(3),u?e+Sr(n)+r+Sr(i)+o+Sr(s)+a:md}function Jg(t,e,n,r,i,o,s,a,u,l){const c=Sv(t,ps(),n,i,s,u);return ms(4),c?e+Sr(n)+r+Sr(i)+o+Sr(s)+a+Sr(u)+l:md}function Xg(t,e,n,r,i,o,s,a,u,l,c,d){const h=ps();let f=Sv(t,h,n,i,s,u);return f=bv(t,h+4,c)||f,ms(5),f?e+Sr(n)+r+Sr(i)+o+Sr(s)+a+Sr(u)+l+Sr(c)+d:md}function tm(t,e,n,r,i,o,s,a,u,l,c,d,h,f){const p=ps();let v=Sv(t,p,n,i,s,u);return v=wv(t,p+4,c,h)||v,ms(6),v?e+Sr(n)+r+Sr(i)+o+Sr(s)+a+Sr(u)+l+Sr(c)+d+Sr(h)+f:md}function em(t,e,n,r,i,o,s,a,u,l,c,d,h,f,p,v){const g=ps();let m=Sv(t,g,n,i,s,u);return m=_v(t,g+4,c,h,p)||m,ms(7),m?e+Sr(n)+r+Sr(i)+o+Sr(s)+a+Sr(u)+l+Sr(c)+d+Sr(h)+f+Sr(p)+v:md}function nm(t,e,n,r,i,o,s,a,u,l,c,d,h,f,p,v,g,m){const y=ps();let b=Sv(t,y,n,i,s,u);return b=Sv(t,y+4,c,h,p,g)||b,ms(8),b?e+Sr(n)+r+Sr(i)+o+Sr(s)+a+Sr(u)+l+Sr(c)+d+Sr(h)+f+Sr(p)+v+Sr(g)+m:md}function rm(t,e,n,r,i,o){const s=ts(),a=Yg(s,e,n,r);if(a!==md){const e=Fs();Vd(e,s,t,a,i,o)}return rm}function im(t,e,n,r,i,o,s,a){const u=ts(),l=Kg(u,e,n,r,i,o);if(l!==md){const e=Fs();Vd(e,u,t,l,s,a)}return im}function om(t,e,n,r,i,o,s,a,u,l){const c=ts(),d=Qg(c,e,n,r,i,o,s,a);if(d!==md){const e=Fs();Vd(e,c,t,d,u,l)}return om}function sm(t,e,n,r,i,o,s,a,u,l,c,d){const h=ts(),f=Jg(h,e,n,r,i,o,s,a,u,l);if(f!==md){const e=Fs();Vd(e,h,t,f,c,d)}return sm}function am(t,e,n,r,i,o,s,a,u,l,c,d,h,f){const p=ts(),v=Xg(p,e,n,r,i,o,s,a,u,l,c,d);if(v!==md){const e=Fs();Vd(e,p,t,v,h,f)}return am}function um(t,e,n,r,i,o,s,a,u,l,c,d,h,f,p,v){const g=ts(),m=tm(g,e,n,r,i,o,s,a,u,l,c,d,h,f);if(m!==md){const e=Fs();Vd(e,g,t,m,p,v)}return um}function lm(t,e,n,r,i,o,s,a,u,l,c,d,h,f,p,v,g,m){const y=ts(),b=em(y,e,n,r,i,o,s,a,u,l,c,d,h,f,p,v);if(b!==md){const e=Fs();Vd(e,y,t,b,g,m)}return lm}function cm(t,e,n,r,i,o,s,a,u,l,c,d,h,f,p,v,g,m,y,b){const w=ts(),_=nm(w,e,n,r,i,o,s,a,u,l,c,d,h,f,p,v,g,m);if(_!==md){const e=Fs();Vd(e,w,t,_,y,b)}return cm}function dm(t,e,n,r){const i=ts(),o=Zg(i,e);if(o!==md){const e=Fs();Vd(e,i,t,o,n,r)}return dm}function hm(t,e){return t<<17|e<<2}function fm(t){return t>>17&32767}function pm(t){return 2|t}function vm(t){return(131068&t)>>2}function gm(t,e){return-131069&t|e<<2}function mm(t){return 1|t}function ym(t,e,n,r,i,o){let s=o?e.classBindings:e.styleBindings,a=fm(s),u=vm(s);t[r]=n;let l,c=!1;if(Array.isArray(n)){const t=n;l=t[1],(null===l||si(t,l)>0)&&(c=!0)}else l=n;if(i){if(0!==u){const e=fm(t[a+1]);t[r+1]=hm(e,a),0!==e&&(t[e+1]=gm(t[e+1],r)),t[a+1]=131071&t[a+1]|r<<17}else t[r+1]=hm(a,0),0!==a&&(t[a+1]=gm(t[a+1],r)),a=r}else t[r+1]=hm(u,0),0===a?a=r:t[u+1]=gm(t[u+1],r),u=r;c&&(t[r+1]=pm(t[r+1])),bm(t,l,r,!0),bm(t,l,r,!1),function(t,e,n,r,i){const o=i?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof e&&si(o,e)>=0&&(n[r+1]=mm(n[r+1]))}(e,l,t,r,o),s=hm(a,u),o?e.classBindings=s:e.styleBindings=s}function bm(t,e,n,r){const i=t[n+1],o=null===e;let s=r?fm(i):vm(i),a=!1;for(;0!==s&&(!1===a||o);){const n=t[s],i=t[s+1];wm(n,e)&&(a=!0,t[s+1]=r?mm(i):pm(i)),s=r?fm(i):vm(i)}a&&(t[n+1]=r?pm(i):mm(i))}function wm(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&si(t,e)>=0}_n=og,Rn(og,"ɵfac",(function(t){return new(t||_n)})),Rn(og,"ɵprov",ir({token:_n,factory:_n.ɵfac,providedIn:"root"}));const _m={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Sm(t){return t.substring(_m.key,_m.keyEnd)}function Cm(t){return t.substring(_m.value,_m.valueEnd)}function Em(t,e){const n=_m.textEnd;return n===e?-1:(e=_m.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,_m.key=e,n),Am(t,e,n))}function Dm(t,e){const n=_m.textEnd;let r=_m.key=Am(t,e,n);return n===r?-1:(r=_m.keyEnd=function(t,e,n){let r;for(;e<n&&(45===(r=t.charCodeAt(e))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)e++;return e}(t,r,n),r=xm(t,r,n,58),r=_m.value=Am(t,r,n),r=_m.valueEnd=function(t,e,n){let r=-1,i=-1,o=-1,s=e,a=s;for(;s<n;){const u=t.charCodeAt(s++);if(59===u)return a;34===u||39===u?a=s=km(t,u,s,n):e===s-4&&85===o&&82===i&&76===r&&40===u?a=s=km(t,41,s,n):u>32&&(a=s),o=i,i=r,r=-33&u}return a}(t,r,n),xm(t,r,n,59))}function Tm(t){_m.key=0,_m.keyEnd=0,_m.value=0,_m.valueEnd=0,_m.textEnd=t.length}function Am(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function xm(t,e,n,r){return(e=Am(t,e,n))<n&&e++,e}function km(t,e,n,r){let i=-1,o=n;for(;o<r;){const n=t.charCodeAt(o++);if(n==e&&92!==i)return o;i=92==n&&92===i?0:n}throw new Error}function Im(t,e,n){const r=ts(),i=gs();if(bv(r,i,e)){const i=es(),o=Fs();Bd(i,o,r,t,e,r[11],n,!1)}return Im}function Om(t,e,n,r,i){Zd(e,t,n,i?"class":"style",r)}function Rm(t,e,n){return jm(t,e,n,!1),Rm}function Pm(t,e){return jm(t,e,null,!0),Pm}function Fm(t){zm($m,Nm,t,!1)}function Nm(t,e){for(let n=function(t){return Tm(t),Dm(t,Am(t,0,_m.textEnd))}(e);n>=0;n=Dm(e,n))$m(t,Sm(e),Cm(e))}function Mm(t){zm(qm,Lm,t,!0)}function Lm(t,e){for(let n=function(t){return Tm(t),Em(t,Am(t,0,_m.textEnd))}(e);n>=0;n=Em(e,n))ii(t,Sm(e),!0)}function jm(t,e,n,r){const i=ts(),o=es(),s=ms(2);if(o.firstUpdatePass&&Um(o,t,s,r),e!==md&&bv(i,s,e)){Wm(o,o.data[Rs()],i,i[11],t,i[s+1]=function(t,e){null==t||""===t||("string"==typeof e?t+=e:"object"==typeof t&&(t=Kn(lc(t))));return t}(e,n),r,s)}}function zm(t,e,n,r){const i=es(),o=ms(2);i.firstUpdatePass&&Um(i,null,o,r);const s=ts();if(n!==md&&bv(s,o,n)){const a=i.data[Rs()];if(Ym(a,r)&&!Bm(i,o)){0;let t=r?a.classesWithoutHost:a.stylesWithoutHost;null!==t&&(n=Qn(t,n||"")),Om(i,a,s,n,r)}else!function(t,e,n,r,i,o,s,a){i===md&&(i=ui);let u=0,l=0,c=0<i.length?i[0]:null,d=0<o.length?o[0]:null;for(;null!==c||null!==d;){const h=u<i.length?i[u+1]:void 0,f=l<o.length?o[l+1]:void 0;let p,v=null;c===d?(u+=2,l+=2,h!==f&&(v=d,p=f)):null===d||null!==c&&c<d?(u+=2,v=c):(l+=2,v=d,p=f),null!==v&&Wm(t,e,n,r,v,p,s,a),c=u<i.length?i[u]:null,d=l<o.length?o[l]:null}}(i,a,s,s[11],s[o+1],s[o+1]=function(t,e,n){if(null==n||""===n)return ui;const r=[],i=lc(n);if(Array.isArray(i))for(let e=0;e<i.length;e++)t(r,i[e],!0);else if("object"==typeof i)for(const e in i)i.hasOwnProperty(e)&&t(r,e,i[e]);else"string"==typeof i&&e(r,i);return r}(t,e,n),r,o)}}function Bm(t,e){return e>=t.expandoStartIndex}function Um(t,e,n,r){const i=t.data;if(null===i[n+1]){const o=i[Rs()],s=Bm(t,n);Ym(o,r)&&null===e&&!s&&(e=!1),e=function(t,e,n,r){const i=_s(t);let o=r?e.residualClasses:e.residualStyles;if(null===i){0===(r?e.classBindings:e.styleBindings)&&(n=Vm(n=Hm(null,t,e,n,r),e.attrs,r),o=null)}else{const s=e.directiveStylingLast;if(-1===s||t[s]!==i)if(n=Hm(i,t,e,n,r),null===o){let n=function(t,e,n){const r=n?e.classBindings:e.styleBindings;if(0===vm(r))return;return t[fm(r)]}(t,e,r);void 0!==n&&Array.isArray(n)&&(n=Hm(null,t,e,n[1],r),n=Vm(n,e.attrs,r),function(t,e,n,r){const i=n?e.classBindings:e.styleBindings;t[fm(i)]=r}(t,e,r,n))}else o=function(t,e,n){let r;const i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o<i;o++){r=Vm(r,t[o].hostAttrs,n)}return Vm(r,e.attrs,n)}(t,e,r)}void 0!==o&&(r?e.residualClasses=o:e.residualStyles=o);return n}(i,o,e,r),ym(i,o,e,n,s,r)}}function Hm(t,e,n,r,i){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(o=e[a],r=Vm(r,o.hostAttrs,i),o!==t);)a++;return null!==t&&(n.directiveStylingLast=a),r}function Vm(t,e,n){const r=n?1:2;let i=-1;if(null!==e)for(let o=0;o<e.length;o++){const s=e[o];"number"==typeof s?i=s:i===r&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),ii(t,s,!!n||e[++o]))}return void 0===t?null:t}function $m(t,e,n){ii(t,e,lc(n))}function qm(t,e,n){const r=String(e);""===r||r.includes(" ")||ii(t,r,n)}function Wm(t,e,n,r,i,o,s,a){if(!(3&e.type))return;const u=t.data,l=u[a+1];if(!Zm(1&~l?void 0:Gm(u,e,n,i,vm(l),s))){Zm(o)||function(t){return!(2&~t)}(l)&&(o=Gm(u,null,n,i,a,s));!function(t,e,n,r,i){if(e)i?t.addClass(n,r):t.removeClass(n,r);else{let e=-1===r.indexOf("-")?void 0:eh.DashCase;null==i?t.removeStyle(n,r,e):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),e|=eh.Important),t.setStyle(n,r,i,e))}}(r,s,xo(Rs(),n),i,o)}}function Gm(t,e,n,r,i,o){const s=null===e;let a;for(;i>0;){const e=t[i],o=Array.isArray(e),u=o?e[1]:e,l=null===u;let c=n[i+1];c===md&&(c=l?ui:void 0);let d=l?oi(c,r):u===r?c:void 0;if(o&&!Zm(d)&&(d=oi(e,r)),Zm(d)&&(a=d,s))return a;const h=t[i+1];i=s?fm(h):vm(h)}if(null!==e){let t=o?e.residualClasses:e.residualStyles;null!=t&&(a=oi(t,r))}return a}function Zm(t){return void 0!==t}function Ym(t,e){return!!(t.flags&(e?8:16))}function Km(t,e,n){zm(ii,Lm,Yg(ts(),t,e,n),!0)}function Qm(t,e,n,r,i){zm(ii,Lm,Kg(ts(),t,e,n,r,i),!0)}function Jm(t,e,n,r,i,o,s){zm(ii,Lm,Qg(ts(),t,e,n,r,i,o,s),!0)}function Xm(t,e,n,r,i,o,s,a,u){zm(ii,Lm,Jg(ts(),t,e,n,r,i,o,s,a,u),!0)}function ty(t,e,n,r,i,o,s,a,u,l,c){zm(ii,Lm,Xg(ts(),t,e,n,r,i,o,s,a,u,l,c),!0)}function ey(t,e,n,r,i,o,s,a,u,l,c,d,h){zm(ii,Lm,tm(ts(),t,e,n,r,i,o,s,a,u,l,c,d,h),!0)}function ny(t,e,n,r,i,o,s,a,u,l,c,d,h,f,p){zm(ii,Lm,em(ts(),t,e,n,r,i,o,s,a,u,l,c,d,h,f,p),!0)}function ry(t,e,n,r,i,o,s,a,u,l,c,d,h,f,p,v,g){zm(ii,Lm,nm(ts(),t,e,n,r,i,o,s,a,u,l,c,d,h,f,p,v,g),!0)}function iy(t){zm(ii,Lm,Zg(ts(),t),!0)}function oy(){const t=ts()[15][8];return t}class sy{destroy(t){}updateValue(t,e){}swap(t,e){const n=Math.min(t,e),r=Math.max(t,e),i=this.detach(r);if(r-n>1){const t=this.detach(n);this.attach(n,i),this.attach(r,t)}else this.attach(n,i)}move(t,e){this.attach(e,this.detach(t))}}function ay(t,e,n,r,i){return t===n&&Object.is(e,r)?1:Object.is(i(t,e),i(n,r))?-1:0}function uy(t,e,n,r){return!(void 0===e||!e.has(r))&&(t.attach(n,e.get(r)),e.delete(r),!0)}function ly(t,e,n,r,i){if(uy(t,e,r,n(r,i)))t.updateValue(r,i);else{const e=t.create(r,i);t.attach(r,e)}}function cy(t,e,n,r){const i=new Set;for(let o=e;o<=n;o++)i.add(r(o,t.at(o)));return i}class dy{constructor(){Rn(this,"kvMap",new Map),Rn(this,"_vMap",void 0)}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const e=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(e)?(this.kvMap.set(t,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,e){if(this.kvMap.has(t)){let n=this.kvMap.get(t);0,void 0===this._vMap&&(this._vMap=new Map);const r=this._vMap;for(;r.has(n);)n=r.get(n);r.set(n,e)}else this.kvMap.set(t,e)}forEach(t){for(let[e,n]of this.kvMap)if(t(n,e),void 0!==this._vMap){const r=this._vMap;for(;r.has(n);)n=r.get(n),t(n,e)}}}function hy(t,e){tl("NgControlFlow");const n=ts(),r=gs(),i=n[r]!==md?n[r]:-1,o=-1!==i?wy(n,oo+i):void 0;if(bv(n,r,t)){const r=h(null);try{if(void 0!==o&&qh(o,0),-1!==t){const r=oo+t,i=wy(n,r),o=Sy(n[1],r),s=(o.tView.ssrId,null);$h(i,Qd(n,o,e,{dehydratedView:s}),0,Jd(o,s))}}finally{h(r)}}else if(void 0!==o){const t=Vh(o,0);void 0!==t&&(t[8]=e)}}class fy{constructor(t,e,n){Rn(this,"lContainer",void 0),Rn(this,"$implicit",void 0),Rn(this,"$index",void 0),this.lContainer=t,this.$implicit=e,this.$index=n}get $count(){return this.lContainer.length-so}}function py(t){return t}function vy(t,e){return e}class gy{constructor(t,e,n){Rn(this,"hasEmptyBlock",void 0),Rn(this,"trackByFn",void 0),Rn(this,"liveCollection",void 0),this.hasEmptyBlock=t,this.trackByFn=e,this.liveCollection=n}}function my(t,e,n,r,i,o,s,a,u,l,c,d,h){tl("NgControlFlow");const f=ts(),p=es(),v=void 0!==u,g=ts(),m=a?s.bind(g[15][8]):s,y=new gy(v,m);g[oo+t]=y,Cv(f,p,t+1,e,n,r,i,No(p.consts,o)),v&&Cv(f,p,t+2,u,l,c,d,No(p.consts,h))}class yy extends sy{constructor(t,e,n){super(),Rn(this,"lContainer",void 0),Rn(this,"hostLView",void 0),Rn(this,"templateTNode",void 0),Rn(this,"operationsCounter",void 0),Rn(this,"needsIndexUpdate",!1),this.lContainer=t,this.hostLView=e,this.templateTNode=n}get length(){return this.lContainer.length-so}at(t){return this.getLView(t)[8].$implicit}attach(t,e){const n=e[6];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),$h(this.lContainer,e,t,Jd(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),function(t,e){const n=Wh(t,e);return n}(this.lContainer,t)}create(t,e){var n;const r=(this.lContainer,this.templateTNode.tView.ssrId,null),i=Qd(this.hostLView,this.templateTNode,new fy(this.lContainer,e,t),{dehydratedView:r});return null===(n=this.operationsCounter)||void 0===n||n.recordCreate(),i}destroy(t){var e;ah(t[1],t),null===(e=this.operationsCounter)||void 0===e||e.recordDestroy()}updateValue(t,e){this.getLView(t)[8].$implicit=e}reset(){var t;this.needsIndexUpdate=!1,null===(t=this.operationsCounter)||void 0===t||t.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[8].$index=t}getLView(t){return _y(this.lContainer,t)}}function by(t){const e=h(null),n=Rs();try{const e=ts(),r=e[1],i=e[n],o=n+1,s=wy(e,o);if(void 0===i.liveCollection){const t=Sy(r,o);i.liveCollection=new yy(s,e,t)}else i.liveCollection.reset();const a=i.liveCollection;if(function(t,e,n){var r;let i,o,s=0,a=t.length-1;if(Array.isArray(e)){let r=e.length-1;for(;s<=a&&s<=r;){const u=t.at(s),l=e[s],c=ay(s,u,s,l,n);if(0!==c){c<0&&t.updateValue(s,l),s++;continue}const d=t.at(a),h=e[r],f=ay(a,d,r,h,n);if(0!==f){f<0&&t.updateValue(a,h),a--,r--;continue}const p=n(s,u),v=n(a,d),g=n(s,l);if(Object.is(g,v)){const e=n(r,h);Object.is(e,p)?(t.swap(s,a),t.updateValue(a,h),r--,a--):t.move(a,s),t.updateValue(s,l),s++}else if(null!=i||(i=new dy),null!=o||(o=cy(t,s,a,n)),uy(t,i,s,g))t.updateValue(s,l),s++,a++;else if(o.has(g))i.set(p,t.detach(s)),a--;else{const n=t.create(s,e[s]);t.attach(s,n),s++,a++}}for(;s<=r;)ly(t,i,n,s,e[s]),s++}else if(null!=e){const r=e[Symbol.iterator]();let u=r.next();for(;!u.done&&s<=a;){const e=t.at(s),l=u.value,c=ay(s,e,s,l,n);if(0!==c)c<0&&t.updateValue(s,l),s++,u=r.next();else{null!=i||(i=new dy),null!=o||(o=cy(t,s,a,n));const c=n(s,l);if(uy(t,i,s,c))t.updateValue(s,l),s++,a++,u=r.next();else if(o.has(c)){const r=n(s,e);i.set(r,t.detach(s)),a--}else t.attach(s,t.create(s,l)),s++,a++,u=r.next()}}for(;!u.done;)ly(t,i,n,t.length,u.value),u=r.next()}for(;s<=a;)t.destroy(t.detach(a--));null===(r=i)||void 0===r||r.forEach((e=>{t.destroy(e)}))}(a,t,i.trackByFn),a.updateIndexes(),i.hasEmptyBlock){const t=gs(),i=0===a.length;if(bv(e,t,i)){const t=n+2,o=wy(e,t);if(i){const n=Sy(r,t),i=(n.tView.ssrId,null);$h(o,Qd(e,n,void 0,{dehydratedView:i}),0,Jd(n,i))}else qh(o,0)}}}finally{h(e)}}function wy(t,e){const n=t[e];return n}function _y(t,e){const n=Vh(t,e);return n}function Sy(t,e){const n=Io(t,e);return n}function Cy(t,e,n,r){const i=ts(),o=es(),s=oo+t,a=i[11],u=o.firstCreatePass?Yf(s,o,i,e,Hd,Ko(),n,r):o.data[s],l=Ty(o,i,u,a,e);i[s]=l;const c=ho(u);return as(u,!0),Td(a,l,u),!nh(u)&&zs()&&yh(o,i,l,u),(0===Go.lFrame.elementDepthCount||c)&&Pu(l,i),Go.lFrame.elementDepthCount++,c&&(jd(o,i,u),Zl(o,u,i)),null!==r&&zd(i,u),Cy}function Ey(){let t=is();us()?ls():(t=t.parent,as(t,!1));const e=t;(function(t){return Go.skipHydrationRootTNode===t})(e)&&(Go.skipHydrationRootTNode=null),Go.lFrame.elementDepthCount--;const n=es();return n.firstCreatePass&&Kf(n,e),null!=e.classesWithoutHost&&function(t){return!!(8&t.flags)}(e)&&Om(n,e,ts(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return!!(16&t.flags)}(e)&&Om(n,e,ts(),e.stylesWithoutHost,!1),Ey}function Dy(t,e,n,r){return Cy(t,e,n,r),Ey(),Dy}let Ty=(t,e,n,r,i,o)=>(Bs(!0),_d(r,i,Go.lFrame.currentNamespace));function Ay(t,e,n){const r=ts(),i=es(),o=t+oo,s=i.firstCreatePass?function(t,e,n,r,i){const o=e.consts,s=No(o,r),a=ef(e,t,8,"ng-container",s);null!==s&&Lf(a,s,!0);const u=No(o,i);return Ko()&&Bf(e,n,a,u,Hd),a.mergedAttrs=Xs(a.mergedAttrs,a.attrs),null!==e.queries&&e.queries.elementStart(e,a),a}(o,i,r,e,n):i.data[o];as(s,!0);const a=Iy(i,r);return r[o]=a,zs()&&yh(i,r,a,s),Pu(a,r),ho(s)&&(jd(i,r,s),Zl(i,s,r)),null!=n&&zd(r,s),Ay}function xy(){let t=is();const e=es();return us()?ls():(t=t.parent,as(t,!1)),e.firstCreatePass&&(Us(e,t),lo(t)&&e.queries.elementEnd(t)),xy}function ky(t,e,n){return Ay(t,e,n),xy(),ky}let Iy=(t,e,n,r)=>(Bs(!0),wd(e[11],""));function Oy(){return ts()}function Ry(t,e,n){const r=ts(),i=gs();if(bv(r,i,e)){const i=es(),o=Fs();Bd(i,o,r,t,e,r[11],n,!0)}return Ry}function Py(t,e,n){const r=ts(),i=gs();if(bv(r,i,e)){const i=es(),o=Fs();Bd(i,o,r,t,e,Wd(_s(i.data),o,r),n,!0)}return Py}const Fy=void 0;var Ny=["en",[["a","p"],["AM","PM"],Fy],[["AM","PM"],Fy,Fy],[["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"]],Fy,[["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"]],Fy,[["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}",Fy,"{1} 'at' {0}",Fy],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){const e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let My={};function Ly(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=zy(e);if(n)return n;const r=e.split("-")[0];if(n=zy(r),n)return n;if("en"===r)return Ny;throw new Fn(701,!1)}function jy(t){return Ly(t)[By.PluralCase]}function zy(t){return t in My||(My[t]=Gn.ng&&Gn.ng.common&&Gn.ng.common.locales&&Gn.ng.common.locales[t]),My[t]}var By;!function(t){t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData"}(By||(By={}));const Uy=["zero","one","two","few","many"];const Hy="en-US",Vy={marker:"element"},$y={marker:"ICU"};var qy;!function(t){t[t.SHIFT=2]="SHIFT",t[t.APPEND_EAGERLY=1]="APPEND_EAGERLY",t[t.COMMENT=2]="COMMENT"}(qy||(qy={}));let Wy=Hy;let Gy=0,Zy=0;let Yy=(t,e,n,r)=>(Bs(!0),function(t,e,n){const r=t[11];switch(n){case Node.COMMENT_NODE:return wd(r,e);case Node.TEXT_NODE:return yd(r,e);case Node.ELEMENT_NODE:return _d(r,e,null)}}(t,n,r));function Ky(t,e,n,r){const i=n[11];let o,s=null;for(let a=0;a<e.length;a++){const u=e[a];if("string"==typeof u){const t=e[++a];null===n[t]&&(n[t]=Yy(n,t,u,Node.TEXT_NODE))}else if("number"==typeof u)switch(1&u){case 0:const l=hf(u);let c,d;if(null===s&&(s=l,o=i.parentNode(r)),l===s?(c=r,d=o):(c=null,d=Ao(n[l])),null!==d){const e=ff(u),r=n[e];Sd(i,d,r,c,!1);const o=lf(t,e);if(null!==o&&"object"==typeof o){const e=df(o,n);null!==e&&Ky(t,o.create[e],n,n[o.anchorIdx])}}break;case 1:const h=u>>>1,f=e[++a],p=e[++a];$d(i,xo(h,n),null,null,f,p,null)}else switch(u){case $y:const t=e[++a],r=e[++a];if(null===n[r]){Pu(n[r]=Yy(n,r,t,Node.COMMENT_NODE),n)}break;case Vy:const i=e[++a],o=e[++a];if(null===n[o]){Pu(n[o]=Yy(n,o,i,Node.ELEMENT_NODE),n)}}}}function Qy(t,e,n,r,i){for(let o=0;o<n.length;o++){const s=n[o],a=n[++o];if(s&i){let i="";for(let s=o+1;s<=o+a;s++){const o=n[s];if("string"==typeof o)i+=o;else if("number"==typeof o)if(o<0)i+=Sr(e[r-o]);else{const a=o>>>2;switch(3&o){case 1:const o=n[++s],u=n[++s],l=t.data[a];"string"==typeof l?$d(e[11],e[a],null,l,o,i,u):Bd(t,l,e,o,i,e[11],u,!1);break;case 0:const c=e[a];null!==c&&bd(e[11],c,i);break;case 2:Xy(t,lf(t,a),e,i);break;case 3:Jy(t,lf(t,a),r,e)}}}}else{const i=n[o+1];if(i>0&&!(3&~i)){const n=lf(t,i>>>2);e[n.currentCaseLViewIndex]<0&&Jy(t,n,r,e)}}o+=a}}function Jy(t,e,n,r){let i=r[e.currentCaseLViewIndex];if(null!==i){let o=Gy;i<0&&(i=r[e.currentCaseLViewIndex]=~i,o=-1),Qy(t,r,e.update[i],n,o)}}function Xy(t,e,n,r){const i=function(t,e){let n=t.cases.indexOf(e);if(-1===n)switch(t.type){case 1:{const r=function(t,e){const n=jy(e)(parseInt(t,10)),r=Uy[n];return void 0!==r?r:"other"}(e,Wy);n=t.cases.indexOf(r),-1===n&&"other"!==r&&(n=t.cases.indexOf("other"));break}case 0:n=t.cases.indexOf("other")}return-1===n?null:n}(e,r);if(df(e,n)!==i&&(tb(t,e,n),n[e.currentCaseLViewIndex]=null===i?null:~i,null!==i)){const r=n[e.anchorIdx];r&&Ky(t,e.create[i],n,r),e.anchorIdx}}function tb(t,e,n){let r=df(e,n);if(null!==r){const i=e.remove[r];for(let e=0;e<i.length;e++){const r=i[e];if(r>0){const t=xo(r,n);null!==t&&Dd(n[11],t)}else tb(t,lf(t,~r),n)}}}const eb=/�(\d+):?\d*�/gi,nb=/({\s*�\d+:?\d*�\s*,\s*\S{6}\s*,[\s\S]*})/gi,rb=/�(\d+)�/,ib=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,ob="�",sb=/�\/?\*(\d+:\d+)�/gi,ab=/�(\/?[#*]\d+):?\d*�/gi,ub=/\uE500/g;function lb(t,e,n,r,i,o){const s=ss(),a=[],u=[],l=[[]],c=[[]];i=function(t,e){if(function(t){return-1===t}(e))return vb(t);{const n=t.indexOf(`:${e}${ob}`)+2+e.toString().length,r=t.search(new RegExp(`${ob}\\/\\*\\d+:${e}${ob}`));return vb(t.substring(n,r))}}(i,o);const d=(h=i,h.replace(ub," ")).split(ab);var h;for(let r=0;r<d.length;r++){let o=d[r];if(1&r){const e=47===o.charCodeAt(0),n=o.charCodeAt(e?1:0),r=oo+Number.parseInt(o.substring(e?2:1));if(e)l.shift(),c.shift(),as(ss(),!1);else{const e=cf(t,l[0],r);l.unshift([]),as(e,!0);const i={kind:2,index:r,children:[],type:35===n?0:1};c[0].push(i),c.unshift(i.children)}}else{const r=yb(o);for(let o=0;o<r.length;o++){let d=r[o];if(1&o){const r=d;if("object"!=typeof r)throw new Error(`Unable to parse ICU expression in "${i}" message.`);const o=cb(t,s,l[0],n,a,"",!0).index;gb(c[0],t,n,u,e,r,o)}else{const e=d;""!==e&&db(c[0],t,s,l[0],a,u,n,e)}}}}t.data[r]={create:a,update:u,ast:c[0],parentTNodeIndex:e}}function cb(t,e,n,r,i,o,s){const a=Od(t,r,1,null);let u=a<<qy.SHIFT,l=ss();var c;e===l&&(l=null),null===l&&(u|=qy.APPEND_EAGERLY),s&&(u|=qy.COMMENT,c=gf,void 0===Xd&&(Xd=c())),i.push(u,null===o?"":o);const d=nf(t,a,s?32:1,null===o?"":o,null);rf(n,d);const h=d.index;return as(d,!1),null!==l&&e!==l&&function(t,e){let n=t.insertBeforeIndex;null===n?(mh(Xh,tf),n=t.insertBeforeIndex=[null,e]):(nr(Array.isArray(n),!0,"Expecting array here"),n.push(e))}(l,h),d}function db(t,e,n,r,i,o,s,a){const u=a.match(eb),l=cb(e,n,r,s,i,u?null:a,!1).index;u&&hb(o,a,l,null,0,null),t.push({kind:0,index:l})}function hb(t,e,n,r,i,o){const s=t.length,a=s+1;t.push(null,null);const u=s+2;const l=e.split(eb);let c=0;for(let e=0;e<l.length;e++){const n=l[e];if(1&e){const e=i+parseInt(n,10);t.push(-1-e),c|=pb(e)}else""!==n&&t.push(n)}return t.push(n<<2|(r?1:0)),r&&t.push(r,o),t[s]=c,t[a]=t.length-u,c}function fb(t){let e=0;for(let n=0;n<t.length;n++){const r=t[n];"number"==typeof r&&r<0&&e++}return e}function pb(t){return 1<<Math.min(t,31)}function vb(t){let e,n,r="",i=0,o=!1;for(;null!==(e=sb.exec(t));)o?e[0]===`${ob}/*${n}${ob}`&&(i=e.index,o=!1):(r+=t.substring(i,e.index+e[0].length),n=e[1],o=!0);return r+=t.slice(i),r}function gb(t,e,n,r,i,o,s){let a=0;const u={type:o.type,currentCaseLViewIndex:Od(e,n,1,null),anchorIdx:s,cases:[],create:[],remove:[],update:[]};!function(t,e,n){t.push(pb(e.mainBinding),2,-1-e.mainBinding,n<<2|2)}(r,o,s),function(t,e,n){const r=t.data[e];null===r?t.data[e]=n:r.value=n}(e,s,u);const l=o.values,c=[];for(let t=0;t<l.length;t++){const s=l[t],d=[];for(let t=0;t<s.length;t++){const e=s[t];if("string"!=typeof e){const n=d.push(e)-1;s[t]=`\x3c!--�${n}�--\x3e`}}const h=[];c.push(h),a=bb(h,e,u,n,r,i,o.cases[t],s.join(""),d)|a}a&&function(t,e,n){t.push(e,1,n<<2|3)}(r,a,s),t.push({kind:3,index:s,cases:c,currentCaseLViewIndex:u.currentCaseLViewIndex})}function mb(t){const e=[],n=[];let r=1,i=0;const o=yb(t=t.replace(ib,(function(t,e,n){return r="select"===n?0:1,i=parseInt(e.slice(1),10),""})));for(let t=0;t<o.length;){let i=o[t++].trim();1===r&&(i=i.replace(/\s*(?:=)?(\w+)\s*/,"$1")),i.length&&e.push(i);const s=yb(o[t++]);e.length>n.length&&n.push(s)}return{type:r,mainBinding:i,cases:e,values:n}}function yb(t){if(!t)return[];let e=0;const n=[],r=[],i=/[{}]/g;let o;for(i.lastIndex=0;o=i.exec(t);){const i=o.index;if("}"==o[0]){if(n.pop(),0==n.length){const n=t.substring(e,i);ib.test(n)?r.push(mb(n)):r.push(n),e=i+1}}else{if(0==n.length){const n=t.substring(e,i);r.push(n),e=i+1}n.push("{")}}const s=t.substring(e);return r.push(s),r}function bb(t,e,n,r,i,o,s,a,u){const l=[],c=[],d=[];n.cases.push(s),n.create.push(l),n.remove.push(c),n.update.push(d);const h=dc(ju()).getInertBodyElement(a),f=Bc(h)||h;return f?wb(t,e,n,r,i,l,c,d,f,o,u,0):0}function wb(t,e,n,r,i,o,s,a,u,l,c,d){let h=0,f=u.firstChild;for(;f;){const u=Od(e,r,1,null);switch(f.nodeType){case Node.ELEMENT_NODE:const p=f,v=p.tagName.toLowerCase();if(Ec.hasOwnProperty(v)){Cb(o,Vy,v,l,u),e.data[u]=v;const g=p.attributes;for(let t=0;t<g.length;t++){const e=g.item(t),n=e.name.toLowerCase();!!e.value.match(eb)?xc.hasOwnProperty(n)&&(Dc[n]?hb(a,e.value,u,e.name,0,vc):hb(a,e.value,u,e.name,0,null)):Eb(o,u,e)}const m={kind:1,index:u,children:[]};t.push(m),h=wb(m.children,e,n,r,i,o,s,a,f,u,c,d+1)|h,_b(s,u,d)}break;case Node.TEXT_NODE:const g=f.textContent||"",m=g.match(eb);Cb(o,null,m?"":g,l,u),_b(s,u,d),m&&(h=hb(a,g,u,null,0,null)|h),t.push({kind:0,index:u});break;case Node.COMMENT_NODE:const y=rb.exec(f.textContent||"");if(y){const n=parseInt(y[1],10),a=c[n];Cb(o,$y,"",l,u),gb(t,e,r,i,l,a,u),Sb(s,u,d)}}f=f.nextSibling}return h}function _b(t,e,n){0===n&&t.push(e)}function Sb(t,e,n){0===n&&(t.push(~e),t.push(e))}function Cb(t,e,n,r,i){null!==e&&t.push(e),t.push(n,i,0|r<<17|i<<1)}function Eb(t,e,n){t.push(e<<1|1,n.name,n.value)}const Db=/\[(�.+?�?)\]/,Tb=/\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g,Ab=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,xb=/{([A-Z0-9_]+)}/g,kb=/�I18N_EXP_(ICU(_\d+)?)�/g,Ib=/\/\*/,Ob=/\d+\:(\d+)/;function Rb(t,e,n=-1){const r=es(),i=ts(),o=oo+t,s=No(r.consts,e),a=ss();if(r.firstCreatePass&&lb(r,null===a?0:a.index,i,o,s,n),2===r.type){i[15][2]|=32}else i[2]|=32;const u=r.data[o],l=hh(r,a===i[5]?null:a,i),c=a&&8&a.type?i[a.index]:null;!function(t,e,n,r){const i=t[11];for(let o=0;o<e.length;o++){const s=e[o++],a=e[o],u=(s&qy.COMMENT)===qy.COMMENT,l=(s&qy.APPEND_EAGERLY)===qy.APPEND_EAGERLY,c=s>>>qy.SHIFT;let d=t[c],h=!1;null===d&&(d=t[c]=Yy(t,c,a,u?Node.COMMENT_NODE:Node.TEXT_NODE),h=zs()),l&&null!==n&&h&&Sd(i,n,d,r,!1)}}(i,u.create,l,c),ys(!0)}function Pb(){ys(!1)}function Fb(t,e,n){Rb(t,e,n),Pb()}function Nb(t,e){const n=es(),r=No(n.consts,e);!function(t,e,n){const r=is().index,i=[];if(t.firstCreatePass&&null===t.data[e]){for(let t=0;t<n.length;t+=2){const e=n[t],o=n[t+1];if(""!==o){if(nb.test(o))throw new Error(`ICU expressions are not supported in attributes. Message: "${o}".`);hb(i,o,r,e,fb(i),null)}}t.data[e]=i}}(n,t+oo,r)}function Mb(t){const e=ts();return bv(e,gs(),t)&&(Gy|=1<<Math.min(Zy,31)),Zy++,Mb}function Lb(t){!function(t,e,n){if(Zy>0){const r=t.data[n];Qy(t,e,Array.isArray(r)?r:r.update,ps()-Zy-1,Gy)}Gy=0,Zy=0}(es(),ts(),t+oo)}function jb(t,e={}){return function(t,e={}){let n=t;if(Db.test(t)){const t={},e=[0];n=n.replace(Tb,((n,r,i)=>{const o=r||i,s=t[o]||[];if(s.length||(o.split("|").forEach((t=>{const e=t.match(Ob),n=e?parseInt(e[1],10):0,r=Ib.test(t);s.push([n,r,t])})),t[o]=s),!s.length)throw new Error(`i18n postprocess: unmatched placeholder - ${o}`);const a=e[e.length-1];let u=0;for(let t=0;t<s.length;t++)if(s[t][0]===a){u=t;break}const[l,c,d]=s[u];return c?e.pop():a!==l&&e.push(l),s.splice(u,1),d}))}return Object.keys(e).length?(n=n.replace(Ab,((t,n,r,i,o,s)=>e.hasOwnProperty(r)?`${n}${e[r]}${s}`:t)),n=n.replace(xb,((t,n)=>e.hasOwnProperty(n)?e[n]:t)),n=n.replace(kb,((t,n)=>{if(e.hasOwnProperty(n)){const r=e[n];if(!r.length)throw new Error(`i18n postprocess: unmatched ICU - ${t} with key: ${n}`);return r.shift()}return t})),n):n}(t,e)}function zb(t,e,n,r){const i=ts(),o=es(),s=is();return Ub(o,i,i[11],s,t,e,r),zb}function Bb(t,e){const n=is(),r=ts(),i=es();return Ub(i,r,Wd(_s(i.data),n,r),n,t,e),Bb}function Ub(t,e,n,r,i,o,s){const a=ho(r),u=t.firstCreatePass?Wo(t):null,l=e[8],c=qo(e);let d=!0;if(3&r.type||s){const h=ko(r,e),f=s?s(h):h,p=c.length,v=s?t=>s(Ao(t[r.index])):r.index;let g=null;if(!s&&a&&(g=function(t,e,n,r){const i=t.cleanup;if(null!=i)for(let t=0;t<i.length-1;t+=2){const o=i[t];if(o===n&&i[t+1]===r){const n=e[7],r=i[t+2];return n.length>r?n[r]:null}"string"==typeof o&&(t+=2)}return null}(t,e,i,r.index)),null!==g){(g.__ngLastListenerFn__||g).__ngNextListenerFn__=o,g.__ngLastListenerFn__=o,d=!1}else{o=$b(r,e,l,o);const t=n.listen(f,i,o);c.push(o,t),u&&u.push(i,v,p,p+1)}}else o=$b(r,e,l,o);if(d){var h,f;const n=null===(h=r.outputs)||void 0===h?void 0:h[i],s=null===(f=r.hostDirectiveOutputs)||void 0===f?void 0:f[i];if(s&&s.length)for(let n=0;n<s.length;n+=2){const a=s[n],l=s[n+1];Hb(r,t,e,a,l,i,o,c,u)}if(n&&n.length)for(const s of n)Hb(r,t,e,s,i,i,o,c,u)}}function Hb(t,e,n,r,i,o,s,a,u){const l=n[r],c=e.data[r].outputs[i],d=l[c];const h=d.subscribe(s),f=a.length;a.push(s,h),u&&u.push(o,t.index,f,-(f+1))}function Vb(t,e,n,r){const i=h(null);try{return Do(6,e,n),!1!==n(r)}catch(e){return Gd(t,e),!1}finally{Do(7,e,n),h(i)}}function $b(t,e,n,r){return function i(o){if(o===Function)return r;Uh(co(t)?Ro(t.index,e):e,5);let s=Vb(e,n,r,o),a=i.__ngNextListenerFn__;for(;a;)s=Vb(e,n,a,o)&&s,a=a.__ngNextListenerFn__;return s}}function qb(t=1){return function(t){return(Go.lFrame.contextLView=jo(t,Go.lFrame.contextLView))[8]}(t)}function Wb(t,e){let n=null;const r=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(!(1&t))return e[t+1]}return null}(t);for(let i=0;i<e.length;i++){const o=e[i];if("*"!==o){if(null===r?hd(t,o,!0):fd(r,o))return i}else n=i}return n}function Gb(t){const e=ts()[15][5];if(!e.projection){const n=t?t.length:1,r=e.projection=ei(n,null),i=r.slice();let o=e.child;for(;null!==o;){if(128!==o.type){const e=t?Wb(o,t):0;null!==e&&(i[e]?i[e].projectionNext=o:r[e]=o,i[e]=o)}o=o.next}}}function Zb(t,e=0,n,r,i,o){const s=ts(),a=es(),u=r?t+1:null;null!==u&&Cv(s,a,u,r,i,o,null,n);const l=ef(a,oo+t,16,null,n||null);null===l.projection&&(l.projection=e),ls();const c=!s[6]||Qo();null===s[15][5].projection[l.projection]&&null!==u?function(t,e,n){const r=oo+n,i=e.data[r],o=t[r];const s=(i.tView.ssrId,null),a=Qd(t,i,void 0,{dehydratedView:s});$h(o,a,0,Jd(i,s))}(s,a,u):c&&!nh(l)&&function(t,e,n){Eh(e[11],0,e,n,dh(t,n,e),fh(n.parent||e[5],n,e))}(a,s,l)}function Yb(t,e,n){return Kb(t,"",e,"",n),Yb}function Kb(t,e,n,r,i){const o=ts(),s=Yg(o,e,n,r);if(s!==md){const e=es(),n=Fs();Bd(e,n,o,t,s,o[11],i,!1)}return Kb}function Qb(t,e,n,r,i,o,s){const a=ts(),u=Kg(a,e,n,r,i,o);if(u!==md){const e=es(),n=Fs();Bd(e,n,a,t,u,a[11],s,!1)}return Qb}function Jb(t,e,n,r,i,o,s,a,u){const l=ts(),c=Qg(l,e,n,r,i,o,s,a);if(c!==md){const e=es(),n=Fs();Bd(e,n,l,t,c,l[11],u,!1)}return Jb}function Xb(t,e,n,r,i,o,s,a,u,l,c){const d=ts(),h=Jg(d,e,n,r,i,o,s,a,u,l);if(h!==md){const e=es(),n=Fs();Bd(e,n,d,t,h,d[11],c,!1)}return Xb}function tw(t,e,n,r,i,o,s,a,u,l,c,d,h){const f=ts(),p=Xg(f,e,n,r,i,o,s,a,u,l,c,d);if(p!==md){const e=es(),n=Fs();Bd(e,n,f,t,p,f[11],h,!1)}return tw}function ew(t,e,n,r,i,o,s,a,u,l,c,d,h,f,p){const v=ts(),g=tm(v,e,n,r,i,o,s,a,u,l,c,d,h,f);if(g!==md){const e=es(),n=Fs();Bd(e,n,v,t,g,v[11],p,!1)}return ew}function nw(t,e,n,r,i,o,s,a,u,l,c,d,h,f,p,v,g){const m=ts(),y=em(m,e,n,r,i,o,s,a,u,l,c,d,h,f,p,v);if(y!==md){const e=es(),n=Fs();Bd(e,n,m,t,y,m[11],g,!1)}return nw}function rw(t,e,n,r,i,o,s,a,u,l,c,d,h,f,p,v,g,m,y){const b=ts(),w=nm(b,e,n,r,i,o,s,a,u,l,c,d,h,f,p,v,g,m);if(w!==md){const e=es(),n=Fs();Bd(e,n,b,t,w,b[11],y,!1)}return rw}function iw(t,e,n){const r=ts(),i=Zg(r,e);if(i!==md){const e=es(),o=Fs();Bd(e,o,r,t,i,r[11],n,!1)}return iw}function ow(t,e,n,r){bp(t,e,n,r)}function sw(t,e,n){yp(t,e,n)}function aw(t){const e=ts(),n=es(),r=Ss();Cs(r+1);const i=_p(n,r);if(t.dirty&&Po(e)===!(2&~i.metadata.flags)){if(null===i.matches)t.reset([]);else{const n=Sp(e,r);t.reset(n,wu),t.notifyOnChanges()}return!0}return!1}function uw(){return gp(ts(),Ss())}function lw(t,e,n,r,i){Cp(e,bp(t,n,r,i))}function cw(t,e,n,r){Cp(t,yp(e,n,r))}function dw(t=1){Cs(Ss()+t)}function hw(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}function fw(t){return Oo(cs(),oo+t)}function pw(t,e,n){Fm(Yg(ts(),t,e,n))}function vw(t,e,n,r,i){Fm(Kg(ts(),t,e,n,r,i))}function gw(t,e,n,r,i,o,s){Fm(Qg(ts(),t,e,n,r,i,o,s))}function mw(t,e,n,r,i,o,s,a,u){Fm(Jg(ts(),t,e,n,r,i,o,s,a,u))}function yw(t,e,n,r,i,o,s,a,u,l,c){Fm(Xg(ts(),t,e,n,r,i,o,s,a,u,l,c))}function bw(t,e,n,r,i,o,s,a,u,l,c,d,h){Fm(tm(ts(),t,e,n,r,i,o,s,a,u,l,c,d,h))}function ww(t,e,n,r,i,o,s,a,u,l,c,d,h,f,p){Fm(em(ts(),t,e,n,r,i,o,s,a,u,l,c,d,h,f,p))}function _w(t,e,n,r,i,o,s,a,u,l,c,d,h,f,p,v,g){Fm(nm(ts(),t,e,n,r,i,o,s,a,u,l,c,d,h,f,p,v,g))}function Sw(t){Fm(Zg(ts(),t))}function Cw(t,e,n,r,i){return jm(t,Yg(ts(),e,n,r),i,!1),Cw}function Ew(t,e,n,r,i,o,s){return jm(t,Kg(ts(),e,n,r,i,o),s,!1),Ew}function Dw(t,e,n,r,i,o,s,a,u){return jm(t,Qg(ts(),e,n,r,i,o,s,a),u,!1),Dw}function Tw(t,e,n,r,i,o,s,a,u,l,c){return jm(t,Jg(ts(),e,n,r,i,o,s,a,u,l),c,!1),Tw}function Aw(t,e,n,r,i,o,s,a,u,l,c,d,h){return jm(t,Xg(ts(),e,n,r,i,o,s,a,u,l,c,d),h,!1),Aw}function xw(t,e,n,r,i,o,s,a,u,l,c,d,h,f,p){return jm(t,tm(ts(),e,n,r,i,o,s,a,u,l,c,d,h,f),p,!1),xw}function kw(t,e,n,r,i,o,s,a,u,l,c,d,h,f,p,v,g){return jm(t,em(ts(),e,n,r,i,o,s,a,u,l,c,d,h,f,p,v),g,!1),kw}function Iw(t,e,n,r,i,o,s,a,u,l,c,d,h,f,p,v,g,m,y){return jm(t,nm(ts(),e,n,r,i,o,s,a,u,l,c,d,h,f,p,v,g,m),y,!1),Iw}function Ow(t,e,n){return jm(t,Zg(ts(),e),n,!1),Ow}function Rw(t,e=""){const n=ts(),r=es(),i=t+oo,o=r.firstCreatePass?ef(r,i,1,e,null):r.data[i],s=Pw(r,n,o,e);n[i]=s,zs()&&yh(r,n,s,o),as(o,!1)}let Pw=(t,e,n,r,i)=>(Bs(!0),yd(e[11],r));function Fw(t){return Nw("",t,""),Fw}function Nw(t,e,n){const r=ts(),i=Yg(r,t,e,n);return i!==md&&$w(r,Rs(),i),Nw}function Mw(t,e,n,r,i){const o=ts(),s=Kg(o,t,e,n,r,i);return s!==md&&$w(o,Rs(),s),Mw}function Lw(t,e,n,r,i,o,s){const a=ts(),u=Qg(a,t,e,n,r,i,o,s);return u!==md&&$w(a,Rs(),u),Lw}function jw(t,e,n,r,i,o,s,a,u){const l=ts(),c=Jg(l,t,e,n,r,i,o,s,a,u);return c!==md&&$w(l,Rs(),c),jw}function zw(t,e,n,r,i,o,s,a,u,l,c){const d=ts(),h=Xg(d,t,e,n,r,i,o,s,a,u,l,c);return h!==md&&$w(d,Rs(),h),zw}function Bw(t,e,n,r,i,o,s,a,u,l,c,d,h){const f=ts(),p=tm(f,t,e,n,r,i,o,s,a,u,l,c,d,h);return p!==md&&$w(f,Rs(),p),Bw}function Uw(t,e,n,r,i,o,s,a,u,l,c,d,h,f,p){const v=ts(),g=em(v,t,e,n,r,i,o,s,a,u,l,c,d,h,f,p);return g!==md&&$w(v,Rs(),g),Uw}function Hw(t,e,n,r,i,o,s,a,u,l,c,d,h,f,p,v,g){const m=ts(),y=nm(m,t,e,n,r,i,o,s,a,u,l,c,d,h,f,p,v,g);return y!==md&&$w(m,Rs(),y),Hw}function Vw(t){const e=ts(),n=Zg(e,t);return n!==md&&$w(e,Rs(),n),Vw}function $w(t,e,n){const r=xo(e,t);bd(t[11],r,n)}function qw(t,e,n){Eu(e)&&(e=e());const r=ts(),i=gs();if(bv(r,i,e)){const i=es(),o=Fs();Bd(i,o,r,t,e,r[11],n,!1)}return qw}function Ww(t,e){const n=Eu(t);return n&&t.set(e),n}function Gw(t,e){const n=ts(),r=es(),i=is();return Ub(r,n,n[11],i,t,e),Gw}const Zw={};function Yw(t){const e=es(),n=ts(),r=t+oo;return as(ef(e,r,128,null,null),!1),hw(e,n,r,Zw),Yw}function Kw(t){tl("NgLet");return hw(es(),ts(),Rs(),t),t}function Qw(t){const e=Oo(cs(),oo+t);if(e===Zw)throw new Fn(314,!1);return e}function Jw(t,e){const n=es(),r=ts(),i=r[11],o="data-ng-source-location";for(const[s,a,u,l]of e){Io(n,s+oo);const e=xo(s+oo,r);if(!e.hasAttribute(o)){const n=`${t}@o:${a},l:${u},c:${l}`;i.setAttribute(e,o,n)}}}function Xw(t,e,n,r,i){if(t=tr(t),Array.isArray(t))for(let o=0;o<t.length;o++)Xw(t[o],e,n,r,i);else{const o=es(),s=ts(),a=is();let u=Ai(t)?t:tr(t.provide);const l=Mi(t);0;const c=1048575&a.providerIndexes,d=a.directiveStart,h=a.providerIndexes>>20;if(Ai(t)||!t.multi){const r=new Ys(l,i,jf),f=n_(u,e,i?c:c+h,d);-1===f?(pa(ca(a,s),o,u),t_(o,t,e.length),e.push(u),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(r),s.push(r)):(n[f]=r,s[f]=r)}else{const f=n_(u,e,c+h,d),p=n_(u,e,c,c+h),v=f>=0&&n[f],g=p>=0&&n[p];if(i&&!g||!i&&!v){pa(ca(a,s),o,u);const c=function(t,e,n,r,i){const o=new Ys(t,n,jf);return o.multi=[],o.index=e,o.componentProviders=0,e_(o,i,r&&!n),o}(i?i_:r_,n.length,i,r,l);!i&&g&&(n[p].providerFactory=c),t_(o,t,e.length,0),e.push(u),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(c),s.push(c)}else{const e=e_(n[i?p:f],l,!i&&r);t_(o,t,f>-1?f:p,e)}!i&&r&&g&&n[p].componentProviders++}}}function t_(t,e,n,r){const i=Ai(e),o=!!e.useClass;if(i||o){const s=(o?tr(e.useClass):e).prototype.ngOnDestroy;if(s){const o=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[r,s]):o[t+1].push(r,s)}else o.push(n,s)}}}function e_(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function n_(t,e,n,r){for(let i=n;i<r;i++)if(e[i]===t)return i;return-1}function r_(t,e,n,r){return o_(this.multi,[])}function i_(t,e,n,r){const i=this.multi;let o;if(this.providerFactory){const t=this.providerFactory.componentProviders,e=_a(n,n[1],this.providerFactory.index,r);o=e.slice(0,t),o_(i,o);for(let n=t;n<e.length;n++)o.push(e[n])}else o=[],o_(i,o);return o}function o_(t,e){for(let n=0;n<t.length;n++){const r=t[n];e.push(r())}return e}function s_(t,e=[]){return n=>{n.providersResolver=(n,r)=>function(t,e,n){const r=es();if(r.firstCreatePass){const i=fo(t);Xw(n,r.data,r.blueprint,i,!0),Xw(e,r.data,r.blueprint,i,!1)}}(n,r?r(t):t,e)}}function a_(t){return e=>{t.length<1||(e.getExternalStyles=n=>t.map((t=>t+"?ngcomp"+(n?"="+encodeURIComponent(n):"")+"&e="+e.encapsulation)))}}function u_(t,e,n){const r=t.ɵcmp;r.directiveDefs=Xp(e,!1),r.pipeDefs=Xp(n,!0)}function l_(t,e){return zn((()=>{const n=fi(t,!0);n.declarations=c_(e.declarations||ui),n.imports=c_(e.imports||ui),n.exports=c_(e.exports||ui),e.bootstrap&&(n.bootstrap=c_(e.bootstrap)),Mf.registerNgModule(t,e)}))}function c_(t){if("function"==typeof t)return t;const e=Qr(t);return e.some(er)?()=>e.map(tr).map(d_):e.map(d_)}function d_(t){return kf(t)?t.ngModule:t}function h_(t,e,n){const r=fs()+t,i=ts();return i[r]===md?mv(i,r,n?e.call(n):e()):yv(i,r)}function f_(t,e,n,r){return C_(ts(),fs(),t,e,n,r)}function p_(t,e,n,r,i){return E_(ts(),fs(),t,e,n,r,i)}function v_(t,e,n,r,i,o){return D_(ts(),fs(),t,e,n,r,i,o)}function g_(t,e,n,r,i,o,s){return T_(ts(),fs(),t,e,n,r,i,o,s)}function m_(t,e,n,r,i,o,s,a){const u=fs()+t,l=ts(),c=Sv(l,u,n,r,i,o);return bv(l,u+4,s)||c?mv(l,u+5,a?e.call(a,n,r,i,o,s):e(n,r,i,o,s)):yv(l,u+5)}function y_(t,e,n,r,i,o,s,a,u){const l=fs()+t,c=ts(),d=Sv(c,l,n,r,i,o);return wv(c,l+4,s,a)||d?mv(c,l+6,u?e.call(u,n,r,i,o,s,a):e(n,r,i,o,s,a)):yv(c,l+6)}function b_(t,e,n,r,i,o,s,a,u,l){const c=fs()+t,d=ts();let h=Sv(d,c,n,r,i,o);return _v(d,c+4,s,a,u)||h?mv(d,c+7,l?e.call(l,n,r,i,o,s,a,u):e(n,r,i,o,s,a,u)):yv(d,c+7)}function w_(t,e,n,r,i,o,s,a,u,l,c){const d=fs()+t,h=ts(),f=Sv(h,d,n,r,i,o);return Sv(h,d+4,s,a,u,l)||f?mv(h,d+8,c?e.call(c,n,r,i,o,s,a,u,l):e(n,r,i,o,s,a,u,l)):yv(h,d+8)}function __(t,e,n,r){return A_(ts(),fs(),t,e,n,r)}function S_(t,e){const n=t[e];return n===md?void 0:n}function C_(t,e,n,r,i,o){const s=e+n;return bv(t,s,i)?mv(t,s+1,o?r.call(o,i):r(i)):S_(t,s+1)}function E_(t,e,n,r,i,o,s){const a=e+n;return wv(t,a,i,o)?mv(t,a+2,s?r.call(s,i,o):r(i,o)):S_(t,a+2)}function D_(t,e,n,r,i,o,s,a){const u=e+n;return _v(t,u,i,o,s)?mv(t,u+3,a?r.call(a,i,o,s):r(i,o,s)):S_(t,u+3)}function T_(t,e,n,r,i,o,s,a,u){const l=e+n;return Sv(t,l,i,o,s,a)?mv(t,l+4,u?r.call(u,i,o,s,a):r(i,o,s,a)):S_(t,l+4)}function A_(t,e,n,r,i,o){let s=e+n,a=!1;for(let e=0;e<i.length;e++)bv(t,s++,i[e])&&(a=!0);return a?mv(t,s,r.apply(o,i)):S_(t,s)}function x_(t,e){const n=es();let r;const i=t+oo;var o;n.firstCreatePass?(r=function(t,e){if(e){0;for(let n=e.length-1;n>=0;n--){const r=e[n];if(t===r.name)return r}}0;return}(e,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(null!==(o=n.destroyHooks)&&void 0!==o?o:n.destroyHooks=[]).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=Kr(r.type));const a=kr(jf);try{const t=aa(!1),e=s();return aa(t),hw(n,ts(),i,e),e}finally{kr(a)}}function k_(t,e,n){const r=t+oo,i=ts(),o=Oo(i,r);return F_(i,r)?C_(i,fs(),e,o.transform,n,o):o.transform(n)}function I_(t,e,n,r){const i=t+oo,o=ts(),s=Oo(o,i);return F_(o,i)?E_(o,fs(),e,s.transform,n,r,s):s.transform(n,r)}function O_(t,e,n,r,i){const o=t+oo,s=ts(),a=Oo(s,o);return F_(s,o)?D_(s,fs(),e,a.transform,n,r,i,a):a.transform(n,r,i)}function R_(t,e,n,r,i,o){const s=t+oo,a=ts(),u=Oo(a,s);return F_(a,s)?T_(a,fs(),e,u.transform,n,r,i,o,u):u.transform(n,r,i,o)}function P_(t,e,n){const r=t+oo,i=ts(),o=Oo(i,r);return F_(i,r)?A_(i,fs(),e,o.transform,n,o):o.transform.apply(o,n)}function F_(t,e){return t[1].data[e].pure}function N_(t,e){return Jh(t,e)}function M_(t,e){return()=>{try{return Mf.getComponentDependencies(t,e).dependencies}catch(e){throw console.error(`Computing dependencies in local compilation mode for the component "${t.name}" failed with the exception:`,e),e}}}function L_(t,e){const n=pi(t);null!==n&&(n.debugInfo=e)}function j_(t,e,n,r,i=null,o=null){const s=pi(t);e.apply(null,[t,n,...r]);const{newDef:a,oldDef:u}=function(t,e){const n=On({},t),r=Object.assign(t,e,{directiveDefs:n.directiveDefs,pipeDefs:n.pipeDefs,setInput:n.setInput,type:n.type});return{newDef:r,oldDef:n}}(s,pi(t));if(t[vr]=a,u.tView){const t=ku.values();for(const e of t)po(e)&&null===e[3]&&z_(i,o,a,u,e)}}function z_(e,n,r,i,o){const s=o[1];if(s!==i.tView)for(let t=oo;t<s.bindingStartIndex;t++){const s=o[t];if(uo(s)){ao(s[0])&&z_(e,n,r,i,s[0]);for(let t=so;t<s.length;t++)z_(e,n,r,i,s[t])}else ao(s)&&z_(e,n,r,i,s)}else!function(e,n,r,i,o){const s=o[8];let a=o[0];const u=o[3];const l=o[5];const c=o[9].get(ou,null),d=()=>{if(i.encapsulation===t.ViewEncapsulation.ShadowDom){const t=a.cloneNode(!1);a.replaceWith(t),a=t}const e=xd(r),n=kd(u,e,s,Id(r),a,l,null,null,null,null,null);!function(t,e,n,r){for(let r=oo;r<t[1].bindingStartIndex;r++){const i=t[r];if((ao(i)||uo(i))&&i[4]===e){i[4]=n;break}}t[12]===e&&(t[12]=n);t[13]===e&&(t[13]=n);n[4]=e[4],e[4]=null,t[r]=n}(u,o,n,l.index),ah(o[1],o);const c=o[10].rendererFactory;var d,h,f;h=i,null===(f=(d=c).componentReplaced)||void 0===f||f.call(d,h.id),n[11]=c.createRenderer(a,r),ih(o[1],o),function(t){if(null!==t.projection){for(const e of t.projection)Ks(e)&&(e.projectionNext=null,e.flags&=-3);t.projection=null}}(l),Kd(e,n,s),Nh(e,n,e.template,s)};null===c?B_(e,n,d):c.run((()=>B_(e,n,d)))}(e,n,r,i,o)}function B_(t,e,n){try{n()}catch(n){const o=n;if(null!==e&&o.message){var r,i;const n=o.message+(o.stack?"\n"+o.stack:"");null==t||null===(r=t.hot)||void 0===r||null===(i=r.send)||void 0===i||i.call(r,"angular:invalidate",{id:e,message:n,error:!0})}throw n}}const U_={"ɵɵattribute":Gg,"ɵɵattributeInterpolate1":rm,"ɵɵattributeInterpolate2":im,"ɵɵattributeInterpolate3":om,"ɵɵattributeInterpolate4":sm,"ɵɵattributeInterpolate5":am,"ɵɵattributeInterpolate6":um,"ɵɵattributeInterpolate7":lm,"ɵɵattributeInterpolate8":cm,"ɵɵattributeInterpolateV":dm,"ɵɵdefineComponent":Vp,"ɵɵdefineDirective":Yp,"ɵɵdefineInjectable":ir,"ɵɵdefineInjector":or,"ɵɵdefineNgModule":Wp,"ɵɵdefinePipe":Kp,"ɵɵdirectiveInject":jf,"ɵɵgetInheritedFactory":Ta,"ɵɵinject":jr,"ɵɵinjectAttribute":ka,"ɵɵinvalidFactory":zf,"ɵɵinvalidFactoryDep":zr,"ɵɵtemplateRefExtractor":N_,"ɵɵresetView":rs,"ɵɵHostDirectivesFeature":cv,"ɵɵNgOnChangesFeature":yo,"ɵɵProvidersFeature":s_,"ɵɵCopyDefinitionFeature":lv,"ɵɵInheritDefinitionFeature":ev,"ɵɵExternalStylesFeature":a_,"ɵɵnextContext":qb,"ɵɵnamespaceHTML":Ls,"ɵɵnamespaceMathML":Ms,"ɵɵnamespaceSVG":Ns,"ɵɵenableBindings":Jo,"ɵɵdisableBindings":Xo,"ɵɵelementStart":Cy,"ɵɵelementEnd":Ey,"ɵɵelement":Dy,"ɵɵelementContainerStart":Ay,"ɵɵelementContainerEnd":xy,"ɵɵelementContainer":ky,"ɵɵpureFunction0":h_,"ɵɵpureFunction1":f_,"ɵɵpureFunction2":p_,"ɵɵpureFunction3":v_,"ɵɵpureFunction4":g_,"ɵɵpureFunction5":m_,"ɵɵpureFunction6":y_,"ɵɵpureFunction7":b_,"ɵɵpureFunction8":w_,"ɵɵpureFunctionV":__,"ɵɵgetCurrentView":Oy,"ɵɵrestoreView":ns,"ɵɵlistener":zb,"ɵɵprojection":Zb,"ɵɵsyntheticHostProperty":Py,"ɵɵsyntheticHostListener":Bb,"ɵɵpipeBind1":k_,"ɵɵpipeBind2":I_,"ɵɵpipeBind3":O_,"ɵɵpipeBind4":R_,"ɵɵpipeBindV":P_,"ɵɵprojectionDef":Gb,"ɵɵhostProperty":Ry,"ɵɵproperty":Im,"ɵɵpropertyInterpolate":Yb,"ɵɵpropertyInterpolate1":Kb,"ɵɵpropertyInterpolate2":Qb,"ɵɵpropertyInterpolate3":Jb,"ɵɵpropertyInterpolate4":Xb,"ɵɵpropertyInterpolate5":tw,"ɵɵpropertyInterpolate6":ew,"ɵɵpropertyInterpolate7":nw,"ɵɵpropertyInterpolate8":rw,"ɵɵpropertyInterpolateV":iw,"ɵɵpipe":x_,"ɵɵqueryRefresh":aw,"ɵɵqueryAdvance":dw,"ɵɵviewQuery":sw,"ɵɵviewQuerySignal":cw,"ɵɵloadQuery":uw,"ɵɵcontentQuery":ow,"ɵɵcontentQuerySignal":lw,"ɵɵreference":fw,"ɵɵclassMap":Mm,"ɵɵclassMapInterpolate1":Km,"ɵɵclassMapInterpolate2":Qm,"ɵɵclassMapInterpolate3":Jm,"ɵɵclassMapInterpolate4":Xm,"ɵɵclassMapInterpolate5":ty,"ɵɵclassMapInterpolate6":ey,"ɵɵclassMapInterpolate7":ny,"ɵɵclassMapInterpolate8":ry,"ɵɵclassMapInterpolateV":iy,"ɵɵstyleMap":Fm,"ɵɵstyleMapInterpolate1":pw,"ɵɵstyleMapInterpolate2":vw,"ɵɵstyleMapInterpolate3":gw,"ɵɵstyleMapInterpolate4":mw,"ɵɵstyleMapInterpolate5":yw,"ɵɵstyleMapInterpolate6":bw,"ɵɵstyleMapInterpolate7":ww,"ɵɵstyleMapInterpolate8":_w,"ɵɵstyleMapInterpolateV":Sw,"ɵɵstyleProp":Rm,"ɵɵstylePropInterpolate1":Cw,"ɵɵstylePropInterpolate2":Ew,"ɵɵstylePropInterpolate3":Dw,"ɵɵstylePropInterpolate4":Tw,"ɵɵstylePropInterpolate5":Aw,"ɵɵstylePropInterpolate6":xw,"ɵɵstylePropInterpolate7":kw,"ɵɵstylePropInterpolate8":Iw,"ɵɵstylePropInterpolateV":Ow,"ɵɵclassProp":Pm,"ɵɵadvance":Pd,"ɵɵtemplate":Ev,"ɵɵconditional":hy,"ɵɵdefer":Eg,"ɵɵdeferWhen":Dg,"ɵɵdeferOnIdle":kg,"ɵɵdeferOnImmediate":Rg,"ɵɵdeferOnTimer":Ng,"ɵɵdeferOnHover":jg,"ɵɵdeferOnInteraction":Ug,"ɵɵdeferOnViewport":$g,"ɵɵdeferPrefetchWhen":Tg,"ɵɵdeferPrefetchOnIdle":Ig,"ɵɵdeferPrefetchOnImmediate":Pg,"ɵɵdeferPrefetchOnTimer":Mg,"ɵɵdeferPrefetchOnHover":zg,"ɵɵdeferPrefetchOnInteraction":Hg,"ɵɵdeferPrefetchOnViewport":qg,"ɵɵdeferHydrateWhen":Ag,"ɵɵdeferHydrateNever":xg,"ɵɵdeferHydrateOnIdle":Og,"ɵɵdeferHydrateOnImmediate":Fg,"ɵɵdeferHydrateOnTimer":Lg,"ɵɵdeferHydrateOnHover":Bg,"ɵɵdeferHydrateOnInteraction":Vg,"ɵɵdeferHydrateOnViewport":Wg,"ɵɵdeferEnableTimerScheduling":Hv,"ɵɵrepeater":by,"ɵɵrepeaterCreate":my,"ɵɵrepeaterTrackByIndex":py,"ɵɵrepeaterTrackByIdentity":vy,"ɵɵcomponentInstance":oy,"ɵɵtext":Rw,"ɵɵtextInterpolate":Fw,"ɵɵtextInterpolate1":Nw,"ɵɵtextInterpolate2":Mw,"ɵɵtextInterpolate3":Lw,"ɵɵtextInterpolate4":jw,"ɵɵtextInterpolate5":zw,"ɵɵtextInterpolate6":Bw,"ɵɵtextInterpolate7":Uw,"ɵɵtextInterpolate8":Hw,"ɵɵtextInterpolateV":Vw,"ɵɵi18n":Fb,"ɵɵi18nAttributes":Nb,"ɵɵi18nExp":Mb,"ɵɵi18nStart":Rb,"ɵɵi18nEnd":Pb,"ɵɵi18nApply":Lb,"ɵɵi18nPostprocess":jb,"ɵɵresolveWindow":td,"ɵɵresolveDocument":ed,"ɵɵresolveBody":nd,"ɵɵsetComponentScope":u_,"ɵɵsetNgModuleScope":l_,"ɵɵregisterNgModuleType":Fp,"ɵɵgetComponentDepsFactory":M_,"ɵsetClassDebugInfo":L_,"ɵɵdeclareLet":Yw,"ɵɵstoreLet":Kw,"ɵɵreadContextLet":Qw,"ɵɵattachSourceLocations":Jw,"ɵɵsanitizeHtml":Hc,"ɵɵsanitizeStyle":Vc,"ɵɵsanitizeResourceUrl":qc,"ɵɵsanitizeScript":Wc,"ɵɵsanitizeUrl":$c,"ɵɵsanitizeUrlOrResourceUrl":Yc,"ɵɵtrustConstantHtml":Gc,"ɵɵtrustConstantResourceUrl":Zc,"ɵɵvalidateIframeAttribute":Np,forwardRef:Xn,resolveForwardRef:tr,"ɵɵtwoWayProperty":qw,"ɵɵtwoWayBindingSet":Ww,"ɵɵtwoWayListener":Gw,"ɵɵreplaceMetadata":j_};let H_=null;const V_=[];let $_=!1;function q_(t){return Array.isArray(t)?t.every(q_):!!tr(t)}function W_(t,e={}){!function(t,e){const n=Qr(e.declarations||ui);let r=null;Object.defineProperty(t,yr,{configurable:!0,get:()=>{if(null===r){0;const i=Gi();r=i.compileNgModule(U_,`ng:///${t.name}/ɵmod.js`,{type:t,bootstrap:Qr(e.bootstrap||ui).map(tr),declarations:n.map(tr),imports:Qr(e.imports||ui).map(tr).map(K_),exports:Qr(e.exports||ui).map(tr).map(K_),schemas:e.schemas?Qr(e.schemas):null,id:e.id||null}),r.schemas||(r.schemas=[])}return r}});let i=null;Object.defineProperty(t,br,{get:()=>{if(null===i){const e=Gi();i=e.compileFactory(U_,`ng:///${t.name}/ɵfac.js`,{name:t.name,type:t,deps:Pa(t),target:e.FactoryTarget.NgModule,typeArgumentCount:0})}return i},configurable:!1});let o=null;Object.defineProperty(t,cr,{get:()=>{if(null===o){const n={name:t.name,type:t,providers:e.providers||ui,imports:[(e.imports||ui).map(tr),(e.exports||ui).map(tr)]},r=Gi();o=r.compileInjector(U_,`ng:///${t.name}/ɵinj.js`,n)}return o},configurable:!1})}(t,e),void 0!==e.id&&Fp(t,e.id),function(t,e){V_.push({moduleType:t,ngModule:e})}(t,e)}new WeakMap,new WeakMap;function G_(t,e){const n=Qr(e.declarations||ui),r=Y_(t);n.forEach((e=>{if((e=tr(e)).hasOwnProperty(vr)){Z_(pi(e),r)}else e.hasOwnProperty(gr)||e.hasOwnProperty(mr)||(e.ngSelectorScope=t)}))}function Z_(t,e){t.directiveDefs=()=>Array.from(e.compilation.directives).map((t=>t.hasOwnProperty(vr)?pi(t):vi(t))).filter((t=>!!t)),t.pipeDefs=()=>Array.from(e.compilation.pipes).map((t=>gi(t))),t.schemas=e.schemas,t.tView=null}function Y_(t){if(If(t)){const e=Mf.getNgModuleScope(t);return On({schemas:fi(t,!0).schemas||null},e)}if(mi(t)){if(null!==(pi(t)||vi(t)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([t]),pipes:new Set}};if(null!==gi(t))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([t])}}}throw new Error(`${t.name} does not have a module def (ɵmod property)`)}function K_(t){return kf(t)?t.ngModule:t}let Q_=0;function J_(e,n){let r=null;!function(t,e){Rp(e)&&(Ip.set(t,e),Op.add(t))}(e,n),eS(e,n),Object.defineProperty(e,vr,{get:()=>{if(null===r){const i=Gi();if(Rp(n)){const t=[`Component '${e.name}' is not resolved:`];throw n.templateUrl&&t.push(` - templateUrl: ${n.templateUrl}`),n.styleUrls&&n.styleUrls.length&&t.push(` - styleUrls: ${JSON.stringify(n.styleUrls)}`),n.styleUrl&&t.push(` - styleUrl: ${n.styleUrl}`),t.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(t.join("\n"))}const o=H_;let s=n.preserveWhitespaces;void 0===s&&(s=null!==o&&void 0!==o.preserveWhitespaces&&o.preserveWhitespaces);let a=n.encapsulation;void 0===a&&(a=null!==o&&void 0!==o.defaultEncapsulation?o.defaultEncapsulation:t.ViewEncapsulation.Emulated);const u=n.templateUrl||`ng:///${e.name}/template.html`,l=On(On({},rS(e,n)),{},{typeSourceSpan:i.createParseSourceSpan("Component",e.name,u),template:n.template||"",preserveWhitespaces:s,styles:"string"==typeof n.styles?[n.styles]:n.styles||ui,animations:n.animations,declarations:[],changeDetection:n.changeDetection,encapsulation:a,interpolation:n.interpolation,viewProviders:n.viewProviders||null});Q_++;try{if(l.usesInheritance&&iS(e),r=i.compileComponent(U_,u,l),l.isStandalone){const t=Qr(n.imports||ui),{directiveDefs:i,pipeDefs:o}=function(t,e){const n=()=>{if(!Pf(t))return[];return[...Mf.getStandaloneComponentScope(t,e).compilation.directives].map((t=>pi(t)||vi(t))).filter((t=>null!==t))},r=()=>{if(!Pf(t))return[];return[...Mf.getStandaloneComponentScope(t,e).compilation.pipes].map((t=>gi(t))).filter((t=>null!==t))};return{directiveDefs:n,pipeDefs:r}}(e,t);r.directiveDefs=i,r.pipeDefs=o,r.dependencies=()=>t.map(tr)}}finally{Q_--}if(0===Q_&&function(){if(!$_){$_=!0;try{for(let t=V_.length-1;t>=0;t--){const{moduleType:e,ngModule:n}=V_[t];n.declarations&&n.declarations.every(q_)&&(V_.splice(t,1),G_(e,n))}}finally{$_=!1}}}(),void 0!==e.ngSelectorScope){const t=Y_(e.ngSelectorScope);Z_(r,t)}if(n.schemas){if(!l.isStandalone)throw new Error(`The 'schemas' was specified for the ${Cr(e)} but is only valid on a component that is standalone.`);r.schemas=n.schemas}else l.isStandalone&&(r.schemas=[])}return r},set:t=>{r=t},configurable:!1})}function X_(t,e){let n=null;eS(t,e||{}),Object.defineProperty(t,gr,{get:()=>{if(null===n){const r=tS(t,e||{}),i=Gi();n=i.compileDirective(U_,r.sourceMapUrl,r.metadata)}return n},configurable:!1})}function tS(t,e){const n=t&&t.name,r=`ng:///${n}/ɵdir.js`,i=Gi(),o=rS(t,e);return o.typeSourceSpan=i.createParseSourceSpan("Directive",n,r),o.usesInheritance&&iS(t),{metadata:o,sourceMapUrl:r}}function eS(t,e){let n=null;Object.defineProperty(t,br,{get:()=>{if(null===n){const r=tS(t,e),i=Gi();n=i.compileFactory(U_,`ng:///${t.name}/ɵfac.js`,{name:r.metadata.name,type:r.metadata.type,typeArgumentCount:0,deps:Pa(t),target:i.FactoryTarget.Directive})}return n},configurable:!1})}function nS(t){return Object.getPrototypeOf(t.prototype)===Object.prototype}function rS(t,e){var n;const r=Ra(),i=r.ownPropMetadata(t);return{name:t.name,type:t,selector:void 0!==e.selector?e.selector:null,host:e.host||ai,propMetadata:i,inputs:e.inputs||ui,outputs:e.outputs||ui,queries:sS(t,i,aS),lifecycle:{usesOnChanges:r.hasLifecycleHook(t,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!nS(t),exportAs:(o=e.exportAs,void 0===o?null:cS(o)),providers:e.providers||null,viewQueries:sS(t,i,uS),isStandalone:void 0===e.standalone||!!e.standalone,isSignal:!!e.signals,hostDirectives:(null===(n=e.hostDirectives)||void 0===n?void 0:n.map((t=>"function"==typeof t?{directive:t}:t)))||null};var o}function iS(t){const e=Object.prototype;let n=Object.getPrototypeOf(t.prototype).constructor;for(;n&&n!==e;)vi(n)||pi(n)||!hS(n)||X_(n,null),n=Object.getPrototypeOf(n)}function oS(t,e){return{propertyName:t,predicate:(n=e.selector,"string"==typeof n?cS(n):tr(n)),descendants:e.descendants,first:e.first,read:e.read?e.read:null,static:!!e.static,emitDistinctChangesOnly:!!e.emitDistinctChangesOnly,isSignal:!!e.isSignal};var n}function sS(t,e,n){const r=[];for(const i in e)if(e.hasOwnProperty(i)){const o=e[i];o.forEach((e=>{if(n(e)){if(!e.selector)throw new Error(`Can't construct a query for the property "${i}" of "${Cr(t)}" since the query selector wasn't defined.`);if(o.some(lS))throw new Error("Cannot combine @Input decorators with query decorators");r.push(oS(i,e))}}))}return r}function aS(t){const e=t.ngMetadataName;return"ContentChild"===e||"ContentChildren"===e}function uS(t){const e=t.ngMetadataName;return"ViewChild"===e||"ViewChildren"===e}function lS(t){return"Input"===t.ngMetadataName}function cS(t){return t.split(",").map((t=>t.trim()))}const dS=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function hS(t){const e=Ra();if(dS.some((n=>e.hasLifecycleHook(t,n))))return!0;const n=e.propMetadata(t);for(const t in n){const e=n[t];for(let t=0;t<e.length;t++){const n=e[t],r=n.ngMetadataName;if(lS(n)||aS(n)||uS(n)||"Output"===r||"HostBinding"===r||"HostListener"===r)return!0}}return!1}function fS(t,e){return{type:t,name:t.name,pipeName:e.name,pure:void 0===e.pure||e.pure,isStandalone:void 0===e.standalone||!!e.standalone}}const pS=Vn("Directive",((t={})=>t),void 0,0,((t,e)=>X_(t,e))),vS=Vn("Component",((e={})=>On({changeDetection:t.ChangeDetectionStrategy.Default},e)),pS,0,((t,e)=>J_(t,e))),gS=(Vn("Pipe",(t=>On({pure:!0},t)),void 0,0,((t,e)=>function(t,e){let n=null,r=null;Object.defineProperty(t,br,{get:()=>{if(null===r){const n=fS(t,e),i=Gi(n.type);r=i.compileFactory(U_,`ng:///${n.name}/ɵfac.js`,{name:n.name,type:n.type,typeArgumentCount:0,deps:Pa(t),target:i.FactoryTarget.Pipe})}return r},configurable:!1}),Object.defineProperty(t,mr,{get:()=>{if(null===n){const r=fS(t,e),i=Gi(r.type);n=i.compilePipe(U_,`ng:///${r.name}/ɵpipe.js`,r)}return n},configurable:!1})}(t,e))),Wn("Input",(t=>t?"string"==typeof t?{alias:t}:t:{}))),mS=Wn("Output",(t=>({alias:t}))),yS=(Wn("HostBinding",(t=>({hostPropertyName:t}))),Wn("HostListener",((t,e)=>({eventName:t,args:e}))),Vn("NgModule",(t=>t),void 0,0,((t,e)=>W_(t,e))));class bS{constructor(t){Rn(this,"full",void 0),Rn(this,"major",void 0),Rn(this,"minor",void 0),Rn(this,"patch",void 0),this.full=t;const e=t.split(".");this.major=e[0],this.minor=e[1],this.patch=e.slice(2).join(".")}}new bS("19.2.3");class wS{constructor(t,e){Rn(this,"ngModuleFactory",void 0),Rn(this,"componentFactories",void 0),this.ngModuleFactory=t,this.componentFactories=e}}class _S{compileModuleSync(t){return new zp(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const e=this.compileModuleSync(t),n=rd(fi(t).declarations).reduce(((t,e)=>{const n=pi(e);return n&&t.push(new Jf(n)),t}),[]);return new wS(e,n)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}}Sn=_S,Rn(_S,"ɵfac",(function(t){return new(t||Sn)})),Rn(_S,"ɵprov",ir({token:Sn,factory:Sn.ɵfac,providedIn:"root"}));new fr("");function SS(t,e,n){const r=new zp(n);return Promise.resolve(r)}class CS{constructor(){Rn(this,"zone",Br(ou)),Rn(this,"changeDetectionScheduler",Br(Wa)),Rn(this,"applicationRef",Br(og)),Rn(this,"_onMicrotaskEmptySubscription",void 0)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run((()=>{this.applicationRef.tick()}))}}))}ngOnDestroy(){var t;null===(t=this._onMicrotaskEmptySubscription)||void 0===t||t.unsubscribe()}}Cn=CS,Rn(CS,"ɵfac",(function(t){return new(t||Cn)})),Rn(CS,"ɵprov",ir({token:Cn,factory:Cn.ɵfac,providedIn:"root"}));new fr("",{factory:()=>!1});function ES({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:n}){return null!=t||(t=()=>new ou(On(On({},DS()),{},{scheduleInRootZone:n}))),[{provide:ou,useFactory:t},{provide:li,multi:!0,useFactory:()=>{const t=Br(CS,{optional:!0});return()=>t.initialize()}},{provide:li,multi:!0,useFactory:()=>{const t=Br(TS);return()=>{t.initialize()}}},!0===e?{provide:Za,useValue:!0}:[],{provide:Ya,useValue:null!=n?n:Va}]}function DS(t){var e,n;return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:null!==(e=null==t?void 0:t.eventCoalescing)&&void 0!==e&&e,shouldCoalesceRunChangeDetection:null!==(n=null==t?void 0:t.runCoalescing)&&void 0!==n&&n}}class TS{constructor(){Rn(this,"subscription",new at),Rn(this,"initialized",!1),Rn(this,"zone",Br(ou)),Rn(this,"pendingTasks",Br(Ka))}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;this.zone.isStable||this.zone.hasPendingMacrotasks||this.zone.hasPendingMicrotasks||(t=this.pendingTasks.add()),this.zone.runOutsideAngular((()=>{this.subscription.add(this.zone.onStable.subscribe((()=>{ou.assertNotInAngularZone(),queueMicrotask((()=>{null===t||this.zone.hasPendingMacrotasks||this.zone.hasPendingMicrotasks||(this.pendingTasks.remove(t),t=null)}))})))})),this.subscription.add(this.zone.onUnstable.subscribe((()=>{ou.assertInAngularZone(),null!=t||(t=this.pendingTasks.add())})))}ngOnDestroy(){this.subscription.unsubscribe()}}En=TS,Rn(TS,"ɵfac",(function(t){return new(t||En)})),Rn(TS,"ɵprov",ir({token:En,factory:En.ɵfac,providedIn:"root"}));class AS{constructor(){var t,e,n;Rn(this,"appRef",Br(og)),Rn(this,"taskService",Br(Ka)),Rn(this,"ngZone",Br(ou)),Rn(this,"zonelessEnabled",Br(Ga)),Rn(this,"tracing",Br(Ju,{optional:!0})),Rn(this,"disableScheduling",null!==(t=Br(Za,{optional:!0}))&&void 0!==t&&t),Rn(this,"zoneIsDefined","undefined"!=typeof Zone&&!!Zone.root.run),Rn(this,"schedulerTickApplyArgs",[{data:{__scheduler_tick__:!0}}]),Rn(this,"subscriptions",new at),Rn(this,"angularZoneId",this.zoneIsDefined?null===(e=this.ngZone._inner)||void 0===e?void 0:e.get(ru):null),Rn(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&null!==(n=Br(Ya,{optional:!0}))&&void 0!==n&&n),Rn(this,"cancelScheduledCallback",null),Rn(this,"useMicrotaskScheduler",!1),Rn(this,"runningTick",!1),Rn(this,"pendingRenderTaskId",null),this.subscriptions.add(this.appRef.afterTick.subscribe((()=>{this.runningTick||this.cleanup()}))),this.subscriptions.add(this.ngZone.onUnstable.subscribe((()=>{this.runningTick||this.cleanup()}))),this.disableScheduling||(this.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof du||!this.zoneIsDefined))}notify(t){var e,n;if(!this.zonelessEnabled&&5===t)return;let r=!1;switch(t){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:case 13:this.appRef.dirtyFlags|=2,r=!0;break;case 12:this.appRef.dirtyFlags|=16,r=!0;break;case 11:r=!0;break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=null!==(e=null===(n=this.tracing)||void 0===n?void 0:n.snapshot(this.appRef.tracingSnapshot))&&void 0!==e?e:null,!this.shouldScheduleTick(r))return;const i=this.useMicrotaskScheduler?eu:tu;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run((()=>i((()=>this.tick())))):this.cancelScheduledCallback=this.ngZone.runOutsideAngular((()=>i((()=>this.tick()))))}shouldScheduleTick(t){return!(this.disableScheduling&&!t||this.appRef.destroyed)&&(null===this.pendingRenderTaskId&&!this.runningTick&&!this.appRef._runningTick&&!(!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ru+this.angularZoneId)))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const t=this.taskService.add();try{this.ngZone.run((()=>{this.runningTick=!0,this.appRef._tick()}),void 0,this.schedulerTickApplyArgs)}catch(e){throw this.taskService.remove(t),e}finally{this.cleanup()}this.useMicrotaskScheduler=!0,eu((()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)}))}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var t;if(this.runningTick=!1,null===(t=this.cancelScheduledCallback)||void 0===t||t.call(this),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}}Dn=AS,Rn(AS,"ɵfac",(function(t){return new(t||Dn)})),Rn(AS,"ɵprov",ir({token:Dn,factory:Dn.ɵfac,providedIn:"root"}));const xS=new fr("",{providedIn:"root",factory:()=>Br(xS,Tr.Optional|Tr.SkipSelf)||"undefined"!=typeof $localize&&$localize.locale||Hy}),kS=new fr("",{providedIn:"root",factory:()=>"USD"});var IS;new fr(""),new fr(""),function(t){t[t.Error=0]="Error",t[t.Warning=1]="Warning",t[t.Ignore=2]="Ignore"}(IS||(IS={}));class OS{constructor(){Rn(this,"window",null),Rn(this,"observer",null),Rn(this,"options",Br(qu)),Rn(this,"lcpImageUrl",void 0)}start(){var t,e;if("undefined"!=typeof ngServerMode&&ngServerMode||"undefined"==typeof PerformanceObserver||null!==(t=this.options)&&void 0!==t&&t.disableImageSizeWarning&&null!==(e=this.options)&&void 0!==e&&e.disableImageLazyLoadWarning)return;this.observer=this.initPerformanceObserver();const n=ju(),r=n.defaultView;if(r){this.window=r;const t=()=>{setTimeout(this.scanImages.bind(this),200)},e=()=>{var e;"complete"===n.readyState?t():null===(e=this.window)||void 0===e||e.addEventListener("load",t,{once:!0})};"undefined"!=typeof Zone?Zone.root.run((()=>e())):e()}}ngOnDestroy(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}initPerformanceObserver(){if("undefined"==typeof PerformanceObserver)return null;const t=new PerformanceObserver((t=>{var e,n;const r=t.getEntries();if(0===r.length)return;const i=null!==(e=null===(n=r[r.length-1].element)||void 0===n?void 0:n.src)&&void 0!==e?e:"";i.startsWith("data:")||i.startsWith("blob:")||(this.lcpImageUrl=i)}));return t.observe({type:"largest-contentful-paint",buffered:!0}),t}scanImages(){var t;const e=ju().querySelectorAll("img");let n,r=!1;var i;e.forEach((t=>{var e,i,o;null!==(e=this.options)&&void 0!==e&&e.disableImageSizeWarning||!t.getAttribute("ng-img")&&this.isOversized(t)&&(o=t.src,console.warn(Nn(-913,`An image with src ${o} has intrinsic file dimensions much larger than its rendered size. This can negatively impact application loading performance. For more information about addressing or disabling this warning, see https://angular.dev/errors/NG0913`))),null!==(i=this.options)&&void 0!==i&&i.disableImageLazyLoadWarning||!this.lcpImageUrl||t.src===this.lcpImageUrl&&(n=!0,("lazy"!==t.loading||t.getAttribute("ng-img"))&&(r=!0))})),!n||r||!this.lcpImageUrl||null!==(t=this.options)&&void 0!==t&&t.disableImageLazyLoadWarning||(i=this.lcpImageUrl,console.warn(Nn(-913,`An image with src ${i} is the Largest Contentful Paint (LCP) element but was given a "loading" value of "lazy", which can negatively impact application loading performance. This warning can be addressed by changing the loading value of the LCP image to "eager", or by using the NgOptimizedImage directive's prioritization utilities. For more information about addressing or disabling this warning, see https://angular.dev/errors/NG0913`)))}isOversized(t){if(!this.window)return!1;const e=(t.src||"").toLowerCase();if([".svg"].some((t=>e.endsWith(t))))return!1;const n=this.window.getComputedStyle(t);let r=parseFloat(n.getPropertyValue("width")),i=parseFloat(n.getPropertyValue("height"));const o=n.getPropertyValue("box-sizing");if("cover"===n.getPropertyValue("object-fit"))return!1;if("border-box"===o){const t=n.getPropertyValue("padding-top"),e=n.getPropertyValue("padding-right"),o=n.getPropertyValue("padding-bottom"),s=n.getPropertyValue("padding-left");r-=parseFloat(e)+parseFloat(s),i-=parseFloat(t)+parseFloat(o)}const s=t.naturalWidth,a=t.naturalHeight,u=this.window.devicePixelRatio*r,l=this.window.devicePixelRatio*i;return s-u>=1200||a-l>=1200}}Tn=OS,Rn(OS,"ɵfac",(function(t){return new(t||Tn)})),Rn(OS,"ɵprov",ir({token:Tn,factory:Tn.ɵfac,providedIn:"root"}));const RS=new fr(""),PS=new fr("");function FS(t){return!t.moduleRef}function NS(t){const e=FS(t)?t.r3Injector:t.moduleRef.injector,n=e.get(ou);return n.run((()=>{FS(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();const r=e.get(fu,null);let i;if(n.runOutsideAngular((()=>{i=n.onError.subscribe({next:t=>{r.handleError(t)}})})),FS(t)){const n=()=>e.destroy(),r=t.platformInjector.get(RS);r.add(n),e.onDestroy((()=>{i.unsubscribe(),r.delete(n)}))}else{const e=()=>t.moduleRef.destroy(),n=t.platformInjector.get(RS);n.add(e),t.moduleRef.onDestroy((()=>{sg(t.allPlatformModules,t.moduleRef),i.unsubscribe(),n.delete(e)}))}return function(t,e,n){try{const r=n();return Jv(r)?r.catch((n=>{throw e.runOutsideAngular((()=>t.handleError(n))),n})):r}catch(n){throw e.runOutsideAngular((()=>t.handleError(n))),n}}(r,n,(()=>{const n=e.get(eg);return n.runInitializers(),n.donePromise.then((()=>{!function(t){"string"==typeof t&&(Wy=t.toLowerCase().replace(/_/g,"-"))}(e.get(xS,Hy)||Hy);if(!e.get(PS,!0))return FS(t)?e.get(og):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(FS(t)){const n=e.get(og);return void 0!==t.rootComponent&&n.bootstrap(t.rootComponent),n}return function(t,e){const n=t.injector.get(og);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach((t=>n.bootstrap(t)));else{if(!t.instance.ngDoBootstrap)throw new Fn(-403,!1);t.instance.ngDoBootstrap(n)}e.push(t)}(t.moduleRef,t.allPlatformModules),t.moduleRef}))}))}))}class MS{constructor(t){Rn(this,"_injector",void 0),Rn(this,"_modules",[]),Rn(this,"_destroyListeners",[]),Rn(this,"_destroyed",!1),this._injector=t}bootstrapModuleFactory(t,e){const n=null==e?void 0:e.scheduleInRootZone,r=[ES({ngZoneFactory:()=>function(t="zone.js",e){return"noop"===t?new du:"zone.js"===t?new ou(e):t}(null==e?void 0:e.ngZone,On(On({},DS({eventCoalescing:null==e?void 0:e.ngZoneEventCoalescing,runCoalescing:null==e?void 0:e.ngZoneRunCoalescing})),{},{scheduleInRootZone:n})),ignoreChangesOutsideZone:null==e?void 0:e.ignoreChangesOutsideZone}),{provide:Wa,useExisting:AS}];var i,o;return NS({moduleRef:(i=t.moduleType,o=this.injector,new jp(i,o,r,!1)),allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(t,e=[]){const n=ig({},e);return SS(this.injector,0,t).then((t=>this.bootstrapModuleFactory(t,n)))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Fn(404,!1);this._modules.slice().forEach((t=>t.destroy())),this._destroyListeners.forEach((t=>t()));const t=this._injector.get(RS,null);t&&(t.forEach((t=>t())),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}An=MS,Rn(MS,"ɵfac",(function(t){return new(t||An)(jr(Ha))})),Rn(MS,"ɵprov",ir({token:An,factory:An.ɵfac,providedIn:"platform"}));let LS=null;const jS=new fr("");function zS(t){if(LS&&!LS.get(jS,!1))throw new Fn(400,!1);rg(),LS=t;const e=t.get(MS);return function(t){const e=t.get(Uu,null);Bi(t,(()=>{null==e||e.forEach((t=>t()))}))}(t),e}function BS(t,e,n=[]){const r=`Platform: ${e}`,i=new fr(r);return(e=[])=>{let o=US();if(!o||o.injector.get(jS,!1)){const o=[...n,...e,{provide:i,useValue:!0}];t?t(o):zS(function(t=[],e){return Ha.create({name:e,providers:[{provide:xi,useValue:"platform"},{provide:RS,useValue:new Set([()=>LS=null])},...t]})}(o,r))}return function(){const t=US();if(!t)throw new Fn(401,!1);0;return t}()}}function US(){var t,e;return null!==(t=null===(e=LS)||void 0===e?void 0:e.get(MS))&&void 0!==t?t:null}class HS{}Rn(HS,"__NG_ELEMENT_ID__",(function(t){return function(t,e,n){if(co(t)&&!n){const n=Ro(t.index,e);return new Zh(n,n)}if(175&t.type){const t=e[15];return new Zh(t,e)}return null}(is(),ts(),!(16&~t))}));class VS{constructor(){}supports(t){return vv(t)}create(t){return new qS(t)}}const $S=(t,e)=>e;class qS{constructor(t){Rn(this,"length",0),Rn(this,"collection",void 0),Rn(this,"_linkedRecords",null),Rn(this,"_unlinkedRecords",null),Rn(this,"_previousItHead",null),Rn(this,"_itHead",null),Rn(this,"_itTail",null),Rn(this,"_additionsHead",null),Rn(this,"_additionsTail",null),Rn(this,"_movesHead",null),Rn(this,"_movesTail",null),Rn(this,"_removalsHead",null),Rn(this,"_removalsTail",null),Rn(this,"_identityChangesHead",null),Rn(this,"_identityChangesTail",null),Rn(this,"_trackByFn",void 0),this._trackByFn=t||$S}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,i=null;for(;e||n;){const o=!n||e&&e.currentIndex<YS(n,r,i)?e:n,s=YS(o,r,i),a=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(e=e._next,null==o.previousIndex)r++;else{i||(i=[]);const t=s-r,e=a-r;if(t!=e){for(let n=0;n<t;n++){const r=n<i.length?i[n]:i[n]=0,o=r+n;e<=o&&o<t&&(i[n]=r+1)}i[o.previousIndex]=e-t}}s!==a&&t(o,s,a)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!vv(t))throw new Fn(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,r,i=this._itHead,o=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],r=this._trackByFn(e,n),null!==i&&Object.is(i.trackById,r)?(o&&(i=this._verifyReinsertion(i,n,r,e)),Object.is(i.item,n)||this._addIdentityChange(i,n)):(i=this._mismatch(i,n,r,e),o=!0),i=i._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[Symbol.iterator]();let r;for(;!(r=n.next()).done;)e(r.value)}}(t,(t=>{r=this._trackByFn(e,t),null!==i&&Object.is(i.trackById,r)?(o&&(i=this._verifyReinsertion(i,t,r,e)),Object.is(i.item,t)||this._addIdentityChange(i,t)):(i=this._mismatch(i,t,r,e),o=!0),i=i._next,e++})),this.length=e;return this._truncate(i),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,r){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,i,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,i,r)):t=this._addAfter(new WS(e,n),i,r),t}_verifyReinsertion(t,e,n,r){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?t=this._reinsertAfter(i,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,i=t._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),null===this._additionsTail?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new ZS),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(null===this._movesTail?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new ZS),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}}class WS{constructor(t,e){Rn(this,"item",void 0),Rn(this,"trackById",void 0),Rn(this,"currentIndex",null),Rn(this,"previousIndex",null),Rn(this,"_nextPrevious",null),Rn(this,"_prev",null),Rn(this,"_next",null),Rn(this,"_prevDup",null),Rn(this,"_nextDup",null),Rn(this,"_prevRemoved",null),Rn(this,"_nextRemoved",null),Rn(this,"_nextAdded",null),Rn(this,"_nextMoved",null),Rn(this,"_nextIdentityChange",null),this.item=t,this.trackById=e}}class GS{constructor(){Rn(this,"_head",null),Rn(this,"_tail",null)}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class ZS{constructor(){Rn(this,"map",new Map)}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new GS,this.map.set(e,n)),n.add(t)}get(t,e){const n=t,r=this.map.get(n);return r?r.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function YS(t,e,n){const r=t.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+e+i}class KS{constructor(){}supports(t){return t instanceof Map||gv(t)}create(){return new QS}}class QS{constructor(){Rn(this,"_records",new Map),Rn(this,"_mapHead",null),Rn(this,"_appendAfter",null),Rn(this,"_previousMapHead",null),Rn(this,"_changesHead",null),Rn(this,"_changesTail",null),Rn(this,"_additionsHead",null),Rn(this,"_additionsTail",null),Rn(this,"_removalsHead",null),Rn(this,"_removalsTail",null)}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||gv(t)))throw new Fn(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,((t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,r)}})),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}const n=new JS(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach((n=>e(t[n],n)))}}class JS{constructor(t){Rn(this,"key",void 0),Rn(this,"previousValue",null),Rn(this,"currentValue",null),Rn(this,"_nextPrevious",null),Rn(this,"_next",null),Rn(this,"_prev",null),Rn(this,"_nextAdded",null),Rn(this,"_nextRemoved",null),Rn(this,"_nextChanged",null),this.key=t}}function XS(){return new tC([new VS])}class tC{constructor(t){Rn(this,"factories",void 0),this.factories=t}static create(t,e){if(null!=e){const n=e.factories.slice();t=t.concat(n)}return new tC(t)}static extend(t){return{provide:tC,useFactory:e=>tC.create(t,e||XS()),deps:[[tC,new Zr,new Wr]]}}find(t){const e=this.factories.find((e=>e.supports(t)));if(null!=e)return e;throw new Fn(901,!1)}}function eC(){return new nC([new KS])}Rn(tC,"ɵprov",ir({token:tC,providedIn:"root",factory:XS}));class nC{constructor(t){Rn(this,"factories",void 0),this.factories=t}static create(t,e){if(e){const n=e.factories.slice();t=t.concat(n)}return new nC(t)}static extend(t){return{provide:nC,useFactory:e=>nC.create(t,e||eC()),deps:[[nC,new Zr,new Wr]]}}find(t){const e=this.factories.find((e=>e.supports(t)));if(e)return e;throw new Fn(901,!1)}}Rn(nC,"ɵprov",ir({token:nC,providedIn:"root",factory:eC}));const rC=[new KS],iC=[new VS];new tC(iC),new nC(rC);const oC=BS(null,"core",[]);class sC{constructor(t){}}function aC(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function uC(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function lC(t){return function(t){const e=h(null);try{return t()}finally{h(e)}}(t)}function cC(t,e){const n=function(t,e){const n=Object.create(F);n.computation=t,void 0!==e&&(n.equal=e);const r=()=>{if(g(n),v(n),n.value===P)throw n.error;return n.value};return r[d]=n,r}(t,null==e?void 0:e.equal);return n}xn=sC,Rn(sC,"ɵfac",(function(t){return new(t||xn)(jr(og))})),Rn(sC,"ɵmod",Wp({type:xn})),Rn(sC,"ɵinj",or({}));class dC extends Qv{constructor(...t){super(...t),Rn(this,"pendingTasks",Br(Ka)),Rn(this,"taskId",null)}schedule(t){super.schedule(t),null===this.taskId&&(this.taskId=this.pendingTasks.add(),queueMicrotask((()=>this.flush())))}flush(){try{super.flush()}finally{null!==this.taskId&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}}Rn(dC,"ɵprov",ir({token:kn=dC,providedIn:"root",factory:()=>new kn}));class hC{constructor(t){Rn(this,d,void 0),this[d]=t}destroy(){this[d].destroy()}}function fC(t,e){var n;(null==e||!e.injector)&&Hi();const r=null!==(n=null==e?void 0:e.injector)&&void 0!==n?n:Br(Ha);let i,o=!0!==(null==e?void 0:e.manualCleanup)?r.get($a):null;const s=r.get(el,null,{optional:!0}),a=r.get(Wa);null===s||null!=e&&e.forceRoot?i=function(t,e,n){const r=Object.create(vC);return r.fn=t,r.scheduler=e,r.notifier=n,r.zone="undefined"!=typeof Zone?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(12),r}(t,r.get(Kv),a):(i=function(t,e,n){var r;const i=Object.create(gC);return i.view=t,i.zone="undefined"!=typeof Zone?Zone.current:null,i.notifier=e,i.fn=n,null!==(r=t[23])&&void 0!==r||(t[23]=new Set),t[23].add(i),i.consumerMarkedDirty(i),i}(s.view,a,t),o instanceof qa&&o._lView===s.view&&(o=null)),i.injector=r,null!==o&&(i.onDestroyFn=o.onDestroy((()=>i.destroy())));const u=new hC(i);return u}const pC=(()=>On(On({},p),{},{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:Xa,run(){if(this.dirty=!1,this.hasRun&&!C(this))return;this.hasRun=!0;const t=t=>{var e;return(null!==(e=this.cleanupFns)&&void 0!==e?e:this.cleanupFns=[]).push(t)},e=_(this),n=hs(!1);try{this.maybeCleanup(),this.fn(t)}finally{hs(n),S(this,e)}},maybeCleanup(){var t;if(null!==(t=this.cleanupFns)&&void 0!==t&&t.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}))(),vC=(()=>On(On({},pC),{},{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){E(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}))(),gC=(()=>On(On({},pC),{},{consumerMarkedDirty(){this.view[2]|=8192,Uo(this.view),this.notifier.notify(13)},destroy(){var t;E(this),this.onDestroyFn(),this.maybeCleanup(),null===(t=this.view[23])||void 0===t||t.delete(this)}}))();var mC;!function(t){t[t.Idle=0]="Idle",t[t.Error=1]="Error",t[t.Loading=2]="Loading",t[t.Reloading=3]="Reloading",t[t.Resolved=4]="Resolved",t[t.Local=5]="Local"}(mC||(mC={}));const yC=t=>t;function bC(t,e){if("function"==typeof t){return wC(B(t,yC,void 0))}return wC(B(t.source,t.computation,t.equal))}function wC(t){const e=t[d],n=t;return n.set=t=>function(t,e){g(t),L(t,e),w(t)}(e,t),n.update=t=>function(t,e){g(t),j(t,e),w(t)}(e,t),n.asReadonly=Cu.bind(t),n}class _C{constructor(t){Rn(this,"value",void 0),Rn(this,"isLoading",cC((()=>this.status()===mC.Loading||this.status()===mC.Reloading))),this.value=t,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=Cu}update(t){this.set(t(lC(this.value)))}hasValue(){return void 0!==this.value()}asReadonly(){return this}}class SC extends _C{constructor(t,e,n,r,i){super(cC((()=>{var t,e;const n=null===(t=(e=this.state()).stream)||void 0===t?void 0:t.call(e);return n&&EC(n)?n.value:this.defaultValue}),{equal:r})),Rn(this,"loaderFn",void 0),Rn(this,"defaultValue",void 0),Rn(this,"equal",void 0),Rn(this,"pendingTasks",void 0),Rn(this,"state",void 0),Rn(this,"extRequest",void 0),Rn(this,"effectRef",void 0),Rn(this,"pendingController",void 0),Rn(this,"resolvePendingTask",void 0),Rn(this,"destroyed",!1),Rn(this,"status",cC((()=>CC(this.state())))),Rn(this,"error",cC((()=>{var t,e;const n=null===(t=(e=this.state()).stream)||void 0===t?void 0:t.call(e);return n&&!EC(n)?n.error:void 0}))),this.loaderFn=e,this.defaultValue=n,this.equal=r,this.extRequest=bC({source:t,computation:t=>({request:t,reload:0})}),this.state=bC({source:this.extRequest,computation:(t,e)=>{const n=void 0===t.request?mC.Idle:mC.Loading;return e?{extRequest:t,status:n,previousStatus:CC(e.value),stream:e.value.extRequest.request===t.request?e.value.stream:void 0}:{extRequest:t,status:n,previousStatus:mC.Idle,stream:void 0}}}),this.effectRef=fC(this.loadEffect.bind(this),{injector:i,manualCleanup:!0}),this.pendingTasks=i.get(Qa),i.get($a).onDestroy((()=>this.destroy()))}set(t){if(this.destroyed)return;const e=lC(this.value),n=lC(this.state);n.status===mC.Local&&(this.equal?this.equal(e,t):e===t)||(this.state.set({extRequest:n.extRequest,status:mC.Local,previousStatus:mC.Local,stream:Su({value:t})}),this.abortInProgressLoad())}reload(){const{status:t}=lC(this.state);return t!==mC.Idle&&t!==mC.Loading&&(this.extRequest.update((({request:t,reload:e})=>({request:t,reload:e+1}))),!0)}destroy(){this.destroyed=!0,this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:mC.Idle,previousStatus:mC.Idle,stream:void 0})}async loadEffect(){const t=this.extRequest(),{status:e,previousStatus:n}=lC(this.state);if(void 0===t.request)return;if(e!==mC.Loading)return;this.abortInProgressLoad();let r=this.resolvePendingTask=this.pendingTasks.add();const{signal:i}=this.pendingController=new AbortController;try{const e=await lC((()=>this.loaderFn({request:t.request,abortSignal:i,previous:{status:n}})));if(i.aborted||lC(this.extRequest)!==t)return;this.state.set({extRequest:t,status:mC.Resolved,previousStatus:mC.Resolved,stream:e})}catch(e){if(i.aborted||lC(this.extRequest)!==t)return;this.state.set({extRequest:t,status:mC.Resolved,previousStatus:mC.Error,stream:Su({error:e})})}finally{var o;null===(o=r)||void 0===o||o(),r=void 0}}abortInProgressLoad(){var t;lC((()=>{var t;return null===(t=this.pendingController)||void 0===t?void 0:t.abort()})),this.pendingController=void 0,null===(t=this.resolvePendingTask)||void 0===t||t.call(this),this.resolvePendingTask=void 0}}function CC(t){switch(t.status){case mC.Loading:return 0===t.extRequest.reload?mC.Loading:mC.Reloading;case mC.Resolved:return EC(lC(t.stream))?mC.Resolved:mC.Error;default:return t.status}}function EC(t){return void 0===t.error}var DC,TC,AC,xC,kC,IC,OC,RC,PC,FC,NC,MC,LC,jC,zC,BC,UC,HC,VC,$C,qC,WC,GC,ZC,YC,KC,QC,JC,XC,tE,eE,nE,rE,iE,oE,sE,aE,uE;function lE(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function cE(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?lE(Object(n),!0).forEach((function(e){dE(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):lE(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function dE(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}new fr("",{providedIn:"platform",factory:()=>null}),new fr("",{providedIn:"platform",factory:()=>null}),new fr("",{providedIn:"platform",factory:()=>null});let hE=null;function fE(){return hE}class pE{}class vE{}DC=vE,dE(vE,"ɵfac",(function(t){return new(t||DC)})),dE(vE,"ɵprov",ir({token:DC,factory:()=>window.navigation,providedIn:"platform"}));const gE=new fr("");class mE{historyGo(t){throw new Error("")}}TC=mE,dE(mE,"ɵfac",(function(t){return new(t||TC)})),dE(mE,"ɵprov",ir({token:TC,factory:()=>Br(bE),providedIn:"platform"}));const yE=new fr("");class bE extends mE{constructor(){super(),dE(this,"_location",void 0),dE(this,"_history",void 0),dE(this,"_doc",Br(gE)),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return fE().getBaseHref(this._doc)}onPopState(t){const e=fE().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=fE().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),()=>e.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,e,n){this._history.pushState(t,e,n)}replaceState(t,e,n){this._history.replaceState(t,e,n)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}function wE(t,e){return t?e?t.endsWith("/")?e.startsWith("/")?t+e.slice(1):t+e:e.startsWith("/")?t+e:`${t}/${e}`:t:e}function _E(t){const e=t.search(/#|\?|$/);return"/"===t[e-1]?t.slice(0,e-1)+t.slice(e):t}function SE(t){return t&&"?"!==t[0]?`?${t}`:t}AC=bE,dE(bE,"ɵfac",(function(t){return new(t||AC)})),dE(bE,"ɵprov",ir({token:AC,factory:()=>new AC,providedIn:"platform"}));class CE{historyGo(t){throw new Error("")}}xC=CE,dE(CE,"ɵfac",(function(t){return new(t||xC)})),dE(CE,"ɵprov",ir({token:xC,factory:()=>Br(DE),providedIn:"root"}));const EE=new fr("");class DE extends CE{constructor(t,e){var n,r,i;super(),dE(this,"_platformLocation",void 0),dE(this,"_baseHref",void 0),dE(this,"_removeListenerFns",[]),this._platformLocation=t,this._baseHref=null!==(n=null!==(r=null!=e?e:this._platformLocation.getBaseHrefFromDOM())&&void 0!==r?r:null===(i=Br(gE).location)||void 0===i?void 0:i.origin)&&void 0!==n?n:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return wE(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+SE(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,r){const i=this.prepareExternalUrl(n+SE(r));this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,r){const i=this.prepareExternalUrl(n+SE(r));this._platformLocation.replaceState(t,e,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){var e,n;null===(e=(n=this._platformLocation).historyGo)||void 0===e||e.call(n,t)}}kC=DE,dE(DE,"ɵfac",(function(t){return new(t||kC)(jr(mE),jr(EE,8))})),dE(DE,"ɵprov",ir({token:kC,factory:kC.ɵfac,providedIn:"root"}));class TE extends CE{constructor(t,e){super(),dE(this,"_platformLocation",void 0),dE(this,"_baseHref",""),dE(this,"_removeListenerFns",[]),this._platformLocation=t,null!=e&&(this._baseHref=e)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){var e;const n=null!==(e=this._platformLocation.hash)&&void 0!==e?e:"#";return n.length>0?n.substring(1):n}prepareExternalUrl(t){const e=wE(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,r){const i=this.prepareExternalUrl(n+SE(r))||this._platformLocation.pathname;this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,r){const i=this.prepareExternalUrl(n+SE(r))||this._platformLocation.pathname;this._platformLocation.replaceState(t,e,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){var e,n;null===(e=(n=this._platformLocation).historyGo)||void 0===e||e.call(n,t)}}IC=TE,dE(TE,"ɵfac",(function(t){return new(t||IC)(jr(mE),jr(EE,8))})),dE(TE,"ɵprov",ir({token:IC,factory:IC.ɵfac}));class AE{constructor(t){dE(this,"_subject",new Pt),dE(this,"_basePath",void 0),dE(this,"_locationStrategy",void 0),dE(this,"_urlChangeListeners",[]),dE(this,"_urlChangeSubscription",null),this._locationStrategy=t;const e=this._locationStrategy.getBaseHref();this._basePath=function(t){const e=new RegExp("^(https?:)?//").test(t);if(e){const[,e]=t.split(/\/\/[^\/]+/);return e}return t}(_E(kE(e))),this._locationStrategy.onPopState((t=>{this._subject.next({url:this.path(!0),pop:!0,state:t.state,type:t.type})}))}ngOnDestroy(){var t;null===(t=this._urlChangeSubscription)||void 0===t||t.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+SE(e))}normalize(t){return AE.stripTrailingSlash(function(t,e){if(!t||!e.startsWith(t))return e;const n=e.substring(t.length);if(""===n||["/",";","?","#"].includes(n[0]))return n;return e}(this._basePath,kE(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._locationStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+SE(e)),n)}replaceState(t,e="",n=null){this._locationStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+SE(e)),n)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){var e,n;null===(e=(n=this._locationStrategy).historyGo)||void 0===e||e.call(n,t)}onUrlChange(t){var e;return this._urlChangeListeners.push(t),null!==(e=this._urlChangeSubscription)&&void 0!==e||(this._urlChangeSubscription=this.subscribe((t=>{this._notifyUrlChangeListeners(t.url,t.state)}))),()=>{const e=this._urlChangeListeners.indexOf(t);var n;(this._urlChangeListeners.splice(e,1),0===this._urlChangeListeners.length)&&(null===(n=this._urlChangeSubscription)||void 0===n||n.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach((n=>n(t,e)))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:null!=e?e:void 0,complete:null!=n?n:void 0})}}function xE(){return new AE(jr(CE))}function kE(t){return t.replace(/\/index.html$/,"")}OC=AE,dE(AE,"normalizeQueryParams",SE),dE(AE,"joinWithSlash",wE),dE(AE,"stripTrailingSlash",_E),dE(AE,"ɵfac",(function(t){return new(t||OC)(jr(CE))})),dE(AE,"ɵprov",ir({token:OC,factory:()=>xE(),providedIn:"root"}));const IE={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],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$","$"],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]};var OE,RE,PE,FE,NE;!function(t){t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific"}(OE||(OE={})),function(t){t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other"}(RE||(RE={})),function(t){t[t.Format=0]="Format",t[t.Standalone=1]="Standalone"}(PE||(PE={})),function(t){t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short"}(FE||(FE={})),function(t){t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full"}(NE||(NE={}));const ME=0,LE=1,jE=3,zE=5,BE=6,UE=9,HE=12,VE=13;var $E;function qE(t,e){return JE(Ly(t)[By.DateFormat],e)}function WE(t,e){return JE(Ly(t)[By.TimeFormat],e)}function GE(t,e){return JE(Ly(t)[By.DateTimeFormat],e)}function ZE(t,e){const n=Ly(t),r=n[By.NumberSymbols][e];if(void 0===r){if(e===HE)return n[By.NumberSymbols][ME];if(e===VE)return n[By.NumberSymbols][LE]}return r}function YE(t,e){return Ly(t)[By.NumberFormats][e]}!function(t){t[t.Sunday=0]="Sunday",t[t.Monday=1]="Monday",t[t.Tuesday=2]="Tuesday",t[t.Wednesday=3]="Wednesday",t[t.Thursday=4]="Thursday",t[t.Friday=5]="Friday",t[t.Saturday=6]="Saturday"}($E||($E={}));const KE=jy;function QE(t){if(!t[By.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[By.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function JE(t,e){for(let n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function XE(t){const[e,n]=t.split(":");return{hours:+e,minutes:+n}}function tD(t,e,n="en"){const r=function(t){return Ly(t)[By.Currencies]}(n)[t]||IE[t]||[],i=r[1];return"narrow"===e&&"string"==typeof i?i:r[0]||t}const eD=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,nD={},rD=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function iD(t,e,n,r){let i=function(t){if(bD(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){const[e,n=1,r=1]=t.split("-").map((t=>+t));return oD(e,n-1,r)}const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let n;if(n=t.match(eD))return function(t){const e=new Date(0);let n=0,r=0;const i=t[8]?e.setUTCFullYear:e.setFullYear,o=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),r=Number(t[9]+t[11]));i.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));const s=Number(t[4]||0)-n,a=Number(t[5]||0)-r,u=Number(t[6]||0),l=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return o.call(e,s,a,u,l),e}(n)}const e=new Date(t);if(!bD(e))throw new Error(`Unable to convert "${t}" into a date`);return e}(t);e=sD(n,e)||e;let o,s=[];for(;e;){if(o=rD.exec(e),!o){s.push(e);break}{s=s.concat(o.slice(1));const t=s.pop();if(!t)break;e=t}}let a=i.getTimezoneOffset();r&&(a=yD(r,a),i=function(t,e){const n=-1,r=t.getTimezoneOffset(),i=yD(e,r);return function(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}(t,n*(i-r))}(i,r));let u="";return s.forEach((t=>{const e=function(t){if(mD[t])return mD[t];let e;switch(t){case"G":case"GG":case"GGG":e=cD(3,FE.Abbreviated);break;case"GGGG":e=cD(3,FE.Wide);break;case"GGGGG":e=cD(3,FE.Narrow);break;case"y":e=lD(0,1,0,!1,!0);break;case"yy":e=lD(0,2,0,!0,!0);break;case"yyy":e=lD(0,3,0,!1,!0);break;case"yyyy":e=lD(0,4,0,!1,!0);break;case"Y":e=gD(1);break;case"YY":e=gD(2,!0);break;case"YYY":e=gD(3);break;case"YYYY":e=gD(4);break;case"M":case"L":e=lD(1,1,1);break;case"MM":case"LL":e=lD(1,2,1);break;case"MMM":e=cD(2,FE.Abbreviated);break;case"MMMM":e=cD(2,FE.Wide);break;case"MMMMM":e=cD(2,FE.Narrow);break;case"LLL":e=cD(2,FE.Abbreviated,PE.Standalone);break;case"LLLL":e=cD(2,FE.Wide,PE.Standalone);break;case"LLLLL":e=cD(2,FE.Narrow,PE.Standalone);break;case"w":e=vD(1);break;case"ww":e=vD(2);break;case"W":e=vD(1,!0);break;case"d":e=lD(2,1);break;case"dd":e=lD(2,2);break;case"c":case"cc":e=lD(7,1);break;case"ccc":e=cD(1,FE.Abbreviated,PE.Standalone);break;case"cccc":e=cD(1,FE.Wide,PE.Standalone);break;case"ccccc":e=cD(1,FE.Narrow,PE.Standalone);break;case"cccccc":e=cD(1,FE.Short,PE.Standalone);break;case"E":case"EE":case"EEE":e=cD(1,FE.Abbreviated);break;case"EEEE":e=cD(1,FE.Wide);break;case"EEEEE":e=cD(1,FE.Narrow);break;case"EEEEEE":e=cD(1,FE.Short);break;case"a":case"aa":case"aaa":e=cD(0,FE.Abbreviated);break;case"aaaa":e=cD(0,FE.Wide);break;case"aaaaa":e=cD(0,FE.Narrow);break;case"b":case"bb":case"bbb":e=cD(0,FE.Abbreviated,PE.Standalone,!0);break;case"bbbb":e=cD(0,FE.Wide,PE.Standalone,!0);break;case"bbbbb":e=cD(0,FE.Narrow,PE.Standalone,!0);break;case"B":case"BB":case"BBB":e=cD(0,FE.Abbreviated,PE.Format,!0);break;case"BBBB":e=cD(0,FE.Wide,PE.Format,!0);break;case"BBBBB":e=cD(0,FE.Narrow,PE.Format,!0);break;case"h":e=lD(3,1,-12);break;case"hh":e=lD(3,2,-12);break;case"H":e=lD(3,1);break;case"HH":e=lD(3,2);break;case"m":e=lD(4,1);break;case"mm":e=lD(4,2);break;case"s":e=lD(5,1);break;case"ss":e=lD(5,2);break;case"S":e=lD(6,1);break;case"SS":e=lD(6,2);break;case"SSS":e=lD(6,3);break;case"Z":case"ZZ":case"ZZZ":e=dD(0);break;case"ZZZZZ":e=dD(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=dD(1);break;case"OOOO":case"ZZZZ":case"zzzz":e=dD(2);break;default:return null}return mD[t]=e,e}(t);u+=e?e(i,n,a):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),u}function oD(t,e,n){const r=new Date(0);return r.setFullYear(t,e,n),r.setHours(0,0,0),r}function sD(t,e){var n;const r=function(t){return Ly(t)[By.LocaleId]}(t);if(null!==(n=nD[r])&&void 0!==n||(nD[r]={}),nD[r][e])return nD[r][e];let i="";switch(e){case"shortDate":i=qE(t,NE.Short);break;case"mediumDate":i=qE(t,NE.Medium);break;case"longDate":i=qE(t,NE.Long);break;case"fullDate":i=qE(t,NE.Full);break;case"shortTime":i=WE(t,NE.Short);break;case"mediumTime":i=WE(t,NE.Medium);break;case"longTime":i=WE(t,NE.Long);break;case"fullTime":i=WE(t,NE.Full);break;case"short":const e=sD(t,"shortTime"),n=sD(t,"shortDate");i=aD(GE(t,NE.Short),[e,n]);break;case"medium":const r=sD(t,"mediumTime"),o=sD(t,"mediumDate");i=aD(GE(t,NE.Medium),[r,o]);break;case"long":const s=sD(t,"longTime"),a=sD(t,"longDate");i=aD(GE(t,NE.Long),[s,a]);break;case"full":const u=sD(t,"fullTime"),l=sD(t,"fullDate");i=aD(GE(t,NE.Full),[u,l])}return i&&(nD[r][e]=i),i}function aD(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,(function(t,n){return null!=e&&n in e?e[n]:t}))),t}function uD(t,e,n="-",r,i){let o="";(t<0||i&&t<=0)&&(i?t=1-t:(t=-t,o=n));let s=String(t);for(;s.length<e;)s="0"+s;return r&&(s=s.slice(s.length-e)),o+s}function lD(t,e,n=0,r=!1,i=!1){return function(o,s){let a=function(t,e){switch(t){case 0:return e.getFullYear();case 1:return e.getMonth();case 2:return e.getDate();case 3:return e.getHours();case 4:return e.getMinutes();case 5:return e.getSeconds();case 6:return e.getMilliseconds();case 7:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}(t,o);if((n>0||a>-n)&&(a+=n),3===t)0===a&&-12===n&&(a=12);else if(6===t)return u=e,uD(a,3).substring(0,u);var u;const l=ZE(s,zE);return uD(a,e,l,r,i)}}function cD(t,e,n=PE.Format,r=!1){return function(i,o){return function(t,e,n,r,i,o){switch(n){case 2:return function(t,e,n){const r=Ly(t),i=JE([r[By.MonthsFormat],r[By.MonthsStandalone]],e);return JE(i,n)}(e,i,r)[t.getMonth()];case 1:return function(t,e,n){const r=Ly(t),i=JE([r[By.DaysFormat],r[By.DaysStandalone]],e);return JE(i,n)}(e,i,r)[t.getDay()];case 0:const s=t.getHours(),a=t.getMinutes();if(o){const t=function(t){const e=Ly(t);return QE(e),(e[By.ExtraData][2]||[]).map((t=>"string"==typeof t?XE(t):[XE(t[0]),XE(t[1])]))}(e),n=function(t,e,n){const r=Ly(t);QE(r);const i=JE([r[By.ExtraData][0],r[By.ExtraData][1]],e)||[];return JE(i,n)||[]}(e,i,r),o=t.findIndex((t=>{if(Array.isArray(t)){const[e,n]=t,r=s>=e.hours&&a>=e.minutes,i=s<n.hours||s===n.hours&&a<n.minutes;if(e.hours<n.hours){if(r&&i)return!0}else if(r||i)return!0}else if(t.hours===s&&t.minutes===a)return!0;return!1}));if(-1!==o)return n[o]}return function(t,e,n){const r=Ly(t),i=JE([r[By.DayPeriodsFormat],r[By.DayPeriodsStandalone]],e);return JE(i,n)}(e,i,r)[s<12?0:1];case 3:return function(t,e){return JE(Ly(t)[By.Eras],e)}(e,r)[t.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${n}`)}}(i,o,t,e,n,r)}}function dD(t){return function(e,n,r){const i=-1*r,o=ZE(n,zE),s=i>0?Math.floor(i/60):Math.ceil(i/60);switch(t){case 0:return(i>=0?"+":"")+uD(s,2,o)+uD(Math.abs(i%60),2,o);case 1:return"GMT"+(i>=0?"+":"")+uD(s,1,o);case 2:return"GMT"+(i>=0?"+":"")+uD(s,2,o)+":"+uD(Math.abs(i%60),2,o);case 3:return 0===r?"Z":(i>=0?"+":"")+uD(s,2,o)+":"+uD(Math.abs(i%60),2,o);default:throw new Error(`Unknown zone width "${t}"`)}}}const hD=0,fD=4;function pD(t){const e=t.getDay(),n=0===e?-3:fD-e;return oD(t.getFullYear(),t.getMonth(),t.getDate()+n)}function vD(t,e=!1){return function(n,r){let i;if(e){const t=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,e=n.getDate();i=1+Math.floor((e+t)/7)}else{const t=pD(n),e=function(t){const e=oD(t,hD,1).getDay();return oD(t,0,1+(e<=fD?fD:fD+7)-e)}(t.getFullYear()),r=t.getTime()-e.getTime();i=1+Math.round(r/6048e5)}return uD(i,t,ZE(r,zE))}}function gD(t,e=!1){return function(n,r){return uD(pD(n).getFullYear(),t,ZE(r,zE),e)}}const mD={};function yD(t,e){t=t.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function bD(t){return t instanceof Date&&!isNaN(t.valueOf())}const wD=/^(\d+)?\.((\d+)(-(\d+))?)?$/,_D=".",SD="0";function CD(t,e,n,r,i,o,s=!1){let a="",u=!1;if(isFinite(t)){let l=function(t){let e,n,r,i,o,s=Math.abs(t)+"",a=0;(n=s.indexOf(_D))>-1&&(s=s.replace(_D,""));(r=s.search(/e/i))>0?(n<0&&(n=r),n+=+s.slice(r+1),s=s.substring(0,r)):n<0&&(n=s.length);for(r=0;s.charAt(r)===SD;r++);if(r===(o=s.length))e=[0],n=1;else{for(o--;s.charAt(o)===SD;)o--;for(n-=r,e=[],i=0;r<=o;r++,i++)e[i]=Number(s.charAt(r))}n>22&&(e=e.splice(0,21),a=n-1,n=1);return{digits:e,exponent:a,integerLen:n}}(t);s&&(l=function(t){if(0===t.digits[0])return t;const e=t.digits.length-t.integerLen;t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2);return t}(l));let c=e.minInt,d=e.minFrac,h=e.maxFrac;if(o){const t=o.match(wD);if(null===t)throw new Error(`${o} is not a valid digit info`);const e=t[1],n=t[3],r=t[5];null!=e&&(c=TD(e)),null!=n&&(d=TD(n)),null!=r?h=TD(r):null!=n&&d>h&&(h=d)}!function(t,e,n){if(e>n)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${n}).`);let r=t.digits,i=r.length-t.integerLen;const o=Math.min(Math.max(e,i),n);let s=o+t.integerLen,a=r[s];if(s>0){r.splice(Math.max(t.integerLen,s));for(let t=s;t<r.length;t++)r[t]=0}else{i=Math.max(0,i),t.integerLen=1,r.length=Math.max(1,s=o+1),r[0]=0;for(let t=1;t<s;t++)r[t]=0}if(a>=5)if(s-1<0){for(let e=0;e>s;e--)r.unshift(0),t.integerLen++;r.unshift(1),t.integerLen++}else r[s-1]++;for(;i<Math.max(0,o);i++)r.push(0);let u=0!==o;const l=e+t.integerLen,c=r.reduceRight((function(t,e,n,r){return e+=t,r[n]=e<10?e:e-10,u&&(0===r[n]&&n>=l?r.pop():u=!1),e>=10?1:0}),0);c&&(r.unshift(c),t.integerLen++)}(l,d,h);let f=l.digits,p=l.integerLen;const v=l.exponent;let g=[];for(u=f.every((t=>!t));p<c;p++)f.unshift(0);for(;p<0;p++)f.unshift(0);p>0?g=f.splice(p,f.length):(g=f,f=[0]);const m=[];for(f.length>=e.lgSize&&m.unshift(f.splice(-e.lgSize,f.length).join(""));f.length>e.gSize;)m.unshift(f.splice(-e.gSize,f.length).join(""));f.length&&m.unshift(f.join("")),a=m.join(ZE(n,r)),g.length&&(a+=ZE(n,i)+g.join("")),v&&(a+=ZE(n,BE)+"+"+v)}else a=ZE(n,UE);return a=t<0&&!u?e.negPre+a+e.negSuf:e.posPre+a+e.posSuf,a}function ED(t,e,n,r,i){const o=DD(YE(e,OE.Currency),ZE(e,zE));o.minFrac=function(t){let e;const n=IE[t];return n&&(e=n[2]),"number"==typeof e?e:2}(r),o.maxFrac=o.minFrac;return CD(t,o,e,VE,HE,i).replace("¤",n).replace("¤","").trim()}function DD(t,e="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=t.split(";"),i=r[0],o=r[1],s=-1!==i.indexOf(_D)?i.split(_D):[i.substring(0,i.lastIndexOf(SD)+1),i.substring(i.lastIndexOf(SD)+1)],a=s[0],u=s[1]||"";n.posPre=a.substring(0,a.indexOf("#"));for(let t=0;t<u.length;t++){const e=u.charAt(t);e===SD?n.minFrac=n.maxFrac=t+1:"#"===e?n.maxFrac=t+1:n.posSuf+=e}const l=a.split(",");if(n.gSize=l[1]?l[1].length:0,n.lgSize=l[2]||l[1]?(l[2]||l[1]).length:0,o){const t=i.length-n.posPre.length-n.posSuf.length,e=o.indexOf("#");n.negPre=o.substring(0,e).replace(/'/g,""),n.negSuf=o.slice(e+t).replace(/'/g,"")}else n.negPre=e+n.posPre,n.negSuf=n.posSuf;return n}function TD(t){const e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}class AD{}function xD(t,e,n,r){let i=`=${t}`;if(e.indexOf(i)>-1)return i;if(i=n.getPluralCategory(t,r),e.indexOf(i)>-1)return i;if(e.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${t}"`)}RC=AD,dE(AD,"ɵfac",(function(t){return new(t||RC)})),dE(AD,"ɵprov",ir({token:RC,factory:function(t){let e=null;var n;return t?e=new t:(n=jr(xS),e=new kD(n)),e},providedIn:"root"}));class kD extends AD{constructor(t){super(),dE(this,"locale",void 0),this.locale=t}getPluralCategory(t,e){switch(KE(e||this.locale)(t)){case RE.Zero:return"zero";case RE.One:return"one";case RE.Two:return"two";case RE.Few:return"few";case RE.Many:return"many";default:return"other"}}}function ID(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,i]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(i)}return null}PC=kD,dE(kD,"ɵfac",(function(t){return new(t||PC)(jr(xS))})),dE(kD,"ɵprov",ir({token:PC,factory:PC.ɵfac}));const OD=/\s+/,RD=[];class PD{constructor(t,e){dE(this,"_ngEl",void 0),dE(this,"_renderer",void 0),dE(this,"initialClasses",RD),dE(this,"rawClass",void 0),dE(this,"stateMap",new Map),this._ngEl=t,this._renderer=e}set klass(t){this.initialClasses=null!=t?t.trim().split(OD):RD}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(OD):t}ngDoCheck(){for(const t of this.initialClasses)this._updateState(t,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const e of t)this._updateState(e,!0);else if(null!=t)for(const e of Object.keys(t))this._updateState(e,Boolean(t[e]));this._applyStateDiff()}_updateState(t,e){const n=this.stateMap.get(t);void 0!==n?(n.enabled!==e&&(n.changed=!0,n.enabled=e),n.touched=!0):this.stateMap.set(t,{enabled:e,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const e=t[0],n=t[1];n.changed?(this._toggleClass(e,n.enabled),n.changed=!1):n.touched||(n.enabled&&this._toggleClass(e,!1),this.stateMap.delete(e)),n.touched=!1}}_toggleClass(t,e){(t=t.trim()).length>0&&t.split(OD).forEach((t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)}))}}FC=PD,dE(PD,"ɵfac",(function(t){return new(t||FC)(jf(bu),jf(Af))})),dE(PD,"ɵdir",Yp({type:FC,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));class FD{get componentInstance(){var t,e;return null!==(t=null===(e=this._componentRef)||void 0===e?void 0:e.instance)&&void 0!==t?t:null}constructor(t){dE(this,"_viewContainerRef",void 0),dE(this,"ngComponentOutlet",null),dE(this,"ngComponentOutletInputs",void 0),dE(this,"ngComponentOutletInjector",void 0),dE(this,"ngComponentOutletContent",void 0),dE(this,"ngComponentOutletNgModule",void 0),dE(this,"ngComponentOutletNgModuleFactory",void 0),dE(this,"_componentRef",void 0),dE(this,"_moduleRef",void 0),dE(this,"_inputsUsed",new Map),this._viewContainerRef=t}_needToReCreateNgModuleInstance(t){return void 0!==t.ngComponentOutletNgModule||void 0!==t.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(t){return void 0!==t.ngComponentOutlet||void 0!==t.ngComponentOutletContent||void 0!==t.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(t)}ngOnChanges(t){if(this._needToReCreateComponentInstance(t)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const i=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;var e;if(this._needToReCreateNgModuleInstance(t))null===(e=this._moduleRef)||void 0===e||e.destroy(),this.ngComponentOutletNgModule?this._moduleRef=(n=this.ngComponentOutletNgModule,r=ND(i),new jp(n,null!=r?r:null,[])):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(ND(i)):this._moduleRef=void 0;this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:i,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}var n,r}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const t of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(t,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){var t;null===(t=this._moduleRef)||void 0===t||t.destroy()}_applyInputStateDiff(t){for(const[e,n]of this._inputsUsed)n?(t.setInput(e,this.ngComponentOutletInputs[e]),this._inputsUsed.set(e,!1)):(t.setInput(e,void 0),this._inputsUsed.delete(e))}}function ND(t){return t.get(Mp).injector}NC=FD,dE(FD,"ɵfac",(function(t){return new(t||NC)(jf(tp))})),dE(FD,"ɵdir",Yp({type:NC,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},exportAs:["ngComponentOutlet"],features:[yo]}));class MD{constructor(t,e,n,r){dE(this,"$implicit",void 0),dE(this,"ngForOf",void 0),dE(this,"index",void 0),dE(this,"count",void 0),this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}class LD{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,e,n){dE(this,"_viewContainer",void 0),dE(this,"_template",void 0),dE(this,"_differs",void 0),dE(this,"_ngForOf",null),dE(this,"_ngForOfDirty",!0),dE(this,"_differ",null),dE(this,"_trackByFn",void 0),this._viewContainer=t,this._template=e,this._differs=n}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=this._viewContainer;t.forEachOperation(((t,n,r)=>{if(null==t.previousIndex)e.createEmbeddedView(this._template,new MD(t.item,this._ngForOf,-1,-1),null===r?void 0:r);else if(null==r)e.remove(null===n?void 0:n);else if(null!==n){const i=e.get(n);e.move(i,r),jD(i,t)}}));for(let t=0,n=e.length;t<n;t++){const r=e.get(t).context;r.index=t,r.count=n,r.ngForOf=this._ngForOf}t.forEachIdentityChange((t=>{jD(e.get(t.currentIndex),t)}))}static ngTemplateContextGuard(t,e){return!0}}function jD(t,e){t.context.$implicit=e.item}MC=LD,dE(LD,"ɵfac",(function(t){return new(t||MC)(jf(tp),jf(Yh),jf(tC))})),dE(LD,"ɵdir",Yp({type:MC,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}));class zD{constructor(t,e){dE(this,"_viewContainer",void 0),dE(this,"_context",new BD),dE(this,"_thenTemplateRef",null),dE(this,"_elseTemplateRef",null),dE(this,"_thenViewRef",null),dE(this,"_elseViewRef",null),this._viewContainer=t,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){UD(t,!1),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){UD(t,!1),this._elseTemplateRef=t,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 ngTemplateContextGuard(t,e){return!0}}LC=zD,dE(zD,"ngIfUseIfTypeGuard",void 0),dE(zD,"ngTemplateGuard_ngIf",void 0),dE(zD,"ɵfac",(function(t){return new(t||LC)(jf(tp),jf(Yh))})),dE(zD,"ɵdir",Yp({type:LC,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}));class BD{constructor(){dE(this,"$implicit",null),dE(this,"ngIf",null)}}function UD(t,e){if(t&&!t.createEmbeddedView)throw new Fn(2020,!1)}class HD{constructor(t,e){dE(this,"_viewContainerRef",void 0),dE(this,"_templateRef",void 0),dE(this,"_created",!1),this._viewContainerRef=t,this._templateRef=e}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}class VD{constructor(){dE(this,"_defaultViews",[]),dE(this,"_defaultUsed",!1),dE(this,"_caseCount",0),dE(this,"_lastCaseCheckIndex",0),dE(this,"_lastCasesMatched",!1),dE(this,"_ngSwitch",void 0)}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews.push(t)}_matchCase(t){const e=t===this._ngSwitch;return this._lastCasesMatched||(this._lastCasesMatched=e),this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews.length>0&&t!==this._defaultUsed){this._defaultUsed=t;for(const e of this._defaultViews)e.enforceState(t)}}}jC=VD,dE(VD,"ɵfac",(function(t){return new(t||jC)})),dE(VD,"ɵdir",Yp({type:jC,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}));class $D{constructor(t,e,n){dE(this,"ngSwitch",void 0),dE(this,"_view",void 0),dE(this,"ngSwitchCase",void 0),this.ngSwitch=n,n._addCase(),this._view=new HD(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}zC=$D,dE($D,"ɵfac",(function(t){return new(t||zC)(jf(tp),jf(Yh),jf(VD,9))})),dE($D,"ɵdir",Yp({type:zC,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}));class qD{constructor(t,e,n){n._addDefault(new HD(t,e))}}BC=qD,dE(qD,"ɵfac",(function(t){return new(t||BC)(jf(tp),jf(Yh),jf(VD,9))})),dE(qD,"ɵdir",Yp({type:BC,selectors:[["","ngSwitchDefault",""]]}));class WD{constructor(t){dE(this,"_localization",void 0),dE(this,"_activeView",void 0),dE(this,"_caseViews",{}),this._localization=t}set ngPlural(t){this._updateView(t)}addCase(t,e){this._caseViews[t]=e}_updateView(t){this._clearViews();const e=xD(t,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[e])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(t){t&&(this._activeView=t,this._activeView.create())}}UC=WD,dE(WD,"ɵfac",(function(t){return new(t||UC)(jf(AD))})),dE(WD,"ɵdir",Yp({type:UC,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}}));class GD{constructor(t,e,n,r){dE(this,"value",void 0),this.value=t;const i=!isNaN(Number(t));r.addCase(i?`=${t}`:t,new HD(n,e))}}HC=GD,dE(GD,"ɵfac",(function(t){return new(t||HC)(ka("ngPluralCase"),jf(Yh),jf(tp),jf(WD,1))})),dE(GD,"ɵdir",Yp({type:HC,selectors:[["","ngPluralCase",""]]}));class ZD{constructor(t,e,n){dE(this,"_ngEl",void 0),dE(this,"_differs",void 0),dE(this,"_renderer",void 0),dE(this,"_ngStyle",null),dE(this,"_differ",null),this._ngEl=t,this._differs=e,this._renderer=n}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[n,r]=t.split("."),i=-1===n.indexOf("-")?void 0:eh.DashCase;null!=e?this._renderer.setStyle(this._ngEl.nativeElement,n,r?`${e}${r}`:e,i):this._renderer.removeStyle(this._ngEl.nativeElement,n,i)}_applyChanges(t){t.forEachRemovedItem((t=>this._setStyle(t.key,null))),t.forEachAddedItem((t=>this._setStyle(t.key,t.currentValue))),t.forEachChangedItem((t=>this._setStyle(t.key,t.currentValue)))}}VC=ZD,dE(ZD,"ɵfac",(function(t){return new(t||VC)(jf(bu),jf(nC),jf(Af))})),dE(ZD,"ɵdir",Yp({type:VC,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));class YD{constructor(t){dE(this,"_viewContainerRef",void 0),dE(this,"_viewRef",null),dE(this,"ngTemplateOutletContext",null),dE(this,"ngTemplateOutlet",null),dE(this,"ngTemplateOutletInjector",null),this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){var e;const t=this._viewContainerRef;if(this._viewRef&&t.remove(t.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const n=this._createContextForwardProxy();this._viewRef=t.createEmbeddedView(this.ngTemplateOutlet,n,{injector:null!==(e=this.ngTemplateOutletInjector)&&void 0!==e?e:void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,e,n)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,e,n),get:(t,e,n)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,e,n)}})}}$C=YD,dE(YD,"ɵfac",(function(t){return new(t||$C)(jf(tp))})),dE(YD,"ɵdir",Yp({type:$C,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[yo]}));function KD(t,e){return new Fn(2100,!1)}const QD=new class{createSubscription(t,e){return t.then(e,(t=>{throw t}))}dispose(t){}},JD=new class{createSubscription(t,e){return lC((()=>t.subscribe({next:e,error:t=>{throw t}})))}dispose(t){lC((()=>t.unsubscribe()))}};class XD{constructor(t){dE(this,"_ref",void 0),dE(this,"_latestValue",null),dE(this,"markForCheckOnValueUpdate",!0),dE(this,"_subscription",null),dE(this,"_obj",null),dE(this,"_strategy",null),this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){if(!this._obj){if(t)try{this.markForCheckOnValueUpdate=!1,this._subscribe(t)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,(e=>this._updateLatestValue(t,e)))}_selectStrategy(t){if(Jv(t))return QD;if(Xv(t))return JD;throw KD()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){var n;t===this._obj&&(this._latestValue=e,this.markForCheckOnValueUpdate&&(null===(n=this._ref)||void 0===n||n.markForCheck()))}}qC=XD,dE(XD,"ɵfac",(function(t){return new(t||qC)(jf(HS,16))})),dE(XD,"ɵpipe",Kp({name:"async",type:qC,pure:!1}));class tT{transform(t){if(null==t)return null;if("string"!=typeof t)throw KD();return t.toLowerCase()}}WC=tT,dE(tT,"ɵfac",(function(t){return new(t||WC)})),dE(tT,"ɵpipe",Kp({name:"lowercase",type:WC,pure:!0}));const eT=/(?:[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;class nT{transform(t){if(null==t)return null;if("string"!=typeof t)throw KD();return t.replace(eT,(t=>t[0].toUpperCase()+t.slice(1).toLowerCase()))}}GC=nT,dE(nT,"ɵfac",(function(t){return new(t||GC)})),dE(nT,"ɵpipe",Kp({name:"titlecase",type:GC,pure:!0}));class rT{transform(t){if(null==t)return null;if("string"!=typeof t)throw KD();return t.toUpperCase()}}ZC=rT,dE(rT,"ɵfac",(function(t){return new(t||ZC)})),dE(rT,"ɵpipe",Kp({name:"uppercase",type:ZC,pure:!0}));const iT=new fr(""),oT=new fr("");class sT{constructor(t,e,n){dE(this,"locale",void 0),dE(this,"defaultTimezone",void 0),dE(this,"defaultOptions",void 0),this.locale=t,this.defaultTimezone=e,this.defaultOptions=n}transform(t,e,n,r){if(null==t||""===t||t!=t)return null;try{var i,o,s,a,u;const l=null!==(i=null!=e?e:null===(o=this.defaultOptions)||void 0===o?void 0:o.dateFormat)&&void 0!==i?i:"mediumDate",c=null!==(s=null!==(a=null!=n?n:null===(u=this.defaultOptions)||void 0===u?void 0:u.timezone)&&void 0!==a?a:this.defaultTimezone)&&void 0!==s?s:void 0;return iD(t,l,r||this.locale,c)}catch(t){throw KD(0,t.message)}}}YC=sT,dE(sT,"ɵfac",(function(t){return new(t||YC)(jf(xS,16),jf(iT,24),jf(oT,24))})),dE(sT,"ɵpipe",Kp({name:"date",type:YC,pure:!0}));const aT=/#/g;class uT{constructor(t){dE(this,"_localization",void 0),this._localization=t}transform(t,e,n){if(null==t)return"";if("object"!=typeof e||null===e)throw KD();return e[xD(t,Object.keys(e),this._localization,n)].replace(aT,t.toString())}}KC=uT,dE(uT,"ɵfac",(function(t){return new(t||KC)(jf(AD,16))})),dE(uT,"ɵpipe",Kp({name:"i18nPlural",type:KC,pure:!0}));class lT{transform(t,e){if(null==t)return"";if("object"!=typeof e||"string"!=typeof t)throw KD();return e.hasOwnProperty(t)?e[t]:e.hasOwnProperty("other")?e.other:""}}QC=lT,dE(lT,"ɵfac",(function(t){return new(t||QC)})),dE(lT,"ɵpipe",Kp({name:"i18nSelect",type:QC,pure:!0}));class cT{transform(t){return JSON.stringify(t,null,2)}}JC=cT,dE(cT,"ɵfac",(function(t){return new(t||JC)})),dE(cT,"ɵpipe",Kp({name:"json",type:JC,pure:!1}));class dT{constructor(t){dE(this,"differs",void 0),dE(this,"differ",void 0),dE(this,"keyValues",[]),dE(this,"compareFn",hT),this.differs=t}transform(t,e=hT){var n;if(!t||!(t instanceof Map)&&"object"!=typeof t)return null;null!==(n=this.differ)&&void 0!==n||(this.differ=this.differs.find(t).create());const r=this.differ.diff(t),i=e!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem((t=>{var e,n;this.keyValues.push((e=t.key,n=t.currentValue,{key:e,value:n}))}))),(r||i)&&(e&&this.keyValues.sort(e),this.compareFn=e),this.keyValues}}function hT(t,e){const n=t.key,r=e.key;if(n===r)return 0;if(null==n)return 1;if(null==r)return-1;if("string"==typeof n&&"string"==typeof r)return n<r?-1:1;if("number"==typeof n&&"number"==typeof r)return n-r;if("boolean"==typeof n&&"boolean"==typeof r)return n<r?-1:1;const i=String(n),o=String(r);return i==o?0:i<o?-1:1}XC=dT,dE(dT,"ɵfac",(function(t){return new(t||XC)(jf(nC,16))})),dE(dT,"ɵpipe",Kp({name:"keyvalue",type:XC,pure:!1}));class fT{constructor(t){dE(this,"_locale",void 0),this._locale=t}transform(t,e,n){if(!gT(t))return null;n||(n=this._locale);try{return function(t,e,n){return CD(t,DD(YE(e,OE.Decimal),ZE(e,zE)),e,LE,ME,n)}(mT(t),n,e)}catch(t){throw KD(0,t.message)}}}tE=fT,dE(fT,"ɵfac",(function(t){return new(t||tE)(jf(xS,16))})),dE(fT,"ɵpipe",Kp({name:"number",type:tE,pure:!0}));class pT{constructor(t){dE(this,"_locale",void 0),this._locale=t}transform(t,e,n){if(!gT(t))return null;n||(n=this._locale);try{return function(t,e,n){return CD(t,DD(YE(e,OE.Percent),ZE(e,zE)),e,LE,ME,n,!0).replace(new RegExp("%","g"),ZE(e,jE))}(mT(t),n,e)}catch(t){throw KD(0,t.message)}}}eE=pT,dE(pT,"ɵfac",(function(t){return new(t||eE)(jf(xS,16))})),dE(pT,"ɵpipe",Kp({name:"percent",type:eE,pure:!0}));class vT{constructor(t,e="USD"){dE(this,"_locale",void 0),dE(this,"_defaultCurrencyCode",void 0),this._locale=t,this._defaultCurrencyCode=e}transform(t,e=this._defaultCurrencyCode,n="symbol",r,i){if(!gT(t))return null;i||(i=this._locale),"boolean"==typeof n&&(n=n?"symbol":"code");let o=e||this._defaultCurrencyCode;"code"!==n&&(o="symbol"===n||"symbol-narrow"===n?tD(o,"symbol"===n?"wide":"narrow",i):n);try{return ED(mT(t),i,o,e,r)}catch(t){throw KD(0,t.message)}}}function gT(t){return!(null==t||""===t||t!=t)}function mT(t){if("string"==typeof t&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if("number"!=typeof t)throw new Error(`${t} is not a number`);return t}nE=vT,dE(vT,"ɵfac",(function(t){return new(t||nE)(jf(xS,16),jf(kS,16))})),dE(vT,"ɵpipe",Kp({name:"currency",type:nE,pure:!0}));class yT{transform(t,e,n){if(null==t)return null;if(!("string"==typeof t||Array.isArray(t)))throw KD();return t.slice(e,n)}}rE=yT,dE(yT,"ɵfac",(function(t){return new(t||rE)})),dE(yT,"ɵpipe",Kp({name:"slice",type:rE,pure:!1}));class bT{}iE=bT,dE(bT,"ɵfac",(function(t){return new(t||iE)})),dE(bT,"ɵmod",Wp({type:iE})),dE(bT,"ɵinj",or({}));const wT="browser";function _T(t){return"server"===t}new bS("19.2.3");class ST{}dE(ST,"ɵprov",ir({token:ST,providedIn:"root",factory:()=>"undefined"!=typeof ngServerMode&&ngServerMode?new ET:new CT(Br(gE),window)}));class CT{constructor(t,e){dE(this,"document",void 0),dE(this,"window",void 0),dE(this,"offset",(()=>[0,0])),this.document=t,this.window=e}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){const e=function(t,e){const n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if("function"==typeof t.createTreeWalker&&t.body&&"function"==typeof t.body.attachShadow){const n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let r=n.currentNode;for(;r;){const t=r.shadowRoot;if(t){const n=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(n)return n}r=n.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])}}class ET{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}}class DT{}const TT="20";function AT(t,e){return xT(t)?new URL(t):new URL(t,e.location.href)}function xT(t){return/^https?:\/\//.test(t)}function kT(t){return xT(t)?new URL(t).hostname:t}const IT=t=>t.src,OT=new fr("",{providedIn:"root",factory:()=>IT});function RT(t,e){return function(e){(function(t){if("string"!=typeof t||""===t.trim())return!1;try{return new URL(t),!0}catch(t){return!1}})(e)||function(){throw new Fn(2959,!1)}(),e=function(t){return t.endsWith("/")?t.slice(0,-1):t}(e);const n=[{provide:OT,useValue:n=>{return xT(n.src)&&function(){throw new Fn(2959,!1)}(0,n.src),t(e,cE(cE({},n),{},{src:(r=n.src,r.startsWith("/")?r.slice(1):r)}));var r}}];return n}}RT((function(t,e){let n="format=auto";e.width&&(n+=`,width=${e.width}`);e.isPlaceholder&&(n+=`,quality=${TT}`);return`${t}/cdn-cgi/image/${n}/${e.src}`}));RT((function(t,e){var n;const r=e.isPlaceholder?"q_auto:low":"q_auto";let i=`f_auto,${r}`;e.width&&(i+=`,w_${e.width}`);null!==(n=e.loaderParams)&&void 0!==n&&n.rounded&&(i+=",r_max");return`${t}/image/upload/${i}/${e.src}`}));RT((function(t,e){const{src:n,width:r}=e,i=[];r&&i.push(`w-${r}`);e.isPlaceholder&&i.push(`q-${TT}`);const o=i.length?[t,`tr:${i.join(",")}`,n]:[t,n];return new URL(o.join("/")).href}));RT((function(t,e){const n=new URL(`${t}/${e.src}`);n.searchParams.set("auto","format"),e.width&&n.searchParams.set("w",e.width.toString());e.isPlaceholder&&n.searchParams.set("q",TT);return n.href}));function PT(t,e=!0){return`The NgOptimizedImage directive ${e?`(activated on an <img> element with the \`ngSrc="${t}"\`) `:""}has detected that`}function FT(t){throw new Fn(2958,`Unexpected invocation of the ${t} in the prod mode. Please make sure that the prod mode is enabled for production builds.`)}class NT{constructor(){dE(this,"images",new Map),dE(this,"window",null),dE(this,"observer",null);const t=Br(Hu)===wT;FT("LCP checker");const e=Br(gE).defaultView;t&&"undefined"!=typeof PerformanceObserver&&(this.window=e,this.observer=this.initPerformanceObserver())}initPerformanceObserver(){const t=new PerformanceObserver((t=>{var e,n;const r=t.getEntries();if(0===r.length)return;const i=null!==(e=null===(n=r[r.length-1].element)||void 0===n?void 0:n.src)&&void 0!==e?e:"";if(i.startsWith("data:")||i.startsWith("blob:"))return;const o=this.images.get(i);o&&(o.priority||o.alreadyWarnedPriority||(o.alreadyWarnedPriority=!0,function(t){const e=PT(t);console.error(Nn(2955,`${e} this image is the Largest Contentful Paint (LCP) element but was not marked "priority". This image should be marked "priority" in order to prioritize its loading. To fix this, add the "priority" attribute.`))}(i)),o.modified&&!o.alreadyWarnedModified&&(o.alreadyWarnedModified=!0,function(t){const e=PT(t);console.warn(Nn(2964,`${e} this image is the Largest Contentful Paint (LCP) element and has had its "ngSrc" attribute modified. This can cause slower loading performance. It is recommended not to modify the "ngSrc" property on any image which could be the LCP element.`))}(i)))}));return t.observe({type:"largest-contentful-paint",buffered:!0}),t}registerImage(t,e,n){if(!this.observer)return;const r={priority:n,modified:!1,alreadyWarnedModified:!1,alreadyWarnedPriority:!1};this.images.set(AT(t,this.window).href,r)}unregisterImage(t){this.observer&&this.images.delete(AT(t,this.window).href)}updateImage(t,e){if(!this.observer)return;const n=AT(t,this.window).href,r=this.images.get(n);r&&(r.modified=!0,this.images.set(AT(e,this.window).href,r),this.images.delete(n))}ngOnDestroy(){this.observer&&(this.observer.disconnect(),this.images.clear())}}oE=NT,dE(NT,"ɵfac",(function(t){return new(t||oE)})),dE(NT,"ɵprov",ir({token:oE,factory:oE.ɵfac,providedIn:"root"}));const MT=new Set(["localhost","127.0.0.1","0.0.0.0"]),LT=new fr("");class jT{constructor(){dE(this,"document",Br(gE)),dE(this,"preconnectLinks",null),dE(this,"alreadySeen",new Set),dE(this,"window",this.document.defaultView),dE(this,"blocklist",new Set(MT)),FT("preconnect link checker");const t=Br(LT,{optional:!0});t&&this.populateBlocklist(t)}populateBlocklist(t){Array.isArray(t)?zT(t,(t=>{this.blocklist.add(kT(t))})):this.blocklist.add(kT(t))}assertPreconnect(t,e){var n;if("undefined"!=typeof ngServerMode&&ngServerMode)return;const r=AT(t,this.window);this.blocklist.has(r.hostname)||this.alreadySeen.has(r.origin)||(this.alreadySeen.add(r.origin),null!==(n=this.preconnectLinks)&&void 0!==n||(this.preconnectLinks=this.queryPreconnectLinks()),this.preconnectLinks.has(r.origin)||console.warn(Nn(2956,`${PT(e)} there is no preconnect tag present for this image. Preconnecting to the origin(s) that serve priority images ensures that these images are delivered as soon as possible. To fix this, please add the following element into the <head> of the document:\n  <link rel="preconnect" href="${r.origin}">`)))}queryPreconnectLinks(){const t=new Set,e=Array.from(this.document.querySelectorAll("link[rel=preconnect]"));for(let n of e){const e=AT(n.href,this.window);t.add(e.origin)}return t}ngOnDestroy(){var t;null===(t=this.preconnectLinks)||void 0===t||t.clear(),this.alreadySeen.clear()}}function zT(t,e){for(let n of t)Array.isArray(n)?zT(n,e):e(n)}sE=jT,dE(jT,"ɵfac",(function(t){return new(t||sE)})),dE(jT,"ɵprov",ir({token:sE,factory:sE.ɵfac,providedIn:"root"}));const BT=new fr("",{providedIn:"root",factory:()=>new Set});class UT{constructor(){dE(this,"preloadedImages",Br(BT)),dE(this,"document",Br(gE))}createPreloadLinkTag(t,e,n,r){if(this.preloadedImages.has(e))return;this.preloadedImages.add(e);const i=t.createElement("link");t.setAttribute(i,"as","image"),t.setAttribute(i,"href",e),t.setAttribute(i,"rel","preload"),t.setAttribute(i,"fetchpriority","high"),r&&t.setAttribute(i,"imageSizes",r),n&&t.setAttribute(i,"imageSrcset",n),t.appendChild(this.document.head,i)}}aE=UT,dE(UT,"ɵfac",(function(t){return new(t||aE)})),dE(UT,"ɵprov",ir({token:aE,factory:aE.ɵfac,providedIn:"root"}));const HT=/^((\s*\d+w\s*(,|$)){1,})$/,VT=[1,2];class $T{constructor(){dE(this,"imageLoader",Br(OT)),dE(this,"config",function(t){let e={};t.breakpoints&&(e.breakpoints=t.breakpoints.sort(((t,e)=>t-e)));return Object.assign({},$u,t,e)}(Br(qu))),dE(this,"renderer",Br(Af)),dE(this,"imgElement",Br(bu).nativeElement),dE(this,"injector",Br(Ha)),dE(this,"lcpObserver",void 0),dE(this,"_renderedSrc",null),dE(this,"ngSrc",void 0),dE(this,"ngSrcset",void 0),dE(this,"sizes",void 0),dE(this,"width",void 0),dE(this,"height",void 0),dE(this,"loading",void 0),dE(this,"priority",!1),dE(this,"loaderParams",void 0),dE(this,"disableOptimizedSrcset",!1),dE(this,"fill",!1),dE(this,"placeholder",void 0),dE(this,"placeholderConfig",void 0),dE(this,"src",void 0),dE(this,"srcset",void 0)}ngOnInit(){tl("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||(this.sizes="100vw"):(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");const t=this.updateSrcAndSrcset();if(this.sizes?"lazy"===this.getLoadingBehavior()?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&HT.test(this.ngSrcset)&&"lazy"===this.getLoadingBehavior()&&this.setHostAttribute("sizes","auto, 100vw"),"undefined"!=typeof ngServerMode&&ngServerMode&&this.priority){this.injector.get(UT).createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),t,this.sizes)}}ngOnChanges(t){if(t.ngSrc&&!t.ngSrc.isFirstChange()){this._renderedSrc;this.updateSrcAndSrcset(!0)}}callImageLoader(t){let e=t;return this.loaderParams&&(e.loaderParams=this.loaderParams),this.imageLoader(e)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){const t={src:this.ngSrc};this._renderedSrc=this.callImageLoader(t)}return this._renderedSrc}getRewrittenSrcset(){const t=HT.test(this.ngSrcset);return this.ngSrcset.split(",").filter((t=>""!==t)).map((e=>{e=e.trim();const n=t?parseFloat(e):parseFloat(e)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:n})} ${e}`})).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){var t;const{breakpoints:e}=this.config;let n=e;"100vw"===(null===(t=this.sizes)||void 0===t?void 0:t.trim())&&(n=e.filter((t=>t>=640)));return n.map((t=>`${this.callImageLoader({src:this.ngSrc,width:t})} ${t}w`)).join(", ")}updateSrcAndSrcset(t=!1){t&&(this._renderedSrc=null);const e=this.getRewrittenSrc();let n;return this.setHostAttribute("src",e),this.ngSrcset?n=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(n=this.getAutomaticSrcset()),n&&this.setHostAttribute("srcset",n),n}getFixedSrcset(){return VT.map((t=>`${this.callImageLoader({src:this.ngSrc,width:this.width*t})} ${t}x`)).join(", ")}shouldGenerateAutomaticSrcset(){let t=!1;return this.sizes||(t=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==IT&&!t}generatePlaceholder(t){const{placeholderResolution:e}=this.config;return!0===t?`url(${this.callImageLoader({src:this.ngSrc,width:e,isPlaceholder:!0})})`:"string"==typeof t?`url(${t})`:null}shouldBlurPlaceholder(t){return!t||!t.hasOwnProperty("blur")||Boolean(t.blur)}removePlaceholderOnLoad(t){const e=()=>{const t=this.injector.get(HS);n(),r(),this.placeholder=!1,t.markForCheck()},n=this.renderer.listen(t,"load",e),r=this.renderer.listen(t,"error",e);qT(t,e)}setHostAttribute(t,e){this.renderer.setAttribute(this.imgElement,t,e)}}function qT(t,e){t.complete&&t.naturalWidth&&e()}function WT(t){return"string"==typeof t?t:lc(t)}function GT(t){return"string"==typeof t&&"true"!==t&&"false"!==t&&""!==t?t:aC(t)}var ZT,YT,KT,QT,JT,XT,tA,eA,nA,rA,iA;function oA(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function sA(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}uE=$T,dE($T,"ɵfac",(function(t){return new(t||uE)})),dE($T,"ɵdir",Yp({type:uE,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(t,e){2&t&&Rm("position",e.fill?"absolute":null)("width",e.fill?"100%":null)("height",e.fill?"100%":null)("inset",e.fill?"0":null)("background-size",e.placeholder?"cover":null)("background-position",e.placeholder?"50% 50%":null)("background-repeat",e.placeholder?"no-repeat":null)("background-image",e.placeholder?e.generatePlaceholder(e.placeholder):null)("filter",e.placeholder&&e.shouldBlurPlaceholder(e.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",WT],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",uC],height:[2,"height","height",uC],loading:"loading",priority:[2,"priority","priority",aC],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",aC],fill:[2,"fill","fill",aC],placeholder:[2,"placeholder","placeholder",GT],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[yo]}));class aA{}class uA{}class lA{constructor(t){sA(this,"headers",void 0),sA(this,"normalizedNames",new Map),sA(this,"lazyInit",void 0),sA(this,"lazyUpdate",null),t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach((t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),r=t.slice(e+1).trim();this.addHeaderEntry(n,r)}}))}:"undefined"!=typeof Headers&&t instanceof Headers?(this.headers=new Map,t.forEach(((t,e)=>{this.addHeaderEntry(e,t)}))):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach((([t,e])=>{this.setHeaderEntries(t,e)}))}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof lA?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((t=>this.applyUpdate(t))),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach((e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))}))}clone(t){const e=new lA;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof lA?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...n),this.headers.set(e,r);break;case"d":const i=t.value;if(i){let t=this.headers.get(e);if(!t)return;t=t.filter((t=>-1===i.indexOf(t))),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}addHeaderEntry(t,e){const n=t.toLowerCase();this.maybeSetNormalizedName(t,n),this.headers.has(n)?this.headers.get(n).push(e):this.headers.set(n,[e])}setHeaderEntries(t,e){const n=(Array.isArray(e)?e:[e]).map((t=>t.toString())),r=t.toLowerCase();this.headers.set(r,n),this.maybeSetNormalizedName(t,r)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach((e=>t(this.normalizedNames.get(e),this.headers.get(e))))}}class cA{encodeKey(t){return fA(t)}encodeValue(t){return fA(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const dA=/%(\d[a-f0-9])/gi,hA={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function fA(t){return encodeURIComponent(t).replace(dA,((t,e)=>{var n;return null!==(n=hA[e])&&void 0!==n?n:t}))}function pA(t){return`${t}`}class vA{constructor(t={}){if(sA(this,"map",void 0),sA(this,"encoder",void 0),sA(this,"updates",null),sA(this,"cloneFrom",null),this.encoder=t.encoder||new cA,t.fromString){if(t.fromObject)throw new Fn(2805,!1);this.map=function(t,e){const n=new Map;t.length>0&&t.replace(/^\?/,"").split("&").forEach((t=>{const r=t.indexOf("="),[i,o]=-1==r?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,r)),e.decodeValue(t.slice(r+1))],s=n.get(i)||[];s.push(o),n.set(i,s)}));return n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach((e=>{const n=t.fromObject[e],r=Array.isArray(n)?n.map(pA):[pA(n)];this.map.set(e,r)}))):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach((n=>{const r=t[n];Array.isArray(r)?r.forEach((t=>{e.push({param:n,value:t,op:"a"})})):e.push({param:n,value:r,op:"a"})})),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map((t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map((t=>e+"="+this.encoder.encodeValue(t))).join("&")})).filter((t=>""!==t)).join("&")}clone(t){const e=new vA({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((t=>this.map.set(t,this.cloneFrom.map.get(t)))),this.updates.forEach((t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(pA(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(pA(t.value));-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}})),this.cloneFrom=this.updates=null)}}class gA{constructor(){sA(this,"map",new Map)}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function mA(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function yA(t){return"undefined"!=typeof Blob&&t instanceof Blob}function bA(t){return"undefined"!=typeof FormData&&t instanceof FormData}const wA="Content-Type",_A="Accept",SA="X-Request-URL",CA="text/plain",EA="application/json",DA=`${EA}, ${CA}, */*`;class TA{constructor(t,e,n,r){var i,o;let s;if(sA(this,"url",void 0),sA(this,"body",null),sA(this,"headers",void 0),sA(this,"context",void 0),sA(this,"reportProgress",!1),sA(this,"withCredentials",!1),sA(this,"responseType","json"),sA(this,"method",void 0),sA(this,"params",void 0),sA(this,"urlWithParams",void 0),sA(this,"transferCache",void 0),this.url=e,this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,s=r):s=n,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params),this.transferCache=s.transferCache),null!==(i=this.headers)&&void 0!==i||(this.headers=new lA),null!==(o=this.context)&&void 0!==o||(this.context=new gA),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?"),r=-1===n?"?":n<e.length-1?"&":"";this.urlWithParams=e+r+t}}else this.params=new vA,this.urlWithParams=e}serializeBody(){return null===this.body?null:"string"==typeof this.body||mA(this.body)||yA(this.body)||bA(this.body)||(t=this.body,"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams)?this.body:this.body instanceof vA?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString();var t}detectContentTypeHeader(){return null===this.body||bA(this.body)?null:yA(this.body)?this.body.type||null:mA(this.body)?null:"string"==typeof this.body?CA:this.body instanceof vA?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?EA:null}clone(t={}){var e,n,r,i;const o=t.method||this.method,s=t.url||this.url,a=t.responseType||this.responseType,u=null!==(e=t.transferCache)&&void 0!==e?e:this.transferCache,l=void 0!==t.body?t.body:this.body,c=null!==(n=t.withCredentials)&&void 0!==n?n:this.withCredentials,d=null!==(r=t.reportProgress)&&void 0!==r?r:this.reportProgress;let h=t.headers||this.headers,f=t.params||this.params;const p=null!==(i=t.context)&&void 0!==i?i:this.context;return void 0!==t.setHeaders&&(h=Object.keys(t.setHeaders).reduce(((e,n)=>e.set(n,t.setHeaders[n])),h)),t.setParams&&(f=Object.keys(t.setParams).reduce(((e,n)=>e.set(n,t.setParams[n])),f)),new TA(o,s,l,{params:f,headers:h,context:p,reportProgress:d,responseType:a,withCredentials:c,transferCache:u})}}var AA;!function(t){t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User"}(AA||(AA={}));class xA{constructor(t,e=200,n="OK"){sA(this,"headers",void 0),sA(this,"status",void 0),sA(this,"statusText",void 0),sA(this,"url",void 0),sA(this,"ok",void 0),sA(this,"type",void 0),this.headers=t.headers||new lA,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class kA extends xA{constructor(t={}){super(t),sA(this,"type",AA.ResponseHeader)}clone(t={}){return new kA({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class IA extends xA{constructor(t={}){super(t),sA(this,"body",void 0),sA(this,"type",AA.Response),this.body=void 0!==t.body?t.body:null}clone(t={}){return new IA({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class OA extends xA{constructor(t){super(t,0,"Unknown Error"),sA(this,"name","HttpErrorResponse"),sA(this,"message",void 0),sA(this,"error",void 0),sA(this,"ok",!1),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}var RA;function PA(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}!function(t){t[t.Continue=100]="Continue",t[t.SwitchingProtocols=101]="SwitchingProtocols",t[t.Processing=102]="Processing",t[t.EarlyHints=103]="EarlyHints",t[t.Ok=200]="Ok",t[t.Created=201]="Created",t[t.Accepted=202]="Accepted",t[t.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",t[t.NoContent=204]="NoContent",t[t.ResetContent=205]="ResetContent",t[t.PartialContent=206]="PartialContent",t[t.MultiStatus=207]="MultiStatus",t[t.AlreadyReported=208]="AlreadyReported",t[t.ImUsed=226]="ImUsed",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.Found=302]="Found",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.Unused=306]="Unused",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.LengthRequired=411]="LengthRequired",t[t.PreconditionFailed=412]="PreconditionFailed",t[t.PayloadTooLarge=413]="PayloadTooLarge",t[t.UriTooLong=414]="UriTooLong",t[t.UnsupportedMediaType=415]="UnsupportedMediaType",t[t.RangeNotSatisfiable=416]="RangeNotSatisfiable",t[t.ExpectationFailed=417]="ExpectationFailed",t[t.ImATeapot=418]="ImATeapot",t[t.MisdirectedRequest=421]="MisdirectedRequest",t[t.UnprocessableEntity=422]="UnprocessableEntity",t[t.Locked=423]="Locked",t[t.FailedDependency=424]="FailedDependency",t[t.TooEarly=425]="TooEarly",t[t.UpgradeRequired=426]="UpgradeRequired",t[t.PreconditionRequired=428]="PreconditionRequired",t[t.TooManyRequests=429]="TooManyRequests",t[t.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",t[t.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout",t[t.HttpVersionNotSupported=505]="HttpVersionNotSupported",t[t.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",t[t.InsufficientStorage=507]="InsufficientStorage",t[t.LoopDetected=508]="LoopDetected",t[t.NotExtended=510]="NotExtended",t[t.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired"}(RA||(RA={}));class FA{constructor(t){sA(this,"handler",void 0),this.handler=t}request(t,e,n={}){let r;if(t instanceof TA)r=t;else{let i,o;i=n.headers instanceof lA?n.headers:new lA(n.headers),n.params&&(o=n.params instanceof vA?n.params:new vA({fromObject:n.params})),r=new TA(t,e,void 0!==n.body?n.body:null,{headers:i,context:n.context,params:o,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials,transferCache:n.transferCache})}const i=he(r).pipe(Oe((t=>this.handler.handle(t))));if(t instanceof TA||"events"===n.observe)return i;const o=i.pipe(ke((t=>t instanceof IA)));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return o.pipe(ve((t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Fn(2806,!1);return t.body})));case"blob":return o.pipe(ve((t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Fn(2807,!1);return t.body})));case"text":return o.pipe(ve((t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Fn(2808,!1);return t.body})));default:return o.pipe(ve((t=>t.body)))}case"response":return o;default:throw new Fn(2809,!1)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new vA).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,PA(n,e))}post(t,e,n={}){return this.request("POST",t,PA(n,e))}put(t,e,n={}){return this.request("PUT",t,PA(n,e))}}ZT=FA,sA(FA,"ɵfac",(function(t){return new(t||ZT)(jr(aA))})),sA(FA,"ɵprov",ir({token:ZT,factory:ZT.ɵfac}));const NA=/^\)\]\}',?\n/;function MA(t){if(t.url)return t.url;const e=SA.toLocaleLowerCase();return t.headers.get(e)}const LA=new fr("");class jA{constructor(){var t,e;sA(this,"fetchImpl",null!==(t=null===(e=Br(zA,{optional:!0}))||void 0===e?void 0:e.fetch)&&void 0!==t?t:(...t)=>globalThis.fetch(...t)),sA(this,"ngZone",Br(ou))}handle(t){return new Et((e=>{const n=new AbortController;return this.doRequest(t,n.signal,e).then(BA,(t=>e.error(new OA({error:t})))),()=>n.abort()}))}async doRequest(t,e,n){var r;const i=this.createRequestInit(t);let o;try{const r=this.ngZone.runOutsideAngular((()=>this.fetchImpl(t.urlWithParams,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?oA(Object(n),!0).forEach((function(e){sA(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):oA(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({signal:e},i))));r.then(BA,BA),n.next({type:AA.Sent}),o=await r}catch(e){var s;return void n.error(new OA({error:e,status:null!==(s=e.status)&&void 0!==s?s:0,statusText:e.statusText,url:t.urlWithParams,headers:e.headers}))}const a=new lA(o.headers),u=o.statusText,l=null!==(r=MA(o))&&void 0!==r?r:t.urlWithParams;let c=o.status,d=null;if(t.reportProgress&&n.next(new kA({headers:a,status:c,statusText:u,url:l})),o.body){const e=o.headers.get("content-length"),r=[],i=o.body.getReader();let s,a,u=0;const l="undefined"!=typeof Zone&&Zone.current;await this.ngZone.runOutsideAngular((async()=>{for(;;){const{done:o,value:c}=await i.read();if(o)break;if(r.push(c),u+=c.length,t.reportProgress){a="text"===t.responseType?(null!=a?a:"")+(null!=s?s:s=new TextDecoder).decode(c,{stream:!0}):void 0;const r=()=>n.next({type:AA.DownloadProgress,total:e?+e:void 0,loaded:u,partialText:a});l?l.run(r):r()}}}));const c=this.concatChunks(r,u);try{var h;const e=null!==(h=o.headers.get(wA))&&void 0!==h?h:"";d=this.parseBody(t,c,e)}catch(e){var f;return void n.error(new OA({error:e,headers:new lA(o.headers),status:o.status,statusText:o.statusText,url:null!==(f=MA(o))&&void 0!==f?f:t.urlWithParams}))}}0===c&&(c=d?200:0);c>=200&&c<300?(n.next(new IA({body:d,headers:a,status:c,statusText:u,url:l})),n.complete()):n.error(new OA({error:d,headers:a,status:c,statusText:u,url:l}))}parseBody(t,e,n){switch(t.responseType){case"json":const t=(new TextDecoder).decode(e).replace(NA,"");return""===t?null:JSON.parse(t);case"text":return(new TextDecoder).decode(e);case"blob":return new Blob([e],{type:n});case"arraybuffer":return e.buffer}}createRequestInit(t){const e={},n=t.withCredentials?"include":void 0;if(t.headers.forEach(((t,n)=>e[t]=n.join(","))),t.headers.has(_A)||(e[_A]=DA),!t.headers.has(wA)){const n=t.detectContentTypeHeader();null!==n&&(e[wA]=n)}return{body:t.serializeBody(),method:t.method,headers:e,credentials:n}}concatChunks(t,e){const n=new Uint8Array(e);let r=0;for(const e of t)n.set(e,r),r+=e.length;return n}}YT=jA,sA(jA,"ɵfac",(function(t){return new(t||YT)})),sA(jA,"ɵprov",ir({token:YT,factory:YT.ɵfac}));class zA{}function BA(){}function UA(t,e){return e(t)}function HA(t,e){return(n,r)=>e.intercept(n,{handle:e=>t(e,r)})}const VA=new fr(""),$A=new fr(""),qA=new fr(""),WA=new fr("",{providedIn:"root",factory:()=>!0});function GA(){let t=null;return(e,n)=>{if(null===t){var r;const e=null!==(r=Br(VA,{optional:!0}))&&void 0!==r?r:[];t=e.reduceRight(HA,UA)}const i=Br(Ka);if(Br(WA)){const r=i.add();return t(e,n).pipe(Me((()=>i.remove(r))))}return t(e,n)}}class ZA extends aA{constructor(t,e){super(),sA(this,"backend",void 0),sA(this,"injector",void 0),sA(this,"chain",null),sA(this,"pendingTasks",Br(Ka)),sA(this,"contributeToStability",Br(WA)),this.backend=t,this.injector=e}handle(t){if(null===this.chain){const t=Array.from(new Set([...this.injector.get($A),...this.injector.get(qA,[])]));this.chain=t.reduceRight(((t,e)=>function(t,e,n){return(r,i)=>Bi(n,(()=>e(r,(e=>t(e,i)))))}(t,e,this.injector)),UA)}if(this.contributeToStability){const e=this.pendingTasks.add();return this.chain(t,(t=>this.backend.handle(t))).pipe(Me((()=>this.pendingTasks.remove(e))))}return this.chain(t,(t=>this.backend.handle(t)))}}KT=ZA,sA(ZA,"ɵfac",(function(t){return new(t||KT)(jr(uA),jr(Pi))})),sA(ZA,"ɵprov",ir({token:KT,factory:KT.ɵfac}));let YA,KA=0;class QA{}function JA(){return"object"==typeof window?window:{}}class XA{constructor(t,e){sA(this,"callbackMap",void 0),sA(this,"document",void 0),sA(this,"resolvedPromise",Promise.resolve()),this.callbackMap=t,this.document=e}nextCallback(){return"ng_jsonp_callback_"+KA++}handle(t){if("JSONP"!==t.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==t.responseType)throw new Error("JSONP requests must use Json response type.");if(t.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new Et((e=>{const n=this.nextCallback(),r=t.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${n}$1`),i=this.document.createElement("script");i.src=r;let o=null,s=!1;this.callbackMap[n]=t=>{delete this.callbackMap[n],o=t,s=!0};const a=()=>{i.removeEventListener("load",u),i.removeEventListener("error",l),i.remove(),delete this.callbackMap[n]},u=t=>{this.resolvedPromise.then((()=>{a(),s?(e.next(new IA({body:o,status:200,statusText:"OK",url:r})),e.complete()):e.error(new OA({url:r,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))}))},l=t=>{a(),e.error(new OA({error:t,status:0,statusText:"JSONP Error",url:r}))};return i.addEventListener("load",u),i.addEventListener("error",l),this.document.body.appendChild(i),e.next({type:AA.Sent}),()=>{s||this.removeListeners(i),a()}}))}removeListeners(t){null!=YA||(YA=this.document.implementation.createHTMLDocument()),YA.adoptNode(t)}}function tx(t,e){return"JSONP"===t.method?Br(XA).handle(t):e(t)}QT=XA,sA(XA,"ɵfac",(function(t){return new(t||QT)(jr(QA),jr(gE))})),sA(XA,"ɵprov",ir({token:QT,factory:QT.ɵfac}));class ex{constructor(t){sA(this,"injector",void 0),this.injector=t}intercept(t,e){return Bi(this.injector,(()=>tx(t,(t=>e.handle(t)))))}}JT=ex,sA(ex,"ɵfac",(function(t){return new(t||JT)(jr(Pi))})),sA(ex,"ɵprov",ir({token:JT,factory:JT.ɵfac}));const nx=/^\)\]\}',?\n/,rx=RegExp(`^${SA}:`,"m");class ix{constructor(t){sA(this,"xhrFactory",void 0),this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Fn(-2800,!1);const e=this.xhrFactory;return(e.ɵloadImpl?de(e.ɵloadImpl()):he(null)).pipe(Be((()=>new Et((n=>{const r=e.build();if(r.open(t.method,t.urlWithParams),t.withCredentials&&(r.withCredentials=!0),t.headers.forEach(((t,e)=>r.setRequestHeader(t,e.join(",")))),t.headers.has(_A)||r.setRequestHeader(_A,DA),!t.headers.has(wA)){const e=t.detectContentTypeHeader();null!==e&&r.setRequestHeader(wA,e)}if(t.responseType){const e=t.responseType.toLowerCase();r.responseType="json"!==e?e:"text"}const i=t.serializeBody();let o=null;const s=()=>{if(null!==o)return o;const e=r.statusText||"OK",n=new lA(r.getAllResponseHeaders()),i=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:rx.test(t.getAllResponseHeaders())?t.getResponseHeader(SA):null}(r)||t.url;return o=new kA({headers:n,status:r.status,statusText:e,url:i}),o},a=()=>{let{headers:e,status:i,statusText:o,url:a}=s(),u=null;204!==i&&(u=void 0===r.response?r.responseText:r.response),0===i&&(i=u?200:0);let l=i>=200&&i<300;if("json"===t.responseType&&"string"==typeof u){const t=u;u=u.replace(nx,"");try{u=""!==u?JSON.parse(u):null}catch(e){u=t,l&&(l=!1,u={error:e,text:u})}}l?(n.next(new IA({body:u,headers:e,status:i,statusText:o,url:a||void 0})),n.complete()):n.error(new OA({error:u,headers:e,status:i,statusText:o,url:a||void 0}))},u=t=>{const{url:e}=s(),i=new OA({error:t,status:r.status||0,statusText:r.statusText||"Unknown Error",url:e||void 0});n.error(i)};let l=!1;const c=e=>{l||(n.next(s()),l=!0);let i={type:AA.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(i.total=e.total),"text"===t.responseType&&r.responseText&&(i.partialText=r.responseText),n.next(i)},d=t=>{let e={type:AA.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return r.addEventListener("load",a),r.addEventListener("error",u),r.addEventListener("timeout",u),r.addEventListener("abort",u),t.reportProgress&&(r.addEventListener("progress",c),null!==i&&r.upload&&r.upload.addEventListener("progress",d)),r.send(i),n.next({type:AA.Sent}),()=>{r.removeEventListener("error",u),r.removeEventListener("abort",u),r.removeEventListener("load",a),r.removeEventListener("timeout",u),t.reportProgress&&(r.removeEventListener("progress",c),null!==i&&r.upload&&r.upload.removeEventListener("progress",d)),r.readyState!==r.DONE&&r.abort()}})))))}}XT=ix,sA(ix,"ɵfac",(function(t){return new(t||XT)(jr(DT))})),sA(ix,"ɵprov",ir({token:XT,factory:XT.ɵfac}));const ox=new fr(""),sx="XSRF-TOKEN",ax=new fr("",{providedIn:"root",factory:()=>sx}),ux="X-XSRF-TOKEN",lx=new fr("",{providedIn:"root",factory:()=>ux});class cx{}class dx{constructor(t,e,n){sA(this,"doc",void 0),sA(this,"platform",void 0),sA(this,"cookieName",void 0),sA(this,"lastCookieString",""),sA(this,"lastToken",null),sA(this,"parseCount",0),this.doc=t,this.platform=e,this.cookieName=n}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=ID(t,this.cookieName),this.lastCookieString=t),this.lastToken}}function hx(t,e){const n=t.url.toLowerCase();if(!Br(ox)||"GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e(t);const r=Br(cx).getToken(),i=Br(lx);return null==r||t.headers.has(i)||(t=t.clone({headers:t.headers.set(i,r)})),e(t)}tA=dx,sA(dx,"ɵfac",(function(t){return new(t||tA)(jr(gE),jr(Hu),jr(ax))})),sA(dx,"ɵprov",ir({token:tA,factory:tA.ɵfac}));class fx{constructor(t){sA(this,"injector",void 0),this.injector=t}intercept(t,e){return Bi(this.injector,(()=>hx(t,(t=>e.handle(t)))))}}var px;function vx(t,e){return{"ɵkind":t,"ɵproviders":e}}function gx(...t){const e=[FA,ix,ZA,{provide:aA,useExisting:ZA},{provide:uA,useFactory:()=>{var t;return null!==(t=Br(LA,{optional:!0}))&&void 0!==t?t:Br(ix)}},{provide:$A,useValue:hx,multi:!0},{provide:ox,useValue:!0},{provide:cx,useClass:dx}];for(const n of t)e.push(...n.ɵproviders);return function(t){return{"ɵproviders":t}}(e)}eA=fx,sA(fx,"ɵfac",(function(t){return new(t||eA)(jr(Pi))})),sA(fx,"ɵprov",ir({token:eA,factory:eA.ɵfac})),function(t){t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch"}(px||(px={}));const mx=new fr("");function yx(){return vx(px.LegacyInterceptors,[{provide:mx,useFactory:GA},{provide:$A,useExisting:mx,multi:!0}])}function bx({cookieName:t,headerName:e}){const n=[];return void 0!==t&&n.push({provide:ax,useValue:t}),void 0!==e&&n.push({provide:lx,useValue:e}),vx(px.CustomXsrfConfiguration,n)}function wx(){return vx(px.JsonpSupport,[XA,{provide:QA,useFactory:JA},{provide:$A,useValue:tx,multi:!0}])}class _x{static disable(){return{ngModule:_x,providers:[vx(px.NoXsrfProtection,[{provide:ox,useValue:!1}]).ɵproviders]}}static withOptions(t={}){return{ngModule:_x,providers:bx(t).ɵproviders}}}nA=_x,sA(_x,"ɵfac",(function(t){return new(t||nA)})),sA(_x,"ɵmod",Wp({type:nA})),sA(_x,"ɵinj",or({providers:[fx,{provide:VA,useExisting:fx,multi:!0},{provide:cx,useClass:dx},bx({cookieName:sx,headerName:ux}).ɵproviders,{provide:ox,useValue:!0}]}));class Sx{}rA=Sx,sA(Sx,"ɵfac",(function(t){return new(t||rA)})),sA(Sx,"ɵmod",Wp({type:rA})),sA(Sx,"ɵinj",or({providers:[gx(yx())]}));class Cx{}iA=Cx,sA(Cx,"ɵfac",(function(t){return new(t||iA)})),sA(Cx,"ɵmod",Wp({type:iA})),sA(Cx,"ɵinj",or({providers:[wx().ɵproviders]}));(()=>{const t=Ex("json");t.arrayBuffer=Ex("arraybuffer"),t.blob=Ex("blob"),t.text=Ex("text")})();function Ex(t){return function(e,n){var r;(null==n?void 0:n.injector)||Hi();const i=null!==(r=null==n?void 0:n.injector)&&void 0!==r?r:Br(Ha);return new Dx(i,(()=>function(t,e){var n,r;let i="function"==typeof t?t():t;if(void 0===i)return;"string"==typeof i&&(i={url:i});const o=i.headers instanceof lA?i.headers:new lA(i.headers),s=i.params instanceof vA?i.params:new vA({fromObject:i.params});return new TA(null!==(n=i.method)&&void 0!==n?n:"GET",i.url,null!==(r=i.body)&&void 0!==r?r:null,{headers:o,params:s,reportProgress:i.reportProgress,withCredentials:i.withCredentials,responseType:e,context:i.context,transferCache:i.transferCache})}(e,t)),null==n?void 0:n.defaultValue,null==n?void 0:n.parse,null==n?void 0:n.equal)}}class Dx extends SC{constructor(t,e,n,r,i){super(e,(({request:t,abortSignal:e})=>{let n;const i=()=>n.unsubscribe();e.addEventListener("abort",i);const o=Su({value:void 0});let s;const a=new Promise((t=>s=t)),u=t=>{var e;o.set(t),null===(e=s)||void 0===e||e(o),s=void 0};return n=this.client.request(t).subscribe({next:t=>{switch(t.type){case AA.Response:this._headers.set(t.headers),this._statusCode.set(t.status);try{u({value:r?r(t.body):t.body})}catch(t){u({error:t})}break;case AA.DownloadProgress:this._progress.set(t)}},error:t=>u({error:t}),complete:()=>{s&&u({error:new Error("Resource completed before producing a value")}),e.removeEventListener("abort",i)}}),a}),n,i,t),sA(this,"client",void 0),sA(this,"_headers",bC({source:this.extRequest,computation:()=>{}})),sA(this,"_progress",bC({source:this.extRequest,computation:()=>{}})),sA(this,"_statusCode",bC({source:this.extRequest,computation:()=>{}})),sA(this,"headers",cC((()=>this.status()===mC.Resolved||this.status()===mC.Error?this._headers():void 0))),sA(this,"progress",this._progress.asReadonly()),sA(this,"statusCode",this._statusCode.asReadonly()),this.client=t.get(FA)}}var Tx,Ax,xx,kx,Ix,Ox,Rx,Px,Fx,Nx,Mx,Lx,jx,zx;function Bx(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ux(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Bx(Object(n),!0).forEach((function(e){Hx(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Bx(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Hx(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}new fr(""),new fr("");class Vx extends pE{constructor(...t){super(...t),Hx(this,"supportsDOMEvents",!0)}}class $x extends Vx{static makeCurrent(){var t;t=new $x,null!=hE||(hE=t)}onAndCancel(t,e,n,r){return t.addEventListener(e,n,r),()=>{t.removeEventListener(e,n,r)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.remove()}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=(qx=qx||document.querySelector("base"),qx?qx.getAttribute("href"):null);return null==e?null:new URL(e,document.baseURI).pathname}resetBaseElement(){qx=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return ID(document.cookie,t)}}let qx=null;class Wx{build(){return new XMLHttpRequest}}Tx=Wx,Hx(Wx,"ɵfac",(function(t){return new(t||Tx)})),Hx(Wx,"ɵprov",ir({token:Tx,factory:Tx.ɵfac}));const Gx=new fr("");class Zx{constructor(t,e){Hx(this,"_zone",void 0),Hx(this,"_plugins",void 0),Hx(this,"_eventNameToPlugin",new Map),this._zone=e,t.forEach((t=>{t.manager=this})),this._plugins=t.slice().reverse()}addEventListener(t,e,n,r){return this._findPluginFor(e).addEventListener(t,e,n,r)}getZone(){return this._zone}_findPluginFor(t){let e=this._eventNameToPlugin.get(t);if(e)return e;if(e=this._plugins.find((e=>e.supports(t))),!e)throw new Fn(5101,!1);return this._eventNameToPlugin.set(t,e),e}}Ax=Zx,Hx(Zx,"ɵfac",(function(t){return new(t||Ax)(jr(Gx),jr(ou))})),Hx(Zx,"ɵprov",ir({token:Ax,factory:Ax.ɵfac}));class Yx{constructor(t){Hx(this,"_doc",void 0),Hx(this,"manager",void 0),this._doc=t}}const Kx="ng-app-id";function Qx(t){for(const e of t)e.remove()}function Jx(t,e){const n=e.createElement("style");return n.textContent=t,n}function Xx(t,e){const n=e.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",t),n}class tk{constructor(t,e,n,r={}){Hx(this,"doc",void 0),Hx(this,"appId",void 0),Hx(this,"nonce",void 0),Hx(this,"inline",new Map),Hx(this,"external",new Map),Hx(this,"hosts",new Set),Hx(this,"isServer",void 0),this.doc=t,this.appId=e,this.nonce=n,this.isServer=_T(r),function(t,e,n,r){var i;const o=null===(i=t.head)||void 0===i?void 0:i.querySelectorAll(`style[${Kx}="${e}"],link[${Kx}="${e}"]`);if(o)for(const t of o)t.removeAttribute(Kx),t instanceof HTMLLinkElement?r.set(t.href.slice(t.href.lastIndexOf("/")+1),{usage:0,elements:[t]}):t.textContent&&n.set(t.textContent,{usage:0,elements:[t]})}(t,e,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,e){for(const e of t)this.addUsage(e,this.inline,Jx);null==e||e.forEach((t=>this.addUsage(t,this.external,Xx)))}removeStyles(t,e){for(const e of t)this.removeUsage(e,this.inline);null==e||e.forEach((t=>this.removeUsage(t,this.external)))}addUsage(t,e,n){const r=e.get(t);r?r.usage++:e.set(t,{usage:1,elements:[...this.hosts].map((e=>this.addElement(e,n(t,this.doc))))})}removeUsage(t,e){const n=e.get(t);n&&(n.usage--,n.usage<=0&&(Qx(n.elements),e.delete(t)))}ngOnDestroy(){for(const[,{elements:t}]of[...this.inline,...this.external])Qx(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(const[e,{elements:n}]of this.inline)n.push(this.addElement(t,Jx(e,this.doc)));for(const[e,{elements:n}]of this.external)n.push(this.addElement(t,Xx(e,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,e){return this.nonce&&e.setAttribute("nonce",this.nonce),this.isServer&&e.setAttribute(Kx,this.appId),t.appendChild(e)}}xx=tk,Hx(tk,"ɵfac",(function(t){return new(t||xx)(jr(gE),jr(zu),jr(Vu,8),jr(Hu))})),Hx(tk,"ɵprov",ir({token:xx,factory:xx.ɵfac}));const ek={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"},nk=/%COMP%/g,rk="%COMP%",ik=`_nghost-${rk}`,ok=`_ngcontent-${rk}`,sk=new fr("",{providedIn:"root",factory:()=>true});function ak(t,e){return e.map((e=>e.replace(nk,t)))}class uk{constructor(t,e,n,r,i,o,s,a=null,u=null){Hx(this,"eventManager",void 0),Hx(this,"sharedStylesHost",void 0),Hx(this,"appId",void 0),Hx(this,"removeStylesOnCompDestroy",void 0),Hx(this,"doc",void 0),Hx(this,"platformId",void 0),Hx(this,"ngZone",void 0),Hx(this,"nonce",void 0),Hx(this,"tracingService",void 0),Hx(this,"rendererByCompId",new Map),Hx(this,"defaultRenderer",void 0),Hx(this,"platformIsServer",void 0),this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.removeStylesOnCompDestroy=r,this.doc=i,this.platformId=o,this.ngZone=s,this.nonce=a,this.tracingService=u,this.platformIsServer=_T(o),this.defaultRenderer=new lk(t,i,s,this.platformIsServer,this.tracingService)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===t.ViewEncapsulation.ShadowDom&&(n=Ux(Ux({},n),{},{encapsulation:t.ViewEncapsulation.Emulated}));const r=this.getOrCreateRenderer(e,n);return r instanceof fk?r.applyToHost(e):r instanceof hk&&r.applyStyles(),r}getOrCreateRenderer(e,n){const r=this.rendererByCompId;let i=r.get(n.id);if(!i){const o=this.doc,s=this.ngZone,a=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,c=this.platformIsServer,d=this.tracingService;switch(n.encapsulation){case t.ViewEncapsulation.Emulated:i=new fk(a,u,n,this.appId,l,o,s,c,d);break;case t.ViewEncapsulation.ShadowDom:return new dk(a,u,e,n,o,s,this.nonce,c,d);default:i=new hk(a,u,n,l,o,s,c,d)}r.set(n.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}}kx=uk,Hx(uk,"ɵfac",(function(t){return new(t||kx)(jr(Zx),jr(tk),jr(zu),jr(sk),jr(gE),jr(Hu),jr(ou),jr(Vu),jr(Ju,8))})),Hx(uk,"ɵprov",ir({token:kx,factory:kx.ɵfac}));class lk{constructor(t,e,n,r,i){Hx(this,"eventManager",void 0),Hx(this,"doc",void 0),Hx(this,"ngZone",void 0),Hx(this,"platformIsServer",void 0),Hx(this,"tracingService",void 0),Hx(this,"data",Object.create(null)),Hx(this,"throwOnSyntheticProps",!0),Hx(this,"destroyNode",null),this.eventManager=t,this.doc=e,this.ngZone=n,this.platformIsServer=r,this.tracingService=i}destroy(){}createElement(t,e){return e?this.doc.createElementNS(ek[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(ck(t)?t.content:t).appendChild(e)}insertBefore(t,e,n){if(t){(ck(t)?t.content:t).insertBefore(e,n)}}removeChild(t,e){e.remove()}selectRootElement(t,e){let n="string"==typeof t?this.doc.querySelector(t):t;if(!n)throw new Fn(-5104,!1);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;const i=ek[r];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=ek[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&(eh.DashCase|eh.Important)?t.style.setProperty(e,n,r&eh.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&eh.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){null!=t&&(t[e]=n)}setValue(t,e){t.nodeValue=e}listen(t,e,n,r){var i;if("string"==typeof t&&!(t=fE().getGlobalEventTarget(this.doc,t)))throw new Fn(5102,!1);let o=this.decoratePreventDefault(n);return null!==(i=this.tracingService)&&void 0!==i&&i.wrapEventListener&&(o=this.tracingService.wrapEventListener(t,e,o)),this.eventManager.addEventListener(t,e,o,r)}decoratePreventDefault(t){return e=>{if("__ngUnwrap__"===e)return t;!1===(this.platformIsServer?this.ngZone.runGuarded((()=>t(e))):t(e))&&e.preventDefault()}}}"@".charCodeAt(0);function ck(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class dk extends lk{constructor(t,e,n,r,i,o,s,a,u){var l;super(t,i,o,a,u),Hx(this,"sharedStylesHost",void 0),Hx(this,"hostEl",void 0),Hx(this,"shadowRoot",void 0),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=r.styles;c=ak(r.id,c);for(const t of c){const e=document.createElement("style");s&&e.setAttribute("nonce",s),e.textContent=t,this.shadowRoot.appendChild(e)}const d=null===(l=r.getExternalStyles)||void 0===l?void 0:l.call(r);if(d)for(const t of d){const e=Xx(t,i);s&&e.setAttribute("nonce",s),this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(null,e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class hk extends lk{constructor(t,e,n,r,i,o,s,a,u){var l;super(t,i,o,s,a),Hx(this,"sharedStylesHost",void 0),Hx(this,"removeStylesOnCompDestroy",void 0),Hx(this,"styles",void 0),Hx(this,"styleUrls",void 0),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let c=n.styles;this.styles=u?ak(u,c):c,this.styleUrls=null===(l=n.getExternalStyles)||void 0===l?void 0:l.call(n,u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class fk extends hk{constructor(t,e,n,r,i,o,s,a,u){const l=r+"-"+n.id;var c;super(t,e,n,i,o,s,a,u,l),Hx(this,"contentAttr",void 0),Hx(this,"hostAttr",void 0),this.contentAttr=(c=l,ok.replace(nk,c)),this.hostAttr=function(t){return ik.replace(nk,t)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class pk extends Yx{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n,r){return t.addEventListener(e,n,r),()=>this.removeEventListener(t,e,n,r)}removeEventListener(t,e,n,r){return t.removeEventListener(e,n,r)}}Ix=pk,Hx(pk,"ɵfac",(function(t){return new(t||Ix)(jr(gE))})),Hx(pk,"ɵprov",ir({token:Ix,factory:Ix.ɵfac}));const vk=["alt","control","meta","shift"],gk={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},mk={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};class yk extends Yx{constructor(t){super(t)}supports(t){return null!=yk.parseEventName(t)}addEventListener(t,e,n,r){const i=yk.parseEventName(e),o=yk.eventCallback(i.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>fE().onAndCancel(t,i.domEventName,o,r)))}static parseEventName(t){const e=t.toLowerCase().split("."),n=e.shift();if(0===e.length||"keydown"!==n&&"keyup"!==n)return null;const r=yk._normalizeKey(e.pop());let i="",o=e.indexOf("code");if(o>-1&&(e.splice(o,1),i="code."),vk.forEach((t=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),i+=t+".")})),i+=r,0!=e.length||0===r.length)return null;const s={};return s.domEventName=n,s.fullKey=i,s}static matchEventFullKeyCode(t,e){let n=gk[t.key]||t.key,r="";return e.indexOf("code.")>-1&&(n=t.code,r="code."),!(null==n||!n)&&(n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),vk.forEach((e=>{if(e!==n){(0,mk[e])(t)&&(r+=e+".")}})),r+=n,r===e)}static eventCallback(t,e,n){return r=>{yk.matchEventFullKeyCode(r,t)&&n.runGuarded((()=>e(r)))}}static _normalizeKey(t){return"esc"===t?"escape":t}}Ox=yk,Hx(yk,"ɵfac",(function(t){return new(t||Ox)(jr(gE))})),Hx(yk,"ɵprov",ir({token:Ox,factory:Ox.ɵfac}));const bk=BS(oC,"browser",[{provide:Hu,useValue:wT},{provide:Uu,useValue:function(){$x.makeCurrent()},multi:!0},{provide:gE,useFactory:function(){return function(t){Lu=t}(document),document},deps:[]}]),wk=(new fr(""),[{provide:Wv,useClass:class{addToWindow(t){Gn.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Fn(5103,!1);return r},Gn.getAllAngularTestabilities=()=>t.getAllTestabilities(),Gn.getAllAngularRootElements=()=>t.getAllRootElements();Gn.frameworkStabilizers||(Gn.frameworkStabilizers=[]),Gn.frameworkStabilizers.push((t=>{const e=Gn.getAllAngularTestabilities();let n=e.length;const r=function(){n--,0==n&&t()};e.forEach((t=>{t.whenStable(r)}))}))}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?fE().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}},deps:[]},{provide:qv,useClass:Gv,deps:[ou,Zv,Wv]},{provide:Gv,useClass:Gv,deps:[ou,Zv,Wv]}]),_k=[{provide:xi,useValue:"root"},{provide:fu,useFactory:function(){return new fu},deps:[]},{provide:Gx,useClass:pk,multi:!0,deps:[gE]},{provide:Gx,useClass:yk,multi:!0,deps:[gE]},uk,tk,Zx,{provide:Tf,useExisting:uk},{provide:DT,useClass:Wx,deps:[]},[]];class Sk{constructor(){0}}Rx=Sk,Hx(Sk,"ɵfac",(function(t){return new(t||Rx)})),Hx(Sk,"ɵmod",Wp({type:Rx})),Hx(Sk,"ɵinj",or({providers:[..._k,...wk],imports:[bT,sC]}));class Ck{constructor(t){Hx(this,"_doc",void 0),Hx(this,"_dom",void 0),this._doc=t,this._dom=fE()}addTag(t,e=!1){return t?this._getOrCreateElement(t,e):null}addTags(t,e=!1){return t?t.reduce(((t,n)=>(n&&t.push(this._getOrCreateElement(n,e)),t)),[]):[]}getTag(t){return t&&this._doc.querySelector(`meta[${t}]`)||null}getTags(t){if(!t)return[];const e=this._doc.querySelectorAll(`meta[${t}]`);return e?[].slice.call(e):[]}updateTag(t,e){if(!t)return null;e=e||this._parseSelector(t);const n=this.getTag(e);return n?this._setMetaElementAttributes(t,n):this._getOrCreateElement(t,!0)}removeTag(t){this.removeTagElement(this.getTag(t))}removeTagElement(t){t&&this._dom.remove(t)}_getOrCreateElement(t,e=!1){if(!e){const e=this._parseSelector(t),n=this.getTags(e).filter((e=>this._containsAttributes(t,e)))[0];if(void 0!==n)return n}const n=this._dom.createElement("meta");this._setMetaElementAttributes(t,n);return this._doc.getElementsByTagName("head")[0].appendChild(n),n}_setMetaElementAttributes(t,e){return Object.keys(t).forEach((n=>e.setAttribute(this._getMetaKeyMap(n),t[n]))),e}_parseSelector(t){const e=t.name?"name":"property";return`${e}="${t[e]}"`}_containsAttributes(t,e){return Object.keys(t).every((n=>e.getAttribute(this._getMetaKeyMap(n))===t[n]))}_getMetaKeyMap(t){return Ek[t]||t}}Px=Ck,Hx(Ck,"ɵfac",(function(t){return new(t||Px)(jr(gE))})),Hx(Ck,"ɵprov",ir({token:Px,factory:Px.ɵfac,providedIn:"root"}));const Ek={httpEquiv:"http-equiv"};class Dk{constructor(t){Hx(this,"_doc",void 0),this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}Fx=Dk,Hx(Dk,"ɵfac",(function(t){return new(t||Fx)(jr(gE))})),Hx(Dk,"ɵprov",ir({token:Fx,factory:Fx.ɵfac,providedIn:"root"}));const Tk={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},Ak=new fr(""),xk=new fr("");class kk{constructor(){Hx(this,"events",[]),Hx(this,"overrides",{}),Hx(this,"options",void 0)}buildHammer(t){const e=new Hammer(t,this.options);e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0});for(const t in this.overrides)e.get(t).set(this.overrides[t]);return e}}Nx=kk,Hx(kk,"ɵfac",(function(t){return new(t||Nx)})),Hx(kk,"ɵprov",ir({token:Nx,factory:Nx.ɵfac}));class Ik extends Yx{constructor(t,e,n,r){super(t),Hx(this,"_config",void 0),Hx(this,"_injector",void 0),Hx(this,"loader",void 0),Hx(this,"_loaderPromise",null),this._config=e,this._injector=n,this.loader=r}supports(t){return!(!Tk.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t))&&!(!window.Hammer&&!this.loader)}addEventListener(t,e,n){const r=this.manager.getZone();if(e=e.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||r.runOutsideAngular((()=>this.loader()));let i=!1,o=()=>{i=!0};return r.runOutsideAngular((()=>this._loaderPromise.then((()=>{window.Hammer?i||(o=this.addEventListener(t,e,n)):o=()=>{}})).catch((()=>{o=()=>{}})))),()=>{o()}}return r.runOutsideAngular((()=>{const i=this._config.buildHammer(t),o=function(t){r.runGuarded((function(){n(t)}))};return i.on(e,o),()=>{i.off(e,o),"function"==typeof i.destroy&&i.destroy()}}))}isCustomEvent(t){return this._config.events.indexOf(t)>-1}}Mx=Ik,Hx(Ik,"ɵfac",(function(t){return new(t||Mx)(jr(gE),jr(Ak),jr(Ha),jr(xk,8))})),Hx(Ik,"ɵprov",ir({token:Mx,factory:Mx.ɵfac}));class Ok{}Lx=Ok,Hx(Ok,"ɵfac",(function(t){return new(t||Lx)})),Hx(Ok,"ɵmod",Wp({type:Lx})),Hx(Ok,"ɵinj",or({providers:[{provide:Gx,useClass:Ik,multi:!0,deps:[gE,Ak,Ha,[new Wr,xk]]},{provide:Ak,useClass:kk,deps:[]}]}));class Rk{}jx=Rk,Hx(Rk,"ɵfac",(function(t){return new(t||jx)})),Hx(Rk,"ɵprov",ir({token:jx,factory:function(t){let e=null;return e=t?new(t||jx):jr(Pk),e},providedIn:"root"}));class Pk extends Rk{constructor(t){super(),Hx(this,"_doc",void 0),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case Uc.NONE:return e;case Uc.HTML:return cc(e,"HTML")?lc(e):zc(this._doc,String(e)).toString();case Uc.STYLE:return cc(e,"Style")?lc(e):e;case Uc.SCRIPT:if(cc(e,"Script"))return lc(e);throw new Fn(5200,!1);case Uc.URL:return cc(e,"URL")?lc(e):vc(String(e));case Uc.RESOURCE_URL:if(cc(e,"ResourceURL"))return lc(e);throw new Fn(5201,!1);default:throw new Fn(5202,!1)}}bypassSecurityTrustHtml(t){return new ic(t)}bypassSecurityTrustStyle(t){return new oc(t)}bypassSecurityTrustScript(t){return new sc(t)}bypassSecurityTrustUrl(t){return new ac(t)}bypassSecurityTrustResourceUrl(t){return new uc(t)}}var Fk;function Nk(){let t=!1;try{t="undefined"!=typeof document&&"undefined"!=typeof window}catch(t){}return t&&!Lk()}function Mk(){return"DEV"==uI.getEnv()&&((Nk()||Lk())&&window.isLocalEv||jk()&&global.isLOCAL)}function Lk(){let t=!1;try{t=window.top.cordova&&window.top.cordova.platformId}catch(t){}return t}function jk(){let t=!1;try{t="undefined"!=typeof document&&"undefined"!=typeof window}catch(t){}return!t}zx=Pk,Hx(Pk,"ɵfac",(function(t){return new(t||zx)(jr(gE))})),Hx(Pk,"ɵprov",ir({token:zx,factory:zx.ɵfac,providedIn:"root"})),function(t){t[t.NoHttpTransferCache=0]="NoHttpTransferCache",t[t.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",t[t.I18nSupport=2]="I18nSupport",t[t.EventReplay=3]="EventReplay",t[t.IncrementalHydration=4]="IncrementalHydration"}(Fk||(Fk={})),new bS("19.2.3");let zk=null;function Bk(){return null==zk&&(zk=function(){let t=!1;try{t="undefined"!=typeof document&&"undefined"!=typeof window,t&&(t=window&&(window.JSTESTING||window.jasmine))}catch(t){}return t}()),zk}function Uk(t){return String.prototype.trim?String.prototype.trim.call(t):t.replace(/(^\s*|\s*$)/gm,"")}function Hk(t){return"string"==typeof t}function Vk(t){if(!Hk(t))throw new TypeError("stringGetDigits called on a non-string. The given value is "+typeof t);return Uk(t).replace(/[^0-9]/g,"")}function $k(t,e){return"number"==typeof t&&(e&&isNaN(t)||isFinite(t))}function qk(t){if(Hk(t)){var e=t.trim(),n=e.replace(/[^0-9.]/g,"");0==e.indexOf("-")&&(n="-"+n);var r=parseFloat(n);return $k(r)?r:null}return $k(t)?t:null}function Wk(t){return Array.isArray(t)}function Gk(t,e,n=t){if(!Wk(t))throw new TypeError("forEach called on a non-array type value. The given value is "+typeof t);let r;n||(n=t);let i=0,o=t.length;for(;i<o&&(r=e.call(n,t[i],i,t),"boolean"!=typeof r||r);)i++}function Zk(t){return"function"==typeof t}function Yk(t){return null!==t&&"object"==typeof t&&!Wk(t)}function Kk(t,e=!0,n=!1){let r=Object.keys(t),i=[];return Gk(r,(r=>{n&&null===t[r]||i.push(encodeURIComponent(r)+"="+(e?encodeURIComponent(t[r]):t[r]))})),i.join("&")}function Qk(t,e,n=t){var r,i=n||t;if(!Yk(t))throw new TypeError("Object.forEach called on non-object. The given value is "+typeof t);if(!Zk(e))throw new TypeError("The given iterator is not a function");for(var o in t){if("hasOwn"in Object){if(!Object.hasOwn(t,o))continue}else if(t.hasOwnProperty&&!t.hasOwnProperty(o))continue;if("boolean"==typeof(r=e.apply(i,[t[o],o]))&&!r)break}}function Jk(t,e,n=!1){if(!Yk(e)&&!Wk(e))return e;let r,i=!Wk(e),o=0,s=0;if(r=n?Xk(t):t,!i){for(Wk(r)||(r=[]),s=e.length;o<s;o++)r[o]=void 0===r[o]?e[o]:Jk(r[o],e[o]);return e}{Yk(r)||(r={});let t=Object.keys(e);for(s=t.length;o<s;o++){let n=t[o];r[n]=Jk(r[n]||{},e[n])}}return r}function Xk(t){if(!Yk(t)&&!Wk(t))return t;let e=!Wk(t),n=e?{}:[],r=0,i=0;if(e){let e=Object.keys(t);for(i=e.length;r<i;r++){let i=e[r];n[i]=Xk(t[i])}}else for(i=t.length;r<i;r++)n[r]=Xk(t[r]);return n}function tI(t,e,n=!1){if(!Yk(t)||!Yk(e))throw new TypeError("First or second argument is not an json object");return Jk(t,e,n)}function eI(t){if(!Yk(t)&&!Wk(t))throw new TypeError("Object.copy called on non-object. The given value is "+typeof t);return Xk(t)}function nI(t,e){return e.includes(t)}function rI(t){return null==t||void 0===t}let iI={};function oI(t,e){var n;void 0===t&&(t="");var r=function(t,e){return e<(t=parseInt(t,10).toString(16)).length?t.slice(t.length-e):e>t.length?Array(e-t.length+1).join("0")+t:t};return iI||(iI={}),iI.uniqidSeed||(iI.uniqidSeed=Math.floor(123456789*Math.random())),iI.uniqidSeed++,n=t,n+=r(parseInt(((new Date).getTime()/1e3).toString(),10),8),n+=r(iI.uniqidSeed,5),e&&(n+=(10*Math.random()).toFixed(8).toString()),n}const sI=function(){var t;if("undefined"!=typeof window){if(window.requestAnimationFrame)return function(t,e){return window.requestAnimationFrame.apply(window,[t,e])};var e=0;t=function(t){var n=(new Date).getTime(),r=Math.max(0,16-(n-e)),i=window.setTimeout((function(){t(n+r)}),r);return e=n+r,i}}else t=function(t){t()};return t}(),aI=function(){let t=null;return function(){if(jk())return!1;if(null!==t)return t;t=!1;try{var e=function(){window.removeEventListener("test",e)},n=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",e,n)}catch(t){}return t}}(),uI=function(){let t;return{getEnv:()=>t,setEnv:e=>{t=e}}}();function lI(){return new Promise((t=>{setTimeout(t,0)}))}let cI,dI={method:"POST",url:null,retry:0,needs_session:!1,expectedType:"json",data:{},query:{},headers:{"Content-Type":"application/json;charset=UTF-8"},events:!0,id:null,xsrf:!0,silent:!1},hI={get web(){return"/"},get internet_base(){return"https://cdnjs.cloudflare.com/ajax/libs/10up-sanitize.css/6.0.0/sanitize.min.css"},get internet(){return hI.internet_base+"?stamp="+oI()}},fI=new RegExp("^(?:[a-z]+:)?//","i");function pI(t){return t&&(cI=t,fI.test(cI)||cI===hI.web||(cI="https://"+cI)),cI}function vI(t){return pI()+"/home/rpc"}function gI(t){switch(t.responseType){case"json":if("response"in t)return t.response;var e=t;return JSON.parse(e.responseText);case"document":return t.responseXML;default:return"response"in t?t.response:(e=t).responseText}}var mI=function(t,e,n,r){void 0===r&&(r="download_load"),this.originalEvent=t,this.xhr=e,this.request=n,this.type=r;var i=e.status,o=e.responseType;this.status=null!=i?i:0,this.responseType=null!=o?o:"";var s=e.getAllResponseHeaders();this.responseHeaders=s?s.split("\n").reduce((function(t,e){var n=e.indexOf(": ");return t[e.slice(0,n)]=e.slice(n+2),t}),{}):{},this.response=gI(e);var a=t.loaded,u=t.total;this.loaded=a,this.total=u},yI=it((function(t){return function(t,e,n){var r;this.message=t,this.name="AjaxError",this.xhr=e,this.request=n,this.status=e.status,this.responseType=e.responseType;try{r=gI(e)}catch(t){r=e.responseText}this.response=r}})),bI=function(){function t(t,e){return yI.call(this,"ajax timeout",t,e),this.name="AjaxTimeoutError",this}return t.prototype=Object.create(yI.prototype),t}();function wI(t,e){return AI({method:"GET",url:t,headers:e})}function _I(t,e,n){return AI({method:"POST",url:t,body:e,headers:n})}function SI(t,e){return AI({method:"DELETE",url:t,headers:e})}function CI(t,e,n){return AI({method:"PUT",url:t,body:e,headers:n})}function EI(t,e,n){return AI({method:"PATCH",url:t,body:e,headers:n})}var DI=ve((function(t){return t.response}));function TI(t,e){return DI(AI({method:"GET",url:t,headers:e}))}var AI=function(){var t=function(t){var e;return e="string"==typeof t?{url:t}:t,new Et((function(t){var n,r,i,o=Z({async:!0,crossDomain:!1,withCredentials:!1,method:"GET",timeout:0,responseType:"json"},e),s=o.queryParams,a=o.body,u=o.headers,l=o.url;if(!l)throw new TypeError("url is required");if(s)if(l.includes("?")){var c=l.split("?");if(2<c.length)throw new TypeError("invalid url");i=new URLSearchParams(c[1]),new URLSearchParams(s).forEach((function(t,e){return i.set(e,t)})),l=c[0]+"?"+i}else l=l+"?"+(i=new URLSearchParams(s));var d={};if(u)for(var h in u)u.hasOwnProperty(h)&&(d[h.toLowerCase()]=u[h]);var f=o.crossDomain;f||"x-requested-with"in d||(d["x-requested-with"]="XMLHttpRequest");var p=o.withCredentials,v=o.xsrfCookieName,g=o.xsrfHeaderName;if((p||!f)&&v&&g){var m=null!==(r=null===(n=null===document||void 0===document?void 0:document.cookie.match(new RegExp("(^|;\\s*)("+v+")=([^;]*)")))||void 0===n?void 0:n.pop())&&void 0!==r?r:"";m&&(d[g]=m)}var y,b=function(t,e){var n;if(!t||"string"==typeof t||function(t){return"undefined"!=typeof FormData&&t instanceof FormData}(t)||function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}(t)||function(t){return FI(t,"ArrayBuffer")}(t)||function(t){return FI(t,"File")}(t)||function(t){return FI(t,"Blob")}(t)||function(t){return"undefined"!=typeof ReadableStream&&t instanceof ReadableStream}(t))return t;if(function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView(t)}(t))return t.buffer;if("object"==typeof t)return e["content-type"]=null!==(n=e["content-type"])&&void 0!==n?n:"application/json;charset=utf-8",JSON.stringify(t);throw new TypeError("Unknown body type")}(a,d),w=Z(Z({},o),{url:l,headers:d,body:b});y=e.createXHR?e.createXHR():new XMLHttpRequest;var _=e.progressSubscriber,S=e.includeDownloadProgress,C=void 0!==S&&S,E=e.includeUploadProgress,D=void 0!==E&&E,T=function(e,n){y.addEventListener(e,(function(){var e,r=n();null===(e=null==_?void 0:_.error)||void 0===e||e.call(_,r),t.error(r)}))};T("timeout",(function(){return new bI(y,w)})),T("abort",(function(){return new yI("aborted",y,w)}));var A=function(t,e){return new mI(e,y,w,t+"_"+e.type)},x=function(e,n,r){e.addEventListener(n,(function(e){t.next(A(r,e))}))};D&&[II,OI,RI].forEach((function(t){return x(y.upload,t,xI)})),_&&[II,OI].forEach((function(t){return y.upload.addEventListener(t,(function(t){var e;return null===(e=null==_?void 0:_.next)||void 0===e?void 0:e.call(_,t)}))})),C&&[II,OI].forEach((function(t){return x(y,t,kI)}));var k=function(e){var n="ajax error"+(e?" "+e:"");t.error(new yI(n,y,w))};y.addEventListener("error",(function(t){var e;null===(e=null==_?void 0:_.error)||void 0===e||e.call(_,t),k()})),y.addEventListener(RI,(function(e){var n,r,i=y.status;if(i<400){null===(n=null==_?void 0:_.complete)||void 0===n||n.call(_);var o=void 0;try{o=A(kI,e)}catch(e){return void t.error(e)}t.next(o),t.complete()}else null===(r=null==_?void 0:_.error)||void 0===r||r.call(_,e),k(i)}));var I=w.user,O=w.method,R=w.async;for(var h in I?y.open(O,l,R,I,w.password):y.open(O,l,R),R&&(y.timeout=w.timeout,y.responseType=w.responseType),"withCredentials"in y&&(y.withCredentials=w.withCredentials),d)d.hasOwnProperty(h)&&y.setRequestHeader(h,d[h]);return b?y.send(b):y.send(),function(){y&&4!==y.readyState&&y.abort()}}))};return t.get=wI,t.post=_I,t.delete=SI,t.put=CI,t.patch=EI,t.getJSON=TI,t}(),xI="upload",kI="download",II="loadstart",OI="progress",RI="load";var PI=Object.prototype.toString;function FI(t,e){return PI.call(t)==="[object "+e+"]"}var NI=new class{constructor(){this.events={},this.replayevents={}}eventGetorCreate(t){return this.events[t]||(this.replayevents[t]?this.events[t]=new Lt(1,$k(this.replayevents[t])?this.replayevents[t]:999999999):this.events[t]=new Pt),this.events[t]}keepValueFor(t,e){this.replayevents[t]=e||!0}subscribe(t,e,n,r,i=[]){let o,s=this.eventGetorCreate(t);return o=s.pipe.apply(s,i).subscribe({next:e,error:n,complete:()=>{r&&r(),o&&o.unsubscribe()}}),o}emit(t,e,n){if(n&&!this.events[t])return;this.eventGetorCreate(t).next(e)}terminate(t){let e;this.events[t]&&(e=this.events[t],e.complete(),delete this.events[t],this.replayevents[t]&&delete this.replayevents[t])}clear(){Qk(this.events,(t=>{t.complete()})),this.events={},this.replayevents={}}};let MI,LI,jI=AI;function zI(t){let e;t.progressSubscriber&&(e=t.progressSubscriber,delete t.progressSubscriber);let n,r=tI({},dI,!0);t&&t.data&&t.data instanceof FormData&&(delete r.headers,n=t.data);let i=tI(r,t,!0);n&&(i.data=n),e&&(i.progressSubscriber=e);let o,s,a,u=jI,l=new Promise((function(t,e){o=t,s=e})),c={crossDomain:!0,responseType:"text",method:i.method||"POST",url:i.url||vI(),headers:i.headers,timeout:3e4,async:!0,withCredentials:!1};"blob"==i.expectedType&&(c.responseType="blob"),i.timeout&&(c.timeout=i.timeout);let d=i.query||{};if(["POST","PUT","DELETE"].includes(i.method)){c.body=i.data;let t=c.headers||{},e=t["Content-Type"]||t["content-type"];!Lk()&&e&&e.indexOf("application/x-www-form-urlencoded")>-1&&(c.body=Kk(i.data))}else d=Object.assign({},d,i.data);Object.keys(d).length>0&&(c.url+=(c.url.indexOf("?")>-1?"&":"?")+Kk(d));let h=function(t){let e=u(c).subscribe({next:function(t){if(setTimeout((()=>{e&&e.unsubscribe()})),!o)return;let n={};if("json"==i.expectedType)try{n=JSON.parse(t.response)}catch(e){n={error:!0,message:"malformated json",raw:t.response}}else n=t.response;let r={};try{r=t.headers||t.xhr.getAllResponseHeaders().split("\r\n").reduce((function(t,e){var n=e.split(":");return t[n[0]]=n[1],t}),{})}catch(t){}n&&"malformated json"==n.message&&"json"==i.expectedType?s({status:200,type:n.message,data:n.raw,headers:r}):o({data:n,status:t.status,headers:r})},error:function(n){if(setTimeout((()=>{e&&e.unsubscribe()})),!s)return;let r=n.xhr&&n.xhr.response||"",o={};try{o=n.headers||n.xhr.getAllResponseHeaders().split("\r\n").reduce((function(t,e){var n=e.split(":");return t[n[0]]=n[1],t}),{})}catch(t){}if(-999==n.status)return i.events&&NI.emit("$device:insecure",{type:n.type,data:r,code:n.errorcode}),void s({status:i.events?-1:-10,type:"request",data:r,headers:o});if(403==n.status)s({status:n.status,type:n.type,data:r,headers:o});else if(n.status&&n.status>=500&&n.status<512)t?s({status:n.status,type:n.type,data:"internal error",headers:o}):h(!0);else{if(!s)return;t||n.status>399&&n.status<512?s({status:n.status,type:n.type,data:r,headers:o}):function(){let t=jI;return new Promise((function(e,n){let r=t({crossDomain:!0,method:"GET",url:hI.internet,timeout:15e3,responseType:"text",async:!0,withCredentials:!1,headers:{}}).subscribe({next:function(){e(null),r&&r.unsubscribe()},error:function(t){n(),setTimeout((()=>{r&&r.unsubscribe()}))}})}))}().then((function(){s&&(t?s({status:n.status,type:n.type,data:r,headers:o}):h(!0))}),(function(){s&&(i.events&&NI.emit("$device:no-internet"),s({status:i.events?-1:-10,type:n.type,data:r,headers:o}))}))}}});a=function(){s=null,o=null,l=null,e&&(e.unsubscribe(),e=null),LI===a&&(LI=null)},LI=a};return h(),l.finally((()=>{LI===a&&(LI=null)})),l}function BI(){return LI}function UI(t){return new Promise((function(e,n){jI({crossDomain:!0,responseType:"json",method:"GET",url:t}).subscribe({next:function(t){e(Yk(t.response)?t.response:null)},error:function(t){e({status:t.status,type:t.type,data:t.xhr&&t.xhr.response||""})}})}))}NI.subscribe("$server:captcha-block",(function(t){if(MI)return!1;MI=!0}));const HI=new class{get _storage(){return document.cookie}set _storage(t){document.cookie=t}useMemory(t){this._usememstorage=t,t||(this._memstorage={})}clearMemory(){this._memstorage={}}get(t){if(!this._usememstorage&&!document.cookie)return;if(this._usememstorage)return this._memstorage[t];let e,n=this._storage.split(";"),r=t+"=";for(let t=0;t<n.length;t++){let i=n[t];for(;" "==i.charAt(0);)i=i.substring(1);if(0==i.indexOf(r)){e=decodeURIComponent(i.substring(r.length,i.length));break}}if("mw_signon"==t&&void 0!==e&&("{"!=e.slice(0,1)||"}"!=e.slice(-1)))try{e=window.atob(e)}catch(t){console.error("window.atob() failed on 'mw_signon'")}return e}asyncget(t){if(Lk()){let e=pI().replace(/^https?:\/\//,"");return e.lastIndexOf("/")>0&&(e=e.substring(0,e.lastIndexOf("/")-1)),new Promise((n=>{window.top.sslHTTP.getCookies(e,(function(e){if(e[t]){let r="value"in e[t]?e[t].value:e[t].Value;if("mw_signon"==t)try{if(r=decodeURIComponent(r),void 0!==r&&/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.test(r||""))try{r=window.atob(r)}catch(t){console.error("window.atob() failed on 'mw_signon'")}}catch(t){r=""}n(r)}else n(null)}),(function(){n(null)}))}))}return Promise.resolve(this.get(t))}set(t,e,n){if(Lk()&&!this._usememstorage&&console.warn("Cannot set cookies in a cordova app, memory will be used instead"),this._usememstorage&&-1==n)delete this._memstorage[t];else if(this._usememstorage){let n;if(Yk(e)||Wk(e))try{n=JSON.stringify(e)}catch(t){}else n=Zk(e)?"":e;this._memstorage[t]=n}else{let r,i=new Date;0===n?r='expires=""':(n||(n=0),i.setTime(i.getTime()+24*n*60*60*1e3),r="expires="+i.toUTCString()),this._storage=t+"="+e+"; "+(this._usememstorage?"":r+"; path=/; secure; domain=."+window.location.hostname||window.location.host)}this._eventsHandlers.set&&this._eventsHandlers.set.forEach((r=>{r(t,e,n)}))}get enabled(){return!jk()&&!1!==navigator.cookieEnabled&&(document.cookie="testcookie=1",-1!=document.cookie.indexOf("testcookie"))}remove(t){this.set(t,"",-1),this._eventsHandlers.remove&&this._eventsHandlers.remove.forEach((e=>{e(t)}))}constructor(){this._memstorage={},this._eventsHandlers={},this.enabled||this.useMemory(!0)}subscribe(t,e){return this._eventsHandlers[t]=this._eventsHandlers[t]||[],this._eventsHandlers[t].push(e),()=>{let n=this._eventsHandlers[t].indexOf(e);n>-1&&this._eventsHandlers[t].splice(n,1)}}};var VI,$I={};let qI,WI,GI;function ZI(){qI=null,WI=!1}const YI=new class{useCookieStorage(){HI&&HI.enabled?(this._storage={setItem:function(t,e,n){HI.set(t,e,n)},removeItem:function(t){document.cookie=t+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;"},getItem:function(t){return HI.get(t)}},this.isExpired=()=>(console.warn("not available for cookies"),0),this.removeGroup=t=>{Gk(function(){for(var t=document.cookie.split(";"),e=[],n=1,r=t.length;n<=r;n++)e[n-1]=Uk(t[n-1]);return e}(),((e,n)=>{0==e.indexOf(t+"_")&&this._storage.removeItem(e.split("=")[0])}))}):this.useMemory(!0)}useSession(t){this._storage=t?window.sessionStorage:window.localStorage}useMemory(t){if(t&&!this._oldStorage){this._oldStorage=this._storage;let t={_data:{},setItem:(t,e)=>this._storage._data[t]=String(e),getItem:t=>this._storage._data[t],removeItem:t=>delete this._storage._data[t],clear:()=>this._storage._data={}};this._storage=t}else t||(this._storage=this._oldStorage,this._oldStorage=null,this._storage||(this._storage=!jk()&&"localStorage"in window?window.localStorage:null))}clearMemory(){this._storage&&this._storage.clear&&this._storage.clear()}get(t){var e,n,r=t;t=this._group+t;for(var i=0;i<this._types.length;i++){let o=this._types[i];if(this._storage.getItem(t+o)){if(this.isExpired(r))return void this._storage.removeItem(t+o);switch(o){case this._types[0]:case this._types[3]:e=JSON.parse(this._storage.getItem(t+o)),n=!0;break;case this._types[1]:e=this._storage.getItem(t+o),n=!0;break;case this._types[2]:e=parseFloat(this._storage.getItem(t+o)),n=!0}break}}return!n&&Hk(this._storage.getItem(t))&&(e=this._storage.getItem(t)),e="undefined"==e||null==e?void 0:"true"==e||"false"!=e&&e}set(t,e,n){var r=t,i="";if("expirations"==t)return!1;t=this._group+t,Yk(e)||Wk(e)?(e=JSON.stringify(e),i=this._types[0]):$k(e)?(e=e.toString(),i=this._types[2]):"boolean"==typeof e?(e=e.toString(),i=this._types[3]):i=this._types[1];for(var o=0,s=this._types.length;o<s;o++)if(this._storage.getItem(t+this._types[o])){this._storage.removeItem(t+this._types[o]);break}try{this._storage.setItem(t+i,e)}catch(t){console.warn(t)}n&&this.expire(r,n)}remove(t){t=this._group+t;for(var e=0,n=this._types.length;e<n;e++)this._storage.getItem(t+this._types[e])&&this._storage.removeItem(t+this._types[e])}expire(t,e){var n,r=this._storage.getItem("_expirations.json")||null;try{(n=JSON.parse(r))||(n={})}catch(t){n={}}n[this._group+t]={in:e,since:(new Date).getTime()},this._storage.setItem("_expirations.json",JSON.stringify(n))}getExpiration(t){var e=this._storage.getItem("_expirations.json")||!1;if(!e)return null;try{if(!(e=JSON.parse(e)))return null}catch(t){return null}return e[this._group+t]||null}isExpired(t,e){var n=this.getExpiration(t);if(null===n)return 0;let r=(new Date).getTime()-n.since;return r>=n.in?1:e?n.in-r:0}group(t){if(null==t){let t=this._group;return t&&(t=t.substring(0,t.length-1)),t}!1===t&&(this._group=""),this._group=t+"_"}removeGroup(t){Gk(Object.keys(this._storage)||[],(e=>{0===e.indexOf(t)&&this._storage.removeItem(e)}))}constructor(){let t;this._storage=null,this._oldStorage=null,this._types=[".json",".string",".number",".boolean"],this._group="";try{this._storage=!jk()&&"localStorage"in window?window.localStorage:null,t=!0}catch(t){this.useMemory(!0)}if(!jk()){try{window.localStorage.setItem("test","test"),window.localStorage.removeItem("test")}catch(t){this.useCookieStorage()}if(t&&this._storage==window.localStorage){let t,e=this._storage.getItem("_expirations.json")||null,n=new Date;if(e)try{t=JSON.parse(e),Qk(t,((e,r)=>{if(!e)return!0;for(var i,o=0;o<this._types.length;o++){if(this._storage.getItem(r+this._types[o])){i=!1,n.getTime()-e.since>=e.in&&(this._storage.removeItem(r+this._types[o]),delete t[r]);break}i=!0}i&&delete t[r]}));this._storage.setItem("_expirations.json",JSON.stringify(t))}catch(t){}}}}};function KI(){let t=Bk(),e={captureException:t=>{console.error(t)},captureMessage:(t,e)=>{console.info(t)},withScope:t=>{t({addBreadcrumb:function(){},setExtras:function(){},setExtra:function(){},setTag:(t,e)=>{},setLevel:function(){},setContext:function(){},setFingerprint:function(){}})},Severity:{},addBreadcrumb:(...t)=>{},setTag:(...t)=>{},setFingerprint:(...t)=>{}};return new Promise((n=>{t?n(e):r.import("package:/system/raven-lib").then((t=>{let e=t.Raven;if(!jk()){let t={id:YI.get("support_id")||"--",username:YI.get("pub_id")||YI.get("sentry_pub_id")||"--"};"--"==t.id&&"--"!==t.username&&(t.id=t.username,delete t.username),e.setUser({id:t.id,username:Nk()?t.id:t.username})}n(e)}),(t=>{console.warn("Cannot load raven js library"),console.error(t),n(e)}))}))}class QI{CloseMobKeyboard(t){t.target!=document.activeElement&&(document.activeElement instanceof HTMLInputElement||document.activeElement instanceof HTMLTextAreaElement)&&document.activeElement.blur()}constructor(t,e){this.el=t,this._zone=e}ngOnInit(){this.CloseMobKeyboard=this.CloseMobKeyboard.bind(this),jk()||Bk()||document.addEventListener("click",this.CloseMobKeyboard)}ngAfterViewInit(){}ngOnDestroy(){jk()||Bk()||document.removeEventListener("click",this.CloseMobKeyboard)}}QI.ɵfac=function(t){return new(t||QI)(jf(bu),jf(ou))},QI.ɵdir=Yp({type:QI,selectors:[["","zing-region",""]],standalone:!1});class JI{constructor(t,e,n){this.el=t,this._zone=e,this._render=n,this.onTap=new Ja,this.onClick=new Ja,this.onTapHover=new Ja,this.onTapOutside=new Ja,this.onTapHoverOutside=new Ja,this.onTapDoc=new Ja,this.onSwipeLeft=new Ja,this.zingToggle=!1,this.zingTouch=!1,this.zingSlider=!1,this.zingUrl=!1,this.zingUrlContainer=!1,this.zingUrlFeedback=!1,this.zingNoTouch=!1,this.zingTapDelay=0,this._eventsDestroyCallbacks=[]}_eventsDestroyCallbacksTrigger(){this._eventsDestroyCallbacks.forEach((t=>{t()})),this._eventsDestroyCallbacks=[]}specialEventsDestroy(t){this._eventsDestroyCallbacks.indexOf(t)<0&&this._eventsDestroyCallbacks.push(t)}ngAfterViewInit(){try{jk()&&this._render&&this.el&&this.el.nativeElement&&this.el.nativeElement.removeAttribute&&this._render.removeAttribute(this.el.nativeElement,"zing-touch")}catch(t){}if(jk()||Bk())return;if(this.hmEl=this.el.nativeElement,this.onTap.observed){let t=this.onTapOutside.observed;t||this._zone.runOutsideAngular((()=>{this.hmEl.addEventListener("click",(t=>{let e=()=>{this._zone.run((()=>{this.onTap.emit(t)}))};this.zingTapDelay?setTimeout(e,this.zingTapDelay):e()}))})),t&&(()=>{let t=t=>{this._zone.run((()=>{this.onTap.emit(t)})),t.stopPropagation(),document.removeEventListener("click",e),setTimeout((()=>{document.addEventListener("click",e)}))},e=t=>{setTimeout((()=>{this._zone.run((()=>{this.onTapOutside.emit(t)}))})),document.removeEventListener("click",e)};this._zone.runOutsideAngular((()=>{this.hmEl.addEventListener("click",t),setTimeout((()=>{document.addEventListener("click",e)}))})),this.specialEventsDestroy((()=>{this.hmEl&&this.hmEl.removeEventListener("click",t),document.removeEventListener("click",e)}))})()}if(this.onTapHover.observed){var t=!1;let n=this.onTapHoverOutside.observed;n||this._zone.runOutsideAngular((()=>{this.hmEl.addEventListener("click",(e=>{t=!0,this._zone.run((()=>{this.onTapHover.emit(e)}))}))}));let r=e=>{t?t=!1:this._zone.run((()=>{this.onTapHover.emit(e)}))};if(this._zone.runOutsideAngular((()=>{this.hmEl.addEventListener("mouseenter",r)})),n){var e=!1;(()=>{let n=e=>{t=!0,this._zone.run((()=>{this.onTapHover.emit(e)})),e.stopPropagation(),document.removeEventListener("click",i),setTimeout((()=>{document.addEventListener("click",i)}))},i=t=>{e=!0,this._zone.run((()=>{this.onTapHoverOutside.emit(t)})),document.removeEventListener("click",i)},o=t=>{e?e=!1:(this.onTapHoverOutside.emit(t),document.removeEventListener("click",i))};this._zone.runOutsideAngular((()=>{this.hmEl.addEventListener("mouseleave",o),this.hmEl.addEventListener("click",n)})),this.specialEventsDestroy((()=>{this.hmEl&&this.hmEl.removeEventListener("click",n),document.removeEventListener("click",i),this.el&&this.el.nativeElement&&(this.hmEl.removeEventListener("mouseleave",o),this.hmEl.removeEventListener("mouseenter",r))}))})()}}if(!this.onTapDoc.observed||this.onTapHoverOutside.observed||this.onTapOutside.observed||this._zone.runOutsideAngular((()=>{let t=t=>{t.stopPropagation()};this.hmEl.addEventListener("click",t);var e=t=>{setTimeout((()=>{this._zone.run((()=>{this.onTapDoc.emit(t)}))}))};document.addEventListener("click",e),this.specialEventsDestroy((()=>{this.hmEl&&this.hmEl.removeEventListener("click",t),document.removeEventListener("click",e)}))})),this.onClick.observed){const t=t=>{this.onClick.emit(t)};this.hmEl.addEventListener("click",t),this.specialEventsDestroy((()=>{this.hmEl.removeEventListener("click",t)}))}}ngOnDestroy(){this.the_slider&&(this.the_slider=null),this._eventsDestroyCallbacksTrigger(),this.hmEl=!1}}JI.ɵfac=function(t){return new(t||JI)(jf(bu),jf(ou),jf(Af))},JI.ɵdir=Yp({type:JI,selectors:[["","zing-touch",""]],inputs:{zingToggle:"zingToggle",zingTouch:[0,"zing-feedback","zingTouch"],zingSlider:"zingSlider",zingUrl:[0,"zing-url","zingUrl"],zingUrlContainer:[0,"zing-url-container","zingUrlContainer"],zingUrlFeedback:[0,"zing-url-feedback","zingUrlFeedback"],zingNoTouch:[0,"zing-no-touch","zingNoTouch"],zingAllow:[0,"zing-allow-action","zingAllow"],zingTapDelay:[0,"zing-tap-delay","zingTapDelay"]},outputs:{onTap:"onTap",onClick:"onClick",onTapHover:"onTapHover",onTapOutside:"onTapOutside",onTapHoverOutside:"onTapHoverOutside",onTapDoc:"onTapDoc",onSwipeLeft:"onSwipeLeft"},standalone:!1});class XI{static get TouchGestures(){return JI}}function tO(t){return t&&"getComputedStyle"in window&&"smooth"===window.getComputedStyle(t)["scroll-behavior"]}function eO(t,e,n){var r;e=e||999,n||0===n||(n=9);var i=function(t){r=t},o=function(){clearTimeout(r),i(0)},s=function(e){return Math.max(0,t.getTopOf(e)-n)},a=function(n,r,s){if(o(),0===r||r&&r<0||tO(t.body))t.toY(n),s&&s();else{var a=t.getY(),u=Math.max(0,n)-a,l=(new Date).getTime();r=r||Math.min(Math.abs(u),e),function e(){i(setTimeout((function(){var n=Math.min(1,((new Date).getTime()-l)/r),i=Math.max(0,Math.floor(a+u*(n<.5?2*n*n:n*(4-2*n)-1)));t.toY(i),n<1&&t.getHeight()+i<t.body.scrollHeight?e():(setTimeout(o,99),s&&s())}),9))}()}},u=function(t,e,n){a(s(t),e,n)};return{setup:function(t,r){return(0===t||t)&&(e=t),(0===r||r)&&(n=r),{defaultDuration:e,edgeOffset:n}},to:u,toY:a,intoView:function(e,r,i){var o=e.getBoundingClientRect().height,l=t.getTopOf(e)+o,c=t.getHeight(),d=t.getY(),h=d+c;s(e)<d||o+n>c?u(e,r,i):l+n>h?a(l-c+n,r,i):i&&i()},center:function(e,n,r,i){a(Math.max(0,t.getTopOf(e)-t.getHeight()/2+(r||e.getBoundingClientRect().height/2)),n,i)},stop:o,moving:function(){return!!r},getY:t.getY,getTopOf:t.getTopOf}}XI.ɵfac=function(t){return new(t||XI)},XI.ɵmod=Wp({type:XI}),XI.ɵinj=or({});let nO={};if("undefined"!=typeof window&&"document"in window){const rU=document.documentElement;function iU(){return window.scrollY||rU.scrollTop}if(nO=eO({body:document.scrollingElement||document.body,toY:function(t){window.scrollTo(0,t)},getY:iU,getHeight:function(){return window.innerHeight||rU.clientHeight},getTopOf:function(t){return t.getBoundingClientRect().top+iU()-rU.offsetTop}}),nO.createScroller=function(t,e,n){return eO({body:t,toY:function(e){t.scrollTop=e},getY:function(){return t.scrollTop},getHeight:function(){return Math.min(t.clientHeight,window.innerHeight||rU.clientHeight)},getTopOf:function(t){return t.offsetTop}},e,n)},"addEventListener"in window&&!tO(document.body)){var rO="history"in window&&"pushState"in history,iO=rO&&"scrollRestoration"in history;iO&&(history.scrollRestoration="auto"),window.addEventListener("load",(function(){iO&&(setTimeout((function(){history.scrollRestoration="manual"}),9),window.addEventListener("popstate",(function(t){t.state&&"zenscrollY"in t.state&&nO.toY(t.state.zenscrollY)}),!1)),window.location.hash&&setTimeout((function(){var t=nO.setup().edgeOffset;if(t){var e=document.getElementById(window.location.href.split("#")[1]);if(e){var n=Math.max(0,nO.getTopOf(e)-t),r=nO.getY()-n;0<=r&&r<9&&window.scrollTo(0,n)}}}),9)}),!1);var oO=new RegExp("(^|\\s)noZensmooth(\\s|$)");window.addEventListener("click",(function(t){let e=t.target;for(;e&&"A"!==e.tagName;)e=e.parentNode;if(!e||1!==t.which||t.shiftKey||t.metaKey||t.ctrlKey||t.altKey)return;if(iO){var n=history.state&&"object"==typeof history.state?history.state:{};n.zenscrollY=nO.getY();try{history.replaceState(n,"")}catch(t){}}let r=e.getAttribute("href")||"";if(0===r.indexOf("#")&&!oO.test(e.className)){let e=0,n=document.getElementById(r.substring(1));if("#"!==r){if(!n)return;e=nO.getTopOf(n)}t.preventDefault();var i=function(){window.location=r},o=nO.setup().edgeOffset;o&&(e=Math.max(0,e-o),rO&&(i=function(){history.pushState({},"",r)})),nO.toY(e,null,i)}}),!1)}}var sO=nO;const aO=["pageScrollEl"];let uO,lO;class cO{constructor(){this._internalEvents={_isScrollable:new Nt(!0),_scrollTo:new Pt,_onScroll:new Lt(1),_zenScrollRegionResolve:null,_zenScrollRegionReject:null,_zenScrollRegionGet:null},this._internalEvents._zenScrollRegionGet=new Promise(((t,e)=>{this._internalEvents._zenScrollRegionResolve=t,this._internalEvents._zenScrollRegionReject=e})),this.onScroll=this._internalEvents._onScroll}scrollTo(t){let e={timing:300,offset:0};return Object.assign(e,t),new Promise((t=>{e.onDone=t,this._internalEvents._scrollTo.next(e)}))}canScroll(t){this._internalEvents._isScrollable.next(t)}UseBodyScroll(){this._use_body=!0}get element(){return uO}get overwrite_to_body(){return this._use_body}get scrollable(){return this._internalEvents._isScrollable.getValue()}ngOnDestroy(){this._internalEvents._isScrollable.complete(),this._internalEvents._onScroll.complete(),this._internalEvents._scrollTo.complete()}}cO.ɵfac=function(t){return new(t||cO)},cO.ɵprov=ir({token:cO,factory:cO.ɵfac});class dO{get noScroll(){return this._noscroll}set noScroll(t){this._noscroll=t,this._service.element&&(t?(this._render.addClass(this._service.element,"no-scroll"),this.use_body||this._render.setStyle(this._service.element,"overflow","hidden")):(this._render.removeClass(this._service.element,"no-scroll"),this.use_body||this._render.setStyle(this._service.element,"overflow","")))}set selfoffset(t){this._selfoffset=t}get sefoffset(){return this._selfoffset}_bodyFallbackTarget(t,e=0){const n=t.getBoundingClientRect().top,r=uO.scrollTop;this._zone.runOutsideAngular((()=>{let t;t=n>=e?n-e:-1*(e-n),uO.scrollTop=r+t}))}_bodyFallbackPosition(t){uO&&(uO.scrollTop=t)}_onScroll(t){let e=uO.scrollTop,n=this.use_body?1/0:uO.scrollHeight-uO.clientHeight;e<0?e=0:e>n&&(e=n),this._zone.run((()=>{this._service._internalEvents._onScroll.next(e)}))}constructor(t,e,n,r){this.el=t,this._zone=e,this._render=n,this._service=r,this.useZen=!1,this.use_body=!1,this.main_header_offset="",this._selfoffset=!1,this._subscriptions=[],this._onScroll=this._onScroll.bind(this),this._service.overwrite_to_body&&(this.use_body=!0)}ngOnInit(){if(jk())this._render.removeAttribute(this.el.nativeElement,"scroll-region");else{uO=this.el.nativeElement,this.use_body&&this._service.UseBodyScroll();let t=0;this._subscriptions.push(this._service._internalEvents._isScrollable.subscribe((e=>{e?t--:t++,t<0&&(t=0),this._zone.run((()=>{this.noScroll=!(0===t)}))}))),this.use_body?(uO=document.scrollingElement||document.documentElement,"scrollRestoration"in history&&(history.scrollRestoration="manual")):document.querySelector("html").removeAttribute("scroll-region"),(this.use_body?document.querySelector("html"):uO).setAttribute("scroll-region","active"),this._subscriptions.push(this._service._internalEvents._scrollTo.subscribe((t=>{!t.nozen&&lO?this._service._internalEvents._zenScrollRegionGet.then((e=>{let n=uO.getBoundingClientRect(),r=t=>{if(this._sticky_header){lO.getY()-t>25&&(t-=this._sticky_header.offsetHeight)}return t},i=()=>{Zk(t.onDone)&&t.onDone()};if((()=>{let t=this._selfoffset?n.top:0;e.setup(null,t)})(),t.target){let e=t.target.offsetTop,n=t.target.offsetParent;for(;n&&n!=uO;)e+=n.offsetTop,n=n.offsetParent;if(t.inview){let n=t.target.offsetHeight,r=window.innerHeight,i=n+e-r,o=uO.scrollTop;if(i>o){let n=i+10;t.timing=300*Math.min(100,n-100*o/500)/100,e=n}else if(e<=o+r)return}e=r(e),e+=t.offset||0,null==lO||lO.toY(e,t.timing,i)}else t.position+=t.offset||0,t.position=r(t.position),null==lO||lO.toY(t.position,t.timing,i)})):(t.target?this._bodyFallbackTarget(t.target,t.offset||0):this._bodyFallbackPosition(t.position),Zk(t.onDone)&&t.onDone())})))}this._service._internalEvents._zenScrollRegionGet.catch((()=>{})),this.useZen&&!jk()?(this._zone.runOutsideAngular((()=>{lO=sO.createScroller(uO,300,0),this._service._internalEvents._zenScrollRegionResolve(sO)})),this._zone.runOutsideAngular((()=>{let t=!!aI()&&{passive:!0};(this.use_body?window:uO).addEventListener("scroll",this._onScroll,t)})),this._onScroll(uO.scrollTop)):this._service._internalEvents._zenScrollRegionReject()}ngOnDestroy(){if(!jk()){let t=this.use_body?window:uO;t&&t.removeEventListener("scroll",this._onScroll);let e=this.use_body?document.querySelector("html"):uO;e&&e.removeAttribute("scroll-region"),this._zone.run((()=>{this.noScroll=!1}))}uO=null,lO=null,this._subscriptions.forEach((t=>{try{t.unsubscribe()}catch(t){}}))}ngAfterViewInit(){if(this.main_header_offset&&!jk())try{this._sticky_header=document.querySelector(this.main_header_offset)}catch(t){}}}dO.ɵfac=function(t){return new(t||dO)(jf(bu),jf(ou),jf(Af),jf(cO))},dO.ɵdir=Yp({type:dO,selectors:[["","scroll-region",""]],inputs:{useZen:[0,"usezen","useZen"],use_body:[0,"scroll-region-viewport","use_body"],main_header_offset:[0,"scroll-region-viewport-sticky-header","main_header_offset"],selfoffset:[0,"scroll-region-offset","selfoffset"]},standalone:!1});class hO{_scrollNotify(){this._zone.run((()=>{this.scrolled.emit(this._target.offsetTop-this.offset)}))}set scrollToMe(t){jk()||Bk()||this._to_me===t||!t||this._scrollExecute(),this._to_me=t}get scrollToMe(){return this._to_me}_scrollExecute(){this._zone.runOutsideAngular((()=>{this._scrollArea?(this.offset&&(this._target.style.scrollMargin=`${this.offset}px`),this._target.scrollIntoView(!0),this._scrollNotify()):this._service.scrollTo({target:this._target,timing:this.zenSpeed,nozen:!this.useZen,offset:this.offset}).then((()=>{this._scrollNotify()}))}))}ngAfterViewInit(){!jk()&&Hk(this._scrollParent)&&(this._scrollArea=document.querySelector(this._scrollParent),this._scrollArea&&(this._scrollArea.style.scrollBehavior="smooth"))}constructor(t,e,n){this._zone=e,this._service=n,this.useZen=!0,this.zenSpeed=350,this.offset=0,this.scrolled=new Ja,this._to_me=!1,this._target=t.nativeElement}}hO.ɵfac=function(t){return new(t||hO)(jf(bu),jf(ou),jf(cO))},hO.ɵdir=Yp({type:hO,selectors:[["","scroll-to",""]],inputs:{useZen:[0,"usezen","useZen"],zenSpeed:[0,"zenspeed","zenSpeed"],offset:[0,"scrolloffset","offset"],_scrollParent:[0,"scroll-parent","_scrollParent"],scrollToMe:[0,"scroll-to","scrollToMe"]},outputs:{scrolled:"scrolled"},standalone:!1});class fO{constructor(t){this._el=t}_lockScroll(t){t.preventDefault()}ngOnInit(){jk()||(this._el.nativeElement.addEventListener("touchstart",this._lockScroll),this._el.nativeElement.addEventListener("touchmove",this._lockScroll))}ngOnDestroy(){if(!jk()&&this._el&&this._el.nativeElement){const t=this._el.nativeElement;t.removeEventListener("touchstart",this._lockScroll),t.removeEventListener("touchmove",this._lockScroll)}}}fO.ɵfac=function(t){return new(t||fO)(jf(bu))},fO.ɵdir=Yp({type:fO,selectors:[["","prevent-body-scroll",""]],standalone:!1});class pO{constructor(t){this._service=t,this.offset=0,this.btthr=50,this.disabled=!1,this._watchers=[],this.onView=new Ja}ngOnInit(){!jk()&&Bk()}ngAfterViewInit(){let t=0,e={idx:null,pos:null};this._watchers.push(this._service.onScroll.subscribe((n=>{if(this.disabled)return;let r=window.innerHeight;this.pages.forEach(((i,o)=>{if(!i||!i.nativeElement)return!0;let s=i.nativeElement.getBoundingClientRect(),a=s.top+(this.offset||0),u=s.bottom+(this.offset||0)-(this.btthr||0);if(n>=t)e=null,a<=0&&u>0&&this.onView.emit(o);else if(u>0&&u<=r){if(null==e)e={idx:o,pos:a};else{if(o!==e.idx&&a>=e.pos)return;e={idx:o,pos:a}}this.onView.emit(o)}else e&&e.idx==o&&(e={idx:o,pos:a})})),t=n})))}ngOnDestroy(){jk()||Bk()||this._watchers.length>0&&this._watchers.forEach((t=>{t.unsubscribe()}))}}pO.ɵfac=function(t){return new(t||pO)(jf(cO))},pO.ɵdir=Yp({type:pO,selectors:[["","page-scrolling-container",""]],contentQueries:function(t,e,n){if(1&t&&ow(n,aO,5),2&t){let t;aw(t=uw())&&(e.pages=t)}},inputs:{offset:[0,"scrolloffset","offset"],btthr:[0,"bottom-threshold","btthr"],disabled:[0,"pg-sc-container-disabled","disabled"]},outputs:{onView:"onView"},standalone:!1});class vO{}function gO(t,e,n){return e&&function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}vO.ɵfac=function(t){return new(t||vO)},vO.ɵmod=Wp({type:vO}),vO.ɵinj=or({imports:[bT]});var mO="(prefers-reduced-motion: reduce)",yO={CREATED:1,MOUNTED:2,IDLE:3,MOVING:4,SCROLLING:5,DRAGGING:6,DESTROYED:7};function bO(t){t.length=0}function wO(t,e,n){return Array.prototype.slice.call(t,e,n)}function _O(t){return t.bind.apply(t,[null].concat(wO(arguments,1)))}var SO=setTimeout,CO=function(){};function EO(t){return requestAnimationFrame(t)}function DO(t,e){return typeof e===t}function TO(t){return!OO(t)&&DO("object",t)}var AO=Array.isArray,xO=_O(DO,"function"),kO=_O(DO,"string"),IO=_O(DO,"undefined");function OO(t){return null===t}function RO(t){try{return t instanceof(t.ownerDocument.defaultView||window).HTMLElement}catch(t){return!1}}function PO(t){return AO(t)?t:[t]}function FO(t,e){PO(t).forEach(e)}function NO(t,e){return t.indexOf(e)>-1}function MO(t,e){return t.push.apply(t,PO(e)),t}function LO(t,e,n){t&&FO(e,(function(e){e&&t.classList[n?"add":"remove"](e)}))}function jO(t,e){LO(t,kO(e)?e.split(" "):e,!0)}function zO(t,e){FO(e,t.appendChild.bind(t))}function BO(t,e){FO(t,(function(t){var n=(e||t).parentNode;n&&n.insertBefore(t,e)}))}function UO(t,e){return RO(t)&&(t.msMatchesSelector||t.matches).call(t,e)}function HO(t,e){var n=t?wO(t.children):[];return e?n.filter((function(t){return UO(t,e)})):n}function VO(t,e){return e?HO(t,e)[0]:t.firstElementChild}var $O=Object.keys;function qO(t,e,n){return t&&(n?$O(t).reverse():$O(t)).forEach((function(n){"__proto__"!==n&&e(t[n],n)})),t}function WO(t){return wO(arguments,1).forEach((function(e){qO(e,(function(n,r){t[r]=e[r]}))})),t}function GO(t){return wO(arguments,1).forEach((function(e){qO(e,(function(e,n){AO(e)?t[n]=e.slice():TO(e)?t[n]=GO({},TO(t[n])?t[n]:{},e):t[n]=e}))})),t}function ZO(t,e){FO(e||$O(t),(function(e){delete t[e]}))}function YO(t,e){FO(t,(function(t){FO(e,(function(e){t&&t.removeAttribute(e)}))}))}function KO(t,e,n){TO(e)?qO(e,(function(e,n){KO(t,n,e)})):FO(t,(function(t){OO(n)||""===n?YO(t,e):t.setAttribute(e,String(n))}))}function QO(t,e,n){var r=document.createElement(t);return e&&(kO(e)?jO(r,e):KO(r,e)),n&&zO(n,r),r}function JO(t,e,n){if(IO(n))return getComputedStyle(t)[e];OO(n)||(t.style[e]=""+n)}function XO(t,e){JO(t,"display",e)}function tR(t){t.setActive&&t.setActive()||t.focus({preventScroll:!0})}function eR(t,e){return t.getAttribute(e)}function nR(t,e){return t&&t.classList.contains(e)}function rR(t){return t.getBoundingClientRect()}function iR(t){FO(t,(function(t){t&&t.parentNode&&t.parentNode.removeChild(t)}))}function oR(t){return VO((new DOMParser).parseFromString(t,"text/html").body)}function sR(t,e){t.preventDefault(),e&&(t.stopPropagation(),t.stopImmediatePropagation())}function aR(t,e){return t&&t.querySelector(e)}function uR(t,e){return e?wO(t.querySelectorAll(e)):[]}function lR(t,e){LO(t,e,!1)}function cR(t){return t.timeStamp}function dR(t){return kO(t)?t:t?t+"px":""}var hR="splide",fR="data-"+hR;function pR(t,e){if(!t)throw new Error("["+hR+"] "+(e||""))}var vR=Math.min,gR=Math.max,mR=Math.floor,yR=Math.ceil,bR=Math.abs;function wR(t,e,n){return bR(t-e)<n}function _R(t,e,n,r){var i=vR(e,n),o=gR(e,n);return r?i<t&&t<o:i<=t&&t<=o}function SR(t,e,n){var r=vR(e,n),i=gR(e,n);return vR(gR(r,t),i)}function CR(t){return+(t>0)-+(t<0)}function ER(t,e){return FO(e,(function(e){t=t.replace("%s",""+e)})),t}function DR(t){return t<10?"0"+t:""+t}var TR={};function AR(){var t=[];function e(t,e,n){FO(t,(function(t){t&&FO(e,(function(e){e.split(" ").forEach((function(e){var r=e.split(".");n(t,r[0],r[1])}))}))}))}return{bind:function(n,r,i,o){e(n,r,(function(e,n,r){var s="addEventListener"in e,a=s?e.removeEventListener.bind(e,n,i,o):e.removeListener.bind(e,i);s?e.addEventListener(n,i,o):e.addListener(i),t.push([e,n,r,i,a])}))},unbind:function(n,r,i){e(n,r,(function(e,n,r){t=t.filter((function(t){return!!(t[0]!==e||t[1]!==n||t[2]!==r||i&&t[3]!==i)||(t[4](),!1)}))}))},dispatch:function(t,e,n){var r,i=!0;return"function"==typeof CustomEvent?r=new CustomEvent(e,{bubbles:i,detail:n}):(r=document.createEvent("CustomEvent")).initCustomEvent(e,i,!1,n),t.dispatchEvent(r),r},destroy:function(){t.forEach((function(t){t[4]()})),bO(t)}}}var xR="mounted",kR="ready",IR="move",OR="moved",RR="click",PR="active",FR="inactive",NR="visible",MR="hidden",LR="refresh",jR="updated",zR="resize",BR="resized",UR="scroll",HR="scrolled",VR="destroy",$R="arrows:mounted",qR="navigation:mounted",WR="autoplay:play",GR="autoplay:pause",ZR="lazyload:loaded",YR="sk",KR="sh",QR="ei";function JR(t){var e=t?t.event.bus:document.createDocumentFragment(),n=AR();return t&&t.event.on(VR,n.destroy),WO(n,{bus:e,on:function(t,r){n.bind(e,PO(t).join(" "),(function(t){r.apply(r,AO(t.detail)?t.detail:[])}))},off:_O(n.unbind,e),emit:function(t){n.dispatch(e,t,wO(arguments,1))}})}function XR(t,e,n,r){var i,o,s=Date.now,a=0,u=!0,l=0;function c(){if(!u){if(a=t?vR((s()-i)/t,1):1,n&&n(a),a>=1&&(e(),i=s(),r&&++l>=r))return d();o=EO(c)}}function d(){u=!0}function h(){o&&cancelAnimationFrame(o),a=0,o=0,u=!0}return{start:function(e){e||h(),i=s()-(e?a*t:0),u=!1,o=EO(c)},rewind:function(){i=s(),a=0,n&&n(a)},pause:d,cancel:h,set:function(e){t=e},isPaused:function(){return u}}}var tP="Arrow",eP=tP+"Left",nP=tP+"Right",rP=tP+"Up",iP=tP+"Down",oP="ttb",sP={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[rP,nP],ArrowRight:[iP,eP]};var aP="role",uP="tabindex",lP="aria-",cP=lP+"controls",dP=lP+"current",hP=lP+"selected",fP=lP+"label",pP=lP+"labelledby",vP=lP+"hidden",gP=lP+"orientation",mP=lP+"roledescription",yP=lP+"live",bP=lP+"busy",wP=lP+"atomic",_P=[aP,uP,"disabled",cP,dP,fP,pP,vP,gP,mP],SP=hR+"__",CP="is-",EP=hR,DP=SP+"track",TP=SP+"list",AP=SP+"slide",xP=AP+"--clone",kP=AP+"__container",IP=SP+"arrows",OP=SP+"arrow",RP=OP+"--prev",PP=OP+"--next",FP=SP+"pagination",NP=FP+"__page",MP=SP+"progress"+"__bar",LP=SP+"toggle",jP=SP+"sr",zP=CP+"initialized",BP=CP+"active",UP=CP+"prev",HP=CP+"next",VP=CP+"visible",$P=CP+"loading",qP=CP+"focus-in",WP=CP+"overflow",GP=[BP,VP,UP,HP,$P,qP,WP],ZP={slide:AP,clone:xP,arrows:IP,arrow:OP,prev:RP,next:PP,pagination:FP,page:NP,spinner:SP+"spinner"};var YP="touchstart mousedown",KP="touchmove mousemove",QP="touchend touchcancel mouseup click";var JP="slide",XP="loop",tF="fade";function eF(t,e,n,r){var i,o=JR(t),s=o.on,a=o.emit,u=o.bind,l=t.Components,c=t.root,d=t.options,h=d.isNavigation,f=d.updateOnMove,p=d.i18n,v=d.pagination,g=d.slideFocus,m=l.Direction.resolve,y=eR(r,"style"),b=eR(r,fP),w=n>-1,_=VO(r,"."+kP);function S(){var i=t.splides.map((function(t){var n=t.splide.Components.Slides.getAt(e);return n?n.slide.id:""})).join(" ");KO(r,fP,ER(p.slideX,(w?n:e)+1)),KO(r,cP,i),KO(r,aP,g?"button":""),g&&YO(r,mP)}function C(){i||E()}function E(){if(!i){var n=t.index;(o=D())!==nR(r,BP)&&(LO(r,BP,o),KO(r,dP,h&&o||""),a(o?PR:FR,T)),function(){var e=function(){if(t.is(tF))return D();var e=rR(l.Elements.track),n=rR(r),i=m("left",!0),o=m("right",!0);return mR(e[i])<=yR(n[i])&&mR(n[o])<=yR(e[o])}(),n=!e&&(!D()||w);t.state.is([4,5])||KO(r,vP,n||"");KO(uR(r,d.focusableNodes||""),uP,n?-1:""),g&&KO(r,uP,n?-1:0);e!==nR(r,VP)&&(LO(r,VP,e),a(e?NR:MR,T));if(!e&&document.activeElement===r){var i=l.Slides.getAt(t.index);i&&tR(i.slide)}}(),LO(r,UP,e===n-1),LO(r,HP,e===n+1)}var o}function D(){var r=t.index;return r===e||d.cloneStatus&&r===n}var T={index:e,slideIndex:n,slide:r,container:_,isClone:w,mount:function(){w||(r.id=c.id+"-slide"+DR(e+1),KO(r,aP,v?"tabpanel":"group"),KO(r,mP,p.slide),KO(r,fP,b||ER(p.slideLabel,[e+1,t.length]))),u(r,"click",_O(a,RR,T)),u(r,"keydown",_O(a,YR,T)),s([OR,KR,HR],E),s(qR,S),f&&s(IR,C)},destroy:function(){i=!0,o.destroy(),lR(r,GP),YO(r,_P),KO(r,"style",y),KO(r,fP,b||"")},update:E,style:function(t,e,n){JO(n&&_||r,t,e)},isWithin:function(n,r){var i=bR(n-e);return w||!d.rewind&&!t.is(XP)||(i=vR(i,t.length-i)),i<=r}};return T}var nF=fR+"-interval";var rF={passive:!1,capture:!0};var iF={Spacebar:" ",Right:nP,Left:eP,Up:rP,Down:iP};function oF(t){return t=kO(t)?t:t.key,iF[t]||t}var sF="keydown";var aF=fR+"-lazy",uF=aF+"-srcset",lF="["+aF+"], ["+uF+"]";var cF=[" ","Enter"];var dF=Object.freeze({__proto__:null,Media:function(t,e,n){var r=t.state,i=n.breakpoints||{},o=n.reducedMotion||{},s=AR(),a=[];function u(t){t&&s.destroy()}function l(t,e){var n=matchMedia(e);s.bind(n,"change",c),a.push([t,n])}function c(){var e=r.is(7),i=n.direction,o=a.reduce((function(t,e){return GO(t,e[1].matches?e[0]:{})}),{});ZO(n),d(o),n.destroy?t.destroy("completely"===n.destroy):e?(u(!0),t.mount()):i!==n.direction&&t.refresh()}function d(e,i,o){GO(n,e),i&&GO(Object.getPrototypeOf(n),e),!o&&r.is(1)||t.emit(jR,n)}return{setup:function(){var t="min"===n.mediaQuery;$O(i).sort((function(e,n){return t?+e-+n:+n-+e})).forEach((function(e){l(i[e],"("+(t?"min":"max")+"-width:"+e+"px)")})),l(o,mO),c()},destroy:u,reduce:function(t){matchMedia(mO).matches&&(t?GO(n,o):ZO(n,$O(o)))},set:d}},Direction:function(t,e,n){return{resolve:function(t,e,r){var i="rtl"!==(r=r||n.direction)||e?r===oP?0:-1:1;return sP[t]&&sP[t][i]||t.replace(/width|left|right/i,(function(t,e){var n=sP[t.toLowerCase()][i]||t;return e>0?n.charAt(0).toUpperCase()+n.slice(1):n}))},orient:function(t){return t*("rtl"===n.direction?1:-1)}}},Elements:function(t,e,n){var r,i,o,s=JR(t),a=s.on,u=s.bind,l=t.root,c=n.i18n,d={},h=[],f=[],p=[];function v(){r=y("."+DP),i=VO(r,"."+TP),pR(r&&i,"A track/list element is missing."),MO(h,HO(i,"."+AP+":not(."+xP+")")),qO({arrows:IP,pagination:FP,prev:RP,next:PP,bar:MP,toggle:LP},(function(t,e){d[e]=y("."+t)})),WO(d,{root:l,track:r,list:i,slides:h}),function(){var t=l.id||(o=hR,""+o+DR(TR[o]=(TR[o]||0)+1)),e=n.role;var o;l.id=t,r.id=r.id||t+"-track",i.id=i.id||t+"-list",!eR(l,aP)&&"SECTION"!==l.tagName&&e&&KO(l,aP,e);KO(l,mP,c.carousel),KO(i,aP,"presentation")}(),m()}function g(t){var e=_P.concat("style");bO(h),lR(l,f),lR(r,p),YO([r,i],e),YO(l,t?e:["style",mP])}function m(){lR(l,f),lR(r,p),f=b(EP),p=b(DP),jO(l,f),jO(r,p),KO(l,fP,n.label),KO(l,pP,n.labelledby)}function y(t){var e=aR(l,t);return e&&function(t,e){if(xO(t.closest))return t.closest(e);for(var n=t;n&&1===n.nodeType&&!UO(n,e);)n=n.parentElement;return n}(e,"."+EP)===l?e:void 0}function b(t){return[t+"--"+n.type,t+"--"+n.direction,n.drag&&t+"--draggable",n.isNavigation&&t+"--nav",t===EP&&BP]}return WO(d,{setup:v,mount:function(){a(LR,g),a(LR,v),a(jR,m),u(document,YP+" keydown",(function(t){o="keydown"===t.type}),{capture:!0}),u(l,"focusin",(function(){LO(l,qP,!!o)}))},destroy:g})},Slides:function(t,e,n){var r=JR(t),i=r.on,o=r.emit,s=r.bind,a=e.Elements,u=a.slides,l=a.list,c=[];function d(){u.forEach((function(t,e){f(t,e,-1)}))}function h(){v((function(t){t.destroy()})),bO(c)}function f(e,n,r){var i=eF(t,n,r,e);i.mount(),c.push(i),c.sort((function(t,e){return t.index-e.index}))}function p(t){return t?g((function(t){return!t.isClone})):c}function v(t,e){p(e).forEach(t)}function g(t){return c.filter(xO(t)?t:function(e){return kO(t)?UO(e.slide,t):NO(PO(t),e.index)})}return{mount:function(){d(),i(LR,h),i(LR,d)},destroy:h,update:function(){v((function(t){t.update()}))},register:f,get:p,getIn:function(t){var r=e.Controller,i=r.toIndex(t),o=r.hasFocus()?1:n.perPage;return g((function(t){return _R(t.index,i,i+o-1)}))},getAt:function(t){return g(t)[0]},add:function(t,e){FO(t,(function(t){if(kO(t)&&(t=oR(t)),RO(t)){var r=u[e];r?BO(t,r):zO(l,t),jO(t,n.classes.slide),function(t,e){var n=uR(t,"img"),r=n.length;r?n.forEach((function(t){s(t,"load error",(function(){--r||e()}))})):e()}(t,_O(o,zR))}})),o(LR)},remove:function(t){iR(g(t).map((function(t){return t.slide}))),o(LR)},forEach:v,filter:g,style:function(t,e,n){v((function(r){r.style(t,e,n)}))},getLength:function(t){return t?u.length:c.length},isEnough:function(){return c.length>n.perPage}}},Layout:function(t,e,n){var r,i,o,s=JR(t),a=s.on,u=s.bind,l=s.emit,c=e.Slides,d=e.Direction.resolve,h=e.Elements,f=h.root,p=h.track,v=h.list,g=c.getAt,m=c.style;function y(){r=n.direction===oP,JO(f,"maxWidth",dR(n.width)),JO(p,d("paddingLeft"),w(!1)),JO(p,d("paddingRight"),w(!0)),b(!0)}function b(t){var e=rR(f);(t||i.width!==e.width||i.height!==e.height)&&(JO(p,"height",function(){var t="";r&&(pR(t=_(),"height or heightRatio is missing."),t="calc("+t+" - "+w(!1)+" - "+w(!0)+")");return t}()),m(d("marginRight"),dR(n.gap)),m("width",n.autoWidth?null:dR(n.fixedWidth)||(r?"":S())),m("height",dR(n.fixedHeight)||(r?n.autoHeight?null:S():_()),!0),i=e,l(BR),o!==(o=x())&&(LO(f,WP,o),l("overflow",o)))}function w(t){var e=n.padding,r=d(t?"right":"left");return e&&dR(e[r]||(TO(e)?0:e))||"0px"}function _(){return dR(n.height||rR(v).width*n.heightRatio)}function S(){var t=dR(n.gap);return"calc((100%"+(t&&" + "+t)+")/"+(n.perPage||1)+(t&&" - "+t)+")"}function C(){return rR(v)[d("width")]}function E(t,e){var n=g(t||0);return n?rR(n.slide)[d("width")]+(e?0:A()):0}function D(t,e){var n=g(t);if(n){var r=rR(n.slide)[d("right")],i=rR(v)[d("left")];return bR(r-i)+(e?0:A())}return 0}function T(e){return D(t.length-1)-D(0)+E(0,e)}function A(){var t=g(0);return t&&parseFloat(JO(t.slide,d("marginRight")))||0}function x(){return t.is(tF)||T(!0)>C()}return{mount:function(){var t,e;y(),u(window,"resize load",(t=_O(l,zR),e=XR(0,t,null,1),function(){e.isPaused()&&e.start()})),a([jR,LR],y),a(zR,b)},resize:b,listSize:C,slideSize:E,sliderSize:T,totalSize:D,getPadding:function(t){return parseFloat(JO(p,d("padding"+(t?"Right":"Left"))))||0},isOverflow:x}},Clones:function(t,e,n){var r,i=JR(t),o=i.on,s=e.Elements,a=e.Slides,u=e.Direction.resolve,l=[];function c(){o(LR,d),o([jR,zR],f),(r=p())&&(!function(e){var r=a.get().slice(),i=r.length;if(i){for(;r.length<e;)MO(r,r);MO(r.slice(-e),r.slice(0,e)).forEach((function(o,u){var c=u<e,d=function(e,r){var i=e.cloneNode(!0);return jO(i,n.classes.clone),i.id=t.root.id+"-clone"+DR(r+1),i}(o.slide,u);c?BO(d,r[0].slide):zO(s.list,d),MO(l,d),a.register(d,u-e+(c?0:i),o.index)}))}}(r),e.Layout.resize(!0))}function d(){h(),c()}function h(){iR(l),bO(l),i.destroy()}function f(){var t=p();r!==t&&(r<t||!t)&&i.emit(LR)}function p(){var r=n.clones;if(t.is(XP)){if(IO(r)){var i=n[u("fixedWidth")]&&e.Layout.slideSize(0);r=i&&yR(rR(s.track)[u("width")]/i)||n[u("autoWidth")]&&t.length||2*n.perPage}}else r=0;return r}return{mount:c,destroy:h}},Move:function(t,e,n){var r,i=JR(t),o=i.on,s=i.emit,a=t.state.set,u=e.Layout,l=u.slideSize,c=u.getPadding,d=u.totalSize,h=u.listSize,f=u.sliderSize,p=e.Direction,v=p.resolve,g=p.orient,m=e.Elements,y=m.list,b=m.track;function w(){e.Controller.isBusy()||(e.Scroll.cancel(),_(t.index),e.Slides.update())}function _(t){S(T(t,!0))}function S(n,r){if(!t.is(tF)){var i=r?n:function(n){if(t.is(XP)){var r=D(n),i=r>e.Controller.getEnd();(r<0||i)&&(n=C(n,i))}return n}(n);JO(y,"transform","translate"+v("X")+"("+i+"px)"),n!==i&&s(KR)}}function C(t,e){var n=t-x(e),r=f();return t-=g(r*(yR(bR(n)/r)||1))*(e?1:-1)}function E(){S(A(),!0),r.cancel()}function D(t){for(var n=e.Slides.get(),r=0,i=1/0,o=0;o<n.length;o++){var s=n[o].index,a=bR(T(s,!0)-t);if(!(a<=i))break;i=a,r=s}return r}function T(e,r){var i=g(d(e-1)-function(t){var e=n.focus;return"center"===e?(h()-l(t,!0))/2:+e*l(t)||0}(e));return r?function(e){n.trimSpace&&t.is(JP)&&(e=SR(e,0,g(f(!0)-h())));return e}(i):i}function A(){var t=v("left");return rR(y)[t]-rR(b)[t]+g(c(!1))}function x(t){return T(t?e.Controller.getEnd():0,!!n.trimSpace)}return{mount:function(){r=e.Transition,o([xR,BR,jR,LR],w)},move:function(t,e,n,i){var o,u;t!==e&&(o=t>n,u=g(C(A(),o)),o?u>=0:u<=y[v("scrollWidth")]-rR(b)[v("width")])&&(E(),S(C(A(),t>n),!0)),a(4),s(IR,e,n,t),r.start(e,(function(){a(3),s(OR,e,n,t),i&&i()}))},jump:_,translate:S,shift:C,cancel:E,toIndex:D,toPosition:T,getPosition:A,getLimit:x,exceededLimit:function(t,e){e=IO(e)?A():e;var n=!0!==t&&g(e)<g(x(!1)),r=!1!==t&&g(e)>g(x(!0));return n||r},reposition:w}},Controller:function(t,e,n){var r,i,o,s,a=JR(t),u=a.on,l=a.emit,c=e.Move,d=c.getPosition,h=c.getLimit,f=c.toPosition,p=e.Slides,v=p.isEnough,g=p.getLength,m=n.omitEnd,y=t.is(XP),b=t.is(JP),w=_O(T,!1),_=_O(T,!0),S=n.start||0,C=S;function E(){i=g(!0),o=n.perMove,s=n.perPage,r=k();var t=SR(S,0,m?r:i-1);t!==S&&(S=t,c.reposition())}function D(){r!==k()&&l(QR)}function T(t,e){var n=o||(P()?1:s),i=A(S+n*(t?-1:1),S,!(o||P()));return-1===i&&b&&!wR(d(),h(!t),1)?t?0:r:e?i:x(i)}function A(e,a,u){if(v()||P()){var l=function(e){if(b&&"move"===n.trimSpace&&e!==S)for(var r=d();r===f(e,!0)&&_R(e,0,t.length-1,!n.rewind);)e<S?--e:++e;return e}(e);l!==e&&(a=e,e=l,u=!1),e<0||e>r?e=o||!_R(0,e,a,!0)&&!_R(r,a,e,!0)?y?u?e<0?-(i%s||s):i:e:n.rewind?e<0?r:0:-1:I(O(e)):u&&e!==a&&(e=I(O(a)+(e<a?-1:1)))}else e=-1;return e}function x(t){return y?(t+i)%i||0:t}function k(){for(var t=i-(P()||y&&o?1:s);m&&t-- >0;)if(f(i-1,!0)!==f(t,!0)){t++;break}return SR(t,0,i-1)}function I(t){return SR(P()?t:s*t,0,r)}function O(t){return P()?vR(t,r):mR((t>=r?i-1:t)/s)}function R(t){t!==S&&(C=S,S=t)}function P(){return!IO(n.focus)||n.isNavigation}function F(){return t.state.is([4,5])&&!!n.waitForTransition}return{mount:function(){E(),u([jR,LR,QR],E),u(BR,D)},go:function(t,e,n){if(!F()){var i=function(t){var e=S;if(kO(t)){var n=t.match(/([+\-<>])(\d+)?/)||[],i=n[1],o=n[2];"+"===i||"-"===i?e=A(S+ +(""+i+(+o||1)),S):">"===i?e=o?I(+o):w(!0):"<"===i&&(e=_(!0))}else e=y?t:SR(t,0,r);return e}(t),o=x(i);o>-1&&(e||o!==S)&&(R(o),c.move(i,o,C,n))}},scroll:function(t,n,i,o){e.Scroll.scroll(t,n,i,(function(){var t=x(c.toIndex(d()));R(m?vR(t,r):t),o&&o()}))},getNext:w,getPrev:_,getAdjacent:T,getEnd:k,setIndex:R,getIndex:function(t){return t?C:S},toIndex:I,toPage:O,toDest:function(t){var e=c.toIndex(t);return b?SR(e,0,r):e},hasFocus:P,isBusy:F}},Arrows:function(t,e,n){var r,i,o=JR(t),s=o.on,a=o.bind,u=o.emit,l=n.classes,c=n.i18n,d=e.Elements,h=e.Controller,f=d.arrows,p=d.track,v=f,g=d.prev,m=d.next,y={};function b(){!function(){var t=n.arrows;!t||g&&m||(v=f||QO("div",l.arrows),g=C(!0),m=C(!1),r=!0,zO(v,[g,m]),!f&&BO(v,p));g&&m&&(WO(y,{prev:g,next:m}),XO(v,t?"":"none"),jO(v,i=IP+"--"+n.direction),t&&(s([xR,OR,LR,HR,QR],E),a(m,"click",_O(S,">")),a(g,"click",_O(S,"<")),E(),KO([g,m],cP,p.id),u($R,g,m)))}(),s(jR,w)}function w(){_(),b()}function _(){o.destroy(),lR(v,i),r?(iR(f?[g,m]:v),g=m=null):YO([g,m],_P)}function S(t){h.go(t,!0)}function C(t){return oR('<button class="'+l.arrow+" "+(t?l.prev:l.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40" focusable="false"><path d="'+(n.arrowPath||"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z")+'" />')}function E(){if(g&&m){var e=t.index,n=h.getPrev(),r=h.getNext(),i=n>-1&&e<n?c.last:c.prev,o=r>-1&&e>r?c.first:c.next;g.disabled=n<0,m.disabled=r<0,KO(g,fP,i),KO(m,fP,o),u("arrows:updated",g,m,n,r)}}return{arrows:y,mount:b,destroy:_,update:E}},Autoplay:function(t,e,n){var r,i,o=JR(t),s=o.on,a=o.bind,u=o.emit,l=XR(n.interval,t.go.bind(t,">"),(function(t){var e=d.bar;e&&JO(e,"width",100*t+"%"),u("autoplay:playing",t)})),c=l.isPaused,d=e.Elements,h=e.Elements,f=h.root,p=h.toggle,v=n.autoplay,g="pause"===v;function m(){c()&&e.Slides.isEnough()&&(l.start(!n.resetProgress),i=r=g=!1,w(),u(WR))}function y(t){void 0===t&&(t=!0),g=!!t,w(),c()||(l.pause(),u(GR))}function b(){g||(r||i?y(!1):m())}function w(){p&&(LO(p,BP,!g),KO(p,fP,n.i18n[g?"play":"pause"]))}function _(t){var r=e.Slides.getAt(t);l.set(r&&+eR(r.slide,nF)||n.interval)}return{mount:function(){v&&(!function(){n.pauseOnHover&&a(f,"mouseenter mouseleave",(function(t){r="mouseenter"===t.type,b()}));n.pauseOnFocus&&a(f,"focusin focusout",(function(t){i="focusin"===t.type,b()}));p&&a(p,"click",(function(){g?m():y(!0)}));s([IR,UR,LR],l.rewind),s(IR,_)}(),p&&KO(p,cP,d.track.id),g||m(),w())},destroy:l.cancel,play:m,pause:y,isPaused:c}},Cover:function(t,e,n){var r=JR(t).on;function i(t){e.Slides.forEach((function(e){var n=VO(e.container||e.slide,"img");n&&n.src&&o(t,n,e)}))}function o(t,e,n){n.style("background",t?'center/cover no-repeat url("'+e.src+'")':"",!0),XO(e,t?"none":"")}return{mount:function(){n.cover&&(r(ZR,_O(o,!0)),r([xR,jR,LR],_O(i,!0)))},destroy:_O(i,!1)}},Scroll:function(t,e,n){var r,i,o=JR(t),s=o.on,a=o.emit,u=t.state.set,l=e.Move,c=l.getPosition,d=l.getLimit,h=l.exceededLimit,f=l.translate,p=t.is(JP),v=1;function g(t,n,o,s,d){var f=c();if(b(),o&&(!p||!h())){var g=e.Layout.sliderSize(),w=CR(t)*g*mR(bR(t)/g)||0;t=l.toPosition(e.Controller.toDest(t%g))+w}var _=wR(f,t,1);v=1,n=_?0:n||gR(bR(t-f)/1.5,800),i=s,r=XR(n,m,_O(y,f,t,d),1),u(5),a(UR),r.start()}function m(){u(3),i&&i(),a(HR)}function y(t,e,r,o){var s,a,u=c(),l=(t+(e-t)*(s=o,(a=n.easingFunc)?a(s):1-Math.pow(1-s,4))-u)*v;f(u+l),p&&!r&&h()&&(v*=.6,bR(l)<10&&g(d(h(!0)),600,!1,i,!0))}function b(){r&&r.cancel()}function w(){r&&!r.isPaused()&&(b(),m())}return{mount:function(){s(IR,b),s([jR,LR],w)},destroy:b,scroll:g,cancel:w}},Drag:function(t,e,n){var r,i,o,s,a,u,l,c,d=JR(t),h=d.on,f=d.emit,p=d.bind,v=d.unbind,g=t.state,m=e.Move,y=e.Scroll,b=e.Controller,w=e.Elements.track,_=e.Media.reduce,S=e.Direction,C=S.resolve,E=S.orient,D=m.getPosition,T=m.exceededLimit,A=!1;function x(){var t=n.drag;z(!t),s="free"===t}function k(t){if(u=!1,!l){var e=j(t);r=t.target,i=n.noDrag,UO(r,"."+NP+", ."+OP)||i&&UO(r,i)||!e&&t.button||(b.isBusy()?sR(t,!0):(c=e?w:window,a=g.is([4,5]),o=null,p(c,KP,I,rF),p(c,QP,O,rF),m.cancel(),y.cancel(),P(t)))}var r,i}function I(e){if(g.is(6)||(g.set(6),f("drag")),e.cancelable)if(a){m.translate(r+F(e)/(A&&t.is(JP)?5:1));var i=N(e)>200,o=A!==(A=T());(i||o)&&P(e),u=!0,f("dragging"),sR(e)}else(function(t){return bR(F(t))>bR(F(t,!0))})(e)&&(a=function(t){var e=n.dragMinThreshold,r=TO(e),i=r&&e.mouse||0,o=(r?e.touch:+e)||10;return bR(F(t))>(j(t)?o:i)}(e),sR(e))}function O(r){g.is(6)&&(g.set(3),f("dragged")),a&&(!function(r){var i=function(e){if(t.is(XP)||!A){var n=N(e);if(n&&n<200)return F(e)/n}return 0}(r),o=function(t){return D()+CR(t)*vR(bR(t)*(n.flickPower||600),s?1/0:e.Layout.listSize()*(n.flickMaxPages||1))}(i),a=n.rewind&&n.rewindByDrag;_(!1),s?b.scroll(o,0,n.snap):t.is(tF)?b.go(E(CR(i))<0?a?"<":"-":a?">":"+"):t.is(JP)&&A&&a?b.go(T(!0)?">":"<"):b.go(b.toDest(o),!0);_(!0)}(r),sR(r)),v(c,KP,I),v(c,QP,O),a=!1}function R(t){!l&&u&&sR(t,!0)}function P(t){o=i,i=t,r=D()}function F(t,e){return L(t,e)-L(M(t),e)}function N(t){return cR(t)-cR(M(t))}function M(t){return i===t&&o||i}function L(t,e){return(j(t)?t.changedTouches[0]:t)["page"+C(e?"Y":"X")]}function j(t){return"undefined"!=typeof TouchEvent&&t instanceof TouchEvent}function z(t){l=t}return{mount:function(){p(w,KP,CO,rF),p(w,QP,CO,rF),p(w,YP,k,rF),p(w,"click",R,{capture:!0}),p(w,"dragstart",sR),h([xR,jR],x)},disable:z,isDragging:function(){return a}}},Keyboard:function(t,e,n){var r,i,o=JR(t),s=o.on,a=o.bind,u=o.unbind,l=t.root,c=e.Direction.resolve;function d(){var t=n.keyboard;t&&(r="global"===t?window:l,a(r,sF,p))}function h(){u(r,sF)}function f(){var t=i;i=!0,SO((function(){i=t}))}function p(e){if(!i){var n=oF(e);n===c(eP)?t.go("<"):n===c(nP)&&t.go(">")}}return{mount:function(){d(),s(jR,h),s(jR,d),s(IR,f)},destroy:h,disable:function(t){i=t}}},LazyLoad:function(t,e,n){var r=JR(t),i=r.on,o=r.off,s=r.bind,a=r.emit,u="sequential"===n.lazyLoad,l=[OR,HR],c=[];function d(){bO(c),e.Slides.forEach((function(t){uR(t.slide,lF).forEach((function(e){var r=eR(e,aF),i=eR(e,uF);if(r!==e.src||i!==e.srcset){var o=n.classes.spinner,s=e.parentElement,a=VO(s,"."+o)||QO("span",o,s);c.push([e,t,a]),e.src||XO(e,"none")}}))})),u?v():(o(l),i(l,h),h())}function h(){(c=c.filter((function(e){var r=n.perPage*((n.preloadPages||1)+1)-1;return!e[1].isWithin(t.index,r)||f(e)}))).length||o(l)}function f(t){var e=t[0];jO(t[1].slide,$P),s(e,"load error",_O(p,t)),KO(e,"src",eR(e,aF)),KO(e,"srcset",eR(e,uF)),YO(e,aF),YO(e,uF)}function p(t,e){var n=t[0],r=t[1];lR(r.slide,$P),"error"!==e.type&&(iR(t[2]),XO(n,""),a(ZR,n,r),a(zR)),u&&v()}function v(){c.length&&f(c.shift())}return{mount:function(){n.lazyLoad&&(d(),i(LR,d))},destroy:_O(bO,c),check:h}},Pagination:function(t,e,n){var r,i,o=JR(t),s=o.on,a=o.emit,u=o.bind,l=e.Slides,c=e.Elements,d=e.Controller,h=d.hasFocus,f=d.getIndex,p=d.go,v=e.Direction.resolve,g=c.pagination,m=[];function y(){r&&(iR(g?wO(r.children):r),lR(r,i),bO(m),r=null),o.destroy()}function b(t){p(">"+t,!0)}function w(t,e){var n=m.length,r=oF(e),i=_(),o=-1;r===v(nP,!1,i)?o=++t%n:r===v(eP,!1,i)?o=(--t+n)%n:"Home"===r?o=0:"End"===r&&(o=n-1);var s=m[o];s&&(tR(s.button),p(">"+o),sR(e,!0))}function _(){return n.paginationDirection||n.direction}function S(t){return m[d.toPage(t)]}function C(){var t=S(f(!0)),e=S(f());if(t){var n=t.button;lR(n,BP),YO(n,hP),KO(n,uP,-1)}if(e){var i=e.button;jO(i,BP),KO(i,hP,!0),KO(i,uP,"")}a("pagination:updated",{list:r,items:m},t,e)}return{items:m,mount:function e(){y(),s([jR,LR,QR],e);var o=n.pagination;g&&XO(g,o?"":"none"),o&&(s([IR,UR,HR],C),function(){var e=t.length,o=n.classes,s=n.i18n,a=n.perPage,f=h()?d.getEnd()+1:yR(e/a);jO(r=g||QO("ul",o.pagination,c.track.parentElement),i=FP+"--"+_()),KO(r,aP,"tablist"),KO(r,fP,s.select),KO(r,gP,_()===oP?"vertical":"");for(var p=0;p<f;p++){var v=QO("li",null,r),y=QO("button",{class:o.page,type:"button"},v),S=l.getIn(p).map((function(t){return t.slide.id})),C=!h()&&a>1?s.pageX:s.slideX;u(y,"click",_O(b,p)),n.paginationKeyboard&&u(y,"keydown",_O(w,p)),KO(v,aP,"presentation"),KO(y,aP,"tab"),KO(y,cP,S.join(" ")),KO(y,fP,ER(C,p+1)),KO(y,uP,-1),m.push({li:v,button:y,page:p})}}(),C(),a("pagination:mounted",{list:r,items:m},S(t.index)))},destroy:y,getAt:S,update:C}},Sync:function(t,e,n){var r=n.isNavigation,i=n.slideFocus,o=[];function s(){var e,n;t.splides.forEach((function(e){e.isParent||(u(t,e.splide),u(e.splide,t))})),r&&(e=JR(t),(n=e.on)(RR,c),n(YR,d),n([xR,jR],l),o.push(e),e.emit(qR,t.splides))}function a(){o.forEach((function(t){t.destroy()})),bO(o)}function u(t,e){var n=JR(t);n.on(IR,(function(t,n,r){e.go(e.is(XP)?r:t)})),o.push(n)}function l(){KO(e.Elements.list,gP,n.direction===oP?"vertical":"")}function c(e){t.go(e.index)}function d(t,e){NO(cF,oF(e))&&(c(t),sR(e))}return{setup:_O(e.Media.set,{slideFocus:IO(i)?r:i},!0),mount:s,destroy:a,remount:function(){a(),s()}}},Wheel:function(t,e,n){var r=JR(t).bind,i=0;function o(r){if(r.cancelable){var o=r.deltaY,s=o<0,a=cR(r),u=n.wheelMinThreshold||0,l=n.wheelSleep||0;bR(o)>u&&a-i>l&&(t.go(s?"<":">"),i=a),function(r){return!n.releaseWheel||t.state.is(4)||-1!==e.Controller.getAdjacent(r)}(s)&&sR(r)}}return{mount:function(){n.wheel&&r(e.Elements.track,"wheel",o,rF)}}},Live:function(t,e,n){var r=JR(t).on,i=e.Elements.track,o=n.live&&!n.isNavigation,s=QO("span",jP),a=XR(90,_O(u,!1));function u(t){KO(i,bP,t),t?(zO(i,s),a.start()):(iR(s),a.cancel())}function l(t){o&&KO(i,yP,t?"off":"polite")}return{mount:function(){o&&(l(!e.Autoplay.isPaused()),KO(i,wP,!0),s.textContent="…",r(WR,_O(l,!0)),r(GR,_O(l,!1)),r([OR,HR],_O(u,!0)))},disable:l,destroy:function(){YO(i,[yP,wP,bP]),iR(s)}}}}),hF={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:ZP,i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function fF(t,e,n){var r=e.Slides;function i(){r.forEach((function(t){t.style("transform","translateX(-"+100*t.index+"%)")}))}return{mount:function(){JR(t).on([xR,LR],i)},start:function(t,e){r.style("transition","opacity "+n.speed+"ms "+n.easing),SO(e)},cancel:CO}}function pF(t,e,n){var r,i=e.Move,o=e.Controller,s=e.Scroll,a=e.Elements.list,u=_O(JO,a,"transition");function l(){u(""),s.cancel()}return{mount:function(){JR(t).bind(a,"transitionend",(function(t){t.target===a&&r&&(l(),r())}))},start:function(e,a){var l=i.toPosition(e,!0),c=i.getPosition(),d=function(e){var r=n.rewindSpeed;if(t.is(JP)&&r){var i=o.getIndex(!0),s=o.getEnd();if(0===i&&e>=s||i>=s&&0===e)return r}return n.speed}(e);bR(l-c)>=1&&d>=1?n.useScroll?s.scroll(l,d,!1,a):(u("transform "+d+"ms "+n.easing),i.translate(l,!0),r=a):(i.jump(e),a())},cancel:l}}var vF=function(){function t(e,n){var r;this.event=JR(),this.Components={},this.state=(r=1,{set:function(t){r=t},is:function(t){return NO(PO(t),r)}}),this.splides=[],this._o={},this._E={};var i=kO(e)?aR(document,e):e;pR(i,i+" is invalid."),this.root=i,n=GO({label:eR(i,fP)||"",labelledby:eR(i,pP)||""},hF,t.defaults,n||{});try{GO(n,JSON.parse(eR(i,fR)))}catch(t){pR(!1,"Invalid JSON")}this._o=Object.create(GO({},n))}var e=t.prototype;return e.mount=function(t,e){var n=this,r=this.state,i=this.Components;return pR(r.is([1,7]),"Already mounted!"),r.set(1),this._C=i,this._T=e||this._T||(this.is(tF)?fF:pF),this._E=t||this._E,qO(WO({},dF,this._E,{Transition:this._T}),(function(t,e){var r=t(n,i,n._o);i[e]=r,r.setup&&r.setup()})),qO(i,(function(t){t.mount&&t.mount()})),this.emit(xR),jO(this.root,zP),r.set(3),this.emit(kR),this},e.sync=function(t){return this.splides.push({splide:t}),t.splides.push({splide:this,isParent:!0}),this.state.is(3)&&(this._C.Sync.remount(),t.Components.Sync.remount()),this},e.go=function(t){return this._C.Controller.go(t),this},e.on=function(t,e){return this.event.on(t,e),this},e.off=function(t){return this.event.off(t),this},e.emit=function(t){var e;return(e=this.event).emit.apply(e,[t].concat(wO(arguments,1))),this},e.add=function(t,e){return this._C.Slides.add(t,e),this},e.remove=function(t){return this._C.Slides.remove(t),this},e.is=function(t){return this._o.type===t},e.refresh=function(){return this.emit(LR),this},e.destroy=function(t){void 0===t&&(t=!0);var e=this.event,n=this.state;return n.is(1)?JR(this).on(kR,this.destroy.bind(this,t)):(qO(this._C,(function(e){e.destroy&&e.destroy(t)}),!0),e.emit(VR),e.destroy(),t&&bO(this.splides),n.set(7)),this},gO(t,[{key:"options",get:function(){return this._o},set:function(t){this._C.Media.set(t,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}]),t}(),gF=vF;gF.defaults={},gF.STATES=yO;class mF{constructor(t){this.el=t}ngAfterViewInit(){if(!jk()&&!Bk()){const t=this.splideOptions||{type:"slide",drag:"free",autoWidth:!0,arrows:!1,pagination:!1,snap:!0,speed:200,perMove:1,align:"start"};new gF(this.el.nativeElement,t).mount()}}}mF.ɵfac=function(t){return new(t||mF)(jf(bu))},mF.ɵdir=Yp({type:mF,selectors:[["","appSplideSlider",""]],inputs:{splideOptions:"splideOptions"},standalone:!1});const{entries:yF,setPrototypeOf:bF,isFrozen:wF,getPrototypeOf:_F,getOwnPropertyDescriptor:SF}=Object;let{freeze:CF,seal:EF,create:DF}=Object,{apply:TF,construct:AF}="undefined"!=typeof Reflect&&Reflect;CF||(CF=function(t){return t}),EF||(EF=function(t){return t}),TF||(TF=function(t,e,n){return t.apply(e,n)}),AF||(AF=function(t,e){return new t(...e)});const xF=VF(Array.prototype.forEach),kF=VF(Array.prototype.lastIndexOf),IF=VF(Array.prototype.pop),OF=VF(Array.prototype.push),RF=VF(Array.prototype.splice),PF=VF(String.prototype.toLowerCase),FF=VF(String.prototype.toString),NF=VF(String.prototype.match),MF=VF(String.prototype.replace),LF=VF(String.prototype.indexOf),jF=VF(String.prototype.trim),zF=VF(Object.prototype.hasOwnProperty),BF=VF(RegExp.prototype.test),UF=(HF=TypeError,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return AF(HF,e)});var HF;function VF(t){return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return TF(t,e,r)}}function $F(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:PF;bF&&bF(t,null);let r=e.length;for(;r--;){let i=e[r];if("string"==typeof i){const t=n(i);t!==i&&(wF(e)||(e[r]=t),i=t)}t[i]=!0}return t}function qF(t){for(let e=0;e<t.length;e++){zF(t,e)||(t[e]=null)}return t}function WF(t){const e=DF(null);for(const[n,r]of yF(t)){zF(t,n)&&(Array.isArray(r)?e[n]=qF(r):r&&"object"==typeof r&&r.constructor===Object?e[n]=WF(r):e[n]=r)}return e}function GF(t,e){for(;null!==t;){const n=SF(t,e);if(n){if(n.get)return VF(n.get);if("function"==typeof n.value)return VF(n.value)}t=_F(t)}return function(){return null}}const ZF=CF(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),YF=CF(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),KF=CF(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),QF=CF(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),JF=CF(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),XF=CF(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),tN=CF(["#text"]),eN=CF(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),nN=CF(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),rN=CF(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),iN=CF(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),oN=EF(/\{\{[\w\W]*|[\w\W]*\}\}/gm),sN=EF(/<%[\w\W]*|[\w\W]*%>/gm),aN=EF(/\$\{[\w\W]*/gm),uN=EF(/^data-[\-\w.\u00B7-\uFFFF]+$/),lN=EF(/^aria-[\-\w]+$/),cN=EF(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),dN=EF(/^(?:\w+script|data):/i),hN=EF(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),fN=EF(/^html$/i),pN=EF(/^[a-z][.\w]*(-[.\w]+)+$/i);var vN=Object.freeze({__proto__:null,ARIA_ATTR:lN,ATTR_WHITESPACE:hN,CUSTOM_ELEMENT:pN,DATA_ATTR:uN,DOCTYPE_NAME:fN,ERB_EXPR:sN,IS_ALLOWED_URI:cN,IS_SCRIPT_OR_DATA:dN,MUSTACHE_EXPR:oN,TMPLIT_EXPR:aN});const gN=1,mN=3,yN=7,bN=8,wN=9,_N=function(){return"undefined"==typeof window?null:window};var SN=function t(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_N();const n=e=>t(e);if(n.version="3.2.4",n.removed=[],!e||!e.document||e.document.nodeType!==wN||!e.Element)return n.isSupported=!1,n;let{document:r}=e;const i=r,o=i.currentScript,{DocumentFragment:s,HTMLTemplateElement:a,Node:u,Element:l,NodeFilter:c,NamedNodeMap:d=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:h,DOMParser:f,trustedTypes:p}=e,v=l.prototype,g=GF(v,"cloneNode"),m=GF(v,"remove"),y=GF(v,"nextSibling"),b=GF(v,"childNodes"),w=GF(v,"parentNode");if("function"==typeof a){const t=r.createElement("template");t.content&&t.content.ownerDocument&&(r=t.content.ownerDocument)}let _,S="";const{implementation:C,createNodeIterator:E,createDocumentFragment:D,getElementsByTagName:T}=r,{importNode:A}=i;let x={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof yF&&"function"==typeof w&&C&&void 0!==C.createHTMLDocument;const{MUSTACHE_EXPR:k,ERB_EXPR:I,TMPLIT_EXPR:O,DATA_ATTR:R,ARIA_ATTR:P,IS_SCRIPT_OR_DATA:F,ATTR_WHITESPACE:N,CUSTOM_ELEMENT:M}=vN;let{IS_ALLOWED_URI:L}=vN,j=null;const z=$F({},[...ZF,...YF,...KF,...JF,...tN]);let B=null;const U=$F({},[...eN,...nN,...rN,...iN]);let H=Object.seal(DF(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),V=null,$=null,q=!0,W=!0,G=!1,Z=!0,Y=!1,K=!0,Q=!1,J=!1,X=!1,tt=!1,et=!1,nt=!1,rt=!0,it=!1,ot=!0,st=!1,at={},ut=null;const lt=$F({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ct=null;const dt=$F({},["audio","video","img","source","image","track"]);let ht=null;const ft=$F({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),pt="http://www.w3.org/1998/Math/MathML",vt="http://www.w3.org/2000/svg",gt="http://www.w3.org/1999/xhtml";let mt=gt,yt=!1,bt=null;const wt=$F({},[pt,vt,gt],FF);let _t=$F({},["mi","mo","mn","ms","mtext"]),St=$F({},["annotation-xml"]);const Ct=$F({},["title","style","font","a","script"]);let Et=null;const Dt=["application/xhtml+xml","text/html"];let Tt=null,At=null;const xt=r.createElement("form"),kt=function(t){return t instanceof RegExp||t instanceof Function},It=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!At||At!==t){if(t&&"object"==typeof t||(t={}),t=WF(t),Et=-1===Dt.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,Tt="application/xhtml+xml"===Et?FF:PF,j=zF(t,"ALLOWED_TAGS")?$F({},t.ALLOWED_TAGS,Tt):z,B=zF(t,"ALLOWED_ATTR")?$F({},t.ALLOWED_ATTR,Tt):U,bt=zF(t,"ALLOWED_NAMESPACES")?$F({},t.ALLOWED_NAMESPACES,FF):wt,ht=zF(t,"ADD_URI_SAFE_ATTR")?$F(WF(ft),t.ADD_URI_SAFE_ATTR,Tt):ft,ct=zF(t,"ADD_DATA_URI_TAGS")?$F(WF(dt),t.ADD_DATA_URI_TAGS,Tt):dt,ut=zF(t,"FORBID_CONTENTS")?$F({},t.FORBID_CONTENTS,Tt):lt,V=zF(t,"FORBID_TAGS")?$F({},t.FORBID_TAGS,Tt):{},$=zF(t,"FORBID_ATTR")?$F({},t.FORBID_ATTR,Tt):{},at=!!zF(t,"USE_PROFILES")&&t.USE_PROFILES,q=!1!==t.ALLOW_ARIA_ATTR,W=!1!==t.ALLOW_DATA_ATTR,G=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Z=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Y=t.SAFE_FOR_TEMPLATES||!1,K=!1!==t.SAFE_FOR_XML,Q=t.WHOLE_DOCUMENT||!1,tt=t.RETURN_DOM||!1,et=t.RETURN_DOM_FRAGMENT||!1,nt=t.RETURN_TRUSTED_TYPE||!1,X=t.FORCE_BODY||!1,rt=!1!==t.SANITIZE_DOM,it=t.SANITIZE_NAMED_PROPS||!1,ot=!1!==t.KEEP_CONTENT,st=t.IN_PLACE||!1,L=t.ALLOWED_URI_REGEXP||cN,mt=t.NAMESPACE||gt,_t=t.MATHML_TEXT_INTEGRATION_POINTS||_t,St=t.HTML_INTEGRATION_POINTS||St,H=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&kt(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(H.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&kt(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(H.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(H.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Y&&(W=!1),et&&(tt=!0),at&&(j=$F({},tN),B=[],!0===at.html&&($F(j,ZF),$F(B,eN)),!0===at.svg&&($F(j,YF),$F(B,nN),$F(B,iN)),!0===at.svgFilters&&($F(j,KF),$F(B,nN),$F(B,iN)),!0===at.mathMl&&($F(j,JF),$F(B,rN),$F(B,iN))),t.ADD_TAGS&&(j===z&&(j=WF(j)),$F(j,t.ADD_TAGS,Tt)),t.ADD_ATTR&&(B===U&&(B=WF(B)),$F(B,t.ADD_ATTR,Tt)),t.ADD_URI_SAFE_ATTR&&$F(ht,t.ADD_URI_SAFE_ATTR,Tt),t.FORBID_CONTENTS&&(ut===lt&&(ut=WF(ut)),$F(ut,t.FORBID_CONTENTS,Tt)),ot&&(j["#text"]=!0),Q&&$F(j,["html","head","body"]),j.table&&($F(j,["tbody"]),delete V.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw UF('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw UF('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');_=t.TRUSTED_TYPES_POLICY,S=_.createHTML("")}else void 0===_&&(_=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(n=e.getAttribute(r));const i="dompurify"+(n?"#"+n:"");try{return t.createPolicy(i,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+i+" could not be created."),null}}(p,o)),null!==_&&"string"==typeof S&&(S=_.createHTML(""));CF&&CF(t),At=t}},Ot=$F({},[...YF,...KF,...QF]),Rt=$F({},[...JF,...XF]),Pt=function(t){OF(n.removed,{element:t});try{w(t).removeChild(t)}catch(e){m(t)}},Ft=function(t,e){try{OF(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){OF(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t)if(tt||et)try{Pt(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},Nt=function(t){let e=null,n=null;if(X)t="<remove></remove>"+t;else{const e=NF(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===Et&&mt===gt&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const i=_?_.createHTML(t):t;if(mt===gt)try{e=(new f).parseFromString(i,Et)}catch(t){}if(!e||!e.documentElement){e=C.createDocument(mt,"template",null);try{e.documentElement.innerHTML=yt?S:i}catch(t){}}const o=e.body||e.documentElement;return t&&n&&o.insertBefore(r.createTextNode(n),o.childNodes[0]||null),mt===gt?T.call(e,Q?"html":"body")[0]:Q?e.documentElement:o},Mt=function(t){return E.call(t.ownerDocument||t,t,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Lt=function(t){return t instanceof h&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof d)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},jt=function(t){return"function"==typeof u&&t instanceof u};function zt(t,e,r){xF(t,(t=>{t.call(n,e,r,At)}))}const Bt=function(t){let e=null;if(zt(x.beforeSanitizeElements,t,null),Lt(t))return Pt(t),!0;const r=Tt(t.nodeName);if(zt(x.uponSanitizeElement,t,{tagName:r,allowedTags:j}),t.hasChildNodes()&&!jt(t.firstElementChild)&&BF(/<[/\w]/g,t.innerHTML)&&BF(/<[/\w]/g,t.textContent))return Pt(t),!0;if(t.nodeType===yN)return Pt(t),!0;if(K&&t.nodeType===bN&&BF(/<[/\w]/g,t.data))return Pt(t),!0;if(!j[r]||V[r]){if(!V[r]&&Ht(r)){if(H.tagNameCheck instanceof RegExp&&BF(H.tagNameCheck,r))return!1;if(H.tagNameCheck instanceof Function&&H.tagNameCheck(r))return!1}if(ot&&!ut[r]){const e=w(t)||t.parentNode,n=b(t)||t.childNodes;if(n&&e){for(let r=n.length-1;r>=0;--r){const i=g(n[r],!0);i.__removalCount=(t.__removalCount||0)+1,e.insertBefore(i,y(t))}}}return Pt(t),!0}return t instanceof l&&!function(t){let e=w(t);e&&e.tagName||(e={namespaceURI:mt,tagName:"template"});const n=PF(t.tagName),r=PF(e.tagName);return!!bt[t.namespaceURI]&&(t.namespaceURI===vt?e.namespaceURI===gt?"svg"===n:e.namespaceURI===pt?"svg"===n&&("annotation-xml"===r||_t[r]):Boolean(Ot[n]):t.namespaceURI===pt?e.namespaceURI===gt?"math"===n:e.namespaceURI===vt?"math"===n&&St[r]:Boolean(Rt[n]):t.namespaceURI===gt?!(e.namespaceURI===vt&&!St[r])&&!(e.namespaceURI===pt&&!_t[r])&&!Rt[n]&&(Ct[n]||!Ot[n]):!("application/xhtml+xml"!==Et||!bt[t.namespaceURI]))}(t)?(Pt(t),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!BF(/<\/no(script|embed|frames)/i,t.innerHTML)?(Y&&t.nodeType===mN&&(e=t.textContent,xF([k,I,O],(t=>{e=MF(e,t," ")})),t.textContent!==e&&(OF(n.removed,{element:t.cloneNode()}),t.textContent=e)),zt(x.afterSanitizeElements,t,null),!1):(Pt(t),!0)},Ut=function(t,e,n){if(rt&&("id"===e||"name"===e)&&(n in r||n in xt))return!1;if(W&&!$[e]&&BF(R,e));else if(q&&BF(P,e));else if(!B[e]||$[e]){if(!(Ht(t)&&(H.tagNameCheck instanceof RegExp&&BF(H.tagNameCheck,t)||H.tagNameCheck instanceof Function&&H.tagNameCheck(t))&&(H.attributeNameCheck instanceof RegExp&&BF(H.attributeNameCheck,e)||H.attributeNameCheck instanceof Function&&H.attributeNameCheck(e))||"is"===e&&H.allowCustomizedBuiltInElements&&(H.tagNameCheck instanceof RegExp&&BF(H.tagNameCheck,n)||H.tagNameCheck instanceof Function&&H.tagNameCheck(n))))return!1}else if(ht[e]);else if(BF(L,MF(n,N,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==LF(n,"data:")||!ct[t]){if(G&&!BF(F,MF(n,N,"")));else if(n)return!1}else;return!0},Ht=function(t){return"annotation-xml"!==t&&NF(t,M)},Vt=function(t){zt(x.beforeSanitizeAttributes,t,null);const{attributes:e}=t;if(!e||Lt(t))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:B,forceKeepAttr:void 0};let i=e.length;for(;i--;){const o=e[i],{name:s,namespaceURI:a,value:u}=o,l=Tt(s);let c="value"===s?u:jF(u);if(r.attrName=l,r.attrValue=c,r.keepAttr=!0,r.forceKeepAttr=void 0,zt(x.uponSanitizeAttribute,t,r),c=r.attrValue,!it||"id"!==l&&"name"!==l||(Ft(s,t),c="user-content-"+c),K&&BF(/((--!?|])>)|<\/(style|title)/i,c)){Ft(s,t);continue}if(r.forceKeepAttr)continue;if(Ft(s,t),!r.keepAttr)continue;if(!Z&&BF(/\/>/i,c)){Ft(s,t);continue}Y&&xF([k,I,O],(t=>{c=MF(c,t," ")}));const d=Tt(t.nodeName);if(Ut(d,l,c)){if(_&&"object"==typeof p&&"function"==typeof p.getAttributeType)if(a);else switch(p.getAttributeType(d,l)){case"TrustedHTML":c=_.createHTML(c);break;case"TrustedScriptURL":c=_.createScriptURL(c)}try{a?t.setAttributeNS(a,s,c):t.setAttribute(s,c),Lt(t)?Pt(t):IF(n.removed)}catch(t){}}}zt(x.afterSanitizeAttributes,t,null)},$t=function t(e){let n=null;const r=Mt(e);for(zt(x.beforeSanitizeShadowDOM,e,null);n=r.nextNode();)zt(x.uponSanitizeShadowNode,n,null),Bt(n),Vt(n),n.content instanceof s&&t(n.content);zt(x.afterSanitizeShadowDOM,e,null)};return n.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,a=null,l=null;if(yt=!t,yt&&(t="\x3c!--\x3e"),"string"!=typeof t&&!jt(t)){if("function"!=typeof t.toString)throw UF("toString is not a function");if("string"!=typeof(t=t.toString()))throw UF("dirty is not a string, aborting")}if(!n.isSupported)return t;if(J||It(e),n.removed=[],"string"==typeof t&&(st=!1),st){if(t.nodeName){const e=Tt(t.nodeName);if(!j[e]||V[e])throw UF("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof u)r=Nt("\x3c!----\x3e"),o=r.ownerDocument.importNode(t,!0),o.nodeType===gN&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!tt&&!Y&&!Q&&-1===t.indexOf("<"))return _&&nt?_.createHTML(t):t;if(r=Nt(t),!r)return tt?null:nt?S:""}r&&X&&Pt(r.firstChild);const c=Mt(st?t:r);for(;a=c.nextNode();)Bt(a),Vt(a),a.content instanceof s&&$t(a.content);if(st)return t;if(tt){if(et)for(l=D.call(r.ownerDocument);r.firstChild;)l.appendChild(r.firstChild);else l=r;return(B.shadowroot||B.shadowrootmode)&&(l=A.call(i,l,!0)),l}let d=Q?r.outerHTML:r.innerHTML;return Q&&j["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&BF(fN,r.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+d),Y&&xF([k,I,O],(t=>{d=MF(d,t," ")})),_&&nt?_.createHTML(d):d},n.setConfig=function(){It(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),J=!0},n.clearConfig=function(){At=null,J=!1},n.isValidAttribute=function(t,e,n){At||It({});const r=Tt(t),i=Tt(e);return Ut(r,i,n)},n.addHook=function(t,e){"function"==typeof e&&OF(x[t],e)},n.removeHook=function(t,e){if(void 0!==e){const n=kF(x[t],e);return-1===n?void 0:RF(x[t],n,1)[0]}return IF(x[t])},n.removeHooks=function(t){x[t]=[]},n.removeAllHooks=function(){x={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const CN={RETURN_DOM_FRAGMENT:!1,RETURN_DOM:!1,USE_PROFILES:{html:!0,svg:!0,svgFilters:!0},ALLOW_UNKNOWN_PROTOCOLS:!0,KEEP_CONTENT:!0,ADD_TAGS:["meta","noscript","iframe"],ADD_ATTR:["content","itemprop","itemtype","itemscope","id","name","target"]};function EN(t,e=CN){let n=Object.assign(eI(CN),e);return jk()?t:SN.sanitize(t,n)}class DN{set hidden(t){t?this.renderer.setAttribute(this.el.nativeElement,"hidden","true"):this.renderer.removeAttribute(this.el.nativeElement,"hidden");let e=this._hidden;this._hidden=t,jk()||e==t||sI((()=>{this.onHide.emit(t)}))}get hidden(){return this._hidden}constructor(t,e){this.el=t,this.renderer=e,this._hidden=!1,this.onHide=new Ja}}DN.ɵfac=function(t){return new(t||DN)(jf(bu),jf(Af))},DN.ɵdir=Yp({type:DN,selectors:[["","ng-hidden",""]],inputs:{hidden:[0,"ng-hidden","hidden"]},outputs:{onHide:"onHide"},standalone:!1});class TN{set cond(t){this._cond=t,this._ready&&this._SetAttr()}get cond(){return this._cond}constructor(t,e){this._el=t,this._renderer=e,this._ready=!1}_SetAttr(){Wk(this.attributes)?this._cond?this.attributes.forEach((t=>{this._renderer.setAttribute(this._el.nativeElement,t.attribute,t.value)})):this.attributes.forEach((t=>{this._renderer.removeAttribute(this._el.nativeElement,t.attribute)})):Yk(this.attributes)&&Qk(this.attributes,((t,e)=>{this._cond?this._renderer.setAttribute(this._el.nativeElement,e,t):this._renderer.removeAttribute(this._el.nativeElement,e)}))}ngOnInit(){this._SetAttr(),this._ready=!0}}TN.ɵfac=function(t){return new(t||TN)(jf(bu),jf(Af))},TN.ɵdir=Yp({type:TN,selectors:[["","ng-attribute",""]],inputs:{attributes:[0,"ng-attribute","attributes"],cond:[0,"ng-attribute-when","cond"]},standalone:!1});class AN{transform(t,e="",n=0,r=null,i=!1,o=!1){let s=qk(t);if(!$k(s))return null!=r&&"value"==r?t:"";if(i){let t=!isNaN(n=Math.abs(n))&&n>0?Math.pow(10,n):1,e=s*t;s=(e<0?Math.ceil(e):Math.floor(e))/t}return function(t,e=0,n="$",r=",",i=".",o=!1){let s=e=Math.abs(e);e=!isNaN(e)&&e>0?Math.pow(10,e):1,r=r||",",i=i||".";let a=t<0?"-":"";t=Math.round(Math.abs(+t||0)*e)/e;let u=parseInt(t.toString(),10)+"",l=u.length,c=l>3?l%3:0,d=a+n+(c?u.substring(0,c)+r:"")+u.substring(c).replace(/(\d{3})(?=\d)/g,"$1"+r);o&&s?d+=i+(Math.round(Math.abs(t-u)*e)/e).toString().substring(2).padEnd(s,"0"):e>1&&Math.round(Math.abs(t-u)>0)&&(d+=i+(Math.round(Math.abs(t-u)*e)/e).toString().substring(2));return d}(s,n,e,",",".",o)}}AN.ɵfac=function(t){return new(t||AN)},AN.ɵpipe=Kp({name:"moneyformat",type:AN,pure:!0,standalone:!1});class xN{transform(t){return((e=t)?Vk(e.toString()):"").replace(/(\d{3})(\d{3})(\d{4})/,"($1) $2-$3");var e}}xN.ɵfac=function(t){return new(t||xN)},xN.ɵpipe=Kp({name:"phoneformat",type:xN,pure:!0,standalone:!1});class kN{_bindHTML(t){this._html=EN(t,this.settings),this._renderer.setProperty(this._el.nativeElement,"innerHTML",this._html)}set cleanHTML(t){this._initiated?this._bindHTML(t):this._html=t}get cleanHTML(){return this._html}constructor(t,e){this._el=t,this._renderer=e,this.settings=CN,this._initiated=!1}ngOnInit(){this._html&&this._bindHTML(this._html),this._initiated=!0}}kN.ɵfac=function(t){return new(t||kN)(jf(bu),jf(Af))},kN.ɵdir=Yp({type:kN,selectors:[["","cleanHTML",""]],inputs:{settings:[0,"cleanHTML-sett","settings"],cleanHTML:"cleanHTML"},standalone:!1});class IN{set image(t){this._image=t?EN(t,{ALLOW_UNKNOWN_PROTOCOLS:!0,ALLOWED_TAGS:[],ALLOWED_ATTR:[]}):null,this._initiated&&this._SetImg(t)}get image(){return this._image}constructor(t,e){this._el=t,this._renderer=e,this._initiated=!1,this._image=""}ngOnInit(){this._image&&this._SetImg(this._image),this._initiated=!0}_SetImg(t){t?this._renderer.setProperty(this._el.nativeElement,"src",t):this._renderer.removeAttribute(this._el.nativeElement,"src")}}IN.ɵfac=function(t){return new(t||IN)(jf(bu),jf(Af))},IN.ɵdir=Yp({type:IN,selectors:[["","ng-img",""]],inputs:{image:[0,"ng-img","image"]},standalone:!1});class ON{constructor(t,e,n){this._sanitizer=t,this._el=e,this._renderer=n}set ngcontext(t){if(jk())this._renderer.setProperty(this._el.nativeElement,"innerHTML",EN(t));else{const e=this._sanitizer.sanitize(Uc.HTML,(t||"").toString());this._el.nativeElement.innerHTML=e,this._el.nativeElement.innerHTML=this._el.nativeElement.textContent}}}ON.ɵfac=function(t){return new(t||ON)(jf(Rk),jf(bu),jf(Af))},ON.ɵdir=Yp({type:ON,selectors:[["","ng-context",""]],inputs:{ngcontext:[0,"ng-context","ngcontext"]},standalone:!1});class RN{set ng_svg(t){if(this._svg_attrs=t,this._el&&this._el.nativeElement){let e=this._el.nativeElement;Qk(t,((t,n)=>{t?this._renderer.setAttribute(e,n,t):this._renderer.removeAttribute(e,n)}))}}get ng_svg(){return this._svg_attrs}constructor(t,e){this._el=t,this._renderer=e}}RN.ɵfac=function(t){return new(t||RN)(jf(bu),jf(Af))},RN.ɵdir=Yp({type:RN,selectors:[["","ng-svg-attr",""]],inputs:{ng_svg:[0,"ng-svg-attr","ng_svg"]},standalone:!1});class PN{transform(t,e=1,n=!1){return function(t,e=1,n=!1){let r=!1,i="";t<0&&(r=!0);const o=t=>Math.round(t*(e>0?10*e:1))/(e>0?10*e:1);return i=(t=Math.abs(t))>=1e9?n?(Math.floor(t/1e8)/10).toString().replace(/\.0$/,"")+"g":o(t/1e9).toString().replace(/\.0$/,"")+"g":t>=1e6?n?(Math.floor(t/1e5)/10).toString().replace(/\.0$/,"")+"m":o(t/1e6).toString().replace(/\.0$/,"")+"m":t>=1e3?n?(Math.floor(t/100)/10).toString().replace(/\.0$/,"")+"k":(t/1e3).toFixed(e).replace(/\.0$/,"")+"k":(1==e?Math.round(t):o(t)).toString(),r&&(i="-"+i),i}(t,e,n)}}PN.ɵfac=function(t){return new(t||PN)},PN.ɵpipe=Kp({name:"formatnr",type:PN,pure:!0,standalone:!1});class FN{transform(t){let e=new Date,n=new Date;return n.getDate()>=26&&n.setDate(n.getDate()+14),t=(t=(t=(t=(t=(t=(t=(t=t||"").replace(/\[Y{4}\]|<Y{4}>/gi,""+n.getFullYear())).replace(/\[M{5}\]|<M{5}>/gi,n.toLocaleDateString("en-US",{month:"long"}))).replace(/\[M{3,4}\]|<M{3,4}>/gi,n.toLocaleDateString("en-US",{month:"short"})+".")).replace(/\[CUR_Y{4}\]|<CUR_Y{4}>/gi,""+e.getFullYear())).replace(/\[CUR_M{5}\]|<CUR_M{5}>/gi,e.toLocaleDateString("en-US",{month:"long"}))).replace(/\[CUR_M{3,4}\]|<CUR_M{3,4}>/gi,e.toLocaleDateString("en-US",{month:"short"})+".")).replace(/\\u[\dA-F]{4}/gi,(t=>String.fromCharCode(parseInt(t.replace(/\\u/g,""),16)))),t=t.replace("\\/","/")}}FN.ɵfac=function(t){return new(t||FN)},FN.ɵpipe=Kp({name:"replaceDateVariables",type:FN,pure:!0,standalone:!1});class NN{set hidden(t){let e=this.el.nativeElement;t?(this.renderer.setAttribute(e,"aria-hidden","true"),this.renderer.setAttribute(e,"tabindex","-1")):(this.renderer.removeAttribute(e,"aria-hidden"),this.notab?this.renderer.removeAttribute(e,"tabindex"):this.renderer.setAttribute(e,"tabindex",this.tabindex));let n=this._hidden;this._hidden=t,jk()||n==t||sI((()=>{this.onHide.emit(t)}))}get hidden(){return this._hidden}constructor(t,e){this.el=t,this.renderer=e,this._hidden=!1,this.onHide=new Ja,this.tabindex="0"}}NN.ɵfac=function(t){return new(t||NN)(jf(bu),jf(Af))},NN.ɵdir=Yp({type:NN,selectors:[["","ng-aria-hidden",""]],inputs:{tabindex:"tabindex",notab:[0,"no-tab","notab"],hidden:[0,"ng-aria-hidden","hidden"]},outputs:{onHide:"onHide"},standalone:!1});class MN{constructor(t,e){this._el=t,this._renderer=e,this.type="self"}ngAfterViewChecked(){if(jk())return;const t=[],e=this._el.nativeElement;if(this.type){for(var n=0,r=e.childNodes.length;n<r;n++){let r=e.childNodes[n],i="";1==r.nodeType?i=r.hasAttribute("aria-label")?Uk(r.getAttribute("aria-label")):Uk(r.innerText):3==r.nodeType&&(i=Uk(r.wholeText)),i&&t.push(i)}this._renderer.setAttribute(this._el.nativeElement,"aria-label",t.join("self"==this.type?" ":". "))}}}MN.ɵfac=function(t){return new(t||MN)(jf(bu),jf(Af))},MN.ɵdir=Yp({type:MN,selectors:[["","ng-aria-label-self",""]],inputs:{type:[0,"ng-aria-label-self","type"]},standalone:!1});class LN{set cond(t){this._cond=t,this._ready&&this._iFocus()}get cond(){return this._cond}constructor(t,e){this._el=t,this._renderer=e,this._speak="header",this.ngSpeakTabindex=0,this._cond=!0,this._ready=!1,jk()||(this._isIOS=(/iPad|iPhone|iPod/.test(navigator.platform)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!window.MSStream)}_iFocus(){if(jk())return;let t=this._speak,e=0==t||"header"==t?0:t,n=$k(e)?e:1,r=this._el.nativeElement,i=this.ngSpeakTabindex.toString();"header"==t?this._isIOS?(document.activeElement&&document.activeElement.blur&&document.activeElement.blur(),r.blur(),this._renderer.setAttribute(r,"tabindex","1"),r.focus(),setTimeout((()=>{r.focus(),this._renderer.setAttribute(r,"tabindex",i)}),300)):(this._renderer.setAttribute(r,"tabindex",i),setTimeout((()=>{r.focus()}),300)):0==n||1==n?(this._isIOS&&document.activeElement&&document.activeElement.blur&&document.activeElement.blur(),this._renderer.setAttribute(r,"tabindex",i),r.focus(),setTimeout((()=>{r.focus()}))):this._renderer.setAttribute(r,"tabindex",i)}ngOnInit(){this._cond&&this._iFocus(),this._ready=!0}}LN.ɵfac=function(t){return new(t||LN)(jf(bu),jf(Af))},LN.ɵdir=Yp({type:LN,selectors:[["","ng-speak",""]],inputs:{_speak:[0,"ng-speak","_speak"],ngSpeakTabindex:[0,"ng-speak-tab-index","ngSpeakTabindex"],cond:[0,"ng-speak-when","cond"]},standalone:!1});class jN{set text(t){this._text=t,jk()||Bk()||this._el&&this._el.nativeElement&&this._zone.runOutsideAngular((()=>{clearTimeout(this._timer),this._timer=setTimeout((()=>{this._renderer.setProperty(this._el.nativeElement,"innerHTML",this.text),this.is_android?this._renderer.setAttribute(this._el.nativeElement,"aria-label",this.text):(this._renderer.setAttribute(this._el.nativeElement,"tabindex","-1"),this._renderer.setStyle(this._el.nativeElement,"display","none"),this._renderer.setStyle(this._el.nativeElement,"display","inline"))}))}))}get text(){return this._text}constructor(t,e,n){this._el=t,this._zone=e,this._renderer=n,this._timer=null,this.is_android=!1,this.type="assertive"}ngOnInit(){jk()||(this.is_android=null!=navigator.userAgent.match(/Android/i)||navigator.platform&&null!=navigator.platform.match(/Android/i))}ngAfterViewInit(){this._renderer.setAttribute(this._el.nativeElement,"aria-live",this.type),this._renderer.setAttribute(this._el.nativeElement,"aria-atomic","true"),this._renderer.setAttribute(this._el.nativeElement,"role","status"),jk()||this.is_android&&(this._renderer.setAttribute(this._el.nativeElement,"aria-hidden","true"),this._renderer.setAttribute(this._el.nativeElement,"tabindex","-1"))}}jN.ɵfac=function(t){return new(t||jN)(jf(bu),jf(ou),jf(Af))},jN.ɵdir=Yp({type:jN,selectors:[["","ng-aria-live",""]],hostVars:2,hostBindings:function(t,e){2&t&&Pm("a11y-visually-hidden",!0)},inputs:{type:[0,"live-type","type"],text:[0,"ng-aria-live","text"]},standalone:!1});class zN{set aria_text(t){this._txt=t,this._el&&this._el.nativeElement&&this._render.setAttribute(this._el.nativeElement,"aria-label",this._txt)}get aria_text(){return this._txt}constructor(t,e){this._el=t,this._render=e,this._txt=""}ngOnInit(){this._render.setAttribute(this._el.nativeElement,"role","text")}ngAfterViewInit(){this._txt&&this._render.setAttribute(this._el.nativeElement,"aria-label",this._txt)}}zN.ɵfac=function(t){return new(t||zN)(jf(bu),jf(Af))},zN.ɵdir=Yp({type:zN,selectors:[["","ng-aria-text",""]],inputs:{aria_text:[0,"ng-aria-text","aria_text"]},standalone:!1});class BN{constructor(t,e){this.el=t,this.renderer=e,this._shown=!1,this._subs=[],jk()||(this._windowResize=this._windowResize.bind(this))}adjustPosition(){sI((()=>{let t=this.pwd_input.clientHeight,e=this.pwd_input.offsetTop,n=this.pwd_input.clientWidth+this.pwd_input.offsetLeft-55;this.renderer.setStyle(this.btn_toggle,"position","absolute"),this.renderer.setStyle(this.btn_toggle,"font-size","13px"),this.renderer.setStyle(this.btn_toggle,"right","auto"),this.renderer.setStyle(this.btn_toggle,"display","block"),this.renderer.setStyle(this.btn_toggle,"width","55px"),this.renderer.setStyle(this.btn_toggle,"height",t+"px"),this.renderer.setStyle(this.btn_toggle,"line-height",t-2+"px"),this.renderer.setStyle(this.btn_toggle,"top",e+"px"),this.renderer.setStyle(this.btn_toggle,"left",n+"px"),this.renderer.setStyle(this.btn_toggle,"cursor","pointer"),this.renderer.setStyle(this.btn_toggle,"text-align","center")}))}toggle(){this._shown=!this._shown,this._shown?(this.renderer.setAttribute(this.pwd_input,"type","text"),this.renderer.setProperty(this.btn_toggle,"innerHTML","hide"),this.renderer.setProperty(this.btn_toggle,"aria-checked","true")):(this.renderer.setAttribute(this.pwd_input,"type","password"),this.renderer.setProperty(this.btn_toggle,"innerHTML","show"),this.renderer.setProperty(this.btn_toggle,"aria-checked","false"))}_windowResize(){this.adjustPosition()}ngAfterViewInit(){if(jk())return;const t=this.renderer.parentNode(this.el.nativeElement);let e=window.getComputedStyle(t).position;e&&"static"!=e||this.renderer.setStyle(t,"position","relative"),requestAnimationFrame((()=>{this.renderer.createElement("span");const e=this.renderer.createElement("span");this.renderer.addClass(e,"ng-toggle-btn-pass"),this.renderer.addClass(e,"semi-bold-font"),this.renderer.setStyle(e,"position","absolute"),this.renderer.setProperty(e,"innerHTML","show"),this.renderer.setProperty(e,"role","switch"),this.renderer.setProperty(e,"tabindex","0"),this.renderer.setProperty(e,"aria-checked","false"),this.renderer.setProperty(e,"aria-label","Toggle password visiblity"),this.renderer.appendChild(t,e),this._subs.push(this.renderer.listen(e,"click",(()=>{this.toggle()}))),this._subs.push(this.renderer.listen(this.el.nativeElement,"input",(()=>{const t=this.el.nativeElement;this.renderer.setStyle(e,"visibility",t.value?"":"hidden")}))),this.renderer.setStyle(e,"visibility",this.el.nativeElement.value?"":"hidden"),this.btn_toggle=e,this.pwd_input=this.el.nativeElement;let n=null;aI()&&(n={passive:!0}),window.addEventListener("resize",this._windowResize,n),this._subs.push((()=>{window.removeEventListener("resize",this._windowResize)})),setTimeout((()=>this.adjustPosition()),100)}))}ngOnDestroy(){this._subs.forEach((t=>{t()}))}}BN.ɵfac=function(t){return new(t||BN)(jf(bu),jf(Af))},BN.ɵdir=Yp({type:BN,selectors:[["input","ng-toggle-password",""]],standalone:!1});class UN{constructor(t){this._injector=t,this._injector}static forRoot(){return{ngModule:UN,providers:[cO]}}}UN.ɵfac=function(t){return new(t||UN)(jr(Ha))},UN.ɵmod=Wp({type:UN}),UN.ɵinj=or({imports:[bT,XI,XI]});let HN=!1;if("undefined"!=typeof window){const oU={get passive(){HN=!0}};window.addEventListener("testPassive",null,oU),window.removeEventListener("testPassive",null,oU)}const VN="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1);let $N,qN=[],WN=!1,GN=-1;const ZN=t=>qN.some((e=>!(!e.options.allowTouchMove||!e.options.allowTouchMove(t)))),YN=t=>{const e=t||window.event;return!!ZN(e.target)||(e.touches.length>1||(e.preventDefault&&e.preventDefault(),!1))},KN=(t,e)=>{if(!t)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(qN.some((e=>e.targetElement===t)))return;const n={targetElement:t,options:{}};qN=[...qN,n],VN?(t.ontouchstart=t=>{1===t.targetTouches.length&&(GN=t.targetTouches[0].clientY)},t.ontouchmove=e=>{1===e.targetTouches.length&&((t,e)=>{const n=t.targetTouches[0].clientY-GN;!ZN(t.target)&&(e&&0===e.scrollTop&&n>0||(t=>!!t&&t.scrollHeight-t.scrollTop<=t.clientHeight)(e)&&n<0?YN(t):t.stopPropagation())})(e,t)},WN||(document.addEventListener("touchmove",YN,HN?{passive:!1}:void 0),WN=!0)):(window.innerWidth,document.documentElement.clientWidth,void 0===$N&&($N=document.body.style.overflow,document.body.style.overflow="hidden"))},QN=t=>{t?(qN=qN.filter((e=>e.targetElement!==t)),VN?(t.ontouchstart=null,t.ontouchmove=null,WN&&0===qN.length&&(document.removeEventListener("touchmove",YN,HN?{passive:!1}:void 0),WN=!1)):qN.length||void 0!==$N&&(document.body.style.overflow=$N,$N=void 0)):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.")};function JN(){return document.querySelector("web-app #web-app")||document.querySelector("#web-app")}var XN=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],tM=XN.join(","),eM="undefined"==typeof Element,nM=eM?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,rM=!eM&&Element.prototype.getRootNode?function(t){var e;return null==t||null===(e=t.getRootNode)||void 0===e?void 0:e.call(t)}:function(t){return null==t?void 0:t.ownerDocument},iM=function t(e,n){var r;void 0===n&&(n=!0);var i=null==e||null===(r=e.getAttribute)||void 0===r?void 0:r.call(e,"inert");return""===i||"true"===i||n&&e&&t(e.parentNode)},oM=function(t,e,n){if(iM(t))return[];var r=Array.prototype.slice.apply(t.querySelectorAll(tM));return e&&nM.call(t,tM)&&r.unshift(t),r=r.filter(n)},sM=function t(e,n,r){for(var i=[],o=Array.from(e);o.length;){var s=o.shift();if(!iM(s,!1))if("SLOT"===s.tagName){var a=s.assignedElements(),u=t(a.length?a:s.children,!0,r);r.flatten?i.push.apply(i,u):i.push({scopeParent:s,candidates:u})}else{nM.call(s,tM)&&r.filter(s)&&(n||!e.includes(s))&&i.push(s);var l=s.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(s),c=!iM(l,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(s));if(l&&c){var d=t(!0===l?s.children:l.children,!0,r);r.flatten?i.push.apply(i,d):i.push({scopeParent:s,candidates:d})}else o.unshift.apply(o,s.children)}}return i},aM=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},uM=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||function(t){var e,n=null==t||null===(e=t.getAttribute)||void 0===e?void 0:e.call(t,"contenteditable");return""===n||"true"===n}(t))&&!aM(t)?0:t.tabIndex},lM=function(t,e){return t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex},cM=function(t){return"INPUT"===t.tagName},dM=function(t){return function(t){return cM(t)&&"radio"===t.type}(t)&&!function(t){if(!t.name)return!0;var e,n=t.form||rM(t),r=function(t){return n.querySelectorAll('input[type="radio"][name="'+t+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)e=r(window.CSS.escape(t.name));else try{e=r(t.name)}catch(t){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",t.message),!1}var i=function(t,e){for(var n=0;n<t.length;n++)if(t[n].checked&&t[n].form===e)return t[n]}(e,t.form);return!i||i===t}(t)},hM=function(t){var e=t.getBoundingClientRect(),n=e.width,r=e.height;return 0===n&&0===r},fM=function(t,e){var n=e.displayCheck,r=e.getShadowRoot;if("hidden"===getComputedStyle(t).visibility)return!0;var i=nM.call(t,"details>summary:first-of-type")?t.parentElement:t;if(nM.call(i,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return hM(t)}else{if("function"==typeof r){for(var o=t;t;){var s=t.parentElement,a=rM(t);if(s&&!s.shadowRoot&&!0===r(s))return hM(t);t=t.assignedSlot?t.assignedSlot:s||a===t.ownerDocument?s:a.host}t=o}if(function(t){var e,n,r,i,o=t&&rM(t),s=null===(e=o)||void 0===e?void 0:e.host,a=!1;if(o&&o!==t)for(a=!!(null!==(n=s)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(s)||null!=t&&null!==(i=t.ownerDocument)&&void 0!==i&&i.contains(t));!a&&s;){var u,l,c;a=!(null===(l=s=null===(u=o=rM(s))||void 0===u?void 0:u.host)||void 0===l||null===(c=l.ownerDocument)||void 0===c||!c.contains(s))}return a}(t))return!t.getClientRects().length;if("legacy-full"!==n)return!0}return!1},pM=function(t,e){return!(e.disabled||iM(e)||function(t){return cM(t)&&"hidden"===t.type}(e)||fM(e,t)||function(t){var e="DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some((function(t){return"SUMMARY"===t.tagName}));return e}(e)||function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var e=t.parentElement;e;){if("FIELDSET"===e.tagName&&e.disabled){for(var n=0;n<e.children.length;n++){var r=e.children.item(n);if("LEGEND"===r.tagName)return!!nM.call(e,"fieldset[disabled] *")||!r.contains(t)}return!0}e=e.parentElement}return!1}(e))},vM=function(t,e){return!(dM(e)||uM(e)<0||!pM(t,e))},gM=function(t){var e=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(e)||e>=0)},mM=function t(e){var n=[],r=[];return e.forEach((function(e,i){var o=!!e.scopeParent,s=o?e.scopeParent:e,a=function(t,e){var n=uM(t);return n<0&&e&&!aM(t)?0:n}(s,o),u=o?t(e.candidates):s;0===a?o?n.push.apply(n,u):n.push(s):r.push({documentOrder:i,tabIndex:a,item:e,isScope:o,content:u})})),r.sort(lM).reduce((function(t,e){return e.isScope?t.push.apply(t,e.content):t.push(e.content),t}),[]).concat(n)},yM=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return!1!==nM.call(t,tM)&&vM(e,t)},bM=XN.concat("iframe").join(","),wM=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return!1!==nM.call(t,bM)&&pM(e,t)};function _M(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function SM(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function CM(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function EM(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?CM(Object(n),!0).forEach((function(e){SM(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):CM(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function DM(t){return function(t){if(Array.isArray(t))return _M(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return _M(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_M(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var TM=function(t,e){if(t.length>0){var n=t[t.length-1];n!==e&&n._setPausedState(!0)}var r=t.indexOf(e);-1===r||t.splice(r,1),t.push(e)},AM=function(t,e){var n=t.indexOf(e);-1!==n&&t.splice(n,1),t.length>0&&!t[t.length-1]._isManuallyPaused()&&t[t.length-1]._setPausedState(!1)},xM=function(t){return"Tab"===(null==t?void 0:t.key)||9===(null==t?void 0:t.keyCode)},kM=function(t){return xM(t)&&!t.shiftKey},IM=function(t){return xM(t)&&t.shiftKey},OM=function(t){return setTimeout(t,0)},RM=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return"function"==typeof t?t.apply(void 0,n):t},PM=function(t){return t.target.shadowRoot&&"function"==typeof t.composedPath?t.composedPath()[0]:t.target},FM=[],NM=function(t,e){var n,r=(null==e?void 0:e.document)||document,i=(null==e?void 0:e.trapStack)||FM,o=EM({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:kM,isKeyBackward:IM},e),s={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a=function(t,e,n){return t&&void 0!==t[e]?t[e]:o[n||e]},u=function(t,e){var n="function"==typeof(null==e?void 0:e.composedPath)?e.composedPath():void 0;return s.containerGroups.findIndex((function(e){var r=e.container,i=e.tabbableNodes;return r.contains(t)||(null==n?void 0:n.includes(r))||i.find((function(e){return e===t}))}))},l=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.hasFallback,i=void 0!==n&&n,s=e.params,a=void 0===s?[]:s,u=o[t];if("function"==typeof u&&(u=u.apply(void 0,DM(a))),!0===u&&(u=void 0),!u){if(void 0===u||!1===u)return u;throw new Error("`".concat(t,"` was specified but was not a node, or did not return a node"))}var l=u;if("string"==typeof u){try{l=r.querySelector(u)}catch(e){throw new Error("`".concat(t,'` appears to be an invalid selector; error="').concat(e.message,'"'))}if(!l&&!i)throw new Error("`".concat(t,"` as selector refers to no known node"))}return l},c=function(){var t=l("initialFocus",{hasFallback:!0});if(!1===t)return!1;if(void 0===t||t&&!wM(t,o.tabbableOptions))if(u(r.activeElement)>=0)t=r.activeElement;else{var e=s.tabbableGroups[0];t=e&&e.firstTabbableNode||l("fallbackFocus")}else null===t&&(t=l("fallbackFocus"));if(!t)throw new Error("Your focus-trap needs to have at least one focusable element");return t},d=function(){if(s.containerGroups=s.containers.map((function(t){var e=function(t,e){var n;return n=(e=e||{}).getShadowRoot?sM([t],e.includeContainer,{filter:vM.bind(null,e),flatten:!1,getShadowRoot:e.getShadowRoot,shadowRootFilter:gM}):oM(t,e.includeContainer,vM.bind(null,e)),mM(n)}(t,o.tabbableOptions),n=function(t,e){return(e=e||{}).getShadowRoot?sM([t],e.includeContainer,{filter:pM.bind(null,e),flatten:!0,getShadowRoot:e.getShadowRoot}):oM(t,e.includeContainer,pM.bind(null,e))}(t,o.tabbableOptions),r=e.length>0?e[0]:void 0,i=e.length>0?e[e.length-1]:void 0,s=n.find((function(t){return yM(t)})),a=n.slice().reverse().find((function(t){return yM(t)})),u=!!e.find((function(t){return uM(t)>0}));return{container:t,tabbableNodes:e,focusableNodes:n,posTabIndexesFound:u,firstTabbableNode:r,lastTabbableNode:i,firstDomTabbableNode:s,lastDomTabbableNode:a,nextTabbableNode:function(t){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=e.indexOf(t);return i<0?r?n.slice(n.indexOf(t)+1).find((function(t){return yM(t)})):n.slice(0,n.indexOf(t)).reverse().find((function(t){return yM(t)})):e[i+(r?1:-1)]}}})),s.tabbableGroups=s.containerGroups.filter((function(t){return t.tabbableNodes.length>0})),s.tabbableGroups.length<=0&&!l("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(s.containerGroups.find((function(t){return t.posTabIndexesFound}))&&s.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},h=function(t){var e=t.activeElement;if(e)return e.shadowRoot&&null!==e.shadowRoot.activeElement?h(e.shadowRoot):e},f=function(t){!1!==t&&t!==h(document)&&(t&&t.focus?(t.focus({preventScroll:!!o.preventScroll}),s.mostRecentlyFocusedNode=t,function(t){return t.tagName&&"input"===t.tagName.toLowerCase()&&"function"==typeof t.select}(t)&&t.select()):f(c()))},p=function(t){var e=l("setReturnFocus",{params:[t]});return e||!1!==e&&t},v=function(t){var e=t.target,n=t.event,r=t.isBackward,i=void 0!==r&&r;e=e||PM(n),d();var a=null;if(s.tabbableGroups.length>0){var c=u(e,n),h=c>=0?s.containerGroups[c]:void 0;if(c<0)a=i?s.tabbableGroups[s.tabbableGroups.length-1].lastTabbableNode:s.tabbableGroups[0].firstTabbableNode;else if(i){var f=s.tabbableGroups.findIndex((function(t){var n=t.firstTabbableNode;return e===n}));if(f<0&&(h.container===e||wM(e,o.tabbableOptions)&&!yM(e,o.tabbableOptions)&&!h.nextTabbableNode(e,!1))&&(f=c),f>=0){var p=0===f?s.tabbableGroups.length-1:f-1,v=s.tabbableGroups[p];a=uM(e)>=0?v.lastTabbableNode:v.lastDomTabbableNode}else xM(n)||(a=h.nextTabbableNode(e,!1))}else{var g=s.tabbableGroups.findIndex((function(t){var n=t.lastTabbableNode;return e===n}));if(g<0&&(h.container===e||wM(e,o.tabbableOptions)&&!yM(e,o.tabbableOptions)&&!h.nextTabbableNode(e))&&(g=c),g>=0){var m=g===s.tabbableGroups.length-1?0:g+1,y=s.tabbableGroups[m];a=uM(e)>=0?y.firstTabbableNode:y.firstDomTabbableNode}else xM(n)||(a=h.nextTabbableNode(e))}}else a=l("fallbackFocus");return a},g=function(t){var e=PM(t);u(e,t)>=0||(RM(o.clickOutsideDeactivates,t)?n.deactivate({returnFocus:o.returnFocusOnDeactivate}):RM(o.allowOutsideClick,t)||t.preventDefault())},m=function(t){var e=PM(t),n=u(e,t)>=0;if(n||e instanceof Document)n&&(s.mostRecentlyFocusedNode=e);else{var r;t.stopImmediatePropagation();var i=!0;if(s.mostRecentlyFocusedNode)if(uM(s.mostRecentlyFocusedNode)>0){var a=u(s.mostRecentlyFocusedNode),l=s.containerGroups[a].tabbableNodes;if(l.length>0){var d=l.findIndex((function(t){return t===s.mostRecentlyFocusedNode}));d>=0&&(o.isKeyForward(s.recentNavEvent)?d+1<l.length&&(r=l[d+1],i=!1):d-1>=0&&(r=l[d-1],i=!1))}}else s.containerGroups.some((function(t){return t.tabbableNodes.some((function(t){return uM(t)>0}))}))||(i=!1);else i=!1;i&&(r=v({target:s.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(s.recentNavEvent)})),f(r||(s.mostRecentlyFocusedNode||c()))}s.recentNavEvent=void 0},y=function(t){(o.isKeyForward(t)||o.isKeyBackward(t))&&function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];s.recentNavEvent=t;var n=v({event:t,isBackward:e});n&&(xM(t)&&t.preventDefault(),f(n))}(t,o.isKeyBackward(t))},b=function(t){var e;"Escape"!==(null==(e=t)?void 0:e.key)&&"Esc"!==(null==e?void 0:e.key)&&27!==(null==e?void 0:e.keyCode)||!1===RM(o.escapeDeactivates,t)||(t.preventDefault(),n.deactivate())},w=function(t){var e=PM(t);u(e,t)>=0||RM(o.clickOutsideDeactivates,t)||RM(o.allowOutsideClick,t)||(t.preventDefault(),t.stopImmediatePropagation())},_=function(){if(s.active)return TM(i,n),s.delayInitialFocusTimer=o.delayInitialFocus?OM((function(){f(c())})):f(c()),r.addEventListener("focusin",m,!0),r.addEventListener("mousedown",g,{capture:!0,passive:!1}),r.addEventListener("touchstart",g,{capture:!0,passive:!1}),r.addEventListener("click",w,{capture:!0,passive:!1}),r.addEventListener("keydown",y,{capture:!0,passive:!1}),r.addEventListener("keydown",b),n},S=function(){if(s.active)return r.removeEventListener("focusin",m,!0),r.removeEventListener("mousedown",g,!0),r.removeEventListener("touchstart",g,!0),r.removeEventListener("click",w,!0),r.removeEventListener("keydown",y,!0),r.removeEventListener("keydown",b),n},C="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(t){t.some((function(t){return Array.from(t.removedNodes).some((function(t){return t===s.mostRecentlyFocusedNode}))}))&&f(c())})):void 0,E=function(){C&&(C.disconnect(),s.active&&!s.paused&&s.containers.map((function(t){C.observe(t,{subtree:!0,childList:!0})})))};return n={get active(){return s.active},get paused(){return s.paused},activate:function(t){if(s.active)return this;var e=a(t,"onActivate"),n=a(t,"onPostActivate"),i=a(t,"checkCanFocusTrap");i||d(),s.active=!0,s.paused=!1,s.nodeFocusedBeforeActivation=r.activeElement,null==e||e();var o=function(){i&&d(),_(),E(),null==n||n()};return i?(i(s.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(t){if(!s.active)return this;var e=EM({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},t);clearTimeout(s.delayInitialFocusTimer),s.delayInitialFocusTimer=void 0,S(),s.active=!1,s.paused=!1,E(),AM(i,n);var r=a(e,"onDeactivate"),u=a(e,"onPostDeactivate"),l=a(e,"checkCanReturnFocus"),c=a(e,"returnFocus","returnFocusOnDeactivate");null==r||r();var d=function(){OM((function(){c&&f(p(s.nodeFocusedBeforeActivation)),null==u||u()}))};return c&&l?(l(p(s.nodeFocusedBeforeActivation)).then(d,d),this):(d(),this)},pause:function(t){return s.active?(s.manuallyPaused=!0,this._setPausedState(!0,t)):this},unpause:function(t){return s.active?(s.manuallyPaused=!1,i[i.length-1]!==this?this:this._setPausedState(!1,t)):this},updateContainerElements:function(t){var e=[].concat(t).filter(Boolean);return s.containers=e.map((function(t){return"string"==typeof t?r.querySelector(t):t})),s.active&&d(),E(),this}},Object.defineProperties(n,{_isManuallyPaused:{value:function(){return s.manuallyPaused}},_setPausedState:{value:function(t,e){if(s.paused===t)return this;if(s.paused=t,t){var n=a(e,"onPause"),r=a(e,"onPostPause");null==n||n(),S(),E(),null==r||r()}else{var i=a(e,"onUnpause"),o=a(e,"onPostUnpause");null==i||i(),d(),_(),E(),null==o||o()}return this}}}),n.updateContainerElements(t),n};class MM{set focustrap(t){this._focustrap=t,jk()||(t?(this._trap||(this.returnFocusTo&&!this._static_options.setReturnFocus&&(this._static_options.returnFocusOnDeactivate=!0,this._static_options.setReturnFocus=this.returnFocusTo),this._trap=NM(this._el.nativeElement,this._static_options)),this._trap.activate()):this._trap&&this._trap.deactivate())}get focustrap(){return this._focustrap}constructor(t){this._el=t}ngAfterViewInit(){jk()||(this._static_options=Object.assign({clickOutsideDeactivates:!0,preventScroll:!0,returnFocusOnDeactivate:!1},this.options||{}),this._static_options.fallbackFocus=this._el.nativeElement,this._focustrap&&(this.returnFocusTo&&(this._static_options.returnFocusOnDeactivate=!0,this._static_options.setReturnFocus=this.returnFocusTo),this._trap=NM(this._el.nativeElement,this._static_options),this._trap.activate()))}ngOnDestroy(){this._trap&&this._trap.deactivate()}}MM.ɵfac=function(t){return new(t||MM)(jf(bu))},MM.ɵdir=Yp({type:MM,selectors:[["","ng-focus-trap",""]],inputs:{options:[0,"ng-trap-options","options"],returnFocusTo:[0,"return-focus","returnFocusTo"],focustrap:[0,"ng-focus-trap","focustrap"]},standalone:!1});class LM{}LM.ɵfac=function(t){return new(t||LM)},LM.ɵmod=Wp({type:LM}),LM.ɵinj=or({});const jM=["content"],zM=["dialog"],BM=["dialogContainer"],UM=(t,e,n)=>({opened:t,mobilefullscreen:e,"ng-md-fullscreen":n});function HM(t,e){}function VM(t,e){if(1&t){const t=Oy();Cy(0,"div",8),zb("onTap",(function(){ns(t);return rs(qb(2).Close())})),Ey()}2&t&&Im("zing-no-touch",!0)}function $M(t,e){if(1&t){const t=Oy();Cy(0,"div",4,0),zb("onTap",(function(e){ns(t);return rs(qb().OnDocCloseThisPopup(e))})),Cy(2,"div",5,1)(4,"span",6),Rw(5),Ey(),Ev(6,HM,0,0,"ng-template",null,2,N_)(8,VM,1,1,"div",7),Ey()()}if(2&t){const t=qb();Im("ngClass",v_(10,UM,t.opened,t.fullInMobile,t.fullscreenmode))("zing-no-touch",!0),Pd(2),Pm("ready",t.ready),Im("ng-focus-trap",t.ready)("return-focus",t.return_focus_to),Gg("aria-labelledby",t.dialog_title_id),Pd(2),Gg("id",t.dialog_title_id),Pd(),Fw(t.dialog_title),Pd(3),Im("ngIf",t.hasclose)}}class qM{constructor(t,e,n){this._zone=t,this._dservice=e,this._render=n,this.opened=!1,this.ready=!1,this.hasclose=!0,this.is_node=jk(),this.onClose=new Ja,this.fullInMobile=!1,this.fullinmobilenoheader=!1,this.fullscreenmode=!1,this.disable_header_hide_event=!1,this.dialog_title="",this.container_scroll=!1,this.ignore_header_pos=!1,this.dialog_title_id=null,this.closeByDocument=!1,this.dialog_title_id=oI("md-"),r.import("css:/modal-dialog.css").catch((t=>{console.error("Error loading modal dialog styles:",t)}))}ngOnInit(){Lk()&&r.import("native:/events").then((t=>{this._OnAndroidBack=t.OnBack((()=>{if((this.fullInMobile||this.fullscreenmode)&&this.opened)return this.Close(),!1}))}))}_destroyActiveComponent(){this._activeComponent&&(this._activeComponent.destroy(),this._activeComponent=null,this.container.clear())}Close(t,e){return this.opened=!1,this.return_focus_to=null,new Promise((n=>Y(this,void 0,void 0,(function*(){if(yield lI(),requestAnimationFrame((()=>{e||this._dservice.canScroll(!0),this._zone.run((()=>Y(this,void 0,void 0,(function*(){this.ready=!1,yield lI(),setTimeout((()=>{this._destroyActiveComponent(),n(null)}),300)}))))})),yield lI(),this.myId="",yield lI(),requestAnimationFrame((()=>{this._scroll_lock&&(this._dservice.canScroll(!0),QN(this.container_scroll?this.myElContainer.nativeElement:this.myEl.nativeElement),this._scroll_lock=!1)})),yield lI(),this._headerWatch&&(this._headerWatch.unsubscribe(),this._headerWatch=null),this.fullscreenmode&&!this.disable_header_hide_event&&(NI.emit("header:visibility",!0,!0),NI.emit("$native:modal-full","close")),yield lI(),this.fullInMobile&&!jk()&&!Bk()){let t=JN();t&&t.classList.remove("ng-md-fullscreenmobile"),this.fullscreenmode||(NI.emit("header:visibility",!0,!0),requestAnimationFrame((()=>{window.innerWidth<=580&&NI.emit("$native:modal-full","close")})))}this.onClose.emit(t)}))))}Open(t,e,n){this.opened=!0,this.ready=!0,this.hasclose=!0,this._destroyActiveComponent();let r=!1;this.myEl&&this.myEl.nativeElement&&(this._render.setAttribute(this.myEl.nativeElement,"style",""),this._render.setAttribute(this.myElContainer.nativeElement,"style",""));try{this._activeComponent=this.container.createComponent(t)}catch(t){r=!0,this.opened=!1,this.ready=!1,console.error(t)}if(r)return this;const i=this._activeComponent.instance;if(i.data=e,i.dialogScrollTo=t=>{this.myEl&&this.myEl.nativeElement&&this.myEl.nativeElement.scrollTo({top:t,left:0,behavior:"smooth"})},i.closeDialog=t=>{this._zone.run((()=>{this.Close(t)}))},i.dialogElement=this.myEl,i.dialogContainer=this.myElContainer,i.dialogScrollLock=t=>{this._zone.run((()=>{this.BodyScrollLock(t)}))},n&&(n.hostid&&(this.myId=n.hostid),"withclose"in n&&(this.hasclose=n.withclose),n.return_focus_to&&(this.return_focus_to=n.return_focus_to)),this.fullscreenmode?(NI.emit("header:visibility",!1,!0),NI.emit("$native:modal-full","open"),n&&!n.fullScreenClose&&(this.hasclose=!1)):(this.ignore_header_pos||this.fullinmobilenoheader?this.myEl.nativeElement.style.top="":this._headerWatch=NI.subscribe("header:position-change",(t=>{this.fullInMobile&&window.innerWidth<=580?this.myEl.nativeElement.style.top=0:t&&t>0&&this.myEl?this.myEl.nativeElement.style.top=t+"px":this.myEl.nativeElement.style.top=""})),this.fullInMobile&&window.innerWidth<=580&&(NI.emit("$native:modal-full","open"),NI.emit("header:visibility",!1,!0))),NI.emit("$app:modal-open",this),!this._scroll_lock&&this.myEl&&((Lk()||window.innerWidth<768||Bk())&&(this._dservice.canScroll(!1),KN(this.container_scroll?this.myElContainer.nativeElement:this.myEl.nativeElement)),this._scroll_lock=!0),this.fullInMobile&&this.fullinmobilenoheader){let t=JN();t&&t.classList.add("ng-md-fullscreenmobile")}return this.closeByDocument=(null==n?void 0:n.closeByDocument)||!1,this}UpdateData(t){this._activeComponent.instance.data=t}GetActiveComponent(){return this._activeComponent.instance}ngOnDestroy(){let t=!1;if((this._activeComponent||this.opened)&&(t=!0),this._destroyActiveComponent(),this._headerWatch&&(this._headerWatch.unsubscribe(),this._headerWatch=null),this.onClose.complete&&this.onClose.complete(),this._scroll_lock&&QN(this.container_scroll?this.myElContainer.nativeElement:this.myEl.nativeElement),this.fullscreenmode&&t&&!this.disable_header_hide_event&&(NI.emit("header:visibility",!0,!0),NI.emit("$native:modal-full","close")),this.fullInMobile&&!jk()&&t){if(this.fullinmobilenoheader){let t=JN();t&&t.classList.remove("ng-md-fullscreenmobile")}window.innerWidth<=580&&NI.emit("$native:modal-full","close")}this.myEl&&this.myEl.nativeElement&&(this._render.setAttribute(this.myEl.nativeElement,"style",""),this._render.setAttribute(this.myElContainer.nativeElement,"style","")),this._dservice.canScroll(!0),this._OnAndroidBack&&this._OnAndroidBack(),this._OnAndroidBack=null}BodyScrollLock(t){t?KN(this.container_scroll?this.myElContainer.nativeElement:this.myEl.nativeElement):QN(this.container_scroll?this.myElContainer.nativeElement:this.myEl.nativeElement)}OnDocCloseThisPopup(t){var e;this.closeByDocument&&(null===(e=this.myEl)||void 0===e?void 0:e.nativeElement)==(null==t?void 0:t.target)&&this.Close()}}qM.ɵfac=function(t){return new(t||qM)(jf(ou),jf(cO),jf(Af))},qM.ɵcmp=Vp({type:qM,selectors:[["modal-dialog"]],viewQuery:function(t,e){if(1&t&&(sw(jM,5,tp),sw(zM,5),sw(BM,5)),2&t){let t;aw(t=uw())&&(e.container=t.first),aw(t=uw())&&(e.myEl=t.first),aw(t=uw())&&(e.myElContainer=t.first)}},hostAttrs:["ngSkipHydration","true"],hostVars:3,hostBindings:function(t,e){2&t&&(Gg("id",e.myId),Pm("modal-with-close",e.hasclose))},inputs:{fullInMobile:[0,"mobile-full","fullInMobile"],fullinmobilenoheader:[0,"mobile-full-no-header","fullinmobilenoheader"],fullscreenmode:[0,"fullscreen","fullscreenmode"],disable_header_hide_event:[0,"disable-header-hide-event","disable_header_hide_event"],dialog_title:[0,"title","dialog_title"],container_scroll:[0,"container-scroll","container_scroll"],ignore_header_pos:[0,"ignore-header","ignore_header_pos"]},outputs:{onClose:"onClose"},standalone:!1,decls:1,vars:1,consts:[["dialog",""],["dialogContainer",""],["content",""],["class","ng-modal-dialog","zing-touch","",3,"ngClass","zing-no-touch","onTap",4,"ngIf"],["zing-touch","",1,"ng-modal-dialog",3,"onTap","ngClass","zing-no-touch"],["role","dialog","aria-modal","true","tabindex","0",1,"ng-modal-container",3,"ng-focus-trap","return-focus"],["hidden","true"],["class","close-btn af-icon-cross-slim","zing-touch","","aria-label","Close overlay","role","button","tabindex","0",3,"zing-no-touch","onTap",4,"ngIf"],["zing-touch","","aria-label","Close overlay","role","button","tabindex","0",1,"close-btn","af-icon-cross-slim",3,"onTap","zing-no-touch"]],template:function(t,e){1&t&&Ev(0,$M,9,14,"div",3),2&t&&Im("ngIf",!e.is_node)},dependencies:[PD,zD,JI,MM],encapsulation:2});class WM{}WM.ɵfac=function(t){return new(t||WM)},WM.ɵmod=Wp({type:WM}),WM.ɵinj=or({imports:[bT,UN,LM]});class GM{set show(t){let e=this;t?(e._show=!0,e._showtimeout&&clearTimeout(e._showtimeout),e._showtimeout=setTimeout((()=>{e._show=!1,e._cd.detectChanges(),e.onhidden.emit()}),e.timer)):e.close_on_change&&(e._show=!1,e._showtimeout&&clearTimeout(e._showtimeout),e.onhidden.emit()),e._cd.detectChanges()}get show(){return this._show}constructor(t){this._cd=t,this.timer=2500,this.message="something went wrong, please retry",this.close_on_change=!1,this.onhidden=new Ja,this._show=!1,this.center=!1}ngOnDestroy(){clearTimeout(this._showtimeout)}}GM.ɵfac=function(t){return new(t||GM)(jf(HS))},GM.ɵcmp=Vp({type:GM,selectors:[["error-toast"]],hostAttrs:["ngSkipHydration","true"],hostVars:2,hostBindings:function(t,e){2&t&&Pm("error-toast-center",e.center)},inputs:{timer:"timer",message:"message",close_on_change:[0,"close-on-change","close_on_change"],show:"show",center:"center"},outputs:{onhidden:"onhidden"},standalone:!1,decls:2,vars:2,consts:[["hidden","true","role","alert","tabindex","-1","aria-atomic","true",1,"errortoast",3,"ng-hidden"]],template:function(t,e){1&t&&(Cy(0,"div",0),Rw(1),Ey()),2&t&&(Im("ng-hidden",!e.show),Pd(),Fw(e.message))},dependencies:[DN],encapsulation:2});class ZM{}ZM.ɵfac=function(t){return new(t||ZM)},ZM.ɵmod=Wp({type:ZM}),ZM.ɵinj=or({imports:[bT,UN]});const YM=new class{constructor(){this.store={},this.groups={}}getKey(t){return this.store[t]}setKey(t,e){this.store[t]=e}group(t,e,n){if(e&&!Yk(e)&&!Wk(e))throw new TypeError("Data provided for "+t+" is not a plain object or array. The given value is "+typeof e);return e&&(this.groups[t]=n?JSON.parse(JSON.stringify(e)):e),this.groups[t]||(this.groups[t]={}),this.groups[t]}getGroupList(){return Object.keys(this.groups)}hasGroup(t){return this.groups.hasOwnProperty(t)}clearKey(t){this.store.hasOwnProperty(t)&&delete this.store[t]}clearGroup(t){"all"==t?this.groups={}:this.groups.hasOwnProperty(t)&&delete this.groups[t]}clearAll(){this.store={},this.groups={}}pageLoadPopulate(){if(!jk())try{let t=document.querySelectorAll('script[type="application/json"][id*="jsondata-"]');if(t.length>0)for(let e=0,n=t.length;e<n;e++){let n,r=t[e],i=r.id.replace("jsondata-","");if(i){try{n=JSON.parse(r.innerHTML)}catch(t){console.warn("could not parse data for "+i)}n&&(this.groups[i]=n)}r.parentNode.removeChild(r)}}catch(t){console.error(t)}}},KM="user_sign_on",QM="mw_signon";function JM(){YI.group("mw");let t=YI.get(KM)||null,e=null;if(Nk()&&HI.get(QM))try{e=JSON.parse(HI.get(QM))}catch(t){}else t&&(e=t);if(Nk()&&e&&(e.groupId=YI.get("logout_group_id")||null,e.has_transactions=YI.get("has_transactions")||!1,e.userPlan=YI.get("userPlan")||"WALLETHUB_BASIC",e.userDashboards=YI.get("userDashboards")||null,e.has_investment_activities=YI.get("has_investment_activities")||!1),Nk()&&e&&(e.enhanced=YI.get("enhanced")||!1),e){"full"in e&&!0!==e.full&&YI.get("full")&&(e.full=!0),e.accountId=YI.get("accountId")||null;let t=YI.get("activePlan");t&&!rI(null==t?void 0:t.planId)&&(e.activePlanId=btoa(null==t?void 0:t.planId),e.activePlanCancelled=(null==t?void 0:t.cancelled)||!1,e.activePlanPendingDowngrade=(null==t?void 0:t.pendingDowngrade)||!1,e.activePlanPendingPlanChange=(null==t?void 0:t.pendingPlanChange)||!1,e.activePlanHasComingSubscription=(null==t?void 0:t.hasComingSubscription)||!1,e.activePlanIsAppleOrder=(null==t?void 0:t.isAppleOrder)||!1,e.activePlanOrderId=(null==t?void 0:t.orderId)||null,e.activePlanIsInfluencer=(null==t?void 0:t.isInfluencer)||!1),e.lo_pvt_id=YI.get("lo_pvt_id")||null,e["auth-user"]=YI.get("auth-user")||null,e.authUser=YI.get("auth-user")||null}return e}function XM(){var t,e;return YI.group("mw"),Lk()?null===(e=JM())||void 0===e?void 0:e.full:YI.get("full")||(null===(t=JM())||void 0===t?void 0:t.full)}function tL(t){var e;let n=null===(e=JM())||void 0===e?void 0:e.groupId;return n&&t.includes(n)}var eL,nL,rL,iL,oL,sL,aL,uL,lL,cL,dL,hL,fL,pL,vL,gL,mL,yL,bL,wL,_L,SL,CL;function EL(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function DL(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?EL(Object(n),!0).forEach((function(e){TL(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):EL(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function TL(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const AL="primary",xL=Symbol("RouteTitle");class kL{constructor(t){TL(this,"params",void 0),this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function IL(t){return new kL(t)}function OL(t,e,n){const r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length<t.length))return null;const i={};for(let e=0;e<r.length;e++){const n=r[e],o=t[e];if(":"===n[0])i[n.substring(1)]=o;else if(n!==o.path)return null}return{consumed:t.slice(0,r.length),posParams:i}}function RL(t,e){const n=t?PL(t):void 0,r=e?PL(e):void 0;if(!n||!r||n.length!=r.length)return!1;let i;for(let r=0;r<n.length;r++)if(i=n[r],!FL(t[i],e[i]))return!1;return!0}function PL(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function FL(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;const n=[...t].sort(),r=[...e].sort();return n.every(((t,e)=>r[e]===t))}return t===e}function NL(t){return t.length>0?t[t.length-1]:null}function ML(t){return(e=t)&&(e instanceof Et||rt(e.lift)&&rt(e.subscribe))?t:Jv(t)?de(Promise.resolve(t)):he(t);var e}const LL={exact:function t(e,n,r){if(!WL(e.segments,n.segments))return!1;if(!HL(e.segments,n.segments,r))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children){if(!e.children[i])return!1;if(!t(e.children[i],n.children[i],r))return!1}return!0},subset:BL},jL={exact:function(t,e){return RL(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every((n=>FL(t[n],e[n])))},ignored:()=>!0};function zL(t,e,n){return LL[n.paths](t.root,e.root,n.matrixParams)&&jL[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function BL(t,e,n){return UL(t,e,e.segments,n)}function UL(t,e,n,r){if(t.segments.length>n.length){const i=t.segments.slice(0,n.length);return!!WL(i,n)&&(!e.hasChildren()&&!!HL(i,n,r))}if(t.segments.length===n.length){if(!WL(t.segments,n))return!1;if(!HL(t.segments,n,r))return!1;for(const n in e.children){if(!t.children[n])return!1;if(!BL(t.children[n],e.children[n],r))return!1}return!0}{const i=n.slice(0,t.segments.length),o=n.slice(t.segments.length);return!!WL(t.segments,i)&&(!!HL(t.segments,i,r)&&(!!t.children[AL]&&UL(t.children[AL],e,o,r)))}}function HL(t,e,n){return e.every(((e,r)=>jL[n](t[r].parameters,e.parameters)))}class VL{constructor(t=new $L([],{}),e={},n=null){TL(this,"root",void 0),TL(this,"queryParams",void 0),TL(this,"fragment",void 0),TL(this,"_queryParamMap",void 0),this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){var t;return null!==(t=this._queryParamMap)&&void 0!==t||(this._queryParamMap=IL(this.queryParams)),this._queryParamMap}toString(){return YL.serialize(this)}}class $L{constructor(t,e){TL(this,"segments",void 0),TL(this,"children",void 0),TL(this,"parent",null),this.segments=t,this.children=e,Object.values(e).forEach((t=>t.parent=this))}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return KL(this)}}class qL{constructor(t,e){TL(this,"path",void 0),TL(this,"parameters",void 0),TL(this,"_parameterMap",void 0),this.path=t,this.parameters=e}get parameterMap(){var t;return null!==(t=this._parameterMap)&&void 0!==t||(this._parameterMap=IL(this.parameters)),this._parameterMap}toString(){return rj(this)}}function WL(t,e){return t.length===e.length&&t.every(((t,n)=>t.path===e[n].path))}class GL{}eL=GL,TL(GL,"ɵfac",(function(t){return new(t||eL)})),TL(GL,"ɵprov",ir({token:eL,factory:()=>new ZL,providedIn:"root"}));class ZL{parse(t){const e=new lj(t);return new VL(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${QL(t.root,!0)}`,n=function(t){const e=Object.entries(t).map((([t,e])=>Array.isArray(e)?e.map((e=>`${XL(t)}=${XL(e)}`)).join("&"):`${XL(t)}=${XL(e)}`)).filter((t=>t));return e.length?`?${e.join("&")}`:""}(t.queryParams);var r;return`${e}${n}${"string"==typeof t.fragment?`#${r=t.fragment,encodeURI(r)}`:""}`}}const YL=new ZL;function KL(t){return t.segments.map((t=>rj(t))).join("/")}function QL(t,e){if(!t.hasChildren())return KL(t);if(e){const e=t.children[AL]?QL(t.children[AL],!1):"",n=[];return Object.entries(t.children).forEach((([t,e])=>{t!==AL&&n.push(`${t}:${QL(e,!1)}`)})),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return Object.entries(t.children).forEach((([t,r])=>{t===AL&&(n=n.concat(e(r,t)))})),Object.entries(t.children).forEach((([t,r])=>{t!==AL&&(n=n.concat(e(r,t)))})),n}(t,((e,n)=>n===AL?[QL(t.children[AL],!1)]:[`${n}:${QL(e,!1)}`]));return 1===Object.keys(t.children).length&&null!=t.children[AL]?`${KL(t)}/${e[0]}`:`${KL(t)}/(${e.join("//")})`}}function JL(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function XL(t){return JL(t).replace(/%3B/gi,";")}function tj(t){return JL(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ej(t){return decodeURIComponent(t)}function nj(t){return ej(t.replace(/\+/g,"%20"))}function rj(t){return`${tj(t.path)}${e=t.parameters,Object.entries(e).map((([t,e])=>`;${tj(t)}=${tj(e)}`)).join("")}`;var e}const ij=/^[^\/()?;#]+/;function oj(t){const e=t.match(ij);return e?e[0]:""}const sj=/^[^\/()?;=#]+/;const aj=/^[^=?&#]+/;const uj=/^[^&#]+/;class lj{constructor(t){TL(this,"url",void 0),TL(this,"remaining",void 0),this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new $L([],{}):new $L([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[AL]=new $L(t,e)),n}parseSegment(){const t=oj(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Fn(4009,!1);return this.capture(t),new qL(ej(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=function(t){const e=t.match(sj);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=oj(this.remaining);t&&(n=t,this.capture(n))}t[ej(e)]=ej(n)}parseQueryParam(t){const e=function(t){const e=t.match(aj);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(uj);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const r=nj(e),i=nj(n);if(t.hasOwnProperty(r)){let e=t[r];Array.isArray(e)||(e=[e],t[r]=e),e.push(i)}else t[r]=i}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=oj(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Fn(4010,!1);let i;n.indexOf(":")>-1?(i=n.slice(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=AL);const o=this.parseChildren();e[i]=1===Object.keys(o).length?o[AL]:new $L([],o),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Fn(4011,!1)}}function cj(t){return t.segments.length>0?new $L([],{[AL]:t}):t}function dj(t){const e={};for(const[n,r]of Object.entries(t.children)){const t=dj(r);if(n===AL&&0===t.segments.length&&t.hasChildren())for(const[n,r]of Object.entries(t.children))e[n]=r;else(t.segments.length>0||t.hasChildren())&&(e[n]=t)}return function(t){if(1===t.numberOfChildren&&t.children[AL]){const e=t.children[AL];return new $L(t.segments.concat(e.segments),e.children)}return t}(new $L(t.segments,e))}function hj(t){return t instanceof VL}function fj(t){let e;const n=function n(r){const i={};for(const t of r.children){const e=n(t);i[t.outlet]=e}const o=new $L(r.url,i);return r===t&&(e=o),o}(t.root),r=cj(n);return null!=e?e:r}function pj(t,e,n,r){let i=t;for(;i.parent;)i=i.parent;if(0===e.length)return mj(i,i,i,n,r);const o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new bj(!0,0,t);let e=0,n=!1;const r=t.reduce(((t,r,i)=>{if("object"==typeof r&&null!=r){if(r.outlets){const e={};return Object.entries(r.outlets).forEach((([t,n])=>{e[t]="string"==typeof n?n.split("/"):n})),[...t,{outlets:e}]}if(r.segmentPath)return[...t,r.segmentPath]}return"string"!=typeof r?[...t,r]:0===i?(r.split("/").forEach(((r,i)=>{0==i&&"."===r||(0==i&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))})),t):[...t,r]}),[]);return new bj(n,e,r)}(e);if(o.toRoot())return mj(i,i,new $L([],{}),n,r);const s=function(t,e,n){if(t.isAbsolute)return new wj(e,!0,0);if(!n)return new wj(e,!1,NaN);if(null===n.parent)return new wj(n,!0,0);const r=vj(t.commands[0])?0:1,i=n.segments.length-1+r;return function(t,e,n){let r=t,i=e,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new Fn(4005,!1);i=r.segments.length}return new wj(r,!1,i-o)}(n,i,t.numberOfDoubleDots)}(o,i,t),a=s.processChildren?Sj(s.segmentGroup,s.index,o.commands):_j(s.segmentGroup,s.index,o.commands);return mj(i,s.segmentGroup,a,n,r)}function vj(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function gj(t){return"object"==typeof t&&null!=t&&t.outlets}function mj(t,e,n,r,i){let o,s={};r&&Object.entries(r).forEach((([t,e])=>{s[t]=Array.isArray(e)?e.map((t=>`${t}`)):`${e}`})),o=t===e?n:yj(t,e,n);const a=cj(dj(o));return new VL(a,s,i)}function yj(t,e,n){const r={};return Object.entries(t.children).forEach((([t,i])=>{r[t]=i===e?n:yj(i,e,n)})),new $L(t.segments,r)}class bj{constructor(t,e,n){if(TL(this,"isAbsolute",void 0),TL(this,"numberOfDoubleDots",void 0),TL(this,"commands",void 0),this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&vj(n[0]))throw new Fn(4003,!1);const r=n.find(gj);if(r&&r!==NL(n))throw new Fn(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class wj{constructor(t,e,n){TL(this,"segmentGroup",void 0),TL(this,"processChildren",void 0),TL(this,"index",void 0),this.segmentGroup=t,this.processChildren=e,this.index=n}}function _j(t,e,n){if(null!=t||(t=new $L([],{})),0===t.segments.length&&t.hasChildren())return Sj(t,e,n);const r=function(t,e,n){let r=0,i=e;const o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(r>=n.length)return o;const e=t.segments[i],s=n[r];if(gj(s))break;const a=`${s}`,u=r<n.length-1?n[r+1]:null;if(i>0&&void 0===a)break;if(a&&u&&"object"==typeof u&&void 0===u.outlets){if(!Tj(a,u,e))return o;r+=2}else{if(!Tj(a,{},e))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){const e=new $L(t.segments.slice(0,r.pathIndex),{});return e.children[AL]=new $L(t.segments.slice(r.pathIndex),t.children),Sj(e,0,i)}return r.match&&0===i.length?new $L(t.segments,{}):r.match&&!t.hasChildren()?Cj(t,e,n):r.match?Sj(t,0,i):Cj(t,e,n)}function Sj(t,e,n){if(0===n.length)return new $L(t.segments,{});{const r=function(t){return gj(t[0])?t[0].outlets:{[AL]:t}}(n),i={};if(Object.keys(r).some((t=>t!==AL))&&t.children[AL]&&1===t.numberOfChildren&&0===t.children[AL].segments.length){const r=Sj(t.children[AL],e,n);return new $L(t.segments,r.children)}return Object.entries(r).forEach((([n,r])=>{"string"==typeof r&&(r=[r]),null!==r&&(i[n]=_j(t.children[n],e,r))})),Object.entries(t.children).forEach((([t,e])=>{void 0===r[t]&&(i[t]=e)})),new $L(t.segments,i)}}function Cj(t,e,n){const r=t.segments.slice(0,e);let i=0;for(;i<n.length;){const o=n[i];if(gj(o)){const t=Ej(o.outlets);return new $L(r,t)}if(0===i&&vj(n[0])){const o=t.segments[e];r.push(new qL(o.path,Dj(n[0]))),i++;continue}const s=gj(o)?o.outlets[AL]:`${o}`,a=i<n.length-1?n[i+1]:null;s&&a&&vj(a)?(r.push(new qL(s,Dj(a))),i+=2):(r.push(new qL(s,{})),i++)}return new $L(r,{})}function Ej(t){const e={};return Object.entries(t).forEach((([t,n])=>{"string"==typeof n&&(n=[n]),null!==n&&(e[t]=Cj(new $L([],{}),0,n))})),e}function Dj(t){const e={};return Object.entries(t).forEach((([t,n])=>e[t]=`${n}`)),e}function Tj(t,e,n){return t==n.path&&RL(e,n.parameters)}const Aj="imperative";var xj,kj,Ij;!function(t){t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped"}(xj||(xj={}));class Oj{constructor(t,e){TL(this,"id",void 0),TL(this,"url",void 0),this.id=t,this.url=e}}class Rj extends Oj{constructor(t,e,n="imperative",r=null){super(t,e),TL(this,"type",xj.NavigationStart),TL(this,"navigationTrigger",void 0),TL(this,"restoredState",void 0),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Pj extends Oj{constructor(t,e,n){super(t,e),TL(this,"urlAfterRedirects",void 0),TL(this,"type",xj.NavigationEnd),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}!function(t){t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected"}(kj||(kj={})),function(t){t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy"}(Ij||(Ij={}));class Fj extends Oj{constructor(t,e,n,r){super(t,e),TL(this,"reason",void 0),TL(this,"code",void 0),TL(this,"type",xj.NavigationCancel),this.reason=n,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Nj extends Oj{constructor(t,e,n,r){super(t,e),TL(this,"reason",void 0),TL(this,"code",void 0),TL(this,"type",xj.NavigationSkipped),this.reason=n,this.code=r}}class Mj extends Oj{constructor(t,e,n,r){super(t,e),TL(this,"error",void 0),TL(this,"target",void 0),TL(this,"type",xj.NavigationError),this.error=n,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Lj extends Oj{constructor(t,e,n,r){super(t,e),TL(this,"urlAfterRedirects",void 0),TL(this,"state",void 0),TL(this,"type",xj.RoutesRecognized),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class jj extends Oj{constructor(t,e,n,r){super(t,e),TL(this,"urlAfterRedirects",void 0),TL(this,"state",void 0),TL(this,"type",xj.GuardsCheckStart),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class zj extends Oj{constructor(t,e,n,r,i){super(t,e),TL(this,"urlAfterRedirects",void 0),TL(this,"state",void 0),TL(this,"shouldActivate",void 0),TL(this,"type",xj.GuardsCheckEnd),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Bj extends Oj{constructor(t,e,n,r){super(t,e),TL(this,"urlAfterRedirects",void 0),TL(this,"state",void 0),TL(this,"type",xj.ResolveStart),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Uj extends Oj{constructor(t,e,n,r){super(t,e),TL(this,"urlAfterRedirects",void 0),TL(this,"state",void 0),TL(this,"type",xj.ResolveEnd),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Hj{constructor(t){TL(this,"route",void 0),TL(this,"type",xj.RouteConfigLoadStart),this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Vj{constructor(t){TL(this,"route",void 0),TL(this,"type",xj.RouteConfigLoadEnd),this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class $j{constructor(t){TL(this,"snapshot",void 0),TL(this,"type",xj.ChildActivationStart),this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class qj{constructor(t){TL(this,"snapshot",void 0),TL(this,"type",xj.ChildActivationEnd),this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Wj{constructor(t){TL(this,"snapshot",void 0),TL(this,"type",xj.ActivationStart),this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Gj{constructor(t){TL(this,"snapshot",void 0),TL(this,"type",xj.ActivationEnd),this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Zj{constructor(t,e,n){TL(this,"routerEvent",void 0),TL(this,"position",void 0),TL(this,"anchor",void 0),TL(this,"type",xj.Scroll),this.routerEvent=t,this.position=e,this.anchor=n}toString(){const t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}}class Yj{}class Kj{constructor(t,e){TL(this,"url",void 0),TL(this,"navigationBehaviorOptions",void 0),this.url=t,this.navigationBehaviorOptions=e}}function Qj(t){return t.outlet||AL}function Jj(t){var e;if(!t)return null;if(null!==(e=t.routeConfig)&&void 0!==e&&e._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(null!=t&&t._loadedInjector)return t._loadedInjector;if(null!=t&&t._injector)return t._injector}return null}class Xj{get injector(){var t,e;return null!==(t=Jj(null===(e=this.route)||void 0===e?void 0:e.snapshot))&&void 0!==t?t:this.rootInjector}constructor(t){TL(this,"rootInjector",void 0),TL(this,"outlet",null),TL(this,"route",null),TL(this,"children",void 0),TL(this,"attachRef",null),this.rootInjector=t,this.children=new tz(this.rootInjector)}}class tz{constructor(t){TL(this,"rootInjector",void 0),TL(this,"contexts",new Map),this.rootInjector=t}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new Xj(this.rootInjector),this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}nL=tz,TL(tz,"ɵfac",(function(t){return new(t||nL)(jr(Pi))})),TL(tz,"ɵprov",ir({token:nL,factory:nL.ɵfac,providedIn:"root"}));class ez{constructor(t){TL(this,"_root",void 0),this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=nz(t,this._root);return e?e.children.map((t=>t.value)):[]}firstChild(t){const e=nz(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=rz(t,this._root);if(e.length<2)return[];return e[e.length-2].children.map((t=>t.value)).filter((e=>e!==t))}pathFromRoot(t){return rz(t,this._root).map((t=>t.value))}}function nz(t,e){if(t===e.value)return e;for(const n of e.children){const e=nz(t,n);if(e)return e}return null}function rz(t,e){if(t===e.value)return[e];for(const n of e.children){const r=rz(t,n);if(r.length)return r.unshift(e),r}return[]}class iz{constructor(t,e){TL(this,"value",void 0),TL(this,"children",void 0),this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function oz(t){const e={};return t&&t.children.forEach((t=>e[t.value.outlet]=t)),e}class sz extends ez{constructor(t,e){super(t),TL(this,"snapshot",void 0),this.snapshot=e,hz(this,t)}toString(){return this.snapshot.toString()}}function az(t){const e=function(t){const e={},n={},r={},i="",o=new cz([],e,r,i,n,AL,t,null,{});return new dz("",new iz(o,[]))}(t),n=new Nt([new qL("",{})]),r=new Nt({}),i=new Nt({}),o=new Nt({}),s=new Nt(""),a=new uz(n,r,o,s,i,AL,t,e.root);return a.snapshot=e.root,new sz(new iz(a,[]),e)}class uz{constructor(t,e,n,r,i,o,s,a){var u,l;TL(this,"urlSubject",void 0),TL(this,"paramsSubject",void 0),TL(this,"queryParamsSubject",void 0),TL(this,"fragmentSubject",void 0),TL(this,"dataSubject",void 0),TL(this,"outlet",void 0),TL(this,"component",void 0),TL(this,"snapshot",void 0),TL(this,"_futureSnapshot",void 0),TL(this,"_routerState",void 0),TL(this,"_paramMap",void 0),TL(this,"_queryParamMap",void 0),TL(this,"title",void 0),TL(this,"url",void 0),TL(this,"params",void 0),TL(this,"queryParams",void 0),TL(this,"fragment",void 0),TL(this,"data",void 0),this.urlSubject=t,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=r,this.dataSubject=i,this.outlet=o,this.component=s,this._futureSnapshot=a,this.title=null!==(u=null===(l=this.dataSubject)||void 0===l?void 0:l.pipe(ve((t=>t[xL]))))&&void 0!==u?u:he(void 0),this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){var t;return null!==(t=this._paramMap)&&void 0!==t||(this._paramMap=this.params.pipe(ve((t=>IL(t))))),this._paramMap}get queryParamMap(){var t;return null!==(t=this._queryParamMap)&&void 0!==t||(this._queryParamMap=this.queryParams.pipe(ve((t=>IL(t))))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function lz(t,e,n="emptyOnly"){var r;let i;const{routeConfig:o}=t;var s;null===e||"always"!==n&&""!==(null==o?void 0:o.path)&&(e.component||null!==(r=e.routeConfig)&&void 0!==r&&r.loadComponent)?i={params:DL({},t.params),data:DL({},t.data),resolve:DL(DL({},t.data),null!==(s=t._resolvedData)&&void 0!==s?s:{})}:i={params:DL(DL({},e.params),t.params),data:DL(DL({},e.data),t.data),resolve:DL(DL(DL(DL({},t.data),e.data),null==o?void 0:o.data),t._resolvedData)};return o&&gz(o)&&(i.resolve[xL]=o.title),i}class cz{get title(){var t;return null===(t=this.data)||void 0===t?void 0:t[xL]}constructor(t,e,n,r,i,o,s,a,u){TL(this,"url",void 0),TL(this,"params",void 0),TL(this,"queryParams",void 0),TL(this,"fragment",void 0),TL(this,"data",void 0),TL(this,"outlet",void 0),TL(this,"component",void 0),TL(this,"routeConfig",void 0),TL(this,"_resolve",void 0),TL(this,"_resolvedData",void 0),TL(this,"_routerState",void 0),TL(this,"_paramMap",void 0),TL(this,"_queryParamMap",void 0),this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=s,this.routeConfig=a,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){var t;return null!==(t=this._paramMap)&&void 0!==t||(this._paramMap=IL(this.params)),this._paramMap}get queryParamMap(){var t;return null!==(t=this._queryParamMap)&&void 0!==t||(this._queryParamMap=IL(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map((t=>t.toString())).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class dz extends ez{constructor(t,e){super(e),TL(this,"url",void 0),this.url=t,hz(this,e)}toString(){return fz(this._root)}}function hz(t,e){e.value._routerState=t,e.children.forEach((e=>hz(t,e)))}function fz(t){const e=t.children.length>0?` { ${t.children.map(fz).join(", ")} } `:"";return`${t.value}${e}`}function pz(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,RL(e.queryParams,n.queryParams)||t.queryParamsSubject.next(n.queryParams),e.fragment!==n.fragment&&t.fragmentSubject.next(n.fragment),RL(e.params,n.params)||t.paramsSubject.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!RL(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.urlSubject.next(n.url),RL(e.data,n.data)||t.dataSubject.next(n.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function vz(t,e){const n=RL(t.params,e.params)&&(r=t.url,i=e.url,WL(r,i)&&r.every(((t,e)=>RL(t.parameters,i[e].parameters))));var r,i;const o=!t.parent!=!e.parent;return n&&!o&&(!t.parent||vz(t.parent,e.parent))}function gz(t){return"string"==typeof t.title||null===t.title}const mz=new fr("");class yz{constructor(){TL(this,"activated",null),TL(this,"_activatedRoute",null),TL(this,"name",AL),TL(this,"activateEvents",new Ja),TL(this,"deactivateEvents",new Ja),TL(this,"attachEvents",new Ja),TL(this,"detachEvents",new Ja),TL(this,"routerOutletData",mu(void 0)),TL(this,"parentContexts",Br(tz)),TL(this,"location",Br(tp)),TL(this,"changeDetector",Br(HS)),TL(this,"inputBinder",Br(wz,{optional:!0})),TL(this,"supportsBindingToComponentInputs",!0)}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){const{firstChange:e,previousValue:n}=t.name;if(e)return;this.isTrackedInParentContexts(n)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(n)),this.initializeOutletWithName()}}ngOnDestroy(){var t;this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),null===(t=this.inputBinder)||void 0===t||t.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){var e;return(null===(e=this.parentContexts.getContext(t))||void 0===e?void 0:e.outlet)===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);null!=t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Fn(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Fn(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Fn(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,e){var n;this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView),null===(n=this.inputBinder)||void 0===n||n.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){var n;if(this.isActivated)throw new Fn(4013,!1);this._activatedRoute=t;const r=this.location,i=t.snapshot.component,o=this.parentContexts.getOrCreateContext(this.name).children,s=new bz(t,o,r.injector,this.routerOutletData);this.activated=r.createComponent(i,{index:r.length,injector:s,environmentInjector:e}),this.changeDetector.markForCheck(),null===(n=this.inputBinder)||void 0===n||n.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}rL=yz,TL(yz,"ɵfac",(function(t){return new(t||rL)})),TL(yz,"ɵdir",Yp({type:rL,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[yo]}));class bz{__ngOutletInjector(t){return new bz(this.route,this.childContexts,t,this.outletData)}constructor(t,e,n,r){TL(this,"route",void 0),TL(this,"childContexts",void 0),TL(this,"parent",void 0),TL(this,"outletData",void 0),this.route=t,this.childContexts=e,this.parent=n,this.outletData=r}get(t,e){return t===uz?this.route:t===tz?this.childContexts:t===mz?this.outletData:this.parent.get(t,e)}}const wz=new fr("");class _z{constructor(){TL(this,"outletDataSubscriptions",new Map)}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){var e;null===(e=this.outletDataSubscriptions.get(t))||void 0===e||e.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){const{activatedRoute:e}=t,n=Ce([e.queryParams,e.params,e.data]).pipe(Be((([t,e,n],r)=>(n=DL(DL(DL({},t),e),n),0===r?he(n):Promise.resolve(n))))).subscribe((n=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==e||null===e.component)return void this.unsubscribeFromRouteData(t);const r=function(t){const e=pi(t);if(!e)return null;const n=new Jf(e);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}(e.component);if(r)for(const{templateName:e}of r.inputs)t.activatedComponentRef.setInput(e,n[e]);else this.unsubscribeFromRouteData(t)}));this.outletDataSubscriptions.set(t,n)}}function Sz(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=e.value;const i=function(t,e,n){return e.children.map((e=>{for(const r of n.children)if(t.shouldReuseRoute(e.value,r.value.snapshot))return Sz(t,e,r);return Sz(t,e)}))}(t,e,n);return new iz(r,i)}{if(t.shouldAttach(e.value)){const n=t.retrieve(e.value);if(null!==n){const r=n.route;return r.value._futureSnapshot=e.value,r.children=e.children.map((e=>Sz(t,e))),r}}const n=(r=e.value,new uz(new Nt(r.url),new Nt(r.params),new Nt(r.queryParams),new Nt(r.fragment),new Nt(r.data),r.outlet,r.component,r)),i=e.children.map((e=>Sz(t,e)));return new iz(n,i)}var r}iL=_z,TL(_z,"ɵfac",(function(t){return new(t||iL)})),TL(_z,"ɵprov",ir({token:iL,factory:iL.ɵfac}));class Cz{constructor(t,e){TL(this,"redirectTo",void 0),TL(this,"navigationBehaviorOptions",void 0),this.redirectTo=t,this.navigationBehaviorOptions=e}}const Ez="ngNavigationCancelingError";function Dz(t,e){const{redirectTo:n,navigationBehaviorOptions:r}=hj(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=Tz(!1,kj.Redirect);return i.url=n,i.navigationBehaviorOptions=r,i}function Tz(t,e){const n=new Error(`NavigationCancelingError: ${t||""}`);return n[Ez]=!0,n.cancellationCode=e,n}function Az(t){return!!t&&t[Ez]}class xz{constructor(t,e,n,r,i){TL(this,"routeReuseStrategy",void 0),TL(this,"futureState",void 0),TL(this,"currState",void 0),TL(this,"forwardEvent",void 0),TL(this,"inputBindingEnabled",void 0),this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r,this.inputBindingEnabled=i}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),pz(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=oz(e);t.children.forEach((t=>{const e=t.value.outlet;this.deactivateRoutes(t,r[e],n),delete r[e]})),Object.values(r).forEach((t=>{this.deactivateRouteAndItsChildren(t,n)}))}deactivateRoutes(t,e,n){const r=t.value,i=e?e.value:null;if(r===i)if(r.component){const i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(t,e,i.children)}else this.deactivateChildRoutes(t,e,n);else i&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet),r=n&&t.value.component?n.children:e,i=oz(t);for(const t of Object.values(i))this.deactivateRouteAndItsChildren(t,r);if(n&&n.outlet){const e=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:r})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),r=n&&t.value.component?n.children:e,i=oz(t);for(const t of Object.values(i))this.deactivateRouteAndItsChildren(t,r);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(t,e,n){const r=oz(e);t.children.forEach((t=>{this.activateRoutes(t,r[t.value.outlet],n),this.forwardEvent(new Gj(t.value.snapshot))})),t.children.length&&this.forwardEvent(new qj(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,i=e?e.value:null;if(pz(r),r===i)if(r.component){const i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,i.children)}else this.activateChildRoutes(t,e,n);else if(r.component){const e=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const n=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),e.children.onOutletReAttached(n.contexts),e.attachRef=n.componentRef,e.route=n.route.value,e.outlet&&e.outlet.attach(n.componentRef,n.route.value),pz(n.route.value),this.activateChildRoutes(t,null,e.children)}else e.attachRef=null,e.route=r,e.outlet&&e.outlet.activateWith(r,e.injector),this.activateChildRoutes(t,null,e.children)}else this.activateChildRoutes(t,null,n)}}class kz{constructor(t){TL(this,"path",void 0),TL(this,"route",void 0),this.path=t,this.route=this.path[this.path.length-1]}}class Iz{constructor(t,e){TL(this,"component",void 0),TL(this,"route",void 0),this.component=t,this.route=e}}function Oz(t,e,n){const r=t._root;return Pz(r,e?e._root:null,n,[r.value])}function Rz(t,e){const n=Symbol(),r=e.get(t,n);return r===n?"function"==typeof t&&null===sr(t)?t:e.get(t):r}function Pz(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=oz(e);return t.children.forEach((t=>{!function(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,s=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const u=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!WL(t.url,e.url);case"pathParamsOrQueryParamsChange":return!WL(t.url,e.url)||!RL(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!vz(t,e)||!RL(t.queryParams,e.queryParams);default:return!vz(t,e)}}(s,o,o.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new kz(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Pz(t,e,a?a.children:null,r,i):Pz(t,e,n,r,i),u&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Iz(a.outlet.component,s))}else s&&Fz(e,a,i),i.canActivateChecks.push(new kz(r)),o.component?Pz(t,null,a?a.children:null,r,i):Pz(t,null,n,r,i)}(t,o[t.value.outlet],n,r.concat([t.value]),i),delete o[t.value.outlet]})),Object.entries(o).forEach((([t,e])=>Fz(e,n.getContext(t),i))),i}function Fz(t,e,n){const r=oz(t),i=t.value;Object.entries(r).forEach((([t,r])=>{i.component?Fz(r,e?e.children.getContext(t):null,n):Fz(r,e,n)})),i.component&&e&&e.outlet&&e.outlet.isActivated?n.canDeactivateChecks.push(new Iz(e.outlet.component,i)):n.canDeactivateChecks.push(new Iz(null,i))}function Nz(t){return"function"==typeof t}function Mz(t){return t instanceof pe||"EmptyError"===(null==t?void 0:t.name)}const Lz=Symbol("INITIAL_VALUE");function jz(){return Be((t=>Ce(t.map((t=>t.pipe(Pe(1),function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Zt(t);return At((function(e,r){(n?Ae(t,e,n):Ae(t,e)).subscribe(r)}))}(Lz))))).pipe(ve((t=>{for(const n of t)if(!0!==n){if(n===Lz)return Lz;if(!1===n||(hj(e=n)||e instanceof Cz))return n}var e;return!0})),ke((t=>t!==Lz)),Pe(1))))}function zz(t,e){return De((n=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=n;return 0===s.length&&0===o.length?he(DL(DL({},n),{},{guardsResult:!0})):function(t,e,n,r){return de(t).pipe(De((t=>function(t,e,n,r,i){const o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||0===o.length)return he(!0);const s=o.map((o=>{var s;const a=null!==(s=Jj(e))&&void 0!==s?s:i,u=Rz(o,a);return ML(function(t){return t&&Nz(t.canDeactivate)}(u)?u.canDeactivate(t,e,n,r):Bi(a,(()=>u(t,e,n,r)))).pipe(Le())}));return he(s).pipe(jz())}(t.component,t.route,n,e,r))),Le((t=>!0!==t),!0))}(s,r,i,t).pipe(De((n=>n&&"boolean"==typeof n?function(t,e,n,r){return de(e).pipe(Oe((e=>Ae(function(t,e){null!==t&&e&&e(new $j(t));return he(!0)}(e.route.parent,r),function(t,e){null!==t&&e&&e(new Wj(t));return he(!0)}(e.route,r),function(t,e,n){const r=e[e.length-1],i=e.slice(0,e.length-1).reverse().map((t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t))).filter((t=>null!==t)).map((e=>xe((()=>he(e.guards.map((i=>{var o;const s=null!==(o=Jj(e.node))&&void 0!==o?o:n,a=Rz(i,s);return ML(function(t){return t&&Nz(t.canActivateChild)}(a)?a.canActivateChild(r,t):Bi(s,(()=>a(r,t)))).pipe(Le())}))).pipe(jz())))));return he(i).pipe(jz())}(t,e.path,n),function(t,e,n){const r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||0===r.length)return he(!0);const i=r.map((r=>xe((()=>{var i;const o=null!==(i=Jj(e))&&void 0!==i?i:n,s=Rz(r,o);return ML(function(t){return t&&Nz(t.canActivate)}(s)?s.canActivate(e,t):Bi(o,(()=>s(e,t)))).pipe(Le())}))));return he(i).pipe(jz())}(t,e.route,n)))),Le((t=>!0!==t),!0))}(r,o,t,e):he(n))),ve((t=>DL(DL({},n),{},{guardsResult:t}))))}))}function Bz(t,e,n,r){const i=e.canLoad;if(void 0===i||0===i.length)return he(!0);return he(i.map((r=>{const i=Rz(r,t);return ML(function(t){return t&&Nz(t.canLoad)}(i)?i.canLoad(e,n):Bi(t,(()=>i(e,n))))}))).pipe(jz(),Uz(r))}function Uz(t){return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return Ct(t)}(He((t=>{if("boolean"!=typeof t)throw Dz(0,t)})),ve((t=>!0===t)))}function Hz(t,e,n,r){const i=e.canMatch;if(!i||0===i.length)return he(!0);return he(i.map((r=>{const i=Rz(r,t);return ML(function(t){return t&&Nz(t.canMatch)}(i)?i.canMatch(e,n):Bi(t,(()=>i(e,n))))}))).pipe(jz(),Uz())}class Vz{constructor(t){TL(this,"segmentGroup",void 0),this.segmentGroup=t||null}}class $z extends Error{constructor(t){super(),TL(this,"urlTree",void 0),this.urlTree=t}}function qz(t){return fe(new Vz(t))}class Wz{constructor(t,e){TL(this,"urlSerializer",void 0),TL(this,"urlTree",void 0),this.urlSerializer=t,this.urlTree=e}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return he(n);if(r.numberOfChildren>1||!r.children[AL])return t.redirectTo,fe(new Fn(4e3,!1));r=r.children[AL]}}applyRedirectCommands(t,e,n,r,i){if("string"!=typeof e){const t=e,{queryParams:n,fragment:o,routeConfig:s,url:a,outlet:u,params:l,data:c,title:d}=r,h=Bi(i,(()=>t({params:l,data:c,queryParams:n,fragment:o,routeConfig:s,url:a,outlet:u,title:d})));if(h instanceof VL)throw new $z(h);e=h}const o=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),t,n);if("/"===e[0])throw new $z(o);return o}applyRedirectCreateUrlTree(t,e,n,r){const i=this.createSegmentGroup(t,e.root,n,r);return new VL(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Object.entries(t).forEach((([t,r])=>{if("string"==typeof r&&":"===r[0]){const i=r.substring(1);n[t]=e[i]}else n[t]=r})),n}createSegmentGroup(t,e,n,r){const i=this.createSegments(t,e.segments,n,r);let o={};return Object.entries(e.children).forEach((([e,i])=>{o[e]=this.createSegmentGroup(t,i,n,r)})),new $L(i,o)}createSegments(t,e,n,r){return e.map((e=>":"===e.path[0]?this.findPosParam(t,e,r):this.findOrReturn(e,n)))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new Fn(4001,!1);return r}findOrReturn(t,e){let n=0;for(const r of e){if(r.path===t.path)return e.splice(n),r;n++}return t}}const Gz={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Zz(t,e,n,r,i){const o=Yz(t,e,n);return o.matched?(r=function(t,e){var n;return t.providers&&!t._injector&&(t._injector=Up(t.providers,e,`Route: ${t.path}`)),null!==(n=t._injector)&&void 0!==n?n:e}(e,r),Hz(r,e,n).pipe(ve((t=>!0===t?o:DL({},Gz))))):he(o)}function Yz(t,e,n){var r,i;if("**"===e.path)return function(t){return{matched:!0,parameters:t.length>0?NL(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}(n);if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?DL({},Gz):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(e.matcher||OL)(n,t,e);if(!o)return DL({},Gz);const s={};Object.entries(null!==(r=o.posParams)&&void 0!==r?r:{}).forEach((([t,e])=>{s[t]=e.path}));const a=o.consumed.length>0?DL(DL({},s),o.consumed[o.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:a,positionalParamSegments:null!==(i=o.posParams)&&void 0!==i?i:{}}}function Kz(t,e,n,r){if(n.length>0&&function(t,e,n){return n.some((n=>Qz(t,e,n)&&Qj(n)!==AL))}(t,n,r)){return{segmentGroup:new $L(e,function(t,e){const n={};n[AL]=e;for(const e of t)if(""===e.path&&Qj(e)!==AL){const t=new $L([],{});n[Qj(e)]=t}return n}(r,new $L(n,t.children))),slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some((n=>Qz(t,e,n)))}(t,n,r)){const e=new $L(t.segments,function(t,e,n,r){const i={};for(const o of n)if(Qz(t,e,o)&&!r[Qj(o)]){const t=new $L([],{});i[Qj(o)]=t}return DL(DL({},r),i)}(t,n,r,t.children));return{segmentGroup:e,slicedSegments:n}}return{segmentGroup:new $L(t.segments,t.children),slicedSegments:n}}function Qz(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}class Jz{}class Xz{constructor(t,e,n,r,i,o,s){TL(this,"injector",void 0),TL(this,"configLoader",void 0),TL(this,"rootComponentType",void 0),TL(this,"config",void 0),TL(this,"urlTree",void 0),TL(this,"paramsInheritanceStrategy",void 0),TL(this,"urlSerializer",void 0),TL(this,"applyRedirects",void 0),TL(this,"absoluteRedirectCount",0),TL(this,"allowRedirects",!0),this.injector=t,this.configLoader=e,this.rootComponentType=n,this.config=r,this.urlTree=i,this.paramsInheritanceStrategy=o,this.urlSerializer=s,this.applyRedirects=new Wz(this.urlSerializer,this.urlTree)}noMatchError(t){return new Fn(4002,`'${t.segmentGroup}'`)}recognize(){const t=Kz(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(ve((({children:t,rootSnapshot:e})=>{const n=new iz(e,t),r=new dz("",n),i=function(t,e,n=null,r=null){return pj(fj(t),e,n,r)}(e,[],this.urlTree.queryParams,this.urlTree.fragment);return i.queryParams=this.urlTree.queryParams,r.url=this.urlSerializer.serialize(i),{state:r,tree:i}})))}match(t){const e=new cz([],Object.freeze({}),Object.freeze(DL({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),AL,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,AL,e).pipe(ve((t=>({children:t,rootSnapshot:e}))),Ie((t=>{if(t instanceof $z)return this.urlTree=t.urlTree,this.match(t.urlTree.root);if(t instanceof Vz)throw this.noMatchError(t);throw t})))}processSegmentGroup(t,e,n,r,i){return 0===n.segments.length&&n.hasChildren()?this.processChildren(t,e,n,i):this.processSegment(t,e,n,n.segments,r,!0,i).pipe(ve((t=>t instanceof iz?[t]:[])))}processChildren(t,e,n,r){const i=[];for(const t of Object.keys(n.children))"primary"===t?i.unshift(t):i.push(t);return de(i).pipe(Oe((i=>{const o=n.children[i],s=function(t,e){const n=t.filter((t=>Qj(t)===e));return n.push(...t.filter((t=>Qj(t)!==e))),n}(e,i);return this.processSegmentGroup(t,s,o,i,r)})),ze(((t,e)=>(t.push(...e),t))),Re(null),function(t,e){var n=arguments.length>=2;return function(t){return t.pipe(St,je(1),n?Re(e):Fe((function(){return new pe})))}}(),De((t=>{if(null===t)return qz(n);const e=eB(t);return e.sort(((t,e)=>t.value.outlet===AL?-1:e.value.outlet===AL?1:t.value.outlet.localeCompare(e.value.outlet))),he(e)})))}processSegment(t,e,n,r,i,o,s){return de(e).pipe(Oe((a=>{var u;return this.processSegmentAgainstRoute(null!==(u=a._injector)&&void 0!==u?u:t,e,a,n,r,i,o,s).pipe(Ie((t=>{if(t instanceof Vz)return he(null);throw t})))})),Le((t=>!!t)),Ie((t=>{if(Mz(t))return function(t,e,n){return 0===e.length&&!t.children[n]}(n,r,i)?he(new Jz):qz(n);throw t})))}processSegmentAgainstRoute(t,e,n,r,i,o,s,a){return Qj(n)===o||o!==AL&&Qz(r,i,n)?void 0===n.redirectTo?this.matchSegmentAgainstRoute(t,r,n,i,o,a):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(t,r,e,n,i,o,a):qz(r):qz(r)}expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o,s){var a,u;const{matched:l,parameters:c,consumedSegments:d,positionalParamSegments:h,remainingSegments:f}=Yz(e,r,i);if(!l)return qz(e);"string"==typeof r.redirectTo&&"/"===r.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const p=new cz(i,c,Object.freeze(DL({},this.urlTree.queryParams)),this.urlTree.fragment,nB(r),Qj(r),null!==(a=null!==(u=r.component)&&void 0!==u?u:r._loadedComponent)&&void 0!==a?a:null,r,rB(r)),v=lz(p,s,this.paramsInheritanceStrategy);p.params=Object.freeze(v.params),p.data=Object.freeze(v.data);const g=this.applyRedirects.applyRedirectCommands(d,r.redirectTo,h,p,t);return this.applyRedirects.lineralizeSegments(r,g).pipe(De((r=>this.processSegment(t,n,e,r.concat(f),o,!1,s))))}matchSegmentAgainstRoute(t,e,n,r,i,o){const s=Zz(e,n,r,t,this.urlSerializer);return"**"===n.path&&(e.children={}),s.pipe(Be((s=>{var a;return s.matched?(t=null!==(a=n._injector)&&void 0!==a?a:t,this.getChildConfig(t,n,r).pipe(Be((({routes:r})=>{var a,u,l;const c=null!==(a=n._loadedInjector)&&void 0!==a?a:t,{parameters:d,consumedSegments:h,remainingSegments:f}=s,p=new cz(h,d,Object.freeze(DL({},this.urlTree.queryParams)),this.urlTree.fragment,nB(n),Qj(n),null!==(u=null!==(l=n.component)&&void 0!==l?l:n._loadedComponent)&&void 0!==u?u:null,n,rB(n)),v=lz(p,o,this.paramsInheritanceStrategy);p.params=Object.freeze(v.params),p.data=Object.freeze(v.data);const{segmentGroup:g,slicedSegments:m}=Kz(e,h,f,r);if(0===m.length&&g.hasChildren())return this.processChildren(c,r,g,p).pipe(ve((t=>new iz(p,t))));if(0===r.length&&0===m.length)return he(new iz(p,[]));const y=Qj(n)===i;return this.processSegment(c,r,g,m,y?AL:i,!0,p).pipe(ve((t=>new iz(p,t instanceof iz?[t]:[]))))})))):qz(e)})))}getChildConfig(t,e,n){return e.children?he({routes:e.children,injector:t}):e.loadChildren?void 0!==e._loadedRoutes?he({routes:e._loadedRoutes,injector:e._loadedInjector}):Bz(t,e,n,this.urlSerializer).pipe(De((n=>n?this.configLoader.loadChildren(t,e).pipe(He((t=>{e._loadedRoutes=t.routes,e._loadedInjector=t.injector}))):fe(Tz(!1,kj.GuardRejected))))):he({routes:[],injector:t})}}function tB(t){const e=t.value.routeConfig;return e&&""===e.path}function eB(t){const e=[],n=new Set;for(const r of t){if(!tB(r)){e.push(r);continue}const t=e.find((t=>r.value.routeConfig===t.value.routeConfig));void 0!==t?(t.children.push(...r.children),n.add(t)):e.push(r)}for(const t of n){const n=eB(t.children);e.push(new iz(t.value,n))}return e.filter((t=>!n.has(t)))}function nB(t){return t.data||{}}function rB(t){return t.resolve||{}}function iB(t,e,n,r,i,o){return De((s=>function(t,e,n,r,i,o,s="emptyOnly"){return new Xz(t,e,n,r,i,s,o).recognize()}(t,e,n,r,s.extractedUrl,i,o).pipe(ve((({state:t,tree:e})=>DL(DL({},s),{},{targetSnapshot:t,urlAfterRedirects:e}))))))}function oB(t,e){return De((n=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return he(n);const o=new Set(i.map((t=>t.route))),s=new Set;for(const t of o)if(!s.has(t))for(const e of sB(t))s.add(e);let a=0;return de(s).pipe(Oe((n=>o.has(n)?function(t,e,n,r){const i=t.routeConfig,o=t._resolve;void 0===(null==i?void 0:i.title)||gz(i)||(o[xL]=i.title);return function(t,e,n,r){const i=PL(t);if(0===i.length)return he({});const o={};return de(i).pipe(De((i=>function(t,e,n,r){var i;const o=null!==(i=Jj(e))&&void 0!==i?i:r,s=Rz(t,o),a=s.resolve?s.resolve(e,n):Bi(o,(()=>s(e,n)));return ML(a)}(t[i],e,n,r).pipe(Le(),He((t=>{if(t instanceof Cz)throw Dz(new ZL,t);o[i]=t}))))),je(1),ve((()=>o)),Ie((t=>Mz(t)?qt:fe(t))))}(o,t,e,r).pipe(ve((e=>(t._resolvedData=e,t.data=lz(t,t.parent,n).resolve,null))))}(n,r,t,e):(n.data=lz(n,n.parent,t).resolve,he(void 0)))),He((()=>a++)),je(1),De((t=>a===s.size?he(n):qt)))}))}function sB(t){const e=t.children.map((t=>sB(t))).flat();return[t,...e]}function aB(t){return Be((e=>{const n=t(e);return n?de(n).pipe(ve((()=>e))):he(e)}))}class uB{buildTitle(t){let e,n=t.root;for(;void 0!==n;){var r;e=null!==(r=this.getResolvedTitleForRoute(n))&&void 0!==r?r:e,n=n.children.find((t=>t.outlet===AL))}return e}getResolvedTitleForRoute(t){return t.data[xL]}}oL=uB,TL(uB,"ɵfac",(function(t){return new(t||oL)})),TL(uB,"ɵprov",ir({token:oL,factory:()=>Br(lB),providedIn:"root"}));class lB extends uB{constructor(t){super(),TL(this,"title",void 0),this.title=t}updateTitle(t){const e=this.buildTitle(t);void 0!==e&&this.title.setTitle(e)}}sL=lB,TL(lB,"ɵfac",(function(t){return new(t||sL)(jr(Dk))})),TL(lB,"ɵprov",ir({token:sL,factory:sL.ɵfac,providedIn:"root"}));const cB=new fr("",{providedIn:"root",factory:()=>({})});class dB{}function hB(t){const e=t.children&&t.children.map(hB),n=e?DL(DL({},t),{},{children:e}):DL({},t);return n.component||n.loadComponent||!e&&!n.loadChildren||!n.outlet||n.outlet===AL||(n.component=dB),n}aL=dB,TL(dB,"ɵfac",(function(t){return new(t||aL)})),TL(dB,"ɵcmp",Vp({type:aL,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(t,e){1&t&&Dy(0,"router-outlet")},dependencies:[yz],encapsulation:2}));const fB=new fr("");class pB{constructor(){TL(this,"componentLoaders",new WeakMap),TL(this,"childrenLoaders",new WeakMap),TL(this,"onLoadStartListener",void 0),TL(this,"onLoadEndListener",void 0),TL(this,"compiler",Br(_S))}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return he(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const e=ML(t.loadComponent()).pipe(ve(vB),He((e=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=e})),Me((()=>{this.componentLoaders.delete(t)}))),n=new Ot(e,(()=>new Pt)).pipe(It());return this.componentLoaders.set(t,n),n}loadChildren(t,e){if(this.childrenLoaders.get(e))return this.childrenLoaders.get(e);if(e._loadedRoutes)return he({routes:e._loadedRoutes,injector:e._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(e);const n=function(t,e,n,r){return ML(t.loadChildren()).pipe(ve(vB),De((t=>t instanceof Lp||Array.isArray(t)?he(t):de(e.compileModuleAsync(t)))),ve((e=>{let i,o;r&&r(t);let s=!1;Array.isArray(e)?(o=e,s=!0):(i=e.create(n).injector,o=i.get(fB,[],{optional:!0,self:!0}).flat());const a=o.map(hB);return{routes:a,injector:i}})))}(e,this.compiler,t,this.onLoadEndListener),r=n.pipe(Me((()=>{this.childrenLoaders.delete(e)}))),i=new Ot(r,(()=>new Pt)).pipe(It());return this.childrenLoaders.set(e,i),i}}function vB(t){return(e=t)&&"object"==typeof e&&"default"in e?t.default:t;var e}uL=pB,TL(pB,"ɵfac",(function(t){return new(t||uL)})),TL(pB,"ɵprov",ir({token:uL,factory:uL.ɵfac,providedIn:"root"}));class gB{}lL=gB,TL(gB,"ɵfac",(function(t){return new(t||lL)})),TL(gB,"ɵprov",ir({token:lL,factory:()=>Br(mB),providedIn:"root"}));class mB{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}cL=mB,TL(mB,"ɵfac",(function(t){return new(t||cL)})),TL(mB,"ɵprov",ir({token:cL,factory:cL.ɵfac,providedIn:"root"}));const yB=new fr(""),bB=new fr("");function wB(t,e,n){const r=t.get(bB),i=t.get(gE);return t.get(ou).runOutsideAngular((()=>{if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise((t=>setTimeout(t)));let o;const s=new Promise((t=>{o=t})),a=i.startViewTransition((()=>(o(),function(t){return new Promise((e=>{ul({read:()=>setTimeout(e)},{injector:t})}))}(t)))),{onViewTransitionCreated:u}=r;return u&&Bi(t,(()=>u({transition:a,from:e,to:n}))),s}))}const _B=new fr("");class SB{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){TL(this,"currentNavigation",null),TL(this,"currentTransition",null),TL(this,"lastSuccessfulNavigation",null),TL(this,"events",new Pt),TL(this,"transitionAbortSubject",new Pt),TL(this,"configLoader",Br(pB)),TL(this,"environmentInjector",Br(Pi)),TL(this,"destroyRef",Br($a)),TL(this,"urlSerializer",Br(GL)),TL(this,"rootContexts",Br(tz)),TL(this,"location",Br(AE)),TL(this,"inputBindingEnabled",null!==Br(wz,{optional:!0})),TL(this,"titleStrategy",Br(uB)),TL(this,"options",Br(cB,{optional:!0})||{}),TL(this,"paramsInheritanceStrategy",this.options.paramsInheritanceStrategy||"emptyOnly"),TL(this,"urlHandlingStrategy",Br(gB)),TL(this,"createViewTransition",Br(yB,{optional:!0})),TL(this,"navigationErrorHandler",Br(_B,{optional:!0})),TL(this,"navigationId",0),TL(this,"transitions",void 0),TL(this,"afterPreactivation",(()=>he(void 0))),TL(this,"rootComponentType",null),TL(this,"destroyed",!1);this.configLoader.onLoadEndListener=t=>this.events.next(new Vj(t)),this.configLoader.onLoadStartListener=t=>this.events.next(new Hj(t)),this.destroyRef.onDestroy((()=>{this.destroyed=!0}))}complete(){var t;null===(t=this.transitions)||void 0===t||t.complete()}handleNavigationRequest(t){var e;const n=++this.navigationId;null===(e=this.transitions)||void 0===e||e.next(DL(DL({},t),{},{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:n}))}setupNavigations(t){return this.transitions=new Nt(null),this.transitions.pipe(ke((t=>null!==t)),Be((e=>{let n=!1,r=!1;return he(e).pipe(Be((n=>{var r;if(this.navigationId>e.id){const t="";return this.cancelNavigationTransition(e,t,kj.SupersededByNewNavigation),qt}this.currentTransition=e,this.currentNavigation={id:n.id,initialUrl:n.rawUrl,extractedUrl:n.extractedUrl,targetBrowserUrl:"string"==typeof n.extras.browserUrl?this.urlSerializer.parse(n.extras.browserUrl):n.extras.browserUrl,trigger:n.source,extras:n.extras,previousNavigation:this.lastSuccessfulNavigation?DL(DL({},this.lastSuccessfulNavigation),{},{previousNavigation:null}):null};const i=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),o=null!==(r=n.extras.onSameUrlNavigation)&&void 0!==r?r:t.onSameUrlNavigation;if(!i&&"reload"!==o){const t="";return this.events.next(new Nj(n.id,this.urlSerializer.serialize(n.rawUrl),t,Ij.IgnoredSameUrlNavigation)),n.resolve(!1),qt}if(this.urlHandlingStrategy.shouldProcessUrl(n.rawUrl))return he(n).pipe(Be((t=>(this.events.next(new Rj(t.id,this.urlSerializer.serialize(t.extractedUrl),t.source,t.restoredState)),t.id!==this.navigationId?qt:Promise.resolve(t)))),iB(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),He((t=>{e.targetSnapshot=t.targetSnapshot,e.urlAfterRedirects=t.urlAfterRedirects,this.currentNavigation=DL(DL({},this.currentNavigation),{},{finalUrl:t.urlAfterRedirects});const n=new Lj(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(n)})));if(i&&this.urlHandlingStrategy.shouldProcessUrl(n.currentRawUrl)){const{id:t,extractedUrl:r,source:i,restoredState:o,extras:s}=n,a=new Rj(t,this.urlSerializer.serialize(r),i,o);this.events.next(a);const u=az(this.rootComponentType).snapshot;return this.currentTransition=e=DL(DL({},n),{},{targetSnapshot:u,urlAfterRedirects:r,extras:DL(DL({},s),{},{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=r,he(e)}{const t="";return this.events.next(new Nj(n.id,this.urlSerializer.serialize(n.extractedUrl),t,Ij.IgnoredByUrlHandlingStrategy)),n.resolve(!1),qt}})),He((t=>{const e=new jj(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(e)})),ve((t=>(this.currentTransition=e=DL(DL({},t),{},{guards:Oz(t.targetSnapshot,t.currentSnapshot,this.rootContexts)}),e))),zz(this.environmentInjector,(t=>this.events.next(t))),He((t=>{if(e.guardsResult=t.guardsResult,t.guardsResult&&"boolean"!=typeof t.guardsResult)throw Dz(this.urlSerializer,t.guardsResult);const n=new zj(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.events.next(n)})),ke((t=>!!t.guardsResult||(this.cancelNavigationTransition(t,"",kj.GuardRejected),!1))),aB((t=>{if(0!==t.guards.canActivateChecks.length)return he(t).pipe(He((t=>{const e=new Bj(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(e)})),Be((t=>{let e=!1;return he(t).pipe(oB(this.paramsInheritanceStrategy,this.environmentInjector),He({next:()=>e=!0,complete:()=>{e||this.cancelNavigationTransition(t,"",kj.NoDataFromResolver)}}))})),He((t=>{const e=new Uj(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(e)})))})),aB((t=>{const e=t=>{var n;const r=[];null!==(n=t.routeConfig)&&void 0!==n&&n.loadComponent&&!t.routeConfig._loadedComponent&&r.push(this.configLoader.loadComponent(t.routeConfig).pipe(He((e=>{t.component=e})),ve((()=>{}))));for(const n of t.children)r.push(...e(n));return r};return Ce(e(t.targetSnapshot.root)).pipe(Re(null),Pe(1))})),aB((()=>this.afterPreactivation())),Be((()=>{var t;const{currentSnapshot:n,targetSnapshot:r}=e,i=null===(t=this.createViewTransition)||void 0===t?void 0:t.call(this,this.environmentInjector,n.root,r.root);return i?de(i).pipe(ve((()=>e))):he(e)})),ve((n=>{const r=function(t,e,n){const r=Sz(t,e._root,n?n._root:void 0);return new sz(r,e)}(t.routeReuseStrategy,n.targetSnapshot,n.currentRouterState);return this.currentTransition=e=DL(DL({},n),{},{targetRouterState:r}),this.currentNavigation.targetRouterState=r,e})),He((()=>{this.events.next(new Yj)})),(i=this.rootContexts,o=t.routeReuseStrategy,s=t=>this.events.next(t),a=this.inputBindingEnabled,ve((t=>(new xz(o,t.targetRouterState,t.currentRouterState,s,a).activate(i),t)))),Pe(1),He({next:t=>{var e;n=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Pj(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects))),null===(e=this.titleStrategy)||void 0===e||e.updateTitle(t.targetRouterState.snapshot),t.resolve(!0)},complete:()=>{n=!0}}),Ue(this.transitionAbortSubject.pipe(He((t=>{throw t})))),Me((()=>{var t;if(!n&&!r){const t="";this.cancelNavigationTransition(e,t,kj.SupersededByNewNavigation)}(null===(t=this.currentTransition)||void 0===t?void 0:t.id)===e.id&&(this.currentNavigation=null,this.currentTransition=null)})),Ie((t=>{if(this.destroyed)return e.resolve(!1),qt;if(r=!0,Az(t))this.events.next(new Fj(e.id,this.urlSerializer.serialize(e.extractedUrl),t.message,t.cancellationCode)),Az(i=t)&&hj(i.url)?this.events.next(new Kj(t.url,t.navigationBehaviorOptions)):e.resolve(!1);else{var n;const r=new Mj(e.id,this.urlSerializer.serialize(e.extractedUrl),t,null!==(n=e.targetSnapshot)&&void 0!==n?n:void 0);try{const n=Bi(this.environmentInjector,(()=>{var t;return null===(t=this.navigationErrorHandler)||void 0===t?void 0:t.call(this,r)}));if(!(n instanceof Cz))throw this.events.next(r),t;{const{message:t,cancellationCode:r}=Dz(this.urlSerializer,n);this.events.next(new Fj(e.id,this.urlSerializer.serialize(e.extractedUrl),t,r)),this.events.next(new Kj(n.redirectTo,n.navigationBehaviorOptions))}}catch(t){this.options.resolveNavigationPromiseOnError?e.resolve(!1):e.reject(t)}}var i;return qt})));var i,o,s,a})))}cancelNavigationTransition(t,e,n){const r=new Fj(t.id,this.urlSerializer.serialize(t.extractedUrl),e,n);this.events.next(r),t.resolve(!1)}isUpdatingInternalState(){var t,e;return(null===(t=this.currentTransition)||void 0===t?void 0:t.extractedUrl.toString())!==(null===(e=this.currentTransition)||void 0===e?void 0:e.currentUrlTree.toString())}isUpdatedBrowserUrl(){var t,e,n,r;const i=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),o=null!==(t=null===(e=this.currentNavigation)||void 0===e?void 0:e.targetBrowserUrl)&&void 0!==t?t:null===(n=this.currentNavigation)||void 0===n?void 0:n.extractedUrl;return i.toString()!==(null==o?void 0:o.toString())&&!(null!==(r=this.currentNavigation)&&void 0!==r&&r.extras.skipLocationChange)}}dL=SB,TL(SB,"ɵfac",(function(t){return new(t||dL)})),TL(SB,"ɵprov",ir({token:dL,factory:dL.ɵfac,providedIn:"root"}));class CB{}hL=CB,TL(CB,"ɵfac",(function(t){return new(t||hL)})),TL(CB,"ɵprov",ir({token:hL,factory:()=>Br(DB),providedIn:"root"}));class EB{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}class DB extends EB{}fL=DB,TL(DB,"ɵfac",(()=>{let t;return function(e){return(t||(t=Ta(fL)))(e||fL)}})()),TL(DB,"ɵprov",ir({token:fL,factory:fL.ɵfac,providedIn:"root"}));class TB{}pL=TB,TL(TB,"ɵfac",(function(t){return new(t||pL)})),TL(TB,"ɵprov",ir({token:pL,factory:()=>Br(AB),providedIn:"root"}));class AB extends TB{constructor(...t){super(...t),TL(this,"location",Br(AE)),TL(this,"urlSerializer",Br(GL)),TL(this,"options",Br(cB,{optional:!0})||{}),TL(this,"canceledNavigationResolution",this.options.canceledNavigationResolution||"replace"),TL(this,"urlHandlingStrategy",Br(gB)),TL(this,"urlUpdateStrategy",this.options.urlUpdateStrategy||"deferred"),TL(this,"currentUrlTree",new VL),TL(this,"rawUrlTree",this.currentUrlTree),TL(this,"currentPageId",0),TL(this,"lastSuccessfulId",-1),TL(this,"routerState",az(null)),TL(this,"stateMemento",this.createStateMemento())}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){var t,e;return"computed"!==this.canceledNavigationResolution?this.currentPageId:null!==(t=null===(e=this.restoredState())||void 0===e?void 0:e.ɵrouterPageId)&&void 0!==t?t:this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe((e=>{"popstate"===e.type&&t(e.url,e.state)}))}handleRouterEvent(t,e){if(t instanceof Rj)this.stateMemento=this.createStateMemento();else if(t instanceof Nj)this.rawUrlTree=e.initialUrl;else if(t instanceof Lj){if("eager"===this.urlUpdateStrategy&&!e.extras.skipLocationChange){var n;const t=this.urlHandlingStrategy.merge(e.finalUrl,e.initialUrl);this.setBrowserUrl(null!==(n=e.targetBrowserUrl)&&void 0!==n?n:t,e)}}else if(t instanceof Yj){var r;if(this.currentUrlTree=e.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(e.finalUrl,e.initialUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&!e.extras.skipLocationChange)this.setBrowserUrl(null!==(r=e.targetBrowserUrl)&&void 0!==r?r:this.rawUrlTree,e)}else t instanceof Fj&&(t.code===kj.GuardRejected||t.code===kj.NoDataFromResolver)?this.restoreHistory(e):t instanceof Mj?this.restoreHistory(e,!0):t instanceof Pj&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,e){const n=t instanceof VL?this.urlSerializer.serialize(t):t;if(this.location.isCurrentPathEqualTo(n)||e.extras.replaceUrl){const t=this.browserPageId,r=DL(DL({},e.extras.state),this.generateNgRouterState(e.id,t));this.location.replaceState(n,"",r)}else{const t=DL(DL({},e.extras.state),this.generateNgRouterState(e.id,this.browserPageId+1));this.location.go(n,"",t)}}restoreHistory(t,e=!1){if("computed"===this.canceledNavigationResolution){const e=this.browserPageId,n=this.currentPageId-e;0!==n?this.location.historyGo(n):this.currentUrlTree===t.finalUrl&&0===n&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(e&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){var e;this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,null!==(e=t.finalUrl)&&void 0!==e?e:this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,"ɵrouterPageId":e}:{navigationId:t}}}function xB(t,e){t.events.pipe(ke((t=>t instanceof Pj||t instanceof Fj||t instanceof Mj||t instanceof Nj)),ve((t=>{if(t instanceof Pj||t instanceof Nj)return 0;return t instanceof Fj&&(t.code===kj.Redirect||t.code===kj.SupersededByNewNavigation)?2:1})),ke((t=>2!==t)),Pe(1)).subscribe((()=>{e()}))}vL=AB,TL(AB,"ɵfac",(()=>{let t;return function(e){return(t||(t=Ta(vL)))(e||vL)}})()),TL(AB,"ɵprov",ir({token:vL,factory:vL.ɵfac,providedIn:"root"}));const kB={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},IB={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};class OB{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){var t,e;TL(this,"disposed",!1),TL(this,"nonRouterCurrentEntryChangeSubscription",void 0),TL(this,"console",Br($v)),TL(this,"stateManager",Br(TB)),TL(this,"options",Br(cB,{optional:!0})||{}),TL(this,"pendingTasks",Br(Ka)),TL(this,"urlUpdateStrategy",this.options.urlUpdateStrategy||"deferred"),TL(this,"navigationTransitions",Br(SB)),TL(this,"urlSerializer",Br(GL)),TL(this,"location",Br(AE)),TL(this,"urlHandlingStrategy",Br(gB)),TL(this,"_events",new Pt),TL(this,"navigated",!1),TL(this,"routeReuseStrategy",Br(CB)),TL(this,"onSameUrlNavigation",this.options.onSameUrlNavigation||"ignore"),TL(this,"config",null!==(t=null===(e=Br(fB,{optional:!0}))||void 0===e?void 0:e.flat())&&void 0!==t?t:[]),TL(this,"componentInputBindingEnabled",!!Br(wz,{optional:!0})),TL(this,"eventsSubscription",new at),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const t=this.navigationTransitions.events.subscribe((t=>{try{const n=this.navigationTransitions.currentTransition,r=this.navigationTransitions.currentNavigation;if(null!==n&&null!==r)if(this.stateManager.handleRouterEvent(t,r),t instanceof Fj&&t.code!==kj.Redirect&&t.code!==kj.SupersededByNewNavigation)this.navigated=!0;else if(t instanceof Pj)this.navigated=!0;else if(t instanceof Kj){const r=t.navigationBehaviorOptions,i=this.urlHandlingStrategy.merge(t.url,n.currentRawUrl),o=DL({browserUrl:n.extras.browserUrl,info:n.extras.info,skipLocationChange:n.extras.skipLocationChange,replaceUrl:n.extras.replaceUrl||"eager"===this.urlUpdateStrategy||(e=n.source,e!==Aj)},r);this.scheduleNavigation(i,Aj,null,o,{resolve:n.resolve,reject:n.reject,promise:n.promise})}(function(t){return!(t instanceof Yj||t instanceof Kj)})(t)&&this._events.next(t)}catch(t){this.navigationTransitions.transitionAbortSubject.next(t)}var e}));this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Aj,this.stateManager.restoredState())}setUpLocationChangeListener(){var t;null!==(t=this.nonRouterCurrentEntryChangeSubscription)&&void 0!==t||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener(((t,e)=>{setTimeout((()=>{this.navigateToSyncWithBrowser(t,"popstate",e)}),0)})))}navigateToSyncWithBrowser(t,e,n){const r={replaceUrl:!0},i=null!=n&&n.navigationId?n:null;if(n){const t=DL({},n);delete t.navigationId,delete t.ɵrouterPageId,0!==Object.keys(t).length&&(r.state=t)}const o=this.parseUrl(t);this.scheduleNavigation(o,e,i,r)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(hB),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,e={}){const{relativeTo:n,queryParams:r,fragment:i,queryParamsHandling:o,preserveFragment:s}=e,a=s?this.currentUrlTree.fragment:i;let u,l=null;switch(null!=o?o:this.options.defaultQueryParamsHandling){case"merge":l=DL(DL({},this.currentUrlTree.queryParams),r);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=r||null}null!==l&&(l=this.removeEmptyProps(l));try{u=fj(n?n.snapshot:this.routerState.snapshot.root)}catch(e){"string"==typeof t[0]&&"/"===t[0][0]||(t=[]),u=this.currentUrlTree.root}return pj(u,t,l,null!=a?a:null)}navigateByUrl(t,e={skipLocationChange:!1}){const n=hj(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,Aj,null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++){const n=t[e];if(null==n)throw new Fn(4008,!1)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch(t){return this.urlSerializer.parse("/")}}isActive(t,e){let n;if(n=!0===e?DL({},kB):!1===e?DL({},IB):e,hj(t))return zL(this.currentUrlTree,t,n);const r=this.parseUrl(t);return zL(this.currentUrlTree,r,n)}removeEmptyProps(t){return Object.entries(t).reduce(((t,[e,n])=>(null!=n&&(t[e]=n),t)),{})}scheduleNavigation(t,e,n,r,i){if(this.disposed)return Promise.resolve(!1);let o,s,a;i?(o=i.resolve,s=i.reject,a=i.promise):a=new Promise(((t,e)=>{o=t,s=e}));const u=this.pendingTasks.add();return xB(this,(()=>{queueMicrotask((()=>this.pendingTasks.remove(u)))})),this.navigationTransitions.handleNavigationRequest({source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:r,resolve:o,reject:s,promise:a,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),a.catch((t=>Promise.reject(t)))}}gL=OB,TL(OB,"ɵfac",(function(t){return new(t||gL)})),TL(OB,"ɵprov",ir({token:gL,factory:gL.ɵfac,providedIn:"root"}));class RB{constructor(t,e,n,r,i,o){var s;TL(this,"router",void 0),TL(this,"route",void 0),TL(this,"tabIndexAttribute",void 0),TL(this,"renderer",void 0),TL(this,"el",void 0),TL(this,"locationStrategy",void 0),TL(this,"href",null),TL(this,"target",void 0),TL(this,"queryParams",void 0),TL(this,"fragment",void 0),TL(this,"queryParamsHandling",void 0),TL(this,"state",void 0),TL(this,"info",void 0),TL(this,"relativeTo",void 0),TL(this,"isAnchorElement",void 0),TL(this,"subscription",void 0),TL(this,"onChanges",new Pt),TL(this,"preserveFragment",!1),TL(this,"skipLocationChange",!1),TL(this,"replaceUrl",!1),TL(this,"routerLinkInput",null),this.router=t,this.route=e,this.tabIndexAttribute=n,this.renderer=r,this.el=i,this.locationStrategy=o;const a=null===(s=i.nativeElement.tagName)||void 0===s?void 0:s.toLowerCase();this.isAnchorElement="a"===a||"area"===a,this.isAnchorElement?this.subscription=t.events.subscribe((t=>{t instanceof Pj&&this.updateHref()})):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){null==t?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(hj(t)?this.routerLinkInput=t:this.routerLinkInput=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,e,n,r,i){const o=this.urlTree;if(null===o)return!0;if(this.isAnchorElement){if(0!==t||e||n||r||i)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0}const s={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(o,s),!this.isAnchorElement}ngOnDestroy(){var t;null===(t=this.subscription)||void 0===t||t.unsubscribe()}updateHref(){var t;const e=this.urlTree;this.href=null!==e&&this.locationStrategy?null===(t=this.locationStrategy)||void 0===t?void 0:t.prepareExternalUrl(this.router.serializeUrl(e)):null;const n=null===this.href?null:Yc(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(t,e){const n=this.renderer,r=this.el.nativeElement;null!==e?n.setAttribute(r,t,e):n.removeAttribute(r,t)}get urlTree(){return null===this.routerLinkInput?null:hj(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}mL=RB,TL(RB,"ɵfac",(function(t){return new(t||mL)(jf(OB),jf(uz),ka("tabindex"),jf(Af),jf(bu),jf(CE))})),TL(RB,"ɵdir",Yp({type:mL,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(t,e){1&t&&zb("click",(function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)})),2&t&&Gg("target",e.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",aC],skipLocationChange:[2,"skipLocationChange","skipLocationChange",aC],replaceUrl:[2,"replaceUrl","replaceUrl",aC],routerLink:"routerLink"},features:[yo]}));class PB{get isActive(){return this._isActive}constructor(t,e,n,r,i){TL(this,"router",void 0),TL(this,"element",void 0),TL(this,"renderer",void 0),TL(this,"cdr",void 0),TL(this,"link",void 0),TL(this,"links",void 0),TL(this,"classes",[]),TL(this,"routerEventsSubscription",void 0),TL(this,"linkInputChangesSubscription",void 0),TL(this,"_isActive",!1),TL(this,"routerLinkActiveOptions",{exact:!1}),TL(this,"ariaCurrentWhenActive",void 0),TL(this,"isActiveChange",new Ja),this.router=t,this.element=e,this.renderer=n,this.cdr=r,this.link=i,this.routerEventsSubscription=t.events.subscribe((t=>{t instanceof Pj&&this.update()}))}ngAfterContentInit(){he(this.links.changes,he(null)).pipe(Te()).subscribe((t=>{this.update(),this.subscribeToEachLinkOnChanges()}))}subscribeToEachLinkOnChanges(){var t;null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe();const e=[...this.links.toArray(),this.link].filter((t=>!!t)).map((t=>t.onChanges));this.linkInputChangesSubscription=de(e).pipe(Te()).subscribe((t=>{this._isActive!==this.isLinkActive(this.router)(t)&&this.update()}))}set routerLinkActive(t){const e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter((t=>!!t))}ngOnChanges(t){this.update()}ngOnDestroy(){var t;this.routerEventsSubscription.unsubscribe(),null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe()}update(){this.links&&this.router.navigated&&queueMicrotask((()=>{const t=this.hasActiveLinks();this.classes.forEach((e=>{t?this.renderer.addClass(this.element.nativeElement,e):this.renderer.removeClass(this.element.nativeElement,e)})),t&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.isActiveChange.emit(t))}))}isLinkActive(t){const e=function(t){return!!t.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return n=>{const r=n.urlTree;return!!r&&t.isActive(r,e)}}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}}yL=PB,TL(PB,"ɵfac",(function(t){return new(t||yL)(jf(OB),jf(bu),jf(Af),jf(HS),jf(RB,8))})),TL(PB,"ɵdir",Yp({type:yL,selectors:[["","routerLinkActive",""]],contentQueries:function(t,e,n){if(1&t&&ow(n,RB,5),2&t){let t;aw(t=uw())&&(e.links=t)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[yo]}));class FB{}class NB{preload(t,e){return e().pipe(Ie((()=>he(null))))}}bL=NB,TL(NB,"ɵfac",(function(t){return new(t||bL)})),TL(NB,"ɵprov",ir({token:bL,factory:bL.ɵfac,providedIn:"root"}));class MB{preload(t,e){return he(null)}}wL=MB,TL(MB,"ɵfac",(function(t){return new(t||wL)})),TL(MB,"ɵprov",ir({token:wL,factory:wL.ɵfac,providedIn:"root"}));class LB{constructor(t,e,n,r,i){TL(this,"router",void 0),TL(this,"injector",void 0),TL(this,"preloadingStrategy",void 0),TL(this,"loader",void 0),TL(this,"subscription",void 0),this.router=t,this.injector=n,this.preloadingStrategy=r,this.loader=i}setUpPreloading(){this.subscription=this.router.events.pipe(ke((t=>t instanceof Pj)),Oe((()=>this.preload()))).subscribe((()=>{}))}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const s of e){var r,i;s.providers&&!s._injector&&(s._injector=Up(s.providers,t,`Route: ${s.path}`));const e=null!==(r=s._injector)&&void 0!==r?r:t,a=null!==(i=s._loadedInjector)&&void 0!==i?i:e;var o;if((s.loadChildren&&!s._loadedRoutes&&void 0===s.canLoad||s.loadComponent&&!s._loadedComponent)&&n.push(this.preloadConfig(e,s)),s.children||s._loadedRoutes)n.push(this.processRoutes(a,null!==(o=s.children)&&void 0!==o?o:s._loadedRoutes))}return de(n).pipe(Te())}preloadConfig(t,e){return this.preloadingStrategy.preload(e,(()=>{let n;n=e.loadChildren&&void 0===e.canLoad?this.loader.loadChildren(t,e):he(null);const r=n.pipe(De((n=>{var r;return null===n?he(void 0):(e._loadedRoutes=n.routes,e._loadedInjector=n.injector,this.processRoutes(null!==(r=n.injector)&&void 0!==r?r:t,n.routes))})));if(e.loadComponent&&!e._loadedComponent){return de([r,this.loader.loadComponent(e)]).pipe(Te())}return r}))}}_L=LB,TL(LB,"ɵfac",(function(t){return new(t||_L)(jr(OB),jr(_S),jr(Pi),jr(FB),jr(pB))})),TL(LB,"ɵprov",ir({token:_L,factory:_L.ɵfac,providedIn:"root"}));const jB=new fr("");class zB{constructor(t,e,n,r,i={}){TL(this,"urlSerializer",void 0),TL(this,"transitions",void 0),TL(this,"viewportScroller",void 0),TL(this,"zone",void 0),TL(this,"options",void 0),TL(this,"routerEventsSubscription",void 0),TL(this,"scrollEventsSubscription",void 0),TL(this,"lastId",0),TL(this,"lastSource","imperative"),TL(this,"restoredId",0),TL(this,"store",{}),this.urlSerializer=t,this.transitions=e,this.viewportScroller=n,this.zone=r,this.options=i,i.scrollPositionRestoration||(i.scrollPositionRestoration="disabled"),i.anchorScrolling||(i.anchorScrolling="disabled")}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe((t=>{t instanceof Rj?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Pj?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof Nj&&t.code===Ij.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))}))}consumeScrollEvents(){return this.transitions.events.subscribe((t=>{t instanceof Zj&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))}))}scheduleScrollEvent(t,e){this.zone.runOutsideAngular((()=>{setTimeout((()=>{this.zone.run((()=>{this.transitions.events.next(new Zj(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}))}),0)}))}ngOnDestroy(){var t,e;null===(t=this.routerEventsSubscription)||void 0===t||t.unsubscribe(),null===(e=this.scrollEventsSubscription)||void 0===e||e.unsubscribe()}}function BB(t,e){return{"ɵkind":t,"ɵproviders":e}}SL=zB,TL(zB,"ɵfac",(function(t){zf()})),TL(zB,"ɵprov",ir({token:SL,factory:SL.ɵfac}));new fr("",{providedIn:"root",factory:()=>!1});function UB(){const t=Br(Ha);return e=>{var n,r;const i=t.get(og);if(e!==i.components[0])return;const o=t.get(OB),s=t.get(HB);1===t.get(VB)&&o.initialNavigation(),null===(n=t.get($B,null,Tr.Optional))||void 0===n||n.setUpPreloading(),null===(r=t.get(jB,null,Tr.Optional))||void 0===r||r.init(),o.resetRootComponentType(i.componentTypes[0]),s.closed||(s.next(),s.complete(),s.unsubscribe())}}const HB=new fr("",{factory:()=>new Pt}),VB=new fr("",{providedIn:"root",factory:()=>1});const $B=new fr("");new fr("");const qB=[AE,{provide:GL,useClass:ZL},OB,tz,{provide:uz,useFactory:function(t){return t.routerState.root},deps:[OB]},pB,[]];class WB{constructor(){0}static forRoot(t,e){return{ngModule:WB,providers:[qB,[],{provide:fB,multi:!0,useValue:t},[],null!=e&&e.errorHandler?{provide:_B,useValue:e.errorHandler}:[],{provide:cB,useValue:e||{}},null!=e&&e.useHash?{provide:CE,useClass:TE}:{provide:CE,useClass:DE},{provide:jB,useFactory:()=>{const t=Br(ST),e=Br(ou),n=Br(cB),r=Br(SB),i=Br(GL);return n.scrollOffset&&t.setOffset(n.scrollOffset),new zB(i,r,t,e,n)}},null!=e&&e.preloadingStrategy?(r=e.preloadingStrategy,BB(0,[{provide:$B,useExisting:LB},{provide:FB,useExisting:r}])).ɵproviders:[],null!=e&&e.initialNavigation?GB(e):[],null!=e&&e.bindToComponentInputs?BB(8,[_z,{provide:wz,useExisting:_z}]).ɵproviders:[],null!=e&&e.enableViewTransitions?BB(9,[{provide:yB,useValue:wB},{provide:bB,useValue:DL({skipNextTransition:!1},n)}]).ɵproviders:[],[{provide:ZB,useFactory:UB},{provide:ng,multi:!0,useExisting:ZB}]]};var n,r}static forChild(t){return{ngModule:WB,providers:[{provide:fB,multi:!0,useValue:t}]}}}function GB(t){return["disabled"===t.initialNavigation?BB(3,[{provide:tg,multi:!0,useFactory:()=>{const t=Br(OB);return()=>{t.setUpLocationChangeListener()}}},{provide:VB,useValue:2}]).ɵproviders:[],"enabledBlocking"===t.initialNavigation?BB(2,[{provide:VB,useValue:0},{provide:tg,multi:!0,deps:[Ha],useFactory:t=>{const e=t.get(yE,Promise.resolve());return()=>e.then((()=>new Promise((e=>{const n=t.get(OB),r=t.get(HB);xB(n,(()=>{e(!0)})),t.get(SB).afterPreactivation=()=>(e(!0),r.closed?he(void 0):r),n.initialNavigation()}))))}}]).ɵproviders:[]]}CL=WB,TL(WB,"ɵfac",(function(t){return new(t||CL)})),TL(WB,"ɵmod",Wp({type:CL})),TL(WB,"ɵinj",or({}));const ZB=new fr("");new bS("19.2.3");class YB{constructor(t,e){this._router=t,this._zone=e,NI.keepValueFor("server:transitscroll",3e3)}ngAfterViewInit(){let t=this;if(!this.outlet)return;let e=this.outlet.activateEvents.subscribe((n=>{let r=()=>{let t=document.querySelector(".app-server-transit-in");try{document.querySelector(".app-server-transit-out")&&t?(t.classList.add("prepare"),this._zone.runOutsideAngular((()=>{sI((()=>{try{let e=document.querySelector(".app-server-transit-out");e&&e.parentElement&&e.parentElement.removeChild(e),t.classList.remove("prepare"),t.classList.add("ready")}catch(t){console.error(t)}})),sI((()=>{NI.emit("server:transitscroll","done")}))}))):NI.emit("server:transitscroll","done")}catch(e){console.error(e),NI.emit("server:transitscroll","none");let n=document.querySelector(".app-server-transit-out");n&&n.parentElement&&n.parentElement.removeChild(n),t.classList.remove("prepare"),t.classList.add("ready")}let e=document.querySelector("#page-preloader");e||(e=document.querySelector("#page-mask-shell")),e&&(e.classList.add("ready"),this._zone.runOutsideAngular((()=>{setTimeout((()=>{e&&e.parentElement&&e.parentElement.removeChild(e)}),350)})))},i=n.onRouteSuccess,o=n.onRouteFail;i?(n.onRouteSuccess=function(){i.apply(this,arguments),t._zone.runOutsideAngular((()=>{sI((()=>{r(),NI.emit("$shortcodes:set")}))})),n.onRouteSuccess=i,n.onRouteFail=o},o&&(n.onRouteFail=function(){o.apply(this,arguments),t._zone.runOutsideAngular((()=>{sI((()=>{r()}))})),n.onRouteSuccess=i,n.onRouteFail=o})):r(),e&&e.unsubscribe&&e.unsubscribe()}))}ngOnDestroy(){NI.terminate("server:transitscroll")}}YB.ɵfac=function(t){return new(t||YB)(jf(OB),jf(ou))},YB.ɵdir=Yp({type:YB,viewQuery:function(t,e){if(1&t&&sw(yz,5),2&t){let t;aw(t=uw())&&(e.outlet=t.first)}}});class KB{constructor(t){this.router=t}canActivate(t,e){let n={query:eI(t.queryParams),url:e.url,params:eI(t.params),segments:[]};return Gk(t.url,(t=>{n.segments.push({name:t.path,params:t.parameters})})),this.onEnter(n).then((t=>(this.data=t,!0))).catch((t=>t&&t instanceof Error?(KI().then((e=>{e.captureException(t)})),Promise.reject(t)):t?t.failed?(this.data={failed:t.data||null},!0):(t.invalid?this.router.navigate(["/invalid-page"],{replaceUrl:!0}):t.internal?this.router.navigate(["/internal-error"],{replaceUrl:!0}):t.redirect&&this.router.navigate([`/${t.redirect}`],{replaceUrl:!0}),!1):null))}canActivateChild(t,e){return this.canActivate(t,e)}resolve(t,e){return Promise.resolve(this.data)}}KB.ɵfac=function(t){return new(t||KB)(jr(OB))},KB.ɵprov=ir({token:KB,factory:KB.ɵfac});class QB{canDeactivate(t,e,n){return!t.onRouteLeave||t.onRouteLeave()}}QB.ɵfac=function(t){return new(t||QB)},QB.ɵprov=ir({token:QB,factory:QB.ɵfac});class JB{onRouteFail(t){}onRouteSuccess(t){}onRouteLeave(){return!0}constructor(t){t&&(this._route=t)}ngOnInit(){this._route&&this._route.data&&this._route.data.pipe(Le()).subscribe((t=>{Yk(t.data)&&"failed"in t.data?(this.failed_route=!0,this.onRouteFail(t.data)):this.onRouteSuccess&&this.onRouteSuccess(t)}))}}JB.ɵfac=function(t){return new(t||JB)(jf(uz))},JB.ɵdir=Yp({type:JB});class XB{set focus(t){this._focus=t,this._ready&&t&&!jk()&&this._el&&this._el.nativeElement&&this._el.nativeElement.focus&&this._FocusScroll()}get focus(){return this._focus}set zenscroll(t){this._zenscroll=t,this.scrollto=t}get zenscroll(){return this._zenscroll}constructor(t,e,n){this._el=t,this._zone=e,this._renderer=n,this._ready=!1,this.no_click=!1,this.scrollto=!1,this.inner_focus=!1,this._zenscroll=!1,this.tabindex="-1"}_FocusScroll(){let t=document.activeElement;if(t&&t.blur&&nI(t.tagName.toLowerCase(),["input","select","button","textarea"])&&t.blur(),this._el&&this._el.nativeElement)try{let t=this._el.nativeElement;if(this.inner_focus){let e=0;for(t.childNodes.length;e<length;e++){let n=t.childNodes[e];if(1==n.nodeType){t=n;break}}}"empty"==this.tabindex?this._renderer.removeAttribute(t,"tabindex"):this._renderer.setAttribute(t,"tabindex",this.tabindex),this.no_click||t.click(),t.focus(),setTimeout((()=>{t.focus()}))}catch(t){}this._zone.runOutsideAngular((()=>{const t={zen:lO,body:uO};this.scrollto&&setTimeout((()=>{sI((()=>{let e=.42*window.innerHeight,n=this._el.nativeElement.getBoundingClientRect().top,r=Math.round(e-n);t.zen&&this.zenscroll?t.zen.toY(t.body.scrollTop-r,300):t.body?t.body.scrollTop-=r:window.scrollTo(window.screenX,window.scrollY-r)}))}))}))}ngOnInit(){this._ready=!0,jk()||this._focus&&this._el&&this._FocusScroll()}}XB.ɵfac=function(t){return new(t||XB)(jf(bu),jf(ou),jf(Af))},XB.ɵdir=Yp({type:XB,selectors:[["","ng-focus",""]],inputs:{focus:[0,"focus-when","focus"],no_click:[0,"no-click","no_click"],scrollto:[0,"focus-scroll","scrollto"],inner_focus:[0,"inner-focus","inner_focus"],zenscroll:[0,"focus-zen-scroll","zenscroll"],tabindex:"tabindex"},standalone:!1});class tU{}tU.ɵfac=function(t){return new(t||tU)},tU.ɵmod=Wp({type:tU}),tU.ɵinj=or({imports:[bT]});class eU{constructor(t){this.onSubmit=new Ja,this._allow_submit=!1,this._form=t.nativeElement,this.submit=this.submit.bind(this)}submit(t){return this.onSubmit.emit(t),this._allow_submit||t.preventDefault(),this._allow_submit}ngAfterViewInit(){this._form&&!jk()&&this._form.addEventListener("submit",this.submit,!1)}ngOnDestroy(){this._form&&!jk()&&this._form.removeEventListener("submit",this.submit)}}eU.ɵfac=function(t){return new(t||eU)(jf(bu))},eU.ɵdir=Yp({type:eU,selectors:[["form","form-submit",""]],inputs:{_allow_submit:[0,"allow-submit","_allow_submit"]},outputs:{onSubmit:"onSubmit"},standalone:!1});class nU{}nU.ɵfac=function(t){return new(t||nU)},nU.ɵmod=Wp({type:nU}),nU.ɵinj=or({imports:[bT,UN]}),t.$http=function(t){let e=t;"GET"!=e.method||"xsrf"in e||(e.xsrf=!1),e.xsrf="xsrf"in e?e.xsrf:dI.xsrf,e.method="method"in e?e.method:dI.method,e.headers="headers"in e?e.headers:dI.headers,e.data=e.data||{},e.events="events"in e?e.events:dI.events,e.silent&&(e.events=!1);let n=e.id||oI(),r=e.retry||0;return null!==n&&$I[n]&&($I[n](),delete $I[n],n==VI&&(VI=null)),new Promise((function(t,i){let o=!1,s=!0;if(Zk(e.before)&&(s=e.before(),rI(s)&&(s=!0)),!s)return null;var a=()=>{Zk(e.after)&&e.after()},u=e=>{t(e),a()},l=t=>{i(t),a()};let c=function(){var t,r,i;(t=n,r=e,i=o,r&&!r.xsrf?new Promise((function(t){t({})})):(GI=GI||HI.asyncget("XSRF-TOKEN").then((e=>i||!e?new Promise((function(e,n){(function(t,e){return qI||(WI=!0,qI=new Promise((function(n,r){const i=!e||"events"in e==0||e.events;let o=function(e){zI({url:pI()+"/sid.php",data:{a:"1",buster:oI()},method:"GET",events:i}).then((function(s){if(WI=!1,t&&!$I[t])return void(qI=null);let a=s.data;if(!a.error&&a&&Yk(a))if(a.__whid){let t=a.__whid;NI.emit("$server:whid",t),n(t),a.site_color&&NI.emit("$server:sitecolor",a.site_color,!0)}else e?(ZI(),r({status:-1,type:i?"whiderror":"silentwhiderror",data:a,httpstatus:s.status})):o(!0);else e?(ZI(),r({status:-1,type:i?"whiderror":"silentwhiderror",data:a,httpstatus:s.status})):o(!0)})).catch((e=>{ZI(),t&&!$I[t]||(nI(e.status,[-1,-10,999,403])||e.status>=404&&e.status<409?r(e):r({status:-1,type:i?"whiderror":"silentwhiderror",data:e,httpstatus:e.status}))}))};o(),t&&($I[t]=BI())}))),qI})(t,r).then((function(i){let o=function(s){zI({data:{action:"get-csrf-token",buster:oI()},headers:{"X-XSRF-WHID":i,"Content-Type":"text/html; charset=utf-8"},method:"GET",expectedType:"text",events:!r||"events"in r==0||r.events}).then((function(r){if(!t||$I[t]){var a=r.data;Hk(a)?e({token:a,whid:i}):s?n({status:400,type:"csrferror",data:a}):o(!0)}})).catch((function(e){t&&!$I[t]||(nI(e.status,[-1,-10,999,403])||e.status>=404&&e.status<409?n(e):n({status:400,type:"csrferror",data:e}))}))};o(),t&&($I[t]=BI())})).catch((function(t){n(t)})),t&&($I[t]=BI())})):{token:e})),GI.then((function(){GI=null}),(function(){GI=null})),GI)).then((function(t){t.token&&(e.headers["X-XSRF-TOKEN"]=t.token),t.whid&&(e.headers["X-XSRF-WHID"]=t.whid),o&&(e.headers["X-XSRF-RETRY"]="1"),zI(e).then((function(t){if(!$I[n])return;let r={data:null,headers:t.headers||{}};if(t.data&&t.data.maintainance)e.events&&NI.emit("$server:maintainance"),e.silent?u({error:!0}):(r.data={status:-1,type:"maintainance",data:null},l(e.readheaders?r:r.data));else if(t.data&&t.data.apiblocked){if(e.events){const e=t.headers||{};NI.emit("$api:banned",e["CF-Ray"]||e["cf-ray"])}e.silent?u({error:!0}):(r.data={status:-1,type:"banned",data:null},l(e.readheaders?r:r.data))}else r.data=t.data,u(e.readheaders?r:r.data);delete $I[n],n==VI&&(VI=null)}),d),$I[n]=BI()})).catch((function(t){$I[n]&&d(t)})),"POST"===e.method&&e.xsrf||($I[n]=BI()),VI=n},d=function(t){if(!$I[n])return;if(-999==t.status||-10==t.status)return t.status=-10,e.silent?u({error:!0}):l(t),delete $I[n],n==VI&&(VI=null),!1;let i={status:t.status,options:e,data:t.data};if(403==t.status){const n=t.headers||{};e.events&&NI.emit("$server:banned",n["CF-Ray"]||n["cf-ray"]),t.type="banned",e.events&&(t.httpstatus=t.status),t.status=e.events?-1:403}else{if(400!==t.status&&r>0)return r--,c(),!1;if(t.status&&t.status>=404&&t.status<512)e.events&&NI.emit("$server:error",i),t.type="failed request",e.events&&(t.httpstatus=t.status),t.status=e.events?-1:t.status;else{if(400==t.status&&e.xsrf&&!o)return o=!0,c(),!1;!e.silent&&e.events&&("csrferror"==t.type?(NI.emit("$server:csrferror",i),t.httpstatus=t.status,t.status=-1,t.type="failed request"):"whiderror"!=t.type&&"silentwhiderror"!=t.type||("whiderror"==t.type&&NI.emit("$server:whiderror",i),t.httpstatus=t.status,t.status=-1,t.type="failed request"))}}e.silent||l(t),delete $I[n],n==VI&&(VI=null),e.silent&&u({error:!0})};c()}))},t.$httpAbort=function(t){void 0!==t?$I[t]&&($I[t](),delete $I[t],VI==t&&(VI=null),WI&&ZI()):VI&&$I[VI]&&($I[VI](),delete $I[VI],VI=null,WI&&ZI())},t.ActivatedRoute=uz,t.AppContainer=JN,t.AppData=YM,t.ApplicationRef=og,t.BehaviorSubject=Nt,t.BrowserModule=Sk,t.ChangeDetectorRef=HS,t.ClearUserInfo=function(){YI.group("mw"),YI.remove("has-sess"),YI.remove("crd"),YI.remove("vs"),YI.get("is-inst-user")&&YI.remove("is-inst-user"),YI.get("auth-user")&&YI.remove("auth-user"),YI.get("userAccessToken")&&YI.remove("userAccessToken"),YI.get("refreshToken")&&YI.remove("refreshToken"),YI.remove(KM),YI.remove("full"),YI.remove("has_debt"),YI.remove("has_holiday_budget"),YI.remove("userPlan"),YI.remove("activePlan"),YI.remove("accountId")},t.CommonModule=bT,t.Component=vS,t.ContentChild=Ap,t.ContentChildren=Tp,t.Cookies=HI,t.DatePipe=sT,t.Directive=pS,t.DirectivesModule=UN,t.ElementRef=bu,t.Env=uI,t.ErrorHandler=fu,t.ErrorToastComponent=GM,t.ErrorsModule=ZM,t.EventEmitter=Ja,t.Events=NI,t.FormSubmit=eU,t.FormSubmitModule=nU,t.GetSharedUser=function(t){return HI.asyncget("mw_signon").then((e=>{if(!e)return Promise.resolve(null);let n=null;try{n=JSON.parse(e)}catch(t){return Promise.reject(t)}Lk()&&(n=Object.assign(n,YI.get(KM)));const r={name:n.ufn?n.ufn:n.ucrn?n.ucrn:n.un.split("_")[0],avatar:n.pp,url:pI()+"/profile/"+n.id+"i",upr:n.upr,id:n.id,shared_accounts:[]};r.name&&(r.name=r.name.replace("+"," ").toLowerCase());let i=null,o=null;const s=JM();if((null==s?void 0:s.authUser)&&(o=s.authUser,/^\d+$/.test(o)||(o=null)),"sa"in n&&Array.isArray(n.sa)&&n.sa.length&&t)for(const t of n.sa)if(t[0]==o){i={id:t[0],name:t[1],avatar:t[2],with_image:!1,profile:null},t.length>4&&t[4]&&(i.avatar=t[4],i.with_image=!0),t.length>5&&!0===t[5]&&(i.profile="https://"+document.location.hostname+"/profile/"+t[3]+"i");let e=!1,o=r.avatar;if(o)e=!0;else{const t=n.ufn.split(/\s+/).map((t=>/^[a-z]\.?\s*$/i.test(t)?null:t)).filter((t=>t));o=1==t.length?t[0].substring(0,2).toUpperCase():t.slice(0,2).map((t=>t.charAt(0))).join("").toUpperCase()}r.shared_accounts.push({id:null==s?void 0:s.lo_pvt_id,name:r.name,avatar:o,with_image:e,profile:"id"in n?"https://"+document.location.hostname+"/profile/"+n.id+"i":null})}else{let e=!1,n=t[2],i=null;t.length>4&&t[4]&&(e=!0,n=t[4]),t.length>5&&!0===t[5]&&(i="https://"+document.location.hostname+"/profile/"+t[3]+"i"),r.shared_accounts.push({id:t[0],name:t[1],avatar:n,with_image:e,profile:i})}if(i&&(r.name=i.name,r.avatar=null,i.with_image?r.avatar=i.avatar:r.initials=i.avatar,i.profile?(r.upr=!0,r.url=i.profile):r.upr=!1),!r.initials&&r.name){let t=r.name.split(/\s+/).map((t=>/^[a-z]\.?\s*$/i.test(t)?null:t)).filter((t=>t));1==t.length?r.initials=t[0].slice(0,2).toUpperCase():r.initials=t.map((t=>t.slice(0,1))).join("").toUpperCase()}return r}))},t.Injectable=za,t.Input=gS,t.LocalStorage=YI,t.Location=AE,t.MoneyFormat=AN,t.NGRavenExceptionHandler=class{handleError(t){KI().then((e=>{let n=t.originalError||t;n&&(e.captureException(n),console.error(n))}))}},t.NgClass=PD,t.NgFocusModule=tU,t.NgForOf=LD,t.NgIf=zD,t.NgIvyRouteChild=function(t,e="RoutePageModule"){let n;try{n=r.import(t).then((function(t){return t[e]})).catch((t=>(KI().then((e=>{e.captureException(t)})),Promise.reject(t))))}catch(t){KI().then((e=>{e.captureException(t)})),n=Promise.reject(t)}return n},t.NgModule=yS,t.NgStyle=ZD,t.NgSwitch=VD,t.NgSwitchCase=$D,t.NgZone=ou,t.Observable=Et,t.Optional=Wr,t.Output=mS,t.RavenJs=KI,t.RavenRequestFail=function(t,e,n,r="warning"){const i=Mk();KI().then((o=>{nI(t.status,[-1,-999,-10,400])||(t.status&&(e+="; status: "+t.status),i?console.warn(e):o.withScope((i=>{switch(i.setExtras({details:JSON.stringify(t),params:n?JSON.stringify(n):null,path:window.location.pathname||window.location.href}),r){case"critical":i.setLevel("fatal");break;case"error":i.setLevel("error");break;default:i.setLevel("warning");break;case"info":i.setLevel("info");break;case"debug":i.setLevel("debug")}o.captureMessage(e)})))}))},t.Renderer2=Af,t.RouteGuard=KB,t.RoutePage=JB,t.Router=OB,t.RouterModule=WB,t.RouterOutlet=yz,t.Sanitize=EN,t.ScrollMainRegion=dO,t.ScrollerService=cO,t.ServerRenderMainComponent=YB,t.StringReplace=function(t,e){return t.replace(/\{(\d+)\}/g,((t,n)=>void 0!==e[n]?e[n]:t))},t.Subject=Pt,t.Subscription=at,t.TouchGestures=JI,t.TouchGesturesMainRegion=QI,t.ViewChild=kp,t.ViewChildren=xp,t.__awaiter=Y,t.__read=J,t.ajaxUrl=function(t){return pI()+"/ajax.php"},t.arrayForEach=Gk,t.async=$t,t.asyncScheduler=Vt,t.baseUrl=pI,t.cleanInput=function(t){if(jk()||Bk())return t;let e=document.createTextNode(t.toString()),n=document.createElement("p");return n.appendChild(e),n=n.innerHTML,n},t.createOperatorSubscriber=xt,t.debounceTime=function(t,e){return void 0===e&&(e=Vt),At((function(n,r){var i=null,o=null,s=null,a=function(){if(i){i.unsubscribe(),i=null;var t=o;o=null,r.next(t)}};function u(){var n=s+t,o=e.now();if(o<n)return i=this.schedule(void 0,n-o),void r.add(i);a()}n.subscribe(xt(r,(function(n){o=n,s=e.now(),i||(i=e.schedule(u,t),r.add(i))}),(function(){a(),r.complete()}),void 0,(function(){o=i=null})))}))},t.enableProdMode=function(){0},t.getNumOfFullQna=function(t){if("object"!=typeof t||null===t)return 0;const e="NUM_FULL_TOP_QA"in t?String(t.NUM_FULL_TOP_QA):null,n="NUM_FULL_TOP_TEN_QA"in t?String(t.NUM_FULL_TOP_TEN_QA):null;return e?parseInt(e,10)||0:n&&parseInt(n,10)||0},t.getQuestionsCount=function(t){if("object"!=typeof t||null===t)return null;const e="NUM_TOP_TEN_QA"in t?String(t.NUM_TOP_TEN_QA):null,n="NUM_TOP_QA"in t?String(t.NUM_TOP_QA):null;if(e){const t=parseInt(e,10);if(t>0)return t}if(n){const t=parseInt(n,10);if(t>0)return t}return null},t.getSignOn=JM,t.inject=Br,t.innerFrom=ie,t.is6600Group=function(){return tL([6600])},t.isAny=nI,t.isArray=Wk,t.isArrayLike=Yt,t.isCordova=Lk,t.isCordovaAndroid=function(){return Lk()&&window.top.device&&"android"==window.top.device.platform.toLowerCase()},t.isDev=function(){return"DEV"==uI.getEnv()},t.isFullUser=XM,t.isFunction=rt,t.isInstitutionUser=function(){var t;return YI.group("mw"),(null===(t=YI.get(KM))||void 0===t?void 0:t.institution)||YI.get("is-inst-user")},t.isJasmineTest=Bk,t.isLightEnhanced=function(){var t;return!XM()&&(null===(t=JM())||void 0===t?void 0:t.enhanced)},t.isLocal=Mk,t.isLoggedIn=function(){return!(jk()&&!Bk())&&(YI.group("mw"),!!(Nk()&&HI.get(QM)||YI.get(KM)))},t.isNode=jk,t.isNullorUndefined=rI,t.isNumber=$k,t.isObject=Yk,t.isProd=function(){return"PROD"==uI.getEnv()||!Lk()&&"STAGE"==uI.getEnv()},t.isScheduler=Wt,t.isString=Hk,t.isTestGroup=function(){return tL([1005])},t.isWeb=Nk,t.map=ve,t.mapOneOrManyArgs=me,t.mergeMap=De,t.ngAriaHidden=NN,t.ngAriaLabelSelf=MN,t.ngAriaLive=jN,t.ngAttribute=TN,t.ngCleanBind=ON,t.ngCleanHTML=kN,t.ngFocus=XB,t.ngHidden=DN,t.ngModalDialog=qM,t.ngModalsModule=WM,t.ngSpeak=LN,t.ngSvg=RN,t.ngZenScroll=hO,t.objectForEach=Qk,t.objectFromParam=function(t,e=null,n=!1){let r={};return t.split("&").forEach((t=>{const[i,o]=t.split("=");if(void 0!==o){let t=e;try{t=""===i?o:decodeURIComponent(o)}catch(t){}n?(r.params||(r.params={},r.paramstring=""),r.params[i]=t,r.paramstring&&(r.paramstring+="&"),r.paramstring+=`${i}=${o}`):r[i]=t}else i&&(n?(r.nulls||(r.nulls={}),r.nulls[i]=e):r[i]=e)})),r},t.objectSerialize=Kk,t.operate=At,t.passiveEventsCheck=aI,t.platformBrowser=bk,t.reqAnimationFrame=sI,t.rpcUrl=vI,t.rpcV2Url=function(){return pI()+"/home/rpc/v2"},t.setClassMetadata=Vv,t.setUserDetails=function(t,e){const n=18e5;if(YI.group("mw"),"userDashboards"in t&&(Array.isArray(t.userDashboards)?(t.userDashboards.length>0&&(t.userDashboards=t.userDashboards.filter((t=>-1===["spendinginsights","Main","Spending","Timeline","user_Main","user_Spending","user_Timeline"].indexOf(t)&&t.indexOf("default_")<0)).map((t=>t.replace(/\s/g,"_")))),Nk()&&YI.set("userDashboards",t.userDashboards)):YI.remove("userDashboards")),Lk()){let e=YI.get(KM)||{};e=tI(e,t),YI.set(KM,e)}"full"in t&&YI.set("full",t.full),"id"in t&&(YI.set("pub_id",t.id),YI.set("sentry_pub_id",t.id)),"lo_pvt_id"in t&&(null==t.lo_pvt_id?(YI.remove("lo_pvt_id"),YI.remove("pvt_id")):(YI.set("lo_pvt_id",t.lo_pvt_id),Lk()&&YI.set("pvt_id",t.lo_pvt_id))),"groupId"in t&&YI.set("logout_group_id",t.groupId,864e5),"standing"in t&&YI.set("crd",t.standing,n),"score"in t&&YI.set("vs",t.score,n),"institution"in t&&YI.set("is-inst-user",t.institution),"has_transactions"in t&&YI.set("has_transactions",t.has_transactions),"has_investment_activities"in t&&YI.set("has_investment_activities",t.has_investment_activities),"userPlan"in t&&YI.set("userPlan",t.userPlan),"userAccessToken"in t&&YI.set("userAccessToken",t.userAccessToken,12e5),"refreshToken"in t&&YI.set("refreshToken",t.refreshToken),"enhanced"in t&&YI.set("enhanced",t.enhanced||!1),"activePlan"in t&&YI.set("activePlan",t.activePlan),"accountId"in t&&YI.set("accountId",t.accountId),"auth-user"in t&&(null==t["auth-user"]?YI.remove("auth-user"):YI.set("auth-user",t["auth-user"])),"has_debt"in t&&(null==t.has_debt?YI.remove("has_debt"):YI.set("has_debt",t.has_debt))},t.setWHID=function(t){qI=new Promise((function(e){e(t)}))},t.stringGetDigits=Vk,t.take=Pe,t.takeUntil=Ue,t.toNumber=qk,t.trim=Uk,t.tryCatch=function(t,e){try{return t()}catch(t){return Zk(e)?e(t):void 0}},t.uniqid=oI,t.userHasDebt=function(){return YI.group("mw"),rI(YI.get("has_debt"))||YI.get("has_debt")},t.userHasHolidayBudget=function(){let t=new Date(2023,11,25,23,59,0),e=new Date,n=e<new Date(2023,10,7,23,59,0)||e>t;return YI.group("mw"),!n&&YI.get("has_holiday_budget")},t.userIp=function(){let t=vI()+"?action=get-my-ip";return new Promise((function(e,n){let r=function(){UI(t).then((function(t){t.ip?e(t.ip):n(null)})).catch((function(){n(null)}))};UI("https://api.ipify.org/?format=json").then((function(t){t&&t.ip?e(t.ip):r()})).catch((function(){r()}))}))},t.yieldToMain=lI,t.ɵsetClassDebugInfo=L_,t.ɵɵInheritDefinitionFeature=ev,t.ɵɵNgOnChangesFeature=yo,t.ɵɵadvance=Pd,t.ɵɵattribute=Gg,t.ɵɵclassMap=Mm,t.ɵɵclassProp=Pm,t.ɵɵconditional=hy,t.ɵɵcontentQuery=ow,t.ɵɵdefineComponent=Vp,t.ɵɵdefineDirective=Yp,t.ɵɵdefineInjectable=ir,t.ɵɵdefineInjector=or,t.ɵɵdefineNgModule=Wp,t.ɵɵdirectiveInject=jf,t.ɵɵelement=Dy,t.ɵɵelementContainerEnd=xy,t.ɵɵelementContainerStart=Ay,t.ɵɵelementEnd=Ey,t.ɵɵelementStart=Cy,t.ɵɵgetCurrentView=Oy,t.ɵɵgetInheritedFactory=Ta,t.ɵɵinject=jr,t.ɵɵlistener=zb,t.ɵɵloadQuery=uw,t.ɵɵnamespaceSVG=Ns,t.ɵɵnextContext=qb,t.ɵɵpipe=x_,t.ɵɵpipeBind1=k_,t.ɵɵpipeBind2=I_,t.ɵɵprojection=Zb,t.ɵɵprojectionDef=Gb,t.ɵɵproperty=Im,t.ɵɵpureFunction0=h_,t.ɵɵpureFunction1=f_,t.ɵɵpureFunction2=p_,t.ɵɵpureFunction3=v_,t.ɵɵpureFunction5=m_,t.ɵɵpureFunction6=y_,t.ɵɵpureFunction7=b_,t.ɵɵqueryRefresh=aw,t.ɵɵrepeater=by,t.ɵɵrepeaterCreate=my,t.ɵɵrepeaterTrackByIndex=py,t.ɵɵresetView=rs,t.ɵɵrestoreView=ns,t.ɵɵsanitizeHtml=Hc,t.ɵɵsanitizeUrl=$c,t.ɵɵsetNgModuleScope=l_,t.ɵɵtemplate=Ev,t.ɵɵtemplateRefExtractor=N_,t.ɵɵtext=Rw,t.ɵɵtextInterpolate=Fw,t.ɵɵtextInterpolate1=Nw,t.ɵɵtextInterpolate2=Mw,t.ɵɵviewQuery=sw}));