define(["exports","npm:@glidejs/glide/dist/glide.js","systemjs","npm:navigo/lib/navigo.js","css:/rating-box.css"],function(e,t,n,i,r){"use strict";function s(e){var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if("default"!==n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var o=s(n).default;function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){return Object.is(e,t)}let d=null,h=!1,p=1;const f=Symbol("SIGNAL");function g(e){const t=d;return d=e,t}const _={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 m(e){if(h)throw new Error("");if(null===d)return;d.consumerOnSignalRead(e);const t=d.nextProducerIndex++;if(D(d),t<d.producerNode.length&&d.producerNode[t]!==e&&x(d)){R(d.producerNode[t],d.producerIndexOfThis[t])}d.producerNode[t]!==e&&(d.producerNode[t]=e,d.producerIndexOfThis[t]=x(d)?A(e,d,t):0),d.producerLastReadVersion[t]=e.version}function v(e){x(e)&&!e.dirty||(e.dirty||e.lastCleanEpoch!==p)&&(e.producerMustRecompute(e)||I(e)?(e.producerRecomputeValue(e),E(e)):E(e))}function b(e){if(void 0===e.liveConsumerNode)return;const t=h;h=!0;try{for(const t of e.liveConsumerNode)t.dirty||w(t)}finally{h=t}}function y(){var e;return!1!==(null===(e=d)||void 0===e?void 0:e.consumerAllowSignalWrites)}function w(e){var t;e.dirty=!0,b(e),null===(t=e.consumerMarkedDirty)||void 0===t||t.call(e,e)}function E(e){e.dirty=!1,e.lastCleanEpoch=p}function T(e){return e&&(e.nextProducerIndex=0),g(e)}function C(e,t){if(g(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(x(e))for(let t=e.nextProducerIndex;t<e.producerNode.length;t++)R(e.producerNode[t],e.producerIndexOfThis[t]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function I(e){D(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],i=e.producerLastReadVersion[t];if(i!==n.version)return!0;if(v(n),i!==n.version)return!0}return!1}function S(e){if(D(e),x(e))for(let t=0;t<e.producerNode.length;t++)R(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function A(e,t,n){if(k(e),0===e.liveConsumerNode.length&&O(e))for(let t=0;t<e.producerNode.length;t++)e.producerIndexOfThis[t]=A(e.producerNode[t],e,t);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function R(e,t){if(k(e),1===e.liveConsumerNode.length&&O(e))for(let t=0;t<e.producerNode.length;t++)R(e.producerNode[t],e.producerIndexOfThis[t]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const n=e.liveConsumerIndexOfThis[t],i=e.liveConsumerNode[t];D(i),i.producerIndexOfThis[n]=t}}function x(e){var t,n;return e.consumerIsAlwaysLive||(null!==(t=null==e||null===(n=e.liveConsumerNode)||void 0===n?void 0:n.length)&&void 0!==t?t:0)>0}function D(e){var t,n,i;null!==(t=e.producerNode)&&void 0!==t||(e.producerNode=[]),null!==(n=e.producerIndexOfThis)&&void 0!==n||(e.producerIndexOfThis=[]),null!==(i=e.producerLastReadVersion)&&void 0!==i||(e.producerLastReadVersion=[])}function k(e){var t,n;null!==(t=e.liveConsumerNode)&&void 0!==t||(e.liveConsumerNode=[]),null!==(n=e.liveConsumerIndexOfThis)&&void 0!==n||(e.liveConsumerIndexOfThis=[])}function O(e){return void 0!==e.producerNode}const N=Symbol("UNSET"),L=Symbol("COMPUTING"),M=Symbol("ERRORED"),P=(()=>l(l({},_),{},{value:N,dirty:!0,error:null,equal:u,kind:"computed",producerMustRecompute:e=>e.value===N||e.value===L,producerRecomputeValue(e){if(e.value===L)throw new Error("Detected cycle in computations.");const t=e.value;e.value=L;const n=T(e);let i,r=!1;try{i=e.computation(),g(null),r=t!==N&&t!==M&&i!==M&&e.equal(t,i)}catch(t){i=M,e.error=t}finally{C(e,n)}r?e.value=t:(e.value=i,e.version++)}}))();let F=function(){throw new Error};function H(e){F(e)}function B(e,t){y()||H(e),e.equal(e.value,t)||(e.value=t,function(e){var t;e.version++,p++,b(e),null===(t=null)||void 0===t||t()}(e))}function z(e,t){y()||H(e),B(e,t(e.value))}const q=(()=>l(l({},_),{},{equal:u,value:void 0,kind:"signal"}))();function U(e,t,n){const i=Object.create(j);i.source=e,i.computation=t,null!=n&&(i.equal=n);const r=()=>{if(v(i),m(i),i.value===M)throw i.error;return i.value};return r[f]=i,r}const j=(()=>l(l({},_),{},{value:N,dirty:!0,error:null,equal:u,kind:"linkedSignal",producerMustRecompute:e=>e.value===N||e.value===L,producerRecomputeValue(e){if(e.value===L)throw new Error("Detected cycle in computations.");const t=e.value;e.value=L;const n=T(e);let i;try{const n=e.source(),r=t===N||t===M?void 0:{source:e.sourceValue,value:t};i=e.computation(n,r),e.sourceValue=n}catch(t){i=M,e.error=t}finally{C(e,n)}t!==N&&i!==M&&e.equal(t,i)?e.value=t:(e.value=i,e.version++)}}))();let V;function W(){return V}function $(e){const t=V;return V=e,t}const G=Symbol("NotFound");var Y=function(e,t){return Y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Y(e,t)};function Q(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Y(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Z=function(){return Z=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},Z.apply(this,arguments)};function K(e,t,n,i){return new(n||(n=Promise))(function(r,s){function o(e){try{l(i.next(e))}catch(e){s(e)}}function a(e){try{l(i.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,a)}l((i=i.apply(e,t||[])).next())})}function X(e,t){var n,i,r,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=a(0),o.throw=a(1),o.return=a(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(s=0)),s;)try{if(n=1,i&&(r=2&a[0]?i.return:a[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;switch(i=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){s.label=a[1];break}if(6===a[0]&&s.label<r[1]){s.label=r[1],r=a;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(a);break}r[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(e){a=[6,e],i=0}finally{n=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}}function J(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ee(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,s=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(i=s.next()).done;)o.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o}function te(e,t,n){if(n||2===arguments.length)for(var i,r=0,s=t.length;r<s;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function ne(e){return this instanceof ne?(this.v=e,this):new ne(e)}function ie(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(e,t||[]),s=[];return i=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),o("next"),o("throw"),o("return",function(e){return function(t){return Promise.resolve(t).then(e,c)}}),i[Symbol.asyncIterator]=function(){return this},i;function o(e,t){r[e]&&(i[e]=function(t){return new Promise(function(n,i){s.push([e,t,n,i])>1||a(e,t)})},t&&(i[e]=t(i[e])))}function a(e,t){try{(n=r[e](t)).value instanceof ne?Promise.resolve(n.value.v).then(l,c):u(s[0][2],n)}catch(e){u(s[0][3],e)}var n}function l(e){a("next",e)}function c(e){a("throw",e)}function u(e,t){e(t),s.shift(),s.length&&a(s[0][0],s[0][1])}}function re(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=J(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(n){t[n]=e[n]&&function(t){return new Promise(function(i,r){(function(e,t,n,i){Promise.resolve(i).then(function(t){e({value:t,done:n})},t)})(i,r,(t=e[n](t)).done,t.value)})}}}function se(e){return"function"==typeof e}function oe(e){var t=e(function(e){Error.call(e),e.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}"function"==typeof SuppressedError&&SuppressedError;var ae=oe(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n  "):"",this.name="UnsubscriptionError",this.errors=t}});function le(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var ce=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,n,i,r;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var o=J(s),a=o.next();!a.done;a=o.next()){a.value.remove(this)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else s.remove(this);var l=this.initialTeardown;if(se(l))try{l()}catch(e){r=e instanceof ae?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=J(c),d=u.next();!d.done;d=u.next()){var h=d.value;try{he(h)}catch(e){r=null!=r?r:[],e instanceof ae?r=te(te([],ee(r)),ee(e.errors)):r.push(e)}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}}if(r)throw new ae(r)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)he(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&le(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&le(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),ue=ce.EMPTY;function de(e){return e instanceof ce||e&&"closed"in e&&se(e.remove)&&se(e.add)&&se(e.unsubscribe)}function he(e){se(e)?e():e.unsubscribe()}var pe={Promise:void 0},fe=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return setTimeout.apply(void 0,te([e,t],ee(n)))};function ge(e){fe(function(){throw e})}function _e(){}function me(e){e()}var ve=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,de(t)&&t.add(n)):n.destination=Ee,n}return Q(t,e),t.create=function(e,t,n){return new ye(e,t,n)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(ce),be=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){we(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){we(e)}else we(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){we(e)}},e}(),ye=function(e){function t(t,n,i){var r,s=e.call(this)||this;return r=se(t)||!t?{next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=i?i:void 0}:t,s.destination=new be(r),s}return Q(t,e),t}(ve);function we(e){ge(e)}var Ee={closed:!0,next:_e,error:function(e){throw e},complete:_e},Te="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ce(e){return e}var Ie=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var i,r=this,s=(i=e)&&i instanceof ve||function(e){return e&&se(e.next)&&se(e.error)&&se(e.complete)}(i)&&de(i)?e:new ye(e,t,n);return me(function(){var e=r,t=e.operator,n=e.source;s.add(t?t.call(s,n):n?r._subscribe(s):r._trySubscribe(s))}),s},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=Se(t))(function(t,i){var r=new ye({next:function(t){try{e(t)}catch(e){i(e),r.unsubscribe()}},error:i,complete:t});n.subscribe(r)})},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Te]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0===(e=t).length?Ce:1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=Se(e))(function(e,n){var i;t.subscribe(function(e){return i=e},function(e){return n(e)},function(){return e(i)})})},e.create=function(t){return new e(t)},e}();function Se(e){var t;return null!==(t=null!=e?e:pe.Promise)&&void 0!==t?t:Promise}function Ae(e){return function(t){if(function(e){return se(null==e?void 0:e.lift)}(t))return t.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw new TypeError("Unable to lift unknown Observable type")}}function Re(e,t,n,i,r){return new xe(e,t,n,i,r)}var xe=function(e){function t(t,n,i,r,s,o){var a=e.call(this,t)||this;return a.onFinalize=s,a.shouldUnsubscribe=o,a._next=n?function(e){try{n(e)}catch(e){t.error(e)}}:e.prototype._next,a._error=r?function(e){try{r(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,a._complete=i?function(){try{i()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,a}return Q(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;e.prototype.unsubscribe.call(this),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}},t}(ve),De=oe(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),ke=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return Q(t,e),t.prototype.lift=function(e){var t=new Oe(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new De},t.prototype.next=function(e){var t=this;me(function(){var n,i;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var r=J(t.currentObservers),s=r.next();!s.done;s=r.next()){s.value.next(e)}}catch(e){n={error:e}}finally{try{s&&!s.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}}})},t.prototype.error=function(e){var t=this;me(function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}})},t.prototype.complete=function(){var e=this;me(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,i=n.hasError,r=n.isStopped,s=n.observers;return i||r?ue:(this.currentObservers=null,s.push(e),new ce(function(){t.currentObservers=null,le(s,e)}))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,i=t.thrownError,r=t.isStopped;n?e.error(i):r&&e.complete()},t.prototype.asObservable=function(){var e=new Ie;return e.source=this,e},t.create=function(e,t){return new Oe(e,t)},t}(Ie),Oe=function(e){function t(t,n){var i=e.call(this)||this;return i.destination=t,i.source=n,i}return Q(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:ue},t}(ke),Ne=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return Q(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){var e=this,t=e.hasError,n=e.thrownError,i=e._value;if(t)throw n;return this._throwIfClosed(),i},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(ke),Le={now:function(){return(Le.delegate||Date).now()},delegate:void 0},Me=function(e){function t(t,n,i){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===i&&(i=Le);var r=e.call(this)||this;return r._bufferSize=t,r._windowTime=n,r._timestampProvider=i,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=n===1/0,r._bufferSize=Math.max(1,t),r._windowTime=Math.max(1,n),r}return Q(t,e),t.prototype.next=function(t){var n=this,i=n.isStopped,r=n._buffer,s=n._infiniteTimeWindow,o=n._timestampProvider,a=n._windowTime;i||(r.push(t),!s&&r.push(o.now()+a)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,i=this._buffer.slice(),r=0;r<i.length&&!e.closed;r+=n?1:2)e.next(i[r]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,i=e._buffer,r=e._infiniteTimeWindow,s=(r?1:2)*t;if(t<1/0&&s<i.length&&i.splice(0,i.length-s),!r){for(var o=n.now(),a=0,l=1;l<i.length&&i[l]<=o;l+=2)a=l;a&&i.splice(0,a+1)}},t}(ke),Pe=function(e){function t(t,n){return e.call(this)||this}return Q(t,e),t.prototype.schedule=function(e,t){return this},t}(ce),Fe=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return setInterval.apply(void 0,te([e,t],ee(n)))},He=function(e){return clearInterval(e)},Be=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.scheduler=t,i.work=n,i.pending=!1,i}return Q(t,e),t.prototype.schedule=function(e,t){var n;if(void 0===t&&(t=0),this.closed)return this;this.state=e;var i=this.id,r=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(r,i,t)),this.pending=!0,this.delay=t,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(r,this.id,t),this},t.prototype.requestAsyncId=function(e,t,n){return void 0===n&&(n=0),Fe(e.flush.bind(e,this),n)},t.prototype.recycleAsyncId=function(e,t,n){if(void 0===n&&(n=0),null!=n&&this.delay===n&&!1===this.pending)return t;null!=t&&He(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var n,i=!1;try{this.work(e)}catch(e){i=!0,n=e||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),n},t.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,n=this.scheduler,i=n.actions;this.work=this.state=this.scheduler=null,this.pending=!1,le(i,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(Pe),ze=function(){function e(t,n){void 0===n&&(n=e.now),this.schedulerActionCtor=t,this.now=n}return e.prototype.schedule=function(e,t,n){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(n,t)},e.now=Le.now,e}(),qe=new(function(e){function t(t,n){void 0===n&&(n=ze.now);var i=e.call(this,t,n)||this;return i.actions=[],i._active=!1,i}return Q(t,e),t.prototype.flush=function(e){var t=this.actions;if(this._active)t.push(e);else{var n;this._active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},t}(ze))(Be),Ue=qe,je=new Ie(function(e){return e.complete()});function Ve(e){return e&&se(e.schedule)}var We=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function $e(e){return se(null==e?void 0:e.then)}function Ge(e){return se(e[Te])}function Ye(e){return Symbol.asyncIterator&&se(null==e?void 0:e[Symbol.asyncIterator])}function Qe(e){return new TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}var Ze="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function Ke(e){return se(null==e?void 0:e[Ze])}function Xe(e){return ie(this,arguments,function(){var t,n,i;return X(this,function(r){switch(r.label){case 0:t=e.getReader(),r.label=1;case 1:r.trys.push([1,,9,10]),r.label=2;case 2:return[4,ne(t.read())];case 3:return n=r.sent(),i=n.value,n.done?[4,ne(void 0)]:[3,5];case 4:return[2,r.sent()];case 5:return[4,ne(i)];case 6:return[4,r.sent()];case 7:return r.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function Je(e){return se(null==e?void 0:e.getReader)}function et(e){if(e instanceof Ie)return e;if(null!=e){if(Ge(e))return r=e,new Ie(function(e){var t=r[Te]();if(se(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")});if(We(e))return i=e,new Ie(function(e){for(var t=0;t<i.length&&!e.closed;t++)e.next(i[t]);e.complete()});if($e(e))return n=e,new Ie(function(e){n.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,ge)});if(Ye(e))return tt(e);if(Ke(e))return t=e,new Ie(function(e){var n,i;try{for(var r=J(t),s=r.next();!s.done;s=r.next()){var o=s.value;if(e.next(o),e.closed)return}}catch(e){n={error:e}}finally{try{s&&!s.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}e.complete()});if(Je(e))return tt(Xe(e))}var t,n,i,r;throw Qe(e)}function tt(e){return new Ie(function(t){(function(e,t){var n,i,r,s;return K(this,void 0,void 0,function(){var o,a;return X(this,function(l){switch(l.label){case 0:l.trys.push([0,5,6,11]),n=re(e),l.label=1;case 1:return[4,n.next()];case 2:if((i=l.sent()).done)return[3,4];if(o=i.value,t.next(o),t.closed)return[2];l.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return a=l.sent(),r={error:a},[3,11];case 6:return l.trys.push([6,,9,10]),i&&!i.done&&(s=n.return)?[4,s.call(n)]:[3,8];case 7:l.sent(),l.label=8;case 8:return[3,10];case 9:if(r)throw r.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})})(e,t).catch(function(e){return t.error(e)})})}function nt(e,t,n,i,r){void 0===i&&(i=0),void 0===r&&(r=!1);var s=t.schedule(function(){n(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(s),!r)return s}function it(e,t){return void 0===t&&(t=0),Ae(function(n,i){n.subscribe(Re(i,function(n){return nt(i,e,function(){return i.next(n)},t)},function(){return nt(i,e,function(){return i.complete()},t)},function(n){return nt(i,e,function(){return i.error(n)},t)}))})}function rt(e,t){return void 0===t&&(t=0),Ae(function(n,i){i.add(e.schedule(function(){return n.subscribe(i)},t))})}function st(e,t){if(!e)throw new Error("Iterable cannot be null");return new Ie(function(n){nt(n,t,function(){var i=e[Symbol.asyncIterator]();nt(n,t,function(){i.next().then(function(e){e.done?n.complete():n.next(e.value)})},0,!0)})})}function ot(e,t){if(null!=e){if(Ge(e))return function(e,t){return et(e).pipe(rt(t),it(t))}(e,t);if(We(e))return function(e,t){return new Ie(function(n){var i=0;return t.schedule(function(){i===e.length?n.complete():(n.next(e[i++]),n.closed||this.schedule())})})}(e,t);if($e(e))return function(e,t){return et(e).pipe(rt(t),it(t))}(e,t);if(Ye(e))return st(e,t);if(Ke(e))return function(e,t){return new Ie(function(n){var i;return nt(n,t,function(){i=e[Ze](),nt(n,t,function(){var e,t,r;try{t=(e=i.next()).value,r=e.done}catch(e){return void n.error(e)}r?n.complete():n.next(t)},0,!0)}),function(){return se(null==i?void 0:i.return)&&i.return()}})}(e,t);if(Je(e))return function(e,t){return st(Xe(e),t)}(e,t)}throw Qe(e)}function at(e,t){return t?ot(e,t):et(e)}function lt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=function(e){return Ve((t=e)[t.length-1])?e.pop():void 0;var t}(e);return at(e,n)}function ct(e,t){return Ae(function(n,i){var r=0;n.subscribe(Re(i,function(n){i.next(e.call(t,n,r++))}))})}var ut=Array.isArray;function dt(e){return ct(function(t){return function(e,t){return ut(t)?e.apply(void 0,te([],ee(t))):e(t)}(e,t)})}function ht(e,t,n){return void 0===n&&(n=1/0),se(t)?ht(function(n,i){return ct(function(e,r){return t(n,e,i,r)})(et(e(n,i)))},n):("number"==typeof t&&(n=t),Ae(function(t,i){return function(e,t,n,i,r,s,o){var a=[],l=0,c=0,u=!1,d=function(){!u||a.length||l||t.complete()},h=function(e){l++;var r=!1;et(n(e,c++)).subscribe(Re(t,function(e){t.next(e)},function(){r=!0},void 0,function(){if(r)try{l--;for(var e=function(){var e=a.shift();o||h(e)};a.length&&l<i;)e();d()}catch(e){t.error(e)}}))};return e.subscribe(Re(t,function(e){return l<i?h(e):a.push(e)},function(){u=!0,d()})),function(){}}(t,i,e,n)}))}var pt=["addListener","removeListener"],ft=["addEventListener","removeEventListener"],gt=["on","off"];function _t(e,t,n,i){if(se(n)&&(i=n,n=void 0),i)return _t(e,t,n).pipe(dt(i));var r=ee(function(e){return se(e.addEventListener)&&se(e.removeEventListener)}(e)?ft.map(function(i){return function(r){return e[i](t,r,n)}}):function(e){return se(e.addListener)&&se(e.removeListener)}(e)?pt.map(mt(e,t)):function(e){return se(e.on)&&se(e.off)}(e)?gt.map(mt(e,t)):[],2),s=r[0],o=r[1];if(!s&&We(e))return ht(function(e){return _t(e,t,n)})(et(e));if(!s)throw new TypeError("Invalid event target");return new Ie(function(e){var t=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.next(1<t.length?t:t[0])};return s(t),function(){return o(t)}})}function mt(e,t){return function(n){return function(i){return e[n](t,i)}}}function vt(e,t,n){void 0===e&&(e=0),void 0===n&&(n=Ue);var i=-1;return null!=t&&(Ve(t)?n=t:i=t),new Ie(function(t){var r,s=(r=e)instanceof Date&&!isNaN(r)?+e-n.now():e;s<0&&(s=0);var o=0;return n.schedule(function(){t.closed||(t.next(o++),0<=i?this.schedule(void 0,i):t.complete())},s)})}function bt(e,t){return Ae(function(n,i){var r=0;n.subscribe(Re(i,function(n){return e.call(t,n,r++)&&i.next(n)}))})}function yt(e,t){return void 0===t&&(t=qe),Ae(function(n,i){var r=null,s=null,o=null,a=function(){if(r){r.unsubscribe(),r=null;var e=s;s=null,i.next(e)}};function l(){var n=o+e,s=t.now();if(s<n)return r=this.schedule(void 0,n-s),void i.add(r);a()}n.subscribe(Re(i,function(n){s=n,o=t.now(),r||(r=t.schedule(l,e),i.add(r))},function(){a(),i.complete()},void 0,function(){s=r=null}))})}function wt(e){return e<=0?function(){return je}:Ae(function(t,n){var i=0;t.subscribe(Re(n,function(t){++i<=e&&(n.next(t),e<=i&&n.complete())}))})}function Et(e,t){return ht(function(t,n){return et(e(t,n)).pipe(wt(1),function(e){return ct(function(){return e})}(t))})}function Tt(e){return Ae(function(t,n){try{t.subscribe(n)}finally{n.add(e)}})}function Ct(e,t,n){void 0===t&&(t=qe);var i=vt(e,t);return function(e,t){return Ae(function(n,i){var r=null!=t?t:{},s=r.leading,o=void 0===s||s,a=r.trailing,l=void 0!==a&&a,c=!1,u=null,d=null,h=!1,p=function(){null==d||d.unsubscribe(),d=null,l&&(_(),h&&i.complete())},f=function(){d=null,h&&i.complete()},g=function(t){return d=et(e(t)).subscribe(Re(i,p,f))},_=function(){if(c){c=!1;var e=u;u=null,i.next(e),!h&&g(e)}};n.subscribe(Re(i,function(e){c=!0,u=e,(!d||d.closed)&&(o?_():g(e))},function(){h=!0,(!(l&&c&&d)||d.closed)&&i.complete()}))})}(function(){return i},n)}function It(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const St="jsaction",At="mouseover",Rt="mouseout",xt="mouseenter",Dt="mouseleave",kt="pointerover",Ot="pointerout",Nt="pointerenter",Lt="pointerleave",Mt=[xt,Dt,"pointerenter","pointerleave"];function Pt(e,t){e.eventType=t}function Ft(e){return{eventType:e.eventType,event:e.event,targetElement:e.targetElement,eic:e.eic,eia:e.eia,timeStamp:e.timeStamp,eirp:e.eirp,eiack:e.eiack,eir:e.eir}}var Ht;function Bt(e,t,n,i){for(let r=0;r<t.length;r++)e.removeEventListener(t[r],n,i)}!function(e){e[e.I_AM_THE_JSACTION_FRAMEWORK=0]="I_AM_THE_JSACTION_FRAMEWORK"}(Ht||(Ht={}));class zt{constructor(e){It(this,"containerManager",void 0),It(this,"eventHandlers",{}),It(this,"browserEventTypeToExtraEventTypes",{}),It(this,"dispatcher",null),It(this,"queuedEventInfos",[]),this.containerManager=e}handleEvent(e,t,n){const i=function(e,t,n,i,r,s,o,a){return{eventType:e,event:t,targetElement:n,eic:i,timeStamp:r,eia:s,eirp:o,eiack:a}}(e,t,t.target,n,Date.now());this.handleEventInfo(i)}handleEventInfo(e){var t;if(!this.dispatcher)return function(e,t){e.eirp=t}(e,!0),void(null===(t=this.queuedEventInfos)||void 0===t||t.push(e));this.dispatcher(e)}addEvent(e,t,n){if(e in this.eventHandlers||!this.containerManager)return;if(!zt.MOUSE_SPECIAL_SUPPORT&&Mt.indexOf(e)>=0)return;const i=(e,t,n)=>{this.handleEvent(e,t,n)};this.eventHandlers[e]=i;const r=function(e){return e===xt?At:e===Dt?Rt:e===Nt?kt:e===Lt?Ot:e}(t||e);if(r!==e){const t=this.browserEventTypeToExtraEventTypes[r]||[];t.push(e),this.browserEventTypeToExtraEventTypes[r]=t}this.containerManager.addEventListener(r,t=>n=>{i(e,n,t)},n)}replayEarlyEvents(e=window._ejsa){e&&(this.replayEarlyEventInfos(e.q),function(e){e&&(Bt(e.c,e.et,e.h),Bt(e.c,e.etc,e.h,!0))}(e),delete window._ejsa)}replayEarlyEventInfos(e){for(let t=0;t<e.length;t++){const n=e[t],i=this.getEventTypesForBrowserEventType(n.eventType);for(let e=0;e<i.length;e++){const t=Ft(n);Pt(t,i[e]),this.handleEventInfo(t)}}}getEventTypesForBrowserEventType(e){const t=[];return this.eventHandlers[e]&&t.push(e),this.browserEventTypeToExtraEventTypes[e]&&t.push(...this.browserEventTypeToExtraEventTypes[e]),t}handler(e){return this.eventHandlers[e]}cleanUp(){var e;null===(e=this.containerManager)||void 0===e||e.cleanUp(),this.containerManager=null,this.eventHandlers={},this.browserEventTypeToExtraEventTypes={},this.dispatcher=null,this.queuedEventInfos=[]}registerDispatcher(e,t){this.ecrd(e,t)}ecrd(e,t){var n;if(this.dispatcher=e,null!==(n=this.queuedEventInfos)&&void 0!==n&&n.length){for(let e=0;e<this.queuedEventInfos.length;e++)this.handleEventInfo(this.queuedEventInfos[e]);this.queuedEventInfos=null}}}var qt,Ut,jt,Vt,Wt,$t,Gt,Yt,Qt,Zt,Kt,Xt,Jt,en,tn,nn,rn,sn,on,an,ln,cn,un,dn;function hn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function pn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hn(Object(n),!0).forEach(function(t){fn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function fn(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}It(zt,"MOUSE_SPECIAL_SUPPORT",!1);const gn="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";class _n extends Error{constructor(e,t){super(mn(e,t)),fn(this,"code",void 0),this.code=e}}function mn(e,t){const n=function(e){return`NG0${Math.abs(e)}`}(e);return`${n}${t?": "+t:""}`}function vn(e){return{toString:e}.toString()}const bn="__annotations__",yn="__parameters__",wn="__prop__metadata__";function En(e,t,n,i,r){return vn(()=>{const i=Tn(t);function s(...e){if(this instanceof s)return i.call(this,...e),this;const t=new s(...e);return function(n){r&&r(n,...e);return(n.hasOwnProperty(bn)?n[bn]:Object.defineProperty(n,bn,{value:[]})[bn]).push(t),n}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}function Tn(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}function Cn(e,t,n){return vn(()=>{const n=Tn(t);function i(...e){if(this instanceof i)return n.apply(this,e),this;const t=new i(...e);return r.annotation=t,r;function r(e,n,i){const r=e.hasOwnProperty(yn)?e[yn]:Object.defineProperty(e,yn,{value:[]})[yn];for(;r.length<=i;)r.push(null);return(r[i]=r[i]||[]).push(t),e}}return i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function In(e,t,n,i){return vn(()=>{const i=Tn(t);function r(...e){if(this instanceof r)return i.apply(this,e),this;const t=new r(...e);return function(e,n){if(void 0===e)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const i=e.constructor,r=i.hasOwnProperty(wn)?i[wn]:Object.defineProperty(i,wn,{value:{}})[wn];r[n]=r.hasOwnProperty(n)&&r[n]||[],r[n].unshift(t)}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}const Sn=globalThis;function An(e){for(let t in e)if(e[t]===An)return t;throw Error("Could not find renamed property on target object.")}function Rn(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function xn(e){if("string"==typeof e)return e;if(Array.isArray(e))return`[${e.map(xn).join(", ")}]`;if(null==e)return""+e;const t=e.overriddenName||e.name;if(t)return`${t}`;const n=e.toString();if(null==n)return""+n;const i=n.indexOf("\n");return i>=0?n.slice(0,i):n}function Dn(e,t){return e?t?`${e} ${t}`:e:t||""}const kn=An({__forward_ref__:An});function On(e){return e.__forward_ref__=On,e.toString=function(){return xn(this())},e}function Nn(e){return Ln(e)?e():e}function Ln(e){return"function"==typeof e&&e.hasOwnProperty(kn)&&e.__forward_ref__===On}function Mn(e,t,n){e!=t&&Pn(n,e,t,"==")}function Pn(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}function Fn(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Hn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Bn(e){return zn(e,Un)||zn(e,Vn)}function zn(e,t){return e.hasOwnProperty(t)?e[t]:null}function qn(e){return e&&(e.hasOwnProperty(jn)||e.hasOwnProperty(Wn))?e[jn]:null}const Un=An({"ɵprov":An}),jn=An({"ɵinj":An}),Vn=An({ngInjectableDef:An}),Wn=An({ngInjectorDef:An});class $n{constructor(e,t){fn(this,"_desc",void 0),fn(this,"ngMetadataName","InjectionToken"),fn(this,"ɵprov",void 0),this._desc=e,this.ɵprov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.ɵprov=Fn({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Gn(e){return e&&!!e.ɵproviders}const Yn=An({"ɵcmp":An}),Qn=An({"ɵdir":An}),Zn=An({"ɵpipe":An}),Kn=An({"ɵmod":An}),Xn=An({"ɵfac":An}),Jn=An({__NG_ELEMENT_ID__:An}),ei=An({__NG_ENV_ID__:An});function ti(e){return"string"==typeof e?e:null==e?"":String(e)}function ni(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ti(e)}function ii(e,t){throw new _n(-200,e)}function ri(e,t){throw new _n(-201,!1)}var si;let oi;function ai(){return oi}function li(e){const t=oi;return oi=e,t}function ci(e,t,n){const i=Bn(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&si.Optional?null:void 0!==t?t:void ri()}!function(e){e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional"}(si||(si={}));const ui={},di="__NG_DI_FLAG__";class hi{constructor(e){fn(this,"injector",void 0),this.injector=e}retrieve(e,t){const n=t;return this.injector.get(e,n.optional?G:ui,n)}}const pi="ngTempTokenPath",fi=/\n/gm,gi="__source";function _i(e,t=si.Default){if(void 0===W())throw new _n(-203,!1);if(null===W())return ci(e,void 0,t);{const n=W();let i;i=n instanceof hi?n.injector:n;return i.get(e,t&si.Optional?null:void 0,t)}}function mi(e,t=si.Default){return(ai()||_i)(Nn(e),t)}function vi(e){throw new _n(202,!1)}function bi(e,t=si.Default){return mi(e,yi(t))}function yi(e){return void 0===e||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function wi(e){const t=[];for(let n=0;n<e.length;n++){const i=Nn(e[n]);if(Array.isArray(i)){if(0===i.length)throw new _n(900,!1);let e,n=si.Default;for(let t=0;t<i.length;t++){const r=i[t],s=Ti(r);"number"==typeof s?-1===s?e=r.token:n|=s:e=r}t.push(mi(e,n))}else t.push(mi(i))}return t}function Ei(e,t){return e[di]=t,e.prototype[di]=t,e}function Ti(e){return e[di]}function Ci(e,t,n,i){const r=e[pi];throw t[gi]&&r.unshift(t[gi]),e.message=function(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"ɵ"==e.charAt(1)?e.slice(2):e;let r=xn(t);if(Array.isArray(t))r=t.map(xn).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let i=t[n];e.push(n+":"+("string"==typeof i?JSON.stringify(i):xn(i)))}r=`{${e.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(fi,"\n  ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e[pi]=null,e}const Ii=Ei(Cn("Inject",e=>({token:e})),-1),Si=Ei(Cn("Optional"),8),Ai=Ei(Cn("Self"),2),Ri=Ei(Cn("SkipSelf"),4),xi=Ei(Cn("Host"),1);function Di(e,t){const n=e.hasOwnProperty(Xn);return n?e[Xn]:null}function ki(e){return e.flat(Number.POSITIVE_INFINITY)}function Oi(e,t){e.forEach(e=>Array.isArray(e)?Oi(e,t):t(e))}function Ni(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Li(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Mi(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function Pi(e,t,n){const i=e.length-n;for(;t<i;)e[t]=e[t+n],t++;for(;n--;)e.pop()}function Fi(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;){const t=r-2;e[r]=e[t],r--}e[t]=n,e[t+1]=i}}function Hi(e,t,n){let i=zi(e,t);return i>=0?e[1|i]=n:(i=~i,Fi(e,i,t,n)),i}function Bi(e,t){const n=zi(e,t);if(n>=0)return e[1|n]}function zi(e,t){return function(e,t,n){let i=0,r=e.length>>n;for(;r!==i;){const s=i+(r-i>>1),o=e[s<<n];if(t===o)return s<<n;o>t?r=s:i=s+1}return~(r<<n)}(e,t,1)}const qi={},Ui=[],ji=new $n(""),Vi=new $n("",-1),Wi=new $n("");class $i{get(e,t=ui){if(t===ui){const t=new Error(`NullInjectorError: No provider for ${xn(e)}!`);throw t.name="NullInjectorError",t}return t}}function Gi(e,t){const n=e[Kn]||null;if(!n&&!0===t)throw new Error(`Type ${xn(e)} does not have 'ɵmod' property.`);return n}function Yi(e){return e[Yn]||null}function Qi(e){return e[Qn]||null}function Zi(e){return e[Zn]||null}function Ki(e){const t=Yi(e)||Qi(e)||Zi(e);return null!==t&&t.standalone}function Xi(...e){return{"ɵproviders":Ji(!0,e),"ɵfromNgModule":!0}}function Ji(e,...t){const n=[],i=new Set;let r;const s=e=>{n.push(e)};return Oi(t,e=>{const t=e;tr(t,s,[],i)&&(r||(r=[]),r.push(t))}),void 0!==r&&er(r,s),n}function er(e,t){for(let n=0;n<e.length;n++){const{ngModule:i,providers:r}=e[n];nr(r,e=>{t(e,i)})}}function tr(e,t,n,i){if(!(e=Nn(e)))return!1;let r=null,s=qn(e);const o=!s&&Yi(e);if(s||o){if(o&&!o.standalone)return!1;r=e}else{const t=e.ngModule;if(s=qn(t),!s)return!1;r=t}const a=i.has(r);if(o){if(a)return!1;if(i.add(r),o.dependencies){const e="function"==typeof o.dependencies?o.dependencies():o.dependencies;for(const r of e)tr(r,t,n,i)}}else{if(!s)return!1;{if(null!=s.imports&&!a){let e;i.add(r);try{Oi(s.imports,r=>{tr(r,t,n,i)&&(e||(e=[]),e.push(r))})}finally{}void 0!==e&&er(e,t)}if(!a){const e=Di(r)||(()=>new r);t({provide:r,useFactory:e,deps:Ui},r),t({provide:Wi,useValue:r,multi:!0},r),t({provide:ji,useValue:()=>mi(r),multi:!0},r)}const o=s.providers;if(null!=o&&!a){const n=e;nr(o,e=>{t(e,n)})}}}return r!==e&&void 0!==e.providers}function nr(e,t){for(let n of e)Gn(n)&&(n=n.ɵproviders),Array.isArray(n)?nr(n,t):t(n)}const ir=An({provide:String,useValue:An});function rr(e){return null!==e&&"object"==typeof e&&ir in e}function sr(e){return"function"==typeof e}const or=new $n(""),ar={},lr={};let cr;function ur(){return void 0===cr&&(cr=new $i),cr}class dr{}class hr extends dr{get destroyed(){return this._destroyed}constructor(e,t,n,i){super(),fn(this,"parent",void 0),fn(this,"source",void 0),fn(this,"scopes",void 0),fn(this,"records",new Map),fn(this,"_ngOnDestroyHooks",new Set),fn(this,"_onDestroyHooks",[]),fn(this,"_destroyed",!1),fn(this,"injectorDefTypes",void 0),this.parent=t,this.source=n,this.scopes=i,mr(e,e=>this.processProvider(e)),this.records.set(Vi,_r(void 0,this)),i.has("environment")&&this.records.set(dr,_r(void 0,this));const r=this.records.get(or);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(Wi,Ui,si.Self))}retrieve(e,t){const n=t;return this.get(e,n.optional?G:ui,n)}destroy(){gr(this),this._destroyed=!0;const e=g(null);try{for(const e of this._ngOnDestroyHooks)e.ngOnDestroy();const e=this._onDestroyHooks;this._onDestroyHooks=[];for(const t of e)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),g(e)}}onDestroy(e){return gr(this),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){gr(this);const t=$(this),n=li(void 0);try{return e()}finally{$(t),li(n)}}get(e,t=ui,n=si.Default){if(gr(this),e.hasOwnProperty(ei))return e[ei](this);n=yi(n);const i=$(this),r=li(void 0);try{if(!(n&si.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(s=e)||"object"==typeof s&&s instanceof $n)&&Bn(e);t=n&&this.injectableDefInScope(n)?_r(pr(e),ar):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t,n)}const i=n&si.Self?ur():this.parent;return t=n&si.Optional&&t===ui?null:t,i.get(e,t)}catch(t){if("NullInjectorError"===t.name){if((t[pi]=t[pi]||[]).unshift(xn(e)),i)throw t;return Ci(t,e,"R3InjectorError",this.source)}throw t}finally{li(r),$(i)}var s}resolveInjectorInitializers(){const e=g(null),t=$(this),n=li(void 0);try{const e=this.get(ji,Ui,si.Self);0;for(const t of e)t()}finally{$(t),li(n),g(e)}}toString(){const e=[],t=this.records;for(const n of t.keys())e.push(xn(n));return`R3Injector[${e.join(", ")}]`}processProvider(e){let t=sr(e=Nn(e))?e:Nn(e&&e.provide);const n=function(e){if(rr(e))return _r(void 0,e.useValue);return _r(fr(e),ar)}(e);if(!sr(e)&&!0===e.multi){let n=this.records.get(t);n||(n=_r(void 0,ar,!0),n.factory=()=>wi(n.multi),this.records.set(t,n)),t=e,n.multi.push(e)}this.records.set(t,n)}hydrate(e,t,n){const i=g(null);try{return t.value===lr?ii(xn(e)):t.value===ar&&(t.value=lr,t.value=t.factory(void 0,n)),"object"==typeof t.value&&t.value&&(null!==(r=t.value)&&"object"==typeof r&&"function"==typeof r.ngOnDestroy)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{g(i)}var r}injectableDefInScope(e){if(!e.providedIn)return!1;const t=Nn(e.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(e){const t=this._onDestroyHooks.indexOf(e);-1!==t&&this._onDestroyHooks.splice(t,1)}}function pr(e){const t=Bn(e),n=null!==t?t.factory:Di(e);if(null!==n)return n;if(e instanceof $n)throw new _n(204,!1);if(e instanceof Function)return function(e){const t=e.length;if(t>0)throw new _n(204,!1);const n=(i=e,i&&(i[Un]||i[Vn])||null);var i;return null!==n?()=>n.factory(e):()=>new e}(e);throw new _n(204,!1)}function fr(e,t,n){let i;if(sr(e)){const t=Nn(e);return Di(t)||pr(t)}if(rr(e))i=()=>Nn(e.useValue);else if((r=e)&&r.useFactory)i=()=>e.useFactory(...wi(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))i=(t,n)=>mi(Nn(e.useExisting),void 0!==n&&n&si.Optional?si.Optional:void 0);else{const t=Nn(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return Di(t)||pr(t);i=()=>new t(...wi(e.deps))}var r;return i}function gr(e){if(e.destroyed)throw new _n(205,!1)}function _r(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function mr(e,t){for(const n of e)Array.isArray(n)?mr(n,t):n&&Gn(n)?mr(n.ɵproviders,t):t(n)}function vr(e,t){let n;e instanceof hr?(gr(e),n=e):n=new hi(e);const i=$(n),r=li(void 0);try{return t()}finally{$(i),li(r)}}function br(){return void 0!==ai()||null!=W()}function yr(e){if(!br())throw new _n(-203,!1)}var wr,Er,Tr;function Cr(e){const t=Sn.ng;if(t&&t.ɵcompilerFacade)return t.ɵcompilerFacade;throw new Error("JIT compiler unavailable")}!function(e){e[e.Directive=0]="Directive",e[e.Component=1]="Component",e[e.Injectable=2]="Injectable",e[e.Pipe=3]="Pipe",e[e.NgModule=4]="NgModule"}(wr||(wr={})),function(e){e[e.Directive=0]="Directive",e[e.Pipe=1]="Pipe",e[e.NgModule=2]="NgModule"}(Er||(Er={})),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(Tr||(Tr={}));const Ir={"ɵɵdefineInjectable":Fn,"ɵɵdefineInjector":Hn,"ɵɵinject":mi,"ɵɵinvalidFactoryDep":vi,resolveForwardRef:Nn},Sr=Function;function Ar(e){return"function"==typeof e}const Rr=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,xr=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Dr=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,kr=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class Or{constructor(e){fn(this,"_reflect",void 0),this._reflect=e||Sn.Reflect}factory(e){return(...t)=>new e(...t)}_zipTypesAndAnnotations(e,t){let n;n=Mi(void 0===e?t.length:e.length);for(let i=0;i<n.length;i++)void 0===e?n[i]=[]:e[i]&&e[i]!=Object?n[i]=[e[i]]:n[i]=[],t&&null!=t[i]&&(n[i]=n[i].concat(t[i]));return n}_ownParameters(e,t){if(function(e){return Rr.test(e)||kr.test(e)||xr.test(e)&&!Dr.test(e)}(e.toString()))return null;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;const n=e.ctorParameters;if(n&&n!==t.ctorParameters){const e="function"==typeof n?n():n,t=e.map(e=>e&&e.type),i=e.map(e=>e&&Nr(e.decorators));return this._zipTypesAndAnnotations(t,i)}const i=e.hasOwnProperty(yn)&&e[yn],r=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return r||i?this._zipTypesAndAnnotations(r,i):Mi(e.length)}parameters(e){if(!Ar(e))return[];const t=Lr(e);let n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]}_ownAnnotations(e,t){if(e.annotations&&e.annotations!==t.annotations){let t=e.annotations;return"function"==typeof t&&t.annotations&&(t=t.annotations),t}return e.decorators&&e.decorators!==t.decorators?Nr(e.decorators):e.hasOwnProperty(bn)?e[bn]:null}annotations(e){if(!Ar(e))return[];const t=Lr(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)}_ownPropMetadata(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){let t=e.propMetadata;return"function"==typeof t&&t.propMetadata&&(t=t.propMetadata),t}if(e.propDecorators&&e.propDecorators!==t.propDecorators){const t=e.propDecorators,n={};return Object.keys(t).forEach(e=>{n[e]=Nr(t[e])}),n}return e.hasOwnProperty(wn)?e[wn]:null}propMetadata(e){if(!Ar(e))return{};const t=Lr(e),n={};if(t!==Object){const e=this.propMetadata(t);Object.keys(e).forEach(t=>{n[t]=e[t]})}const i=this._ownPropMetadata(e,t);return i&&Object.keys(i).forEach(e=>{const t=[];n.hasOwnProperty(e)&&t.push(...n[e]),t.push(...i[e]),n[e]=t}),n}ownPropMetadata(e){return Ar(e)&&this._ownPropMetadata(e,Lr(e))||{}}hasLifecycleHook(e,t){return e instanceof Sr&&t in e.prototype}}function Nr(e){return e?e.map(e=>new(0,e.type.annotationCls)(...e.args?e.args:[])):[]}function Lr(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const Mr=26,Pr=10;function Fr(e){return Array.isArray(e)&&"object"==typeof e[1]}function Hr(e){return Array.isArray(e)&&!0===e[1]}function Br(e){return!!(4&e.flags)}function zr(e){return e.componentOffset>-1}function qr(e){return!(1&~e.flags)}function Ur(e){return!!e.template}function jr(e){return!!(512&e[2])}function Vr(e){return!(256&~e[2])}class Wr{constructor(e,t,n){fn(this,"previousValue",void 0),fn(this,"currentValue",void 0),fn(this,"firstChange",void 0),this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function $r(e,t,n,i){null!==t?t.applyValueToInputSignal(t,i):e[n]=i}const Gr=(()=>{const e=()=>Yr;return e.ngInherit=!0,e})();function Yr(e){return e.type.prototype.ngOnChanges&&(e.setInput=Zr),Qr}function Qr(){const e=Xr(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===qi)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function Zr(e,t,n,i,r){const s=this.declaredInputs[i],o=Xr(e)||function(e,t){return e[Kr]=t}(e,{previous:qi,current:null}),a=o.current||(o.current={}),l=o.previous,c=l[s];a[s]=new Wr(c&&c.currentValue,n,l===qi),$r(e,t,r,n)}const Kr="__ngSimpleChanges__";function Xr(e){return e[Kr]||null}const Jr=function(e,t=null,n){},es="math";function ts(e){for(;Array.isArray(e);)e=e[0];return e}function ns(e,t){return ts(t[e])}function is(e,t){return ts(t[e.index])}function rs(e,t){return e.data[t]}function ss(e,t){return e[t]}function os(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}function as(e,t){const n=t[e];return Fr(n)?n:n[0]}function ls(e){return!(128&~e[2])}function cs(e,t){return null==t?null:e[t]}function us(e){e[17]=0}function ds(e){1024&e[2]||(e[2]|=1024,ls(e)&&gs(e))}function hs(e,t){for(;e>0;)t=t[14],e--;return t}function ps(e){var t;return!!(9216&e[2]||null!==(t=e[24])&&void 0!==t&&t.dirty)}function fs(e){var t;null===(t=e[10].changeDetectionScheduler)||void 0===t||t.notify(8),64&e[2]&&(e[2]|=1024),ps(e)&&gs(e)}function gs(e){var t;null===(t=e[10].changeDetectionScheduler)||void 0===t||t.notify(0);let n=vs(e);for(;null!==n&&!(8192&n[2])&&(n[2]|=8192,ls(n));)n=vs(n)}function _s(e,t){if(Vr(e))throw new _n(911,!1);null===e[21]&&(e[21]=[]),e[21].push(t)}function ms(e,t){if(null===e[21])return;const n=e[21].indexOf(t);-1!==n&&e[21].splice(n,1)}function vs(e){const t=e[3];return Hr(t)?t[3]:t}function bs(e){var t;return null!==(t=e[7])&&void 0!==t?t:e[7]=[]}function ys(e){var t;return null!==(t=e.cleanup)&&void 0!==t?t:e.cleanup=[]}const ws={lFrame:no(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Es;!function(e){e[e.Off=0]="Off",e[e.Exhaustive=1]="Exhaustive",e[e.OnlyDirtyViews=2]="OnlyDirtyViews"}(Es||(Es={}));let Ts=!1;function Cs(){return ws.bindingsEnabled}function Is(){return null!==ws.skipHydrationRootTNode}function Ss(){ws.bindingsEnabled=!0}function As(){ws.bindingsEnabled=!1}function Rs(){return ws.lFrame.lView}function xs(){return ws.lFrame.tView}function Ds(e){return ws.lFrame.contextLView=e,e[8]}function ks(e){return ws.lFrame.contextLView=null,e}function Os(){let e=Ns();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ns(){return ws.lFrame.currentTNode}function Ls(){const e=ws.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ms(e,t){const n=ws.lFrame;n.currentTNode=e,n.isParent=t}function Ps(){return ws.lFrame.isParent}function Fs(){ws.lFrame.isParent=!1}function Hs(){return ws.lFrame.contextLView}function Bs(){return Ts}function zs(e){const t=Ts;return Ts=e,t}function qs(){const e=ws.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Us(){return ws.lFrame.bindingIndex}function js(e){return ws.lFrame.bindingIndex=e}function Vs(){return ws.lFrame.bindingIndex++}function Ws(e){const t=ws.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function $s(e){ws.lFrame.inI18n=e}function Gs(e,t){const n=ws.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ys(t)}function Ys(e){ws.lFrame.currentDirectiveIndex=e}function Qs(e){const t=ws.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Zs(){return ws.lFrame.currentQueryIndex}function Ks(e){ws.lFrame.currentQueryIndex=e}function Xs(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[5]:null}function Js(e,t,n){if(n&si.SkipSelf){let i=t,r=e;for(;!(i=i.parent,null!==i||n&si.Host||(i=Xs(r),null===i)||(r=r[14],10&i.type)););if(null===i)return!1;t=i,e=r}const i=ws.lFrame=to();return i.currentTNode=t,i.lView=e,!0}function eo(e){const t=to(),n=e[1];ws.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function to(){const e=ws.lFrame,t=null===e?null:e.child;return null===t?no(e):t}function no(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function io(){const e=ws.lFrame;return ws.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const ro=io;function so(){const e=io();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function oo(){return ws.lFrame.selectedIndex}function ao(e){ws.lFrame.selectedIndex=e}function lo(){const e=ws.lFrame;return rs(e.tView,e.selectedIndex)}function co(){ws.lFrame.currentNamespace="svg"}function uo(){ws.lFrame.currentNamespace=es}function ho(){ws.lFrame.currentNamespace=null}let po=!0;function fo(){return po}function go(e){po=e}function _o(e,t){for(let c=t.directiveStart,u=t.directiveEnd;c<u;c++){const t=e.data[c].type.prototype,{ngAfterContentInit:u,ngAfterContentChecked:d,ngAfterViewInit:h,ngAfterViewChecked:p,ngOnDestroy:f}=t;var n,i,r,s,o,a,l;if(u)(null!==(n=e.contentHooks)&&void 0!==n?n:e.contentHooks=[]).push(-c,u);if(d)(null!==(i=e.contentHooks)&&void 0!==i?i:e.contentHooks=[]).push(c,d),(null!==(r=e.contentCheckHooks)&&void 0!==r?r:e.contentCheckHooks=[]).push(c,d);if(h)(null!==(s=e.viewHooks)&&void 0!==s?s:e.viewHooks=[]).push(-c,h);if(p)(null!==(o=e.viewHooks)&&void 0!==o?o:e.viewHooks=[]).push(c,p),(null!==(a=e.viewCheckHooks)&&void 0!==a?a:e.viewCheckHooks=[]).push(c,p);if(null!=f)(null!==(l=e.destroyHooks)&&void 0!==l?l:e.destroyHooks=[]).push(c,f)}}function mo(e,t,n){yo(e,t,3,n)}function vo(e,t,n,i){(3&e[2])===n&&yo(e,t,n,i)}function bo(e,t){let n=e[2];(3&n)===t&&(n&=16383,n+=1,e[2]=n)}function yo(e,t,n,i){const r=void 0!==i?65535&e[17]:0,s=null!=i?i:-1,o=t.length-1;let a=0;for(let l=r;l<o;l++){if("number"==typeof t[l+1]){if(a=t[l],null!=i&&a>=i)break}else{t[l]<0&&(e[17]+=65536),(a<s||-1==s)&&(Eo(e,n,t,l),e[17]=(4294901760&e[17])+l+2),l++}}}function wo(e,t){const n=g(null);try{t.call(e)}finally{g(n)}}function Eo(e,t,n,i){const r=n[i]<0,s=n[i+1],o=e[r?-n[i]:n[i]];if(r){e[2]>>14<e[17]>>16&&(3&e[2])===t&&(e[2]+=16384,wo(o,s))}else wo(o,s)}const To=-1;class Co{constructor(e,t,n){fn(this,"factory",void 0),fn(this,"injectImpl",void 0),fn(this,"resolving",!1),fn(this,"canSeeViewProviders",void 0),fn(this,"multi",void 0),fn(this,"componentProviders",void 0),fn(this,"index",void 0),fn(this,"providerFactory",void 0),this.factory=e,this.canSeeViewProviders=t,this.injectImpl=n}}function Io(e){return null!=e&&"object"==typeof e&&(null===e.insertBeforeIndex||"number"==typeof e.insertBeforeIndex||Array.isArray(e.insertBeforeIndex))}function So(e){return 3===e||4===e||6===e}function Ao(e){return 64===e.charCodeAt(0)}function Ro(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const r=t[i];"number"==typeof r?n=r:0===n||xo(e,n,r,null,-1===n||2===n?t[++i]:null)}}return e}function xo(e,t,n,i,r){let s=0,o=e.length;if(-1===t)o=-1;else for(;s<e.length;){const n=e[s++];if("number"==typeof n){if(n===t){o=-1;break}if(n>t){o=s-1;break}}}for(;s<e.length;){const t=e[s];if("number"==typeof t)break;if(t===n)return void(null!==r&&(e[s+1]=r));s++,null!==r&&s++}-1!==o&&(e.splice(o,0,t),s=o+1),e.splice(s++,0,n),null!==r&&e.splice(s++,0,r)}function Do(e){return e!==To}function ko(e){return 32767&e}function Oo(e,t){let n=e>>16;let i=t;for(;n>0;)i=i[14],n--;return i}let No=!0;function Lo(e){const t=No;return No=e,t}let Mo=0;const Po={};function Fo(e,t){const n=Bo(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Ho(i.data,e),Ho(t,null),Ho(i.blueprint,null));const r=zo(e,t),s=e.injectorIndex;if(Do(r)){const e=ko(r),n=Oo(r,t),i=n[1].data;for(let r=0;r<8;r++)t[s+r]=n[e+r]|i[e+r]}return t[s+8]=r,s}function Ho(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Bo(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function zo(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;null!==r;){if(i=ta(r),null===i)return To;if(n++,r=r[14],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return To}function qo(e,t,n){!function(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Jn)&&(i=n[Jn]),null==i&&(i=n[Jn]=Mo++);const r=255&i,s=1<<r;t.data[e+(r>>5)]|=s}(e,t,n)}function Uo(e,t,n){if(n&si.Optional||void 0!==e)return e;ri()}function jo(e,t,n,i){if(n&si.Optional&&void 0===i&&(i=null),0===(n&(si.Self|si.Host))){const r=e[9],s=li(void 0);try{return r?r.get(t,i,n&si.Optional):ci(t,i,n&si.Optional)}finally{li(s)}}return Uo(i,0,n)}function Vo(e,t,n,i=si.Default,r){if(null!==e){if(2048&t[2]&&!(i&si.Self)){const r=function(e,t,n,i,r){let s=e,o=t;for(;null!==s&&null!==o&&2048&o[2]&&!jr(o);){const e=Wo(s,o,n,i|si.Self,Po);if(e!==Po)return e;let t=s.parent;if(!t){const e=o[20];if(e){const t=e.get(n,Po,i);if(t!==Po)return t}t=ta(o),o=o[14]}s=t}return r}(e,t,n,i,Po);if(r!==Po)return r}const r=Wo(e,t,n,i,Po);if(r!==Po)return r}return jo(t,n,i,r)}function Wo(e,t,n,i,r){const s=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Jn)?e[Jn]:void 0;return"number"==typeof t?t>=0?255&t:Xo:t}(n);if("function"==typeof s){if(!Js(t,e,i))return i&si.Host?Uo(r,0,i):jo(t,n,i,r);try{let e;if(e=s(i),null!=e||i&si.Optional)return e;ri()}finally{ro()}}else if("number"==typeof s){let r=null,o=Bo(e,t),a=To,l=i&si.Host?t[15][5]:null;for((-1===o||i&si.SkipSelf)&&(a=-1===o?zo(e,t):t[o+8],a!==To&&Zo(i,!1)?(r=t[1],o=ko(a),t=Oo(a,t)):o=-1);-1!==o;){const e=t[1];if(Qo(s,o,e.data)){const e=$o(o,t,n,r,i,l);if(e!==Po)return e}a=t[o+8],a!==To&&Zo(i,t[1].data[o+8]===l)&&Qo(s,o,t)?(r=e,o=ko(a),t=Oo(a,t)):o=-1}}return r}function $o(e,t,n,i,r,s){const o=t[1],a=o.data[e+8],l=Go(a,o,n,null==i?zr(a)&&No:i!=o&&!!(3&a.type),r&si.Host&&s===a);return null!==l?Yo(t,o,l,a,r):Po}function Go(e,t,n,i,r){const s=e.providerIndexes,o=t.data,a=1048575&s,l=e.directiveStart,c=e.directiveEnd,u=s>>20,d=r?a+u:c;for(let e=i?a:a+u;e<d;e++){const t=o[e];if(e<l&&n===t||e>=l&&t.type===n)return e}if(r){const e=o[l];if(e&&Ur(e)&&e.type===n)return l}return null}function Yo(e,t,n,i,r){let s=e[n];const o=t.data;if(s instanceof Co){const a=s;a.resolving&&ii(ni(o[n]));const l=Lo(a.canSeeViewProviders);a.resolving=!0;const c=a.injectImpl?li(a.injectImpl):null;Js(e,i,si.Default);try{s=e[n]=a.factory(void 0,r,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&function(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:s}=t.type.prototype;if(i){var o,a;const i=Yr(t);(null!==(o=n.preOrderHooks)&&void 0!==o?o:n.preOrderHooks=[]).push(e,i),(null!==(a=n.preOrderCheckHooks)&&void 0!==a?a:n.preOrderCheckHooks=[]).push(e,i)}var l,c,u;r&&(null!==(l=n.preOrderHooks)&&void 0!==l?l:n.preOrderHooks=[]).push(0-e,r),s&&((null!==(c=n.preOrderHooks)&&void 0!==c?c:n.preOrderHooks=[]).push(e,s),(null!==(u=n.preOrderCheckHooks)&&void 0!==u?u:n.preOrderCheckHooks=[]).push(e,s))}(n,o[n],t)}finally{null!==c&&li(c),Lo(l),a.resolving=!1,ro()}}return s}function Qo(e,t,n){const i=1<<e;return!!(n[t+(e>>5)]&i)}function Zo(e,t){return!(e&si.Self||e&si.Host&&t)}class Ko{constructor(e,t){fn(this,"_tNode",void 0),fn(this,"_lView",void 0),this._tNode=e,this._lView=t}get(e,t,n){return Vo(this._tNode,this._lView,e,yi(n),t)}}function Xo(){return new Ko(Os(),Rs())}function Jo(e){return vn(()=>{const t=e.prototype.constructor,n=t[Xn]||ea(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const e=r[Xn]||ea(r);if(e&&e!==n)return e;r=Object.getPrototypeOf(r)}return e=>new e})}function ea(e){return Ln(e)?()=>{const t=ea(Nn(e));return t&&t()}:Di(e)}function ta(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[5]:null}function na(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const e=n.length;let i=0;for(;i<e;){const r=n[i];if(So(r))break;if(0===r)i+=2;else if("number"==typeof r)for(i++;i<e&&"string"==typeof n[i];)i++;else{if(r===t)return n[i+1];i+=2}}}return null}(Os(),e)}const ia=Cn("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>na(e)}));let ra=null;function sa(){return ra=ra||new Or}function oa(e){return aa(sa().parameters(e))}function aa(e){return e.map(e=>function(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let n=0;n<e.length;n++){const i=e[n];if(void 0===i)continue;const r=Object.getPrototypeOf(i);if(i instanceof Si||"Optional"===r.ngMetadataName)t.optional=!0;else if(i instanceof Ri||"SkipSelf"===r.ngMetadataName)t.skipSelf=!0;else if(i instanceof Ai||"Self"===r.ngMetadataName)t.self=!0;else if(i instanceof xi||"Host"===r.ngMetadataName)t.host=!0;else if(i instanceof Ii)t.token=i.token;else if(i instanceof ia){if(void 0===i.attributeName)throw new _n(204,!1);t.attribute=i.attributeName}else t.token=i}else void 0===e||Array.isArray(e)&&0===e.length?t.token=null:t.token=e;return t}(e))}function la(e,t){let n=null,i=null;e.hasOwnProperty(Un)||Object.defineProperty(e,Un,{get:()=>{if(null===n){const i=Cr();n=i.compileInjectable(Ir,`ng:///${e.name}/ɵprov.js`,function(e,t){const n=t||{providedIn:null},i={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn};(ua(n)||da(n))&&void 0!==n.deps&&(i.deps=aa(n.deps));ua(n)?i.useClass=n.useClass:!function(e){return ca in e}(n)?da(n)?i.useFactory=n.useFactory:function(e){return void 0!==e.useExisting}(n)&&(i.useExisting=n.useExisting):i.useValue=n.useValue;return i}(e,t))}return n}}),e.hasOwnProperty(Xn)||Object.defineProperty(e,Xn,{get:()=>{if(null===i){const t=Cr();i=t.compileFactory(Ir,`ng:///${e.name}/ɵfac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:oa(e),target:t.FactoryTarget.Injectable})}return i},configurable:!0})}const ca=An({provide:String,useValue:An});function ua(e){return void 0!==e.useClass}function da(e){return void 0!==e.useFactory}En("Injectable",void 0,void 0,0,(e,t)=>la(e,t));function ha(e,t=null,n=null,i){const r=pa(e,t,n,i);return r.resolveInjectorInitializers(),r}function pa(e,t=null,n=null,i,r=new Set){const s=[n||Ui,Xi(e)];return i=i||("object"==typeof e?void 0:xn(e)),new hr(s,t||ur(),i||null,r)}class fa{static create(e,t){if(Array.isArray(e))return ha({name:""},t,e,"");{var n;const t=null!==(n=e.name)&&void 0!==n?n:"";return ha({name:t},e.parent,e.providers,t)}}}qt=fa,fn(fa,"THROW_IF_NOT_FOUND",ui),fn(fa,"NULL",new $i),fn(fa,"ɵprov",Fn({token:qt,providedIn:"any",factory:()=>mi(Vi)})),fn(fa,"__NG_ELEMENT_ID__",-1);new $n("").__NG_ELEMENT_ID__=e=>{const t=Os();if(null===t)throw new _n(204,!1);if(2&t.type)return t.value;if(e&si.Optional)return null;throw new _n(204,!1)};const ga=!1;class _a{}fn(_a,"__NG_ELEMENT_ID__",function(){return new ma(Rs())}),fn(_a,"__NG_ENV_ID__",e=>e);class ma extends _a{constructor(e){super(),fn(this,"_lView",void 0),this._lView=e}onDestroy(e){const t=this._lView;return Vr(t)?(e(),()=>{}):(_s(t,e),()=>ms(t,e))}}class va{}const ba=new $n("",{providedIn:"root",factory:()=>!1});new $n("",{providedIn:"root",factory:()=>!1});const ya=new $n(""),wa=new $n("");class Ea{constructor(){fn(this,"taskId",0),fn(this,"pendingTasks",new Set),fn(this,"hasPendingTasks",new Ne(!1))}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const e=this.taskId++;return this.pendingTasks.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}}fn(Ea,"ɵprov",Fn({token:Ut=Ea,providedIn:"root",factory:()=>new Ut}));class Ta{constructor(){fn(this,"internalPendingTasks",bi(Ea)),fn(this,"scheduler",bi(va))}add(){const e=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(e)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(e))}}async run(e){const t=this.add();try{return await e()}finally{t()}}}fn(Ta,"ɵprov",Fn({token:jt=Ta,providedIn:"root",factory:()=>new jt}));const Ca=class extends ke{constructor(e=!1){var t,n;(super(),fn(this,"__isAsync",void 0),fn(this,"destroyRef",void 0),fn(this,"pendingTasks",void 0),this.__isAsync=e,br())&&(this.destroyRef=null!==(t=bi(_a,{optional:!0}))&&void 0!==t?t:void 0,this.pendingTasks=null!==(n=bi(Ea,{optional:!0}))&&void 0!==n?n:void 0)}emit(e){const t=g(null);try{super.next(e)}finally{g(t)}}subscribe(e,t,n){let i=e,r=t||(()=>null),s=n;if(e&&"object"==typeof e){var o,a,l;const t=e;i=null===(o=t.next)||void 0===o?void 0:o.bind(t),r=null===(a=t.error)||void 0===a?void 0:a.bind(t),s=null===(l=t.complete)||void 0===l?void 0:l.bind(t)}this.__isAsync&&(r=this.wrapInTimeout(r),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));const c=super.subscribe({next:i,error:r,complete:s});return e instanceof ce&&e.add(c),c}wrapInTimeout(e){return t=>{var n;const i=null===(n=this.pendingTasks)||void 0===n?void 0:n.add();setTimeout(()=>{try{e(t)}finally{var n;if(void 0!==i)null===(n=this.pendingTasks)||void 0===n||n.remove(i)}})}}};function Ia(...e){}function Sa(e){let t,n;function i(){e=Ia;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch(e){}}return t=setTimeout(()=>{e(),i()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{e(),i()})),()=>i()}function Aa(e){return queueMicrotask(()=>e()),()=>{e=Ia}}const Ra="isAngularZone",xa=Ra+"_ID";let Da=0;class ka{constructor(e){fn(this,"hasPendingMacrotasks",!1),fn(this,"hasPendingMicrotasks",!1),fn(this,"isStable",!0),fn(this,"onUnstable",new Ca(!1)),fn(this,"onMicrotaskEmpty",new Ca(!1)),fn(this,"onStable",new Ca(!1)),fn(this,"onError",new Ca(!1));const{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:r=ga}=e;if("undefined"==typeof Zone)throw new _n(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&n,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=r,function(e){const t=()=>{!function(e){if(e.isCheckStableRunning||e.callbackScheduled)return;function t(){Sa(()=>{e.callbackScheduled=!1,La(e),e.isCheckStableRunning=!0,Na(e),e.isCheckStableRunning=!1})}e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()});La(e)}(e)},n=Da++;e._inner=e._inner.fork({name:"angular",properties:{[Ra]:!0,[xa]:n,[xa+n]:!0},onInvokeTask:(n,i,r,s,o,a)=>{if(function(e){return Ha(e,"__ignore_ng_zone__")}(a))return n.invokeTask(r,s,o,a);try{return Ma(e),n.invokeTask(r,s,o,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),Pa(e)}},onInvoke:(n,i,r,s,o,a,l)=>{try{return Ma(e),n.invoke(r,s,o,a,l)}finally{!e.shouldCoalesceRunChangeDetection||e.callbackScheduled||function(e){return Ha(e,"__scheduler_tick__")}(a)||t(),Pa(e)}},onHasTask:(t,n,i,r)=>{t.hasTask(i,r),n===i&&("microTask"==r.change?(e._hasPendingMicrotasks=r.microTask,La(e),Na(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:(t,n,i,r)=>(t.handleError(i,r),e.runOutsideAngular(()=>e.onError.emit(r)),!1)})}(s)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get(Ra)}static assertInAngularZone(){if(!ka.isInAngularZone())throw new _n(909,!1)}static assertNotInAngularZone(){if(ka.isInAngularZone())throw new _n(909,!1)}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,i){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+i,e,Oa,Ia,Ia);try{return r.runTask(s,t,n)}finally{r.cancelTask(s)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}const Oa={};function Na(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function La(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Ma(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Pa(e){e._nesting--,Na(e)}class Fa{constructor(){fn(this,"hasPendingMicrotasks",!1),fn(this,"hasPendingMacrotasks",!1),fn(this,"isStable",!0),fn(this,"onUnstable",new Ca),fn(this,"onMicrotaskEmpty",new Ca),fn(this,"onStable",new Ca),fn(this,"onError",new Ca)}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,i){return e.apply(t,n)}}function Ha(e,t){var n;return!!Array.isArray(e)&&(1===e.length&&!0===(null===(n=e[0])||void 0===n||null===(n=n.data)||void 0===n?void 0:n[t]))}class Ba{constructor(){fn(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}}const za=new $n("",{providedIn:"root",factory:()=>{const e=bi(ka),t=bi(Ba);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function qa(e,t){return new Ua(is(e,t))}class Ua{constructor(e){fn(this,"nativeElement",void 0),this.nativeElement=e}}function ja(e){return e instanceof Ua?e.nativeElement:e}function Va(e,t){const n=function(e){const t=Object.create(q);t.value=e;const n=()=>(m(t),t.value);return n[f]=t,n}(e),i=n[f];return n.set=e=>B(i,e),n.update=e=>z(i,e),n.asReadonly=Wa.bind(n),n}function Wa(){const e=this[f];if(void 0===e.readonlyFn){const t=()=>this();t[f]=e,e.readonlyFn=t}return e.readonlyFn}function $a(e){return function(e){return"function"==typeof e&&void 0!==e[f]}(e)&&"function"==typeof e.set}function Ga(){return this._results[Symbol.iterator]()}fn(Ua,"__NG_ELEMENT_ID__",function(){return qa(Os(),Rs())});class Ya{get changes(){var e;return null!==(e=this._changes)&&void 0!==e?e:this._changes=new ke}constructor(e=!1){fn(this,"_emitDistinctChangesOnly",void 0),fn(this,"dirty",!0),fn(this,"_onDirty",void 0),fn(this,"_results",[]),fn(this,"_changesDetected",!1),fn(this,"_changes",void 0),fn(this,"length",0),fn(this,"first",void 0),fn(this,"last",void 0),fn(this,Symbol.iterator,Ga),this._emitDistinctChangesOnly=e}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){this.dirty=!1;const n=ki(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let r=e[i],s=t[i];if(n&&(r=n(r),s=n(s)),s!==r)return!1}return!0}(this._results,n,t))&&(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(e){this._onDirty=e}setDirty(){var e;this.dirty=!0,null===(e=this._onDirty)||void 0===e||e.call(this)}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function Qa(e){return!(128&~e.flags)}var Za;!function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(Za||(Za={}));const Ka=new Map;let Xa=0;function Ja(e){Ka.delete(e[19])}const el="__ngContext__";function tl(e,t){var n;Fr(t)?(e[el]=t[19],n=t,Ka.set(n[19],n)):e[el]=t}function nl(e){return rl(e[12])}function il(e){return rl(e[4])}function rl(e){for(;null!==e&&!Hr(e);)e=e[4];return e}let sl;function ol(){if(void 0!==sl)return sl;if("undefined"!=typeof document)return document;throw new _n(210,!1)}const al=new $n("",{providedIn:"root",factory:()=>ll}),ll="ng",cl=new $n(""),ul=new $n("",{providedIn:"platform",factory:()=>"unknown"});new $n(""),new $n("");const dl=new $n("",{providedIn:"root",factory:()=>{var e;return(null===(e=ol().body)||void 0===e||null===(e=e.querySelector("[ngCspNonce]"))||void 0===e?void 0:e.getAttribute("ngCspNonce"))||null}}),hl={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},pl=new $n("",{providedIn:"root",factory:()=>hl});class fl{constructor(){fn(this,"store",{}),fn(this,"onSerializeCallbacks",{})}get(e,t){return void 0!==this.store[e]?this.store[e]:t}set(e,t){this.store[e]=t}remove(e){delete this.store[e]}hasKey(e){return this.store.hasOwnProperty(e)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(e,t){this.onSerializeCallbacks[e]=t}toJson(){for(const e in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(e))try{this.store[e]=this.onSerializeCallbacks[e]()}catch(e){console.warn("Exception in onSerialize callback: ",e)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}fn(fl,"ɵprov",Fn({token:fl,providedIn:"root",factory:function(){const e=new fl;return"undefined"!=typeof ngServerMode&&ngServerMode||(e.store=function(e,t){const n=e.getElementById(t+"-state");if(null!=n&&n.textContent)try{return JSON.parse(n.textContent)}catch(e){console.warn("Exception while restoring TransferState for app "+t,e)}return{}}(ol(),bi(al))),e}}));new $n("");const gl=!1,_l=new $n("",{providedIn:"root",factory:()=>gl});new $n(""),new $n("");const ml=new $n(""),vl=new $n("",{providedIn:"root",factory:()=>new Map});var bl;!function(e){e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER"}(bl||(bl={}));const yl=new $n(""),wl=new Set;function El(e){var t,n;wl.has(e)||(wl.add(e),null===(t=performance)||void 0===t||null===(n=t.mark)||void 0===n||n.call(t,"mark_feature_usage",{detail:{feature:e}}))}class Tl{constructor(e,t){fn(this,"view",void 0),fn(this,"node",void 0),this.view=e,this.node=t}}var Cl;fn(Tl,"__NG_ELEMENT_ID__",function(){return new Tl(Rs(),Os())}),function(e){e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read"}(Cl||(Cl={}));class Il{constructor(){fn(this,"impl",null)}execute(){var e;null===(e=this.impl)||void 0===e||e.execute()}}fn(Il,"ɵprov",Fn({token:Vt=Il,providedIn:"root",factory:()=>new Vt}));const Sl=(()=>[Cl.EarlyRead,Cl.Write,Cl.MixedReadWrite,Cl.Read])();class Al{constructor(){fn(this,"ngZone",bi(ka)),fn(this,"scheduler",bi(va)),fn(this,"errorHandler",bi(Ba,{optional:!0})),fn(this,"sequences",new Set),fn(this,"deferredRegistrations",new Set),fn(this,"executing",!1),bi(yl,{optional:!0})}execute(){this.sequences.size,this.executing=!0;for(const t of Sl)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 e of this.sequences)e.afterRun(),e.once&&(this.sequences.delete(e),e.destroy());for(const e of this.deferredRegistrations)this.sequences.add(e);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(e){const{view:t}=e;var n;void 0!==t?((null!==(n=t[25])&&void 0!==n?n:t[25]=[]).push(e),gs(t),t[2]|=8192):this.executing?this.deferredRegistrations.add(e):this.addSequence(e)}addSequence(e){this.sequences.add(e),this.scheduler.notify(7)}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,t){return t?t.run(bl.AFTER_NEXT_RENDER,e):e()}}fn(Al,"ɵprov",Fn({token:Wt=Al,providedIn:"root",factory:()=>new Wt}));class Rl{constructor(e,t,n,i,r,s=null){fn(this,"impl",void 0),fn(this,"hooks",void 0),fn(this,"view",void 0),fn(this,"once",void 0),fn(this,"snapshot",void 0),fn(this,"erroredOrDestroyed",!1),fn(this,"pipelinedValue",void 0),fn(this,"unregisterOnDestroy",void 0),this.impl=e,this.hooks=t,this.view=n,this.once=i,this.snapshot=s,this.unregisterOnDestroy=null==r?void 0:r.onDestroy(()=>this.destroy())}afterRun(){var e;this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,null===(e=this.snapshot)||void 0===e||e.dispose(),this.snapshot=null}destroy(){var e,t;this.impl.unregister(this),null===(e=this.unregisterOnDestroy)||void 0===e||e.call(this);const n=null===(t=this.view)||void 0===t?void 0:t[25];n&&(this.view[25]=n.filter(e=>e!==this))}}function xl(e,t,n,i){var r,s;const o=t.get(Il);null!==(r=o.impl)&&void 0!==r||(o.impl=t.get(Al));const a=t.get(yl,null,{optional:!0}),l=null!==(s=null==n?void 0:n.phase)&&void 0!==s?s:Cl.MixedReadWrite,c=!0!==(null==n?void 0:n.manualCleanup)?t.get(_a):null,u=t.get(Tl,null,{optional:!0}),d=new Rl(o.impl,function(e,t){if(e instanceof Function){const n=[void 0,void 0,void 0,void 0];return n[t]=e,n}return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e,l),null==u?void 0:u.view,i,c,null==a?void 0:a.snapshot(null));return o.impl.register(d),d}const Dl={destroy(){}};var kl;!function(e){e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED"}(kl||(kl={}));var Ol,Nl;!function(e){e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error"}(Ol||(Ol={})),function(e){e[e.Initial=-1]="Initial"}(Nl||(Nl={}));var Ll;function Ml(e,t,n){const i=Hl(e);null===t[i]&&(t[i]=[]),t[i].push(n)}function Pl(e,t){const n=Hl(e),i=t[n];if(null!==i){for(const e of i)e();t[n]=null}}function Fl(e){Pl(1,e),Pl(0,e),Pl(2,e)}function Hl(e){let t=4;return 1===e?t=5:2===e&&(t=9),t}function Bl(e){return e+1}function zl(e,t){e[1];return e[Bl(t.index)]}function ql(e,t){const n=Bl(t.index);return e.data[n]}function Ul(e,t){var n,i,r,s;return t===Ol.Placeholder?null!==(n=null===(i=e.placeholderBlockConfig)||void 0===i?void 0:i[0])&&void 0!==n?n:null:t===Ol.Loading&&null!==(r=null===(s=e.loadingBlockConfig)||void 0===s?void 0:s[0])&&void 0!==r?r:null}function jl(e){var t,n;return null!==(t=null===(n=e.loadingBlockConfig)||void 0===n?void 0:n[1])&&void 0!==t?t:null}function Vl(e,t){if(!e||0===e.length)return t;const n=new Set(e);for(const e of t)n.add(e);return e.length===n.size?e:Array.from(n)}!function(e){e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough"}(Ll||(Ll={}));const Wl={passive:!0,capture:!0},$l=new WeakMap,Gl=new WeakMap,Yl=new WeakMap,Ql=["click","keydown"],Zl=["mouseenter","mouseover","focusin"];let Kl=null,Xl=0;class Jl{constructor(){fn(this,"callbacks",new Set),fn(this,"listener",()=>{for(const e of this.callbacks)e()})}}function ec(e,t){let n=Gl.get(e);if(!n){n=new Jl,Gl.set(e,n);for(const t of Ql)e.addEventListener(t,n.listener,Wl)}return n.callbacks.add(t),()=>{const{callbacks:i,listener:r}=n;if(i.delete(t),0===i.size){Gl.delete(e);for(const t of Ql)e.removeEventListener(t,r,Wl)}}}function tc(e,t){let n=$l.get(e);if(!n){n=new Jl,$l.set(e,n);for(const t of Zl)e.addEventListener(t,n.listener,Wl)}return n.callbacks.add(t),()=>{const{callbacks:i,listener:r}=n;if(i.delete(t),0===i.size){for(const t of Zl)e.removeEventListener(t,r,Wl);$l.delete(e)}}}function nc(e,t,n){const i=n.get(ka);let r=Yl.get(e);return Kl=Kl||i.runOutsideAngular(()=>new IntersectionObserver(e=>{for(const t of e)t.isIntersecting&&Yl.has(t.target)&&i.run(Yl.get(t.target).listener)})),r||(r=new Jl,i.runOutsideAngular(()=>Kl.observe(e)),Yl.set(e,r),Xl++),r.callbacks.add(t),()=>{if(Yl.has(e)){var n,i;if(r.callbacks.delete(t),0===r.callbacks.size)null===(n=Kl)||void 0===n||n.unobserve(e),Yl.delete(e),Xl--;if(0===Xl)null===(i=Kl)||void 0===i||i.disconnect(),Kl=null}}}function ic(e,t,n,i,r,s,o){const a=e[9],l=a.get(ka);let c;c=function(e,t){var n;(null==t||!t.injector)&&yr();const i=null!==(n=null==t?void 0:t.injector)&&void 0!==n?n:bi(fa);return"undefined"!=typeof ngServerMode&&ngServerMode?Dl:(El("NgAfterRender"),xl(e,i,t,!1))}({read:function(){if(Vr(e))return void c.destroy();const u=zl(e,t),d=u[1];if(d!==Nl.Initial&&d!==Ol.Placeholder)return void c.destroy();const h=function(e,t,n){var i;return null==n?e:n>=0?hs(n,e):null!==(i=e[t.index][10])&&void 0!==i?i:null}(e,t,i);if(!h)return;if(c.destroy(),Vr(h))return;const p=function(e,t){return ns(Mr+t,e)}(h,n),f=r(p,()=>{l.run(()=>{e!==h&&ms(h,f),s()})},a);e!==h&&_s(h,f),Ml(o,u,f)}},{injector:a})}const rc=e=>{e.removeAttribute(St),e.removeAttribute("ngb"),e.__jsaction_fns=void 0},sc=new $n("",{providedIn:"root",factory:()=>({})}),oc=new $n("");class ac{constructor(){fn(this,"registry",new Map),fn(this,"cleanupFns",new Map),fn(this,"jsActionMap",bi(vl)),fn(this,"contract",bi(sc)),fn(this,"hydrating",new Map),fn(this,"awaitingCallbacks",new Map)}add(e,t){if(this.registry.set(e,t),this.awaitingCallbacks.has(e)){const t=this.awaitingCallbacks.get(e);for(const e of t)e()}}get(e){var t;return null!==(t=this.registry.get(e))&&void 0!==t?t:null}has(e){return this.registry.has(e)}cleanup(e){!function(e,t){if(e.length>0){let n=[];for(let i of e)t.has(i)&&(n=[...n,...t.get(i)]);new Set(n).forEach(rc)}}(e,this.jsActionMap);for(let t of e)this.registry.delete(t),this.jsActionMap.delete(t),this.invokeTriggerCleanupFns(t),this.hydrating.delete(t),this.awaitingCallbacks.delete(t);var t;0===this.size&&(null===(t=this.contract.instance)||void 0===t||t.cleanUp())}get size(){return this.registry.size}addCleanupFn(e,t){let n=[];this.cleanupFns.has(e)&&(n=this.cleanupFns.get(e)),n.push(t),this.cleanupFns.set(e,n)}invokeTriggerCleanupFns(e){var t;const n=null!==(t=this.cleanupFns.get(e))&&void 0!==t?t:[];for(let e of n)e();this.cleanupFns.delete(e)}awaitParentBlock(e,t){var n;const i=null!==(n=this.awaitingCallbacks.get(e))&&void 0!==n?n:[];i.push(t),this.awaitingCallbacks.set(e,i)}}fn(ac,"ɵprov",Fn({token:$t=ac,providedIn:null,factory:()=>new $t}));function lc(e){let t=e._lView;return 2===t[1].type?null:(jr(t)&&(t=t[26]),t)}var cc,uc;function dc(e,t){const n=e.contentQueries;if(null!==n){const i=g(null);try{for(let i=0;i<n.length;i+=2){const r=n[i],s=n[i+1];if(-1!==s){const n=e.data[s];Ks(r),n.contentQueries(2,t[s],s)}}}finally{g(i)}}}function hc(e,t,n){Ks(0);const i=g(null);try{t(e,n)}finally{g(i)}}function pc(e,t,n){if(Br(t)){const i=g(null);try{const i=t.directiveStart,r=t.directiveEnd;for(let t=i;t<r;t++){const i=e.data[t];if(i.contentQueries){const e=n[t];i.contentQueries(1,e,t)}}}finally{g(i)}}}let fc,gc;function _c(){if(void 0===fc&&(fc=null,Sn.trustedTypes))try{fc=Sn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return fc}function mc(e){var t;return(null===(t=_c())||void 0===t?void 0:t.createHTML(e))||e}function vc(){if(void 0===gc&&(gc=null,Sn.trustedTypes))try{gc=Sn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return gc}function bc(e){var t;return(null===(t=vc())||void 0===t?void 0:t.createHTML(e))||e}function yc(e){var t;return(null===(t=vc())||void 0===t?void 0:t.createScript(e))||e}function wc(e){var t;return(null===(t=vc())||void 0===t?void 0:t.createScriptURL(e))||e}!function(e){e.Hydrated="hydrated",e.Skipped="skipped",e.Mismatched="mismatched"}(cc||(cc={})),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(uc||(uc={}));class Ec{constructor(e){fn(this,"changingThisBreaksApplicationSecurity",void 0),this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${gn})`}}class Tc extends Ec{getTypeName(){return"HTML"}}class Cc extends Ec{getTypeName(){return"Style"}}class Ic extends Ec{getTypeName(){return"Script"}}class Sc extends Ec{getTypeName(){return"URL"}}class Ac extends Ec{getTypeName(){return"ResourceURL"}}function Rc(e){return e instanceof Ec?e.changingThisBreaksApplicationSecurity:e}function xc(e,t){const n=function(e){return e instanceof Ec&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${gn})`)}return n===t}function Dc(e){const t=new Oc(e);return function(){try{return!!(new window.DOMParser).parseFromString(mc(""),"text/html")}catch(e){return!1}}()?new kc(t):t}class kc{constructor(e){fn(this,"inertDocumentHelper",void 0),this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{var t;const n=(new window.DOMParser).parseFromString(mc(e),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(e):(null===(t=n.firstChild)||void 0===t||t.remove(),n)}catch(e){return null}}}class Oc{constructor(e){fn(this,"defaultDoc",void 0),fn(this,"inertDocument",void 0),this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){const t=this.inertDocument.createElement("template");return t.innerHTML=mc(e),t}}const Nc=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Lc(e){return(e=String(e)).match(Nc)?e:"unsafe:"+e}function Mc(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Pc(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const Fc=Mc("area,br,col,hr,img,wbr"),Hc=Mc("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Bc=Mc("rp,rt"),zc=Pc(Bc,Hc),qc=Pc(Hc,Mc("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")),Uc=Pc(Bc,Mc("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")),jc=Pc(Fc,qc,Uc,zc),Vc=Mc("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Wc=Mc("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"),$c=Mc("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"),Gc=Pc(Vc,Wc,$c),Yc=Mc("script,style,template");class Qc{constructor(){fn(this,"sanitizedSomething",!1),fn(this,"buf",[])}sanitizeChildren(e){let t=e.firstChild,n=!0,i=[];for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)i.push(t),t=Kc(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=Zc(t);if(e){t=e;break}t=i.pop()}return this.buf.join("")}startElement(e){const t=Xc(e).toLowerCase();if(!jc.hasOwnProperty(t))return this.sanitizedSomething=!0,!Yc.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let e=0;e<n.length;e++){const t=n.item(e),i=t.name,r=i.toLowerCase();if(!Gc.hasOwnProperty(r)){this.sanitizedSomething=!0;continue}let s=t.value;Vc[r]&&(s=Lc(s)),this.buf.push(" ",i,'="',nu(s),'"')}return this.buf.push(">"),!0}endElement(e){const t=Xc(e).toLowerCase();jc.hasOwnProperty(t)&&!Fc.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(nu(e))}}function Zc(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw Jc(t);return t}function Kc(e){const t=e.firstChild;if(t&&(n=t,(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY))throw Jc(t);var n;return t}function Xc(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function Jc(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const eu=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,tu=/([^\#-~ |!])/g;function nu(e){return e.replace(/&/g,"&amp;").replace(eu,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(tu,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let iu;function ru(e,t){let n=null;try{iu=iu||Dc(e);let i=t?String(t):"";n=iu.getInertBodyElement(i);let r=5,s=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=s,s=n.innerHTML,n=iu.getInertBodyElement(i)}while(i!==s);const o=new Qc;return mc(o.sanitizeChildren(su(n)||n))}finally{if(n){const e=su(n)||n;for(;e.firstChild;)e.firstChild.remove()}}}function su(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ou;function au(e){const t=gu();return t?bc(t.sanitize(ou.HTML,e)||""):xc(e,"HTML")?bc(Rc(e)):ru(ol(),ti(e))}function lu(e){const t=gu();return t?t.sanitize(ou.STYLE,e)||"":xc(e,"Style")?Rc(e):ti(e)}function cu(e){const t=gu();return t?t.sanitize(ou.URL,e)||"":xc(e,"URL")?Rc(e):Lc(ti(e))}function uu(e){const t=gu();if(t)return wc(t.sanitize(ou.RESOURCE_URL,e)||"");if(xc(e,"ResourceURL"))return wc(Rc(e));throw new _n(904,!1)}function du(e){const t=gu();if(t)return yc(t.sanitize(ou.SCRIPT,e)||"");if(xc(e,"Script"))return yc(Rc(e));throw new _n(905,!1)}function hu(e){return mc(e[0])}function pu(e){return function(e){var t;return(null===(t=_c())||void 0===t?void 0:t.createScriptURL(e))||e}(e[0])}function fu(e,t,n){return function(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?uu:cu}(t,n)(e)}function gu(){const e=Rs();return e&&e[10].sanitizer}!function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(ou||(ou={}));const _u=/^>|^->|<!--|-->|--!>|<!-$/g,mu=/(<|>)/g;function vu(e){return e.ownerDocument.defaultView}function bu(e){return e.ownerDocument}function yu(e){return e.ownerDocument.body}function wu(e){return e instanceof Function?e():e}function Eu(e,t,n){let i=e.length;for(;;){const r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const n=t.length;if(r+n===i||e.charCodeAt(r+n)<=32)return r}n=r+1}}const Tu="ng-template";function Cu(e,t,n,i){let r=0;if(i){for(;r<t.length&&"string"==typeof t[r];r+=2)if("class"===t[r]&&-1!==Eu(t[r+1].toLowerCase(),n,0))return!0}else if(Iu(e))return!1;if(r=t.indexOf(1,r),r>-1){let e;for(;++r<t.length&&"string"==typeof(e=t[r]);)if(e.toLowerCase()===n)return!0}return!1}function Iu(e){return 4===e.type&&e.value!==Tu}function Su(e,t,n){return t===(4!==e.type||n?e.value:Tu)}function Au(e,t,n){let i=4;const r=e.attrs,s=null!==r?function(e){for(let t=0;t<e.length;t++){if(So(e[t]))return t}return e.length}(r):0;let o=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!o)if(4&i){if(i=2|1&i,""!==l&&!Su(e,l,n)||""===l&&1===t.length){if(Ru(i))return!1;o=!0}}else if(8&i){if(null===r||!Cu(e,r,l,n)){if(Ru(i))return!1;o=!0}}else{const c=t[++a],u=xu(l,r,Iu(e),n);if(-1===u){if(Ru(i))return!1;o=!0;continue}if(""!==c){let e;if(e=u>s?"":r[u+1].toLowerCase(),2&i&&c!==e){if(Ru(i))return!1;o=!0}}}}else{if(!o&&!Ru(i)&&!Ru(l))return!1;if(o&&Ru(l))continue;o=!1,i=l|1&i}}return Ru(i)||o}function Ru(e){return!(1&e)}function xu(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let n=!1;for(;r<t.length;){const i=t[r];if(i===e)return r;if(3===i||6===i)n=!0;else{if(1===i||2===i){let e=t[++r];for(;"string"==typeof e;)e=t[++r];continue}if(4===i)break;if(0===i){r+=4;continue}}r+=n?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function Du(e,t,n=!1){for(let i=0;i<t.length;i++)if(Au(e,t[i],n))return!0;return!1}function ku(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let t=0;t<e.length;t++)if(e[t]!==i[t])continue e;return!0}}return!1}function Ou(e,t){return e?":not("+t.trim()+")":t}function Nu(e){let t=e[0],n=1,i=2,r="",s=!1;for(;n<e.length;){let o=e[n];if("string"==typeof o)if(2&i){const t=e[++n];r+="["+o+(t.length>0?'="'+t+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""===r||Ru(o)||(t+=Ou(s,r),r=""),i=o,s=s||!Ru(i);n++}return""!==r&&(t+=Ou(s,r)),t}const Lu={};function Mu(e,t){return e.createText(t)}function Pu(e,t,n){e.setValue(t,n)}function Fu(e,t){return e.createComment(function(e){return e.replace(_u,e=>e.replace(mu,"​$1​"))}(t))}function Hu(e,t,n){return e.createElement(t,n)}function Bu(e,t,n,i,r){e.insertBefore(t,n,i,r)}function zu(e,t,n){e.appendChild(t,n)}function qu(e,t,n,i,r){null!==i?Bu(e,t,n,i,r):zu(e,t,n)}function Uu(e,t,n){e.removeChild(null,t,n)}function ju(e,t,n){const{mergedAttrs:i,classes:r,styles:s}=n;null!==i&&function(e,t,n){let i=0;for(;i<n.length;){const r=n[i];if("number"==typeof r){if(0!==r)break;i++;const s=n[i++],o=n[i++],a=n[i++];e.setAttribute(t,o,a,s)}else{const s=r,o=n[++i];Ao(s)?e.setProperty(t,s,o):e.setAttribute(t,s,o),i++}}}(e,t,i),null!==r&&function(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}(e,t,r),null!==s&&function(e,t,n){e.setAttribute(t,"style",n)}(e,t,s)}function Vu(e,t,n,i,r,s,o,a,l,c,u){const d=Mr+i,h=d+r,p=function(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:Lu);return n}(d,h),f="function"==typeof c?c():c;return p[1]={type:e,blueprint:p,template:n,queries:null,viewQuery:a,declTNode:t,data:p.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 s?s():s,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:f,incompleteFirstPass:!1,ssrId:u}}function Wu(e){const t=e.tView;if(null===t||t.incompleteFirstPass){const t=null;return e.tView=Vu(1,t,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id)}return t}function $u(e,t,n,i,r,s,o,a,l,c,u){const d=t.blueprint.slice();return d[0]=r,d[2]=1228|i,(null!==c||e&&2048&e[2])&&(d[2]|=2048),us(d),d[3]=d[14]=e,d[8]=n,d[10]=o||e&&e[10],d[11]=a||e&&e[11],d[9]=l||e&&e[9]||null,d[5]=s,d[19]=Xa++,d[6]=u,d[20]=c,d[15]=2==t.type?e[15]:d,d}function Gu(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Yu(e,t,n,i){if(0===n)return-1;const r=t.length;for(let r=0;r<n;r++)t.push(i),e.blueprint.push(i),e.data.push(null);return r}function Qu(e,t){return e[12]?e[13][4]=t:e[12]=t,e[13]=t,t}function Zu(e=1){Ku(xs(),Rs(),oo()+e)}function Ku(e,t,n,i){if(!(3&~t[2])){const i=e.preOrderCheckHooks;null!==i&&mo(t,i,n)}else{const i=e.preOrderHooks;null!==i&&vo(t,i,0,n)}ao(n)}var Xu;function Ju(e,t,n,i){const r=g(null);try{0;const[r,s,o]=e.inputs[n];let a=null;if(0!==(s&Xu.SignalBased)){a=t[r][f]}null!==a&&void 0!==a.transformFn?i=a.transformFn(i):null!==o&&(i=o.call(t,i)),null!==e.setInput?e.setInput(t,a,i,n,r):$r(t,a,r,i)}finally{g(r)}}function ed(e,t,n,i,r){const s=oo(),o=2&i;try{ao(-1),o&&t.length>Mr&&Ku(e,t,Mr);n(i,r)}finally{ao(s)}}function td(e,t,n){!function(e,t,n){const i=n.directiveStart,r=n.directiveEnd;zr(n)&&function(e,t,n){const i=is(t,e),r=Wu(n),s=e[10].rendererFactory,o=Qu(e,$u(e,r,null,Gu(n),i,t,null,s.createRenderer(i,n),null,null,null));e[t.index]=o}(t,n,e.data[i+n.componentOffset]);e.firstCreatePass||Fo(n,t);const s=n.initialInputs;for(let o=i;o<r;o++){const r=e.data[o],a=Yo(t,e,o,n);if(tl(a,t),null!==s&&ld(t,o-i,a,r,n,s),Ur(r)){as(n.index,t)[8]=Yo(t,e,o,n)}}}(e,t,n),64&~n.flags||function(e,t,n){const i=n.directiveStart,r=n.directiveEnd,s=n.index,o=ws.lFrame.currentDirectiveIndex;try{ao(s);for(let n=i;n<r;n++){const i=e.data[n],r=t[n];Ys(n),null===i.hostBindings&&0===i.hostVars&&null===i.hostAttrs||rd(i,r)}}finally{ao(-1),Ys(o)}}(e,t,n)}function nd(e,t,n=is){const i=t.localNames;if(null!==i){let r=t.index+1;for(let s=0;s<i.length;s+=2){const o=i[s+1],a=-1===o?n(t,e):e[o];e[r++]=a}}}function id(e,t,n,i,r,s,o,a){if(!a){if(dd(t,e,n,i,r))return void(zr(t)&&function(e,t){const n=as(t,e);16&n[2]||(n[2]|=64)}(n,t.index))}if(3&t.type){const e=is(t,n);i="class"===(l=i)?"className":"for"===l?"htmlFor":"formaction"===l?"formAction":"innerHtml"===l?"innerHTML":"readonly"===l?"readOnly":"tabindex"===l?"tabIndex":l,r=null!=o?o(r,t.value||"",i):r,s.setProperty(e,i,r)}else t.type;var l}function rd(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function sd(e,t){const n=e.directiveRegistry;let i=null;if(n)for(let e=0;e<n.length;e++){const r=n[e];Du(t,r.selectors,!1)&&(null!=i||(i=[]),Ur(r)?i.unshift(r):i.push(r))}return i}function od(e,t,n,i,r,s){const o=is(e,t);ad(t[11],o,s,e.value,n,i,r)}function ad(e,t,n,i,r,s,o){if(null==s)e.removeAttribute(t,r,n);else{const a=null==o?ti(s):o(s,i||"",r);e.setAttribute(t,r,a,n)}}function ld(e,t,n,i,r,s){const o=s[t];if(null!==o)for(let e=0;e<o.length;e+=2){Ju(i,n,o[e],o[e+1])}}function cd(e,t,n){return(null===e||Ur(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function ud(e,t){const n=e[9],i=n?n.get(Ba,null):null;i&&i.handleError(t)}function dd(e,t,n,i,r){var s,o;const a=null===(s=e.inputs)||void 0===s?void 0:s[i],l=null===(o=e.hostDirectiveInputs)||void 0===o?void 0:o[i];let c=!1;if(l)for(let e=0;e<l.length;e+=2){const i=l[e],s=l[e+1];Ju(t.data[i],n[i],s,r),c=!0}if(a)for(const e of a){const s=n[e];Ju(t.data[e],s,i,r),c=!0}return c}function hd(e,t){const n=as(t,e),i=n[1];!function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(i,n);const r=n[0];null!==r&&null===n[6]&&(n[6]=(n[9],null)),pd(i,n,n[8]),n[8]}function pd(e,t,n){eo(t);try{var i;const r=e.viewQuery;null!==r&&hc(1,r,n);const s=e.template;null!==s&&ed(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),null===(i=t[18])||void 0===i||i.finishViewCreation(e),e.staticContentQueries&&dc(e,t),e.staticViewQueries&&hc(2,e.viewQuery,n);const o=e.components;null!==o&&function(e,t){for(let n=0;n<t.length;n++)hd(e,t[n])}(t,o)}catch(t){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),t}finally{t[2]&=-5,so()}}function fd(e,t,n,i){const r=g(null);try{var s,o,a;const r=t.tView,l=4096&e[2],c=$u(e,r,n,l?4096:16,null,t,null,null,null!==(s=null==i?void 0:i.injector)&&void 0!==s?s:null,null!==(o=null==i?void 0:i.embeddedViewInjector)&&void 0!==o?o:null,null!==(a=null==i?void 0:i.dehydratedView)&&void 0!==a?a:null),u=e[t.index];c[16]=u;const d=e[18];return null!==d&&(c[18]=d.createEmbeddedView(r)),pd(r,c,n),c}finally{g(r)}}function gd(e,t){return!t||null===t.firstChild||Qa(e)}let _d;function md(e,t){return _d(e,t)}var vd;function bd(e){return!(32&~e.flags)}function yd(e,t,n,i,r){if(null!=i){let s,o=!1;Hr(i)?s=i:Fr(i)&&(o=!0,i=i[0]);const a=ts(i);0===e&&null!==n?null==r?zu(t,n,a):Bu(t,n,a,r||null,!0):1===e&&null!==n?Bu(t,n,a,r||null,!0):2===e?Uu(t,a,o):3===e&&t.destroyNode(a),null!=s&&function(e,t,n,i,r){const s=n[7],o=ts(n);s!==o&&yd(t,e,i,s,r);for(let r=Pr;r<n.length;r++){const o=n[r];Hd(o[1],o,e,t,i,s)}}(t,e,s,n,r)}}function wd(e,t){Ed(e,t),t[0]=null,t[5]=null}function Ed(e,t){var n;null===(n=t[10].changeDetectionScheduler)||void 0===n||n.notify(9),Hd(e,t,t[11],2,null,null)}function Td(e,t){const n=e[9],i=n.indexOf(t);n.splice(i,1)}function Cd(e,t){if(Vr(t))return;const n=t[11];n.destroyNode&&Hd(e,t,n,3,null,null),function(e){let t=e[12];if(!t)return Id(e[1],e);for(;t;){let n=null;if(Fr(t))n=t[12];else{const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)Fr(t)&&Id(t[1],t),t=t[3];null===t&&(t=e),Fr(t)&&Id(t[1],t),n=t&&t[4]}t=n}}(t)}function Id(e,t){if(Vr(t))return;const n=g(null);try{t[2]&=-129,t[2]|=256,t[24]&&S(t[24]),function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let e=0;e<n.length;e+=2){const i=t[n[e]];if(!(i instanceof Co)){const t=n[e+1];if(Array.isArray(t))for(let e=0;e<t.length;e+=2){const n=i[t[e]],r=t[e+1];try{r.call(n)}finally{}}else try{t.call(i)}finally{}}}}(e,t),function(e,t){const n=e.cleanup,i=t[7];if(null!==n)for(let e=0;e<n.length-1;e+=2)if("string"==typeof n[e]){const t=n[e+3];t>=0?i[t]():i[-t].unsubscribe(),e+=2}else{const t=i[n[e+1]];n[e].call(t)}null!==i&&(t[7]=null);const r=t[21];if(null!==r){t[21]=null;for(let e=0;e<r.length;e++){(0,r[e])()}}const s=t[23];if(null!==s){t[23]=null;for(const e of s)e.destroy()}}(e,t),1===t[1].type&&t[11].destroy();const n=t[16];if(null!==n&&Hr(t[3])){n!==t[3]&&Td(n,t);const i=t[18];null!==i&&i.detachView(e)}Ja(t)}finally{g(n)}}function Sd(e,t,n){return Ad(e,t.parent,n)}function Ad(e,t,n){let i=t;for(;null!==i&&168&i.type;)i=(t=i).parent;if(null===i)return n[0];if(zr(i)){const{encapsulation:t}=e.data[i.directiveStart+i.componentOffset];if(t===uc.None||t===uc.Emulated)return null}return is(i,n)}function Rd(e,t,n){return kd(e,t,n)}function xd(e,t,n){return 40&e.type?is(e,n):null}!function(e){e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"}(Xu||(Xu={})),function(e){e[e.Important=1]="Important",e[e.DashCase=2]="DashCase"}(vd||(vd={}));let Dd,kd=xd;function Od(e,t){kd=e,Dd=t}function Nd(e,t,n,i){const r=Sd(e,i,t),s=t[11],o=Rd(i.parent||t[5],i,t);if(null!=r)if(Array.isArray(n))for(let e=0;e<n.length;e++)qu(s,r,n[e],o,!1);else qu(s,r,n,o,!1);void 0!==Dd&&Dd(s,i,t,n,r)}function Ld(e,t){if(null!==t){const n=t.type;if(3&n)return is(t,e);if(4&n)return Pd(-1,e[t.index]);if(8&n){const n=t.child;if(null!==n)return Ld(e,n);{const n=e[t.index];return Hr(n)?Pd(-1,n):ts(n)}}if(128&n)return Ld(e,t.next);if(32&n){return md(t,e)()||ts(e[t.index])}{const n=Md(e,t);if(null!==n){if(Array.isArray(n))return n[0];return Ld(vs(e[15]),n)}return Ld(e,t.next)}}return null}function Md(e,t){if(null!==t){const n=e[15][5],i=t.projection;return n.projection[i]}return null}function Pd(e,t){const n=Pr+e+1;if(n<t.length){const e=t[n],i=e[1].firstChild;if(null!==i)return Ld(e,i)}return t[7]}function Fd(e,t,n,i,r,s,o){for(;null!=n;){if(128===n.type){n=n.next;continue}const a=i[n.index],l=n.type;if(o&&0===t&&(a&&tl(ts(a),i),n.flags|=2),!bd(n))if(8&l)Fd(e,t,n.child,i,r,s,!1),yd(t,e,r,a,s);else if(32&l){const o=md(n,i);let l;for(;l=o();)yd(t,e,r,l,s);yd(t,e,r,a,s)}else 16&l?Bd(e,t,i,n,r,s):yd(t,e,r,a,s);n=o?n.projectionNext:n.next}}function Hd(e,t,n,i,r,s){Fd(n,i,e.firstChild,t,r,s,!1)}function Bd(e,t,n,i,r,s){const o=n[15],a=o[5].projection[i.projection];if(Array.isArray(a))for(let n=0;n<a.length;n++){yd(t,e,r,a[n],s)}else{let n=a;const l=o[3];Qa(i)&&(n.flags|=128),Fd(e,t,n,l,r,s,!0)}}function zd(e,t,n,i,r=!1){for(;null!==n;){if(128===n.type){n=r?n.projectionNext:n.next;continue}const s=t[n.index];null!==s&&i.push(ts(s)),Hr(s)&&qd(s,i);const o=n.type;if(8&o)zd(e,t,n.child,i);else if(32&o){const e=md(n,t);let r;for(;r=e();)i.push(r)}else if(16&o){const e=Md(t,n);if(Array.isArray(e))i.push(...e);else{const n=vs(t[15]);zd(n[1],n,e,i,!0)}}n=r?n.projectionNext:n.next}return i}function qd(e,t){for(let n=Pr;n<e.length;n++){const i=e[n],r=i[1].firstChild;null!==r&&zd(i[1],i,r,t)}e[7]!==e[0]&&t.push(e[7])}function Ud(e){if(null!==e[25]){for(const t of e[25])t.impl.addSequence(t);e[25].length=0}}let jd=[];function Vd(e){var t;return null!==(t=e[24])&&void 0!==t?t:function(e){var t;const n=null!==(t=jd.pop())&&void 0!==t?t:Object.create(Wd);return n.lView=e,n}(e)}const Wd=pn(pn({},_),{},{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{gs(e.lView)},consumerOnSignalRead(){this.lView[24]=this}});const $d=pn(pn({},_),{},{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=vs(e.lView);for(;t&&!Gd(t[1]);)t=vs(t);t&&ds(t)},consumerOnSignalRead(){this.lView[24]=this}});function Gd(e){return 2!==e.type}function Yd(e){if(null===e[23])return;let t=!0;for(;t;){let n=!1;for(const t of e[23])t.dirty&&(n=!0,null===t.zone||Zone.current===t.zone?t.run():t.zone.run(()=>t.run()));t=n&&!!(8192&e[2])}}function Qd(e,t=!0,n=0){const i=e[10].rendererFactory;var r;null===(r=i.begin)||void 0===r||r.call(i);try{!function(e,t){const n=Bs();try{zs(!0),eh(e,t);let n=0;for(;ps(e);){if(100===n)throw new _n(103,!1);n++,eh(e,1)}}finally{zs(n)}}(e,n)}catch(n){throw t&&ud(e,n),n}finally{var s;null===(s=i.end)||void 0===s||s.call(i)}}function Zd(e,t,n,i){if(Vr(t))return;const r=t[2];eo(t);let s=!0,o=null,a=null;Gd(e)?(a=Vd(t),o=T(a)):null===d?(s=!1,a=function(e){var t;const n=null!==(t=e[24])&&void 0!==t?t:Object.create($d);return n.lView=e,n}(t),o=T(a)):t[24]&&(S(t[24]),t[24]=null);try{us(t),js(e.bindingStartIndex),null!==n&&ed(e,t,n,2,i);const s=!(3&~r);if(s){const n=e.preOrderCheckHooks;null!==n&&mo(t,n,null)}else{const n=e.preOrderHooks;null!==n&&vo(t,n,0,null),bo(t,0)}if(function(e){for(let t=nl(e);null!==t;t=il(t)){if(!(2&t[2]))continue;const e=t[9];for(let t=0;t<e.length;t++){ds(e[t])}}}(t),Yd(t),Kd(t,0),null!==e.contentQueries&&dc(e,t),s){const n=e.contentCheckHooks;null!==n&&mo(t,n)}else{const n=e.contentHooks;null!==n&&vo(t,n,1),bo(t,1)}!function(e,t){const n=e.hostBindingOpCodes;if(null===n)return;try{for(let e=0;e<n.length;e++){const i=n[e];if(i<0)ao(~i);else{const r=i,s=n[++e],o=n[++e];Gs(s,r);const a=t[r];Jr(0,a),o(2,a),Jr(0,a)}}}finally{ao(-1)}}(e,t);const o=e.components;null!==o&&th(t,o,0);const a=e.viewQuery;if(null!==a&&hc(2,a,i),s){const n=e.viewCheckHooks;null!==n&&mo(t,n)}else{const n=e.viewHooks;null!==n&&vo(t,n,2),bo(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[22]){for(const e of t[22])e();t[22]=null}Ud(t),t[2]&=-73}catch(e){throw gs(t),e}finally{null!==a&&(C(a,o),s&&(l=a).lView[24]!==l&&(l.lView=null,jd.push(l))),so()}var l}function Kd(e,t){for(let n=nl(e);null!==n;n=il(n))for(let e=Pr;e<n.length;e++){Jd(n[e],t)}}function Xd(e,t,n){const i=as(t,e);Jd(i,n),i[8]}function Jd(e,t){ls(e)&&eh(e,t)}function eh(e,t){const n=e[1],i=e[2],r=e[24];let s=!!(0===t&&16&i);if(s||(s=!!(64&i&&0===t)),s||(s=!!(1024&i)),s||(s=!(null==r||!r.dirty||!I(r))),s||(s=!1),r&&(r.dirty=!1),e[2]&=-9217,s)Zd(n,e,n.template,e[8]);else if(8192&i){Yd(e),Kd(e,1);const t=n.components;null!==t&&th(e,t,1),Ud(e)}}function th(e,t,n){for(let i=0;i<t.length;i++)Xd(e,t[i],n)}function nh(e,t){var n;const i=Bs()?64:1088;for(null===(n=e[10].changeDetectionScheduler)||void 0===n||n.notify(t);e;){e[2]|=i;const t=vs(e);if(jr(e)&&!t)return e;e=t}return null}function ih(e,t,n,i){return[e,!0,0,t,null,i,null,n,null,null]}function rh(e,t){const n=Pr+t;if(n<e.length){return e[n]}}function sh(e,t,n,i=!0){const r=t[1];if(function(e,t,n,i){const r=Pr+i,s=n.length;i>0&&(n[r-1][4]=t);i<s-Pr?(t[4]=n[r],Ni(n,Pr+i,t)):(n.push(t),t[4]=null);t[3]=n;const o=t[16];null!==o&&n!==o&&lh(o,t);const a=t[18];null!==a&&a.insertView(e);fs(t),t[2]|=128}(r,t,e,n),i){const i=Pd(n,e),s=t[11],o=s.parentNode(e[7]);null!==o&&function(e,t,n,i,r,s){i[0]=r,i[5]=t,Hd(e,i,n,1,r,s)}(r,e[5],s,t,o,i)}const s=t[6];null!==s&&null!==s.firstChild&&(s.firstChild=null)}function oh(e,t){const n=ah(e,t);return void 0!==n&&Cd(n[1],n),n}function ah(e,t){if(e.length<=Pr)return;const n=Pr+t,i=e[n];if(i){const r=i[16];null!==r&&r!==e&&Td(r,i),t>0&&(e[n-1][4]=i[4]);const s=Li(e,Pr+t);wd(i[1],i);const o=s[18];null!==o&&o.detachView(s[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function lh(e,t){const n=e[9],i=t[3];if(Fr(i))e[2]|=2;else{const n=i[3][15];t[15]!==n&&(e[2]|=2)}null===n?e[9]=[t]:n.push(t)}let ch=class{get rootNodes(){const e=this._lView,t=e[1];return zd(t,e,t.firstChild,[])}constructor(e,t,n=!0){fn(this,"_lView",void 0),fn(this,"_cdRefInjectingView",void 0),fn(this,"notifyErrorHandler",void 0),fn(this,"_appRef",null),fn(this,"_attachedToViewContainer",!1),this._lView=e,this._cdRefInjectingView=t,this.notifyErrorHandler=n}get context(){return this._lView[8]}set context(e){this._lView[8]=e}get destroyed(){return Vr(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const e=this._lView[3];if(Hr(e)){const t=e[8],n=t?t.indexOf(this):-1;n>-1&&(ah(e,n),Li(t,n))}this._attachedToViewContainer=!1}Cd(this._lView[1],this._lView)}onDestroy(e){_s(this._lView,e)}markForCheck(){nh(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[2]&=-129}reattach(){fs(this._lView),this._lView[2]|=128}detectChanges(){this._lView[2]|=1024,Qd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _n(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const e=jr(this._lView),t=this._lView[16];null===t||e||Td(t,this._lView),Ed(this._lView[1],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new _n(902,!1);this._appRef=e;const t=jr(this._lView),n=this._lView[16];null===n||t||lh(n,this._lView),fs(this._lView)}};class uh{}fn(uh,"__NG_ELEMENT_ID__",function(){return ph(Os(),Rs())});const dh=uh,hh=class extends dh{constructor(e,t,n){super(),fn(this,"_declarationLView",void 0),fn(this,"_declarationTContainer",void 0),fn(this,"elementRef",void 0),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=n}get ssrId(){var e;return(null===(e=this._declarationTContainer.tView)||void 0===e?void 0:e.ssrId)||null}createEmbeddedView(e,t){return this.createEmbeddedViewImpl(e,t)}createEmbeddedViewImpl(e,t,n){const i=fd(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:t,dehydratedView:n});return new ch(i)}};function ph(e,t){return 4&e.type?new hh(t,e,qa(e,t)):null}function fh(e,t,n){const i=t.insertBeforeIndex,r=Array.isArray(i)?i[0]:i;return null===r?xd(e,0,n):ts(n[r])}function gh(e,t,n,i,r){const s=t.insertBeforeIndex;if(Array.isArray(s)){let o=i,a=null;if(3&t.type||(a=o,o=r),null!==o&&-1===t.componentOffset)for(let t=1;t<s.length;t++){Bu(e,o,n[s[t]],a,!1)}}}function _h(e,t,n,i,r){let s=e.data[t];if(null===s)s=mh(e,t,n,i,r),ws.lFrame.inI18n&&(s.flags|=32);else if(64&s.type){s.type=n,s.value=i,s.attrs=r;const e=Ls();s.injectorIndex=null===e?-1:e.injectorIndex}return Ms(s,!0),s}function mh(e,t,n,i,r){const s=Ns(),o=Ps(),a=o?s:s&&s.parent,l=e.data[t]=function(e,t,n,i,r,s){let o=t?t.injectorIndex:-1,a=0;Is()&&(a|=128);const l={type:n,index:i,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:s,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0};return l}(0,a,n,t,i,r);return function(e,t,n,i){null===e.firstChild&&(e.firstChild=t);null!==n&&(i?null==n.child&&null!==t.parent&&(n.child=t):null===n.next&&(n.next=t,t.prev=n))}(e,l,s,o),l}function vh(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){const i=e[n];bh(i)||yh(i,t)&&null===wh(i)&&Eh(i,t.index)}}function bh(e){return!(64&e.type)}function yh(e,t){return bh(t)||e.index>t.index}function wh(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function Eh(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(Od(fh,gh),e.insertBeforeIndex=t)}function Th(e,t){const n=e.data[t];if(null===n||"string"==typeof n)return null;return n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function Ch(e,t,n){const i=mh(e,n,64,null,null);return vh(t,i),i}function Ih(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function Sh(e){return e>>>17}function Ah(e){return(131070&e)>>>1}function Rh(e,t,n){e.index=0;const i=Ih(t,n);e.removes=null!==i?t.remove[i]:Ui}function xh(e){if(e.index<e.removes.length){const t=e.removes[e.index++];if(t>0){return e.lView[t]}{e.stack.push(e.index,e.removes);const n=~t;return Rh(e,e.lView[1].data[n],e.lView),xh(e)}}return 0===e.stack.length?null:(e.removes=e.stack.pop(),e.index=e.stack.pop(),xh(e))}function Dh(){const e={stack:[],index:-1};return function(t,n){for(e.lView=n;e.stack.length;)e.stack.pop();return Rh(e,t.value,n),xh.bind(null,e)}}function kh(e,t,n){for(const i of n.node.cases[n.case]){const n=t.get(i.index-Mr);n&&Uu(e,n,!1)}}function Oh(e){const{lContainer:t}=e,n=t[6];if(null===n)return;const i=t[3][11];for(const e of n)Nh(e,i)}function Nh(e,t){let n=0,i=e.firstChild;if(i){const r=e.data.r;for(;n<r;){const e=i.nextSibling;Uu(t,i,!1),i=e,n++}}}function Lh(e){!function(e){var t;const n=null!==(t=e[6])&&void 0!==t?t:[],i=e[3][11],r=[];for(const e of n)void 0!==e.data.di?r.push(e):Nh(e,i);e[6]=r}(e);const t=e[0];Fr(t)&&Mh(t);for(let t=Pr;t<e.length;t++)Mh(e[t])}function Mh(e){!function(e){const t=e[6];if(t){const{i18nNodes:n,dehydratedIcuData:i}=t;if(n&&i){const t=e[11];for(const e of i.values())kh(t,n,e)}t.i18nNodes=void 0,t.dehydratedIcuData=void 0}}(e);const t=e[1];for(let n=Mr;n<t.bindingStartIndex;n++)if(Hr(e[n])){Lh(e[n])}else Fr(e[n])&&Mh(e[n])}function Ph(e,t,n,i){null!==e&&(n.cleanup(t),Lh(e.lContainer),function(e){const t=e._views;for(const e of t){const t=lc(e);null!==t&&null!==t[0]&&(Fr(t)?Mh(t):Lh(t))}}(i))}let Fh=class{},Hh=class{};let Bh=(fn(Gt=class{},"NULL",new class{resolveComponentFactory(e){throw Error(`No component factory found for ${xn(e)}.`)}}),Gt);class zh{}class qh{constructor(){fn(this,"destroyNode",null)}}fn(qh,"__NG_ELEMENT_ID__",()=>function(){const e=Rs(),t=as(Os().index,e);return(Fr(t)?t:e)[11]}());class Uh{}function jh(e){return void 0!==e.ngModule}function Vh(e){return!!Gi(e)}function Wh(e){return!!Zi(e)}function $h(e){return!!Qi(e)}function Gh(e){return!!Yi(e)}function Yh(e,t){if(Ln(e)&&!(e=Nn(e)))throw new Error(`Expected forwardRef function, imported from "${ni(t)}", to return a standalone entity or NgModule but got "${ni(e)||e}".`);if(null==Gi(e)){const i=Yi(e)||Qi(e)||Zi(e);if(null==i)throw jh(e)?new Error(`A module with providers was imported from "${ni(t)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${ni(e)}" type, imported from "${ni(t)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!i.standalone)throw new Error(`The "${ni(e)}" ${n=e,Yi(n)?"component":Qi(n)?"directive":Zi(n)?"pipe":"type"}, imported from "${ni(t)}", is not standalone. Did you forget to add the standalone: true flag?`)}var n}fn(Uh,"ɵprov",Fn({token:Uh,providedIn:"root",factory:()=>null}));function Qh(e,t){for(const n of e)t.add(n)}const Zh=new class{constructor(){fn(this,"ownerNgModule",new Map),fn(this,"ngModulesWithSomeUnresolvedDecls",new Set),fn(this,"ngModulesScopeCache",new Map),fn(this,"standaloneComponentsScopeCache",new Map)}resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const e of this.ngModulesWithSomeUnresolvedDecls){const t=Gi(e);if(null!=t&&t.declarations)for(const n of wu(t.declarations))Gh(n)&&this.ownerNgModule.set(n,e)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(e,t){this.resolveNgModulesDecls();const n=Yi(e);if(null===n)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${e}`);if(n.standalone){const n=this.getStandaloneComponentScope(e,t);return n.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...n.compilation.directives,...n.compilation.pipes,...n.compilation.ngModules]}}{if(!this.ownerNgModule.has(e))return{dependencies:[]};const t=this.getNgModuleScope(this.ownerNgModule.get(e));return t.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...t.compilation.directives,...t.compilation.pipes]}}}registerNgModule(e,t){if(!Vh(e))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${e}`);this.ngModulesWithSomeUnresolvedDecls.add(e)}clearScopeCacheFor(e){this.ngModulesScopeCache.delete(e),this.standaloneComponentsScopeCache.delete(e)}getNgModuleScope(e){if(this.ngModulesScopeCache.has(e))return this.ngModulesScopeCache.get(e);const t=this.computeNgModuleScope(e);return this.ngModulesScopeCache.set(e,t),t}computeNgModuleScope(e){const t=Gi(e,!0),n={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const e of wu(t.imports))if(Vh(e)){const t=this.getNgModuleScope(e);Qh(t.exported.directives,n.compilation.directives),Qh(t.exported.pipes,n.compilation.pipes)}else{if(!Ki(e)){n.compilation.isPoisoned=!0;break}if($h(e)||Gh(e))n.compilation.directives.add(e);else{if(!Wh(e))throw new _n(980,"The standalone imported type is neither a component nor a directive nor a pipe");n.compilation.pipes.add(e)}}if(!n.compilation.isPoisoned)for(const e of wu(t.declarations)){if(Vh(e)||Ki(e)){n.compilation.isPoisoned=!0;break}Wh(e)?n.compilation.pipes.add(e):n.compilation.directives.add(e)}for(const e of wu(t.exports))if(Vh(e)){const t=this.getNgModuleScope(e);Qh(t.exported.directives,n.exported.directives),Qh(t.exported.pipes,n.exported.pipes),Qh(t.exported.directives,n.compilation.directives),Qh(t.exported.pipes,n.compilation.pipes)}else Wh(e)?n.exported.pipes.add(e):n.exported.directives.add(e);return n}getStandaloneComponentScope(e,t){if(this.standaloneComponentsScopeCache.has(e))return this.standaloneComponentsScopeCache.get(e);const n=this.computeStandaloneComponentScope(e,t);return this.standaloneComponentsScopeCache.set(e,n),n}computeStandaloneComponentScope(e,t){const n={compilation:{directives:new Set([e]),pipes:new Set,ngModules:new Set}};for(const i of ki(null!=t?t:[])){const t=Nn(i);try{Yh(t,e)}catch(e){return n.compilation.isPoisoned=!0,n}if(Vh(t)){n.compilation.ngModules.add(t);const e=this.getNgModuleScope(t);if(e.exported.isPoisoned)return n.compilation.isPoisoned=!0,n;Qh(e.exported.directives,n.compilation.directives),Qh(e.exported.pipes,n.compilation.pipes)}else if(Wh(t))n.compilation.pipes.add(t);else{if(!$h(t)&&!Gh(t))return n.compilation.isPoisoned=!0,n;n.compilation.directives.add(t)}}return n}isOrphanComponent(e){const t=Yi(e);return!(!t||t.standalone)&&(this.resolveNgModulesDecls(),!this.ownerNgModule.has(e))}},Kh={};class Xh{constructor(e,t){fn(this,"injector",void 0),fn(this,"parentInjector",void 0),this.injector=e,this.parentInjector=t}get(e,t,n){n=yi(n);const i=this.injector.get(e,Kh,n);return i!==Kh||t===Kh?i:this.parentInjector.get(e,t,n)}}function Jh(e,t,n){let i=n?e.styles:null,r=n?e.classes:null,s=0;if(null!==t)for(let e=0;e<t.length;e++){const n=t[e];if("number"==typeof n)s=n;else if(1==s)r=Dn(r,n);else if(2==s){i=Dn(i,n+": "+t[++e]+";")}}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=r:e.classesWithoutHost=r}function ep(e,t=si.Default){const n=Rs();if(null===n)return mi(e,t);return Vo(Os(),n,Nn(e),t)}function tp(){throw new Error("invalid")}function np(e,t,n,i,r){const s=null===i?null:{"":-1},o=r(e,n);if(null!==o){let i,r=null,a=null;const l=function(e){let t=null,n=!1;for(let i=0;i<e.length;i++){const r=e[i];if(0===i&&Ur(r)&&(t=r),null!==r.findHostDirectiveDefs){n=!0;break}}if(!n)return null;let i=null,r=null,s=null;for(const n of e)null!==n.findHostDirectiveDefs&&(null!=i||(i=[]),null!=r||(r=new Map),null!=s||(s=new Map),ip(n,i,s,r)),n===t&&(null!=i||(i=[]),i.push(n));if(null!==i)return i.push(...null===t?e:e.slice(1)),[i,r,s];return null}(o);null===l?i=o:[i,r,a]=l,function(e,t,n,i,r,s,o){const a=i.length;let l=!1;for(let r=0;r<a;r++){const s=i[r];!l&&Ur(s)&&(l=!0,rp(e,n,r)),qo(Fo(n,t),e,s.type)}!function(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,a);for(let e=0;e<a;e++){const t=i[e];t.providersResolver&&t.providersResolver(t)}let c=!1,u=!1,d=Yu(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let l=0;l<a;l++){const a=i[l];if(n.mergedAttrs=Ro(n.mergedAttrs,a.hostAttrs),cp(e,n,t,d,a),up(d,a,r),null!==o&&o.has(a)){const[e,t]=o.get(a);n.directiveToIndex.set(a.type,[d,e+n.directiveStart,t+n.directiveStart])}else null!==s&&s.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 f=a.type.prototype;var h,p;if(!c&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck))(null!==(h=e.preOrderHooks)&&void 0!==h?h:e.preOrderHooks=[]).push(n.index),c=!0;if(!u&&(f.ngOnChanges||f.ngDoCheck))(null!==(p=e.preOrderCheckHooks)&&void 0!==p?p:e.preOrderCheckHooks=[]).push(n.index),u=!0;d++}!function(e,t,n){for(let i=t.directiveStart;i<t.directiveEnd;i++){const r=e.data[i];if(null!==n&&n.has(r)){const e=n.get(r);op(0,t,e,i),op(1,t,e,i),lp(t,i,!0)}else sp(0,t,r,i),sp(1,t,r,i),lp(t,i,!1)}}(e,n,s)}(e,t,n,i,s,r,a)}null!==s&&null!==i&&function(e,t,n){const i=e.localNames=[];for(let e=0;e<t.length;e+=2){const r=n[t[e+1]];if(null==r)throw new _n(-301,!1);i.push(t[e],r)}}(n,i,s)}function ip(e,t,n,i){const r=t.length;e.findHostDirectiveDefs(e,t,i),n.set(e,[r,t.length-1])}function rp(e,t,n){var i;t.componentOffset=n,(null!==(i=e.components)&&void 0!==i?i:e.components=[]).push(t.index)}function sp(e,t,n,i){const r=0===e?n.inputs:n.outputs;for(const n in r)if(r.hasOwnProperty(n)){var s,o;let r;var a,l;if(0===e)r=null!==(a=t.inputs)&&void 0!==a?a:t.inputs={};else r=null!==(l=t.outputs)&&void 0!==l?l:t.outputs={};null!==(o=(s=r)[n])&&void 0!==o||(s[n]=[]),r[n].push(i),ap(t,n)}}function op(e,t,n,i){const r=0===e?n.inputs:n.outputs;for(const n in r)if(r.hasOwnProperty(n)){var s,o;const c=r[n];let u;var a,l;if(0===e)u=null!==(a=t.hostDirectiveInputs)&&void 0!==a?a:t.hostDirectiveInputs={};else u=null!==(l=t.hostDirectiveOutputs)&&void 0!==l?l:t.hostDirectiveOutputs={};null!==(o=(s=u)[c])&&void 0!==o||(s[c]=[]),u[c].push(i,n),ap(t,c)}}function ap(e,t){"class"===t?e.flags|=8:"style"===t&&(e.flags|=16)}function lp(e,t,n){var i;const{attrs:r,inputs:s,hostDirectiveInputs:o}=e;var a;if(null===r||!n&&null===s||n&&null===o||Iu(e))return null!==(a=e.initialInputs)&&void 0!==a||(e.initialInputs=[]),void e.initialInputs.push(null);let l=null,c=0;for(;c<r.length;){const e=r[c];if(0!==e)if(5!==e){if("number"==typeof e)break;if(!n&&s.hasOwnProperty(e)){const n=s[e];for(const i of n)if(i===t){null!=l||(l=[]),l.push(e,r[c+1]);break}}else if(n&&o.hasOwnProperty(e)){const n=o[e];for(let e=0;e<n.length;e+=2)if(n[e]===t){null!=l||(l=[]),l.push(n[e+1],r[c+1]);break}}c+=2}else c+=2;else c+=4}null!==(i=e.initialInputs)&&void 0!==i||(e.initialInputs=[]),e.initialInputs.push(l)}function cp(e,t,n,i,r){e.data[i]=r;const s=r.factory||(r.factory=Di(r.type)),o=new Co(s,Ur(r),ep);e.blueprint[i]=o,n[i]=o,function(e,t,n,i,r){const s=r.hostBindings;if(s){let r=e.hostBindingOpCodes;null===r&&(r=e.hostBindingOpCodes=[]);const o=~t.index;(function(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(r)!=o&&r.push(o),r.push(n,i,s)}}(e,t,i,Yu(e,n,r.hostVars,Lu),r)}function up(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;Ur(t)&&(n[""]=e)}}function dp(e,t,n,i,r,s,o,a){const l=t.consts,c=_h(t,e,2,i,cs(l,o));return s&&np(t,n,c,cs(l,a),r),c.mergedAttrs=Ro(c.mergedAttrs,c.attrs),null!==c.attrs&&Jh(c,c.attrs,!1),null!==c.mergedAttrs&&Jh(c,c.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,c),c}function hp(e,t){_o(e,t),Br(t)&&e.queries.elementEnd(t)}class pp extends Bh{constructor(e){super(),fn(this,"ngModule",void 0),this.ngModule=e}resolveComponentFactory(e){const t=Yi(e);return new fp(t,this.ngModule)}}class fp extends Hh{get inputs(){var e;return null!==(e=this.cachedInputs)&&void 0!==e||(this.cachedInputs=function(e){return Object.keys(e).map(t=>{const[n,i,r]=e[t],s={propName:n,templateName:t,isSignal:0!==(i&Xu.SignalBased)};return r&&(s.transform=r),s})}(this.componentDef.inputs)),this.cachedInputs}get outputs(){var e;return null!==(e=this.cachedOutputs)&&void 0!==e||(this.cachedOutputs=function(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}(this.componentDef.outputs)),this.cachedOutputs}constructor(e,t){var n;super(),fn(this,"componentDef",void 0),fn(this,"ngModule",void 0),fn(this,"selector",void 0),fn(this,"componentType",void 0),fn(this,"ngContentSelectors",void 0),fn(this,"isBoundToModule",void 0),fn(this,"cachedInputs",null),fn(this,"cachedOutputs",null),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(Nu).join(","),this.ngContentSelectors=null!==(n=e.ngContentSelectors)&&void 0!==n?n:[],this.isBoundToModule=!!t}create(e,t,n,i){const r=g(null);try{const r=this.componentDef,s=Vu(0,null,null,1,0,null,null,null,null,[n?["ng-version","19.2.14"]:function(e){const t=[],n=[];let i=1,r=2;for(;i<e.length;){let s=e[i];if("string"==typeof s)2===r?""!==s&&t.push(s,e[++i]):8===r&&n.push(s);else{if(!Ru(r))break;r=s}i++}return n.length&&t.push(1,...n),t}(this.componentDef.selectors[0])],null),o=function(e,t,n){let i=t instanceof dr?t:null==t?void 0:t.injector;return i&&null!==e.getStandaloneInjector&&(i=e.getStandaloneInjector(i)||i),i?new Xh(n,i):n}(r,i||this.ngModule,e),a=function(e){const t=e.get(zh,null);if(null===t)throw new _n(407,!1);return{rendererFactory:t,sanitizer:e.get(Uh,null),changeDetectionScheduler:e.get(va,null)}}(o),l=a.rendererFactory.createRenderer(null,r),c=n?function(e,t,n,i){const r=i.get(_l,gl)||n===uc.ShadowDom;return e.selectRootElement(t,r)}(l,n,r.encapsulation,o):function(e,t){const n=(e.selectors[0][0]||"div").toLowerCase();return Hu(t,n,"svg"===n?"svg":"math"===n?es:null)}(r,l),u=$u(null,s,null,512|Gu(r),null,null,a,l,o,null,null);u[26]=c,eo(u);let d=null;try{const e=dp(Mr,s,u,"#host",()=>[this.componentDef],!0,0);c&&(ju(l,c,e),tl(c,u)),td(s,u,e),pc(s,e,u),hp(s,e),void 0!==t&&function(e,t,n){const i=e.projection=[];for(let e=0;e<t.length;e++){const t=n[e];i.push(null!=t&&t.length?Array.from(t):null)}}(e,this.ngContentSelectors,t),d=as(e.index,u),u[8]=d[8],pd(s,u,null)}catch(e){throw null!==d&&Ja(d),Ja(u),e}finally{so()}return new gp(this.componentType,u)}finally{g(r)}}}class gp extends Fh{constructor(e,t){super(),fn(this,"_rootLView",void 0),fn(this,"instance",void 0),fn(this,"hostView",void 0),fn(this,"changeDetectorRef",void 0),fn(this,"componentType",void 0),fn(this,"location",void 0),fn(this,"previousInputValues",null),fn(this,"_tNode",void 0),this._rootLView=t,this._tNode=rs(t[1],Mr),this.location=qa(this._tNode,t),this.instance=as(this._tNode.index,t)[8],this.hostView=this.changeDetectorRef=new ch(t,void 0,!1),this.componentType=e}setInput(e,t){var n;const i=this._tNode;if(null!==(n=this.previousInputValues)&&void 0!==n||(this.previousInputValues=new Map),this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),t))return;const r=this._rootLView;dd(i,r[1],r,e,t),this.previousInputValues.set(e,t);nh(as(i.index,r),1)}get injector(){return new Ko(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}class _p{}fn(_p,"__NG_ELEMENT_ID__",function(){return wp(Os(),Rs())});const mp=_p,vp=class extends mp{constructor(e,t,n){super(),fn(this,"_lContainer",void 0),fn(this,"_hostTNode",void 0),fn(this,"_hostLView",void 0),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return qa(this._hostTNode,this._hostLView)}get injector(){return new Ko(this._hostTNode,this._hostLView)}get parentInjector(){const e=zo(this._hostTNode,this._hostLView);if(Do(e)){const t=Oo(e,this._hostLView),n=ko(e),i=t[1].data[n+8];return new Ko(i,t)}return new Ko(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=bp(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-Pr}createEmbeddedView(e,t,n){let i,r;"number"==typeof n?i=n:null!=n&&(i=n.index,r=n.injector);const s=(this._lContainer,e.ssrId,null),o=e.createEmbeddedViewImpl(t||{},r,s);return this.insertImpl(o,i,gd(this._hostTNode,s)),o}createComponent(e,t,n,i,r){var s;const o=e&&!Ar(e);let a;if(o)a=t;else{const e=t||{};a=e.index,n=e.injector,i=e.projectableNodes,r=e.environmentInjector||e.ngModuleRef}const l=o?e:new fp(Yi(e)),c=n||this.parentInjector;if(!r&&null==l.ngModule){const e=(o?c:this.parentInjector).get(dr,null);e&&(r=e)}const u=Yi(null!==(s=l.componentType)&&void 0!==s?s:{}),d=(this._lContainer,null==u?void 0:u.id,null),h=null,p=l.create(c,i,h,r);return this.insertImpl(p.hostView,a,gd(this._hostTNode,d)),p}insert(e,t){return this.insertImpl(e,t,!0)}insertImpl(e,t,n){const i=e._lView;if(Hr(i[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=i[3],n=new vp(t,t[5],t[3]);n.detach(n.indexOf(e))}}const r=this._adjustIndex(t),s=this._lContainer;return sh(s,i,r,n),e.attachToViewContainerRef(),Ni(yp(s),r,e),e}move(e,t){return this.insert(e,t)}indexOf(e){const t=bp(this._lContainer);return null!==t?t.indexOf(e):-1}remove(e){const t=this._adjustIndex(e,-1),n=ah(this._lContainer,t);n&&(Li(yp(this._lContainer),t),Cd(n[1],n))}detach(e){const t=this._adjustIndex(e,-1),n=ah(this._lContainer,t);return n&&null!=Li(yp(this._lContainer),t)?new ch(n):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}};function bp(e){return e[8]}function yp(e){return e[8]||(e[8]=[])}function wp(e,t){let n;const i=t[e.index];return Hr(i)?n=i:(n=ih(i,t,null,e),t[e.index]=n,Qu(t,n)),Ep(n,t,e,i),new vp(n,e,t)}let Ep=function(e,t,n,i){if(e[7])return;let r;r=8&n.type?ts(i):function(e,t){const n=e[11],i=n.createComment(""),r=is(t,e),s=n.parentNode(r);return Bu(n,s,i,n.nextSibling(r),!1),i}(t,n);e[7]=r};class Tp{constructor(e){fn(this,"queryList",void 0),fn(this,"matches",null),this.queryList=e}clone(){return new Tp(this.queryList)}setDirty(){this.queryList.setDirty()}}class Cp{constructor(e=[]){fn(this,"queries",void 0),this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const n=null!==e.contentQueries?e.contentQueries[0]:t.length,i=[];for(let e=0;e<n;e++){const n=t.getByIndex(e),r=this.queries[n.indexInDeclarationView];i.push(r.clone())}return new Cp(i)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==Fp(e,t).matches&&this.queries[t].setDirty()}}class Ip{constructor(e,t,n=null){fn(this,"flags",void 0),fn(this,"read",void 0),fn(this,"predicate",void 0),this.flags=t,this.read=n,this.predicate="string"==typeof e?e.split(",").map(e=>e.trim()):e}}class Sp{constructor(e=[]){fn(this,"queries",void 0),this.queries=e}elementStart(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let n=0;n<this.length;n++){const i=null!==t?t.length:0,r=this.getByIndex(n).embeddedTView(e,i);r&&(r.indexInDeclarationView=n,null!==t?t.push(r):t=[r])}return null!==t?new Sp(t):null}template(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class Ap{constructor(e,t=-1){fn(this,"metadata",void 0),fn(this,"matches",null),fn(this,"indexInDeclarationView",-1),fn(this,"crossesNgTemplate",!1),fn(this,"_declarationNodeIndex",void 0),fn(this,"_appliesToNextNode",!0),this.metadata=e,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new Ap(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&1&~this.metadata.flags){const t=this._declarationNodeIndex;let n=e.parent;for(;null!==n&&8&n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(e,t){const n=this.metadata.predicate;if(Array.isArray(n))for(let i=0;i<n.length;i++){const r=n[i];this.matchTNodeWithReadOption(e,t,Rp(t,r)),this.matchTNodeWithReadOption(e,t,Go(t,e,r,!1,!1))}else n===uh?4&t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,Go(t,e,n,!1,!1))}matchTNodeWithReadOption(e,t,n){if(null!==n){const i=this.metadata.read;if(null!==i)if(i===Ua||i===_p||i===uh&&4&t.type)this.addMatch(t.index,-2);else{const n=Go(t,e,i,!1,!1);null!==n&&this.addMatch(t.index,n)}else this.addMatch(t.index,n)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function Rp(e,t){const n=e.localNames;if(null!==n)for(let e=0;e<n.length;e+=2)if(n[e]===t)return n[e+1];return null}function xp(e,t,n,i){return-1===n?function(e,t){return 11&e.type?qa(e,t):4&e.type?ph(e,t):null}(t,e):-2===n?function(e,t,n){if(n===Ua)return qa(t,e);if(n===uh)return ph(t,e);if(n===_p)return wp(t,e)}(e,t,i):Yo(e,e[1],n,t)}function Dp(e,t,n,i){const r=t[18].queries[i];if(null===r.matches){const i=e.data,s=n.matches,o=[];for(let e=0;null!==s&&e<s.length;e+=2){const r=s[e];if(r<0)o.push(null);else{const a=i[r];o.push(xp(t,a,s[e+1],n.metadata.read))}}r.matches=o}return r.matches}function kp(e,t,n,i){const r=e.queries.getByIndex(n),s=r.matches;if(null!==s){const o=Dp(e,t,r,n);for(let e=0;e<s.length;e+=2){const n=s[e];if(n>0)i.push(o[e/2]);else{const r=s[e+1],o=t[-n];for(let e=Pr;e<o.length;e++){const t=o[e];t[16]===t[3]&&kp(t[1],t,r,i)}if(null!==o[9]){const e=o[9];for(let t=0;t<e.length;t++){const n=e[t];kp(n[1],n,r,i)}}}}}return i}function Op(e,t){return e[18].queries[t].queryList}function Np(e,t,n){var i;const r=new Ya(!(4&~n));!function(e,t,n,i){const r=bs(t);r.push(n),e.firstCreatePass&&ys(e).push(i,r.length-1)}(e,t,r,r.destroy);return(null!==(i=t[18])&&void 0!==i?i:t[18]=new Cp).queries.push(new Tp(r))-1}function Lp(e,t,n){const i=xs();return i.firstCreatePass&&(Pp(i,new Ip(e,t,n),-1),2&~t||(i.staticViewQueries=!0)),Np(i,Rs(),t)}function Mp(e,t,n,i){const r=xs();if(r.firstCreatePass){const s=Os();Pp(r,new Ip(t,n,i),s.index),function(e,t){const n=e.contentQueries||(e.contentQueries=[]),i=n.length?n[n.length-1]:-1;t!==i&&n.push(e.queries.length-1,t)}(r,e),2&~n||(r.staticContentQueries=!0)}return Np(r,Rs(),n)}function Pp(e,t,n){null===e.queries&&(e.queries=new Sp),e.queries.track(new Ap(t,n))}function Fp(e,t){return e.queries.getByIndex(t)}function Hp(e,t){const n=e[1],i=Fp(n,t);return i.crossesNgTemplate?kp(n,e,t,[]):Dp(n,e,i,t)}function Bp(e,t){const n=e[f];n._lView=Rs(),n._queryIndex=t,n._queryList=Op(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(e=>e+1))}const zp=!0;class qp{}In("ContentChildren",(e,t={})=>pn({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:zp},t),qp),In("ContentChild",(e,t={})=>pn({selector:e,first:!0,isViewQuery:!1,descendants:!0},t),qp),In("ViewChildren",(e,t={})=>pn({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:zp},t),qp),In("ViewChild",(e,t)=>pn({selector:e,first:!0,isViewQuery:!0,descendants:!0},t),qp);let Up=new Map;const jp=new Set;function Vp(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length||e.styleUrl)}const Wp=new Map;function $p(e,t){!function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${xn(t)} vs ${xn(t.name)}`)}(t,Wp.get(t)||null,e),Wp.set(t,e)}function Gp(e,t,n){const i=Rs(),r=lo(),s=is(r,i);if(2===r.type&&"iframe"===t.toLowerCase()){const e=s;e.src="",e.srcdoc=mc(""),Uu(i[11],e);throw new _n(-910,!1)}return e}let Yp=class{},Qp=class{};function Zp(e,t){return new Kp(e,null!=t?t:null,[])}class Kp extends Yp{constructor(e,t,n,i=!0){super(),fn(this,"ngModuleType",void 0),fn(this,"_parent",void 0),fn(this,"_bootstrapComponents",[]),fn(this,"_r3Injector",void 0),fn(this,"instance",void 0),fn(this,"destroyCbs",[]),fn(this,"componentFactoryResolver",new pp(this)),this.ngModuleType=e,this._parent=t;const r=Gi(e);this._bootstrapComponents=wu(r.bootstrap),this._r3Injector=pa(e,t,[{provide:Yp,useValue:this},{provide:Bh,useValue:this.componentFactoryResolver},...n],xn(e),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Xp extends Qp{constructor(e){super(),fn(this,"moduleType",void 0),this.moduleType=e}create(e){return new Kp(this.moduleType,e,[])}}class Jp extends Yp{constructor(e){super(),fn(this,"injector",void 0),fn(this,"componentFactoryResolver",new pp(this)),fn(this,"instance",null);const t=new hr([...e.providers,{provide:Yp,useValue:this},{provide:Bh,useValue:this.componentFactoryResolver}],e.parent||ur(),e.debugName,new Set(["environment"]));this.injector=t,e.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}}function ef(e,t,n=null){return new Jp({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}class tf{constructor(e){fn(this,"_injector",void 0),fn(this,"cachedInjectors",new Map),this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){const t=Ji(0,e.type),n=t.length>0?ef([t],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,n)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}function nf(e){return vn(()=>{var t;const n=df(e),i=pn(pn({},n),{},{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Za.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?e=>e.get(tf).getOrCreateStandaloneInjector(i):null,getExternalStyles:null,signals:null!==(t=e.signals)&&void 0!==t&&t,data:e.data||{},encapsulation:e.encapsulation||uc.Emulated,styles:e.styles||Ui,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&El("NgStandalone"),hf(i);const r=e.dependencies;return i.directiveDefs=pf(r,!1),i.pipeDefs=pf(r,!0),i.id=function(e){let t=0;const n="function"==typeof e.consts?"":e.consts,i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(const e of i.join("|"))t=Math.imul(31,t)+e.charCodeAt(0)|0;t+=2147483648;return"c"+t}(i),i})}function rf(e){return Yi(e)||Qi(e)}function sf(e){return null!==e}function of(e){return vn(()=>({type:e.type,bootstrap:e.bootstrap||Ui,declarations:e.declarations||Ui,imports:e.imports||Ui,exports:e.exports||Ui,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function af(e,t){if(null==e)return qi;const n={};for(const r in e)if(e.hasOwnProperty(r)){const s=e[r];let o,a,l,c;var i;if(Array.isArray(s))l=s[0],o=s[1],a=null!==(i=s[2])&&void 0!==i?i:o,c=s[3]||null;else o=s,a=s,l=Xu.None,c=null;n[o]=[r,l,c],t[o]=a}return n}function lf(e){if(null==e)return qi;const t={};for(const n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function cf(e){return vn(()=>{const t=df(e);return hf(t),t})}function uf(e){var t;return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:null===(t=e.standalone)||void 0===t||t,onDestroy:e.type.prototype.ngOnDestroy||null}}function df(e){var t;const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputConfig:e.inputs||qi,exportAs:e.exportAs||null,standalone:null===(t=e.standalone)||void 0===t||t,signals:!0===e.signals,selectors:e.selectors||Ui,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:af(e.inputs,n),outputs:lf(e.outputs),debugInfo:null}}function hf(e){var t;null===(t=e.features)||void 0===t||t.forEach(t=>t(e))}function pf(e,t){if(!e)return null;const n=t?Zi:rf;return()=>("function"==typeof e?e():e).map(e=>n(e)).filter(sf)}function ff(e){return Object.getPrototypeOf(e.prototype).constructor}function gf(e){let t=ff(e.type),n=!0;const i=[e];for(;t;){let r;if(Ur(e))r=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new _n(903,!1);r=t.ɵdir}if(r){if(n){i.push(r);const t=e;t.inputs=mf(e.inputs),t.declaredInputs=mf(e.declaredInputs),t.outputs=mf(e.outputs);const n=r.hostBindings;n&&yf(e,n);const s=r.viewQuery,o=r.contentQueries;if(s&&vf(e,s),o&&bf(e,o),_f(e,r),Rn(e.outputs,r.outputs),Ur(r)&&r.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(r.data.animation)}}const t=r.features;if(t)for(let i=0;i<t.length;i++){const r=t[i];r&&r.ngInherit&&r(e),r===gf&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Ro(r.hostAttrs,n=Ro(n,r.hostAttrs))}}(i)}function _f(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n))continue;if(e.inputs.hasOwnProperty(n))continue;const i=t.inputs[n];void 0!==i&&(e.inputs[n]=i,e.declaredInputs[n]=t.declaredInputs[n])}}function mf(e){return e===qi?{}:e===Ui?[]:e}function vf(e,t){const n=e.viewQuery;e.viewQuery=n?(e,i)=>{t(e,i),n(e,i)}:t}function bf(e,t){const n=e.contentQueries;e.contentQueries=n?(e,i,r)=>{t(e,i,r),n(e,i,r)}:t}function yf(e,t){const n=e.hostBindings;e.hostBindings=n?(e,i)=>{t(e,i),n(e,i)}:t}fn(tf,"ɵprov",Fn({token:Yt=tf,providedIn:"environment",factory:()=>new Yt(mi(dr))}));const wf=["providersResolver"],Ef=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function Tf(e){let t,n=ff(e.type);t=Ur(e)?n.ɵcmp:n.ɵdir;const i=e;for(const e of wf)i[e]=t[e];if(Ur(t))for(const e of Ef)i[e]=t[e]}function Cf(e){const t=t=>{const n=Array.isArray(e);null===t.hostDirectives?(t.findHostDirectiveDefs=If,t.hostDirectives=n?e.map(Af):[e]):n?t.hostDirectives.unshift(...e.map(Af)):t.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function If(e,t,n){if(null!==e.hostDirectives)for(const i of e.hostDirectives)if("function"==typeof i){const e=i();for(const i of e)Sf(Af(i),t,n)}else Sf(i,t,n)}function Sf(e,t,n){const i=Qi(e.directive);!function(e,t){for(const n in t)if(t.hasOwnProperty(n)){const i=t[n],r=e[n];e[i]=r}}(i.declaredInputs,e.inputs),If(i,t,n),n.set(i,e),t.push(i)}function Af(e){return"function"==typeof e?{directive:Nn(e),inputs:qi,outputs:qi}:{directive:Nn(e.directive),inputs:Rf(e.inputs),outputs:Rf(e.outputs)}}function Rf(e){if(void 0===e||0===e.length)return qi;const t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function xf(e){return!!Df(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Df(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function kf(e,t,n){return e[t]=n}function Of(e,t){return e[t]}function Nf(e,t,n){const i=e[t];return!Object.is(i,n)&&(e[t]=n,!0)}function Lf(e,t,n,i){const r=Nf(e,t,n);return Nf(e,t+1,i)||r}function Mf(e,t,n,i,r){const s=Lf(e,t,n,i);return Nf(e,t+2,r)||s}function Pf(e,t,n,i,r,s){const o=Lf(e,t,n,i);return Lf(e,t+2,r,s)||o}function Ff(e,t,n,i,r,s,o,a,l,c){const u=n+Mr,d=t.firstCreatePass?function(e,t,n,i,r,s,o,a,l){const c=t.consts,u=_h(t,e,4,o||null,a||null);Cs()&&np(t,n,u,cs(c,l),sd),u.mergedAttrs=Ro(u.mergedAttrs,u.attrs),_o(t,u);const d=u.tView=Vu(2,u,i,r,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,t,e,i,r,s,o,a,l):t.data[u];Ms(d,!1);const h=Bf(t,e);fo()&&Nd(t,e,h,d),tl(h,e);const p=ih(h,e,h,d);return e[u]=p,Qu(e,p),qr(d)&&td(t,e,d),null!=l&&nd(e,d,c),d}function Hf(e,t,n,i,r,s,o,a){const l=Rs(),c=xs();return Ff(l,c,e,t,n,i,r,cs(c.consts,s),o,a),Hf}let Bf=function(e,t,n,i){return go(!0),t[11].createComment("")};function zf(e,t){const n=t.get(qf);return n.add(e),()=>n.remove(e)}class qf{constructor(){fn(this,"executingCallbacks",!1),fn(this,"idleId",null),fn(this,"current",new Set),fn(this,"deferred",new Set),fn(this,"ngZone",bi(ka)),fn(this,"requestIdleCallbackFn",("undefined"!=typeof requestIdleCallback?requestIdleCallback:setTimeout).bind(globalThis)),fn(this,"cancelIdleCallbackFn",("undefined"!=typeof requestIdleCallback?cancelIdleCallback:clearTimeout).bind(globalThis))}add(e){(this.executingCallbacks?this.deferred:this.current).add(e),null===this.idleId&&this.scheduleIdleCallback()}remove(e){const{current:t,deferred:n}=this;t.delete(e),n.delete(e),0===t.size&&0===n.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const e=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const e of this.current)e();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const e of this.deferred)this.current.add(e);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(e))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}}function Uf(e){return(t,n)=>jf(e,t,n)}function jf(e,t,n){const i=n.get(Vf),r=n.get(ka);return i.add(e,t,r),()=>i.remove(t)}fn(qf,"ɵprov",Fn({token:Qt=qf,providedIn:"root",factory:()=>new Qt}));class Vf{constructor(){fn(this,"executingCallbacks",!1),fn(this,"timeoutId",null),fn(this,"invokeTimerAt",null),fn(this,"current",[]),fn(this,"deferred",[])}add(e,t,n){const i=this.executingCallbacks?this.deferred:this.current;this.addToQueue(i,Date.now()+e,t),this.scheduleTimer(n)}remove(e){const{current:t,deferred:n}=this;-1===this.removeFromQueue(t,e)&&this.removeFromQueue(n,e),0===t.length&&0===n.length&&this.clearTimeout()}addToQueue(e,t,n){let i=e.length;for(let n=0;n<e.length;n+=2){if(e[n]>t){i=n;break}}Fi(e,i,t,n)}removeFromQueue(e,t){let n=-1;for(let i=0;i<e.length;i+=2){if(e[i+1]===t){n=i;break}}return n>-1&&Pi(e,n,2),n}scheduleTimer(e){const t=()=>{this.clearTimeout(),this.executingCallbacks=!0;const t=[...this.current],n=Date.now();for(let e=0;e<t.length;e+=2){const i=t[e+1];if(!(t[e]<=n))break;i()}let i=-1;for(let e=0;e<this.current.length;e+=2){if(!(this.current[e]<=n))break;i=e+1}if(i>=0&&Pi(this.current,0,i+1),this.executingCallbacks=!1,this.deferred.length>0){for(let e=0;e<this.deferred.length;e+=2){const t=this.deferred[e],n=this.deferred[e+1];this.addToQueue(this.current,t,n)}this.deferred.length=0}this.scheduleTimer(e)};if(this.current.length>0){const n=Date.now(),i=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-i>16){this.clearTimeout();const r=Math.max(i-n,16);this.invokeTimerAt=i,this.timeoutId=e.runOutsideAngular(()=>setTimeout(()=>e.run(t),r))}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}}fn(Vf,"ɵprov",Fn({token:Zt=Vf,providedIn:"root",factory:()=>new Zt}));class Wf{constructor(){fn(this,"cachedInjectors",new Map)}getOrCreateInjector(e,t,n,i){if(!this.cachedInjectors.has(e)){const r=n.length>0?ef(n,t,i):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}fn(Wf,"ɵprov",Fn({token:Kt=Wf,providedIn:"environment",factory:()=>new Kt}));const $f=new $n("");function Gf(e,t,n){return e.get(Wf).getOrCreateInjector(t,e,n,"")}function Yf(e,t,n,i=!1){var r;const s=n[3],o=s[1];if(Vr(s))return;const a=zl(s,t),l=a[1],c=a[7];if(!(null!==c&&e<c)&&Xf(l,e)&&Xf(null!==(r=a[0])&&void 0!==r?r:-1,e)){const r=ql(o,t),l=!i&&("undefined"==typeof ngServerMode||!ngServerMode)&&(null!==jl(r)||null!==Ul(r,Ol.Loading)||Ul(r,Ol.Placeholder))?tg:Qf;try{l(e,a,n,t,s)}catch(e){ud(s,e)}}}function Qf(e,t,n,i,r){const s=function(e,t,n){const i=ql(t[1],n);switch(e){case Ol.Complete:return i.primaryTmplIndex;case Ol.Loading:return i.loadingTmplIndex;case Ol.Error:return i.errorTmplIndex;case Ol.Placeholder:return i.placeholderTmplIndex;default:return null}}(e,r,i);if(null!==s){t[1]=e;const a=r[1],l=rs(a,s+Mr),c=0;let u;if(oh(n,c),e===Ol.Complete){const e=ql(a,i),t=e.providers;t&&t.length>0&&(u=function(e,t,n){if(e instanceof Xh){const i=e.injector,r=Gf(e.parentInjector,t,n);return new Xh(i,r)}const i=e.get(dr);if(i!==e){const r=Gf(i,t,n);return new Xh(e,r)}return Gf(e,t,n)}(r[9],e,t))}const{dehydratedView:d,dehydratedViewIx:h}=function(e,t){var n,i;const r=null!==(n=null===(i=e[6])||void 0===i?void 0:i.findIndex(e=>e.data.s===t[1]))&&void 0!==n?n:-1;return{dehydratedView:r>-1?e[6][r]:null,dehydratedViewIx:r}}(n,t),p=fd(r,l,null,{injector:u,dehydratedView:d});var o;if(sh(n,p,c,gd(l,d)),nh(p,2),h>-1)null===(o=n[6])||void 0===o||o.splice(h,1);if((e===Ol.Complete||e===Ol.Error)&&Array.isArray(t[8])){for(const e of t[8])e();t[8]=null}}}function Zf(e,t,n,i,r){const s=Date.now(),o=ql(r[1],i);if(null===t[2]||t[2]<=s){t[2]=null;const a=jl(o),l=null!==t[3];if(e!==Ol.Loading||null===a||l){e>Ol.Loading&&l&&(t[3](),t[3]=null,t[0]=null),Qf(e,t,n,i,r);const a=Ul(o,e);null!==a&&(t[2]=s+a,Kf(a,t,i,n,r))}else{t[0]=e;const s=Kf(a,t,i,n,r);t[3]=s}}else t[0]=e}function Kf(e,t,n,i,r){return jf(e,()=>{const e=t[0];t[2]=null,t[0]=null,null!==e&&Yf(e,n,i)},r[9])}function Xf(e,t){return e<t}function Jf(e,t){const n=e[t.index];Yf(Ol.Placeholder,t,n)}function eg(e,t,n){e.loadingPromise.then(()=>{e.loadingState===kl.COMPLETE?Yf(Ol.Complete,t,n):e.loadingState===kl.FAILED&&Yf(Ol.Error,t,n)})}let tg=null;function ng(e,t,n,i){const r=e.consts;null!=n&&(t.placeholderBlockConfig=cs(r,n)),null!=i&&(t.loadingBlockConfig=cs(r,i)),null===tg&&(tg=Zf)}class ig{log(e){console.log(e)}warn(e){console.warn(e)}}Xt=ig,fn(ig,"ɵfac",function(e){return new(e||Xt)}),fn(ig,"ɵprov",Fn({token:Xt,factory:Xt.ɵfac,providedIn:"platform"}));new class{constructor(){fn(this,"resolverToTokenToDependencies",new WeakMap),fn(this,"resolverToProviders",new WeakMap),fn(this,"resolverToEffects",new WeakMap),fn(this,"standaloneInjectorToComponent",new WeakMap)}reset(){this.resolverToTokenToDependencies=new WeakMap,this.resolverToProviders=new WeakMap,this.standaloneInjectorToComponent=new WeakMap}};const rg=new $n(""),sg=new $n("");class og{constructor(e,t,n){var i;(fn(this,"_ngZone",void 0),fn(this,"registry",void 0),fn(this,"_isZoneStable",!0),fn(this,"_callbacks",[]),fn(this,"_taskTrackingZone",null),fn(this,"_destroyRef",void 0),this._ngZone=e,this.registry=t,br())&&(this._destroyRef=null!==(i=bi(_a,{optional:!0}))&&void 0!==i?i:void 0);lg||(lg=n,n.addToWindow(t)),this._watchAngularEvents(),e.run(()=>{this._taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){var e;const t=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),n=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{ka.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));null===(e=this._destroyRef)||void 0===e||e.onDestroy(()=>{t.unsubscribe(),n.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let i=-1;t&&t>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==i),e()},t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})}whenStable(e,t,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(e,t,n),this._runCallbacksIfReady()}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,t,n){return[]}}Jt=og,fn(og,"ɵfac",function(e){return new(e||Jt)(mi(ka),mi(ag),mi(sg))}),fn(og,"ɵprov",Fn({token:Jt,factory:Jt.ɵfac}));class ag{constructor(){fn(this,"_applications",new Map)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){var n,i;return null!==(n=null===(i=lg)||void 0===i?void 0:i.findTestabilityInTree(this,e,t))&&void 0!==n?n:null}}let lg;en=ag,fn(ag,"ɵfac",function(e){return new(e||en)}),fn(ag,"ɵprov",Fn({token:en,factory:en.ɵfac,providedIn:"platform"}));class cg{}fn(cg,"ɵprov",Fn({token:cg,providedIn:"root",factory:()=>new ug}));class ug{constructor(){fn(this,"queuedEffectCount",0),fn(this,"queues",new Map)}schedule(e){this.enqueue(e)}remove(e){const t=e.zone,n=this.queues.get(t);n.has(e)&&(n.delete(e),this.queuedEffectCount--)}enqueue(e){const t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);const n=this.queues.get(t);n.has(e)||(this.queuedEffectCount++,n.add(e))}flush(){for(;this.queuedEffectCount>0;)for(const[e,t]of this.queues)null===e?this.flushQueue(t):e.run(()=>this.flushQueue(t))}flushQueue(e){for(const t of e)e.delete(t),this.queuedEffectCount--,t.run()}}function dg(e){return!!e&&"function"==typeof e.then}function hg(e){return!!e&&"function"==typeof e.subscribe}const pg=new $n("");class fg{constructor(){var e;fn(this,"resolve",void 0),fn(this,"reject",void 0),fn(this,"initialized",!1),fn(this,"done",!1),fn(this,"donePromise",new Promise((e,t)=>{this.resolve=e,this.reject=t})),fn(this,"appInits",null!==(e=bi(pg,{optional:!0}))&&void 0!==e?e:[]),fn(this,"injector",bi(fa))}runInitializers(){if(this.initialized)return;const e=[];for(const t of this.appInits){const n=vr(this.injector,t);if(dg(n))e.push(n);else if(hg(n)){const t=new Promise((e,t)=>{n.subscribe({complete:e,error:t})});e.push(t)}}const t=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}tn=fg,fn(fg,"ɵfac",function(e){return new(e||tn)}),fn(fg,"ɵprov",Fn({token:tn,factory:tn.ɵfac,providedIn:"root"}));const gg=new $n("");function _g(){F=()=>{throw new _n(600,!1)}}function mg(e,t){return Array.isArray(t)?t.reduce(mg,e):pn(pn({},e),t)}class vg{get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}constructor(){fn(this,"_runningTick",!1),fn(this,"_destroyed",!1),fn(this,"_destroyListeners",[]),fn(this,"_views",[]),fn(this,"internalErrorHandler",bi(za)),fn(this,"afterRenderManager",bi(Il)),fn(this,"zonelessEnabled",bi(ba)),fn(this,"rootEffectScheduler",bi(cg)),fn(this,"dirtyFlags",0),fn(this,"tracingSnapshot",null),fn(this,"externalTestViews",new Set),fn(this,"afterTick",new ke),fn(this,"componentTypes",[]),fn(this,"components",[]),fn(this,"isStable",bi(Ea).hasPendingTasks.pipe(ct(e=>!e))),fn(this,"_injector",bi(dr)),fn(this,"_rendererFactory",null),fn(this,"tickImpl",()=>{if(this._runningTick)throw new _n(101,!1);const e=g(null);try{this._runningTick=!0,this.synchronize()}catch(e){this.internalErrorHandler(e)}finally{var t;this._runningTick=!1,null===(t=this.tracingSnapshot)||void 0===t||t.dispose(),this.tracingSnapshot=null,g(e),this.afterTick.next()}}),bi(yl,{optional:!0})}whenStable(){let e;return new Promise(t=>{e=this.isStable.subscribe({next:e=>{e&&t()}})}).finally(()=>{e.unsubscribe()})}get injector(){return this._injector}bootstrap(e,t){return this.bootstrapImpl(e,t)}bootstrapImpl(e,t,n=fa.NULL){const i=e instanceof Hh;if(!this._injector.get(fg).done){throw new _n(405,"")}let r;if(i)r=e;else{r=this._injector.get(Bh).resolveComponentFactory(e)}this.componentTypes.push(r.componentType);const s=r.isBoundToModule?void 0:this._injector.get(Yp);const o=t||r.selector,a=r.create(n,[],o,s),l=a.location.nativeElement,c=a.injector.get(rg,null);return null==c||c.registerApplication(l),a.onDestroy(()=>{this.detachView(a.hostView),bg(this.components,a),null==c||c.unregisterApplication(l)}),this._loadComponent(a),a}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){null!==this.tracingSnapshot?this.tracingSnapshot.run(bl.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}synchronize(){null!==this._rendererFactory||this._injector.destroyed||(this._rendererFactory=this._injector.get(zh,null,{optional:!0}));let e=0;for(;0!==this.dirtyFlags&&e++<10;)this.synchronizeOnce()}synchronizeOnce(){if(16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),7&this.dirtyFlags){const e=Boolean(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:t,notifyErrorHandler:n}of this.allViews)yg(t,n,e,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}else{var e,t,n,i;null===(e=this._rendererFactory)||void 0===e||null===(t=e.begin)||void 0===t||t.call(e),null===(n=this._rendererFactory)||void 0===n||null===(i=n.end)||void 0===i||i.call(n)}8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:e})=>ps(e))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;bg(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);this._injector.get(gg,[]).forEach(t=>t(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>bg(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new _n(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}}function bg(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function yg(e,t,n,i){if(!n&&!ps(e))return;Qd(e,t,n&&!i?0:1)}function wg(e){const t=Rs(),n=Os();if(Jf(t,n),!Sg(0,t))return;const i=t[9];Ml(0,zl(t,n),e(()=>Ag(0,t,n),i))}function Eg(e,t){if("undefined"!=typeof ngServerMode&&ngServerMode)return;const n=Rs(),i=n[9],r=Os(),s=ql(n[1],r);if(s.loadingState===kl.NOT_STARTED){Ml(1,zl(n,r),e(()=>Cg(s,n,r),i))}}function Tg(e,t,n){if("undefined"!=typeof ngServerMode&&ngServerMode)return;const i=t[9],r=zl(t,n),s=r[6];Ml(2,r,e(()=>Rg(i,s),i))}function Cg(e,t,n){Ig(e,t,n)}function Ig(e,t,n){const i=t[9],r=t[1];var s;if(e.loadingState!==kl.NOT_STARTED)return null!==(s=e.loadingPromise)&&void 0!==s?s:Promise.resolve();const o=zl(t,n),a=function(e,t){return rs(e,t.primaryTmplIndex+Mr)}(r,e);e.loadingState=kl.IN_PROGRESS,Pl(1,o);let l=e.dependencyResolverFn;const c=i.get(Ta).add();return l?(e.loadingPromise=Promise.allSettled(l()).then(n=>{let i=!1;const r=[],s=[];for(const e of n){if("fulfilled"!==e.status){i=!0;break}{const t=e.value,n=Yi(t)||Qi(t);if(n)r.push(n);else{const e=Zi(t);e&&s.push(e)}}}if(i){if(e.loadingState=kl.FAILED,null===e.errorTmplIndex){const e=new _n(-750,!1);ud(t,e)}}else{e.loadingState=kl.COMPLETE;const t=a.tView;if(r.length>0){t.directiveRegistry=Vl(t.directiveRegistry,r);const n=Ji(!1,...r.map(e=>e.type));e.providers=n}s.length>0&&(t.pipeRegistry=Vl(t.pipeRegistry,s))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=kl.COMPLETE,c()}),e.loadingPromise)}function Sg(e,t){if(0===e&&"undefined"!=typeof ngServerMode&&ngServerMode)return!1;const n=t[9].get($f,null,{optional:!0});return(null==n?void 0:n.behavior)!==Ll.Manual}function Ag(e,t,n){const i=t[1],r=t[n.index];if(!Sg(e,t))return;const s=zl(t,n),o=ql(i,n);switch(Fl(s),o.loadingState){case kl.NOT_STARTED:Yf(Ol.Loading,n,r),Ig(o,t,n),o.loadingState===kl.IN_PROGRESS&&eg(o,n,r);break;case kl.IN_PROGRESS:Yf(Ol.Loading,n,r),eg(o,n,r);break;case kl.COMPLETE:Yf(Ol.Complete,n,r);break;case kl.FAILED:Yf(Ol.Error,n,r)}}async function Rg(e,t,n){const i=e.get(oc);if(i.hydrating.has(t))return;const{parentBlockPromise:r,hydrationQueue:s}=function(e,t){const n=t.get(oc),i=t.get(fl).get("__nghDeferData__",{});let r=!1,s=e,o=null;const a=[];for(;!r&&s;){r=n.has(s);const e=n.hydrating.get(s);if(null===o&&null!=e){o=e.promise;break}a.unshift(s),s=i[s].p}return{parentBlockPromise:o,hydrationQueue:a}}(t,e);if(0===s.length)return;null!==r&&s.shift(),function(e,t){for(let n of t)e.hydrating.set(n,Promise.withResolvers())}(i,s),null!==r&&await r;const o=s[0];i.has(o)?await xg(e,s):i.awaitParentBlock(o,async()=>await xg(e,s))}async function xg(e,t,n){var i;const r=e.get(oc),s=r.hydrating,o=e.get(Ea),a=o.add();for(let n=0;n<t.length;n++){const i=t[n],o=r.get(i);if(null==o){kg(n,t,r),Og(t.slice(n),r);break}if(await Lg(o),await Ng(e),Dg(o)){Oh(o),Og(t.slice(n),r);break}s.get(i).resolve()}const l=t[t.length-1];await(null===(i=s.get(l))||void 0===i?void 0:i.promise),o.remove(a),Ph(r.get(l),t,r,e.get(vg))}function Dg(e){return zl(e.lView,e.tNode)[1]===Ol.Error}function kg(e,t,n){const i=e-1,r=i>-1?n.get(t[i]):null;r&&Lh(r.lContainer)}function Og(e,t){const n=t.hydrating;for(const t in e){var i;null===(i=n.get(t))||void 0===i||i.reject()}t.cleanup(e)}function Ng(e){return new Promise(t=>function(e,t){var n;(null==t||!t.injector)&&yr();const i=null!==(n=null==t?void 0:t.injector)&&void 0!==n?n:bi(fa);return"undefined"!=typeof ngServerMode&&ngServerMode?Dl:(El("NgAfterNextRender"),xl(e,i,t,!0))}(t,{injector:e}))}async function Lg(e){const{tNode:t,lView:n}=e,i=zl(n,t);return new Promise(e=>{!function(e,t){Array.isArray(e[8])||(e[8]=[]);e[8].push(t)}(i,e),Ag(2,n,t)})}function Mg(e,t,n){return 0===e?Pg(t,n):2===e?!Pg(t,n):!("undefined"!=typeof ngServerMode&&ngServerMode)}function Pg(e,t){const n=e[9],i=ql(e[1],t),r=function(e){return e.get(ml,!1,{optional:!0})}(n),s=null!==i.flags&&!(1&~i.flags);if("undefined"!=typeof ngServerMode&&ngServerMode)return!r||!s;const o=null!==zl(e,t)[6];return!(s&&o&&r)}function Fg(e,t){var n;const i=ql(e,t);return null!==(n=i.hydrateTriggers)&&void 0!==n?n:i.hydrateTriggers=new Map}function Hg(e,t,n,i,r,s,o,a,l,c){var u;const d=Rs(),h=xs(),p=e+Mr,f=Ff(d,h,e,null,0,0),g=d[9];if(h.firstCreatePass){El("NgDefer");const e={primaryTmplIndex:t,loadingTmplIndex:null!=i?i:null,placeholderTmplIndex:null!=r?r:null,errorTmplIndex:null!=s?s:null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:null!=n?n:null,loadingState:kl.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:null!=c?c:0};null==l||l(h,e,a,o),function(e,t,n){const i=Bl(t);e.data[i]=n}(h,p,e)}const _=d[p];let m=null,v=null;if((null===(u=_[6])||void 0===u?void 0:u.length)>0){var b;const e=_[6][0].data;v=null!==(b=e.di)&&void 0!==b?b:null,m=e.s}const y=[null,Nl.Initial,null,null,null,null,v,m,null,null];!function(e,t,n){e[1],e[Bl(t)]=n}(d,p,y);let w=null;null!==v&&(w=g.get(oc),w.add(v,{lView:d,tNode:f,lContainer:_}));const E=()=>{var e;(Fl(y),null!==v)&&(null===(e=w)||void 0===e||e.cleanup([v]))};Ml(0,y,()=>ms(d,E)),_s(d,E)}function Bg(e){const t=Rs(),n=lo();if(!Mg(0,t,n))return;if(Nf(t,Vs(),e)){const i=g(null);try{const i=Boolean(e),r=zl(t,n)[1];!1===i&&r===Nl.Initial?Jf(t,n):!0!==i||r!==Nl.Initial&&r!==Ol.Placeholder||Ag(0,t,n)}finally{g(i)}}}function zg(e){const t=Rs();if(!Mg(1,t,lo()))return;if(Nf(t,Vs(),e)){const n=g(null);try{const n=Boolean(e),i=t[1],r=lo(),s=ql(i,r);!0===n&&s.loadingState===kl.NOT_STARTED&&Cg(s,t,r)}finally{g(n)}}}function qg(e){const t=Rs(),n=lo();if(!Mg(2,t,n))return;const i=Vs();if(Fg(xs(),n).set(6,null),Nf(t,i,e))if("undefined"!=typeof ngServerMode&&ngServerMode)Ag(2,t,n);else{const i=t[9],r=g(null);try{if(!0===Boolean(e)){const e=zl(t,n)[6];Rg(i,e)}}finally{g(r)}}}function Ug(){const e=Rs(),t=Os();if(!Mg(2,e,t))return;Fg(xs(),t).set(7,null),"undefined"!=typeof ngServerMode&&ngServerMode&&Ag(2,e,t)}function jg(){Mg(0,Rs(),Os())&&wg(zf)}function Vg(){Mg(1,Rs(),Os())&&Eg(zf)}function Wg(){const e=Rs(),t=Os();if(!Mg(2,e,t))return;Fg(xs(),t).set(0,null),"undefined"!=typeof ngServerMode&&ngServerMode?Ag(2,e,t):Tg(zf,e,t)}function $g(){const e=Rs(),t=Os();if(!Mg(0,e,t))return;null===ql(e[1],t).loadingTmplIndex&&Jf(e,t),Ag(0,e,t)}function Gg(){const e=Rs(),t=Os();if(!Mg(1,e,t))return;const n=ql(e[1],t);n.loadingState===kl.NOT_STARTED&&Ig(n,e,t)}function Yg(){const e=Rs(),t=Os();if(!Mg(2,e,t))return;if(Fg(xs(),t).set(1,null),"undefined"!=typeof ngServerMode&&ngServerMode)Ag(2,e,t);else{Rg(e[9],zl(e,t)[6])}}function Qg(e){Mg(0,Rs(),Os())&&wg(Uf(e))}function Zg(e){Mg(1,Rs(),Os())&&Eg(Uf(e))}function Kg(e){const t=Rs(),n=Os();if(!Mg(2,t,n))return;Fg(xs(),n).set(5,{delay:e}),"undefined"!=typeof ngServerMode&&ngServerMode?Ag(2,t,n):Tg(Uf(e),t,n)}function Xg(e,t){const n=Rs(),i=Os();Mg(0,n,i)&&(Jf(n,i),"undefined"!=typeof ngServerMode&&ngServerMode||ic(n,i,e,t,tc,()=>Ag(0,n,i),0))}function Jg(e,t){const n=Rs(),i=Os();if(!Mg(1,n,i))return;const r=ql(n[1],i);r.loadingState===kl.NOT_STARTED&&ic(n,i,e,t,tc,()=>Cg(r,n,i),1)}function e_(){const e=Rs(),t=Os();if(!Mg(2,e,t))return;Fg(xs(),t).set(4,null),"undefined"!=typeof ngServerMode&&ngServerMode&&Ag(2,e,t)}function t_(e,t){const n=Rs(),i=Os();Mg(0,n,i)&&(Jf(n,i),"undefined"!=typeof ngServerMode&&ngServerMode||ic(n,i,e,t,ec,()=>Ag(0,n,i),0))}function n_(e,t){const n=Rs(),i=Os();if(!Mg(1,n,i))return;const r=ql(n[1],i);r.loadingState===kl.NOT_STARTED&&ic(n,i,e,t,ec,()=>Cg(r,n,i),1)}function i_(){const e=Rs(),t=Os();if(!Mg(2,e,t))return;Fg(xs(),t).set(3,null),"undefined"!=typeof ngServerMode&&ngServerMode&&Ag(2,e,t)}function r_(e,t){const n=Rs(),i=Os();Mg(0,n,i)&&(Jf(n,i),"undefined"!=typeof ngServerMode&&ngServerMode||ic(n,i,e,t,nc,()=>Ag(0,n,i),0))}function s_(e,t){const n=Rs(),i=Os();if(!Mg(1,n,i))return;const r=ql(n[1],i);r.loadingState===kl.NOT_STARTED&&ic(n,i,e,t,nc,()=>Cg(r,n,i),1)}function o_(){const e=Rs(),t=Os();if(!Mg(2,e,t))return;Fg(xs(),t).set(2,null),"undefined"!=typeof ngServerMode&&ngServerMode&&Ag(2,e,t)}function a_(e,t,n,i){const r=Rs();if(Nf(r,Vs(),t)){xs();od(lo(),r,e,t,n,i)}return a_}function l_(e,t){let n=!1,i=Us();for(let r=1;r<t.length;r+=2)n=Nf(e,i++,t[r])||n;if(js(i),!n)return Lu;let r=t[0];for(let e=1;e<t.length;e+=2)r+=ti(t[e])+t[e+1];return r}function c_(e,t,n,i){return Nf(e,Vs(),n)?t+ti(n)+i:Lu}function u_(e,t,n,i,r,s){const o=Lf(e,Us(),n,r);return Ws(2),o?t+ti(n)+i+ti(r)+s:Lu}function d_(e,t,n,i,r,s,o,a){const l=Mf(e,Us(),n,r,o);return Ws(3),l?t+ti(n)+i+ti(r)+s+ti(o)+a:Lu}function h_(e,t,n,i,r,s,o,a,l,c){const u=Pf(e,Us(),n,r,o,l);return Ws(4),u?t+ti(n)+i+ti(r)+s+ti(o)+a+ti(l)+c:Lu}function p_(e,t,n,i,r,s,o,a,l,c,u,d){const h=Us();let p=Pf(e,h,n,r,o,l);return p=Nf(e,h+4,u)||p,Ws(5),p?t+ti(n)+i+ti(r)+s+ti(o)+a+ti(l)+c+ti(u)+d:Lu}function f_(e,t,n,i,r,s,o,a,l,c,u,d,h,p){const f=Us();let g=Pf(e,f,n,r,o,l);return g=Lf(e,f+4,u,h)||g,Ws(6),g?t+ti(n)+i+ti(r)+s+ti(o)+a+ti(l)+c+ti(u)+d+ti(h)+p:Lu}function g_(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g){const _=Us();let m=Pf(e,_,n,r,o,l);return m=Mf(e,_+4,u,h,f)||m,Ws(7),m?t+ti(n)+i+ti(r)+s+ti(o)+a+ti(l)+c+ti(u)+d+ti(h)+p+ti(f)+g:Lu}function __(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_,m){const v=Us();let b=Pf(e,v,n,r,o,l);return b=Pf(e,v+4,u,h,f,_)||b,Ws(8),b?t+ti(n)+i+ti(r)+s+ti(o)+a+ti(l)+c+ti(u)+d+ti(h)+p+ti(f)+g+ti(_)+m:Lu}function m_(e,t,n,i,r,s){const o=Rs(),a=c_(o,t,n,i);if(a!==Lu){od(lo(),o,e,a,r,s)}return m_}function v_(e,t,n,i,r,s,o,a){const l=Rs(),c=u_(l,t,n,i,r,s);if(c!==Lu){od(lo(),l,e,c,o,a)}return v_}function b_(e,t,n,i,r,s,o,a,l,c){const u=Rs(),d=d_(u,t,n,i,r,s,o,a);if(d!==Lu){od(lo(),u,e,d,l,c)}return b_}function y_(e,t,n,i,r,s,o,a,l,c,u,d){const h=Rs(),p=h_(h,t,n,i,r,s,o,a,l,c);if(p!==Lu){od(lo(),h,e,p,u,d)}return y_}function w_(e,t,n,i,r,s,o,a,l,c,u,d,h,p){const f=Rs(),g=p_(f,t,n,i,r,s,o,a,l,c,u,d);if(g!==Lu){od(lo(),f,e,g,h,p)}return w_}function E_(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g){const _=Rs(),m=f_(_,t,n,i,r,s,o,a,l,c,u,d,h,p);if(m!==Lu){od(lo(),_,e,m,f,g)}return E_}function T_(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_,m){const v=Rs(),b=g_(v,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g);if(b!==Lu){od(lo(),v,e,b,_,m)}return T_}function C_(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_,m,v,b){const y=Rs(),w=__(y,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_,m);if(w!==Lu){od(lo(),y,e,w,v,b)}return C_}function I_(e,t,n,i){const r=Rs(),s=l_(r,t);if(s!==Lu){od(lo(),r,e,s,n,i)}return I_}function S_(e,t){return e<<17|t<<2}function A_(e){return e>>17&32767}function R_(e){return 2|e}function x_(e){return(131068&e)>>2}function D_(e,t){return-131069&e|t<<2}function k_(e){return 1|e}function O_(e,t,n,i,r,s){let o=s?t.classBindings:t.styleBindings,a=A_(o),l=x_(o);e[i]=n;let c,u=!1;if(Array.isArray(n)){const e=n;c=e[1],(null===c||zi(e,c)>0)&&(u=!0)}else c=n;if(r){if(0!==l){const t=A_(e[a+1]);e[i+1]=S_(t,a),0!==t&&(e[t+1]=D_(e[t+1],i)),e[a+1]=131071&e[a+1]|i<<17}else e[i+1]=S_(a,0),0!==a&&(e[a+1]=D_(e[a+1],i)),a=i}else e[i+1]=S_(l,0),0===a?a=i:e[l+1]=D_(e[l+1],i),l=i;u&&(e[i+1]=R_(e[i+1])),N_(e,c,i,!0),N_(e,c,i,!1),function(e,t,n,i,r){const s=r?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&zi(s,t)>=0&&(n[i+1]=k_(n[i+1]))}(t,c,e,i,s),o=S_(a,l),s?t.classBindings=o:t.styleBindings=o}function N_(e,t,n,i){const r=e[n+1],s=null===t;let o=i?A_(r):x_(r),a=!1;for(;0!==o&&(!1===a||s);){const n=e[o],r=e[o+1];L_(n,t)&&(a=!0,e[o+1]=i?k_(r):R_(r)),o=i?A_(r):x_(r)}a&&(e[n+1]=i?R_(r):k_(r))}function L_(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&zi(e,t)>=0}nn=vg,fn(vg,"ɵfac",function(e){return new(e||nn)}),fn(vg,"ɵprov",Fn({token:nn,factory:nn.ɵfac,providedIn:"root"}));const M_={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function P_(e){return e.substring(M_.key,M_.keyEnd)}function F_(e){return e.substring(M_.value,M_.valueEnd)}function H_(e,t){const n=M_.textEnd;return n===t?-1:(t=M_.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,M_.key=t,n),q_(e,t,n))}function B_(e,t){const n=M_.textEnd;let i=M_.key=q_(e,t,n);return n===i?-1:(i=M_.keyEnd=function(e,t,n){let i;for(;t<n&&(45===(i=e.charCodeAt(t))||95===i||(-33&i)>=65&&(-33&i)<=90||i>=48&&i<=57);)t++;return t}(e,i,n),i=U_(e,i,n),i=M_.value=q_(e,i,n),i=M_.valueEnd=function(e,t,n){let i=-1,r=-1,s=-1,o=t,a=o;for(;o<n;){const l=e.charCodeAt(o++);if(59===l)return a;34===l||39===l?a=o=j_(e,l,o,n):t===o-4&&85===s&&82===r&&76===i&&40===l?a=o=j_(e,41,o,n):l>32&&(a=o),s=r,r=i,i=-33&l}return a}(e,i,n),U_(e,i,n))}function z_(e){M_.key=0,M_.keyEnd=0,M_.value=0,M_.valueEnd=0,M_.textEnd=e.length}function q_(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function U_(e,t,n,i){return(t=q_(e,t,n))<n&&t++,t}function j_(e,t,n,i){let r=-1,s=n;for(;s<i;){const n=e.charCodeAt(s++);if(n==t&&92!==r)return s;r=92==n&&92===r?0:n}throw new Error}function V_(e,t,n){const i=Rs();if(Nf(i,Vs(),t)){id(xs(),lo(),i,e,t,i[11],n,!1)}return V_}function W_(e,t,n,i,r){dd(t,e,n,r?"class":"style",i)}function $_(e,t,n){return X_(e,t,n,!1),$_}function G_(e,t){return X_(e,t,null,!0),G_}function Y_(e){J_(rm,Q_,e,!1)}function Q_(e,t){for(let n=function(e){return z_(e),B_(e,q_(e,0,M_.textEnd))}(t);n>=0;n=B_(t,n))rm(e,P_(t),F_(t))}function Z_(e){J_(sm,K_,e,!0)}function K_(e,t){for(let n=function(e){return z_(e),H_(e,q_(e,0,M_.textEnd))}(t);n>=0;n=H_(t,n))Hi(e,P_(t),!0)}function X_(e,t,n,i){const r=Rs(),s=xs(),o=Ws(2);if(s.firstUpdatePass&&tm(s,e,o,i),t!==Lu&&Nf(r,o,t)){om(s,s.data[oo()],r,r[11],e,r[o+1]=function(e,t){null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=xn(Rc(e))));return e}(t,n),i,o)}}function J_(e,t,n,i){const r=xs(),s=Ws(2);r.firstUpdatePass&&tm(r,null,s,i);const o=Rs();if(n!==Lu&&Nf(o,s,n)){const a=r.data[oo()];if(cm(a,i)&&!em(r,s)){let e=i?a.classesWithoutHost:a.stylesWithoutHost;null!==e&&(n=Dn(e,n||"")),W_(r,a,o,n,i)}else!function(e,t,n,i,r,s,o,a){r===Lu&&(r=Ui);let l=0,c=0,u=0<r.length?r[0]:null,d=0<s.length?s[0]:null;for(;null!==u||null!==d;){const h=l<r.length?r[l+1]:void 0,p=c<s.length?s[c+1]:void 0;let f,g=null;u===d?(l+=2,c+=2,h!==p&&(g=d,f=p)):null===d||null!==u&&u<d?(l+=2,g=u):(c+=2,g=d,f=p),null!==g&&om(e,t,n,i,g,f,o,a),u=l<r.length?r[l]:null,d=c<s.length?s[c]:null}}(r,a,o,o[11],o[s+1],o[s+1]=function(e,t,n){if(null==n||""===n)return Ui;const i=[],r=Rc(n);if(Array.isArray(r))for(let t=0;t<r.length;t++)e(i,r[t],!0);else if("object"==typeof r)for(const t in r)r.hasOwnProperty(t)&&e(i,t,r[t]);else"string"==typeof r&&t(i,r);return i}(e,t,n),i,s)}}function em(e,t){return t>=e.expandoStartIndex}function tm(e,t,n,i){const r=e.data;if(null===r[n+1]){const s=r[oo()],o=em(e,n);cm(s,i)&&null===t&&!o&&(t=!1),t=function(e,t,n,i){const r=Qs(e);let s=i?t.residualClasses:t.residualStyles;if(null===r){0===(i?t.classBindings:t.styleBindings)&&(n=im(n=nm(null,e,t,n,i),t.attrs,i),s=null)}else{const o=t.directiveStylingLast;if(-1===o||e[o]!==r)if(n=nm(r,e,t,n,i),null===s){let n=function(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0===x_(i))return;return e[A_(i)]}(e,t,i);void 0!==n&&Array.isArray(n)&&(n=nm(null,e,t,n[1],i),n=im(n,t.attrs,i),function(e,t,n,i){const r=n?t.classBindings:t.styleBindings;e[A_(r)]=i}(e,t,i,n))}else s=function(e,t,n){let i;const r=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<r;s++){i=im(i,e[s].hostAttrs,n)}return im(i,t.attrs,n)}(e,t,i)}void 0!==s&&(i?t.residualClasses=s:t.residualStyles=s);return n}(r,s,t,i),O_(r,s,t,n,o,i)}}function nm(e,t,n,i,r){let s=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(s=t[a],i=im(i,s.hostAttrs,r),s!==e);)a++;return null!==e&&(n.directiveStylingLast=a),i}function im(e,t,n){const i=n?1:2;let r=-1;if(null!==t)for(let s=0;s<t.length;s++){const o=t[s];"number"==typeof o?r=o:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Hi(e,o,!!n||t[++s]))}return void 0===e?null:e}function rm(e,t,n){Hi(e,t,Rc(n))}function sm(e,t,n){const i=String(t);""===i||i.includes(" ")||Hi(e,i,n)}function om(e,t,n,i,r,s,o,a){if(!(3&t.type))return;const l=e.data,c=l[a+1];if(!lm(1&~c?void 0:am(l,t,n,r,x_(c),o))){lm(s)||function(e){return!(2&~e)}(c)&&(s=am(l,null,n,r,a,o));!function(e,t,n,i,r){if(t)r?e.addClass(n,i):e.removeClass(n,i);else{let t=-1===i.indexOf("-")?void 0:vd.DashCase;null==r?e.removeStyle(n,i,t):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),t|=vd.Important),e.setStyle(n,i,r,t))}}(i,o,ns(oo(),n),r,s)}}function am(e,t,n,i,r,s){const o=null===t;let a;for(;r>0;){const t=e[r],s=Array.isArray(t),l=s?t[1]:t,c=null===l;let u=n[r+1];u===Lu&&(u=c?Ui:void 0);let d=c?Bi(u,i):l===i?u:void 0;if(s&&!lm(d)&&(d=Bi(t,i)),lm(d)&&(a=d,o))return a;const h=e[r+1];r=o?A_(h):x_(h)}if(null!==t){let e=s?t.residualClasses:t.residualStyles;null!=e&&(a=Bi(e,i))}return a}function lm(e){return void 0!==e}function cm(e,t){return!!(e.flags&(t?8:16))}function um(e,t,n){J_(Hi,K_,c_(Rs(),e,t,n),!0)}function dm(e,t,n,i,r){J_(Hi,K_,u_(Rs(),e,t,n,i,r),!0)}function hm(e,t,n,i,r,s,o){J_(Hi,K_,d_(Rs(),e,t,n,i,r,s,o),!0)}function pm(e,t,n,i,r,s,o,a,l){J_(Hi,K_,h_(Rs(),e,t,n,i,r,s,o,a,l),!0)}function fm(e,t,n,i,r,s,o,a,l,c,u){J_(Hi,K_,p_(Rs(),e,t,n,i,r,s,o,a,l,c,u),!0)}function gm(e,t,n,i,r,s,o,a,l,c,u,d,h){J_(Hi,K_,f_(Rs(),e,t,n,i,r,s,o,a,l,c,u,d,h),!0)}function _m(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f){J_(Hi,K_,g_(Rs(),e,t,n,i,r,s,o,a,l,c,u,d,h,p,f),!0)}function mm(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_){J_(Hi,K_,__(Rs(),e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_),!0)}function vm(e){J_(Hi,K_,l_(Rs(),e),!0)}function bm(){return Rs()[15][8]}class ym{destroy(e){}updateValue(e,t){}swap(e,t){const n=Math.min(e,t),i=Math.max(e,t),r=this.detach(i);if(i-n>1){const e=this.detach(n);this.attach(n,r),this.attach(i,e)}else this.attach(n,r)}move(e,t){this.attach(t,this.detach(e))}}function wm(e,t,n,i,r){return e===n&&Object.is(t,i)?1:Object.is(r(e,t),r(n,i))?-1:0}function Em(e,t,n,i){return!(void 0===t||!t.has(i))&&(e.attach(n,t.get(i)),t.delete(i),!0)}function Tm(e,t,n,i,r){if(Em(e,t,i,n(i,r)))e.updateValue(i,r);else{const t=e.create(i,r);e.attach(i,t)}}function Cm(e,t,n,i){const r=new Set;for(let s=t;s<=n;s++)r.add(i(s,e.at(s)));return r}class Im{constructor(){fn(this,"kvMap",new Map),fn(this,"_vMap",void 0)}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;const t=this.kvMap.get(e);return void 0!==this._vMap&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let n=this.kvMap.get(e);void 0===this._vMap&&(this._vMap=new Map);const i=this._vMap;for(;i.has(n);)n=i.get(n);i.set(n,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,n]of this.kvMap)if(e(n,t),void 0!==this._vMap){const i=this._vMap;for(;i.has(n);)n=i.get(n),e(n,t)}}}function Sm(e,t){El("NgControlFlow");const n=Rs(),i=Vs(),r=n[i]!==Lu?n[i]:-1,s=-1!==r?Lm(n,Mr+r):void 0;if(Nf(n,i,e)){const i=g(null);try{if(void 0!==s&&oh(s,0),-1!==e){const i=Mr+e,r=Lm(n,i),s=Pm(n[1],i),o=(s.tView.ssrId,null);sh(r,fd(n,s,t,{dehydratedView:o}),0,gd(s,o))}}finally{g(i)}}else if(void 0!==s){const e=rh(s,0);void 0!==e&&(e[8]=t)}}class Am{constructor(e,t,n){fn(this,"lContainer",void 0),fn(this,"$implicit",void 0),fn(this,"$index",void 0),this.lContainer=e,this.$implicit=t,this.$index=n}get $count(){return this.lContainer.length-Pr}}function Rm(e){return e}function xm(e,t){return t}class Dm{constructor(e,t,n){fn(this,"hasEmptyBlock",void 0),fn(this,"trackByFn",void 0),fn(this,"liveCollection",void 0),this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=n}}function km(e,t,n,i,r,s,o,a,l,c,u,d,h){El("NgControlFlow");const p=Rs(),f=xs(),g=void 0!==l,_=Rs(),m=a?o.bind(_[15][8]):o,v=new Dm(g,m);_[Mr+e]=v,Ff(p,f,e+1,t,n,i,r,cs(f.consts,s)),g&&Ff(p,f,e+2,l,c,u,d,cs(f.consts,h))}class Om extends ym{constructor(e,t,n){super(),fn(this,"lContainer",void 0),fn(this,"hostLView",void 0),fn(this,"templateTNode",void 0),fn(this,"operationsCounter",void 0),fn(this,"needsIndexUpdate",!1),this.lContainer=e,this.hostLView=t,this.templateTNode=n}get length(){return this.lContainer.length-Pr}at(e){return this.getLView(e)[8].$implicit}attach(e,t){const n=t[6];this.needsIndexUpdate||(this.needsIndexUpdate=e!==this.length),sh(this.lContainer,t,e,gd(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||(this.needsIndexUpdate=e!==this.length-1),function(e,t){const n=ah(e,t);return n}(this.lContainer,e)}create(e,t){var n;const i=(this.lContainer,this.templateTNode.tView.ssrId,null),r=fd(this.hostLView,this.templateTNode,new Am(this.lContainer,t,e),{dehydratedView:i});return null===(n=this.operationsCounter)||void 0===n||n.recordCreate(),r}destroy(e){var t;Cd(e[1],e),null===(t=this.operationsCounter)||void 0===t||t.recordDestroy()}updateValue(e,t){this.getLView(e)[8].$implicit=t}reset(){var e;this.needsIndexUpdate=!1,null===(e=this.operationsCounter)||void 0===e||e.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[8].$index=e}getLView(e){return Mm(this.lContainer,e)}}function Nm(e){const t=g(null),n=oo();try{const t=Rs(),i=t[1],r=t[n],s=n+1,o=Lm(t,s);if(void 0===r.liveCollection){const e=Pm(i,s);r.liveCollection=new Om(o,t,e)}else r.liveCollection.reset();const a=r.liveCollection;if(function(e,t,n){var i;let r,s,o=0,a=e.length-1;if(Array.isArray(t)){let i=t.length-1;for(;o<=a&&o<=i;){const l=e.at(o),c=t[o],u=wm(o,l,o,c,n);if(0!==u){u<0&&e.updateValue(o,c),o++;continue}const d=e.at(a),h=t[i],p=wm(a,d,i,h,n);if(0!==p){p<0&&e.updateValue(a,h),a--,i--;continue}const f=n(o,l),g=n(a,d),_=n(o,c);if(Object.is(_,g)){const t=n(i,h);Object.is(t,f)?(e.swap(o,a),e.updateValue(a,h),i--,a--):e.move(a,o),e.updateValue(o,c),o++;continue}if(null!=r||(r=new Im),null!=s||(s=Cm(e,o,a,n)),Em(e,r,o,_))e.updateValue(o,c),o++,a++;else if(s.has(_))r.set(f,e.detach(o)),a--;else{const n=e.create(o,t[o]);e.attach(o,n),o++,a++}}for(;o<=i;)Tm(e,r,n,o,t[o]),o++}else if(null!=t){const i=t[Symbol.iterator]();let l=i.next();for(;!l.done&&o<=a;){const t=e.at(o),c=l.value,u=wm(o,t,o,c,n);if(0!==u)u<0&&e.updateValue(o,c),o++,l=i.next();else{null!=r||(r=new Im),null!=s||(s=Cm(e,o,a,n));const u=n(o,c);if(Em(e,r,o,u))e.updateValue(o,c),o++,a++,l=i.next();else if(s.has(u)){const i=n(o,t);r.set(i,e.detach(o)),a--}else e.attach(o,e.create(o,c)),o++,a++,l=i.next()}}for(;!l.done;)Tm(e,r,n,e.length,l.value),l=i.next()}for(;o<=a;)e.destroy(e.detach(a--));null===(i=r)||void 0===i||i.forEach(t=>{e.destroy(t)})}(a,e,r.trackByFn),a.updateIndexes(),r.hasEmptyBlock){const e=Vs(),r=0===a.length;if(Nf(t,e,r)){const e=n+2,s=Lm(t,e);if(r){const n=Pm(i,e),r=(n.tView.ssrId,null);sh(s,fd(t,n,void 0,{dehydratedView:r}),0,gd(n,r))}else oh(s,0)}}}finally{g(t)}}function Lm(e,t){return e[t]}function Mm(e,t){return rh(e,t)}function Pm(e,t){return rs(e,t)}function Fm(e,t,n,i){const r=Rs(),s=xs(),o=Mr+e,a=r[11],l=s.firstCreatePass?dp(o,s,r,t,sd,Cs(),n,i):s.data[o],c=zm(s,r,l,a,t);r[o]=c;const u=qr(l);return Ms(l,!0),ju(a,c,l),!bd(l)&&fo()&&Nd(s,r,c,l),(0===ws.lFrame.elementDepthCount||u)&&tl(c,r),ws.lFrame.elementDepthCount++,u&&(td(s,r,l),pc(s,l,r)),null!==i&&nd(r,l),Fm}function Hm(){let e=Os();Ps()?Fs():(e=e.parent,Ms(e,!1));const t=e;(function(e){return ws.skipHydrationRootTNode===e})(t)&&(ws.skipHydrationRootTNode=null),ws.lFrame.elementDepthCount--;const n=xs();return n.firstCreatePass&&hp(n,t),null!=t.classesWithoutHost&&function(e){return!!(8&e.flags)}(t)&&W_(n,t,Rs(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return!!(16&e.flags)}(t)&&W_(n,t,Rs(),t.stylesWithoutHost,!1),Hm}function Bm(e,t,n,i){return Fm(e,t,n,i),Hm(),Bm}let zm=(e,t,n,i,r,s)=>(go(!0),Hu(i,r,ws.lFrame.currentNamespace));function qm(e,t,n){const i=Rs(),r=xs(),s=e+Mr,o=r.firstCreatePass?function(e,t,n,i,r){const s=t.consts,o=cs(s,i),a=_h(t,e,8,"ng-container",o);null!==o&&Jh(a,o,!0);const l=cs(s,r);return Cs()&&np(t,n,a,l,sd),a.mergedAttrs=Ro(a.mergedAttrs,a.attrs),null!==t.queries&&t.queries.elementStart(t,a),a}(s,r,i,t,n):r.data[s];Ms(o,!0);const a=Vm(r,i);return i[s]=a,fo()&&Nd(r,i,a,o),tl(a,i),qr(o)&&(td(r,i,o),pc(r,o,i)),null!=n&&nd(i,o),qm}function Um(){let e=Os();const t=xs();return Ps()?Fs():(e=e.parent,Ms(e,!1)),t.firstCreatePass&&(_o(t,e),Br(e)&&t.queries.elementEnd(e)),Um}function jm(e,t,n){return qm(e,t,n),Um(),jm}let Vm=(e,t,n,i)=>(go(!0),Fu(t[11],""));function Wm(){return Rs()}function $m(e,t,n){const i=Rs();if(Nf(i,Vs(),t)){id(xs(),lo(),i,e,t,i[11],n,!0)}return $m}function Gm(e,t,n){const i=Rs();if(Nf(i,Vs(),t)){const r=xs(),s=lo();id(r,s,i,e,t,cd(Qs(r.data),s,i),n,!0)}return Gm}const Ym=void 0;var Qm=["en",[["a","p"],["AM","PM"],Ym],[["AM","PM"],Ym,Ym],[["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"]],Ym,[["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"]],Ym,[["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}",Ym,"{1} 'at' {0}",Ym],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){const t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let Zm={};function Km(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Jm(t);if(n)return n;const i=t.split("-")[0];if(n=Jm(i),n)return n;if("en"===i)return Qm;throw new _n(701,!1)}function Xm(e){return Km(e)[ev.PluralCase]}function Jm(e){return e in Zm||(Zm[e]=Sn.ng&&Sn.ng.common&&Sn.ng.common.locales&&Sn.ng.common.locales[e]),Zm[e]}var ev;!function(e){e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData"}(ev||(ev={}));const tv=["zero","one","two","few","many"];const nv="en-US",iv={marker:"element"},rv={marker:"ICU"};var sv;!function(e){e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT"}(sv||(sv={}));let ov=nv;let av=0,lv=0;let cv=(e,t,n,i)=>(go(!0),function(e,t,n){const i=e[11];switch(n){case Node.COMMENT_NODE:return Fu(i,t);case Node.TEXT_NODE:return Mu(i,t);case Node.ELEMENT_NODE:return Hu(i,t,null)}}(e,n,i));function uv(e,t,n,i){const r=n[11];let s,o=null;for(let a=0;a<t.length;a++){const l=t[a];if("string"==typeof l){const e=t[++a];null===n[e]&&(n[e]=cv(n,e,l,Node.TEXT_NODE))}else if("number"==typeof l)switch(1&l){case 0:const c=Sh(l);let u,d;if(null===o&&(o=c,s=r.parentNode(i)),c===o?(u=i,d=s):(u=null,d=ts(n[c])),null!==d){const t=Ah(l);Bu(r,d,n[t],u,!1);const i=Th(e,t);if(null!==i&&"object"==typeof i){const t=Ih(i,n);null!==t&&uv(e,i.create[t],n,n[i.anchorIdx])}}break;case 1:const h=l>>>1,p=t[++a],f=t[++a];ad(r,ns(h,n),null,null,p,f,null)}else switch(l){case rv:const e=t[++a],i=t[++a];if(null===n[i]){tl(n[i]=cv(n,i,e,Node.COMMENT_NODE),n)}break;case iv:const r=t[++a],s=t[++a];if(null===n[s]){tl(n[s]=cv(n,s,r,Node.ELEMENT_NODE),n)}}}}function dv(e,t,n,i,r){for(let s=0;s<n.length;s++){const o=n[s],a=n[++s];if(o&r){let r="";for(let o=s+1;o<=s+a;o++){const s=n[o];if("string"==typeof s)r+=s;else if("number"==typeof s)if(s<0)r+=ti(t[i-s]);else{const a=s>>>2;switch(3&s){case 1:const s=n[++o],l=n[++o],c=e.data[a];"string"==typeof c?ad(t[11],t[a],null,c,s,r,l):id(e,c,t,s,r,t[11],l,!1);break;case 0:const u=t[a];null!==u&&Pu(t[11],u,r);break;case 2:pv(e,Th(e,a),t,r);break;case 3:hv(e,Th(e,a),i,t)}}}}else{const r=n[s+1];if(r>0&&!(3&~r)){const n=Th(e,r>>>2);t[n.currentCaseLViewIndex]<0&&hv(e,n,i,t)}}s+=a}}function hv(e,t,n,i){let r=i[t.currentCaseLViewIndex];if(null!==r){let s=av;r<0&&(r=i[t.currentCaseLViewIndex]=~r,s=-1),dv(e,i,t.update[r],n,s)}}function pv(e,t,n,i){const r=function(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const i=function(e,t){const n=Xm(t)(parseInt(e,10)),i=tv[n];return void 0!==i?i:"other"}(t,ov);n=e.cases.indexOf(i),-1===n&&"other"!==i&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,i);if(Ih(t,n)!==r&&(fv(e,t,n),n[t.currentCaseLViewIndex]=null===r?null:~r,null!==r)){const i=n[t.anchorIdx];i&&uv(e,t.create[r],n,i),t.anchorIdx}}function fv(e,t,n){let i=Ih(t,n);if(null!==i){const r=t.remove[i];for(let t=0;t<r.length;t++){const i=r[t];if(i>0){const e=ns(i,n);null!==e&&Uu(n[11],e)}else fv(e,Th(e,~i),n)}}}const gv=/�(\d+):?\d*�/gi,_v=/({\s*�\d+:?\d*�\s*,\s*\S{6}\s*,[\s\S]*})/gi,mv=/�(\d+)�/,vv=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,bv="�",yv=/�\/?\*(\d+:\d+)�/gi,wv=/�(\/?[#*]\d+):?\d*�/gi,Ev=/\uE500/g;function Tv(e,t,n,i,r,s){const o=Ls(),a=[],l=[],c=[[]],u=[[]];r=function(e,t){if(function(e){return-1===e}(t))return xv(e);{const n=e.indexOf(`:${t}${bv}`)+2+t.toString().length,i=e.search(new RegExp(`${bv}\\/\\*\\d+:${t}${bv}`));return xv(e.substring(n,i))}}(r,s);const d=(h=r,h.replace(Ev," ")).split(wv);var h;for(let i=0;i<d.length;i++){let s=d[i];if(1&i){const t=47===s.charCodeAt(0),n=s.charCodeAt(t?1:0),i=Mr+Number.parseInt(s.substring(t?2:1));if(t)c.shift(),u.shift(),Ms(Ls(),!1);else{const t=Ch(e,c[0],i);c.unshift([]),Ms(t,!0);const r={kind:2,index:i,children:[],type:35===n?0:1};u[0].push(r),u.unshift(r.children)}}else{const i=Ov(s);for(let s=0;s<i.length;s++){let d=i[s];if(1&s){const i=d;if("object"!=typeof i)throw new Error(`Unable to parse ICU expression in "${r}" message.`);const s=Cv(e,o,c[0],n,a,"",!0).index;Dv(u[0],e,n,l,t,i,s)}else{const t=d;""!==t&&Iv(u[0],e,o,c[0],a,l,n,t)}}}}e.data[i]={create:a,update:l,ast:u[0],parentTNodeIndex:t}}function Cv(e,t,n,i,r,s,o){const a=Yu(e,i,1,null);let l=a<<sv.SHIFT,c=Ls();var u;t===c&&(c=null),null===c&&(l|=sv.APPEND_EAGERLY),o&&(l|=sv.COMMENT,u=Dh,void 0===_d&&(_d=u())),r.push(l,null===s?"":s);const d=mh(e,a,o?32:1,null===s?"":s,null);vh(n,d);const h=d.index;return Ms(d,!1),null!==c&&t!==c&&function(e,t){let n=e.insertBeforeIndex;null===n?(Od(fh,gh),n=e.insertBeforeIndex=[null,t]):(Mn(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(c,h),d}function Iv(e,t,n,i,r,s,o,a){const l=a.match(gv),c=Cv(t,n,i,o,r,l?null:a,!1).index;l&&Sv(s,a,c,null,0,null),e.push({kind:0,index:c})}function Sv(e,t,n,i,r,s){const o=e.length,a=o+1;e.push(null,null);const l=o+2,c=t.split(gv);let u=0;for(let t=0;t<c.length;t++){const n=c[t];if(1&t){const t=r+parseInt(n,10);e.push(-1-t),u|=Rv(t)}else""!==n&&e.push(n)}return e.push(n<<2|(i?1:0)),i&&e.push(i,s),e[o]=u,e[a]=e.length-l,u}function Av(e){let t=0;for(let n=0;n<e.length;n++){const i=e[n];"number"==typeof i&&i<0&&t++}return t}function Rv(e){return 1<<Math.min(e,31)}function xv(e){let t,n,i="",r=0,s=!1;for(;null!==(t=yv.exec(e));)s?t[0]===`${bv}/*${n}${bv}`&&(r=t.index,s=!1):(i+=e.substring(r,t.index+t[0].length),n=t[1],s=!0);return i+=e.slice(r),i}function Dv(e,t,n,i,r,s,o){let a=0;const l={type:s.type,currentCaseLViewIndex:Yu(t,n,1,null),anchorIdx:o,cases:[],create:[],remove:[],update:[]};!function(e,t,n){e.push(Rv(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}(i,s,o),function(e,t,n){const i=e.data[t];null===i?e.data[t]=n:i.value=n}(t,o,l);const c=s.values,u=[];for(let e=0;e<c.length;e++){const o=c[e],d=[];for(let e=0;e<o.length;e++){const t=o[e];if("string"!=typeof t){const n=d.push(t)-1;o[e]=`\x3c!--�${n}�--\x3e`}}const h=[];u.push(h),a=Nv(h,t,l,n,i,r,s.cases[e],o.join(""),d)|a}a&&function(e,t,n){e.push(t,1,n<<2|3)}(i,a,o),e.push({kind:3,index:o,cases:u,currentCaseLViewIndex:l.currentCaseLViewIndex})}function kv(e){const t=[],n=[];let i=1,r=0;const s=Ov(e=e.replace(vv,function(e,t,n){return i="select"===n?0:1,r=parseInt(t.slice(1),10),""}));for(let e=0;e<s.length;){let r=s[e++].trim();1===i&&(r=r.replace(/\s*(?:=)?(\w+)\s*/,"$1")),r.length&&t.push(r);const o=Ov(s[e++]);t.length>n.length&&n.push(o)}return{type:i,mainBinding:r,cases:t,values:n}}function Ov(e){if(!e)return[];let t=0;const n=[],i=[],r=/[{}]/g;let s;for(r.lastIndex=0;s=r.exec(e);){const r=s.index;if("}"==s[0]){if(n.pop(),0==n.length){const n=e.substring(t,r);vv.test(n)?i.push(kv(n)):i.push(n),t=r+1}}else{if(0==n.length){const n=e.substring(t,r);i.push(n),t=r+1}n.push("{")}}const o=e.substring(t);return i.push(o),i}function Nv(e,t,n,i,r,s,o,a,l){const c=[],u=[],d=[];n.cases.push(o),n.create.push(c),n.remove.push(u),n.update.push(d);const h=Dc(ol()).getInertBodyElement(a),p=su(h)||h;return p?Lv(e,t,n,i,r,c,u,d,p,s,l,0):0}function Lv(e,t,n,i,r,s,o,a,l,c,u,d){let h=0,p=l.firstChild;for(;p;){const l=Yu(t,i,1,null);switch(p.nodeType){case Node.ELEMENT_NODE:const f=p,g=f.tagName.toLowerCase();if(jc.hasOwnProperty(g)){Fv(s,iv,g,c,l),t.data[l]=g;const _=f.attributes;for(let e=0;e<_.length;e++){const t=_.item(e),n=t.name.toLowerCase();!!t.value.match(gv)?Gc.hasOwnProperty(n)&&(Vc[n]?Sv(a,t.value,l,t.name,0,Lc):Sv(a,t.value,l,t.name,0,null)):Hv(s,l,t)}const m={kind:1,index:l,children:[]};e.push(m),h=Lv(m.children,t,n,i,r,s,o,a,p,l,u,d+1)|h,Mv(o,l,d)}break;case Node.TEXT_NODE:const _=p.textContent||"",m=_.match(gv);Fv(s,null,m?"":_,c,l),Mv(o,l,d),m&&(h=Sv(a,_,l,null,0,null)|h),e.push({kind:0,index:l});break;case Node.COMMENT_NODE:const v=mv.exec(p.textContent||"");if(v){const n=u[parseInt(v[1],10)];Fv(s,rv,"",c,l),Dv(e,t,i,r,c,n,l),Pv(o,l,d)}}p=p.nextSibling}return h}function Mv(e,t,n){0===n&&e.push(t)}function Pv(e,t,n){0===n&&(e.push(~t),e.push(t))}function Fv(e,t,n,i,r){null!==t&&e.push(t),e.push(n,r,0|i<<17|r<<1)}function Hv(e,t,n){e.push(t<<1|1,n.name,n.value)}const Bv=/\[(�.+?�?)\]/,zv=/\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g,qv=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,Uv=/{([A-Z0-9_]+)}/g,jv=/�I18N_EXP_(ICU(_\d+)?)�/g,Vv=/\/\*/,Wv=/\d+\:(\d+)/;function $v(e,t,n=-1){const i=xs(),r=Rs(),s=Mr+e,o=cs(i.consts,t),a=Ls();if(i.firstCreatePass&&Tv(i,null===a?0:a.index,r,s,o,n),2===i.type){r[15][2]|=32}else r[2]|=32;const l=i.data[s],c=Ad(i,a===r[5]?null:a,r),u=a&&8&a.type?r[a.index]:null;!function(e,t,n,i){const r=e[11];for(let s=0;s<t.length;s++){const o=t[s++],a=t[s],l=(o&sv.COMMENT)===sv.COMMENT,c=(o&sv.APPEND_EAGERLY)===sv.APPEND_EAGERLY,u=o>>>sv.SHIFT;let d=e[u],h=!1;null===d&&(d=e[u]=cv(e,u,a,l?Node.COMMENT_NODE:Node.TEXT_NODE),h=fo()),c&&null!==n&&h&&Bu(r,n,d,i,!1)}}(r,l.create,c,u),$s(!0)}function Gv(){$s(!1)}function Yv(e,t,n){$v(e,t,n),Gv()}function Qv(e,t){const n=xs(),i=cs(n.consts,t);!function(e,t,n){const i=Os().index,r=[];if(e.firstCreatePass&&null===e.data[t]){for(let e=0;e<n.length;e+=2){const t=n[e],s=n[e+1];if(""!==s){if(_v.test(s))throw new Error(`ICU expressions are not supported in attributes. Message: "${s}".`);Sv(r,s,i,t,Av(r),null)}}e.data[t]=r}}(n,e+Mr,i)}function Zv(e){const t=Rs();return Nf(t,Vs(),e)&&(av|=1<<Math.min(lv,31)),lv++,Zv}function Kv(e){!function(e,t,n){if(lv>0){const i=e.data[n];dv(e,t,Array.isArray(i)?i:i.update,Us()-lv-1,av)}av=0,lv=0}(xs(),Rs(),e+Mr)}function Xv(e,t={}){return function(e,t={}){let n=e;if(Bv.test(e)){const e={},t=[0];n=n.replace(zv,(n,i,r)=>{const s=i||r,o=e[s]||[];if(o.length||(s.split("|").forEach(e=>{const t=e.match(Wv),n=t?parseInt(t[1],10):0,i=Vv.test(e);o.push([n,i,e])}),e[s]=o),!o.length)throw new Error(`i18n postprocess: unmatched placeholder - ${s}`);const a=t[t.length-1];let l=0;for(let e=0;e<o.length;e++)if(o[e][0]===a){l=e;break}const[c,u,d]=o[l];return u?t.pop():a!==c&&t.push(c),o.splice(l,1),d})}return Object.keys(t).length?(n=n.replace(qv,(e,n,i,r,s,o)=>t.hasOwnProperty(i)?`${n}${t[i]}${o}`:e),n=n.replace(Uv,(e,n)=>t.hasOwnProperty(n)?t[n]:e),n=n.replace(jv,(e,n)=>{if(t.hasOwnProperty(n)){const i=t[n];if(!i.length)throw new Error(`i18n postprocess: unmatched ICU - ${e} with key: ${n}`);return i.shift()}return e}),n):n}(e,t)}function Jv(e,t,n){return function i(r){if(r===Function)return n;nh(zr(e)?as(e.index,t):t,5);const s=t[8];let o=eb(t,s,n,r),a=i.__ngNextListenerFn__;for(;a;)o=eb(t,s,a,r)&&o,a=a.__ngNextListenerFn__;return o}}function eb(e,t,n,i){const r=g(null);try{return!1!==n(i)}catch(t){return function(e,t){const n=e[9],i=n?n.get(Ba,null):null;i&&i.handleError(t)}(e,t),!1}finally{g(r)}}function tb(e,t,n,i,r,s){const o=t[n],a=t[1],l=o[a.data[n].outputs[i]],c=a.firstCreatePass?ys(a):null,u=bs(t),d=l.subscribe(s),h=u.length;u.push(s,d),c&&c.push(r,e.index,h,-(h+1))}function nb(e,t,n,i){const r=Rs(),s=xs(),o=Os();return rb(s,r,r[11],o,e,t,i),nb}function ib(e,t){const n=Os(),i=Rs(),r=xs();return rb(r,i,cd(Qs(r.data),n,i),n,e,t),ib}function rb(e,t,n,i,r,s,o){const a=qr(i),l=e.firstCreatePass?ys(e):null,c=bs(t);let u=!0;if(3&i.type||o){const d=is(i,t),h=o?o(d):d,p=c.length,f=o?e=>o(ts(e[i.index])):i.index;let g=null;if(!o&&a&&(g=function(e,t,n,i){const r=e.cleanup;if(null!=r)for(let e=0;e<r.length-1;e+=2){const s=r[e];if(s===n&&r[e+1]===i){const n=t[7],i=r[e+2];return n.length>i?n[i]:null}"string"==typeof s&&(e+=2)}return null}(e,t,r,i.index)),null!==g){(g.__ngLastListenerFn__||g).__ngNextListenerFn__=s,g.__ngLastListenerFn__=s,u=!1}else{s=Jv(i,t,s);const e=n.listen(h,r,s);c.push(s,e),l&&l.push(r,f,p,p+1)}}else s=Jv(i,t,s);if(u){var d,h;const e=null===(d=i.outputs)||void 0===d?void 0:d[r],n=null===(h=i.hostDirectiveOutputs)||void 0===h?void 0:h[r];if(n&&n.length)for(let e=0;e<n.length;e+=2){const o=n[e],a=n[e+1];tb(i,t,o,a,r,s)}if(e&&e.length)for(const n of e)tb(i,t,n,r,r,s)}}function sb(e=1){return function(e){return(ws.lFrame.contextLView=hs(e,ws.lFrame.contextLView))[8]}(e)}function ob(e,t){let n=null;const i=function(e){const t=e.attrs;if(null!=t){const e=t.indexOf(5);if(!(1&e))return t[e+1]}return null}(e);for(let r=0;r<t.length;r++){const s=t[r];if("*"!==s){if(null===i?Du(e,s,!0):ku(i,s))return r}else n=r}return n}function ab(e){const t=Rs()[15][5];if(!t.projection){const n=e?e.length:1,i=t.projection=Mi(n,null),r=i.slice();let s=t.child;for(;null!==s;){if(128!==s.type){const t=e?ob(s,e):0;null!==t&&(r[t]?r[t].projectionNext=s:i[t]=s,r[t]=s)}s=s.next}}}function lb(e,t=0,n,i,r,s){const o=Rs(),a=xs(),l=i?e+1:null;null!==l&&Ff(o,a,l,i,r,s,null,n);const c=_h(a,Mr+e,16,null,n||null);null===c.projection&&(c.projection=t),Fs();const u=!o[6]||Is();null===o[15][5].projection[c.projection]&&null!==l?function(e,t,n){const i=Mr+n,r=t.data[i],s=e[i],o=(r.tView.ssrId,null),a=fd(e,r,void 0,{dehydratedView:o});sh(s,a,0,gd(r,o))}(o,a,l):u&&!bd(c)&&function(e,t,n){Bd(t[11],0,t,n,Sd(e,n,t),Rd(n.parent||t[5],n,t))}(a,o,c)}function cb(e,t,n){return ub(e,"",t,"",n),cb}function ub(e,t,n,i,r){const s=Rs(),o=c_(s,t,n,i);if(o!==Lu){id(xs(),lo(),s,e,o,s[11],r,!1)}return ub}function db(e,t,n,i,r,s,o){const a=Rs(),l=u_(a,t,n,i,r,s);if(l!==Lu){id(xs(),lo(),a,e,l,a[11],o,!1)}return db}function hb(e,t,n,i,r,s,o,a,l){const c=Rs(),u=d_(c,t,n,i,r,s,o,a);if(u!==Lu){id(xs(),lo(),c,e,u,c[11],l,!1)}return hb}function pb(e,t,n,i,r,s,o,a,l,c,u){const d=Rs(),h=h_(d,t,n,i,r,s,o,a,l,c);if(h!==Lu){id(xs(),lo(),d,e,h,d[11],u,!1)}return pb}function fb(e,t,n,i,r,s,o,a,l,c,u,d,h){const p=Rs(),f=p_(p,t,n,i,r,s,o,a,l,c,u,d);if(f!==Lu){id(xs(),lo(),p,e,f,p[11],h,!1)}return fb}function gb(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f){const g=Rs(),_=f_(g,t,n,i,r,s,o,a,l,c,u,d,h,p);if(_!==Lu){id(xs(),lo(),g,e,_,g[11],f,!1)}return gb}function _b(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_){const m=Rs(),v=g_(m,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g);if(v!==Lu){id(xs(),lo(),m,e,v,m[11],_,!1)}return _b}function mb(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_,m,v){const b=Rs(),y=__(b,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_,m);if(y!==Lu){id(xs(),lo(),b,e,y,b[11],v,!1)}return mb}function vb(e,t,n){const i=Rs(),r=l_(i,t);if(r!==Lu){id(xs(),lo(),i,e,r,i[11],n,!1)}return vb}function bb(e,t,n,i){Mp(e,t,n,i)}function yb(e,t,n){Lp(e,t,n)}function wb(e){const t=Rs(),n=xs(),i=Zs();Ks(i+1);const r=Fp(n,i);if(e.dirty&&!(4&~t[2])==!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const n=Hp(t,i);e.reset(n,ja),e.notifyOnChanges()}return!0}return!1}function Eb(){return Op(Rs(),Zs())}function Tb(e,t,n,i,r){Bp(t,Mp(e,n,i,r))}function Cb(e,t,n,i){Bp(e,Lp(t,n,i))}function Ib(e=1){Ks(Zs()+e)}function Sb(e){return ss(Hs(),Mr+e)}function Ab(e,t,n){Y_(c_(Rs(),e,t,n))}function Rb(e,t,n,i,r){Y_(u_(Rs(),e,t,n,i,r))}function xb(e,t,n,i,r,s,o){Y_(d_(Rs(),e,t,n,i,r,s,o))}function Db(e,t,n,i,r,s,o,a,l){Y_(h_(Rs(),e,t,n,i,r,s,o,a,l))}function kb(e,t,n,i,r,s,o,a,l,c,u){Y_(p_(Rs(),e,t,n,i,r,s,o,a,l,c,u))}function Ob(e,t,n,i,r,s,o,a,l,c,u,d,h){Y_(f_(Rs(),e,t,n,i,r,s,o,a,l,c,u,d,h))}function Nb(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f){Y_(g_(Rs(),e,t,n,i,r,s,o,a,l,c,u,d,h,p,f))}function Lb(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_){Y_(__(Rs(),e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_))}function Mb(e){Y_(l_(Rs(),e))}function Pb(e,t,n,i,r){return X_(e,c_(Rs(),t,n,i),r,!1),Pb}function Fb(e,t,n,i,r,s,o){return X_(e,u_(Rs(),t,n,i,r,s),o,!1),Fb}function Hb(e,t,n,i,r,s,o,a,l){return X_(e,d_(Rs(),t,n,i,r,s,o,a),l,!1),Hb}function Bb(e,t,n,i,r,s,o,a,l,c,u){return X_(e,h_(Rs(),t,n,i,r,s,o,a,l,c),u,!1),Bb}function zb(e,t,n,i,r,s,o,a,l,c,u,d,h){return X_(e,p_(Rs(),t,n,i,r,s,o,a,l,c,u,d),h,!1),zb}function qb(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f){return X_(e,f_(Rs(),t,n,i,r,s,o,a,l,c,u,d,h,p),f,!1),qb}function Ub(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_){return X_(e,g_(Rs(),t,n,i,r,s,o,a,l,c,u,d,h,p,f,g),_,!1),Ub}function jb(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_,m,v){return X_(e,__(Rs(),t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_,m),v,!1),jb}function Vb(e,t,n){return X_(e,l_(Rs(),t),n,!1),Vb}function Wb(e,t=""){const n=Rs(),i=xs(),r=e+Mr,s=i.firstCreatePass?_h(i,r,1,t,null):i.data[r],o=$b(i,n,s,t);n[r]=o,fo()&&Nd(i,n,o,s),Ms(s,!1)}let $b=(e,t,n,i,r)=>(go(!0),Mu(t[11],i));function Gb(e){return Yb("",e,""),Gb}function Yb(e,t,n){const i=Rs(),r=c_(i,e,t,n);return r!==Lu&&iy(i,oo(),r),Yb}function Qb(e,t,n,i,r){const s=Rs(),o=u_(s,e,t,n,i,r);return o!==Lu&&iy(s,oo(),o),Qb}function Zb(e,t,n,i,r,s,o){const a=Rs(),l=d_(a,e,t,n,i,r,s,o);return l!==Lu&&iy(a,oo(),l),Zb}function Kb(e,t,n,i,r,s,o,a,l){const c=Rs(),u=h_(c,e,t,n,i,r,s,o,a,l);return u!==Lu&&iy(c,oo(),u),Kb}function Xb(e,t,n,i,r,s,o,a,l,c,u){const d=Rs(),h=p_(d,e,t,n,i,r,s,o,a,l,c,u);return h!==Lu&&iy(d,oo(),h),Xb}function Jb(e,t,n,i,r,s,o,a,l,c,u,d,h){const p=Rs(),f=f_(p,e,t,n,i,r,s,o,a,l,c,u,d,h);return f!==Lu&&iy(p,oo(),f),Jb}function ey(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f){const g=Rs(),_=g_(g,e,t,n,i,r,s,o,a,l,c,u,d,h,p,f);return _!==Lu&&iy(g,oo(),_),ey}function ty(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_){const m=Rs(),v=__(m,e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_);return v!==Lu&&iy(m,oo(),v),ty}function ny(e){const t=Rs(),n=l_(t,e);return n!==Lu&&iy(t,oo(),n),ny}function iy(e,t,n){const i=ns(t,e);Pu(e[11],i,n)}function ry(e,t,n){$a(t)&&(t=t());const i=Rs();if(Nf(i,Vs(),t)){id(xs(),lo(),i,e,t,i[11],n,!1)}return ry}function sy(e,t){const n=$a(e);return n&&e.set(t),n}function oy(e,t){const n=Rs(),i=xs(),r=Os();return rb(i,n,n[11],r,e,t),oy}const ay={};function ly(e){const t=xs(),n=Rs(),i=e+Mr;return Ms(_h(t,i,128,null,null),!1),os(t,n,i,ay),ly}function cy(e){El("NgLet");return os(xs(),Rs(),oo(),e),e}function uy(e){const t=ss(Hs(),Mr+e);if(t===ay)throw new _n(314,!1);return t}function dy(e,t){const n=xs(),i=Rs(),r=i[11],s="data-ng-source-location";for(const[o,a,l,c]of t){rs(n,o+Mr);const t=ns(o+Mr,i);if(!t.hasAttribute(s)){const n=`${e}@o:${a},l:${l},c:${c}`;r.setAttribute(t,s,n)}}}function hy(e,t,n,i,r){if(e=Nn(e),Array.isArray(e))for(let s=0;s<e.length;s++)hy(e[s],t,n,i,r);else{const s=xs(),o=Rs(),a=Os();let l=sr(e)?e:Nn(e.provide);const c=fr(e),u=1048575&a.providerIndexes,d=a.directiveStart,h=a.providerIndexes>>20;if(sr(e)||!e.multi){const i=new Co(c,r,ep),p=gy(l,t,r?u:u+h,d);-1===p?(qo(Fo(a,o),s,l),py(s,e,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),n.push(i),o.push(i)):(n[p]=i,o[p]=i)}else{const p=gy(l,t,u+h,d),f=gy(l,t,u,u+h),g=p>=0&&n[p],_=f>=0&&n[f];if(r&&!_||!r&&!g){qo(Fo(a,o),s,l);const u=function(e,t,n,i,r){const s=new Co(e,n,ep);return s.multi=[],s.index=t,s.componentProviders=0,fy(s,r,i&&!n),s}(r?my:_y,n.length,r,i,c);!r&&_&&(n[f].providerFactory=u),py(s,e,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),n.push(u),o.push(u)}else{py(s,e,p>-1?p:f,fy(n[r?f:p],c,!r&&i))}!r&&i&&_&&n[f].componentProviders++}}}function py(e,t,n,i){const r=sr(t),s=!!t.useClass;if(r||s){const o=(s?Nn(t.useClass):t).prototype.ngOnDestroy;if(o){const s=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const e=s.indexOf(n);-1===e?s.push(n,[i,o]):s[e+1].push(i,o)}else s.push(n,o)}}}function fy(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function gy(e,t,n,i){for(let r=n;r<i;r++)if(t[r]===e)return r;return-1}function _y(e,t,n,i,r){return vy(this.multi,[])}function my(e,t,n,i,r){const s=this.multi;let o;if(this.providerFactory){const e=this.providerFactory.componentProviders,t=Yo(i,i[1],this.providerFactory.index,r);o=t.slice(0,e),vy(s,o);for(let n=e;n<t.length;n++)o.push(t[n])}else o=[],vy(s,o);return o}function vy(e,t){for(let n=0;n<e.length;n++){const i=e[n];t.push(i())}return t}function by(e,t=[]){return n=>{n.providersResolver=(n,i)=>function(e,t,n){const i=xs();if(i.firstCreatePass){const r=Ur(e);hy(n,i.data,i.blueprint,r,!0),hy(t,i.data,i.blueprint,r,!1)}}(n,i?i(e):e,t)}}function yy(e){return t=>{e.length<1||(t.getExternalStyles=n=>e.map(e=>e+"?ngcomp"+(n?"="+encodeURIComponent(n):"")+"&e="+t.encapsulation))}}function wy(e,t,n){const i=e.ɵcmp;i.directiveDefs=pf(t,!1),i.pipeDefs=pf(n,!0)}function Ey(e,t){return vn(()=>{const n=Gi(e,!0);n.declarations=Ty(t.declarations||Ui),n.imports=Ty(t.imports||Ui),n.exports=Ty(t.exports||Ui),t.bootstrap&&(n.bootstrap=Ty(t.bootstrap)),Zh.registerNgModule(e,t)})}function Ty(e){if("function"==typeof e)return e;const t=ki(e);return t.some(Ln)?()=>t.map(Nn).map(Cy):t.map(Cy)}function Cy(e){return jh(e)?e.ngModule:e}function Iy(e,t,n){const i=qs()+e,r=Rs();return r[i]===Lu?kf(r,i,n?t.call(n):t()):Of(r,i)}function Sy(e,t,n,i){return Py(Rs(),qs(),e,t,n,i)}function Ay(e,t,n,i,r){return Fy(Rs(),qs(),e,t,n,i,r)}function Ry(e,t,n,i,r,s){return Hy(Rs(),qs(),e,t,n,i,r,s)}function xy(e,t,n,i,r,s,o){return By(Rs(),qs(),e,t,n,i,r,s,o)}function Dy(e,t,n,i,r,s,o,a){const l=qs()+e,c=Rs(),u=Pf(c,l,n,i,r,s);return Nf(c,l+4,o)||u?kf(c,l+5,a?t.call(a,n,i,r,s,o):t(n,i,r,s,o)):Of(c,l+5)}function ky(e,t,n,i,r,s,o,a,l){const c=qs()+e,u=Rs(),d=Pf(u,c,n,i,r,s);return Lf(u,c+4,o,a)||d?kf(u,c+6,l?t.call(l,n,i,r,s,o,a):t(n,i,r,s,o,a)):Of(u,c+6)}function Oy(e,t,n,i,r,s,o,a,l,c){const u=qs()+e,d=Rs();let h=Pf(d,u,n,i,r,s);return Mf(d,u+4,o,a,l)||h?kf(d,u+7,c?t.call(c,n,i,r,s,o,a,l):t(n,i,r,s,o,a,l)):Of(d,u+7)}function Ny(e,t,n,i,r,s,o,a,l,c,u){const d=qs()+e,h=Rs(),p=Pf(h,d,n,i,r,s);return Pf(h,d+4,o,a,l,c)||p?kf(h,d+8,u?t.call(u,n,i,r,s,o,a,l,c):t(n,i,r,s,o,a,l,c)):Of(h,d+8)}function Ly(e,t,n,i){return zy(Rs(),qs(),e,t,n,i)}function My(e,t){const n=e[t];return n===Lu?void 0:n}function Py(e,t,n,i,r,s){const o=t+n;return Nf(e,o,r)?kf(e,o+1,s?i.call(s,r):i(r)):My(e,o+1)}function Fy(e,t,n,i,r,s,o){const a=t+n;return Lf(e,a,r,s)?kf(e,a+2,o?i.call(o,r,s):i(r,s)):My(e,a+2)}function Hy(e,t,n,i,r,s,o,a){const l=t+n;return Mf(e,l,r,s,o)?kf(e,l+3,a?i.call(a,r,s,o):i(r,s,o)):My(e,l+3)}function By(e,t,n,i,r,s,o,a,l){const c=t+n;return Pf(e,c,r,s,o,a)?kf(e,c+4,l?i.call(l,r,s,o,a):i(r,s,o,a)):My(e,c+4)}function zy(e,t,n,i,r,s){let o=t+n,a=!1;for(let t=0;t<r.length;t++)Nf(e,o++,r[t])&&(a=!0);return a?kf(e,o,i.apply(s,r)):My(e,o)}function qy(e,t){const n=xs();let i;const r=e+Mr;var s;n.firstCreatePass?(i=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}return}(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(null!==(s=n.destroyHooks)&&void 0!==s?s:n.destroyHooks=[]).push(r,i.onDestroy)):i=n.data[r];const o=i.factory||(i.factory=Di(i.type)),a=li(ep);try{const e=Lo(!1),t=o();return Lo(e),os(n,Rs(),r,t),t}finally{li(a)}}function Uy(e,t,n){const i=e+Mr,r=Rs(),s=ss(r,i);return Gy(r,i)?Py(r,qs(),t,s.transform,n,s):s.transform(n)}function jy(e,t,n,i){const r=e+Mr,s=Rs(),o=ss(s,r);return Gy(s,r)?Fy(s,qs(),t,o.transform,n,i,o):o.transform(n,i)}function Vy(e,t,n,i,r){const s=e+Mr,o=Rs(),a=ss(o,s);return Gy(o,s)?Hy(o,qs(),t,a.transform,n,i,r,a):a.transform(n,i,r)}function Wy(e,t,n,i,r,s){const o=e+Mr,a=Rs(),l=ss(a,o);return Gy(a,o)?By(a,qs(),t,l.transform,n,i,r,s,l):l.transform(n,i,r,s)}function $y(e,t,n){const i=e+Mr,r=Rs(),s=ss(r,i);return Gy(r,i)?zy(r,qs(),t,s.transform,n,s):s.transform.apply(s,n)}function Gy(e,t){return e[1].data[t].pure}function Yy(e,t){return ph(e,t)}function Qy(e,t){return()=>{try{return Zh.getComponentDependencies(e,t).dependencies}catch(t){throw console.error(`Computing dependencies in local compilation mode for the component "${e.name}" failed with the exception:`,t),t}}}function Zy(e,t){const n=Yi(e);null!==n&&(n.debugInfo=t)}function Ky(e,t,n){const i=`./@ng/component?c=${e}&t=${encodeURIComponent(t)}`;return new URL(i,n).href}function Xy(e,t,n,i,r=null,s=null){const o=Yi(e);t.apply(null,[e,n,...i]);const{newDef:a,oldDef:l}=function(e,t){const n=pn({},e),i=Object.assign(e,t,{directiveDefs:n.directiveDefs,pipeDefs:n.pipeDefs,setInput:n.setInput,type:n.type});return{newDef:i,oldDef:n}}(o,Yi(e));if(e[Yn]=a,l.tView){const e=Ka.values();for(const t of e)jr(t)&&null===t[3]&&Jy(r,s,a,l,t)}}function Jy(e,t,n,i,r){const s=r[1];if(s!==i.tView)for(let o=Mr;o<s.bindingStartIndex;o++){const s=r[o];if(Hr(s)){Fr(s[0])&&Jy(e,t,n,i,s[0]);for(let r=Pr;r<s.length;r++)Jy(e,t,n,i,s[r])}else Fr(s)&&Jy(e,t,n,i,s)}else!function(e,t,n,i,r){const s=r[8];let o=r[0];const a=r[3],l=r[5],c=r[9].get(ka,null),u=()=>{if(i.encapsulation===uc.ShadowDom){const e=o.cloneNode(!1);o.replaceWith(e),o=e}const e=Wu(n),t=$u(a,e,s,Gu(n),o,l,null,null,null,null,null);!function(e,t,n,i){for(let i=Mr;i<e[1].bindingStartIndex;i++){const r=e[i];if((Fr(r)||Hr(r))&&r[4]===t){r[4]=n;break}}e[12]===t&&(e[12]=n);e[13]===t&&(e[13]=n);n[4]=t[4],t[4]=null,e[i]=n}(a,r,t,l.index),Cd(r[1],r);const c=r[10].rendererFactory;var u,d,h;d=i,null===(h=(u=c).componentReplaced)||void 0===h||h.call(u,d.id),t[11]=c.createRenderer(o,n),wd(r[1],r),function(e){if(null!==e.projection){for(const t of e.projection)Io(t)&&(t.projectionNext=null,t.flags&=-3);e.projection=null}}(l),pd(e,t,s),Zd(e,t,e.template,s)};null===c?ew(e,t,u):c.run(()=>ew(e,t,u))}(e,t,n,i,r)}function ew(e,t,n){try{n()}catch(n){const s=n;if(null!==t&&s.message){var i,r;const n=s.message+(s.stack?"\n"+s.stack:"");null==e||null===(i=e.hot)||void 0===i||null===(r=i.send)||void 0===r||r.call(i,"angular:invalidate",{id:t,message:n,error:!0})}throw n}}const tw={"ɵɵattribute":a_,"ɵɵattributeInterpolate1":m_,"ɵɵattributeInterpolate2":v_,"ɵɵattributeInterpolate3":b_,"ɵɵattributeInterpolate4":y_,"ɵɵattributeInterpolate5":w_,"ɵɵattributeInterpolate6":E_,"ɵɵattributeInterpolate7":T_,"ɵɵattributeInterpolate8":C_,"ɵɵattributeInterpolateV":I_,"ɵɵdefineComponent":nf,"ɵɵdefineDirective":cf,"ɵɵdefineInjectable":Fn,"ɵɵdefineInjector":Hn,"ɵɵdefineNgModule":of,"ɵɵdefinePipe":uf,"ɵɵdirectiveInject":ep,"ɵɵgetInheritedFactory":Jo,"ɵɵinject":mi,"ɵɵinjectAttribute":na,"ɵɵinvalidFactory":tp,"ɵɵinvalidFactoryDep":vi,"ɵɵtemplateRefExtractor":Yy,"ɵɵresetView":ks,"ɵɵHostDirectivesFeature":Cf,"ɵɵNgOnChangesFeature":Gr,"ɵɵProvidersFeature":by,"ɵɵCopyDefinitionFeature":Tf,"ɵɵInheritDefinitionFeature":gf,"ɵɵExternalStylesFeature":yy,"ɵɵnextContext":sb,"ɵɵnamespaceHTML":ho,"ɵɵnamespaceMathML":uo,"ɵɵnamespaceSVG":co,"ɵɵenableBindings":Ss,"ɵɵdisableBindings":As,"ɵɵelementStart":Fm,"ɵɵelementEnd":Hm,"ɵɵelement":Bm,"ɵɵelementContainerStart":qm,"ɵɵelementContainerEnd":Um,"ɵɵelementContainer":jm,"ɵɵpureFunction0":Iy,"ɵɵpureFunction1":Sy,"ɵɵpureFunction2":Ay,"ɵɵpureFunction3":Ry,"ɵɵpureFunction4":xy,"ɵɵpureFunction5":Dy,"ɵɵpureFunction6":ky,"ɵɵpureFunction7":Oy,"ɵɵpureFunction8":Ny,"ɵɵpureFunctionV":Ly,"ɵɵgetCurrentView":Wm,"ɵɵrestoreView":Ds,"ɵɵlistener":nb,"ɵɵprojection":lb,"ɵɵsyntheticHostProperty":Gm,"ɵɵsyntheticHostListener":ib,"ɵɵpipeBind1":Uy,"ɵɵpipeBind2":jy,"ɵɵpipeBind3":Vy,"ɵɵpipeBind4":Wy,"ɵɵpipeBindV":$y,"ɵɵprojectionDef":ab,"ɵɵhostProperty":$m,"ɵɵproperty":V_,"ɵɵpropertyInterpolate":cb,"ɵɵpropertyInterpolate1":ub,"ɵɵpropertyInterpolate2":db,"ɵɵpropertyInterpolate3":hb,"ɵɵpropertyInterpolate4":pb,"ɵɵpropertyInterpolate5":fb,"ɵɵpropertyInterpolate6":gb,"ɵɵpropertyInterpolate7":_b,"ɵɵpropertyInterpolate8":mb,"ɵɵpropertyInterpolateV":vb,"ɵɵpipe":qy,"ɵɵqueryRefresh":wb,"ɵɵqueryAdvance":Ib,"ɵɵviewQuery":yb,"ɵɵviewQuerySignal":Cb,"ɵɵloadQuery":Eb,"ɵɵcontentQuery":bb,"ɵɵcontentQuerySignal":Tb,"ɵɵreference":Sb,"ɵɵclassMap":Z_,"ɵɵclassMapInterpolate1":um,"ɵɵclassMapInterpolate2":dm,"ɵɵclassMapInterpolate3":hm,"ɵɵclassMapInterpolate4":pm,"ɵɵclassMapInterpolate5":fm,"ɵɵclassMapInterpolate6":gm,"ɵɵclassMapInterpolate7":_m,"ɵɵclassMapInterpolate8":mm,"ɵɵclassMapInterpolateV":vm,"ɵɵstyleMap":Y_,"ɵɵstyleMapInterpolate1":Ab,"ɵɵstyleMapInterpolate2":Rb,"ɵɵstyleMapInterpolate3":xb,"ɵɵstyleMapInterpolate4":Db,"ɵɵstyleMapInterpolate5":kb,"ɵɵstyleMapInterpolate6":Ob,"ɵɵstyleMapInterpolate7":Nb,"ɵɵstyleMapInterpolate8":Lb,"ɵɵstyleMapInterpolateV":Mb,"ɵɵstyleProp":$_,"ɵɵstylePropInterpolate1":Pb,"ɵɵstylePropInterpolate2":Fb,"ɵɵstylePropInterpolate3":Hb,"ɵɵstylePropInterpolate4":Bb,"ɵɵstylePropInterpolate5":zb,"ɵɵstylePropInterpolate6":qb,"ɵɵstylePropInterpolate7":Ub,"ɵɵstylePropInterpolate8":jb,"ɵɵstylePropInterpolateV":Vb,"ɵɵclassProp":G_,"ɵɵadvance":Zu,"ɵɵtemplate":Hf,"ɵɵconditional":Sm,"ɵɵdefer":Hg,"ɵɵdeferWhen":Bg,"ɵɵdeferOnIdle":jg,"ɵɵdeferOnImmediate":$g,"ɵɵdeferOnTimer":Qg,"ɵɵdeferOnHover":Xg,"ɵɵdeferOnInteraction":t_,"ɵɵdeferOnViewport":r_,"ɵɵdeferPrefetchWhen":zg,"ɵɵdeferPrefetchOnIdle":Vg,"ɵɵdeferPrefetchOnImmediate":Gg,"ɵɵdeferPrefetchOnTimer":Zg,"ɵɵdeferPrefetchOnHover":Jg,"ɵɵdeferPrefetchOnInteraction":n_,"ɵɵdeferPrefetchOnViewport":s_,"ɵɵdeferHydrateWhen":qg,"ɵɵdeferHydrateNever":Ug,"ɵɵdeferHydrateOnIdle":Wg,"ɵɵdeferHydrateOnImmediate":Yg,"ɵɵdeferHydrateOnTimer":Kg,"ɵɵdeferHydrateOnHover":e_,"ɵɵdeferHydrateOnInteraction":i_,"ɵɵdeferHydrateOnViewport":o_,"ɵɵdeferEnableTimerScheduling":ng,"ɵɵrepeater":Nm,"ɵɵrepeaterCreate":km,"ɵɵrepeaterTrackByIndex":Rm,"ɵɵrepeaterTrackByIdentity":xm,"ɵɵcomponentInstance":bm,"ɵɵtext":Wb,"ɵɵtextInterpolate":Gb,"ɵɵtextInterpolate1":Yb,"ɵɵtextInterpolate2":Qb,"ɵɵtextInterpolate3":Zb,"ɵɵtextInterpolate4":Kb,"ɵɵtextInterpolate5":Xb,"ɵɵtextInterpolate6":Jb,"ɵɵtextInterpolate7":ey,"ɵɵtextInterpolate8":ty,"ɵɵtextInterpolateV":ny,"ɵɵi18n":Yv,"ɵɵi18nAttributes":Qv,"ɵɵi18nExp":Zv,"ɵɵi18nStart":$v,"ɵɵi18nEnd":Gv,"ɵɵi18nApply":Kv,"ɵɵi18nPostprocess":Xv,"ɵɵresolveWindow":vu,"ɵɵresolveDocument":bu,"ɵɵresolveBody":yu,"ɵɵsetComponentScope":wy,"ɵɵsetNgModuleScope":Ey,"ɵɵregisterNgModuleType":$p,"ɵɵgetComponentDepsFactory":Qy,"ɵsetClassDebugInfo":Zy,"ɵɵdeclareLet":ly,"ɵɵstoreLet":cy,"ɵɵreadContextLet":uy,"ɵɵattachSourceLocations":dy,"ɵɵsanitizeHtml":au,"ɵɵsanitizeStyle":lu,"ɵɵsanitizeResourceUrl":uu,"ɵɵsanitizeScript":du,"ɵɵsanitizeUrl":cu,"ɵɵsanitizeUrlOrResourceUrl":fu,"ɵɵtrustConstantHtml":hu,"ɵɵtrustConstantResourceUrl":pu,"ɵɵvalidateIframeAttribute":Gp,forwardRef:On,resolveForwardRef:Nn,"ɵɵtwoWayProperty":ry,"ɵɵtwoWayBindingSet":sy,"ɵɵtwoWayListener":oy,"ɵɵreplaceMetadata":Xy,"ɵɵgetReplaceMetadataURL":Ky};let nw=null;const iw=[];let rw=!1;function sw(e){return Array.isArray(e)?e.every(sw):!!Nn(e)}function ow(e,t={}){!function(e,t){const n=ki(t.declarations||Ui);let i=null;Object.defineProperty(e,Kn,{configurable:!0,get:()=>{if(null===i){const r=Cr();i=r.compileNgModule(tw,`ng:///${e.name}/ɵmod.js`,{type:e,bootstrap:ki(t.bootstrap||Ui).map(Nn),declarations:n.map(Nn),imports:ki(t.imports||Ui).map(Nn).map(uw),exports:ki(t.exports||Ui).map(Nn).map(uw),schemas:t.schemas?ki(t.schemas):null,id:t.id||null}),i.schemas||(i.schemas=[])}return i}});let r=null;Object.defineProperty(e,Xn,{get:()=>{if(null===r){const t=Cr();r=t.compileFactory(tw,`ng:///${e.name}/ɵfac.js`,{name:e.name,type:e,deps:oa(e),target:t.FactoryTarget.NgModule,typeArgumentCount:0})}return r},configurable:!1});let s=null;Object.defineProperty(e,jn,{get:()=>{if(null===s){const n={name:e.name,type:e,providers:t.providers||Ui,imports:[(t.imports||Ui).map(Nn),(t.exports||Ui).map(Nn)]},i=Cr();s=i.compileInjector(tw,`ng:///${e.name}/ɵinj.js`,n)}return s},configurable:!1})}(e,t),void 0!==t.id&&$p(e,t.id),function(e,t){iw.push({moduleType:e,ngModule:t})}(e,t)}function aw(e,t){const n=ki(t.declarations||Ui),i=cw(e);n.forEach(t=>{if((t=Nn(t)).hasOwnProperty(Yn)){lw(Yi(t),i)}else t.hasOwnProperty(Qn)||t.hasOwnProperty(Zn)||(t.ngSelectorScope=e)})}function lw(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(e=>e.hasOwnProperty(Yn)?Yi(e):Qi(e)).filter(e=>!!e),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(e=>Zi(e)),e.schemas=t.schemas,e.tView=null}function cw(e){if(Vh(e)){const t=Zh.getNgModuleScope(e);return pn({schemas:Gi(e,!0).schemas||null},t)}if(Ki(e)){if(null!==(Yi(e)||Qi(e)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([e]),pipes:new Set}};if(null!==Zi(e))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([e])}}}throw new Error(`${e.name} does not have a module def (ɵmod property)`)}function uw(e){return jh(e)?e.ngModule:e}let dw=0;function hw(e,t){let n=null;!function(e,t){Vp(t)&&(Up.set(e,t),jp.add(e))}(e,t),gw(e,t),Object.defineProperty(e,Yn,{get:()=>{if(null===n){const i=Cr();if(Vp(t)){const n=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&n.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&n.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),t.styleUrl&&n.push(` - styleUrl: ${t.styleUrl}`),n.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(n.join("\n"))}const r=nw;let s=t.preserveWhitespaces;void 0===s&&(s=null!==r&&void 0!==r.preserveWhitespaces&&r.preserveWhitespaces);let o=t.encapsulation;void 0===o&&(o=null!==r&&void 0!==r.defaultEncapsulation?r.defaultEncapsulation:uc.Emulated);const a=t.templateUrl||`ng:///${e.name}/template.html`,l=pn(pn({},mw(e,t)),{},{typeSourceSpan:i.createParseSourceSpan("Component",e.name,a),template:t.template||"",preserveWhitespaces:s,styles:"string"==typeof t.styles?[t.styles]:t.styles||Ui,animations:t.animations,declarations:[],changeDetection:t.changeDetection,encapsulation:o,interpolation:t.interpolation,viewProviders:t.viewProviders||null});dw++;try{if(l.usesInheritance&&vw(e),n=i.compileComponent(tw,a,l),l.isStandalone){const i=ki(t.imports||Ui),{directiveDefs:r,pipeDefs:s}=function(e,t){const n=()=>{if(!Gh(e))return[];return[...Zh.getStandaloneComponentScope(e,t).compilation.directives].map(e=>Yi(e)||Qi(e)).filter(e=>null!==e)},i=()=>{if(!Gh(e))return[];return[...Zh.getStandaloneComponentScope(e,t).compilation.pipes].map(e=>Zi(e)).filter(e=>null!==e)};return{directiveDefs:n,pipeDefs:i}}(e,i);n.directiveDefs=r,n.pipeDefs=s,n.dependencies=()=>i.map(Nn)}}finally{dw--}if(0===dw&&function(){if(!rw){rw=!0;try{for(let e=iw.length-1;e>=0;e--){const{moduleType:t,ngModule:n}=iw[e];n.declarations&&n.declarations.every(sw)&&(iw.splice(e,1),aw(t,n))}}finally{rw=!1}}}(),void 0!==e.ngSelectorScope){const t=cw(e.ngSelectorScope);lw(n,t)}if(t.schemas){if(!l.isStandalone)throw new Error(`The 'schemas' was specified for the ${ni(e)} but is only valid on a component that is standalone.`);n.schemas=t.schemas}else l.isStandalone&&(n.schemas=[])}return n},set:e=>{n=e},configurable:!1})}function pw(e,t){let n=null;gw(e,t||{}),Object.defineProperty(e,Qn,{get:()=>{if(null===n){const i=fw(e,t||{}),r=Cr();n=r.compileDirective(tw,i.sourceMapUrl,i.metadata)}return n},configurable:!1})}function fw(e,t){const n=e&&e.name,i=`ng:///${n}/ɵdir.js`,r=Cr(),s=mw(e,t);return s.typeSourceSpan=r.createParseSourceSpan("Directive",n,i),s.usesInheritance&&vw(e),{metadata:s,sourceMapUrl:i}}function gw(e,t){let n=null;Object.defineProperty(e,Xn,{get:()=>{if(null===n){const i=fw(e,t),r=Cr();n=r.compileFactory(tw,`ng:///${e.name}/ɵfac.js`,{name:i.metadata.name,type:i.metadata.type,typeArgumentCount:0,deps:oa(e),target:r.FactoryTarget.Directive})}return n},configurable:!1})}function _w(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function mw(e,t){var n;const i=sa(),r=i.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||qi,propMetadata:r,inputs:t.inputs||Ui,outputs:t.outputs||Ui,queries:yw(e,r,ww),lifecycle:{usesOnChanges:i.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!_w(e),exportAs:(s=t.exportAs,void 0===s?null:Cw(s)),providers:t.providers||null,viewQueries:yw(e,r,Ew),isStandalone:void 0===t.standalone||!!t.standalone,isSignal:!!t.signals,hostDirectives:(null===(n=t.hostDirectives)||void 0===n?void 0:n.map(e=>"function"==typeof e?{directive:e}:e))||null};var s}function vw(e){const t=Object.prototype;let n=Object.getPrototypeOf(e.prototype).constructor;for(;n&&n!==t;)Qi(n)||Yi(n)||!Sw(n)||pw(n,null),n=Object.getPrototypeOf(n)}function bw(e,t){return{propertyName:e,predicate:(n=t.selector,"string"==typeof n?Cw(n):Nn(n)),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly,isSignal:!!t.isSignal};var n}function yw(e,t,n){const i=[];for(const r in t)if(t.hasOwnProperty(r)){const s=t[r];s.forEach(t=>{if(n(t)){if(!t.selector)throw new Error(`Can't construct a query for the property "${r}" of "${ni(e)}" since the query selector wasn't defined.`);if(s.some(Tw))throw new Error("Cannot combine @Input decorators with query decorators");i.push(bw(r,t))}})}return i}function ww(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function Ew(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function Tw(e){return"Input"===e.ngMetadataName}function Cw(e){return e.split(",").map(e=>e.trim())}const Iw=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function Sw(e){const t=sa();if(Iw.some(n=>t.hasLifecycleHook(e,n)))return!0;const n=t.propMetadata(e);for(const e in n){const t=n[e];for(let e=0;e<t.length;e++){const n=t[e],i=n.ngMetadataName;if(Tw(n)||ww(n)||Ew(n)||"Output"===i||"HostBinding"===i||"HostListener"===i)return!0}}return!1}function Aw(e,t){return{type:e,name:e.name,pipeName:t.name,pure:void 0===t.pure||t.pure,isStandalone:void 0===t.standalone||!!t.standalone}}const Rw=En("Directive",(e={})=>e,void 0,0,(e,t)=>pw(e,t));En("Component",(e={})=>pn({changeDetection:Za.Default},e),Rw,0,(e,t)=>hw(e,t));En("Pipe",e=>pn({pure:!0},e),void 0,0,(e,t)=>function(e,t){let n=null,i=null;Object.defineProperty(e,Xn,{get:()=>{if(null===i){const n=Aw(e,t),r=Cr(n.type);i=r.compileFactory(tw,`ng:///${n.name}/ɵfac.js`,{name:n.name,type:n.type,typeArgumentCount:0,deps:oa(e),target:r.FactoryTarget.Pipe})}return i},configurable:!1}),Object.defineProperty(e,Zn,{get:()=>{if(null===n){const i=Aw(e,t),r=Cr(i.type);n=r.compilePipe(tw,`ng:///${i.name}/ɵpipe.js`,i)}return n},configurable:!1})}(e,t)),In("Input",e=>e?"string"==typeof e?{alias:e}:e:{});In("Output",e=>({alias:e})),In("HostBinding",e=>({hostPropertyName:e})),In("HostListener",(e,t)=>({eventName:e,args:t}));En("NgModule",e=>e,void 0,0,(e,t)=>ow(e,t));class xw{constructor(e){fn(this,"full",void 0),fn(this,"major",void 0),fn(this,"minor",void 0),fn(this,"patch",void 0),this.full=e;const t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}}new xw("19.2.14");class Dw{constructor(e,t){fn(this,"ngModuleFactory",void 0),fn(this,"componentFactories",void 0),this.ngModuleFactory=e,this.componentFactories=t}}class kw{compileModuleSync(e){return new Xp(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const t=this.compileModuleSync(e),n=wu(Gi(e).declarations).reduce((e,t)=>{const n=Yi(t);return n&&e.push(new fp(n)),e},[]);return new Dw(t,n)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}rn=kw,fn(kw,"ɵfac",function(e){return new(e||rn)}),fn(kw,"ɵprov",Fn({token:rn,factory:rn.ɵfac,providedIn:"root"}));new $n("");function Ow(e,t,n){const i=new Xp(n);return Promise.resolve(i)}class Nw{constructor(){fn(this,"zone",bi(ka)),fn(this,"changeDetectionScheduler",bi(va)),fn(this,"applicationRef",bi(vg)),fn(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 e;null===(e=this._onMicrotaskEmptySubscription)||void 0===e||e.unsubscribe()}}function Lw({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return null!=e||(e=()=>new ka(pn(pn({},Mw()),{},{scheduleInRootZone:n}))),[{provide:ka,useFactory:e},{provide:ji,multi:!0,useFactory:()=>{const e=bi(Nw,{optional:!0});return()=>e.initialize()}},{provide:ji,multi:!0,useFactory:()=>{const e=bi(Pw);return()=>{e.initialize()}}},!0===t?{provide:ya,useValue:!0}:[],{provide:wa,useValue:null!=n?n:ga}]}function Mw(e){var t,n;return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:null!==(t=null==e?void 0:e.eventCoalescing)&&void 0!==t&&t,shouldCoalesceRunChangeDetection:null!==(n=null==e?void 0:e.runCoalescing)&&void 0!==n&&n}}sn=Nw,fn(Nw,"ɵfac",function(e){return new(e||sn)}),fn(Nw,"ɵprov",Fn({token:sn,factory:sn.ɵfac,providedIn:"root"})),new $n("",{factory:()=>!1});class Pw{constructor(){fn(this,"subscription",new ce),fn(this,"initialized",!1),fn(this,"zone",bi(ka)),fn(this,"pendingTasks",bi(Ea))}initialize(){if(this.initialized)return;this.initialized=!0;let e=null;this.zone.isStable||this.zone.hasPendingMacrotasks||this.zone.hasPendingMicrotasks||(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ka.assertNotInAngularZone(),queueMicrotask(()=>{null===e||this.zone.hasPendingMacrotasks||this.zone.hasPendingMicrotasks||(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ka.assertInAngularZone(),null!=e||(e=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}}on=Pw,fn(Pw,"ɵfac",function(e){return new(e||on)}),fn(Pw,"ɵprov",Fn({token:on,factory:on.ɵfac,providedIn:"root"}));class Fw{constructor(){var e,t,n;fn(this,"appRef",bi(vg)),fn(this,"taskService",bi(Ea)),fn(this,"ngZone",bi(ka)),fn(this,"zonelessEnabled",bi(ba)),fn(this,"tracing",bi(yl,{optional:!0})),fn(this,"disableScheduling",null!==(e=bi(ya,{optional:!0}))&&void 0!==e&&e),fn(this,"zoneIsDefined","undefined"!=typeof Zone&&!!Zone.root.run),fn(this,"schedulerTickApplyArgs",[{data:{__scheduler_tick__:!0}}]),fn(this,"subscriptions",new ce),fn(this,"angularZoneId",this.zoneIsDefined?null===(t=this.ngZone._inner)||void 0===t?void 0:t.get(xa):null),fn(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&null!==(n=bi(wa,{optional:!0}))&&void 0!==n&&n),fn(this,"cancelScheduledCallback",null),fn(this,"useMicrotaskScheduler",!1),fn(this,"runningTick",!1),fn(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 Fa||!this.zoneIsDefined))}notify(e){var t,n;if(!this.zonelessEnabled&&5===e)return;let i=!1;switch(e){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:case 13:this.appRef.dirtyFlags|=2,i=!0;break;case 12:this.appRef.dirtyFlags|=16,i=!0;break;case 11:i=!0;break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=null!==(t=null===(n=this.tracing)||void 0===n?void 0:n.snapshot(this.appRef.tracingSnapshot))&&void 0!==t?t:null,!this.shouldScheduleTick(i))return;const r=this.useMicrotaskScheduler?Aa:Sa;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(e){return!(this.disableScheduling&&!e||this.appRef.destroyed)&&(null===this.pendingRenderTaskId&&!this.runningTick&&!this.appRef._runningTick&&!(!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(xa+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 e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(t){throw this.taskService.remove(e),t}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Aa(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var e;if(this.runningTick=!1,null===(e=this.cancelScheduledCallback)||void 0===e||e.call(this),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}}an=Fw,fn(Fw,"ɵfac",function(e){return new(e||an)}),fn(Fw,"ɵprov",Fn({token:an,factory:an.ɵfac,providedIn:"root"}));const Hw=new $n("",{providedIn:"root",factory:()=>bi(Hw,si.Optional|si.SkipSelf)||"undefined"!=typeof $localize&&$localize.locale||nv}),Bw=new $n("",{providedIn:"root",factory:()=>"USD"});var zw;new $n(""),new $n(""),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(zw||(zw={}));class qw{constructor(){fn(this,"window",null),fn(this,"observer",null),fn(this,"options",bi(pl)),fn(this,"lcpImageUrl",void 0)}start(){var e,t;if("undefined"!=typeof ngServerMode&&ngServerMode||"undefined"==typeof PerformanceObserver||null!==(e=this.options)&&void 0!==e&&e.disableImageSizeWarning&&null!==(t=this.options)&&void 0!==t&&t.disableImageLazyLoadWarning)return;this.observer=this.initPerformanceObserver();const n=ol(),i=n.defaultView;if(i){this.window=i;const e=()=>{setTimeout(this.scanImages.bind(this),200)},t=()=>{var t;"complete"===n.readyState?e():null===(t=this.window)||void 0===t||t.addEventListener("load",e,{once:!0})};"undefined"!=typeof Zone?Zone.root.run(()=>t()):t()}}ngOnDestroy(){var e;null===(e=this.observer)||void 0===e||e.disconnect()}initPerformanceObserver(){if("undefined"==typeof PerformanceObserver)return null;const e=new PerformanceObserver(e=>{var t,n;const i=e.getEntries();if(0===i.length)return;const r=null!==(t=null===(n=i[i.length-1].element)||void 0===n?void 0:n.src)&&void 0!==t?t:"";r.startsWith("data:")||r.startsWith("blob:")||(this.lcpImageUrl=r)});return e.observe({type:"largest-contentful-paint",buffered:!0}),e}scanImages(){var e;const t=ol().querySelectorAll("img");let n,i=!1;var r;t.forEach(e=>{var t,r,s;null!==(t=this.options)&&void 0!==t&&t.disableImageSizeWarning||!e.getAttribute("ng-img")&&this.isOversized(e)&&(s=e.src,console.warn(mn(-913,`An image with src ${s} 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!==(r=this.options)&&void 0!==r&&r.disableImageLazyLoadWarning||!this.lcpImageUrl||e.src===this.lcpImageUrl&&(n=!0,("lazy"!==e.loading||e.getAttribute("ng-img"))&&(i=!0))}),!n||i||!this.lcpImageUrl||null!==(e=this.options)&&void 0!==e&&e.disableImageLazyLoadWarning||(r=this.lcpImageUrl,console.warn(mn(-913,`An image with src ${r} 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(e){if(!this.window)return!1;const t=(e.src||"").toLowerCase();if([".svg"].some(e=>t.endsWith(e)))return!1;const n=this.window.getComputedStyle(e);let i=parseFloat(n.getPropertyValue("width")),r=parseFloat(n.getPropertyValue("height"));const s=n.getPropertyValue("box-sizing");if("cover"===n.getPropertyValue("object-fit"))return!1;if("border-box"===s){const e=n.getPropertyValue("padding-top"),t=n.getPropertyValue("padding-right"),s=n.getPropertyValue("padding-bottom"),o=n.getPropertyValue("padding-left");i-=parseFloat(t)+parseFloat(o),r-=parseFloat(e)+parseFloat(s)}const o=e.naturalWidth,a=e.naturalHeight,l=this.window.devicePixelRatio*i,c=this.window.devicePixelRatio*r;return o-l>=1200||a-c>=1200}}ln=qw,fn(qw,"ɵfac",function(e){return new(e||ln)}),fn(qw,"ɵprov",Fn({token:ln,factory:ln.ɵfac,providedIn:"root"}));const Uw=new $n(""),jw=new $n("");function Vw(e){return!e.moduleRef}function Ww(e){const t=Vw(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ka);return n.run(()=>{Vw(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const i=t.get(Ba,null);let r;if(n.runOutsideAngular(()=>{r=n.onError.subscribe({next:e=>{i.handleError(e)}})}),Vw(e)){const n=()=>t.destroy(),i=e.platformInjector.get(Uw);i.add(n),t.onDestroy(()=>{r.unsubscribe(),i.delete(n)})}else{const t=()=>e.moduleRef.destroy(),n=e.platformInjector.get(Uw);n.add(t),e.moduleRef.onDestroy(()=>{bg(e.allPlatformModules,e.moduleRef),r.unsubscribe(),n.delete(t)})}return function(e,t,n){try{const i=n();return dg(i)?i.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):i}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}(i,n,()=>{const n=t.get(fg);return n.runInitializers(),n.donePromise.then(()=>{!function(e){"string"==typeof e&&(ov=e.toLowerCase().replace(/_/g,"-"))}(t.get(Hw,nv)||nv);if(!t.get(jw,!0))return Vw(e)?t.get(vg):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Vw(e)){const n=t.get(vg);return void 0!==e.rootComponent&&n.bootstrap(e.rootComponent),n}return function(e,t){const n=e.injector.get(vg);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>n.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new _n(-403,!1);e.instance.ngDoBootstrap(n)}t.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}class $w{constructor(e){fn(this,"_injector",void 0),fn(this,"_modules",[]),fn(this,"_destroyListeners",[]),fn(this,"_destroyed",!1),this._injector=e}bootstrapModuleFactory(e,t){const n=null==t?void 0:t.scheduleInRootZone,i=[Lw({ngZoneFactory:()=>function(e="zone.js",t){return"noop"===e?new Fa:"zone.js"===e?new ka(t):e}(null==t?void 0:t.ngZone,pn(pn({},Mw({eventCoalescing:null==t?void 0:t.ngZoneEventCoalescing,runCoalescing:null==t?void 0:t.ngZoneRunCoalescing})),{},{scheduleInRootZone:n})),ignoreChangesOutsideZone:null==t?void 0:t.ignoreChangesOutsideZone}),{provide:va,useExisting:Fw}];var r,s;return Ww({moduleRef:(r=e.moduleType,s=this.injector,new Kp(r,s,i,!1)),allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(e,t=[]){const n=mg({},t);return Ow(this.injector,0,e).then(e=>this.bootstrapModuleFactory(e,n))}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new _n(404,!1);this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e());const e=this._injector.get(Uw,null);e&&(e.forEach(e=>e()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}cn=$w,fn($w,"ɵfac",function(e){return new(e||cn)(mi(fa))}),fn($w,"ɵprov",Fn({token:cn,factory:cn.ɵfac,providedIn:"platform"}));let Gw=null;const Yw=new $n("");function Qw(e){if(Gw&&!Gw.get(Yw,!1))throw new _n(400,!1);_g(),Gw=e;const t=e.get($w);return function(e){const t=e.get(cl,null);vr(e,()=>{null==t||t.forEach(e=>e())})}(e),t}function Zw(e,t,n=[]){const i=`Platform: ${t}`,r=new $n(i);return(t=[])=>{let s=Kw();if(!s||s.injector.get(Yw,!1)){const s=[...n,...t,{provide:r,useValue:!0}];e?e(s):Qw(function(e=[],t){return fa.create({name:t,providers:[{provide:or,useValue:"platform"},{provide:Uw,useValue:new Set([()=>Gw=null])},...e]})}(s,i))}return function(){const e=Kw();if(!e)throw new _n(401,!1);return e}()}}function Kw(){var e,t;return null!==(e=null===(t=Gw)||void 0===t?void 0:t.get($w))&&void 0!==e?e:null}class Xw{}fn(Xw,"__NG_ELEMENT_ID__",function(e){return function(e,t,n){if(zr(e)&&!n){const n=as(e.index,t);return new ch(n,n)}if(175&e.type){const e=t[15];return new ch(e,t)}return null}(Os(),Rs(),!(16&~e))});class Jw{constructor(){}supports(e){return xf(e)}create(e){return new tE(e)}}const eE=(e,t)=>t;class tE{constructor(e){fn(this,"length",0),fn(this,"collection",void 0),fn(this,"_linkedRecords",null),fn(this,"_unlinkedRecords",null),fn(this,"_previousItHead",null),fn(this,"_itHead",null),fn(this,"_itTail",null),fn(this,"_additionsHead",null),fn(this,"_additionsTail",null),fn(this,"_movesHead",null),fn(this,"_movesTail",null),fn(this,"_removalsHead",null),fn(this,"_removalsTail",null),fn(this,"_identityChangesHead",null),fn(this,"_identityChangesTail",null),fn(this,"_trackByFn",void 0),this._trackByFn=e||eE}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,i=0,r=null;for(;t||n;){const s=!n||t&&t.currentIndex<sE(n,i,r)?t:n,o=sE(s,i,r),a=s.currentIndex;if(s===n)i--,n=n._nextRemoved;else if(t=t._next,null==s.previousIndex)i++;else{r||(r=[]);const e=o-i,t=a-i;if(e!=t){for(let n=0;n<e;n++){const i=n<r.length?r[n]:r[n]=0,s=i+n;t<=s&&s<e&&(r[n]=i+1)}r[s.previousIndex]=t-e}}o!==a&&e(s,o,a)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!xf(e))throw new _n(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,i,r=this._itHead,s=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)n=e[t],i=this._trackByFn(t,n),null!==r&&Object.is(r.trackById,i)?(s&&(r=this._verifyReinsertion(r,n,i,t)),Object.is(r.item,n)||this._addIdentityChange(r,n)):(r=this._mismatch(r,n,i,t),s=!0),r=r._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let i;for(;!(i=n.next()).done;)t(i.value)}}(e,e=>{i=this._trackByFn(t,e),null!==r&&Object.is(r.trackById,i)?(s&&(r=this._verifyReinsertion(r,e,i,t)),Object.is(r.item,e)||this._addIdentityChange(r,e)):(r=this._mismatch(r,e,i,t),s=!0),r=r._next,t++}),this.length=t;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,i){let r;return null===e?r=this._itTail:(r=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,r,i)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,r,i)):e=this._addAfter(new nE(t,n),r,i),e}_verifyReinsertion(e,t,n,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?e=this._reinsertAfter(r,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}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(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const i=e._prevRemoved,r=e._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),null===this._additionsTail?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const i=null===t?this._itHead:t._next;return e._next=i,e._prev=t,null===i?this._itTail=e:i._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new rE),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(null===this._movesTail?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new rE),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}}class nE{constructor(e,t){fn(this,"item",void 0),fn(this,"trackById",void 0),fn(this,"currentIndex",null),fn(this,"previousIndex",null),fn(this,"_nextPrevious",null),fn(this,"_prev",null),fn(this,"_next",null),fn(this,"_prevDup",null),fn(this,"_nextDup",null),fn(this,"_prevRemoved",null),fn(this,"_nextRemoved",null),fn(this,"_nextAdded",null),fn(this,"_nextMoved",null),fn(this,"_nextIdentityChange",null),this.item=e,this.trackById=t}}class iE{constructor(){fn(this,"_head",null),fn(this,"_tail",null)}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class rE{constructor(){fn(this,"map",new Map)}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new iE,this.map.set(t,n)),n.add(e)}get(e,t){const n=e,i=this.map.get(n);return i?i.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function sE(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i<n.length&&(r=n[i]),i+t+r}class oE{constructor(){}supports(e){return e instanceof Map||Df(e)}create(){return new aE}}class aE{constructor(){fn(this,"_records",new Map),fn(this,"_mapHead",null),fn(this,"_appendAfter",null),fn(this,"_previousMapHead",null),fn(this,"_changesHead",null),fn(this,"_changesTail",null),fn(this,"_additionsHead",null),fn(this,"_additionsTail",null),fn(this,"_removalsHead",null),fn(this,"_removalsTail",null)}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||Df(e)))throw new _n(900,!1)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const i=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}const n=new lE(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class lE{constructor(e){fn(this,"key",void 0),fn(this,"previousValue",null),fn(this,"currentValue",null),fn(this,"_nextPrevious",null),fn(this,"_next",null),fn(this,"_prev",null),fn(this,"_nextAdded",null),fn(this,"_nextRemoved",null),fn(this,"_nextChanged",null),this.key=e}}function cE(){return new uE([new Jw])}class uE{constructor(e){fn(this,"factories",void 0),this.factories=e}static create(e,t){if(null!=t){const n=t.factories.slice();e=e.concat(n)}return new uE(e)}static extend(e){return{provide:uE,useFactory:t=>uE.create(e,t||cE()),deps:[[uE,new Ri,new Si]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new _n(901,!1)}}function dE(){return new hE([new oE])}fn(uE,"ɵprov",Fn({token:uE,providedIn:"root",factory:cE}));class hE{constructor(e){fn(this,"factories",void 0),this.factories=e}static create(e,t){if(t){const n=t.factories.slice();e=e.concat(n)}return new hE(e)}static extend(e){return{provide:hE,useFactory:t=>hE.create(e,t||dE()),deps:[[hE,new Ri,new Si]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new _n(901,!1)}}fn(hE,"ɵprov",Fn({token:hE,providedIn:"root",factory:dE}));const pE=[new oE],fE=[new Jw];new uE(fE),new hE(pE);const gE=Zw(null,"core",[]);class _E{constructor(e){}}function mE(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function vE(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function bE(e){return function(e){const t=g(null);try{return e()}finally{g(t)}}(e)}function yE(e,t){const n=function(e,t){const n=Object.create(P);n.computation=e,void 0!==t&&(n.equal=t);const i=()=>{if(v(n),m(n),n.value===M)throw n.error;return n.value};return i[f]=n,i}(e,null==t?void 0:t.equal);return n}un=_E,fn(_E,"ɵfac",function(e){return new(e||un)(mi(vg))}),fn(_E,"ɵmod",of({type:un})),fn(_E,"ɵinj",Hn({}));class wE extends ug{constructor(...e){super(...e),fn(this,"pendingTasks",bi(Ea)),fn(this,"taskId",null)}schedule(e){super.schedule(e),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)}}}fn(wE,"ɵprov",Fn({token:dn=wE,providedIn:"root",factory:()=>new dn}));class EE{constructor(e){fn(this,f,void 0),this[f]=e}destroy(){this[f].destroy()}}function TE(e,t){var n;(null==t||!t.injector)&&yr();const i=null!==(n=null==t?void 0:t.injector)&&void 0!==n?n:bi(fa);let r,s=!0!==(null==t?void 0:t.manualCleanup)?i.get(_a):null;const o=i.get(Tl,null,{optional:!0}),a=i.get(va);null===o||null!=t&&t.forceRoot?r=function(e,t,n){const i=Object.create(IE);return i.fn=e,i.scheduler=t,i.notifier=n,i.zone="undefined"!=typeof Zone?Zone.current:null,i.scheduler.schedule(i),i.notifier.notify(12),i}(e,i.get(cg),a):(r=function(e,t,n){var i;const r=Object.create(SE);return r.view=e,r.zone="undefined"!=typeof Zone?Zone.current:null,r.notifier=t,r.fn=n,null!==(i=e[23])&&void 0!==i||(e[23]=new Set),e[23].add(r),r.consumerMarkedDirty(r),r}(o.view,a,e),s instanceof ma&&s._lView===o.view&&(s=null)),r.injector=i,null!==s&&(r.onDestroyFn=s.onDestroy(()=>r.destroy()));return new EE(r)}const CE=(()=>pn(pn({},_),{},{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:Ia,run(){if(this.dirty=!1,this.hasRun&&!I(this))return;this.hasRun=!0;const e=e=>{var t;return(null!==(t=this.cleanupFns)&&void 0!==t?t:this.cleanupFns=[]).push(e)},t=T(this),n=zs(!1);try{this.maybeCleanup(),this.fn(e)}finally{zs(n),C(this,t)}},maybeCleanup(){var e;if(null!==(e=this.cleanupFns)&&void 0!==e&&e.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}))(),IE=(()=>pn(pn({},CE),{},{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){S(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}))(),SE=(()=>pn(pn({},CE),{},{consumerMarkedDirty(){this.view[2]|=8192,gs(this.view),this.notifier.notify(13)},destroy(){var e;S(this),this.onDestroyFn(),this.maybeCleanup(),null===(e=this.view[23])||void 0===e||e.delete(this)}}))();var AE;!function(e){e[e.Idle=0]="Idle",e[e.Error=1]="Error",e[e.Loading=2]="Loading",e[e.Reloading=3]="Reloading",e[e.Resolved=4]="Resolved",e[e.Local=5]="Local"}(AE||(AE={}));const RE=e=>e;function xE(e,t){if("function"==typeof e){return DE(U(e,RE,void 0))}return DE(U(e.source,e.computation,e.equal))}function DE(e){const t=e[f],n=e;return n.set=e=>function(e,t){v(e),B(e,t),E(e)}(t,e),n.update=e=>function(e,t){v(e),z(e,t),E(e)}(t,e),n.asReadonly=Wa.bind(e),n}class kE{constructor(e){fn(this,"value",void 0),fn(this,"isLoading",yE(()=>this.status()===AE.Loading||this.status()===AE.Reloading)),this.value=e,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=Wa}update(e){this.set(e(bE(this.value)))}hasValue(){return void 0!==this.value()}asReadonly(){return this}}class OE extends kE{constructor(e,t,n,i,r){super(yE(()=>{var e,t;const n=null===(e=(t=this.state()).stream)||void 0===e?void 0:e.call(t);return n&&LE(n)?n.value:this.defaultValue},{equal:i})),fn(this,"loaderFn",void 0),fn(this,"defaultValue",void 0),fn(this,"equal",void 0),fn(this,"pendingTasks",void 0),fn(this,"state",void 0),fn(this,"extRequest",void 0),fn(this,"effectRef",void 0),fn(this,"pendingController",void 0),fn(this,"resolvePendingTask",void 0),fn(this,"destroyed",!1),fn(this,"status",yE(()=>NE(this.state()))),fn(this,"error",yE(()=>{var e,t;const n=null===(e=(t=this.state()).stream)||void 0===e?void 0:e.call(t);return n&&!LE(n)?n.error:void 0})),this.loaderFn=t,this.defaultValue=n,this.equal=i,this.extRequest=xE({source:e,computation:e=>({request:e,reload:0})}),this.state=xE({source:this.extRequest,computation:(e,t)=>{const n=void 0===e.request?AE.Idle:AE.Loading;return t?{extRequest:e,status:n,previousStatus:NE(t.value),stream:t.value.extRequest.request===e.request?t.value.stream:void 0}:{extRequest:e,status:n,previousStatus:AE.Idle,stream:void 0}}}),this.effectRef=TE(this.loadEffect.bind(this),{injector:r,manualCleanup:!0}),this.pendingTasks=r.get(Ta),r.get(_a).onDestroy(()=>this.destroy())}set(e){if(this.destroyed)return;const t=bE(this.value),n=bE(this.state);n.status===AE.Local&&(this.equal?this.equal(t,e):t===e)||(this.state.set({extRequest:n.extRequest,status:AE.Local,previousStatus:AE.Local,stream:Va({value:e})}),this.abortInProgressLoad())}reload(){const{status:e}=bE(this.state);return e!==AE.Idle&&e!==AE.Loading&&(this.extRequest.update(({request:e,reload:t})=>({request:e,reload:t+1})),!0)}destroy(){this.destroyed=!0,this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:AE.Idle,previousStatus:AE.Idle,stream:void 0})}async loadEffect(){const e=this.extRequest(),{status:t,previousStatus:n}=bE(this.state);if(void 0===e.request)return;if(t!==AE.Loading)return;this.abortInProgressLoad();let i=this.resolvePendingTask=this.pendingTasks.add();const{signal:r}=this.pendingController=new AbortController;try{const t=await bE(()=>this.loaderFn({request:e.request,abortSignal:r,previous:{status:n}}));if(r.aborted||bE(this.extRequest)!==e)return;this.state.set({extRequest:e,status:AE.Resolved,previousStatus:AE.Resolved,stream:t})}catch(t){if(r.aborted||bE(this.extRequest)!==e)return;this.state.set({extRequest:e,status:AE.Resolved,previousStatus:AE.Error,stream:Va({error:t})})}finally{var s;null===(s=i)||void 0===s||s(),i=void 0}}abortInProgressLoad(){var e;bE(()=>{var e;return null===(e=this.pendingController)||void 0===e?void 0:e.abort()}),this.pendingController=void 0,null===(e=this.resolvePendingTask)||void 0===e||e.call(this),this.resolvePendingTask=void 0}}function NE(e){switch(e.status){case AE.Loading:return 0===e.extRequest.reload?AE.Loading:AE.Reloading;case AE.Resolved:return LE(bE(e.stream))?AE.Resolved:AE.Error;default:return e.status}}function LE(e){return void 0===e.error}new $n("",{providedIn:"platform",factory:()=>null}),new $n("",{providedIn:"platform",factory:()=>null}),new $n("",{providedIn:"platform",factory:()=>null});const ME=new $n("");var PE,FE,HE,BE,zE;function qE(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let UE=null;function jE(){return UE}class VE{}class WE{historyGo(e){throw new Error("")}}PE=WE,qE(WE,"ɵfac",function(e){return new(e||PE)}),qE(WE,"ɵprov",Fn({token:PE,factory:()=>bi($E),providedIn:"platform"})),new $n("");class $E extends WE{constructor(){super(),qE(this,"_location",void 0),qE(this,"_history",void 0),qE(this,"_doc",bi(ME)),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return jE().getBaseHref(this._doc)}onPopState(e){const t=jE().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),()=>t.removeEventListener("popstate",e)}onHashChange(e){const t=jE().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),()=>t.removeEventListener("hashchange",e)}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(e){this._location.pathname=e}pushState(e,t,n){this._history.pushState(e,t,n)}replaceState(e,t,n){this._history.replaceState(e,t,n)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}function GE(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function YE(e){const t=e.search(/#|\?|$/);return"/"===e[t-1]?e.slice(0,t-1)+e.slice(t):e}function QE(e){return e&&"?"!==e[0]?`?${e}`:e}FE=$E,qE($E,"ɵfac",function(e){return new(e||FE)}),qE($E,"ɵprov",Fn({token:FE,factory:()=>new FE,providedIn:"platform"}));class ZE{historyGo(e){throw new Error("")}}HE=ZE,qE(ZE,"ɵfac",function(e){return new(e||HE)}),qE(ZE,"ɵprov",Fn({token:HE,factory:()=>bi(XE),providedIn:"root"}));const KE=new $n("");class XE extends ZE{constructor(e,t){var n,i,r;super(),qE(this,"_platformLocation",void 0),qE(this,"_baseHref",void 0),qE(this,"_removeListenerFns",[]),this._platformLocation=e,this._baseHref=null!==(n=null!==(i=null!=t?t:this._platformLocation.getBaseHrefFromDOM())&&void 0!==i?i:null===(r=bi(ME).location)||void 0===r?void 0:r.origin)&&void 0!==n?n:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return GE(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+QE(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,i){const r=this.prepareExternalUrl(n+QE(i));this._platformLocation.pushState(e,t,r)}replaceState(e,t,n,i){const r=this.prepareExternalUrl(n+QE(i));this._platformLocation.replaceState(e,t,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){var t,n;null===(t=(n=this._platformLocation).historyGo)||void 0===t||t.call(n,e)}}BE=XE,qE(XE,"ɵfac",function(e){return new(e||BE)(mi(WE),mi(KE,8))}),qE(XE,"ɵprov",Fn({token:BE,factory:BE.ɵfac,providedIn:"root"}));class JE{constructor(e){qE(this,"_subject",new ke),qE(this,"_basePath",void 0),qE(this,"_locationStrategy",void 0),qE(this,"_urlChangeListeners",[]),qE(this,"_urlChangeSubscription",null),this._locationStrategy=e;const t=this._locationStrategy.getBaseHref();this._basePath=function(e){const t=new RegExp("^(https?:)?//").test(e);if(t){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(YE(tT(t))),this._locationStrategy.onPopState(e=>{this._subject.next({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}ngOnDestroy(){var e;null===(e=this._urlChangeSubscription)||void 0===e||e.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+QE(t))}normalize(e){return JE.stripTrailingSlash(function(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);if(""===n||["/",";","?","#"].includes(n[0]))return n;return t}(this._basePath,tT(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,t="",n=null){this._locationStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+QE(t)),n)}replaceState(e,t="",n=null){this._locationStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+QE(t)),n)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){var t,n;null===(t=(n=this._locationStrategy).historyGo)||void 0===t||t.call(n,e)}onUrlChange(e){var t;return this._urlChangeListeners.push(e),null!==(t=this._urlChangeSubscription)&&void 0!==t||(this._urlChangeSubscription=this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)})),()=>{const t=this._urlChangeListeners.indexOf(e);var n;(this._urlChangeListeners.splice(t,1),0===this._urlChangeListeners.length)&&(null===(n=this._urlChangeSubscription)||void 0===n||n.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(n=>n(e,t))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:null!=t?t:void 0,complete:null!=n?n:void 0})}}function eT(){return new JE(mi(ZE))}function tT(e){return e.replace(/\/index.html$/,"")}var nT,iT,rT,sT,oT,aT,lT,cT,uT,dT,hT,pT,fT,gT,_T,mT,vT,bT,yT,wT,ET,TT,CT,IT,ST,AT,RT,xT;function DT(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}zE=JE,qE(JE,"normalizeQueryParams",QE),qE(JE,"joinWithSlash",GE),qE(JE,"stripTrailingSlash",YE),qE(JE,"ɵfac",function(e){return new(e||zE)(mi(ZE))}),qE(JE,"ɵprov",Fn({token:zE,factory:()=>eT(),providedIn:"root"}));class kT extends ZE{constructor(e,t){super(),DT(this,"_platformLocation",void 0),DT(this,"_baseHref",""),DT(this,"_removeListenerFns",[]),this._platformLocation=e,null!=t&&(this._baseHref=t)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){var t;const n=null!==(t=this._platformLocation.hash)&&void 0!==t?t:"#";return n.length>0?n.substring(1):n}prepareExternalUrl(e){const t=GE(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,i){const r=this.prepareExternalUrl(n+QE(i))||this._platformLocation.pathname;this._platformLocation.pushState(e,t,r)}replaceState(e,t,n,i){const r=this.prepareExternalUrl(n+QE(i))||this._platformLocation.pathname;this._platformLocation.replaceState(e,t,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){var t,n;null===(t=(n=this._platformLocation).historyGo)||void 0===t||t.call(n,e)}}nT=kT,DT(kT,"ɵfac",function(e){return new(e||nT)(mi(WE),mi(KE,8))}),DT(kT,"ɵprov",Fn({token:nT,factory:nT.ɵfac}));const OT={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 NT,LT,MT,PT,FT;!function(e){e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific"}(NT||(NT={})),function(e){e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other"}(LT||(LT={})),function(e){e[e.Format=0]="Format",e[e.Standalone=1]="Standalone"}(MT||(MT={})),function(e){e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short"}(PT||(PT={})),function(e){e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full"}(FT||(FT={}));const HT=0,BT=1,zT=3,qT=5,UT=6,jT=9,VT=12,WT=13;var $T;function GT(e,t){return eC(Km(e)[ev.DateFormat],t)}function YT(e,t){return eC(Km(e)[ev.TimeFormat],t)}function QT(e,t){return eC(Km(e)[ev.DateTimeFormat],t)}function ZT(e,t){const n=Km(e),i=n[ev.NumberSymbols][t];if(void 0===i){if(t===VT)return n[ev.NumberSymbols][HT];if(t===WT)return n[ev.NumberSymbols][BT]}return i}function KT(e,t){return Km(e)[ev.NumberFormats][t]}!function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday"}($T||($T={}));const XT=Xm;function JT(e){if(!e[ev.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[ev.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function eC(e,t){for(let n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function tC(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}function nC(e,t,n="en"){const i=function(e){return Km(e)[ev.Currencies]}(n)[e]||OT[e]||[],r=i[1];return"narrow"===t&&"string"==typeof r?r:i[0]||e}const iC=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,rC={},sC=/((?:[^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 oC(e,t,n,i){let r=function(e){if(wC(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){const[t,n=1,i=1]=e.split("-").map(e=>+e);return aC(t,n-1,i)}const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(iC))return function(e){const t=new Date(0);let n=0,i=0;const r=e[8]?t.setUTCFullYear:t.setFullYear,s=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),i=Number(e[9]+e[11]));r.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const o=Number(e[4]||0)-n,a=Number(e[5]||0)-i,l=Number(e[6]||0),c=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return s.call(t,o,a,l,c),t}(n)}const t=new Date(e);if(!wC(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=lC(n,t)||t;let s,o=[];for(;t;){if(s=sC.exec(t),!s){o.push(t);break}{o=o.concat(s.slice(1));const e=o.pop();if(!e)break;t=e}}let a=r.getTimezoneOffset();i&&(a=yC(i,a),r=function(e,t){const n=-1,i=e.getTimezoneOffset(),r=yC(t,i);return function(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}(e,n*(r-i))}(r,i));let l="";return o.forEach(e=>{const t=function(e){if(bC[e])return bC[e];let t;switch(e){case"G":case"GG":case"GGG":t=hC(3,PT.Abbreviated);break;case"GGGG":t=hC(3,PT.Wide);break;case"GGGGG":t=hC(3,PT.Narrow);break;case"y":t=dC(0,1,0,!1,!0);break;case"yy":t=dC(0,2,0,!0,!0);break;case"yyy":t=dC(0,3,0,!1,!0);break;case"yyyy":t=dC(0,4,0,!1,!0);break;case"Y":t=vC(1);break;case"YY":t=vC(2,!0);break;case"YYY":t=vC(3);break;case"YYYY":t=vC(4);break;case"M":case"L":t=dC(1,1,1);break;case"MM":case"LL":t=dC(1,2,1);break;case"MMM":t=hC(2,PT.Abbreviated);break;case"MMMM":t=hC(2,PT.Wide);break;case"MMMMM":t=hC(2,PT.Narrow);break;case"LLL":t=hC(2,PT.Abbreviated,MT.Standalone);break;case"LLLL":t=hC(2,PT.Wide,MT.Standalone);break;case"LLLLL":t=hC(2,PT.Narrow,MT.Standalone);break;case"w":t=mC(1);break;case"ww":t=mC(2);break;case"W":t=mC(1,!0);break;case"d":t=dC(2,1);break;case"dd":t=dC(2,2);break;case"c":case"cc":t=dC(7,1);break;case"ccc":t=hC(1,PT.Abbreviated,MT.Standalone);break;case"cccc":t=hC(1,PT.Wide,MT.Standalone);break;case"ccccc":t=hC(1,PT.Narrow,MT.Standalone);break;case"cccccc":t=hC(1,PT.Short,MT.Standalone);break;case"E":case"EE":case"EEE":t=hC(1,PT.Abbreviated);break;case"EEEE":t=hC(1,PT.Wide);break;case"EEEEE":t=hC(1,PT.Narrow);break;case"EEEEEE":t=hC(1,PT.Short);break;case"a":case"aa":case"aaa":t=hC(0,PT.Abbreviated);break;case"aaaa":t=hC(0,PT.Wide);break;case"aaaaa":t=hC(0,PT.Narrow);break;case"b":case"bb":case"bbb":t=hC(0,PT.Abbreviated,MT.Standalone,!0);break;case"bbbb":t=hC(0,PT.Wide,MT.Standalone,!0);break;case"bbbbb":t=hC(0,PT.Narrow,MT.Standalone,!0);break;case"B":case"BB":case"BBB":t=hC(0,PT.Abbreviated,MT.Format,!0);break;case"BBBB":t=hC(0,PT.Wide,MT.Format,!0);break;case"BBBBB":t=hC(0,PT.Narrow,MT.Format,!0);break;case"h":t=dC(3,1,-12);break;case"hh":t=dC(3,2,-12);break;case"H":t=dC(3,1);break;case"HH":t=dC(3,2);break;case"m":t=dC(4,1);break;case"mm":t=dC(4,2);break;case"s":t=dC(5,1);break;case"ss":t=dC(5,2);break;case"S":t=dC(6,1);break;case"SS":t=dC(6,2);break;case"SSS":t=dC(6,3);break;case"Z":case"ZZ":case"ZZZ":t=pC(0);break;case"ZZZZZ":t=pC(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=pC(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=pC(2);break;default:return null}return bC[e]=t,t}(e);l+=t?t(r,n,a):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function aC(e,t,n){const i=new Date(0);return i.setFullYear(e,t,n),i.setHours(0,0,0),i}function lC(e,t){var n;const i=function(e){return Km(e)[ev.LocaleId]}(e);if(null!==(n=rC[i])&&void 0!==n||(rC[i]={}),rC[i][t])return rC[i][t];let r="";switch(t){case"shortDate":r=GT(e,FT.Short);break;case"mediumDate":r=GT(e,FT.Medium);break;case"longDate":r=GT(e,FT.Long);break;case"fullDate":r=GT(e,FT.Full);break;case"shortTime":r=YT(e,FT.Short);break;case"mediumTime":r=YT(e,FT.Medium);break;case"longTime":r=YT(e,FT.Long);break;case"fullTime":r=YT(e,FT.Full);break;case"short":const t=lC(e,"shortTime"),n=lC(e,"shortDate");r=cC(QT(e,FT.Short),[t,n]);break;case"medium":const i=lC(e,"mediumTime"),s=lC(e,"mediumDate");r=cC(QT(e,FT.Medium),[i,s]);break;case"long":const o=lC(e,"longTime"),a=lC(e,"longDate");r=cC(QT(e,FT.Long),[o,a]);break;case"full":const l=lC(e,"fullTime"),c=lC(e,"fullDate");r=cC(QT(e,FT.Full),[l,c])}return r&&(rC[i][t]=r),r}function cC(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function uC(e,t,n="-",i,r){let s="";(e<0||r&&e<=0)&&(r?e=1-e:(e=-e,s=n));let o=String(e);for(;o.length<t;)o="0"+o;return i&&(o=o.slice(o.length-t)),s+o}function dC(e,t,n=0,i=!1,r=!1){return function(s,o){let a=function(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}(e,s);if((n>0||a>-n)&&(a+=n),3===e)0===a&&-12===n&&(a=12);else if(6===e)return l=t,uC(a,3).substring(0,l);var l;const c=ZT(o,qT);return uC(a,t,c,i,r)}}function hC(e,t,n=MT.Format,i=!1){return function(r,s){return function(e,t,n,i,r,s){switch(n){case 2:return function(e,t,n){const i=Km(e),r=eC([i[ev.MonthsFormat],i[ev.MonthsStandalone]],t);return eC(r,n)}(t,r,i)[e.getMonth()];case 1:return function(e,t,n){const i=Km(e),r=eC([i[ev.DaysFormat],i[ev.DaysStandalone]],t);return eC(r,n)}(t,r,i)[e.getDay()];case 0:const o=e.getHours(),a=e.getMinutes();if(s){const e=function(e){const t=Km(e);return JT(t),(t[ev.ExtraData][2]||[]).map(e=>"string"==typeof e?tC(e):[tC(e[0]),tC(e[1])])}(t),n=function(e,t,n){const i=Km(e);JT(i);const r=eC([i[ev.ExtraData][0],i[ev.ExtraData][1]],t)||[];return eC(r,n)||[]}(t,r,i),s=e.findIndex(e=>{if(Array.isArray(e)){const[t,n]=e,i=o>=t.hours&&a>=t.minutes,r=o<n.hours||o===n.hours&&a<n.minutes;if(t.hours<n.hours){if(i&&r)return!0}else if(i||r)return!0}else if(e.hours===o&&e.minutes===a)return!0;return!1});if(-1!==s)return n[s]}return function(e,t,n){const i=Km(e),r=eC([i[ev.DayPeriodsFormat],i[ev.DayPeriodsStandalone]],t);return eC(r,n)}(t,r,i)[o<12?0:1];case 3:return function(e,t){return eC(Km(e)[ev.Eras],t)}(t,i)[e.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${n}`)}}(r,s,e,t,n,i)}}function pC(e){return function(t,n,i){const r=-1*i,s=ZT(n,qT),o=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case 0:return(r>=0?"+":"")+uC(o,2,s)+uC(Math.abs(r%60),2,s);case 1:return"GMT"+(r>=0?"+":"")+uC(o,1,s);case 2:return"GMT"+(r>=0?"+":"")+uC(o,2,s)+":"+uC(Math.abs(r%60),2,s);case 3:return 0===i?"Z":(r>=0?"+":"")+uC(o,2,s)+":"+uC(Math.abs(r%60),2,s);default:throw new Error(`Unknown zone width "${e}"`)}}}const fC=0,gC=4;function _C(e){const t=e.getDay(),n=0===t?-3:gC-t;return aC(e.getFullYear(),e.getMonth(),e.getDate()+n)}function mC(e,t=!1){return function(n,i){let r;if(t){const e=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,t=n.getDate();r=1+Math.floor((t+e)/7)}else{const e=_C(n),t=function(e){const t=aC(e,fC,1).getDay();return aC(e,0,1+(t<=gC?gC:gC+7)-t)}(e.getFullYear()),i=e.getTime()-t.getTime();r=1+Math.round(i/6048e5)}return uC(r,e,ZT(i,qT))}}function vC(e,t=!1){return function(n,i){return uC(_C(n).getFullYear(),e,ZT(i,qT),t)}}const bC={};function yC(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function wC(e){return e instanceof Date&&!isNaN(e.valueOf())}const EC=/^(\d+)?\.((\d+)(-(\d+))?)?$/,TC=".",CC="0";function IC(e,t,n,i,r,s,o=!1){let a="",l=!1;if(isFinite(e)){let c=function(e){let t,n,i,r,s,o=Math.abs(e)+"",a=0;(n=o.indexOf(TC))>-1&&(o=o.replace(TC,""));(i=o.search(/e/i))>0?(n<0&&(n=i),n+=+o.slice(i+1),o=o.substring(0,i)):n<0&&(n=o.length);for(i=0;o.charAt(i)===CC;i++);if(i===(s=o.length))t=[0],n=1;else{for(s--;o.charAt(s)===CC;)s--;for(n-=i,t=[],r=0;i<=s;i++,r++)t[r]=Number(o.charAt(i))}n>22&&(t=t.splice(0,21),a=n-1,n=1);return{digits:t,exponent:a,integerLen:n}}(e);o&&(c=function(e){if(0===e.digits[0])return e;const t=e.digits.length-e.integerLen;e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2);return e}(c));let u=t.minInt,d=t.minFrac,h=t.maxFrac;if(s){const e=s.match(EC);if(null===e)throw new Error(`${s} is not a valid digit info`);const t=e[1],n=e[3],i=e[5];null!=t&&(u=RC(t)),null!=n&&(d=RC(n)),null!=i?h=RC(i):null!=n&&d>h&&(h=d)}!function(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let i=e.digits,r=i.length-e.integerLen;const s=Math.min(Math.max(t,r),n);let o=s+e.integerLen,a=i[o];if(o>0){i.splice(Math.max(e.integerLen,o));for(let e=o;e<i.length;e++)i[e]=0}else{r=Math.max(0,r),e.integerLen=1,i.length=Math.max(1,o=s+1),i[0]=0;for(let e=1;e<o;e++)i[e]=0}if(a>=5)if(o-1<0){for(let t=0;t>o;t--)i.unshift(0),e.integerLen++;i.unshift(1),e.integerLen++}else i[o-1]++;for(;r<Math.max(0,s);r++)i.push(0);let l=0!==s;const c=t+e.integerLen,u=i.reduceRight(function(e,t,n,i){return t+=e,i[n]=t<10?t:t-10,l&&(0===i[n]&&n>=c?i.pop():l=!1),t>=10?1:0},0);u&&(i.unshift(u),e.integerLen++)}(c,d,h);let p=c.digits,f=c.integerLen;const g=c.exponent;let _=[];for(l=p.every(e=>!e);f<u;f++)p.unshift(0);for(;f<0;f++)p.unshift(0);f>0?_=p.splice(f,p.length):(_=p,p=[0]);const m=[];for(p.length>=t.lgSize&&m.unshift(p.splice(-t.lgSize,p.length).join(""));p.length>t.gSize;)m.unshift(p.splice(-t.gSize,p.length).join(""));p.length&&m.unshift(p.join("")),a=m.join(ZT(n,i)),_.length&&(a+=ZT(n,r)+_.join("")),g&&(a+=ZT(n,UT)+"+"+g)}else a=ZT(n,jT);return a=e<0&&!l?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}function SC(e,t,n,i,r){const s=AC(KT(t,NT.Currency),ZT(t,qT));s.minFrac=function(e){let t;const n=OT[e];return n&&(t=n[2]),"number"==typeof t?t:2}(i),s.maxFrac=s.minFrac;return IC(e,s,t,WT,VT,r).replace("¤",n).replace("¤","").trim()}function AC(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=e.split(";"),r=i[0],s=i[1],o=-1!==r.indexOf(TC)?r.split(TC):[r.substring(0,r.lastIndexOf(CC)+1),r.substring(r.lastIndexOf(CC)+1)],a=o[0],l=o[1]||"";n.posPre=a.substring(0,a.indexOf("#"));for(let e=0;e<l.length;e++){const t=l.charAt(e);t===CC?n.minFrac=n.maxFrac=e+1:"#"===t?n.maxFrac=e+1:n.posSuf+=t}const c=a.split(",");if(n.gSize=c[1]?c[1].length:0,n.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,s){const e=r.length-n.posPre.length-n.posSuf.length,t=s.indexOf("#");n.negPre=s.substring(0,t).replace(/'/g,""),n.negSuf=s.slice(t+e).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function RC(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}class xC{}function DC(e,t,n,i){let r=`=${e}`;if(t.indexOf(r)>-1)return r;if(r=n.getPluralCategory(e,i),t.indexOf(r)>-1)return r;if(t.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${e}"`)}iT=xC,DT(xC,"ɵfac",function(e){return new(e||iT)}),DT(xC,"ɵprov",Fn({token:iT,factory:function(e){let t=null;var n;return e?t=new e:(n=mi(Hw),t=new kC(n)),t},providedIn:"root"}));class kC extends xC{constructor(e){super(),DT(this,"locale",void 0),this.locale=e}getPluralCategory(e,t){switch(XT(t||this.locale)(e)){case LT.Zero:return"zero";case LT.One:return"one";case LT.Two:return"two";case LT.Few:return"few";case LT.Many:return"many";default:return"other"}}}rT=kC,DT(kC,"ɵfac",function(e){return new(e||rT)(mi(Hw))}),DT(kC,"ɵprov",Fn({token:rT,factory:rT.ɵfac}));const OC=/\s+/,NC=[];class LC{constructor(e,t){DT(this,"_ngEl",void 0),DT(this,"_renderer",void 0),DT(this,"initialClasses",NC),DT(this,"rawClass",void 0),DT(this,"stateMap",new Map),this._ngEl=e,this._renderer=t}set klass(e){this.initialClasses=null!=e?e.trim().split(OC):NC}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(OC):e}ngDoCheck(){for(const e of this.initialClasses)this._updateState(e,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const t of e)this._updateState(t,!0);else if(null!=e)for(const t of Object.keys(e))this._updateState(t,Boolean(e[t]));this._applyStateDiff()}_updateState(e,t){const n=this.stateMap.get(e);void 0!==n?(n.enabled!==t&&(n.changed=!0,n.enabled=t),n.touched=!0):this.stateMap.set(e,{enabled:t,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const t=e[0],n=e[1];n.changed?(this._toggleClass(t,n.enabled),n.changed=!1):n.touched||(n.enabled&&this._toggleClass(t,!1),this.stateMap.delete(t)),n.touched=!1}}_toggleClass(e,t){(e=e.trim()).length>0&&e.split(OC).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}}sT=LC,DT(LC,"ɵfac",function(e){return new(e||sT)(ep(Ua),ep(qh))}),DT(LC,"ɵdir",cf({type:sT,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));class MC{get componentInstance(){var e,t;return null!==(e=null===(t=this._componentRef)||void 0===t?void 0:t.instance)&&void 0!==e?e:null}constructor(e){DT(this,"_viewContainerRef",void 0),DT(this,"ngComponentOutlet",null),DT(this,"ngComponentOutletInputs",void 0),DT(this,"ngComponentOutletInjector",void 0),DT(this,"ngComponentOutletContent",void 0),DT(this,"ngComponentOutletNgModule",void 0),DT(this,"ngComponentOutletNgModuleFactory",void 0),DT(this,"_componentRef",void 0),DT(this,"_moduleRef",void 0),DT(this,"_inputsUsed",new Map),this._viewContainerRef=e}_needToReCreateNgModuleInstance(e){return void 0!==e.ngComponentOutletNgModule||void 0!==e.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(e){return void 0!==e.ngComponentOutlet||void 0!==e.ngComponentOutletContent||void 0!==e.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(e)}ngOnChanges(e){if(this._needToReCreateComponentInstance(e)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const n=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;var t;if(this._needToReCreateNgModuleInstance(e))null===(t=this._moduleRef)||void 0===t||t.destroy(),this.ngComponentOutletNgModule?this._moduleRef=Zp(this.ngComponentOutletNgModule,PC(n)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(PC(n)):this._moduleRef=void 0;this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:n,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const e of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(e,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){var e;null===(e=this._moduleRef)||void 0===e||e.destroy()}_applyInputStateDiff(e){for(const[t,n]of this._inputsUsed)n?(e.setInput(t,this.ngComponentOutletInputs[t]),this._inputsUsed.set(t,!1)):(e.setInput(t,void 0),this._inputsUsed.delete(t))}}function PC(e){return e.get(Yp).injector}oT=MC,DT(MC,"ɵfac",function(e){return new(e||oT)(ep(_p))}),DT(MC,"ɵdir",cf({type:oT,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},exportAs:["ngComponentOutlet"],features:[Gr]}));class FC{constructor(e,t,n,i){DT(this,"$implicit",void 0),DT(this,"ngForOf",void 0),DT(this,"index",void 0),DT(this,"count",void 0),this.$implicit=e,this.ngForOf=t,this.index=n,this.count=i}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 HC{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,t,n){DT(this,"_viewContainer",void 0),DT(this,"_template",void 0),DT(this,"_differs",void 0),DT(this,"_ngForOf",null),DT(this,"_ngForOfDirty",!0),DT(this,"_differ",null),DT(this,"_trackByFn",void 0),this._viewContainer=e,this._template=t,this._differs=n}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=this._viewContainer;e.forEachOperation((e,n,i)=>{if(null==e.previousIndex)t.createEmbeddedView(this._template,new FC(e.item,this._ngForOf,-1,-1),null===i?void 0:i);else if(null==i)t.remove(null===n?void 0:n);else if(null!==n){const r=t.get(n);t.move(r,i),BC(r,e)}});for(let e=0,n=t.length;e<n;e++){const i=t.get(e).context;i.index=e,i.count=n,i.ngForOf=this._ngForOf}e.forEachIdentityChange(e=>{BC(t.get(e.currentIndex),e)})}static ngTemplateContextGuard(e,t){return!0}}function BC(e,t){e.context.$implicit=t.item}aT=HC,DT(HC,"ɵfac",function(e){return new(e||aT)(ep(_p),ep(uh),ep(uE))}),DT(HC,"ɵdir",cf({type:aT,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}));class zC{constructor(e,t){DT(this,"_viewContainer",void 0),DT(this,"_context",new qC),DT(this,"_thenTemplateRef",null),DT(this,"_elseTemplateRef",null),DT(this,"_thenViewRef",null),DT(this,"_elseViewRef",null),this._viewContainer=e,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){UC(e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){UC(e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,t){return!0}}lT=zC,DT(zC,"ngIfUseIfTypeGuard",void 0),DT(zC,"ngTemplateGuard_ngIf",void 0),DT(zC,"ɵfac",function(e){return new(e||lT)(ep(_p),ep(uh))}),DT(zC,"ɵdir",cf({type:lT,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}));class qC{constructor(){DT(this,"$implicit",null),DT(this,"ngIf",null)}}function UC(e,t){if(e&&!e.createEmbeddedView)throw new _n(2020,!1)}class jC{constructor(e,t){DT(this,"_viewContainerRef",void 0),DT(this,"_templateRef",void 0),DT(this,"_created",!1),this._viewContainerRef=e,this._templateRef=t}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}class VC{constructor(){DT(this,"_defaultViews",[]),DT(this,"_defaultUsed",!1),DT(this,"_caseCount",0),DT(this,"_lastCaseCheckIndex",0),DT(this,"_lastCasesMatched",!1),DT(this,"_ngSwitch",void 0)}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){const t=e===this._ngSwitch;return this._lastCasesMatched||(this._lastCasesMatched=t),this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const t of this._defaultViews)t.enforceState(e)}}}cT=VC,DT(VC,"ɵfac",function(e){return new(e||cT)}),DT(VC,"ɵdir",cf({type:cT,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}));class WC{constructor(e,t,n){DT(this,"ngSwitch",void 0),DT(this,"_view",void 0),DT(this,"ngSwitchCase",void 0),this.ngSwitch=n,n._addCase(),this._view=new jC(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}uT=WC,DT(WC,"ɵfac",function(e){return new(e||uT)(ep(_p),ep(uh),ep(VC,9))}),DT(WC,"ɵdir",cf({type:uT,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}));class $C{constructor(e,t,n){n._addDefault(new jC(e,t))}}dT=$C,DT($C,"ɵfac",function(e){return new(e||dT)(ep(_p),ep(uh),ep(VC,9))}),DT($C,"ɵdir",cf({type:dT,selectors:[["","ngSwitchDefault",""]]}));class GC{constructor(e){DT(this,"_localization",void 0),DT(this,"_activeView",void 0),DT(this,"_caseViews",{}),this._localization=e}set ngPlural(e){this._updateView(e)}addCase(e,t){this._caseViews[e]=t}_updateView(e){this._clearViews();const t=DC(e,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[t])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(e){e&&(this._activeView=e,this._activeView.create())}}hT=GC,DT(GC,"ɵfac",function(e){return new(e||hT)(ep(xC))}),DT(GC,"ɵdir",cf({type:hT,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}}));class YC{constructor(e,t,n,i){DT(this,"value",void 0),this.value=e;const r=!isNaN(Number(e));i.addCase(r?`=${e}`:e,new jC(n,t))}}pT=YC,DT(YC,"ɵfac",function(e){return new(e||pT)(na("ngPluralCase"),ep(uh),ep(_p),ep(GC,1))}),DT(YC,"ɵdir",cf({type:pT,selectors:[["","ngPluralCase",""]]}));class QC{constructor(e,t,n){DT(this,"_ngEl",void 0),DT(this,"_differs",void 0),DT(this,"_renderer",void 0),DT(this,"_ngStyle",null),DT(this,"_differ",null),this._ngEl=e,this._differs=t,this._renderer=n}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){const[n,i]=e.split("."),r=-1===n.indexOf("-")?void 0:vd.DashCase;null!=t?this._renderer.setStyle(this._ngEl.nativeElement,n,i?`${t}${i}`:t,r):this._renderer.removeStyle(this._ngEl.nativeElement,n,r)}_applyChanges(e){e.forEachRemovedItem(e=>this._setStyle(e.key,null)),e.forEachAddedItem(e=>this._setStyle(e.key,e.currentValue)),e.forEachChangedItem(e=>this._setStyle(e.key,e.currentValue))}}fT=QC,DT(QC,"ɵfac",function(e){return new(e||fT)(ep(Ua),ep(hE),ep(qh))}),DT(QC,"ɵdir",cf({type:fT,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));class ZC{constructor(e){DT(this,"_viewContainerRef",void 0),DT(this,"_viewRef",null),DT(this,"ngTemplateOutletContext",null),DT(this,"ngTemplateOutlet",null),DT(this,"ngTemplateOutletInjector",null),this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){var t;const e=this._viewContainerRef;if(this._viewRef&&e.remove(e.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const n=this._createContextForwardProxy();this._viewRef=e.createEmbeddedView(this.ngTemplateOutlet,n,{injector:null!==(t=this.ngTemplateOutletInjector)&&void 0!==t?t:void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,t,n)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,t,n),get:(e,t,n)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,t,n)}})}}gT=ZC,DT(ZC,"ɵfac",function(e){return new(e||gT)(ep(_p))}),DT(ZC,"ɵdir",cf({type:gT,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Gr]}));function KC(e,t){return new _n(2100,!1)}const XC=new class{createSubscription(e,t){return e.then(e=>{var n;return null===(n=t)||void 0===n?void 0:n(e)},e=>{throw e}),{unsubscribe:()=>{t=null}}}dispose(e){e.unsubscribe()}},JC=new class{createSubscription(e,t){return bE(()=>e.subscribe({next:t,error:e=>{throw e}}))}dispose(e){bE(()=>e.unsubscribe())}};class eI{constructor(e){DT(this,"_ref",void 0),DT(this,"_latestValue",null),DT(this,"markForCheckOnValueUpdate",!0),DT(this,"_subscription",null),DT(this,"_obj",null),DT(this,"_strategy",null),this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(e){if(dg(e))return XC;if(hg(e))return JC;throw KC()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){var n;e===this._obj&&(this._latestValue=t,this.markForCheckOnValueUpdate&&(null===(n=this._ref)||void 0===n||n.markForCheck()))}}_T=eI,DT(eI,"ɵfac",function(e){return new(e||_T)(ep(Xw,16))}),DT(eI,"ɵpipe",uf({name:"async",type:_T,pure:!1}));class tI{transform(e){if(null==e)return null;if("string"!=typeof e)throw KC();return e.toLowerCase()}}mT=tI,DT(tI,"ɵfac",function(e){return new(e||mT)}),DT(tI,"ɵpipe",uf({name:"lowercase",type:mT,pure:!0}));const nI=/(?:[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 iI{transform(e){if(null==e)return null;if("string"!=typeof e)throw KC();return e.replace(nI,e=>e[0].toUpperCase()+e.slice(1).toLowerCase())}}vT=iI,DT(iI,"ɵfac",function(e){return new(e||vT)}),DT(iI,"ɵpipe",uf({name:"titlecase",type:vT,pure:!0}));class rI{transform(e){if(null==e)return null;if("string"!=typeof e)throw KC();return e.toUpperCase()}}bT=rI,DT(rI,"ɵfac",function(e){return new(e||bT)}),DT(rI,"ɵpipe",uf({name:"uppercase",type:bT,pure:!0}));const sI=new $n(""),oI=new $n("");class aI{constructor(e,t,n){DT(this,"locale",void 0),DT(this,"defaultTimezone",void 0),DT(this,"defaultOptions",void 0),this.locale=e,this.defaultTimezone=t,this.defaultOptions=n}transform(e,t,n,i){if(null==e||""===e||e!=e)return null;try{var r,s,o,a,l;const c=null!==(r=null!=t?t:null===(s=this.defaultOptions)||void 0===s?void 0:s.dateFormat)&&void 0!==r?r:"mediumDate",u=null!==(o=null!==(a=null!=n?n:null===(l=this.defaultOptions)||void 0===l?void 0:l.timezone)&&void 0!==a?a:this.defaultTimezone)&&void 0!==o?o:void 0;return oC(e,c,i||this.locale,u)}catch(e){throw KC(0,e.message)}}}yT=aI,DT(aI,"ɵfac",function(e){return new(e||yT)(ep(Hw,16),ep(sI,24),ep(oI,24))}),DT(aI,"ɵpipe",uf({name:"date",type:yT,pure:!0}));const lI=/#/g;class cI{constructor(e){DT(this,"_localization",void 0),this._localization=e}transform(e,t,n){if(null==e)return"";if("object"!=typeof t||null===t)throw KC();return t[DC(e,Object.keys(t),this._localization,n)].replace(lI,e.toString())}}wT=cI,DT(cI,"ɵfac",function(e){return new(e||wT)(ep(xC,16))}),DT(cI,"ɵpipe",uf({name:"i18nPlural",type:wT,pure:!0}));class uI{transform(e,t){if(null==e)return"";if("object"!=typeof t||"string"!=typeof e)throw KC();return t.hasOwnProperty(e)?t[e]:t.hasOwnProperty("other")?t.other:""}}ET=uI,DT(uI,"ɵfac",function(e){return new(e||ET)}),DT(uI,"ɵpipe",uf({name:"i18nSelect",type:ET,pure:!0}));class dI{transform(e){return JSON.stringify(e,null,2)}}TT=dI,DT(dI,"ɵfac",function(e){return new(e||TT)}),DT(dI,"ɵpipe",uf({name:"json",type:TT,pure:!1}));class hI{constructor(e){DT(this,"differs",void 0),DT(this,"differ",void 0),DT(this,"keyValues",[]),DT(this,"compareFn",pI),this.differs=e}transform(e,t=pI){var n;if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;null!==(n=this.differ)&&void 0!==n||(this.differ=this.differs.find(e).create());const i=this.differ.diff(e),r=t!==this.compareFn;return i&&(this.keyValues=[],i.forEachItem(e=>{var t,n;this.keyValues.push((t=e.key,n=e.currentValue,{key:t,value:n}))})),(i||r)&&(t&&this.keyValues.sort(t),this.compareFn=t),this.keyValues}}function pI(e,t){const n=e.key,i=t.key;if(n===i)return 0;if(null==n)return 1;if(null==i)return-1;if("string"==typeof n&&"string"==typeof i)return n<i?-1:1;if("number"==typeof n&&"number"==typeof i)return n-i;if("boolean"==typeof n&&"boolean"==typeof i)return n<i?-1:1;const r=String(n),s=String(i);return r==s?0:r<s?-1:1}CT=hI,DT(hI,"ɵfac",function(e){return new(e||CT)(ep(hE,16))}),DT(hI,"ɵpipe",uf({name:"keyvalue",type:CT,pure:!1}));class fI{constructor(e){DT(this,"_locale",void 0),this._locale=e}transform(e,t,n){if(!mI(e))return null;n||(n=this._locale);try{return function(e,t,n){return IC(e,AC(KT(t,NT.Decimal),ZT(t,qT)),t,BT,HT,n)}(vI(e),n,t)}catch(e){throw KC(0,e.message)}}}IT=fI,DT(fI,"ɵfac",function(e){return new(e||IT)(ep(Hw,16))}),DT(fI,"ɵpipe",uf({name:"number",type:IT,pure:!0}));class gI{constructor(e){DT(this,"_locale",void 0),this._locale=e}transform(e,t,n){if(!mI(e))return null;n||(n=this._locale);try{return function(e,t,n){return IC(e,AC(KT(t,NT.Percent),ZT(t,qT)),t,BT,HT,n,!0).replace(new RegExp("%","g"),ZT(t,zT))}(vI(e),n,t)}catch(e){throw KC(0,e.message)}}}ST=gI,DT(gI,"ɵfac",function(e){return new(e||ST)(ep(Hw,16))}),DT(gI,"ɵpipe",uf({name:"percent",type:ST,pure:!0}));class _I{constructor(e,t="USD"){DT(this,"_locale",void 0),DT(this,"_defaultCurrencyCode",void 0),this._locale=e,this._defaultCurrencyCode=t}transform(e,t=this._defaultCurrencyCode,n="symbol",i,r){if(!mI(e))return null;r||(r=this._locale),"boolean"==typeof n&&(n=n?"symbol":"code");let s=t||this._defaultCurrencyCode;"code"!==n&&(s="symbol"===n||"symbol-narrow"===n?nC(s,"symbol"===n?"wide":"narrow",r):n);try{return SC(vI(e),r,s,t,i)}catch(e){throw KC(0,e.message)}}}function mI(e){return!(null==e||""===e||e!=e)}function vI(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(`${e} is not a number`);return e}AT=_I,DT(_I,"ɵfac",function(e){return new(e||AT)(ep(Hw,16),ep(Bw,16))}),DT(_I,"ɵpipe",uf({name:"currency",type:AT,pure:!0}));class bI{transform(e,t,n){if(null==e)return null;if(!("string"==typeof e||Array.isArray(e)))throw KC();return e.slice(t,n)}}RT=bI,DT(bI,"ɵfac",function(e){return new(e||RT)}),DT(bI,"ɵpipe",uf({name:"slice",type:RT,pure:!1}));class yI{}function wI(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[i,r]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(i.trim()===t)return decodeURIComponent(r)}return null}xT=yI,DT(yI,"ɵfac",function(e){return new(e||xT)}),DT(yI,"ɵmod",of({type:xT})),DT(yI,"ɵinj",Hn({}));const EI="browser";function TI(e){return"server"===e}class CI{}var II,SI,AI,RI;function xI(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}new xw("19.2.14");class DI{}xI(DI,"ɵprov",Fn({token:DI,providedIn:"root",factory:()=>"undefined"!=typeof ngServerMode&&ngServerMode?new OI:new kI(bi(ME),window)}));class kI{constructor(e,t){xI(this,"document",void 0),xI(this,"window",void 0),xI(this,"offset",()=>[0,0]),this.document=e,this.window=t}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){const t=function(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let i=n.currentNode;for(;i;){const e=i.shadowRoot;if(e){const n=e.getElementById(t)||e.querySelector(`[name="${t}"]`);if(n)return n}i=n.nextNode()}}return null}(this.document,e);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){const t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}}class OI{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}}function NI(e,t){return LI(e)?new URL(e):new URL(e,t.location.href)}function LI(e){return/^https?:\/\//.test(e)}function MI(e){return LI(e)?new URL(e).hostname:e}const PI=e=>e.src,FI=new $n("",{providedIn:"root",factory:()=>PI});function HI(e,t=!0){return`The NgOptimizedImage directive ${t?`(activated on an <img> element with the \`ngSrc="${e}"\`) `:""}has detected that`}function BI(e){throw new _n(2958,`Unexpected invocation of the ${e} in the prod mode. Please make sure that the prod mode is enabled for production builds.`)}class zI{constructor(){xI(this,"images",new Map),xI(this,"window",null),xI(this,"observer",null);const e=bi(ul)===EI;BI("LCP checker");const t=bi(ME).defaultView;e&&"undefined"!=typeof PerformanceObserver&&(this.window=t,this.observer=this.initPerformanceObserver())}initPerformanceObserver(){const e=new PerformanceObserver(e=>{var t,n;const i=e.getEntries();if(0===i.length)return;const r=null!==(t=null===(n=i[i.length-1].element)||void 0===n?void 0:n.src)&&void 0!==t?t:"";if(r.startsWith("data:")||r.startsWith("blob:"))return;const s=this.images.get(r);s&&(s.priority||s.alreadyWarnedPriority||(s.alreadyWarnedPriority=!0,function(e){const t=HI(e);console.error(mn(2955,`${t} 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.`))}(r)),s.modified&&!s.alreadyWarnedModified&&(s.alreadyWarnedModified=!0,function(e){const t=HI(e);console.warn(mn(2964,`${t} 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.`))}(r)))});return e.observe({type:"largest-contentful-paint",buffered:!0}),e}registerImage(e,t,n){if(!this.observer)return;const i={priority:n,modified:!1,alreadyWarnedModified:!1,alreadyWarnedPriority:!1};this.images.set(NI(e,this.window).href,i)}unregisterImage(e){this.observer&&this.images.delete(NI(e,this.window).href)}updateImage(e,t){if(!this.observer)return;const n=NI(e,this.window).href,i=this.images.get(n);i&&(i.modified=!0,this.images.set(NI(t,this.window).href,i),this.images.delete(n))}ngOnDestroy(){this.observer&&(this.observer.disconnect(),this.images.clear())}}II=zI,xI(zI,"ɵfac",function(e){return new(e||II)}),xI(zI,"ɵprov",Fn({token:II,factory:II.ɵfac,providedIn:"root"}));const qI=new Set(["localhost","127.0.0.1","0.0.0.0"]),UI=new $n("");class jI{constructor(){xI(this,"document",bi(ME)),xI(this,"preconnectLinks",null),xI(this,"alreadySeen",new Set),xI(this,"window",this.document.defaultView),xI(this,"blocklist",new Set(qI)),BI("preconnect link checker");const e=bi(UI,{optional:!0});e&&this.populateBlocklist(e)}populateBlocklist(e){Array.isArray(e)?VI(e,e=>{this.blocklist.add(MI(e))}):this.blocklist.add(MI(e))}assertPreconnect(e,t){var n;if("undefined"!=typeof ngServerMode&&ngServerMode)return;const i=NI(e,this.window);this.blocklist.has(i.hostname)||this.alreadySeen.has(i.origin)||(this.alreadySeen.add(i.origin),null!==(n=this.preconnectLinks)&&void 0!==n||(this.preconnectLinks=this.queryPreconnectLinks()),this.preconnectLinks.has(i.origin)||console.warn(mn(2956,`${HI(t)} 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="${i.origin}">`)))}queryPreconnectLinks(){const e=new Set,t=this.document.querySelectorAll("link[rel=preconnect]");for(const n of t){const t=NI(n.href,this.window);e.add(t.origin)}return e}ngOnDestroy(){var e;null===(e=this.preconnectLinks)||void 0===e||e.clear(),this.alreadySeen.clear()}}function VI(e,t){for(let n of e)Array.isArray(n)?VI(n,t):t(n)}SI=jI,xI(jI,"ɵfac",function(e){return new(e||SI)}),xI(jI,"ɵprov",Fn({token:SI,factory:SI.ɵfac,providedIn:"root"}));const WI=new $n("",{providedIn:"root",factory:()=>new Set});class $I{constructor(){xI(this,"preloadedImages",bi(WI)),xI(this,"document",bi(ME)),xI(this,"errorShown",!1)}createPreloadLinkTag(e,t,n,i){if(this.preloadedImages.has(t))return;this.preloadedImages.add(t);const r=e.createElement("link");e.setAttribute(r,"as","image"),e.setAttribute(r,"href",t),e.setAttribute(r,"rel","preload"),e.setAttribute(r,"fetchpriority","high"),i&&e.setAttribute(r,"imageSizes",i),n&&e.setAttribute(r,"imageSrcset",n),e.appendChild(this.document.head,r)}}AI=$I,xI($I,"ɵfac",function(e){return new(e||AI)}),xI($I,"ɵprov",Fn({token:AI,factory:AI.ɵfac,providedIn:"root"}));const GI=/^((\s*\d+w\s*(,|$)){1,})$/,YI=[1,2];class QI{constructor(){xI(this,"imageLoader",bi(FI)),xI(this,"config",function(e){let t={};e.breakpoints&&(t.breakpoints=e.breakpoints.sort((e,t)=>e-t));return Object.assign({},hl,e,t)}(bi(pl))),xI(this,"renderer",bi(qh)),xI(this,"imgElement",bi(Ua).nativeElement),xI(this,"injector",bi(fa)),xI(this,"lcpObserver",void 0),xI(this,"_renderedSrc",null),xI(this,"ngSrc",void 0),xI(this,"ngSrcset",void 0),xI(this,"sizes",void 0),xI(this,"width",void 0),xI(this,"height",void 0),xI(this,"loading",void 0),xI(this,"priority",!1),xI(this,"loaderParams",void 0),xI(this,"disableOptimizedSrcset",!1),xI(this,"fill",!1),xI(this,"placeholder",void 0),xI(this,"placeholderConfig",void 0),xI(this,"src",void 0),xI(this,"srcset",void 0)}ngOnInit(){El("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 e=this.updateSrcAndSrcset();if(this.sizes?"lazy"===this.getLoadingBehavior()?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&GI.test(this.ngSrcset)&&"lazy"===this.getLoadingBehavior()&&this.setHostAttribute("sizes","auto, 100vw"),"undefined"!=typeof ngServerMode&&ngServerMode&&this.priority){this.injector.get($I).createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),e,this.sizes)}}ngOnChanges(e){e.ngSrc&&!e.ngSrc.isFirstChange()&&(this._renderedSrc,this.updateSrcAndSrcset(!0))}callImageLoader(e){let t=e;return this.loaderParams&&(t.loaderParams=this.loaderParams),this.imageLoader(t)}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 e={src:this.ngSrc};this._renderedSrc=this.callImageLoader(e)}return this._renderedSrc}getRewrittenSrcset(){const e=GI.test(this.ngSrcset);return this.ngSrcset.split(",").filter(e=>""!==e).map(t=>{t=t.trim();const n=e?parseFloat(t):parseFloat(t)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:n})} ${t}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){var e;const{breakpoints:t}=this.config;let n=t;"100vw"===(null===(e=this.sizes)||void 0===e?void 0:e.trim())&&(n=t.filter(e=>e>=640));return n.map(e=>`${this.callImageLoader({src:this.ngSrc,width:e})} ${e}w`).join(", ")}updateSrcAndSrcset(e=!1){e&&(this._renderedSrc=null);const t=this.getRewrittenSrc();let n;return this.setHostAttribute("src",t),this.ngSrcset?n=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(n=this.getAutomaticSrcset()),n&&this.setHostAttribute("srcset",n),n}getFixedSrcset(){return YI.map(e=>`${this.callImageLoader({src:this.ngSrc,width:this.width*e})} ${e}x`).join(", ")}shouldGenerateAutomaticSrcset(){let e=!1;return this.sizes||(e=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==PI&&!e}generatePlaceholder(e){const{placeholderResolution:t}=this.config;return!0===e?`url(${this.callImageLoader({src:this.ngSrc,width:t,isPlaceholder:!0})})`:"string"==typeof e?`url(${e})`:null}shouldBlurPlaceholder(e){return!e||!e.hasOwnProperty("blur")||Boolean(e.blur)}removePlaceholderOnLoad(e){const t=()=>{const e=this.injector.get(Xw);n(),i(),this.placeholder=!1,e.markForCheck()},n=this.renderer.listen(e,"load",t),i=this.renderer.listen(e,"error",t);!function(e,t){e.complete&&e.naturalWidth&&t()}(e,t)}setHostAttribute(e,t){this.renderer.setAttribute(this.imgElement,e,t)}}function ZI(e){return"string"==typeof e?e:Rc(e)}function KI(e){return"string"==typeof e&&"true"!==e&&"false"!==e&&""!==e?e:mE(e)}function XI(){let e=!1;try{e="undefined"!=typeof document&&"undefined"!=typeof window}catch(e){}return e&&!eS()}function JI(){return"DEV"==AS.getEnv()&&((XI()||eS())&&window.isLocalEv||tS()&&global.isLOCAL)}function eS(){let e=!1;try{e=window.top.cordova&&window.top.cordova.platformId}catch(e){}return!!e}function tS(){let e=!1;try{e="undefined"!=typeof document&&"undefined"!=typeof window}catch(e){}return!e}RI=QI,xI(QI,"ɵfac",function(e){return new(e||RI)}),xI(QI,"ɵdir",cf({type:RI,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(e,t){2&e&&$_("position",t.fill?"absolute":null)("width",t.fill?"100%":null)("height",t.fill?"100%":null)("inset",t.fill?"0":null)("background-size",t.placeholder?"cover":null)("background-position",t.placeholder?"50% 50%":null)("background-repeat",t.placeholder?"no-repeat":null)("background-image",t.placeholder?t.generatePlaceholder(t.placeholder):null)("filter",t.placeholder&&t.shouldBlurPlaceholder(t.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",ZI],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",vE],height:[2,"height","height",vE],loading:"loading",priority:[2,"priority","priority",mE],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",mE],fill:[2,"fill","fill",mE],placeholder:[2,"placeholder","placeholder",KI],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[Gr]}));let nS=null;function iS(){return null==nS&&(nS=function(){let e=!1;try{e="undefined"!=typeof document&&"undefined"!=typeof window,e&&(e=window&&(window.JSTESTING||window.jasmine))}catch(e){}return e}()),nS}function rS(){return"DEV"==AS.getEnv()}function sS(e){return String.prototype.trim?String.prototype.trim.call(e):e.replace(/(^\s*|\s*$)/gm,"")}function oS(e){return"string"==typeof e}function aS(e){if(!oS(e))throw new TypeError("stringGetDigits called on a non-string. The given value is "+typeof e);return sS(e).replace(/[^0-9]/g,"")}function lS(e,t){return"number"==typeof e&&isFinite(e)}function cS(e){if(oS(e)){var t=e.trim(),n=t.replace(/[^0-9.]/g,"");0==t.indexOf("-")&&(n="-"+n);var i=parseFloat(n);return lS(i)?i:null}return lS(e)?e:null}function uS(e,t=0,n="$",i=",",r=".",s=!1){let o=t=Math.abs(t);t=!isNaN(t)&&t>0?Math.pow(10,t):1,i=i||",",r=r||".";let a=e<0?"-":"";e=Math.round(Math.abs(+e||0)*t)/t;let l=parseInt(e.toString(),10)+"",c=l.length,u=c>3?c%3:0,d=a+n+(u?l.substring(0,u)+i:"")+l.substring(u).replace(/(\d{3})(?=\d)/g,"$1"+i);if(s&&o){d+=r+(Math.round(Math.abs(e-l)*t)/t).toString().substring(2).padEnd(o,"0")}else t>1&&Math.round(Math.abs(e-l)>0)&&(d+=r+(Math.round(Math.abs(e-l)*t)/t).toString().substring(2));return d}function dS(e){return Array.isArray(e)}function hS(e,t,n=e){if(!dS(e))throw new TypeError("forEach called on a non-array type value. The given value is "+typeof e);let i;n||(n=e);let r=0,s=e.length;for(;r<s&&(i=t.call(n,e[r],r,e),"boolean"!=typeof i||i);)r++}function pS(e){return"function"==typeof e}function fS(e){return null!==e&&"object"==typeof e&&!dS(e)}function gS(e,t=!0,n=!1){let i=Object.keys(e),r=[];return hS(i,i=>{n&&null===e[i]||r.push(encodeURIComponent(i)+"="+(t?encodeURIComponent(e[i]):e[i]))}),r.join("&")}function _S(e,t=null,n=!1){let i={};return e.split("&").forEach(e=>{const[r,s]=e.split("=");if(void 0!==s){let e=t;try{e=""===r?s:decodeURIComponent(s)}catch(e){}n?(i.params||(i.params={},i.paramstring=""),i.params[r]=e,i.paramstring&&(i.paramstring+="&"),i.paramstring+=`${r}=${s}`):i[r]=e}else r&&(n?(i.nulls||(i.nulls={}),i.nulls[r]=t):i[r]=t)}),i}function mS(e,t,n=e){var i,r=n||e;if(!fS(e))throw new TypeError("Object.forEach called on non-object. The given value is "+typeof e);if(!pS(t))throw new TypeError("The given iterator is not a function");for(var s in e){if("hasOwn"in Object){if(!Object.hasOwn(e,s))continue}else if(e.hasOwnProperty&&!e.hasOwnProperty(s))continue;if("boolean"==typeof(i=t.apply(r,[e[s],s]))&&!i)break}}function vS(e,t,n=!1){if(!fS(t)&&!dS(t))return t;let i,r=!dS(t),s=0,o=0;if(i=n?bS(e):e,!r){for(dS(i)||(i=[]),o=t.length;s<o;s++)i[s]=void 0===i[s]?t[s]:vS(i[s],t[s]);return t}{fS(i)||(i={});let e=Object.keys(t);for(o=e.length;s<o;s++){let n=e[s];i[n]=vS(i[n]||{},t[n])}}return i}function bS(e){if(!fS(e)&&!dS(e))return e;let t=!dS(e),n=t?{}:[],i=0,r=0;if(t){let t=Object.keys(e);for(r=t.length;i<r;i++){let r=t[i];n[r]=bS(e[r])}}else for(r=e.length;i<r;i++)n[i]=bS(e[i]);return n}function yS(e,t,n=!1){if(!fS(e)||!fS(t))throw new TypeError("First or second argument is not an json object");return vS(e,t,n)}function wS(e,t){return t.includes(e)}function ES(e){return null==e||void 0===e}let TS={};function CS(e,t){var n;void 0===e&&(e="");var i=function(e,t){return t<(e=parseInt(e,10).toString(16)).length?e.slice(e.length-t):t>e.length?Array(t-e.length+1).join("0")+e:e};return TS||(TS={}),TS.uniqidSeed||(TS.uniqidSeed=Math.floor(123456789*Math.random())),TS.uniqidSeed++,n=e,n+=i(parseInt(((new Date).getTime()/1e3).toString(),10),8),n+=i(TS.uniqidSeed,5),t&&(n+=(10*Math.random()).toFixed(8).toString()),n}const IS=function(){var e;if("undefined"!=typeof window){if(window.requestAnimationFrame)return function(e,t){return window.requestAnimationFrame.apply(window,[e,t])};var t=0;e=function(e){var n=(new Date).getTime(),i=Math.max(0,16-(n-t)),r=window.setTimeout(function(){e(n+i)},i);return t=n+i,r}}else e=function(e){e()};return e}(),SS=function(){let e=null;return function(){if(tS())return!1;if(null!==e)return e;e=!1;try{var t=function(){window.removeEventListener("test",t)},n=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",t,n)}catch(e){}return e}}(),AS=function(){let e;return{getEnv:()=>e,setEnv:t=>{e=t}}}();function RS(e,t,n){const i=e.findIndex(e=>e.label===t),r=e.findIndex(e=>e.label===n);if(-1!==i&&-1!==r){const t=e[i];e[i]=e[r],e[r]=t}return e}function xS(){return new Promise(e=>{setTimeout(e,0)})}const DS={everydayCheckingLowBalance:"Everyday checking with a low balance",everydayCheckingBelowAverageBalance:"Everyday checking with a below-average balance",everydayCheckingAverageBalance:"Everyday checking with an average balance",everydayCheckingAboveAverageBalance:"Everyday checking with an above-average balance",everydayCheckingHighBalance:"Everyday checking with a high balance",everydayCheckingTraveler:"Everyday checking for an international traveler",everydayCheckingStudent:"Everyday checking for students",everydayCheckingCashBusiness:"Everyday checking for cash businesses",everydayCheckingBusiness:"Everyday checking for businesses",savingSmallAmount:"Saving a small amount",savingBelowAverageAmount:"Saving a below-average amount",savingAverageAmount:"Saving an average amount",savingAboveAverageAmount:"Saving an above-average amount",savingLargeAmount:"Saving a large amount",savingStudent:"Saving for students",savingBusiness:"Saving for businesses",savingSmallAmount3Months:"Saving a small amount for 3 months",savingBelowAverageAmount3Months:"Saving a below-average amount for 3 months",savingAverageAmount3Months:"Saving an average amount for 3 months",savingAboveAverageAmount3Months:"Saving an above-average amount for 3 months",savingLargeAmount3Months:"Saving a large amount for 3 months",savingSmallAmount6Months:"Saving a small amount for 6 months",savingBelowAverageAmount6Months:"Saving a below-average amount for 6 months",savingAverageAmount6Months:"Saving an average amount for 6 months",savingAboveAverageAmount6Months:"Saving an above-average amount for 6 months",savingLargeAmount6Months:"Saving a large amount for 6 months",savingSmallAmount12Months:"Saving a small amount for 12 months",savingBelowAverageAmount12Months:"Saving a below-average amount for 12 months",savingAverageAmount12Months:"Saving an average amount for 12 months",savingAboveAverageAmount12Months:"Saving an above-average amount for 12 months",savingLargeAmount12Months:"Saving a large amount for 12 months",savingSmallAmount24Months:"Saving a small amount for 24 months",savingBelowAverageAmount24Months:"Saving a below-average amount for 24 months",savingAverageAmount24Months:"Saving an average amount for 24 months",savingAboveAverageAmount24Months:"Saving an above-average amount for 24 months",savingLargeAmount24Months:"Saving a large amount for 24 months",savingSmallAmount36Months:"Saving a small amount for 36 months",savingBelowAverageAmount36Months:"Saving a below-average amount for 36 months",savingAverageAmount36Months:"Saving an average amount for 36 months",savingAboveAverageAmount36Months:"Saving an above-average amount for 36 months",savingLargeAmount36Months:"Saving a large amount for 36 months",savingSmallAmount60Months:"Saving a small amount for 60 months",savingBelowAverageAmount60Months:"Saving a below-average amount for 60 months",savingAverageAmount60Months:"Saving an average amount for 60 months",savingAboveAverageAmount60Months:"Saving an above-average amount for 60 months",savingLargeAmount60Months:"Saving a large amount for 60 months",savingBusiness3Months:"Saving for businesses for 3 months",savingBusiness6Months:"Saving for businesses for 6 months",savingBusiness12Months:"Saving for businesses for 12 months",savingBusiness24Months:"Saving for businesses for 24 months",savingBusiness36Months:"Saving for businesses for 36 months",savingBusiness60Months:"Saving for businesses for 60 months"};class kS{CloseMobKeyboard(e){e.target!=document.activeElement&&(document.activeElement instanceof HTMLInputElement||document.activeElement instanceof HTMLTextAreaElement)&&document.activeElement.blur()}constructor(e,t){this.el=e,this._zone=t}ngOnInit(){this.CloseMobKeyboard=this.CloseMobKeyboard.bind(this),tS()||iS()||document.addEventListener("click",this.CloseMobKeyboard)}ngAfterViewInit(){}ngOnDestroy(){tS()||iS()||document.removeEventListener("click",this.CloseMobKeyboard)}}kS.ɵfac=function(e){return new(e||kS)(ep(Ua),ep(ka))},kS.ɵdir=cf({type:kS,selectors:[["","zing-region",""]],standalone:!1});class OS{constructor(e,t,n){this.el=e,this._zone=t,this._render=n,this.onTap=new Ca,this.onTapHover=new Ca,this.onTapOutside=new Ca,this.onTapHoverOutside=new Ca,this.onTapDoc=new Ca,this.onClickDoc=new Ca,this.onTapUrl=new Ca,this.onClick=new Ca,this.onClickOutside=new Ca,this.zingTouch=!1,this.zingSlider=!1,this.zingUrl=!1,this.zingUrlContainer=!1,this.zingUrlContainerTarget=null,this.zingUrlFeedback=!1,this.zingNoTouch=!1,this.onSwipeLeft=new Ca,this.onSwipeRight=new Ca,this.onSwipeUp=new Ca,this.onSwipeDown=new Ca,this.onPan=new Ca,this.onPanEnd=new Ca,this.zingTapDelay=0,this._eventsDestroyCallbacks=[]}_eventsDestroyCallbacksTrigger(){this._eventsDestroyCallbacks.forEach(e=>{e()}),this._eventsDestroyCallbacks=[]}specialEventsDestroy(e){this._eventsDestroyCallbacks.indexOf(e)<0&&this._eventsDestroyCallbacks.push(e)}ngAfterViewInit(){try{tS()&&this._render&&this.el&&this.el.nativeElement&&this.el.nativeElement.removeAttribute&&this._render.removeAttribute(this.el.nativeElement,"zing-touch")}catch(e){}if(tS()||iS())return;const e=(e,t)=>{if(e.target==t)return!0;const n=e;if(n&&"function"==typeof n.composedPath)try{return n.composedPath().includes(t)}catch(e){}return t.contains(e.target)};this.hmEl=this.el.nativeElement;const t=e=>{this.onTap.observed?this.onTap.emit(e):this.onClick.emit(e)};if(this.onTap.observed||this.onClick.observed){const n=this.onClickOutside.observed||this.onTapOutside.observed,i=e=>{const i=!n||this.el.nativeElement.hasAttribute("data-tap-bubbles");this._zone.run(()=>{t(e)}),i||e.stopPropagation()},r=t=>{e(t,this.el.nativeElement)||this._zone.run(()=>{var e,n;(null===(e=this.onTapOutside)||void 0===e?void 0:e.observed)?this.onTapOutside.emit(t):null===(n=this.onClickOutside)||void 0===n||n.emit(t)})};this._zone.runOutsideAngular(()=>{this.hmEl.addEventListener("click",i),n&&document.addEventListener("click",r)}),this.specialEventsDestroy(()=>{this.hmEl&&this.hmEl.removeEventListener("click",i),n&&document.removeEventListener("click",r)})}if(this.onTapHover.observed){var n=!1;let t=this.onTapHoverOutside.observed;t||this._zone.runOutsideAngular(()=>{this.hmEl.addEventListener("click",e=>{n=!0,this._zone.run(()=>{this.onTapHover.emit(e)})})});let i=e=>{n?n=!1:this._zone.run(()=>{this.onTapHover.emit(e)})};if(this._zone.runOutsideAngular(()=>{this.hmEl.addEventListener("mouseenter",i)}),t){let t=!1;(()=>{const r=e=>{n=!0,this._zone.run(()=>{this.onTapHover.emit(e)})},s=n=>{e(n,this.hmEl)||(t=!0,this._zone.run(()=>{this.onTapHoverOutside.emit(n)}))},o=e=>{t?t=!1:this.onTapHoverOutside.emit(e)};this._zone.runOutsideAngular(()=>{this.hmEl.addEventListener("mouseleave",o),this.hmEl.addEventListener("click",r),document.addEventListener("click",s)}),this.specialEventsDestroy(()=>{this.hmEl&&this.hmEl.removeEventListener("click",r),document.removeEventListener("click",s),this.el&&this.el.nativeElement&&(this.hmEl.removeEventListener("mouseleave",o),this.hmEl.removeEventListener("mouseenter",i))})})()}}!this.onTapDoc.observed||this.onTapHoverOutside.observed||this.onTapOutside.observed||this._zone.runOutsideAngular(()=>{let t=e=>{e.stopPropagation()};this.hmEl.addEventListener("click",t);const n=t=>{e(t,this.hmEl)||setTimeout(()=>{this._zone.run(()=>{this.onTapDoc.emit(t)})})};document.addEventListener("click",n),this.specialEventsDestroy(()=>{this.hmEl&&this.hmEl.removeEventListener("click",t),document.removeEventListener("click",n)})})}ngOnDestroy(){this.the_slider&&(this.the_slider=null),this._eventsDestroyCallbacksTrigger(),this.hmEl=!1}}OS.ɵfac=function(e){return new(e||OS)(ep(Ua),ep(ka),ep(qh,8))},OS.ɵdir=cf({type:OS,selectors:[["","zing-touch",""]],inputs:{zingTouch:[0,"zing-feedback","zingTouch"],zingSlider:"zingSlider",zingUrl:[0,"zing-url","zingUrl"],zingUrlContainer:[0,"zing-url-container","zingUrlContainer"],zingUrlContainerTarget:[0,"zing-url-container-target","zingUrlContainerTarget"],zingUrlFeedback:[0,"zing-url-feedback","zingUrlFeedback"],zingNoTouch:[0,"zing-no-touch","zingNoTouch"],zingAllow:[0,"zing-allow-action","zingAllow"],zingAllowSwipeUpDown:[0,"zing-allow-swipe-up-down","zingAllowSwipeUpDown"],zingTapDelay:[0,"zing-tap-delay","zingTapDelay"]},outputs:{onTap:"onTap",onTapHover:"onTapHover",onTapOutside:"onTapOutside",onTapHoverOutside:"onTapHoverOutside",onTapDoc:"onTapDoc",onClickDoc:"onClickDoc",onTapUrl:"onTapUrl",onClick:"onClick",onClickOutside:"onClickOutside",onSwipeLeft:"onSwipeLeft",onSwipeRight:"onSwipeRight",onSwipeUp:"onSwipeUp",onSwipeDown:"onSwipeDown",onPan:"onPan",onPanEnd:"onPanEnd"},standalone:!1});class NS{static get TouchGestures(){return OS}}function LS(e){return e&&"getComputedStyle"in window&&"smooth"===window.getComputedStyle(e)["scroll-behavior"]}function MS(e,t,n){var i;t=t||999,n||0===n||(n=9);var r=function(e){i=e},s=function(){clearTimeout(i),r(0)},o=function(t){return Math.max(0,e.getTopOf(t)-n)},a=function(n,i,o){if(s(),0===i||i&&i<0||LS(e.body))e.toY(n),o&&o();else{var a=e.getY(),l=Math.max(0,n)-a,c=(new Date).getTime();i=i||Math.min(Math.abs(l),t),function t(){r(setTimeout(function(){var n=Math.min(1,((new Date).getTime()-c)/i),r=Math.max(0,Math.floor(a+l*(n<.5?2*n*n:n*(4-2*n)-1)));e.toY(r),n<1&&e.getHeight()+r<e.body.scrollHeight?t():(setTimeout(s,99),o&&o())},9))}()}},l=function(e,t,n){a(o(e),t,n)};return{setup:function(e,i){return(0===e||e)&&(t=e),(0===i||i)&&(n=i),{defaultDuration:t,edgeOffset:n}},to:l,toY:a,intoView:function(t,i,r){var s=t.getBoundingClientRect().height,c=e.getTopOf(t)+s,u=e.getHeight(),d=e.getY(),h=d+u;o(t)<d||s+n>u?l(t,i,r):c+n>h?a(c-u+n,i,r):r&&r()},center:function(t,n,i,r){a(Math.max(0,e.getTopOf(t)-e.getHeight()/2+(i||t.getBoundingClientRect().height/2)),n,r)},stop:s,moving:function(){return!!i},getY:e.getY,getTopOf:e.getTopOf}}NS.ɵfac=function(e){return new(e||NS)},NS.ɵmod=of({type:NS}),NS.ɵinj=Hn({});let PS={};if("undefined"!=typeof window&&"document"in window){const FG=document.documentElement;function HG(){return window.scrollY||FG.scrollTop}if(PS=MS({body:document.scrollingElement||document.body,toY:function(e){window.scrollTo(0,e)},getY:HG,getHeight:function(){return window.innerHeight||FG.clientHeight},getTopOf:function(e){return e.getBoundingClientRect().top+HG()-FG.offsetTop}}),PS.createScroller=function(e,t,n){return MS({body:e,toY:function(t){e.scrollTop=t},getY:function(){return e.scrollTop},getHeight:function(){return Math.min(e.clientHeight,window.innerHeight||FG.clientHeight)},getTopOf:function(e){return e.offsetTop}},t,n)},"addEventListener"in window&&!LS(document.body)){var FS="history"in window&&"pushState"in history,HS=FS&&"scrollRestoration"in history;HS&&(history.scrollRestoration="auto"),window.addEventListener("load",function(){HS&&(setTimeout(function(){history.scrollRestoration="manual"},9),window.addEventListener("popstate",function(e){e.state&&"zenscrollY"in e.state&&PS.toY(e.state.zenscrollY)},!1)),window.location.hash&&setTimeout(function(){var e=PS.setup().edgeOffset;if(e){var t=document.getElementById(window.location.href.split("#")[1]);if(t){var n=Math.max(0,PS.getTopOf(t)-e),i=PS.getY()-n;0<=i&&i<9&&window.scrollTo(0,n)}}},9)},!1);var BS=new RegExp("(^|\\s)noZensmooth(\\s|$)");window.addEventListener("click",function(e){let t=e.target;for(;t&&"A"!==t.tagName;)t=t.parentNode;if(!t||1!==e.which||e.shiftKey||e.metaKey||e.ctrlKey||e.altKey)return;if(HS){var n=history.state&&"object"==typeof history.state?history.state:{};n.zenscrollY=PS.getY();try{history.replaceState(n,"")}catch(e){}}let i=t.getAttribute("href")||"";if(0===i.indexOf("#")&&!BS.test(t.className)){let t=0,n=document.getElementById(i.substring(1));if("#"!==i){if(!n)return;t=PS.getTopOf(n)}e.preventDefault();var r=function(){window.location=i},s=PS.setup().edgeOffset;s&&(t=Math.max(0,t-s),FS&&(r=function(){history.pushState({},"",i)})),PS.toY(t,null,r)}},!1)}}var zS=PS;const qS=["pageScrollEl"];let US,jS;class VS{constructor(){this._internalEvents={_isScrollable:new Ne(!0),_scrollTo:new ke,_onScroll:new Ne(0),_zenScrollRegionResolve:null,_zenScrollRegionReject:null,_zenScrollRegionGet:null},this._internalEvents._zenScrollRegionGet=new Promise((e,t)=>{this._internalEvents._zenScrollRegionResolve=e,this._internalEvents._zenScrollRegionReject=t}),this.onScroll=this._internalEvents._onScroll}scrollTo(e){let t={timing:300,offset:0};return Object.assign(t,e),new Promise(e=>{t.onDone=e,this._internalEvents._scrollTo.next(t)})}canScroll(e){this._internalEvents._isScrollable.next(e)}UseBodyScroll(){this._use_body=!0}get element(){return US}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()}}VS.ɵfac=function(e){return new(e||VS)},VS.ɵprov=Fn({token:VS,factory:VS.ɵfac});class WS{get noScroll(){return this._noscroll}set noScroll(e){this._noscroll=e,this._service.element&&(e?(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(e){this._selfoffset=e}get sefoffset(){return this._selfoffset}set freezeScroll(e){e!==this._freeze_scroll&&(this.noScroll=e,e&&this.freezeToTop&&this._bodyFallbackPosition(0)),this._freeze_scroll=e}get freezeScroll(){return this._freeze_scroll}_bodyFallbackTarget(e,t=0){const n=e.getBoundingClientRect().top,i=US.scrollTop;this._zone.runOutsideAngular(()=>{let e;e=n>=t?n-t:-1*(t-n),US.scrollTop=i+e})}_bodyFallbackPosition(e){US&&(US.scrollTop=e)}_onScroll(e){let t=US.scrollTop,n=this.use_body?1/0:US.scrollHeight-US.clientHeight;t<0?t=0:t>n&&(t=n),this._zone.run(()=>{this._service._internalEvents._onScroll.next(t)})}constructor(e,t,n,i){this.el=e,this._zone=t,this._render=n,this._service=i,this.useZen=!1,this.use_body=!1,this.main_header_offset="",this._selfoffset=!1,this._freeze_scroll=!1,this.freezeToTop=!1,this._subscriptions=[],this._onScroll=this._onScroll.bind(this),this._service.overwrite_to_body&&(this.use_body=!0)}ngOnInit(){if(tS())this._render.removeAttribute(this.el.nativeElement,"scroll-region");else{US=this.el.nativeElement,this.use_body&&this._service.UseBodyScroll();let e=0;this._subscriptions.push(this._service._internalEvents._isScrollable.subscribe(t=>{t?e--:e++,e<0&&(e=0),this._zone.run(()=>{this.noScroll=!(0===e)})})),this.use_body?(US=document.scrollingElement||document.documentElement,"scrollRestoration"in history&&(history.scrollRestoration="manual")):document.querySelector("html").removeAttribute("scroll-region"),(this.use_body?document.querySelector("html"):US).setAttribute("scroll-region","active"),this._subscriptions.push(this._service._internalEvents._scrollTo.subscribe(e=>{!e.nozen&&jS?this._service._internalEvents._zenScrollRegionGet.then(t=>{let n=US.getBoundingClientRect(),i=e=>{if(this._sticky_header){jS.getY()-e>25&&(e-=this._sticky_header.offsetHeight)}return e},r=()=>{pS(e.onDone)&&e.onDone()};if((()=>{let e=this._selfoffset?n.top:0;t.setup(null,e)})(),e.target){let t=e.target.offsetTop,n=e.target.offsetParent;for(;n&&n!=US;)t+=n.offsetTop,n=n.offsetParent;if(e.inview){let n=e.target.offsetHeight,i=window.innerHeight,r=n+t-i,s=US.scrollTop;if(r>s){let n=r+10;e.timing=300*Math.min(100,n-100*s/500)/100,t=n}else if(t<=s+i)return}t=i(t),t+=e.offset||0,null==jS||jS.toY(t,e.timing,r)}else e.position+=e.offset||0,e.position=i(e.position),null==jS||jS.toY(e.position,e.timing,r)}):(e.target?this._bodyFallbackTarget(e.target,e.offset||0):this._bodyFallbackPosition(e.position),pS(e.onDone)&&e.onDone())}))}this._service._internalEvents._zenScrollRegionGet.catch(()=>{}),this.useZen&&!tS()?(this._zone.runOutsideAngular(()=>{jS=zS.createScroller(US,300,0),this._service._internalEvents._zenScrollRegionResolve(zS)}),this._zone.runOutsideAngular(()=>{let e=!!SS()&&{passive:!0};(this.use_body?window:US).addEventListener("scroll",this._onScroll,e)}),this._onScroll(US.scrollTop)):this._service._internalEvents._zenScrollRegionReject()}ngOnDestroy(){if(!tS()){let e=this.use_body?window:US;e&&e.removeEventListener("scroll",this._onScroll);let t=this.use_body?document.querySelector("html"):US;t&&t.removeAttribute("scroll-region"),this._zone.run(()=>{this.noScroll=!1})}US=null,jS=null,this._subscriptions.forEach(e=>{try{e.unsubscribe()}catch(e){}})}ngAfterViewInit(){if(this.main_header_offset&&!tS())try{this._sticky_header=document.querySelector(this.main_header_offset)}catch(e){}}}WS.ɵfac=function(e){return new(e||WS)(ep(Ua),ep(ka),ep(qh),ep(VS))},WS.ɵdir=cf({type:WS,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"],freezeScroll:[0,"scroll-freeze","freezeScroll"],freezeToTop:[0,"freeze-to-top","freezeToTop"]}});class $S{_scrollNotify(){this._zone.run(()=>{this.scrolled.emit(this._target.offsetTop-this.offset)})}set scrollToMe(e){tS()||iS()||this._to_me===e||!e||this._scrollExecute(),this._to_me=e}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(){!tS()&&oS(this._scrollParent)&&(this._scrollArea=document.querySelector(this._scrollParent),this._scrollArea&&(this._scrollArea.style.scrollBehavior="smooth"))}constructor(e,t,n){this._zone=t,this._service=n,this.useZen=!0,this.zenSpeed=350,this.offset=0,this.scrolled=new Ca,this._to_me=!1,this._target=e.nativeElement}}$S.ɵfac=function(e){return new(e||$S)(ep(Ua),ep(ka),ep(VS))},$S.ɵdir=cf({type:$S,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"}});class GS extends $S{}GS.ɵfac=(()=>{let e;return function(t){return(e||(e=Jo(GS)))(t||GS)}})(),GS.ɵdir=cf({type:GS,selectors:[["","scroll-to",""]],standalone:!1,features:[gf]});class YS{constructor(e){this._el=e}_lockScroll(e){e.preventDefault()}ngOnInit(){tS()||(this._el.nativeElement.addEventListener("touchstart",this._lockScroll),this._el.nativeElement.addEventListener("touchmove",this._lockScroll))}ngOnDestroy(){if(!tS()&&this._el&&this._el.nativeElement){const e=this._el.nativeElement;e.removeEventListener("touchstart",this._lockScroll),e.removeEventListener("touchmove",this._lockScroll)}}}YS.ɵfac=function(e){return new(e||YS)(ep(Ua))},YS.ɵdir=cf({type:YS,selectors:[["","prevent-body-scroll",""]],standalone:!1});class QS{constructor(e){this._service=e,this.offset=0,this.btthr=50,this.disabled=!1,this._watchers=[],this.onView=new Ca}ngOnInit(){!tS()&&iS()}ngAfterViewInit(){let e=0,t={idx:null,pos:null};tS()||iS()||this._watchers.push(this._service.onScroll.subscribe(n=>{if(this.disabled)return;let i=window.innerHeight;this.pages.forEach((r,s)=>{if(!r||!r.nativeElement)return!0;let o=r.nativeElement.getBoundingClientRect(),a=o.top+(this.offset||0),l=o.bottom+(this.offset||0)-(this.btthr||0);if(n>=e)t=null,a<=0&&l>0&&this.onView.emit(s);else if(l>0&&l<=i){if(null==t)t={idx:s,pos:a};else{if(s!==t.idx&&a>=t.pos)return;t={idx:s,pos:a}}this.onView.emit(s)}else t&&t.idx==s&&(t={idx:s,pos:a})}),e=n}))}ngOnDestroy(){tS()||iS()||this._watchers.length>0&&this._watchers.forEach(e=>{e.unsubscribe()})}}QS.ɵfac=function(e){return new(e||QS)(ep(VS))},QS.ɵdir=cf({type:QS,selectors:[["","page-scrolling-container",""]],contentQueries:function(e,t,n){if(1&e&&bb(n,qS,5),2&e){let e;wb(e=Eb())&&(t.pages=e)}},inputs:{offset:[0,"scrolloffset","offset"],btthr:[0,"bottom-threshold","btthr"],disabled:[0,"pg-sc-container-disabled","disabled"]},outputs:{onView:"onView"},standalone:!1});class ZS{}function KS(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}ZS.ɵfac=function(e){return new(e||ZS)},ZS.ɵmod=of({type:ZS}),ZS.ɵinj=Hn({imports:[yI]});var XS="(prefers-reduced-motion: reduce)",JS={CREATED:1,MOUNTED:2,IDLE:3,MOVING:4,SCROLLING:5,DRAGGING:6,DESTROYED:7};function eA(e){e.length=0}function tA(e,t,n){return Array.prototype.slice.call(e,t,n)}function nA(e){return e.bind.apply(e,[null].concat(tA(arguments,1)))}var iA=setTimeout,rA=function(){};function sA(e){return requestAnimationFrame(e)}function oA(e,t){return typeof t===e}function aA(e){return!hA(e)&&oA("object",e)}var lA=Array.isArray,cA=nA(oA,"function"),uA=nA(oA,"string"),dA=nA(oA,"undefined");function hA(e){return null===e}function pA(e){try{return e instanceof(e.ownerDocument.defaultView||window).HTMLElement}catch(e){return!1}}function fA(e){return lA(e)?e:[e]}function gA(e,t){fA(e).forEach(t)}function _A(e,t){return e.indexOf(t)>-1}function mA(e,t){return e.push.apply(e,fA(t)),e}function vA(e,t,n){e&&gA(t,function(t){t&&e.classList[n?"add":"remove"](t)})}function bA(e,t){vA(e,uA(t)?t.split(" "):t,!0)}function yA(e,t){gA(t,e.appendChild.bind(e))}function wA(e,t){gA(e,function(e){var n=(t||e).parentNode;n&&n.insertBefore(e,t)})}function EA(e,t){return pA(e)&&(e.msMatchesSelector||e.matches).call(e,t)}function TA(e,t){var n=e?tA(e.children):[];return t?n.filter(function(e){return EA(e,t)}):n}function CA(e,t){return t?TA(e,t)[0]:e.firstElementChild}var IA=Object.keys;function SA(e,t,n){return e&&(n?IA(e).reverse():IA(e)).forEach(function(n){"__proto__"!==n&&t(e[n],n)}),e}function AA(e){return tA(arguments,1).forEach(function(t){SA(t,function(n,i){e[i]=t[i]})}),e}function RA(e){return tA(arguments,1).forEach(function(t){SA(t,function(t,n){lA(t)?e[n]=t.slice():aA(t)?e[n]=RA({},aA(e[n])?e[n]:{},t):e[n]=t})}),e}function xA(e,t){gA(t||IA(e),function(t){delete e[t]})}function DA(e,t){gA(e,function(e){gA(t,function(t){e&&e.removeAttribute(t)})})}function kA(e,t,n){aA(t)?SA(t,function(t,n){kA(e,n,t)}):gA(e,function(e){hA(n)||""===n?DA(e,t):e.setAttribute(t,String(n))})}function OA(e,t,n){var i=document.createElement(e);return t&&(uA(t)?bA(i,t):kA(i,t)),n&&yA(n,i),i}function NA(e,t,n){if(dA(n))return getComputedStyle(e)[t];hA(n)||(e.style[t]=""+n)}function LA(e,t){NA(e,"display",t)}function MA(e){e.setActive&&e.setActive()||e.focus({preventScroll:!0})}function PA(e,t){return e.getAttribute(t)}function FA(e,t){return e&&e.classList.contains(t)}function HA(e){return e.getBoundingClientRect()}function BA(e){gA(e,function(e){e&&e.parentNode&&e.parentNode.removeChild(e)})}function zA(e){return CA((new DOMParser).parseFromString(e,"text/html").body)}function qA(e,t){e.preventDefault(),t&&(e.stopPropagation(),e.stopImmediatePropagation())}function UA(e,t){return e&&e.querySelector(t)}function jA(e,t){return t?tA(e.querySelectorAll(t)):[]}function VA(e,t){vA(e,t,!1)}function WA(e){return e.timeStamp}function $A(e){return uA(e)?e:e?e+"px":""}var GA="splide",YA="data-"+GA;function QA(e,t){if(!e)throw new Error("["+GA+"] "+(t||""))}var ZA=Math.min,KA=Math.max,XA=Math.floor,JA=Math.ceil,eR=Math.abs;function tR(e,t,n){return eR(e-t)<n}function nR(e,t,n,i){var r=ZA(t,n),s=KA(t,n);return i?r<e&&e<s:r<=e&&e<=s}function iR(e,t,n){var i=ZA(t,n),r=KA(t,n);return ZA(KA(i,e),r)}function rR(e){return+(e>0)-+(e<0)}function sR(e,t){return gA(t,function(t){e=e.replace("%s",""+t)}),e}function oR(e){return e<10?"0"+e:""+e}var aR={};function lR(){var e=[];function t(e,t,n){gA(e,function(e){e&&gA(t,function(t){t.split(" ").forEach(function(t){var i=t.split(".");n(e,i[0],i[1])})})})}return{bind:function(n,i,r,s){t(n,i,function(t,n,i){var o="addEventListener"in t,a=o?t.removeEventListener.bind(t,n,r,s):t.removeListener.bind(t,r);o?t.addEventListener(n,r,s):t.addListener(r),e.push([t,n,i,r,a])})},unbind:function(n,i,r){t(n,i,function(t,n,i){e=e.filter(function(e){return!!(e[0]!==t||e[1]!==n||e[2]!==i||r&&e[3]!==r)||(e[4](),!1)})})},dispatch:function(e,t,n){var i,r=!0;return"function"==typeof CustomEvent?i=new CustomEvent(t,{bubbles:r,detail:n}):(i=document.createEvent("CustomEvent")).initCustomEvent(t,r,!1,n),e.dispatchEvent(i),i},destroy:function(){e.forEach(function(e){e[4]()}),eA(e)}}}var cR="mounted",uR="ready",dR="move",hR="moved",pR="click",fR="active",gR="inactive",_R="visible",mR="hidden",vR="refresh",bR="updated",yR="resize",wR="resized",ER="scroll",TR="scrolled",CR="destroy",IR="arrows:mounted",SR="navigation:mounted",AR="autoplay:play",RR="autoplay:pause",xR="lazyload:loaded",DR="sk",kR="sh",OR="ei";function NR(e){var t=e?e.event.bus:document.createDocumentFragment(),n=lR();return e&&e.event.on(CR,n.destroy),AA(n,{bus:t,on:function(e,i){n.bind(t,fA(e).join(" "),function(e){i.apply(i,lA(e.detail)?e.detail:[])})},off:nA(n.unbind,t),emit:function(e){n.dispatch(t,e,tA(arguments,1))}})}function LR(e,t,n,i){var r,s,o=Date.now,a=0,l=!0,c=0;function u(){if(!l){if(a=e?ZA((o()-r)/e,1):1,n&&n(a),a>=1&&(t(),r=o(),i&&++c>=i))return d();s=sA(u)}}function d(){l=!0}function h(){s&&cancelAnimationFrame(s),a=0,s=0,l=!0}return{start:function(t){t||h(),r=o()-(t?a*e:0),l=!1,s=sA(u)},rewind:function(){r=o(),a=0,n&&n(a)},pause:d,cancel:h,set:function(t){e=t},isPaused:function(){return l}}}var MR="Arrow",PR=MR+"Left",FR=MR+"Right",HR=MR+"Up",BR=MR+"Down",zR="ttb",qR={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[HR,FR],ArrowRight:[BR,PR]};var UR="role",jR="tabindex",VR="aria-",WR=VR+"controls",$R=VR+"current",GR=VR+"selected",YR=VR+"label",QR=VR+"labelledby",ZR=VR+"hidden",KR=VR+"orientation",XR=VR+"roledescription",JR=VR+"live",ex=VR+"busy",tx=VR+"atomic",nx=[UR,jR,"disabled",WR,$R,YR,QR,ZR,KR,XR],ix=GA+"__",rx="is-",sx=GA,ox=ix+"track",ax=ix+"list",lx=ix+"slide",cx=lx+"--clone",ux=lx+"__container",dx=ix+"arrows",hx=ix+"arrow",px=hx+"--prev",fx=hx+"--next",gx=ix+"pagination",_x=gx+"__page",mx=ix+"progress"+"__bar",vx=ix+"toggle",bx=ix+"sr",yx=rx+"initialized",wx=rx+"active",Ex=rx+"prev",Tx=rx+"next",Cx=rx+"visible",Ix=rx+"loading",Sx=rx+"focus-in",Ax=rx+"overflow",Rx=[wx,Cx,Ex,Tx,Ix,Sx,Ax],xx={slide:lx,clone:cx,arrows:dx,arrow:hx,prev:px,next:fx,pagination:gx,page:_x,spinner:ix+"spinner"};var Dx="touchstart mousedown",kx="touchmove mousemove",Ox="touchend touchcancel mouseup click";var Nx="slide",Lx="loop",Mx="fade";function Px(e,t,n,i){var r,s=NR(e),o=s.on,a=s.emit,l=s.bind,c=e.Components,u=e.root,d=e.options,h=d.isNavigation,p=d.updateOnMove,f=d.i18n,g=d.pagination,_=d.slideFocus,m=c.Direction.resolve,v=PA(i,"style"),b=PA(i,YR),y=n>-1,w=CA(i,"."+ux);function E(){var r=e.splides.map(function(e){var n=e.splide.Components.Slides.getAt(t);return n?n.slide.id:""}).join(" ");kA(i,YR,sR(f.slideX,(y?n:t)+1)),kA(i,WR,r),kA(i,UR,_?"button":""),_&&DA(i,XR)}function T(){r||C()}function C(){if(!r){var n=e.index;(s=I())!==FA(i,wx)&&(vA(i,wx,s),kA(i,$R,h&&s||""),a(s?fR:gR,S)),function(){var t=function(){if(e.is(Mx))return I();var t=HA(c.Elements.track),n=HA(i),r=m("left",!0),s=m("right",!0);return XA(t[r])<=JA(n[r])&&XA(n[s])<=JA(t[s])}(),n=!t&&(!I()||y);e.state.is([4,5])||kA(i,ZR,n||"");kA(jA(i,d.focusableNodes||""),jR,n?-1:""),_&&kA(i,jR,n?-1:0);t!==FA(i,Cx)&&(vA(i,Cx,t),a(t?_R:mR,S));if(!t&&document.activeElement===i){var r=c.Slides.getAt(e.index);r&&MA(r.slide)}}(),vA(i,Ex,t===n-1),vA(i,Tx,t===n+1)}var s}function I(){var i=e.index;return i===t||d.cloneStatus&&i===n}var S={index:t,slideIndex:n,slide:i,container:w,isClone:y,mount:function(){y||(i.id=u.id+"-slide"+oR(t+1),kA(i,UR,g?"tabpanel":"group"),kA(i,XR,f.slide),kA(i,YR,b||sR(f.slideLabel,[t+1,e.length]))),l(i,"click",nA(a,pR,S)),l(i,"keydown",nA(a,DR,S)),o([hR,kR,TR],C),o(SR,E),p&&o(dR,T)},destroy:function(){r=!0,s.destroy(),VA(i,Rx),DA(i,nx),kA(i,"style",v),kA(i,YR,b||"")},update:C,style:function(e,t,n){NA(n&&w||i,e,t)},isWithin:function(n,i){var r=eR(n-t);return y||!d.rewind&&!e.is(Lx)||(r=ZA(r,e.length-r)),r<=i}};return S}var Fx=YA+"-interval";var Hx={passive:!1,capture:!0};var Bx={Spacebar:" ",Right:FR,Left:PR,Up:HR,Down:BR};function zx(e){return e=uA(e)?e:e.key,Bx[e]||e}var qx="keydown";var Ux=YA+"-lazy",jx=Ux+"-srcset",Vx="["+Ux+"], ["+jx+"]";var Wx=[" ","Enter"];var $x=Object.freeze({__proto__:null,Media:function(e,t,n){var i=e.state,r=n.breakpoints||{},s=n.reducedMotion||{},o=lR(),a=[];function l(e){e&&o.destroy()}function c(e,t){var n=matchMedia(t);o.bind(n,"change",u),a.push([e,n])}function u(){var t=i.is(7),r=n.direction,s=a.reduce(function(e,t){return RA(e,t[1].matches?t[0]:{})},{});xA(n),d(s),n.destroy?e.destroy("completely"===n.destroy):t?(l(!0),e.mount()):r!==n.direction&&e.refresh()}function d(t,r,s){RA(n,t),r&&RA(Object.getPrototypeOf(n),t),!s&&i.is(1)||e.emit(bR,n)}return{setup:function(){var e="min"===n.mediaQuery;IA(r).sort(function(t,n){return e?+t-+n:+n-+t}).forEach(function(t){c(r[t],"("+(e?"min":"max")+"-width:"+t+"px)")}),c(s,XS),u()},destroy:l,reduce:function(e){matchMedia(XS).matches&&(e?RA(n,s):xA(n,IA(s)))},set:d}},Direction:function(e,t,n){return{resolve:function(e,t,i){var r="rtl"!==(i=i||n.direction)||t?i===zR?0:-1:1;return qR[e]&&qR[e][r]||e.replace(/width|left|right/i,function(e,t){var n=qR[e.toLowerCase()][r]||e;return t>0?n.charAt(0).toUpperCase()+n.slice(1):n})},orient:function(e){return e*("rtl"===n.direction?1:-1)}}},Elements:function(e,t,n){var i,r,s,o=NR(e),a=o.on,l=o.bind,c=e.root,u=n.i18n,d={},h=[],p=[],f=[];function g(){i=v("."+ox),r=CA(i,"."+ax),QA(i&&r,"A track/list element is missing."),mA(h,TA(r,"."+lx+":not(."+cx+")")),SA({arrows:dx,pagination:gx,prev:px,next:fx,bar:mx,toggle:vx},function(e,t){d[t]=v("."+e)}),AA(d,{root:c,track:i,list:r,slides:h}),function(){var e=c.id||(s=GA,""+s+oR(aR[s]=(aR[s]||0)+1)),t=n.role;var s;c.id=e,i.id=i.id||e+"-track",r.id=r.id||e+"-list",!PA(c,UR)&&"SECTION"!==c.tagName&&t&&kA(c,UR,t);kA(c,XR,u.carousel),kA(r,UR,"presentation")}(),m()}function _(e){var t=nx.concat("style");eA(h),VA(c,p),VA(i,f),DA([i,r],t),DA(c,e?t:["style",XR])}function m(){VA(c,p),VA(i,f),p=b(sx),f=b(ox),bA(c,p),bA(i,f),kA(c,YR,n.label),kA(c,QR,n.labelledby)}function v(e){var t=UA(c,e);return t&&function(e,t){if(cA(e.closest))return e.closest(t);for(var n=e;n&&1===n.nodeType&&!EA(n,t);)n=n.parentElement;return n}(t,"."+sx)===c?t:void 0}function b(e){return[e+"--"+n.type,e+"--"+n.direction,n.drag&&e+"--draggable",n.isNavigation&&e+"--nav",e===sx&&wx]}return AA(d,{setup:g,mount:function(){a(vR,_),a(vR,g),a(bR,m),l(document,Dx+" keydown",function(e){s="keydown"===e.type},{capture:!0}),l(c,"focusin",function(){vA(c,Sx,!!s)})},destroy:_})},Slides:function(e,t,n){var i=NR(e),r=i.on,s=i.emit,o=i.bind,a=t.Elements,l=a.slides,c=a.list,u=[];function d(){l.forEach(function(e,t){p(e,t,-1)})}function h(){g(function(e){e.destroy()}),eA(u)}function p(t,n,i){var r=Px(e,n,i,t);r.mount(),u.push(r),u.sort(function(e,t){return e.index-t.index})}function f(e){return e?_(function(e){return!e.isClone}):u}function g(e,t){f(t).forEach(e)}function _(e){return u.filter(cA(e)?e:function(t){return uA(e)?EA(t.slide,e):_A(fA(e),t.index)})}return{mount:function(){d(),r(vR,h),r(vR,d)},destroy:h,update:function(){g(function(e){e.update()})},register:p,get:f,getIn:function(e){var i=t.Controller,r=i.toIndex(e),s=i.hasFocus()?1:n.perPage;return _(function(e){return nR(e.index,r,r+s-1)})},getAt:function(e){return _(e)[0]},add:function(e,t){gA(e,function(e){if(uA(e)&&(e=zA(e)),pA(e)){var i=l[t];i?wA(e,i):yA(c,e),bA(e,n.classes.slide),function(e,t){var n=jA(e,"img"),i=n.length;i?n.forEach(function(e){o(e,"load error",function(){--i||t()})}):t()}(e,nA(s,yR))}}),s(vR)},remove:function(e){BA(_(e).map(function(e){return e.slide})),s(vR)},forEach:g,filter:_,style:function(e,t,n){g(function(i){i.style(e,t,n)})},getLength:function(e){return e?l.length:u.length},isEnough:function(){return u.length>n.perPage}}},Layout:function(e,t,n){var i,r,s,o=NR(e),a=o.on,l=o.bind,c=o.emit,u=t.Slides,d=t.Direction.resolve,h=t.Elements,p=h.root,f=h.track,g=h.list,_=u.getAt,m=u.style;function v(){i=n.direction===zR,NA(p,"maxWidth",$A(n.width)),NA(f,d("paddingLeft"),y(!1)),NA(f,d("paddingRight"),y(!0)),b(!0)}function b(e){var t=HA(p);(e||r.width!==t.width||r.height!==t.height)&&(NA(f,"height",function(){var e="";i&&(QA(e=w(),"height or heightRatio is missing."),e="calc("+e+" - "+y(!1)+" - "+y(!0)+")");return e}()),m(d("marginRight"),$A(n.gap)),m("width",n.autoWidth?null:$A(n.fixedWidth)||(i?"":E())),m("height",$A(n.fixedHeight)||(i?n.autoHeight?null:E():w()),!0),r=t,c(wR),s!==(s=R())&&(vA(p,Ax,s),c("overflow",s)))}function y(e){var t=n.padding,i=d(e?"right":"left");return t&&$A(t[i]||(aA(t)?0:t))||"0px"}function w(){return $A(n.height||HA(g).width*n.heightRatio)}function E(){var e=$A(n.gap);return"calc((100%"+(e&&" + "+e)+")/"+(n.perPage||1)+(e&&" - "+e)+")"}function T(){return HA(g)[d("width")]}function C(e,t){var n=_(e||0);return n?HA(n.slide)[d("width")]+(t?0:A()):0}function I(e,t){var n=_(e);if(n){var i=HA(n.slide)[d("right")],r=HA(g)[d("left")];return eR(i-r)+(t?0:A())}return 0}function S(t){return I(e.length-1)-I(0)+C(0,t)}function A(){var e=_(0);return e&&parseFloat(NA(e.slide,d("marginRight")))||0}function R(){return e.is(Mx)||S(!0)>T()}return{mount:function(){var e,t;v(),l(window,"resize load",(e=nA(c,yR),t=LR(0,e,null,1),function(){t.isPaused()&&t.start()})),a([bR,vR],v),a(yR,b)},resize:b,listSize:T,slideSize:C,sliderSize:S,totalSize:I,getPadding:function(e){return parseFloat(NA(f,d("padding"+(e?"Right":"Left"))))||0},isOverflow:R}},Clones:function(e,t,n){var i,r=NR(e),s=r.on,o=t.Elements,a=t.Slides,l=t.Direction.resolve,c=[];function u(){s(vR,d),s([bR,yR],p),(i=f())&&(!function(t){var i=a.get().slice(),r=i.length;if(r){for(;i.length<t;)mA(i,i);mA(i.slice(-t),i.slice(0,t)).forEach(function(s,l){var u=l<t,d=function(t,i){var r=t.cloneNode(!0);return bA(r,n.classes.clone),r.id=e.root.id+"-clone"+oR(i+1),r}(s.slide,l);u?wA(d,i[0].slide):yA(o.list,d),mA(c,d),a.register(d,l-t+(u?0:r),s.index)})}}(i),t.Layout.resize(!0))}function d(){h(),u()}function h(){BA(c),eA(c),r.destroy()}function p(){var e=f();i!==e&&(i<e||!e)&&r.emit(vR)}function f(){var i=n.clones;if(e.is(Lx)){if(dA(i)){var r=n[l("fixedWidth")]&&t.Layout.slideSize(0);i=r&&JA(HA(o.track)[l("width")]/r)||n[l("autoWidth")]&&e.length||2*n.perPage}}else i=0;return i}return{mount:u,destroy:h}},Move:function(e,t,n){var i,r=NR(e),s=r.on,o=r.emit,a=e.state.set,l=t.Layout,c=l.slideSize,u=l.getPadding,d=l.totalSize,h=l.listSize,p=l.sliderSize,f=t.Direction,g=f.resolve,_=f.orient,m=t.Elements,v=m.list,b=m.track;function y(){t.Controller.isBusy()||(t.Scroll.cancel(),w(e.index),t.Slides.update())}function w(e){E(S(e,!0))}function E(n,i){if(!e.is(Mx)){var r=i?n:function(n){if(e.is(Lx)){var i=I(n),r=i>t.Controller.getEnd();(i<0||r)&&(n=T(n,r))}return n}(n);NA(v,"transform","translate"+g("X")+"("+r+"px)"),n!==r&&o(kR)}}function T(e,t){var n=e-R(t),i=p();return e-=_(i*(JA(eR(n)/i)||1))*(t?1:-1)}function C(){E(A(),!0),i.cancel()}function I(e){for(var n=t.Slides.get(),i=0,r=1/0,s=0;s<n.length;s++){var o=n[s].index,a=eR(S(o,!0)-e);if(!(a<=r))break;r=a,i=o}return i}function S(t,i){var r=_(d(t-1)-function(e){var t=n.focus;return"center"===t?(h()-c(e,!0))/2:+t*c(e)||0}(t));return i?function(t){n.trimSpace&&e.is(Nx)&&(t=iR(t,0,_(p(!0)-h())));return t}(r):r}function A(){var e=g("left");return HA(v)[e]-HA(b)[e]+_(u(!1))}function R(e){return S(e?t.Controller.getEnd():0,!!n.trimSpace)}return{mount:function(){i=t.Transition,s([cR,wR,bR,vR],y)},move:function(e,t,n,r){var s,l;e!==t&&(s=e>n,l=_(T(A(),s)),s?l>=0:l<=v[g("scrollWidth")]-HA(b)[g("width")])&&(C(),E(T(A(),e>n),!0)),a(4),o(dR,t,n,e),i.start(t,function(){a(3),o(hR,t,n,e),r&&r()})},jump:w,translate:E,shift:T,cancel:C,toIndex:I,toPosition:S,getPosition:A,getLimit:R,exceededLimit:function(e,t){t=dA(t)?A():t;var n=!0!==e&&_(t)<_(R(!1)),i=!1!==e&&_(t)>_(R(!0));return n||i},reposition:y}},Controller:function(e,t,n){var i,r,s,o,a=NR(e),l=a.on,c=a.emit,u=t.Move,d=u.getPosition,h=u.getLimit,p=u.toPosition,f=t.Slides,g=f.isEnough,_=f.getLength,m=n.omitEnd,v=e.is(Lx),b=e.is(Nx),y=nA(S,!1),w=nA(S,!0),E=n.start||0,T=E;function C(){r=_(!0),s=n.perMove,o=n.perPage,i=x();var e=iR(E,0,m?i:r-1);e!==E&&(E=e,u.reposition())}function I(){i!==x()&&c(OR)}function S(e,t){var n=s||(N()?1:o),r=A(E+n*(e?-1:1),E,!(s||N()));return-1===r&&b&&!tR(d(),h(!e),1)?e?0:i:t?r:R(r)}function A(t,a,l){if(g()||N()){var c=function(t){if(b&&"move"===n.trimSpace&&t!==E)for(var i=d();i===p(t,!0)&&nR(t,0,e.length-1,!n.rewind);)t<E?--t:++t;return t}(t);c!==t&&(a=t,t=c,l=!1),t<0||t>i?t=s||!nR(0,t,a,!0)&&!nR(i,a,t,!0)?v?l?t<0?-(r%o||o):r:t:n.rewind?t<0?i:0:-1:D(k(t)):l&&t!==a&&(t=D(k(a)+(t<a?-1:1)))}else t=-1;return t}function R(e){return v?(e+r)%r||0:e}function x(){for(var e=r-(N()||v&&s?1:o);m&&e-- >0;)if(p(r-1,!0)!==p(e,!0)){e++;break}return iR(e,0,r-1)}function D(e){return iR(N()?e:o*e,0,i)}function k(e){return N()?ZA(e,i):XA((e>=i?r-1:e)/o)}function O(e){e!==E&&(T=E,E=e)}function N(){return!dA(n.focus)||n.isNavigation}function L(){return e.state.is([4,5])&&!!n.waitForTransition}return{mount:function(){C(),l([bR,vR,OR],C),l(wR,I)},go:function(e,t,n){if(!L()){var r=function(e){var t=E;if(uA(e)){var n=e.match(/([+\-<>])(\d+)?/)||[],r=n[1],s=n[2];"+"===r||"-"===r?t=A(E+ +(""+r+(+s||1)),E):">"===r?t=s?D(+s):y(!0):"<"===r&&(t=w(!0))}else t=v?e:iR(e,0,i);return t}(e),s=R(r);s>-1&&(t||s!==E)&&(O(s),u.move(r,s,T,n))}},scroll:function(e,n,r,s){t.Scroll.scroll(e,n,r,function(){var e=R(u.toIndex(d()));O(m?ZA(e,i):e),s&&s()})},getNext:y,getPrev:w,getAdjacent:S,getEnd:x,setIndex:O,getIndex:function(e){return e?T:E},toIndex:D,toPage:k,toDest:function(e){var t=u.toIndex(e);return b?iR(t,0,i):t},hasFocus:N,isBusy:L}},Arrows:function(e,t,n){var i,r,s=NR(e),o=s.on,a=s.bind,l=s.emit,c=n.classes,u=n.i18n,d=t.Elements,h=t.Controller,p=d.arrows,f=d.track,g=p,_=d.prev,m=d.next,v={};function b(){!function(){var e=n.arrows;!e||_&&m||(g=p||OA("div",c.arrows),_=T(!0),m=T(!1),i=!0,yA(g,[_,m]),!p&&wA(g,f));_&&m&&(AA(v,{prev:_,next:m}),LA(g,e?"":"none"),bA(g,r=dx+"--"+n.direction),e&&(o([cR,hR,vR,TR,OR],C),a(m,"click",nA(E,">")),a(_,"click",nA(E,"<")),C(),kA([_,m],WR,f.id),l(IR,_,m)))}(),o(bR,y)}function y(){w(),b()}function w(){s.destroy(),VA(g,r),i?(BA(p?[_,m]:g),_=m=null):DA([_,m],nx)}function E(e){h.go(e,!0)}function T(e){return zA('<button class="'+c.arrow+" "+(e?c.prev:c.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 C(){if(_&&m){var t=e.index,n=h.getPrev(),i=h.getNext(),r=n>-1&&t<n?u.last:u.prev,s=i>-1&&t>i?u.first:u.next;_.disabled=n<0,m.disabled=i<0,kA(_,YR,r),kA(m,YR,s),l("arrows:updated",_,m,n,i)}}return{arrows:v,mount:b,destroy:w,update:C}},Autoplay:function(e,t,n){var i,r,s=NR(e),o=s.on,a=s.bind,l=s.emit,c=LR(n.interval,e.go.bind(e,">"),function(e){var t=d.bar;t&&NA(t,"width",100*e+"%"),l("autoplay:playing",e)}),u=c.isPaused,d=t.Elements,h=t.Elements,p=h.root,f=h.toggle,g=n.autoplay,_="pause"===g;function m(){u()&&t.Slides.isEnough()&&(c.start(!n.resetProgress),r=i=_=!1,y(),l(AR))}function v(e){void 0===e&&(e=!0),_=!!e,y(),u()||(c.pause(),l(RR))}function b(){_||(i||r?v(!1):m())}function y(){f&&(vA(f,wx,!_),kA(f,YR,n.i18n[_?"play":"pause"]))}function w(e){var i=t.Slides.getAt(e);c.set(i&&+PA(i.slide,Fx)||n.interval)}return{mount:function(){g&&(!function(){n.pauseOnHover&&a(p,"mouseenter mouseleave",function(e){i="mouseenter"===e.type,b()});n.pauseOnFocus&&a(p,"focusin focusout",function(e){r="focusin"===e.type,b()});f&&a(f,"click",function(){_?m():v(!0)});o([dR,ER,vR],c.rewind),o(dR,w)}(),f&&kA(f,WR,d.track.id),_||m(),y())},destroy:c.cancel,play:m,pause:v,isPaused:u}},Cover:function(e,t,n){var i=NR(e).on;function r(e){t.Slides.forEach(function(t){var n=CA(t.container||t.slide,"img");n&&n.src&&s(e,n,t)})}function s(e,t,n){n.style("background",e?'center/cover no-repeat url("'+t.src+'")':"",!0),LA(t,e?"none":"")}return{mount:function(){n.cover&&(i(xR,nA(s,!0)),i([cR,bR,vR],nA(r,!0)))},destroy:nA(r,!1)}},Scroll:function(e,t,n){var i,r,s=NR(e),o=s.on,a=s.emit,l=e.state.set,c=t.Move,u=c.getPosition,d=c.getLimit,h=c.exceededLimit,p=c.translate,f=e.is(Nx),g=1;function _(e,n,s,o,d){var p=u();if(b(),s&&(!f||!h())){var _=t.Layout.sliderSize(),y=rR(e)*_*XA(eR(e)/_)||0;e=c.toPosition(t.Controller.toDest(e%_))+y}var w=tR(p,e,1);g=1,n=w?0:n||KA(eR(e-p)/1.5,800),r=o,i=LR(n,m,nA(v,p,e,d),1),l(5),a(ER),i.start()}function m(){l(3),r&&r(),a(TR)}function v(e,t,i,s){var o,a,l=u(),c=(e+(t-e)*(o=s,(a=n.easingFunc)?a(o):1-Math.pow(1-o,4))-l)*g;p(l+c),f&&!i&&h()&&(g*=.6,eR(c)<10&&_(d(h(!0)),600,!1,r,!0))}function b(){i&&i.cancel()}function y(){i&&!i.isPaused()&&(b(),m())}return{mount:function(){o(dR,b),o([bR,vR],y)},destroy:b,scroll:_,cancel:y}},Drag:function(e,t,n){var i,r,s,o,a,l,c,u,d=NR(e),h=d.on,p=d.emit,f=d.bind,g=d.unbind,_=e.state,m=t.Move,v=t.Scroll,b=t.Controller,y=t.Elements.track,w=t.Media.reduce,E=t.Direction,T=E.resolve,C=E.orient,I=m.getPosition,S=m.exceededLimit,A=!1;function R(){var e=n.drag;B(!e),o="free"===e}function x(e){if(l=!1,!c){var t=H(e);i=e.target,r=n.noDrag,EA(i,"."+_x+", ."+hx)||r&&EA(i,r)||!t&&e.button||(b.isBusy()?qA(e,!0):(u=t?y:window,a=_.is([4,5]),s=null,f(u,kx,D,Hx),f(u,Ox,k,Hx),m.cancel(),v.cancel(),N(e)))}var i,r}function D(t){if(_.is(6)||(_.set(6),p("drag")),t.cancelable)if(a){m.translate(i+L(t)/(A&&e.is(Nx)?5:1));var r=M(t)>200,s=A!==(A=S());(r||s)&&N(t),l=!0,p("dragging"),qA(t)}else(function(e){return eR(L(e))>eR(L(e,!0))})(t)&&(a=function(e){var t=n.dragMinThreshold,i=aA(t),r=i&&t.mouse||0,s=(i?t.touch:+t)||10;return eR(L(e))>(H(e)?s:r)}(t),qA(t))}function k(i){_.is(6)&&(_.set(3),p("dragged")),a&&(!function(i){var r=function(t){if(e.is(Lx)||!A){var n=M(t);if(n&&n<200)return L(t)/n}return 0}(i),s=function(e){return I()+rR(e)*ZA(eR(e)*(n.flickPower||600),o?1/0:t.Layout.listSize()*(n.flickMaxPages||1))}(r),a=n.rewind&&n.rewindByDrag;w(!1),o?b.scroll(s,0,n.snap):e.is(Mx)?b.go(C(rR(r))<0?a?"<":"-":a?">":"+"):e.is(Nx)&&A&&a?b.go(S(!0)?">":"<"):b.go(b.toDest(s),!0);w(!0)}(i),qA(i)),g(u,kx,D),g(u,Ox,k),a=!1}function O(e){!c&&l&&qA(e,!0)}function N(e){s=r,r=e,i=I()}function L(e,t){return F(e,t)-F(P(e),t)}function M(e){return WA(e)-WA(P(e))}function P(e){return r===e&&s||r}function F(e,t){return(H(e)?e.changedTouches[0]:e)["page"+T(t?"Y":"X")]}function H(e){return"undefined"!=typeof TouchEvent&&e instanceof TouchEvent}function B(e){c=e}return{mount:function(){f(y,kx,rA,Hx),f(y,Ox,rA,Hx),f(y,Dx,x,Hx),f(y,"click",O,{capture:!0}),f(y,"dragstart",qA),h([cR,bR],R)},disable:B,isDragging:function(){return a}}},Keyboard:function(e,t,n){var i,r,s=NR(e),o=s.on,a=s.bind,l=s.unbind,c=e.root,u=t.Direction.resolve;function d(){var e=n.keyboard;e&&(i="global"===e?window:c,a(i,qx,f))}function h(){l(i,qx)}function p(){var e=r;r=!0,iA(function(){r=e})}function f(t){if(!r){var n=zx(t);n===u(PR)?e.go("<"):n===u(FR)&&e.go(">")}}return{mount:function(){d(),o(bR,h),o(bR,d),o(dR,p)},destroy:h,disable:function(e){r=e}}},LazyLoad:function(e,t,n){var i=NR(e),r=i.on,s=i.off,o=i.bind,a=i.emit,l="sequential"===n.lazyLoad,c=[hR,TR],u=[];function d(){eA(u),t.Slides.forEach(function(e){jA(e.slide,Vx).forEach(function(t){var i=PA(t,Ux),r=PA(t,jx);if(i!==t.src||r!==t.srcset){var s=n.classes.spinner,o=t.parentElement,a=CA(o,"."+s)||OA("span",s,o);u.push([t,e,a]),t.src||LA(t,"none")}})}),l?g():(s(c),r(c,h),h())}function h(){(u=u.filter(function(t){var i=n.perPage*((n.preloadPages||1)+1)-1;return!t[1].isWithin(e.index,i)||p(t)})).length||s(c)}function p(e){var t=e[0];bA(e[1].slide,Ix),o(t,"load error",nA(f,e)),kA(t,"src",PA(t,Ux)),kA(t,"srcset",PA(t,jx)),DA(t,Ux),DA(t,jx)}function f(e,t){var n=e[0],i=e[1];VA(i.slide,Ix),"error"!==t.type&&(BA(e[2]),LA(n,""),a(xR,n,i),a(yR)),l&&g()}function g(){u.length&&p(u.shift())}return{mount:function(){n.lazyLoad&&(d(),r(vR,d))},destroy:nA(eA,u),check:h}},Pagination:function(e,t,n){var i,r,s=NR(e),o=s.on,a=s.emit,l=s.bind,c=t.Slides,u=t.Elements,d=t.Controller,h=d.hasFocus,p=d.getIndex,f=d.go,g=t.Direction.resolve,_=u.pagination,m=[];function v(){i&&(BA(_?tA(i.children):i),VA(i,r),eA(m),i=null),s.destroy()}function b(e){f(">"+e,!0)}function y(e,t){var n=m.length,i=zx(t),r=w(),s=-1;i===g(FR,!1,r)?s=++e%n:i===g(PR,!1,r)?s=(--e+n)%n:"Home"===i?s=0:"End"===i&&(s=n-1);var o=m[s];o&&(MA(o.button),f(">"+s),qA(t,!0))}function w(){return n.paginationDirection||n.direction}function E(e){return m[d.toPage(e)]}function T(){var e=E(p(!0)),t=E(p());if(e){var n=e.button;VA(n,wx),DA(n,GR),kA(n,jR,-1)}if(t){var r=t.button;bA(r,wx),kA(r,GR,!0),kA(r,jR,"")}a("pagination:updated",{list:i,items:m},e,t)}return{items:m,mount:function t(){v(),o([bR,vR,OR],t);var s=n.pagination;_&&LA(_,s?"":"none"),s&&(o([dR,ER,TR],T),function(){var t=e.length,s=n.classes,o=n.i18n,a=n.perPage,p=h()?d.getEnd()+1:JA(t/a);bA(i=_||OA("ul",s.pagination,u.track.parentElement),r=gx+"--"+w()),kA(i,UR,"tablist"),kA(i,YR,o.select),kA(i,KR,w()===zR?"vertical":"");for(var f=0;f<p;f++){var g=OA("li",null,i),v=OA("button",{class:s.page,type:"button"},g),E=c.getIn(f).map(function(e){return e.slide.id}),T=!h()&&a>1?o.pageX:o.slideX;l(v,"click",nA(b,f)),n.paginationKeyboard&&l(v,"keydown",nA(y,f)),kA(g,UR,"presentation"),kA(v,UR,"tab"),kA(v,WR,E.join(" ")),kA(v,YR,sR(T,f+1)),kA(v,jR,-1),m.push({li:g,button:v,page:f})}}(),T(),a("pagination:mounted",{list:i,items:m},E(e.index)))},destroy:v,getAt:E,update:T}},Sync:function(e,t,n){var i=n.isNavigation,r=n.slideFocus,s=[];function o(){var t,n;e.splides.forEach(function(t){t.isParent||(l(e,t.splide),l(t.splide,e))}),i&&(t=NR(e),(n=t.on)(pR,u),n(DR,d),n([cR,bR],c),s.push(t),t.emit(SR,e.splides))}function a(){s.forEach(function(e){e.destroy()}),eA(s)}function l(e,t){var n=NR(e);n.on(dR,function(e,n,i){t.go(t.is(Lx)?i:e)}),s.push(n)}function c(){kA(t.Elements.list,KR,n.direction===zR?"vertical":"")}function u(t){e.go(t.index)}function d(e,t){_A(Wx,zx(t))&&(u(e),qA(t))}return{setup:nA(t.Media.set,{slideFocus:dA(r)?i:r},!0),mount:o,destroy:a,remount:function(){a(),o()}}},Wheel:function(e,t,n){var i=NR(e).bind,r=0;function s(i){if(i.cancelable){var s=i.deltaY,o=s<0,a=WA(i),l=n.wheelMinThreshold||0,c=n.wheelSleep||0;eR(s)>l&&a-r>c&&(e.go(o?"<":">"),r=a),function(i){return!n.releaseWheel||e.state.is(4)||-1!==t.Controller.getAdjacent(i)}(o)&&qA(i)}}return{mount:function(){n.wheel&&i(t.Elements.track,"wheel",s,Hx)}}},Live:function(e,t,n){var i=NR(e).on,r=t.Elements.track,s=n.live&&!n.isNavigation,o=OA("span",bx),a=LR(90,nA(l,!1));function l(e){kA(r,ex,e),e?(yA(r,o),a.start()):(BA(o),a.cancel())}function c(e){s&&kA(r,JR,e?"off":"polite")}return{mount:function(){s&&(c(!t.Autoplay.isPaused()),kA(r,tx,!0),o.textContent="…",i(AR,nA(c,!0)),i(RR,nA(c,!1)),i([hR,TR],nA(l,!0)))},disable:c,destroy:function(){DA(r,[JR,tx,ex]),BA(o)}}}}),Gx={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:xx,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 Yx(e,t,n){var i=t.Slides;function r(){i.forEach(function(e){e.style("transform","translateX(-"+100*e.index+"%)")})}return{mount:function(){NR(e).on([cR,vR],r)},start:function(e,t){i.style("transition","opacity "+n.speed+"ms "+n.easing),iA(t)},cancel:rA}}function Qx(e,t,n){var i,r=t.Move,s=t.Controller,o=t.Scroll,a=t.Elements.list,l=nA(NA,a,"transition");function c(){l(""),o.cancel()}return{mount:function(){NR(e).bind(a,"transitionend",function(e){e.target===a&&i&&(c(),i())})},start:function(t,a){var c=r.toPosition(t,!0),u=r.getPosition(),d=function(t){var i=n.rewindSpeed;if(e.is(Nx)&&i){var r=s.getIndex(!0),o=s.getEnd();if(0===r&&t>=o||r>=o&&0===t)return i}return n.speed}(t);eR(c-u)>=1&&d>=1?n.useScroll?o.scroll(c,d,!1,a):(l("transform "+d+"ms "+n.easing),r.translate(c,!0),i=a):(r.jump(t),a())},cancel:c}}var Zx=function(){function e(t,n){var i;this.event=NR(),this.Components={},this.state=(i=1,{set:function(e){i=e},is:function(e){return _A(fA(e),i)}}),this.splides=[],this._o={},this._E={};var r=uA(t)?UA(document,t):t;QA(r,r+" is invalid."),this.root=r,n=RA({label:PA(r,YR)||"",labelledby:PA(r,QR)||""},Gx,e.defaults,n||{});try{RA(n,JSON.parse(PA(r,YA)))}catch(e){QA(!1,"Invalid JSON")}this._o=Object.create(RA({},n))}var t=e.prototype;return t.mount=function(e,t){var n=this,i=this.state,r=this.Components;return QA(i.is([1,7]),"Already mounted!"),i.set(1),this._C=r,this._T=t||this._T||(this.is(Mx)?Yx:Qx),this._E=e||this._E,SA(AA({},$x,this._E,{Transition:this._T}),function(e,t){var i=e(n,r,n._o);r[t]=i,i.setup&&i.setup()}),SA(r,function(e){e.mount&&e.mount()}),this.emit(cR),bA(this.root,yx),i.set(3),this.emit(uR),this},t.sync=function(e){return this.splides.push({splide:e}),e.splides.push({splide:this,isParent:!0}),this.state.is(3)&&(this._C.Sync.remount(),e.Components.Sync.remount()),this},t.go=function(e){return this._C.Controller.go(e),this},t.on=function(e,t){return this.event.on(e,t),this},t.off=function(e){return this.event.off(e),this},t.emit=function(e){var t;return(t=this.event).emit.apply(t,[e].concat(tA(arguments,1))),this},t.add=function(e,t){return this._C.Slides.add(e,t),this},t.remove=function(e){return this._C.Slides.remove(e),this},t.is=function(e){return this._o.type===e},t.refresh=function(){return this.emit(vR),this},t.destroy=function(e){void 0===e&&(e=!0);var t=this.event,n=this.state;return n.is(1)?NR(this).on(uR,this.destroy.bind(this,e)):(SA(this._C,function(t){t.destroy&&t.destroy(e)},!0),t.emit(CR),t.destroy(),e&&eA(this.splides),n.set(7)),this},KS(e,[{key:"options",get:function(){return this._o},set:function(e){this._C.Media.set(e,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}]),e}(),Kx=Zx;Kx.defaults={},Kx.STATES=JS;class Xx{constructor(e){this.el=e}ngAfterViewInit(){if(!tS()&&!iS()){const e=this.splideOptions||{type:"slide",drag:"free",autoWidth:!0,arrows:!1,pagination:!1,snap:!0,speed:200,perMove:1,align:"start"};new Kx(this.el.nativeElement,e).mount()}}}Xx.ɵfac=function(e){return new(e||Xx)(ep(Ua))},Xx.ɵdir=cf({type:Xx,selectors:[["","appSplideSlider",""]],inputs:{splideOptions:"splideOptions"},standalone:!1});const{entries:Jx,setPrototypeOf:eD,isFrozen:tD,getPrototypeOf:nD,getOwnPropertyDescriptor:iD}=Object;let{freeze:rD,seal:sD,create:oD}=Object,{apply:aD,construct:lD}="undefined"!=typeof Reflect&&Reflect;rD||(rD=function(e){return e}),sD||(sD=function(e){return e}),aD||(aD=function(e,t,n){return e.apply(t,n)}),lD||(lD=function(e,t){return new e(...t)});const cD=CD(Array.prototype.forEach),uD=CD(Array.prototype.lastIndexOf),dD=CD(Array.prototype.pop),hD=CD(Array.prototype.push),pD=CD(Array.prototype.splice),fD=CD(String.prototype.toLowerCase),gD=CD(String.prototype.toString),_D=CD(String.prototype.match),mD=CD(String.prototype.replace),vD=CD(String.prototype.indexOf),bD=CD(String.prototype.trim),yD=CD(Object.prototype.hasOwnProperty),wD=CD(RegExp.prototype.test),ED=(TD=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return lD(TD,t)});var TD;function CD(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return aD(e,t,i)}}function ID(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:fD;eD&&eD(e,null);let i=t.length;for(;i--;){let r=t[i];if("string"==typeof r){const e=n(r);e!==r&&(tD(t)||(t[i]=e),r=e)}e[r]=!0}return e}function SD(e){for(let t=0;t<e.length;t++){yD(e,t)||(e[t]=null)}return e}function AD(e){const t=oD(null);for(const[n,i]of Jx(e)){yD(e,n)&&(Array.isArray(i)?t[n]=SD(i):i&&"object"==typeof i&&i.constructor===Object?t[n]=AD(i):t[n]=i)}return t}function RD(e,t){for(;null!==e;){const n=iD(e,t);if(n){if(n.get)return CD(n.get);if("function"==typeof n.value)return CD(n.value)}e=nD(e)}return function(){return null}}const xD=rD(["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"]),DD=rD(["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"]),kD=rD(["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"]),OD=rD(["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"]),ND=rD(["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"]),LD=rD(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),MD=rD(["#text"]),PD=rD(["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"]),FD=rD(["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"]),HD=rD(["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"]),BD=rD(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),zD=sD(/\{\{[\w\W]*|[\w\W]*\}\}/gm),qD=sD(/<%[\w\W]*|[\w\W]*%>/gm),UD=sD(/\$\{[\w\W]*/gm),jD=sD(/^data-[\-\w.\u00B7-\uFFFF]+$/),VD=sD(/^aria-[\-\w]+$/),WD=sD(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),$D=sD(/^(?:\w+script|data):/i),GD=sD(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),YD=sD(/^html$/i),QD=sD(/^[a-z][.\w]*(-[.\w]+)+$/i);var ZD=Object.freeze({__proto__:null,ARIA_ATTR:VD,ATTR_WHITESPACE:GD,CUSTOM_ELEMENT:QD,DATA_ATTR:jD,DOCTYPE_NAME:YD,ERB_EXPR:qD,IS_ALLOWED_URI:WD,IS_SCRIPT_OR_DATA:$D,MUSTACHE_EXPR:zD,TMPLIT_EXPR:UD});const KD=1,XD=3,JD=7,ek=8,tk=9,nk=function(){return"undefined"==typeof window?null:window};var ik=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:nk();const n=t=>e(t);if(n.version="3.2.6",n.removed=[],!t||!t.document||t.document.nodeType!==tk||!t.Element)return n.isSupported=!1,n;let{document:i}=t;const r=i,s=r.currentScript,{DocumentFragment:o,HTMLTemplateElement:a,Node:l,Element:c,NodeFilter:u,NamedNodeMap:d=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:h,DOMParser:p,trustedTypes:f}=t,g=c.prototype,_=RD(g,"cloneNode"),m=RD(g,"remove"),v=RD(g,"nextSibling"),b=RD(g,"childNodes"),y=RD(g,"parentNode");if("function"==typeof a){const e=i.createElement("template");e.content&&e.content.ownerDocument&&(i=e.content.ownerDocument)}let w,E="";const{implementation:T,createNodeIterator:C,createDocumentFragment:I,getElementsByTagName:S}=i,{importNode:A}=r;let R={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof Jx&&"function"==typeof y&&T&&void 0!==T.createHTMLDocument;const{MUSTACHE_EXPR:x,ERB_EXPR:D,TMPLIT_EXPR:k,DATA_ATTR:O,ARIA_ATTR:N,IS_SCRIPT_OR_DATA:L,ATTR_WHITESPACE:M,CUSTOM_ELEMENT:P}=ZD;let{IS_ALLOWED_URI:F}=ZD,H=null;const B=ID({},[...xD,...DD,...kD,...ND,...MD]);let z=null;const q=ID({},[...PD,...FD,...HD,...BD]);let U=Object.seal(oD(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}})),j=null,V=null,W=!0,$=!0,G=!1,Y=!0,Q=!1,Z=!0,K=!1,X=!1,J=!1,ee=!1,te=!1,ne=!1,ie=!0,re=!1,se=!0,oe=!1,ae={},le=null;const ce=ID({},["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 ue=null;const de=ID({},["audio","video","img","source","image","track"]);let he=null;const pe=ID({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),fe="http://www.w3.org/1998/Math/MathML",ge="http://www.w3.org/2000/svg",_e="http://www.w3.org/1999/xhtml";let me=_e,ve=!1,be=null;const ye=ID({},[fe,ge,_e],gD);let we=ID({},["mi","mo","mn","ms","mtext"]),Ee=ID({},["annotation-xml"]);const Te=ID({},["title","style","font","a","script"]);let Ce=null;const Ie=["application/xhtml+xml","text/html"];let Se=null,Ae=null;const Re=i.createElement("form"),xe=function(e){return e instanceof RegExp||e instanceof Function},De=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Ae||Ae!==e){if(e&&"object"==typeof e||(e={}),e=AD(e),Ce=-1===Ie.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Se="application/xhtml+xml"===Ce?gD:fD,H=yD(e,"ALLOWED_TAGS")?ID({},e.ALLOWED_TAGS,Se):B,z=yD(e,"ALLOWED_ATTR")?ID({},e.ALLOWED_ATTR,Se):q,be=yD(e,"ALLOWED_NAMESPACES")?ID({},e.ALLOWED_NAMESPACES,gD):ye,he=yD(e,"ADD_URI_SAFE_ATTR")?ID(AD(pe),e.ADD_URI_SAFE_ATTR,Se):pe,ue=yD(e,"ADD_DATA_URI_TAGS")?ID(AD(de),e.ADD_DATA_URI_TAGS,Se):de,le=yD(e,"FORBID_CONTENTS")?ID({},e.FORBID_CONTENTS,Se):ce,j=yD(e,"FORBID_TAGS")?ID({},e.FORBID_TAGS,Se):AD({}),V=yD(e,"FORBID_ATTR")?ID({},e.FORBID_ATTR,Se):AD({}),ae=!!yD(e,"USE_PROFILES")&&e.USE_PROFILES,W=!1!==e.ALLOW_ARIA_ATTR,$=!1!==e.ALLOW_DATA_ATTR,G=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Y=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Q=e.SAFE_FOR_TEMPLATES||!1,Z=!1!==e.SAFE_FOR_XML,K=e.WHOLE_DOCUMENT||!1,ee=e.RETURN_DOM||!1,te=e.RETURN_DOM_FRAGMENT||!1,ne=e.RETURN_TRUSTED_TYPE||!1,J=e.FORCE_BODY||!1,ie=!1!==e.SANITIZE_DOM,re=e.SANITIZE_NAMED_PROPS||!1,se=!1!==e.KEEP_CONTENT,oe=e.IN_PLACE||!1,F=e.ALLOWED_URI_REGEXP||WD,me=e.NAMESPACE||_e,we=e.MATHML_TEXT_INTEGRATION_POINTS||we,Ee=e.HTML_INTEGRATION_POINTS||Ee,U=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&xe(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(U.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&xe(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(U.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(U.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Q&&($=!1),te&&(ee=!0),ae&&(H=ID({},MD),z=[],!0===ae.html&&(ID(H,xD),ID(z,PD)),!0===ae.svg&&(ID(H,DD),ID(z,FD),ID(z,BD)),!0===ae.svgFilters&&(ID(H,kD),ID(z,FD),ID(z,BD)),!0===ae.mathMl&&(ID(H,ND),ID(z,HD),ID(z,BD))),e.ADD_TAGS&&(H===B&&(H=AD(H)),ID(H,e.ADD_TAGS,Se)),e.ADD_ATTR&&(z===q&&(z=AD(z)),ID(z,e.ADD_ATTR,Se)),e.ADD_URI_SAFE_ATTR&&ID(he,e.ADD_URI_SAFE_ATTR,Se),e.FORBID_CONTENTS&&(le===ce&&(le=AD(le)),ID(le,e.FORBID_CONTENTS,Se)),se&&(H["#text"]=!0),K&&ID(H,["html","head","body"]),H.table&&(ID(H,["tbody"]),delete j.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw ED('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw ED('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=e.TRUSTED_TYPES_POLICY,E=w.createHTML("")}else void 0===w&&(w=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const i="data-tt-policy-suffix";t&&t.hasAttribute(i)&&(n=t.getAttribute(i));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(f,s)),null!==w&&"string"==typeof E&&(E=w.createHTML(""));rD&&rD(e),Ae=e}},ke=ID({},[...DD,...kD,...OD]),Oe=ID({},[...ND,...LD]),Ne=function(e){hD(n.removed,{element:e});try{y(e).removeChild(e)}catch(t){m(e)}},Le=function(e,t){try{hD(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){hD(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(ee||te)try{Ne(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Me=function(e){let t=null,n=null;if(J)e="<remove></remove>"+e;else{const t=_D(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Ce&&me===_e&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const r=w?w.createHTML(e):e;if(me===_e)try{t=(new p).parseFromString(r,Ce)}catch(e){}if(!t||!t.documentElement){t=T.createDocument(me,"template",null);try{t.documentElement.innerHTML=ve?E:r}catch(e){}}const s=t.body||t.documentElement;return e&&n&&s.insertBefore(i.createTextNode(n),s.childNodes[0]||null),me===_e?S.call(t,K?"html":"body")[0]:K?t.documentElement:s},Pe=function(e){return C.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},Fe=function(e){return e instanceof h&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},He=function(e){return"function"==typeof l&&e instanceof l};function Be(e,t,i){cD(e,e=>{e.call(n,t,i,Ae)})}const ze=function(e){let t=null;if(Be(R.beforeSanitizeElements,e,null),Fe(e))return Ne(e),!0;const i=Se(e.nodeName);if(Be(R.uponSanitizeElement,e,{tagName:i,allowedTags:H}),Z&&e.hasChildNodes()&&!He(e.firstElementChild)&&wD(/<[/\w!]/g,e.innerHTML)&&wD(/<[/\w!]/g,e.textContent))return Ne(e),!0;if(e.nodeType===JD)return Ne(e),!0;if(Z&&e.nodeType===ek&&wD(/<[/\w]/g,e.data))return Ne(e),!0;if(!H[i]||j[i]){if(!j[i]&&Ue(i)){if(U.tagNameCheck instanceof RegExp&&wD(U.tagNameCheck,i))return!1;if(U.tagNameCheck instanceof Function&&U.tagNameCheck(i))return!1}if(se&&!le[i]){const t=y(e)||e.parentNode,n=b(e)||e.childNodes;if(n&&t){for(let i=n.length-1;i>=0;--i){const r=_(n[i],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,v(e))}}}return Ne(e),!0}return e instanceof c&&!function(e){let t=y(e);t&&t.tagName||(t={namespaceURI:me,tagName:"template"});const n=fD(e.tagName),i=fD(t.tagName);return!!be[e.namespaceURI]&&(e.namespaceURI===ge?t.namespaceURI===_e?"svg"===n:t.namespaceURI===fe?"svg"===n&&("annotation-xml"===i||we[i]):Boolean(ke[n]):e.namespaceURI===fe?t.namespaceURI===_e?"math"===n:t.namespaceURI===ge?"math"===n&&Ee[i]:Boolean(Oe[n]):e.namespaceURI===_e?!(t.namespaceURI===ge&&!Ee[i])&&!(t.namespaceURI===fe&&!we[i])&&!Oe[n]&&(Te[n]||!ke[n]):!("application/xhtml+xml"!==Ce||!be[e.namespaceURI]))}(e)?(Ne(e),!0):"noscript"!==i&&"noembed"!==i&&"noframes"!==i||!wD(/<\/no(script|embed|frames)/i,e.innerHTML)?(Q&&e.nodeType===XD&&(t=e.textContent,cD([x,D,k],e=>{t=mD(t,e," ")}),e.textContent!==t&&(hD(n.removed,{element:e.cloneNode()}),e.textContent=t)),Be(R.afterSanitizeElements,e,null),!1):(Ne(e),!0)},qe=function(e,t,n){if(ie&&("id"===t||"name"===t)&&(n in i||n in Re))return!1;if($&&!V[t]&&wD(O,t));else if(W&&wD(N,t));else if(!z[t]||V[t]){if(!(Ue(e)&&(U.tagNameCheck instanceof RegExp&&wD(U.tagNameCheck,e)||U.tagNameCheck instanceof Function&&U.tagNameCheck(e))&&(U.attributeNameCheck instanceof RegExp&&wD(U.attributeNameCheck,t)||U.attributeNameCheck instanceof Function&&U.attributeNameCheck(t))||"is"===t&&U.allowCustomizedBuiltInElements&&(U.tagNameCheck instanceof RegExp&&wD(U.tagNameCheck,n)||U.tagNameCheck instanceof Function&&U.tagNameCheck(n))))return!1}else if(he[t]);else if(wD(F,mD(n,M,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==vD(n,"data:")||!ue[e]){if(G&&!wD(L,mD(n,M,"")));else if(n)return!1}else;return!0},Ue=function(e){return"annotation-xml"!==e&&_D(e,P)},je=function(e){Be(R.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Fe(e))return;const i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:z,forceKeepAttr:void 0};let r=t.length;for(;r--;){const s=t[r],{name:o,namespaceURI:a,value:l}=s,c=Se(o),u=l;let d="value"===o?u:bD(u);if(i.attrName=c,i.attrValue=d,i.keepAttr=!0,i.forceKeepAttr=void 0,Be(R.uponSanitizeAttribute,e,i),d=i.attrValue,!re||"id"!==c&&"name"!==c||(Le(o,e),d="user-content-"+d),Z&&wD(/((--!?|])>)|<\/(style|title)/i,d)){Le(o,e);continue}if(i.forceKeepAttr)continue;if(!i.keepAttr){Le(o,e);continue}if(!Y&&wD(/\/>/i,d)){Le(o,e);continue}Q&&cD([x,D,k],e=>{d=mD(d,e," ")});const h=Se(e.nodeName);if(qe(h,c,d)){if(w&&"object"==typeof f&&"function"==typeof f.getAttributeType)if(a);else switch(f.getAttributeType(h,c)){case"TrustedHTML":d=w.createHTML(d);break;case"TrustedScriptURL":d=w.createScriptURL(d)}if(d!==u)try{a?e.setAttributeNS(a,o,d):e.setAttribute(o,d),Fe(e)?Ne(e):dD(n.removed)}catch(t){Le(o,e)}}else Le(o,e)}Be(R.afterSanitizeAttributes,e,null)},Ve=function e(t){let n=null;const i=Pe(t);for(Be(R.beforeSanitizeShadowDOM,t,null);n=i.nextNode();)Be(R.uponSanitizeShadowNode,n,null),ze(n),je(n),n.content instanceof o&&e(n.content);Be(R.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null,s=null,a=null,c=null;if(ve=!e,ve&&(e="\x3c!--\x3e"),"string"!=typeof e&&!He(e)){if("function"!=typeof e.toString)throw ED("toString is not a function");if("string"!=typeof(e=e.toString()))throw ED("dirty is not a string, aborting")}if(!n.isSupported)return e;if(X||De(t),n.removed=[],"string"==typeof e&&(oe=!1),oe){if(e.nodeName){const t=Se(e.nodeName);if(!H[t]||j[t])throw ED("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof l)i=Me("\x3c!----\x3e"),s=i.ownerDocument.importNode(e,!0),s.nodeType===KD&&"BODY"===s.nodeName||"HTML"===s.nodeName?i=s:i.appendChild(s);else{if(!ee&&!Q&&!K&&-1===e.indexOf("<"))return w&&ne?w.createHTML(e):e;if(i=Me(e),!i)return ee?null:ne?E:""}i&&J&&Ne(i.firstChild);const u=Pe(oe?e:i);for(;a=u.nextNode();)ze(a),je(a),a.content instanceof o&&Ve(a.content);if(oe)return e;if(ee){if(te)for(c=I.call(i.ownerDocument);i.firstChild;)c.appendChild(i.firstChild);else c=i;return(z.shadowroot||z.shadowrootmode)&&(c=A.call(r,c,!0)),c}let d=K?i.outerHTML:i.innerHTML;return K&&H["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&wD(YD,i.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+i.ownerDocument.doctype.name+">\n"+d),Q&&cD([x,D,k],e=>{d=mD(d,e," ")}),w&&ne?w.createHTML(d):d},n.setConfig=function(){De(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),X=!0},n.clearConfig=function(){Ae=null,X=!1},n.isValidAttribute=function(e,t,n){Ae||De({});const i=Se(e),r=Se(t);return qe(i,r,n)},n.addHook=function(e,t){"function"==typeof t&&hD(R[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=uD(R[e],t);return-1===n?void 0:pD(R[e],n,1)[0]}return dD(R[e])},n.removeHooks=function(e){R[e]=[]},n.removeAllHooks=function(){R={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const rk={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 sk(e,t=rk){let n=Object.assign(function(e){if(!fS(e)&&!dS(e))throw new TypeError("Object.copy called on non-object. The given value is "+typeof e);return bS(e)}(rk),t);return tS()?e:ik.sanitize(e,n)}var ok,ak,lk;function ck(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function uk(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ck(Object(n),!0).forEach(function(t){dk(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ck(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function dk(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const hk=new $n("");class pk{constructor(e,t){dk(this,"_zone",void 0),dk(this,"_plugins",void 0),dk(this,"_eventNameToPlugin",new Map),this._zone=t,e.forEach(e=>{e.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,t,n,i){return this._findPluginFor(t).addEventListener(e,t,n,i)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find(t=>t.supports(e)),!t)throw new _n(5101,!1);return this._eventNameToPlugin.set(e,t),t}}ok=pk,dk(pk,"ɵfac",function(e){return new(e||ok)(mi(hk),mi(ka))}),dk(pk,"ɵprov",Fn({token:ok,factory:ok.ɵfac}));class fk{constructor(e){dk(this,"_doc",void 0),dk(this,"manager",void 0),this._doc=e}}const gk="ng-app-id";function _k(e){for(const t of e)t.remove()}function mk(e,t){const n=t.createElement("style");return n.textContent=e,n}function vk(e,t){const n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}class bk{constructor(e,t,n,i={}){dk(this,"doc",void 0),dk(this,"appId",void 0),dk(this,"nonce",void 0),dk(this,"inline",new Map),dk(this,"external",new Map),dk(this,"hosts",new Set),dk(this,"isServer",void 0),this.doc=e,this.appId=t,this.nonce=n,this.isServer=TI(i),function(e,t,n,i){var r;const s=null===(r=e.head)||void 0===r?void 0:r.querySelectorAll(`style[${gk}="${t}"],link[${gk}="${t}"]`);if(s)for(const e of s)e.removeAttribute(gk),e instanceof HTMLLinkElement?i.set(e.href.slice(e.href.lastIndexOf("/")+1),{usage:0,elements:[e]}):e.textContent&&n.set(e.textContent,{usage:0,elements:[e]})}(e,t,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,t){for(const t of e)this.addUsage(t,this.inline,mk);null==t||t.forEach(e=>this.addUsage(e,this.external,vk))}removeStyles(e,t){for(const t of e)this.removeUsage(t,this.inline);null==t||t.forEach(e=>this.removeUsage(e,this.external))}addUsage(e,t,n){const i=t.get(e);i?i.usage++:t.set(e,{usage:1,elements:[...this.hosts].map(t=>this.addElement(t,n(e,this.doc)))})}removeUsage(e,t){const n=t.get(e);n&&(n.usage--,n.usage<=0&&(_k(n.elements),t.delete(e)))}ngOnDestroy(){for(const[,{elements:e}]of[...this.inline,...this.external])_k(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(const[t,{elements:n}]of this.inline)n.push(this.addElement(e,mk(t,this.doc)));for(const[t,{elements:n}]of this.external)n.push(this.addElement(e,vk(t,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,t){return this.nonce&&t.setAttribute("nonce",this.nonce),this.isServer&&t.setAttribute(gk,this.appId),e.appendChild(t)}}ak=bk,dk(bk,"ɵfac",function(e){return new(e||ak)(mi(ME),mi(al),mi(dl,8),mi(ul))}),dk(bk,"ɵprov",Fn({token:ak,factory:ak.ɵfac}));const yk={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"},wk=/%COMP%/g,Ek="%COMP%",Tk=`_nghost-${Ek}`,Ck=`_ngcontent-${Ek}`,Ik=new $n("",{providedIn:"root",factory:()=>true});function Sk(e,t){return t.map(t=>t.replace(wk,e))}class Ak{constructor(e,t,n,i,r,s,o,a=null,l=null){dk(this,"eventManager",void 0),dk(this,"sharedStylesHost",void 0),dk(this,"appId",void 0),dk(this,"removeStylesOnCompDestroy",void 0),dk(this,"doc",void 0),dk(this,"platformId",void 0),dk(this,"ngZone",void 0),dk(this,"nonce",void 0),dk(this,"tracingService",void 0),dk(this,"rendererByCompId",new Map),dk(this,"defaultRenderer",void 0),dk(this,"platformIsServer",void 0),this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.removeStylesOnCompDestroy=i,this.doc=r,this.platformId=s,this.ngZone=o,this.nonce=a,this.tracingService=l,this.platformIsServer=TI(s),this.defaultRenderer=new Rk(e,r,o,this.platformIsServer,this.tracingService)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;this.platformIsServer&&t.encapsulation===uc.ShadowDom&&(t=uk(uk({},t),{},{encapsulation:uc.Emulated}));const n=this.getOrCreateRenderer(e,t);return n instanceof Ok?n.applyToHost(e):n instanceof kk&&n.applyStyles(),n}getOrCreateRenderer(e,t){const n=this.rendererByCompId;let i=n.get(t.id);if(!i){const r=this.doc,s=this.ngZone,o=this.eventManager,a=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,c=this.platformIsServer,u=this.tracingService;switch(t.encapsulation){case uc.Emulated:i=new Ok(o,a,t,this.appId,l,r,s,c,u);break;case uc.ShadowDom:return new Dk(o,a,e,t,r,s,this.nonce,c,u);default:i=new kk(o,a,t,l,r,s,c,u)}n.set(t.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}}lk=Ak,dk(Ak,"ɵfac",function(e){return new(e||lk)(mi(pk),mi(bk),mi(al),mi(Ik),mi(ME),mi(ul),mi(ka),mi(dl),mi(yl,8))}),dk(Ak,"ɵprov",Fn({token:lk,factory:lk.ɵfac}));class Rk{constructor(e,t,n,i,r){dk(this,"eventManager",void 0),dk(this,"doc",void 0),dk(this,"ngZone",void 0),dk(this,"platformIsServer",void 0),dk(this,"tracingService",void 0),dk(this,"data",Object.create(null)),dk(this,"throwOnSyntheticProps",!0),dk(this,"destroyNode",null),this.eventManager=e,this.doc=t,this.ngZone=n,this.platformIsServer=i,this.tracingService=r}destroy(){}createElement(e,t){return t?this.doc.createElementNS(yk[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(xk(e)?e.content:e).appendChild(t)}insertBefore(e,t,n){if(e){(xk(e)?e.content:e).insertBefore(t,n)}}removeChild(e,t){t.remove()}selectRootElement(e,t){let n="string"==typeof e?this.doc.querySelector(e):e;if(!n)throw new _n(-5104,!1);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,i){if(i){t=i+":"+t;const r=yk[i];r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const i=yk[n];i?e.removeAttributeNS(i,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,i){i&(vd.DashCase|vd.Important)?e.style.setProperty(t,n,i&vd.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&vd.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){null!=e&&(e[t]=n)}setValue(e,t){e.nodeValue=t}listen(e,t,n,i){var r;if("string"==typeof e&&!(e=jE().getGlobalEventTarget(this.doc,e)))throw new _n(5102,!1);let s=this.decoratePreventDefault(n);return null!==(r=this.tracingService)&&void 0!==r&&r.wrapEventListener&&(s=this.tracingService.wrapEventListener(e,t,s)),this.eventManager.addEventListener(e,t,s,i)}decoratePreventDefault(e){return t=>{if("__ngUnwrap__"===t)return e;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>e(t)):e(t))&&t.preventDefault()}}}function xk(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class Dk extends Rk{constructor(e,t,n,i,r,s,o,a,l){var c;super(e,r,s,a,l),dk(this,"sharedStylesHost",void 0),dk(this,"hostEl",void 0),dk(this,"shadowRoot",void 0),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=i.styles;u=Sk(i.id,u);for(const e of u){const t=document.createElement("style");o&&t.setAttribute("nonce",o),t.textContent=e,this.shadowRoot.appendChild(t)}const d=null===(c=i.getExternalStyles)||void 0===c?void 0:c.call(i);if(d)for(const e of d){const t=vk(e,r);o&&t.setAttribute("nonce",o),this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(null,t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class kk extends Rk{constructor(e,t,n,i,r,s,o,a,l){var c;super(e,r,s,o,a),dk(this,"sharedStylesHost",void 0),dk(this,"removeStylesOnCompDestroy",void 0),dk(this,"styles",void 0),dk(this,"styleUrls",void 0),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=i;let u=n.styles;this.styles=l?Sk(l,u):u,this.styleUrls=null===(c=n.getExternalStyles)||void 0===c?void 0:c.call(n,l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class Ok extends kk{constructor(e,t,n,i,r,s,o,a,l){const c=i+"-"+n.id;var u;super(e,t,n,r,s,o,a,l,c),dk(this,"contentAttr",void 0),dk(this,"hostAttr",void 0),this.contentAttr=(u=c,Ck.replace(wk,u)),this.hostAttr=function(e){return Tk.replace(wk,e)}(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}var Nk,Lk,Mk,Pk;function Fk(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class Hk extends VE{constructor(...e){super(...e),Fk(this,"supportsDOMEvents",!0)}static makeCurrent(){var e;e=new Hk,null!=UE||(UE=e)}onAndCancel(e,t,n,i){return e.addEventListener(t,n,i),()=>{e.removeEventListener(t,n,i)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.remove()}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getBaseHref(e){const t=(Bk=Bk||document.head.querySelector("base"),Bk?Bk.getAttribute("href"):null);return null==t?null:new URL(t,document.baseURI).pathname}resetBaseElement(){Bk=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return wI(document.cookie,e)}}let Bk=null;class zk{build(){return new XMLHttpRequest}}Nk=zk,Fk(zk,"ɵfac",function(e){return new(e||Nk)}),Fk(zk,"ɵprov",Fn({token:Nk,factory:Nk.ɵfac}));class qk extends fk{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n,i){return e.addEventListener(t,n,i),()=>this.removeEventListener(e,t,n,i)}removeEventListener(e,t,n,i){return e.removeEventListener(t,n,i)}}Lk=qk,Fk(qk,"ɵfac",function(e){return new(e||Lk)(mi(ME))}),Fk(qk,"ɵprov",Fn({token:Lk,factory:Lk.ɵfac}));const Uk=["alt","control","meta","shift"],jk={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Vk={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};class Wk extends fk{constructor(e){super(e)}supports(e){return null!=Wk.parseEventName(e)}addEventListener(e,t,n,i){const r=Wk.parseEventName(t),s=Wk.eventCallback(r.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>jE().onAndCancel(e,r.domEventName,s,i))}static parseEventName(e){const t=e.toLowerCase().split("."),n=t.shift();if(0===t.length||"keydown"!==n&&"keyup"!==n)return null;const i=Wk._normalizeKey(t.pop());let r="",s=t.indexOf("code");if(s>-1&&(t.splice(s,1),r="code."),Uk.forEach(e=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),r+=e+".")}),r+=i,0!=t.length||0===i.length)return null;const o={};return o.domEventName=n,o.fullKey=r,o}static matchEventFullKeyCode(e,t){let n=jk[e.key]||e.key,i="";return t.indexOf("code.")>-1&&(n=e.code,i="code."),!(null==n||!n)&&(n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Uk.forEach(t=>{if(t!==n){(0,Vk[t])(e)&&(i+=t+".")}}),i+=n,i===t)}static eventCallback(e,t,n){return i=>{Wk.matchEventFullKeyCode(i,e)&&n.runGuarded(()=>t(i))}}static _normalizeKey(e){return"esc"===e?"escape":e}}Mk=Wk,Fk(Wk,"ɵfac",function(e){return new(e||Mk)(mi(ME))}),Fk(Wk,"ɵprov",Fn({token:Mk,factory:Mk.ɵfac}));const $k=Zw(gE,"browser",[{provide:ul,useValue:EI},{provide:cl,useValue:function(){Hk.makeCurrent()},multi:!0},{provide:ME,useFactory:function(){return function(e){sl=e}(document),document}}]);new $n("");const Gk=[{provide:sg,useClass:class{addToWindow(e){Sn.getAngularTestability=(t,n=!0)=>{const i=e.findTestabilityInTree(t,n);if(null==i)throw new _n(5103,!1);return i},Sn.getAllAngularTestabilities=()=>e.getAllTestabilities(),Sn.getAllAngularRootElements=()=>e.getAllRootElements();Sn.frameworkStabilizers||(Sn.frameworkStabilizers=[]),Sn.frameworkStabilizers.push(e=>{const t=Sn.getAllAngularTestabilities();let n=t.length;const i=function(){n--,0==n&&e()};t.forEach(e=>{e.whenStable(i)})})}findTestabilityInTree(e,t,n){if(null==t)return null;const i=e.getTestability(t);return null!=i?i:n?jE().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}},{provide:rg,useClass:og,deps:[ka,ag,sg]},{provide:og,useClass:og,deps:[ka,ag,sg]}],Yk=[{provide:or,useValue:"root"},{provide:Ba,useFactory:function(){return new Ba}},{provide:hk,useClass:qk,multi:!0,deps:[ME]},{provide:hk,useClass:Wk,multi:!0,deps:[ME]},Ak,bk,pk,{provide:zh,useExisting:Ak},{provide:CI,useClass:zk},[]];class Qk{constructor(){}}var Zk,Kk,Xk,Jk,eO,tO,nO,iO,rO,sO,oO;function aO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function lO(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Pk=Qk,Fk(Qk,"ɵfac",function(e){return new(e||Pk)}),Fk(Qk,"ɵmod",of({type:Pk})),Fk(Qk,"ɵinj",Hn({providers:[...Yk,...Gk],imports:[yI,_E]}));class cO{}class uO{}class dO{constructor(e){lO(this,"headers",void 0),lO(this,"normalizedNames",new Map),lO(this,"lazyInit",void 0),lO(this,"lazyUpdate",null),e?"string"==typeof e?this.lazyInit=()=>{this.headers=new Map,e.split("\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const n=e.slice(0,t),i=e.slice(t+1).trim();this.addHeaderEntry(n,i)}})}:"undefined"!=typeof Headers&&e instanceof Headers?(this.headers=new Map,e.forEach((e,t)=>{this.addHeaderEntry(t,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([e,t])=>{this.setHeaderEntries(e,t)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof dO?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){const t=new dO;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof dO?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);const i=("a"===e.op?this.headers.get(t):void 0)||[];i.push(...n),this.headers.set(t,i);break;case"d":const r=e.value;if(r){let e=this.headers.get(t);if(!e)return;e=e.filter(e=>-1===r.indexOf(e)),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}addHeaderEntry(e,t){const n=e.toLowerCase();this.maybeSetNormalizedName(e,n),this.headers.has(n)?this.headers.get(n).push(t):this.headers.set(n,[t])}setHeaderEntries(e,t){const n=(Array.isArray(t)?t:[t]).map(e=>e.toString()),i=e.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class hO{encodeKey(e){return gO(e)}encodeValue(e){return gO(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}const pO=/%(\d[a-f0-9])/gi,fO={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function gO(e){return encodeURIComponent(e).replace(pO,(e,t)=>{var n;return null!==(n=fO[t])&&void 0!==n?n:e})}function _O(e){return`${e}`}class mO{constructor(e={}){if(lO(this,"map",void 0),lO(this,"encoder",void 0),lO(this,"updates",null),lO(this,"cloneFrom",null),this.encoder=e.encoder||new hO,e.fromString){if(e.fromObject)throw new _n(2805,!1);this.map=function(e,t){const n=new Map;e.length>0&&e.replace(/^\?/,"").split("&").forEach(e=>{const i=e.indexOf("="),[r,s]=-1==i?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,i)),t.decodeValue(e.slice(i+1))],o=n.get(r)||[];o.push(s),n.set(r,o)});return n}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const n=e.fromObject[t],i=Array.isArray(n)?n.map(_O):[_O(n)];this.map.set(t,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){const t=[];return Object.keys(e).forEach(n=>{const i=e[n];Array.isArray(i)?i.forEach(e=>{t.push({param:n,value:e,op:"a"})}):t.push({param:n,value:i,op:"a"})}),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(e=>t+"="+this.encoder.encodeValue(e)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new mO({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(_O(e.value)),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[];const n=t.indexOf(_O(e.value));-1!==n&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}class vO{constructor(){lO(this,"map",new Map)}set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}}function bO(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function yO(e){return"undefined"!=typeof Blob&&e instanceof Blob}function wO(e){return"undefined"!=typeof FormData&&e instanceof FormData}const EO="Content-Type",TO="Accept",CO="X-Request-URL",IO="text/plain",SO="application/json",AO=`${SO}, ${IO}, */*`;class RO{constructor(e,t,n,i){var r,s;let o;if(lO(this,"url",void 0),lO(this,"body",null),lO(this,"headers",void 0),lO(this,"context",void 0),lO(this,"reportProgress",!1),lO(this,"withCredentials",!1),lO(this,"responseType","json"),lO(this,"method",void 0),lO(this,"params",void 0),lO(this,"urlWithParams",void 0),lO(this,"transferCache",void 0),this.url=t,this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,o=i):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),null!==(r=this.headers)&&void 0!==r||(this.headers=new dO),null!==(s=this.context)&&void 0!==s||(this.context=new vO),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const n=t.indexOf("?"),i=-1===n?"?":n<t.length-1?"&":"";this.urlWithParams=t+i+e}}else this.params=new mO,this.urlWithParams=t}serializeBody(){return null===this.body?null:"string"==typeof this.body||bO(this.body)||yO(this.body)||wO(this.body)||(e=this.body,"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams)?this.body:this.body instanceof mO?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString();var e}detectContentTypeHeader(){return null===this.body||wO(this.body)?null:yO(this.body)?this.body.type||null:bO(this.body)?null:"string"==typeof this.body?IO:this.body instanceof mO?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?SO:null}clone(e={}){var t,n,i,r;const s=e.method||this.method,o=e.url||this.url,a=e.responseType||this.responseType,l=null!==(t=e.transferCache)&&void 0!==t?t:this.transferCache,c=void 0!==e.body?e.body:this.body,u=null!==(n=e.withCredentials)&&void 0!==n?n:this.withCredentials,d=null!==(i=e.reportProgress)&&void 0!==i?i:this.reportProgress;let h=e.headers||this.headers,p=e.params||this.params;const f=null!==(r=e.context)&&void 0!==r?r:this.context;return void 0!==e.setHeaders&&(h=Object.keys(e.setHeaders).reduce((t,n)=>t.set(n,e.setHeaders[n]),h)),e.setParams&&(p=Object.keys(e.setParams).reduce((t,n)=>t.set(n,e.setParams[n]),p)),new RO(s,o,c,{params:p,headers:h,context:f,reportProgress:d,responseType:a,withCredentials:u,transferCache:l})}}var xO;!function(e){e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User"}(xO||(xO={}));class DO{constructor(e,t=200,n="OK"){lO(this,"headers",void 0),lO(this,"status",void 0),lO(this,"statusText",void 0),lO(this,"url",void 0),lO(this,"ok",void 0),lO(this,"type",void 0),this.headers=e.headers||new dO,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class kO extends DO{constructor(e={}){super(e),lO(this,"type",xO.ResponseHeader)}clone(e={}){return new kO({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class OO extends DO{constructor(e={}){super(e),lO(this,"body",void 0),lO(this,"type",xO.Response),this.body=void 0!==e.body?e.body:null}clone(e={}){return new OO({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class NO extends DO{constructor(e){super(e,0,"Unknown Error"),lO(this,"name","HttpErrorResponse"),lO(this,"message",void 0),lO(this,"error",void 0),lO(this,"ok",!1),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}var LO;function MO(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}!function(e){e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired"}(LO||(LO={}));class PO{constructor(e){lO(this,"handler",void 0),this.handler=e}request(e,t,n={}){let i;if(e instanceof RO)i=e;else{let r,s;r=n.headers instanceof dO?n.headers:new dO(n.headers),n.params&&(s=n.params instanceof mO?n.params:new mO({fromObject:n.params})),i=new RO(e,t,void 0!==n.body?n.body:null,{headers:r,context:n.context,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials,transferCache:n.transferCache})}const r=lt(i).pipe((s=e=>this.handler.handle(e),se(o)?ht(s,o,1):ht(s,1)));var s,o;if(e instanceof RO||"events"===n.observe)return r;const a=r.pipe(bt(e=>e instanceof OO));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(ct(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new _n(2806,!1);return e.body}));case"blob":return a.pipe(ct(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new _n(2807,!1);return e.body}));case"text":return a.pipe(ct(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new _n(2808,!1);return e.body}));default:return a.pipe(ct(e=>e.body))}case"response":return a;default:throw new _n(2809,!1)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new mO).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,n={}){return this.request("PATCH",e,MO(n,t))}post(e,t,n={}){return this.request("POST",e,MO(n,t))}put(e,t,n={}){return this.request("PUT",e,MO(n,t))}}Zk=PO,lO(PO,"ɵfac",function(e){return new(e||Zk)(mi(cO))}),lO(PO,"ɵprov",Fn({token:Zk,factory:Zk.ɵfac}));const FO=/^\)\]\}',?\n/;function HO(e){if(e.url)return e.url;const t=CO.toLocaleLowerCase();return e.headers.get(t)}const BO=new $n("");class zO{constructor(){var e,t;lO(this,"fetchImpl",null!==(e=null===(t=bi(qO,{optional:!0}))||void 0===t?void 0:t.fetch)&&void 0!==e?e:(...e)=>globalThis.fetch(...e)),lO(this,"ngZone",bi(ka)),lO(this,"destroyRef",bi(_a)),lO(this,"destroyed",!1),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}handle(e){return new Ie(t=>{const n=new AbortController;return this.doRequest(e,n.signal,t).then(UO,e=>t.error(new NO({error:e}))),()=>n.abort()})}async doRequest(e,t,n){var i;const r=this.createRequestInit(e);let s;try{const i=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?aO(Object(n),!0).forEach(function(t){lO(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aO(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({signal:t},r)));i.then(UO,UO),n.next({type:xO.Sent}),s=await i}catch(t){var o;return void n.error(new NO({error:t,status:null!==(o=t.status)&&void 0!==o?o:0,statusText:t.statusText,url:e.urlWithParams,headers:t.headers}))}const a=new dO(s.headers),l=s.statusText,c=null!==(i=HO(s))&&void 0!==i?i:e.urlWithParams;let u=s.status,d=null;if(e.reportProgress&&n.next(new kO({headers:a,status:u,statusText:l,url:c})),s.body){const t=s.headers.get("content-length"),i=[],r=s.body.getReader();let o,a,l=0;const c="undefined"!=typeof Zone&&Zone.current;let u=!1;if(await this.ngZone.runOutsideAngular(async()=>{for(;;){if(this.destroyed){await r.cancel(),u=!0;break}const{done:s,value:d}=await r.read();if(s)break;if(i.push(d),l+=d.length,e.reportProgress){a="text"===e.responseType?(null!=a?a:"")+(null!=o?o:o=new TextDecoder).decode(d,{stream:!0}):void 0;const i=()=>n.next({type:xO.DownloadProgress,total:t?+t:void 0,loaded:l,partialText:a});c?c.run(i):i()}}}),u)return void n.complete();const f=this.concatChunks(i,l);try{var h;const t=null!==(h=s.headers.get(EO))&&void 0!==h?h:"";d=this.parseBody(e,f,t)}catch(t){var p;return void n.error(new NO({error:t,headers:new dO(s.headers),status:s.status,statusText:s.statusText,url:null!==(p=HO(s))&&void 0!==p?p:e.urlWithParams}))}}0===u&&(u=d?200:0);u>=200&&u<300?(n.next(new OO({body:d,headers:a,status:u,statusText:l,url:c})),n.complete()):n.error(new NO({error:d,headers:a,status:u,statusText:l,url:c}))}parseBody(e,t,n){switch(e.responseType){case"json":const e=(new TextDecoder).decode(t).replace(FO,"");return""===e?null:JSON.parse(e);case"text":return(new TextDecoder).decode(t);case"blob":return new Blob([t],{type:n});case"arraybuffer":return t.buffer}}createRequestInit(e){const t={},n=e.withCredentials?"include":void 0;if(e.headers.forEach((e,n)=>t[e]=n.join(",")),e.headers.has(TO)||(t[TO]=AO),!e.headers.has(EO)){const n=e.detectContentTypeHeader();null!==n&&(t[EO]=n)}return{body:e.serializeBody(),method:e.method,headers:t,credentials:n}}concatChunks(e,t){const n=new Uint8Array(t);let i=0;for(const t of e)n.set(t,i),i+=t.length;return n}}Kk=zO,lO(zO,"ɵfac",function(e){return new(e||Kk)}),lO(zO,"ɵprov",Fn({token:Kk,factory:Kk.ɵfac}));class qO{}function UO(){}function jO(e,t){return t(e)}function VO(e,t){return(n,i)=>t.intercept(n,{handle:t=>e(t,i)})}const WO=new $n(""),$O=new $n(""),GO=new $n(""),YO=new $n("",{providedIn:"root",factory:()=>!0});function QO(){let e=null;return(t,n)=>{if(null===e){var i;const t=null!==(i=bi(WO,{optional:!0}))&&void 0!==i?i:[];e=t.reduceRight(VO,jO)}const r=bi(Ea);if(bi(YO)){const i=r.add();return e(t,n).pipe(Tt(()=>r.remove(i)))}return e(t,n)}}class ZO extends cO{constructor(e,t){super(),lO(this,"backend",void 0),lO(this,"injector",void 0),lO(this,"chain",null),lO(this,"pendingTasks",bi(Ea)),lO(this,"contributeToStability",bi(YO)),this.backend=e,this.injector=t}handle(e){if(null===this.chain){const e=Array.from(new Set([...this.injector.get($O),...this.injector.get(GO,[])]));this.chain=e.reduceRight((e,t)=>function(e,t,n){return(i,r)=>vr(n,()=>t(i,t=>e(t,r)))}(e,t,this.injector),jO)}if(this.contributeToStability){const t=this.pendingTasks.add();return this.chain(e,e=>this.backend.handle(e)).pipe(Tt(()=>this.pendingTasks.remove(t)))}return this.chain(e,e=>this.backend.handle(e))}}Xk=ZO,lO(ZO,"ɵfac",function(e){return new(e||Xk)(mi(uO),mi(dr))}),lO(ZO,"ɵprov",Fn({token:Xk,factory:Xk.ɵfac}));let KO,XO=0;class JO{}function eN(){return"object"==typeof window?window:{}}class tN{constructor(e,t){lO(this,"callbackMap",void 0),lO(this,"document",void 0),lO(this,"resolvedPromise",Promise.resolve()),this.callbackMap=e,this.document=t}nextCallback(){return"ng_jsonp_callback_"+XO++}handle(e){if("JSONP"!==e.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==e.responseType)throw new Error("JSONP requests must use Json response type.");if(e.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new Ie(t=>{const n=this.nextCallback(),i=e.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${n}$1`),r=this.document.createElement("script");r.src=i;let s=null,o=!1;this.callbackMap[n]=e=>{delete this.callbackMap[n],s=e,o=!0};const a=()=>{r.removeEventListener("load",l),r.removeEventListener("error",c),r.remove(),delete this.callbackMap[n]},l=e=>{this.resolvedPromise.then(()=>{a(),o?(t.next(new OO({body:s,status:200,statusText:"OK",url:i})),t.complete()):t.error(new NO({url:i,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})},c=e=>{a(),t.error(new NO({error:e,status:0,statusText:"JSONP Error",url:i}))};return r.addEventListener("load",l),r.addEventListener("error",c),this.document.body.appendChild(r),t.next({type:xO.Sent}),()=>{o||this.removeListeners(r),a()}})}removeListeners(e){null!=KO||(KO=this.document.implementation.createHTMLDocument()),KO.adoptNode(e)}}function nN(e,t){return"JSONP"===e.method?bi(tN).handle(e):t(e)}Jk=tN,lO(tN,"ɵfac",function(e){return new(e||Jk)(mi(JO),mi(ME))}),lO(tN,"ɵprov",Fn({token:Jk,factory:Jk.ɵfac}));class iN{constructor(e){lO(this,"injector",void 0),this.injector=e}intercept(e,t){return vr(this.injector,()=>nN(e,e=>t.handle(e)))}}eO=iN,lO(iN,"ɵfac",function(e){return new(e||eO)(mi(dr))}),lO(iN,"ɵprov",Fn({token:eO,factory:eO.ɵfac}));const rN=/^\)\]\}',?\n/,sN=RegExp(`^${CO}:`,"m");class oN{constructor(e){lO(this,"xhrFactory",void 0),this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new _n(-2800,!1);const t=this.xhrFactory;return(t.ɵloadImpl?at(t.ɵloadImpl()):lt(null)).pipe((n=()=>new Ie(n=>{const i=t.build();if(i.open(e.method,e.urlWithParams),e.withCredentials&&(i.withCredentials=!0),e.headers.forEach((e,t)=>i.setRequestHeader(e,t.join(","))),e.headers.has(TO)||i.setRequestHeader(TO,AO),!e.headers.has(EO)){const t=e.detectContentTypeHeader();null!==t&&i.setRequestHeader(EO,t)}if(e.responseType){const t=e.responseType.toLowerCase();i.responseType="json"!==t?t:"text"}const r=e.serializeBody();let s=null;const o=()=>{if(null!==s)return s;const t=i.statusText||"OK",n=new dO(i.getAllResponseHeaders()),r=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:sN.test(e.getAllResponseHeaders())?e.getResponseHeader(CO):null}(i)||e.url;return s=new kO({headers:n,status:i.status,statusText:t,url:r}),s},a=()=>{let{headers:t,status:r,statusText:s,url:a}=o(),l=null;204!==r&&(l=void 0===i.response?i.responseText:i.response),0===r&&(r=l?200:0);let c=r>=200&&r<300;if("json"===e.responseType&&"string"==typeof l){const e=l;l=l.replace(rN,"");try{l=""!==l?JSON.parse(l):null}catch(t){l=e,c&&(c=!1,l={error:t,text:l})}}c?(n.next(new OO({body:l,headers:t,status:r,statusText:s,url:a||void 0})),n.complete()):n.error(new NO({error:l,headers:t,status:r,statusText:s,url:a||void 0}))},l=e=>{const{url:t}=o(),r=new NO({error:e,status:i.status||0,statusText:i.statusText||"Unknown Error",url:t||void 0});n.error(r)};let c=!1;const u=t=>{c||(n.next(o()),c=!0);let r={type:xO.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(r.total=t.total),"text"===e.responseType&&i.responseText&&(r.partialText=i.responseText),n.next(r)},d=e=>{let t={type:xO.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return i.addEventListener("load",a),i.addEventListener("error",l),i.addEventListener("timeout",l),i.addEventListener("abort",l),e.reportProgress&&(i.addEventListener("progress",u),null!==r&&i.upload&&i.upload.addEventListener("progress",d)),i.send(r),n.next({type:xO.Sent}),()=>{i.removeEventListener("error",l),i.removeEventListener("abort",l),i.removeEventListener("load",a),i.removeEventListener("timeout",l),e.reportProgress&&(i.removeEventListener("progress",u),null!==r&&i.upload&&i.upload.removeEventListener("progress",d)),i.readyState!==i.DONE&&i.abort()}}),Ae(function(e,t){var r=null,s=0,o=!1,a=function(){return o&&!r&&t.complete()};e.subscribe(Re(t,function(e){null==r||r.unsubscribe();var o=0,l=s++;et(n(e,l)).subscribe(r=Re(t,function(n){return t.next(i?i(e,n,l,o++):n)},function(){r=null,a()}))},function(){o=!0,a()}))})));var n,i}}tO=oN,lO(oN,"ɵfac",function(e){return new(e||tO)(mi(CI))}),lO(oN,"ɵprov",Fn({token:tO,factory:tO.ɵfac}));const aN=new $n(""),lN="XSRF-TOKEN",cN=new $n("",{providedIn:"root",factory:()=>lN}),uN="X-XSRF-TOKEN",dN=new $n("",{providedIn:"root",factory:()=>uN});class hN{}class pN{constructor(e,t){lO(this,"doc",void 0),lO(this,"cookieName",void 0),lO(this,"lastCookieString",""),lO(this,"lastToken",null),lO(this,"parseCount",0),this.doc=e,this.cookieName=t}getToken(){if("undefined"!=typeof ngServerMode&&ngServerMode)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=wI(e,this.cookieName),this.lastCookieString=e),this.lastToken}}function fN(e,t){const n=e.url.toLowerCase();if(!bi(aN)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const i=bi(hN).getToken(),r=bi(dN);return null==i||e.headers.has(r)||(e=e.clone({headers:e.headers.set(r,i)})),t(e)}nO=pN,lO(pN,"ɵfac",function(e){return new(e||nO)(mi(ME),mi(cN))}),lO(pN,"ɵprov",Fn({token:nO,factory:nO.ɵfac}));class gN{constructor(e){lO(this,"injector",void 0),this.injector=e}intercept(e,t){return vr(this.injector,()=>fN(e,e=>t.handle(e)))}}var _N;function mN(e,t){return{"ɵkind":e,"ɵproviders":t}}function vN(...e){const t=[PO,oN,ZO,{provide:cO,useExisting:ZO},{provide:uO,useFactory:()=>{var e;return null!==(e=bi(BO,{optional:!0}))&&void 0!==e?e:bi(oN)}},{provide:$O,useValue:fN,multi:!0},{provide:aN,useValue:!0},{provide:hN,useClass:pN}];for(const n of e)t.push(...n.ɵproviders);return function(e){return{"ɵproviders":e}}(t)}iO=gN,lO(gN,"ɵfac",function(e){return new(e||iO)(mi(dr))}),lO(gN,"ɵprov",Fn({token:iO,factory:iO.ɵfac})),function(e){e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch"}(_N||(_N={}));const bN=new $n("");function yN(){return mN(_N.LegacyInterceptors,[{provide:bN,useFactory:QO},{provide:$O,useExisting:bN,multi:!0}])}function wN({cookieName:e,headerName:t}){const n=[];return void 0!==e&&n.push({provide:cN,useValue:e}),void 0!==t&&n.push({provide:dN,useValue:t}),mN(_N.CustomXsrfConfiguration,n)}function EN(){return mN(_N.JsonpSupport,[tN,{provide:JO,useFactory:eN},{provide:$O,useValue:nN,multi:!0}])}class TN{static disable(){return{ngModule:TN,providers:[mN(_N.NoXsrfProtection,[{provide:aN,useValue:!1}]).ɵproviders]}}static withOptions(e={}){return{ngModule:TN,providers:wN(e).ɵproviders}}}rO=TN,lO(TN,"ɵfac",function(e){return new(e||rO)}),lO(TN,"ɵmod",of({type:rO})),lO(TN,"ɵinj",Hn({providers:[gN,{provide:WO,useExisting:gN,multi:!0},{provide:hN,useClass:pN},wN({cookieName:lN,headerName:uN}).ɵproviders,{provide:aN,useValue:!0}]}));class CN{}sO=CN,lO(CN,"ɵfac",function(e){return new(e||sO)}),lO(CN,"ɵmod",of({type:sO})),lO(CN,"ɵinj",Hn({providers:[vN(yN())]}));class IN{}function SN(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function AN(e){return function(t,n){var i;(null==n?void 0:n.injector)||yr();const r=null!==(i=null==n?void 0:n.injector)&&void 0!==i?i:bi(fa);return new RN(r,()=>function(e,t){var n,i;let r="function"==typeof e?e():e;if(void 0===r)return;"string"==typeof r&&(r={url:r});const s=r.headers instanceof dO?r.headers:new dO(r.headers),o=r.params instanceof mO?r.params:new mO({fromObject:r.params});return new RO(null!==(n=r.method)&&void 0!==n?n:"GET",r.url,null!==(i=r.body)&&void 0!==i?i:null,{headers:s,params:o,reportProgress:r.reportProgress,withCredentials:r.withCredentials,responseType:t,context:r.context,transferCache:r.transferCache})}(t,e),null==n?void 0:n.defaultValue,null==n?void 0:n.parse,null==n?void 0:n.equal)}}oO=IN,lO(IN,"ɵfac",function(e){return new(e||oO)}),lO(IN,"ɵmod",of({type:oO})),lO(IN,"ɵinj",Hn({providers:[EN().ɵproviders]})),(()=>{const e=AN("json");e.arrayBuffer=AN("arraybuffer"),e.blob=AN("blob"),e.text=AN("text")})();class RN extends OE{constructor(e,t,n,i,r){super(t,({request:e,abortSignal:t})=>{let n;const r=()=>n.unsubscribe();t.addEventListener("abort",r);const s=Va({value:void 0});let o;const a=new Promise(e=>o=e),l=e=>{var t;s.set(e),null===(t=o)||void 0===t||t(s),o=void 0};return n=this.client.request(e).subscribe({next:e=>{switch(e.type){case xO.Response:this._headers.set(e.headers),this._statusCode.set(e.status);try{l({value:i?i(e.body):e.body})}catch(e){l({error:e})}break;case xO.DownloadProgress:this._progress.set(e)}},error:e=>{e instanceof NO&&(this._headers.set(e.headers),this._statusCode.set(e.status)),l({error:e}),t.removeEventListener("abort",r)},complete:()=>{o&&l({error:new Error("Resource completed before producing a value")}),t.removeEventListener("abort",r)}}),a},n,r,e),SN(this,"client",void 0),SN(this,"_headers",xE({source:this.extRequest,computation:()=>{}})),SN(this,"_progress",xE({source:this.extRequest,computation:()=>{}})),SN(this,"_statusCode",xE({source:this.extRequest,computation:()=>{}})),SN(this,"headers",yE(()=>this.status()===AE.Resolved||this.status()===AE.Error?this._headers():void 0)),SN(this,"progress",this._progress.asReadonly()),SN(this,"statusCode",this._statusCode.asReadonly()),this.client=e.get(PO)}}var xN,DN,kN,ON,NN,LN,MN;function PN(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}new $n(""),new $n("");class FN{constructor(e){PN(this,"_doc",void 0),PN(this,"_dom",void 0),this._doc=e,this._dom=jE()}addTag(e,t=!1){return e?this._getOrCreateElement(e,t):null}addTags(e,t=!1){return e?e.reduce((e,n)=>(n&&e.push(this._getOrCreateElement(n,t)),e),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];const t=this._doc.querySelectorAll(`meta[${e}]`);return t?[].slice.call(t):[]}updateTag(e,t){if(!e)return null;t=t||this._parseSelector(e);const n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,t=!1){if(!t){const t=this._parseSelector(e),n=this.getTags(t).filter(t=>this._containsAttributes(e,t))[0];if(void 0!==n)return n}const n=this._dom.createElement("meta");this._setMetaElementAttributes(e,n);return this._doc.getElementsByTagName("head")[0].appendChild(n),n}_setMetaElementAttributes(e,t){return Object.keys(e).forEach(n=>t.setAttribute(this._getMetaKeyMap(n),e[n])),t}_parseSelector(e){const t=e.name?"name":"property";return`${t}="${e[t]}"`}_containsAttributes(e,t){return Object.keys(e).every(n=>t.getAttribute(this._getMetaKeyMap(n))===e[n])}_getMetaKeyMap(e){return HN[e]||e}}xN=FN,PN(FN,"ɵfac",function(e){return new(e||xN)(mi(ME))}),PN(FN,"ɵprov",Fn({token:xN,factory:xN.ɵfac,providedIn:"root"}));const HN={httpEquiv:"http-equiv"};class BN{constructor(e){PN(this,"_doc",void 0),this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}DN=BN,PN(BN,"ɵfac",function(e){return new(e||DN)(mi(ME))}),PN(BN,"ɵprov",Fn({token:DN,factory:DN.ɵfac,providedIn:"root"}));const zN={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},qN=new $n(""),UN=new $n("");class jN{constructor(){PN(this,"events",[]),PN(this,"overrides",{}),PN(this,"options",void 0)}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const e in this.overrides)t.get(e).set(this.overrides[e]);return t}}kN=jN,PN(jN,"ɵfac",function(e){return new(e||kN)}),PN(jN,"ɵprov",Fn({token:kN,factory:kN.ɵfac}));class VN extends fk{constructor(e,t,n,i){super(e),PN(this,"_config",void 0),PN(this,"_injector",void 0),PN(this,"loader",void 0),PN(this,"_loaderPromise",null),this._config=t,this._injector=n,this.loader=i}supports(e){return!(!zN.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e))&&!(!window.Hammer&&!this.loader)}addEventListener(e,t,n){const i=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||i.runOutsideAngular(()=>this.loader());let r=!1,s=()=>{r=!0};return i.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?r||(s=this.addEventListener(e,t,n)):s=()=>{}}).catch(()=>{s=()=>{}})),()=>{s()}}return i.runOutsideAngular(()=>{const r=this._config.buildHammer(e),s=function(e){i.runGuarded(function(){n(e)})};return r.on(t,s),()=>{r.off(t,s),"function"==typeof r.destroy&&r.destroy()}})}isCustomEvent(e){return this._config.events.indexOf(e)>-1}}ON=VN,PN(VN,"ɵfac",function(e){return new(e||ON)(mi(ME),mi(qN),mi(fa),mi(UN,8))}),PN(VN,"ɵprov",Fn({token:ON,factory:ON.ɵfac}));class WN{}NN=WN,PN(WN,"ɵfac",function(e){return new(e||NN)}),PN(WN,"ɵmod",of({type:NN})),PN(WN,"ɵinj",Hn({providers:[{provide:hk,useClass:VN,multi:!0,deps:[ME,qN,fa,[new Si,UN]]},{provide:qN,useClass:jN}]}));class $N{}LN=$N,PN($N,"ɵfac",function(e){return new(e||LN)}),PN($N,"ɵprov",Fn({token:LN,factory:function(e){let t=null;return t=e?new(e||LN):mi(GN),t},providedIn:"root"}));class GN extends $N{constructor(e){super(),PN(this,"_doc",void 0),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case ou.NONE:return t;case ou.HTML:return xc(t,"HTML")?Rc(t):ru(this._doc,String(t)).toString();case ou.STYLE:return xc(t,"Style")?Rc(t):t;case ou.SCRIPT:if(xc(t,"Script"))return Rc(t);throw new _n(5200,!1);case ou.URL:return xc(t,"URL")?Rc(t):Lc(String(t));case ou.RESOURCE_URL:if(xc(t,"ResourceURL"))return Rc(t);throw new _n(5201,!1);default:throw new _n(5202,!1)}}bypassSecurityTrustHtml(e){return new Tc(e)}bypassSecurityTrustStyle(e){return new Cc(e)}bypassSecurityTrustScript(e){return new Ic(e)}bypassSecurityTrustUrl(e){return new Sc(e)}bypassSecurityTrustResourceUrl(e){return new Ac(e)}}var YN;MN=GN,PN(GN,"ɵfac",function(e){return new(e||MN)(mi(ME))}),PN(GN,"ɵprov",Fn({token:MN,factory:MN.ɵfac,providedIn:"root"})),function(e){e[e.NoHttpTransferCache=0]="NoHttpTransferCache",e[e.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",e[e.I18nSupport=2]="I18nSupport",e[e.EventReplay=3]="EventReplay",e[e.IncrementalHydration=4]="IncrementalHydration"}(YN||(YN={})),new xw("19.2.14");class QN{set hidden(e){e?this.renderer.setAttribute(this.el.nativeElement,"hidden","true"):this.renderer.removeAttribute(this.el.nativeElement,"hidden");let t=this._hidden;this._hidden=e,tS()||t==e||requestAnimationFrame(()=>{this.onHide.emit(e)})}get hidden(){return this._hidden}constructor(e,t){this.el=e,this.renderer=t,this._hidden=!1,this.onHide=new Ca}}QN.ɵfac=function(e){return new(e||QN)(ep(Ua),ep(qh))},QN.ɵdir=cf({type:QN,inputs:{hidden:[0,"ng-hidden","hidden"]},outputs:{onHide:"onHide"}});class ZN{set text(e){this._text=e,tS()||iS()||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(e,t,n){this._el=e,this._zone=t,this._renderer=n,this._timer=null,this.is_android=!1,this.type="assertive"}ngOnInit(){tS()||(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"),tS()||this.is_android&&(this._renderer.setAttribute(this._el.nativeElement,"aria-hidden","true"),this._renderer.setAttribute(this._el.nativeElement,"tabindex","-1"))}}ZN.ɵfac=function(e){return new(e||ZN)(ep(Ua),ep(ka),ep(qh))},ZN.ɵdir=cf({type:ZN,inputs:{type:[0,"live-type","type"],text:[0,"ng-aria-live","text"]}});class KN{constructor(e,t){this._el=e,this._renderer=t,this.type="self"}ngAfterViewChecked(){if(tS())return;const e=[],t=this._el.nativeElement;if(this.type){for(var n=0,i=t.childNodes.length;n<i;n++){let i=t.childNodes[n],r="";1==i.nodeType?r=i.hasAttribute("aria-label")?sS(i.getAttribute("aria-label")):sS(i.innerText):3==i.nodeType&&(r=sS(i.wholeText)),r&&e.push(r)}this._renderer.setAttribute(this._el.nativeElement,"aria-label",e.join("self"==this.type?" ":". "))}}}KN.ɵfac=function(e){return new(e||KN)(ep(Ua),ep(qh))},KN.ɵdir=cf({type:KN,inputs:{type:[0,"ng-aria-label-self","type"]}});class XN{set hidden(e){let t=this.el.nativeElement;e?(this.renderer.setAttribute(t,"aria-hidden","true"),this.renderer.setAttribute(t,"tabindex","-1")):(this.renderer.removeAttribute(t,"aria-hidden"),this.notab?this.renderer.removeAttribute(t,"tabindex"):this.renderer.setAttribute(t,"tabindex",this.tabindex));let n=this._hidden;this._hidden=e,tS()||n==e||requestAnimationFrame(()=>{this.onHide.emit(e)})}get hidden(){return this._hidden}constructor(e,t){this.el=e,this.renderer=t,this._hidden=!1,this.onHide=new Ca,this.tabindex="0"}}XN.ɵfac=function(e){return new(e||XN)(ep(Ua),ep(qh))},XN.ɵdir=cf({type:XN,inputs:{tabindex:"tabindex",notab:[0,"no-tab","notab"],hidden:[0,"ng-aria-hidden","hidden"]},outputs:{onHide:"onHide"}});class JN{set cond(e){this._cond=e,this._ready&&this._SetAttr()}get cond(){return this._cond}constructor(e,t){this._el=e,this._renderer=t,this._ready=!1}_SetAttr(){dS(this.attributes)?this._cond?this.attributes.forEach(e=>{this._renderer.setAttribute(this._el.nativeElement,e.attribute,e.value)}):this.attributes.forEach(e=>{this._renderer.removeAttribute(this._el.nativeElement,e.attribute)}):fS(this.attributes)&&mS(this.attributes,(e,t)=>{this._cond?this._renderer.setAttribute(this._el.nativeElement,t,e):this._renderer.removeAttribute(this._el.nativeElement,t)})}ngOnInit(){this._SetAttr(),this._ready=!0}}JN.ɵfac=function(e){return new(e||JN)(ep(Ua),ep(qh))},JN.ɵdir=cf({type:JN,inputs:{attributes:[0,"ng-attribute","attributes"],cond:[0,"ng-attribute-when","cond"]}});class eL{_bindHTML(e){this._html=sk(e,this.settings),this._renderer.setProperty(this._el.nativeElement,"innerHTML",this._html)}set cleanHTML(e){this._initiated?this._bindHTML(e):this._html=e}get cleanHTML(){return this._html}constructor(e,t){this._el=e,this._renderer=t,this.settings=rk,this._initiated=!1}ngOnInit(){this._html&&this._bindHTML(this._html),this._initiated=!0}}eL.ɵfac=function(e){return new(e||eL)(ep(Ua),ep(qh))},eL.ɵdir=cf({type:eL,inputs:{settings:[0,"cleanHTML-sett","settings"],cleanHTML:"cleanHTML"}});class tL{constructor(e,t,n){this._sanitizer=e,this._el=t,this._renderer=n}set ngcontext(e){if(tS())this._renderer.setProperty(this._el.nativeElement,"innerHTML",sk(e));else{const t=this._sanitizer.sanitize(ou.HTML,(e||"").toString());this._el.nativeElement.innerHTML=t,this._el.nativeElement.innerHTML=this._el.nativeElement.textContent}}}tL.ɵfac=function(e){return new(e||tL)(ep($N),ep(Ua),ep(qh))},tL.ɵdir=cf({type:tL,inputs:{ngcontext:[0,"ng-context","ngcontext"]}});class nL{transform(e,t="",n=0,i=null,r=!1,s=!1){let o=cS(e);if(!lS(o))return null!=i&&"value"==i?e:"";if(r){let e=!isNaN(n=Math.abs(n))&&n>0?Math.pow(10,n):1,t=o*e;o=(t<0?Math.ceil(t):Math.floor(t))/e}return uS(o,n,t,",",".",s)}}class iL{constructor(e){this.onSubmit=new Ca,this._allow_submit=!1,this._form=e.nativeElement,this.submit=this.submit.bind(this)}submit(e){return this.onSubmit.emit(e),this._allow_submit||e.preventDefault(),this._allow_submit}ngAfterViewInit(){this._form&&!tS()&&this._form.addEventListener("submit",this.submit,!1)}ngOnDestroy(){this._form&&!tS()&&this._form.removeEventListener("submit",this.submit)}}iL.ɵfac=function(e){return new(e||iL)(ep(Ua))},iL.ɵdir=cf({type:iL,inputs:{_allow_submit:[0,"allow-submit","_allow_submit"]},outputs:{onSubmit:"onSubmit"}});class rL{constructor(){this.datePipe=new aI("en-US")}transform(e){if(!e)return null;let t;if(e instanceof Date)t=e;else if("string"==typeof e)t=new Date(e.trim());else{if("number"!=typeof e)return null;{const n=e.toString().length<=10?1e3*e:e;t=new Date(n)}}let n=!0;if("string"==typeof e){const t=e.trim();n=/(\d{1,2}:\d{2})/.test(t)||/\dT\d/.test(t)}const i=(new Date).getFullYear(),r=t.getFullYear()===i;let s;s=n?r?"MMM dd • h:mm a":"MMM dd, yyyy • h:mm a":r?"MMM dd":"MMM dd, yyyy";const o=this.datePipe.transform(t,s);return o?o.toUpperCase():null}}rL.ɵfac=function(e){return new(e||rL)},rL.ɵpipe=uf({name:"ngdate",type:rL,pure:!0});class sL extends QN{}sL.ɵfac=(()=>{let e;return function(t){return(e||(e=Jo(sL)))(t||sL)}})(),sL.ɵdir=cf({type:sL,selectors:[["","ng-hidden",""]],standalone:!1,features:[gf]});class oL extends JN{}oL.ɵfac=(()=>{let e;return function(t){return(e||(e=Jo(oL)))(t||oL)}})(),oL.ɵdir=cf({type:oL,selectors:[["","ng-attribute",""]],standalone:!1,features:[gf]});class aL extends nL{}aL.ɵfac=(()=>{let e;return function(t){return(e||(e=Jo(aL)))(t||aL)}})(),aL.ɵpipe=uf({name:"moneyformat",type:aL,pure:!0,standalone:!1});class lL{transform(e){return((t=e)?aS(t.toString()):"").replace(/(\d{3})(\d{3})(\d{4})/,"($1) $2-$3");var t}}lL.ɵfac=function(e){return new(e||lL)},lL.ɵpipe=uf({name:"phoneformat",type:lL,pure:!0,standalone:!1});class cL extends eL{}cL.ɵfac=(()=>{let e;return function(t){return(e||(e=Jo(cL)))(t||cL)}})(),cL.ɵdir=cf({type:cL,selectors:[["","cleanHTML",""]],standalone:!1,features:[gf]});class uL{set image(e){this._image=e?sk(e,{ALLOW_UNKNOWN_PROTOCOLS:!0,ALLOWED_TAGS:[],ALLOWED_ATTR:[]}):null,this._initiated&&this._SetImg(e)}get image(){return this._image}constructor(e,t){this._el=e,this._renderer=t,this._initiated=!1,this._image=""}ngOnInit(){this._image&&this._SetImg(this._image),this._initiated=!0}_SetImg(e){e?this._renderer.setProperty(this._el.nativeElement,"src",e):this._renderer.removeAttribute(this._el.nativeElement,"src")}}uL.ɵfac=function(e){return new(e||uL)(ep(Ua),ep(qh))},uL.ɵdir=cf({type:uL,selectors:[["","ng-img",""]],inputs:{image:[0,"ng-img","image"]},standalone:!1});class dL extends tL{}dL.ɵfac=(()=>{let e;return function(t){return(e||(e=Jo(dL)))(t||dL)}})(),dL.ɵdir=cf({type:dL,selectors:[["","ng-context",""]],standalone:!1,features:[gf]});class hL{set ng_svg(e){if(this._svg_attrs=e,this._el&&this._el.nativeElement){let t=this._el.nativeElement;mS(e,(e,n)=>{e?this._renderer.setAttribute(t,n,e):this._renderer.removeAttribute(t,n)})}}get ng_svg(){return this._svg_attrs}constructor(e,t){this._el=e,this._renderer=t}}hL.ɵfac=function(e){return new(e||hL)(ep(Ua),ep(qh))},hL.ɵdir=cf({type:hL,selectors:[["","ng-svg-attr",""]],inputs:{ng_svg:[0,"ng-svg-attr","ng_svg"]},standalone:!1});class pL{transform(e,t=1,n=!1){return function(e,t=1,n=!1){let i=!1,r="";e<0&&(i=!0);const s=e=>{const n=Math.pow(10,t);return Math.round(e*n)/n};return r=(e=Math.abs(e))>=1e9?n?(Math.floor(e/1e8)/10).toString().replace(/\.0$/,"")+"g":s(e/1e9).toString().replace(/\.0$/,"")+"g":e>=1e6?n?(Math.floor(e/1e5)/10).toString().replace(/\.0$/,"")+"m":s(e/1e6).toString().replace(/\.0$/,"")+"m":e>=1e3?n?(Math.floor(e/100)/10).toString().replace(/\.0$/,"")+"k":(e/1e3).toFixed(t).replace(/\.0$/,"")+"k":(1==t?Math.round(e):s(e)).toString(),i&&(r="-"+r),r}(e,t,n)}}pL.ɵfac=function(e){return new(e||pL)},pL.ɵpipe=uf({name:"formatnr",type:pL,pure:!0,standalone:!1});class fL{transform(e){let t=new Date,n=new Date;return n.getDate()>=26&&n.setDate(n.getDate()+14),e=(e=(e=(e=(e=(e=(e=(e=(e=e||"").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,""+t.getFullYear())).replace(/\[CUR_M{5}\]|<CUR_M{5}>/gi,t.toLocaleDateString("en-US",{month:"long"}))).replace(/\[CUR_M{3,4}\]|<CUR_M{3,4}>/gi,t.toLocaleDateString("en-US",{month:"short"})+".")).replace(/\\u[\dA-F]{4}/gi,e=>String.fromCharCode(parseInt(e.replace(/\\u/g,""),16)))).replace("\\/","/")}}fL.ɵfac=function(e){return new(e||fL)},fL.ɵpipe=uf({name:"replaceDateVariables",type:fL,pure:!0,standalone:!1});class gL extends XN{}gL.ɵfac=(()=>{let e;return function(t){return(e||(e=Jo(gL)))(t||gL)}})(),gL.ɵdir=cf({type:gL,selectors:[["","ng-aria-hidden",""]],standalone:!1,features:[gf]});class _L extends KN{}_L.ɵfac=(()=>{let e;return function(t){return(e||(e=Jo(_L)))(t||_L)}})(),_L.ɵdir=cf({type:_L,selectors:[["","ng-aria-label-self",""]],standalone:!1,features:[gf]});class mL{set cond(e){this._cond=e,this._ready&&this._iFocus()}get cond(){return this._cond}constructor(e,t){this._el=e,this._renderer=t,this._speak="header",this.ngSpeakTabindex=0,this._cond=!0,this._ready=!1,tS()||(this._isIOS=(/iPad|iPhone|iPod/.test(navigator.platform)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!window.MSStream)}_iFocus(){if(tS())return;let e=this._speak,t=0==e||"header"==e?0:e,n=lS(t)?t:1,i=this._el.nativeElement,r=this.ngSpeakTabindex.toString();"header"==e?this._isIOS?(document.activeElement&&document.activeElement.blur&&document.activeElement.blur(),i.blur(),this._renderer.setAttribute(i,"tabindex","1"),i.focus(),setTimeout(()=>{i.focus(),this._renderer.setAttribute(i,"tabindex",r)},300)):(this._renderer.setAttribute(i,"tabindex",r),setTimeout(()=>{i.focus()},300)):0==n||1==n?(this._isIOS&&document.activeElement&&document.activeElement.blur&&document.activeElement.blur(),this._renderer.setAttribute(i,"tabindex",r),i.focus(),setTimeout(()=>{i.focus()})):this._renderer.setAttribute(i,"tabindex",r)}ngOnInit(){this._cond&&this._iFocus(),this._ready=!0}}mL.ɵfac=function(e){return new(e||mL)(ep(Ua),ep(qh))},mL.ɵdir=cf({type:mL,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 vL extends ZN{}vL.ɵfac=(()=>{let e;return function(t){return(e||(e=Jo(vL)))(t||vL)}})(),vL.ɵdir=cf({type:vL,selectors:[["","ng-aria-live",""]],hostVars:2,hostBindings:function(e,t){2&e&&G_("a11y-visually-hidden",!0)},standalone:!1,features:[gf]});class bL{set aria_text(e){this._txt=e,this._el&&this._el.nativeElement&&this._render.setAttribute(this._el.nativeElement,"aria-label",this._txt)}get aria_text(){return this._txt}constructor(e,t){this._el=e,this._render=t,this._txt=""}ngOnInit(){}ngAfterViewInit(){this._txt&&this._render.setAttribute(this._el.nativeElement,"aria-label",this._txt)}}bL.ɵfac=function(e){return new(e||bL)(ep(Ua),ep(qh))},bL.ɵdir=cf({type:bL,selectors:[["","ng-aria-text",""]],inputs:{aria_text:[0,"ng-aria-text","aria_text"]},standalone:!1});class yL{constructor(e,t){this.el=e,this.renderer=t,this._shown=!1,this._subs=[],tS()||(this._windowResize=this._windowResize.bind(this))}adjustPosition(){IS(()=>{let e=this.pwd_input.clientHeight,t=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",e+"px"),this.renderer.setStyle(this.btn_toggle,"line-height",e-2+"px"),this.renderer.setStyle(this.btn_toggle,"top",t+"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.setAttribute(this.btn_toggle,"aria-checked","true")):(this.renderer.setAttribute(this.pwd_input,"type","password"),this.renderer.setProperty(this.btn_toggle,"innerHTML","show"),this.renderer.setAttribute(this.btn_toggle,"aria-checked","false"))}_windowResize(){this.adjustPosition()}ngAfterViewInit(){if(tS())return;const e=this.renderer.parentNode(this.el.nativeElement);let t=window.getComputedStyle(e).position;t&&"static"!=t||this.renderer.setStyle(e,"position","relative"),requestAnimationFrame(()=>{this.renderer.createElement("span");const t=this.renderer.createElement("span");this.renderer.addClass(t,"ng-toggle-btn-pass"),this.renderer.addClass(t,"semi-bold-font"),this.renderer.setStyle(t,"position","absolute"),this.renderer.setProperty(t,"innerHTML","show"),this.renderer.setProperty(t,"role","switch"),this.renderer.setAttribute(t,"tabindex","0"),this.renderer.setAttribute(t,"aria-checked","false"),this.renderer.setAttribute(t,"aria-label","show or hide password"),this.renderer.appendChild(e,t),this._subs.push(this.renderer.listen(t,"click",()=>{this.toggle()})),this._subs.push(this.renderer.listen(this.el.nativeElement,"input",()=>{const e=this.el.nativeElement;this.renderer.setStyle(t,"visibility",e.value?"":"hidden")})),this.renderer.setStyle(t,"visibility",this.el.nativeElement.value?"":"hidden"),this.btn_toggle=t,this.pwd_input=this.el.nativeElement;let n=null;SS()&&(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(e=>{e()})}}yL.ɵfac=function(e){return new(e||yL)(ep(Ua),ep(qh))},yL.ɵdir=cf({type:yL,selectors:[["input","ng-toggle-password",""]],standalone:!1});class wL{constructor(e){this._injector=e,this._injector}static forRoot(){return{ngModule:wL,providers:[VS]}}}wL.ɵfac=function(e){return new(e||wL)(mi(fa))},wL.ɵmod=of({type:wL}),wL.ɵinj=Hn({imports:[yI,NS,NS]});class EL{set focus(e){this._focus=e,this._ready&&e&&!tS()&&this._el&&this._el.nativeElement&&this._el.nativeElement.focus&&this._FocusScroll()}get focus(){return this._focus}set zenscroll(e){this._zenscroll=e,this.scrollto=e}get zenscroll(){return this._zenscroll}constructor(e,t,n){this._el=e,this._zone=t,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 e=document.activeElement;if(e&&e.blur&&wS(e.tagName.toLowerCase(),["input","select","button","textarea"])&&e.blur(),this._el&&this._el.nativeElement)try{let e=this._el.nativeElement;if(this.inner_focus){let t=0;for(e.childNodes.length;t<length;t++){let n=e.childNodes[t];if(1==n.nodeType){e=n;break}}}"empty"==this.tabindex?this._renderer.removeAttribute(e,"tabindex"):this._renderer.setAttribute(e,"tabindex",this.tabindex),this.no_click||e.click(),e.focus(),setTimeout(()=>{e.focus()})}catch(e){}this._zone.runOutsideAngular(()=>{const e={zen:jS,body:US};this.scrollto&&setTimeout(()=>{IS(()=>{let t=.42*window.innerHeight,n=this._el.nativeElement.getBoundingClientRect().top,i=Math.round(t-n);e.zen&&this.zenscroll?e.zen.toY(e.body.scrollTop-i,300):e.body?e.body.scrollTop-=i:window.scrollTo(window.screenX,window.scrollY-i)})})})}ngOnInit(){this._ready=!0,tS()||this._focus&&this._el&&this._FocusScroll()}}EL.ɵfac=function(e){return new(e||EL)(ep(Ua),ep(ka),ep(qh))},EL.ɵdir=cf({type:EL,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"}});class TL extends EL{}TL.ɵfac=(()=>{let e;return function(t){return(e||(e=Jo(TL)))(t||TL)}})(),TL.ɵdir=cf({type:TL,selectors:[["","ng-focus",""]],standalone:!1,features:[gf]});class CL{}CL.ɵfac=function(e){return new(e||CL)},CL.ɵmod=of({type:CL}),CL.ɵinj=Hn({imports:[yI]});let IL,SL={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},AL={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 AL.internet_base+"?stamp="+CS()}},RL=new RegExp("^(?:[a-z]+:)?//","i");function xL(e){return e&&(IL=e,RL.test(IL)||IL===AL.web||(IL="https://"+IL)),IL}function DL(e){return xL()+"/home/rpc"}function kL(e){return xL()+"/ajax.php"}let OL="";let NL="";function LL(e){switch(e.responseType){case"json":if("response"in e)return e.response;var t=e;return JSON.parse(t.responseText);case"document":return e.responseXML;default:return"response"in e?e.response:(t=e).responseText}}var ML=function(e,t,n,i){void 0===i&&(i="download_load"),this.originalEvent=e,this.xhr=t,this.request=n,this.type=i;var r=t.status,s=t.responseType;this.status=null!=r?r:0,this.responseType=null!=s?s:"";var o=t.getAllResponseHeaders();this.responseHeaders=o?o.split("\n").reduce(function(e,t){var n=t.indexOf(": ");return e[t.slice(0,n)]=t.slice(n+2),e},{}):{},this.response=LL(t);var a=e.loaded,l=e.total;this.loaded=a,this.total=l},PL=oe(function(e){return function(e,t,n){var i;this.message=e,this.name="AjaxError",this.xhr=t,this.request=n,this.status=t.status,this.responseType=t.responseType;try{i=LL(t)}catch(e){i=t.responseText}this.response=i}}),FL=function(){function e(e,t){return PL.call(this,"ajax timeout",e,t),this.name="AjaxTimeoutError",this}return e.prototype=Object.create(PL.prototype),e}();function HL(e,t){return WL({method:"GET",url:e,headers:t})}function BL(e,t,n){return WL({method:"POST",url:e,body:t,headers:n})}function zL(e,t){return WL({method:"DELETE",url:e,headers:t})}function qL(e,t,n){return WL({method:"PUT",url:e,body:t,headers:n})}function UL(e,t,n){return WL({method:"PATCH",url:e,body:t,headers:n})}var jL=ct(function(e){return e.response});function VL(e,t){return jL(WL({method:"GET",url:e,headers:t}))}var WL=function(){var e=function(e){var t;return t="string"==typeof e?{url:e}:e,new Ie(function(e){var n,i,r,s=Z({async:!0,crossDomain:!1,withCredentials:!1,method:"GET",timeout:0,responseType:"json"},t),o=s.queryParams,a=s.body,l=s.headers,c=s.url;if(!c)throw new TypeError("url is required");if(o)if(c.includes("?")){var u=c.split("?");if(2<u.length)throw new TypeError("invalid url");r=new URLSearchParams(u[1]),new URLSearchParams(o).forEach(function(e,t){return r.set(t,e)}),c=u[0]+"?"+r}else c=c+"?"+(r=new URLSearchParams(o));var d={};if(l)for(var h in l)l.hasOwnProperty(h)&&(d[h.toLowerCase()]=l[h]);var p=s.crossDomain;p||"x-requested-with"in d||(d["x-requested-with"]="XMLHttpRequest");var f=s.withCredentials,g=s.xsrfCookieName,_=s.xsrfHeaderName;if((f||!p)&&g&&_){var m=null!==(i=null===(n=null===document||void 0===document?void 0:document.cookie.match(new RegExp("(^|;\\s*)("+g+")=([^;]*)")))||void 0===n?void 0:n.pop())&&void 0!==i?i:"";m&&(d[_]=m)}var v,b=function(e,t){var n;if(!e||"string"==typeof e||function(e){return"undefined"!=typeof FormData&&e instanceof FormData}(e)||function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}(e)||function(e){return XL(e,"ArrayBuffer")}(e)||function(e){return XL(e,"File")}(e)||function(e){return XL(e,"Blob")}(e)||function(e){return"undefined"!=typeof ReadableStream&&e instanceof ReadableStream}(e))return e;if(function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView(e)}(e))return e.buffer;if("object"==typeof e)return t["content-type"]=null!==(n=t["content-type"])&&void 0!==n?n:"application/json;charset=utf-8",JSON.stringify(e);throw new TypeError("Unknown body type")}(a,d),y=Z(Z({},s),{url:c,headers:d,body:b});v=t.createXHR?t.createXHR():new XMLHttpRequest;var w=t.progressSubscriber,E=t.includeDownloadProgress,T=void 0!==E&&E,C=t.includeUploadProgress,I=void 0!==C&&C,S=function(t,n){v.addEventListener(t,function(){var t,i=n();null===(t=null==w?void 0:w.error)||void 0===t||t.call(w,i),e.error(i)})};S("timeout",function(){return new FL(v,y)}),S("abort",function(){return new PL("aborted",v,y)});var A=function(e,t){return new ML(t,v,y,e+"_"+t.type)},R=function(t,n,i){t.addEventListener(n,function(t){e.next(A(i,t))})};I&&[YL,QL,ZL].forEach(function(e){return R(v.upload,e,$L)}),w&&[YL,QL].forEach(function(e){return v.upload.addEventListener(e,function(e){var t;return null===(t=null==w?void 0:w.next)||void 0===t?void 0:t.call(w,e)})}),T&&[YL,QL].forEach(function(e){return R(v,e,GL)});var x=function(t){var n="ajax error"+(t?" "+t:"");e.error(new PL(n,v,y))};v.addEventListener("error",function(e){var t;null===(t=null==w?void 0:w.error)||void 0===t||t.call(w,e),x()}),v.addEventListener(ZL,function(t){var n,i,r=v.status;if(r<400){null===(n=null==w?void 0:w.complete)||void 0===n||n.call(w);var s=void 0;try{s=A(GL,t)}catch(t){return void e.error(t)}e.next(s),e.complete()}else null===(i=null==w?void 0:w.error)||void 0===i||i.call(w,t),x(r)});var D=y.user,k=y.method,O=y.async;for(var h in D?v.open(k,c,O,D,y.password):v.open(k,c,O),O&&(v.timeout=y.timeout,v.responseType=y.responseType),"withCredentials"in v&&(v.withCredentials=y.withCredentials),d)d.hasOwnProperty(h)&&v.setRequestHeader(h,d[h]);return b?v.send(b):v.send(),function(){v&&4!==v.readyState&&v.abort()}})};return e.get=HL,e.post=BL,e.delete=zL,e.put=qL,e.patch=UL,e.getJSON=VL,e}(),$L="upload",GL="download",YL="loadstart",QL="progress",ZL="load";var KL=Object.prototype.toString;function XL(e,t){return KL.call(e)==="[object "+t+"]"}var JL=new class{constructor(){this.events={},this.replayevents={}}eventGetorCreate(e){return this.events[e]||(this.replayevents[e]?this.events[e]=new Me(1,lS(this.replayevents[e])?this.replayevents[e]:999999999):this.events[e]=new ke),this.events[e]}keepValueFor(e,t){this.replayevents[e]=t||!0}subscribe(e,t,n,i,r=[]){let s,o=this.eventGetorCreate(e);return s=o.pipe.apply(o,r).subscribe({next:t,error:n,complete:()=>{i&&i(),s&&s.unsubscribe()}}),s}emit(e,t,n){if(n&&!this.events[e])return;this.eventGetorCreate(e).next(t)}terminate(e){let t;this.events[e]&&(t=this.events[e],t.complete(),delete this.events[e],this.replayevents[e]&&delete this.replayevents[e])}clear(){mS(this.events,e=>{e.complete()}),this.events={},this.replayevents={}}};let eM,tM,nM=WL;function iM(e){let t;e.progressSubscriber&&(t=e.progressSubscriber,delete e.progressSubscriber);let n,i=yS({},SL,!0);e&&e.data&&e.data instanceof FormData&&(delete i.headers,n=e.data);let r=yS(i,e,!0);n&&(r.data=n),t&&(r.progressSubscriber=t);let s,o,a,l=nM,c=new Promise(function(e,t){s=e,o=t}),u={crossDomain:!0,responseType:"text",method:r.method||"POST",url:r.url||DL(),headers:r.headers,timeout:3e4,async:!0,withCredentials:!1};"blob"==r.expectedType&&(u.responseType="blob"),r.timeout&&(u.timeout=r.timeout);let d=r.query||{};if(["POST","PUT","DELETE"].includes(r.method)){u.body=r.data;let e=u.headers||{},t=e["Content-Type"]||e["content-type"];!eS()&&t&&t.indexOf("application/x-www-form-urlencoded")>-1&&(u.body=gS(r.data))}else d=Object.assign({},d,r.data);Object.keys(d).length>0&&(u.url+=(u.url.indexOf("?")>-1?"&":"?")+gS(d));let h=function(e){let t=l(u).subscribe({next:function(e){if(setTimeout(()=>{t&&t.unsubscribe()}),!s)return;let n={};if("json"==r.expectedType)try{n=JSON.parse(e.response)}catch(t){n={error:!0,message:"malformated json",raw:e.response}}else n=e.response;let i={};try{i=e.headers||e.xhr.getAllResponseHeaders().split("\r\n").reduce(function(e,t){var n=t.split(":");return e[n[0]]=n[1],e},{})}catch(e){}n&&"malformated json"==n.message&&"json"==r.expectedType?o({status:200,type:n.message,data:n.raw,headers:i}):s({data:n,status:e.status,headers:i})},error:function(n){if(setTimeout(()=>{t&&t.unsubscribe()}),!o)return;let i=n.xhr&&n.xhr.response||"",s={};try{s=n.headers||n.xhr.getAllResponseHeaders().split("\r\n").reduce(function(e,t){var n=t.split(":");return e[n[0]]=n[1],e},{})}catch(e){}if(-999==n.status)return r.events&&JL.emit("$device:insecure",{type:n.type,data:i,code:n.errorcode}),void o({status:r.events?-1:-10,type:"request",data:i,headers:s});if(403==n.status)o({status:n.status,type:n.type,data:i,headers:s});else if(n.status&&n.status>=500&&n.status<512)e?o({status:n.status,type:n.type,data:"internal error",headers:s}):h(!0);else{if(!o)return;e||n.status>399&&n.status<512?o({status:n.status,type:n.type,data:i,headers:s}):function(){let e=nM;return new Promise(function(t,n){let i=e({crossDomain:!0,method:"GET",url:AL.internet,timeout:15e3,responseType:"text",async:!0,withCredentials:!1,headers:{}}).subscribe({next:function(){t(null),i&&i.unsubscribe()},error:function(e){n(),setTimeout(()=>{i&&i.unsubscribe()})}})})}().then(function(){o&&(e?o({status:n.status,type:n.type,data:i,headers:s}):h(!0))}).catch(function(){o&&(r.events&&JL.emit("$device:no-internet"),o({status:r.events?-1:-10,type:n.type,data:i,headers:s}))})}}});a=function(){o=null,s=null,c=null,t&&(t.unsubscribe(),t=null),tM===a&&(tM=null)},tM=a};h();const p=()=>{tM===a&&(tM=null)};return c.then(p,p),c}function rM(){return tM}function sM(e){return new Promise(function(t,n){nM({crossDomain:!0,responseType:"json",method:"GET",url:e}).subscribe({next:function(e){t(fS(e.response)?e.response:null)},error:function(e){t({status:e.status,type:e.type,data:e.xhr&&e.xhr.response||""})}})})}JL.subscribe("$server:captcha-block",function(e){if(eM)return!1;eM=!0});const oM=new class{get _storage(){return document.cookie}set _storage(e){document.cookie=e}useMemory(e){this._usememstorage=e,e||(this._memstorage={})}clearMemory(){this._memstorage={}}get(e){if(!this._usememstorage&&!document.cookie)return;if(this._usememstorage)return this._memstorage[e];let t,n=this._storage.split(";"),i=e+"=";for(let e=0;e<n.length;e++){let r=n[e];for(;" "==r.charAt(0);)r=r.substring(1);if(0==r.indexOf(i)){t=decodeURIComponent(r.substring(i.length,r.length));break}}if("mw_signon"==e&&void 0!==t&&("{"!=t.slice(0,1)||"}"!=t.slice(-1)))try{t=window.atob(t)}catch(e){console.error("window.atob() failed on 'mw_signon'")}return t}asyncget(e){if(eS()){let t=xL().replace(/^https?:\/\//,"");return t.lastIndexOf("/")>0&&(t=t.substring(0,t.lastIndexOf("/")-1)),new Promise(n=>{window.top.sslHTTP.getCookies(t,function(t){if(t[e]){let i="value"in t[e]?t[e].value:t[e].Value;if("mw_signon"==e)try{if(i=decodeURIComponent(i),void 0!==i&&/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.test(i||""))try{i=window.atob(i)}catch(e){console.error("window.atob() failed on 'mw_signon'")}}catch(e){i=""}n(i)}else n(null)},function(){n(null)})})}return Promise.resolve(this.get(e))}set(e,t,n){if(eS()&&!this._usememstorage&&console.warn("Cannot set cookies in a cordova app, memory will be used instead"),this._usememstorage&&-1==n)delete this._memstorage[e];else if(this._usememstorage){let n;if(fS(t)||dS(t))try{n=JSON.stringify(t)}catch(e){}else n=pS(t)?"":t;this._memstorage[e]=n}else{let i,r=new Date;0===n?i='expires=""':(n||(n=0),r.setTime(r.getTime()+24*n*60*60*1e3),i="expires="+r.toUTCString());let s=".wallethub.com",o="."+(window.location.hostname||window.location.host);s!=o&&o.endsWith(s)&&(o=s),this._storage=e+"="+t+"; "+(this._usememstorage?"":i+"; path=/; secure; domain="+o)}this._eventsHandlers.set&&this._eventsHandlers.set.forEach(i=>{i(e,t,n)})}get enabled(){return!tS()&&!1!==navigator.cookieEnabled&&(document.cookie="testcookie=1",-1!=document.cookie.indexOf("testcookie"))}remove(e){this.set(e,"",-1),this._eventsHandlers.remove&&this._eventsHandlers.remove.forEach(t=>{t(e)})}constructor(){this._memstorage={},this._eventsHandlers={},this.enabled||this.useMemory(!0)}subscribe(e,t){return this._eventsHandlers[e]=this._eventsHandlers[e]||[],this._eventsHandlers[e].push(t),()=>{let n=this._eventsHandlers[e].indexOf(t);n>-1&&this._eventsHandlers[e].splice(n,1)}}};var aM,lM={};function cM(e){let t=e;"GET"!=t.method||"xsrf"in t||(t.xsrf=!1),t.xsrf="xsrf"in t?t.xsrf:SL.xsrf,t.method="method"in t?t.method:SL.method,t.headers="headers"in t?t.headers:SL.headers,t.data=t.data||{},t.events="events"in t?t.events:SL.events,t.silent&&(t.events=!1);let n=t.id||CS(),i=t.retry||0;return null!==n&&lM[n]&&(lM[n](),delete lM[n],n==aM&&(aM=null)),new Promise(function(e,r){let s=!1,o=!0;if(pS(t.before)&&(o=t.before(),ES(o)&&(o=!0)),!o)return null;var a=()=>{pS(t.after)&&t.after()},l=t=>{e(t),a()},c=e=>{r(e),a()};let u=function(){var e,i,r;(e=n,i=t,r=s,i&&!i.xsrf?new Promise(function(e){e({})}):(pM=pM||oM.asyncget("XSRF-TOKEN").then(t=>r||!t?new Promise(function(t,n){(function(e,t){return dM||(hM=!0,dM=new Promise(function(n,i){const r=!t||"events"in t==0||t.events;let s=function(t){iM({url:xL()+"/sid.php",data:{a:"1",buster:CS()},method:"GET",events:r}).then(function(o){if(hM=!1,e&&!lM[e])return void(dM=null);let a=o.data;if(!a.error&&a&&fS(a))if(a.__whid){let e=a.__whid;JL.emit("$server:whid",e),n(e),a.site_color&&JL.emit("$server:sitecolor",a.site_color,!0)}else t?(fM(),i({status:-1,type:r?"whiderror":"silentwhiderror",data:a,httpstatus:o.status})):s(!0);else t?(fM(),i({status:-1,type:r?"whiderror":"silentwhiderror",data:a,httpstatus:o.status})):s(!0)}).catch(t=>{fM(),e&&!lM[e]||(wS(t.status,[-1,-10,999,403])||t.status>=404&&t.status<409?i(t):i({status:-1,type:r?"whiderror":"silentwhiderror",data:t,httpstatus:t.status}))})};s(),e&&(lM[e]=rM())})),dM})(e,i).then(function(r){let s=function(o){iM({data:{action:"get-csrf-token",buster:CS()},headers:{"X-XSRF-WHID":r,"Content-Type":"text/html; charset=utf-8"},method:"GET",expectedType:"text",events:!i||"events"in i==0||i.events}).then(function(i){if(!e||lM[e]){var a=i.data;oS(a)?t({token:a,whid:r}):o?n({status:400,type:"csrferror",data:a}):s(!0)}}).catch(function(t){e&&!lM[e]||(wS(t.status,[-1,-10,999,403])||t.status>=404&&t.status<409?n(t):n({status:400,type:"csrferror",data:t}))})};s(),e&&(lM[e]=rM())}).catch(function(e){n(e)}),e&&(lM[e]=rM())}):{token:t}),pM.then(function(){pM=null},function(){pM=null}),pM)).then(function(e){e.token&&(t.headers["X-XSRF-TOKEN"]=e.token),e.whid&&(t.headers["X-XSRF-WHID"]=e.whid),s&&(t.headers["X-XSRF-RETRY"]="1"),iM(t).then(function(e){if(!lM[n])return;let i={data:null,headers:e.headers||{}};if(e.data&&e.data.maintainance)t.events&&JL.emit("$server:maintainance"),t.silent?l({error:!0}):(i.data={status:-1,type:"maintainance",data:null},c(t.readheaders?i:i.data));else if(e.data&&e.data.apiblocked){if(t.events){const t=e.headers||{};JL.emit("$api:banned",t["CF-Ray"]||t["cf-ray"])}t.silent?l({error:!0}):(i.data={status:-1,type:"banned",data:null},c(t.readheaders?i:i.data))}else i.data=e.data,l(t.readheaders?i:i.data);delete lM[n],n==aM&&(aM=null)},d),lM[n]=rM()}).catch(function(e){lM[n]&&d(e)}),"POST"===t.method&&t.xsrf||(lM[n]=rM()),aM=n},d=function(e){if(!lM[n])return;if(-999==e.status||-10==e.status)return e.status=-10,t.silent?l({error:!0}):c(e),delete lM[n],n==aM&&(aM=null),!1;const r=e.headers||{},o={status:e.status,options:t,data:e.data,rayid:r["CF-Ray"]||r["cf-ray"]};if(403==e.status)t.events&&JL.emit("$server:banned",o.rayid),e.type="banned",t.events&&(e.httpstatus=e.status),e.status=t.events?-1:403;else{if(400!==e.status&&i>0)return i--,u(),!1;if(e.status&&e.status>=404&&e.status<512)t.events&&JL.emit("$server:error",o),e.type="failed request",t.events&&(e.httpstatus=e.status),e.status=t.events?-1:e.status;else{if(400==e.status&&t.xsrf&&!s)return s=!0,u(),!1;!t.silent&&t.events&&("csrferror"==e.type?(JL.emit("$server:csrferror",o),e.httpstatus=e.status,e.status=-1,e.type="failed request"):"whiderror"!=e.type&&"silentwhiderror"!=e.type||("whiderror"==e.type&&JL.emit("$server:whiderror",o),e.httpstatus=e.status,e.status=-1,e.type="failed request"))}}t.silent||c(e),delete lM[n],n==aM&&(aM=null),t.silent&&l({error:!0})};u()})}function uM(e){void 0!==e?lM[e]&&(lM[e](),delete lM[e],aM==e&&(aM=null),hM&&fM()):aM&&lM[aM]&&(lM[aM](),delete lM[aM],aM=null,hM&&fM())}let dM,hM,pM;function fM(){dM=null,hM=!1}function gM(){return document.querySelector("web-app #web-app")||document.querySelector("#web-app")}function _M(e){if(tS()||iS())return e;let t=document.createTextNode(e.toString()),n=document.createElement("p");return n.appendChild(t),n=n.innerHTML,n}const mM=new class{useCookieStorage(){oM&&oM.enabled?(this._storage={setItem:function(e,t,n){oM.set(e,t,n)},removeItem:function(e){document.cookie=e+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;"},getItem:function(e){return oM.get(e)}},this.isExpired=()=>(console.warn("not available for cookies"),0),this.removeGroup=e=>{hS(function(){for(var e=document.cookie.split(";"),t=[],n=1,i=e.length;n<=i;n++)t[n-1]=sS(e[n-1]);return t}(),(t,n)=>{0==t.indexOf(e+"_")&&this._storage.removeItem(t.split("=")[0])})}):this.useMemory(!0)}useSession(e){this._storage=e?window.sessionStorage:window.localStorage}useMemory(e){if(e&&!this._oldStorage){this._oldStorage=this._storage;let e={_data:{},setItem:(e,t)=>this._storage._data[e]=String(t),getItem:e=>this._storage._data[e],removeItem:e=>delete this._storage._data[e],clear:()=>this._storage._data={}};this._storage=e}else e||(this._storage=this._oldStorage,this._oldStorage=null,this._storage||(this._storage=!tS()&&"localStorage"in window?window.localStorage:null))}clearMemory(){this._storage&&this._storage.clear&&this._storage.clear()}get(e){var t,n,i=e;e=this._group+e;for(var r=0;r<this._types.length;r++){let s=this._types[r];if(this._storage.getItem(e+s)){if(this.isExpired(i))return void this._storage.removeItem(e+s);switch(s){case this._types[0]:case this._types[3]:t=JSON.parse(this._storage.getItem(e+s)),n=!0;break;case this._types[1]:t=this._storage.getItem(e+s),n=!0;break;case this._types[2]:t=parseFloat(this._storage.getItem(e+s)),n=!0}break}}return!n&&oS(this._storage.getItem(e))&&(t=this._storage.getItem(e)),t="undefined"==t||null==t?void 0:"true"==t||"false"!=t&&t}set(e,t,n){var i=e,r="";if("expirations"==e)return!1;e=this._group+e,fS(t)||dS(t)?(t=JSON.stringify(t),r=this._types[0]):lS(t)?(t=t.toString(),r=this._types[2]):"boolean"==typeof t?(t=t.toString(),r=this._types[3]):r=this._types[1];for(var s=0,o=this._types.length;s<o;s++)if(this._storage.getItem(e+this._types[s])){this._storage.removeItem(e+this._types[s]);break}try{this._storage.setItem(e+r,t)}catch(e){console.warn(e)}n&&this.expire(i,n)}remove(e){e=this._group+e;for(var t=0,n=this._types.length;t<n;t++)this._storage.getItem(e+this._types[t])&&this._storage.removeItem(e+this._types[t])}expire(e,t){var n,i=this._storage.getItem("_expirations.json")||null;try{(n=JSON.parse(i))||(n={})}catch(e){n={}}n[this._group+e]={in:t,since:(new Date).getTime()},this._storage.setItem("_expirations.json",JSON.stringify(n))}getExpiration(e){var t=this._storage.getItem("_expirations.json")||!1;if(!t)return null;try{if(!(t=JSON.parse(t)))return null}catch(e){return null}return t[this._group+e]||null}isExpired(e,t){var n=this.getExpiration(e);if(null===n)return 0;let i=(new Date).getTime()-n.since;return i>=n.in?1:t?n.in-i:0}group(e){if(null==e){let e=this._group;return e&&(e=e.substring(0,e.length-1)),e}this._group=!1===e?"":e+"_"}removeGroup(e){hS(Object.keys(this._storage)||[],t=>{0===t.indexOf(e)&&this._storage.removeItem(t)})}constructor(){let e;this._storage=null,this._oldStorage=null,this._types=[".json",".string",".number",".boolean"],this._group="";try{this._storage=!tS()&&"localStorage"in window?window.localStorage:null,e=!0}catch(e){this.useMemory(!0)}if(!tS()){try{window.localStorage.setItem("test","test"),window.localStorage.removeItem("test")}catch(e){this.useCookieStorage()}if(e&&this._storage==window.localStorage){let e,t=this._storage.getItem("_expirations.json")||null,n=new Date;if(t)try{e=JSON.parse(t),mS(e,(t,i)=>{if(!t)return!0;for(var r,s=0;s<this._types.length;s++){if(this._storage.getItem(i+this._types[s])){r=!1,n.getTime()-t.since>=t.in&&(this._storage.removeItem(i+this._types[s]),delete e[i]);break}r=!0}r&&delete e[i]});this._storage.setItem("_expirations.json",JSON.stringify(e))}catch(e){}}}}},vM=36e5;let bM=vM;const yM="user_sign_on",wM="mw_signon";function EM(){mM.group("mw");let e=mM.get(yM)||null,t=null;if(XI()&&oM.get(wM))try{t=JSON.parse(oM.get(wM))}catch(e){}else e&&(t=e);if(XI()&&t&&(t.groupId=mM.get("logout_group_id")||null,t.has_transactions=mM.get("has_transactions")||!1,t.userPlan=mM.get("userPlan")||"WALLETHUB_BASIC",t.userDashboards=mM.get("userDashboards")||null,t.has_investment_activities=mM.get("has_investment_activities")||!1),XI()&&t&&(t.enhanced=mM.get("enhanced")||!1),t){"full"in t&&!0!==t.full&&mM.get("full")&&(t.full=!0),t.has_debt=mM.get("has_debt")||!1,t.has_holiday_budget=mM.get("has_holiday_budget")||!1,t.accountId=mM.get("accountId")||null;let e=mM.get("activePlan");e&&!ES(null==e?void 0:e.planId)&&(t.activePlanId=btoa(null==e?void 0:e.planId),t.activePlanCancelled=(null==e?void 0:e.cancelled)||!1,t.activePlanPendingDowngrade=(null==e?void 0:e.pendingDowngrade)||!1,t.activePlanPendingPlanChange=(null==e?void 0:e.pendingPlanChange)||!1,t.activePlanHasComingSubscription=(null==e?void 0:e.hasComingSubscription)||!1,t.activePlanIsAppleOrder=(null==e?void 0:e.isAppleOrder)||!1,t.activePlanOrderId=(null==e?void 0:e.orderId)||null,t.activePlanIsInfluencer=(null==e?void 0:e.isInfluencer)||!1),t.lo_pvt_id=mM.get("lo_pvt_id")||null,t.authUser=mM.get("auth-user")||t.authUser}return t}function TM(){return!(tS()&&!iS())&&(mM.group("mw"),!!(CM()&&oM.get("mw_sess_active")&&mM.get("full")))}function CM(){return!(tS()&&!iS())&&(mM.group("mw"),!!(XI()&&oM.get(wM)||mM.get(yM)))}function IM(){var e,t;return mM.group("mw"),eS()?null===(t=EM())||void 0===t?void 0:t.full:mM.get("full")||(null===(e=EM())||void 0===e?void 0:e.full)}function SM(){var e;return eS()?null===(e=EM())||void 0===e?void 0:e.stayLoggedIn:mM.get("stayLoggedIn")}function AM(e){var t;let n=null===(t=EM())||void 0===t?void 0:t.groupId;return n&&e.includes(n)}class RM{set src(e){this._src=e,!this._src&&this.fallback&&(this._src=this.fallback),this._src&&(this._renderer.setAttribute(this._el.nativeElement,"src",this._src),this._el.nativeElement.style.display="")}get src(){return this._src}constructor(e,t){this._el=e,this._renderer=t,this.onImageFailed=new Ca}onError(e){if(tS()||!e)return;let t=this._el.nativeElement;this.fallback&&t.src!=this.fallback?(t.src=this.fallback,t.style.display=""):t.style.display="none",this.onImageFailed.emit(!0)}ngOnInit(){if(tS())return;this.onError=this.onError.bind(this),this._el.nativeElement.addEventListener("error",this.onError)}ngOnDestroy(){if(tS())return;this._el.nativeElement.removeEventListener("error",this.onError)}}RM.ɵfac=function(e){return new(e||RM)(ep(Ua),ep(qh))},RM.ɵdir=cf({type:RM,selectors:[["","on-img-error",""]],inputs:{fallback:[0,"on-img-error","fallback"],src:"src"},outputs:{onImageFailed:"image-failed"},standalone:!1});class xM{}xM.ɵfac=function(e){return new(e||xM)},xM.ɵmod=of({type:xM}),xM.ɵinj=Hn({imports:[yI]});const DM=new class{constructor(){this.store={},this.groups={}}getKey(e){return this.store[e]}setKey(e,t){this.store[e]=t}group(e,t,n){if(t&&!fS(t)&&!dS(t))throw new TypeError("Data provided for "+e+" is not a plain object or array. The given value is "+typeof t);return t&&(this.groups[e]=n?JSON.parse(JSON.stringify(t)):t),this.groups[e]||(this.groups[e]={}),this.groups[e]}getGroupList(){return Object.keys(this.groups)}hasGroup(e){return this.groups.hasOwnProperty(e)}clearKey(e){this.store.hasOwnProperty(e)&&delete this.store[e]}clearGroup(e){"all"==e?this.groups={}:this.groups.hasOwnProperty(e)&&delete this.groups[e]}clearAll(){this.store={},this.groups={}}pageLoadPopulate(){if(!tS())try{let e=document.querySelectorAll('script[type="application/json"][id*="jsondata-"]');if(e.length>0)for(let t=0,n=e.length;t<n;t++){let n,i=e[t],r=i.id.replace("jsondata-","");if(r){try{n=JSON.parse(i.innerHTML)}catch(e){console.warn("could not parse data for "+r)}n&&(this.groups[r]=n)}i.parentNode.removeChild(i)}}catch(e){console.error(e)}}},kM=["deferImg"];class OM{set src(e){e?this._src=e:this.fallback&&(this._src=this.fallback),this._src&&this.deferImg&&(this._viewed||(!this._has_intersect||tS())&&this._src&&this.deferImg)&&this._renderer.setAttribute(this.deferImg.nativeElement,"src",this._src)}get src(){return this._src}constructor(e,t){this._el=e,this._renderer=t,this._viewed=!1,this._has_intersect=!(tS()||!window.IntersectionObserver)}ngOnInit(){this.onError=this.onError.bind(this),this.onLoad=this.onLoad.bind(this),DM.getKey("server-render")&&(this._prepare_ui=!1)}ngAfterViewInit(){if(this._has_intersect&&this.deferImg){this._intersectionObserver=new IntersectionObserver(e=>{let t=!1;for(let n=0,i=e.length;n<i;n++){let i=e[n];if(ES(i.isIntersecting)&&this._isInViewport(i,!0)){t=!0;break}if(i.isIntersecting){t=!0;break}}t&&this._InitiateImageLoad()},{threshold:.7}),this._renderer.setStyle(this.deferImg.nativeElement,"opacity",0);let e=this.deferImg.nativeElement.width,t=this.deferImg.nativeElement.height;if(window.getComputedStyle){let n=cS(window.getComputedStyle(this.deferImg.nativeElement).width),i=cS(window.getComputedStyle(this.deferImg.nativeElement).height);lS(n)&&lS(i)&&(e=n,t=i)}e&&this._renderer.setStyle(this.deferImg.nativeElement,"width",e+"px"),t&&this._renderer.setStyle(this.deferImg.nativeElement,"height",t+"px"),this._intersectionObserver&&"function"==typeof this._intersectionObserver.observe&&this._intersectionObserver.observe(this._el.nativeElement),this._isInViewport(this._el)&&this._InitiateImageLoad()}else if(this.src&&this.deferImg){let e=this.deferImg.nativeElement;tS()?this._prepare_ui?(this._renderer.setStyle(e,"display","none"),this._renderer.setAttribute(e,"data-src",this.src)):(this._renderer.setAttribute(e,"src",this.src),this._renderer.setAttribute(e,"loading","lazy")):(this._renderer.listen(e,"error",this.onError),this._renderer.setAttribute(e,"src",this.src))}}ngOnDestroy(){this._intersectionObserver&&this._intersectionObserver.disconnect(),this._intersectionObserver=null}onError(e){if(tS()||!e)return;let t=this.deferImg.nativeElement;this.fallback&&t.src!=this.fallback?(t.src=this.fallback,t.style.display=""):t.style.display="none"}onLoad(e){this._renderer.setStyle(this.deferImg.nativeElement,"display",""),this._renderer.addClass(this.deferImg.nativeElement,"defer-img-ok"),this._renderer.setStyle(this.deferImg.nativeElement,"opacity",""),this._renderer.addClass(this.deferImg.nativeElement,"ng-enter-element"),this._renderer.setStyle(this.deferImg.nativeElement,"width",""),this._renderer.setStyle(this.deferImg.nativeElement,"height","")}_isInViewport(e,t){var n=t?e.boundingClientRect:e.nativeElement.getBoundingClientRect(),i=n.height||n.bottom-n.top,r=n.width||n.right-n.left;return!(!i||!r)&&!(n.top+.4*n.height>window.innerHeight||n.bottom<0)}_InitiateImageLoad(){if(!this.src)return;if(this._viewed)return;let e=this.deferImg.nativeElement;this._renderer.listen(e,"error",this.onError),this._renderer.listen(e,"load",this.onLoad),this._viewed=!0,this._intersectionObserver&&(this._intersectionObserver.disconnect(),this._intersectionObserver=null),this._renderer.setAttribute(this.deferImg.nativeElement,"src",this.src)}}OM.ɵfac=function(e){return new(e||OM)(ep(Ua),ep(qh))},OM.ɵdir=cf({type:OM,selectors:[["","defer-src",""]],contentQueries:function(e,t,n){if(1&e&&bb(n,kM,5,Ua),2&e){let e;wb(e=Eb())&&(t.deferImg=e.first)}},inputs:{src:[0,"defer-src","src"],fallback:[0,"src-fallback","fallback"],_prepare_ui:[0,"ui-hydrate","_prepare_ui"]},standalone:!1});class NM{}NM.ɵfac=function(e){return new(e||NM)},NM.ɵmod=of({type:NM}),NM.ɵinj=Hn({imports:[yI]});class LM{constructor(){this.itemprop="",this.classes=[]}}LM.ɵfac=function(e){return new(e||LM)},LM.ɵcmp=nf({type:LM,selectors:[["","img-placeholder",""]],inputs:{src:"src",itemprop:"itemprop",alt:"alt",classes:"classes"},standalone:!1,decls:3,vars:5,consts:[["deferImg",""],[3,"defer-src","ui-hydrate"],[3,"ngClass","alt"]],template:function(e,t){1&e&&(Fm(0,"div",1),Bm(1,"img",2,0),Hm()),2&e&&(V_("defer-src",t.src)("ui-hydrate",!0),Zu(),V_("ngClass",t.classes)("alt",t.alt),a_("itemprop",t.itemprop))},dependencies:[LC,OM],encapsulation:2});class MM{}MM.ɵfac=function(e){return new(e||MM)},MM.ɵmod=of({type:MM}),MM.ɵinj=Hn({imports:[yI,NM]});class PM{set src(e){e?this._src=e:this.fallback&&(this._src=this.fallback)}get src(){return this._src}constructor(e,t){this._el=e,this._renderer=t,this.onImageFailed=new Ca}ngOnInit(){tS()?this._src&&(this.server_render?DM.getKey("server-render")?this._renderer.setAttribute(this._el.nativeElement,"src",this._src):(this._renderer.setAttribute(this._el.nativeElement,"data-src",this._src),this.keep_space?this._renderer.setStyle(this._el.nativeElement,"opacity","0"):this._renderer.setStyle(this._el.nativeElement,"display","none")):(this._renderer.setAttribute(this._el.nativeElement,this.prepare_ui?"data-src":"src",this._src),this.prepare_ui&&(this.keep_space?this._renderer.setStyle(this._el.nativeElement,"opacity","0"):this._renderer.setStyle(this._el.nativeElement,"display","none")))):this._Preload()}_Preload(){if(this._el.nativeElement&&(this._src||this.fallback)){const e=this._src||this.fallback;let t=this._renderer.createElement("img");const n=this._renderer.listen(t,"load",()=>{n(),i(),this._renderer.setAttribute(this._el.nativeElement,"src",e),this._renderer.setStyle(this._el.nativeElement,"display",""),this._renderer.setStyle(this._el.nativeElement,"opacity","1"),t=null}),i=this._renderer.listen(t,"error",()=>{i(),n(),this.onImageFailed.emit(),t=null,this.keep_space||this._renderer.setStyle(this._el.nativeElement,"display","none")});this._renderer.setAttribute(t,"src",e),this.keep_space?this._renderer.setStyle(this._el.nativeElement,"opacity","0"):this._renderer.setStyle(this._el.nativeElement,"display","none")}}}PM.ɵfac=function(e){return new(e||PM)(ep(Ua),ep(qh))},PM.ɵdir=cf({type:PM,selectors:[["","preload-src",""]],inputs:{src:[0,"preload-src","src"],fallback:[0,"src-fallback","fallback"],prepare_ui:[0,"ui-hydrate","prepare_ui"],keep_space:[0,"keep-space","keep_space"],server_render:[0,"server-render","server_render"]},outputs:{onImageFailed:"imageFailed"},standalone:!1});class FM{}function HM(){let e=iS(),t={captureException:e=>{console.error(e)},captureMessage:(e,t)=>{console.info(e)},withScope:e=>{e({addBreadcrumb:function(){},setExtras:function(){},setExtra:function(){},setTag:(e,t)=>{},setLevel:function(){},setContext:function(){},setFingerprint:function(){}})},Severity:{},addBreadcrumb:(...e)=>{},setTag:(...e)=>{},setFingerprint:(...e)=>{}};return new Promise(n=>{e?n(t):o.import("package:/system/raven-lib").then(e=>{let t=e.Raven;if(!tS()){let e={id:mM.get("support_id")||"--",username:mM.get("pub_id")||mM.get("sentry_pub_id")||"--"};"--"==e.id&&"--"!==e.username&&(e.id=e.username,delete e.username),t.setUser({id:e.id,username:XI()?e.id:e.username})}n(t)},e=>{console.warn("Cannot load raven js library"),console.error(e),n(t)})})}function BM(e,t,n,i="warning"){const r=JI();HM().then(s=>{wS(e.status,[-1,-999,-10,400])||(e.status&&(t+="; status: "+e.status),r?console.warn(t):s.withScope(r=>{switch(r.setExtras({details:JSON.stringify(e),params:n?JSON.stringify(n):null,path:window.location.pathname||window.location.href}),i){case"critical":r.setLevel("fatal");break;case"error":r.setLevel("error");break;default:r.setLevel("warning");break;case"info":r.setLevel("info");break;case"debug":r.setLevel("debug")}s.captureMessage(t)}))})}FM.ɵfac=function(e){return new(e||FM)},FM.ɵmod=of({type:FM}),FM.ɵinj=Hn({imports:[yI]});var zM=["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])"],qM=zM.join(","),UM="undefined"==typeof Element,jM=UM?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,VM=!UM&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},WM=function e(t,n){var i;void 0===n&&(n=!0);var r=null==t||null===(i=t.getAttribute)||void 0===i?void 0:i.call(t,"inert");return""===r||"true"===r||n&&t&&e(t.parentNode)},$M=function(e,t,n){if(WM(e))return[];var i=Array.prototype.slice.apply(e.querySelectorAll(qM));return t&&jM.call(e,qM)&&i.unshift(e),i=i.filter(n)},GM=function e(t,n,i){for(var r=[],s=Array.from(t);s.length;){var o=s.shift();if(!WM(o,!1))if("SLOT"===o.tagName){var a=o.assignedElements(),l=e(a.length?a:o.children,!0,i);i.flatten?r.push.apply(r,l):r.push({scopeParent:o,candidates:l})}else{jM.call(o,qM)&&i.filter(o)&&(n||!t.includes(o))&&r.push(o);var c=o.shadowRoot||"function"==typeof i.getShadowRoot&&i.getShadowRoot(o),u=!WM(c,!1)&&(!i.shadowRootFilter||i.shadowRootFilter(o));if(c&&u){var d=e(!0===c?o.children:c.children,!0,i);i.flatten?r.push.apply(r,d):r.push({scopeParent:o,candidates:d})}else s.unshift.apply(s,o.children)}}return r},YM=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},QM=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!YM(e)?0:e.tabIndex},ZM=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},KM=function(e){return"INPUT"===e.tagName},XM=function(e){return function(e){return KM(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||VM(e),i=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=i(window.CSS.escape(e.name));else try{t=i(e.name)}catch(e){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",e.message),!1}var r=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!r||r===e}(e)},JM=function(e){var t=e.getBoundingClientRect(),n=t.width,i=t.height;return 0===n&&0===i},eP=function(e,t){var n=t.displayCheck,i=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var r=jM.call(e,"details>summary:first-of-type")?e.parentElement:e;if(jM.call(r,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return JM(e)}else{if("function"==typeof i){for(var s=e;e;){var o=e.parentElement,a=VM(e);if(o&&!o.shadowRoot&&!0===i(o))return JM(e);e=e.assignedSlot?e.assignedSlot:o||a===e.ownerDocument?o:a.host}e=s}if(function(e){var t,n,i,r,s=e&&VM(e),o=null===(t=s)||void 0===t?void 0:t.host,a=!1;if(s&&s!==e)for(a=!!(null!==(n=o)&&void 0!==n&&null!==(i=n.ownerDocument)&&void 0!==i&&i.contains(o)||null!=e&&null!==(r=e.ownerDocument)&&void 0!==r&&r.contains(e));!a&&o;){var l,c,u;a=!(null===(c=o=null===(l=s=VM(o))||void 0===l?void 0:l.host)||void 0===c||null===(u=c.ownerDocument)||void 0===u||!u.contains(o))}return a}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},tP=function(e,t){return!(t.disabled||WM(t)||function(e){return KM(e)&&"hidden"===e.type}(t)||eP(t,e)||function(e){var t="DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some(function(e){return"SUMMARY"===e.tagName});return t}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var i=t.children.item(n);if("LEGEND"===i.tagName)return!!jM.call(t,"fieldset[disabled] *")||!i.contains(e)}return!0}t=t.parentElement}return!1}(t))},nP=function(e,t){return!(XM(t)||QM(t)<0||!tP(e,t))},iP=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},rP=function e(t){var n=[],i=[];return t.forEach(function(t,r){var s=!!t.scopeParent,o=s?t.scopeParent:t,a=function(e,t){var n=QM(e);return n<0&&t&&!YM(e)?0:n}(o,s),l=s?e(t.candidates):o;0===a?s?n.push.apply(n,l):n.push(o):i.push({documentOrder:r,tabIndex:a,item:t,isScope:s,content:l})}),i.sort(ZM).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(n)},sP=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==jM.call(e,qM)&&nP(t,e)},oP=zM.concat("iframe").join(","),aP=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==jM.call(e,oP)&&tP(t,e)};function lP(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function cP(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function dP(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?uP(Object(n),!0).forEach(function(t){cP(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uP(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function hP(e){return function(e){if(Array.isArray(e))return lP(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return lP(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?lP(e,t):void 0}}(e)||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 pP=function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n._setPausedState(!0)}var i=e.indexOf(t);-1===i||e.splice(i,1),e.push(t)},fP=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&!e[e.length-1]._isManuallyPaused()&&e[e.length-1]._setPausedState(!1)},gP=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},_P=function(e){return gP(e)&&!e.shiftKey},mP=function(e){return gP(e)&&e.shiftKey},vP=function(e){return setTimeout(e,0)},bP=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return"function"==typeof e?e.apply(void 0,n):e},yP=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},wP=[],EP=function(e,t){var n,i=(null==t?void 0:t.document)||document,r=(null==t?void 0:t.trapStack)||wP,s=dP({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:_P,isKeyBackward:mP},t),o={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a=function(e,t,n){return e&&void 0!==e[t]?e[t]:s[n||t]},l=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return o.containerGroups.findIndex(function(t){var i=t.container,r=t.tabbableNodes;return i.contains(e)||(null==n?void 0:n.includes(i))||r.find(function(t){return t===e})})},c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.hasFallback,r=void 0!==n&&n,o=t.params,a=void 0===o?[]:o,l=s[e];if("function"==typeof l&&(l=l.apply(void 0,hP(a))),!0===l&&(l=void 0),!l){if(void 0===l||!1===l)return l;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var c=l;if("string"==typeof l){try{c=i.querySelector(l)}catch(t){throw new Error("`".concat(e,'` appears to be an invalid selector; error="').concat(t.message,'"'))}if(!c&&!r)throw new Error("`".concat(e,"` as selector refers to no known node"))}return c},u=function(){var e=c("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void 0===e||e&&!aP(e,s.tabbableOptions))if(l(i.activeElement)>=0)e=i.activeElement;else{var t=o.tabbableGroups[0];e=t&&t.firstTabbableNode||c("fallbackFocus")}else null===e&&(e=c("fallbackFocus"));if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},d=function(){if(o.containerGroups=o.containers.map(function(e){var t=function(e,t){var n;return n=(t=t||{}).getShadowRoot?GM([e],t.includeContainer,{filter:nP.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:iP}):$M(e,t.includeContainer,nP.bind(null,t)),rP(n)}(e,s.tabbableOptions),n=function(e,t){return(t=t||{}).getShadowRoot?GM([e],t.includeContainer,{filter:tP.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):$M(e,t.includeContainer,tP.bind(null,t))}(e,s.tabbableOptions),i=t.length>0?t[0]:void 0,r=t.length>0?t[t.length-1]:void 0,o=n.find(function(e){return sP(e)}),a=n.slice().reverse().find(function(e){return sP(e)}),l=!!t.find(function(e){return QM(e)>0});return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:l,firstTabbableNode:i,lastTabbableNode:r,firstDomTabbableNode:o,lastDomTabbableNode:a,nextTabbableNode:function(e){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=t.indexOf(e);return r<0?i?n.slice(n.indexOf(e)+1).find(function(e){return sP(e)}):n.slice(0,n.indexOf(e)).reverse().find(function(e){return sP(e)}):t[r+(i?1:-1)]}}}),o.tabbableGroups=o.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),o.tabbableGroups.length<=0&&!c("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(o.containerGroups.find(function(e){return e.posTabIndexesFound})&&o.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(e){var t=e.activeElement;if(t)return t.shadowRoot&&null!==t.shadowRoot.activeElement?h(t.shadowRoot):t},p=function(e){!1!==e&&e!==h(document)&&(e&&e.focus?(e.focus({preventScroll:!!s.preventScroll}),o.mostRecentlyFocusedNode=e,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(e)&&e.select()):p(u()))},f=function(e){var t=c("setReturnFocus",{params:[e]});return t||!1!==t&&e},g=function(e){var t=e.target,n=e.event,i=e.isBackward,r=void 0!==i&&i;t=t||yP(n),d();var a=null;if(o.tabbableGroups.length>0){var u=l(t,n),h=u>=0?o.containerGroups[u]:void 0;if(u<0)a=r?o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:o.tabbableGroups[0].firstTabbableNode;else if(r){var p=o.tabbableGroups.findIndex(function(e){var n=e.firstTabbableNode;return t===n});if(p<0&&(h.container===t||aP(t,s.tabbableOptions)&&!sP(t,s.tabbableOptions)&&!h.nextTabbableNode(t,!1))&&(p=u),p>=0){var f=0===p?o.tabbableGroups.length-1:p-1,g=o.tabbableGroups[f];a=QM(t)>=0?g.lastTabbableNode:g.lastDomTabbableNode}else gP(n)||(a=h.nextTabbableNode(t,!1))}else{var _=o.tabbableGroups.findIndex(function(e){var n=e.lastTabbableNode;return t===n});if(_<0&&(h.container===t||aP(t,s.tabbableOptions)&&!sP(t,s.tabbableOptions)&&!h.nextTabbableNode(t))&&(_=u),_>=0){var m=_===o.tabbableGroups.length-1?0:_+1,v=o.tabbableGroups[m];a=QM(t)>=0?v.firstTabbableNode:v.firstDomTabbableNode}else gP(n)||(a=h.nextTabbableNode(t))}}else a=c("fallbackFocus");return a},_=function(e){var t=yP(e);l(t,e)>=0||(bP(s.clickOutsideDeactivates,e)?n.deactivate({returnFocus:s.returnFocusOnDeactivate}):bP(s.allowOutsideClick,e)||e.preventDefault())},m=function(e){var t=yP(e),n=l(t,e)>=0;if(n||t instanceof Document)n&&(o.mostRecentlyFocusedNode=t);else{var i;e.stopImmediatePropagation();var r=!0;if(o.mostRecentlyFocusedNode)if(QM(o.mostRecentlyFocusedNode)>0){var a=l(o.mostRecentlyFocusedNode),c=o.containerGroups[a].tabbableNodes;if(c.length>0){var d=c.findIndex(function(e){return e===o.mostRecentlyFocusedNode});d>=0&&(s.isKeyForward(o.recentNavEvent)?d+1<c.length&&(i=c[d+1],r=!1):d-1>=0&&(i=c[d-1],r=!1))}}else o.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return QM(e)>0})})||(r=!1);else r=!1;r&&(i=g({target:o.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(o.recentNavEvent)})),p(i||(o.mostRecentlyFocusedNode||u()))}o.recentNavEvent=void 0},v=function(e){(s.isKeyForward(e)||s.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];o.recentNavEvent=e;var n=g({event:e,isBackward:t});n&&(gP(e)&&e.preventDefault(),p(n))}(e,s.isKeyBackward(e))},b=function(e){var t;"Escape"!==(null==(t=e)?void 0:t.key)&&"Esc"!==(null==t?void 0:t.key)&&27!==(null==t?void 0:t.keyCode)||!1===bP(s.escapeDeactivates,e)||(e.preventDefault(),n.deactivate())},y=function(e){var t=yP(e);l(t,e)>=0||bP(s.clickOutsideDeactivates,e)||bP(s.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},w=function(){if(o.active)return pP(r,n),o.delayInitialFocusTimer=s.delayInitialFocus?vP(function(){p(u())}):p(u()),i.addEventListener("focusin",m,!0),i.addEventListener("mousedown",_,{capture:!0,passive:!1}),i.addEventListener("touchstart",_,{capture:!0,passive:!1}),i.addEventListener("click",y,{capture:!0,passive:!1}),i.addEventListener("keydown",v,{capture:!0,passive:!1}),i.addEventListener("keydown",b),n},E=function(){if(o.active)return i.removeEventListener("focusin",m,!0),i.removeEventListener("mousedown",_,!0),i.removeEventListener("touchstart",_,!0),i.removeEventListener("click",y,!0),i.removeEventListener("keydown",v,!0),i.removeEventListener("keydown",b),n},T="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver(function(e){e.some(function(e){return Array.from(e.removedNodes).some(function(e){return e===o.mostRecentlyFocusedNode})})&&p(u())}):void 0,C=function(){T&&(T.disconnect(),o.active&&!o.paused&&o.containers.map(function(e){T.observe(e,{subtree:!0,childList:!0})}))};return n={get active(){return o.active},get paused(){return o.paused},activate:function(e){if(o.active)return this;var t=a(e,"onActivate"),n=a(e,"onPostActivate"),r=a(e,"checkCanFocusTrap");r||d(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=h(i),null==t||t();var s=function(){r&&d(),w(),C(),null==n||n()};return r?(r(o.containers.concat()).then(s,s),this):(s(),this)},deactivate:function(e){if(!o.active)return this;var t=dP({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},e);clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,E(),o.active=!1,o.paused=!1,C(),fP(r,n);var i=a(t,"onDeactivate"),l=a(t,"onPostDeactivate"),c=a(t,"checkCanReturnFocus"),u=a(t,"returnFocus","returnFocusOnDeactivate");null==i||i();var d=function(){vP(function(){u&&p(f(o.nodeFocusedBeforeActivation)),null==l||l()})};return u&&c?(c(f(o.nodeFocusedBeforeActivation)).then(d,d),this):(d(),this)},pause:function(e){return o.active?(o.manuallyPaused=!0,this._setPausedState(!0,e)):this},unpause:function(e){return o.active?(o.manuallyPaused=!1,r[r.length-1]!==this?this:this._setPausedState(!1,e)):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return o.containers=t.map(function(e){return"string"==typeof e?i.querySelector(e):e}),o.active&&d(),C(),this}},Object.defineProperties(n,{_isManuallyPaused:{value:function(){return o.manuallyPaused}},_setPausedState:{value:function(e,t){if(o.paused===e)return this;if(o.paused=e,e){var n=a(t,"onPause"),i=a(t,"onPostPause");null==n||n(),E(),C(),null==i||i()}else{var r=a(t,"onUnpause"),s=a(t,"onPostUnpause");null==r||r(),d(),w(),C(),null==s||s()}return this}}}),n.updateContainerElements(e),n};class TP{set focustrap(e){this._focustrap=e,tS()||(e?(this._trap||(this.returnFocusTo&&!this._static_options.setReturnFocus&&(this._static_options.returnFocusOnDeactivate=!0,this._static_options.setReturnFocus=this.returnFocusTo),this._trap=EP(this._el.nativeElement,this._static_options)),this._trap.activate()):this._trap&&this._trap.deactivate())}get focustrap(){return this._focustrap}constructor(e){this._el=e}ngAfterViewInit(){tS()||(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=EP(this._el.nativeElement,this._static_options),this._trap.activate()))}ngOnDestroy(){this._trap&&this._trap.deactivate()}}TP.ɵfac=function(e){return new(e||TP)(ep(Ua))},TP.ɵdir=cf({type:TP,inputs:{options:[0,"ng-trap-options","options"],returnFocusTo:[0,"return-focus","returnFocusTo"],focustrap:[0,"ng-focus-trap","focustrap"]}});class CP extends TP{}CP.ɵfac=(()=>{let e;return function(t){return(e||(e=Jo(CP)))(t||CP)}})(),CP.ɵdir=cf({type:CP,selectors:[["","ng-focus-trap",""]],standalone:!1,features:[gf]});class IP{}IP.ɵfac=function(e){return new(e||IP)},IP.ɵmod=of({type:IP}),IP.ɵinj=Hn({});let SP=!1;if("undefined"!=typeof window){const BG={get passive(){SP=!0}};window.addEventListener("testPassive",null,BG),window.removeEventListener("testPassive",null,BG)}const AP="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 RP,xP=[],DP=!1,kP=-1;const OP=e=>xP.some(t=>!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))),NP=e=>{const t=e||window.event;return!!OP(t.target)||(t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1))},LP=(e,t)=>{if(!e)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(xP.some(t=>t.targetElement===e))return;const n={targetElement:e,options:{}};xP=[...xP,n],AP?(e.ontouchstart=e=>{1===e.targetTouches.length&&(kP=e.targetTouches[0].clientY)},e.ontouchmove=t=>{1===t.targetTouches.length&&((e,t)=>{const n=e.targetTouches[0].clientY-kP;!OP(e.target)&&(t&&0===t.scrollTop&&n>0||(e=>!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight)(t)&&n<0?NP(e):e.stopPropagation())})(t,e)},DP||(document.addEventListener("touchmove",NP,SP?{passive:!1}:void 0),DP=!0)):(window.innerWidth,document.documentElement.clientWidth,void 0===RP&&(RP=document.body.style.overflow,document.body.style.overflow="hidden"))},MP=e=>{e?(xP=xP.filter(t=>t.targetElement!==e),AP?(e.ontouchstart=null,e.ontouchmove=null,DP&&0===xP.length&&(document.removeEventListener("touchmove",NP,SP?{passive:!1}:void 0),DP=!1)):xP.length||void 0!==RP&&(document.body.style.overflow=RP,RP=void 0)):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.")},PP=["content"],FP=["dialog"],HP=["dialogContainer"];class BP{constructor(e,t,n){this._zone=e,this._dservice=t,this._render=n,this.opened=!1,this.ready=!1,this.hasclose=!0,this.is_node=tS(),this.onClose=new Ca,this.fullInMobile=!1,this.fullinmobilenoheader=!1,this.fullscreenmode=!1,this._was_in_fullscreen=!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=CS("md-"),o.import("css:/modal-dialog.css").catch(e=>{console.error("Error loading modal dialog styles:",e)})}ngOnInit(){eS()&&o.import("native:/app-events").then(e=>{this._OnAndroidBack=e.OnBack(()=>{if((this.fullInMobile||this.fullscreenmode)&&this.opened)return this.Close(),!1})})}_destroyActiveComponent(){this._activeComponent&&(this._activeComponent.destroy(),this._activeComponent=null,this.container.clear()),this._rootConainer=null}Close(e,t){return this.opened=!1,this.return_focus_to=null,new Promise(n=>K(this,void 0,void 0,function*(){if(yield xS(),requestAnimationFrame(()=>{t||this._dservice.canScroll(!0),this._zone.run(()=>K(this,void 0,void 0,function*(){this.ready=!1,yield xS(),setTimeout(()=>{this._destroyActiveComponent(),n(null)},300)}))}),yield xS(),this.myId="",yield xS(),requestAnimationFrame(()=>{this._scroll_lock&&(this._dservice.canScroll(!0),this._rootConainer&&MP(this._rootConainer),this._scroll_lock=!1)}),yield xS(),this._headerWatch&&(this._headerWatch.unsubscribe(),this._headerWatch=null),this.fullscreenmode&&!this.disable_header_hide_event&&JL.emit("header:visibility",!0,!0),this._was_in_fullscreen&&!this.disable_header_hide_event&&JL.emit("$native:modal-full","close"),yield xS(),this.fullInMobile&&!tS()&&!iS()){let e=gM();e&&e.classList.remove("ng-md-fullscreenmobile"),this.fullscreenmode||JL.emit("header:visibility",!0,!0)}this.onClose.emit(e)}))}Open(e,t,n){this.opened=!0,this.ready=!0,this.hasclose=!0,this._destroyActiveComponent();let i=!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(e)}catch(e){i=!0,this.opened=!1,this.ready=!1,console.error(e)}if(i)return this;const r=this._activeComponent.instance;if(r.data=t,r.dialogScrollTo=e=>{this.myEl&&this.myEl.nativeElement&&this.myEl.nativeElement.scrollTo({top:e,left:0,behavior:"smooth"})},r.closeDialog=e=>{this._zone.run(()=>{this.Close(e)})},r.dialogElement=this.myEl,r.dialogContainer=this.myElContainer,r.dialogScrollLock=e=>{this._zone.run(()=>{this.BodyScrollLock(e)})},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?(JL.emit("header:visibility",!1,!0),JL.emit("$native:modal-full","open"),n&&!n.fullScreenClose&&(this.hasclose=!1),this._was_in_fullscreen=!0):(this.ignore_header_pos?this.myEl.nativeElement.style.top="":this._headerWatch=JL.subscribe("header:position-change",e=>{window.innerWidth<=580&&(this.fullinmobilenoheader||(this.myEl.nativeElement.style.top=""),this.fullInMobile)?this.myEl.nativeElement.style.top=0:e&&e>0&&this.myEl?this.myEl.nativeElement.style.top=e+"px":this.myEl.nativeElement.style.top=""}),this.fullInMobile&&window.innerWidth<=580&&(JL.emit("$native:modal-full","open"),JL.emit("header:visibility",!1,!0),this._was_in_fullscreen=!0)),JL.emit("$app:modal-open",this),!this._scroll_lock&&this.myEl&&((eS()||window.innerWidth<768||iS())&&(this._dservice.canScroll(!1),this._rootConainer=this.container_scroll?this.myElContainer.nativeElement:this.myEl.nativeElement,LP(this._rootConainer)),this._scroll_lock=!0),this.fullInMobile&&this.fullinmobilenoheader){let e=gM();e&&e.classList.add("ng-md-fullscreenmobile")}return this.closeByDocument=(null==n?void 0:n.closeByDocument)||!1,this}UpdateData(e){this._activeComponent.instance.data=e}GetActiveComponent(){return this._activeComponent.instance}ngOnDestroy(){let e=!1;if((this._activeComponent||this.opened)&&(e=!0),this._destroyActiveComponent(),this._headerWatch&&(this._headerWatch.unsubscribe(),this._headerWatch=null),this._scroll_lock&&this._rootConainer&&MP(this._rootConainer),e&&this.onClose.emit(null),this.onClose.complete&&this.onClose.complete(),this.fullscreenmode&&e&&!this.disable_header_hide_event&&JL.emit("header:visibility",!0,!0),this.fullInMobile&&!tS()&&!iS()){let e=gM();e&&e.classList.remove("ng-md-fullscreenmobile"),this.fullscreenmode||JL.emit("header:visibility",!0,!0)}this._was_in_fullscreen&&JL.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(e){this._rootConainer=this.container_scroll?this.myElContainer.nativeElement:this.myEl.nativeElement,e?(LP(this._rootConainer),this._scroll_lock=!0):(MP(this._rootConainer),this._scroll_lock=!1)}OnDocCloseThisPopup(e){var t;this.closeByDocument&&(null===(t=this.myEl)||void 0===t?void 0:t.nativeElement)==(null==e?void 0:e.target)&&this.Close()}}BP.ɵfac=function(e){return new(e||BP)(ep(ka),ep(VS),ep(qh))},BP.ɵdir=cf({type:BP,viewQuery:function(e,t){if(1&e&&(yb(PP,5,_p),yb(FP,5),yb(HP,5)),2&e){let e;wb(e=Eb())&&(t.container=e.first),wb(e=Eb())&&(t.myEl=e.first),wb(e=Eb())&&(t.myElContainer=e.first)}},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"}});const zP=(e,t,n)=>({opened:e,mobilefullscreen:t,"ng-md-fullscreen":n});function qP(e,t){}function UP(e,t){if(1&e){const e=Wm();Fm(0,"div",8),nb("click",function(){Ds(e);return ks(sb(2).Close())}),Hm()}}function jP(e,t){if(1&e){const e=Wm();Fm(0,"div",4,0),nb("click",function(t){Ds(e);return ks(sb().OnDocCloseThisPopup(t))}),Fm(2,"div",5,1)(4,"span",6),Wb(5),Hm(),Hf(6,qP,0,0,"ng-template",null,2,Yy)(8,UP,1,0,"div",7),Hm()()}if(2&e){const e=sb();V_("ngClass",Ry(9,zP,e.opened,e.fullInMobile,e.fullscreenmode)),Zu(2),G_("ready",e.ready),V_("ng-focus-trap",e.ready)("return-focus",e.return_focus_to),a_("aria-labelledby",e.dialog_title_id),Zu(2),a_("id",e.dialog_title_id),Zu(),Gb(e.dialog_title),Zu(3),V_("ngIf",e.hasclose)}}class VP extends BP{}VP.ɵfac=(()=>{let e;return function(t){return(e||(e=Jo(VP)))(t||VP)}})(),VP.ɵcmp=nf({type:VP,selectors:[["modal-dialog"]],hostAttrs:["ngSkipHydration","true"],hostVars:3,hostBindings:function(e,t){2&e&&(a_("id",t.myId),G_("modal-with-close",t.hasclose))},standalone:!1,features:[gf],decls:1,vars:1,consts:[["dialog",""],["dialogContainer",""],["content",""],["class","ng-modal-dialog",3,"ngClass","click",4,"ngIf"],[1,"ng-modal-dialog",3,"click","ngClass"],["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","aria-label","Close overlay","role","button","tabindex","0",3,"click",4,"ngIf"],["aria-label","Close overlay","role","button","tabindex","0",1,"close-btn","af-icon-cross-slim",3,"click"]],template:function(e,t){1&e&&Hf(0,jP,9,13,"div",3),2&e&&V_("ngIf",!t.is_node)},dependencies:[LC,zC,CP],encapsulation:2});class WP{}WP.ɵfac=function(e){return new(e||WP)},WP.ɵmod=of({type:WP}),WP.ɵinj=Hn({imports:[yI,wL,IP]});class $P{set show(e){let t=this;e?(t._show=!0,t._showtimeout&&clearTimeout(t._showtimeout),t._showtimeout=setTimeout(()=>{t._show=!1,t._cd.detectChanges(),t.onhidden.emit()},t.timer)):t.close_on_change&&(t._show=!1,t._showtimeout&&clearTimeout(t._showtimeout),t.onhidden.emit()),t._cd.detectChanges()}get show(){return this._show}constructor(e){this._cd=e,this.timer=2500,this.message="something went wrong, please retry",this.close_on_change=!1,this.onhidden=new Ca,this._show=!1,this.center=!1}ngOnDestroy(){clearTimeout(this._showtimeout)}}$P.ɵfac=function(e){return new(e||$P)(ep(Xw))},$P.ɵdir=cf({type:$P,inputs:{timer:"timer",message:"message",close_on_change:[0,"close-on-change","close_on_change"],show:"show",center:"center"},outputs:{onhidden:"onhidden"}});class GP extends $P{}GP.ɵfac=(()=>{let e;return function(t){return(e||(e=Jo(GP)))(t||GP)}})(),GP.ɵcmp=nf({type:GP,selectors:[["error-toast"]],standalone:!1,features:[gf],decls:2,vars:2,consts:[["hidden","true","role","alert","tabindex","-1","aria-atomic","true",1,"errortoast",3,"ng-hidden"]],template:function(e,t){1&e&&(Fm(0,"div",0),Wb(1),Hm()),2&e&&(V_("ng-hidden",!t.show),Zu(),Gb(t.message))},dependencies:[sL],encapsulation:2});class YP{}function QP(e,t,n,i,r,s={},o){return Promise.resolve(Zp(n,t)).then(t=>{const n=function(e,t){const n=Yi(e),i=t.elementInjector||ur();return new fp(n).create(i,t.projectableNodes,t.hostElement,t.environmentInjector)}(i,{environmentInjector:t.injector,hostElement:"string"==typeof r?document.querySelector(r):r});return mS(s,(e,t)=>{n.instance[t]=e}),e.attachView(n.hostView),{ngModule:t,Component:n,destroy:()=>{try{e.detachView(n.hostView)}catch(e){}try{n.destroy()}catch(e){}try{t.destroy()}catch(e){}}}})}YP.ɵfac=function(e){return new(e||YP)},YP.ɵmod=of({type:YP}),YP.ɵinj=Hn({imports:[yI,wL]});class ZP{constructor(){this.queryParams=new Ne({}),this.fragment=new Ne("");let e=JP.subscribe(e=>{e&&this.queryParams.next(e.params||{})});this.queryParams.subscribe({complete:()=>{e.unsubscribe()}});let t=e=>{this.fragment.next(location.hash)};window.addEventListener("hashchange",t),this.fragment.subscribe({complete:()=>{window.removeEventListener("hashchange",t)}})}}class KP{constructor(){}navigate(e,t={skipLocationChange:!1}){return new Promise((n,i)=>{const r={updateBrowserURL:!0};try{let i=eF.lastResolved(),s="";i&&i[0]&&i[0].url&&(s=i[0].url),s=e&&e.length?e.join("/"):s,t.queryParams&&(s+="?"+gS(t.queryParams)),t.fragment&&(s+="#"+t.fragment),eF.navigate(s,r),setTimeout(()=>{n(!0)},200)}catch(e){i(e)}})}}let XP=[];const JP=new Ne(null);let eF;class tF{static forRoot(e){XP=XP.concat(e)}get navigo(){return eF}constructor(){if(!eF){let e=document.querySelector("head base").getAttribute("href")||"/";eF=new i(e);const t=e=>{hS(e?[e]:eF.lastResolved()||[],e=>{JP.next({url:e.url,params:e.params,query:e.queryString})})};let n=location.pathname.substring(location.pathname.indexOf(e)+e.length-1);XP.forEach(e=>{if(e.path){let i=e.path;i==n&&(n=null),"prefix"==e.pathMatch&&(i+="/*"),eF.on(i,()=>{},{after:t})}}),n&&eF.on(location.pathname.substring(location.pathname.indexOf(e)+e.length-1),()=>{},{after:t}),eF.resolve(),t()}}}tF.ɵfac=function(e){return new(e||tF)},tF.ɵmod=of({type:tF}),tF.ɵinj=Hn({providers:[ZP,KP],imports:[yI]});class nF{constructor(){this.exptime=1296e6,this._localgroup="",this.compareEmitter=new Ne({})}ngOnDestroy(){this.compareEmitter.complete()}toggleCompare(e){this.compareEmitter.next({type:"toggle",event:e})}setLocalGroup(e){this._localgroup=e}getLocalGroup(){return this._localgroup}getSavedProducts(e){if(!(e=e||this._localgroup))return[];const t=mM.group();mM.group("src-prd");const n=mM.get(`saved_${e}`)||[],i=mM.get(`skipped_${e}`)||[],r=n.filter(e=>!i.includes(e));return mM.group(t),r}getSkippedProducts(e){if(!(e=e||this._localgroup))return[];const t=mM.group();mM.group("src-prd");const n=mM.get(`skipped_${e}`)||[];return mM.group(t),n}saveProduct(e,t){if(!(t=t||this._localgroup))return null;const n=mM.group();mM.group("src-prd");const i=mM.get(`saved_${t}`)||[];i.push(e.pid),mM.set(`saved_${t}`,i),mM.expire(`saved_${t}`,this.exptime);const r=mM.get(`skipped_${t}`)||[],s=r.findIndex(t=>t===e.pid);s>-1&&(r.splice(s,1),mM.set(`skipped_${t}`,r),mM.expire(`skipped_${t}`,this.exptime)),mM.group(n)}removeProduct(e,t){if(!(t=t||this._localgroup))return null;const n=mM.group();mM.group("src-prd");const i=mM.get(`saved_${t}`)||[],r=i.findIndex(t=>t===e);r>-1&&(i.splice(r,1),mM.set(`saved_${t}`,i),mM.expire(`saved_${t}`,this.exptime));const s=mM.get(`skipped_${t}`)||[];(null==s?void 0:s.findIndex(t=>t===e))<0&&(s.push(e),mM.set(`skipped_${t}`,s),mM.expire(`skipped_${t}`,this.exptime)),mM.group(n)}clearSavedProducts(e){if(!(e=e||this._localgroup))return null;const t=mM.group();mM.group("src-prd"),mM.remove(`saved_${e}`),mM.group(t),this.compareEmitter.next({type:"reset"})}saveBalance(e,t){if(!(t=t||this._localgroup))return null;const n=mM.group();mM.group("src-prd"),mM.set(`balance_${t}`,e),mM.expire("balance",this.exptime),mM.group(n)}getBalance(e){if(!(e=e||this._localgroup))return null;const t=mM.group();mM.group("src-prd");const n=mM.get(`balance_${e}`);return mM.group(t),ES(n)?0:n}}nF.ɵfac=function(e){return new(e||nF)},nF.ɵprov=Fn({token:nF,factory:nF.ɵfac});const iF=["content"];function rF(e,t){if(1&e){const e=Wm();Fm(0,"span",4),nb("onClick",function(){Ds(e);return ks(sb().Collapse())}),Wb(1,"show less"),Hm()}}function sF(e,t){if(1&e){const e=Wm();Fm(0,"div",5),nb("onExpand",function(t){Ds(e);return ks(sb().Expanded(t))}),Hm()}if(2&e){const e=sb();V_("ng-truncate",e.htmlcontent)("breakpoint",e.breakpoint)("breakwords",e.breakwords)}}class oF{set content(e){if(this._content=e||"",this._initiated){const e=()=>{this._expandct?this._ShowFullCT():this._Truncate()};tS()?e():setTimeout(e)}}set expandContent(e){this._expandContent.next(e),this._expandct=e}get expLabel(){return this.expand_bt&&""!==this.expand_bt?this.expand_bt:"show more"}get copLabel(){return this.collapse_bt&&""!==this.collapse_bt?this.collapse_bt:"show less"}constructor(e,t,n){this._el=e,this._render=t,this._scroller=n,this._cleanups=[],this.breakpoint=768,this.breakwords={416:35,541:50,769:70,1282:90,1901:100,2048:150},this.staticbreak=null,this._content="",this.sanitize=!0,this.sanitizeCFG={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"],ADD_ATTR:["content","itemprop","itemtype","itemscope","id","name","target"]},this.use_shave_break=!1,this.expand_bt="show more",this.collapse_bt="show less",this.hellip="...",this.auto_truncate=!0,this.run_on_node=!1,this._expanded=!1,this._initiated=!1,this.istruncated=new Ne(null),this._expandContent=new ke,this._expandct=!1,this.auto_focus=!1,this.skip_shortcodes=!1,this.onExpand=new Ca,this.hasExpandButton=new Ca,this.onContent=new Ca}ngOnInit(){this.hasExpandButton.emit(!1),this._document=window.document,!this._expandct&&this._content||tS()?this._Truncate():this._ShowFullCT(),this._initiated=!0}_isElemVisible(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}_MoveFocus(){if(!tS()){const e=this._el.nativeElement;this._el.nativeElement.querySelector(".js-shave-char-less");let t=0;const n=e=>K(this,void 0,void 0,function*(){e.setAttribute("tabindex","0"),e.focus(),requestAnimationFrame(()=>{e.focus()}),yield xS(),setTimeout(()=>{this._scroller.scrollTo({position:t,timing:0})},0)});if((()=>{this._scroller.onScroll.pipe(wt(1)).subscribe(e=>{t=e})})(),this.auto_focus)for(let t=0,i=e.childNodes.length;t<i;t++){const i=e.childNodes[t];if(i.focus){n(i).then(()=>{});break}}}}_WordCount(e){let t=sS((1==e.nodeType?e.textContent:e.wholeText)+"");return""==t?0:t.split(/\s+/g).length}_CutHTML(e,t){let n=e.parentNode,i=null;if(!n)return;let r=[];for(let t=0,s=n.childNodes.length;t<s;t++){let s=n.childNodes[t];s==e?i=t:null!==i&&t>i&&(!s.tagName||"td"!==s.tagName.toLowerCase())&&r.push(s)}r.forEach(e=>{e.parentNode.removeChild(e)}),n!=t&&n&&this._CutHTML(n,t)}_AddExpandBT(e){let t=e.parentNode;t.removeChild(e),t.innerHTML=sS(t.innerHTML);let n=t.tagName.toLowerCase();if(wS(n,["tr","tbody","thead","tfoot"])){if("table"!=n){let e=t.parentNode;for(n=e.tagName.toLowerCase();"table"!=n&&n;)e=e.parentNode,n=e&&e.tagName?e.tagName.toLowerCase():null;"table"==n&&(t=e)}t.insertAdjacentHTML("afterend",` <span aria-label="${this.expLabel}" class="js-shave-char cursor-pointer" role="button" tabindex="0">${this.expand_bt}</span>`),t.insertAdjacentText?t.insertAdjacentText("afterend",this.hellip):t.insertAdjacentHTML("afterend",this.hellip)}else if(t.insertAdjacentText?t.insertAdjacentText("beforeend",this.hellip):t.insertAdjacentHTML("beforeend",this.hellip),"a"==n)t.insertAdjacentHTML("afterend",` <span aria-label="${this.expLabel}" class="js-shave-char cursor-pointer" role="button" tabindex="0">${this.expand_bt}</span>`);else{for(t.parentNode&&"a"==t.parentNode.tagName.toLowerCase()&&(n="a",t=t.parentNode);"a"==n&&t.parentNode;)t=t.parentNode,n=t.tagName.toLowerCase();t.insertAdjacentHTML("beforeend",` <span aria-label="${this.expLabel}" class="js-shave-char cursor-pointer" role="button" tabindex="0">${this.expand_bt}</span>`)}IS(()=>{this.hasExpandButton.emit(!0)}),this.istruncated.next(!0),tS()&&this.onContent.emit("collapsed")}_Shave(e,t){if(this._WordCount(e)<=t)return;let n=void 0===e.textContent?"innerText":"textContent",i=e[n].split(" ");if(i.length<2)return;let r,s=i.length-1,o=0,a=!1;for(;o<s;){r=o+s+1>>1;let l=i.slice(0,r).join(" ");a=l.lastIndexOf(".")>-1,e[n]=l,e.insertAdjacentHTML("beforeend",`<span class="js-shave-char cursor-pointer" role="button" tabindex="0" aria-label="${this.expLabel}">${a?"":"."}..${this.expand_bt}</span>`),this._WordCount(e)>t?s=r-1:o=r}}_TruncateWithLimit(e,t){const n=[];if(this.skip_shortcodes){const t=/\[[^\]]*\]/g,i=/\[url\s([^[\]]*)\]([^\[]*)\[\/url\]/g;let r=0;e=(e=e.replace(i,e=>{const t=`|SHORTCODE_${r}|`;return n.push(e),r++,t})).replace(t,e=>{const t=`|SHORTCODE_${r}|`;return n.push(e),r++,t})}let i=this._document.createElement("div");i.innerHTML=e;let r=0,s=!1,o=e=>{for(let n=0,i=e.childNodes.length;n<i;n++){let i=e.childNodes[n];if(1==i.nodeType){if(i.classList.contains("cc-list-buttons")||i.classList.contains("summary-picks-grid")||i.classList.contains("cc-trust")||i.classList.contains("wh-drawer")||i.classList.contains("wh-pro-tip")||i.classList.contains("bk-trust")||i.classList.contains("ci-trust")||i.classList.contains("edu-qna")||wS(i.tagName.toLowerCase(),["blockquote","br"]))continue;if("a"==i.tagName.toLowerCase()&&i.hasAttribute("href"))continue;if(o(i))return!0}else if(3==i.nodeType){let e=i[void 0===i.textContent?"innerText":"textContent"],n=sS(e).split(/\s+/g);if(r+=n.length,/^\s/.test(e)&&(n[0]=" "+n[0]),/\s$/.test(e)&&(n[n.length-1]+=" "),r>t){const e=r-t;if(i.nodeValue=n.slice(0,n.length-e).join(" "),i.parentNode){const t=this._document.createElement("div"),r=this._document.createElement("span");r.setAttribute("data-chop","auto"),t.appendChild(r);const s=this._document.createElement("div");s.innerHTML=n.slice(n.length-e).join(" "),i!==i.parentNode.lastChild?i.parentNode.insertBefore(r,i.nextElementSibling):(i.parentNode.appendChild(r),i.parentNode.insertAdjacentHTML("beforeend",s.innerHTML))}return s=!0,!0}}}};if(o(i),s){let e=i.querySelector('span[data-chop="auto"]');e&&i.lastChild!==e&&(this._CutHTML(e,i),e.parentNode==i&&(i.innerHTML=i.innerHTML.split(e.outerHTML)[0]+e.outerHTML,e=i.querySelector('span[data-chop="auto"]')),this._AddExpandBT(e))}let a=i.innerHTML;return n.length&&n.forEach((e,t)=>{a=a.replace(`|SHORTCODE_${t}|`,e)}),a}_Truncate(){this.istruncated.next(!1),this.hasExpandButton.emit(!1),IS(()=>{const e=this.istruncated.getValue();this.onContent.emit(e?"collapsed":"expanded")});let e=this._content;if(!this._document)return;if(this.staticbreak&&!this._expandct){e=e.replace(/(?:\\r\\n|\\r|\\n)/g,""),e=sS(e),e=e.replace("[chop]",'<span data-chop="desktop"></span>').replace("[mobilechop]","");let t=this._document.createElement("div");t.innerHTML=e;let n=t.querySelector('span[data-chop="desktop"]');return n?t.lastChild==n?n.parentNode.removeChild(n):(this._CutHTML(n,t),n.parentNode==t&&(t.innerHTML=t.innerHTML.split(n.outerHTML)[0]+n.outerHTML,n=t.querySelector('span[data-chop="desktop"]')),this._AddExpandBT(n),e=t.innerHTML):this._WordCount(t)>this.staticbreak&&(e=this._TruncateWithLimit(e,this.staticbreak)),this.sanitize&&(e=sk(e,this.sanitizeCFG)),void this._render.setProperty(this._el.nativeElement,"innerHTML",e)}if(e=e.replace("[chop]","\x3c!--chop--\x3e").replace("[mobilechop]","\x3c!--mobilechop--\x3e"),e=e.replace('<span data-chop="desktop"></span>',"\x3c!--chop--\x3e").replace('<span data-chop="mobile"></span>',"\x3c!--mobilechop--\x3e"),e=e.replace(/(?:\\r\\n|\\r|\\n)/g,""),e=sS(e),tS()&&!this.run_on_node)return this.sanitize&&(e=sk(e,this.sanitizeCFG)),void this._render.setProperty(this._el.nativeElement,"innerHTML",e);let t=1282;tS()||(t=window.innerWidth||this._document.body.clientWidth),t<this.breakpoint&&e.indexOf("\x3c!--mobilechop--\x3e")<0&&(e=e.replace(/<!--(auto)?(mobile)?chop-->/g,""));let n=!1,i=!1;t>=this.breakpoint?e.indexOf("\x3c!--chop--\x3e")>0&&(n=!0):e.indexOf("\x3c!--chop--\x3e")>0&&e.indexOf("\x3c!--mobilechop--\x3e")<0?n=!0:e.indexOf("\x3c!--mobilechop--\x3e")>0&&(n=i=!0),n||(e=e.replace("\x3c!--chop--\x3e","").replace("\x3c!--mobilechop--\x3e","")),e=t>this.breakpoint?e.replace(/(<!--chop-->)\s*(<!--mobilechop-->)/,"$2$1"):e.replace(/(<!--mobilechop-->)\s*(<!--chop-->)/,"$2$1"),e=e.replace("\x3c!--chop--\x3e",'<span data-chop="desktop"></span>'),e=e.replace("\x3c!--mobilechop--\x3e",'<span data-chop="mobile"></span>');let r=this._document.createElement("div");r.innerHTML=e;let s=r.querySelector('span[data-chop="desktop"]'),o=r.querySelector('span[data-chop="mobile"]');if(!s&&!o&&!this.auto_truncate)return e=sk(e,this.sanitizeCFG),void this._render.setProperty(this._el.nativeElement,"innerHTML",e);let a=!1,l=!!this.breakwords;if(r.lastChild==s||r.lastChild==o)l=!1,s&&r.lastChild==s&&(s.parentNode.removeChild(s),s=null,o&&r.lastChild==o&&(o.parentNode.removeChild(o),o=null)),o&&r.lastChild==o&&(o.parentNode.removeChild(o),o=null,s&&r.lastChild==s&&(s.parentNode.removeChild(s),s=null));else{if(s&&s.parentNode.lastChild==s){let e=s.parentNode,t=!0;for(;e&&e!==r;){if(e.parentNode.lastChild!=e){t=!1;break}e=e.parentNode}t&&(l=!1,s.parentNode.removeChild(s),s=null)}if(o&&o.parentNode.lastChild==o){let e=o.parentNode,t=!0;for(;e&&e!==r;){if(e.parentNode.lastChild!=e){t=!1;break}e=e.parentNode}t&&(l=!1,o.parentNode.removeChild(o),o=null)}}if(s&&(t>this.breakpoint||!i))this._CutHTML(s,r),s.parentNode==r&&(r.innerHTML=r.innerHTML.split(s.outerHTML)[0]+s.outerHTML,s=r.querySelector('span[data-chop="desktop"]')),this._AddExpandBT(s);else if(i&&o&&t<this.breakpoint)this._CutHTML(o,r),o.parentNode==r&&(r.innerHTML=r.innerHTML.split(o.outerHTML)[0]+o.outerHTML,o=r.querySelector('span[data-chop="mobile"]')),this._AddExpandBT(o);else if(l){let n;if(mS(this.breakwords,(e,i)=>{if(t<cS(i))return n=e,!1}),n)if(this.use_shave_break)this._Shave(r,n),a=!0;else if(this._WordCount(r)>n){const t=this._TruncateWithLimit(e,n);return void this._render.setProperty(this._el.nativeElement,"innerHTML",t)}}let c=r.innerHTML;!a&&this.sanitize&&(c=sk(r.innerHTML,this.sanitizeCFG)),this._render.setProperty(this._el.nativeElement,"innerHTML",c)}_ShowFullCT(){let e=this._content||"";this.sanitize&&(e=sk(e,this.sanitizeCFG)),this.collapse_bt&&(e+=`<br class="js-shave-br" /><span class="js-shave-char cursor-pointer js-shave-char-less" role="button" tabindex="0">${this.collapse_bt}</span>`),e=e.replace("[chop]","").replace("[mobilechop]",""),this._render.setProperty(this._el.nativeElement,"innerHTML",e),this._MoveFocus(),IS(()=>{this.onContent.emit("expanded")})}Expand(e){if(tS())return;let t=e.target;const n=()=>{this.onExpand.emit(this._expanded),JL.emit("$shortcodes:set")};t&&t.classList&&t.classList.contains("js-shave-char")&&(this._expanded=!this._expanded,this._expanded?(this._ShowFullCT(),n()):(this._expandct=!1,this._Truncate(),n()))}ngAfterViewInit(){tS()||(this._windowobs=_t(window,"resize"),this._windowobs.subscribe(()=>{!this._content||this._expanded||this._expandct||this._Truncate()}),this._expandContent.subscribe(e=>{this._content&&(this._expanded=!e,this.Expand({target:{classList:{contains:()=>!0}}}))}),this._cleanups.push(this._render.listen(this._el.nativeElement,"click",e=>{this.Expand(e)})))}ngOnDestroy(){this._windowobs&&(this._windowobs=null),this._windowsubs&&this._windowsubs.unsubscribe(),this.istruncated.complete(),this._cleanups.forEach(e=>{e()}),this._document=null}}oF.ɵfac=function(e){return new(e||oF)(ep(Ua),ep(qh),ep(VS))},oF.ɵdir=cf({type:oF,selectors:[["","ng-truncate",""]],inputs:{breakpoint:"breakpoint",breakwords:"breakwords",staticbreak:[0,"breakwords-static","staticbreak"],content:[0,"ng-truncate","content"],sanitize:"sanitize",sanitizeCFG:[0,"sanitize-cfg","sanitizeCFG"],use_shave_break:[0,"use-shave","use_shave_break"],expand_bt:[0,"expand-button","expand_bt"],collapse_bt:[0,"collapse-button","collapse_bt"],hellip:"hellip",auto_truncate:[0,"auto-trim","auto_truncate"],run_on_node:[0,"run-on-node","run_on_node"],expandContent:[0,"expand-content","expandContent"],auto_focus:[0,"auto-focus","auto_focus"]},outputs:{onExpand:"onExpand",hasExpandButton:"hasExpandButton",onContent:"onContent"},standalone:!1});class aF{constructor(e,t){this._cd=e,this._render=t,this.breakpoint=768,this.breakwords={416:35,541:50,769:70,1282:90,1901:100,2048:150},this.expand_mode="dynamic",this.hide_org_content=!0,this.perma_expand=!1,this.htmlcontent="",this.onExpand=new Ca}Expanded(e){if(e&&(this.hide_org_content=!1,"permanent"==this.expand_mode&&(this.perma_expand=!0)),this.onExpand.emit(e),this._cd.detectChanges(),this.contentBox&&this.contentBox.nativeElement){const e=this.contentBox.nativeElement;for(let t=0,n=e.childNodes.length;t<n;t++){const n=e.childNodes[t];if(n.focus){n.setAttribute("tabindex","0"),n.focus(),setTimeout(()=>{n.focus()});break}}}}Collapse(){this.hide_org_content=!0,this._cd.detectChanges()}ngOnInit(){this.hide_org_content=!tS(),tS()?(this.hide_org_content=!1,this.perma_expand=!0):this._observer=new MutationObserver(e=>{this.htmlcontent=this.contentBox.nativeElement.innerHTML,IS(()=>{this._cd.detectChanges()})})}ngAfterViewInit(){tS()||(this.htmlcontent=this.contentBox.nativeElement.innerHTML,IS(()=>{this._cd.detectChanges()}),this._observer.observe(this.contentBox.nativeElement,{attributes:!1,childList:!0,characterData:!0}))}ngOnDestroy(){this._observer.disconnect()}}aF.ɵfac=function(e){return new(e||aF)(ep(Xw),ep(qh))},aF.ɵcmp=nf({type:aF,selectors:[["ng-truncate"]],viewQuery:function(e,t){if(1&e&&yb(iF,5),2&e){let e;wb(e=Eb())&&(t.contentBox=e.first)}},inputs:{breakpoint:"breakpoint",breakwords:"breakwords",expand_mode:[0,"expand","expand_mode"]},outputs:{onExpand:"onExpand"},standalone:!1,ngContentSelectors:["*"],decls:5,vars:3,consts:[["content",""],[3,"ng-hidden"],["class","js-shave-char cursor-pointer js-shave-char-expanded","zing-touch","","role","button","tabindex","0",3,"onClick",4,"ngIf"],[3,"ng-truncate","breakpoint","breakwords","onExpand",4,"ngIf"],["zing-touch","","role","button","tabindex","0",1,"js-shave-char","cursor-pointer","js-shave-char-expanded",3,"onClick"],[3,"onExpand","ng-truncate","breakpoint","breakwords"]],template:function(e,t){1&e&&(ab(),Fm(0,"div",1,0),lb(2),Hm(),Hf(3,rF,2,0,"span",2)(4,sF,1,3,"div",3)),2&e&&(V_("ng-hidden",t.hide_org_content),Zu(3),V_("ngIf",!t.hide_org_content&&!t.perma_expand),Zu(),V_("ngIf",t.hide_org_content))},dependencies:[zC,OS,sL,oF],encapsulation:2,changeDetection:0});class lF{}lF.ɵfac=function(e){return new(e||lF)},lF.ɵmod=of({type:lF}),lF.ɵinj=Hn({imports:[yI,wL]});class cF{get noclick(){return!!this.data.noclickname}get noforeignfee(){return!!this.data.noforeignfee}get ftr_cat(){return this.data.ftr_cat}get activation_fee(){return this.data.act_fee}get monthly_fee(){return this.data.monthly_fee}get sig_txn_fee(){return this.data.sig_txn_fee}get short_name(){return this.data.short_name}get short_name_real(){return this.data.short_name_real}get bt_allowed(){return"Y"==this.data.bt_allowed}get pin_txn_fee(){return this.data.pin_txn_fee}get atm_fee_in(){return this.data.atm_fee_in}get in_network_atms_num(){return this.data.in_network_atms_num}get atm_fee(){return this.data.atm_fee}get international_txn_fee(){return this.data.international_txn_fee}get max_late_fee(){return this.data.max_late_fee}get max_olmt_fee(){return this.data.max_olmt_fee}get default_apr(){return this.data.default_apr}get cash_apr(){return this.data.cash_apr}get cash_advance_fee(){return this.data.cash_advance_fee}get it_fee(){return this.data.it_fee}get grace_period(){return this.data.grace_period}get emv_chip(){return this.data.emv_chip}get live_cust_svc(){return this.data.live_cust_svc}get auto_cust_svc(){return this.data.auto_cust_svc}get reload_networks(){return this.data.reload_networks}get cancel_fee(){return this.data.cancel_fee}get inact_fee(){return this.data.inact_fee}set tracking_url(e){this.data.tracking_url=e}get tracking_url(){return this.data.tracking_url}get manual_apply(){return this.data.manual_apply}set manual_apply(e){this.data.manual_apply=e}get details_page_full(){return this.data.details_page_full}set details_page_full(e){this.data.details_page_full=e}get image_paths(){return this.data.image_paths}set image_paths(e){this.data.image_paths=e}get wh_url(){return this.data.wh_url}set wh_url(e){this.data.wh_url=e}get bt_intro_apr_combo(){return this.data.bt_intro_apr_combo}set bt_intro_apr_combo(e){this.data.bt_intro_apr_combo=e}get p_intro_apr_combo(){return this.data.p_intro_apr_combo}set p_intro_apr_combo(e){this.data.p_intro_apr_combo=e}get headline(){return this.data.headline}set headline(e){this.data.headline=e}get wh_ratings(){return this.data.wh_ratings}set wh_ratings(e){this.data.wh_ratings=e}get custom_rating(){return this.data.custom_rating||this.data.CUSTOM_RATING}set custom_rating(e){this.data.custom_rating=e}get show_terms_apply(){return this._show_terms_apply}set show_terms_apply(e){this._show_terms_apply=e}get has_rates(){return this._has_rates}get rew_earn_rt_linked(){return"Y"==this.data.rew_earn_rt_linked||!0===this.data.rew_earn_rt_linked||"Y"==this.data.REWARDS_EARN_RATE_HYPERLINKED||!0===this.data.REWARDS_EARN_RATE_HYPERLINKED}get accepted_credit_scores(){return this.data.accepted_credit_scores}set accepted_credit_scores(e){this.data.accepted_credit_scores=e}get internalApprovalOdds(){return this.data.internalApprovalOdds}constructor(e){var t,n;this.fulldetails=!1,this._onApplyLinkCallbacks=[],this._onDetailsPageCallbacks=[],this.ace=!1,this.bank_credentials=!1,this._MIN_CREDIT_REQUIRED_CLASS="",this._HAS_PIAPR=null,this.getEditorsRatingSource=function(){return this.data.editors_rating_source||this.data.EDITORS_RATING_SOURCE||null},this.isCustomEditorsRating=function(){return this.getEditorsRatingSource()&&"Custom"==this.getEditorsRatingSource()},this.getFinalWHRating=function(){let e=null;return this.getEditorsRatingSource()&&("Custom"==this.getEditorsRatingSource()&&this.getCustomRating()?e=cS(this.getCustomRating()):"Custom"!=this.getEditorsRatingSource()&&this.getMaxWhRating()&&(e=cS(this.getMaxWhRating()))),e},this.hasEditorsReviewSnippet=function(){return this.data.EDITORS_REVIEW_SNIPPET&&""!=this.data.EDITORS_REVIEW_SNIPPET.trim()},this.getEditorsReviewSnippet=function(e){if(!this.data.EDITORS_REVIEW_SNIPPET)return"";var t=this.data.EDITORS_REVIEW_SNIPPET.trim();return t.endsWith(".")&&e&&(t=t.slice(0,-1)),""!=t?t+(e?" ... <a href='"+this.getDetailsPage()+"' target='_blank' class='link link-grey' rel='nofollow'>show more</a>":""):""},this.getWHRatingDistribution=function(){return this.data.RATINGS_INFO_ARRAY},this.getCompDistribution=function(){return this.data.RATINGS_INFO_ARRAY?this.data.RATINGS_INFO_ARRAY.filter(e=>"User Reviews"!==e.label):[]},this.getConvertedRatingsInfoStrAsObj=function(){if(!oS(this.data.RATINGS_INFO_STR))return this.data.RATINGS_INFO_STR;let e={},t=0,n="";for(var i of this.data.RATINGS_INFO_STR.split(",")){let r=i.split(/\s*\|\s*/),s=e[r[0]]||{};s[r[1]]=r[2],e[r[0]]=s,"total"==r[1]&&Number(r[2])>t&&(t=Number(r[2]),n=r[0])}return e.all=e[n]||{},e.all.need_name_alias=n,e.all.total=t,e},this.data=e,this.setRating((null===(t=this.data)||void 0===t?void 0:t.rating)||(null===(n=this.data)||void 0===n?void 0:n.RATING)||0),this._has_rates=(()=>{let e=!(!this.HSBCWithMonitoringUrl()&&!this.americanExpressWithMonitoringUrl()&&"2156"!=(this.getId()||"").toString()&&"1667"!=(this.getId()||"").toString()&&"3292"!=(this.getId()||"").toString())&&this.isAffiliateLink();return e||(e="Y"==this.data.show_rates_fees||!0===this.data.show_rates_fees||"Y"==this.data.SHOW_RATES_FEES||!0===this.data.SHOW_RATES_FEES),!(!this.data.rates_fees_url&&!e)})(),this._show_terms_apply=(()=>this.americanExpressWithMonitoringUrl()||"Y"==this.data.show_terms_apply||!0===this.data.show_terms_apply||"Y"==this.data.SHOW_TERMS_APPLY||!0===this.data.SHOW_TERMS_APPLY)(),"BT_INTRO_APR_COMBO"in this.data&&(this.data.bt_intro_apr_combo=this.data.BT_INTRO_APR_COMBO),"PURCHASE_INTRO_APR_COMBO"in this.data&&(this.data.p_intro_apr_combo=this.data.PURCHASE_INTRO_APR_COMBO),"CRITICAL_LOGGED_OUT"in this.data&&(this.data.critical_logged_out=this.data.CRITICAL_LOGGED_OUT),"CRITICAL_LOGGED_IN"in this.data&&(this.data.critical_logged_in=this.data.CRITICAL_LOGGED_IN),"minimum_credit_texts"in this.data&&(this.data.MIN_CREDIT_TEXTS=(this.data.minimum_credit_texts||[]).join(", ")),this.ace=TM(),this.data.critical=this.ace?this.data.critical_logged_in:this.data.critical_logged_out,"AFFILIATE_INFLUENCE_SCOPE"in this.data&&(this.data.aff_inf_scope=this.data.AFFILIATE_INFLUENCE_SCOPE),this.data.bankAccountCredentialsNeeded&&(this.bank_credentials=!0),"fk_min_credit_reqd"in this.data&&(dS(this.data.fk_min_credit_reqd)?this.data.accepted_credit_scores=this.data.fk_min_credit_reqd.join(", "):this.data.accepted_credit_scores=this.data.fk_min_credit_reqd),"ratings_info_str"in this.data&&(this.data.RATINGS_INFO_STR=this.data.ratings_info_str);let i=[],r={rebuild:"Rebuild Damaged Credit",storeRebuild:"Rebuild Damaged Credit (Store Cards)",rebuildNB:"Rebuild Damaged Credit by Paying in Full Each Month",improving:"Improve Credit",improvingNB:"Improve Credit by Paying in Full Each Month",student:"Build Credit (Students)",studentNB:"Build Credit by Paying in Full Each Month (Students)",rewards:"Earn Rewards",travel:"Earn Travel Rewards",airline:"Earn Airline Rewards",hotel:"Earn Hotel Rewards",gas:"Earn Gas Rewards",storeRewards:"Earn Rewards (Store Cards)",financing:"Finance New Purchases",storeFinancing:"Finance New Purchases (Store Cards)",lowerDebt:"Lower Cost of Existing Debt",businessRebuild:"Business - Rebuild Damaged Credit",businessRebuildNB:"Business - Rebuild Damaged Credit by Paying in Full Each Month",businessImproving:"Business - Improve Credit",businessImprovingNB:"Business - Improve Credit by Paying in Full Each Month",businessRewards:"Business - Earn Rewards",businessTravel:"Business - Earn Travel Rewards",businessStoreRewards:"Business - Earn Rewards (Store Cards)",businessFinancing:"Business - Finance New Purchases",businessStoreFinancing:"Business - Finance New Purchases (Store Cards)",businessLoweringDebt:"Business - Lower Cost of Existing Debt"};this.data.WH_RATING_NEED="";let s=this.getWhRatings();if(!s&&this.data.RATINGS_INFO_STR&&(s=this.data.RATINGS_INFO_STR.all?this.data.RATINGS_INFO_STR:this.getConvertedRatingsInfoStrAsObj()),s&&s.all){s=s.all;const e=this;fS(s)&&(mS(s,function(t,n){let s=n;n&&"need_name_alias"==n&&r[t]&&(e.data.WH_RATING_NEED=r[t]),n&&"need_name_alias"!=n&&"total"!=n&&("interest"==s?s="APR":"reviews"==s?(s="User Reviews",e.data.wh_user_reviews=cS(t||"0.0").toFixed(1)):"otherFeatures"==s&&(s="Other Features"),"marketComparison"===s&&(e.data.WH_MARKET_COMP=cS(t||"0.0").toFixed(1)),"marketComparison"!==s&&"editorsRating"!==s&&i.push({label:s,rating:cS(t||"0.0").toFixed(1)}))}),i=RS(i,"approval","User Reviews"),s.total&&(this.data.MAX_WH_RATING=s.total))}this.data.RATINGS_INFO_ARRAY=i,"editors_review_snippet"in this.data&&(this.data.EDITORS_REVIEW_SNIPPET=this.data.editors_review_snippet)}affInfScope(){return this.data.aff_inf_scope||""}getMarketComparison(){return this.data.WH_MARKET_COMP||null}getWHNeeds(){return this.data.WH_RATING_NEED||""}showFullRating(){return!this.getUserReview()&&this.getVotes()<10&&!this.getEditorRating()}toggleDetails(e=null){this.fulldetails=null!==e?e:!this.fulldetails}toggleDetailsChild(e){e.target.classList.contains("details-open")&&this.toggleDetails(!0)}getDetailsPage(e,t){let n=e||xL(),i=this.data.details_page||this.data.DETAILS_HTML_PAGE_NAME||this.data.DetailsHtmlPageName||"",r="";r=i.indexOf("/d/")<0?n+"/d/"+i:n+i;let s=t||this.data._detailsUTM;return s&&Object.keys(s).length>0&&(r.indexOf("?")>-1?r+="&":r+="?",r+=gS(s,!1,!0)),r}openDetailsPage(){let e=this.getDetailsPage(),t=!0;hS(this._onDetailsPageCallbacks,n=>{let i=n(e);if("boolean"==typeof i&&(t=i,!i))return!1}),t&&window.open(e,"_blank")}onClickDetailsPage(e){this._onDetailsPageCallbacks.push(e)}openApplyLink(e,t="_blank"){let n=e||xL(),i=this.getApplyLink(n),r=!0;hS(this._onApplyLinkCallbacks,e=>{let t=e(i);return"boolean"==typeof t&&(r=t),t}),r&&window.open(i,t)}getApplyLink(e){let t=(e||xL())+"/r/?id="+this.getId()+"c";if(this.data._applyUTM&&Object.keys(this.data._applyUTM).length>0&&(t+="&"+gS(this.data._applyUTM,!1,!0)),this.data.tracking_url&&!this.data.manual_apply)t=this.data.tracking_url;else if(this.data.tracking_url&&this.data.manual_apply)return"";return t}getRatesLink(e){let t=e||xL(),n=this.getApplyLink(t);return n||(n=xL()+"/r/?id="+this.getId()+"c"),this.data.rates_fees_url||n+"&rf=1"}onClickApplyLink(e){this._onApplyLinkCallbacks.push(e)}initializeRewardsCode(e){if(e in this.data&&null!=this.data[e]){var t=cS(this.data[e]);if(null!=t)return t[0]}return null}getRegularRate(){let e=[];return"p_reg_apr_max"in this.data&&"p_reg_apr_min"in this.data&&(e=[this.data.p_reg_apr_min,this.data.p_reg_apr_max]),2==e.length?e[0]:null}getImageSrc(e=500,t){if(this.data.img_name_full||this.data.IMAGE_NAME_FULL)return this.data.img_name_full||this.data.IMAGE_NAME_FULL;let n=this.getImageName();if(0===n.indexOf("data:image"))return n;if(""!=n){let i=DM.getKey("cdn_url");return n=`common/product/images/creditcards/${e}/`+n,(t||this.isPrepaid())&&(n=n.replace("creditcards/","prepaidcards/")),i+n}return null}getImageAlt(){let e=this.getImageName();if(""!=e){var t=e.replace(/^\s+/,"").replace(/\s+$/,"");return t=(t=(t=t.substring(0,t.lastIndexOf("."))).replace(/[_-]\d+c$/,"")).replace(/[^a-z0-9]/g," ")}return this.getNameVO()+" image"}getImageName(){return this.data.img_name||this.data.IMAGE_NAME||this.data.ImageURL||""}getStars(){let e,t=[],n=Math.round(2*parseFloat(this.data.rating))/2,i=n,r=parseInt(n),s=i-r;for(e=0;e<5;e++)e<r?t.push("full"):e==r&&s>.1?t.push("half"):t.push("empty");return t}setRating(e){this.data.rating=cS(e)}getRating(){return this.data.rating}getVotes(){return this.data.votes||this.data.VOTES||this.data.reviews||0}setVotes(e){this.data.votes=e}getCardType(){let e=this.data.pdt_type||this.data.CARD_TYPE;return"SecuredCardType"in this.data&&(e=this.data.SecuredCardType.toLowerCase()),e}getRewardRedemptionTxt(){var e=null;return"rew_redeem"in this.data&&(e=this.data.rew_redeem,this.data.REWARDS_EXTRA_ON.indexOf("Gas")>-1&&(e+=" - Extra on Gas")),e}isSecured(){return/secured card/i.test(this.getCardType())}isPrepaid(){return/prepaid card/i.test(this.getCardType())}isDiscontinued(){return"discontinued"in this.data&&"Y"===this.data.discontinued}isLimitedUse(){let e="";return"min_credit_reqd"in this.data?e=dS(this.data.min_credit_reqd)?this.data.min_credit_reqd.join(", "):this.data.min_credit_reqd:"MIN_CREDIT_REQUIRED"in this.data?e=this.data.MIN_CREDIT_REQUIRED.join(", "):"MinCreditRequired"in this.data&&(e=this.data.MinCreditRequired.toLowerCase()),this.isSecured()||/bad/i.test(e)}getOneTimeSetupFees(){let e=this.data.ONE_TIME_SETUP_FEES||"";return"ots_fee"in this.data?e=this.data.ots_fee:"TotalOneTimeFees"in this.data&&(e=this.data.TotalOneTimeFees),uF(e)}getAnnualFee(){let e="";return"annl_fee"in this.data?e=this.data.annl_fee:"AnnualFee"in this.data?e=this.data.AnnualFee:this.data.ANNUAL_FEE&&(e=this.data.ANNUAL_FEE),uF(e)}getInstantApproval(){let e="";return"instant_approval"in this.data&&(e=this.data.instant_approval),"string"==typeof e?"N"!=e?"Yes":"No":e?"Yes":"No"}getMonthlyFee(){let e="";return"mnth_fee"in this.data?e=this.data.mnth_fee:"MonthlyFee"in this.data?e=this.data.MonthlyFee:this.data.MONTHLY_FEE&&(e=this.data.MONTHLY_FEE),uF(e)}getRewardsEarnRate(e){let t="";return"rew_earn_rt"in this.data?t=this.data.rew_earn_rt:"EarnRate"in this.data?t=this.data.EarnRate:this.data.REWARDS_EARN_RATE&&(t=this.data.REWARDS_EARN_RATE),this.isLinkedRewardsRate()?t?e?t:`<span class="link details-open" data-type="rewards" role="button" tabindex="0">${t}</span>`:"None":uF(t)}getRewardsBaseEarnRate(){let e="";return"rew_bs_earn_rt"in this.data&&(e=this.data.rew_bs_earn_rt),this.data.REWARDS_BASE_EARN_RATE_CODE=this.initializeRewardsCode("REWARDS_BASE_EARN_RATE"),e}getMinCredRaw(){return"min_credit_reqd"in this.data?this.data.min_credit_reqd.toLowerCase().replace(" history",""):""}getMinCreditRequiredEditorial(e){return"minimum_credit_needed"in this.data?e?this.data.minimum_credit_needed:this.data.minimum_credit_needed.toLowerCase().replace(" history",""):"N/A"}getMinCreditTexts(){if(this.data.MIN_CREDIT_TEXTS&&"string"==typeof this.data.MIN_CREDIT_TEXTS)return this.data.MIN_CREDIT_TEXTS;let e="";"min_credit_reqd"in this.data?e=dS(this.data.min_credit_reqd)?this.data.min_credit_reqd.join(", "):this.data.min_credit_reqd||"":"MinCreditRequired"in this.data?e=this.data.MinCreditRequired.toLowerCase():this.data.MIN_CREDIT_REQUIRED&&(e=this.data.MIN_CREDIT_REQUIRED.join(", "));let t=["Excellent","Bad","Fair","Good","Limited History"],n=[];for(let i=0;i<t.length;i++)if(e.indexOf(t[i])>-1){let e=t[i];n.push(e)}return n.join(", ")}isSecure2(){return this.data.secured&&1==this.data.secured}getMinimumCreditScore(){if("minimum_credit_needed"in this.data){let e=this.data.minimum_credit_needed.toLowerCase(),t="";const n=this.getCardType();switch(e){case"limited history":t="less than 3 years of credit history";break;case"bad":t=this.isSecure2()||n&&("SECURED"==n.toUpperCase()||"SECURED CARD"==n.toUpperCase())?"300":"500";break;case"fair":t="640";break;case"good":t="700";break;case"excellent":t="750"}return t}return"N/A"}getRewardsMaxEarnRate(){let e="";return"rew_mx_earn_rt"in this.data&&(e=this.data.rew_mx_earn_rt),this.data.REWARDS_MAX_EARN_RATE_CODE=this.initializeRewardsCode("REWARDS_MAX_EARN_RATE"),e}getRewardsInitialBonus(){let e="";return"rew_init_bns"in this.data?e=this.data.rew_init_bns:"RewardsInitialBonus"in this.data?e=this.data.RewardsInitialBonus:this.data.REWARDS_INITIAL_BONUS&&(e=this.data.REWARDS_INITIAL_BONUS),uF(e)}getMinCreditRequired(e=!1){let t=[],n="",i="";if("min_credit_reqd"in this.data?n=dS(this.data.min_credit_reqd)?this.data.min_credit_reqd.join(", "):this.data.min_credit_reqd:"MinCreditRequired"in this.data?n=this.data.MinCreditRequired.toLowerCase():this.data.MIN_CREDIT_REQUIRED&&(n=this.data.MIN_CREDIT_REQUIRED.join(", ")),!this._MIN_CREDIT_REQUIRED_PARSED){"string"==typeof n?t=n.split(/\s*,\s*/):n&&dS(n)&&(t=n);let e=["Bad","Limited History","Fair","Good","Excellent"];for(let i=0;i<e.length;i++)if(t.indexOf(e[i])>-1){n=e[i];break}i="Excellent"==n||"excellent"==n?"ultra-appr":"Good"==n||"good"==n?"high-appr":"med-appr",n&&n.indexOf("Limited")<0&&(n+=" Credit"),this._MIN_CREDIT_REQUIRED_PARSED=n,this._MIN_CREDIT_REQUIRED_CLASS=i}return e?this._MIN_CREDIT_REQUIRED_CLASS:this._MIN_CREDIT_REQUIRED_PARSED}hasPurchaseIntroApr(){if(null===this._HAS_PIAPR){let e=!(!this.data.OffersIntroPchApr&&!this.data.OFFERS_PURCHASE_INTRO_APR&&"Y"!=this.data.offers_p_intro_apr),t=null;"p_intro_apr"in this.data&&(t=this.data.p_intro_apr),"PurchaseIntroAPR"in this.data&&(t=this.data.PurchaseIntroAPR||"N/A"),this.data.hasOwnProperty("p_intro_apr_combo")&&!ES(this.data.p_intro_apr_combo)&&(t=this.data.p_intro_apr_combo),this._HAS_PIAPR=e&&t&&"N/A"!=t}return this._HAS_PIAPR}hasComboPurchaseIntroApr(){return!(!this.data.hasOwnProperty("p_intro_apr_combo")||ES(this.data.p_intro_apr_combo))}getPurchaseIntroApr(e,t){var n,i,r="Not Offered",s=null;if(n=!(!this.data.OffersIntroPchApr&&!this.data.OFFERS_PURCHASE_INTRO_APR&&"Y"!=this.data.offers_p_intro_apr),i=this.data.PurchaseIntroAPR||this.data.p_intro_apr_value||this.data.p_intro_apr||this.data.PURCHASE_INTRO_APR||"N/A",s=this.data.PurchaseIntroPeriod||this.data.p_intro_pd||this.data.PURCHASE_INTRO_PERIOD,n&&this.data.p_intro_apr_combo&&(ES(this.data.p_intro_apr_combo)||(this.data.PurchaseIntroAPRText=this.data.p_intro_apr_combo)),this.data.hasOwnProperty("PurchaseIntroAPRText"))r=this.data.PurchaseIntroAPRText;else if(n&&i&&"N/A"!=i){if(r=i,e)return r;if(s)/^\d+\s+/.test(s)&&(r+="&nbsp;for"),r+="&nbsp;",t&&(r=""),/20\d{2}$/.test(s)?r+=s.replace(/(20\d{2})$/,"$1"):r+=s;else if(t)return"None"}return r}hasComboBtIntroApr(){return!(!this.data.bt_intro_apr_combo||ES(this.data.bt_intro_apr_combo))}hasBtIntroApr(){let e=null,t=!("Y"!=this.data.offers_bt_intro_apr&&!this.data.OFFERS_BT_INTRO_APR&&!this.data.OffersIntroBalanceTransferApr);return"bt_intro_apr"in this.data&&(e=this.data.bt_intro_apr),"BalanceTransferIntroAPR"in this.data&&(e=this.data.BalanceTransferIntroAPR||"N/A"),!(!t||!this.hasComboBtIntroApr())||("BalanceTransferIntroAPRText"in this.data&&"Not Offered"!==this.data.BalanceTransferIntroAPRText||t&&e&&"N/A"!=e)}getBtIntroApr(e,t,n,i){var r,s,o="Not Offered",a=null,l=null;if(s=this.data.bt_intro_apr_value||this.data.bt_intro_apr||this.data.BT_INTRO_APR||this.data.BalanceTransferIntroAPR||"N/A",a=this.data.bt_fee||this.data.BT_FEE||this.data.BalanceTransferFee,r=!("Y"!=this.data.offers_bt_intro_apr&&!this.data.OFFERS_BT_INTRO_APR&&!this.data.OffersIntroBalanceTransferApr),l=this.data.bt_intro_pd||this.data.BT_INTRO_PERIOD||this.data.BalanceTransferIntroPeriod,r&&this.hasComboBtIntroApr()&&(this.data.BalanceTransferIntroAPRText=this.data.bt_intro_apr_combo),this.data.hasOwnProperty("BalanceTransferIntroAPRText"))o=this.data.BalanceTransferIntroAPRText,a&&"Not Offered"!==o&&!i&&(o+="<span class='cc-inf-value-desk cc-inf-divider'>|</span>",a.toLowerCase().indexOf("transfer fee")<0&&(o+="<span class='cc-inf-value-grey color-grey'>Transfer Fee:</span>"),o+=" <span class='cc-inf-value color-grey'>",o+="None"!=a?a:"No",o+="</span>");else if(r&&s&&"N/A"!=s){if(s&&(o="<span class='cc-bt-intro-apr'>"+s+"</span>"),e)return o;if(l&&!e&&(/^\d+\s+/.test(l)&&(o+=" for"),o+=" ",t&&(o=""),/20\d{2}$/.test(l)?o+=l.replace(/(20\d{2})$/,"<span>$1</span>"):o+=l),t)return o;if(i)return o;n&&(o=""),o+="<span class='cc-inf-value-desk cc-inf-divider'>|</span>",a&&a.toLowerCase().indexOf("transfer fee")<0&&(o+="<span class='cc-inf-value-grey color-grey'>Transfer Fee:</span>"),o+=" <span class='cc-inf-value-grey color-grey'>",o+=a&&"None"!=a?a:"No",o+="</span>"}return o}getTestTemplate(e){return this.isLimitedUse()||"nc"==e.mc?"bad":e.iw.pch?"pch":e.iw.bt?"bt":e.iw.reg?"reg":e.iw.rw||"cs"==e.iam&&e.nw.am||"y"==e.chcrd||"y"==e.ft?"rw":"def"}getId(){return this.data.id||this.data.ID}getName(e,t){let n=t?this.short_name:"";return n||(n=this.data.name||this.data.CARD_NAME||this.data.Name||""),(e&&-1==n.toLowerCase().indexOf("the")?"The ":"")+n}getShortName(){return this.short_name_real?this.short_name_real:""}getNameVO(e){return this.getName(e).replace(/®|™|&reg;|&trade;/g,"").replace("™","").replace("&reg;","").replace("&trade;","")}getInstitutionName(){let e="";return"gc_inst_name"in this.data&&(e=this.data.gc_inst_name),e}getDescriptionArray(){let e=[];return dS(this.data.description)?e=this.data.description:"description"in this.data&&oS(this.data.description)?e=this.data.description.split("__"):"Description"in this.data&&oS(this.data.Description)?e=this.data.Description.split("__"):this.data.DESCRIPTION_ARRAY&&(e=this.data.DESCRIPTION_ARRAY),e}isAffiliateLink(e=!1){let t=!!(this.data.Affiliate||this.isSponsor()||this.data.AFFILIATE_LINK);return e||("LOGGED_IN_ONLY"in this.data&&this.data.LOGGED_IN_ONLY&&!this.ace?t=!1:"aff_inf_scope"in this.data&&("O"==this.data.aff_inf_scope&&this.ace?t=!1:"I"!=this.data.aff_inf_scope||this.ace||(t=!1))),t}isSponsor(){return this.data.spnsrd&&"Y"==this.data.spnsrd}getMinSecurityDeposit(e){var t,n=t=this.data.min_sec_dep||this.data.MIN_SECURITY_DEPOSIT||this.data.MinSecurityDeposit;return t&&""!=n?/^N\/A$/i.test(n)?"N/A":/See terms/i.test(n)||e?n:"Min Deposit of "+n:"None"}getBtFee(e,t,n){var i=null;return"BalanceTransferFee"in this.data&&(i=this.data.BalanceTransferFee),"bt_fee"in this.data&&(i=this.data.bt_fee),this.isIssuerChase()||this.isIssuerBankOfAmerica()?e?uF(i):`<span class="link details-open" role="button" data-type="balance" tabindex="0">See Details${n?"":" for Transfer Fee"}</span>`:t&&"N/A"==i?"None":uF(i)}getBtFeeDetails(){let e=null;return"BalanceTransferFee"in this.data&&(e=this.data.BalanceTransferFee),"bt_fee"in this.data&&(e=this.data.bt_fee),"N/A"==e?"None":uF(e)}getTestBullets(){let e=this.getDescriptionArray(),t=!1,n=[];"rewards"in this.data&&(t="Y"==this.data.rewards),"OffersRewards"in this.data&&(t=this.data.OffersRewards),dS(this.data.rew_dt)?n=this.data.rew_dt:"rew_dt"in this.data&&oS(this.data.rew_dt)?n=this.data.rew_dt.split("__"):"RewardsDetails"in this.data&&oS(this.data.RewardsDetails)&&(n=this.data.RewardsDetails.split("_"));var i,r=[];if(t)for(i=0;i<n.length;i++)r.push(n[i]);if(e.length>0)for(i=0;i<e.length;i++)r.push(e[i]);return r.push("<a href='"+this.getDetailsPage()+"' target='_blank' class='link'>More Details &amp; Reviews About "+this.getName(!0)+"</span></a>"),r}getRegularPurchaseApr(){let e="";return e=this.data.p_reg_apr||this.data.REGULAR_PURCHASE_APR||this.data.RegularPurchaseAPR,e}getRegulareTransferAPR(){return this.data.bt_reg_apr||this.data.REGULAR_BT_APR}isChargeCard(){return/Charge Card/i.test(this.getCardType())}hasRewards(){let e=!1;return"rewards"in this.data?e="boolean"==typeof this.data.rewards?this.data.rewards:"Y"==this.data.rewards:"OffersRewards"in this.data?e=this.data.OffersRewards:this.data.REWARDS&&(e=this.data.REWARDS),e}getNetwork(){return this.data.network}getIssuer(){return this.data.inst_name||this.data.ISSUER||this.data.CardIssuer||""}getRewards(){let e=[];return dS(this.data.rew_dt)?e=this.data.rew_dt:"rew_dt"in this.data&&oS(this.data.rew_dt)?e=this.data.rew_dt.split("__"):"RewardsDetails"in this.data&&oS(this.data.RewardsDetails)?e=this.data.RewardsDetails.split("_"):this.data.REWARD_DETAILS_BULLETS&&(e=this.data.REWARD_DETAILS_BULLETS),e}getRwardsType(){return this.data.rew_redeem}isRewardCap(){let e=!1;return"rew_cap"in this.data&&(e="Y"==this.data.rew_cap),e}hasPros(){return!!(this.data.EDITORS_PROS_SOURCE&&"SYSTEM"==this.data.EDITORS_PROS_SOURCE.toUpperCase()&&this.data.EDITORS_PROS_SYSTEM&&this.data.EDITORS_PROS_SYSTEM.length>0||this.data.editors_pros_source&&"SYSTEM"==this.data.editors_pros_source.toUpperCase()&&this.data.editors_pros_system&&this.data.editors_pros_system.length>0)||!!(this.data.EDITORS_PROS_SOURCE&&"CUSTOM"==this.data.EDITORS_PROS_SOURCE.toUpperCase()&&this.data.EDITORS_PROS&&this.data.EDITORS_PROS.length>0||this.data.editors_pros_source&&"CUSTOM"==this.data.editors_pros_source.toUpperCase()&&this.data.editors_pros&&this.data.editors_pros.length>0)}hasCons(){return!!(this.data.EDITORS_CONS_SOURCE&&"SYSTEM"==this.data.EDITORS_CONS_SOURCE.toUpperCase()&&this.data.EDITORS_CONS_SYSTEM&&this.data.EDITORS_CONS_SYSTEM.length>0||this.data.editors_cons_source&&"SYSTEM"==this.data.editors_cons_source.toUpperCase()&&this.data.editors_cons_system&&this.data.editors_cons_system.length>0)||!!(this.data.EDITORS_CONS_SOURCE&&"CUSTOM"==this.data.EDITORS_CONS_SOURCE.toUpperCase()&&this.data.EDITORS_CONS&&this.data.EDITORS_CONS.length>0||this.data.editors_cons_source&&"CUSTOM"==this.data.editors_cons_source.toUpperCase()&&this.data.editors_cons&&this.data.editors_cons.length>0)}getPros(){return this.data.EDITORS_PROS_SOURCE&&"SYSTEM"==this.data.EDITORS_PROS_SOURCE.toUpperCase()&&this.data.EDITORS_PROS_SYSTEM&&this.data.EDITORS_PROS_SYSTEM.length>0?dS(this.data.EDITORS_PROS_SYSTEM)?this.data.EDITORS_PROS_SYSTEM:this.data.EDITORS_PROS_SYSTEM.split("|"):this.data.editors_pros_source&&"SYSTEM"==this.data.editors_pros_source.toUpperCase()&&this.data.editors_pros_system&&this.data.editors_pros_system.length>0?dS(this.data.editors_pros_system)?this.data.editors_pros_system:this.data.editors_pros_system.split("|"):this.data.EDITORS_PROS_SOURCE&&"CUSTOM"==this.data.EDITORS_PROS_SOURCE.toUpperCase()&&this.data.EDITORS_PROS&&this.data.EDITORS_PROS.length>0?dS(this.data.EDITORS_PROS)?this.data.EDITORS_PROS:this.data.EDITORS_PROS.split("|"):this.data.editors_pros_source&&"CUSTOM"==this.data.editors_pros_source.toUpperCase()&&this.data.editors_pros&&this.data.editors_pros.length>0?dS(this.data.editors_pros)?this.data.editors_pros:this.data.editors_pros.split("|"):[]}getCons(){return this.data.EDITORS_CONS_SOURCE&&"SYSTEM"==this.data.EDITORS_CONS_SOURCE.toUpperCase()&&this.data.EDITORS_CONS_SYSTEM&&this.data.EDITORS_CONS_SYSTEM.length>0?dS(this.data.EDITORS_CONS_SYSTEM)?this.data.EDITORS_CONS_SYSTEM:this.data.EDITORS_CONS_SYSTEM.split("|"):this.data.editors_cons_source&&"SYSTEM"==this.data.editors_cons_source.toUpperCase()&&this.data.editors_cons_system&&this.data.editors_cons_system.length>0?dS(this.data.editors_cons_system)?this.data.editors_cons_system:this.data.editors_cons_system.split("|"):this.data.EDITORS_CONS_SOURCE&&"CUSTOM"==this.data.EDITORS_CONS_SOURCE.toUpperCase()&&this.data.EDITORS_CONS&&this.data.EDITORS_CONS.length>0?dS(this.data.EDITORS_CONS)?this.data.EDITORS_CONS:this.data.EDITORS_CONS.split("|"):this.data.editors_cons_source&&"CUSTOM"==this.data.editors_cons_source.toUpperCase()&&this.data.editors_cons&&this.data.editors_cons.length>0?dS(this.data.editors_cons)?this.data.editors_cons:this.data.editors_cons.split("|"):[]}americanExpressWithMonitoringUrl(){return!("American Express"!=this.getIssuer()||!this.data.MONITORING_URL&&!this.data.mon_url)}HSBCWithMonitoringUrl(){var e=this.getIssuer()||"";return!("HSBC"!=e&&0!==e.indexOf("Discover")&&"Barclays"!=e&&"Wells Fargo"!=e&&"U.S. Bank"!=e&&"Marcus by Goldman Sachs"!=e||!this.data.MONITORING_URL&&!this.data.mon_url)}isCapitalOne(){const e=this.getIssuer()||"";return/Capital One/i.test(e)}hasRates(){return this._has_rates}hasTerms(){return this._show_terms_apply}isIssuerChase(){return/Chase/i.test(this.getIssuer())}isIssuerAmEx(){return"American Express"==this.getIssuer()}isIssuerBankOfAmerica(){return"Bank of America"==this.getIssuer()}isLinkedRewardsRate(){return this.rew_earn_rt_linked||this.data.REWARDS_EARN_RATE_HYPERLINKED}getApprovalOdds(e){var t;if(this.hasApprovalOdds()||e)if(this.data.ApprovalOdds){var n=this.data.ApprovalOdds?this.data.ApprovalOdds.toString().toLowerCase():"",i="ultra-appr";"very good"==n?i="high-appr":"good"==n?i="med-appr":"fair"==n?i="low-appr":"excellent"!==n&&"pre-selected"!==n&&"pre-approved"!==n&&"outstanding"!==n&&(i="limited-appr"),t={text:this.data.ApprovalOdds,cls:i}}else t=this.getApprovalOddsByVantageScore(e);else t={text:"N/A",cls:""};return t}hasApprovalOdds(){return"ApprovalOdds"in this.data&&void 0!==this.data.ApprovalOdds&&null!==this.data.ApprovalOdds&&!this.isIssuerAmEx()}hasInitialBonusTooltip(){return this.data.REWARDS_INITIAL_BONUS_TOOLTIP&&""!=this.data.REWARDS_INITIAL_BONUS_TOOLTIP.trim()||this.data.rew_init_bns_tooltip&&""!=this.data.rew_init_bns_tooltip.trim()}getInitialBonusTooltip(){return this.data.REWARDS_INITIAL_BONUS_TOOLTIP||this.data.rew_init_bns_tooltip?(this.data.REWARDS_INITIAL_BONUS_TOOLTIP||this.data.rew_init_bns_tooltip).trim():""}hasRewardsRateTooltip(){return this.data.REWARDS_RATE_TOOLTIP&&this.data.REWARDS_RATE_TOOLTIP.length||this.data.rew_rate_tooltip&&this.data.rew_rate_tooltip.length}getRewardsRateTooltip(){let e="",t=this.data.REWARDS_RATE_TOOLTIP||this.data.rew_rate_tooltip;if(t&&oS(t)){let e=t;e.lastIndexOf("__")==e.length-2&&(e=e.substring(0,e.length-2)),t=e.split("__")}return t&&dS(t)&&t.length&&(e+="<ul class='rewards-tip-list'>",hS(t,t=>{e+="<li>",e+=t,e+="</li>"}),e+="</ul>"),e}getWhRatings(){return this.data.wh_ratings&&fS(this.data.wh_ratings)?this.data.wh_ratings:null}getMaxWhRating(){return this.data.max_wh_rating||this.data.MAX_WH_RATING||null}getEditorRating(){return this.data.editors_rating||this.data.EDITORS_RATING||null}getUserReview(){return!this.data.wh_user_reviews||this.getVotes()<10?null:this.data.wh_user_reviews||null}getCustomRating(){return this.data.custom_rating||this.data.CUSTOM_RATING||null}getApprovalOddsByVantageScore(e){var t=sS(this.getMinCreditRequired().split("Credit")[0]),n={};if("Limited History"==t&&(t="Limited"),!t)return{text:"N/A",cls:""};if(e>=795?n={Excellent:"Excellent",Good:"Excellent",Fair:"Excellent",Limited:"Excellent",Bad:"Excellent"}:e>=765&&e<795?n={Excellent:"Very Good",Good:"Excellent",Fair:"Excellent",Limited:"Excellent",Bad:"Excellent"}:e>=750&&e<765?n={Excellent:"Good",Good:"Very Good",Fair:"Excellent",Limited:"Excellent",Bad:"Excellent"}:e>=735&&e<750?n={Excellent:"Poor",Good:"Very Good",Fair:"Very Good",Limited:"Very Good",Bad:"Very Good"}:e>=720&&e<735?n={Excellent:"Low",Good:"Very Good",Fair:"Excellent",Limited:"Excellent",Bad:"Excellent"}:e>=700&&e<720?n={Excellent:"Low",Good:"Good",Fair:"Excellent",Limited:"Excellent",Bad:"Excellent"}:e>=685&&e<700?n={Excellent:"Low",Good:"Low",Fair:"Very Good",Limited:"Very Good",Bad:"Excellent"}:e>=665&&e<685?n={Excellent:"Low",Good:"Low",Fair:"Good",Limited:"Good",Bad:"Excellent"}:e>=640&&e<665?n={Excellent:"Low",Good:"Low",Fair:"Fair",Limited:"Fair",Bad:"Very Good"}:e>=620&&e<640?n={Excellent:"Low",Good:"Low",Fair:"Low",Limited:"Low",Bad:"Very Good"}:e>=570&&e<620?n={Excellent:"Low",Good:"Low",Fair:"Low",Limited:"Low",Bad:"Good"}:e>=300&&e<570?n={Excellent:"Low",Good:"Low",Fair:"Low",Limited:"Low",Bad:"Fair"}:4!=e&&e||(n={Excellent:"Low",Good:"Low",Fair:"Low",Limited:"Good",Bad:"Very Good"}),t in n){let e=n[t],i=e?e.toString().toLowerCase():"",r="ultra-appr";return"very good"==i?r="high-appr":"good"==i?r="med-appr":"fair"==i?r="low-appr":"excellent"!==i&&(r="limited-appr"),{text:e,cls:r}}return{text:"N/A",cls:""}}}function uF(e){return e||"None"}function dF(e,t){if(1&e&&(Fm(0,"p"),Wb(1),Hm()),2&e){const e=sb(2);Zu(),Yb(" You can apply for the ",e.short_name," no matter what your credit standing is. ")}}function hF(e,t){if(1&e&&(Fm(0,"p"),Wb(1),Hm()),2&e){const e=sb(2);Zu(),Qb(" We recommend applying for the ",e.short_name," if you have ",e.minCredText,". ")}}function pF(e,t){if(1&e&&(Fm(0,"p"),Wb(1),Hm()),2&e){const e=sb(2);Zu(),Qb(" We recommend applying for the ",e.short_name," if you have ",e.minCredText,". ")}}function fF(e,t){if(1&e&&(qm(0),Fm(1,"strong"),Wb(2),Hm(),Hf(3,dF,2,1,"p",0)(4,hF,2,2,"p",0)(5,pF,2,2,"p",0),Um()),2&e){const e=sb();Zu(2),Yb("",e.short_name," Minimum Credit Score"),Zu(),V_("ngIf",5===e.minCredLen),Zu(),V_("ngIf",1!==e.minCredLen&&e.minCredLen<5),Zu(),V_("ngIf",1===e.minCredLen)}}function gF(e,t){if(1&e&&(Fm(0,"div",2),Bm(1,"div",8)(2,"div",9),Hm()),2&e){const e=t.$implicit;Zu(),V_("innerHTML",e.type+" Credit",au),Zu(),V_("innerHTML",e.score,au)}}function _F(e,t){1&e&&(qm(0),Fm(1,"strong"),Wb(2,"Get Your Free Credit Score"),Hm(),Fm(3,"p"),Wb(4,"Join WalletHub and get your credit score. It's 100% free."),Hm(),Um())}function mF(e,t){1&e&&Bm(0,"br")}function vF(e,t){1&e&&(Fm(0,"a",10),Wb(1,"Get your free credit score now"),Hm()),2&e&&V_("zing-url",!0)}function bF(e,t){if(1&e&&Bm(0,"div",1),2&e){V_("cleanHTML",sb().data.tip_content)}}let yF=[{score:{min:750,max:850},name:"Excellent"},{score:{min:700,max:749},name:"Good"},{score:{min:640,max:699},name:"Fair"},{score:{min:300,max:639},name:"Bad"}];class wF{transform(e){if(!e)return!1;const t=e.trim().split(/\s+/);return"card"===t[t.length-1].toLowerCase()}}wF.ɵfac=function(e){return new(e||wF)},wF.ɵpipe=uf({name:"isCard",type:wF,pure:!0,standalone:!1});class EF{constructor(){this.table=[],this.compact=!0,this.is_native=!1,this.showtop=!1}ngOnInit(){if(hS(yF,e=>{this.table.push({type:e.name,score:e.score.min.toString()+" &ndash; "+e.score.max.toString()})}),this.compact=this.data&&this.data.compact,this.showtop=this.data&&this.data.showtop,this.data&&this.data.card&&fS(this.data.card)&&Object.keys(this.data.card).length>0){const e=new cF(this.data.card);this.short_name=e.short_name,this.name=e.getName(),this.min_credit_score=e.getMinimumCreditScore(),this.min_credit_required_editorial=e.getMinCredRaw()}this.is_native=eS()}get minCredLen(){return this.min_credit_required_editorial.split(",").length}get minCredText(){let e="";if(!this.min_credit_required_editorial)return e;const t=["excellent","good","fair","limited","bad"],n=this.min_credit_required_editorial.split(",").map(e=>e.trim()).filter(Boolean).sort((e,n)=>t.indexOf(e)-t.indexOf(n)),i=n.map((e,t)=>"limited"===e.toLowerCase()?t===n.length-1?"no credit or limited credit history":"no credit, limited credit history":`${e.toLowerCase()} credit`);if(1===i.length)return i[0];const r=i.pop();return"no credit or limited credit history"===r?(e=i.join(", "),e+=`, ${r}`):(e=i.join(", "),e+=`, or ${r}`),e}}EF.ɵfac=function(e){return new(e||EF)},EF.ɵcmp=nf({type:EF,selectors:[["min-cred"]],hostAttrs:["ngSkipHydration","true"],standalone:!1,decls:17,vars:5,consts:[[4,"ngIf"],[1,"table-container"],[1,"row"],[1,"white"],[1,"grey"],["class","row",4,"ngFor","ngForOf"],["zing-touch","","href","/join","target","_blank","class","btn blue no-decoration",3,"zing-url",4,"ngIf"],[1,"mincred-footer"],[1,"grey",3,"innerHTML"],[1,"white",3,"innerHTML"],["zing-touch","","href","/join","target","_blank",1,"btn","blue","no-decoration",3,"zing-url"]],template:function(e,t){1&e&&(Hf(0,fF,6,4,"ng-container",0),Fm(1,"div",1)(2,"div",2),Bm(3,"div",3),Fm(4,"div",4),Wb(5,"Credit Score"),Hm()(),Hf(6,gF,3,2,"div",5),Fm(7,"div",2)(8,"div",4),Wb(9,"Limited History"),Hm(),Fm(10,"div",3),Wb(11,"Less than 3 years of credit history"),Hm()()(),Hf(12,_F,5,0,"ng-container",0)(13,mF,1,0,"br",0)(14,vF,2,1,"a",6),Fm(15,"p",7),Wb(16," The credit score shown on WalletHub is based on your TransUnion credit report as well as the VantageScore 3.0 model, and it may differ from what your lender or insurer uses. WalletHub’s assessment of what constitutes limited, bad, fair, good, and excellent credit may also differ from your lender’s assessment. In addition to your credit score, lenders may consider other factors, such as your income and your debt.\n"),Hm()),2&e&&(V_("ngIf",t.showtop),Zu(6),V_("ngForOf",t.table),Zu(6),V_("ngIf",!t.compact),Zu(),V_("ngIf",t.compact),Zu(),V_("ngIf",!t.is_native))},dependencies:[OS,HC,zC],encapsulation:2,changeDetection:0});class TF{constructor(){this.private_info_url=xL()+"/home/settings/private-info"}}TF.ɵfac=function(e){return new(e||TF)},TF.ɵcmp=nf({type:TF,selectors:[["approval-odds"]],standalone:!1,decls:9,vars:2,consts:[[1,"bold-font"],[1,"symbol-odds"],["zing-touch","","target","_blank",1,"link",3,"zing-url","href"]],template:function(e,t){1&e&&(Fm(0,"p")(1,"span",0)(2,"span",1),Wb(3,"†"),Hm(),Wb(4,"Approval Odds"),Hm(),Wb(5," are WalletHub estimates intended to gauge your likelihood of approval for a particular product. Approval Odds are based on WalletHub data and are not provided or endorsed by the lender. Approval Odds are not meant to imply or guarantee that you will be approved by the lender or that credit will be extended. WalletHub may share your information with third-parties in order to show personalized offers, as well as enable you to interact more easily with pre-fill forms or applications. You can opt-out of sharing your personal info "),Fm(6,"a",2),Wb(7,"click here"),Hm(),Wb(8,". "),Hm()),2&e&&(Zu(6),V_("zing-url",!0)("href",t.private_info_url,cu))},dependencies:[OS],encapsulation:2});class CF{}CF.ɵfac=function(e){return new(e||CF)},CF.ɵcmp=nf({type:CF,selectors:[["bonus-offer-tip"]],hostAttrs:["ngSkipHydration","true"],standalone:!1,decls:1,vars:1,consts:[[3,"cleanHTML",4,"ngIf"],[3,"cleanHTML"]],template:function(e,t){1&e&&Hf(0,bF,1,1,"div",0),2&e&&V_("ngIf",t.data.tip_content)},dependencies:[cL,zC],encapsulation:2});class IF{}IF.ɵfac=function(e){return new(e||IF)},IF.ɵmod=of({type:IF}),IF.ɵinj=Hn({imports:[wL,yI]});const SF=["popup"];function AF(e,t){}function RF(e,t){if(1&e){const e=Wm();Fm(0,"div",7),nb("onClick",function(){Ds(e);return ks(sb(2).CloseThisPopup())}),Hm()}2&e&&V_("zing-no-touch",!0)}function xF(e,t){if(1&e){const e=Wm();Fm(0,"div",3,0),nb("onTapDoc",function(){Ds(e);return ks(sb().DocCloseThisPopup())}),Fm(2,"div",4)(3,"span",5),Wb(4),Hm(),Hf(5,AF,0,0,"ng-template",null,1,Yy)(7,RF,1,1,"div",6),Hm()()}if(2&e){const e=sb();G_("opened",e.opened)("ng-mpp-prestine",!e.opened_once),V_("ngClass",e.classes)("zing-no-touch",!0),Zu(3),a_("id",e.dialog_title_id),Zu(),Gb(e.dialog_title),Zu(3),V_("ngIf",e.opened)}}class DF extends VP{get _passiveevent(){let e;return e=!!SS()&&{passive:!0},e}constructor(e,t,n,i,r){super(e,i,r),this._cd=n,this.render=r,this.classes=[],this.fixed_parent=!0,this.dialog_title="",this.opened=!1,this.enabled_doc=!1,this.opened_once=!1,this.isPreRendered=!1,this.pre_rendered_doc=!1,this.element=t}Open(e,t,n){if(this.opened_once=!0,this.opened)return this.DocCloseThisPopup(),this._cd.detectChanges(),this;if(this._setParentScroller(),this._destroyActiveComponent(),!this.fixed_parent){let e=this.popupbox.nativeElement;"innerWidth"in this._mainscroller||this._mainscroller===e.parentNode||this.render.appendChild(this._mainscroller,e)}this._activeComponent=this.container.createComponent(e);const i=this._activeComponent.instance;i.data=t,i.closeDialog=this.CloseThisPopup;let r=()=>{this.opened=!0,this._cd.detectChanges()};return this.fixed_parent?r():setTimeout(()=>r(),0),setTimeout(()=>{this.enabled_doc=!0,this._cd.markForCheck()},500),this._mainscroller&&this._zone.runOutsideAngular(()=>{this._resizeWatch(),window.addEventListener("resize",this._resizeWatch,this._passiveevent)}),n&&("withclose"in n&&(this.hasclose=n.withclose),n.return_focus_to&&(this.return_focus_to=n.return_focus_to)),this}PreRenderToolTip(e,t){if(this._setParentScroller(),this.isPreRendered=!0,!this.fixed_parent){let e=this.popupbox.nativeElement;"innerWidth"in this._mainscroller||this._mainscroller===e.parentNode||this.render.appendChild(this._mainscroller,e)}this._activeComponent=this.container.createComponent(e);this._activeComponent.instance.data=t,this._activeComponent.hostView.detectChanges()}TogglePreRendered(e){if(e)return this.opened=!1,this.pre_rendered_doc=!1,void this._cd.detectChanges();if(this.opened)this.opened=!1,this.pre_rendered_doc=!1,this._cd.detectChanges();else{let e=()=>{this.opened=!0,this._cd.detectChanges(),setTimeout(()=>{this.pre_rendered_doc=!0,this._cd.detectChanges()},500)};this.fixed_parent?e():setTimeout(()=>e(),0)}}UpdateData(e){super.UpdateData(e),this._cd.detectChanges()}CloseThisPopup(e,t){if(this.opened)if(this.isPreRendered)this.TogglePreRendered(!0);else if(this.enabled_doc){if(this.return_focus_to){const e=this.return_focus_to;e.focus(),setTimeout(()=>{e.blur(),setTimeout(()=>{e.focus()})})}this._zone.run(()=>{this.Close(e,!0),this.enabled_doc=!1,this.fixed_parent||setTimeout(()=>{if(this.popupbox&&this.popupbox.nativeElement&&this.element&&this.element.nativeElement){let e=this.popupbox.nativeElement;this.element.nativeElement.appendChild(e)}this._destroyActiveComponent()},300)})}}DocCloseThisPopup(){this.isPreRendered&&this.pre_rendered_doc&&this.TogglePreRendered(!0),this.enabled_doc&&!this.isPreRendered&&this.CloseThisPopup()}_resizeWatch(){let e=this.popupbox.nativeElement;if(e.style.marginLeft="",e.style.marginTop="",e.style.width="",!this.fixed_parent){let t=0,n=0,i=this.element.nativeElement;for(;i&&i!==this._mainscroller;)t+=i.offsetLeft,n+=i.offsetTop,i=i.offsetParent;e.style.left=t+10+"px",e.style.top=n+10+"px"}let t=this.fixed_parent?e.getBoundingClientRect():{left:e.offsetLeft,right:e.offsetLeft+e.offsetWidth,bottom:e.offsetTop+e.offsetHeight},n="innerWidth"in this._mainscroller,i=n?0:this._mainscroller.getBoundingClientRect().left,r=n?this._mainscroller.innerWidth:this._mainscroller.clientWidth,s=n?this._mainscroller.innerHeight:this._mainscroller[this.fixed_parent?"clientHeight":"scrollHeight"],o=0,a=0;t.right>r&&(o=Math.min(0,r-t.right),e.style.marginLeft=o+"px"),t.bottom>s&&!this.fixed_parent&&(a=Math.min(0,s-t.bottom),e.style.marginTop=a+"px");let l=this.fixed_parent?e.getBoundingClientRect():{left:e.offsetLeft,right:e.offsetLeft+e.offsetWidth,bottom:e.offsetTop+e.offsetHeight,width:e.offsetWidth};if(l.left<i){let t=Math.abs(i-l.left);e.style.width=l.width-t+"px",o&&(o+=t,e.style.marginLeft=o+"px")}}_setParentScroller(){this.scroller?this._mainscroller=document.querySelector(this.scroller):this._mainscroller=this._dservice.element||window}ngAfterViewInit(){this.CloseThisPopup=this.CloseThisPopup.bind(this),this._resizeWatch=this._resizeWatch.bind(this),tS()||this._setParentScroller()}_destroyActiveComponent(){super._destroyActiveComponent(),tS()||window.removeEventListener("resize",this._resizeWatch)}}DF.ɵfac=function(e){return new(e||DF)(ep(ka),ep(Ua),ep(Xw),ep(VS),ep(qh))},DF.ɵcmp=nf({type:DF,selectors:[["modal-popup"]],viewQuery:function(e,t){if(1&e&&yb(SF,5),2&e){let e;wb(e=Eb())&&(t.popupbox=e.first)}},hostAttrs:["ngSkipHydration","true"],hostVars:4,hostBindings:function(e,t){2&e&&G_("fixed-parent",t.fixed_parent)("modal-popup-opened",t.opened)},inputs:{classes:"classes",scroller:[0,"popupscroller","scroller"],fixed_parent:[0,"popup-relative","fixed_parent"],dialog_title:[0,"popup-title","dialog_title"]},standalone:!1,features:[gf],decls:1,vars:1,consts:[["popup",""],["content",""],["class","ng-modal-pop-up","zing-touch","","role","dialog",3,"ngClass","opened","ng-mpp-prestine","zing-no-touch","onTapDoc",4,"ngIf"],["zing-touch","","role","dialog",1,"ng-modal-pop-up",3,"onTapDoc","ngClass","zing-no-touch"],[1,"ng-modal-container"],["hidden","true"],["class","close-btn af-icon-cross-slim","zing-touch","","aria-label","Close Popup","role","button","tabindex","0",3,"zing-no-touch","onClick",4,"ngIf"],["zing-touch","","aria-label","Close Popup","role","button","tabindex","0",1,"close-btn","af-icon-cross-slim",3,"onClick","zing-no-touch"]],template:function(e,t){1&e&&Hf(0,xF,8,9,"div",2),2&e&&V_("ngIf",!t.is_node)},dependencies:[LC,zC,OS],encapsulation:2,changeDetection:0});class kF{}kF.ɵfac=function(e){return new(e||kF)},kF.ɵmod=of({type:kF}),kF.ɵinj=Hn({imports:[yI,wL]});const OF=["AdPixelViewTrigger"],NF=["AdPixelViewReferrer"],LF=["AdPixelViewClick"];class MF{constructor(e){this._dservice=e,this._scrolling=!1,this._obs=[]}AttachEvents(){var e;(this.onScrollEnd=new Ne(null),this.onResize=new ke,tS())||(this._subs=this._dservice.onScroll.subscribe(e=>{this._scrolling&&clearTimeout(this._scrolltimer),this._scrolling=!0,this._scrolltimer=setTimeout(()=>{this._scrolling=!1,this.onScrollEnd.next(e)},500)}),this._resize=new ke,this._obs.push(_t(window,"resize")),this._resizesubs=this._obs[this._obs.length-1].pipe((e=this._resize,Ae(function(t,n){et(e).subscribe(Re(n,function(){return n.complete()},_e)),!n.closed&&t.subscribe(n)}))).subscribe(()=>{this.onResize.next(null)}))}DetachEvents(){this._subs&&(this._subs.unsubscribe(),this._subs=null),this._resizesubs&&(this._resizesubs.unsubscribe(),this._resizesubs=null),this._resize&&(this._resize.next(null),this._resize.complete(),this._resize=null),this.onScrollEnd&&(this.onScrollEnd.complete(),this.onScrollEnd=null),this.onResize&&(this.onResize.complete(),this.onResize=null),this._obs=null}}MF.ɵfac=function(e){return new(e||MF)(mi(VS))},MF.ɵprov=Fn({token:MF,factory:MF.ɵfac});class PF{set ad_view_trigger(e){this._ad_view_trigger=e,e&&setTimeout(()=>{this._CheckElements("all"),this._cd.detectChanges()})}get ad_view_trigger(){return this._ad_view_trigger}set adId(e){e!=this._adId&&this._ng_init&&setTimeout(()=>{this._ResetnCheck(),this._cd.detectChanges()}),this._adId=e}get adId(){return this._adId}set recheck(e){e&&this._ng_init&&this._ResetnCheck(),this._recheck=e}get recheck(){return this._recheck}get _adlocation(){let e=this._loc.path().replace("/ng-home/","/");return e=e.split("?")[0],e}constructor(e,t,n,i,r,s){this.mainElement=e,this._dservice=t,this._renderer=n,this._srv=i,this._loc=r,this._cd=s,this.ad_disabled=!1,this._ad_view_trigger=!0,this.triggerRatio=.15,this.debug=!1,this.referrerUrl="",this.clickUrl="",this.section="",this.position=0,this.totals=0,this.without_adview_version=!1,this.ignore_default_queries=!1,this.ad_use_parent_el=!1,this.pixel_on_click=!1,this.uniqueClickId=!1,this.viewId="",this.is_viewed=!1,this.clickId="",this.sbs=new ce,this.obs=[],this.is_intersecting=!1,this.is_main_intersct=!1,this.adViewed=new Ca,this.adClick=new Ca,this.adSet=new Ca,this._ng_init=!1,this._CheckForIntersection=e=>{if(!this.is_viewed)for(let t=0,n=e.length;t<n;t++){let n=e[t];if(ES(n.isIntersecting)&&this._isInViewport(n,!0)){this.is_intersecting=!0;break}if(n.isIntersecting){this.is_intersecting=!0;break}this.is_intersecting=!1}},this.use_IntersectionObserver=!(tS()||!window.IntersectionObserver),this.debug&&console.log("use_IntersectionObserver is : ",this.use_IntersectionObserver)}ngOnInit(){this._ng_init=!0,this.ad_disabled||(this.viewId=CS(),this.clickId=CS(),tS()||(this.viewport=this._getViewportSize()),this.adSet.emit({viewid:this.viewId,clickid:this.clickId}))}ngAfterViewInit(){if(this._PixelReferrer(),this._PixelAddClickId(),tS())return;this.clicksList&&!this.ad_disabled&&this.clicksList.forEach(e=>{const t=_t(e.nativeElement,"click");this.obs.push(t),this.sbs.add(t.subscribe(t=>{this._PixelClicked(e),this.adClick.emit({view:this.viewId,click:this.clickId})}))}),this.referrersList&&!this.ad_disabled&&this.referrersList.forEach(e=>{const t=_t(e.nativeElement,"click");this.obs.push(t),this.sbs.add(t.subscribe(e=>{this.is_viewed||this._PixelTrigger()}))});let e=(this.use_IntersectionObserver?this._RegisterIntersectElements:this._CheckElements).bind(this);if(this.clicksList&&this.sbs.add(this.clicksList.changes.subscribe(t=>{this.ad_disabled||e(this.clicksList),this._PixelAddClickId()})),!this.ad_disabled&&this.triggersList&&this.sbs.add(this.triggersList.changes.subscribe(t=>{e(this.triggersList)})),this.referrersList&&this.sbs.add(this.referrersList.changes.subscribe(t=>{this._PixelReferrer(),this.ad_disabled||e(this.referrersList)})),this.ad_disabled)return;const t=this._srv.onScrollEnd,n=this._srv.onResize;this.use_IntersectionObserver?(this._intersectionObserver=new IntersectionObserver(e=>{this._CheckForIntersection(e)},{threshold:this.triggerRatio}),this._RegisterIntersectElements("all"),this.sbs.add(t.subscribe(e=>{this.is_intersecting&&this._PixelTrigger()}))):this.sbs.add(t.subscribe(e=>{this._CheckElements("all")})),this.sbs.add(n.subscribe(e=>{this.viewport=this._getViewportSize(),this.debug&&console.log("new viewport size : ",this.viewport),this.use_IntersectionObserver||this._CheckElements("all")})),setTimeout(()=>{this._CheckElements("all")})}_RegisterIntersectElements(e){let t=!0,n=e=>{this._intersectionObserver?("function"==typeof this._intersectionObserver.unobserve&&this._intersectionObserver.unobserve(e.nativeElement),this._intersectionObserver.observe(e.nativeElement),t=!1):console.error("IntersectionObserver is not initialized.")};if("all"==e?(this.triggersList&&this.triggersList.forEach(n),this.referrersList&&this.referrersList.forEach(n),this.clicksList&&this.clicksList.forEach(n)):e.forEach(n),this.is_main_intersct=t,t){let e=this.mainElement.nativeElement,t=this.ad_use_parent_el?e.parentNode:e;this._intersectionObserver.observe(t)}}_CheckElements(e){if(this.is_viewed)return;let t=!0,n=e=>{t=!1,this._isInViewport(e)&&this._PixelTrigger()};if("all"==e?(this.triggersList&&this.triggersList.forEach(e=>{n(e)}),this.referrersList&&this.referrersList.forEach(e=>{n(e)}),this.clicksList&&this.clicksList.forEach(e=>{n(e)})):e&&e.forEach(e=>{n(e)}),this.is_main_intersct=t,t){let e=this.mainElement.nativeElement,t=this.ad_use_parent_el?{nativeElement:e.parentNode}:this.mainElement;n(t)}}_isInViewport(e,t){if(!this.viewport)return!1;var n=t?e.boundingClientRect:e.nativeElement.getBoundingClientRect(),i=n.height||n.bottom-n.top,r=n.width||n.right-n.left;return!(!i||!r)&&!(n.top+n.height*(this.is_main_intersct?this.triggerRatio:1)>this.viewport.h||n.bottom<0)}_getViewportSize(){var e=window;if(null!=e.innerWidth)return{w:e.innerWidth,h:e.innerHeight};var t=e.document;return{w:t.body.clientWidth,h:t.body.clientWidth}}_ResetnCheck(){tS()||(this.is_viewed=!1,this.viewId=CS(),this.clickId=CS(),this._PixelReferrer(),this._PixelAddClickId(),this._CheckElements("all"))}_PixelTrigger(){this.ad_view_trigger&&(this.is_viewed||(this.is_viewed=!0,this.adViewed.emit({view:this.viewId,click:this.clickId}),this._httpCall()))}_PixelClicked(e,t=!1){this.is_viewed||this._PixelTrigger(),(this.pixel_on_click||t)&&this._httpCall({adview_click:this.clickId}),IS(()=>{this._PixelAddClickId()})}TriggerClickPixel(e){if(this._PixelClicked(null,!0),this.clickUrl){let t=this.clickUrl+(this.clickUrl.indexOf("?")>-1?"&":"?")+`clickId=${this.clickId}&viewId=${this.viewId}`;e&&(t+=gS(e)),window.open(t,""+(this.same_tab?"_self":"_blank"))}}TriggerViewPixel(){this._PixelTrigger()}_PixelAddClickId(){this.clicksList&&this.clicksList.forEach(e=>{const t=this.clickUrl;if(tS())return void this._renderer.setAttribute(e.nativeElement,"href",t);const n=this.clickId;this.uniqueClickId&&(this.clickId=CS());let i=t+(t.indexOf("?")>-1?"&":"?")+`clickId=${n}&viewId=${this.viewId}`;this.ad_disabled&&(i=t);const r=e.nativeElement;r.dataset&&r.dataset.clickparams&&(i.indexOf("?")>-1?i+="&":i+="?",i+=r.dataset.clickparams),this._renderer.setAttribute(e.nativeElement,"href",i)})}_PixelReferrer(){this.referrersList&&this.referrersList.forEach(e=>{const t=this.referrerUrl;let n=t;tS()||this.ad_disabled||(n+=(t.indexOf("?")>-1?"&":"?")+`viewReferrer=${this.viewId}`),this._renderer.setAttribute(e.nativeElement,"href",n)})}_httpCall(e={}){let t={adview_id:this.viewId,adview_pid:this.adId,adview_page:this._adlocation,adview_version:2,adview_section:this.section,adview_position:this.position||0,adview_totals:this.totals||0};this.without_adview_version&&delete t.adview_version,this.ignore_default_queries&&this.addlQueries&&(t={});let n=Object.assign(t,this.addlQueries,e),i=xL()+"/pixel.png";n.adview_section||delete n.adview_section,n.adview_pid||delete n.adview_pid,(0==n.adview_totals&&0==n.adview_position||-1==n.adview_totals&&-1==n.adview_position)&&(delete n.adview_position,delete n.adview_totals),Object.keys(n).forEach(e=>{null!==n[e]&&void 0!==n[e]||delete n[e]}),cM({method:"GET",data:n,events:!1,url:i,expectedType:"text",retry:1}).catch(e=>{}),this.debug&&console.log(this.adId," AdPixelView fired.")}ngOnDestroy(){this.sbs.unsubscribe(),this._intersectionObserver&&(this._intersectionObserver.disconnect(),this._intersectionObserver=null),this.obs=[]}}PF.ɵfac=function(e){return new(e||PF)(ep(Ua),ep(VS),ep(qh),ep(MF),ep(JE),ep(Xw))},PF.ɵdir=cf({type:PF,selectors:[["","ad-pixel",""]],contentQueries:function(e,t,n){if(1&e&&(bb(n,OF,5,Ua),bb(n,NF,5,Ua),bb(n,LF,5,Ua)),2&e){let e;wb(e=Eb())&&(t.triggersList=e),wb(e=Eb())&&(t.referrersList=e),wb(e=Eb())&&(t.clicksList=e)}},inputs:{ad_disabled:[0,"ad-disabled","ad_disabled"],ad_view_trigger:[0,"ad-view-trigger","ad_view_trigger"],addlQueries:[0,"addl-queries","addlQueries"],triggerRatio:[0,"trigger-ratio","triggerRatio"],debug:"debug",referrerUrl:[0,"referrer-url","referrerUrl"],clickUrl:[0,"click-url","clickUrl"],section:[0,"adview-section","section"],position:[0,"adview-position","position"],totals:[0,"adview-totals","totals"],same_tab:[0,"same-tab","same_tab"],without_adview_version:[0,"without-adview-version","without_adview_version"],ignore_default_queries:[0,"ignore-default-queries","ignore_default_queries"],adId:[0,"ad-id","adId"],ad_use_parent_el:[0,"ad-use-parent","ad_use_parent_el"],pixel_on_click:[0,"ad-pixel-click","pixel_on_click"],uniqueClickId:[0,"unique-click-id","uniqueClickId"],recheck:[0,"ad-pixel-recheck","recheck"]},outputs:{adViewed:"adViewed",adClick:"adClick",adSet:"adSet"},standalone:!1});class FF{constructor(e){this._srv=e,this._srv.AttachEvents()}ngOnDestroy(){this._srv.DetachEvents()}}FF.ɵfac=function(e){return new(e||FF)(mi(MF))},FF.ɵmod=of({type:FF}),FF.ɵinj=Hn({providers:[MF],imports:[yI,wL]});const HF=e=>({fill:e}),BF=e=>({stroke:e,fill:"none"});function zF(e,t){if(1&e&&(co(),Fm(0,"g"),Bm(1,"path",7),Hm()),2&e){const e=sb(2);Zu(),V_("ng-svg-attr",Sy(1,HF,e.svg_secl))}}function qF(e,t){if(1&e&&(co(),Fm(0,"g"),Bm(1,"path",8)(2,"path",9),Hm()),2&e){const e=sb(2);Zu(),V_("ng-svg-attr",Sy(2,HF,e.svg_sfcl)),Zu(),V_("ng-svg-attr",Sy(4,BF,e.svg_sfcl))}}function UF(e,t){if(1&e&&(co(),Fm(0,"g"),Bm(1,"path",10)(2,"path",11),Hm()),2&e){const e=sb(2);Zu(),V_("ng-svg-attr",Sy(2,HF,e.svg_sfcl)),Zu(),V_("ng-svg-attr",Sy(4,HF,e.svg_secl))}}function jF(e,t){if(1&e&&(co(),Fm(0,"g"),Bm(1,"path",12)(2,"path",13),Hm()),2&e){const e=sb(2);Zu(),V_("ng-svg-attr",Sy(2,HF,e.svg_sfcl)),Zu(),V_("ng-svg-attr",Sy(4,HF,e.svg_secl))}}function VF(e,t){if(1&e&&(co(),Fm(0,"g"),Bm(1,"path",14)(2,"path",15),Hm()),2&e){const e=sb(2);Zu(),V_("ng-svg-attr",Sy(2,HF,e.svg_sfcl)),Zu(),V_("ng-svg-attr",Sy(4,HF,e.svg_secl))}}function WF(e,t){if(1&e&&(co(),Fm(0,"g"),Bm(1,"path",16),Hm()),2&e){const e=sb(2);Zu(),V_("ng-svg-attr",Sy(1,HF,e.svg_sfcl))}}function $F(e,t){if(1&e&&(co(),Fm(0,"g"),Bm(1,"path",17),Hm()),2&e){const e=sb(2);Zu(),V_("ng-svg-attr",Sy(1,HF,e.svg_sfcl))}}function GF(e,t){if(1&e){const e=Wm();co(),Fm(0,"svg",6),nb("onTapHover",function(t){const n=Ds(e).index;return ks(sb().StartRating(t,n,"add"))})("onTapHoverOutside",function(t){const n=Ds(e).index;return ks(sb().StartRating(t,n,"remove"))}),Hf(1,zF,2,3,"g",2)(2,qF,3,6,"g",2)(3,UF,3,6,"g",2)(4,jF,3,6,"g",2)(5,VF,3,6,"g",2)(6,WF,2,3,"g",2)(7,$F,2,3,"g",2),Hm()}if(2&e){const e=t.$implicit,n=sb();G_("cursor-default",!n.showhover),V_("tabindex",n.showhover?0:-1),a_("aria-hidden",!n.showhover)("width",n.svg_sdim.width)("height",n.svg_sdim.height),Zu(),V_("ngIf","rv-star-empty-fill"==e),Zu(),V_("ngIf","rv-star-full-fill"==e),Zu(),V_("ngIf","rv-star-half-fill"==e),Zu(),V_("ngIf","rv-star-quarter-fill"==e),Zu(),V_("ngIf","rv-star-three-quarter-fill"==e),Zu(),V_("ngIf","rv-star-empty-clear"==e),Zu(),V_("ngIf","rv-star-half-clear"==e)}}function YF(e,t){if(1&e&&(Fm(0,"a",20)(1,"span",1),Wb(2),qy(3,"moneyformat"),Hm(),Fm(4,"span",21),Wb(5),qy(6,"moneyformat"),Hm(),Fm(7,"span",22),Wb(8),Hm()()),2&e){const e=sb(2);V_("zing-url",!0)("href",e.url,cu),Zu(2),Gb(Uy(3,7,e.reviews)+" "+e.review_label+(1!=e.reviews?"s":"")),Zu(3),Gb(Uy(6,9,e.reviews)),Zu(3),Zb(" ",e.show_user_text?"User":""," ",e.review_label,"",1!=e.reviews?"s":"","")}}function QF(e,t){if(1&e&&(Fm(0,"span",23)(1,"span",1),Wb(2),qy(3,"moneyformat"),Hm(),Fm(4,"span",21),Wb(5),qy(6,"moneyformat"),Hm(),Fm(7,"span",22),Wb(8),Hm()()),2&e){const e=sb(2);Zu(2),Gb(Uy(3,5,e.reviews)+" "+e.review_label+(1!=e.reviews?"s":"")),Zu(3),Gb(Uy(6,7,e.reviews)),Zu(3),Zb(" ",e.show_user_text?"User":""," ",e.review_label,"",1!=e.reviews?"s":"","")}}function ZF(e,t){if(1&e&&(qm(0),Hf(1,YF,9,11,"a",18)(2,QF,9,9,"span",19),Um()),2&e){const e=sb();Zu(),V_("ngIf",e.reviewslink),Zu(),V_("ngIf",!e.reviewslink)}}function KF(e,t){1&e&&Bm(0,"span",26)}function XF(e,t){if(1&e&&(Fm(0,"div",24),Hf(1,KF,1,0,"span",25),Hm()),2&e){const e=sb();G_("visible",e.voting),Zu(),V_("ngIf",e.voting)}}function JF(e,t){1&e&&(Fm(0,"p"),Wb(1,"Click to submit your rating"),Hm())}function eH(e,t){1&e&&(Fm(0,"p"),Wb(1,"Change my rating to:"),Hm())}function tH(e,t){1&e&&(Fm(0,"p"),Wb(1,"Keep my existing rating"),Hm())}function nH(e,t){if(1&e&&(Fm(0,"p",31)(1,"span"),Wb(2),Hm()()),2&e){const e=sb(2);Zu(2),Gb(e.ratingText)}}function iH(e,t){1&e&&(Fm(0,"p",32),Wb(1,"Thanks for your rating!"),Hm())}function rH(e,t){if(1&e&&(Fm(0,"p")(1,"span",33),Wb(2),Hm(),Wb(3),qy(4,"moneyformat"),Hm()),2&e){const e=sb(2);Zu(2),Yb("",e.rating_rounded," / 5"),Zu(),Qb(" from ",Uy(4,3,e.reviews)," review",1!=e.reviews?"s":"","")}}function sH(e,t){if(1&e&&(Fm(0,"a",37),Wb(1,"Write full review"),Hm()),2&e){V_("href",sb(3).full_review_link,cu)("zing-url",!0)}}function oH(e,t){1&e&&(Fm(0,"span"),Wb(1," | "),Hm())}function aH(e,t){if(1&e&&(Fm(0,"a",38),Wb(1,"Ask a question"),Hm()),2&e){const e=sb(3);V_("zing-url",!0)("href",e.discussion_link,cu)}}function lH(e,t){if(1&e&&(Fm(0,"p",34),Hf(1,sH,2,2,"a",35)(2,oH,2,0,"span",2)(3,aH,2,2,"a",36),Hm()),2&e){const e=sb(2);Zu(),V_("ngIf",e.full_review_link),Zu(),V_("ngIf",e.discussion_link&&e.full_review_link),Zu(),V_("ngIf",e.discussion_link)}}function cH(e,t){if(1&e){const e=Wm();Fm(0,"div",27),nb("onTapHover",function(){Ds(e);return ks(sb().PopupIn())})("onTapDoc",function(){Ds(e);return ks(sb().PopupDocClose())}),Hf(1,JF,2,0,"p",2)(2,eH,2,0,"p",2)(3,tH,2,0,"p",2)(4,nH,3,1,"p",28)(5,iH,2,0,"p",29)(6,rH,5,5,"p",2)(7,lH,4,3,"p",30),Hm()}if(2&e){const e=sb();Zu(),V_("ngIf",!e.voted),Zu(),V_("ngIf",e.voted&&!e.is_old_rating&&!e.submitted),Zu(),V_("ngIf",e.voted&&e.is_old_rating&&!e.submitted),Zu(),V_("ngIf",!e.is_old_rating&&!e.submitted),Zu(),V_("ngIf",e.voted&&e.submitted),Zu(),V_("ngIf",e.reviews||e.voted),Zu(),V_("ngIf",e.discussion_link||e.full_review_link)}}function uH(e,t){if(1&e&&(Fm(0,"span",39),Bm(1,"meta",40)(2,"meta",41)(3,"meta",42)(4,"meta",43),Hm()),2&e){const e=sb();Zu(),a_("content",e.rating),Zu(),a_("content",e.reviews||1)}}class dH{constructor(e){this.cd=e,this.newRating=new Ca,this._reviewslink=!0,this.with_schema=!0,this.review_label="Review",this.showhover=!eS(),this.showcount=!0,this.allow_rating=!0,this.show_user_text=!1,this.is_browser=XI()||eS(),this.stars=[],this.is_popup=!1,this._moved_out=!1,this.is_old_rating=!1,this.voted=!1,this.voting=!1,this.submitted=!1,this.svg_secl="#e4e9eb",this.svg_sfcl="#14cbbc",this._svg_sdim={width:18,height:16.5,get heightpx(){return(0|this.height)+"px"}},this._svg_stp=1;let t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}();this._guid=t}set id(e){e!==this._id&&(this._id=e,this._is_ready&&(this.SetUserVotes(),this.cd.detectChanges()))}get id(){return this._id}get rating(){return this._ratingratio}set rating(e){let t=Math.round(100*e)/100;this._ratingratio=t;let n=e-parseInt(e+"");this.rating_rounded=n<=.12?Math.round(e):n>.12&&n<.38?Math.floor(10*e)/10:n>.37&&n<.4?Math.ceil(10*e)/10:n>.39&&n<.63?Math.round(10*e)/10:n>.62&&n<.7?Math.ceil(10*e)/10:n>.69&&n<.8?Math.round(10*e)/10:n>=.8&&n<.88?Math.floor(10*e)/10:Math.round(10*e)/10,this.stars=this._GetStars(),this.cd.detectChanges()}set reviews(e){this._reviews=e,this.cd.detectChanges()}get reviews(){return this._reviews}set reviewslink(e){this._reviewslink=e}get reviewslink(){return!(!this._reviewslink||!this.url)}set svg_sdim(e){this._svg_sdim.width=e.width,this._svg_sdim.height=e.height}get svg_sdim(){return this._svg_sdim}set svg_stp(e){let t=this._svg_stp;this._svg_stp=e,e!==t&&(this.stars=this._GetStars(),this.cd.detectChanges())}get svg_stp(){return this._svg_stp}_GetStars(){let e=[],t=1*this.rating,n=t,i=parseInt(t+""),r=n-i;for(let t=0;t<5;t++)t<i||t==i&&r>.87?e.push("rv-star-full-fill"):t==i&&r>.12&&r<.38?e.push("rv-star-quarter-"+(2==this._svg_stp?"clear":"fill")):t==i&&r>.37&&r<.63?e.push("rv-star-half-"+(2==this._svg_stp?"clear":"fill")):t==i&&r>.62&&r<.88?e.push("rv-star-three-quarter-"+(2==this._svg_stp?"clear":"fill")):e.push("rv-star-empty-"+(2==this._svg_stp?"clear":"fill"));return e}trackByIndex(e){return e}StartRating(e,t,n){let i=["Bad","Below Average","Average","Good","Excellent"];if(this.showhover)if("mouseenter"==e.type||"mouseleave"==e.type)if("add"==n){this.is_popup=!0,clearTimeout(this._submit_time_out),this.stars=[];for(var r=0;r<5;r++)this.stars[r]=r<=t?"rv-star-full-fill":"rv-star-empty-"+(2==this._svg_stp?"clear":"fill");this.ratingText=i[t],this.is_old_rating=t+1==this._old_rating}else null!=e.toElement&&(clearTimeout(this._submit_time_out),this.stars=this._GetStars());else if("add"==n)if(this.allow_rating)this._DoRate(t),this.is_old_rating=t+1==this._old_rating;else{let e=t+1;if(this.full_review_link){let t=new URL(this.full_review_link);t.searchParams.set("r",e.toString()),this.full_review_link=t.toString(),window.open(this.full_review_link,eS()?"_blank":"_self")}}else this.stars=this._GetStars(),this.is_popup=!1,this.submitted=!1;this.cd.detectChanges()}StarReset(){this.stars=this._GetStars(),this.cd.detectChanges()}_PopupClose(){this.stars=this._GetStars(),this.is_popup=!1,this.submitted=!1,this._moved_out=!1,this.cd.detectChanges()}PopupIn(){clearTimeout(this._submit_time_out),this.is_popup=!0,this._moved_out&&(this.submitted=!1),this._moved_out=!1,this.cd.detectChanges()}PopupOut(e){clearTimeout(this._submit_time_out),this._submit_time_out=setTimeout(()=>{this._PopupClose()},1e3),this._moved_out=!0,this.StarReset()}PopupDocClose(){clearTimeout(this._submit_time_out),this._PopupClose()}_DoRate(e){var t;let n=e+1;if(this.newRating.emit(n),clearTimeout(this._submit_time_out),this.is_popup=!1,this.submitted=!1,null===(t=EM())||void 0===t?void 0:t.authUser)return window.alert("Oops. You don't have permission to make edits on this account."),!1;if(!this.is_old_rating){let e={url:kL(),id:"item-rating",data:{rtg:n},headers:{"Content-Type":"application/x-www-form-urlencoded"},before:()=>{this.voting=!0,this.cd.detectChanges()},after:()=>{this.voting=!1,this.cd.detectChanges()}};this.asproduct?(e.data.action="Details.SetRate",e.data.pid=this.id):(e.data.action="Reviews.SetInstRate",e.data.inst_uid=this.id,e.data.rating=e.data.rtg,delete e.data.rtg),XI()&&oM.set("wh_ratings_tracking",this._guid,365),uM("item-rating"),cM(e).then(e=>{if(fS(e))if(e.error){if(XI())if(oM.remove("wh_ratings_tracking"),e.guest)window.open(xL()+"/join/light?ref="+window.location.href,"_parent");else if("logged out"==e.message&&"redirect_url"in e){let t=window.location.protocol+"//"+window.location.host+"/";t==e.redirect_url.substr(0,t.length)&&window.open(e.redirect_url,"_parent")}}else{if(e.guest)return void(XI()?window.open(xL()+"/join/light?ref="+window.location.href,"_parent"):JL.emit("$native:api-no-session",{type:"rate-content"}));this.voted=!0,this.submitted=!0;let t=mM.get("inst_votes")||{};t[(e.uid||this.userId)+""+this.id]=n,mM.set("inst_votes",t,6048e5),this._old_rating=n,this.reviews=e.reviews||e.total,this.rating=Math.round(10*cS(e.rating||0))/10,this.stars=this._GetStars(),this.PopupIn(),this._submit_time_out=setTimeout(()=>{this.is_popup=!1,this.cd.detectChanges()},8e3)}this.cd.detectChanges()}).catch(()=>{oM.remove("wh_ratings_tracking"),this.cd.detectChanges()})}this.cd.detectChanges()}SetUserVotes(){if(!tS()&&!ES(this._id)&&!ES(this.userId)){var e=mM.get("inst_votes")||{};this._old_rating=e[this.userId+""+this._id],this._old_rating&&(this.submitted=!0,this.voted=!0)}}ngOnInit(){if(!tS()){if(CM()){let e=EM();this.userId=e.id}this.SetUserVotes(),this._is_ready=!0}}}dH.ɵfac=function(e){return new(e||dH)(ep(Xw))},dH.ɵcmp=nf({type:dH,selectors:[["rating-box"]],hostAttrs:[1,"rating-box"],hostBindings:function(e,t){1&e&&nb("mouseleave",function(e){return t.PopupOut(e)})},inputs:{id:"id",rating:"rating",reviews:"reviews",type:"type",url:[0,"reviews-link","url"],reviewslink:[0,"link-reviews-active","reviewslink"],full_review_link:[0,"write-review-link","full_review_link"],discussion_link:[0,"discussion-link","discussion_link"],with_schema:[0,"aggregate-rating","with_schema"],review_label:[0,"review-label","review_label"],asproduct:"asproduct",showhover:[0,"show-hover","showhover"],showcount:[0,"show-reviews-count","showcount"],allow_rating:[0,"allow-rating","allow_rating"],show_user_text:[0,"show-user-text","show_user_text"],svg_secl:[0,"svg-star-empty-color","svg_secl"],svg_sfcl:[0,"svg-star-fill-color","svg_sfcl"],svg_sdim:[0,"svg-star-dim","svg_sdim"],svg_stp:[0,"svg-star-type","svg_stp"]},outputs:{newRating:"newRating"},standalone:!1,decls:7,vars:7,consts:[["class","rvs-star-svg","viewBox","0 0 34 32","preserveAspectRatio","none","zing-touch","",3,"cursor-default","tabindex","onTapHover","onTapHoverOutside",4,"ngFor","ngForOf","ngForTrackBy"],[1,"rating-ios-reader"],[4,"ngIf"],["class","progress-indicator",3,"visible",4,"ngIf"],["class","popup-review show ng-enter-element","zing-touch","",3,"onTapHover","onTapDoc",4,"ngIf"],["itemprop","aggregateRating","itemscope","","itemtype","http://schema.org/AggregateRating",4,"ngIf"],["viewBox","0 0 34 32","preserveAspectRatio","none","zing-touch","",1,"rvs-star-svg",3,"onTapHover","onTapHoverOutside","tabindex"],["d","M33.649 12.215h-12.815l-3.972-12.215-3.972 12.215h-12.89l10.417 7.569-3.972 12.215 10.417-7.569 10.342 7.569-3.972-12.215 10.417-7.569z",3,"ng-svg-attr"],["d","M31.326 12.965l-8.918 6.52 3.372 10.567-8.918-6.52-8.993 6.52 3.447-10.567-8.993-6.52h11.091l3.447-10.567 3.372 10.567h11.091z",3,"ng-svg-attr"],["fill","none","stroke","#14cbbc","stroke-linejoin","miter","stroke-linecap","butt","stroke-miterlimit","10","stroke-width","1.4988","d","M16.862 2.398l3.372 10.567h11.091l-8.918 6.52 3.372 10.567-8.918-6.52-8.993 6.52 3.447-10.567-8.993-6.52h11.091l3.447-10.567z",3,"ng-svg-attr"],["d","M16.862 4.871v-4.871l-3.972 12.215h-12.89l10.417 7.569-3.972 12.215 10.417-7.569v-19.56z",3,"ng-svg-attr"],["d","M33.649 12.215h-12.815l-3.972-12.215v24.431l10.342 7.569-3.972-12.215 10.417-7.569z",3,"ng-svg-attr"],["d","M0,12.2l10.4,7.6L6.4,32l4-2.9c0-1.4,0-15.4,0-16.9H0L0,12.2z",3,"ng-svg-attr"],["d","M10.4,12.2c0,1.5,0,15.5,0,16.9l6.4-4.7l0,0L27.2,32l-4-12.2l10.4-7.6H20.7L16.7,0l-3.9,12.2\n            C12.8,12.2,10.4,12.2,10.4,12.2z",3,"ng-svg-attr"],["d","M20.8,12.2L16.9,0l-4,12.2H0l10.4,7.6L6.4,32l10.4-7.6v0l6.4,4.7c0-1.4,0-15.4,0-16.9H20.8z",3,"ng-svg-attr"],["d","M33.6,12.2H23.2c0,1.5,0,15.5,0,16.9l4,2.9l-4-12.2L33.6,12.2L33.6,12.2z",3,"ng-svg-attr"],["d","M6.37 32l3.972-12.215-10.417-7.569h12.89l3.972-12.215 3.972 12.215h12.89l-10.417 7.569 3.972 12.215-10.417-7.569zM16.787 22.557l7.569 5.471-2.848-8.843 7.569-5.471h-9.368l-2.848-8.843-2.848 8.843h-9.368l7.569 5.471-2.848 8.843z",3,"ng-svg-attr"],["d","M33.649 12.215h-12.815l-3.972-12.215-3.972 12.215h-12.89l10.417 7.569-3.972 12.215 10.417-7.569 10.417 7.569-3.972-12.215zM24.356 28.103l-7.569-5.471v-17.836l2.923 8.843h9.368l-7.569 5.471z",3,"ng-svg-attr"],["class","review","zing-touch","","role","link",3,"zing-url","href",4,"ngIf"],["class","review plain-rv",4,"ngIf"],["zing-touch","","role","link",1,"review",3,"zing-url","href"],["tabindex","-1","aria-hidden","true",1,"rev-count"],["tabindex","-1","aria-hidden","true",1,"rev-txt"],[1,"review","plain-rv"],[1,"progress-indicator"],["class","progress-ind-spinner progress-spin",4,"ngIf"],[1,"progress-ind-spinner","progress-spin"],["zing-touch","",1,"popup-review","show","ng-enter-element",3,"onTapHover","onTapDoc"],["class","bold green rtg-text",4,"ngIf"],["class","green bold",4,"ngIf"],["class","popup-link",4,"ngIf"],[1,"bold","green","rtg-text"],[1,"green","bold"],[1,"bold","ng-binding"],[1,"popup-link"],["class","link","zing-touch","",3,"href","zing-url",4,"ngIf"],["class","link","zing-touch","",3,"zing-url","href",4,"ngIf"],["zing-touch","",1,"link",3,"href","zing-url"],["zing-touch","",1,"link",3,"zing-url","href"],["itemprop","aggregateRating","itemscope","","itemtype","http://schema.org/AggregateRating"],["itemprop","ratingValue"],["itemprop","reviewCount"],["itemprop","worstRating","content","0"],["itemprop","bestRating","content","5"]],template:function(e,t){1&e&&(Hf(0,GF,8,13,"svg",0),Fm(1,"span",1),Wb(2),Hm(),Hf(3,ZF,3,2,"ng-container",2)(4,XF,2,3,"div",3)(5,cH,8,7,"div",4)(6,uH,5,2,"span",5)),2&e&&(V_("ngForOf",t.stars)("ngForTrackBy",t.trackByIndex),Zu(2),Yb("",t.rating," out of 5 rating"),Zu(),V_("ngIf",t.showcount&&t.reviews),Zu(),V_("ngIf",t.is_browser),Zu(),V_("ngIf",t.is_browser&&t.showhover&&t.is_popup),Zu(),V_("ngIf",t.rating>0&&t.with_schema))},dependencies:[HC,zC,OS,hL,aL],encapsulation:2,changeDetection:0});class hH{}hH.ɵfac=function(e){return new(e||hH)},hH.ɵmod=of({type:hH}),hH.ɵinj=Hn({imports:[yI,wL]});class pH extends iL{}pH.ɵfac=(()=>{let e;return function(t){return(e||(e=Jo(pH)))(t||pH)}})(),pH.ɵdir=cf({type:pH,selectors:[["form","form-submit",""]],standalone:!1,features:[gf]});class fH{}fH.ɵfac=function(e){return new(e||fH)},fH.ɵmod=of({type:fH}),fH.ɵinj=Hn({imports:[yI,wL]});const gH=["dropdownList"],_H=["button"],mH=(e,t,n,i,r,s,o)=>({"ng-wh-error":e,"drp-b-darker":t,second:n,third:i,selected:r,opened:s,disabled:o});function vH(e,t){if(1&e&&Bm(0,"span",11),2&e){const e=sb();V_("cleanHTML",e.placeholder),a_("tabindex",e.tabindex)("aria-expanded",e.opened)}}function bH(e,t){if(1&e){const e=Wm();Fm(0,"li",12),nb("onClick",function(t){const n=Ds(e).index;return ks(sb().selectItem(t,n))}),Hm()}if(2&e){const e=t.$implicit,n=t.index,i=sb();G_("active",i.activeidx==n),V_("cleanHTML",e),a_("aria-selected",i.activeidx==n)("id",i.optionid+"-"+n)}}function yH(e,t){if(1&e){const e=Wm();Fm(0,"li",13),nb("onClick",function(t){Ds(e);return ks(sb().clickExternalLink(t))}),Hm()}if(2&e){V_("cleanHTML",sb().externalLinkOptionText)}}function wH(e,t){1&e&&(Fm(0,"li",14)(1,"span"),Wb(2,'"Featured"'),Hm(),Wb(3," means the products are ranked based on advertiser status."),Hm())}function EH(e,t){1&e&&Bm(0,"span",15),2&e&&a_("aria-hidden",!0)}function TH(e,t){if(1&e){const e=Wm();Fm(0,"span",16),nb("onClick",function(t){Ds(e);return ks(sb().Clear(t))}),Hm()}}const CH=(e,t,n,i,r)=>({"ng-wh-error":e,"drp-b-darker":t,second:n,selected:i,opened:r});function IH(e,t){if(1&e){const e=Wm();Fm(0,"span",12),nb("onClick",function(){return Ds(e),ks(!0)}),Hm()}if(2&e){V_("cleanHTML",sb().placeholder)}}function SH(e,t){if(1&e){const e=Wm();Fm(0,"span",13),nb("onClick",function(){return Ds(e),ks(!0)}),Hm()}if(2&e){V_("cleanHTML",sb().value)}}class AH{set value(e){this.noselection=!e,this._value=e,this.items&&(this.activeidx=this.items.indexOf(e)),this.usemap&&this.itemsMap&&this.itemsMap.length&&(!lS(this.activeidx)||this.activeidx<0)&&(this.activeidx=this.itemsMap.indexOf(this._value))}get value(){return this.itemsMap&&lS(this.activeidx)?(this.itemsMap[this.activeidx]||this._value||"").toString():this._value}get value_ui(){if(!this.itemsMap||!lS(this.activeidx))return this._value;if(this.usemap&&this.itemsMap&&this.itemsMap.length&&lS(this.activeidx)){let e=(this.items[this.activeidx]||this._value||"").toString();if(-1==this.activeidx){let t=this.itemsMap.indexOf(this._value);t>-1?e=(this.items[t]||this._value||"").toString():!ES(this._value)&&lS(this._value)&&(t=this.itemsMap.indexOf(this._value.toString()),t>-1&&(e=(this.items[t]||this._value||"").toString()))}return e}return(this.itemsMap[this.activeidx]||this._value||"").toString()}controlList(e,t){this.disabled||(this.opened=void 0!==t?t:!this.opened,this.onTapped.emit(this),this.fixOverflow(),this._android_delay=!0,setTimeout(()=>{this._android_delay=!1},100))}close(){this.opened=!1}open(){this.opened=!0}PreventClose(e){e&&e.srcEvent&&(e.srcEvent.cancelBubble=!0,e.srcEvent.stopPropagation&&e.srcEvent.stopPropagation()),e&&e.stopPropagation&&e.stopPropagation()}selectItem(e,t=0){this.PreventClose(e),this._android_delay||(this._value=this.items[t],this.activeidx=t,this.valueChange.emit(this.value),this.noselection=!1,this.selected.emit({eventName:"select",value:this.value,index:t}),this.activedescendant=this.optionid+"-"+this.activeidx,this.close(),this._cd.detectChanges(),this.listbutton&&this.listbutton.nativeElement.focus())}Clear(e){this._value=null,this.activeidx=null,this.valueChange.emit(this.value),this.noselection=!0,this.selected.emit({eventName:"select",value:this.value,index:null}),this.activedescendant=null,this._cd.detectChanges(),this.listbutton&&this.listbutton.nativeElement.focus(),e.preventDefault(),e.stopPropagation()}trackByFn(e){return e}constructor(e){this._cd=e,this.tabindex=0,this.placeholder="Select...",this.items=[],this.darker=!1,this.invalid=!1,this.disabled=!1,this.bounds_check=!1,this.labelledby="",this.clearable=!1,this.hasExternalLinkOption=!1,this.externalLinkOptionText="Add New",this.usemap=!1,this.valueChange=new Ca,this.selected=new Ca,this.onTapped=new Ca,this.onExternalLinkTap=new Ca,this.noselection=!0,this.opened=!1,this.activeidx=null,this._android_delay=!1}ngOnInit(){this.optionid=CS("opt-"),this.value&&this.items.indexOf(this.value)>-1&&(this.activeidx=this.items.indexOf(this.value),this.activedescendant=this.optionid+"-"+this.activeidx)}_BoundsCheck(e,t){this.bounds_check&&t.y+t.height>window.innerHeight&&e.classList.add("upwards")}fixOverflow(){let e=this.dropdownList&&this.dropdownList.nativeElement,t=e&&e.parentElement;IS(()=>{try{let n=e.getBoundingClientRect();t.getBoundingClientRect().x+n.width>=window.innerWidth?e.classList.add("sticky-right"):e.classList.remove("sticky-right"),e.classList.remove("upwards"),this._BoundsCheck(e,n)}catch(e){throw e}})}clickExternalLink(e){this.PreventClose(e),this.onExternalLinkTap.emit(!0)}}AH.ɵfac=function(e){return new(e||AH)(ep(Xw))},AH.ɵdir=cf({type:AH,viewQuery:function(e,t){if(1&e&&(yb(gH,5,Ua),yb(_H,5,Ua)),2&e){let e;wb(e=Eb())&&(t.dropdownList=e.first),wb(e=Eb())&&(t.listbutton=e.first)}},inputs:{tabindex:"tabindex",placeholder:"placeholder",items:"items",itemsMap:"itemsMap",second:"second",third:"third",darker:[0,"dark-borders","darker"],invalid:"invalid",disabled:"disabled",bounds_check:[0,"bounds-check","bounds_check"],labelledby:"labelledby",clearable:"clearable",hasExternalLinkOption:"hasExternalLinkOption",externalLinkOptionText:"externalLinkOptionText",usemap:"usemap",value:"value"},outputs:{valueChange:"valueChange",selected:"selected",onTapped:"onTapped",onExternalLinkTap:"onExternalLinkTap"}});class RH extends AH{}RH.ɵfac=(()=>{let e;return function(t){return(e||(e=Jo(RH)))(t||RH)}})(),RH.ɵcmp=nf({type:RH,selectors:[["ng-dropdown"]],standalone:!1,features:[gf],decls:11,vars:25,consts:[["button",""],["dropdownList",""],["zing-touch","","data-tap-bubbles","true",1,"dropdown",3,"onClick","onClickOutside","ngClass","zing-no-touch"],["role","button","aria-haspopup","listbox","class","dropdown-placeholder",3,"cleanHTML",4,"ngIf"],["role","button","aria-haspopup","listbox",1,"dropdown-selected",3,"ng-hidden","cleanHTML"],["role","listbox","tabindex","0",1,"dropdown-list","ng-enter-element",3,"ng-hidden"],["class","dropdown-item","role","option","zing-touch","",3,"active","cleanHTML","onClick",4,"ngFor","ngForOf","ngForTrackBy"],["class","dropdown-item external-link","role","option","zing-touch","",3,"cleanHTML","onClick",4,"ngIf"],["class","drp-featured",4,"ngIf"],["tabindex","-1","class","dropdown-arrow  bf-icon-down-open",4,"ngIf"],["zing-touch","","tabindex","0","aria-role","button","aria-label","Clear Selection","class","dropdown-close bf-icon-cross",3,"onClick",4,"ngIf"],["role","button","aria-haspopup","listbox",1,"dropdown-placeholder",3,"cleanHTML"],["role","option","zing-touch","",1,"dropdown-item",3,"onClick","cleanHTML"],["role","option","zing-touch","",1,"dropdown-item","external-link",3,"onClick","cleanHTML"],[1,"drp-featured"],["tabindex","-1",1,"dropdown-arrow","bf-icon-down-open"],["zing-touch","","tabindex","0","aria-role","button","aria-label","Clear Selection",1,"dropdown-close","bf-icon-cross",3,"onClick"]],template:function(e,t){if(1&e){const e=Wm();Fm(0,"div",2),nb("onClick",function(n){return Ds(e),ks(t.controlList(n))})("onClickOutside",function(n){return Ds(e),ks(t.controlList(n,!1))}),Hf(1,vH,1,3,"span",3),Bm(2,"span",4,0),Fm(4,"ul",5,1),Hf(6,bH,1,5,"li",6)(7,yH,1,1,"li",7)(8,wH,4,0,"li",8),Hm(),Hf(9,EH,1,1,"span",9)(10,TH,1,0,"span",10),Hm()}2&e&&(V_("ngClass",Oy(17,mH,t.invalid,t.darker,t.second,t.third,!t.noselection,t.opened,t.disabled))("zing-no-touch",!0),Zu(),V_("ngIf",t.placeholder&&t.noselection),Zu(),V_("ng-hidden",t.noselection)("cleanHTML",t.value_ui),a_("tabindex",t.noselection?t.tabindex:-1)("aria-hidden",t.noselection)("aria-expanded",t.opened),Zu(2),V_("ng-hidden",!t.opened),a_("aria-labelledby",t.labelledby)("aria-activedescendant",t.activedescendant),Zu(2),V_("ngForOf",t.items)("ngForTrackBy",t.trackByFn),Zu(),V_("ngIf",t.hasExternalLinkOption),Zu(),V_("ngIf",null==t.items?null:t.items.includes("Featured")),Zu(),V_("ngIf",!(t.disabled||t.clearable&&!t.noselection)),Zu(),V_("ngIf",!t.disabled&&t.clearable&&!t.noselection))},dependencies:[LC,HC,zC,OS,sL,cL],encapsulation:2});class xH{}xH.ɵfac=function(e){return new(e||xH)},xH.ɵmod=of({type:xH}),xH.ɵinj=Hn({imports:[yI,wL]});class DH extends AH{constructor(){super(...arguments),this.text="Some text to display",this.name="",this.label="",this.booleanValue=null}Check(e){void 0!==e&&(this.booleanValue===e?(this.booleanValue=null,this.value=null):(this.booleanValue=e,this.value=e?"Yes":"No"),this.valueChange.emit(this.value))}}DH.ɵfac=(()=>{let e;return function(t){return(e||(e=Jo(DH)))(t||DH)}})(),DH.ɵcmp=nf({type:DH,selectors:[["ng-dropdown-bool"]],inputs:{text:"text",name:"name",label:"label"},standalone:!1,features:[gf],decls:19,vars:18,consts:[["dropdownList",""],["zing-touch","",1,"dropdown",3,"onClick","onClickOutside","ngClass","zing-no-touch"],["zing-touch","","class","dropdown-placeholder",3,"cleanHTML","onClick",4,"ngIf"],["zing-touch","","class","dropdown-selected",3,"cleanHTML","onClick",4,"ngIf"],[1,"dropdown-list","ng-enter-element",3,"ng-hidden"],[1,"text"],[1,"boolean-items"],[1,"checkbox"],["type","checkbox","value","",3,"change","checked","name"],[1,"track","bf-icon-ok"],[1,"name"],[1,"dropdown-arrow","bf-icon-down-open"],["zing-touch","",1,"dropdown-placeholder",3,"onClick","cleanHTML"],["zing-touch","",1,"dropdown-selected",3,"onClick","cleanHTML"]],template:function(e,t){if(1&e){const e=Wm();Fm(0,"div",1),nb("onClick",function(n){return Ds(e),ks(t.controlList(n))})("onClickOutside",function(n){return Ds(e),ks(t.controlList(n,!1))}),Hf(1,IH,1,1,"span",2)(2,SH,1,1,"span",3),Fm(3,"div",4,0)(5,"p",5),Wb(6),Hm(),Fm(7,"div",6)(8,"label",7)(9,"input",8),nb("change",function(){return Ds(e),ks(t.Check(!0))}),Hm(),Bm(10,"i",9),Fm(11,"span",10),Wb(12,"Yes"),Hm()(),Fm(13,"label",7)(14,"input",8),nb("change",function(){return Ds(e),ks(t.Check(!1))}),Hm(),Bm(15,"i",9),Fm(16,"span",10),Wb(17,"No"),Hm()()()(),Bm(18,"i",11),Hm()}2&e&&(V_("ngClass",Dy(12,CH,t.invalid,t.darker,t.second,!t.noselection,t.opened))("zing-no-touch",!0),Zu(),V_("ngIf",t.placeholder&&t.noselection),Zu(),V_("ngIf",!t.noselection),Zu(),V_("ng-hidden",!t.opened),Zu(3),Gb(t.text),Zu(2),a_("aria-label",t.label),Zu(),V_("checked",!0===t.booleanValue)("name",t.name),Zu(4),a_("aria-label",t.label),Zu(),V_("checked",!1===t.booleanValue)("name",t.name))},dependencies:[LC,zC,OS,sL,cL],encapsulation:2});class kH{}kH.ɵfac=function(e){return new(e||kH)},kH.ɵmod=of({type:kH}),kH.ɵinj=Hn({imports:[yI,wL]});const OH=["input"];function NH(e,t){if(1&e&&Bm(0,"div",6),2&e){V_("cleanHTML",sb().label)}}function LH(e,t){if(1&e&&Bm(0,"div",7),2&e){V_("cleanHTML",sb().label)("zing-url-container",!0)}}class MH{get required(){return this._required}set required(e){this._required=!!e}constructor(e,t){this._cd=e,this.renderer=t,this.name=null,this.label=null,this.has_links=!1,this.arialabel=null,this.checkedChange=new Ca,this.checked=!1,this.disabled=!1,this.clicktoggle=!1}ngOnInit(){this.name||(this.name="toggle-"+CS())}Check(){this.clicktoggle||(this.checked=!this.checked,this.checkedChange.emit(this.checked))}Click(e){this.clicktoggle&&!this.disabled&&(e.preventDefault(),setTimeout(()=>{this.checked=!this.checked,this.checkedChange.emit(this.checked),this._cd.detectChanges()}))}ngAfterViewInit(){tS()&&this.checked&&this.renderer.setAttribute(this.checkbox.nativeElement,"checked","checked")}}MH.ɵfac=function(e){return new(e||MH)(ep(Xw),ep(qh))},MH.ɵdir=cf({type:MH,viewQuery:function(e,t){if(1&e&&yb(OH,5,Ua),2&e){let e;wb(e=Eb())&&(t.checkbox=e.first)}},inputs:{required:"required",name:"name",label:"label",has_links:[0,"label-with-links","has_links"],arialabel:"arialabel",checked:"checked",disabled:"disabled",clicktoggle:"clicktoggle"},outputs:{checkedChange:"checkedChange"}});class PH extends MH{}PH.ɵfac=(()=>{let e;return function(t){return(e||(e=Jo(PH)))(t||PH)}})(),PH.ɵcmp=nf({type:PH,selectors:[["ng-checkbox"]],standalone:!1,features:[gf],decls:6,vars:8,consts:[["input",""],["role","checkbox","tabindex","0",1,"checkbox",3,"click"],["type","checkbox","value","","aria-hidden","true","tabindex","-1",3,"change","checked","required","disabled","name"],[1,"track","bf-icon-ok"],["class","name",3,"cleanHTML",4,"ngIf"],["class","name text-select","zing-touch","",3,"cleanHTML","zing-url-container",4,"ngIf"],[1,"name",3,"cleanHTML"],["zing-touch","",1,"name","text-select",3,"cleanHTML","zing-url-container"]],template:function(e,t){if(1&e){const e=Wm();Fm(0,"label",1),nb("click",function(n){return Ds(e),ks(t.Click(n))}),Fm(1,"input",2,0),nb("change",function(){return Ds(e),ks(t.Check())}),Hm(),Bm(3,"span",3),Hf(4,NH,1,1,"div",4)(5,LH,1,2,"div",5),Hm()}2&e&&(a_("aria-label",t.arialabel||t.label)("aria-checked",t.checked?"true":"false"),Zu(),V_("checked",t.checked)("required",t.required)("disabled",t.disabled)("name",t.name),Zu(3),V_("ngIf",t.label&&!t.has_links),Zu(),V_("ngIf",t.label&&t.has_links))},dependencies:[zC,OS,cL],encapsulation:2});class FH{}FH.ɵfac=function(e){return new(e||FH)},FH.ɵmod=of({type:FH}),FH.ɵinj=Hn({imports:[yI,wL]});const HH=["input"];function BH(e,t){if(1&e&&Bm(0,"span",5),2&e){V_("cleanHTML",sb().label)}}class zH{get required(){return this._required}set required(e){this._required=!!e}get selected(){return this._selected}set selected(e){let t=this.checked;this._selected=e,t=e===this.value,this.checked=t}constructor(e,t){this._cd=e,this.renderer=t,this.name=null,this.label=null,this.arialabel=null,this.arialabelledby=null,this.ariadescribedby=null,this.checked=!1,this.value=null,this.clicktoggle=!1,this.selectedChange=new Ca}ngAfterViewInit(){tS()&&this.checked&&this.renderer.setAttribute(this.radiobox.nativeElement,"checked","checked")}_Check(){this.value!==this.selected&&(this.selected=this.value,this.selectedChange.emit(this.selected))}Check(){this.clicktoggle||this._Check()}Click(e){this.clicktoggle&&!this.disabled&&(e.preventDefault(),setTimeout(()=>{this._Check(),this._cd.detectChanges()}))}}zH.ɵfac=function(e){return new(e||zH)(ep(Xw),ep(qh))},zH.ɵdir=cf({type:zH,viewQuery:function(e,t){if(1&e&&yb(HH,5,Ua),2&e){let e;wb(e=Eb())&&(t.radiobox=e.first)}},inputs:{required:"required",name:"name",label:"label",arialabel:"arialabel",arialabelledby:"arialabelledby",ariadescribedby:"ariadescribedby",value:"value",disabled:"disabled",clicktoggle:"clicktoggle",selected:"selected"},outputs:{selectedChange:"selectedChange"}});class qH extends zH{}qH.ɵfac=(()=>{let e;return function(t){return(e||(e=Jo(qH)))(t||qH)}})(),qH.ɵcmp=nf({type:qH,selectors:[["ng-radio"]],standalone:!1,features:[gf],decls:5,vars:10,consts:[["input",""],["role","radio","tabindex","0",1,"radiobutton",3,"click"],["type","radio","ng-aria-hidden","true",3,"change","checked","required","disabled","name","value"],["ng-aria-hidden","true",1,"track"],["class","value text-select",3,"cleanHTML",4,"ngIf"],[1,"value","text-select",3,"cleanHTML"]],template:function(e,t){if(1&e){const e=Wm();Fm(0,"label",1),nb("click",function(n){return Ds(e),ks(t.Click(n))}),Fm(1,"input",2,0),nb("change",function(){return Ds(e),ks(t.Check())}),Hm(),Bm(3,"span",3),Hf(4,BH,1,1,"span",4),Hm()}2&e&&(a_("aria-label",t.arialabel||t.label)("aria-labelledby",t.arialabelledby)("aria-describedby",t.ariadescribedby)("aria-checked",t.checked),Zu(),V_("checked",t.checked)("required",t.required)("disabled",t.disabled)("name",t.name)("value",t.value),Zu(3),V_("ngIf",t.label))},dependencies:[zC,cL,gL],encapsulation:2});class UH{}UH.ɵfac=function(e){return new(e||UH)},UH.ɵmod=of({type:UH}),UH.ɵinj=Hn({imports:[yI,wL]});const jH=(e,t)=>({small:e,disabled:t});function VH(e,t){if(1&e&&(Fm(0,"span",5),Wb(1),Hm()),2&e){const e=sb();Zu(),Gb(e.label)}}function WH(e,t){if(1&e&&(Fm(0,"span",6),Wb(1),Hm()),2&e){const e=sb();Zu(),Gb(e.label)}}class $H{Check(){this.clicktoggle||(this.checked=!this.checked,this.checkedChange.emit(this.checked))}constructor(e){this._cd=e,this.name=null,this.label=null,this.small=!1,this.checkedChange=new Ca,this.clicktoggle=!1}ngOnInit(){this.name||(this.name="toggle-"+CS())}Click(e){this.clicktoggle&&!this.disabled&&(e.preventDefault(),setTimeout(()=>{this.checked=!this.checked,this.checkedChange.emit(this.checked),this._cd.detectChanges()}))}}$H.ɵfac=function(e){return new(e||$H)(ep(Xw))},$H.ɵdir=cf({type:$H,inputs:{name:"name",label:"label",small:"small",disabled:"disabled",checked:"checked",clicktoggle:"clicktoggle"},outputs:{checkedChange:"checkedChange"}});class GH extends $H{}GH.ɵfac=(()=>{let e;return function(t){return(e||(e=Jo(GH)))(t||GH)}})(),GH.ɵcmp=nf({type:GH,selectors:[["ng-toggle"]],standalone:!1,features:[gf],decls:5,vars:11,consts:[["role","switch","tabindex","0",1,"toggle-label",3,"click","ngClass"],["type","checkbox",3,"change","name","checked","disabled"],[1,"track"],["hidden","true",4,"ngIf"],["class","toggle-label-text",4,"ngIf"],["hidden","true"],[1,"toggle-label-text"]],template:function(e,t){1&e&&(Fm(0,"label",0),nb("click",function(e){return t.Click(e)}),Fm(1,"input",1),nb("change",function(){return t.Check()}),Hm(),Bm(2,"span",2),Hf(3,VH,2,1,"span",3),Hm(),Hf(4,WH,2,1,"span",4)),2&e&&(V_("ngClass",Ay(8,jH,t.small,t.disabled)),a_("aria-label",t.label||"ON / OFF")("aria-checked",t.checked?"true":"false"),Zu(),V_("name",t.name)("checked",t.checked)("disabled",t.disabled),Zu(2),V_("ngIf",t.label),Zu(),V_("ngIf",t.label))},dependencies:[LC,zC],encapsulation:2});class YH{}YH.ɵfac=function(e){return new(e||YH)},YH.ɵmod=of({type:YH}),YH.ɵinj=Hn({imports:[yI,wL]});const QH=["tooltipdialog"],ZH=()=>["tool-tip"];function KH(e,t){if(1&e){const e=Wm();Fm(0,"i",3),nb("onTap",function(t){Ds(e);const n=sb();return ks(n.pre_render?n.ToggleVisibility():n.OpenToolTip(t))}),Hm()}}class XH{constructor(){this.data={}}}XH.ɵfac=function(e){return new(e||XH)},XH.ɵcmp=nf({type:XH,selectors:[["tool-tip-content"]],standalone:!1,decls:1,vars:2,consts:[["zing-touch","",3,"innerHTML","zing-url-container"]],template:function(e,t){1&e&&Bm(0,"div",0),2&e&&V_("innerHTML",t.data.content,au)("zing-url-container",!0)},dependencies:[OS],encapsulation:2,changeDetection:0});class JH{constructor(){this.with_button=!0,this.propagate_event=!0,this.fixed_parent=!1,this.pre_render=!1,this.onClose=new Ca}set open_popup(e){this._open_popup=e,e&&this.OpenToolTip(null)}get open_popup(){return this._open_popup}ToggleVisibility(){this._dialog.TogglePreRendered()}ngAfterViewInit(){this.pre_render&&this._dialog.PreRenderToolTip(XH,{content:this.content})}ReloadTooltip(e){this._dialog.UpdateData({content:this.content}),e.stopPropagation()}OpenToolTip(e,t){if(this._dialog.opened)return void(e&&e.stopPropagation());eB=eB.filter(e=>!e||e===this._dialog||(e.Close(null,!0),!1)),this._dialog.Open(XH,{content:this.content},{return_focus_to:t});let n=this._dialog.onClose.subscribe(()=>{n.unsubscribe()});eB.includes(this._dialog)||eB.push(this._dialog),!this.propagate_event&&e&&e.stopPropagation()}ngOnDestroy(){var e=eB.indexOf(this._dialog);e>-1&&eB.splice(e,1)}CloseTip(){this._dialog.CloseThisPopup()}}JH.ɵfac=function(e){return new(e||JH)},JH.ɵcmp=nf({type:JH,selectors:[["tool-tip"]],viewQuery:function(e,t){if(1&e&&yb(QH,5),2&e){let e;wb(e=Eb())&&(t._dialog=e.first)}},inputs:{parentscroller:[0,"popupscroller","parentscroller"],content:[0,"popupcontent","content"],with_button:[0,"popupbutton","with_button"],propagate_event:[0,"popuptapevent","propagate_event"],fixed_parent:[0,"popup-relative","fixed_parent"],pre_render:[0,"pre-render","pre_render"],open_popup:[0,"popupOpen","open_popup"]},outputs:{onClose:"onClose"},standalone:!1,decls:3,vars:5,consts:[["tooltipdialog",""],[3,"popupscroller","popup-relative","classes"],["class","tool-tip-bt bf-icon-info","zing-touch","",3,"onTap",4,"ngIf"],["zing-touch","",1,"tool-tip-bt","bf-icon-info",3,"onTap"]],template:function(e,t){1&e&&(Bm(0,"modal-popup",1,0),Hf(2,KH,1,0,"i",2)),2&e&&(V_("popupscroller",t.parentscroller)("popup-relative",t.fixed_parent)("classes",Iy(4,ZH)),Zu(2),V_("ngIf",t.with_button))},dependencies:[zC,OS,DF],encapsulation:2});let eB=[];class tB{}tB.ɵfac=function(e){return new(e||tB)},tB.ɵmod=of({type:tB}),tB.ɵinj=Hn({imports:[yI,wL,kF]});const nB=["tooltip"];function iB(e,t){if(1&e&&Bm(0,"span",7),2&e){V_("cleanHTML",sb(2).html)}}function rB(e,t){if(1&e&&(Fm(0,"span"),Wb(1),Hm()),2&e){const e=sb(2);Zu(),Gb(e.text)}}function sB(e,t){if(1&e){const e=Wm();Fm(0,"span",8),nb("onClick",function(t){Ds(e);return ks(sb(2).RemoveTag(t))}),Hm()}2&e&&V_("zing-no-touch",!0)}function oB(e,t){if(1&e&&(Fm(0,"div",2),Hf(1,iB,1,1,"span",3)(2,rB,2,1,"span",4)(3,sB,1,1,"span",5),Bm(4,"tool-tip",6,0),Hm()),2&e){const e=sb();G_("no-x",e.disable_x&&!e.disable_x_tip),Zu(),V_("ngIf",e.html),Zu(),V_("ngIf",e.text),Zu(),V_("ngIf",!e.disable_x||e.disable_x_tip),Zu(),V_("ng-hidden",!e.disable_x_tip)("popupcontent",e.disable_x_tip)("popupbutton",!1)("popup-relative",!0)}}class aB{constructor(){this.taggedChange=new Ca,this.disable_x=!1,this.disable_x_tip=""}RemoveTag(e){this.disable_x_tip?this._mytip.OpenToolTip(e):(this.taggedChange.emit(!1),this.tagged=!1)}}aB.ɵfac=function(e){return new(e||aB)},aB.ɵcmp=nf({type:aB,selectors:[["ng-tag"]],viewQuery:function(e,t){if(1&e&&yb(nB,5),2&e){let e;wb(e=Eb())&&(t._mytip=e.first)}},inputs:{text:"text",html:"html",tagged:"tagged",disable_x:[0,"no-x","disable_x"],disable_x_tip:[0,"no-x-tip","disable_x_tip"]},outputs:{taggedChange:"taggedChange"},standalone:!1,decls:1,vars:1,consts:[["tooltip",""],["class","tag close",3,"no-x",4,"ngIf"],[1,"tag","close"],[3,"cleanHTML",4,"ngIf"],[4,"ngIf"],["class","af-icon-cross-slim","zing-touch","",3,"zing-no-touch","onClick",4,"ngIf"],[3,"ng-hidden","popupcontent","popupbutton","popup-relative"],[3,"cleanHTML"],["zing-touch","",1,"af-icon-cross-slim",3,"onClick","zing-no-touch"]],template:function(e,t){1&e&&Hf(0,oB,6,9,"div",1),2&e&&V_("ngIf",t.tagged)},dependencies:[zC,OS,sL,cL,JH],encapsulation:2});class lB{}lB.ɵfac=function(e){return new(e||lB)},lB.ɵmod=of({type:lB}),lB.ɵinj=Hn({imports:[yI,wL,tB]});const cB=["editorreview"],uB=["mincredbox"],dB=["mincredboxsecond"],hB=["mincredboxthird"],pB=["mincredboxmob"],fB=["bonusoffertip"],gB=["bonusoffertipmob"],_B=["rewardsratetip"],mB=["rewardsratetipmob"],vB=()=>({attribute:"itemprop",value:"item"}),bB=()=>({attribute:"itemscope",value:""}),yB=e=>({attribute:"itemtype",value:e}),wB=(e,t,n)=>[e,t,n],EB=()=>({attribute:"itemprop",value:"name"}),TB=e=>[e],CB=()=>({attribute:"itemprop",value:"url"}),IB=()=>({attribute:"itemprop",value:"category"}),SB=e=>({opened:e}),AB=()=>["mincredit-popup"],RB=()=>({attribute:"itemprop",value:"image"}),xB=e=>({apply:e}),DB=e=>({"top-part-cc":e}),kB=e=>({"card-header-cc":e}),OB=e=>({"img-mob":!0,"img-border":e}),NB=e=>({"details-wh-rating-dist-show":e}),LB=e=>({"middle-row":e}),MB=()=>["chkg","svg"],PB=()=>["ppd"],FB=()=>["prsn"],HB=()=>["mincredit-popup","mincredit-popup-second"],BB=e=>({"top-border":e}),zB=()=>({768:50,2048:500}),qB=e=>({"with-compare-checkbox":e}),UB=e=>({show:e}),jB=(e,t)=>({"top-border":e,"with-compare-checkbox":t}),VB=(e,t)=>({"with-compare-checkbox":e,closed:t}),WB=()=>({"img-mob":!0});function $B(e,t){if(1&e&&(Fm(0,"div",49),Bm(1,"img",50),Hm()),2&e){const e=sb(2);Zu(),V_("ng-attribute-when",e.showSchema)("ng-attribute",Sy(4,TB,Iy(3,RB)))("src",e.card_img,cu)}}function GB(e,t){if(1&e&&(Fm(0,"div",51),Bm(1,"img",50),Hm()),2&e){const e=sb(2);Zu(),V_("ng-attribute-when",e.showSchema)("ng-attribute",Sy(4,TB,Iy(3,RB)))("src",e.card_img,cu)}}function YB(e,t){1&e&&jm(0)}function QB(e,t){if(1&e&&(Fm(0,"div"),Hf(1,YB,1,0,"ng-container",52),Hm()),2&e){sb(2);const e=Sb(7);Zu(),V_("ngTemplateOutlet",e)}}function ZB(e,t){if(1&e&&Bm(0,"span",53),2&e){V_("ngClass",t.$implicit)}}function KB(e,t){if(1&e&&(Fm(0,"a",56)(1,"span",57),Wb(2),qy(3,"moneyformat"),Hm(),Fm(4,"span",58),Wb(5),Hm()()),2&e){const e=sb(3);V_("zing-url",!0)("href",e.reviewsPageUrl,cu),a_("aria-label","Read "+e.card.REVIEWS+" user review"+(1!=e.card.REVIEWS?"s":"")),Zu(2),Gb(Uy(3,5,e.card.REVIEWS)),Zu(3),Yb(" User Review",1!=e.card.REVIEWS?"s":"","")}}function XB(e,t){if(1&e&&(Fm(0,"span",59)(1,"span",57),Wb(2),qy(3,"moneyformat"),Hm(),Fm(4,"span",58),Wb(5),Hm()()),2&e){const e=sb(3);Zu(2),Gb(Uy(3,2,e.card.REVIEWS)),Zu(3),Yb(" User Review",1!=e.card.REVIEWS?"s":"","")}}function JB(e,t){if(1&e&&(qm(0),Hf(1,KB,6,7,"a",54)(2,XB,6,4,"span",55),Um()),2&e){const e=sb(2);Zu(),V_("ngIf",e.reviewsPageUrl),Zu(),V_("ngIf",!e.reviewsPageUrl)}}function ez(e,t){if(1&e){const e=Wm();qm(0),Fm(1,"i",60),nb("onTap",function(){Ds(e);return ks(sb(2).ViewEditorReview())}),Hm(),Bm(2,"modal-popup",61,3),Um()}2&e&&(Zu(),V_("zing-no-touch",!0),Zu(),V_("popup-relative",!0))}function tz(e,t){if(1&e&&(Fm(0,"span",63),Bm(1,"meta",64)(2,"meta",65)(3,"meta",66)(4,"meta",67),Hm()),2&e){const e=sb(3);Zu(),a_("content",e.card.RATING),Zu(),a_("content",e.card.REVIEWS||1)}}function nz(e,t){if(1&e&&(qm(0),Hf(1,tz,5,2,"span",62),Um()),2&e){const e=sb(2);Zu(),V_("ngIf",e.card.RATING>0)}}function iz(e,t){if(1&e&&(qm(0),Fm(1,"a",68),Bm(2,"span",69),Hm(),Um()),2&e){const e=sb(2);Zu(),V_("zing-url",!0)("href",e.detailsPageUrl,cu),Zu(),V_("innerHtml",e.card.NAME,au)}}function rz(e,t){if(1&e&&(qm(0),Bm(1,"span",70),Um()),2&e){const e=sb(2);Zu(),V_("title",e.card.NAME)("innerHtml",e.card.NAME,au)}}function sz(e,t){if(1&e&&(qm(0),Fm(1,"a",71,4),Wb(3),Hm(),Um()),2&e){const e=sb(2);Zu(),V_("zing-url",!0),Zu(2),Yb(" ",e.applyNowTxt," ")}}function oz(e,t){1&e&&(Fm(0,"p",72),Wb(1,"Secured Card"),Hm())}function az(e,t){1&e&&(Fm(0,"p",73),Wb(1,"For College Students"),Hm())}function lz(e,t){if(1&e&&(Fm(0,"li")(1,"b",74),Wb(2,"Min Deposit"),Hm(),Fm(3,"b",75),Wb(4,"Secured Card"),Hm(),Fm(5,"span")(6,"span",75),Wb(7,"Min Deposit of "),Hm(),Wb(8),Hm()()),2&e){const e=sb(2);Zu(8),Gb(e.getEmptyValue(e.card.MIN_SECURITY_DEPOSIT))}}function cz(e,t){if(1&e&&(Fm(0,"li")(1,"b"),Wb(2,"Purchase intro APR"),Hm(),Fm(3,"span"),Wb(4),Hm()()),2&e){const e=sb(2);Zu(4),Gb(e.getPurchaseIntroAPR(e.card))}}function uz(e,t){if(1&e&&(Fm(0,"li")(1,"b"),Wb(2,"Transfer intro APR"),Hm(),Bm(3,"span",76),Hm()),2&e){const e=sb(2);Zu(3),V_("innerHTML",e.getTransferIntroAPR(e.card),au)}}function dz(e,t){if(1&e&&(Fm(0,"li")(1,"b"),Wb(2,"Regular APR"),Hm(),Fm(3,"span"),Wb(4),Hm()()),2&e){const e=sb(2);Zu(4),Gb(e.card.REGULAR_PURCHASE_APR)}}function hz(e,t){if(1&e&&(Fm(0,"li")(1,"b"),Wb(2,"Monthly Fee"),Hm(),Fm(3,"span"),Wb(4),Hm()()),2&e){const e=sb(2);Zu(4),Gb(e.getEmptyValue(e.card.MONTHLY_FEE))}}function pz(e,t){if(1&e&&(Fm(0,"li")(1,"b"),Wb(2,"One-Time Fees"),Hm(),Fm(3,"span"),Wb(4),Hm()()),2&e){const e=sb(2);Zu(4),Gb(e.getEmptyValue(e.card.ONE_TIME_SETUP_FEES,!0))}}function fz(e,t){if(1&e&&(Fm(0,"li")(1,"b"),Wb(2,"Regular APR"),Hm(),Fm(3,"span"),Wb(4),Hm()()),2&e){const e=sb(2);Zu(4),Gb(e.card.REGULAR_PURCHASE_APR)}}function gz(e,t){1&e&&(Fm(0,"li")(1,"b"),Wb(2,"Rewards"),Hm(),Fm(3,"span"),Wb(4,"None"),Hm()())}function _z(e,t){if(1&e){const e=Wm();Fm(0,"span",80),nb("onTap",function(){Ds(e);return ks(sb(4).RewardsRateTip())}),Hm()}2&e&&V_("zing-no-touch",!0)}function mz(e,t){1&e&&Bm(0,"modal-popup",40,5),2&e&&V_("classes",Iy(1,AB))}function vz(e,t){if(1&e&&(Fm(0,"li",74)(1,"b"),Wb(2,"Rewards Rate "),Hf(3,_z,1,1,"span",78)(4,mz,2,2,"modal-popup",79),Hm(),Fm(5,"span"),Wb(6),Hm()()),2&e){const e=sb(3);Zu(3),V_("ngIf",e.card.REWARDS_RATE_TOOLTIP&&e.card.REWARDS_RATE_TOOLTIP.length),Zu(),V_("ngIf",e.card.REWARDS_RATE_TOOLTIP&&e.card.REWARDS_RATE_TOOLTIP.length),Zu(2),Gb(e.getEmptyValue(e.card.REWARDS_EARN_RATE))}}function bz(e,t){if(1&e&&(Fm(0,"li",74)(1,"b"),Wb(2,"Bonus Offer"),Hm(),Fm(3,"span"),Wb(4),Hm()()),2&e){const e=sb(3);Zu(4),Gb(e.getEmptyValue(e.card.REWARDS_INITIAL_BONUS))}}function yz(e,t){if(1&e&&(Fm(0,"li",75)(1,"b"),Wb(2,"Bonus Offer"),Hm(),Fm(3,"span"),Wb(4),Hm()()),2&e){const e=sb(3);Zu(4),Gb(e.getEmptyValue(e.card.REWARDS_INITIAL_BONUS))}}function wz(e,t){if(1&e&&(Fm(0,"li",75)(1,"b"),Wb(2,"Earn Rate"),Hm(),Fm(3,"span"),Wb(4),Hm()()),2&e){const e=sb(3);Zu(4),Gb(e.getEmptyValue(e.card.REWARDS_EARN_RATE))}}function Ez(e,t){if(1&e&&Hf(0,vz,7,3,"li",34)(1,bz,5,1,"li",34)(2,yz,5,1,"li",77)(3,wz,5,1,"li",77),2&e){const e=sb(2);V_("ngIf",!e.isBadCard(e.card)&&(e.card.REWARDS||e.card.REWARDS_EARN_RATE&&e.card.REWARDS_INITIAL_BONUS)),Zu(),V_("ngIf",!e.isBadCard(e.card)&&(e.card.REWARDS||e.card.REWARDS_EARN_RATE&&e.card.REWARDS_INITIAL_BONUS)),Zu(),V_("ngIf",!e.isBadCard(e.card)&&(e.card.REWARDS||e.card.REWARDS_EARN_RATE&&e.card.REWARDS_INITIAL_BONUS)),Zu(),V_("ngIf",!e.isBadCard(e.card)&&(e.card.REWARDS||e.card.REWARDS_EARN_RATE&&e.card.REWARDS_INITIAL_BONUS))}}function Tz(e,t){if(1&e&&(Fm(0,"a",82),Wb(1,"Rates & Fees"),Hm()),2&e){V_("href","/r/?id="+sb(3).card.ID+"c&rf=1",cu)}}function Cz(e,t){if(1&e&&(Fm(0,"a",82),Wb(1,"Rates & Fees | Terms Apply"),Hm()),2&e){V_("href","/r/?id="+sb(3).card.ID+"c&rf=1",cu)}}function Iz(e,t){if(1&e&&(Fm(0,"li",74),Hf(1,Tz,2,1,"a",81)(2,Cz,2,1,"a",81),Hm()),2&e){const e=sb(2);Zu(),V_("ngIf",!e.hasTerms(e.card)),Zu(),V_("ngIf",e.hasTerms(e.card))}}function Sz(e,t){if(1&e){const e=Wm();Fm(0,"span",83),nb("onTap",function(t){Ds(e);return ks(sb(2).toggleShowMore(t))}),Hm()}if(2&e){const e=sb(2);V_("ngClass",Sy(2,SB,e.show_more))("zing-no-touch",!0)}}function Az(e,t){if(1&e&&(Fm(0,"div",38),Bm(1,"p",76),Hm()),2&e){const e=sb(2);V_("ngClass",Sy(2,SB,e.show_more)),Zu(),V_("innerHTML",e.card.EDITORS_NOTES,au)}}function Rz(e,t){if(1&e){const e=Wm();Fm(0,"p",84),Wb(1,"Credit Score "),Fm(2,"span",85),nb("onTap",function(){Ds(e);return ks(sb(2).MinCredtTip())}),Hm()()}2&e&&(Zu(2),V_("zing-no-touch",!0))}function xz(e,t){1&e&&(Fm(0,"p",84),Wb(1,"Editors Notes"),Hm())}function Dz(e,t){if(1&e&&Bm(0,"p",76),2&e){V_("innerHTML",sb(2).card.EDITORS_NOTES,au)}}function kz(e,t){1&e&&(Fm(0,"p",84),Wb(1,"Rewards Details"),Hm())}function Oz(e,t){if(1&e&&Bm(0,"p",76),2&e){V_("innerHTML",t.$implicit,au)}}function Nz(e,t){1&e&&(Fm(0,"p",84),Wb(1,"Additional Info Details"),Hm())}function Lz(e,t){if(1&e&&Bm(0,"p",76),2&e){V_("innerHTML",t.$implicit,au)}}function Mz(e,t){if(1&e&&(Fm(0,"div",86)(1,"a",87),Wb(2,"More Details & Reviews About The "),Bm(3,"span",69),Hm()()),2&e){const e=sb(2);Zu(),V_("href",e.detailsPageUrl,cu),Zu(2),V_("innerHtml",e.card.NAME,au)}}function Pz(e,t){if(1&e&&(qm(0),Fm(1,"a",88,4),Wb(3),Hm(),Um()),2&e){const e=sb(2);Zu(),V_("zing-url",!0),Zu(2),Yb(" ",e.applyNowTxt," ")}}function Fz(e,t){if(1&e&&(Fm(0,"a",89),Wb(1,"Rates & Fees"),Hm()),2&e){const e=sb(2);V_("ngClass",Sy(1,xB,e.isApplyButtonVisible(e.card)))}}function Hz(e,t){1&e&&(Fm(0,"span",90),Wb(1,"Terms Apply"),Hm())}function Bz(e,t){if(1&e){const e=Wm();Fm(0,"div",22),nb("scrolled",function(t){Ds(e);return ks(sb().scrolledDone(t))})("adViewed",function(t){Ds(e);return ks(sb().AdView(t))}),Bm(1,"meta",23)(2,"meta",23)(3,"meta",23),Hf(4,$B,2,6,"div",24)(5,GB,2,6,"div",25)(6,QB,2,1,"div",21),Fm(7,"div",26)(8,"div",27),Hf(9,ZB,1,1,"span",28)(10,JB,3,2,"ng-container",21)(11,ez,4,2,"ng-container",21),Hm()(),Hf(12,nz,2,1,"ng-container",21),Fm(13,"h3",29),Hf(14,iz,3,3,"ng-container",21)(15,rz,2,2,"ng-container",21),Hm(),Hf(16,sz,4,2,"ng-container",21)(17,oz,2,0,"p",30)(18,az,2,0,"p",31),Fm(19,"ul",32),Hf(20,lz,9,1,"li",21)(21,cz,5,1,"li",21)(22,uz,4,1,"li",21)(23,dz,5,1,"li",21),Fm(24,"li")(25,"b"),Wb(26,"Annual Fee"),Hm(),Fm(27,"span"),Wb(28),Hm()(),Hf(29,hz,5,1,"li",21)(30,pz,5,1,"li",21)(31,fz,5,1,"li",21)(32,gz,5,0,"li",33)(33,Ez,4,4,"ng-template",null,1,Yy)(35,Iz,3,2,"li",34),Hm(),Hf(36,Sz,1,4,"span",35)(37,Az,2,4,"div",36),Fm(38,"div",37)(39,"div",38),Hf(40,Rz,3,1,"p",39),Bm(41,"modal-popup",40,2),Fm(43,"p",41),Bm(44,"span",42),Hm(),Hf(45,xz,2,0,"p",39)(46,Dz,1,1,"p",43)(47,kz,2,0,"p",39)(48,Oz,1,1,"p",44)(49,Nz,2,0,"p",39)(50,Lz,1,1,"p",44)(51,Mz,4,2,"div",45),Hm(),Fm(52,"span",46),nb("onTap",function(t){Ds(e);return ks(sb().toggleShowMore(t))}),Hm(),Hf(53,Pz,4,2,"ng-container",21)(54,Fz,2,3,"a",47)(55,Hz,2,0,"span",48),Hm()()}if(2&e){const e=Sb(34),t=sb();V_("scroll-to",t.scrolled)("zenspeed",300)("ad-id",t.card.ID)("trigger-ratio",.5)("referrer-url",t.referrerUrl)("click-url",t.getRedirUrl())("ad-pixel-recheck",t.adviewRecheck)("adview-section",t.adviewSection)("adview-totals",t.adviewTotals)("adview-position",t.adviewPosition)("ng-attribute",Ry(69,wB,Iy(65,vB),Iy(66,bB),Sy(67,yB,"http://schema.org/"+(t.isCreditCard?"CreditCard":"Product"))))("ng-attribute-when",t.showSchema),Zu(),V_("ng-attribute-when",t.showSchema)("ng-attribute",Sy(74,TB,Iy(73,EB))),a_("content",t.card.NAME||""),Zu(),V_("ng-attribute-when",t.showSchema)("ng-attribute",Sy(77,TB,Iy(76,CB))),a_("content",t.getCardSchemaUrl(t.card)),Zu(),V_("ng-attribute-when",t.showSchema)("ng-attribute",Sy(80,TB,Iy(79,IB))),a_("content",t.card.CARD_HEADING),Zu(),V_("ngIf","Chase"==t.card.ISSUER),Zu(),V_("ngIf","Chase"!=t.card.ISSUER),Zu(),V_("ngIf",t.showSchema&&t.isCreditCard),Zu(3),V_("ngForOf",t.stars),Zu(),V_("ngIf",t.card.REVIEWS&&(t.showReviewsLink||!t.card.EDITORS_REVIEW_URL)),Zu(),V_("ngIf",!t.showReviewsLink&&t.card.EDITORS_REVIEW_URL),Zu(),V_("ngIf",!t.isCreditCard&&t.showSchema&&t.showRatingSchema),Zu(2),V_("ngIf","prsn"!==t.pdtType&&"svg"!=t.pdtType),Zu(),V_("ngIf","prsn"===t.pdtType||"svg"==t.pdtType),Zu(),V_("ngIf",t.isApplyButtonVisible(t.card)&&"learnMore"!==t.card.CTA_BUTTON_TYPE),Zu(),V_("ngIf","secured"==t.card.PICK_TYPE),Zu(),V_("ngIf","limited-college"==t.card.PICK_TYPE),Zu(2),V_("ngIf",t.isSecuredCard(t.card)),Zu(),V_("ngIf",!t.isBadCard(t.card)),Zu(),V_("ngIf",!t.isBadCard(t.card)),Zu(),V_("ngIf",!t.isBadCard(t.card)),Zu(5),Gb(t.card.ANNUAL_FEE),Zu(),V_("ngIf",t.isBadCard(t.card)),Zu(),V_("ngIf",t.isBadCard(t.card)),Zu(),V_("ngIf",t.isBadCard(t.card)),Zu(),V_("ngIf",!(t.isBadCard(t.card)||t.card.REWARDS&&(t.card.REWARDS_EARN_RATE||t.card.REWARDS_INITIAL_BONUS)))("ngIfElse",e),Zu(3),V_("ngIf",t.hasRates(t.card)&&t.isApplyButtonVisible(t.card)&&"learnMore"!==t.card.CTA_BUTTON_TYPE),Zu(),V_("ngIf",t.card.EDITORS_NOTES&&""!=t.card.EDITORS_NOTES),Zu(),V_("ngIf",t.card.EDITORS_NOTES&&""!=t.card.EDITORS_NOTES),Zu(2),V_("ngClass",Sy(82,SB,t.show_more)),Zu(),V_("ngIf",t.card.MIN_CREDIT_REQUIRED),Zu(),V_("classes",Iy(84,AB)),Zu(3),V_("ngClass",t.card.MIN_CREDIT_REQUIRED)("innerHTML",t.card.MIN_CREDIT_REQUIRED,au),Zu(),V_("ngIf",t.card.EDITORS_NOTES&&""!=t.card.EDITORS_NOTES),Zu(),V_("ngIf",t.card.EDITORS_NOTES&&""!=t.card.EDITORS_NOTES),Zu(),V_("ngIf",t.rewardsList.length>0),Zu(),V_("ngForOf",t.rewardsList)("ngForTrackBy",t.trackByFn),Zu(),V_("ngIf",t.detailsList.length>0),Zu(),V_("ngForOf",t.detailsList)("ngForTrackBy",t.trackByFn),Zu(),V_("ngIf","prsn"!==t.pdtType&&"svg"!=t.pdtType),Zu(),V_("zing-no-touch",!0)("ngClass",Sy(85,SB,t.show_more)),Zu(),V_("ngIf",t.isApplyButtonVisible(t.card)&&"learnMore"!==t.card.CTA_BUTTON_TYPE),Zu(),V_("ngIf",t.hasRates(t.card)&&t.isApplyButtonVisible(t.card)&&"learnMore"!==t.card.CTA_BUTTON_TYPE),Zu(),V_("ngIf",t.hasTerms(t.card)&&t.isApplyButtonVisible(t.card)&&"learnMore"!==t.card.CTA_BUTTON_TYPE)}}function zz(e,t){1&e&&jm(0)}function qz(e,t){if(1&e&&(Fm(0,"div"),Hf(1,zz,1,0,"ng-container",52),Hm()),2&e){sb(2);const e=Sb(7);Zu(),V_("ngTemplateOutlet",e)}}function Uz(e,t){if(1&e&&Bm(0,"h2",114),2&e){V_("cleanHTML",sb(2).card.CARD_HEADING)}}function jz(e,t){1&e&&(Fm(0,"span",118),Wb(1,"*"),Hm())}function Vz(e,t){if(1&e&&(Fm(0,"h3",115),Bm(1,"a",116),Wb(2,"   "),Hf(3,jz,2,0,"span",117),Hm()),2&e){const e=sb(3);Zu(),V_("zing-url",!0)("href",e.detailsPageUrl,cu)("title",e.card.NAME)("innerHtml",e.card.NAME,au),Zu(2),V_("ngIf",e.show_asterisk)}}function Wz(e,t){if(1&e&&Bm(0,"h3",119),2&e){const e=sb(3);V_("title",e.card.NAME)("innerHtml",e.card.NAME,au)}}function $z(e,t){if(1&e&&(qm(0),Hf(1,Vz,4,5,"h3",102)(2,Wz,1,2,"h3",103),Um()),2&e){const e=sb(2);Zu(),V_("ngIf","prsn"!==e.pdtType),Zu(),V_("ngIf","prsn"===e.pdtType)}}function Gz(e,t){1&e&&(Fm(0,"span",118),Wb(1,"*"),Hm())}function Yz(e,t){if(1&e&&(Fm(0,"h3",115),Bm(1,"a",116),Wb(2,"   "),Hf(3,Gz,2,0,"span",117),Hm()),2&e){const e=sb(2);Zu(),V_("zing-url",!0)("href",e.detailsPageUrl,cu)("title",e.card.NAME)("innerHtml",e.card.NAME,au),Zu(2),V_("ngIf",e.show_asterisk)}}function Qz(e,t){if(1&e&&Bm(0,"h3",119),2&e){const e=sb(2);V_("title",e.card.NAME)("innerHtml",e.card.NAME,au)}}function Zz(e,t){if(1&e&&Bm(0,"span",53),2&e){V_("ngClass",t.$implicit)}}function Kz(e,t){if(1&e&&(Fm(0,"a",56)(1,"span",57),Wb(2),qy(3,"moneyformat"),Hm(),Fm(4,"span",58),Wb(5),Hm()()),2&e){const e=sb(3);V_("zing-url",!0)("href",e.reviewsPageUrl,cu),a_("aria-label","Read "+e.card.REVIEWS+" user review"+(1!=e.card.REVIEWS?"s":"")),Zu(2),Gb(Uy(3,5,e.card.REVIEWS)),Zu(3),Yb(" User Review",1!=e.card.REVIEWS?"s":"","")}}function Xz(e,t){if(1&e&&(Fm(0,"span",59)(1,"span",57),Wb(2),qy(3,"moneyformat"),Hm(),Fm(4,"span",58),Wb(5),Hm()()),2&e){const e=sb(3);Zu(2),Gb(Uy(3,2,e.card.REVIEWS)),Zu(3),Yb(" User Review",1!=e.card.REVIEWS?"s":"","")}}function Jz(e,t){if(1&e&&(qm(0),Hf(1,Kz,6,7,"a",54)(2,Xz,6,4,"span",55),Um()),2&e){const e=sb(2);Zu(),V_("ngIf",e.reviewsPageUrl),Zu(),V_("ngIf",!e.reviewsPageUrl)}}function eq(e,t){if(1&e){const e=Wm();qm(0),Fm(1,"span",60),nb("onTap",function(){Ds(e);return ks(sb(2).ViewEditorReview())}),Hm(),Bm(2,"modal-popup",61,3),Um()}2&e&&(Zu(),V_("zing-no-touch",!0),Zu(),V_("popup-relative",!0))}function tq(e,t){if(1&e&&(Fm(0,"span",63),Bm(1,"meta",64)(2,"meta",65)(3,"meta",66)(4,"meta",67),Hm()),2&e){const e=sb(3);Zu(),a_("content",e.card.RATING),Zu(),a_("content",e.card.REVIEWS||1)}}function nq(e,t){if(1&e&&(qm(0),Hf(1,tq,5,2,"span",62),Um()),2&e){const e=sb(2);Zu(),V_("ngIf",e.card.RATING>0)}}function iq(e,t){if(1&e){const e=Wm();Fm(0,"span",126),nb("onTap",function(t){Ds(e);return ks(sb(3).ShowWHRatingPopup(t))})("onTapOutside",function(t){Ds(e);return ks(sb(3).HideWHRatingPopup(t))}),Hm()}if(2&e){const e=sb(3);V_("zing-no-touch",!0),a_("aria-expanded",e.show_wh_rating_popup?"true":"false")}}function rq(e,t){if(1&e){const e=Wm();Fm(0,"div",127),nb("onTap",function(t){Ds(e);return ks(sb(3).ShowWHRatingPopup(t))})("onTapOutside",function(t){Ds(e);return ks(sb(3).HideWHRatingPopup(t))}),Hm()}if(2&e){const e=sb(3);V_("zing-no-touch",!0)("ngClass",Sy(3,NB,e.show_wh_rating_popup))("cleanHTML",e.show_wh_rating_popup?e.wh_rating_content:"")}}function sq(e,t){if(1&e&&(Fm(0,"div",120)(1,"div",121),Bm(2,"span",122),Fm(3,"span",123),Wb(4,"WalletHub Rating"),Hm(),Hf(5,iq,1,2,"span",124),Hm(),Hf(6,rq,1,5,"div",125),Hm()),2&e){const e=sb(2);Zu(2),V_("ng-context",e.wh_rating.toFixed(1)),Zu(3),V_("ngIf",e.wh_rating_needs.length),Zu(),V_("ngIf",e.wh_rating_needs.length)}}function oq(e,t){if(1&e){const e=Wm();Fm(0,"a",133,4),nb("onTap",function(){Ds(e);return ks(sb(4).SetPrequalViewId())}),Wb(2),Hm()}if(2&e){const e=sb(4);V_("zing-url",!1),Zu(2),Yb(" ",e.applyNowTxt," ")}}function aq(e,t){if(1&e&&(Fm(0,"a",134),Wb(1),Hm()),2&e){const e=sb(4);V_("zing-url",!0)("href",e.getRedirUrl(),cu),Zu(),Yb(" ",e.applyNowTxt," ")}}function lq(e,t){1&e&&(Fm(0,"span",90),Wb(1," | Terms Apply"),Hm())}function cq(e,t){if(1&e&&(Fm(0,"div",135)(1,"a",136),Wb(2,"Rates & Fees"),Hm(),Hf(3,lq,2,0,"span",48),Hm()),2&e){const e=sb(4);Zu(),V_("zing-url",!0)("href","/r/?id="+e.card.ID+"c&rf=1",cu),Zu(2),V_("ngIf",e.hasTerms(e.card))}}function uq(e,t){if(1&e&&(Fm(0,"div",128)(1,"div",129),Hf(2,oq,3,2,"a",130)(3,aq,2,3,"a",131)(4,cq,4,3,"div",132),Hm()()),2&e){const e=sb(3);Zu(2),V_("ngIf","inst"!==e.pdtType),Zu(),V_("ngIf","inst"===e.pdtType),Zu(),V_("ngIf",e.hasRates(e.card)&&e.isApplyButtonVisible(e.card))}}function dq(e,t){if(1&e&&(Fm(0,"div",128)(1,"div",129)(2,"a",137),Wb(3," Learn More "),Hm()()()),2&e){const e=sb(3);Zu(2),V_("zing-url",!0)("href",e.card.DETAILS_HTML_PAGE,cu)}}function hq(e,t){if(1&e&&(qm(0),Hf(1,uq,5,3,"div",105)(2,dq,4,2,"div",105),Um()),2&e){const e=sb(2);Zu(),V_("ngIf",e.isApplyButtonVisible(e.card)&&e.pdtType&&"learnMore"!==e.card.CTA_BUTTON_TYPE),Zu(),V_("ngIf",!e.isApplyButtonVisible(e.card)&&"N"===e.card.DISCONTINUED&&!e.card.$isProduct&&e.pdtType||"learnMore"===e.card.CTA_BUTTON_TYPE&&"N"===e.card.DISCONTINUED&&!e.card.$isProduct&&e.pdtType)}}function pq(e,t){if(1&e){const e=Wm();Fm(0,"a",133,4),nb("onTap",function(){Ds(e);return ks(sb(4).SetPrequalViewId())}),Wb(2),Hm()}if(2&e){const e=sb(4);V_("zing-url",!1),Zu(2),Yb(" ",e.applyNowTxt," ")}}function fq(e,t){if(1&e&&(Fm(0,"a",134),Wb(1),Hm()),2&e){const e=sb(4);V_("zing-url",!0)("href",e.getRedirUrl(),cu),Zu(),Yb(" ",e.applyNowTxt," ")}}function gq(e,t){1&e&&(Fm(0,"span",90),Wb(1," | Terms Apply"),Hm())}function _q(e,t){if(1&e&&(Fm(0,"div",135)(1,"a",136),Wb(2,"Rates & Fees"),Hm(),Hf(3,gq,2,0,"span",48),Hm()),2&e){const e=sb(4);Zu(),V_("zing-url",!0)("href","/r/?id="+e.card.ID+"c&rf=1",cu),Zu(2),V_("ngIf",e.hasTerms(e.card))}}function mq(e,t){if(1&e&&(Fm(0,"div",128)(1,"div",129),Hf(2,pq,3,2,"a",130)(3,fq,2,3,"a",131)(4,_q,4,3,"div",132),Hm()()),2&e){const e=sb(3);Zu(2),V_("ngIf","inst"!==e.pdtType),Zu(),V_("ngIf","inst"===e.pdtType),Zu(),V_("ngIf",e.hasRates(e.card)&&e.isApplyButtonVisible(e.card))}}function vq(e,t){if(1&e&&(Fm(0,"div",128)(1,"div",129)(2,"a",137),Wb(3," Learn More "),Hm()()()),2&e){const e=sb(3);Zu(2),V_("zing-url",!0)("href",e.card.DETAILS_HTML_PAGE,cu)}}function bq(e,t){if(1&e&&(qm(0),Hf(1,mq,5,3,"div",105)(2,vq,4,2,"div",105),Um()),2&e){const e=sb(2);Zu(),V_("ngIf",e.isApplyButtonVisible(e.card)&&e.pdtType&&"learnMore"!==e.card.CTA_BUTTON_TYPE),Zu(),V_("ngIf",!e.isApplyButtonVisible(e.card)&&"N"===e.card.DISCONTINUED&&!e.card.$isProduct&&e.pdtType||"learnMore"===e.card.CTA_BUTTON_TYPE&&"N"===e.card.DISCONTINUED&&!e.card.$isProduct&&e.pdtType)}}function yq(e,t){if(1&e){const e=Wm();Fm(0,"a",139,4),nb("onTap",function(){Ds(e);return ks(sb(3).SetPrequalViewId())}),Wb(2),Hm()}if(2&e){const e=sb(3);V_("zing-url",!1),Zu(2),Yb(" ",e.applyNowTxt," ")}}function wq(e,t){1&e&&(Fm(0,"span",90),Wb(1,"Terms Apply  |  "),Hm())}function Eq(e,t){if(1&e&&(Fm(0,"div",135),Hf(1,wq,2,0,"span",48),Fm(2,"a",136),Wb(3,"Rates & Fees"),Hm()()),2&e){const e=sb(3);Zu(),V_("ngIf",e.hasTerms(e.card)),Zu(),V_("zing-url",!0)("href","/r/?id="+e.card.ID+"c&rf=1",cu)}}function Tq(e,t){if(1&e&&(Fm(0,"div",128)(1,"div",129),Hf(2,yq,3,2,"a",138)(3,Eq,4,3,"div",132),Hm()()),2&e){const e=sb(2);Zu(2),V_("ngIf","inst"!==e.pdtType),Zu(),V_("ngIf",e.hasRates(e.card)&&e.isApplyButtonVisible(e.card))}}function Cq(e,t){if(1&e&&(Fm(0,"div",128)(1,"div",129)(2,"a",137),Wb(3," Learn More "),Hm()()()),2&e){const e=sb(2);Zu(2),V_("zing-url",!0)("href",e.card.DETAILS_HTML_PAGE,cu)}}function Iq(e,t){if(1&e&&(Fm(0,"div",144),Bm(1,"div",145)(2,"div",146),Hm()),2&e){const e=sb(3);Zu(),V_("cleanHTML",e.callout_content.headline),Zu(),V_("cleanHTML",e.callout_content.feature)}}function Sq(e,t){if(1&e&&(Fm(0,"div",140)(1,"div",141),Bm(2,"span",142),Hm(),Hf(3,Iq,3,2,"div",143),Hm()),2&e){const e=sb(2);Zu(3),V_("ngIf",e.callout_content)}}function Aq(e,t){if(1&e&&(qm(0),Fm(1,"tr")(2,"th",150),Wb(3,"Secured Card"),Hm(),Fm(4,"th",150),Wb(5,"One-Time Fees"),Hm(),Fm(6,"th",150),Wb(7,"Regular APR"),Hm()(),Fm(8,"tr")(9,"td",151),Wb(10),Hm(),Bm(11,"td",152)(12,"td",152),Hm(),Um()),2&e){const e=sb(3);Zu(10),Yb("Min Deposit of ",e.getEmptyValue(e.card.MIN_SECURITY_DEPOSIT),""),Zu(),V_("innerHTML",e.getEmptyValue(e.card.ONE_TIME_SETUP_FEES,!0),au),Zu(),V_("innerHTML",e.card.REGULAR_PURCHASE_APR,au)}}function Rq(e,t){if(1&e){const e=Wm();Fm(0,"span",80),nb("onTap",function(){Ds(e);return ks(sb(4).RewardsRateTip())}),Hm()}2&e&&V_("zing-no-touch",!0)}function xq(e,t){1&e&&Bm(0,"modal-popup",40,5),2&e&&V_("classes",Iy(1,AB))}function Dq(e,t){if(1&e&&(Fm(0,"div",159),Bm(1,"span",76),Hm()),2&e){const e=sb(4);Zu(),V_("innerHTML",e.card.MIN_CREDIT_REQUIRED,au)}}function kq(e,t){if(1&e&&(Fm(0,"div",160),Bm(1,"i",161)(2,"span",76),Hm()),2&e){const e=sb(4);V_("ngClass",e.minCreditCls),Zu(2),V_("innerHTML",e.card.MIN_CREDIT_REQUIRED_LAST,au)}}function Oq(e,t){if(1&e){const e=Wm();qm(0),Fm(1,"tr")(2,"th",150),Wb(3,"Annual Fee"),Hm(),Fm(4,"th",150),Wb(5,"Rewards Rate "),Hf(6,Rq,1,1,"span",78)(7,xq,2,2,"modal-popup",79),Hm(),Fm(8,"th",150),Wb(9),Fm(10,"span",85),nb("onTap",function(){Ds(e);return ks(sb(3).MinCredtTip())}),Hm(),Bm(11,"modal-popup",40,2),Hm()(),Fm(13,"tr"),Bm(14,"td",153)(15,"td",153),Fm(16,"td",154),Hf(17,Dq,2,1,"div",155)(18,kq,3,2,"div",156),Hm()(),Fm(19,"tr")(20,"th",157),Wb(21,"Monthly Fee"),Hm(),Fm(22,"th",157)(23,"span",158),Wb(24,"None"),Hm()(),Fm(25,"th",157)(26,"span",158),Wb(27,"None"),Hm()()(),Fm(28,"tr"),Bm(29,"td",152),Fm(30,"td",151)(31,"span",158),Wb(32,"None"),Hm()(),Fm(33,"td",151)(34,"span",158),Wb(35,"None"),Hm()()(),Um()}if(2&e){const e=sb(3);Zu(6),V_("ngIf",e.card.REWARDS_RATE_TOOLTIP&&e.card.REWARDS_RATE_TOOLTIP.length),Zu(),V_("ngIf",e.card.REWARDS_RATE_TOOLTIP&&e.card.REWARDS_RATE_TOOLTIP.length),Zu(2),Yb(" ",19==e.pageVersion?"Credit Score":"Min Credit Needed"," "),Zu(),V_("zing-no-touch",!0),Zu(),V_("classes",Iy(10,AB)),Zu(3),V_("innerHTML",e.card.ANNUAL_FEE,au),Zu(),V_("innerHTML",e.getEmptyValue(e.card.REWARDS_EARN_RATE),au),Zu(2),V_("ngIf",19===e.pageVersion),Zu(),V_("ngIf",19!==e.pageVersion),Zu(11),V_("innerHTML",e.getEmptyValue(e.card.MONTHLY_FEE),au)}}function Nq(e,t){if(1&e){const e=Wm();Fm(0,"tr")(1,"th",150),Wb(2,"Annual Fee"),Hm(),Fm(3,"th",150),Wb(4,"Monthly Fee"),Hm(),Fm(5,"th",150),Wb(6),Fm(7,"span",85),nb("onTap",function(){Ds(e);return ks(sb(4).MinCredtTip())}),Hm(),Bm(8,"modal-popup",40,2),Hm()()}if(2&e){const e=sb(4);Zu(6),Yb("",19==e.pageVersion?"Credit Score":"Min Credit Needed"," "),Zu(),V_("zing-no-touch",!0),Zu(),V_("classes",Iy(3,AB))}}function Lq(e,t){if(1&e&&(Fm(0,"div",159),Bm(1,"span",76),Hm()),2&e){const e=sb(5);Zu(),V_("innerHTML",e.card.MIN_CREDIT_REQUIRED,au)}}function Mq(e,t){if(1&e&&(Fm(0,"div",160),Bm(1,"i",161)(2,"span",76),Hm()),2&e){const e=sb(5);V_("ngClass",e.minCreditCls),Zu(2),V_("innerHTML",e.card.MIN_CREDIT_REQUIRED_LAST,au)}}function Pq(e,t){if(1&e&&(Fm(0,"tr"),Bm(1,"td",152)(2,"td",152),Fm(3,"td",159),Hf(4,Lq,2,1,"div",155)(5,Mq,3,2,"div",156),Hm()()),2&e){const e=sb(4);Zu(),V_("innerHTML",e.card.ANNUAL_FEE,au),Zu(),V_("innerHTML",e.getEmptyValue(e.card.MONTHLY_FEE),au),Zu(2),V_("ngIf",19===e.pageVersion),Zu(),V_("ngIf",19!==e.pageVersion)}}function Fq(e,t){if(1&e&&Hf(0,Nq,10,4,"tr",21)(1,Pq,6,4,"tr",21),2&e){const e=sb(3);V_("ngIf",e.isSecuredCard(e.card)),Zu(),V_("ngIf",e.isSecuredCard(e.card))}}function Hq(e,t){if(1&e&&(qm(0),Fm(1,"tr")(2,"th",150),Wb(3,"One-Time Fees"),Hm(),Fm(4,"th",150),Wb(5,"Regular APR"),Hm(),Fm(6,"th",150),Wb(7,"Annual Fee"),Hm()(),Fm(8,"tr"),Bm(9,"td",152)(10,"td",152)(11,"td",152),Hm(),Um()),2&e){const e=sb(3);Zu(9),V_("innerHTML",e.getEmptyValue(e.card.ONE_TIME_SETUP_FEES,!0),au),Zu(),V_("innerHTML",e.card.REGULAR_PURCHASE_APR,au),Zu(),V_("innerHTML",e.card.ANNUAL_FEE,au)}}function Bq(e,t){if(1&e){const e=Wm();Fm(0,"span",80),nb("onTap",function(){Ds(e);return ks(sb(4).RewardsRateTip())}),Hm()}2&e&&V_("zing-no-touch",!0)}function zq(e,t){1&e&&Bm(0,"modal-popup",40,5),2&e&&V_("classes",Iy(1,AB))}function qq(e,t){if(1&e&&(Fm(0,"div",159),Bm(1,"span",76),Hm()),2&e){const e=sb(4);Zu(),V_("innerHTML",e.card.MIN_CREDIT_REQUIRED,au)}}function Uq(e,t){if(1&e&&(Fm(0,"div",160),Bm(1,"i",161)(2,"span",76),Hm()),2&e){const e=sb(4);V_("ngClass",e.minCreditCls),Zu(2),V_("innerHTML",e.card.MIN_CREDIT_REQUIRED_LAST,au)}}function jq(e,t){if(1&e){const e=Wm();qm(0),Fm(1,"tr")(2,"th",150),Wb(3,"Monthly Fee"),Hm(),Fm(4,"th",150),Wb(5,"Rewards Rate "),Hf(6,Bq,1,1,"span",78)(7,zq,2,2,"modal-popup",79),Hm(),Fm(8,"th",150),Wb(9),Fm(10,"span",85),nb("onTap",function(){Ds(e);return ks(sb(3).MinCredtTip())}),Hm(),Bm(11,"modal-popup",40,2),Hm()(),Fm(13,"tr"),Bm(14,"td",152)(15,"td",152),Fm(16,"td",159),Hf(17,qq,2,1,"div",155)(18,Uq,3,2,"div",156),Hm()(),Um()}if(2&e){const e=sb(3);Zu(6),V_("ngIf",e.card.REWARDS_RATE_TOOLTIP&&e.card.REWARDS_RATE_TOOLTIP.length),Zu(),V_("ngIf",e.card.REWARDS_RATE_TOOLTIP&&e.card.REWARDS_RATE_TOOLTIP.length),Zu(2),Yb("",19==e.pageVersion?"Credit Score":"Min Credit Needed"," "),Zu(),V_("zing-no-touch",!0),Zu(),V_("classes",Iy(9,AB)),Zu(3),V_("innerHTML",e.getEmptyValue(e.card.MONTHLY_FEE),au),Zu(),V_("innerHTML",e.getEmptyValue(e.card.REWARDS_EARN_RATE),au),Zu(2),V_("ngIf",19===e.pageVersion),Zu(),V_("ngIf",19!==e.pageVersion)}}function Vq(e,t){if(1&e){const e=Wm();Fm(0,"tr")(1,"th",150),Wb(2,"Monthly Fee"),Hm(),Fm(3,"th",150),Wb(4),Fm(5,"span",85),nb("onTap",function(){Ds(e);return ks(sb(4).MinCredtTip())}),Hm(),Bm(6,"modal-popup",40,2),Hm(),Fm(8,"th",150),Wb(9," "),Hm()()}if(2&e){const e=sb(4);Zu(4),Yb("",19==e.pageVersion?"Credit Score":"Min Credit Needed"," "),Zu(),V_("zing-no-touch",!0),Zu(),V_("classes",Iy(3,AB))}}function Wq(e,t){if(1&e&&(Fm(0,"div",159),Bm(1,"span",76),Hm()),2&e){const e=sb(5);Zu(),V_("innerHTML",e.card.MIN_CREDIT_REQUIRED,au)}}function $q(e,t){if(1&e&&(Fm(0,"div",160),Bm(1,"i",161)(2,"span",76),Hm()),2&e){const e=sb(5);V_("ngClass",e.minCreditCls),Zu(2),V_("innerHTML",e.card.MIN_CREDIT_REQUIRED_LAST,au)}}function Gq(e,t){if(1&e&&(Fm(0,"tr"),Bm(1,"td",152),Fm(2,"td",159),Hf(3,Wq,2,1,"div",155)(4,$q,3,2,"div",156),Hm(),Fm(5,"td",151),Wb(6," "),Hm()()),2&e){const e=sb(4);Zu(),V_("innerHTML",e.getEmptyValue(e.card.MONTHLY_FEE),au),Zu(2),V_("ngIf",19===e.pageVersion),Zu(),V_("ngIf",19!==e.pageVersion)}}function Yq(e,t){if(1&e&&Hf(0,Vq,10,4,"tr",21)(1,Gq,7,3,"tr",21),2&e){const e=sb(3);V_("ngIf",e.isBadCard(e.card)&&!e.isSecuredCard(e.card)),Zu(),V_("ngIf",e.isBadCard(e.card)&&!e.isSecuredCard(e.card))}}function Qq(e,t){if(1&e&&(qm(0),Fm(1,"tr")(2,"th",150),Wb(3,"Purchase intro APR"),Hm(),Fm(4,"th",150),Wb(5,"Transfer intro APR"),Hm(),Fm(6,"th",150),Wb(7,"Regular APR"),Hm()(),Fm(8,"tr"),Bm(9,"td",152)(10,"td",152)(11,"td",152),Hm(),Um()),2&e){const e=sb(3);Zu(9),V_("innerHTML",e.getPurchaseIntroAPR(e.card),au),Zu(),V_("innerHTML",e.getTransferIntroAPR(e.card),au),Zu(),V_("innerHTML",e.card.REGULAR_PURCHASE_APR,au)}}function Zq(e,t){if(1&e){const e=Wm();Fm(0,"span",80),nb("onTap",function(){Ds(e);return ks(sb(4).RewardsRateTip())}),Hm()}2&e&&V_("zing-no-touch",!0)}function Kq(e,t){1&e&&Bm(0,"modal-popup",40,5),2&e&&V_("classes",Iy(1,AB))}function Xq(e,t){if(1&e){const e=Wm();qm(0),Fm(1,"span",164),nb("onTap",function(t){Ds(e);return ks(sb(4).toggleShowMore(t))}),Wb(2),Hm(),Um()}if(2&e){const e=sb(4);Zu(),V_("zing-no-touch",!0),Zu(),Yb(" ",e.getEmptyValue(e.card.REWARDS_EARN_RATE,!0)," ")}}function Jq(e,t){if(1&e&&(qm(0),Wb(1),Um()),2&e){const e=sb(4);Zu(),Gb(e.getEmptyValue(e.card.REWARDS_EARN_RATE,!0))}}function eU(e,t){if(1&e&&(Fm(0,"div",159),Bm(1,"span",76),Hm()),2&e){const e=sb(4);Zu(),V_("innerHTML",e.card.MIN_CREDIT_REQUIRED,au)}}function tU(e,t){if(1&e&&(Fm(0,"div",160),Bm(1,"i",161)(2,"span",76),Hm()),2&e){const e=sb(4);V_("ngClass",e.minCreditCls),Zu(2),V_("innerHTML",e.card.MIN_CREDIT_REQUIRED_LAST,au)}}function nU(e,t){if(1&e){const e=Wm();qm(0),Fm(1,"tr")(2,"th",150),Wb(3,"Annual Fee"),Hm(),Fm(4,"th",150),Wb(5,"Rewards Rate "),Hf(6,Zq,1,1,"span",78)(7,Kq,2,2,"modal-popup",79),Hm(),Fm(8,"th",150),Wb(9),Fm(10,"span",85),nb("onTap",function(){Ds(e);return ks(sb(3).MinCredtTip())}),Hm(),Bm(11,"modal-popup",40,2),Hm()(),Fm(13,"tr"),Bm(14,"td",162),Fm(15,"td",163),Hf(16,Xq,3,2,"ng-container",21)(17,Jq,2,1,"ng-container",21),Hm(),Fm(18,"td",163),Hf(19,eU,2,1,"div",155)(20,tU,3,2,"div",156),Hm()(),Um()}if(2&e){const e=sb(3);Zu(6),V_("ngIf",e.card.REWARDS_RATE_TOOLTIP&&e.card.REWARDS_RATE_TOOLTIP.length),Zu(),V_("ngIf",e.card.REWARDS_RATE_TOOLTIP&&e.card.REWARDS_RATE_TOOLTIP.length),Zu(2),Yb("",19==e.pageVersion?"Credit Score":"Min Credit Needed"," "),Zu(),V_("zing-no-touch",!0),Zu(),V_("classes",Iy(13,AB)),Zu(3),V_("innerHTML",e.card.ANNUAL_FEE,au)("ngClass",Sy(14,LB,e.card.REWARDS&&"N"!=e.card.REWARDS&&e.card.REWARDS_EARN_RATE&&e.card.REWARDS_INITIAL_BONUS)),Zu(),V_("ngClass",Sy(16,LB,e.card.REWARDS&&"N"!=e.card.REWARDS&&e.card.REWARDS_EARN_RATE&&e.card.REWARDS_INITIAL_BONUS)),Zu(),V_("ngIf",e.isLinkedRewardsRate(e.card)&&e.card.REWARDS_EARN_RATE),Zu(),V_("ngIf",!e.isLinkedRewardsRate(e.card)||!e.card.REWARDS_EARN_RATE),Zu(),V_("ngClass",Sy(18,LB,e.card.REWARDS&&"N"!=e.card.REWARDS&&e.card.REWARDS_EARN_RATE&&e.card.REWARDS_INITIAL_BONUS)),Zu(),V_("ngIf",19===e.pageVersion),Zu(),V_("ngIf",19!==e.pageVersion)}}function iU(e,t){if(1&e){const e=Wm();Fm(0,"span",80),nb("onTap",function(){Ds(e);return ks(sb(4).BonusOfferTip())}),Hm()}2&e&&V_("zing-no-touch",!0)}function rU(e,t){1&e&&Bm(0,"modal-popup",40,9),2&e&&V_("classes",Iy(1,AB))}function sU(e,t){if(1&e&&(qm(0),Fm(1,"tr")(2,"th",157)(3,"span",158),Wb(4,"None"),Hm()(),Fm(5,"th",157),Wb(6,"Bonus Offer "),Hf(7,iU,1,1,"span",78)(8,rU,2,2,"modal-popup",79),Hm(),Fm(9,"th",157)(10,"span",158),Wb(11,"None"),Hm()()(),Fm(12,"tr")(13,"td",151)(14,"span",158),Wb(15,"None"),Hm()(),Bm(16,"td",152),Fm(17,"td",151)(18,"span",158),Wb(19,"None"),Hm()()(),Um()),2&e){const e=sb(3);Zu(7),V_("ngIf",e.card.REWARDS_INITIAL_BONUS_TOOLTIP),Zu(),V_("ngIf",e.card.REWARDS_INITIAL_BONUS_TOOLTIP),Zu(8),V_("innerHTML",e.card.REWARDS_INITIAL_BONUS,au)}}function oU(e,t){if(1&e){const e=Wm();Fm(0,"span",80),nb("onTap",function(){Ds(e);return ks(sb(5).RewardsRateTip(!0))}),Hm()}2&e&&V_("zing-no-touch",!0)}function aU(e,t){1&e&&Bm(0,"modal-popup",40,10),2&e&&V_("classes",Iy(1,AB))}function lU(e,t){if(1&e){const e=Wm();qm(0),Fm(1,"span",169),nb("onTap",function(t){Ds(e);return ks(sb(5).toggleShowMore(t))}),Wb(2),Hm(),Um()}if(2&e){const e=sb(5);Zu(),V_("zing-no-touch",!0),Zu(),Yb(" ",e.getEmptyValue(e.card.REWARDS_EARN_RATE,!0)," ")}}function cU(e,t){if(1&e&&(qm(0),Wb(1),Um()),2&e){const e=sb(5);Zu(),Yb(" ",e.getEmptyValue(e.card.REWARDS_EARN_RATE,!0)," ")}}function uU(e,t){if(1&e&&(qm(0),Fm(1,"div",168)(2,"div",166),Wb(3,"Rewards Rate "),Hf(4,oU,1,1,"span",78)(5,aU,2,2,"modal-popup",79),Hm(),Fm(6,"div",167),Hf(7,lU,3,2,"ng-container",21)(8,cU,2,1,"ng-container",21),Hm()(),Um()),2&e){const e=sb(4);Zu(4),V_("ngIf",e.card.REWARDS_RATE_TOOLTIP&&e.card.REWARDS_RATE_TOOLTIP.length),Zu(),V_("ngIf",e.card.REWARDS_RATE_TOOLTIP&&e.card.REWARDS_RATE_TOOLTIP.length),Zu(2),V_("ngIf",e.isLinkedRewardsRate(e.card)),Zu(),V_("ngIf",!e.isLinkedRewardsRate(e.card))}}function dU(e,t){if(1&e&&(qm(0),Fm(1,"div",165)(2,"div",166),Wb(3,"Annual Fee"),Hm(),Fm(4,"div",167),Wb(5),Hm()(),Fm(6,"div",168)(7,"div",166),Wb(8,"Monthly Fee"),Hm(),Fm(9,"div",167),Wb(10),Hm()(),Fm(11,"div",168)(12,"div",166),Wb(13,"One-Time Fees"),Hm(),Fm(14,"div",167),Wb(15),Hm()(),Fm(16,"div",168)(17,"div",166),Wb(18,"Regular APR"),Hm(),Fm(19,"div",167),Wb(20),Hm()(),Hf(21,uU,9,4,"ng-container",21),Um()),2&e){const e=sb(3);Zu(5),Gb(e.card.ANNUAL_FEE),Zu(5),Gb(e.getEmptyValue(e.card.MONTHLY_FEE)),Zu(5),Gb(e.getEmptyValue(e.card.ONE_TIME_SETUP_FEES,!0)),Zu(5),Gb(e.card.REGULAR_PURCHASE_APR),Zu(),V_("ngIf",e.card.REWARDS&&"N"!=e.card.REWARDS&&e.card.REWARDS_EARN_RATE)}}function hU(e,t){if(1&e){const e=Wm();Fm(0,"span",80),nb("onTap",function(){Ds(e);return ks(sb(5).RewardsRateTip(!0))}),Hm()}2&e&&V_("zing-no-touch",!0)}function pU(e,t){1&e&&Bm(0,"modal-popup",40,10),2&e&&V_("classes",Iy(1,AB))}function fU(e,t){if(1&e){const e=Wm();qm(0),Fm(1,"span",169),nb("onTap",function(t){Ds(e);return ks(sb(5).toggleShowMore(t))}),Wb(2),Hm(),Um()}if(2&e){const e=sb(5);Zu(),V_("zing-no-touch",!0),Zu(),Yb(" ",e.getEmptyValue(e.card.REWARDS_EARN_RATE,!0)," ")}}function gU(e,t){if(1&e&&(qm(0),Wb(1),Um()),2&e){const e=sb(5);Zu(),Yb(" ",e.getEmptyValue(e.card.REWARDS_EARN_RATE,!0)," ")}}function _U(e,t){if(1&e&&(qm(0),Fm(1,"div",168)(2,"div",166),Wb(3,"Regular APR"),Hm(),Fm(4,"div",167),Wb(5),Hm()(),Fm(6,"div",168)(7,"div",166),Wb(8," Rewards Rate "),Hf(9,hU,1,1,"span",78)(10,pU,2,2,"modal-popup",79),Hm(),Fm(11,"div",167),Hf(12,fU,3,2,"ng-container",21)(13,gU,2,1,"ng-container",21),Hm()(),Um()),2&e){const e=sb(4);Zu(5),Gb(e.card.REGULAR_PURCHASE_APR),Zu(4),V_("ngIf",e.card.REWARDS_RATE_TOOLTIP&&e.card.REWARDS_RATE_TOOLTIP.length),Zu(),V_("ngIf",e.card.REWARDS_RATE_TOOLTIP&&e.card.REWARDS_RATE_TOOLTIP.length),Zu(2),V_("ngIf",e.isLinkedRewardsRate(e.card)),Zu(),V_("ngIf",!e.isLinkedRewardsRate(e.card))}}function mU(e,t){if(1&e&&(Fm(0,"div",168)(1,"div",166),Wb(2,"Regular APR"),Hm(),Fm(3,"div",167),Wb(4),Hm()()),2&e){const e=sb(4);Zu(4),Gb(e.card.REGULAR_PURCHASE_APR)}}function vU(e,t){if(1&e&&(qm(0),Fm(1,"div",165)(2,"div",166),Wb(3,"Secured Card"),Hm(),Fm(4,"div",167),Wb(5),Hm()(),Fm(6,"div",168)(7,"div",166),Wb(8,"Annual Fee"),Hm(),Fm(9,"div",167),Wb(10),Hm()(),Fm(11,"div",168)(12,"div",166),Wb(13,"Monthly Fee"),Hm(),Fm(14,"div",167),Wb(15),Hm()(),Fm(16,"div",168)(17,"div",166),Wb(18,"One-Time Fees"),Hm(),Fm(19,"div",167),Wb(20),Hm()(),Hf(21,_U,14,5,"ng-container",33)(22,mU,5,1,"ng-template",null,11,Yy),Um()),2&e){const e=Sb(23),t=sb(3);Zu(5),Yb("Min Deposit of ",t.getEmptyValue(t.card.MIN_SECURITY_DEPOSIT),""),Zu(5),Gb(t.card.ANNUAL_FEE),Zu(5),Gb(t.getEmptyValue(t.card.MONTHLY_FEE)),Zu(5),Gb(t.getEmptyValue(t.card.ONE_TIME_SETUP_FEES,!0)),Zu(),V_("ngIf",t.card.REWARDS&&"N"!=t.card.REWARDS&&t.card.REWARDS_EARN_RATE)("ngIfElse",e)}}function bU(e,t){if(1&e&&(qm(0),Fm(1,"div",165)(2,"div",166),Wb(3,"Purchase intro APR"),Hm(),Fm(4,"div",167),Wb(5),Hm()(),Fm(6,"div",168)(7,"div",166),Wb(8,"Transfer intro APR"),Hm(),Bm(9,"div",170),Hm(),Fm(10,"div",168)(11,"div",166),Wb(12,"Regular APR"),Hm(),Fm(13,"div",167),Wb(14),Hm()(),Fm(15,"div",168)(16,"div",166),Wb(17,"Annual Fee"),Hm(),Fm(18,"div",167),Wb(19),Hm()(),Um()),2&e){const e=sb(3);Zu(5),Gb(e.getPurchaseIntroAPR(e.card)),Zu(4),V_("innerHTML",e.getTransferIntroAPR(e.card),au),Zu(5),Gb(e.card.REGULAR_PURCHASE_APR),Zu(5),Gb(e.card.ANNUAL_FEE)}}function yU(e,t){if(1&e){const e=Wm();Fm(0,"span",80),nb("onTap",function(){Ds(e);return ks(sb(4).RewardsRateTip(!0))}),Hm()}2&e&&V_("zing-no-touch",!0)}function wU(e,t){1&e&&Bm(0,"modal-popup",40,10),2&e&&V_("classes",Iy(1,AB))}function EU(e,t){if(1&e){const e=Wm();qm(0),Fm(1,"span",169),nb("onTap",function(t){Ds(e);return ks(sb(4).toggleShowMore(t))}),Wb(2),Hm(),Um()}if(2&e){const e=sb(4);Zu(),V_("zing-no-touch",!0),Zu(),Yb(" ",e.getEmptyValue(e.card.REWARDS_EARN_RATE,!0)," ")}}function TU(e,t){if(1&e&&(qm(0),Wb(1),Um()),2&e){const e=sb(4);Zu(),Yb(" ",e.getEmptyValue(e.card.REWARDS_EARN_RATE,!0)," ")}}function CU(e,t){if(1&e&&(qm(0),Fm(1,"div",168)(2,"div",166),Wb(3," Rewards Rate "),Hf(4,yU,1,1,"span",78)(5,wU,2,2,"modal-popup",79),Hm(),Fm(6,"div",167),Hf(7,EU,3,2,"ng-container",21)(8,TU,2,1,"ng-container",21),Hm()(),Um()),2&e){const e=sb(3);Zu(4),V_("ngIf",e.card.REWARDS_RATE_TOOLTIP&&e.card.REWARDS_RATE_TOOLTIP.length),Zu(),V_("ngIf",e.card.REWARDS_RATE_TOOLTIP&&e.card.REWARDS_RATE_TOOLTIP.length),Zu(2),V_("ngIf",e.isLinkedRewardsRate(e.card)),Zu(),V_("ngIf",!e.isLinkedRewardsRate(e.card))}}function IU(e,t){if(1&e){const e=Wm();Fm(0,"span",80),nb("onTap",function(){Ds(e);return ks(sb(4).BonusOfferTip(!0))}),Hm()}2&e&&V_("zing-no-touch",!0)}function SU(e,t){1&e&&Bm(0,"modal-popup",40,12),2&e&&V_("classes",Iy(1,AB))}function AU(e,t){if(1&e&&(Fm(0,"div",168)(1,"div",166),Wb(2," Bonus Offer "),Hf(3,IU,1,1,"span",78)(4,SU,2,2,"modal-popup",79),Hm(),Fm(5,"div",167)(6,"div",159),Bm(7,"span",76),Hm()()()),2&e){const e=sb(3);Zu(3),V_("ngIf",e.card.REWARDS_INITIAL_BONUS_TOOLTIP),Zu(),V_("ngIf",e.card.REWARDS_INITIAL_BONUS_TOOLTIP),Zu(3),V_("innerHTML",e.card.REWARDS_INITIAL_BONUS,au)}}function RU(e,t){if(1&e){const e=Wm();qm(0),Fm(1,"div",168)(2,"div",166),Wb(3," Credit Score "),Fm(4,"span",80),nb("onTap",function(){Ds(e);return ks(sb(3).MinCredtTip(4))}),Hm(),Bm(5,"modal-popup",40,13),Hm(),Fm(7,"div",167)(8,"div",159),Bm(9,"span",76),Hm()()(),Um()}if(2&e){const e=sb(3);Zu(4),V_("zing-no-touch",!0),Zu(),V_("classes",Iy(3,AB)),Zu(4),V_("innerHTML",e.card.MIN_CREDIT_REQUIRED,au)}}function xU(e,t){if(1&e&&(Fm(0,"div",147)(1,"table",148)(2,"tbody"),Hf(3,Aq,13,3,"ng-container",21)(4,Oq,36,11,"ng-container",33)(5,Fq,2,2,"ng-template",null,7,Yy)(7,Hq,12,3,"ng-container",21)(8,jq,19,10,"ng-container",33)(9,Yq,2,2,"ng-template",null,8,Yy)(11,Qq,12,3,"ng-container",21)(12,nU,21,20,"ng-container",21)(13,sU,20,3,"ng-container",21),Hm()(),Hf(14,dU,22,5,"ng-container",21)(15,vU,24,6,"ng-container",21)(16,bU,20,4,"ng-container",21)(17,CU,9,4,"ng-container",21)(18,AU,8,3,"div",149)(19,RU,10,4,"ng-container",21),Hm()),2&e){const e=Sb(6),t=Sb(10),n=sb(2);Zu(3),V_("ngIf",n.isSecuredCard(n.card)),Zu(),V_("ngIf",n.isSecuredCard(n.card)&&n.card.REWARDS&&"N"!=n.card.REWARDS&&n.card.REWARDS_EARN_RATE&&"None"!=n.card.REWARDS_EARN_RATE)("ngIfElse",e),Zu(3),V_("ngIf",n.isBadCard(n.card)&&!n.isSecuredCard(n.card)),Zu(),V_("ngIf",n.isBadCard(n.card)&&!n.isSecuredCard(n.card)&&n.card.REWARDS&&"N"!=n.card.REWARDS&&n.card.REWARDS_EARN_RATE&&"None"!=n.card.REWARDS_EARN_RATE)("ngIfElse",t),Zu(3),V_("ngIf",!n.isBadCard(n.card)),Zu(),V_("ngIf",!n.isBadCard(n.card)),Zu(),V_("ngIf",!n.isBadCard(n.card)&&n.card.REWARDS&&"N"!=n.card.REWARDS&&n.card.REWARDS_EARN_RATE&&n.card.REWARDS_INITIAL_BONUS),Zu(),V_("ngIf",!n.isSecuredCard(n.card)&&n.isBadCard(n.card)),Zu(),V_("ngIf",n.isSecuredCard(n.card)),Zu(),V_("ngIf",!n.isBadCard(n.card)),Zu(),V_("ngIf",!n.isBadCard(n.card)&&n.card.REWARDS&&"N"!=n.card.REWARDS&&n.card.REWARDS_EARN_RATE),Zu(),V_("ngIf",n.card.REWARDS_INITIAL_BONUS),Zu(),V_("ngIf",n.card.MIN_CREDIT_REQUIRED&&""!=n.card.MIN_CREDIT_REQUIRED)}}function DU(e,t){if(1&e){const e=Wm();Fm(0,"span",80),nb("onTap",function(){Ds(e);return ks(sb(5).BonusOfferTip())}),Hm()}2&e&&V_("zing-no-touch",!0)}function kU(e,t){if(1&e){const e=Wm();Fm(0,"span",85),nb("onTap",function(){Ds(e);return ks(sb(5).MinCredtTip())}),Hm()}2&e&&V_("zing-no-touch",!0)}function OU(e,t){1&e&&Bm(0,"modal-popup",40,2),2&e&&V_("classes",Iy(1,AB))}function NU(e,t){1&e&&Bm(0,"modal-popup",40,9),2&e&&V_("classes",Iy(1,AB))}function LU(e,t){if(1&e){const e=Wm();Fm(0,"span",80),nb("onTap",function(){Ds(e);return ks(sb(5).RewardsRateTip())}),Hm()}2&e&&V_("zing-no-touch",!0)}function MU(e,t){1&e&&Bm(0,"modal-popup",40,5),2&e&&V_("classes",Iy(1,AB))}function PU(e,t){if(1&e&&Bm(0,"div",170),2&e){V_("innerHTML",sb(2).$implicit.value,au)}}function FU(e,t){if(1&e&&(Fm(0,"div",160),Bm(1,"i",161)(2,"span",76),Hm()),2&e){const e=sb(3).$implicit;V_("ngClass",sb(3).minCreditCls),Zu(2),V_("innerHTML",e.value,au)}}function HU(e,t){if(1&e&&(Fm(0,"div",159),Bm(1,"span",76),Hm()),2&e){const e=sb(6);Zu(),V_("innerHTML",e.card.MIN_CREDIT_REQUIRED,au)}}function BU(e,t){if(1&e&&(Fm(0,"div",167),Hf(1,FU,3,2,"div",156)(2,HU,2,1,"div",155),Hm()),2&e){const e=sb(5);Zu(),V_("ngIf",19!==e.pageVersion),Zu(),V_("ngIf",19===e.pageVersion)}}function zU(e,t){if(1&e){const e=Wm();qm(0),Fm(1,"span",179),nb("onTap",function(t){Ds(e);return ks(sb(6).toggleShowMore(t))}),Hm(),Um()}if(2&e){const e=sb(3).$implicit;Zu(),V_("zing-no-touch",!0)("innerHTML",e.value,au)}}function qU(e,t){if(1&e&&(qm(0),Wb(1),Um()),2&e){const e=sb(3).$implicit;Zu(),Gb(e.value)}}function UU(e,t){if(1&e){const e=Wm();Fm(0,"span",80),nb("onTap",function(){Ds(e);return ks(sb(7).BonusOfferTip())}),Hm()}2&e&&V_("zing-no-touch",!0)}function jU(e,t){1&e&&Bm(0,"modal-popup",40,9),2&e&&V_("classes",Iy(1,AB))}function VU(e,t){if(1&e&&(Fm(0,"div",180)(1,"div",181),Wb(2),Hf(3,UU,1,1,"span",78)(4,jU,2,2,"modal-popup",79),Hm(),Bm(5,"div",182),Hm()),2&e){const e=sb(6);Zu(2),Yb("",e.ccFields[5].label," "),Zu(),V_("ngIf",e.card.REWARDS_INITIAL_BONUS_TOOLTIP),Zu(),V_("ngIf",e.card.REWARDS_INITIAL_BONUS_TOOLTIP),Zu(),V_("innerHTML",e.ccFields[5].value,au)}}function WU(e,t){if(1&e&&(Fm(0,"div",167),Hf(1,zU,2,2,"ng-container",21)(2,qU,2,1,"ng-container",21)(3,VU,6,4,"div",178),Hm()),2&e){const e=sb(5);Zu(),V_("ngIf",e.linkedRewards),Zu(),V_("ngIf",!e.linkedRewards),Zu(),V_("ngIf","size-7"==e.ccFieldsClass&&e.ccFields[5]&&"Bonus Offer"==e.ccFields[5].label)}}function $U(e,t){if(1&e&&(Fm(0,"div",180)(1,"div",181),Wb(2),Hm(),Bm(3,"div",183),Hm()),2&e){const e=sb(6);Zu(2),Gb(e.ccFields[5].label),Zu(),V_("innerHTML",e.ccFields[5].value,au)}}function GU(e,t){if(1&e&&(Fm(0,"div",167),Wb(1),Hf(2,$U,4,2,"div",178),Hm()),2&e){const e=sb(2).$implicit,t=sb(3);Zu(),Yb(" ",e.value," "),Zu(),V_("ngIf","size-7"==t.ccFieldsClass&&t.ccFields[5]&&"Monthly Fee"==t.ccFields[5].label)}}function YU(e,t){if(1&e&&(Fm(0,"div",174)(1,"div",166),Wb(2),Hf(3,DU,1,1,"span",78)(4,kU,1,1,"span",175)(5,OU,2,2,"modal-popup",79)(6,NU,2,2,"modal-popup",79)(7,LU,1,1,"span",78)(8,MU,2,2,"modal-popup",79),Hm(),Hf(9,PU,1,1,"div",176)(10,BU,3,2,"div",177)(11,WU,4,3,"div",177)(12,GU,3,2,"div",177),Hm()),2&e){const e=sb().$implicit,t=sb(3);Zu(2),Yb("","Min Credit Needed"!=e.label?e.label:19==t.pageVersion?"Credit Score":"Min Credit Needed"," "),Zu(),V_("ngIf","Bonus Offer"==e.label&&t.card.REWARDS_INITIAL_BONUS_TOOLTIP),Zu(),V_("ngIf","Min Credit Needed"===e.label&&19==t.pageVersion),Zu(),V_("ngIf","Min Credit Needed"===e.label&&19==t.pageVersion),Zu(),V_("ngIf","Bonus Offer"==e.label&&t.card.REWARDS_INITIAL_BONUS_TOOLTIP),Zu(),V_("ngIf","Rewards Rate"==e.label&&t.card.REWARDS_RATE_TOOLTIP&&t.card.REWARDS_RATE_TOOLTIP.length),Zu(),V_("ngIf","Rewards Rate"==e.label&&t.card.REWARDS_RATE_TOOLTIP&&t.card.REWARDS_RATE_TOOLTIP.length),Zu(),V_("ngIf","Min Credit Needed"!=e.label&&"Rewards Rate"!=e.label&&"Annual Fee"!=e.label),Zu(),V_("ngIf","Min Credit Needed"==e.label),Zu(),V_("ngIf","Rewards Rate"==e.label),Zu(),V_("ngIf","Annual Fee"==e.label)}}function QU(e,t){if(1&e&&(qm(0),Hf(1,YU,13,11,"div",173),Um()),2&e){const e=t.$implicit,n=sb(3);Zu(),V_("ngIf","size-7"!=n.ccFieldsClass||"size-7"==n.ccFieldsClass&&"Bonus Offer"!=e.label&&"Monthly Fee"!=e.label)}}function ZU(e,t){if(1&e&&(Fm(0,"div",171),Hf(1,QU,2,1,"ng-container",172),Hm()),2&e){const e=sb(2);V_("ngClass",e.ccFieldsClass),Zu(),V_("ngForOf",e.ccFields)}}function KU(e,t){1&e&&Bm(0,"modal-popup",187,13),2&e&&V_("classes",Iy(1,AB))}function XU(e,t){if(1&e){const e=Wm();Fm(0,"div",166),Wb(1," Credit Score "),Fm(2,"span",80),nb("onTap",function(){Ds(e);return ks(sb(4).MinCredtTip(4))}),Hm(),Hf(3,KU,2,2,"modal-popup",186),Hm()}if(2&e){const e=sb().$implicit;Zu(2),V_("zing-no-touch",!0),Zu(),V_("ngIf","Min Credit Needed"==e.label)}}function JU(e,t){if(1&e){const e=Wm();Fm(0,"span",80),nb("onTap",function(){Ds(e);return ks(sb(5).BonusOfferTip(!0))}),Hm()}2&e&&V_("zing-no-touch",!0)}function ej(e,t){1&e&&Bm(0,"modal-popup",40,12),2&e&&V_("classes",Iy(1,AB))}function tj(e,t){if(1&e){const e=Wm();Fm(0,"span",80),nb("onTap",function(){Ds(e);return ks(sb(5).RewardsRateTip(!0))}),Hm()}2&e&&V_("zing-no-touch",!0)}function nj(e,t){1&e&&Bm(0,"modal-popup",40,10),2&e&&V_("classes",Iy(1,AB))}function ij(e,t){if(1&e&&(Fm(0,"div",166),Wb(1),Hf(2,JU,1,1,"span",78)(3,ej,2,2,"modal-popup",79)(4,tj,1,1,"span",78)(5,nj,2,2,"modal-popup",79),Hm()),2&e){const e=sb().$implicit,t=sb(3);Zu(),Yb("",e.label," "),Zu(),V_("ngIf","Bonus Offer"==e.label&&t.card.REWARDS_INITIAL_BONUS_TOOLTIP),Zu(),V_("ngIf","Bonus Offer"==e.label&&t.card.REWARDS_INITIAL_BONUS_TOOLTIP),Zu(),V_("ngIf","Rewards Rate"==e.label&&t.card.REWARDS_RATE_TOOLTIP&&t.card.REWARDS_RATE_TOOLTIP.length),Zu(),V_("ngIf","Rewards Rate"==e.label&&t.card.REWARDS_RATE_TOOLTIP&&t.card.REWARDS_RATE_TOOLTIP.length)}}function rj(e,t){if(1&e&&Bm(0,"div",170),2&e){V_("innerHTML",sb().$implicit.value,au)}}function sj(e,t){if(1&e&&(Fm(0,"div",167)(1,"div",159),Bm(2,"span",76),Hm()()),2&e){const e=sb(4);Zu(2),V_("innerHTML",e.card.MIN_CREDIT_REQUIRED,au)}}function oj(e,t){if(1&e){const e=Wm();qm(0),Fm(1,"span",179),nb("onTap",function(t){Ds(e);return ks(sb(5).toggleShowMore(t))}),Hm(),Um()}if(2&e){const e=sb(2).$implicit;Zu(),V_("zing-no-touch",!0)("innerHTML",e.value,au)}}function aj(e,t){if(1&e&&(qm(0),Wb(1),Um()),2&e){const e=sb(2).$implicit;Zu(),Gb(e.value)}}function lj(e,t){if(1&e&&(Fm(0,"div",167),Hf(1,oj,2,2,"ng-container",21)(2,aj,2,1,"ng-container",21),Hm()),2&e){const e=sb(4);Zu(),V_("ngIf",e.linkedRewards),Zu(),V_("ngIf",!e.linkedRewards)}}function cj(e,t){if(1&e&&(qm(0),Fm(1,"div",168),Hf(2,XU,4,2,"div",185)(3,ij,6,5,"div",185)(4,rj,1,1,"div",176)(5,sj,3,1,"div",177)(6,lj,3,2,"div",177),Hm(),Um()),2&e){const e=t.$implicit,n=sb(3);Zu(2),V_("ngIf","Min Credit Needed"===e.label&&n.card.MIN_CREDIT_REQUIRED),Zu(),V_("ngIf","Min Credit Needed"!==e.label),Zu(),V_("ngIf","Min Credit Needed"!=e.label&&"Rewards Rate"!=e.label),Zu(),V_("ngIf","Min Credit Needed"==e.label&&n.card.MIN_CREDIT_REQUIRED),Zu(),V_("ngIf","Rewards Rate"==e.label)}}function uj(e,t){if(1&e&&(Fm(0,"div",184),Hf(1,cj,7,5,"ng-container",172),Hm()),2&e){const e=sb(2);V_("ngClass",e.ccFieldsClass),Zu(),V_("ngForOf",e.ccFields)}}function dj(e,t){1&e&&(Fm(0,"th",150),Wb(1,"Monthly Fee"),Hm())}function hj(e,t){1&e&&(Fm(0,"th",150),Wb(1,"Minimum Deposit"),Hm())}function pj(e,t){if(1&e&&(Fm(0,"td",151),Wb(1),Hm()),2&e){const e=sb(4);Zu(),Gb(e.card.MONTHLY_FEE||"N/A")}}function fj(e,t){if(1&e&&(Fm(0,"td",151),Wb(1),Hm()),2&e){const e=sb(4);Zu(),Gb(e.card.MIN_TO_OPEN||"N/A")}}function gj(e,t){if(1&e&&(Fm(0,"span",193),Wb(1),Hm()),2&e){const e=t.$implicit;Zu(),Yb(" ",e," ")}}function _j(e,t){if(1&e&&(Fm(0,"div",191),Hf(1,gj,2,1,"span",192),Hm()),2&e){const e=sb(4);Zu(),V_("ngForOf",e.card.tags)}}function mj(e,t){if(1&e&&(qm(0),Fm(1,"table",148)(2,"tbody")(3,"tr")(4,"th",150),Wb(5,"APY"),Hm(),Hf(6,dj,2,0,"th",188)(7,hj,2,0,"th",188),Fm(8,"th",150),Wb(9,"Signup Bonus"),Hm()(),Fm(10,"tr")(11,"td",151),Wb(12),Hm(),Hf(13,pj,2,1,"td",189)(14,fj,2,1,"td",189),Fm(15,"td",151),Wb(16),Hm()()()(),Fm(17,"div",165)(18,"div",166),Wb(19,"APY"),Hm(),Fm(20,"div",167),Wb(21),Hm()(),Fm(22,"div",168)(23,"div",166),Wb(24,"Monthly Fee"),Hm(),Fm(25,"div",167),Wb(26),Hm()(),Hf(27,_j,2,1,"div",190),Um()),2&e){const e=sb(3);Zu(6),V_("ngIf",!e.isCds),Zu(),V_("ngIf",e.isCds),Zu(5),Gb(e.card.APY||"N/A"),Zu(),V_("ngIf",!e.isCds),Zu(),V_("ngIf",e.isCds),Zu(2),Gb(e.card.SIGNUP_BONUS||"None"),Zu(5),Gb(e.card.APY||"N/A"),Zu(5),Gb(e.card.MONTHLY_FEE||"N/A"),Zu(),V_("ngIf",e.card.tags&&e.card.tags.length)}}function vj(e,t){if(1&e&&(qm(0),Fm(1,"table",148)(2,"tbody")(3,"tr")(4,"th",150),Wb(5,"Monthly Fee"),Hm(),Fm(6,"th",150),Wb(7,"Activation Fee"),Hm(),Fm(8,"th",150),Wb(9,"Transaction Fee"),Hm()(),Fm(10,"tr")(11,"td",151),Wb(12),Hm(),Fm(13,"td",151),Wb(14),Hm(),Fm(15,"td",151),Wb(16),Bm(17,"br"),Wb(18),Hm()()()(),Fm(19,"div",165)(20,"div",166),Wb(21,"Monthly Fee"),Hm(),Fm(22,"div",167),Wb(23),Hm()(),Fm(24,"div",168)(25,"div",166),Wb(26,"Activation Fee"),Hm(),Fm(27,"div",167),Wb(28),Hm()(),Fm(29,"div",168)(30,"div",166),Wb(31,"Transaction Fee"),Hm(),Fm(32,"div",167),Wb(33),Bm(34,"br"),Wb(35),Hm()(),Um()),2&e){const e=sb(3);Zu(12),Gb(e.card.MONTHLY_FEE||"N/A"),Zu(2),Gb(e.card.ACCOUNT_FEE||"N/A"),Zu(2),Yb("Signature: ",e.card.SIGNATURE_TX_FEE||"N/A",""),Zu(2),Yb("ATM: ",e.card.ATM_TX_FEE||"N/A",""),Zu(5),Gb(e.card.MONTHLY_FEE||"N/A"),Zu(5),Gb(e.card.ACCOUNT_FEE||"N/A"),Zu(5),Yb(" Signature: ",e.card.SIGNATURE_TX_FEE||"N/A",""),Zu(2),Yb("ATM: ",e.card.ATM_TX_FEE||"N/A"," ")}}function bj(e,t){if(1&e&&(Fm(0,"p",197),Wb(1),Hm()),2&e){const e=sb(4);Zu(),Yb(" ",e.card.APR_ADDITIONAL_INFO," ")}}function yj(e,t){1&e&&(Fm(0,"p",197),Wb(1,"of loan amount"),Hm())}function wj(e,t){if(1&e&&(Fm(0,"div",159),Bm(1,"span",76),Hm()),2&e){const e=sb(4);Zu(),V_("innerHTML",e.card.MIN_CREDIT_REQUIRED,au)}}function Ej(e,t){if(1&e&&(Fm(0,"div",160),Bm(1,"i",161)(2,"span",76),Hm()),2&e){const e=sb(4);V_("ngClass",e.minCreditCls),Zu(2),V_("innerHTML",e.card.MIN_CREDIT_REQUIRED_LAST,au)}}function Tj(e,t){if(1&e&&(qm(0),Bm(1,"br"),Fm(2,"span",197),Wb(3),Hm(),Um()),2&e){const e=sb(4);Zu(3),Yb(" ",e.card.APR_ADDITIONAL_INFO," ")}}function Cj(e,t){1&e&&(Fm(0,"p"),Wb(1,"of loan amount"),Hm())}function Ij(e,t){if(1&e){const e=Wm();Fm(0,"span",80),nb("onTap",function(){Ds(e);return ks(sb(5).BonusOfferTip(!0))}),Hm()}2&e&&V_("zing-no-touch",!0)}function Sj(e,t){1&e&&Bm(0,"modal-popup",40,12),2&e&&V_("classes",Iy(1,AB))}function Aj(e,t){if(1&e&&(Fm(0,"div",168)(1,"div",166),Wb(2," Bonus Offer "),Hf(3,Ij,1,1,"span",78)(4,Sj,2,2,"modal-popup",79),Hm(),Fm(5,"div",167)(6,"div",159),Bm(7,"span",76),Hm()()()),2&e){const e=sb(4);Zu(3),V_("ngIf",e.card.REWARDS_INITIAL_BONUS_TOOLTIP),Zu(),V_("ngIf",e.card.REWARDS_INITIAL_BONUS_TOOLTIP),Zu(3),V_("innerHTML",e.card.REWARDS_INITIAL_BONUS,au)}}function Rj(e,t){if(1&e){const e=Wm();Fm(0,"div",168)(1,"div",166),Wb(2," Credit Score "),Fm(3,"span",80),nb("onTap",function(){Ds(e);return ks(sb(4).MinCredtTip(4))}),Hm(),Bm(4,"modal-popup",187,13),Hm(),Fm(6,"div",167)(7,"div",159),Bm(8,"span",76),Hm()()()}if(2&e){const e=sb(4);Zu(3),V_("zing-no-touch",!0),Zu(),V_("classes",Iy(3,HB)),Zu(4),V_("innerHTML",e.card.MIN_CREDIT_REQUIRED,au)}}function xj(e,t){if(1&e){const e=Wm();qm(0),Fm(1,"table",194)(2,"tbody")(3,"tr")(4,"th",150),Wb(5,"APR"),Hm(),Fm(6,"th",150),Wb(7,"Origination Fee"),Hm(),Fm(8,"th",150),Wb(9,"Term"),Hm(),Fm(10,"th",195),Wb(11),Fm(12,"span",80),nb("onTap",function(){Ds(e);return ks(sb(3).MinCredtTip(2))}),Hm(),Bm(13,"modal-popup",40,14),Hm()(),Fm(15,"tr")(16,"td",151),Wb(17),Hf(18,bj,2,1,"p",196),Hm(),Fm(19,"td",151),Wb(20),Hf(21,yj,2,0,"p",196),Hm(),Fm(22,"td",151),Wb(23),Hm(),Fm(24,"td",151),Hf(25,wj,2,1,"div",155)(26,Ej,3,2,"div",156),Hm()()()(),Fm(27,"div",165)(28,"div",166),Wb(29,"APR"),Hm(),Fm(30,"div",167),Wb(31),Hf(32,Tj,4,1,"ng-container",21),Hm()(),Fm(33,"div",168)(34,"div",166),Wb(35,"Origination Fee"),Hm(),Fm(36,"div",167),Wb(37),Hf(38,Cj,2,0,"p",21),Hm()(),Fm(39,"div",168)(40,"div",166),Wb(41,"Term"),Hm(),Fm(42,"div",167),Wb(43),Hm()(),Hf(44,Aj,8,3,"div",149)(45,Rj,9,4,"div",149),Um()}if(2&e){const e=sb(3);Zu(11),Yb(" ",19==e.pageVersion?"Credit Score":"Min Credit Needed"," "),Zu(),V_("zing-no-touch",!0),Zu(),V_("classes",Iy(17,HB)),Zu(4),Gb(e.card.APR||"N/A"),Zu(),V_("ngIf",e.card.APR_ADDITIONAL_INFO),Zu(2),Gb(e.card.ORIG_FEE||"N/A"),Zu(),V_("ngIf",e.card.ORIG_FEE&&e.card.MIN_TO_OPEN),Zu(2),Gb(e.card.TERM||"None"),Zu(2),V_("ngIf",19===e.pageVersion),Zu(),V_("ngIf",19!==e.pageVersion),Zu(5),Yb("",e.card.APR||"N/A"," "),Zu(),V_("ngIf",e.card.APR_ADDITIONAL_INFO),Zu(5),Yb(" ",e.card.ORIG_FEE||"N/A",""),Zu(),V_("ngIf",e.card.ORIG_FEE&&e.card.MIN_TO_OPEN),Zu(5),Yb(" ",e.card.TERM||"None"," "),Zu(),V_("ngIf",e.card.REWARDS_INITIAL_BONUS),Zu(),V_("ngIf",e.card.MIN_CREDIT_REQUIRED&&""!==e.card.MIN_CREDIT_REQUIRED)}}function Dj(e,t){if(1&e&&(Fm(0,"div",147),Hf(1,mj,28,9,"ng-container",21)(2,vj,36,8,"ng-container",21)(3,xj,46,18,"ng-container",21),Hm()),2&e){const e=sb(2);Zu(),V_("ngIf",Iy(3,MB).indexOf(e.pdtType)>=0),Zu(),V_("ngIf",Iy(4,PB).indexOf(e.pdtType)>=0),Zu(),V_("ngIf",Iy(5,FB).indexOf(e.pdtType)>=0)}}function kj(e,t){if(1&e){const e=Wm();Fm(0,"div",199)(1,"div",84),Wb(2,"Editors’ Thoughts"),Hm(),Fm(3,"p",200),nb("hasExpandButton",function(t){Ds(e);return ks(sb(3).checkExpandButton(t))}),Hm()()}if(2&e){const e=sb(3);V_("ngClass",Sy(7,BB,"inst"===e.pdtType)),Zu(3),V_("ng-truncate",e.card.EDITORS_NOTES)("zing-url-container",!0)("breakwords",Iy(9,zB))("expand-content",e.fullReview)("expand-button","")("collapse-button","")}}function Oj(e,t){if(1&e&&(qm(0),Hf(1,kj,4,10,"div",198),Um()),2&e){const e=sb(2);Zu(),V_("ngIf",e.card.EDITORS_NOTES&&""!=e.card.EDITORS_NOTES)}}function Nj(e,t){if(1&e&&Bm(0,"p",202),2&e){V_("cleanHTML",sb(4).card.EDITORS_NOTES)}}function Lj(e,t){if(1&e&&(Fm(0,"div",199)(1,"div",84),Wb(2,"Editors’ Thoughts"),Hm(),Hf(3,Nj,1,1,"p",201),Hm()),2&e){const e=sb(3);V_("ngClass",Sy(2,BB,"inst"===e.pdtType)),Zu(3),V_("ngIf",e.card.COLLAPSE_COMMENT)}}function Mj(e,t){if(1&e&&(qm(0),Hf(1,Lj,4,4,"div",198),Um()),2&e){const e=sb(2);Zu(),V_("ngIf",e.card.EDITORS_NOTES&&""!=e.card.EDITORS_NOTES)}}function Pj(e,t){if(1&e){const e=Wm();Fm(0,"span",206),nb("onTap",function(t){Ds(e);return ks(sb(4).toggleShowMore(t))}),Wb(1),Bm(2,"i",207),Hm()}if(2&e){const e=sb(4);V_("zing-no-touch",!0),Zu(),Yb(" ",e.pdtType?"Show More":e.card.EDITORS_NOTES&&""!=e.card.EDITORS_NOTES&&e.card.COLLAPSE_COMMENT?"Editor's Thoughts & More Details":"Pros, Cons & More Details"," ")}}function Fj(e,t){if(1&e&&(qm(0),Hf(1,Pj,3,2,"span",205),Um()),2&e){const e=sb(3);Zu(),V_("ngIf",!e.show_more)}}function Hj(e,t){1&e&&Bm(0,"span",208)}function Bj(e,t){if(1&e){const e=Wm();Fm(0,"div",209)(1,"ng-checkbox",210),nb("checkedChange",function(t){Ds(e);return ks(sb(3).compareToggled(t))}),Hm()()}if(2&e){const e=sb(3);Zu(),V_("checked",e.comparing)}}function zj(e,t){if(1&e&&(Fm(0,"div",203),Hf(1,Fj,2,1,"ng-container",33)(2,Hj,1,0,"ng-template",null,15,Yy)(4,Bj,2,1,"div",204),Hm()),2&e){const e=Sb(3),t=sb(2);V_("ngClass",Sy(4,qB,t.show_compare_checkbox)),Zu(),V_("ngIf","inst"!==t.pdtType&&t.hasMoreCardDetails)("ngIfElse",e),Zu(3),V_("ngIf",t.show_compare_checkbox&&!(t.show_more&&null!=t.card&&t.card.DISCLAIMER)&&(!t.show_more||!(t.proList.length>0||t.conList.length>0||t.getRewardsList(t.card).length>0||t.detailsList.length>0||t.rateInfos.length>0&&("chkg"===t.pdtType||"svg"===t.pdtType))))}}function qj(e,t){if(1&e&&Bm(0,"li",223),2&e){V_("cleanHTML",t.$implicit)}}function Uj(e,t){if(1&e&&(Fm(0,"div",218)(1,"div",219),Bm(2,"span",220),Wb(3,"Pros "),Hm(),Fm(4,"ul",221),Hf(5,qj,1,1,"li",222),Hm()()),2&e){const e=sb(4);Zu(5),V_("ngForOf",e.proList)}}function jj(e,t){if(1&e&&Bm(0,"li",223),2&e){V_("cleanHTML",t.$implicit)}}function Vj(e,t){if(1&e&&(Fm(0,"div",224)(1,"div",225),Bm(2,"span",226),Wb(3,"Cons "),Hm(),Fm(4,"ul",227),Hf(5,jj,1,1,"li",222),Hm()()),2&e){const e=sb(4);Zu(5),V_("ngForOf",e.conList)}}function Wj(e,t){if(1&e&&(Fm(0,"div",215),Hf(1,Uj,6,1,"div",216)(2,Vj,6,1,"div",217),Hm()),2&e){const e=sb(3);Zu(),V_("ngIf",e.proList.length>0),Zu(),V_("ngIf",e.conList.length>0)}}function $j(e,t){if(1&e&&Bm(0,"li",76),2&e){V_("innerHTML",t.$implicit,au)}}function Gj(e,t){if(1&e&&(Fm(0,"div",228)(1,"div",84),Wb(2,"Rewards Details"),Hm(),Fm(3,"ul"),Hf(4,$j,1,1,"li",44),Hm()()),2&e){const e=sb(3);Zu(4),V_("ngForOf",e.rewardsList)("ngForTrackBy",e.trackByFn)}}function Yj(e,t){if(1&e&&(Fm(0,"tr")(1,"td",232),Wb(2),Hm(),Fm(3,"td",232),Wb(4),Hm()()),2&e){const e=t.$implicit;Zu(2),Gb(e.range),Zu(2),Gb(e.apy)}}function Qj(e,t){if(1&e&&(Fm(0,"div",228)(1,"div",84),Wb(2,"Interest Rate Breakdown"),Hm(),Fm(3,"table",229)(4,"thead")(5,"tr")(6,"th",230),Wb(7,"Balance"),Hm(),Fm(8,"th",231),Wb(9,"APY"),Hm()()(),Fm(10,"tbody"),Hf(11,Yj,5,2,"tr",172),Hm()()()),2&e){const e=sb(3);Zu(11),V_("ngForOf",e.rateInfos)}}function Zj(e,t){if(1&e&&Bm(0,"li",76),2&e){V_("innerHTML",t.$implicit,au)}}function Kj(e,t){if(1&e&&(Fm(0,"li",234)(1,"span")(2,"a",235),Wb(3,"More Details & Reviews About "),Bm(4,"span",70),Hm()()()),2&e){const e=sb(4);Zu(2),V_("zing-url",!0)("href",e.detailsPageUrl,cu),Zu(2),V_("title",e.card.NAME)("innerHtml",e.card.NAME,au)}}function Xj(e,t){if(1&e&&(Fm(0,"div",228)(1,"div",84),Wb(2),Hm(),Fm(3,"ul"),Hf(4,Zj,1,1,"li",44)(5,Kj,5,4,"li",233),Hm()()),2&e){const e=sb(3);Zu(2),Yb("Additional ",e.pdtType?"Details":"Info",""),Zu(2),V_("ngForOf",e.detailsList)("ngForTrackBy",e.trackByFn),Zu(),V_("ngIf","prsn"!==e.pdtType&&"svg"!=e.pdtType)}}function Jj(e,t){if(1&e&&(Fm(0,"div",211),Hf(1,Wj,3,2,"div",212)(2,Gj,5,2,"div",213)(3,Qj,12,1,"div",213)(4,Xj,6,4,"div",213),Fm(5,"div",214),Bm(6,"p",76),Hm()()),2&e){const e=sb(2);Zu(),V_("ngIf",e.proList.length>0||e.conList.length>0),Zu(),V_("ngIf",e.rewardsList.length>0&&e.card.REWARDS&&"N"!=e.card.REWARDS&&e.show_more),Zu(),V_("ngIf",e.rateInfos.length&&("chkg"===e.pdtType||"svg"===e.pdtType)&&e.show_more),Zu(),V_("ngIf",e.detailsList.length>0&&e.show_more),Zu(),V_("ngClass",Sy(6,UB,e.show_more&&e.card.DISCLAIMER)),Zu(),V_("innerHTML",e.card.DISCLAIMER,au)}}function eV(e,t){if(1&e){const e=Wm();Fm(0,"span",206),nb("onTap",function(t){Ds(e);return ks(sb(4).toggleShowMore(t))}),Wb(1),Bm(2,"i",237),Hm()}if(2&e){const e=sb(4);V_("zing-no-touch",!0),Zu(),Yb(" ",e.pdtType||e.card.EDITORS_NOTES&&""!=e.card.EDITORS_NOTES&&e.card.COLLAPSE_COMMENT?"Show Less":"Hide Card Details"," ")}}function tV(e,t){if(1&e&&(qm(0),Hf(1,eV,3,2,"span",205),Um()),2&e){const e=sb(3);Zu(),V_("ngIf",e.show_more)}}function nV(e,t){1&e&&Bm(0,"span",208)}function iV(e,t){if(1&e){const e=Wm();Fm(0,"div",238)(1,"ng-checkbox",210),nb("checkedChange",function(t){Ds(e);return ks(sb(3).compareToggled(t))}),Hm()()}if(2&e){const e=sb(3);Zu(),V_("checked",e.comparing)}}function rV(e,t){if(1&e&&(Fm(0,"div",203),Hf(1,tV,2,1,"ng-container",33)(2,nV,1,0,"ng-template",null,15,Yy)(4,iV,2,1,"div",236),Hm()),2&e){const e=Sb(3),t=sb(2);V_("ngClass",Ay(4,jB,t.show_more,t.show_compare_checkbox)),Zu(),V_("ngIf","inst"!==t.pdtType&&t.hasMoreCardDetails)("ngIfElse",e),Zu(3),V_("ngIf",t.show_compare_checkbox&&t.show_more)}}function sV(e,t){if(1&e){const e=Wm();Fm(0,"div",241),nb("onTap",function(t){Ds(e);return ks(sb(3).toggleShowMore(t))}),Fm(1,"span",242),Wb(2),Bm(3,"i"),Hm()()}if(2&e){const e=sb(3);Zu(2),Yb(" ",e.buttonText," "),Zu(),Z_(e.buttonIconClass)}}function oV(e,t){1&e&&Bm(0,"span",208)}function aV(e,t){if(1&e){const e=Wm();Fm(0,"div",238)(1,"ng-checkbox",210),nb("checkedChange",function(t){Ds(e);return ks(sb(3).compareToggled(t))}),Hm()()}if(2&e){const e=sb(3);Zu(),V_("checked",e.comparing)}}function lV(e,t){if(1&e&&(Fm(0,"div",239),Hf(1,sV,4,3,"div",240)(2,oV,1,0,"ng-template",null,15,Yy)(4,aV,2,1,"div",236),Hm()),2&e){const e=Sb(3),t=sb(2);V_("ngClass",Ay(4,VB,t.show_compare_checkbox,!t.show_more&&!t.card.EDITORS_NOTES)),Zu(),V_("ngIf",t.card.EDITORS_NOTES&&"inst"===t.pdtType||t.hasMoreCardDetails)("ngIfElse",e),Zu(3),V_("ngIf",t.show_compare_checkbox)}}function cV(e,t){if(1&e){const e=Wm();Fm(0,"div",91),nb("scrolled",function(t){Ds(e);return ks(sb().scrolledDone(t))})("adViewed",function(t){Ds(e);return ks(sb().AdView(t))}),Bm(1,"meta",23)(2,"meta",23)(3,"meta",23),Hf(4,qz,2,1,"div",21),Fm(5,"div",92)(6,"div",93),Hf(7,Uz,1,1,"h2",94),Fm(8,"div",95),Hf(9,$z,3,2,"ng-container",21),Hm()(),Fm(10,"div",96)(11,"div",97)(12,"div",98),Bm(13,"img",99,6),Hm(),Bm(15,"meta",23),Hm(),Fm(16,"div",100)(17,"div",101),Hf(18,Yz,4,5,"h3",102)(19,Qz,1,2,"h3",103),Hm(),Fm(20,"div",26)(21,"div",27),Hf(22,Zz,1,1,"span",28)(23,Jz,3,2,"ng-container",21)(24,eq,4,2,"ng-container",21),Hm()(),Hf(25,nq,2,1,"ng-container",21)(26,sq,7,3,"div",104)(27,hq,3,2,"ng-container",21),Hm(),Hf(28,bq,3,2,"ng-container",21)(29,Tq,4,2,"div",105)(30,Cq,4,2,"div",105),Hm()(),Hf(31,Sq,4,1,"div",106)(32,xU,20,15,"div",107)(33,ZU,2,2,"div",108)(34,uj,2,2,"div",109)(35,Dj,4,6,"div",107),Fm(36,"div",110),Hf(37,Oj,2,1,"ng-container",21)(38,Mj,2,1,"ng-container",21)(39,zj,5,6,"div",111)(40,Jj,7,8,"div",112)(41,rV,5,7,"div",111)(42,lV,5,7,"div",113),Hm()()}if(2&e){const e=sb();V_("scroll-to",e.scrolled)("zenspeed",300)("ad-id",e.card.ID)("trigger-ratio",.5)("referrer-url",e.referrerUrl)("click-url",e.getRedirUrl())("ad-pixel-recheck",e.adviewRecheck)("adview-section",e.adviewSection)("adview-totals",e.adviewTotals)("adview-position",e.adviewPosition)("ng-attribute",Ry(62,wB,Iy(58,vB),Iy(59,bB),Sy(60,yB,"http://schema.org/"+(e.isCreditCard?"CreditCard":"Product"))))("ng-attribute-when",e.showSchema),Zu(),V_("ng-attribute-when",e.showSchema)("ng-attribute",Sy(67,TB,Iy(66,EB))),a_("content",e.card.NAME||""),Zu(),V_("ng-attribute-when",e.showSchema)("ng-attribute",Sy(70,TB,Iy(69,CB))),a_("content",e.getCardSchemaUrl(e.card)),Zu(),V_("ng-attribute-when",e.showSchema)("ng-attribute",Sy(73,TB,Iy(72,IB))),a_("content",e.card.CARD_HEADING),Zu(),V_("ngIf",e.showSchema&&e.isCreditCard),Zu(),V_("ngClass",Sy(75,DB,!e.pdtType||e.useRatingTpl)),Zu(2),V_("ngIf",e.card.CARD_HEADING&&e.showHeading),Zu(2),V_("ngIf",e.isBestPage),Zu(),V_("ngClass",Sy(77,kB,!e.pdtType||e.useRatingTpl)),Zu(2),V_("defer-src",e.card_img)("ui-hydrate",!1),Zu(),V_("alt",e.card.NAME)("ngClass",Sy(79,OB,!!e.pdtType)),a_("data-src",e.card_img),Zu(2),V_("ng-attribute-when",e.showSchema)("ng-attribute",Sy(82,TB,Iy(81,RB))),a_("content",e.card_img),Zu(3),V_("ngIf","prsn"!==e.pdtType),Zu(),V_("ngIf","prsn"===e.pdtType),Zu(),G_("editors-stars",!e.showReviewsLink&&e.card.EDITORS_REVIEW_URL),Zu(2),V_("ngForOf",e.stars),Zu(),V_("ngIf",e.card.REVIEWS&&(e.showReviewsLink||!e.card.EDITORS_REVIEW_URL)),Zu(),V_("ngIf",!e.showReviewsLink&&e.card.EDITORS_REVIEW_URL),Zu(),V_("ngIf",!e.isCreditCard&&e.showSchema&&e.showRatingSchema),Zu(),V_("ngIf",e.wh_rating),Zu(),V_("ngIf",!e.useRatingTpl),Zu(),V_("ngIf",e.useRatingTpl),Zu(),V_("ngIf",e.isApplyButtonVisible(e.card)&&!e.pdtType&&"learnMore"!==e.card.CTA_BUTTON_TYPE),Zu(),V_("ngIf",!e.isApplyButtonVisible(e.card)&&"N"===e.card.DISCONTINUED&&!e.card.$isProduct&&!e.pdtType||"learnMore"===e.card.CTA_BUTTON_TYPE&&"N"===e.card.DISCONTINUED&&!e.card.$isProduct&&!e.pdtType),Zu(),V_("ngIf",e.getFeatureCallOut(e.card)),Zu(),V_("ngIf",!e.pdtType&&!e.isNonNA),Zu(),V_("ngIf",!e.pdtType&&e.isNonNA),Zu(),V_("ngIf",!e.pdtType&&e.isNonNA),Zu(),V_("ngIf",e.pdtType),Zu(2),V_("ngIf",!e.card.COLLAPSE_COMMENT),Zu(),V_("ngIf",e.card.COLLAPSE_COMMENT&&e.show_more),Zu(),V_("ngIf","inst"!==e.pdtType&&e.hasMoreCardDetails||e.show_compare_checkbox),Zu(),V_("ngIf",e.show_more),Zu(),V_("ngIf","inst"!==e.pdtType&&e.hasMoreCardDetails||e.show_compare_checkbox),Zu(),V_("ngIf",e.card.EDITORS_NOTES&&"inst"===e.pdtType||e.hasMoreCardDetails||e.show_compare_checkbox)}}function uV(e,t){if(1&e&&Bm(0,"a",257),2&e){const e=sb(2);V_("zing-url",!0)("href",e.card.DETAILS_HTML_PAGE,cu)("cleanHTML",e.card.NAME)}}function dV(e,t){if(1&e&&Bm(0,"a",257,4),2&e){const e=sb(2);V_("zing-url",!0)("href",e.getRedirUrl(),cu)("cleanHTML",e.card.NAME)}}function hV(e,t){if(1&e&&Bm(0,"span",53),2&e){V_("ngClass",t.$implicit)}}function pV(e,t){if(1&e&&(Fm(0,"a",56)(1,"span",57),Wb(2),qy(3,"moneyformat"),Hm(),Fm(4,"span",58),Wb(5),Hm()()),2&e){const e=sb(3);V_("zing-url",!0)("href",e.reviewsPageUrl,cu),a_("aria-label","Read "+e.card.REVIEWS+" user review"+(1!=e.card.REVIEWS?"s":"")),Zu(2),Gb(Uy(3,5,e.card.REVIEWS)),Zu(3),Yb(" User Review",1!=e.card.REVIEWS?"s":"","")}}function fV(e,t){if(1&e&&(Fm(0,"span",59)(1,"span",57),Wb(2),qy(3,"moneyformat"),Hm(),Fm(4,"span",58),Wb(5),Hm()()),2&e){const e=sb(3);Zu(2),Gb(Uy(3,2,e.card.REVIEWS)),Zu(3),Yb(" User Review",1!=e.card.REVIEWS?"s":"","")}}function gV(e,t){if(1&e&&(qm(0),Hf(1,pV,6,7,"a",54)(2,fV,6,4,"span",55),Um()),2&e){const e=sb(2);Zu(),V_("ngIf",e.reviewsPageUrl),Zu(),V_("ngIf",!e.reviewsPageUrl)}}function _V(e,t){if(1&e){const e=Wm();qm(0),Fm(1,"span",60),nb("onTap",function(){Ds(e);return ks(sb(2).ViewEditorReview())}),Hm(),Bm(2,"modal-popup",61,3),Um()}2&e&&(Zu(),V_("zing-no-touch",!0),Zu(),V_("popup-relative",!0))}function mV(e,t){if(1&e&&(Fm(0,"span",63),Bm(1,"meta",64)(2,"meta",65)(3,"meta",66)(4,"meta",67),Hm()),2&e){const e=sb(3);Zu(),a_("content",e.card.RATING),Zu(),a_("content",e.card.REVIEWS||1)}}function vV(e,t){if(1&e&&(qm(0),Hf(1,mV,5,2,"span",62),Um()),2&e){const e=sb(2);Zu(),V_("ngIf",e.card.RATING>0)}}function bV(e,t){if(1&e&&(Fm(0,"a",258),Wb(1),Hm()),2&e){const e=sb(2);V_("zing-url",!0)("href",e.getRedirUrl(),cu),Zu(),Gb(e.btn_site_label)}}function yV(e,t){if(1&e&&(Fm(0,"a",258,4),Wb(2),Hm()),2&e){const e=sb(2);V_("zing-url",!0)("href",e.getRedirUrl(),cu),Zu(2),Gb(e.btn_site_label)}}function wV(e,t){1&e&&(Fm(0,"span"),Wb(1,"More Details "),Bm(2,"span",262),Hm())}function EV(e,t){1&e&&(Fm(0,"span"),Wb(1,"Less Details "),Bm(2,"span",263),Hm())}function TV(e,t){1&e&&(Fm(0,"span"),Wb(1,"More Details "),Bm(2,"span",262),Hm())}function CV(e,t){1&e&&(Fm(0,"span"),Wb(1,"Less Details "),Bm(2,"span",263),Hm())}function IV(e,t){if(1&e){const e=Wm();Fm(0,"div",259)(1,"span",260),nb("onTap",function(t){Ds(e);return ks(sb(2).toggleShowMore(t))}),Hf(2,wV,3,0,"span",21)(3,EV,3,0,"span",21),Hm(),Fm(4,"span",261),nb("onTap",function(t){Ds(e);return ks(sb(2).toggleShowMore(t))}),Hf(5,TV,3,0,"span",21)(6,CV,3,0,"span",21),Hm()()}if(2&e){const e=sb(2);Zu(),V_("zing-no-touch",!0),Zu(),V_("ngIf",!e.show_more),Zu(),V_("ngIf",e.show_more),Zu(),V_("zing-no-touch",!0),Zu(),V_("ngIf",!e.show_more),Zu(),V_("ngIf",e.show_more)}}function SV(e,t){if(1&e&&(Fm(0,"div",264),Bm(1,"div",202),Hm()),2&e){const e=sb(2);V_("ngClass",Sy(2,SB,e.show_more)),Zu(),V_("cleanHTML",e.card.EDITORS_NOTES)}}function AV(e,t){if(1&e){const e=Wm();Fm(0,"div",243),nb("scrolled",function(t){Ds(e);return ks(sb().scrolledDone(t))})("adViewed",function(t){Ds(e);return ks(sb().AdView(t))}),Bm(1,"meta",23)(2,"meta",23)(3,"meta",23),Fm(4,"div",244)(5,"div",245)(6,"div",246)(7,"div",98),Bm(8,"img",99,6),Hm(),Bm(10,"meta",23),Hm(),Fm(11,"h3",247),Hf(12,uV,1,3,"a",248)(13,dV,2,3,"a",248),Hm(),Fm(14,"div",249)(15,"div",26)(16,"div",27),Hf(17,hV,1,1,"span",28)(18,gV,3,2,"ng-container",21)(19,_V,4,2,"ng-container",21),Hm()()()(),Hf(20,vV,2,1,"ng-container",21),Bm(21,"div",250)(22,"div",250),Fm(23,"div",251)(24,"div",252)(25,"div",253),Hf(26,bV,2,3,"a",254)(27,yV,3,3,"a",254),Hm(),Hf(28,IV,7,6,"div",255),Hm()()(),Hf(29,SV,2,4,"div",256),Hm()}if(2&e){const e=sb();V_("scroll-to",e.scrolled)("zenspeed",300)("ad-id",e.card.PID?e.card.PID:e.card.ID)("trigger-ratio",.5)("referrer-url",e.referrerUrl)("click-url",e.getRedirUrl())("adview-section",e.adviewSection)("adview-totals",e.adviewTotals)("adview-position",e.adviewPosition)("ad-disabled",e.adviewDisabled)("ng-attribute",Ry(47,wB,Iy(43,vB),Iy(44,bB),Sy(45,yB,"http://schema.org/"+(e.isCreditCard?"CreditCard":"Product"))))("ng-attribute-when",e.showSchema),Zu(),V_("ng-attribute-when",e.showSchema)("ng-attribute",Sy(52,TB,Iy(51,EB))),a_("content",e.card.NAME||""),Zu(),V_("ng-attribute-when",e.showSchema)("ng-attribute",Sy(55,TB,Iy(54,CB))),a_("content",e.getCardSchemaUrl(e.card)),Zu(),V_("ng-attribute-when",e.showSchema)("ng-attribute",Sy(58,TB,Iy(57,IB))),a_("content",e.card.CARD_HEADING),Zu(4),V_("defer-src",e.card_img)("ui-hydrate",!1),Zu(),V_("alt",e.card.NAME)("ngClass",Iy(60,WB)),a_("data-src",e.card_img),Zu(2),V_("ng-attribute-when",e.showSchema)("ng-attribute",Sy(62,TB,Iy(61,RB))),a_("content",e.card_img),Zu(2),V_("ngIf",!e.is_budget_apps_page),Zu(),V_("ngIf",e.is_budget_apps_page),Zu(2),G_("editors-stars",!e.showReviewsLink&&e.card.EDITORS_REVIEW_URL),Zu(2),V_("ngForOf",e.stars),Zu(),V_("ngIf",e.card.REVIEWS&&(e.showReviewsLink||!e.card.EDITORS_REVIEW_URL)),Zu(),V_("ngIf",!e.showReviewsLink&&e.card.EDITORS_REVIEW_URL),Zu(),V_("ngIf",!e.isCreditCard&&e.showSchema&&e.showRatingSchema),Zu(),V_("cleanHTML",e.card.ADDITIONAL_INFO_1),Zu(),V_("cleanHTML",e.card.ADDITIONAL_INFO_2),Zu(4),V_("ngIf",!e.generic_institution),Zu(),V_("ngIf",e.generic_institution),Zu(),V_("ngIf",e.card.EDITORS_NOTES),Zu(),V_("ngIf",e.card.EDITORS_NOTES&&""!=e.card.EDITORS_NOTES)}}function RV(e,t){if(1&e){const e=Wm();Fm(0,"a",265),nb("scrolled",function(t){Ds(e);return ks(sb().scrolledDone(t))}),Fm(1,"div",266),Bm(2,"img",267),Fm(3,"div",100)(4,"p",268),Wb(5),Hm(),Bm(6,"p",269),Hm(),Fm(7,"div",270),Bm(8,"i",271),Hm()()()}if(2&e){const e=sb();V_("href",e.card.CONTENT_URL,cu)("scroll-to",e.scrolled)("zenspeed",300),Zu(2),V_("src",e.card.IMG_NAME||e.card.IMAGE_NAME,cu)("alt",e.card.NAME),Zu(3),Gb(e.card.CATEGORY),Zu(),V_("innerHTML",e.card.COMMENT,au)}}function xV(e,t){if(1&e){const e=Wm();Fm(0,"div",272),nb("scrolled",function(t){Ds(e);return ks(sb().scrolledDone(t))}),Bm(1,"p",269),Hm()}if(2&e){const e=sb();V_("scroll-to",e.scrolled)("zenspeed",300),Zu(),V_("innerHTML",e.card.COMMENT,au)}}function DV(e,t){if(1&e&&(Fm(0,"span",63),Bm(1,"meta",64)(2,"meta",65)(3,"meta",66)(4,"meta",67),Hm()),2&e){const e=sb(2);Zu(),a_("content",e.card.RATING),Zu(),a_("content",e.card.REVIEWS||1)}}function kV(e,t){if(1&e&&(Fm(0,"div")(1,"div",273),Bm(2,"meta",23)(3,"meta",23)(4,"meta",23)(5,"meta",23),Hf(6,DV,5,2,"span",62),Hm()()),2&e){const e=sb();Zu(2),V_("ng-attribute-when",e.showSchema)("ng-attribute",Sy(14,TB,Iy(13,EB))),a_("content",e.card.NAME||""),Zu(),V_("ng-attribute-when",e.showSchema)("ng-attribute",Sy(17,TB,Iy(16,CB))),a_("content",e.getCardSchemaUrl(e.card)),Zu(),V_("ng-attribute-when",e.showSchema)("ng-attribute",Sy(20,TB,Iy(19,IB))),a_("content",e.card.CARD_HEADING),Zu(),V_("ng-attribute-when",e.showSchema)("ng-attribute",Sy(23,TB,Iy(22,RB))),a_("content",e.card_img),Zu(),V_("ngIf",e.card.RATING>0)}}function OV(e,t){if(1&e&&(Fm(0,"div",274)(1,"div",275)(2,"div",276),Bm(3,"meta",277)(4,"meta",278),Hm(),Bm(5,"meta",279)(6,"meta",280),qy(7,"maxVal"),qy(8,"maxVal"),Hm(),Bm(9,"meta",281),Hm(),Fm(10,"div",282),Bm(11,"meta",283)(12,"meta",284),qy(13,"maxVal"),Hm()),2&e){const e=sb();Zu(6),a_("content",(e.card.CUSTOM_FORMAT?jy(7,3,e.card.CUSTOM_FORMAT,"min"):jy(8,6,e.card.ANNUAL_FEE,"min"))||"0"),Zu(3),a_("content",e.card.ISSUER||""),Zu(3),a_("content",jy(13,9,e.card.REGULAR_PURCHASE_APR,"max")||"")}}o.import("css:/components/best-card-box.css").then(()=>{},()=>{});class NV{transform(e){return e=+e,isNaN(e)?0:Math.round(100*e)/100}}NV.ɵfac=function(e){return new(e||NV)},NV.ɵpipe=uf({name:"round_decimals",type:NV,pure:!0,standalone:!1});class LV{transform(e,t="max"){if(null==e)return null;if("min"===t&&(e.includes("None 1st yr")||e.includes("None")))return 0;const n=e.match(/(\d+(\.\d+)?)/g);if(!n)return null;const i=n.map(Number);return"min"===t?Math.min(...i):Math.max(...i)}}LV.ɵfac=function(e){return new(e||LV)},LV.ɵpipe=uf({name:"maxVal",type:LV,pure:!0,standalone:!1});class MV{constructor(e,t,n){this._cd=e,this._srv=t,this._scrollservice=n,this.version=1,this.offsetTop=0,this.showSchema=!1,this.showRatingSchema=!1,this.showReviewsLink=!0,this.schemaIndex=0,this.schemaUrl="",this.showHeading=!0,this.adviewSection="",this.adviewTotals=0,this.adviewPosition=0,this.adviewRecheck=!1,this.adviewDisabled=!1,this.isBestPage=!1,this.isNonNA=!1,this.show_compare_checkbox=!1,this.generic_institution=!1,this.pageVersion=0,this.btn_site_label="Go to Site",this._ace=!1,this._subs=[],this.baseUrl=xL(),this.show_more=!1,this.card_img="",this.minCreditCls="low-appr",this.applyNowTxt="Apply Now",this.hasMoreCardDetails=!1,this.detailsPageUrl="",this.reviewsPageUrl="",this.referrerUrl="",this.pdtType="",this.stars=[],this.isCds=!1,this.fullReview=!1,this.wh_rating=null,this.wh_rating_need="",this.wh_rating_needs=[],this.wh_user_reviews=null,this.wh_editor_rating=null,this.wh_market_comparison=null,this.compArray=[],this.need_name_alias_map={rebuild:"Rebuild Damaged Credit",storeRebuild:"Rebuild Damaged Credit (Store Cards)",rebuildNB:"Rebuild Damaged Credit by Paying in Full Each Month",improving:"Improve Credit",improvingNB:"Improve Credit by Paying in Full Each Month",student:"Build Credit (Students)",studentNB:"Build Credit by Paying in Full Each Month (Students)",rewards:"Earn Rewards",travel:"Earn Travel Rewards",airline:"Earn Airline Rewards",hotel:"Earn Hotel Rewards",gas:"Earn Gas Rewards",storeRewards:"Earn Rewards (Store Cards)",financing:"Finance New Purchases",storeFinancing:"Finance New Purchases (Store Cards)",lowerDebt:"Lower Cost of Existing Debt",businessRebuild:"Business - Rebuild Damaged Credit",businessRebuildNB:"Business - Rebuild Damaged Credit by Paying in Full Each Month",businessImproving:"Business - Improve Credit",businessImprovingNB:"Business - Improve Credit by Paying in Full Each Month",businessRewards:"Business - Earn Rewards",businessTravel:"Business - Earn Travel Rewards",businessStoreRewards:"Business - Earn Rewards (Store Cards)",businessFinancing:"Business - Finance New Purchases",businessStoreFinancing:"Business - Finance New Purchases (Store Cards)",businessLoweringDebt:"Business - Lower Cost of Existing Debt"},this.show_wh_rating_popup=!1,this.review_label="Review",this.callout_content={},this.forceupdate=5,this.show_asterisk=!1,this.rewardsList=[],this.detailsList=[],this.proList=[],this.conList=[],this.wh_bank_rating_url=xL()+"/edu/banking-rating-system/138643",this.wh_rating_content="",this.adview_id="",this._ccFields={secured:[{label:"Secured Card",field:"MIN_SECURITY_DEPOSIT"},{label:"One-Time Fees",field:"ONE_TIME_SETUP_FEES"},{label:"Regular APR",field:"REGULAR_PURCHASE_APR"}],secured_rewards:[{label:"Annual Fee",field:"ANNUAL_FEE"},{label:"Rewards Rate",field:"REWARDS_EARN_RATE"},{label:"Monthly Fee",field:"MONTHLY_FEE"}],secured_no_rewards:[{label:"Annual Fee",field:"ANNUAL_FEE"},{label:"Monthly Fee",field:"MONTHLY_FEE"}],unsecured:[{label:"One-Time Fees",field:"ONE_TIME_SETUP_FEES"},{label:"Regular APR",field:"REGULAR_PURCHASE_APR"},{label:"Annual Fee",field:"ANNUAL_FEE"}],unsecured_rewards:[{label:"Monthly Fee",field:"MONTHLY_FEE"},{label:"Rewards Rate",field:"REWARDS_EARN_RATE"}],unsecured_no_rewards:[{label:"Monthly Fee",field:"MONTHLY_FEE"}],normal:[{label:"Purchase intro APR",field:"PURCHASE_INTRO_APR"},{label:"Transfer intro APR",field:"BT_INTRO_APR"},{label:"Regular APR",field:"REGULAR_PURCHASE_APR"},{label:"Annual Fee",field:"ANNUAL_FEE"},{label:"Rewards Rate",field:"REWARDS_EARN_RATE"}],normal_rewards:[{label:"Bonus Offer",field:"REWARDS_INITIAL_BONUS"}]},this.ccFields=[],this.ccFieldsClass="size-7",this.linkedRewards=!1,this._has_expand_button=!1,this.scrolled=!1,this._mincreditpop=EF,this._bonusoffertpop=CF,this._rewardsratepop=CF}ViewEditorReview(){this._edrvdialog.Open(PV,{reviewurl:this.card.EDITORS_REVIEW_URL}),this._cd.detectChanges()}get rateInfos(){let e=[];if(this.card.RATE_INFO_STR){let t=this.card.RATE_INFO_STR.split(",");for(const n of t){if(n){let t=n.split("|"),i={};void 0!==t[0]&&void 0!==t[1]&&(t[1]>=99999999?i.range=`${uS(t[0])}+`:i.range=`${uS(t[0])} - ${uS(t[1])}`),void 0!==t[2]&&(i.rate=`${t[2]}%`),void 0!==t[3]&&(i.apy=`${t[3]}%`),3===Object.keys(i).length&&e.push(i)}}}return e}getStars(){const e=Math.round(10*this.card.RATING)/10,t=[],n=Math.round(2*e)/2,i=n,r=parseInt(n+""),s=i-r;for(let e=0;e<5;e++)e<r||e===r&&s>.87?t.push("star full"):e===r&&s>.12&&s<=.38?t.push("star quarter"):e===r&&s>.38&&s<=.62?t.push("star half"):e===r&&s>.62&&s<=.87?t.push("star three-quarter"):t.push("star empty");return t}GetCreditLook(e){let t="limited-appr";return"Excellent"==e?t="ultra-appr":"Good"==e?t="high-appr":"Fair"==e?t="med-appr":"Bad"==e&&(t="low-appr"),t}SetUpShowMoreButton(){this.card.REWARDS&&"N"!=this.card.REWARDS||this.card.DISCLAIMER||this.getCardDetails(this.card).length>0||this._has_expand_button&&this.card.EDITORS_NOTES||this.rateInfos.length&&("chkg"===this.pdtType||"svg"===this.pdtType)?this.hasMoreCardDetails=!0:this.hasMoreCardDetails=!1}AdView(e){e&&e.view&&(this.adview_id=e.view)}SetPrequalViewId(){if(this.adview_id&&"prsn"==this.pdtType&&this.card.WH_AFFILIATE_LINK&&"Y"===this.card.WH_AFFILIATE_LINK&&this.card.PREQUAL&&"Y"===this.card.PREQUAL){let e=JSON.stringify({view:this.adview_id});try{window.sessionStorage.setItem("mw_prequal_start",e)}catch(t){oM.set("mw_prequal_start",e,0)}}}getRewardsRateTooltip(){let e="";if(this.card.REWARDS_RATE_TOOLTIP&&oS(this.card.REWARDS_RATE_TOOLTIP)){var t=this.card.REWARDS_RATE_TOOLTIP;t.lastIndexOf("__")==t.length-2&&(t=t.substring(0,t.length-2)),this.card.REWARDS_RATE_TOOLTIP=t.split("__")}return this.card.REWARDS_RATE_TOOLTIP&&dS(this.card.REWARDS_RATE_TOOLTIP)&&this.card.REWARDS_RATE_TOOLTIP.length&&(e+="<ul class='rewards-tip-list'>",hS(this.card.REWARDS_RATE_TOOLTIP,t=>{e+="<li>",e+=t,e+="</li>"}),e+="</ul>"),e}ngOnInit(){var e,t,n,i,r;if(this.card_img=this.card.IMAGE_NAME,this.stars=this.getStars(),this.minCreditCls=this.GetCreditLook(this.card.MIN_CREDIT_REQUIRED_LAST),this._ace=TM(),this.pageVersion&&(this.pageVersion=cS(this.pageVersion)),this.isCreditCard=this.product_type&&"Credit Card"===this.product_type,this.isCds=this.card.$is_cds,(this.card.MIN_TO_OPEN||0===this.card.MIN_TO_OPEN)&&(this.card.MIN_TO_OPEN=uS(cS(this.card.MIN_TO_OPEN),2)),this.pdtType=this.card.$product,this.pdtType||(this.review_label="User Review"),this.card.DETAILS_HTML_PAGE){let e=this.card.DETAILS_HTML_PAGE;this.detailsPageUrl=this.baseUrl+e,this.referrerUrl=this.baseUrl+e}if(this.card.WH_RATINGS_NEEDS&&this.card.WH_RATINGS_NEEDS.total&&this.card.ELIGIBLE_NEEDS){this.wh_rating=cS(this.card.WH_RATINGS_NEEDS.total),this.wh_rating_need=this.need_name_alias_map[this.card.ELIGIBLE_NEEDS];let i=this.card.WH_RATINGS_NEEDS;fS(i)&&(mS(i,(e,t)=>{let n=t;t&&"need_name_alias"!=t&&"total"!=t&&("interest"==n?n="APR":"reviews"==n?(n="User Reviews",this.wh_user_reviews=cS(e||"0.0")):"otherFeatures"==n&&(n="Other Features"),"marketComparison"===n&&(this.wh_market_comparison=cS(e||"0.0")),"marketComparison"!==n&&"editorsRating"!==n&&this.wh_rating_needs.push({label:n,rating:cS(e||"0.0")}))}),this.wh_editor_rating=null!==(e=this.card.EDITORS_RATING)&&void 0!==e?e:null,this.wh_user_reviews||this.wh_editor_rating&&!((null===(t=this.card)||void 0===t?void 0:t.REVIEWS)<10)||(this.show_full_rating=!0),(!this.wh_user_reviews||(null===(n=this.card)||void 0===n?void 0:n.REVIEWS)<10)&&(this.wh_user_reviews=null),this.wh_rating_needs=this.swapArrayPositions(this.wh_rating_needs,"approval","User Reviews"),this.compArray=this.wh_rating_needs.filter(e=>"User Reviews"!==e.label))}let s=this.card.WH_AFFILIATE_LINK&&"Y"===this.card.WH_AFFILIATE_LINK,o=this.card.PREQUAL&&"Y"===this.card.PREQUAL;const a=null!==(i=this.card.ISSUER)&&void 0!==i?i:"";switch(this.show_asterisk=/Capital One/i.test(a)&&!s,this.pdtType){case"prsn":this.applyNowTxt=s?o?"View My Rate":"Next":"Learn More";break;case"inst":this.applyNowTxt="Learn More";break;case"chkg":case"ppd":case"svg":this.applyNowTxt="Apply Now";break;default:if(this.applyNowTxt="Apply Now",this.card.DETAILS_HTML_PAGE){let e=this.card.DETAILS_HTML_PAGE;e.indexOf("/d/")<0&&(e="/d/"+this.card.DETAILS_HTML_PAGE),this.detailsPageUrl=this.baseUrl+e,this.referrerUrl=this.baseUrl+e}}this.SetUpShowMoreButton(),this.isNonNA&&this._setupCCFields(),this.detailsPageUrl&&(this.reviewsPageUrl=this.detailsPageUrl+"#reviews"),this._srv&&this._subs.push(this._srv.compareEmitter.subscribe(e=>{if("reset"==e.type)this.comparing=!1,this._cd.detectChanges();else if("toggle"==e.type)wS(e.event.item.pid,[this.card.PID+"c",this.card.PID,this.card.redirPid,this.card.PID_FULL])&&(this.comparing=e.event.compare),this._cd.detectChanges();else if("initiated"==e.type||"reloaded"==e.type){const e=this._srv.getSavedProducts(),t=null==e?void 0:e.find(e=>wS(e,[this.card.PID+"c",this.card.PID,this.card.redirPid,this.card.PID_FULL]));this.comparing=!!t,this._cd.detectChanges()}})),this.rewardsList=this.getRewardsList(this.card),this.detailsList=this.getCardDetails(this.card),this.proList=this.getProsList(this.card),this.conList=this.getConsList(this.card);let l=null!==(r=this.card.PDT_TYPE)&&void 0!==r?r:"";["CD","Checking","Savings","Money Market"].includes(l)&&(this.useRatingTpl=!0,this.WHRatingInit()),this.expanded&&(this.fullReview=!this.fullReview,this.show_more=!this.show_more),this._cd.detectChanges()}ngOnDestroy(){this._subs.forEach(e=>e.unsubscribe())}WHRatingInit(){var e;this.card.WH_RATINGS_INFO_STR&&(this.parsedRating=function(e){const t={},n={};let i=0,r="";e.split(",").forEach(e=>{const s=e.split(/\s*\|\s*/),[o,a,l]=s,c=4===s.length?parseInt(s[3]):void 0,u=t[o]||{};if(u[a]=parseFloat(l),t[o]=u,void 0!==c&&(n[o]=c),"total"===a){const e=parseFloat(l);e>i&&(i=e,r=o)}}),t.all=t[r]||{},t.all.need_name_alias=r;const s={ratings:t,max_wh_rating:i};return Object.keys(n).length>0&&(s.terms=n),s}(null!==(e=this.card.WH_RATINGS_INFO_STR)&&void 0!==e?e:""),this.parseWHRatingVars(),this._cd.detectChanges())}parseWHRatingVars(){"CD"!==this.card.PDT_TYPE?this.handleNonCD():this.handleCD()}handleNonCD(){if(this.parsedRating){let e=this.parsedRating.ratings,t=this.parsedRating.max_wh_rating;this._cd.detectChanges(),t&&(this.wh_rating=cS(t)),e&&e.all&&(this.wh_rating_needs=[],this.processRatings(e.all),this.wh_rating_needs=RS(this.wh_rating_needs,"approval","User Reviews"),this.compArray=this.wh_rating_needs.filter(e=>"User Reviews"!==e.label))}}handleCD(){var e,t,n;if(this.parsedRating){let i=this.parsedRating.terms,r=this.parsedRating.ratings;const s=(t=i,n=null===(e=this.card)||void 0===e?void 0:e.MAX_TERM,t&&"object"==typeof t?Object.keys(t).find(e=>t[e]===n):null);if(s){const e=r[s];this.wh_rating_need=DS[s],this.wh_rating=cS(e.total),this._cd.detectChanges(),fS(e)&&(this.wh_rating_needs=[],this.processRatings(e),this.wh_rating_needs=RS(this.wh_rating_needs,"approval","User Reviews"),this.compArray=this.wh_rating_needs.filter(e=>"User Reviews"!==e.label),this._cd.detectChanges())}}}processRatings(e){fS(e)&&mS(e,(e,t)=>{let n=this.getLabel(t,e);n&&(this.wh_rating_needs.push({label:n,rating:cS(e||"0.0")}),this._cd.detectChanges())})}getLabel(e,t){let n=e;if("need_name_alias"===e&&DS[t])return this.wh_rating_need=DS[t],this._cd.detectChanges(),null;switch(e){case"interest":n="Interest Rates";break;case"cost":n="Annual Cost";break;case"otherFeatures":n="Other Features";break;case"fees":n="Fees";break;case"reviews":n="User Reviews",this.wh_user_reviews=cS(t||"0.0"),this._cd.detectChanges();break;case"editorsRating":return this.wh_editor_rating=cS(t||"0.0"),this._cd.detectChanges(),null;case"marketComparison":return this.wh_market_comparison=cS(t||"0.0"),this._cd.detectChanges(),null}return"total"!==e?n:null}swapArrayPositions(e,t,n){const i=e.findIndex(e=>e.label===t),r=e.findIndex(e=>e.label===n);if(-1!==i&&-1!==r){const t=e[i];e[i]=e[r],e[r]=t}return e}ShowWHRatingPopup(e){this.wh_rating_content||(this.wh_rating_content=this.getWhRatingContent()),this.show_wh_rating_popup=!0}HideWHRatingPopup(e){this.show_wh_rating_popup=!1}trackByFn(e){return e}getWhRatingContent(){var e;let t=`<div class="details-wh-rating-chart">\n                        <div class="">WalletHub Rating</div>\n                         <div class="details-wh-rating-val" >${this.wh_rating.toFixed(1)}</div>\n                    </div><div class="details-wh-rating-desc">`;if(this.useRatingTpl?t+=`This product has been scored using WalletHub’s proprietary <a class="link" href="${this.wh_bank_rating_url}">rating system for banking\n                                products</a>. We evaluated this ${"CD"===(null===(e=this.card)||void 0===e?void 0:e.PDT_TYPE)?"CD":"account"} for various consumer\n                                needs and picked the rating for the need with the highest score, which is "${this.wh_rating_need}."</div>`:t+=`This card has been scored using WalletHub&rsquo;s proprietary <a class="link" zing-touch [zing-url]="true" href="https://wallethub.com/edu/cc/credit-card-rating-system/125319">credit card rating system</a>. We\n                                evaluated the card for various cardholder needs and picked the rating for the need most\n                                relevant to this page (${this.wh_rating_need}). The rating for this card may vary on other\n                                pages where a different need is used. A rating of 5 is the best a card can receive.</div>`,this.wh_editor_rating){let e=20*this.wh_editor_rating;t+='    <div class="details-wh-rating-item show-full">\n                            <div class="details-wh-rating-item-label">Editor’s Rating</div>\n                            <div class="details-wh-rating-chart">\n                                <div class="details-wh-rating-line">\n                                    <div class="details-wh-rating-line-inner"\n                                          style="width:'+e+"%"+`"></div>\n                                </div>\n                                <div class="details-wh-rating-val">${this.wh_editor_rating.toFixed(1)}</div>\n                            </div>\n                        </div>`}if(this.wh_user_reviews){let e=20*this.wh_user_reviews;t+='    <div class="details-wh-rating-item show-full">\n                            <div class="details-wh-rating-item-label">User Reviews</div>\n                            <div class="details-wh-rating-chart">\n                                <div class="details-wh-rating-line">\n                                    <div class="details-wh-rating-line-inner" style="width:'+e+"%"+`"></div>\n                                    \n                                </div>\n                                <div class="details-wh-rating-val">${this.wh_user_reviews.toFixed(1)}</div>\n                            </div>\n                        </div>`}if(this.wh_market_comparison){let e=20*this.wh_market_comparison;t+='<div  class="details-wh-rating-item show-full">\n                            <div class="details-wh-rating-item-label">Market Comparison</div>\n                            <div class="details-wh-rating-chart">\n                                <div class="details-wh-rating-line">\n                                 <div class="details-wh-rating-line-inner" style="width:'+e+"%"+`" ></div>\n                                </div>\n                                <div class="details-wh-rating-val">${this.wh_market_comparison.toFixed(1)}</div>\n                            </div>\n                        </div><div class="wh-comp-grid ${this.useRatingTpl?"sm":""}">`,this.compArray.forEach(e=>{t+=`<div class="wh-comp-item">\n                                <span>${e.label}: ${e.rating.toFixed(1)}</span>\n                            </div>`}),t+="</div>"}return t}_setupCCFields(){let e=this.hasRewardBonus(this.card);this.linkedRewards=this.isLinkedRewardsRate(this.card),this.isSecuredCard(this.card)?(this._ccFields.secured.forEach((e,t)=>{this._setCCFieldData(e)}),e?this._ccFields.secured_rewards.forEach((e,t)=>{this._setCCFieldData(e)}):this._ccFields.secured_no_rewards.forEach((e,t)=>{this._setCCFieldData(e)})):this.isBadCard(this.card)&&!this.isSecuredCard(this.card)?(this._ccFields.unsecured.forEach((e,t)=>{this._setCCFieldData(e)}),e?this._ccFields.unsecured_rewards.forEach((e,t)=>{this._setCCFieldData(e)}):this._ccFields.unsecured_no_rewards.forEach((e,t)=>{this._setCCFieldData(e)})):(this._ccFields.normal.forEach((e,t)=>{this._setCCFieldData(e)}),e&&this._ccFields.normal_rewards.forEach((e,t)=>{this._setCCFieldData(e)})),this._setCCFieldData({label:"Min Credit Needed",field:"MIN_CREDIT_REQUIRED_LAST"}),this.ccFields.length>2&&(this.ccFieldsClass="size-"+this.ccFields.length)}_setCCFieldData(e){let t=this.card[e.field];if("PURCHASE_INTRO_APR"==e.field&&(t=this.getPurchaseIntroAPR(this.card)),"BT_INTRO_APR"==e.field&&(t=this.getTransferIntroAPR(this.card)),"N/A"!=this.getEmptyValue(t,!0)){let n="MIN_SECURITY_DEPOSIT"==e.field?`Min Deposit of ${this.getEmptyValue(this.card.MIN_SECURITY_DEPOSIT,!0)}`:t;this.ccFields.push({label:e.label,value:n})}}getRedirUrl(){if(this.btn_site_link)return this.btn_site_link;let e=this.card.WH_AFFILIATE_LINK&&"Y"===this.card.WH_AFFILIATE_LINK,t=this.card.PREQUAL&&"Y"===this.card.PREQUAL;return["Savings","Money Market","CD","Checking","Checking Accounts"].includes(this.card.PDT_TYPE)?this.card.redirPid?0===this.card.redirPid.indexOf("/")?this.baseUrl+this.card.redirPid:this.baseUrl+`/r/?id=${this.card.redirPid}`:this.baseUrl+this.card.DETAILS_HTML_PAGE:"prsn"===this.pdtType?e&&t?this.baseUrl+this.card.PREQUAL_LINK:this.baseUrl+`/r/?id=${this.card.redirPid}`:"svg"===this.pdtType?this.card.redirPid?0===this.card.redirPid.indexOf("/")?this.baseUrl+this.card.redirPid:this.baseUrl+`/r/?id=${this.card.redirPid}`:this.baseUrl+this.card.DETAILS_HTML_PAGE:this.pdtType&&this.card.redirPid?this.generic_institution?this.baseUrl+`/r/?id=${this.card.PID}i`:0===this.card.redirPid.indexOf("/")?this.baseUrl+this.card.redirPid:this.baseUrl+`/r/?id=${this.card.redirPid}`:this.card.PID?this.baseUrl+`/r/?id=${this.card.PID}c`:this.baseUrl}isApplyButtonVisible(e){let t=e.WH_AFFILIATE_LINK&&"Y"===e.WH_AFFILIATE_LINK,n=e.ISSUER&&e.ISSUER.toUpperCase();if(e.CRITICAL=(this._ace?e.CRITICAL_LOGGED_IN:e.CRITICAL_LOGGED_OUT)||e.CRITICAL,["Savings","Money Market","CD","Checking","Checking Accounts"].includes(e.PDT_TYPE))return!e.UID||"13002009"!=e.UID||!!t;if(~["inst","prsn"].indexOf(e.$product))return!0;if(~["ppd","chkg","svg"].indexOf(e.$product))return!!t;if(n){if(n.indexOf("FIRST PREMIER")>0)return!1;if(!t&&"CHASE"===n)return!1}return"AFFILIATE_INFLUENCE_SCOPE"in e&&("O"==e.AFFILIATE_INFLUENCE_SCOPE&&this._ace?t=!1:"I"!=e.AFFILIATE_INFLUENCE_SCOPE||this._ace||(t=!1)),t&&"N"===e.DISCONTINUED&&"N"!==e.CRITICAL}isSecuredCard(e){return"SECURED"==e.PICK_TYPE.toUpperCase()||"SECURED CARD"==e.PICK_TYPE.toUpperCase()||!(e.PICK_TYPE||!e.CARD_TYPE||"SECURED CARD"!=e.CARD_TYPE.toUpperCase())}scrolledDone(e){this.scrolled=!1}checkExpandButton(e){this._has_expand_button=e,this.SetUpShowMoreButton()}toggleShowMore(e){e.preventDefault(),requestAnimationFrame(()=>{this.fullReview=!this.fullReview,this._cd.detectChanges(),xS().then(()=>{setTimeout(()=>{this.show_more=!this.show_more,this._cd.detectChanges()},0)})})}isBadCard(e){return"SECURED"==e.PICK_TYPE.toUpperCase()||"SECURED CARD"==e.PICK_TYPE.toUpperCase()||"UNSECURED"==e.PICK_TYPE.toUpperCase()||"UNSECURED CARD"==e.PICK_TYPE.toUpperCase()||!e.PICK_TYPE&&(this.isSecuredCard(e)||/bad/i.test(e.MIN_CREDIT_REQUIRED_LAST))}hasPurchaseIntro(e){if(e.OFFERS_PURCHASE_INTRO_APR&&"Y"==e.OFFERS_PURCHASE_INTRO_APR.toUpperCase()){if(e.PURCHASE_INTRO_APR_COMBO)return!0;if(e.PURCHASE_INTRO_APR&&"N/A"!=e.PURCHASE_INTRO_APR.toUpperCase())return!0}return!1}hasBtTransfer(e){if(e.OFFERS_BT_INTRO_APR&&"Y"==e.OFFERS_BT_INTRO_APR.toUpperCase()){if(e.BT_INTRO_APR_COMBO)return!0;if(e.BT_INTRO_APR&&"N/A"!=e.BT_INTRO_APR.toUpperCase())return!0}return!1}isChaseOrBankOfAmerica(e){return!(!e||!e.ISSUER)&&("CHASE"==e.ISSUER.toUpperCase()||"BANK OF AMERICA"==e.ISSUER.toUpperCase())}isLinkedRewardsRate(e){return!!e&&(e.REWARDS_EARN_RATE_HYPERLINKED&&("Y"==e.REWARDS_EARN_RATE_HYPERLINKED||!0===e.REWARDS_EARN_RATE_HYPERLINKED)&&"N/A"!=this.getEmptyValue(e.REWARDS_EARN_RATE,!0)&&"None"!=this.getEmptyValue(e.REWARDS_EARN_RATE,!0))}getTransferIntroAPR(e,t=!0){if(this.hasBtTransfer(e)){let n;return n=e.BT_INTRO_APR,"N/A"==this.getEmptyValue(e.BT_INTRO_APR,!0)&&(n="N/A"),t&&"N/A"!=n&&(n+="<br/>",n+='<span class="desk-grey">Transfer Fee: '+e.BT_FEE+"</span>"),n}return"N/A"}getPurchaseIntroAPR(e){let t="N/A";return this.hasPurchaseIntro(e)&&(t=e.PURCHASE_INTRO_APR_COMBO?e.PURCHASE_INTRO_APR_COMBO:e.PURCHASE_INTRO_APR),t}getEmptyValue(e,t=!1){return""!=e&&e?e:t?"N/A":"None"}isAmexWithMonitoringUrl(e){return!("AMERICAN EXPRESS"!=(e.ISSUER&&e.ISSUER.toUpperCase())||"Y"!=e.WH_AFFILIATE_LINK||!this.isApplyButtonVisible(e)||!e.MONITORING_URL)}isCardWithMonitoringUrl(e){let t=(e.ISSUER&&e.ISSUER.toUpperCase())+"";return!(0!==t.indexOf("DISCOVER")&&"HSBC"!=t&&"BARCLAYS"!=t&&"WELLS FARGO"!=t&&"U.S. BANK"!=t&&"MARCUS BY GOLDMAN SACHS"!=t||"Y"!=e.WH_AFFILIATE_LINK||!this.isApplyButtonVisible(e)||!e.MONITORING_URL)}hasRates(e){return~[1667,2156,3292].indexOf(parseInt(e.PID))||this.isAmexWithMonitoringUrl(e)||this.isCardWithMonitoringUrl(e)||e.SHOW_RATES_FEES&&"Y"==e.SHOW_RATES_FEES}hasTerms(e){return this.isAmexWithMonitoringUrl(e)||e.SHOW_TERMS_APPLY&&"Y"==e.SHOW_TERMS_APPLY}hasRewardBonus(e){return e.REWARDS&&"N"!=e.REWARDS&&e.REWARDS_EARN_RATE&&"None"!=e.REWARDS_EARN_RATE}getRewardsList(e){let t=[];return e.REWARD_DETAILS&&(t=e.REWARD_DETAILS.split("__")),t}getProsList(e){let t=[];return e.EDITORS_PROS&&(t=e.EDITORS_PROS.split("|")),t}getConsList(e){let t=[];return e.EDITORS_CONS&&(t=e.EDITORS_CONS.split("|")),t}getCardDetails(e){let t=[];return e.DESCRIPTION&&(t=e.DESCRIPTION.split("__")),t}MinCredtTip(e=1){let t;t=2==e?this.mincredsecond:3==e?this.mincredthird:4==e?this.mincredboxmob:this.mincred,t.Open(this._mincreditpop),this._cd.detectChanges()}BonusOfferTip(e=!1){e?this.bonusoffertipmob.Open(this._bonusoffertpop,{tip_content:this.card.REWARDS_INITIAL_BONUS_TOOLTIP}):this.bonusoffertip.Open(this._bonusoffertpop,{tip_content:this.card.REWARDS_INITIAL_BONUS_TOOLTIP}),this._cd.detectChanges()}RewardsRateTip(e=!1){e?this.rewardsratetipmob.Open(this._rewardsratepop,{tip_content:this.getRewardsRateTooltip()}):this.rewardsratetip.Open(this._rewardsratepop,{tip_content:this.getRewardsRateTooltip()}),this._cd.detectChanges()}getCardSchemaUrl(e){return this.baseUrl+"/"+this.schemaUrl+"#card-"+this.schemaIndex}compareToggled(e){if(this.comparing=e,this._srv){let t=this.card.PID+"c";this.card.PID_FULL?t=this.card.PID_FULL:this.card.redirPid&&(t=this.card.redirPid);let n="",i="";switch(this.card.PDT_TYPE){case"Checking":n="Checking Accounts";break;case"Savings":case"Money Market":case"CD":n="Savings Accounts";break;case"Personal Loan":n="Personal Loans";break;case"Prepaid Card":n="Prepaid Debit Cards";break;case"Auto Loans":case"Auto Loan":case"Car Loans":"New Car"===this.card.LOAN_PURPOSE?(n="Car Loans",i="p"):"Used Car"===this.card.LOAN_PURPOSE?(n="Car Loans",i="u"):"Refinance"===this.card.LOAN_PURPOSE?(n="Car Loans",i="r"):n="Car Loans";break;case"Mortgage":"P"===this.card.SUB_TYPE?(n="Mortgage Rates",i="p"):"R"===this.card.SUB_TYPE?(n="Mortgage Rates",i="r"):n="Mortgage Rates";break;default:n="Card"}this._srv.toggleCompare({compare:e,item:{name:this.card.NAME,pid:t,img:this.card.IMAGE_NAME,img_alt:this.card.NAME,ptype:n,psubtype:i}})}this._cd.detectChanges()}getFeatureCallOut(e){var t,n;return!!(null==e?void 0:e.SPECIAL_FEATURE_TYPE)&&("Custom"===e.SPECIAL_FEATURE_TYPE&&(null==e?void 0:e.SPECIAL_FEATURE_HEADLINE)?(this.callout_content={headline:e.SPECIAL_FEATURE_HEADLINE,feature:null!==(t=e.SPECIAL_FEATURE)&&void 0!==t?t:"",image:null},!0):!("Use Card Promotional Data"!==e.SPECIAL_FEATURE_TYPE||!(null==e?void 0:e.PROMOTIONAL_HEADLINE))&&(this.callout_content={headline:e.PROMOTIONAL_HEADLINE,feature:null!==(n=e.MAIN_MARKETING_BULLET)&&void 0!==n?n:""},!0))}ScrollToAffDis(){if(tS())return;const e=document.querySelector("#cards-disclosure");e&&this._scrollservice.scrollTo({timing:300,target:e,offset:30})}get buttonText(){return this.show_more?this.pdtType?"Show Less":"Hide Card Details":this.pdtType?"Show More":this.card.EDITORS_NOTES&&""!=this.card.EDITORS_NOTES&&this.card.COLLAPSE_COMMENT?"Editor's Thoughts & More":"Pros, Cons & Details"}get buttonIconClass(){return this.show_more?"af-icon-up-open":"af-icon-down-open"}}MV.ɵfac=function(e){return new(e||MV)(ep(Xw),ep(nF,8),ep(VS,8))},MV.ɵcmp=nf({type:MV,selectors:[["section","best-card",""]],viewQuery:function(e,t){if(1&e&&(yb(cB,5),yb(uB,5),yb(dB,5),yb(hB,5),yb(pB,5),yb(fB,5),yb(gB,5),yb(_B,5),yb(mB,5)),2&e){let e;wb(e=Eb())&&(t._edrvdialog=e.first),wb(e=Eb())&&(t.mincred=e.first),wb(e=Eb())&&(t.mincredsecond=e.first),wb(e=Eb())&&(t.mincredthird=e.first),wb(e=Eb())&&(t.mincredboxmob=e.first),wb(e=Eb())&&(t.bonusoffertip=e.first),wb(e=Eb())&&(t.bonusoffertipmob=e.first),wb(e=Eb())&&(t.rewardsratetip=e.first),wb(e=Eb())&&(t.rewardsratetipmob=e.first)}},inputs:{card:"card",cdnUrl:"cdnUrl",version:"version",offsetTop:"offsetTop",showSchema:[0,"show-schema","showSchema"],showRatingSchema:[0,"show-rating-schema","showRatingSchema"],showReviewsLink:[0,"show-reviews-url","showReviewsLink"],schemaIndex:[0,"schema-index","schemaIndex"],schemaUrl:[0,"schema-url","schemaUrl"],showHeading:[0,"show-heading","showHeading"],adviewSection:[0,"adview-section","adviewSection"],adviewTotals:[0,"adview-totals","adviewTotals"],adviewPosition:[0,"adview-position","adviewPosition"],adviewRecheck:[0,"adview-recheck","adviewRecheck"],adviewDisabled:[0,"adview-disabled","adviewDisabled"],isBestPage:[0,"best-page","isBestPage"],isNonNA:[0,"non-na","isNonNA"],show_compare_checkbox:[0,"show-compare-checkbox","show_compare_checkbox"],generic_institution:[0,"generic-institution","generic_institution"],pageVersion:[0,"page-version","pageVersion"],product_type:[0,"product-type","product_type"],btn_site_label:[0,"btn-site-label","btn_site_label"],btn_site_link:[0,"btn-site-link","btn_site_link"],expanded:"expanded",is_budget_apps_page:[0,"is-budget-apps-page","is_budget_apps_page"],is_budget_apps_page_collapsed:[0,"is-budget-apps-page-collapsed","is_budget_apps_page_collapsed"]},standalone:!1,decls:8,vars:6,consts:[["schemaTemplate",""],["hasRewards",""],["mincredbox",""],["editorreview",""],["AdPixelViewClick",""],["rewardsratetip",""],["deferImg",""],["securedNonRewards",""],["unsecuredNonRewards",""],["bonusoffertip",""],["rewardsratetipmob",""],["badSecuredNonRewards",""],["bonusoffertipmob",""],["mincredboxmob",""],["mincredboxsecond",""],["noDetails",""],["class","old-version text-select","ad-pixel","",3,"scroll-to","zenspeed","ad-id","trigger-ratio","referrer-url","click-url","ad-pixel-recheck","adview-section","adview-totals","adview-position","ng-attribute","ng-attribute-when","scrolled","adViewed",4,"ngIf"],["class","flat-box text-select","ad-pixel","",3,"scroll-to","zenspeed","ad-id","trigger-ratio","referrer-url","click-url","ad-pixel-recheck","adview-section","adview-totals","adview-position","ng-attribute","ng-attribute-when","scrolled","adViewed",4,"ngIf"],["class","generic-institution flat-box text-select","ad-pixel","",3,"scroll-to","zenspeed","ad-id","trigger-ratio","referrer-url","click-url","adview-section","adview-totals","adview-position","ad-disabled","ng-attribute","ng-attribute-when","scrolled","adViewed",4,"ngIf"],["rel","noreferrer","target","_blank","class","flat-box call-to-action",3,"href","scroll-to","zenspeed","scrolled",4,"ngIf"],["class","flat-box note-comments text-select",3,"scroll-to","zenspeed","scrolled",4,"ngIf"],[4,"ngIf"],["ad-pixel","",1,"old-version","text-select",3,"scrolled","adViewed","scroll-to","zenspeed","ad-id","trigger-ratio","referrer-url","click-url","ad-pixel-recheck","adview-section","adview-totals","adview-position","ng-attribute","ng-attribute-when"],[3,"ng-attribute-when","ng-attribute"],["class","img-mob full",4,"ngIf"],["class","img-mob",4,"ngIf"],[1,"stars"],[1,"ng-star-rating"],[3,"ngClass",4,"ngFor","ngForOf"],[1,"mob-title"],["class","secure-card",4,"ngIf"],["class","college-card",4,"ngIf"],[1,"offers"],[4,"ngIf","ngIfElse"],["class","on-desk",4,"ngIf"],["class","notes notes-desk-btn","data-closed","Read Editors Notes","data-opened","Hide Editors Notes","zing-touch","",3,"ngClass","zing-no-touch","onTap",4,"ngIf"],["class","more",3,"ngClass",4,"ngIf"],[1,"btm-link"],[1,"more",3,"ngClass"],["class","label",4,"ngIf"],["popup-in-view","",3,"classes"],[1,"long-bar"],[3,"ngClass","innerHTML"],[3,"innerHTML",4,"ngIf"],[3,"innerHTML",4,"ngFor","ngForOf","ngForTrackBy"],["class","detailslink",4,"ngIf"],["data-closed","Editors Notes & Details","data-opened","Hide Details","zing-touch","",1,"notes","btn","grey","blank","no-decoration",3,"onTap","zing-no-touch","ngClass"],["href","'/r/?id='+card.ID+'c&rf=1'","target","_blank","rel","nofollow","class","rates",3,"ngClass",4,"ngIf"],["class","terms-apply",4,"ngIf"],[1,"img-mob","full"],[1,"img-mob",3,"ng-attribute-when","ng-attribute","src"],[1,"img-mob"],[4,"ngTemplateOutlet"],[3,"ngClass"],["class","review","zing-touch","",3,"zing-url","href",4,"ngIf"],["class","review plain-rv",4,"ngIf"],["zing-touch","",1,"review",3,"zing-url","href"],["tabindex","-1","aria-hidden","true",1,"rev-count"],["tabindex","-1","aria-hidden","true",1,"rev-txt"],[1,"review","plain-rv"],["zing-touch","",1,"af-icon-info","editor-rating-info",3,"onTap","zing-no-touch"],[1,"editor-rating-pop","ng-modal-tool-tip",3,"popup-relative"],["itemprop","aggregateRating","itemscope","","itemtype","http://schema.org/AggregateRating",4,"ngIf"],["itemprop","aggregateRating","itemscope","","itemtype","http://schema.org/AggregateRating"],["itemprop","ratingValue"],["itemprop","reviewCount"],["itemprop","worstRating","content","0"],["itemprop","bestRating","content","5"],["zing-touch","",1,"link","hover",3,"zing-url","href"],[3,"innerHtml"],[3,"title","innerHtml"],["zing-touch","","target","_self","rel","nofollow","role","link",1,"btn","orange","no-decoration","af-icon-lock-filled","full",3,"zing-url"],[1,"secure-card"],[1,"college-card"],[1,"on-desk"],[1,"on-mob"],[3,"innerHTML"],["class","on-mob",4,"ngIf"],["class","af-icon-info min-cred-rating-info","zing-touch","",3,"zing-no-touch","onTap",4,"ngIf"],["popup-in-view","",3,"classes",4,"ngIf"],["zing-touch","",1,"af-icon-info","min-cred-rating-info",3,"onTap","zing-no-touch"],["class","terms","target","_blank","rel","nofollow",3,"href",4,"ngIf"],["target","_blank","rel","nofollow",1,"terms",3,"href"],["data-closed","Read Editors Notes","data-opened","Hide Editors Notes","zing-touch","",1,"notes","notes-desk-btn",3,"onTap","ngClass","zing-no-touch"],[1,"label"],["zing-touch","",1,"info-tip","af-icon-info",3,"onTap","zing-no-touch"],[1,"detailslink"],[1,"link",3,"href"],["zing-touch","","target","_self","rel","nofollow","role","link",1,"btn","orange","no-decoration","af-icon-lock-filled",3,"zing-url"],["href","'/r/?id='+card.ID+'c&rf=1'","target","_blank","rel","nofollow",1,"rates",3,"ngClass"],[1,"terms-apply"],["ad-pixel","",1,"flat-box","text-select",3,"scrolled","adViewed","scroll-to","zenspeed","ad-id","trigger-ratio","referrer-url","click-url","ad-pixel-recheck","adview-section","adview-totals","adview-position","ng-attribute","ng-attribute-when"],[1,"top-part",3,"ngClass"],[1,"caption-part"],["class","top-label",3,"cleanHTML",4,"ngIf"],[1,"radio-container","mob-title"],[1,"card-header",3,"ngClass"],[1,"card-image-mob"],[3,"defer-src","ui-hydrate"],[3,"alt","ngClass"],[1,"card-main-info"],[1,"radio-container"],["class","card-title",4,"ngIf"],["class","card-title",3,"title","innerHtml",4,"ngIf"],["class","details-wh-rating",4,"ngIf"],["class","btn-groups-mob",4,"ngIf"],["class","feature-callout-wrapper",4,"ngIf"],["class","card-info-box",4,"ngIf"],["class","card-info-box card-fld-cnt des",3,"ngClass",4,"ngIf"],["class","card-info-box card-fld-cnt mob",3,"ngClass",4,"ngIf"],[1,"bottom-part"],["class","more-card-details",3,"ngClass",4,"ngIf"],["class","card-details show",4,"ngIf"],["class","btn-details-mob",3,"ngClass",4,"ngIf"],[1,"top-label",3,"cleanHTML"],[1,"card-title"],["zing-touch","",1,"link",3,"zing-url","href","title","innerHtml"],["class","no-aff-asterisk","zing-touch","","data-jump-to","cards-disclosure","role","button",4,"ngIf"],["zing-touch","","data-jump-to","cards-disclosure","role","button",1,"no-aff-asterisk"],[1,"card-title",3,"title","innerHtml"],[1,"details-wh-rating"],[1,"details-wh-rating-txt"],[1,"details-wh-rating-num",3,"ng-context"],[1,"details-wh-rating-label"],["class","af-icon-info details-wh-rating-btn-info","zing-touch","","role","button","tabindex","0","aria-label","Credit Score Table","aria-haspopup","dialog","data-sel-id","score-info-wh-rating-popup-button",3,"zing-no-touch","onTap","onTapOutside",4,"ngIf"],["class","details-wh-rating-dist","zing-touch","",3,"zing-no-touch","ngClass","cleanHTML","onTap","onTapOutside",4,"ngIf"],["zing-touch","","role","button","tabindex","0","aria-label","Credit Score Table","aria-haspopup","dialog","data-sel-id","score-info-wh-rating-popup-button",1,"af-icon-info","details-wh-rating-btn-info",3,"onTap","onTapOutside","zing-no-touch"],["zing-touch","",1,"details-wh-rating-dist",3,"onTap","onTapOutside","zing-no-touch","ngClass","cleanHTML"],[1,"btn-groups-mob"],[1,"btn-mob"],["zing-touch","","class","btn orange no-decoration","rel","nofollow","role","link",3,"zing-url","onTap",4,"ngIf"],["zing-touch","","class","btn orange no-decoration","rel","nofollow","role","link",3,"zing-url","href",4,"ngIf"],["class","rates-container",4,"ngIf"],["zing-touch","","rel","nofollow","role","link",1,"btn","orange","no-decoration",3,"onTap","zing-url"],["zing-touch","","rel","nofollow","role","link",1,"btn","orange","no-decoration",3,"zing-url","href"],[1,"rates-container"],["zing-touch","","target","_blank","rel","nofollow","role","link",1,"link","rates",3,"zing-url","href"],["zing-touch","","role","link",1,"btn","orange","no-decoration",3,"zing-url","href"],["zing-touch","","class","btn orange no-decoration","target","_self","rel","nofollow","role","link",3,"zing-url","onTap",4,"ngIf"],["zing-touch","","target","_self","rel","nofollow","role","link",1,"btn","orange","no-decoration",3,"onTap","zing-url"],[1,"feature-callout-wrapper"],[1,"callout-icon-wrapper"],[1,"callout-icon"],["class","callout-content",4,"ngIf"],[1,"callout-content"],[1,"callout-header",3,"cleanHTML"],[1,"callout-feature",3,"cleanHTML"],[1,"card-info-box"],[1,"card-info-table"],["class","card-fields mob",4,"ngIf"],[1,"bold","label"],[1,"bold","value"],[1,"bold","value",3,"innerHTML"],[1,"bold","value","middle-row",3,"innerHTML"],[1,"value","middle-row"],["class","value",4,"ngIf"],["class","value appr-odds min-cred",3,"ngClass",4,"ngIf"],[1,"bold","label","middle-row"],["hidden","true"],[1,"value"],[1,"value","appr-odds","min-cred",3,"ngClass"],[1,"influ"],[1,"bold","value",3,"innerHTML","ngClass"],[1,"bold","value",3,"ngClass"],["zing-touch","",1,"link",3,"onTap","zing-no-touch"],[1,"card-fields","top-bdr","mob"],[1,"card-field-label","jusaus"],[1,"card-field-value"],[1,"card-fields","mob"],["zing-touch","",1,"link","noselect",3,"onTap","zing-no-touch"],[1,"card-field-value",3,"innerHTML"],[1,"card-info-box","card-fld-cnt","des",3,"ngClass"],[4,"ngFor","ngForOf"],["class","card-fields des",4,"ngIf"],[1,"card-fields","des"],["class","info-tip af-icon-info","zing-touch","",3,"zing-no-touch","onTap",4,"ngIf"],["class","card-field-value",3,"innerHTML",4,"ngIf"],["class","card-field-value",4,"ngIf"],["class","card-fields nospace",4,"ngIf"],["zing-touch","",1,"link",3,"onTap","zing-no-touch","innerHTML"],[1,"card-fields","nospace"],[1,"card-field-label","middle-row"],[1,"card-field-value","middle-row",3,"innerHTML"],[1,"card-field-value","middle-row","dummy-class",3,"innerHTML"],[1,"card-info-box","card-fld-cnt","mob",3,"ngClass"],["class","card-field-label jusaus",4,"ngIf"],[3,"classes",4,"ngIf"],[3,"classes"],["class","bold label",4,"ngIf"],["class","bold value",4,"ngIf"],["class","card-tags",4,"ngIf"],[1,"card-tags"],["class","card-tag",4,"ngFor","ngForOf"],[1,"card-tag"],[1,"card-info-table","col-4"],[1,"bold","label","label-min-crd"],["class","small",4,"ngIf"],[1,"small"],["class","editor-notes",3,"ngClass",4,"ngIf"],[1,"editor-notes",3,"ngClass"],["zing-touch","",3,"hasExpandButton","ng-truncate","zing-url-container","breakwords","expand-content","expand-button","collapse-button"],[3,"cleanHTML",4,"ngIf"],[3,"cleanHTML"],[1,"more-card-details",3,"ngClass"],["class","compare-checkbox guy",4,"ngIf"],["class","show-details","zing-touch","",3,"zing-no-touch","onTap",4,"ngIf"],["zing-touch","",1,"show-details",3,"onTap","zing-no-touch"],[1,"af-icon-down-open"],[1,"no-details"],[1,"compare-checkbox","guy"],["label","Compare",3,"checkedChange","checked"],[1,"card-details","show"],["class","card-detail card-pros-cons",4,"ngIf"],["class","card-detail show",4,"ngIf"],[1,"card-detail","disclaimer",3,"ngClass"],[1,"card-detail","card-pros-cons"],["class","card-pros",4,"ngIf"],["class","card-cons",4,"ngIf"],[1,"card-pros"],["tabindex","0","role","heading","aria-level","3","aria-label","Pros",1,"label"],["tabindex","-1",1,"bf-icon-upvote"],["aria-label","Editors Pros"],["tabindex","0",3,"cleanHTML",4,"ngFor","ngForOf"],["tabindex","0",3,"cleanHTML"],[1,"card-cons"],["ng-focus-when","card.details","tabindex","0","role","heading","aria-level","3","aria-label","Pros",1,"label"],["tabindex","-1",1,"bf-icon-downvote"],["aria-label","Editors Cons"],[1,"card-detail","show"],["aria-describedby","",1,"prod-rates-table"],["role","none","aria-label","Balance","tabindex","0"],["role","none","aria-label","APY","tabindex","0"],["role","text"],["class","see-details",4,"ngIf"],[1,"see-details"],["zing-touch","",1,"link",3,"zing-url","href"],["class","compare-checkbox",4,"ngIf"],[1,"af-icon-up-open"],[1,"compare-checkbox"],[1,"btn-details-mob",3,"ngClass"],["class","btn-mob","zing-touch","",3,"onTap",4,"ngIf","ngIfElse"],["zing-touch","",1,"btn-mob",3,"onTap"],[1,"show-details"],["ad-pixel","",1,"generic-institution","flat-box","text-select",3,"scrolled","adViewed","scroll-to","zenspeed","ad-id","trigger-ratio","referrer-url","click-url","adview-section","adview-totals","adview-position","ad-disabled","ng-attribute","ng-attribute-when"],[1,"main-part"],[1,"mp-profile"],[1,"mpp-avatar"],[1,"mpp-name"],["zing-touch","","class","link",3,"zing-url","href","cleanHTML",4,"ngIf"],[1,"mpp-reviews"],[1,"mp-feature",3,"cleanHTML"],[1,"mp-details"],[1,"mp-btn-groups"],[1,"mpbg-btn-mob"],["zing-touch","","class","btn orange no-decoration full","target","_blank","role","link",3,"zing-url","href",4,"ngIf"],["class","center mpbg-btn-more-container",4,"ngIf"],["class","details-part more",3,"ngClass",4,"ngIf"],["zing-touch","",1,"link",3,"zing-url","href","cleanHTML"],["zing-touch","","target","_blank","role","link",1,"btn","orange","no-decoration","full",3,"zing-url","href"],[1,"center","mpbg-btn-more-container"],["zing-touch","",1,"notes","notes-desk-btn","mpbg-btn-more",3,"onTap","zing-no-touch"],["zing-touch","",1,"notes","notes-mob-btn","mpbg-btn-more","btn","grey-dark","full",3,"onTap","zing-no-touch"],["tabindex","-1",1,"af-icon-down-open"],["tabindex","-1",1,"af-icon-up-open"],[1,"details-part","more",3,"ngClass"],["rel","noreferrer","target","_blank",1,"flat-box","call-to-action",3,"scrolled","href","scroll-to","zenspeed"],[1,"card-header"],[1,"img",3,"src","alt"],[1,"category"],[1,"comments",3,"innerHTML"],[1,"arrow-container"],[1,"right-arrow","bf-icon-left-arrow"],[1,"flat-box","note-comments","text-select",3,"scrolled","scroll-to","zenspeed"],["itemscope","","itemtype","https://schema.org/Product"],["itemprop","offers","itemscope","","itemtype","https://schema.org/Offer"],["itemprop","priceSpecification","itemscope","","itemtype","https://schema.org/UnitPriceSpecification"],["itemprop","referenceQuantity","itemscope","","itemtype","https://schema.org/QuantitativeValue"],["itemprop","value","content","1"],["itemprop","unitCode","content","ANN"],["itemprop","priceCurrency","content","USD"],["itemprop","price"],["itemprop","offeredBy"],["itemprop","annualPercentageRate","itemscope","","itemtype","https://schema.org/QuantitativeValue"],["itemprop","unitCode","content","P1"],["itemprop","value"]],template:function(e,t){1&e&&Hf(0,Bz,56,87,"div",16)(1,cV,43,84,"div",17)(2,AV,30,64,"div",18)(3,RV,9,7,"a",19)(4,xV,2,3,"div",20)(5,kV,7,25,"div",21)(6,OV,14,12,"ng-template",null,0,Yy),2&e&&(V_("ngIf",t.card.ID&&1==t.version),Zu(),V_("ngIf",t.card.ID&&2==t.version&&!t.generic_institution),Zu(),V_("ngIf",t.card.ID&&2==t.version&&t.generic_institution),Zu(),V_("ngIf",3==t.version),Zu(),V_("ngIf",4==t.version),Zu(),V_("ngIf",t.isCreditCard&&t.showSchema&&t.showRatingSchema))},dependencies:[LC,HC,zC,ZC,OS,oL,GS,cL,dL,DF,OM,PF,oF,PH,aL,LV],encapsulation:2,changeDetection:0});class PV{constructor(e){this._dservice=e}GoToMetho(){const e=document.querySelector("[data-metho]");e&&this._dservice.scrollTo({timing:300,target:e})}}PV.ɵfac=function(e){return new(e||PV)(ep(VS))},PV.ɵcmp=nf({type:PV,selectors:[["editor-review"]],standalone:!1,decls:8,vars:2,consts:[[2,"max-width","300px"],["zing-touch","","target","_blank",1,"link","semi-bold-font",3,"zing-url"],["zing-touch","",1,"link","semi-bold-font",3,"onTap"]],template:function(e,t){1&e&&(Fm(0,"div",0),Wb(1," This is an editor's rating, for further details you can "),Fm(2,"a",1),Wb(3,"see the full review"),Hm(),Wb(4,". To see the methodology used for selecting this loan, "),Fm(5,"span",2),nb("onTap",function(){return t.GoToMetho()}),Wb(6,"click here"),Hm(),Wb(7,". "),Hm()),2&e&&(Zu(2),V_("zing-url",!0),a_("href",null==t.data?null:t.data.reviewurl,cu))},dependencies:[OS],encapsulation:2});class FV{}FV.ɵfac=function(e){return new(e||FV)},FV.ɵmod=of({type:FV}),FV.ɵinj=Hn({imports:[yI,wL,kF,IF,NM,FF,lF,hH,kF,FH]});const HV=(e,t,n)=>({glide__slides:e,"glide__slides-disabled":t,"glide__slides-node":n}),BV=e=>({"glide__bullet--active":e});function zV(e,t){if(1&e&&(qm(0),Bm(1,"button",6),Um()),2&e){const e=t.$implicit,n=sb(2);Zu(),V_("ngClass",Sy(2,BV,n.is_node&&0==e)),a_("data-glide-dir","="+e)}}function qV(e,t){if(1&e&&(Fm(0,"div",4),Hf(1,zV,2,4,"ng-container",5),Hm()),2&e){const e=sb();Zu(),V_("ngForOf",e.items_number)}}function UV(e,t){if(1&e&&(Fm(0,"div",7),Bm(1,"div",8)(2,"div",9),Hm()),2&e){const e=sb();Zu(),V_("ng-hidden",!e.show_left_arrow&&"slider"==e.options.type),Zu(),V_("ng-hidden",!e.show_right_arrow&&"slider"==e.options.type)}}o.import("css:/components/glide-slider.css").then(()=>{}).catch(()=>{});const jV={type:"slider",gap:0,keyboard:!1,perTouch:0,rewind:!1,bound:!0};class VV{set enabled(e){this._enabled=e,this._glide&&(e&&this._glide.disabled?this._glide.enable():e||this._glide.disabled||this._glide.disable())}get enabled(){return this._enabled}set options(e){this._options=Object.assign({},jV,e),this._glide&&this._glide.update(this._options)}get options(){return this._options}constructor(e,t,n){this._el=e,this._render=t,this._dservice=n,this._enabled=!0,this.arrows=!1,this._max_arrow_viewport=0,this.dots=!1,this.afterGlide=new Ca,this.onGlideInitial=new Ca,this.is_node=tS(),this.total_items=4,this.items_number=[]}ngOnInit(){if(this.total_items)for(let e=0;e<this.total_items;e++)this.items_number.push(e)}GlideAutoHeight(e,t,n){const i={mount(){e.settings.autoHeight&&(t.Html.track.style.transition="height 200ms ease-in-out",this.updateTrackHeight())},updateTrackHeight(){if(!e.settings.autoHeight)return;const n=t.Html.slides.filter((t,n)=>n>=e.index&&n<=e.index-1+e.settings.perView).reduce((e,t)=>Math.max(e,t.offsetHeight),0),i=t.Html.track;i.style.height="auto",n===i.offsetHeight||e.disabled||(i.style.height=`${n}px`)}};return n.on("run",()=>{i.updateTrackHeight()}),n.on("update",()=>{i.updateTrackHeight()}),n.on("resize",()=>{i.updateTrackHeight()}),i}ngAfterViewInit(){if(tS())return;this.is_node=!1;let e=new Promise(e=>{setTimeout(()=>{this._glide=new t(this._el.nativeElement,this._options||jV).mount({GlideAutoHeight:this.GlideAutoHeight}),e(this._glide)})});Promise.all([e]).then(e=>{this.onGlideInitial.emit(!0),IS(()=>{let e,t=this._glide.index<=0,n=!1,i=!this._arrow_viewport_show||this.total_items<=this._glide.settings.perView;this.show_left_arrow=!i&&!t,this.show_right_arrow=!i,this._glide.on("update",e=>{this.onGlideInitial.emit(e)}),this._glide.on("run.start",e=>{t=!0}),this._glide.on("run.end",e=>{n=!0}),this._glide.on("run.after",()=>{const e=this._glide.index;this.afterGlide.emit(e),i||(this.show_right_arrow=!n,this.show_left_arrow=!t),t=!1,n=!1}),this._glide.on("resize",()=>{IS(()=>{i=!this._arrow_viewport_show||this.total_items<=this._glide.settings.perView,this._glide.index,i&&(this.show_left_arrow=!1,this.show_right_arrow=!1)})}),t=!1,n=!1,this._dservice.onScroll.subscribe(()=>{this._enabled&&this._glide.disabled&&(this._glide.go("="+this._glide.index),this._glide.disable(),clearTimeout(e),e=setTimeout(()=>{this._glide.enable()},250))})})}).catch(e=>{this._glide=null,this._render.setStyle(this._el.nativeElement,"display","none")})}ngOnDestroy(){this._glide&&this._glide.destroy()}get _arrow_viewport_show(){return this.arrows&&this._max_arrow_viewport<window.innerWidth}}VV.ɵfac=function(e){return new(e||VV)(ep(Ua),ep(qh),ep(VS))},VV.ɵcmp=nf({type:VV,selectors:[["ng-glide"]],inputs:{enabled:"enabled",options:[0,"glide-options","options"],arrows:"arrows",_max_arrow_viewport:[0,"arrow-max-viewport","_max_arrow_viewport"],dots:"dots",total_items:[0,"items-total","total_items"]},outputs:{afterGlide:"afterGlide",onGlideInitial:"onGlideInitial"},standalone:!1,ngContentSelectors:["*"],decls:5,vars:7,consts:[["data-glide-el","track",1,"glide__track"],[3,"ngClass"],["class","glide__bullets","data-glide-el","controls[nav]",4,"ngIf"],["data-glide-el","controls","class","glide__arrows",4,"ngIf"],["data-glide-el","controls[nav]",1,"glide__bullets"],[4,"ngFor","ngForOf"],[1,"glide__bullet","btn","white",3,"ngClass"],["data-glide-el","controls",1,"glide__arrows"],["aria-hidden","true","data-glide-dir","<",1,"glide-arrow","gla-lt","bf-icon-left-open-big",3,"ng-hidden"],["aria-hidden","true","data-glide-dir",">",1,"glide-arrow","gla-rt","bf-icon-right-open-big",3,"ng-hidden"]],template:function(e,t){1&e&&(ab(),Fm(0,"div",0)(1,"div",1),lb(2),Hm(),Hf(3,qV,2,1,"div",2),Hm(),Hf(4,UV,3,2,"div",3)),2&e&&(Zu(),V_("ngClass",Ry(3,HV,t.enabled,!t.enabled,t.is_node)),Zu(2),V_("ngIf",t.items_number&&t.items_number.length&&t.dots),Zu(),V_("ngIf",t.arrows))},dependencies:[LC,HC,zC,sL],encapsulation:2});class WV{}WV.ɵfac=function(e){return new(e||WV)},WV.ɵmod=of({type:WV}),WV.ɵinj=Hn({imports:[yI,wL]});class $V{get refresh(){return this._refresh}set refresh(e){this._refresh=e,!tS()&&this._scroller&&setTimeout(()=>{this._scrollWatch()})}get enabled(){return this._enable}set enabled(e){this._enable=e,e&&!tS()&&setTimeout(()=>{this._scrollWatch()})}_getSupport(){if(!window.getComputedStyle)return!1;let e=document.createElement("div"),t=["","-webkit-","-moz-","-ms-"],n=null;for(let i=0,r=t.length;i<r;i++){let r=t[i]+"sticky";try{e.style.position=r}catch(e){}if(e.style.position&&e.style.position.indexOf("sticky")>-1){n=r;break}}return n}constructor(e,t,n){this._el=e,this._zone=t,this._dserv=n,this.offset=null,this.fixedcenter=!1,this.userscrolleroffset=!0,this._enable=!0,this.auto_start=!0,this._nativesupport="fixed",this.trynative=!1,this.sticky_parent=!1}_scrollWatch(){if(!this.enabled)return;let e=this._el.nativeElement,t=this._el.nativeElement.parentNode.getBoundingClientRect(),n={};if(0===e.offsetHeight&&0===e.offsetWidth)return;let i=t.top<this.offset?this.offset:t.top;i+e.offsetHeight>t.bottom&&(i=t.bottom-e.offsetHeight),n.top=i+"px",this.fixedcenter&&(n.left=t.left+"px",n.right=window.innerWidth-t.right+"px");let r="position:fixed;top:"+n.top+";left:"+n.left+";";n.right&&(r+="right:"+n.right),e.style.cssText!==r&&(e.style.cssText=r)}ngAfterViewInit(){if(this._scrollWatch=this._scrollWatch.bind(this),!tS()&&!window.JSTESTING){if(this.sticky_parent&&(this._el={nativeElement:this._el.nativeElement.parentNode}),this.trynative){let e=this._getSupport();if(e){return void(this._el.nativeElement.style.position=e)}}let e;this._scroller=this.scroller?document.querySelector(this.scroller):this._dserv.overwrite_to_body?window:this._dserv.element,this.scroller&&this.userscrolleroffset&&null===this.offset&&!this._dserv.overwrite_to_body&&(this.offset=this._scroller.getBoundingClientRect().top),null===this.offset&&(this.offset=0),e=!!SS()&&{passive:!0},e=!1,this._zone.runOutsideAngular(()=>{this._scroller.addEventListener("scroll",this._scrollWatch,e),window.addEventListener("resize",this._scrollWatch,e),this.auto_start&&IS(()=>{this._el.nativeElement.style.position=this._nativesupport,this._el.nativeElement.top="0px",this._scrollWatch()})})}}ngOnDestroy(){this._scroller&&"fixed"==this._nativesupport&&(this._scroller.removeEventListener("scroll",this._scrollWatch),window.removeEventListener("resize",this._scrollWatch))}}$V.ɵfac=function(e){return new(e||$V)(ep(Ua),ep(ka),ep(VS))},$V.ɵdir=cf({type:$V,selectors:[["","ng-sticky",""]],inputs:{scroller:[0,"sticky-scroller","scroller"],offset:[0,"stickyoffset","offset"],fixedcenter:[0,"stickyfull","fixedcenter"],userscrolleroffset:[0,"sticky-scroller-offset","userscrolleroffset"],refresh:[0,"sticky-refresh-toggle","refresh"],enabled:[0,"stickyenabled","enabled"],auto_start:[0,"sticky-auto-start","auto_start"],trynative:[0,"sticky-native","trynative"],sticky_parent:[0,"sticky-parent","sticky_parent"]},standalone:!1});class GV{set enabled(e){if(e!==this._enabled){let t=this._el.nativeElement;e?(this._native&&t&&this._renderer.setStyle(t,"position","sticky"),IS(()=>{this._ScrollWatch()})):t&&this._renderer.setStyle(t,"position","")}this._enabled=e}get enabled(){return this._enabled}constructor(e,t,n,i){this._el=e,this._zone=t,this._dscroll=n,this._renderer=i,this.allow_native=!0,this.onPosition=new Ca,this._curr_pos="static",this._enabled=!0,this.sticky_parent=!1,this.offset=0,this.force_offset=!1,this._subscriptions=[],this._observables=[],this._native=!1,this._ScrollWatch=this._ScrollWatch.bind(this)}_getSupport(){if(!window.getComputedStyle)return!1;let e=document.createElement("div"),t=["","-webkit-","-moz-","-ms-"],n=null;for(let i=0,r=t.length;i<r;i++){let r=t[i]+"sticky";try{e.style.position=r}catch(e){}if(e.style.position&&e.style.position.indexOf("sticky")>-1){n=r;break}}return n}_ScrollWatch(e){this.enabled&&this._zone.runOutsideAngular(()=>{const t=this._el.nativeElement;if(t)if(this._native){let e=0,n=t.style.top?cS(t.style.top):0,i=t.offsetTop;if(JL.subscribe("header:position-change",t=>{e=t},()=>{},()=>{},[wt(1)]),this.force_offset||e!==n&&0!=i?this._renderer.setStyle(t,"top",e+this.offset+"px"):0==i&&(e=0,this._renderer.setStyle(t,"top",e+this.offset+"px")),this._stickyWayPoint){let e=this._stickyWayPoint.offsetTop,n=this._stickyWayPoint.offsetParent;if(i=t.offsetTop,this._dscroll.overwrite_to_body)for(;n&&n!=this._dscroll.element;)e+=n.offsetTop,n=n.offsetParent;0!==i?i>e?(this.onPosition.emit("sticky"),this._curr_pos="sticky"):(this.onPosition.emit("static"),this._curr_pos="static"):"sticky"==this._curr_pos&&this.onPosition.emit("static")}}else if(this._stickyContainer)if(e){let n=this._stickyContainer.offsetTop,i=this._stickyContainer.offsetParent;for(;i&&i!=this._dscroll.element;)n+=i.offsetTop,i=i.offsetParent;if(e>=n){let e=0;JL.subscribe("header:position-change",t=>{e=t},()=>{},()=>{},[wt(1)]),this._renderer.setStyle(t,"top",e+"px"),this._renderer.setStyle(t,"position","fixed"),"static"==this._curr_pos&&(this.onPosition.emit("sticky"),this._curr_pos="sticky")}else this._renderer.setStyle(t,"top",""),this._renderer.setStyle(t,"position",""),"sticky"==this._curr_pos&&(this.onPosition.emit("static"),this._curr_pos="static")}else this._renderer.setStyle(t,"top",""),this._renderer.setStyle(t,"position",""),"sticky"==this._curr_pos&&(this.onPosition.emit("static"),this._curr_pos="static")})}ngAfterViewInit(){if(!tS()&&!iS()){if(this.sticky_parent&&(this._el={nativeElement:this._el.nativeElement.parentNode}),this._native=!!this.allow_native&&this._getSupport(),this.enabled&&this._el.nativeElement&&this._renderer.setStyle(this._el.nativeElement,"position",this._native?"sticky":""),this._native){if(this._stickyWayPoint=document.createElement("div"),this._stickyWayPoint.classList.add("sticky-waypoint"),this._el.nativeElement){let e=this._el.nativeElement;e.parentNode.insertBefore(this._stickyWayPoint,e)}}else{this._stickyContainer=document.createElement("div"),this._stickyContainer.classList.add("sticky-container");let e=this._el.nativeElement.getBoundingClientRect();this._stickyContainer.style.height=e.height+"px";let t=this._el.nativeElement;t.parentNode.insertBefore(this._stickyContainer,t),this._stickyContainer.appendChild(this._el.nativeElement)}this._observables.push(_t(window,"resize")),this._observables.forEach(e=>{this._subscriptions.push(e.subscribe(()=>{if(this._stickyContainer){let e=this._el.nativeElement.getBoundingClientRect();this._stickyContainer.style.height=e.height+"px"}this._ScrollWatch()}))}),this._subscriptions.push(this._dscroll.onScroll.subscribe(e=>{this._ScrollWatch(e)})),this._ScrollWatch()}}ngOnDestroy(){if(this._subscriptions.forEach(e=>{e.unsubscribe()}),this._observables=[],this._stickyContainer){this._stickyContainer.after(this._el.nativeElement);try{this._stickyContainer.parentNode.removeChild(this._stickyContainer)}catch(e){}this._stickyContainer=null}if(this._stickyWayPoint){try{this._stickyWayPoint.parentNode.removeChild(this._stickyWayPoint)}catch(e){}this._stickyWayPoint=null}}}GV.ɵfac=function(e){return new(e||GV)(ep(Ua),ep(ka),ep(VS),ep(qh))},GV.ɵdir=cf({type:GV,selectors:[["","ng-position-sticky",""]],inputs:{allow_native:[0,"native","allow_native"],enabled:"enabled",sticky_parent:[0,"sticky-parent","sticky_parent"],offset:[0,"stickyoffset","offset"],force_offset:[0,"force-offset","force_offset"]},outputs:{onPosition:"onPosition"},standalone:!1});class YV{constructor(e,t){this._el=e,this._scroll=t,this.threshold=0,this.onThreshold=new Ca,this._threshold_fire=!1}ngOnInit(){this._scroll.onScroll.subscribe(e=>{this._el.nativeElement&&(cancelAnimationFrame(this._anim),this._anim=IS(()=>{const e=this._el.nativeElement.getBoundingClientRect();0!=e.height&&(e.top<=this.threshold&&!this._threshold_fire?(this._threshold_fire=!0,this.onThreshold.emit(!0)):this._threshold_fire&&e.top>this.threshold&&(this._threshold_fire=!1,this.onThreshold.emit(!1)))}))})}ngOnDestroy(){this.observer&&this.observer.unsubscribe()}}YV.ɵfac=function(e){return new(e||YV)(ep(Ua),ep(VS))},YV.ɵdir=cf({type:YV,selectors:[["","sticky-observer",""]],inputs:{threshold:"threshold"},outputs:{onThreshold:"onThreshold"},standalone:!1});class QV{}QV.ɵfac=function(e){return new(e||QV)},QV.ɵmod=of({type:QV}),QV.ɵinj=Hn({imports:[yI]});const ZV=new Map;function KV(e){if(!e||!e.nodeName||"TEXTAREA"!==e.nodeName||ZV.has(e))return;let t=null;const n=window.getComputedStyle(e);function i({restoreTextAlign:r=null,testForHeightReduction:s=!0}){let o,a,l=n.overflowY;if(0!==e.scrollHeight&&("vertical"===n.resize?e.style.resize="none":"both"===n.resize&&(e.style.resize="horizontal"),s&&(o=function(e){const t=[];for(;e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push([e.parentNode,e.parentNode.scrollTop]),e=e.parentNode;return()=>t.forEach(([e,t])=>{e.style.scrollBehavior="auto",e.scrollTop=t,e.style.scrollBehavior=null})}(e),e.style.height=""),a="content-box"===n.boxSizing?e.scrollHeight-(parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)):e.scrollHeight+parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth),"none"!==n.maxHeight&&a>parseFloat(n.maxHeight)?("hidden"===n.overflowY&&(e.style.overflow="scroll"),a=parseFloat(n.maxHeight)):"hidden"!==n.overflowY&&(e.style.overflow="hidden"),e.style.height=a+"px",r&&(e.style.textAlign=r),o&&o(),t!==a&&(e.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),t=a),l!==n.overflow&&!r)){const t=n.textAlign;"hidden"===n.overflow&&(e.style.textAlign="start"===t?"end":"start"),i({restoreTextAlign:t,testForHeightReduction:!0})}}function r(){i({testForHeightReduction:!1,restoreTextAlign:null})}const s=function(){let t=e.value;return()=>{i({testForHeightReduction:""===t||!e.value.startsWith(t),restoreTextAlign:null}),t=e.value}}(),o=(t=>{e.removeEventListener("autosize:destroy",o),e.removeEventListener("autosize:update",r),e.removeEventListener("input",s),window.removeEventListener("resize",r),Object.keys(t).forEach(n=>e.style[n]=t[n]),ZV.delete(e)}).bind(e,{height:e.style.height,resize:e.style.resize,textAlign:e.style.textAlign,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",o),e.addEventListener("autosize:update",r),e.addEventListener("input",s),window.addEventListener("resize",r),e.style.overflowX="hidden",e.style.wordWrap="break-word",ZV.set(e,{destroy:o,update:r}),r()}function XV(e){const t=ZV.get(e);t&&t.destroy()}function JV(e){const t=ZV.get(e);t&&t.update()}let eW=null;"undefined"==typeof window?(eW=e=>e,eW.destroy=e=>e,eW.update=e=>e):(eW=e=>(e&&Array.prototype.forEach.call(e.length?e:[e],e=>KV(e)),e),eW.destroy=e=>(e&&Array.prototype.forEach.call(e.length?e:[e],XV),e),eW.update=e=>(e&&Array.prototype.forEach.call(e.length?e:[e],JV),e));var tW=eW;class nW{set updateAutoSize(e){tS()||this._zone.runOutsideAngular(()=>{1==e&&IS(()=>{this._autosize&&this._autosize.update(this._el.nativeElement)})})}get updateAutoSize(){return!1}fireResize(){this.onResized.emit()}constructor(e,t){this._el=e,this._zone=t,this._resize=!1,this.onResized=new Ca}ngOnInit(){this.fireResize=this.fireResize.bind(this)}ngAfterViewInit(){!tS()&&this._el.nativeElement&&this._zone.runOutsideAngular(()=>{tW(this._el.nativeElement),this._el.nativeElement.addEventListener("autosize:resized",this.fireResize),this._autosize=tW})}ngOnDestroy(){tS()||this._autosize&&(this._autosize.destroy(this._el.nativeElement),this._el.nativeElement.removeEventListener("autosize:resized",this.fireResize),this._autosize=null)}}nW.ɵfac=function(e){return new(e||nW)(ep(Ua),ep(ka))},nW.ɵdir=cf({type:nW,selectors:[["","ng-autosize",""]],inputs:{updateAutoSize:[0,"sizeupdate","updateAutoSize"],_resize:[0,"watchresize","_resize"]},outputs:{onResized:"onResized"},standalone:!1});class iW{}iW.ɵfac=function(e){return new(e||iW)},iW.ɵmod=of({type:iW}),iW.ɵinj=Hn({imports:[yI]});const rW=["textarea"];function sW(e,t){1&e&&(Fm(0,"div",4),Bm(1,"i"),Hm())}let oW=!1,aW=XI()&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream;class lW{set value(e){this._value.next(e)}get value(){return this._value.getValue()}set active(e){this._active.next(e)}get active(){return this._active.getValue()}set readonly(e){this._editor&&this._readonly!==e&&(e?this._editor.enableReadOnlyMode("lock-"+this.ckelementid):this._editor.disableReadOnlyMode("lock-"+this.ckelementid)),this._readonly=e}get readonly(){return this._readonly}set autofocus(e){this._autofocus=e,e&&this._container&&this._container.nativeElement.focus()}get autofocus(){return this._autofocus}constructor(e,t,n){this._el=e,this._cd=t,this._service=n,this._destroyed=!0,this.ckeditorLoaded=!0,this.ckelementid=CS(),this._value=new Ne(""),this.valueChange=new Ca,this._active=new Ne(!1),this._autofocus=!1,this._enabled=!1,this.options={toolbar:["heading","|","bold","italic","underline","link","|","insertTable","bulletedList","numberedList","|","undo","redo"],heading:{options:[{model:"paragraph",title:"Normal",class:""},{model:"heading2",view:"h2",title:"Heading",class:"ckeditor-heading bold-font"}]},table:{toolbar:["tableColumn","tableRow","mergeTableCells"]}},this.editorInitiated=new Ca,this.editor_init=oW,this.no_editor=!1}StartCkeditor(){o.import("ckeditor5/build/ckeditor.js").then(e=>{if(!e||!e.create)throw Error("Cannot instance the ckeditor");e.create(this._container.nativeElement,this.options).then(e=>{let t;this._enabled=!0,this._editor=e,this.no_editor=!1,this._cd.detectChanges(),e.model.document.on("change:data",n=>{t=e.getData(),this.valueChange.emit(t)}),this._editorsubs=this._value.subscribe(n=>{t!==n&&e.setData(n)}),this.autofocus&&(e.editing.view.focus(),aW||setTimeout(()=>{let e=this._el.nativeElement;this._service.scrollTo({target:e,inview:!0})},100)),this.editorInitiated.emit(!0),oW=!0,this._readonly&&(this._readonly=null,this.readonly=!0)}).catch(e=>{this.no_editor=!0,this.EndCkeditor(),this.editorInitiated.emit(!1),e&&HM().then(t=>{t.captureException(e)})})}).catch(e=>{this.no_editor=!0,this.EndCkeditor(),this.editorInitiated.emit(!1)})}EndCkeditor(){this._enabled=!1,this._editor&&(this._editor.destroy(),this._editor=null,this._editorsubs.unsubscribe())}TextAreaEdit(e){this.value=e.target.value||"",this.valueChange.emit(this.value)}ngOnInit(){let e=this._active.subscribe({next:e=>{e&&!this._enabled?setTimeout(()=>{IS(()=>{this.StartCkeditor()})}):this._enabled&&this.EndCkeditor()},error:()=>{},complete:()=>{e&&e.unsubscribe()}});this.editorInitiated.subscribe(()=>{this.editor_init=!0})}ngOnDestroy(){this._active.complete(),this._value.complete(),this.EndCkeditor()}}lW.ɵfac=function(e){return new(e||lW)(ep(Ua),ep(Xw),ep(VS))},lW.ɵcmp=nf({type:lW,selectors:[["ck-editor"]],viewQuery:function(e,t){if(1&e&&yb(rW,7),2&e){let e;wb(e=Eb())&&(t._container=e.first)}},hostAttrs:[1,"progress-indicator-container"],inputs:{value:"value",active:"active",readonly:"readonly",autofocus:[0,"cursor-focus","autofocus"],options:"options"},outputs:{valueChange:"valueChange",editorInitiated:"editorInitiated"},standalone:!1,decls:4,vars:4,consts:[["textarea",""],[1,"ck-tools"],[1,"ck-textarea",3,"input","value"],["class","progress-indicator visible",4,"ngIf"],[1,"progress-indicator","visible"]],template:function(e,t){if(1&e){const e=Wm();Bm(0,"div",1),Fm(1,"textarea",2,0),nb("input",function(n){return Ds(e),ks(t.TextAreaEdit(n))}),Hm(),Hf(3,sW,2,0,"div",3)}2&e&&(Zu(),G_("no-ck-editor",t.no_editor),V_("value",t.value),Zu(2),V_("ngIf",!t.editor_init))},dependencies:[zC],styles:['.ck-toolbar .ckeditor-heading{font-size:18px;font-family:"Inter-Bold",Helvetica,Arial,sans-serif}',".ck-editor__editable a:focus,.ck-editor__editable a:hover{text-decoration:underline}",".ck-editor__editable a{color:#136ae8;text-decoration:none;cursor:pointer}","ck-editor{display:block}"],encapsulation:2});class cW{}function uW(e,t){1&e&&(Fm(0,"h2",11),Wb(1,"Thank you"),Hm()),2&e&&V_("focus-when",!0)}function dW(e,t){1&e&&(Fm(0,"h2",11),Wb(1,"Please provide your email in order to receive answers"),Hm()),2&e&&V_("focus-when",!0)}function hW(e,t){if(1&e){const e=Wm();Fm(0,"div",12)(1,"span",13),Wb(2),Hm(),Fm(3,"textarea",14),nb("input",function(t){Ds(e);return ks(sb().SetInput(t))}),Hm()()}if(2&e){const e=sb();Zu(),G_("ques-ov-cred",e.input_chars_left<0),Zu(),Gb(e.input_chars_left),Zu(),V_("value",e.input_value)("readonly",e.submiting)}}function pW(e,t){if(1&e){const e=Wm();Fm(0,"div",12)(1,"textarea",15),nb("input",function(t){Ds(e);return ks(sb().input_value_extra=t.target.value)}),Hm()()}if(2&e){const e=sb();Zu(),V_("value",e.input_value_extra)("readonly",e.submiting)}}function fW(e,t){if(1&e){const e=Wm();Fm(0,"div",12)(1,"ng-dropdown",16),nb("selected",function(t){Ds(e);return ks(sb().SetCategory(t))}),Hm()()}if(2&e){const e=sb();Zu(),V_("invalid",e.categoryerror)("items",e.categories)("second",!0)("value",e.category)}}function gW(e,t){if(1&e&&Bm(0,"div",17),2&e){V_("innerHTML",sb().ajax_message,au)("zing-url-container",!0)}}function _W(e,t){if(1&e){const e=Wm();Fm(0,"button",18),nb("onClick",function(){Ds(e);return ks(sb().Submit())}),Wb(1," Next "),Bm(2,"i",19),Hm()}if(2&e){const e=sb();G_("loadactive",e.submiting),V_("disabled",e.submiting)}}function mW(e,t){1&e&&(Fm(0,"div",20),Wb(1,"Your question has been submitted to our moderators for review. We will send you an email once your question has been approved."),Hm())}function vW(e,t){1&e&&Bm(0,"br")}function bW(e,t){1&e&&Bm(0,"br")}function yW(e,t){if(1&e){const e=Wm();Fm(0,"input",33),nb("input",function(t){Ds(e);return ks(sb(2).one_time_code=t.target.value)}),Hm()}}function wW(e,t){1&e&&Bm(0,"br")}function EW(e,t){if(1&e){const e=Wm();Fm(0,"div",34),Wb(1," You have entered a wrong code. Enter the correct one or "),Fm(2,"span",35),nb("onTap",function(){Ds(e);return ks(sb(2).ResendCode())}),Wb(3,"click here"),Hm(),Wb(4," to resend. "),Hm()}}function TW(e,t){1&e&&Bm(0,"br")}function CW(e,t){if(1&e&&Bm(0,"div",17),2&e){V_("innerHTML",sb(2).ajax_message,au)("zing-url-container",!0)}}function IW(e,t){1&e&&Bm(0,"br")}function SW(e,t){if(1&e){const e=Wm();Fm(0,"div",21)(1,"button",22),nb("onTap",function(){Ds(e);return ks(sb().GuestSubmit())}),Bm(2,"span",23),Fm(3,"span",24),Wb(4,"Login to Wallethub"),Hm()(),Fm(5,"div",25),Wb(6,"or"),Hm(),Fm(7,"input",26),nb("input",function(t){Ds(e);const n=sb();return n.user_email=t.target.value,ks(n.show_ajax_error=!1)}),Hm(),Hf(8,vW,1,0,"br",27)(9,bW,1,0,"br",27)(10,yW,1,0,"input",28)(11,wW,1,0,"br",27)(12,EW,5,0,"div",29)(13,TW,1,0,"br",27)(14,CW,1,2,"div",7)(15,IW,1,0,"br",27),Fm(16,"button",30),nb("onTap",function(){Ds(e);return ks(sb().GuestSubmit())}),Wb(17," Submit "),Bm(18,"span",31),Hm(),Fm(19,"button",32),nb("onClick",function(){Ds(e);return ks(sb().Back())}),Wb(20,"Back"),Hm()()}if(2&e){const e=sb();Zu(7),V_("value",e.user_email),Zu(),V_("ngIf",e.show_code_input),Zu(),V_("ngIf",e.show_code_input),Zu(),V_("ngIf",e.show_code_input),Zu(),V_("ngIf",e.show_code_input_resend),Zu(),V_("ngIf",e.show_code_input_resend),Zu(),V_("ngIf",!e.show_ajax_error),Zu(),V_("ngIf",e.show_ajax_error&&!e.show_code_input_resend),Zu(),V_("ngIf",!e.show_ajax_error),Zu(),G_("loadactive",e.submiting),V_("disabled",e.submiting)}}cW.ɵfac=function(e){return new(e||cW)},cW.ɵmod=of({type:cW}),cW.ɵinj=Hn({imports:[yI,wL]});class AW{constructor(e){this._location=e,this.data={},this.input_value="",this.input_value_extra="",this.input_chars_left=0,this._max_input=140,this.submiting=!1,this.submited=!1,this._is_lodgged=!1,this.needs_login=!1,this.user_email="",this.one_time_code="",this._referer="",this._email_reg=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,this.has_categories=!1,this.categoryerror=!1,this.toastinterval=3500,this.live_status="",this.question_count_status="",this.is_android=!1,o.import("css:/components/question-overlay.css").then(()=>{},()=>{})}_CountWords(e){if(!e)return"";var t=e.replace(/(^\s*|\s*$)/gi,"");return(t=(t=t.replace(/[ ]{2,}/gi," ")).replace(/\n /,"")).split(" ").filter(function(e){return""!=e}).length}_CountChars(){let e=(this.input_value||"").trim().length;this.input_chars_left=this._max_input-e,this.question_count_status=`${e} character${1!=e?"s":""} entered`}_SendQues(){var e;this.show_ajax_error=!1,this.submiting=!0;let t=_M(this.input_value);this.live_status="Posting question.";let n={action:"Answers.PostQuestion",question:t,url:this._referer};if(this.show_code_input){if(!0!==/^\d{6}$/.test(this.one_time_code))return this.ajax_message="Please enter the 6-digit numerical code that we sent to your email.",this.show_ajax_error=!0,void(this.submiting=!1);n.one_time_code=this.one_time_code}if(null===(e=EM())||void 0===e?void 0:e.authUser)return this.ajax_message="Oops. You don't have permission to make edits on this account.",this.show_ajax_error=!0,void(this.submiting=!1);o.import("Encryption").then(e=>{let t={url:kL(),data:Object.assign(n,this.data.addparams||{}),encryptprops:["email"],before:()=>{this.submiting=!0},after:()=>{this.submiting=!1},headers:{"Content-Type":"application/x-www-form-urlencoded"}};this.has_categories&&(t.data.category=this._catid),this.user_email&&(t.data.email=this.user_email),this._is_lodgged||this.user_email||(t.data.light=!0),this.input_value_extra&&(t.data.details=this.input_value_extra),eS()&&t.data.light&&(t.data.light="true"),e.send(t).then(e=>{if(this.live_status="",!e||e.error){if(e&&"message"in e){const t=e.message.match(/^Bad word `([^`]+)` detected.$/);t&&t.length&&(e.message=`Profanity is not allowed, including words such as "${t[1]}". Please adjust.`),"required one time code"==e.message?(e.message="Please enter the one-time code we have sent to your email.",this.show_code_input=!0):e.message.startsWith("You have entered a wrong code.")&&(this.show_code_input=!0,this.show_code_input_resend=!0,e.message=""),eS()&&"not logged in"==e.message?(JL.emit("$native:api-no-session",{type:"question-submit-login",redirect:e.redirect}),this.ajax_message=null):this.ajax_message=e.message}else this.ajax_message='Unexpected error. Please contact <a class="link" href="mailto:help@wallethub.com" target="system">help@evolutionfinance.com</a>';this.show_ajax_error=!0}else{if("redirect"in e)return this.submiting=!0,void(eS()?JL.emit("$native:api-no-session",{type:"question-submit-login",redirect:e.redirect}):top.location.href=e.redirect);this.submited=!0}},e=>{this.live_status="",this.ajax_message='Unexpected error. Please contact <a class="link" href="mailto:help@wallethub.com" target="system">help@evolutionfinance.com</a>',this.show_ajax_error=!0,BM(e,"Failed to submit a question from ng2 QnA component")})},e=>{this.live_status="",this.ajax_message='Unexpected error. Please contact <a class="link" href="mailto:help@wallethub.com" target="system">help@evolutionfinance.com</a>',this.show_ajax_error=!0,HM().then(t=>{t.captureException(e)},()=>{})})}SetCategory(e){this.category=e.value,this._catid=this._catindex[e.index],this.categoryerror=!1}Submit(){if(this.show_error||this.submiting)return;this.show_ajax_error=!1,this._CountWords(this.input_value)<3?(this.show_error=!0,this.error_message="Question must have at least 3 words."):this.input_chars_left<0?(this.error_message=`Question cannot have more then ${this._max_input} chars.`,this.show_error=!0):this.has_categories&&!this.category?(this.show_error=!0,this.error_message="Please select a category."):this._is_lodgged?this._SendQues():this.needs_login=!0}OnErrorToastHidden(){this.show_error&&(this.show_error=!1)}ResendCode(){this.show_code_input=!1,this.show_code_input_resend=!1,this.one_time_code="",this._SendQues()}GuestSubmit(){this.user_email&&!this._email_reg.test(this.user_email)?(this.show_ajax_error=!0,this.ajax_message="Please enter a correct Email Address."):this._SendQues()}SetInput(e){this.show_error=!1,this.show_ajax_error=!1,this.input_value=e.target.value,this._CountChars()}Back(){this.needs_login=!1,this.show_ajax_error=!1,this.ajax_message=""}ngOnInit(){this.input_value=this.data.input||"",this.data.referer?this._referer=this.data.referer:(this._referer=xL()+this._location.path(),this._referer.lastIndexOf("/")!==this._referer.length-1&&(this._referer+="/")),this.data.categories&&this.data.categories.length>0&&(this.has_categories=!0,this.categories=[],this._catindex=[],this.data.categories.forEach(e=>{this.categories.push(e.name),this._catindex.push(e.id)}),1==this.categories.length&&(this._catid=this._catindex[0],this.category=this.categories[0])),this._CountChars(),tS()||(CM()&&(this._is_lodgged=!0),this.is_android=null!=navigator.userAgent.match(/Android/i)||navigator.platform&&null!=navigator.platform.match(/Android/i))}}AW.ɵfac=function(e){return new(e||AW)(ep(JE))},AW.ɵcmp=nf({type:AW,selectors:[["question-overlay"]],standalone:!1,decls:16,vars:18,consts:[["tabindex","0","ng-focus","",1,"ques-ov","regular-font",3,"ng-hidden","focus-when"],["class","ques-ov regular-font ng-enter-element","tabindex","0","ng-focus","",3,"focus-when",4,"ngIf"],[3,"ng-aria-live"],["class","ques-ov-txt-box ng-enter-element",4,"ngIf"],["hidden","true","id","ques-ov-count-status"],[3,"ng-hidden"],[3,"onhidden","message","show","close-on-change","timer"],["class","ques-ov-error-notice ng-enter-element slide","role","alert","tabindex","-1","zing-touch","",3,"innerHTML","zing-url-container",4,"ngIf"],["class","btn fixed-w-i with-loader no-disabled ng-enter-element","zing-touch","","aria-label","Next",3,"disabled","loadactive","onClick",4,"ngIf"],["class","ng-enter-element ques-ov-end-msg",4,"ngIf"],["class","ng-enter-element ques-ov-login",4,"ngIf"],["tabindex","0","ng-focus","",1,"ques-ov","regular-font","ng-enter-element",3,"focus-when"],[1,"ques-ov-txt-box","ng-enter-element"],["aria-hidden","true","tabindex","-1",1,"ques-ov-count"],["placeholder","Ask a question (140 character limit)","ng-autosize","","aria-describedby","ques-ov-count-status",1,"ques-ov-txt","textarea",3,"input","value","readonly"],["placeholder","Additional details (optional)","ng-autosize","",1,"ques-ov-txt","ques-ov-txt-liner","textarea",3,"input","value","readonly"],["placeholder","Select Category...",1,"ques-ov-drp",3,"selected","invalid","items","second","value"],["role","alert","tabindex","-1","zing-touch","",1,"ques-ov-error-notice","ng-enter-element","slide",3,"innerHTML","zing-url-container"],["zing-touch","","aria-label","Next",1,"btn","fixed-w-i","with-loader","no-disabled","ng-enter-element",3,"onClick","disabled"],["aria-hidden","true","tabindex","-1",1,"btn-loader"],[1,"ng-enter-element","ques-ov-end-msg"],[1,"ng-enter-element","ques-ov-login"],["aria-label","Login","zing-touch","",1,"btn","aqua","full","ques-ov-lg-bt","semi-bold-font",3,"onTap"],[1,"bf-icon-wlogo"],[1,"ques-ov-lg-txt"],[1,"ques-ov-or","center"],["aria-label","Email","type","email","placeholder","Email Address",1,"textfield","full",3,"input","value"],[4,"ngIf"],["type","text","inputmode","numeric","pattern","^\\d{6}$","aria-label","otp","class","textfield full","placeholder","one-time code",3,"input",4,"ngIf"],["class","ques-ov-error-notice ng-enter-element slide","role","alert","tabindex","-1",4,"ngIf"],["zing-touch","",1,"btn","fixed-w-i","with-loader","no-disabled",3,"onTap","disabled"],[1,"btn-loader"],["zing-touch","",1,"btn","white-blue","ques-ov-bk-bt",3,"onClick"],["type","text","inputmode","numeric","pattern","^\\d{6}$","aria-label","otp","placeholder","one-time code",1,"textfield","full",3,"input"],["role","alert","tabindex","-1",1,"ques-ov-error-notice","ng-enter-element","slide"],["zing-touch","",1,"link",3,"onTap"]],template:function(e,t){1&e&&(Fm(0,"h2",0),Wb(1,"Ask a Question"),Hm(),Hf(2,uW,2,1,"h2",1)(3,dW,2,1,"h2",1),Bm(4,"div",2),Hf(5,hW,4,5,"div",3),Fm(6,"div",4),Wb(7),Hm(),Hf(8,pW,2,2,"div",3)(9,fW,2,4,"div",3),Fm(10,"div",5)(11,"error-toast",6),nb("onhidden",function(){return t.OnErrorToastHidden()}),Hm()(),Hf(12,gW,1,2,"div",7)(13,_W,3,3,"button",8)(14,mW,2,0,"div",9)(15,SW,21,12,"div",10)),2&e&&(V_("ng-hidden",t.submited||t.needs_login)("focus-when",!(t.submited||t.needs_login)),Zu(2),V_("ngIf",t.submited),Zu(),V_("ngIf",t.needs_login&&!t.submited),Zu(),V_("ng-aria-live",t.live_status),Zu(),V_("ngIf",!t.submited&&!t.needs_login),Zu(2),Gb(t.question_count_status),Zu(),V_("ngIf",!t.submited&&!t.needs_login),Zu(),V_("ngIf",!t.submited&&!t.needs_login&&t.has_categories&&t.categories.length>1),Zu(),V_("ng-hidden",t.submited||t.needs_login),Zu(),V_("message",t.error_message)("show",t.show_error)("close-on-change",!0)("timer",t.toastinterval),Zu(),V_("ngIf",!t.needs_login&&t.show_ajax_error),Zu(),V_("ngIf",!t.submited&&!t.needs_login),Zu(),V_("ngIf",t.submited),Zu(),V_("ngIf",t.needs_login&&!t.submited))},dependencies:[zC,OS,sL,vL,nW,GP,RH,TL],encapsulation:2});class RW{}RW.ɵfac=function(e){return new(e||RW)},RW.ɵmod=of({type:RW}),RW.ɵinj=Hn({imports:[yI,wL,iW,YP,xH,CL]});const xW=["txtElement"],DW=["quesOverlay"],kW=["ques_answer"],OW=e=>({"ng-enter-element":e}),NW=(e,t)=>({"light-font qnah-1":e,"qnah-1 qnah-3 extra-bold-font":t}),LW=(e,t,n,i)=>({"accordion-open":e,"has-accordion":t,"accordion-closed":n,"only-question":i}),MW=()=>({attribute:"itemprop",value:"upvoteCount"}),PW=e=>[e],FW=()=>({attribute:"itemprop",value:"name"}),HW=(e,t)=>({"qna-h-collapse":e,"accordion-closed":t}),BW=e=>({"accordion-open":e}),zW=e=>({"qna-collapsed":e}),qW=()=>({attribute:"itemprop",value:"text"}),UW=()=>({attribute:"itemprop",value:"downvoteCount"});function jW(e,t){if(1&e&&(Fm(0,"span",24),Wb(1),Hm()),2&e){const e=sb(2);Zu(),Yb("(",e.schq_count,")")}}function VW(e,t){if(1&e&&(Fm(0,"h2",21),Bm(1,"span",22),Hf(2,jW,2,1,"span",23),Hm()),2&e){const e=sb();Zu(),V_("ng-context",e.section_title),Zu(),V_("ngIf",e.schq_count)}}function WW(e,t){if(1&e&&Bm(0,"h2",25),2&e){const e=sb();V_("ngClass",Ay(2,NW,0==e.layout_type,2==e.layout_type))("ng-context",e.section_title)}}function $W(e,t){if(1&e&&(Fm(0,"p",26)(1,"span"),Wb(2),Hm(),Wb(3,"For more general questions, visit our "),Fm(4,"a",27),Wb(5,"Answers section."),Hm()()),2&e){const e=sb();Zu(2),Yb("Get answers to your questions about ",e.product_name," below. "),Zu(2),V_("href",e.answers_url_page,cu)("zing-url",!0)}}function GW(e,t){if(1&e&&Bm(0,"p",28),2&e){const e=sb();V_("zing-url-container",!0)("cleanHTML",e.intro_content)}}function YW(e,t){if(1&e){const e=Wm();Fm(0,"p",29),nb("onExpand",function(){Ds(e);return ks(sb().introExpanded())}),Hm()}if(2&e){const e=sb();V_("zing-url-container",!0)("ng-truncate",e.intro_content)("breakwords",e.truncateBreakwords)("breakpoint",480)}}function QW(e,t){if(1&e){const e=Wm();Fm(0,"span",40),nb("onTap",function(){Ds(e);return ks(sb(2).QClear())}),Hm()}}function ZW(e,t){1&e&&(Fm(0,"span"),Wb(1,"Don't see what you're looking for?"),Hm())}function KW(e,t){1&e&&(Fm(0,"div",41),Wb(1,"MATCHING RESULTS"),Hm())}function XW(e,t){1&e&&(Fm(0,"div",41),Wb(1,"NO MATCHING RESULTS"),Hm())}function JW(e,t){1&e&&(Fm(0,"div",41),Wb(1,"Searching for answers..."),Hm())}function e$(e,t){if(1&e){const e=Wm();Fm(0,"div",30)(1,"div",31)(2,"textarea",32),nb("input",function(t){Ds(e);return ks(sb().SearchInput(t))}),Hm(),Hf(3,QW,1,0,"span",33),Fm(4,"button",34),nb("onTap",function(){Ds(e);return ks(sb().QSearch())}),Hm()(),Fm(5,"div",35),Hf(6,ZW,2,0,"span",36),Fm(7,"button",37),nb("onClick",function(t){Ds(e);return ks(sb().AskQuestion(t))}),Wb(8,"Ask Your Question"),Hm()(),Fm(9,"div",38),Hf(10,KW,2,0,"div",39)(11,XW,2,0,"div",39)(12,JW,2,0,"div",39),Hm()()}if(2&e){const e=sb();Zu(),V_("scroll-to",e.focus_on_input),Zu(),V_("value",e.search_value)("sizeupdate",e.qna_key_reset),Zu(),V_("ngIf",e.search_value),Zu(),V_("ng-hidden",!!e.search_value),Zu(),G_("qna-aq-ss",e.noresults),V_("ng-hidden",!(e.show_search_state||e.show_search_state_empty)),Zu(),V_("ngIf",e.show_search_state&&!e.noresults),Zu(4),V_("ngIf",e.show_search_state&&!e.search_loading),Zu(),V_("ngIf",e.show_search_state_empty&&!e.search_loading),Zu(),V_("ngIf",e.search_loading)}}function t$(e,t){if(1&e){const e=Wm();Fm(0,"li",42),nb("onClick",function(){const t=Ds(e).index;return ks(sb().ChangeSort(t))}),Wb(1),Hm()}if(2&e){const e=t.$implicit;G_("qnaml-first",0==t.index),Zu(),Gb(e)}}function n$(e,t){1&e&&Bm(0,"div",51)}function i$(e,t){if(1&e){const e=Wm();Fm(0,"div",43),Hf(1,n$,1,0,"div",44),Fm(2,"div",45)(3,"div",46),Bm(4,"img",47),Hm(),Fm(5,"div",48)(6,"textarea",49),nb("input",function(t){Ds(e);return ks(sb().ques_ask=t.target.value)}),Hm(),Fm(7,"button",50),nb("onClick",function(t){Ds(e);return ks(sb().AskQuestion(t))}),Wb(8,"Ask your Question"),Hm()()()()}if(2&e){const e=sb();Zu(),V_("ngIf",0==e.schquestions.length),Zu(3),V_("src",e.user_avatar||e.user_avatar_fallback,cu)("on-img-error",e.user_avatar_fallback),Zu(),V_("scroll-to",e.focus_on_input),Zu(),V_("value",e.ques_ask)}}function r$(e,t){1&e&&(Fm(0,"div",55)(1,"div",56),Bm(2,"i"),Hm()())}function s$(e,t){if(1&e&&Bm(0,"a",68),2&e){const e=sb(2).$implicit;G_("qt-as-link",e.from_search),V_("href",e.ques_href,cu)("zing-url",!0)("cleanHTML",e.ques_title)("focus-when",e.focuson)("no-click",!0)}}function o$(e,t){if(1&e&&(qm(0),Hf(1,s$,1,7,"a",67),Um()),2&e){const e=sb().$implicit;Zu(),V_("ngIf",e.ques_href)}}function a$(e,t){if(1&e){const e=Wm();Fm(0,"a",70),nb("click",function(t){Ds(e);const n=sb(2).$implicit;return ks(sb(2).QuesCollapse(t,n))}),Hm()}if(2&e){const e=sb(2).$implicit;G_("qt-as-link",e.from_search),V_("href",e.ques_href,cu)("cleanHTML",e.ques_title)("focus-when",e.focuson)}}function l$(e,t){if(1&e&&(qm(0),Hf(1,a$,1,5,"a",69),Um()),2&e){const e=sb().$implicit;Zu(),V_("ngIf",e.ques_href)}}function c$(e,t){if(1&e&&Bm(0,"span",71),2&e){const e=sb().$implicit;G_("qt-as-link",e.from_search),V_("cleanHTML",e.ques_title)}}function u$(e,t){if(1&e){const e=Wm();Fm(0,"button",72),nb("onTap",function(){Ds(e);const t=sb().$implicit;return ks(t.collapsed=!t.collapsed)}),Bm(1,"span",73),Hm()}if(2&e){const e=sb().$implicit;V_("ngClass",Sy(2,BW,!e.collapsed)),a_("aria-label",e.collapsed?"Close":"Open")}}function d$(e,t){if(1&e&&Bm(0,"p",91),2&e){V_("cleanHTML",sb(2).$implicit.ques_content_cut_mob)}}function h$(e,t){if(1&e&&Bm(0,"p",92),2&e){V_("cleanHTML",sb(2).$implicit.ques_content_cut_desk)}}function p$(e,t){1&e&&(Fm(0,"span",93),Wb(1,"..."),Hm())}function f$(e,t){if(1&e&&Bm(0,"p",91),2&e){V_("cleanHTML",sb(2).$implicit.ques_content_more)}}function g$(e,t){if(1&e){const e=Wm();Fm(0,"span",94),nb("onTap",function(){Ds(e);const t=sb(2).$implicit;return ks(sb(2).ExpandContent(t.id,"question"))}),Wb(1,"show more"),Hm()}if(2&e){const e=sb(2).$implicit;V_("ng-hidden",sb(2).questionexpand[e.id])}}function _$(e,t){if(1&e){const e=Wm();Fm(0,"span",95),nb("onTap",function(){Ds(e);const t=sb(2).$implicit;return ks(sb(2).ExpandContent(t.id,"question"))}),Wb(1,"show less"),Hm()}if(2&e){const e=sb(2).$implicit;V_("ng-hidden",!sb(2).questionexpand[e.id])}}function m$(e,t){if(1&e){const e=Wm();Fm(0,"div",96),nb("onClick",function(){Ds(e);const t=sb(2).$implicit;return ks(sb(2).ShowReplybox(t.id))}),Wb(1,"Reply"),Hm()}if(2&e){V_("focus-when",sb(2).$implicit.reply_bt_focus)("no-click",!0)}}function v$(e,t){1&e&&Bm(0,"span",97)}function b$(e,t){1&e&&Bm(0,"span",97)}function y$(e,t){if(1&e){const e=Wm();Fm(0,"form",98),nb("onSubmit",function(){Ds(e);const t=sb(2).$implicit;return ks(sb(2).SubmitReply(t))}),Fm(1,"div",99),Bm(2,"img",100),Hm(),Fm(3,"div",101)(4,"ck-editor",102),nb("valueChange",function(t){Ds(e);const n=sb(2).$implicit;return ks(sb(2).ReplyInput(t,n.id))}),Hm()(),Fm(5,"div",103),Bm(6,"error-toast",104),Fm(7,"button",105),nb("onClick",function(){Ds(e);const t=sb(2).$implicit;return ks(sb(2).ShowReplybox(t.id))}),Wb(8,"Cancel"),Hm(),Fm(9,"button",106)(10,"span"),Wb(11,"Reply"),Hm(),Bm(12,"i",107),Hm()()()}if(2&e){const e=sb(2).$implicit,t=sb(2);Zu(2),V_("src",t.user_avatar||t.user_avatar_fallback,cu)("on-img-error",t.user_avatar_fallback),Zu(2),V_("value",t.replyboxinput[e.id])("active",!0)("cursor-focus",t.replyboxshow[e.id])("readonly",t.replyinprogress[e.id]),Zu(2),V_("message",null==t.replyerror[e.id]?null:t.replyerror[e.id].message)("show",null==t.replyerror[e.id]?null:t.replyerror[e.id].show)("close-on-change",!0)("timer",3e3),Zu(),V_("disabled",t.replyinprogress[e.id]),Zu(2),G_("loadactive",t.replyinprogress[e.id]),V_("disabled",t.replyinprogress[e.id])("zing-feedback",!0)}}function w$(e,t){if(1&e&&(Fm(0,"span",121),Wb(1),Hm()),2&e){const e=sb(2).$implicit;Zu(),Yb(", ",e.user_title,"")}}function E$(e,t){if(1&e&&(Fm(0,"div",119),Bm(1,"span",22),Hf(2,w$,2,1,"span",120),Hm()),2&e){const e=sb().$implicit;Zu(),V_("ng-context",e.user_fullname||e.user_login),Zu(),V_("ngIf",e.user_title)}}function T$(e,t){if(1&e&&(qm(0),Wb(1),Um()),2&e){const e=sb().$implicit;Zu(),Gb(e.user_login)}}function C$(e,t){if(1&e){const e=Wm();Fm(0,"span",126),nb("onTap",function(){const t=Ds(e).index,n=sb(2).$implicit;return ks(sb(4).AnsOpt(t,n))}),Wb(1),Hm()}if(2&e){const e=t.$implicit;G_("qnaml-first",0==t.index),Zu(),Gb(e)}}function I$(e,t){if(1&e){const e=Wm();Fm(0,"div",122)(1,"span",123),nb("onTap",function(){Ds(e);const t=sb().$implicit;return ks(sb(4).ControlAnsOpt(t))})("onTapOutside",function(){Ds(e);return ks(sb().$implicit.options_list_opened=!1)}),Hm(),Fm(2,"div",124),nb("onTap",function(t){return Ds(e),ks(t.stopPropagation())}),Hf(3,C$,2,3,"span",125),Hm()()}if(2&e){const e=sb().$implicit,t=sb(4);Zu(2),V_("ng-hidden",!e.options_list_opened),Zu(),V_("ngForOf",t.ansOptions)("ngForTrackBy",t.trackByFn)}}function S$(e,t){if(1&e&&(Fm(0,"div",127)(1,"a",128),Wb(2,"show more"),Bm(3,"span",129),Hm()()),2&e){const e=sb(3).$implicit;Zu(),V_("href",e.ques_href,cu)("zing-url",!0)}}function A$(e,t){1&e&&Bm(0,"span",97)}function R$(e,t){1&e&&Bm(0,"span",97)}function x$(e,t){if(1&e){const e=Wm();Fm(0,"div",82)(1,"div",130),nb("onTap",function(){Ds(e);const t=sb().$implicit;return ks(sb(4).RateContent(t,"up"))}),Hf(2,A$,1,0,"span",131),Fm(3,"span",132),Wb(4),Hm()(),Fm(5,"div",86),nb("onTap",function(){Ds(e);const t=sb().$implicit;return ks(sb(4).RateContent(t,"down"))}),Hf(6,R$,1,0,"span",131),Fm(7,"span",132),Wb(8),Hm()()()}if(2&e){const e=sb(),t=e.$implicit,n=e.index,i=sb(4);Zu(),G_("visible",t.voteinprogress),V_("zing-no-touch",!0),a_("aria-label",t.upvotelabel),Zu(),V_("ngIf",t.voteinprogress),Zu(),V_("ng-attribute",Sy(17,PW,Iy(16,MW)))("ng-attribute-when",i.toggleSchema&&0==n),Zu(),Gb(t.upvote),Zu(),G_("visible",t.downvoteinprogress),V_("zing-no-touch",!0),a_("aria-label",t.dnvotelabel),Zu(),V_("ngIf",t.downvoteinprogress),Zu(),V_("ng-attribute",Sy(20,PW,Iy(19,UW)))("ng-attribute-when",i.toggleSchema&&0==n),Zu(),Gb(t.downvote)}}function D$(e,t){if(1&e&&(Fm(0,"div",108)(1,"div",109)(2,"div",110),Bm(3,"img",111,1),Hm(),Fm(5,"div",112),Hf(6,E$,3,2,"div",113),Fm(7,"div",114),Hf(8,T$,2,1,"ng-container",36),Hm(),Hf(9,I$,4,3,"div",115),Hm()(),Bm(10,"div",116),Hf(11,S$,4,2,"div",117)(12,x$,9,22,"div",118),Hm()),2&e){const e=t.$implicit,n=t.index,i=sb(2),r=i.$implicit,s=i.index,o=sb(2);V_("ng-hidden",!(0==n||o.question_more_answers[r.id]||1==n&&r.answers[0].my_ans))("ng-attribute",o.aschemascope)("ng-attribute-when",o.toggleSchema&&0==n&&!o.only_question),Zu(2),V_("defer-src",e.user_avatar)("src-fallback",o.user_avatar_fallback)("ui-hydrate",!0),Zu(4),V_("ngIf",e.user_fullname||e.user_login),Zu(2),V_("ngIf",e.user_login),Zu(),V_("ngIf",null==e?null:e.is_reportable),Zu(),V_("cleanHTML",e.show_full||o.ShowFullAns(s)?e.full_content:e.content_long)("zing-url-container",!0)("ng-attribute",Sy(17,PW,Iy(16,qW)))("ng-attribute-when",o.toggleSchema&&0==n),a_("data-pos",e.stackid),Zu(),V_("ngIf",e.has_more_button&&(r.ques_href||r.ques_fullslug)&&!(e.show_full||o.ShowFullAns(s))),Zu(),V_("ngIf",!o.IsSpecial(e.id))}}function k$(e,t){1&e&&(Fm(0,"div",136),Bm(1,"i"),Hm())}function O$(e,t){if(1&e){const e=Wm();Fm(0,"div",133),Hf(1,k$,2,0,"div",134),Fm(2,"span",135),nb("onTap",function(){Ds(e);const t=sb(2),n=t.$implicit,i=t.index;return ks(sb(2).ViewMoreAns(n,i))}),Wb(3," View more answers "),Bm(4,"i",11),Hm()()}if(2&e){const e=sb(2).$implicit,t=sb(2);Zu(),V_("ngIf",t.answersmore[e.id])}}function N$(e,t){if(1&e){const e=Wm();Fm(0,"div",74),Hf(1,d$,1,1,"p",75)(2,h$,1,1,"p",76)(3,p$,2,0,"span",77)(4,f$,1,1,"p",75)(5,g$,2,1,"span",78)(6,_$,2,1,"span",79),Fm(7,"div",80),Hf(8,m$,2,2,"div",81),Fm(9,"div",82)(10,"div",83),nb("onTap",function(){Ds(e);const t=sb().$implicit;return ks(sb(2).RateContent(t,"up"))}),Hf(11,v$,1,0,"span",84),Fm(12,"span",85),Wb(13),Hm()(),Fm(14,"div",86),nb("onTap",function(){Ds(e);const t=sb().$implicit;return ks(sb(2).RateContent(t,"down"))}),Hf(15,b$,1,0,"span",84),Fm(16,"span",85),Wb(17),Hm()()()(),Hf(18,y$,13,15,"form",87),Fm(19,"div",88),Hf(20,D$,13,19,"div",89)(21,O$,5,1,"div",90),Hm()()}if(2&e){const e=sb().$implicit,t=sb(2);V_("ngClass",Sy(25,zW,e.collapsed)),Zu(),V_("ngIf",!t.questionexpand[e.id]&&e.ques_content_cut_mob),Zu(),V_("ngIf",!t.questionexpand[e.id]&&e.ques_content_cut_desk),Zu(),V_("ngIf",!t.questionexpand[e.id]&&e.ques_content_has_more),Zu(),V_("ngIf",(t.questionexpand[e.id]||!e.ques_content_cut_mob)&&e.ques_content_more),Zu(),V_("ngIf",e.ques_content_has_more),Zu(),V_("ngIf",e.ques_content_has_more),Zu(2),V_("ngIf",!t.IsSpecial(e.id)),Zu(2),G_("visible",e.voteinprogress),V_("zing-no-touch",!0),a_("aria-label",e.upvotelabel),Zu(),V_("ngIf",e.voteinprogress),Zu(2),Gb(e.upvote),Zu(),G_("visible",e.downvoteinprogress),V_("zing-no-touch",!0),a_("aria-label",e.dnvotelabel),Zu(),V_("ngIf",e.downvoteinprogress),Zu(2),Gb(e.downvote),Zu(),V_("ngIf",t.replyboxshow[e.id]),Zu(),V_("ng-hidden",!e.answers||e.answers.length<1),Zu(),V_("ngForOf",e.answers)("ngForTrackBy",t.trackByFn),Zu(),V_("ngIf",e.has_more_answers)}}function L$(e,t){if(1&e&&(Fm(0,"article",57)(1,"div",58)(2,"div",59)(3,"div",60),Wb(4),Hm(),Fm(5,"span",61),Wb(6),Hm()()(),Fm(7,"div",62)(8,"h3",63),Hf(9,o$,2,1,"ng-container",36)(10,l$,2,1,"ng-container",36)(11,c$,1,3,"span",64)(12,u$,2,4,"button",65),Hm(),Hf(13,N$,22,27,"div",66),Hm()()),2&e){const e=t.$implicit,n=sb(2);G_("qna-q-search",e.from_search),V_("ng-attribute",n.qschemascope)("ng-attribute-when",n.questionToggleSchema(e))("ngClass",xy(17,LW,!e.collapsed&&n.collapse,n.collapse,e.collapsed&&n.collapse,n.only_question)),Zu(3),V_("ng-attribute",Sy(23,PW,Iy(22,MW)))("ng-attribute-when",n.questionToggleSchema(e)),Zu(),Gb(e.upvote),Zu(2),Yb("Upvote",1!=e.upvote?"s":"",""),Zu(2),V_("ng-attribute",Sy(26,PW,Iy(25,FW)))("ng-attribute-when",n.questionToggleSchema(e))("ngClass",Ay(28,HW,n.collapse,e.collapsed&&n.collapse)),Zu(),V_("ngIf",!n.collapse),Zu(),V_("ngIf",n.collapse),Zu(),V_("ngIf",!e.ques_href&&!e.ques_fullslug),Zu(),V_("ngIf",n.collapse),Zu(),V_("ngIf",!n.only_question)}}function M$(e,t){if(1&e&&(Fm(0,"div",52),Hf(1,r$,3,0,"div",53)(2,L$,14,31,"article",54),Hm()),2&e){const e=sb();G_("qna-qb-loading",e.search_loading||e.questions_more),V_("ng-hidden",e.resultserror||e.load_startup||e.load_startup_fail)("ng-attribute",e.qschemapage)("ng-attribute-when",e.sectionToggleSchema()),Zu(),V_("ngIf",e.search_loading||e.questions_more),Zu(),V_("ngForOf",e.schquestions)("ngForTrackBy",e.trackByFn)}}function P$(e,t){if(1&e){const e=Wm();Fm(0,"button",141),nb("onTap",function(){Ds(e);return ks(sb(2).ViewMoreQuestions())}),Fm(1,"span",142)(2,"span",140),Wb(3,"View "),Hm(),Wb(4,"More Questions"),Hm(),Bm(5,"i",107),Hm()}if(2&e){G_("loadactive",sb(2).questions_more)}}function F$(e,t){if(1&e){const e=Wm();Fm(0,"div",137),Hf(1,P$,6,2,"button",138),Fm(2,"button",139),nb("onClick",function(t){Ds(e);return ks(sb().AskQuestion(t))}),Wb(3,"Ask "),Fm(4,"span",140),Wb(5,"Your"),Hm(),Wb(6," Question"),Hm()()}if(2&e){const e=sb();Zu(),V_("ngIf",e.has_more_ques)}}function H$(e,t){1&e&&(Fm(0,"div",143)(1,"div",56),Bm(2,"i"),Hm()())}function B$(e,t){if(1&e){const e=Wm();Fm(0,"div",144)(1,"p",145),Wb(2,"Oops there was a problem retrieving data"),Hm(),Bm(3,"br"),Fm(4,"div",146)(5,"button",147),nb("onTap",function(){Ds(e);return ks(sb().RetryLoadData())}),Wb(6,"Retry"),Hm()()()}}o.import("css:/components/qna-comp.css").then(()=>{}).catch(()=>{});const z$=[13302181,15780064,15679068,13301077,16156697,3020119,15598394,15862659,15149105,68074251,68341972,68371234,68562956,68662113,68824291,68578598,14922710,66854879,15017177,14922730,14922199,67105913,67800123,67800731,15011218,67417507,67568187,67583827,66867877,67744804,66756380,66763333,66672169,67163270,15995521,13754119];class q${get ques_data(){return this._ques_data}set ques_data(e){this._ques_data=e,e&&e.questions&&dS(e.questions)&&this._parseInitialData(e)}get qnapresentation(){return this._ques_presentation}set qnapresentation(e){this._ques_presentation=e,this.SetQnaPresentation(this._ques_presentation)}get search_value(){return this._qType.getValue()}questionToggleSchema(e){return this.toggleSchema&&!(!e.answers||e.answers.length<1)&&!this.only_question}sectionToggleSchema(){return!(!(this.toggleSchema&&this._has_answer&&this.schquestions.length>0)||this.only_question)}get show_search_state(){return this.search_value&&this.search_value.length>1&&!this.noresults&&!this.resultserror}get show_search_state_empty(){return this.search_value&&this.search_value.length>1&&this.noresults&&!this.resultserror}get has_clipped_answer_content(){return this.answers_content_clipped&&!(this.show_search_state||this.show_search_state_empty)}get open_popup(){return this._open_popup}set open_popup(e){this._open_popup=e,e&&this.AskQuestion()}get has_view_more(){return!this.search_value&&!this.search_loading&&!this.load_startup&&!this.load_startup_fail&&!this.resultserror&&this.has_enough_ques}constructor(e,t,n,i){this._location=e,this._route=t,this._dservice=n,this._cd=i,this.layout_type=0,this.product_name="",this._ques_data=null,this._ques_presentation=null,this._qna_pres=null,this.ques_referer=null,this.intro_truncate=!0,this.quest_category=null,this.start_delay=1e3,this.section_title="Questions & Answers",this.show_header=!0,this.full_qna=0,this.top_ten_qna=null,this.questions_count=null,this.ask_quest_categories=null,this.is_details=!1,this.nodetruncate=null,this.answers_url_page=xL()+"/answers/",this.collapse=!1,this.full_qnas=[],this.only_question=!1,this._qType=new Ne(""),this._has_answer=!1,this._readyOnce=!1,this.truncateBreakwords={480:16,2048:300},this.toggleSchema=!1,this.qschemapage=[{attribute:"itemscope",value:""},{attribute:"itemtype",value:"http://schema.org/FAQPage"}],this.qschemascope=[{attribute:"itemscope",value:""},{attribute:"itemprop",value:"mainEntity"},{attribute:"itemtype",value:"http://schema.org/Question"}],this.aschemascope=[{attribute:"itemprop",value:"acceptedAnswer"},{attribute:"itemscope",value:""},{attribute:"itemtype",value:"http://schema.org/Answer"}],this.aschematime=[{attribute:"itemprop",value:"dateCreated"}],this.userschema=[{attribute:"itemprop",value:"author"},{attribute:"itemscope",value:""},{attribute:"itemtype",value:"http://schema.org/Person"}],this.noresults=!1,this.resultserror=!1,this.search_loading=!1,this.answerexpand={},this.questionexpand={},this.question_more_answers={},this.answersmore={},this.questions_more=!1,this.has_enough_ques=!1,this.has_more_ques=!1,this.load_startup=!1,this.load_startup_fail=!1,this.is_android=!1,this.current_page=1,this.schquestions=[],this.total_ques=new Ca,this.onIntroExpand=new Ca,this.onInit=new Ca,this.replyboxinput={},this.replyboxinputsubmited={},this.replyinprogress={},this.replyerror={},this.replyboxshow={},this.sortList=["Most Popular","Most Upvotes"],this.sortv="",this.sort_list_opened=!1,this.sort_list_closed=!1,this.user_avatar_fallback="https://cdn.wallethub.com/wallethub/images/profile/avatars/silhouette-50_V1d9a2cc_.png",this.ques_ask="",this.ansOptions=["Report"],this.qna_key_reset=!1,this._open_popup=!1,this.page_query="qpage",this.allow_animation=!1,this.live_status="",this.answers_link=xL()+"/answers/",tS()||(this.is_android=null!=navigator.userAgent.match(/Android/i)||navigator.platform&&null!=navigator.platform.match(/Android/i))}trackByFn(e){return e}introExpanded(){this.onIntroExpand.emit(!0)}_ParseQuestions(e,t,n){let i=[];return hS(e,(e,r)=>{if(null==e)return!0;let s=e;if(s.ques_title=e.ques_content,delete s.ques_content,s.ques_content_more=s.ques_more_info||s.ques_content_more||"",s.ques_more_info&&delete s.ques_more_info,s.ques_content_more.length>138&&(s.ques_content_cut_mob=s.ques_content_more.substring(0,138),s.ques_content_has_more=!0),s.ques_content_more.length>330?s.ques_content_cut_desk=s.ques_content_more.substring(138,330):s.ques_content_more.length>138&&(s.ques_content_cut_mob=s.ques_content_more,s.ques_content_has_more=!1),!s.ques_fullslug&&s.ques_slug&&(s.ques_fullslug=s.ques_slug+"-"+s.id.toString()),s.upvotelabel=s.upvote+" up vote"+(1!=s.upvote?"s":""),s.dnvotelabel=s.downvote+" down vote"+(1!=s.upvote?"s":""),s.ques_href=s.ques_href||"/answers/"+s.ques_fullslug,s.ques_href=xL()+s.ques_href.replace(xL(),""),this.collapse&&(s.collapsed=!0,this._cd.detectChanges()),t){let e=t(s,r);if("boolean"==typeof e&&!e)return!0}let o=r;dS(this.schquestions)&&(o+=this.schquestions.length),this._ParseAnswers(s,o,null,0,n),i.push(s)}),i}_ParseAnswers(e,t,n,i,r){let s=n||e.answers||[];if(dS(s)&&(e.answers=n?e.answers:[],s.length>0&&!this._has_answer&&(this._has_answer=!0),s.forEach((n,i)=>{let s=n;s.user_login&&!s.user_login.startsWith("@")&&(s.user_login="@"+s.user_login),s.user_fullname=sS(s.user_fullname||""),dS(s.content)?(s.content_cut=s.content[0]||s.content[1],this.answers_content_clipped&&!e.from_search?(s.content_long=s.content[0],delete s.content_cut):s.content[0]?s.content_long=s.content[1]:(s.content_long=s.content_cut,delete s.content_cut)):(s.content_long=s.content,this.answers_content_clipped=!0),iS()||delete s.content,s.content_cut&&"string"==typeof s.content_cut&&(s.content_cut=s.content_cut.replace("[[:hellip:]]","...")),0!=t||e.from_search||e.answers.length||(s.content_long||(s.content_long=s.content_cut),delete s.content_cut,this.answerexpand[s.id]=!0),this.signon&&this.signon.id==s.uid&&(this.replyboxinputsubmited[e.id]=s.content_long||s.content_cut),s.content_cut&&(s.content_cut=this._FormatAnswer(s.content_cut)),s.content_long&&(s.content_long=this._FormatAnswer(s.content_long),s.content_long.includes("...")&&(s.has_more_button=!0)),s.full_content&&(s.full_content=this._FormatAnswer(s.full_content));let o=r?r(s,e,i):null;("boolean"!=typeof o||o)&&(e.answers.push(s),s.stackid=t.toString()+"-"+e.answers.indexOf(s).toString()),s.is_reportable=!1,s.sanitizecfg={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"],ADD_ATTR:["content","itemprop","itemtype","itemscope","id","name","target","allow","allowfullscreen","frameborder"]},s.upvotelabel=s.upvote+" up vote"+(1!=s.upvote?"s":""),s.dnvotelabel=s.downvote+" down vote"+(1!=s.upvote?"s":""),(this.IsSpecial(s.id)||wS(s.uid,z$))&&s.sanitizecfg.ADD_TAGS.push("iframe")}),e.has_more_answers=(e.total_answers||0)>e.answers.length||e.answers.length>1&&!this.question_more_answers[e.id],void 0!==i&&!isNaN(parseInt(i.toString()))&&i>0&&(e.has_more_answers=!0),"default"===this._qna_pres))0==t&&e.answers.length>1&&(e.answers[0].show_full=!0);IS(()=>{JL.emit("$shortcodes:set")})}_FormatAnswer(e){try{e=(e=(e=(e=e.replace(/<p><\/p>/g,"")).replace(/<p>(\s|&nbsp;)+<\/p>/g,"")).replace(/((?:[^\S\n]*(<p>)\s*<br(?:\s*\/\s*)?>\s*(<\/p>)|\s*<br>){2,})/g,"")).replace(/<ul[^>]*>[\s\S]*?<span\s+class=["']js-shave-char cursor-pointer["'][^>]*>.*?<\/span>[\s\S]*?<\/ul>/gi,e=>e.replace(/<span\s+class=["']js-shave-char cursor-pointer["'][^>]*>.*?<\/span>/gi,""))}catch(t){e=""}return e}SearchInput(e){let t=e.target.value;this._qType.next(t)}ControlSortList(e){this.sort_list_opened="boolean"==typeof e?e:!this.sort_list_opened,!tS()&&this.sort_list_opened&&document.getElementById("a11y-qna-list").focus()}ExpandContent(e,t){this[t+"expand"][e]=!this[t+"expand"][e]}RateContent(e,t="up"){var n;if(!fS(this.signon)||!("id"in this.signon))return this.live_status="You must be logged in to vote",void(XI()?top.location.href="/join/light?ref="+encodeURIComponent(document.location.href):eS()&&JL.emit("$native:api-no-session",{type:"rate-content"}));if(null===(n=this.signon)||void 0===n?void 0:n.authUser)return this.live_status="Oops. You don't have permission to make edits on this account.",JL.emit("$app:error",{title:"Missing Permission",content:this.live_status,btnText:"Got It"}),void(this.live_status_timer=setTimeout(()=>{this.live_status=""},1e3));if(e.voteinprogress||e.downvoteinprogress)return;e.voteinprogress="up"==t,e.downvoteinprogress="down"==t;let i=e.id,r=e.answers||e.ques_title?"question":"answer",s=r,o=(e.id+"").match(/^([abceq])(\d+)$/);o&&(i=parseInt(o.pop()),s=o.pop(),~["q","a"].indexOf(s)||(s="q"+s)),uM("content-vote-"+e.id),clearTimeout(this.live_status_timer),cM({url:kL(),data:{action:"Answers.Vote",id:i,kind:s,dir:"down"==t?"dn":"up"},id:"content-vote-"+e.id,before:()=>{e.voteinprogress="up"==t,e.downvoteinprogress="down"==t,this.live_status="Voting "+r+" "+t},after:()=>{e.voteinprogress=!1,e.downvoteinprogress=!1},headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(n=>{if(this.live_status="",n.error)throw Error("response error");e.upvote=n.votes_up,e.downvote=n.votes_dn,e.upvotelabel=e.upvote+" "+t+" vote"+(1!=e.upvote?"s":""),e.dnvotelabel=e.downvote+" "+t+" vote"+(1!=e.downvote?"s":""),this.live_status="up"==t?e.upvotelabel:e.dnvotelabel,n.upClass&&(e.upvotelabel+=". Pressed"),n.dnClass&&(e.dnvotelabel+=". Pressed"),this.live_status_timer=setTimeout(()=>{this.live_status=""},1e3)}).catch(e=>{e instanceof Error?(JL.emit("$server:error",{data:e.message}),this.live_status="Error saving your vote"):401==e.status&&(this.live_status="You must be logged in to vote",XI()?top.location.href="/join/light?ref="+encodeURIComponent(document.location.href):eS()&&JL.emit("$native:api-no-session",{type:"rate-content"})),this.live_status_timer=setTimeout(()=>{this.live_status=""},1e3)})}IsSpecial(e){return~["c","b","e"].indexOf((e+"").charAt(0))}ControlAnsOpt(e){e.options_list_opened=!e.options_list_opened}AnsOpt(e,t){const n=aS(t.id);0==e&&window.open(`/report-abuse/?ru=${location.href.split("?")[0].split("#")[0]}&t=a&id=${n}`,"_self")}_throwReplyError(e,t="We encountered an error. Please retry"){this.replyerror[e]=this.replyerror[e]||{},this.replyerror[e].message=t,this.replyerror[e].show?(this.replyerror[e].show=!1,setTimeout(()=>{this.replyerror[e].show=!0})):this.replyerror[e].show=!0}ShowReplybox(e){this.replyinprogress[e]||(this.replyboxshow[e]=!this.replyboxshow[e],this.replyboxshow[e]?this.replyboxinput[e]=this.replyboxinputsubmited[e]||"":(hS(this.schquestions,t=>{if(t.id==e)return t.reply_bt_focus=!0,setTimeout(()=>{t.reply_bt_focus=!1},100),!1}),this.replyboxinput[e]=""))}ReplyInput(e,t){this.replyboxinput[t]=e,this.replyerror[t]&&(this.replyerror[t].show=!1)}SubmitReply(e){var t;let n=this.replyboxinput[e.id];if(n=sS(n),!n||n.length<30)this._throwReplyError(e.id,"Content must have 30 characters.");else{if(null===(t=this.signon)||void 0===t?void 0:t.authUser)return this.live_status="Oops. You don't have permission to make edits on this account.",JL.emit("$app:error",{title:"Missing Permission",content:this.live_status,btnText:"Got It"}),void(this.live_status_timer=setTimeout(()=>{this.live_status=""},1e3));clearTimeout(this.live_status_timer),this.live_status="Posting answer",cM({url:kL(),data:{action:"Answers.AnswerQuestion",do:"user-answer",question_id:e.id,answer:n,ref:document.location.href},headers:{"X-Requested-With":"XMLHttpRequest","Content-Type":"application/x-www-form-urlencoded"},before:()=>{this.replyinprogress[e.id]=!0},after:()=>{delete this.replyinprogress[e.id]}}).then(t=>{if(this.live_status="",t&&"redirect"in t)return eS()?JL.emit("$native:api-no-session",{type:"answer-submit-login",redirect:t.redirect}):window.open(t.redirect,"_top"),void setTimeout(()=>{this.replyinprogress[e.id]=!0});if(t.error&&"message"in t){let n=[e.id];const i=t.message.match(/^Bad word `([^`]+)` detected.$/);return i&&i.length&&n.push(`Profanity is not allowed, including words such as "${i[1]}". Please adjust.`),void this._throwReplyError.apply(this,n)}if(t.error)this._throwReplyError(e.id);else{let n=(e.answers||[]).findIndex(e=>e.id==t.id),i={date:t.date,id:t.id,content:[t.answer],user_login:t.user_login||t.username,user_fullname:sS(t.user_fullname||t.fullname||""),user_avatar:t.user_avatar||t.avatar,user_title:t.user_title||"",edited:t.edited},r={id:e.id,has_more_answers:e.has_more_answers,answers:[i]};i.user_avatar&&i.user_avatar.startsWith("//")&&(i.user_avatar="https:"+i.user_avatar),this._ParseAnswers(r,r.id);let s=r.answers[0];s.my_ans=!0,this.answerexpand[s.id]=!0;let o=s;n>-1?(s.edited=!0,Object.assign(e.answers[n],s),o=e.answers[n]):e.answers.unshift(s),this.replyboxinputsubmited[e.id]=t.answer,delete this.replyboxshow[e.id],this.live_status="Answer posted",o.focuson=!0,setTimeout(()=>{o.focuson=!1},100),this.live_status_timer=setTimeout(()=>{this.live_status=""},1e3)}}).catch(t=>{console.error(t),this._throwReplyError(e.id)})}}QSearch(e,t){this.resultserror=!1;let n=t?null:sS(null!=e?e:this._qType.getValue())||"";if(this.current_page=1,uM("qna-search-query"),uM("qna-load-initial"),!n)return void this._StartupLoad(!0);clearTimeout(this.live_status_timer);let i={id:"qna-search-query",url:kL(),data:{action:"Answers.CommunitySearch",query:n},before:()=>{this.search_loading=!0,this.live_status="Searching for answers"},after:()=>{this.search_loading=!1},method:"GET"};this.quest_category?i.data.category=this._stripSlashes(this.quest_category):i.data.uri=this.ques_referer,cM(i).then(e=>{if(!e||!dS(e))throw this.live_status="no matching results",this.live_status_timer=setTimeout(()=>{this.live_status=""},1e3),Error("Data provide is invalid");this.answerexpand={},this.questionexpand={},this.schquestions=this._ParseQuestions(e,e=>{e.from_search=!0}),this.noresults=0==this.schquestions.length,this.live_status=(this.noresults?"no ":"")+"matching results",this.live_status_timer=setTimeout(()=>{this.live_status=""},1e3)}).catch(e=>{e instanceof Error&&console.error(e),this.resultserror=!0,this.live_status="no matching results",setTimeout(()=>{this.live_status=""},1e3)})}QReset(){this.QSearch(null,!0)}QClear(){this._qType.next(""),this.qna_key_reset=!0,setTimeout(()=>{this.qna_key_reset=!1},10)}_stripSlashes(e){return 0==e.indexOf("/")&&(e=e.substring(1)),e.lastIndexOf("/")==e.length-1&&(e=e.substring(0,e.length)),e}ViewMoreAns(e,t){if(e.answers.length>1&&!this.question_more_answers[e.id])return this.question_more_answers[e.id]=!0,void(e.has_more_answers=(e.total_answers||0)>e.answers.length);this.live_status="Loading more answers",cM({url:kL(),method:"GET",data:{action:"Answers.GetMoreAnswers",answers:e.answers.length,qid:e.id,v:2},before:()=>{this.answersmore[e.id]=!0},after:()=>{this.answersmore[e.id]=!1}}).then(n=>{if(this.live_status="",!n||!dS(n.answers))throw Error("Required `answers` Array is not part of response");this.question_more_answers[e.id]=!0,this._ParseAnswers(e,t,n.answers,n.left,(e,t,n)=>{0==n&&(e.focuson=!0,setTimeout(()=>{e.focuson=!1},100))}),this.live_status="Loaded "+n.answers.length+" more answer"+(1!=n.answers.length?"s":""),setTimeout(()=>{this.live_status=""},1e3)}).catch(e=>{this.live_status="",console.error(e)})}AnswerExpanded(e,t){t.is_expanded=e}DisplayShowMoreButton(e,t){t.has_more_button=e}_LoadQues(e){e&&(this.live_status="Questions are now sorted by "+this.sortv,this.current_page=1,this.sortFocus=!0),uM("qna-more-questions");let t,n={uri:this.ques_referer,action:"Answers.GetForPage"};this.is_details&&(n.action="Details.GetQuestions",n.v="3"),this.questions_count&&this.questions_count>0&&(n.rpp=this.questions_count),this.current_page>1&&(n.p=this.current_page),this.sortingparam&&(n.sort_by=this.sortingparam),cM({url:kL(),method:"GET",data:n,before:()=>{this.questions_more=!0,t=this._dservice&&this._dservice.element&&this._dservice.element.scrollTop,this.live_status=e?"Sorting questions by "+("mv"!=this.sortingparam?"most popular":"most upvotes"):"Loading more questions"},after:()=>{this.questions_more=!1},id:"qna-more-questions"}).then(n=>{if(this.live_status="",!n||!dS(n.questions))throw Error("Required `question` Array is not part of response");this.has_enough_ques=n.pages&&n.pages>1,this.has_more_ques=n.current_page&&n.pages&&n.current_page<n.pages,e?(this.schquestions=[],this.has_enough_ques=!0):(this.live_status="Loaded "+n.questions.length+"more question"+(1!=n.questions.length?"s":""),setTimeout(()=>{this.live_status=""},1e3)),this.schquestions=this.schquestions.concat(this._ParseQuestions(n.questions,(t,n)=>{0!=n||e||this.collapse||(t.focuson=!0,setTimeout(()=>{t.focuson=!1},100))})),this.noresults=0==this.schquestions.length,setTimeout(()=>{this._dservice&&this._dservice.element&&this._dservice.scrollTo({position:t,timing:0})})}).catch(e=>{this.live_status="",console.error(e)})}ViewMoreQuestions(){this.current_page++,this._LoadQues()}ChangeSort(e){if(this.sortv=this.sortList[e],1===e)this.sortingparam="mv";else this.sortingparam="mp";this._LoadQues(!0),this.sort_list_closed=!0,this.sort_list_opened=!1,setTimeout(()=>{this.sort_list_opened=!1,this.sort_list_closed=!1})}AskQuestion(e){let t=e&&e.currentTarget;this._quesOverlay&&this._quesOverlay.Open(AW,{input:this.ques_ask||this._qType.getValue()||"",referer:xL()+this.ques_referer,addparams:this.addAskParams,categories:this.ask_quest_categories},{return_focus_to:t||null})}_parseInitialData(e){this.schquestions=this._ParseQuestions(e.questions||[]),this.noresults=0==this.schquestions.length,this.has_enough_ques=e.pages&&e.pages>1,this.has_more_ques=e.current_page&&e.pages&&e.current_page<e.pages,this.load_startup_fail=!1,this.noresults?this.schq_count=null:this.schq_count=`${e.total_questions} question${1!=e.total_questions?"s":""}`,this.total_ques.emit(e.total_questions||0),e.categories&&!this.ask_quest_categories&&(this.ask_quest_categories=e.categories),e.current_page&&e.current_page>1&&(this.current_page=e.current_page),this._ques_presentation&&"all collapsed"==this._ques_presentation.toLowerCase()&&this.schquestions.forEach(e=>{e.collapsed=!0,this._cd.detectChanges()})}_StartupLoad(e){this.load_startup_fail=!1;let t={uri:this.ques_referer,action:"Answers.GetForPage"};this.current_page>1&&(t.p=this.current_page),this.sortingparam&&(t.sort_by=this.sortingparam),this.questions_count&&this.questions_count>0&&(t.rpp=this.questions_count),uM("qna-load-initial"),cM({url:kL(),method:"GET",data:t,before:()=>{e?this.search_loading=!0:this.load_startup=!0},after:()=>{e?this.search_loading=!1:this.load_startup=!1},id:"qna-load-initial"}).then(t=>{if(!t||t.error||t.questions&&!dS(t.questions))throw Error("Required `question` Array is not part of response");this._parseInitialData(t),e&&(this.has_enough_ques=!0)}).catch(e=>{console.error(e),this.load_startup_fail=!0})}RetryLoadData(){this._StartupLoad()}ngOnInit(){this.sortv=this.sortList[0],this.sortingparam="mp",!tS()&&CM()?(this.signon=EM(),this.user_avatar=this.signon&&this.signon.pp||this.user_avatar_fallback,0==this.user_avatar.indexOf("//")&&(this.user_avatar="https:"+this.user_avatar)):this.user_avatar=null;let e=this._location.path().split("?")[0];if(this.ques_referer=this.ques_referer||e.replace("/ng-home",""),0==this.ques_referer.indexOf(xL())&&(this.ques_referer=this.ques_referer.replace(xL(),"")),0!=this.ques_referer.indexOf("/")&&(this.ques_referer="/"+this.ques_referer),this.ques_referer.startsWith("/personal-loans")||this.ques_referer.lastIndexOf("/")!==this.ques_referer.length-1&&(this.ques_referer+="/"),this.page_query&&!tS()&&this._route.queryParams.pipe(wt(1)).subscribe(e=>{let t=e[this.page_query],n=t?cS(t):0;n&&(this.ques_data&&this.ques_data.pages?n<=this.ques_data.pages&&n!=this.ques_data.current_page?(this.current_page=n,this.ques_data=null):this.ques_data.questions.length<1&&(this.ques_data.pages=1):(this.current_page=n,this.ques_data=null))}),this.ques_data&&this.ques_data.questions&&dS(this.ques_data.questions)||tS()||(this.load_startup=!0,setTimeout(()=>{this._StartupLoad()},this.start_delay||1)),!tS()){let e,t;const n=this._qType.pipe(yt(200)).subscribe({next:n=>{let i=sS((n||"").replace(/(\r\n\t|\n|\r\t)/gm," "));null!==n&&i!=e&&i.length>1?(e=i,t=!0,this.QSearch(i)):t&&(!i||i.length<2)&&(e=i,t=!1,this.QReset())},error:()=>{},complete:()=>{n.unsubscribe()}})}}SetQnaPresentation(e){this._qna_pres="default";switch(e?e.toLowerCase():"first full version, rest short version"){case"first full version, rest short version":this._qna_pres="default",this.full_qna=1,this._cd.detectChanges();break;case"all short version":this._qna_pres="short",this._cd.detectChanges();break;case"all collapsed":this._qna_pres="collapsed",this.collapse=!0,this._cd.detectChanges();break;case"x number of full version, rest short version":this._qna_pres="varied",this._cd.detectChanges();break;case"only question":this._qna_pres="only_question",this.only_question=!0,this._cd.detectChanges()}}QuesCollapse(e,t){tS()||(e.preventDefault(),t.collapsed=!t.collapsed)}ShowFullAns(e){const t="varied"===this._qna_pres||"default"===this._qna_pres,n=this.full_qna>0,i=e<this.full_qna;return"default"===this._qna_pres&&0===e||t&&n&&i}ngAfterViewInit(){tS()||IS(()=>{this.allow_animation=!0,this.onInit.emit()})}stripHtml(e=""){return String(e).replace(/<script[\s\S]*?<\/script>/gi,"").replace(/<style[\s\S]*?<\/style>/gi,"").replace(/<[^>]+>/g," ").replace(/&nbsp;/gi," ").replace(/&amp;/gi,"&").replace(/&lt;/gi,"<").replace(/&gt;/gi,">").replace(/&quot;/gi,'"').replace(/&#39;/g,"'").replace(/\s+/g," ").trim()}ngOnDestroy(){this._qType.complete(),uM("qna-load-initial")}}q$.ɵfac=function(e){return new(e||q$)(ep(JE),ep(ZP),ep(VS),ep(Xw))},q$.ɵcmp=nf({type:q$,selectors:[["","id","qna-box"]],viewQuery:function(e,t){if(1&e&&(yb(xW,5),yb(DW,5),yb(kW,5)),2&e){let e;wb(e=Eb())&&(t.txtElement=e.first),wb(e=Eb())&&(t._quesOverlay=e.first),wb(e=Eb())&&(t._answersList=e)}},hostVars:4,hostBindings:function(e,t){2&e&&G_("qna-type1",0==t.layout_type)("qna-no-more",!t.has_view_more)},inputs:{layout_type:[0,"type","layout_type"],product_name:[0,"product-name","product_name"],ques_data:[0,"product-questions","ques_data"],qnapresentation:[0,"presentation","qnapresentation"],ques_referer:[0,"product-referer","ques_referer"],intro_content:[0,"use-intro","intro_content"],intro_truncate:[0,"intro-truncate","intro_truncate"],quest_category:[0,"product-category","quest_category"],start_delay:[0,"startup-delay","start_delay"],section_title:[0,"section-title","section_title"],show_header:[0,"show-header","show_header"],full_qna:[0,"full-qna","full_qna"],top_ten_qna:[0,"top-ten","top_ten_qna"],questions_count:[0,"questions-count","questions_count"],ask_quest_categories:[0,"question-categories","ask_quest_categories"],is_details:[0,"details-qna","is_details"],nodetruncate:[0,"ssr-answer-truncate","nodetruncate"],toggleSchema:[0,"toggle-schema","toggleSchema"],open_popup:[0,"show-ask-popup","open_popup"],focus_on_input:[0,"scroll-to-ask","focus_on_input"],addAskParams:[0,"question-ask-add-params","addAskParams"],page_query:[0,"pagination-query","page_query"]},outputs:{total_ques:"total-questions",onIntroExpand:"onIntroExpand",onInit:"onInit"},standalone:!1,decls:22,vars:26,consts:[["quesOverlay",""],["deferImg",""],[3,"ng-aria-live"],["class","qna-heading qnah-2 bold-font",4,"ngIf"],["class","qna-heading",3,"ngClass","ng-context",4,"ngIf"],["class","qna-prg",4,"ngIf"],["zing-touch","","class","qna-prg",3,"zing-url-container","cleanHTML",4,"ngIf"],["class","qna-prg","zing-touch","",3,"zing-url-container","ng-truncate","breakwords","breakpoint","onExpand",4,"ngIf"],["class","qna-search-box",4,"ngIf"],[1,"qna-sort",3,"ngClass","ng-hidden"],["role","button","tabindex","0","ng-focus","","aria-haspopup","listbox","aria-controls","a11y-qna-list","aria-owns","a11y-qna-list","zing-touch","",1,"qna-most-list-active","inline-block",3,"onClick","onTapOutside","focus-when","no-click"],["aria-hidden","true","tabindex","-1",1,"af-icon-down-open"],["id","a11y-qna-list","role","listbox","ng-focus","","tabindex","0","aria-labelledby","label-id-qna-sort",1,"qna-most-list","basic-trans",3,"focus-when","no-click","ng-hidden"],["role","option","tabindex","0","class","qna-most-list-it bold-font","zing-touch","",3,"qnaml-first","onClick",4,"ngFor","ngForOf","ngForTrackBy"],["id","label-id-qna-sort","hidden","true"],["class","qna-form-box",4,"ngIf"],["class","qna-questions-box",3,"qna-qb-loading","ng-hidden","ng-attribute","ng-attribute-when",4,"ngIf"],["class","qna-q-get-more",4,"ngIf"],["title",""],["class","qna-startup-load progress-indicator-container ng-enter-element",4,"ngIf"],["class","qna-startup-fail ng-enter-element",4,"ngIf"],[1,"qna-heading","qnah-2","bold-font"],[3,"ng-context"],["class","qa-count semi-bold-font",4,"ngIf"],[1,"qa-count","semi-bold-font"],[1,"qna-heading",3,"ngClass","ng-context"],[1,"qna-prg"],["zing-touch","","target","_blank","rel","noopener",1,"link",3,"href","zing-url"],["zing-touch","",1,"qna-prg",3,"zing-url-container","cleanHTML"],["zing-touch","",1,"qna-prg",3,"onExpand","zing-url-container","ng-truncate","breakwords","breakpoint"],[1,"qna-search-box"],["aria-label","Search for answers",1,"label-input","full",3,"scroll-to"],["placeholder","Have a question? Search for answers","ng-autosize","","aria-label","keyword",1,"qna-search-input","textarea",3,"input","value","sizeupdate"],["class","qba-sc-cross lbl-b ng-enter-element","zing-touch","","role","button","aria-label","Clear field",3,"onTap",4,"ngIf"],["aria-label","Search","type","button","zing-touch","",1,"lbl-b","action","af-icon-search",3,"onTap","ng-hidden"],[1,"qna-ask-q-suggest","semi-bold-font","ng-enter-element",3,"ng-hidden"],[4,"ngIf"],["zing-touch","","aria-haspopup","dialog",1,"btn","fixed-w-h",3,"onClick"],["aria-hidden","true","tabindex","-1"],["class","qna-search-state bold-font",4,"ngIf"],["zing-touch","","role","button","aria-label","Clear field",1,"qba-sc-cross","lbl-b","ng-enter-element",3,"onTap"],[1,"qna-search-state","bold-font"],["role","option","tabindex","0","zing-touch","",1,"qna-most-list-it","bold-font",3,"onClick"],[1,"qna-form-box"],["class","qna-fb-hero",4,"ngIf"],["id","qna-ques-form",1,"qna-ques-form"],[1,"qna-qf-av"],["width","40","height","40","alt","",3,"src","on-img-error"],[1,"qna-qf-input",3,"scroll-to"],["placeholder","Have a question? Ask the WalletHub community.","aria-label","Ask a question","ng-autosize","",1,"qna-qf-txt","textarea","semi-bold-font",3,"input","value"],["zing-touch","","aria-haspopup","dialog",1,"btn","fixed-w-f",3,"onClick"],[1,"qna-fb-hero"],[1,"qna-questions-box",3,"ng-hidden","ng-attribute","ng-attribute-when"],["class","qna-loading-box ng-enter-element",4,"ngIf"],["class","qna-question-item",3,"qna-q-search","ng-attribute","ng-attribute-when","ngClass",4,"ngFor","ngForOf","ngForTrackBy"],[1,"qna-loading-box","ng-enter-element"],[1,"progress-indicator","always-v","visible"],[1,"qna-question-item",3,"ng-attribute","ng-attribute-when","ngClass"],[1,"qna-left-col"],[1,"qna-q-upvotes"],[1,"qna-q-upvotes-count",3,"ng-attribute","ng-attribute-when"],[1,"bold-font"],[1,"qna-right-col"],[1,"qna-q-title-box","bold-font",3,"ng-attribute","ng-attribute-when","ngClass"],["class","qna-q-title link",3,"cleanHTML","qt-as-link",4,"ngIf"],["class","qna-accordion-btn","zing-touch","",3,"ngClass","onTap",4,"ngIf"],["class","qna-accordion",3,"ngClass",4,"ngIf"],["class","qna-q-title link","zing-touch","","rel","noopener","ng-focus","",3,"href","zing-url","cleanHTML","qt-as-link","focus-when","no-click",4,"ngIf"],["zing-touch","","rel","noopener","ng-focus","",1,"qna-q-title","link",3,"href","zing-url","cleanHTML","focus-when","no-click"],["class","qna-q-title link","rel","noopener","ng-focus","",3,"href","cleanHTML","qt-as-link","focus-when","click",4,"ngIf"],["rel","noopener","ng-focus","",1,"qna-q-title","link",3,"click","href","cleanHTML","focus-when"],[1,"qna-q-title","link",3,"cleanHTML"],["zing-touch","",1,"qna-accordion-btn",3,"onTap","ngClass"],[1,"qna-accordion-btn-icon"],[1,"qna-accordion",3,"ngClass"],["class","qna-q-content ng-enter-element text-select",3,"cleanHTML",4,"ngIf"],["class","qna-q-content ng-enter-element qna-q-desk text-select",3,"cleanHTML",4,"ngIf"],["class","qna-q-content qna-q-desk",4,"ngIf"],["class","qna-q-content-more semi-bold-font","zing-touch","","role","button","aria-expanded","false",3,"ng-hidden","onTap",4,"ngIf"],["class","qna-q-content-more semi-bold-font","zing-touch","","role","button","aria-expanded","true",3,"ng-hidden","onTap",4,"ngIf"],[1,"qna-q-actions"],["class","qna-q-reply link semi-bold-font","zing-touch","","role","button","tabindex","0","ng-focus","",3,"focus-when","no-click","onClick",4,"ngIf"],[1,"qna-q-thumbs"],["zing-touch","","role","button","tabindex","0",1,"up","vote","bf-icon-upvote","progress-indicator","qna-qvt",3,"onTap","zing-no-touch"],["class","progress-spin","aria-hidden","true","tabindex","-1",4,"ngIf"],[1,"vote-text"],["zing-touch","","role","button","tabindex","0",1,"dn","vote","bf-icon-downvote","progress-indicator",3,"onTap","zing-no-touch"],["class","qna-q-replyform ng-enter-element","form-submit","",3,"onSubmit",4,"ngIf"],[1,"qna-q-answers",3,"ng-hidden"],["class","qna-q-ans basic-trans",3,"ng-hidden","ng-attribute","ng-attribute-when",4,"ngFor","ngForOf","ngForTrackBy"],["class","qna-qa-show-more progress-indicator-container",4,"ngIf"],[1,"qna-q-content","ng-enter-element","text-select",3,"cleanHTML"],[1,"qna-q-content","ng-enter-element","qna-q-desk","text-select",3,"cleanHTML"],[1,"qna-q-content","qna-q-desk"],["zing-touch","","role","button","aria-expanded","false",1,"qna-q-content-more","semi-bold-font",3,"onTap","ng-hidden"],["zing-touch","","role","button","aria-expanded","true",1,"qna-q-content-more","semi-bold-font",3,"onTap","ng-hidden"],["zing-touch","","role","button","tabindex","0","ng-focus","",1,"qna-q-reply","link","semi-bold-font",3,"onClick","focus-when","no-click"],["aria-hidden","true","tabindex","-1",1,"progress-spin"],["form-submit","",1,"qna-q-replyform","ng-enter-element",3,"onSubmit"],[1,"avatar"],["width","","height","","alt","",3,"src","on-img-error"],[1,"reply-box","ck-answer-editor"],[3,"valueChange","value","active","cursor-focus","readonly"],[1,"reply-act"],[3,"message","show","close-on-change","timer"],["type","button","aria-label","Cancel","zing-touch","",1,"btn","grey","fixed-w",3,"onClick","disabled"],["type","submit","aria-label","Submit","zing-touch","",1,"btn","blue","fixed-w","with-loader","no-disabled",3,"disabled","zing-feedback"],["aria-hidden","true","tabindex","-1",1,"btn-loader"],[1,"qna-q-ans","basic-trans",3,"ng-hidden","ng-attribute","ng-attribute-when"],[1,"qna-qa-top"],[1,"avatar",3,"defer-src","src-fallback","ui-hydrate"],["alt","user avatar","width","40","height","40",1,"avatar-img"],[1,"qna-qa-names","text-select"],["class","full-name semi-bold-font",4,"ngIf"],["aria-hidden","true","tabindex","-1",1,"second-name"],["class","qna-qa-sort","role","listbox",4,"ngIf"],["zing-touch","",1,"qna-q-ans-content","with-links","text-select",3,"cleanHTML","zing-url-container","ng-attribute","ng-attribute-when"],["class","qna-q-ans-content qna-ans-show-more",4,"ngIf"],["class","qna-q-thumbs",4,"ngIf"],[1,"full-name","semi-bold-font"],["class","author-cap",4,"ngIf"],[1,"author-cap"],["role","listbox",1,"qna-qa-sort"],["zing-touch","",1,"af-icon-down-open","cursor-pointer",3,"onTap","onTapOutside"],["zing-touch","",1,"qna-most-list","basic-trans",3,"onTap","ng-hidden"],["role","option","zing-touch","","class","qna-most-list-it bold-font",3,"qnaml-first","onTap",4,"ngFor","ngForOf","ngForTrackBy"],["role","option","zing-touch","",1,"qna-most-list-it","bold-font",3,"onTap"],[1,"qna-q-ans-content","qna-ans-show-more"],["zing-touch","","rel","nofollow",1,"qna-ans-show-more-button","link",3,"href","zing-url"],["aria-hidden","true","tabindex","-1",1,"bf-icon-right-open-big"],["zing-touch","","role","button","tabindex","0",1,"up","vote","bf-icon-upvote","progress-indicator",3,"onTap","zing-no-touch"],["aria-hidden","true","tabindex","-1","class","progress-spin",4,"ngIf"],[1,"vote-text",3,"ng-attribute","ng-attribute-when"],[1,"qna-qa-show-more","progress-indicator-container"],["class","progress-indicator visible",4,"ngIf"],["zing-touch","","role","button",1,"qna-qa-sm-bt","link","inherit",3,"onTap"],[1,"progress-indicator","visible"],[1,"qna-q-get-more"],["class","btn blue-brds tall with-loader no-disabled bold-font","aria-label","View More Questions","zing-touch","",3,"loadactive","onTap",4,"ngIf"],["zing-touch","","aria-label","Ask Your Question",1,"btn","tall","qna-qgm-btn-last","blue-brds","bold-font",3,"onClick"],[1,"qna-qgm-mhide"],["aria-label","View More Questions","zing-touch","",1,"btn","blue-brds","tall","with-loader","no-disabled","bold-font",3,"onTap"],[1,"bt-text"],[1,"qna-startup-load","progress-indicator-container","ng-enter-element"],[1,"qna-startup-fail","ng-enter-element"],[1,"qna-prg","center","semi-bold-font","qna-prg-smaller"],[1,"center"],["zing-touch","",1,"btn","blue-brds","fixed-w-f","with-loader",3,"onTap"]],template:function(e,t){if(1&e){const e=Wm();Bm(0,"div",2),Hf(1,VW,3,2,"h2",3)(2,WW,1,5,"h2",4)(3,$W,6,3,"p",5)(4,GW,1,2,"p",6)(5,YW,1,4,"p",7)(6,e$,13,12,"div",8),Fm(7,"div",9)(8,"span",10),nb("onClick",function(){return Ds(e),ks(t.ControlSortList())})("onTapOutside",function(){return Ds(e),ks(t.ControlSortList(!1))}),Wb(9),Bm(10,"i",11),Hm(),Fm(11,"ul",12),Hf(12,t$,2,3,"li",13),Hm(),Fm(13,"div",14),Wb(14,"Questions sort"),Hm()(),Hf(15,i$,9,5,"div",15)(16,M$,3,8,"div",16)(17,F$,7,1,"div",17),Bm(18,"modal-dialog",18,0),Hf(20,H$,3,0,"div",19)(21,B$,7,0,"div",20)}2&e&&(V_("ng-aria-live",t.live_status),Zu(),V_("ngIf",t.show_header&&1==t.layout_type),Zu(),V_("ngIf",t.show_header&&1!=t.layout_type),Zu(),V_("ngIf",t.product_name),Zu(),V_("ngIf",t.intro_content&&!t.intro_truncate),Zu(),V_("ngIf",t.intro_content&&t.intro_truncate),Zu(),V_("ngIf",t.has_enough_ques&&!t.load_startup&&!t.load_startup_fail),Zu(),V_("ngClass",Sy(24,OW,t.allow_animation))("ng-hidden",!t.has_enough_ques||0==t.schquestions.length||t.show_search_state||t.show_search_state_empty||t.resultserror),Zu(),V_("focus-when",t.sort_list_closed)("no-click",!0),a_("aria-expanded",t.sort_list_opened)("aria-label",t.sortv),Zu(),Yb("",t.sortv," "),Zu(2),V_("focus-when",t.sort_list_opened)("no-click",!0)("ng-hidden",!t.sort_list_opened),Zu(),V_("ngForOf",t.sortList)("ngForTrackBy",t.trackByFn),Zu(3),V_("ngIf",!t.has_enough_ques&&!t.load_startup&&!t.load_startup_fail),Zu(),V_("ngIf",t.search_loading||t.questions_more||t.schquestions.length),Zu(),V_("ngIf",t.has_view_more),Zu(3),V_("ngIf",t.load_startup&&!t.load_startup_fail),Zu(),V_("ngIf",t.load_startup_fail))},dependencies:[LC,HC,zC,OS,sL,oL,GS,cL,dL,vL,GP,RM,OM,VP,nW,lW,pH,oF,TL],encapsulation:2});class U${}U$.ɵfac=function(e){return new(e||U$)},U$.ɵmod=of({type:U$}),U$.ɵinj=Hn({imports:[yI,wL,YP,xM,NM,tF,WP,QV,iW,cW,fH,RW,lF,CL]});const j$=(e,t,n,i,r,s)=>({"exp-gal-one-it":e,"exp-gal-two-it":t,"expert-single":n,"blink-end":i,empty:r,"experts-format-a":s});function V$(e,t){1&e&&(Fm(0,"div",11),Bm(1,"i"),Hm())}function W$(e,t){if(1&e&&(Fm(0,"div",12),Bm(1,"h2",13),Hm()),2&e){const e=sb(2);Zu(),V_("innerHTML",e.header_text||"Ask the Experts",au)("ng-speak-when",e.head_focus)}}function $$(e,t){if(1&e&&Bm(0,"div",14),2&e){V_("cleanHTML",sb(2).intro)}}function G$(e,t){if(1&e){const e=Wm();qm(0),Fm(1,"span",21),Wb(2),Hm(),Bm(3,"br"),Fm(4,"i",22),Wb(5),Hm(),Bm(6,"br"),Fm(7,"span",23),nb("onClick",function(){Ds(e);const t=sb().$implicit;return ks(sb(2).gotToOne(t.HASHTAG))}),Wb(8,"Read More"),Hm(),Um()}if(2&e){const e=sb(),t=e.$implicit,n=e.index,i=sb(2);Zu(),V_("ng-speak-when",i.center_experts&&0===n),Zu(),Gb(t.AUTHOR),Zu(3),Gb(t.CAPTION)}}function Y$(e,t){if(1&e){const e=Wm();qm(0),Fm(1,"span",24),nb("onClick",function(){Ds(e);const t=sb().$implicit;return ks(sb(2).gotToOne(t.HASHTAG))}),Hm(),Um()}if(2&e){const e=sb().$implicit;Zu(),V_("ng-context",e.AUTHOR)}}function Q$(e,t){if(1&e){const e=Wm();Fm(0,"div",15)(1,"div",16)(2,"span",17),nb("onClick",function(){const t=Ds(e).$implicit;return ks(sb(2).gotToOne(t.HASHTAG))}),Bm(3,"img",18,0),Hm()(),Fm(5,"div",19),Hf(6,G$,9,3,"ng-container",20)(7,Y$,2,1,"ng-container",20),Hm()()}if(2&e){const e=t.$implicit,n=sb(2);G_("gallery-item-logo",n.as_logos),Zu(2),V_("defer-src",e.AVATAR)("zing-no-touch",!0)("ui-hydrate",n.srv_no_avatars),a_("aria-label",e.AUTHOR),Zu(),G_("exp-img-logo",n.as_logos),V_("alt",e.AUTHOR),Zu(3),V_("ngIf",!n.as_logos),Zu(),V_("ngIf",n.as_logos)}}function Z$(e,t){if(1&e){const e=Wm();Fm(0,"div",25)(1,"span",26),nb("onClick",function(){Ds(e);return ks(sb(2).showMoreExperts())}),Hm()()}if(2&e){const e=sb(2);Zu(),V_("ng-context",e.more_btn_txt)}}function K$(e,t){if(1&e&&(Fm(0,"i"),Wb(1),Hm()),2&e){const e=sb(3);Zu(),Gb(null==e.expert_full?null:e.expert_full.CAPTION)}}function X$(e,t){if(1&e&&Bm(0,"div",33),2&e){V_("innerHtml",sb(3).expert_full.CONTENT,au)}}function J$(e,t){if(1&e&&Bm(0,"div",34),2&e){const e=sb(3);V_("cleanHTML",e.expert_full.CONTENT)("cleanHTML-sett",e.doompurifySett)}}function eG(e,t){if(1&e){const e=Wm();Fm(0,"article",27),Bm(1,"img",28),Fm(2,"h3",29),Wb(3),Hm(),Hf(4,K$,2,1,"i",20)(5,X$,1,1,"div",30)(6,J$,1,2,"div",31),Fm(7,"button",32),nb("onClick",function(){Ds(e);return ks(sb(2).goToAll())}),Wb(8),Hm()()}if(2&e){const e=sb(2);G_("exp-logo-profile",e.as_logos),Zu(),V_("src",null==e.expert_full?null:e.expert_full.AVATAR,cu),Zu(2),Gb(null==e.expert_full?null:e.expert_full.AUTHOR),Zu(),V_("ngIf",!e.as_logos),Zu(),V_("ngIf",!e.as_logos),Zu(),V_("ngIf",e.as_logos),Zu(),V_("ngClass",e.back_bt_class),Zu(),Gb(e.back_bt_text)}}function tG(e,t){if(1&e&&(Fm(0,"section",2),Hf(1,V$,2,0,"div",3)(2,W$,2,2,"div",4)(3,$$,1,1,"div",5),Fm(4,"div",6)(5,"div",7),Hf(6,Q$,8,11,"div",8)(7,Z$,2,1,"div",9)(8,eG,9,9,"article",10),Hm()()()),2&e){const e=sb();V_("ngClass",ky(13,j$,e.experts.length<2,e.experts.length<3,e.expert_single,!e.expert_single&&!e.loading&&!e.is_initial,e.emptydata,1==e.layout_format))("scroll-to",e.scrollall),Zu(),V_("ngIf",e.loading),Zu(),V_("ngIf",!e.layout_format),Zu(),V_("ngIf",e.intro&&!e.expert_single),Zu(),G_("all",!e.expert_single),V_("scroll-to",e.center_experts),Zu(),V_("scroll-to",e.scrollsingle)("scrolloffset",e.expert_offset),Zu(),V_("ngForOf",e.experts),Zu(),V_("ngIf",e.hasmoreexperts&&!e.expert_single),Zu(),V_("ngIf",e.expert_single)}}o.import("css:/components/experts-gallery.css").then(()=>{},()=>{});class nG{constructor(e){this._zone=e,this.experts=[],this.expert_single=!1,this.expert_offset=0,this.max_experts=Number.MAX_SAFE_INTEGER,this.header_text="",this.srv_no_avatars=!1,this.no_scroll_all=!1,this.current_page=0,this.questions=[],this.scrollall=!1,this.head_focus=!1,this.center_experts=!1,this.scrollsingle=!1,this.loading=!1,this.emptydata=!1,this.norender=!1,this.dataerror=!1,this.hasmoreexperts=!1,this.isnode=!1,this.doompurifySett={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","src"]},this.as_logos=!1,this.is_initial=!0,this._rendered=!1,this._hashtaglist={},this._refreshonurl=!1,this.refreshdelay=1,this.asyncdata=!1,this.server_render=!1,this.layout_format=0,this.back_bt_text="Back to All Experts",this.back_bt_class="btn blue",this.more_btn_txt="More Experts",this.changedExpert=new Ca,this.tagMatch=new Ca,this._servertransitwait=!0}get hashname(){return this._hashname}set hashname(e){this._hashname=e,e&&this._rendered?this._goToExpert(e):this.expert_single=!1}set data(e){this._data=e,e&&dS(e.expertsContent)?(uM("experts-gallery"),this.expert_single=!1,this._parseExperts(this._data),this.asyncdata&&this._setExpertsPagination(),!this.emptydata&&this._hashname&&this._goToExpert(this._hashname),e.aslogos&&(this.as_logos=!0)):e&&!e.expertsContent&&(this.emptydata=!0)}get data(){return this._data}get urlpath(){return this._urlpath}set urlpath(e){let t=e&&e!==this._urlpath;this._urlpath=e,t&&(this.urlrefresh=this.urlrefresh)}set urlrefresh(e){this._refreshonurl=e,e&&this._urlpath&&!this._data&&!this.asyncdata?this._refreshonurl=!0:this._refreshonurl=!1}get urlrefresh(){return this._refreshonurl}_goToExpert(e,t){this.is_initial=!1;let n,i=()=>{this.scrollsingle=!0,setTimeout(()=>{this.scrollsingle=!1},100)};e=e.toString().toLowerCase(),this._hashtaglist.hasOwnProperty(e)&&this._data.expertsContent[this._hashtaglist[e]]?(this.expert_single=!0,this.expert_full!==this._data.expertsContent[this._hashtaglist[e]]&&(this.expert_full=this._data.expertsContent[this._hashtaglist[e]],IS(()=>{this._zone.run(()=>{if(XI()&&this._servertransitwait){if(!t){let e=JL.subscribe("server:transitscroll",t=>{"done"!=t&&"none"!=t||i(),setTimeout(()=>{e&&e.unsubscribe()})})}this._servertransitwait=!1}else t||i()})})),n=!0):n=!1,this.tagMatch.emit(n)}_storeTags(){this._hashtaglist={};for(let e=0,t=this.experts.length;e<t;e++){let t=this.experts[e].HASHTAG.substring(1);t=t.toLowerCase(),this._hashtaglist[t]=e+(0===this.current_page?0:this.current_page-1)*this.max_experts}}_parseExperts(e){e.expertsContent.length>0?(this.experts=e.expertsContent,this.hasmoreexperts=!!this.max_experts&&e.expertsContent.length>this.max_experts,this.intro=e.expertsIntro||null,this._storeTags(),this._hashname&&this._goToExpert(this._hashname),this.emptydata=!1):(this.emptydata=!0,this._hashtaglist=[])}_setExpertsPagination(){this.hasmoreexperts=!!this.max_experts&&this.experts.length>this.max_experts,this.experts=(this.experts||[]).slice(this.current_page*this.max_experts,++this.current_page*this.max_experts)}_throwError(e,t){this.dataerror=!0,BM(e,"NG Experts Gallery : Data Request Error",{action:t})}_getExpertsByUrl(){this.expert_single=!1,uM("experts-gallery"),this.loading=!0,cM({method:"GET",url:kL(),id:"experts-gallery",before:()=>{this.loading=!0},after:()=>{this.loading=!1},data:{action:"Posts.GetExpertsGallery",path:this.urlpath},events:!1}).then(e=>{if(e&&!e.error){let t=e.data;fS(t)&&dS(t.expertsContent)?(this._data=t,this._parseExperts(t)):this.emptydata=!0}else this._throwError({data:e,status:200,type:"response"},this.urlpath)},e=>{this._throwError(e,this.urlpath)})}ngOnInit(){this.isnode=tS(),this.isnode?this.server_render?this.norender=!this._data&&!this.asyncdata:this.norender=!0:(!this._data&&this.urlpath&&this.urlrefresh&&!this.asyncdata?this.loading=!0:this.loading=!1,this.loading||this.asyncdata||this.data||(this.emptydata=!0),this.urlrefresh&&setTimeout(()=>{this._getExpertsByUrl()},this.refreshdelay),this.as_logos?(this.more_btn_txt||(this.more_btn_txt="More Retailers"),this.back_bt_text||(this.back_bt_text="Back to All Retailers")):(this.more_btn_txt||(this.more_btn_txt="More Experts"),this.back_bt_text||(this.back_bt_text="Back to All Experts"))),this.asyncdata||this._setExpertsPagination()}ngAfterViewInit(){this._rendered=!0,this.isnode?this._servertransitwait=!1:this.data&&!this.emptydata&&this._hashname?IS(()=>this._goToExpert(this._hashname)):this.asyncdata||(this._servertransitwait=!1)}ngOnDestroy(){uM("experts-gallery")}goToAll(){this.expert_single=!1,this.scrollsingle=!1,this.expert_full=null,this.no_scroll_all||(this.scrollall=!0),this.head_focus=!0,setTimeout(()=>{this.no_scroll_all||(this.scrollall=!1),this.head_focus=!1},100),this.changedExpert.emit(null)}gotToOne(e){let t=e.substring(1);this.expert_full=null,this._goToExpert(t),this.changedExpert.emit(t)}showMoreExperts(){var e=this._data.expertsContent,t=e.length;this.experts=e.slice(this.current_page*this.max_experts,++this.current_page*this.max_experts),this._storeTags(),this.current_page&&this.current_page*this.max_experts>=t&&(this.current_page=0),this.center_experts=!1,setTimeout(()=>{this.center_experts=!0,IS(()=>{this.center_experts=!1})})}}nG.ɵfac=function(e){return new(e||nG)(ep(ka))},nG.ɵcmp=nf({type:nG,selectors:[["div","id","experts-gallery"]],inputs:{expert_offset:[0,"scroll-offset","expert_offset"],max_experts:[0,"max-experts","max_experts"],header_text:[0,"header-text","header_text"],srv_no_avatars:[0,"ui-hydrate-avatars","srv_no_avatars"],no_scroll_all:[0,"no-scroll-all","no_scroll_all"],hashname:[0,"hashtag","hashname"],data:"data",urlpath:"urlpath",urlrefresh:"urlrefresh",refreshdelay:"refreshdelay",asyncdata:"asyncdata",server_render:[0,"server-render","server_render"],layout_format:[0,"format","layout_format"],back_bt_text:[0,"back-bt-text","back_bt_text"],back_bt_class:[0,"back-bt-class","back_bt_class"],more_btn_txt:[0,"more-bt-text","more_btn_txt"]},outputs:{changedExpert:"changedExpert",tagMatch:"tagMatch"},standalone:!1,decls:1,vars:1,consts:[["deferImg",""],["class","experts-gallery",3,"ngClass","scroll-to",4,"ngIf"],[1,"experts-gallery",3,"ngClass","scroll-to"],["class","progress-indicator visible",4,"ngIf"],["class","header-part",4,"ngIf"],["class","intro-part with-links",3,"cleanHTML",4,"ngIf"],[1,"container",3,"scroll-to"],[1,"gallery",3,"scroll-to","scrolloffset"],["class","gallery-item",3,"gallery-item-logo",4,"ngFor","ngForOf"],["class","more-experts",4,"ngIf"],["class","text-select expert-profile ng-enter-element slide",3,"exp-logo-profile",4,"ngIf"],[1,"progress-indicator","visible"],[1,"header-part"],["ng-speak","header",3,"innerHTML","ng-speak-when"],[1,"intro-part","with-links",3,"cleanHTML"],[1,"gallery-item"],[1,"gallery-icon"],["tabindex","0","role","button","zing-touch","",1,"gall-ic-action",3,"onClick","defer-src","zing-no-touch","ui-hydrate"],["height","110","width","110","tabindex","-1","aria-hidden","true",1,"expert-image",3,"alt"],[1,"wp-caption-text","gallery-caption"],[4,"ngIf"],["tabindex","0","ng-speak","header",1,"text-select",3,"ng-speak-when"],[1,"text-select"],["role","button","tabindex","0","zing-touch","",1,"read-more","touch-element-cl",3,"onClick"],["zing-touch","","role","button",1,"read-more","touch-element-cl",3,"onClick","ng-context"],[1,"more-experts"],["zing-touch","","role","button","tabindex","0",3,"onClick","ng-context"],[1,"text-select","expert-profile","ng-enter-element","slide"],["height","200","width","200","alt","",1,"profile-img",3,"src"],["ng-speak","header"],["class","description-text",3,"innerHtml",4,"ngIf"],["class","description-text",3,"cleanHTML","cleanHTML-sett",4,"ngIf"],["zing-touch","",1,"back-to-xprts",3,"onClick","ngClass"],[1,"description-text",3,"innerHtml"],[1,"description-text",3,"cleanHTML","cleanHTML-sett"]],template:function(e,t){1&e&&Hf(0,tG,9,20,"section",1),2&e&&V_("ngIf",!t.norender)},dependencies:[OS,GS,cL,dL,mL,LC,HC,zC,OM],encapsulation:2});class iG{}iG.ɵfac=function(e){return new(e||iG)},iG.ɵmod=of({type:iG}),iG.ɵinj=Hn({imports:[wL,yI,NM,CL]});class rG{SendSms(){if(this.sending)return;if(!this.phone||10!=this.phone.length)return void(this.inputError=!0);this.inputError=!1;let e=DL(),t={action:"download_app",type:this.data.android?"android":"apple",phoneNumber:this.phone};this.data.comm_id&&(t.commId=this.data.comm_id,t.type=""),cM({before:()=>{this.sending=!0},after:()=>{this.sending=!1},url:e,data:t,headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(e=>{e.error?e.messages&&dS(e.messages)&&e.messages.indexOf("REQUEST_LOCKED_BY_FILTER")>-1?(this.sentfailedrepeatitive=!0,this.sentfailed=!1,this.sentdone=!1):this.sentfailed=!0:(this.sentdone=!0,this.sentfailed=!1,this.sentfailedrepeatitive=!1),this._cd.detectChanges()},e=>{this.apifail=!0,setTimeout(()=>{this.apifail=!1,this._cd.detectChanges()},100)})}closeMe(){this.sending||this.closeDialog()}constructor(e){this._cd=e,this.phone="",this.sending=!1,this.sentfailed=!1,this.sentfailedrepeatitive=!1,this.sentdone=!1,this.apifail=!1,this.inputError=!1}}function sG(e,t){1&e&&(Fm(0,"p",4),Wb(1,"Enter your cell phone number and we'll send you a link to install the WalletHub app."),Hm())}function oG(e,t){1&e&&(Fm(0,"p",5),Wb(1,"Failed. Please check your phone number."),Hm())}function aG(e,t){1&e&&(Fm(0,"p",5),Wb(1,"Apologies, but we could not send you an SMS due to repeated attempts. Please go directly to the "),Fm(2,"a",6),Wb(3,"App Store"),Hm(),Wb(4," or "),Fm(5,"a",7),Wb(6,"Google Play"),Hm(),Wb(7," and search for the WalletHub app."),Hm())}function lG(e,t){1&e&&(Fm(0,"p",5),Wb(1,"Awesome! You should be receiving a text with the download link shortly."),Hm())}function cG(e,t){if(1&e){const e=Wm();Fm(0,"div",8)(1,"button",9),nb("click",function(){Ds(e);return ks(sb().closeDialog())}),Wb(2,"Close"),Hm()()}}function uG(e,t){1&e&&(Fm(0,"p",20),Wb(1,"Please enter a valid US number"),Hm())}function dG(e,t){if(1&e){const e=Wm();Fm(0,"form",10),nb("onSubmit",function(){Ds(e);return ks(sb().SendSms())}),Fm(1,"input",11),nb("input",function(t){Ds(e);return ks(sb().phone=t.target.value)}),Hm(),Hf(2,uG,2,0,"p",12),Fm(3,"p",13),Wb(4,"Wallethub doesn't charge for this service. Standard message rates apply."),Hm(),Bm(5,"error-toast",14),Fm(6,"div",15)(7,"button",16),Bm(8,"i",17),Fm(9,"span"),Wb(10,"Send Link to My Phone"),Hm()(),Bm(11,"div",18),Fm(12,"button",19),nb("click)",function(){Ds(e);return ks(sb().closeDialog())}),Wb(13,"Cancel"),Hm()()()}if(2&e){const e=sb();Zu(),V_("value",e.phone),Zu(),V_("ngIf",e.inputError),Zu(3),V_("show",e.apifail)("timer",2200),Zu(2),G_("loadactive",e.sending)}}rG.ɵfac=function(e){return new(e||rG)(ep(Xw))},rG.ɵdir=cf({type:rG});class hG extends rG{}hG.ɵfac=(()=>{let e;return function(t){return(e||(e=Jo(hG)))(t||hG)}})(),hG.ɵcmp=nf({type:hG,selectors:[["app-store"]],standalone:!1,features:[gf],decls:6,vars:6,consts:[["class","semi-bold-font",4,"ngIf"],["class","semi-bold-font ng-enter-element",4,"ngIf"],["class","buttons-holder-final ng-enter-element",4,"ngIf"],["form-submit","",3,"onSubmit",4,"ngIf"],[1,"semi-bold-font"],[1,"semi-bold-font","ng-enter-element"],["href","https://apps.apple.com/us/app/wallethub/id1110552982","target","_blank"],["href","https://goo.gl/mhG3k4","target","_blank"],[1,"buttons-holder-final","ng-enter-element"],["type","button",1,"btn","fixed-w-c",3,"click"],["form-submit","",3,"onSubmit"],["type","tel","autocomplete","off","placeholder","cell phone number",1,"textfield","full",3,"input","value"],["class","input-error bf-icon-info",4,"ngIf"],[1,"app-store-notice"],[3,"show","timer"],[1,"buttons-holder"],["type","submit",1,"btn","with-loader"],[1,"btn-loader"],[1,"btn-spacer"],["type","button",1,"btn","blue-brds","fixed-w-c","close-bt",3,"click)"],[1,"input-error","bf-icon-info"]],template:function(e,t){1&e&&Hf(0,sG,2,0,"p",0)(1,oG,2,0,"p",1)(2,aG,8,0,"p",1)(3,lG,2,0,"p",1)(4,cG,3,0,"div",2)(5,dG,14,6,"form",3),2&e&&(V_("ngIf",!t.sentfailed&&!t.sentdone&&!t.sentfailedrepeatitive),Zu(),V_("ngIf",t.sentfailed),Zu(),V_("ngIf",t.sentfailedrepeatitive),Zu(),V_("ngIf",t.sentdone),Zu(),V_("ngIf",t.sentdone||t.sentfailedrepeatitive),Zu(),V_("ngIf",!t.sentdone&&!t.sentfailedrepeatitive))},dependencies:[zC,GP,pH],styles:["app-store .app-store-notice{color:#5d7279;padding-bottom:15px}app-store .textfield{margin:15px 0}app-store .buttons-holder{text-align:right}app-store error-toast{display:block;position:relative}app-store error-toast .errortoast{top:-50px;bottom:auto}app-store{max-width:430px;display:block}app-store .buttons-holder-final{text-align:center;padding-top:15px}@media(max-width: 480px){app-store{padding:10px}}@media(max-width: 390px){app-store error-toast .errortoast{left:0px}}@media(max-width: 360px){app-store error-toast .errortoast{left:-20px}app-store .btn-spacer{height:8px;display:block}app-store .btn{width:100%}app-store .btn.fixed-w-c{width:100%}}@media(max-width: 340px){app-store .close-bt{width:100px}}"],encapsulation:2});class pG{}function fG(){return new Promise((e,t)=>{let n=document.createElement("script"),i=document.body?document.body:document.querySelector("head");n.async=!0,n.onload=()=>{document.addEventListener("userway:init_completed",t=>{var n;const i=null===(n=null==t?void 0:t.detail)||void 0===n?void 0:n.userWayInstance;null==i||i.widgetOpen(),setTimeout(()=>{e(null)},3e3)})},n.onerror=()=>{t(null),n.parentNode.removeChild(n)},n.setAttribute("data-color","#146FF8"),n.setAttribute("data-trigger","accessibilityBtn"),n.setAttribute("data-account","xnL3fi8xSi"),n.setAttribute("src","https://cdn.userway.org/widget.js"),i.appendChild(n)})}pG.ɵfac=function(e){return new(e||pG)},pG.ɵmod=of({type:pG}),pG.ɵinj=Hn({imports:[wL,yI,YP,fH]});class gG{Close(){this.loading||this.closeDialog(this.accessibe_loaded)}LoadAccessibe(){if(tS()||this.loading||location.search&&(location.search.indexOf("?a=0")>-1||location.search.indexOf("&a=0")>-1))return;const e=this;e.loading=!0,e._cd.detectChanges(),fG().then(()=>{e.loading=!1,e.accessibe_loaded=!0,this.Close(),e._cd.detectChanges()})}constructor(e){this._cd=e,this.loading=!1,this.accessibe_loaded=!1}}gG.ɵfac=function(e){return new(e||gG)(ep(Xw))},gG.ɵcmp=nf({type:gG,selectors:[["accessibe-ov"]],standalone:!1,decls:12,vars:3,consts:[[1,"center"],[1,"btn-groups","center"],["zing-touch","","aria-label","Close",1,"btn","bold-font-weight","blue-brds",3,"onTap"],[1,"btn-spacer"],["zing-touch","","aria-label","Load Accessibe",1,"btn","bold-font-weight","with-loader",3,"onTap"],[1,"btn-loader",3,"ng-aria-hidden"],[1,"bt-text"]],template:function(e,t){1&e&&(Fm(0,"h1",0),Wb(1,"Do you want to activate more accessibility features?"),Hm(),Bm(2,"br")(3,"br"),Fm(4,"div",1)(5,"button",2),nb("onTap",function(){return t.Close()}),Wb(6," Cancel "),Hm(),Bm(7,"div",3),Fm(8,"button",4),nb("onTap",function(){return t.LoadAccessibe()}),Bm(9,"span",5),Fm(10,"span",6),Wb(11,"Activate"),Hm()()()),2&e&&(Zu(8),G_("loadactive",t.loading),Zu(),V_("ng-aria-hidden",!0))},dependencies:[OS,gL],styles:["accessibe-ov{display:block;width:305px}"],encapsulation:2,changeDetection:0});class _G{}_G.ɵfac=function(e){return new(e||_G)},_G.ɵmod=of({type:_G}),_G.ɵinj=Hn({imports:[wL,yI]});const mG=["accessibilityBtn"];o.import("css:/footer-web.css").then(()=>{},()=>{});class vG{constructor(e,t,n,i){this._dservice=e,this._el=t,this._render=n,this._cd=i,this.copyrightyear=(new Date).getFullYear(),this.isWeb=!tS(),this.feedbackUrl="/feedback/",this.curDate=new Date,this.as_iframe=!1,this.accessibe=!1,this.accessibe_plugin_enabled=!1,this.accesibe_loading=!1,this.footerMenuOpenItems=[]}trackByFn(e){return e}EnableAccessibePluginPrompt(){}EnableAccessibePlugin(e){e&&e.preventDefault(),this.accesibe_loading=!0,fG().then(()=>{this.accessibe_plugin_enabled=!0,this.accesibe_loading=!1,this._cd.detectChanges()}),this._cd.detectChanges()}ScrollToTop(){this._dservice.element.focus(),this._dservice.scrollTo({position:0,timing:300}),setTimeout(()=>{cM({method:"GET",events:!1,url:xL()+"/gototop.png",expectedType:"text",silent:!0})},300)}_OpenStoreOverlay(e,t){return null}openStoreOvelary(e,t=null,n){n&&n.preventDefault(),!tS()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|Mobi/i.test(navigator.userAgent)||function(){let e={width:0,height:0};return window&&window.innerWidth&&window.innerHeight&&(e.width=window.innerWidth,e.height=window.innerHeight),screen&&screen.width&&screen.height&&(e.width=screen.width,e.height=screen.height),(e.width>=768&&e.width<=1024&&e.height>=1024||e.width>=1024&&e.width<=1366&&e.height>=768)&&/iPad|Macintosh/.test(navigator.userAgent)}()?e?window.open("https://goo.gl/mhG3k4","_blank","noopener"):window.open("https://apps.apple.com/us/app/wallethub/id1110552982","_blank","noopener"):this._OpenStoreOverlay(e,t)}ngOnInit(){this.isWeb&&(this.feedbackUrl="/feedback/?ref=."+window.location.pathname),DM.hasGroup("app-settings")&&DM.group("app-settings").accessibility&&(this.accessibe=DM.group("app-settings").accessibility),tS()||(JL.subscribe("footer:novox",e=>{!1===e?(this._render.removeAttribute(this._el.nativeElement,"tabindex"),this._render.removeAttribute(this._el.nativeElement,"aria-hidden")):(this._render.setAttribute(this._el.nativeElement,"tabindex","-1"),this._render.setAttribute(this._el.nativeElement,"aria-hidden","true"))}),JL.subscribe("footer:appstore",(e={})=>{let{is_android:t,comm_id:n}=e;this.openStoreOvelary(t,n),this._cd.detectChanges()}),JL.subscribe("footer:version",e=>{"iframe"==e&&(this.as_iframe=!0),this._cd.detectChanges()}))}openFeedbackPage(e){return e.stopPropagation(),e.preventDefault(),window.open("/feedback/?ref="+window.location.pathname,"_parent"),!1}ngOnDestroy(){JL.terminate("footer:novox"),JL.terminate("footer:appstore"),JL.terminate("footer:version")}FooterMenuToggle(e){window.innerWidth>767||(this.footerMenuOpenItems.indexOf(e)>-1?this.footerMenuOpenItems.splice(this.footerMenuOpenItems.indexOf(e),1):this.footerMenuOpenItems.push(e))}}vG.ɵfac=function(e){return new(e||vG)(ep(VS),ep(Ua),ep(qh),ep(Xw))},vG.ɵdir=cf({type:vG,viewQuery:function(e,t){if(1&e&&yb(mG,5),2&e){let e;wb(e=Eb())&&(t._accessibilityBtn=e.first)}}});const bG=["smsOverlay"],yG=e=>({show:e});function wG(e,t){if(1&e){const e=Wm();qm(0),Bm(1,"div",14),Fm(2,"div",15),Wb(3,"Reach Top WalletFitness"),Hm(),Fm(4,"a",16),nb("click",function(t){Ds(e);return ks(sb().EnableAccessibePlugin(t))}),Bm(5,"span",17),Hm(),Bm(6,"span",18,1),Fm(8,"div",19)(9,"a",20),nb("click",function(t){Ds(e);return ks(sb().openStoreOvelary(!1,null,t))}),Wb(10," "),Hm(),Fm(11,"a",21),nb("click",function(t){Ds(e);return ks(sb().openStoreOvelary(!0,null,t))}),Wb(12," "),Hm()(),Fm(13,"nav",22)(14,"ul",23)(15,"li",24),nb("click",function(){Ds(e);return ks(sb().FooterMenuToggle("wallethub-premium-desktop"))}),Wb(16,"wallethub premium"),Hm(),Fm(17,"li",25)(18,"ul",26)(19,"li")(20,"a",27),Wb(21,"Overview"),Hm()(),Fm(22,"li")(23,"a",28),Wb(24,"Compare Plans"),Hm()(),Fm(25,"li")(26,"a",29),Wb(27,"Dark Web Scan"),Hm()()()(),Fm(28,"li",30),nb("click",function(){Ds(e);return ks(sb().FooterMenuToggle("personal-loans"))}),Wb(29,"personal loans"),Hm(),Fm(30,"li")(31,"ul",31)(32,"li")(33,"a",32),Wb(34,"Best Personal Loans"),Hm()(),Fm(35,"li")(36,"a",33),Wb(37,"Best Banks for Personal Loans"),Hm()(),Fm(38,"li")(39,"a",34),Wb(40,"Same-Day Loans"),Hm()(),Fm(41,"li")(42,"a",35),Wb(43,"Short-Term Loans"),Hm()(),Fm(44,"li")(45,"a",36),Wb(46,"No Credit Check Loans"),Hm()(),Fm(47,"li")(48,"a",37),Wb(49,"Debt Consolidation Loans for Bad Credit"),Hm()()()(),Fm(50,"li",30),nb("click",function(){Ds(e);return ks(sb().FooterMenuToggle("car-insurance"))}),Wb(51,"car insurance"),Hm(),Fm(52,"li")(53,"ul",31)(54,"li")(55,"a",38),Wb(56,"Best Car Insurance Near Me"),Hm()(),Fm(57,"li")(58,"a",39),Wb(59,"Cheapest Companies"),Hm()(),Fm(60,"li")(61,"a",40),Wb(62,"Full Coverage"),Hm()(),Fm(63,"li")(64,"a",41),Wb(65,"Gap Insurance"),Hm()(),Fm(66,"li")(67,"a",42),Wb(68,"DUI Insurance"),Hm()(),Fm(69,"li")(70,"a",43),Wb(71,"No Deposit"),Hm()(),Fm(72,"li")(73,"a",44),Wb(74,"College Students"),Hm()(),Fm(75,"li")(76,"a",45),Wb(77,"Teens"),Hm()(),Fm(78,"li")(79,"a",46),Wb(80,"First-Time Drivers"),Hm()(),Fm(81,"li")(82,"a",47),Wb(83,"Seniors"),Hm()()()(),Fm(84,"li",48),nb("click",function(){Ds(e);return ks(sb().FooterMenuToggle("tools-mobile"))}),Wb(85,"Tools"),Hm(),Fm(86,"li",49)(87,"ul",50)(88,"li")(89,"a",51),Wb(90,"Ask a Question"),Hm()(),Fm(91,"li")(92,"a",52),Wb(93,"WalletLiteracy"),Hm()(),Fm(94,"li")(95,"a",53),Wb(96,"WalletScore"),Hm()(),Fm(97,"li")(98,"a",54),Wb(99,"Calculators"),Hm()()()()(),Fm(100,"ul",55)(101,"li",30),nb("click",function(){Ds(e);return ks(sb().FooterMenuToggle("credit"))}),Wb(102,"Credit Score"),Hm(),Fm(103,"li")(104,"ul",31)(105,"li")(106,"a",56),Wb(107,"Free Credit Score"),Hm()(),Fm(108,"li")(109,"a",57),Wb(110,"Free Credit Report"),Hm()(),Fm(111,"li")(112,"a",58),Wb(113,"Free Credit Monitoring"),Hm()(),Fm(114,"li")(115,"a",59),Wb(116,"Free Credit Simulator"),Hm()(),Fm(117,"li")(118,"a",60),Wb(119,"Your Credit Score Explained"),Hm()(),Fm(120,"li")(121,"a",61),Wb(122,"Auto Insurance Score"),Hm()()()(),Fm(123,"li",30),nb("click",function(){Ds(e);return ks(sb().FooterMenuToggle("banking"))}),Wb(124,"banking"),Hm(),Fm(125,"li")(126,"ul",31)(127,"li")(128,"a",62),Wb(129,"Best CD Rates"),Hm()(),Fm(130,"li")(131,"a",63),Wb(132,"Best Checking Accounts"),Hm()(),Fm(133,"li")(134,"a",64),Wb(135,"Best Savings Accounts"),Hm()(),Fm(136,"li")(137,"a",65),Wb(138,"Money Market Accounts"),Hm()(),Fm(139,"li")(140,"a",66),Wb(141,"Best Prepaid Cards"),Hm()(),Fm(142,"li")(143,"a",67),Wb(144,"Best Banks"),Hm()(),Fm(145,"li")(146,"a",68),Wb(147,"Best Credit Unions"),Hm()()()(),Fm(148,"li",30),nb("click",function(){Ds(e);return ks(sb().FooterMenuToggle("pros"))}),Wb(149,"PROS"),Hm(),Fm(150,"li")(151,"ul",31)(152,"li")(153,"a",69),Wb(154,"Real Estate Agents"),Hm()(),Fm(155,"li")(156,"a",70),Wb(157,"Insurance Agents"),Hm()(),Fm(158,"li")(159,"a",71),Wb(160,"Mortgage Brokers"),Hm()()()(),Fm(161,"li",30),nb("click",function(){Ds(e);return ks(sb().FooterMenuToggle("directories"))}),Wb(162,"DIRECTORIES"),Hm(),Fm(163,"li")(164,"ul",31)(165,"li")(166,"a",72),Wb(167,"Nearby Financial Providers"),Hm()(),Fm(168,"li")(169,"a",73),Wb(170,"Popular Financial Products"),Hm()(),Fm(171,"li")(172,"a",74),Wb(173,"People Search For"),Hm()()()()(),Fm(174,"ul",75)(175,"li",48),nb("click",function(){Ds(e);return ks(sb().FooterMenuToggle("wallethub-premium-mobile"))}),Wb(176,"wallethub premium"),Hm(),Fm(177,"li",49)(178,"ul",50)(179,"li")(180,"a",27),Wb(181,"Overview"),Hm()(),Fm(182,"li")(183,"a",28),Wb(184,"Compare Plans"),Hm()(),Fm(185,"li")(186,"a",29),Wb(187,"Dark Web Scan"),Hm()()()(),Fm(188,"li",76),nb("click",function(){Ds(e);return ks(sb().FooterMenuToggle("credit-cards"))}),Wb(189,"Credit Cards"),Hm(),Fm(190,"li")(191,"ul",31)(192,"li",77),Wb(193,"Low Rates"),Hm(),Fm(194,"li")(195,"a",78),Wb(196,"0% APR"),Hm()(),Fm(197,"li")(198,"a",79),Wb(199,"Balance Transfer"),Hm()(),Fm(200,"li")(201,"a",80),Wb(202,"Low Interest"),Hm()(),Fm(203,"li")(204,"a",81),Wb(205,"Best Rates"),Hm()(),Fm(206,"li",77),Wb(207,"Rewards"),Hm(),Fm(208,"li")(209,"a",82),Wb(210,"Cash Back"),Hm()(),Fm(211,"li")(212,"a",83),Wb(213,"Gas"),Hm()(),Fm(214,"li")(215,"a",84),Wb(216,"Airline"),Hm()(),Fm(217,"li")(218,"a",85),Wb(219,"Hotel"),Hm()(),Fm(220,"li")(221,"a",86),Wb(222,"All Rewards"),Hm()(),Fm(223,"li",77),Wb(224,"By Credit Score"),Hm(),Fm(225,"li")(226,"a",87),Wb(227,"Excellent Credit"),Hm()(),Fm(228,"li")(229,"a",88),Wb(230,"Good Credit"),Hm()(),Fm(231,"li")(232,"a",89),Wb(233,"Fair Credit"),Hm()(),Fm(234,"li")(235,"a",90),Wb(236,"Bad Credit"),Hm()(),Fm(237,"li")(238,"a",91),Wb(239,"No Credit"),Hm()()()(),Fm(240,"li",24),nb("click",function(){Ds(e);return ks(sb().FooterMenuToggle("tools-desktop"))}),Wb(241,"Tools"),Hm(),Fm(242,"li",25)(243,"ul",26)(244,"li")(245,"a",51),Wb(246,"Ask a Question"),Hm()(),Fm(247,"li")(248,"a",52),Wb(249,"WalletLiteracy"),Hm()(),Fm(250,"li")(251,"a",53),Wb(252,"WalletScore"),Hm()(),Fm(253,"li")(254,"a",54),Wb(255,"Calculators"),Hm()()()()(),Fm(256,"ul",92)(257,"li",93),Wb(258,"Credit Cards"),Hm(),Fm(259,"li")(260,"ul",31)(261,"li",77),Wb(262,"Credit Card Types"),Hm(),Fm(263,"li")(264,"a",94),Wb(265),qy(266,"date"),Hm()(),Fm(267,"li")(268,"a",95),Wb(269,"Business Credit Cards"),Hm()(),Fm(270,"li")(271,"a",96),Wb(272,"Credit Card Deals"),Hm()(),Fm(273,"li")(274,"a",97),Wb(275,"Student Credit Cards"),Hm()(),Fm(276,"li")(277,"a",98),Wb(278,"Store Cards"),Hm()(),Fm(279,"li")(280,"a",99),Wb(281,"Charge Cards"),Hm()(),Fm(282,"li")(283,"a",100),Wb(284,"No Foreign Fee"),Hm()(),Fm(285,"li")(286,"a",101),Wb(287,"No Annual Fee"),Hm()(),Fm(288,"li")(289,"a",102),Wb(290,"Secured Cards"),Hm()(),Fm(291,"li")(292,"a",103),Wb(293,"Unsecured Cards"),Hm()(),Fm(294,"li")(295,"a",104),Wb(296,"Starter Cards"),Hm()(),Fm(297,"li")(298,"a",105),Wb(299,"Credit Card Reviews"),Hm()()()()()(),Bm(300,"hr",106),Fm(301,"nav",107)(302,"ul")(303,"li",108),Wb(304,"About"),Hm(),Fm(305,"li")(306,"a",109),Wb(307,"About Us"),Hm()(),Fm(308,"li")(309,"a",110),Wb(310,"Media"),Hm()(),Fm(311,"li")(312,"a",111),Wb(313,"Jobs"),Hm()(),Fm(314,"li")(315,"a",112),Wb(316,"Contact Us"),Hm()(),Fm(317,"li")(318,"a",113),Wb(319,"Studies & Reports"),Hm()()(),Fm(320,"ul")(321,"li",108),Wb(322,"Help"),Hm(),Fm(323,"li")(324,"a",114),Wb(325,"FAQ"),Hm()(),Fm(326,"li")(327,"a",115),nb("click",function(t){Ds(e);return ks(sb().openFeedbackPage(t))}),Wb(328,"Feedback"),Hm()(),Fm(329,"li")(330,"a",116),Wb(331,"Add Your Business"),Hm()(),Fm(332,"li")(333,"a",117),Wb(334,"Accessibility"),Hm()()(),Fm(335,"ul")(336,"li",108),Wb(337,"wallethub awards"),Hm(),Fm(338,"li")(339,"a",118),Wb(340),qy(341,"date"),Hm()(),Fm(342,"li")(343,"a",119),Wb(344,"Editorial Policy"),Hm()(),Fm(345,"li")(346,"a",120),Wb(347,"Rating Methodologies"),Hm()()(),Fm(348,"ul")(349,"li",108),Wb(350,"legal"),Hm(),Fm(351,"li")(352,"a",121),Wb(353,"Terms"),Hm()(),Fm(354,"li")(355,"a",122),Wb(356,"Privacy Policy"),Hm()(),Fm(357,"li")(358,"a",123),Wb(359,"Your Privacy Choices "),Bm(360,"span",124),Hm()(),Fm(361,"li")(362,"a",125),Wb(363,"California Collection Notice"),Hm()(),Fm(364,"li")(365,"a",126),Wb(366,"Consumer Health Privacy Policy"),Hm()(),Fm(367,"li")(368,"a",127),Wb(369,"Cookie Policy"),Hm()(),Fm(370,"li")(371,"a",128),Wb(372,"Content Guidelines"),Hm()()()(),Um()}if(2&e){const e=sb();Zu(4),G_("before-load",!e.accessibe_plugin_enabled)("show-lib-loader",e.accesibe_loading),Zu(2),G_("after-load",e.accessibe_plugin_enabled),Zu(9),V_("ngClass",Sy(38,yG,e.footerMenuOpenItems.indexOf("wallethub-premium-desktop")>-1)),Zu(3),V_("ngClass",Sy(40,yG,e.footerMenuOpenItems.indexOf("wallethub-premium-desktop")>-1)),Zu(10),V_("ngClass",Sy(42,yG,e.footerMenuOpenItems.indexOf("personal-loans")>-1)),Zu(3),V_("ngClass",Sy(44,yG,e.footerMenuOpenItems.indexOf("personal-loans")>-1)),Zu(19),V_("ngClass",Sy(46,yG,e.footerMenuOpenItems.indexOf("car-insurance")>-1)),Zu(3),V_("ngClass",Sy(48,yG,e.footerMenuOpenItems.indexOf("car-insurance")>-1)),Zu(31),V_("ngClass",Sy(50,yG,e.footerMenuOpenItems.indexOf("tools-mobile")>-1)),Zu(3),V_("ngClass",Sy(52,yG,e.footerMenuOpenItems.indexOf("tools-mobile")>-1)),Zu(14),V_("ngClass",Sy(54,yG,e.footerMenuOpenItems.indexOf("credit")>-1)),Zu(3),V_("ngClass",Sy(56,yG,e.footerMenuOpenItems.indexOf("credit")>-1)),Zu(19),V_("ngClass",Sy(58,yG,e.footerMenuOpenItems.indexOf("banking")>-1)),Zu(3),V_("ngClass",Sy(60,yG,e.footerMenuOpenItems.indexOf("banking")>-1)),Zu(22),V_("ngClass",Sy(62,yG,e.footerMenuOpenItems.indexOf("pros")>-1)),Zu(3),V_("ngClass",Sy(64,yG,e.footerMenuOpenItems.indexOf("pros")>-1)),Zu(10),V_("ngClass",Sy(66,yG,e.footerMenuOpenItems.indexOf("directories")>-1)),Zu(3),V_("ngClass",Sy(68,yG,e.footerMenuOpenItems.indexOf("directories")>-1)),Zu(11),V_("ngClass",Sy(70,yG,e.footerMenuOpenItems.indexOf("wallethub-premium-mobile")>-1)),Zu(3),V_("ngClass",Sy(72,yG,e.footerMenuOpenItems.indexOf("wallethub-premium-mobile")>-1)),Zu(10),V_("ngClass",Sy(74,yG,e.footerMenuOpenItems.indexOf("credit-cards")>-1)),Zu(3),V_("ngClass",Sy(76,yG,e.footerMenuOpenItems.indexOf("credit-cards")>-1)),Zu(49),V_("ngClass",Sy(78,yG,e.footerMenuOpenItems.indexOf("tools-desktop")>-1)),Zu(3),V_("ngClass",Sy(80,yG,e.footerMenuOpenItems.indexOf("tools-desktop")>-1)),Zu(17),V_("ngClass",Sy(82,yG,e.footerMenuOpenItems.indexOf("credit-cards")>-1)),Zu(5),Yb("Best Credit Cards ",jy(266,32,e.curDate,"yyyy"),""),Zu(62),V_("href",e.feedbackUrl,cu),Zu(13),Yb(" ",jy(341,35,e.curDate,"yyyy")," Best Awards")}}function EG(e,t){1&e&&(Fm(0,"div",129)(1,"a",122),Wb(2,"Privacy Policy"),Hm(),Fm(3,"span",130),Wb(4,"|"),Hm(),Fm(5,"a",121),Wb(6,"Terms"),Hm()())}class TG extends vG{_OpenStoreOverlay(e,t){return this._smsOverlay.Open(hG,{android:e,comm_id:t},{withclose:!0})}}TG.ɵfac=(()=>{let e;return function(t){return(e||(e=Jo(TG)))(t||TG)}})(),TG.ɵcmp=nf({type:TG,selectors:[["footer","main-footer",""]],viewQuery:function(e,t){if(1&e&&yb(bG,5),2&e){let e;wb(e=Eb())&&(t._smsOverlay=e.first)}},hostAttrs:["ngSkipHydration","true"],hostVars:4,hostBindings:function(e,t){2&e&&G_("asframe",t.as_iframe)("simple-footer",t.as_iframe)},standalone:!1,features:[gf],decls:40,vars:3,consts:[["smsOverlay",""],["accessibilityBtn",""],[4,"ngIf"],["aria-label","Copyright",1,"copyright"],["tabindex","0"],["class","simple-ver regular-font",4,"ngIf"],["id","footer_cta"],[1,"big-content"],[1,"cta_arrow"],[1,"small-content"],[1,"small-mobile-content"],[1,"main-content"],[1,"center"],["onclick","location.href='/join';",1,"join_for_free"],[1,"logo"],[1,"reach-top"],["href","/accessibility","role","button","aria-label","Accessibility",1,"accessibility-btn",3,"click"],[1,"lib-loader"],["id","accessibilityBtn",1,"accessibility-btn"],[1,"mobileButtons"],["href","https://apps.apple.com/us/app/wallethub/id1110552982?mt=8","target","_blank","rel","noopener","role","link","aria-label","get on the app store","tabindex","0",1,"store-link","appleStore",3,"click"],["href","https://play.google.com/store/apps/details?id=com.wallethub.mywallet","role","link","target","_blank","rel","noopener","aria-label","get on the google play","tabindex","0",1,"store-link","googlePlay",3,"click"],["aria-label","Main Footer",1,"main"],[1,"mobile-order-3"],[1,"label","hide-mobile",3,"click","ngClass"],[1,"hide-mobile"],[1,"sub-menu","hide-mobile",3,"ngClass"],["href","/premium"],["href","/upgrade"],["href","/premium/dark-web"],[1,"label",3,"click","ngClass"],[1,"sub-menu",3,"ngClass"],["href","/best-personal-loans"],["href","/best-banks-for-personal-loans"],["href","https://wallethub.com/edu/pl/same-day-loans/67705"],["href","/personal-loans/short-term-loans"],["href","https://wallethub.com/edu/pl/no-credit-check-loans/68084"],["href","/personal-loans/debt-consolidation-loans-for-bad-credit"],["href","/car-insurance-near-me"],["href","/cheap-car-insurance"],["href","https://wallethub.com/edu/ci/cheapest-full-coverage-car-insurance/87274"],["href","https://wallethub.com/edu/ci/best-gap-insurance/94139"],["href","https://wallethub.com/edu/ci/dui-insurance/13542"],["href","https://wallethub.com/edu/ci/very-cheap-car-insurance-no-deposit/98676"],["href","https://wallethub.com/edu/ci/best-car-insurance-for-college-students/88064"],["href","https://wallethub.com/edu/ci/cheapest-car-insurance-for-teens/94421"],["href","https://wallethub.com/edu/ci/cheaper-car-insurance-for-first-time-drivers/89402"],["href","https://wallethub.com/edu/ci/best-auto-insurance-for-seniors/88292"],[1,"label","hide-desktop",3,"click","ngClass"],[1,"hide-desktop"],[1,"sub-menu","hide-desktop",3,"ngClass"],["href","/answers/"],["href","/wallet-literacy-score/"],["href","/wallet-score"],["href","/calculators"],[1,"mobile-order-4"],["href","/free-credit-score"],["href","/free-credit-report"],["href","/free-credit-monitoring"],["href","/credit-score-simulator"],["href","/credit-score-range"],["href","/auto-insurance-score"],["href","/cd-rates"],["href","/checking-accounts"],["href","/savings-accounts"],["href","/money-market-accounts"],["href","/prepaid-debit-cards"],["href","/banks"],["href","/credit-unions"],["href","/real-estate-agents"],["href","/insurance-agents"],["href","/mortgage-brokers"],["href","/local-financial-products/"],["href","/product-directory/"],["href","/search-directory/"],[1,"mobile-order-1"],[1,"label","credit-card-label",3,"click","ngClass"],[1,"sub-label"],["href","/credit-cards/0-apr/"],["href","/credit-cards/balance-transfer/"],["href","/best-low-interest-credit-cards"],["href","/best-credit-card-rates"],["href","/best-cash-back-credit-card"],["href","/credit-cards/gas/"],["href","/best-airline-credit-card"],["href","/best-hotel-credit-card"],["href","/credit-cards/rewards/"],["href","/credit-cards/excellent-credit/"],["href","/credit-cards/good-credit/"],["href","/credit-cards/fair-credit/"],["href","/credit-cards/bad-credit/"],["href","/credit-cards/no-credit/"],[1,"mobile-order-2"],[1,"label","hidden"],["href","/best-credit-cards"],["href","/best-business-credit-cards"],["href","/best-credit-card-deals"],["href","/best-credit-cards-for-students"],["href","/credit-cards/store/"],["href","/credit-cards/charge-cards/"],["href","/credit-cards/no-foreign-transaction-fee/"],["href","/best-credit-cards-no-annual-fee"],["href","/credit-cards/secured/"],["href","/credit-cards/unsecured/"],["href","/credit-cards/starter/"],["href","/credit-card-reviews"],[1,"nav-hr"],["aria-label","Footer Common Menu",1,"common"],[1,"label"],["href","/about"],["href","/media/"],["href","/jobs/"],["href","/contact/"],["href","https://wallethub.com/edu/statistics"],["href","/answers/#sp=597&srt=mv"],["rel","nofollow",3,"click","href"],["href","/add-listing/"],["href","/accessibility"],["href","/awards/"],["href","https://wallethub.com/edu/wallethub-editorial-policy/25756"],["href","/rating-methodologies"],["href","/terms"],["href","/terms/privacy"],["href","/pi-request?dontsell=1"],[1,"opt-out-icon"],["href","/terms/privacy/ccpa"],["href","/terms/privacy/consumer-health"],["href","/terms/cookie-policy"],["href","/community/guidelines/"],[1,"simple-ver","regular-font"],["aria-hidden","true","tabindex","-1"]],template:function(e,t){1&e&&(Hf(0,wG,373,84,"ng-container",2),Fm(1,"aside",3)(2,"div",4),Wb(3),Bm(4,"br"),Fm(5,"span"),Wb(6,"All Rights Reserved."),Hm()(),Hf(7,EG,7,0,"div",5),Hm(),Fm(8,"div",6)(9,"span",7),Wb(10,"Get unlimited free credit scores & reports "),Bm(11,"span",8),Hm(),Fm(12,"span",9),Wb(13,"Sign up for free credit monitoring "),Bm(14,"span",8),Hm(),Fm(15,"span",10),Wb(16,"get your free credit score & report "),Bm(17,"span",8),Hm(),Fm(18,"div",11)(19,"h3"),Wb(20,"Join WalletHub"),Hm(),Fm(21,"p"),Wb(22,"+ 100% Free"),Hm(),Fm(23,"p"),Wb(24,"+ Unlimited Credit Reports"),Hm(),Fm(25,"p"),Wb(26,"+ Unlimited Credit Scores"),Hm(),Fm(27,"p"),Wb(28,"+ Credit Monitoring Protection"),Hm(),Fm(29,"p"),Wb(30,"+ Credit Improvement Tips"),Hm(),Fm(31,"p"),Wb(32,"+ Automatically Finds Savings"),Hm(),Fm(33,"div",12)(34,"button",13),Wb(35," JOIN FOR FREE "),Hm(),Fm(36,"p"),Wb(37,"No credit card needed"),Hm()()()(),Bm(38,"modal-dialog",null,0)),2&e&&(V_("ngIf",!t.as_iframe),Zu(3),Yb(" © 2008–",t.copyrightyear," Evolution Finance, Inc. (dba WalletHub)"),Zu(4),V_("ngIf",t.as_iframe))},dependencies:[LC,zC,VP,aI],encapsulation:2,changeDetection:0});class CG{}function IG(e,t){if(1&e){const e=Wm();qm(0),Bm(1,"p",4),Fm(2,"div",5)(3,"button",6),nb("onTap",function(){Ds(e);return ks(sb().Yes())}),Bm(4,"i",7),Fm(5,"span",8),Wb(6,"Yes"),Hm()(),Fm(7,"button",9),nb("click",function(){Ds(e);return ks(sb().No())}),Wb(8,"No"),Hm()(),Um()}if(2&e){const e=sb();Zu(),V_("innerHTML",e.headline,au),Zu(2),G_("loadactive",e.saving)}}function SG(e,t){1&e&&(Fm(0,"p",10),Wb(1,"Awesome! Thanks for your feedback."),Hm()),2&e&&V_("focus-when",!0)}function AG(e,t){if(1&e&&(Fm(0,"p",11),Wb(1,"Thank you for your feedback."),Hm()),2&e){V_("focus-when",sb().after_submit)}}function RG(e,t){if(1&e){const e=Wm();Fm(0,"form",12),nb("onSubmit",function(){Ds(e);return ks(sb().SubmitReason())}),Fm(1,"p",11),Wb(2,"Sorry! How can we improve it?"),Hm(),Fm(3,"textarea",13),nb("input",function(t){Ds(e);return ks(sb().reason=t.target.value)}),Hm(),Fm(4,"div",14)(5,"button",15),Bm(6,"i",7),Fm(7,"span",8),Wb(8,"Submit"),Hm()(),Bm(9,"error-toast",16),Hm()()}if(2&e){const e=sb();Zu(),V_("focus-when",!0),Zu(2),V_("value",e.reason),Zu(2),G_("loadactive",e.saving),Zu(4),V_("message",e.errormsg)("show",e.show_submit_error)("close-on-change",!0)}}CG.ɵfac=function(e){return new(e||CG)},CG.ɵmod=of({type:CG}),CG.ɵinj=Hn({imports:[pG,wL,yI,WP]});class xG{constructor(e){this._loc=e,this.submited=!1,this.headline="Was this article helpful?",this.type="EDU",this.reason="",this.live_status="",this.after_submit=!1}ngOnInit(){this._url=(xL()+this._loc.path()).replace("https://",""),this.voted="1"==oM.get("h"+this._url)}Yes(){this.saving=!0;let e="h"+this._url;oM.set(e,"1",7),cM({url:kL(),data:{action:"send_edu_feedback",postId:this.id,url:this._url,helpful:!0,type:this.type},before:()=>{this.saving=!0},after:()=>{this.saving=!1},silent:!0,headers:{"Content-Type":"application/x-www-form-urlencoded"}}),this.submited=!0}No(){this.unhelpful=!0}_ShowReqError(){this.show_submit_error&&(this.show_submit_error=!1),setTimeout(()=>{this.show_submit_error=!0})}_ThrowReqError(e="We encountered an error. Please retry"){this.errormsg?this.errormsg=null:this.errormsg=e,setTimeout(()=>{this.errormsg=e},100),this._ShowReqError()}SubmitReason(){if(this.saving)return;let e,t=_M(this.reason||"");(!t||t.length<10)&&(e="Content must have 30 characters"),e?this._ThrowReqError(e):cM({url:kL(),data:{action:"send_edu_feedback",postId:this.id,url:this._url,helpful:!1,feedback:t,type:this.type},before:()=>{this.saving=!0},after:()=>{this.saving=!1},headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(e=>{if(e.error)this._ThrowReqError();else{this.voted=!0,this.unhelpful=!1,this.after_submit=!0;let e="h"+this._url;oM.set(e,"0",7)}}).catch(()=>{this._ThrowReqError()})}}xG.ɵfac=function(e){return new(e||xG)(ep(JE))},xG.ɵcmp=nf({type:xG,selectors:[["div",8,"helpful-article"]],hostAttrs:[1,"text-select","helpful-article"],inputs:{id:"id",headline:"headline",type:"type"},standalone:!1,decls:4,vars:4,consts:[[4,"ngIf"],["class","ng-enter-element helpful-head","ng-focus","","tabindex","0",3,"focus-when",4,"ngIf"],["class","helpful-head","ng-focus","","tabindex","0",3,"focus-when",4,"ngIf"],["class","ng-enter-element","form-submit","",3,"onSubmit",4,"ngIf"],[1,"helpful-head",3,"innerHTML"],[1,"helpful-btn-container"],["type","button","zing-touch","","aria-label","Yes",1,"btn","blue-brds","helpful-btn","with-loader",3,"onTap"],["aria-hidden","true","tabindex","-1",1,"btn-loader"],[1,"bt-text"],["type","button",1,"btn","blue-brds","helpful-btn",3,"click"],["ng-focus","","tabindex","0",1,"ng-enter-element","helpful-head",3,"focus-when"],["ng-focus","","tabindex","0",1,"helpful-head",3,"focus-when"],["form-submit","",1,"ng-enter-element",3,"onSubmit"],["aria-label","Please write here how can we improve it!",1,"textarea","large","helpful-textarea",3,"input","value"],[1,"helpful-form-btn"],["type","submit",1,"btn","fixed-w","with-loader"],[3,"message","show","close-on-change"]],template:function(e,t){1&e&&Hf(0,IG,9,3,"ng-container",0)(1,SG,2,1,"p",1)(2,AG,2,1,"p",2)(3,RG,10,7,"form",3),2&e&&(V_("ngIf",!t.submited&&!t.voted&&!t.unhelpful),Zu(),V_("ngIf",t.submited),Zu(),V_("ngIf",t.voted),Zu(),V_("ngIf",t.unhelpful))},dependencies:[zC,OS,GP,pH,TL],encapsulation:2});class DG{}DG.ɵfac=function(e){return new(e||DG)},DG.ɵmod=of({type:DG}),DG.ɵinj=Hn({imports:[yI,wL,YP,fH,CL]});const kG=["jsCustomLinksGrid"],OG=["jsSlider"],NG=e=>({"two-arrows":e});function LG(e,t){if(1&e){const e=Wm();Fm(0,"a",11)(1,"span",12),nb("click",function(t){const n=Ds(e),i=n.$implicit,r=n.index;return ks(sb().goToCat(r,i.LINK_URL,t))}),Wb(2),Hm()()}if(2&e){const e=t.$implicit,n=t.index,i=sb();um("splide__slide no-js no-js-link cus-",e.LINK_URL,""),V_("href",i.base_url+i.pageUri+"#"+e.LINK_URL,cu),a_("data-slide-index",n),Zu(),G_("active",i.active==n),Zu(),Gb(e.LINK_NAME)}}class MG{constructor(e,t){this.scrollService=e,this._cd=t,this.jumpLinks=[],this.onInit=new Ca,this.elementsInView=[],this.lastScrolledElement="",this.allIds=[],this.subs=[],this.forceJump=!1,this.base_url=xL(),this.at_start=!0,this.at_end=!0,this.active=0,this.lastUpdate=Date.now(),this.debounceTime=100}trackByFn(e){return e}ngOnInit(){}ngAfterViewInit(){if(this.jumpLinks.length>0&&(this.jumpLinks.forEach((e,t)=>{const n="#"+e.LINK_URL;this.allIds.push(n)}),!tS())){if(!this.jsSlider.nativeElement)return;this.headMobNav=document.querySelector(".head-mob-nav"),requestAnimationFrame(()=>{this.jumpSlider=new Kx(this.jsSlider.nativeElement,{type:"slide",drag:"free",autoWidth:!0,arrows:!1,pagination:!1,snap:!0,speed:200,perMove:1,align:"start"}),this.jumpSlider.on("mounted",e=>{this.onInit.emit(),this.jumpSlider.Components.Slides.forEach(function(e){e.slide.classList.contains("is-visible")?e.slide.removeAttribute("tabindex"):e.slide.setAttribute("tabindex","-1")})}),this.jumpSlider.mount(),this.jumpSlider.on("visible",e=>{0==e.index&&(this.at_start=!0),e.index==this.jumpLinks.length-1&&(this.at_end=!0),e.slide.removeAttribute("tabindex"),this._cd.detectChanges()}),this.jumpSlider.on("hidden",e=>{0==e.index&&(this.at_start=!1),e.index==this.jumpLinks.length-1&&(this.at_end=!1),e.slide.setAttribute("tabindex","-1"),this._cd.detectChanges()}),this.jumpSlider.on("resized",e=>{this.adjustRightArrow()}),setTimeout(()=>{this.adjustRightArrow()},20),setTimeout(()=>{window.innerWidth>=768&&this.updateElementsInView(),this.subs.push(this.scrollService.onScroll.pipe(Ct(50)).subscribe(e=>{this.forceJump||this.updateElementsInView()}))},20)})}}ngOnDestroy(){this.jumpSlider&&this.jumpSlider.destroy(),this.jumpSlider=null,this.subs.forEach(e=>e.unsubscribe())}getDistanceToViewport(e){const t=e.getBoundingClientRect(),n=Math.abs(t.top),i=Math.abs(t.bottom-window.innerHeight);return Math.min(n,i)}goToCat(e,t,n){if(n&&(n.preventDefault(),n.stopPropagation()),this.jumpSlider){const n=document.querySelector(`[data-slide-index="${e}"]`);n&&!n.classList.contains("is-visible")&&this.jumpSlider.go(e),this.active=e,xS().then(()=>{t&&(this.forceJump=!0,this.performScroll(t),setTimeout(()=>{this.forceJump=!1,this._cd.detectChanges()},0))})}}performScroll(e){let t=this.resolveTarget(e),n=!1;xS().then(()=>{if(!t)return;const i={qna:0,"expert-opinions":30,"cards-disclosure":30};let r=i[e]||-10;this.headMobNav&&(r-=this.headMobNav.offsetHeight,this.headMobNav.classList.contains("fixed")||(n=!0)),this.scrollService.scrollTo({target:t,offset:r,timing:0}).then(()=>{if(n){let n=i[e]||-10;n-=this.headMobNav.offsetHeight,setTimeout(()=>{this.scrollService.scrollTo({target:t,offset:n,timing:0})},100)}})})}resolveTarget(e){let t=document.querySelector(`[id='${e}'], [name='${e}']`);if("good-to-excellent-credit"!==e||t||(t=document.querySelector("#excellent-credit")||document.querySelector("#good-credit")),!t){const n={"bad-credit":"#secured","no-credit":"#students"};t=document.querySelector(n[e]||"")}return t}adjustRightArrow(){const e=document.getElementById("jsSlider");if(e){const t=e.querySelectorAll(".splide__slide");let n=0,i=0;t.forEach(e=>{i++,e.classList.contains("is-visible")&&n++}),i>n?(this.at_end=!1,this._cd.detectChanges()):(this.at_end=!0,this._cd.detectChanges())}}goTo(e){return null!==this.elRight&&-1!==this.elRight&&"next"===e?(this.jumpSlider.go(this.elRight-1),void this._cd.detectChanges()):null!==this.elLeft&&-1!==this.elLeft&&"prev"===e?(this.jumpSlider.go(this.elLeft),void this._cd.detectChanges()):(this.jumpSlider.go("next"==e?"+1":"-1"),void this._cd.detectChanges())}updateElementsInView(){requestAnimationFrame(()=>{this.elementsInView=[];let e=null,t=Number.MAX_VALUE;if(document.querySelectorAll(this.allIds.join(",")).forEach(n=>{const i=this.getDistanceToViewport(n);i<t&&(e=n,t=i)}),e&&this.elementsInView.push(e.id),this.elementsInView.length>0){const e=this.elementsInView[0];if(e===this.lastScrolledElement)return;document.querySelectorAll(`.cus-${this.elementsInView[0]}`).forEach((e,t)=>{let n=e.getAttribute("data-slide-index");this.goToCat(parseInt(n))}),this.lastScrolledElement=e}this._cd.detectChanges()})}get elRight(){if(tS())return null;const e=document.getElementById("jsSlider-list"),t=document.getElementById("jsSlider");if(!e||!t)return null;const n=t.querySelectorAll(".splide__slide");let i=-1;for(let e=0;e<n.length;e++){const r=n[e].getBoundingClientRect(),s=t.getBoundingClientRect();if(r.right>s.right){i=e;break}}return i}get elLeft(){if(tS())return null;const e=document.getElementById("jsSlider-list"),t=document.getElementById("jsSlider");if(!e||!t)return null;const n=t.querySelectorAll(".splide__slide");let i=-1;for(let e=0;e<n.length;e++){const r=n[e].getBoundingClientRect(),s=t.getBoundingClientRect();r.left<s.left&&(i=e)}return i}}MG.ɵfac=function(e){return new(e||MG)(ep(VS),ep(Xw))},MG.ɵcmp=nf({type:MG,selectors:[["div","id","best-card-sticky-nav"]],viewQuery:function(e,t){if(1&e&&(yb(kG,5),yb(OG,5)),2&e){let e;wb(e=Eb())&&(t.jsLinksGrid=e.first),wb(e=Eb())&&(t.jsSlider=e.first)}},hostAttrs:["ngSkipHydration","true"],inputs:{jumpLinks:"jumpLinks",pageUri:"pageUri"},outputs:{onInit:"onInit"},standalone:!1,decls:11,vars:10,consts:[["jsCustomLinksGrid",""],["jsSlider",""],["id","js-custom-links-grid",1,"custom-links-grid"],[1,"cus-arrow-wrapper","pv"],["aria-label","Previous",1,"cus-arrow","cus-button-prev","leftarr",3,"click","ngClass","ng-hidden"],["id","jsSlider","aria-label","Navigation Tabs",1,"splide","custom-links-slider","no-js",3,"ngClass"],[1,"splide__track","no-js"],[1,"splide__list","no-js"],[3,"class","href",4,"ngFor","ngForOf","ngForTrackBy"],[1,"cus-arrow-wrapper"],["aria-label","Next",1,"cus-arrow","cus-button-next",3,"click","ng-hidden"],[3,"href"],[1,"cus-link-anch","no-js",3,"click"]],template:function(e,t){if(1&e){const e=Wm();Fm(0,"div",2,0)(2,"span",3)(3,"button",4),nb("click",function(){return Ds(e),ks(t.goTo("prev"))}),Hm()(),Fm(4,"section",5,1)(6,"div",6)(7,"div",7),Hf(8,LG,3,8,"a",8),Hm()()(),Fm(9,"span",9)(10,"button",10),nb("click",function(){return Ds(e),ks(t.goTo("next"))}),Hm()()()}2&e&&(Zu(3),V_("ngClass",Sy(6,NG,!t.at_start))("ng-hidden",t.at_start),Zu(),V_("ngClass",Sy(8,NG,!t.at_start&&!t.at_end)),Zu(4),V_("ngForOf",t.jumpLinks)("ngForTrackBy",t.trackByFn),Zu(2),V_("ng-hidden",t.at_end))},dependencies:[LC,HC,sL],encapsulation:2,changeDetection:0});class PG{}PG.ɵfac=function(e){return new(e||PG)},PG.ɵmod=of({type:PG}),PG.ɵinj=Hn({imports:[FV,yI,wL]}),e.$http=cM,e.$httpAbort=uM,e.ActivatedRoute=ZP,e.AppContainer=gM,e.AppData=DM,e.ApplicationRef=vg,e.BestCardBoxModule=FV,e.BrowserModule=Qk,e.ChangeDetectorRef=Xw,e.CommonModule=yI,e.CompareBarService=nF,e.CompileExpertsGallery=function(e,t,n,i={}){let r=iG,s=nG;const o=document.querySelectorAll("[id=experts-gallery]"),a=[];for(let l=0,c=o.length;l<c;l++){o[l].setAttribute("data-expert-sect",l.toString());let c=`div[data-expert-sect="${l}"]`,u=i.data[l]||{};u={back_bt_text:u.back_link_text,more_btn_txt:u.more_text,header_text:u.header_text,expert_offset:-100,max_experts:6,hashname:i.hashname,data:{expertsContent:u.expertsContent,aslogos:u.aslogos,expertsIntro:u.expertsIntro}},a.push(QP(e,t,r,s,c,u).then(e=>{let t=e.Component.instance.changedExpert.subscribe(e=>{e?history.pushState(null,"",location.pathname+location.search+"#expert="+e):history.replaceState(null,"",location.pathname+location.search)}),i=n.fragment.subscribe(t=>{if((t=(t||"").replace("#",""))&&t.indexOf("expert=")>-1){let n=_S(t);n&&n.expert&&IS(()=>{e.Component.instance.hashname=n.expert})}});return{destroy:()=>{e.destroy(),t.unsubscribe(),i.unsubscribe()}}}))}return Promise.all(a).then(e=>({destroy:()=>{e.forEach(e=>{e.destroy()})}}))},e.Cookies=oM,e.DirectivesModule=wL,e.EduHepful=xG,e.ElementRef=Ua,e.Env=AS,e.ErrorHandler=Ba,e.ErrorsModule=YP,e.Events=JL,e.ExpireSession=function(){oM.set("mw_sess_active",null),mM.useSession(!1),mM.group("mw"),mM.remove("has-sess"),mM.remove("stayLoggedIn"),mM.remove("crd"),mM.remove("vs")},e.FooterModule=CG,e.GesturesModule=NS,e.GetNavigo=function(){return eF},e.GetSessionTimeLeft=function(e){if(mM.useSession(!1),mM.group("mw"),!oM.get("mw_sess_active")||!mM.get("has-sess"))return 0;let t=mM.isExpired("has-sess",!0);return t<=6e4?0:t},e.ImageErrorModule=xM,e.ImageLoader=OM,e.ImgError=RM,e.Injector=fa,e.LocalStorage=mM,e.NGGlide=VV,e.NGGlideModule=WV,e.NGRavenExceptionHandler=class{handleError(e){HM().then(t=>{let n=e.originalError||e;n&&(t.captureException(n),console.error(n))})}},e.NgBestCardStickyNavModule=PG,e.NgClass=LC,e.NgEduHepfulModule=DG,e.NgFocusModule=CL,e.NgForOf=HC,e.NgIf=zC,e.NgStyle=QC,e.NgSwitch=VC,e.NgSwitchCase=WC,e.NgTemplateOutlet=ZC,e.NgZone=ka,e.PageFooter=TG,e.QnAComp=q$,e.QnAModule=U$,e.RavenJs=HM,e.RavenRequestFail=BM,e.RendererFactory2=zh,e.Router=KP,e.RouterModule=tF,e.ScrollMainRegion=WS,e.ScrollerService=VS,e.SetSessionTimeout=function(){return bM=vM,SM()&&(bM*=8760),bM},e.StringReplace=function(e,t){return e.replace(/\{(\d+)\}/g,(e,n)=>void 0!==t[n]?t[n]:e)},e.Subject=ke,e.ToolTipComponent=JH,e.ToolTipModalModule=tB,e.TouchGesturesDirective=OS,e.TouchGesturesMainRegion=kS,e.ajaxUrl=kL,e.arrayForEach=hS,e.baseUrl=xL,e.cfUrl=function(e){return e&&(OL=e,OL.lastIndexOf("/")===OL.length-1&&(OL=OL.substring(0,OL.length-1))),OL&&OL.startsWith("http")?OL:xL()+(OL||"")},e.cleanInput=_M,e.clearUserInfo=function(){mM.group("mw"),mM.remove("has-sess"),mM.remove("crd"),mM.remove("vs"),mM.get("is-inst-user")&&mM.remove("is-inst-user"),mM.get("auth-user")&&mM.remove("auth-user"),mM.get("userAccessToken")&&mM.remove("userAccessToken"),mM.get("refreshToken")&&mM.remove("refreshToken"),mM.remove(yM),mM.remove("full"),mM.remove("has_debt"),mM.remove("has_holiday_budget"),mM.remove("userPlan"),mM.remove("activePlan"),mM.remove("accountId")},e.createNgModule=Zp,e.debounceTime=yt,e.delay=function(e,t){void 0===t&&(t=qe);var n=vt(e,t);return Et(function(){return n})},e.getQuestionsCount=function(e){var t,n;if("object"!=typeof e||null===e)return null;const i=null!==(n=null!==(t=null==e?void 0:e.NUM_TOP_TEN_QA)&&void 0!==t?t:null==e?void 0:e.NUM_TOP_TEN_QAS)&&void 0!==n?n:null==e?void 0:e.NUM_TOP_QA;if(null==i)return null;const r="number"==typeof i?i:parseInt(String(i).trim(),10);return r>=0?r:null},e.getSharedUser=function(e){return oM.asyncget("mw_signon").then(t=>{if(!t)return Promise.resolve(null);let n=null;try{n=JSON.parse(t)}catch(e){return Promise.reject(e)}eS()&&(n=Object.assign(n,mM.get(yM)));const i={name:n.ufn?n.ufn:n.ucrn?n.ucrn:n.un.split("_")[0],avatar:n.pp,url:xL()+"/profile/"+n.id+"i",upr:n.upr,id:n.id,shared_accounts:[]};i.name&&(i.name=i.name.replace("+"," ").toLowerCase());let r=null,s=null;const o=EM();if((null==o?void 0:o.authUser)&&(s=o.authUser,/^\d+$/.test(s)||(s=null)),"sa"in n&&Array.isArray(n.sa)&&n.sa.length&&e)for(const e of n.sa)if(e[0]==s){r={id:e[0],name:e[1],avatar:e[2],with_image:!1,profile:null},e.length>4&&e[4]&&(r.avatar=e[4],r.with_image=!0),e.length>5&&!0===e[5]&&(r.profile="https://"+document.location.hostname+"/profile/"+e[3]+"i");let t=!1,s=i.avatar;if(s)t=!0;else{const e=n.ufn.split(/\s+/).map(e=>/^[a-z]\.?\s*$/i.test(e)?null:e).filter(e=>e);s=1==e.length?e[0].substring(0,2).toUpperCase():e.slice(0,2).map(e=>e.charAt(0)).join("").toUpperCase()}i.shared_accounts.push({id:null==o?void 0:o.lo_pvt_id,name:i.name,avatar:s,with_image:t,profile:"id"in n?"https://"+document.location.hostname+"/profile/"+n.id+"i":null})}else{let t=!1,n=e[2],r=null;e.length>4&&e[4]&&(t=!0,n=e[4]),e.length>5&&!0===e[5]&&(r="https://"+document.location.hostname+"/profile/"+e[3]+"i"),i.shared_accounts.push({id:e[0],name:e[1],avatar:n,with_image:t,profile:r})}if(r&&(i.name=r.name,i.avatar=null,r.with_image?i.avatar=r.avatar:i.initials=r.avatar,r.profile?(i.upr=!0,i.url=r.profile):i.upr=!1),!i.initials&&i.name){let e=i.name.split(/\s+/).map(e=>/^[a-z]\.?\s*$/i.test(e)?null:e).filter(e=>e);1==e.length?i.initials=e[0].slice(0,2).toUpperCase():i.initials=e.map(e=>e.slice(0,1)).join("").toUpperCase()}return i})},e.getSignOn=EM,e.hasSession=function(){return!(!CM()||!oM.get("mw_sess_active"))},e.injectModuleAsync=QP,e.is6600Group=function(){return AM([6600])},e.isAny=wS,e.isArray=dS,e.isCordova=eS,e.isCordovaAndroid=function(){return eS()&&window.top.device&&"android"==window.top.device.platform.toLowerCase()},e.isDev=rS,e.isFullUser=IM,e.isInstitutionUser=function(){var e;return mM.group("mw"),(null===(e=mM.get(yM))||void 0===e?void 0:e.institution)||mM.get("is-inst-user")},e.isIthacaUser=TM,e.isJasmineTest=iS,e.isLightEnhanced=function(){var e;return!IM()&&(null===(e=EM())||void 0===e?void 0:e.enhanced)},e.isLocal=JI,e.isLoggedIn=CM,e.isNode=tS,e.isNumber=lS,e.isObject=fS,e.isProd=function(){return"PROD"==AS.getEnv()||!eS()&&"STAGE"==AS.getEnv()},e.isString=oS,e.isTestGroup=function(){return AM([1005])},e.isWeb=XI,e.map=ct,e.need_name_alias_map={rebuild:"Rebuild Damaged Credit",storeRebuild:"Rebuild Damaged Credit (Store Cards)",rebuildNB:"Rebuild Damaged Credit by Paying in Full Each Month",improving:"Improve Credit",improvingNB:"Improve Credit by Paying in Full Each Month",student:"Build Credit (Students)",studentNB:"Build Credit by Paying in Full Each Month (Students)",rewards:"Earn Rewards",travel:"Earn Travel Rewards",airline:"Earn Airline Rewards",hotel:"Earn Hotel Rewards",gas:"Earn Gas Rewards",storeRewards:"Earn Rewards (Store Cards)",financing:"Finance New Purchases",storeFinancing:"Finance New Purchases (Store Cards)",lowerDebt:"Lower Cost of Existing Debt",businessRebuild:"Business - Rebuild Damaged Credit",businessRebuildNB:"Business - Rebuild Damaged Credit by Paying in Full Each Month",businessImproving:"Business - Improve Credit",businessImprovingNB:"Business - Improve Credit by Paying in Full Each Month",businessRewards:"Business - Earn Rewards",businessTravel:"Business - Earn Travel Rewards",businessStoreRewards:"Business - Earn Rewards (Store Cards)",businessFinancing:"Business - Finance New Purchases",businessStoreFinancing:"Business - Finance New Purchases (Store Cards)",businessLoweringDebt:"Business - Lower Cost of Existing Debt"},e.ngAriaHidden=gL,e.ngAriaLabelSelf=_L,e.ngAriaLive=vL,e.ngAttribute=oL,e.ngBestCard=MV,e.ngBestCardStickyNav=MG,e.ngCleanBind=dL,e.ngCleanHTML=cL,e.ngFocus=TL,e.ngHidden=sL,e.ngMinCred=EF,e.ngMinCredModule=IF,e.ngModalDialog=VP,e.ngModalPopup=DF,e.ngModalPopupModule=kF,e.ngModalsModule=WP,e.ngTruncate=oF,e.ngZenScroll=GS,e.objectSerialize=gS,e.passiveEventsCheck=SS,e.platformBrowser=$k,e.reqAnimationFrame=IS,e.rpcV2Url=function(){return xL()+"/home/rpc/v2"},e.setUserDetails=function(e,t){var n,i,r;const s=eS();if(mM.group("mw"),"stayLoggedIn"in e&&(e.stayLoggedIn?s||(mM.set("stayLoggedIn",!0),delete e.stayLoggedIn):mM.remove("stayLoggedIn")),"userDashboards"in e&&(Array.isArray(e.userDashboards)?(e.userDashboards.length>0&&(e.userDashboards=e.userDashboards.filter(e=>-1===["spendinginsights","Main","Spending","Timeline","user_Main","user_Spending","user_Timeline"].indexOf(e)&&e.indexOf("default_")<0).map(e=>e.replace(/\s/g,"_"))),XI()&&mM.set("userDashboards",e.userDashboards)):mM.remove("userDashboards")),"lo_pvt_id"in e&&(null==e.lo_pvt_id?mM.remove("lo_pvt_id"):mM.set("lo_pvt_id",e.lo_pvt_id)),"id"in e&&(mM.set("pub_id",e.id),mM.set("sentry_pub_id",e.id)),"institution"in e&&mM.set("is-inst-user",e.institution),"has_transactions"in e&&mM.set("has_transactions",e.has_transactions),"has_investment_activities"in e&&mM.set("has_investment_activities",e.has_investment_activities),"userPlan"in e&&mM.set("userPlan",e.userPlan),"userAccessToken"in e&&(mM.set("userAccessToken",e.userAccessToken,6e4*(rS()?5:20)*1),delete e.userAccessToken),"refreshToken"in e&&(mM.set("refreshToken",e.refreshToken),delete e.refreshToken),"enhanced"in e&&mM.set("enhanced",e.enhanced||!1),"activePlan"in e&&(mM.set("activePlan",e.activePlan),delete e.activePlan),"accountId"in e&&mM.set("accountId",e.accountId),"auth-user"in e&&(e.authUser=e["auth-user"],null==e["auth-user"]?mM.remove("auth-user"):mM.set("auth-user",e["auth-user"]),delete e["auth-user"]),"has_debt"in e&&(null==e.has_debt?mM.remove("has_debt"):mM.set("has_debt",e.has_debt),delete e.has_debt),"has_holiday_budget"in e&&(null==e.has_holiday_budget?mM.remove("has_holiday_budget"):mM.set("has_holiday_budget",e.has_holiday_budget),delete e.has_holiday_budget),"tr_review_sett"in e&&(null==e.tr_review_sett?mM.remove("tr_review_sett"):(ES(null===(n=e.tr_review_sett)||void 0===n?void 0:n.isNewReviewSettings)&&(e.tr_review_sett.isNewReviewSettings=!("none"!=(null===(r=null===(i=e.tr_review_sett)||void 0===i?void 0:i.reviewAction)||void 0===r?void 0:r.toLowerCase()))),mM.set("tr_review_sett",e.tr_review_sett)),delete e.tr_review_sett),s){let t=mM.get(yM)||{};t=yS(t,e),mM.set(yM,t),o.import("native:/app-utilities").then(t=>{t.SetSupportID(null,e.id)})}if("full"in e&&mM.set("full",e.full),"groupId"in e&&mM.set("logout_group_id",e.groupId,864e5),"standing"in e||"score"in e||t){let t=bM;"standing"in e&&mM.set("crd",e.standing,t),"score"in e&&mM.set("vs",e.score,t)}},e.setWHID=function(e){dM=new Promise(function(t){t(e)})},e.skip=function(e){return bt(function(t,n){return e<=n})},e.stayLoggedIn=SM,e.stocksRPC=function(e){return NL=e,NL.lastIndexOf("/")===NL.length-1&&(NL=NL.substring(0,NL.length-1)),NL&&NL.startsWith("http")?NL:xL()+(NL||"")},e.throttleTime=Ct,e.toNumber=cS,e.uniqid=CS,e.userHasHolidayBudget=function(){var e;let t=new Date(2023,11,25,23,59,0),n=new Date,i=n<new Date(2023,10,7,23,59,0)||n>t;return mM.group("mw"),!i&&(null===(e=EM())||void 0===e?void 0:e.has_holiday_budget)},e.userIp=function(){let e=DL()+"?action=get-my-ip";return new Promise(function(t,n){let i=function(){sM(e).then(function(e){e.ip?t(e.ip):n(null)}).catch(function(){n(null)})};sM("https://api.ipify.org/?format=json").then(function(e){e&&e.ip?t(e.ip):i()}).catch(function(){i()})})},e.ɵɵInheritDefinitionFeature=gf,e.ɵɵadvance=Zu,e.ɵɵattribute=a_,e.ɵɵclassMap=Z_,e.ɵɵclassProp=G_,e.ɵɵconditional=Sm,e.ɵɵdefineComponent=nf,e.ɵɵdefineDirective=cf,e.ɵɵdefineInjector=Hn,e.ɵɵdefineNgModule=of,e.ɵɵdefinePipe=uf,e.ɵɵdirectiveInject=ep,e.ɵɵelement=Bm,e.ɵɵelementContainer=jm,e.ɵɵelementContainerEnd=Um,e.ɵɵelementContainerStart=qm,e.ɵɵelementEnd=Hm,e.ɵɵelementStart=Fm,e.ɵɵgetCurrentView=Wm,e.ɵɵgetInheritedFactory=Jo,e.ɵɵinject=mi,e.ɵɵlistener=nb,e.ɵɵloadQuery=Eb,e.ɵɵnextContext=sb,e.ɵɵpipe=qy,e.ɵɵpipeBind2=jy,e.ɵɵproperty=V_,e.ɵɵpureFunction0=Iy,e.ɵɵpureFunction1=Sy,e.ɵɵpureFunction2=Ay,e.ɵɵpureFunction3=Ry,e.ɵɵqueryRefresh=wb,e.ɵɵreference=Sb,e.ɵɵrepeater=Nm,e.ɵɵrepeaterCreate=km,e.ɵɵrepeaterTrackByIndex=Rm,e.ɵɵresetView=ks,e.ɵɵrestoreView=Ds,e.ɵɵsanitizeHtml=au,e.ɵɵsanitizeUrl=cu,e.ɵɵsetNgModuleScope=Ey,e.ɵɵtemplate=Hf,e.ɵɵtemplateRefExtractor=Yy,e.ɵɵtext=Wb,e.ɵɵtextInterpolate=Gb,e.ɵɵtextInterpolate1=Yb,e.ɵɵviewQuery=yb});