1 line
No EOL
302 KiB
JavaScript
1 line
No EOL
302 KiB
JavaScript
(self.webpackChunkngx_retroblog=self.webpackChunkngx_retroblog||[]).push([[179],{11:(Er,Di,Ns)=>{"use strict";function me(e){return"function"==typeof e}function pn(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const bi=pn(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function m(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class et{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const s of n)s.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(me(r))try{r()}catch(s){t=s instanceof bi?s.errors:[s]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const s of i)try{Mr(s)}catch(o){t=null!=t?t:[],o instanceof bi?t=[...t,...o.errors]:t.push(o)}}if(t)throw new bi(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Mr(t);else{if(t instanceof et){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&m(n,t)}remove(t){const{_finalizers:n}=this;n&&m(n,t),t instanceof et&&t._removeParent(this)}}et.EMPTY=(()=>{const e=new et;return e.closed=!0,e})();const Ht=et.EMPTY;function Bt(e){return e instanceof et||e&&"closed"in e&&me(e.remove)&&me(e.add)&&me(e.unsubscribe)}function Mr(e){me(e)?e():e.unsubscribe()}const pt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},gn={setTimeout(e,t,...n){const{delegate:r}=gn;return(null==r?void 0:r.setTimeout)?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=gn;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ci(e){gn.setTimeout(()=>{const{onUnhandledError:t}=pt;if(!t)throw e;t(e)})}function Ei(){}const Sa=Mi("C",void 0,void 0);function Mi(e,t,n){return{kind:e,value:t,error:n}}let mn=null;function Fn(e){if(pt.useDeprecatedSynchronousErrorHandling){const t=!mn;if(t&&(mn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=mn;if(mn=null,n)throw r}}else e()}class Fs extends et{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Bt(t)&&t.add(this)):this.destination=E}static create(t,n,r){return new v(t,n,r)}next(t){this.isStopped?w(function Ta(e){return Mi("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?w(function Ia(e){return Mi("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?w(Sa,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const c=Function.prototype.bind;function h(e,t){return c.call(e,t)}class f{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){D(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){D(r)}else D(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){D(n)}}}class v extends Fs{constructor(t,n,r){let i;if(super(),me(t)||!t)i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0};else{let s;this&&pt.useDeprecatedNextContext?(s=Object.create(t),s.unsubscribe=()=>this.unsubscribe(),i={next:t.next&&h(t.next,s),error:t.error&&h(t.error,s),complete:t.complete&&h(t.complete,s)}):i=t}this.destination=new f(i)}}function D(e){pt.useDeprecatedSynchronousErrorHandling?function Os(e){pt.useDeprecatedSynchronousErrorHandling&&mn&&(mn.errorThrown=!0,mn.error=e)}(e):Ci(e)}function w(e,t){const{onStoppedNotification:n}=pt;n&&gn.setTimeout(()=>n(e,t))}const E={closed:!0,next:Ei,error:function C(e){throw e},complete:Ei},O="function"==typeof Symbol&&Symbol.observable||"@@observable";function k(e){return e}let _=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,i){const s=function U(e){return e&&e instanceof Fs||function L(e){return e&&me(e.next)&&me(e.error)&&me(e.complete)}(e)&&Bt(e)}(n)?n:new v(n,r,i);return Fn(()=>{const{operator:o,source:a}=this;s.add(o?o.call(s,a):a?this._subscribe(s):this._trySubscribe(s))}),s}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=A(r))((i,s)=>{const o=new v({next:a=>{try{n(a)}catch(u){s(u),o.unsubscribe()}},error:s,complete:i});this.subscribe(o)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[O](){return this}pipe(...n){return function N(e){return 0===e.length?k:1===e.length?e[0]:function(n){return e.reduce((r,i)=>i(r),n)}}(n)(this)}toPromise(n){return new(n=A(n))((r,i)=>{let s;this.subscribe(o=>s=o,o=>i(o),()=>r(s))})}}return e.create=t=>new e(t),e})();function A(e){var t;return null!==(t=null!=e?e:pt.Promise)&&void 0!==t?t:Promise}const de=pn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let j=(()=>{class e extends _{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Be(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new de}next(n){Fn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){Fn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Fn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:i,observers:s}=this;return r||i?Ht:(this.currentObservers=null,s.push(n),new et(()=>{this.currentObservers=null,m(s,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:i,isStopped:s}=this;r?n.error(i):s&&n.complete()}asObservable(){const n=new _;return n.source=this,n}}return e.create=(t,n)=>new Be(t,n),e})();class Be extends j{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:Ht}}function We(e){return me(null==e?void 0:e.lift)}function ye(e){return t=>{if(We(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function le(e,t,n,r,i){return new Qe(e,t,n,r,i)}class Qe extends Fs{constructor(t,n,r,i,s,o){super(t),this.onFinalize=s,this.shouldUnsubscribe=o,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=i?function(a){try{i(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function G(e,t){return ye((n,r)=>{let i=0;n.subscribe(le(r,s=>{r.next(e.call(t,s,i++))}))})}function tr(e){return this instanceof tr?(this.v=e,this):new tr(e)}function b_(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(e,t||[]),s=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(g){r[g]&&(i[g]=function(y){return new Promise(function(b,S){s.push([g,y,b,S])>1||a(g,y)})})}function a(g,y){try{!function u(g){g.value instanceof tr?Promise.resolve(g.value.v).then(l,d):p(s[0][2],g)}(r[g](y))}catch(b){p(s[0][3],b)}}function l(g){a("next",g)}function d(g){a("throw",g)}function p(g,y){g(y),s.shift(),s.length&&a(s[0][0],s[0][1])}}function C_(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function Ed(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(s){n[s]=e[s]&&function(o){return new Promise(function(a,u){!function i(s,o,a,u){Promise.resolve(u).then(function(l){s({value:l,done:a})},o)}(a,u,(o=e[s](o)).done,o.value)})}}}const Md=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Sd(e){return me(null==e?void 0:e.then)}function Id(e){return me(e[O])}function Td(e){return Symbol.asyncIterator&&me(null==e?void 0:e[Symbol.asyncIterator])}function Ad(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.`)}const Pd=function M_(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function kd(e){return me(null==e?void 0:e[Pd])}function Rd(e){return b_(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:i}=yield tr(n.read());if(i)return yield tr(void 0);yield yield tr(r)}}finally{n.releaseLock()}})}function Nd(e){return me(null==e?void 0:e.getReader)}function yn(e){if(e instanceof _)return e;if(null!=e){if(Id(e))return function S_(e){return new _(t=>{const n=e[O]();if(me(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Md(e))return function I_(e){return new _(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(Sd(e))return function T_(e){return new _(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Ci)})}(e);if(Td(e))return Od(e);if(kd(e))return function A_(e){return new _(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Nd(e))return function P_(e){return Od(Rd(e))}(e)}throw Ad(e)}function Od(e){return new _(t=>{(function k_(e,t){var n,r,i,s;return function w_(e,t,n,r){return new(n||(n=Promise))(function(s,o){function a(d){try{l(r.next(d))}catch(p){o(p)}}function u(d){try{l(r.throw(d))}catch(p){o(p)}}function l(d){d.done?s(d.value):function i(s){return s instanceof n?s:new n(function(o){o(s)})}(d.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=C_(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(o){i={error:o}}finally{try{r&&!r.done&&(s=n.return)&&(yield s.call(n))}finally{if(i)throw i.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function vn(e,t,n,r=0,i=!1){const s=t.schedule(function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(s),!i)return s}function qe(e,t,n=1/0){return me(t)?qe((r,i)=>G((s,o)=>t(r,s,i,o))(yn(e(r,i))),n):("number"==typeof t&&(n=t),ye((r,i)=>function R_(e,t,n,r,i,s,o,a){const u=[];let l=0,d=0,p=!1;const g=()=>{p&&!u.length&&!l&&t.complete()},y=S=>l<r?b(S):u.push(S),b=S=>{s&&t.next(S),l++;let P=!1;yn(n(S,d++)).subscribe(le(t,T=>{null==i||i(T),s?y(T):t.next(T)},()=>{P=!0},void 0,()=>{if(P)try{for(l--;u.length&&l<r;){const T=u.shift();o?vn(t,o,()=>b(T)):b(T)}g()}catch(T){t.error(T)}}))};return e.subscribe(le(t,y,()=>{p=!0,g()})),()=>{null==a||a()}}(r,i,e,n)))}function Si(e=1/0){return qe(k,e)}const _n=new _(e=>e.complete());function ka(e){return e[e.length-1]}function Ii(e){return function O_(e){return e&&me(e.schedule)}(ka(e))?e.pop():void 0}function Fd(e,t=0){return ye((n,r)=>{n.subscribe(le(r,i=>vn(r,e,()=>r.next(i),t),()=>vn(r,e,()=>r.complete(),t),i=>vn(r,e,()=>r.error(i),t)))})}function xd(e,t=0){return ye((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ld(e,t){if(!e)throw new Error("Iterable cannot be null");return new _(n=>{vn(n,t,()=>{const r=e[Symbol.asyncIterator]();vn(n,t,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function Ke(e,t){return t?function U_(e,t){if(null!=e){if(Id(e))return function L_(e,t){return yn(e).pipe(xd(t),Fd(t))}(e,t);if(Md(e))return function H_(e,t){return new _(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Sd(e))return function j_(e,t){return yn(e).pipe(xd(t),Fd(t))}(e,t);if(Td(e))return Ld(e,t);if(kd(e))return function B_(e,t){return new _(n=>{let r;return vn(n,t,()=>{r=e[Pd](),vn(n,t,()=>{let i,s;try{({value:i,done:s}=r.next())}catch(o){return void n.error(o)}s?n.complete():n.next(i)},0,!0)}),()=>me(null==r?void 0:r.return)&&r.return()})}(e,t);if(Nd(e))return function V_(e,t){return Ld(Rd(e),t)}(e,t)}throw Ad(e)}(e,t):yn(e)}function js(e){return e<=0?()=>_n:ye((t,n)=>{let r=0;t.subscribe(le(n,i=>{++r<=e&&(n.next(i),e<=r&&n.complete())}))})}function Ra(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe(js(1)).subscribe(()=>e())}function we(e){for(let t in e)if(e[t]===we)return t;throw Error("Could not find renamed property on target object.")}function ve(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ve).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Oa(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const q_=we({__forward_ref__:we});function Fa(e){return e.__forward_ref__=Fa,e.toString=function(){return ve(this())},e}function ee(e){return function jd(e){return"function"==typeof e&&e.hasOwnProperty(q_)&&e.__forward_ref__===Fa}(e)?e():e}class ge extends Error{constructor(t,n){super(function xa(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function W(e){return"string"==typeof e?e:null==e?"":String(e)}function Je(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():W(e)}function Hs(e,t){const n=t?` in ${t}`:"";throw new ge(-201,`No provider for ${Je(e)} found${n}`)}function wt(e,t){null==e&&function De(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Y(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function en(e){return{providers:e.providers||[],imports:e.imports||[]}}function La(e){return Hd(e,Bs)||Hd(e,Vd)}function Hd(e,t){return e.hasOwnProperty(t)?e[t]:null}function Bd(e){return e&&(e.hasOwnProperty(ja)||e.hasOwnProperty(Y_))?e[ja]:null}const Bs=we({\u0275prov:we}),ja=we({\u0275inj:we}),Vd=we({ngInjectableDef:we}),Y_=we({ngInjectorDef:we});var q=(()=>((q=q||{})[q.Default=0]="Default",q[q.Host=1]="Host",q[q.Self=2]="Self",q[q.SkipSelf=4]="SkipSelf",q[q.Optional=8]="Optional",q))();let Ha;function xn(e){const t=Ha;return Ha=e,t}function Ud(e,t,n){const r=La(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&q.Optional?null:void 0!==t?t:void Hs(ve(e),"Injector")}function Ln(e){return{toString:e}.toString()}var Vt=(()=>((Vt=Vt||{})[Vt.OnPush=0]="OnPush",Vt[Vt.Default=1]="Default",Vt))(),tn=(()=>{return(e=tn||(tn={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",tn;var e})();const ew="undefined"!=typeof globalThis&&globalThis,tw="undefined"!=typeof window&&window,nw="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,_e=ew||"undefined"!=typeof global&&global||tw||nw,Ir={},be=[],Vs=we({\u0275cmp:we}),Ba=we({\u0275dir:we}),Va=we({\u0275pipe:we}),$d=we({\u0275mod:we}),Dn=we({\u0275fac:we}),Ti=we({__NG_ELEMENT_ID__:we});let rw=0;function jn(e){return Ln(()=>{const n={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Vt.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||be,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||tn.Emulated,id:"c",styles:e.styles||be,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,s=e.features,o=e.pipes;return r.id+=rw++,r.inputs=Wd(e.inputs,n),r.outputs=Wd(e.outputs),s&&s.forEach(a=>a(r)),r.directiveDefs=i?()=>("function"==typeof i?i():i).map(zd):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(qd):null,r})}function zd(e){return nt(e)||function Hn(e){return e[Ba]||null}(e)}function qd(e){return function nr(e){return e[Va]||null}(e)}const Gd={};function bn(e){return Ln(()=>{const t={type:e.type,bootstrap:e.bootstrap||be,declarations:e.declarations||be,imports:e.imports||be,exports:e.exports||be,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(Gd[e.id]=e.type),t})}function Wd(e,t){if(null==e)return Ir;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),n[i]=r,t&&(t[i]=s)}return n}const tt=jn;function nt(e){return e[Vs]||null}function At(e,t){const n=e[$d]||null;if(!n&&!0===t)throw new Error(`Type ${ve(e)} does not have '\u0275mod' property.`);return n}function nn(e){return Array.isArray(e)&&"object"==typeof e[1]}function $t(e){return Array.isArray(e)&&!0===e[1]}function za(e){return 0!=(8&e.flags)}function qs(e){return 2==(2&e.flags)}function Gs(e){return 1==(1&e.flags)}function zt(e){return null!==e.template}function cw(e){return 0!=(512&e[2])}function or(e,t){return e.hasOwnProperty(Dn)?e[Dn]:null}class fw{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Zd(e){return e.type.prototype.ngOnChanges&&(e.setInput=pw),hw}function hw(){const e=Jd(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===Ir)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function pw(e,t,n,r){const i=Jd(e)||function gw(e,t){return e[Kd]=t}(e,{previous:Ir,current:null}),s=i.current||(i.current={}),o=i.previous,a=this.declaredInputs[n],u=o[a];s[a]=new fw(u&&u.currentValue,t,o===Ir),e[r]=t}const Kd="__ngSimpleChanges__";function Jd(e){return e[Kd]||null}let Za;function Ka(){return void 0!==Za?Za:"undefined"!=typeof document?document:void 0}function Te(e){return!!e.listen}const Yd={createRenderer:(e,t)=>Ka()};function Ne(e){for(;Array.isArray(e);)e=e[0];return e}function Ws(e,t){return Ne(t[e])}function Rt(e,t){return Ne(t[e.index])}function Ja(e,t){return e.data[t]}function bt(e,t){const n=t[e];return nn(n)?n:n[0]}function Ya(e){return 128==(128&e[2])}function Bn(e,t){return null==t?null:e[t]}function ef(e){e[18]=0}function Xa(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const Q={lFrame:df(null),bindingsEnabled:!0};function nf(){return Q.bindingsEnabled}function I(){return Q.lFrame.lView}function fe(){return Q.lFrame.tView}function Ve(){let e=sf();for(;null!==e&&64===e.type;)e=e.parent;return e}function sf(){return Q.lFrame.currentTNode}function rn(e,t){const n=Q.lFrame;n.currentTNode=e,n.isParent=t}function eu(){return Q.lFrame.isParent}function tu(){Q.lFrame.isParent=!1}function Nr(){return Q.lFrame.bindingIndex++}function Rw(e,t){const n=Q.lFrame;n.bindingIndex=n.bindingRootIndex=e,nu(t)}function nu(e){Q.lFrame.currentDirectiveIndex=e}function iu(e){Q.lFrame.currentQueryIndex=e}function Ow(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function cf(e,t,n){if(n&q.SkipSelf){let i=t,s=e;for(;!(i=i.parent,null!==i||n&q.Host||(i=Ow(s),null===i||(s=s[15],10&i.type))););if(null===i)return!1;t=i,e=s}const r=Q.lFrame=lf();return r.currentTNode=t,r.lView=e,!0}function Zs(e){const t=lf(),n=e[1];Q.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function lf(){const e=Q.lFrame,t=null===e?null:e.child;return null===t?df(e):t}function df(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 ff(){const e=Q.lFrame;return Q.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const hf=ff;function Ks(){const e=ff();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 at(){return Q.lFrame.selectedIndex}function Vn(e){Q.lFrame.selectedIndex=e}function Ae(){const e=Q.lFrame;return Ja(e.tView,e.selectedIndex)}function Js(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:l,ngOnDestroy:d}=s;o&&(e.contentHooks||(e.contentHooks=[])).push(-n,o),a&&((e.contentHooks||(e.contentHooks=[])).push(n,a),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,a)),u&&(e.viewHooks||(e.viewHooks=[])).push(-n,u),l&&((e.viewHooks||(e.viewHooks=[])).push(n,l),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,l)),null!=d&&(e.destroyHooks||(e.destroyHooks=[])).push(n,d)}}function Ys(e,t,n){pf(e,t,3,n)}function Xs(e,t,n,r){(3&e[2])===n&&pf(e,t,n,r)}function su(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function pf(e,t,n,r){const s=null!=r?r:-1,o=t.length-1;let a=0;for(let u=void 0!==r?65535&e[18]:0;u<o;u++)if("number"==typeof t[u+1]){if(a=t[u],null!=r&&a>=r)break}else t[u]<0&&(e[18]+=65536),(a<s||-1==s)&&($w(e,n,t,u),e[18]=(4294901760&e[18])+u+2),u++}function $w(e,t,n,r){const i=n[r]<0,s=n[r+1],a=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{s.call(a)}finally{}}}else try{s.call(a)}finally{}}class Ni{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function eo(e,t,n){const r=Te(e);let i=0;for(;i<n.length;){const s=n[i];if("number"==typeof s){if(0!==s)break;i++;const o=n[i++],a=n[i++],u=n[i++];r?e.setAttribute(t,a,u,o):t.setAttributeNS(o,a,u)}else{const o=s,a=n[++i];au(o)?r&&e.setProperty(t,o,a):r?e.setAttribute(t,o,a):t.setAttribute(o,a),i++}}return i}function gf(e){return 3===e||4===e||6===e}function au(e){return 64===e.charCodeAt(0)}function to(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||mf(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function mf(e,t,n,r,i){let s=0,o=e.length;if(-1===t)o=-1;else for(;s<e.length;){const a=e[s++];if("number"==typeof a){if(a===t){o=-1;break}if(a>t){o=s-1;break}}}for(;s<e.length;){const a=e[s];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==i&&(e[s+1]=i));if(r===e[s+1])return void(e[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}-1!==o&&(e.splice(o,0,t),s=o+1),e.splice(s++,0,n),null!==r&&e.splice(s++,0,r),null!==i&&e.splice(s++,0,i)}function yf(e){return-1!==e}function Or(e){return 32767&e}function Fr(e,t){let n=function Qw(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let uu=!0;function no(e){const t=uu;return uu=e,t}let Zw=0;function Fi(e,t){const n=lu(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,cu(r.data,e),cu(t,null),cu(r.blueprint,null));const i=ro(e,t),s=e.injectorIndex;if(yf(i)){const o=Or(i),a=Fr(i,t),u=a[1].data;for(let l=0;l<8;l++)t[s+l]=a[o+l]|u[o+l]}return t[s+8]=i,s}function cu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function lu(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ro(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){const s=i[1],o=s.type;if(r=2===o?s.declTNode:1===o?i[6]:null,null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function io(e,t,n){!function Kw(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ti)&&(r=n[Ti]),null==r&&(r=n[Ti]=Zw++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function wf(e,t,n){if(n&q.Optional)return e;Hs(t,"NodeInjector")}function Df(e,t,n,r){if(n&q.Optional&&void 0===r&&(r=null),0==(n&(q.Self|q.Host))){const i=e[9],s=xn(void 0);try{return i?i.get(t,r,n&q.Optional):Ud(t,r,n&q.Optional)}finally{xn(s)}}return wf(r,t,n)}function bf(e,t,n,r=q.Default,i){if(null!==e){const s=function eD(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Ti)?e[Ti]:void 0;return"number"==typeof t?t>=0?255&t:Yw:t}(n);if("function"==typeof s){if(!cf(t,e,r))return r&q.Host?wf(i,n,r):Df(t,n,r,i);try{const o=s(r);if(null!=o||r&q.Optional)return o;Hs(n)}finally{hf()}}else if("number"==typeof s){let o=null,a=lu(e,t),u=-1,l=r&q.Host?t[16][6]:null;for((-1===a||r&q.SkipSelf)&&(u=-1===a?ro(e,t):t[a+8],-1!==u&&Mf(r,!1)?(o=t[1],a=Or(u),t=Fr(u,t)):a=-1);-1!==a;){const d=t[1];if(Ef(s,a,d.data)){const p=Xw(a,t,n,o,r,l);if(p!==Cf)return p}u=t[a+8],-1!==u&&Mf(r,t[1].data[a+8]===l)&&Ef(s,a,t)?(o=d,a=Or(u),t=Fr(u,t)):a=-1}}}return Df(t,n,r,i)}const Cf={};function Yw(){return new xr(Ve(),I())}function Xw(e,t,n,r,i,s){const o=t[1],a=o.data[e+8],d=function so(e,t,n,r,i){const s=e.providerIndexes,o=t.data,a=1048575&s,u=e.directiveStart,d=s>>20,g=i?a+d:e.directiveEnd;for(let y=r?a:a+d;y<g;y++){const b=o[y];if(y<u&&n===b||y>=u&&b.type===n)return y}if(i){const y=o[u];if(y&&zt(y)&&y.type===n)return u}return null}(a,o,n,null==r?qs(a)&&uu:r!=o&&0!=(3&a.type),i&q.Host&&s===a);return null!==d?xi(t,o,d,a):Cf}function xi(e,t,n,r){let i=e[n];const s=t.data;if(function zw(e){return e instanceof Ni}(i)){const o=i;o.resolving&&function G_(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new ge(-200,`Circular dependency in DI detected for ${e}${n}`)}(Je(s[n]));const a=no(o.canSeeViewProviders);o.resolving=!0;const u=o.injectImpl?xn(o.injectImpl):null;cf(e,r,q.Default);try{i=e[n]=o.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Uw(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const o=Zd(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{null!==u&&xn(u),no(a),o.resolving=!1,hf()}}return i}function Ef(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Mf(e,t){return!(e&q.Self||e&q.Host&&t)}class xr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return bf(this._tNode,this._lView,t,r,n)}}const jr="__parameters__";function Br(e,t,n){return Ln(()=>{const r=function fu(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...s){if(this instanceof i)return r.apply(this,s),this;const o=new i(...s);return a.annotation=o,a;function a(u,l,d){const p=u.hasOwnProperty(jr)?u[jr]:Object.defineProperty(u,jr,{value:[]})[jr];for(;p.length<=d;)p.push(null);return(p[d]=p[d]||[]).push(o),u}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}class ue{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Y({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const rD=new ue("AnalyzeForEntryComponents");function sn(e,t){e.forEach(n=>Array.isArray(n)?sn(n,t):t(n))}function If(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function oo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ct(e,t,n){let r=Vr(e,t);return r>=0?e[1|r]=n:(r=~r,function oD(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function pu(e,t){const n=Vr(e,t);if(n>=0)return e[1|n]}function Vr(e,t){return function Pf(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const s=r+(i-r>>1),o=e[s<<n];if(t===o)return s<<n;o>t?i=s:r=s+1}return~(i<<n)}(e,t,1)}const Vi={},mu="__NG_DI_FLAG__",uo="ngTempTokenPath",hD=/\n/gm,Rf="__source",gD=we({provide:String,useValue:we});let Ui;function Nf(e){const t=Ui;return Ui=e,t}function mD(e,t=q.Default){if(void 0===Ui)throw new ge(203,"");return null===Ui?Ud(e,void 0,t):Ui.get(e,t&q.Optional?null:void 0,t)}function V(e,t=q.Default){return(function X_(){return Ha}()||mD)(ee(e),t)}const yD=V;function yu(e){const t=[];for(let n=0;n<e.length;n++){const r=ee(e[n]);if(Array.isArray(r)){if(0===r.length)throw new ge(900,"");let i,s=q.Default;for(let o=0;o<r.length;o++){const a=r[o],u=vD(a);"number"==typeof u?-1===u?i=a.token:s|=u:i=a}t.push(V(i,s))}else t.push(V(r))}return t}function $i(e,t){return e[mu]=t,e.prototype[mu]=t,e}function vD(e){return e[mu]}const co=$i(Br("Inject",e=>({token:e})),-1),$n=$i(Br("Optional"),8),zi=$i(Br("SkipSelf"),4);let fo,ho;function $r(e){var t;return(null===(t=function _u(){if(void 0===fo&&(fo=null,_e.trustedTypes))try{fo=_e.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return fo}())||void 0===t?void 0:t.createHTML(e))||e}function Hf(e){var t;return(null===(t=function wu(){if(void 0===ho&&(ho=null,_e.trustedTypes))try{ho=_e.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return ho}())||void 0===t?void 0:t.createHTML(e))||e}class Uf{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function zn(e){return e instanceof Uf?e.changingThisBreaksApplicationSecurity:e}function Gi(e,t){const n=function xD(e){return e instanceof Uf&&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 https://g.co/ng/security#xss)`)}return n===t}class LD{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString($r(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch(n){return null}}}class jD{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=$r(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=$r(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let i=n.length-1;0<i;i--){const o=n.item(i).name;("xmlns:ns1"===o||0===o.indexOf("ns1:"))&&t.removeAttribute(o)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const BD=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,VD=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function po(e){return(e=String(e)).match(BD)||e.match(VD)?e:"unsafe:"+e}function on(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Wi(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const qf=on("area,br,col,hr,img,wbr"),Gf=on("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Wf=on("rp,rt"),Du=Wi(qf,Wi(Gf,on("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")),Wi(Wf,on("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")),Wi(Wf,Gf)),bu=on("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Cu=on("srcset"),Qf=Wi(bu,Cu,on("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,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),on("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")),UD=on("script,style,template");class $D{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=this.checkClobberedElement(n,n.nextSibling);if(i){n=i;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Du.hasOwnProperty(n))return this.sanitizedSomething=!0,!UD.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const s=r.item(i),o=s.name,a=o.toLowerCase();if(!Qf.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let u=s.value;bu[a]&&(u=po(u)),Cu[a]&&(e=u,u=(e=String(e)).split(",").map(t=>po(t.trim())).join(", ")),this.buf.push(" ",o,'="',Zf(u),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Du.hasOwnProperty(n)&&!qf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Zf(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const zD=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qD=/([^\#-~ |!])/g;function Zf(e){return e.replace(/&/g,"&").replace(zD,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(qD,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let go;function Eu(e){return"content"in e&&function WD(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Oe=(()=>((Oe=Oe||{})[Oe.NONE=0]="NONE",Oe[Oe.HTML=1]="HTML",Oe[Oe.STYLE=2]="STYLE",Oe[Oe.SCRIPT=3]="SCRIPT",Oe[Oe.URL=4]="URL",Oe[Oe.RESOURCE_URL=5]="RESOURCE_URL",Oe))();function Mu(e){const t=Qi();return t?Hf(t.sanitize(Oe.HTML,e)||""):Gi(e,"HTML")?Hf(zn(e)):function GD(e,t){let n=null;try{go=go||function $f(e){const t=new jD(e);return function HD(){try{return!!(new window.DOMParser).parseFromString($r(""),"text/html")}catch(e){return!1}}()?new LD(t):t}(e);let r=t?String(t):"";n=go.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=go.getInertBodyElement(r)}while(r!==s);return $r((new $D).sanitizeChildren(Eu(n)||n))}finally{if(n){const r=Eu(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}(Ka(),W(e))}function Ot(e){const t=Qi();return t?t.sanitize(Oe.URL,e)||"":Gi(e,"URL")?zn(e):po(W(e))}function Qi(){const e=I();return e&&e[12]}const Yf="__ngContext__";function it(e,t){e[Yf]=t}function Iu(e){const t=function Zi(e){return e[Yf]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Au(e){return e.ngOriginalError}function cb(e,...t){e.error(...t)}class Ki{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=function ub(e){return e&&e.ngErrorLogger||cb}(t);r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Au(t);for(;n&&Au(n);)n=Au(n);return n||null}}const _b=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(_e))();function an(e){return e instanceof Function?e():e}var Et=(()=>((Et=Et||{})[Et.Important=1]="Important",Et[Et.DashCase=2]="DashCase",Et))();function ku(e,t){return undefined(e,t)}function Ji(e){const t=e[3];return $t(t)?t[3]:t}function Ru(e){return ah(e[13])}function Nu(e){return ah(e[4])}function ah(e){for(;null!==e&&!$t(e);)e=e[4];return e}function qr(e,t,n,r,i){if(null!=r){let s,o=!1;$t(r)?s=r:nn(r)&&(o=!0,r=r[0]);const a=Ne(r);0===e&&null!==n?null==i?hh(t,n,a):ur(t,n,a,i||null,!0):1===e&&null!==n?ur(t,n,a,i||null,!0):2===e?function wh(e,t,n){const r=mo(e,t);r&&function Nb(e,t,n,r){Te(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,a,o):3===e&&t.destroyNode(a),null!=s&&function xb(e,t,n,r,i){const s=n[7];s!==Ne(n)&&qr(t,e,r,s,i);for(let a=10;a<n.length;a++){const u=n[a];Yi(u[1],u,e,t,r,s)}}(t,e,s,n,i)}}function Fu(e,t,n){if(Te(e))return e.createElement(t,n);{const r=null!==n?function _w(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(n):null;return null===r?e.createElement(t):e.createElementNS(r,t)}}function ch(e,t){const n=e[9],r=n.indexOf(t),i=t[3];1024&t[2]&&(t[2]&=-1025,Xa(i,-1)),n.splice(r,1)}function xu(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&ch(i,r),t>0&&(e[n-1][4]=r[4]);const s=oo(e,10+t);!function Mb(e,t){Yi(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const o=s[19];null!==o&&o.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function lh(e,t){if(!(256&t[2])){const n=t[11];Te(n)&&n.destroyNode&&Yi(e,t,n,3,null,null),function Tb(e){let t=e[13];if(!t)return Lu(e[1],e);for(;t;){let n=null;if(nn(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)nn(t)&&Lu(t[1],t),t=t[3];null===t&&(t=e),nn(t)&&Lu(t[1],t),n=t&&t[4]}t=n}}(t)}}function Lu(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function Rb(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof Ni)){const s=n[r+1];if(Array.isArray(s))for(let o=0;o<s.length;o+=2){const a=i[s[o]],u=s[o+1];try{u.call(a)}finally{}}else try{s.call(i)}finally{}}}}(e,t),function kb(e,t){const n=e.cleanup,r=t[7];let i=-1;if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const o=n[s+1],a="function"==typeof o?o(t):Ne(t[o]),u=r[i=n[s+2]],l=n[s+3];"boolean"==typeof l?a.removeEventListener(n[s],u,l):l>=0?r[i=l]():r[i=-l].unsubscribe(),s+=2}else{const o=r[i=n[s+1]];n[s].call(o)}if(null!==r){for(let s=i+1;s<r.length;s++)r[s]();t[7]=null}}(e,t),1===t[1].type&&Te(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&$t(t[3])){n!==t[3]&&ch(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function dh(e,t,n){return function fh(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const i=e.data[r.directiveStart].encapsulation;if(i===tn.None||i===tn.Emulated)return null}return Rt(r,n)}(e,t.parent,n)}function ur(e,t,n,r,i){Te(e)?e.insertBefore(t,n,r,i):t.insertBefore(n,r,i)}function hh(e,t,n){Te(e)?e.appendChild(t,n):t.appendChild(n)}function ph(e,t,n,r,i){null!==r?ur(e,t,n,r,i):hh(e,t,n)}function mo(e,t){return Te(e)?e.parentNode(t):t.parentNode}let yh=function mh(e,t,n){return 40&e.type?Rt(e,n):null};function yo(e,t,n,r){const i=dh(e,r,t),s=t[11],a=function gh(e,t,n){return yh(e,t,n)}(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let u=0;u<n.length;u++)ph(s,i,n[u],a,!1);else ph(s,i,n,a,!1)}function vo(e,t){if(null!==t){const n=t.type;if(3&n)return Rt(t,e);if(4&n)return Hu(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return vo(e,r);{const i=e[t.index];return $t(i)?Hu(-1,i):Ne(i)}}if(32&n)return ku(t,e)()||Ne(e[t.index]);{const r=_h(e,t);return null!==r?Array.isArray(r)?r[0]:vo(Ji(e[16]),r):vo(e,t.next)}}return null}function _h(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Hu(e,t){const n=10+e+1;if(n<t.length){const r=t[n],i=r[1].firstChild;if(null!==i)return vo(r,i)}return t[7]}function Bu(e,t,n,r,i,s,o){for(;null!=n;){const a=r[n.index],u=n.type;if(o&&0===t&&(a&&it(Ne(a),r),n.flags|=4),64!=(64&n.flags))if(8&u)Bu(e,t,n.child,r,i,s,!1),qr(t,e,i,a,s);else if(32&u){const l=ku(n,r);let d;for(;d=l();)qr(t,e,i,d,s);qr(t,e,i,a,s)}else 16&u?Dh(e,t,r,n,i,s):qr(t,e,i,a,s);n=o?n.projectionNext:n.next}}function Yi(e,t,n,r,i,s){Bu(n,r,e.firstChild,t,i,s,!1)}function Dh(e,t,n,r,i,s){const o=n[16],u=o[6].projection[r.projection];if(Array.isArray(u))for(let l=0;l<u.length;l++)qr(t,e,i,u[l],s);else Bu(e,t,u,o[3],i,s,!0)}function bh(e,t,n){Te(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Vu(e,t,n){Te(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function Ch(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const s=t.length;if(i+s===r||e.charCodeAt(i+s)<=32)return i}n=i+1}}const Eh="ng-template";function jb(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==Ch(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function Mh(e){return 4===e.type&&e.value!==Eh}function Hb(e,t,n){return t===(4!==e.type||n?e.value:Eh)}function Bb(e,t,n){let r=4;const i=e.attrs||[],s=function $b(e){for(let t=0;t<e.length;t++)if(gf(e[t]))return t;return e.length}(i);let o=!1;for(let a=0;a<t.length;a++){const u=t[a];if("number"!=typeof u){if(!o)if(4&r){if(r=2|1&r,""!==u&&!Hb(e,u,n)||""===u&&1===t.length){if(qt(r))return!1;o=!0}}else{const l=8&r?u:t[++a];if(8&r&&null!==e.attrs){if(!jb(e.attrs,l,n)){if(qt(r))return!1;o=!0}continue}const p=Vb(8&r?"class":u,i,Mh(e),n);if(-1===p){if(qt(r))return!1;o=!0;continue}if(""!==l){let g;g=p>s?"":i[p+1].toLowerCase();const y=8&r?g:null;if(y&&-1!==Ch(y,l,0)||2&r&&l!==g){if(qt(r))return!1;o=!0}}}}else{if(!o&&!qt(r)&&!qt(u))return!1;if(o&&qt(u))continue;o=!1,r=u|1&r}}return qt(r)||o}function qt(e){return 0==(1&e)}function Vb(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let s=!1;for(;i<t.length;){const o=t[i];if(o===e)return i;if(3===o||6===o)s=!0;else{if(1===o||2===o){let a=t[++i];for(;"string"==typeof a;)a=t[++i];continue}if(4===o)break;if(0===o){i+=4;continue}}i+=s?1:2}return-1}return function zb(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Sh(e,t,n=!1){for(let r=0;r<t.length;r++)if(Bb(e,t[r],n))return!0;return!1}function Ih(e,t){return e?":not("+t.trim()+")":t}function Gb(e){let t=e[0],n=1,r=2,i="",s=!1;for(;n<e.length;){let o=e[n];if("string"==typeof o)if(2&r){const a=e[++n];i+="["+o+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);else""!==i&&!qt(o)&&(t+=Ih(s,i),i=""),r=o,s=s||!qt(r);n++}return""!==i&&(t+=Ih(s,i)),t}const Z={};function oe(e){Th(fe(),I(),at()+e,!1)}function Th(e,t,n,r){if(!r)if(3==(3&t[2])){const s=e.preOrderCheckHooks;null!==s&&Ys(t,s,n)}else{const s=e.preOrderHooks;null!==s&&Xs(t,s,0,n)}Vn(n)}function _o(e,t){return e<<17|t<<2}function Gt(e){return e>>17&32767}function Uu(e){return 2|e}function Mn(e){return(131068&e)>>2}function $u(e,t){return-131069&e|t<<2}function zu(e){return 1|e}function Hh(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],s=n[r+1];if(-1!==s){const o=e.data[s];iu(i),o.contentQueries(2,t[s],s)}}}function Xi(e,t,n,r,i,s,o,a,u,l){const d=t.blueprint.slice();return d[0]=i,d[2]=140|r,ef(d),d[3]=d[15]=e,d[8]=n,d[10]=o||e&&e[10],d[11]=a||e&&e[11],d[12]=u||e&&e[12]||null,d[9]=l||e&&e[9]||null,d[6]=s,d[16]=2==t.type?e[16]:d,d}function Gr(e,t,n,r,i){let s=e.data[t];if(null===s)s=function Xu(e,t,n,r,i){const s=sf(),o=eu(),u=e.data[t]=function d0(e,t,n,r,i,s){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next: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}}(0,o?s:s&&s.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=u),null!==s&&(o?null==s.child&&null!==u.parent&&(s.child=u):null===s.next&&(s.next=u)),u}(e,t,n,r,i),function kw(){return Q.lFrame.inI18n}()&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=r,s.attrs=i;const o=function Ri(){const e=Q.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===o?-1:o.injectorIndex}return rn(s,!0),s}function Wr(e,t,n,r){if(0===n)return-1;const i=t.length;for(let s=0;s<n;s++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function es(e,t,n){Zs(t);try{const r=e.viewQuery;null!==r&&uc(1,r,n);const i=e.template;null!==i&&Bh(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Hh(e,t),e.staticViewQueries&&uc(2,e.viewQuery,n);const s=e.components;null!==s&&function u0(e,t){for(let n=0;n<t.length;n++)A0(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Ks()}}function Qr(e,t,n,r){const i=t[2];if(256!=(256&i)){Zs(t);try{ef(t),function of(e){return Q.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Bh(e,t,n,2,r);const o=3==(3&i);if(o){const l=e.preOrderCheckHooks;null!==l&&Ys(t,l,null)}else{const l=e.preOrderHooks;null!==l&&Xs(t,l,0,null),su(t,0)}if(function I0(e){for(let t=Ru(e);null!==t;t=Nu(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const i=n[r],s=i[3];0==(1024&i[2])&&Xa(s,1),i[2]|=1024}}}(t),function S0(e){for(let t=Ru(e);null!==t;t=Nu(t))for(let n=10;n<t.length;n++){const r=t[n],i=r[1];Ya(r)&&Qr(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&Hh(e,t),o){const l=e.contentCheckHooks;null!==l&&Ys(t,l)}else{const l=e.contentHooks;null!==l&&Xs(t,l,1),su(t,1)}!function o0(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)Vn(~i);else{const s=i,o=n[++r],a=n[++r];Rw(o,s),a(2,t[s])}}}finally{Vn(-1)}}(e,t);const a=e.components;null!==a&&function a0(e,t){for(let n=0;n<t.length;n++)T0(e,t[n])}(t,a);const u=e.viewQuery;if(null!==u&&uc(2,u,r),o){const l=e.viewCheckHooks;null!==l&&Ys(t,l)}else{const l=e.viewHooks;null!==l&&Xs(t,l,2),su(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-73,1024&t[2]&&(t[2]&=-1025,Xa(t[3],-1))}finally{Ks()}}}function c0(e,t,n,r){const i=t[10],o=function Xd(e){return 4==(4&e[2])}(t);try{!o&&i.begin&&i.begin(),o&&es(e,t,r),Qr(e,t,n,r)}finally{!o&&i.end&&i.end()}}function Bh(e,t,n,r,i){const s=at(),o=2&r;try{Vn(-1),o&&t.length>20&&Th(e,t,20,!1),n(r,i)}finally{Vn(s)}}function Vh(e,t,n){if(za(t)){const i=t.directiveEnd;for(let s=t.directiveStart;s<i;s++){const o=e.data[s];o.contentQueries&&o.contentQueries(1,n[s],s)}}}function ec(e,t,n){!nf()||(function v0(e,t,n,r){const i=n.directiveStart,s=n.directiveEnd;e.firstCreatePass||Fi(n,t),it(r,t);const o=n.initialInputs;for(let a=i;a<s;a++){const u=e.data[a],l=zt(u);l&&C0(t,n,u);const d=xi(t,e,a,n);it(d,t),null!==o&&E0(0,a-i,d,u,0,o),l&&(bt(n.index,t)[8]=d)}}(e,t,n,Rt(n,t)),128==(128&n.flags)&&function _0(e,t,n){const r=n.directiveStart,i=n.directiveEnd,o=n.index,a=function Nw(){return Q.lFrame.currentDirectiveIndex}();try{Vn(o);for(let u=r;u<i;u++){const l=e.data[u],d=t[u];nu(u),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&Zh(l,d)}}finally{Vn(-1),nu(a)}}(e,t,n))}function tc(e,t,n=Rt){const r=t.localNames;if(null!==r){let i=t.index+1;for(let s=0;s<r.length;s+=2){const o=r[s+1],a=-1===o?n(t,e):e[o];e[i++]=a}}}function Uh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=bo(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function bo(e,t,n,r,i,s,o,a,u,l){const d=20+r,p=d+i,g=function l0(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Z);return n}(d,p),y="function"==typeof l?l():l;return g[1]={type:e,blueprint:g,template:n,queries:null,viewQuery:a,declTNode:t,data:g.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:u,consts:y,incompleteFirstPass:!1}}function Gh(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function Mt(e,t,n,r,i,s,o,a){const u=Rt(t,n);let d,l=t.inputs;!a&&null!=l&&(d=l[r])?(sp(e,n,d,r,i),qs(t)&&function p0(e,t){const n=bt(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r=function h0(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=o?o(i,t.value||"",r):i,Te(s)?s.setProperty(u,r,i):au(r)||(u.setProperty?u.setProperty(r,i):u[r]=i))}function nc(e,t,n,r){let i=!1;if(nf()){const s=function w0(e,t,n){const r=e.directiveRegistry;let i=null;if(r)for(let s=0;s<r.length;s++){const o=r[s];Sh(n,o.selectors,!1)&&(i||(i=[]),io(Fi(n,t),e,o.type),zt(o)?(Kh(e,n),i.unshift(o)):i.push(o))}return i}(e,t,n),o=null===r?null:{"":-1};if(null!==s){i=!0,Jh(n,e.data.length,s.length);for(let d=0;d<s.length;d++){const p=s[d];p.providersResolver&&p.providersResolver(p)}let a=!1,u=!1,l=Wr(e,t,s.length,null);for(let d=0;d<s.length;d++){const p=s[d];n.mergedAttrs=to(n.mergedAttrs,p.hostAttrs),Yh(e,n,t,l,p),b0(l,p,o),null!==p.contentQueries&&(n.flags|=8),(null!==p.hostBindings||null!==p.hostAttrs||0!==p.hostVars)&&(n.flags|=128);const g=p.type.prototype;!a&&(g.ngOnChanges||g.ngOnInit||g.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),a=!0),!u&&(g.ngOnChanges||g.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),u=!0),l++}!function f0(e,t){const r=t.directiveEnd,i=e.data,s=t.attrs,o=[];let a=null,u=null;for(let l=t.directiveStart;l<r;l++){const d=i[l],p=d.inputs,g=null===s||Mh(t)?null:M0(p,s);o.push(g),a=Gh(p,l,a),u=Gh(d.outputs,l,u)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=a,t.outputs=u}(e,n)}o&&function D0(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const s=n[t[i+1]];if(null==s)throw new ge(-301,!1);r.push(t[i],s)}}}(n,r,o)}return n.mergedAttrs=to(n.mergedAttrs,n.attrs),i}function Qh(e,t,n,r,i,s){const o=s.hostBindings;if(o){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const u=~t.index;(function y0(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=u&&a.push(u),a.push(r,i,o)}}function Zh(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Kh(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function b0(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;zt(t)&&(n[""]=e)}}function Jh(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Yh(e,t,n,r,i){e.data[r]=i;const s=i.factory||(i.factory=or(i.type)),o=new Ni(s,zt(i),null);e.blueprint[r]=o,n[r]=o,Qh(e,t,0,r,Wr(e,n,i.hostVars,Z),i)}function C0(e,t,n){const r=Rt(t,e),i=Uh(n),s=e[10],o=Co(e,Xi(e,i,null,n.onPush?64:16,r,t,s,s.createRenderer(r,n),null,null));e[t.index]=o}function E0(e,t,n,r,i,s){const o=s[t];if(null!==o){const a=r.setInput;for(let u=0;u<o.length;){const l=o[u++],d=o[u++],p=o[u++];null!==a?r.setInput(n,p,l,d):n[d]=p}}}function M0(e,t){let n=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Xh(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function T0(e,t){const n=bt(t,e);if(Ya(n)){const r=n[1];80&n[2]?Qr(r,n,r.template,n[8]):n[5]>0&&ic(n)}}function ic(e){for(let r=Ru(e);null!==r;r=Nu(r))for(let i=10;i<r.length;i++){const s=r[i];if(1024&s[2]){const o=s[1];Qr(o,s,o.template,s[8])}else s[5]>0&&ic(s)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=bt(n[r],e);Ya(i)&&i[5]>0&&ic(i)}}function A0(e,t){const n=bt(t,e),r=n[1];(function P0(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),es(r,n,n[8])}function Co(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function sc(e){for(;e;){e[2]|=64;const t=Ji(e);if(cw(e)&&!t)return e;e=t}return null}function ep(e){!function oc(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Iu(n),i=r[1];c0(i,r,i.template,n)}}(e[8])}function uc(e,t,n){iu(0),t(e,n)}const R0=(()=>Promise.resolve(null))();function tp(e){return e[7]||(e[7]=[])}function np(e){return e.cleanup||(e.cleanup=[])}function ip(e,t){const n=e[9],r=n?n.get(Ki,null):null;r&&r.handleError(t)}function sp(e,t,n,r,i){for(let s=0;s<n.length;){const o=n[s++],a=n[s++],u=t[o],l=e.data[o];null!==l.setInput?l.setInput(u,i,r,a):u[a]=i}}function Sn(e,t,n){const r=Ws(t,e);!function uh(e,t,n){Te(e)?e.setValue(t,n):t.textContent=n}(e[11],r,n)}function Eo(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,s=0;if(null!==t)for(let o=0;o<t.length;o++){const a=t[o];"number"==typeof a?s=a:1==s?i=Oa(i,a):2==s&&(r=Oa(r,a+": "+t[++o]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}const cc=new ue("INJECTOR",-1);class op{get(t,n=Vi){if(n===Vi){const r=new Error(`NullInjectorError: No provider for ${ve(t)}!`);throw r.name="NullInjectorError",r}return n}}const lc=new ue("Set Injector scope."),ts={},F0={};let dc;function ap(){return void 0===dc&&(dc=new op),dc}function up(e,t=null,n=null,r){const i=cp(e,t,n,r);return i._resolveInjectorDefTypes(),i}function cp(e,t=null,n=null,r){return new x0(e,n,t||ap(),r)}class x0{constructor(t,n,r,i=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];n&&sn(n,a=>this.processProvider(a,t,n)),sn([t],a=>this.processInjectorType(a,[],s)),this.records.set(cc,Zr(void 0,this));const o=this.records.get(lc);this.scope=null!=o?o.value:null,this.source=i||("object"==typeof t?null:ve(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=Vi,r=q.Default){this.assertNotDestroyed();const i=Nf(this),s=xn(void 0);try{if(!(r&q.SkipSelf)){let a=this.records.get(t);if(void 0===a){const u=function z0(e){return"function"==typeof e||"object"==typeof e&&e instanceof ue}(t)&&La(t);a=u&&this.injectableDefInScope(u)?Zr(fc(t),ts):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&q.Self?ap():this.parent).get(t,n=r&q.Optional&&n===Vi?null:n)}catch(o){if("NullInjectorError"===o.name){if((o[uo]=o[uo]||[]).unshift(ve(t)),i)throw o;return function _D(e,t,n,r){const i=e[uo];throw t[Rf]&&i.unshift(t[Rf]),e.message=function wD(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let i=ve(t);if(Array.isArray(t))i=t.map(ve).join(" -> ");else if("object"==typeof t){let s=[];for(let o in t)if(t.hasOwnProperty(o)){let a=t[o];s.push(o+":"+("string"==typeof a?JSON.stringify(a):ve(a)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(hD,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[uo]=null,e}(o,t,"R3InjectorError",this.source)}throw o}finally{xn(s),Nf(i)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,i)=>t.push(ve(i))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ge(205,!1)}processInjectorType(t,n,r){if(!(t=ee(t)))return!1;let i=Bd(t);const s=null==i&&t.ngModule||void 0,o=void 0===s?t:s,a=-1!==r.indexOf(o);if(void 0!==s&&(i=Bd(s)),null==i)return!1;if(null!=i.imports&&!a){let d;r.push(o);try{sn(i.imports,p=>{this.processInjectorType(p,n,r)&&(void 0===d&&(d=[]),d.push(p))})}finally{}if(void 0!==d)for(let p=0;p<d.length;p++){const{ngModule:g,providers:y}=d[p];sn(y,b=>this.processProvider(b,g,y||be))}}this.injectorDefTypes.add(o);const u=or(o)||(()=>new o);this.records.set(o,Zr(u,ts));const l=i.providers;if(null!=l&&!a){const d=t;sn(l,p=>this.processProvider(p,d,l))}return void 0!==s&&void 0!==t.providers}processProvider(t,n,r){let i=Kr(t=ee(t))?t:ee(t&&t.provide);const s=function j0(e,t,n){return dp(e)?Zr(void 0,e.useValue):Zr(function lp(e,t,n){let r;if(Kr(e)){const i=ee(e);return or(i)||fc(i)}if(dp(e))r=()=>ee(e.useValue);else if(function B0(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...yu(e.deps||[]));else if(function H0(e){return!(!e||!e.useExisting)}(e))r=()=>V(ee(e.useExisting));else{const i=ee(e&&(e.useClass||e.provide));if(!function U0(e){return!!e.deps}(e))return or(i)||fc(i);r=()=>new i(...yu(e.deps))}return r}(e),ts)}(t);if(Kr(t)||!0!==t.multi)this.records.get(i);else{let o=this.records.get(i);o||(o=Zr(void 0,ts,!0),o.factory=()=>yu(o.multi),this.records.set(i,o)),i=t,o.multi.push(t)}this.records.set(i,s)}hydrate(t,n){return n.value===ts&&(n.value=F0,n.value=n.factory()),"object"==typeof n.value&&n.value&&function $0(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=ee(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function fc(e){const t=La(e),n=null!==t?t.factory:or(e);if(null!==n)return n;if(e instanceof ue)throw new ge(204,!1);if(e instanceof Function)return function L0(e){const t=e.length;if(t>0)throw function Bi(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?"),new ge(204,!1);const n=function K_(e){const t=e&&(e[Bs]||e[Vd]);if(t){const n=function J_(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new ge(204,!1)}function Zr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function dp(e){return null!==e&&"object"==typeof e&&gD in e}function Kr(e){return"function"==typeof e}let yt=(()=>{class e{static create(n,r){var i;if(Array.isArray(n))return up({name:""},r,n,"");{const s=null!==(i=n.name)&&void 0!==i?i:"";return up({name:s},n.parent,n.providers,s)}}}return e.THROW_IF_NOT_FOUND=Vi,e.NULL=new op,e.\u0275prov=Y({token:e,providedIn:"any",factory:()=>V(cc)}),e.__NG_ELEMENT_ID__=-1,e})();function Y0(e,t){Js(Iu(e)[1],Ve())}let Mo=null;function Jr(){if(!Mo){const e=_e.Symbol;if(e&&e.iterator)Mo=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Mo=r)}}}return Mo}function ns(e){return!!function mc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Jr()in e)}function st(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Xr(e,t,n,r){return st(e,Nr(),n)?t+W(n)+r:Z}function Fe(e,t,n,r,i,s,o,a){const u=I(),l=fe(),d=e+20,p=l.firstCreatePass?function cC(e,t,n,r,i,s,o,a,u){const l=t.consts,d=Gr(t,e,4,o||null,Bn(l,a));nc(t,n,d,Bn(l,u)),Js(t,d);const p=d.tViews=bo(2,d,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l);return null!==t.queries&&(t.queries.template(t,d),p.queries=t.queries.embeddedTView(d)),d}(d,l,u,t,n,r,i,s,o):l.data[d];rn(p,!1);const g=u[11].createComment("");yo(l,u,g,p),it(g,u),Co(u,u[d]=Xh(g,u,g,p)),Gs(p)&&ec(l,u,p),null!=o&&tc(u,p,a)}function H(e,t=q.Default){const n=I();return null===n?V(e,t):bf(Ve(),n,ee(e),t)}function bc(){throw new Error("invalid")}function Se(e,t,n){const r=I();return st(r,Nr(),t)&&Mt(fe(),Ae(),r,e,t,r[11],n,!1),Se}function Cc(e,t,n,r,i){const o=i?"class":"style";sp(e,n,t.inputs[o],o,r)}function ie(e,t,n,r){const i=I(),s=fe(),o=20+e,a=i[11],u=i[o]=Fu(a,t,function Vw(){return Q.lFrame.currentNamespace}()),l=s.firstCreatePass?function kC(e,t,n,r,i,s,o){const a=t.consts,l=Gr(t,e,2,i,Bn(a,s));return nc(t,n,l,Bn(a,o)),null!==l.attrs&&Eo(l,l.attrs,!1),null!==l.mergedAttrs&&Eo(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(o,s,i,0,t,n,r):s.data[o];rn(l,!0);const d=l.mergedAttrs;null!==d&&eo(a,u,d);const p=l.classes;null!==p&&Vu(a,u,p);const g=l.styles;return null!==g&&bh(a,u,g),64!=(64&l.flags)&&yo(s,i,u,l),0===function Mw(){return Q.lFrame.elementDepthCount}()&&it(u,i),function Sw(){Q.lFrame.elementDepthCount++}(),Gs(l)&&(ec(s,i,l),Vh(s,l,i)),null!==r&&tc(i,l),ie}function K(){let e=Ve();eu()?tu():(e=e.parent,rn(e,!1));const t=e;!function Iw(){Q.lFrame.elementDepthCount--}();const n=fe();return n.firstCreatePass&&(Js(n,e),za(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Gw(e){return 0!=(16&e.flags)}(t)&&Cc(n,t,I(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Ww(e){return 0!=(32&e.flags)}(t)&&Cc(n,t,I(),t.stylesWithoutHost,!1),K}function St(e,t,n,r){return ie(e,t,n,r),K(),St}function To(e,t,n){const r=I(),i=fe(),s=e+20,o=i.firstCreatePass?function RC(e,t,n,r,i){const s=t.consts,o=Bn(s,r),a=Gr(t,e,8,"ng-container",o);return null!==o&&Eo(a,o,!0),nc(t,n,a,Bn(s,i)),null!==t.queries&&t.queries.elementStart(t,a),a}(s,i,r,t,n):i.data[s];rn(o,!0);const a=r[s]=r[11].createComment("");return yo(i,r,a,o),it(a,r),Gs(o)&&(ec(i,r,o),Vh(i,o,r)),null!=n&&tc(r,o),To}function Ao(){let e=Ve();const t=fe();return eu()?tu():(e=e.parent,rn(e,!1)),t.firstCreatePass&&(Js(t,e),za(e)&&t.queries.elementEnd(e)),Ao}function Po(e){return!!e&&"function"==typeof e.then}const Wp=function Gp(e){return!!e&&"function"==typeof e.subscribe};function lr(e,t,n,r){const i=I(),s=fe(),o=Ve();return function Zp(e,t,n,r,i,s,o,a){const u=Gs(r),d=e.firstCreatePass&&np(e),p=t[8],g=tp(t);let y=!0;if(3&r.type||a){const P=Rt(r,t),T=a?a(P):P,M=g.length,B=a?J=>a(Ne(J[r.index])):r.index;if(Te(n)){let J=null;if(!a&&u&&(J=function NC(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const o=i[s];if(o===n&&i[s+1]===r){const a=t[7],u=i[s+2];return a.length>u?a[u]:null}"string"==typeof o&&(s+=2)}return null}(e,t,i,r.index)),null!==J)(J.__ngLastListenerFn__||J).__ngNextListenerFn__=s,J.__ngLastListenerFn__=s,y=!1;else{s=Ec(r,t,p,s,!1);const pe=n.listen(T,i,s);g.push(s,pe),d&&d.push(i,B,M,M+1)}}else s=Ec(r,t,p,s,!0),T.addEventListener(i,s,o),g.push(s),d&&d.push(i,B,M,o)}else s=Ec(r,t,p,s,!1);const b=r.outputs;let S;if(y&&null!==b&&(S=b[i])){const P=S.length;if(P)for(let T=0;T<P;T+=2){const Tt=t[S[T]][S[T+1]].subscribe(s),Cr=g.length;g.push(s,Tt),d&&d.push(i,r.index,Cr,-(Cr+1))}}}(s,i,i[11],o,e,t,!!n,r),lr}function Kp(e,t,n,r){try{return!1!==n(r)}catch(i){return ip(e,i),!1}}function Ec(e,t,n,r,i){return function s(o){if(o===Function)return r;const a=2&e.flags?bt(e.index,t):t;0==(32&t[2])&&sc(a);let u=Kp(t,0,r,o),l=s.__ngNextListenerFn__;for(;l;)u=Kp(t,0,l,o)&&u,l=l.__ngNextListenerFn__;return i&&!1===u&&(o.preventDefault(),o.returnValue=!1),u}}function xe(e=1){return function Fw(e){return(Q.lFrame.contextLView=function xw(e,t){for(;e>0;)t=t[15],e--;return t}(e,Q.lFrame.contextLView))[8]}(e)}function dr(e,t,n){return fr(e,"",t,"",n),dr}function fr(e,t,n,r,i){const s=I(),o=Xr(s,t,n,r);return o!==Z&&Mt(fe(),Ae(),s,e,o,s[11],i,!1),fr}function sg(e,t,n,r,i){const s=e[n+1],o=null===t;let a=r?Gt(s):Mn(s),u=!1;for(;0!==a&&(!1===u||o);){const d=e[a+1];HC(e[a],t)&&(u=!0,e[a+1]=r?zu(d):Uu(d)),a=r?Gt(d):Mn(d)}u&&(e[n+1]=r?Uu(s):zu(s))}function HC(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Vr(e,t)>=0}function ko(e,t){return function Qt(e,t,n,r){const i=I(),s=fe(),o=function En(e){const t=Q.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);s.firstUpdatePass&&function pg(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[at()],o=function hg(e,t){return t>=e.expandoStartIndex}(e,n);(function vg(e,t){return 0!=(e.flags&(t?16:32))})(s,r)&&null===t&&!o&&(t=!1),t=function QC(e,t,n,r){const i=function ru(e){const t=Q.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=is(n=Mc(null,e,t,n,r),t.attrs,r),s=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==i)if(n=Mc(i,e,t,n,r),null===s){let u=function ZC(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Mn(r))return e[Gt(r)]}(e,t,r);void 0!==u&&Array.isArray(u)&&(u=Mc(null,e,t,u[1],r),u=is(u,t.attrs,r),function KC(e,t,n,r){e[Gt(n?t.classBindings:t.styleBindings)]=r}(e,t,r,u))}else s=function JC(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<i;s++)r=is(r,e[s].hostAttrs,n);return is(r,t.attrs,n)}(e,t,r)}return void 0!==s&&(r?t.residualClasses=s:t.residualStyles=s),n}(i,s,t,r),function LC(e,t,n,r,i,s){let o=s?t.classBindings:t.styleBindings,a=Gt(o),u=Mn(o);e[r]=n;let d,l=!1;if(Array.isArray(n)){const p=n;d=p[1],(null===d||Vr(p,d)>0)&&(l=!0)}else d=n;if(i)if(0!==u){const g=Gt(e[a+1]);e[r+1]=_o(g,a),0!==g&&(e[g+1]=$u(e[g+1],r)),e[a+1]=function Zb(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=_o(a,0),0!==a&&(e[a+1]=$u(e[a+1],r)),a=r;else e[r+1]=_o(u,0),0===a?a=r:e[u+1]=$u(e[u+1],r),u=r;l&&(e[r+1]=Uu(e[r+1])),sg(e,d,r,!0),sg(e,d,r,!1),function jC(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&Vr(s,t)>=0&&(n[r+1]=zu(n[r+1]))}(t,d,e,r,s),o=_o(a,u),s?t.classBindings=o:t.styleBindings=o}(i,s,t,n,o,r)}}(s,e,o,r),t!==Z&&st(i,o,t)&&function mg(e,t,n,r,i,s,o,a){if(!(3&t.type))return;const u=e.data,l=u[a+1];Ro(function kh(e){return 1==(1&e)}(l)?yg(u,t,n,i,Mn(l),o):void 0)||(Ro(s)||function Ph(e){return 2==(2&e)}(l)&&(s=yg(u,null,n,i,a,o)),function Lb(e,t,n,r,i){const s=Te(e);if(t)i?s?e.addClass(n,r):n.classList.add(r):s?e.removeClass(n,r):n.classList.remove(r);else{let o=-1===r.indexOf("-")?void 0:Et.DashCase;if(null==i)s?e.removeStyle(n,r,o):n.style.removeProperty(r);else{const a="string"==typeof i&&i.endsWith("!important");a&&(i=i.slice(0,-10),o|=Et.Important),s?e.setStyle(n,r,i,o):n.style.setProperty(r,i,a?"important":"")}}}(r,o,Ws(at(),n),i,s))}(s,s.data[at()],i,i[11],e,i[o+1]=function eE(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ve(zn(e)))),e}(t,n),r,o)}(e,t,null,!0),ko}function Mc(e,t,n,r,i){let s=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(s=t[a],r=is(r,s.hostAttrs,i),s!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function is(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let s=0;s<t.length;s++){const o=t[s];"number"==typeof o?i=o:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Ct(e,o,!!n||t[++s]))}return void 0===e?null:e}function yg(e,t,n,r,i,s){const o=null===t;let a;for(;i>0;){const u=e[i],l=Array.isArray(u),d=l?u[1]:u,p=null===d;let g=n[i+1];g===Z&&(g=p?be:void 0);let y=p?pu(g,r):d===r?g:void 0;if(l&&!Ro(y)&&(y=pu(u,r)),Ro(y)&&(a=y,o))return a;const b=e[i+1];i=o?Gt(b):Mn(b)}if(null!==t){let u=s?t.residualClasses:t.residualStyles;null!=u&&(a=pu(u,r))}return a}function Ro(e){return void 0!==e}function he(e,t=""){const n=I(),r=fe(),i=e+20,s=r.firstCreatePass?Gr(r,i,1,t,null):r.data[i],o=n[i]=function Ou(e,t){return Te(e)?e.createText(t):e.createTextNode(t)}(n[11],t);yo(r,n,o,s),rn(s,!1)}function Wn(e){return In("",e,""),Wn}function In(e,t,n){const r=I(),i=Xr(r,e,t,n);return i!==Z&&Sn(r,at(),i),In}const No="en-US";let Bg=No;class dm{}class CM{resolveComponentFactory(t){throw function bM(e){const t=Error(`No component factory found for ${ve(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let cs=(()=>{class e{}return e.NULL=new CM,e})();function EM(){return di(Ve(),I())}function di(e,t){return new Qn(Rt(e,t))}let Qn=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=EM,e})();class hm{}let TM=(()=>{class e{}return e.\u0275prov=Y({token:e,providedIn:"root",factory:()=>null}),e})();class Ho{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const AM=new Ho("13.3.11"),Rc={};function Bo(e,t,n,r,i=!1){for(;null!==n;){const s=t[n.index];if(null!==s&&r.push(Ne(s)),$t(s))for(let a=10;a<s.length;a++){const u=s[a],l=u[1].firstChild;null!==l&&Bo(u[1],u,l,r)}const o=n.type;if(8&o)Bo(e,t,n.child,r);else if(32&o){const a=ku(n,t);let u;for(;u=a();)r.push(u)}else if(16&o){const a=_h(t,n);if(Array.isArray(a))r.push(...a);else{const u=Ji(t[16]);Bo(u[1],u,a,r,!0)}}n=i?n.projectionNext:n.next}return r}class ls{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return Bo(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if($t(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(xu(t,r),oo(n,r))}this._attachedToViewContainer=!1}lh(this._lView[1],this._lView)}onDestroy(t){!function qh(e,t,n,r){const i=tp(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&np(e).push(r,i.length-1))}(this._lView[1],this._lView,null,t)}markForCheck(){sc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function ac(e,t,n){const r=t[10];r.begin&&r.begin();try{Qr(e,t,e.template,n)}catch(i){throw ip(t,i),i}finally{r.end&&r.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ge(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Ib(e,t){Yi(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new ge(902,"");this._appRef=t}}class PM extends ls{constructor(t){super(t),this._view=t}detectChanges(){ep(this._view)}checkNoChanges(){}get context(){return null}}class pm extends cs{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=nt(t);return new Nc(n,this.ngModule)}}function gm(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Nc extends dm{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Wb(e){return e.map(Gb).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return gm(this.componentDef.inputs)}get outputs(){return gm(this.componentDef.outputs)}create(t,n,r,i){const s=(i=i||this.ngModule)?function RM(e,t){return{get:(n,r,i)=>{const s=e.get(n,Rc,i);return s!==Rc||r===Rc?s:t.get(n,r,i)}}}(t,i.injector):t,o=s.get(hm,Yd),a=s.get(TM,null),u=o.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",d=r?function zh(e,t,n){if(Te(e))return e.selectRootElement(t,n===tn.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(u,r,this.componentDef.encapsulation):Fu(o.createRenderer(null,this.componentDef),l,function kM(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(l)),p=this.componentDef.onPush?576:528,g=function bp(e,t){return{components:[],scheduler:e||_b,clean:R0,playerHandler:t||null,flags:0}}(),y=bo(0,null,null,1,0,null,null,null,null,null),b=Xi(null,y,g,p,null,null,o,u,a,s);let S,P;Zs(b);try{const T=function wp(e,t,n,r,i,s){const o=n[1];n[20]=e;const u=Gr(o,20,2,"#host",null),l=u.mergedAttrs=t.hostAttrs;null!==l&&(Eo(u,l,!0),null!==e&&(eo(i,e,l),null!==u.classes&&Vu(i,e,u.classes),null!==u.styles&&bh(i,e,u.styles)));const d=r.createRenderer(e,t),p=Xi(n,Uh(t),null,t.onPush?64:16,n[20],u,r,d,s||null,null);return o.firstCreatePass&&(io(Fi(u,n),o,t.type),Kh(o,u),Jh(u,n.length,1)),Co(n,p),n[20]=p}(d,this.componentDef,b,o,u);if(d)if(r)eo(u,d,["ng-version",AM.full]);else{const{attrs:M,classes:B}=function Qb(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let s=e[r];if("string"==typeof s)2===i?""!==s&&t.push(s,e[++r]):8===i&&n.push(s);else{if(!qt(i))break;i=s}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);M&&eo(u,d,M),B&&B.length>0&&Vu(u,d,B.join(" "))}if(P=Ja(y,20),void 0!==n){const M=P.projection=[];for(let B=0;B<this.ngContentSelectors.length;B++){const J=n[B];M.push(null!=J?Array.from(J):null)}}S=function Dp(e,t,n,r,i){const s=n[1],o=function m0(e,t,n){const r=Ve();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Yh(e,r,t,Wr(e,t,1,null),n));const i=xi(t,e,r.directiveStart,r);it(i,t);const s=Rt(r,t);return s&&it(s,t),i}(s,n,t);if(r.components.push(o),e[8]=o,i&&i.forEach(u=>u(o,t)),t.contentQueries){const u=Ve();t.contentQueries(1,o,u.directiveStart)}const a=Ve();return!s.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Vn(a.index),Qh(n[1],a,0,a.directiveStart,a.directiveEnd,t),Zh(t,o)),o}(T,this.componentDef,b,g,[Y0]),es(y,b,null)}finally{Ks()}return new OM(this.componentType,S,di(P,b),b,P)}}class OM extends class DM{}{constructor(t,n,r,i,s){super(),this.location=r,this._rootLView=i,this._tNode=s,this.instance=n,this.hostView=this.changeDetectorRef=new PM(i),this.componentType=t}get injector(){return new xr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class Tn{}class mm{}const fi=new Map;class _m extends Tn{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new pm(this);const r=At(t);this._bootstrapComponents=an(r.bootstrap),this._r3Injector=cp(t,n,[{provide:Tn,useValue:this},{provide:cs,useValue:this.componentFactoryResolver}],ve(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=yt.THROW_IF_NOT_FOUND,r=q.Default){return t===yt||t===Tn||t===cc?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Oc extends mm{constructor(t){super(),this.moduleType=t,null!==At(t)&&function xM(e){const t=new Set;!function n(r){const i=At(r,!0),s=i.id;null!==s&&(function ym(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${ve(t)} vs ${ve(t.name)}`)}(s,fi.get(s),r),fi.set(s,r));const o=an(i.imports);for(const a of o)t.has(a)||(t.add(a),n(a))}(e)}(t)}create(t){return new _m(this.moduleType,t)}}function Fc(e){return t=>{setTimeout(e,void 0,t)}}const lt=class eS extends j{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var i,s,o;let a=t,u=n||(()=>null),l=r;if(t&&"object"==typeof t){const p=t;a=null===(i=p.next)||void 0===i?void 0:i.bind(p),u=null===(s=p.error)||void 0===s?void 0:s.bind(p),l=null===(o=p.complete)||void 0===o?void 0:o.bind(p)}this.__isAsync&&(u=Fc(u),a&&(a=Fc(a)),l&&(l=Fc(l)));const d=super.subscribe({next:a,error:u,complete:l});return t instanceof et&&t.add(d),d}};Symbol;let An=(()=>{class e{}return e.__NG_ELEMENT_ID__=iS,e})();const nS=An,rS=class extends nS{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=Xi(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(r[19]=s.createEmbeddedView(n)),es(n,r,t),new ls(r)}};function iS(){return function Vo(e,t){return 4&e.type?new rS(t,e,di(e,t)):null}(Ve(),I())}let Kt=(()=>{class e{}return e.__NG_ELEMENT_ID__=sS,e})();function sS(){return function Im(e,t){let n;const r=t[e.index];if($t(r))n=r;else{let i;if(8&e.type)i=Ne(r);else{const s=t[11];i=s.createComment("");const o=Rt(e,t);ur(s,mo(s,o),i,function Ob(e,t){return Te(e)?e.nextSibling(t):t.nextSibling}(s,o),!1)}t[e.index]=n=Xh(r,t,i,e),Co(t,n)}return new Mm(n,e,t)}(Ve(),I())}const oS=Kt,Mm=class extends oS{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return di(this._hostTNode,this._hostLView)}get injector(){return new xr(this._hostTNode,this._hostLView)}get parentInjector(){const t=ro(this._hostTNode,this._hostLView);if(yf(t)){const n=Fr(t,this._hostLView),r=Or(t);return new xr(n[1].data[r+8],n)}return new xr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Sm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){const i=t.createEmbeddedView(n||{});return this.insert(i,r),i}createComponent(t,n,r,i,s){const o=t&&!function Hi(e){return"function"==typeof e}(t);let a;if(o)a=n;else{const p=n||{};a=p.index,r=p.injector,i=p.projectableNodes,s=p.ngModuleRef}const u=o?t:new Nc(nt(t)),l=r||this.parentInjector;if(!s&&null==u.ngModule){const g=(o?l:this.parentInjector).get(Tn,null);g&&(s=g)}const d=u.create(l,i,void 0,s);return this.insert(d.hostView,a),d}insert(t,n){const r=t._lView,i=r[1];if(function Ew(e){return $t(e[3])}(r)){const d=this.indexOf(t);if(-1!==d)this.detach(d);else{const p=r[3],g=new Mm(p,p[6],p[3]);g.detach(g.indexOf(t))}}const s=this._adjustIndex(n),o=this._lContainer;!function Ab(e,t,n,r){const i=10+r,s=n.length;r>0&&(n[i-1][4]=t),r<s-10?(t[4]=n[i],If(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const o=t[17];null!==o&&n!==o&&function Pb(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(o,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=128}(i,r,o,s);const a=Hu(s,o),u=r[11],l=mo(u,o[7]);return null!==l&&function Sb(e,t,n,r,i,s){r[0]=i,r[6]=t,Yi(e,r,n,1,i,s)}(i,o[6],u,r,l,a),t.attachToViewContainerRef(),If(Lc(o),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Sm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=xu(this._lContainer,n);r&&(oo(Lc(this._lContainer),n),lh(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=xu(this._lContainer,n);return r&&null!=oo(Lc(this._lContainer),n)?new ls(r):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function Sm(e){return e[8]}function Lc(e){return e[8]||(e[8]=[])}function zo(...e){}const Jc=new ue("Application Initializer");let Yc=(()=>{class e{constructor(n){this.appInits=n,this.resolve=zo,this.reject=zo,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const s=this.appInits[i]();if(Po(s))n.push(s);else if(Wp(s)){const o=new Promise((a,u)=>{s.subscribe({complete:a,error:u})});n.push(o)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(V(Jc,8))},e.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ps=new ue("AppId",{providedIn:"root",factory:function Zm(){return`${Xc()}${Xc()}${Xc()}`}});function Xc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Km=new ue("Platform Initializer"),el=new ue("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Jm=new ue("appBootstrapListener");let NS=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Zn=new ue("LocaleId",{providedIn:"root",factory:()=>yD(Zn,q.Optional|q.SkipSelf)||function OS(){return"undefined"!=typeof $localize&&$localize.locale||No}()});class xS{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Ym=(()=>{class e{compileModuleSync(n){return new Oc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=an(At(n).declarations).reduce((o,a)=>{const u=nt(a);return u&&o.push(new Nc(u)),o},[]);return new xS(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const jS=(()=>Promise.resolve(0))();function tl(e){"undefined"==typeof Zone?jS.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Ye{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new lt(!1),this.onMicrotaskEmpty=new lt(!1),this.onStable=new lt(!1),this.onError=new lt(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function HS(){let e=_e.requestAnimationFrame,t=_e.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function US(e){const t=()=>{!function VS(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(_e,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,rl(e),e.isCheckStableRunning=!0,nl(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),rl(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,o,a)=>{try{return Xm(e),n.invokeTask(i,s,o,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),ey(e)}},onInvoke:(n,r,i,s,o,a,u)=>{try{return Xm(e),n.invoke(i,s,o,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),ey(e)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,rl(e),nl(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,i,s)=>(n.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ye.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Ye.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+i,t,BS,zo,zo);try{return s.runTask(o,n,r)}finally{s.cancelTask(o)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const BS={};function nl(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 rl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Xm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ey(e){e._nesting--,nl(e)}class $S{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new lt,this.onMicrotaskEmpty=new lt,this.onStable=new lt,this.onError=new lt}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}let il=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ye.assertNotInAngularZone(),tl(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())tl(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==s),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,i){return[]}}return e.\u0275fac=function(n){return new(n||e)(V(Ye))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})(),zS=(()=>{class e{constructor(){this._applications=new Map,sl.addToWindow(this)}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return sl.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();class qS{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}let sl=new qS,pr=null;const ty=new ue("AllowMultipleToken"),ny=new ue("PlatformOnDestroy");class ry{constructor(t,n){this.name=t,this.token=n}}function iy(e,t,n=[]){const r=`Platform: ${t}`,i=new ue(r);return(s=[])=>{let o=ol();if(!o||o.injector.get(ty,!1)){const a=[...n,...s,{provide:i,useValue:!0}];e?e(a):function ZS(e){if(pr&&!pr.get(ty,!1))throw new ge(400,"");pr=e;const t=e.get(sy),n=e.get(Km,null);n&&n.forEach(r=>r())}(function JS(e=[],t){return yt.create({name:t,providers:[{provide:lc,useValue:"platform"},{provide:ny,useValue:()=>pr=null},...e]})}(a,r))}return function KS(e){const t=ol();if(!t)throw new ge(401,"");return t}()}}function ol(){var e;return null!==(e=null==pr?void 0:pr.get(sy))&&void 0!==e?e:null}let sy=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const a=function YS(e,t){let n;return n="noop"===e?new $S:("zone.js"===e?void 0:e)||new Ye({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),u=[{provide:Ye,useValue:a}];return a.run(()=>{const l=yt.create({providers:u,parent:this.injector,name:n.moduleType.name}),d=n.create(l),p=d.injector.get(Ki,null);if(!p)throw new ge(402,"");return a.runOutsideAngular(()=>{const g=a.onError.subscribe({next:y=>{p.handleError(y)}});d.onDestroy(()=>{ul(this._modules,d),g.unsubscribe()})}),function XS(e,t,n){try{const r=n();return Po(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(p,a,()=>{const g=d.injector.get(Yc);return g.runInitializers(),g.donePromise.then(()=>(function ME(e){wt(e,"Expected localeId to be defined"),"string"==typeof e&&(Bg=e.toLowerCase().replace(/_/g,"-"))}(d.injector.get(Zn,No)||No),this._moduleDoBootstrap(d),d))})})}bootstrapModule(n,r=[]){const i=oy({},r);return function WS(e,t,n){const r=new Oc(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){const r=n.injector.get(al);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new ge(403,"");n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ge(404,"");this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(ny,null);null==n||n(),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(V(yt))},e.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function oy(e,t){return Array.isArray(t)?t.reduce(oy,e):Object.assign(Object.assign({},e),t)}let al=(()=>{class e{constructor(n,r,i,s){this._zone=n,this._injector=r,this._exceptionHandler=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new _(u=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{u.next(this._stable),u.complete()})}),a=new _(u=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{Ye.assertNotInAngularZone(),tl(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,u.next(!0))})})});const d=this._zone.onUnstable.subscribe(()=>{Ye.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{u.next(!1)}))});return()=>{l.unsubscribe(),d.unsubscribe()}});this.isStable=function $_(...e){const t=Ii(e),n=function x_(e,t){return"number"==typeof ka(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?yn(r[0]):Si(n)(Ke(r,t)):_n}(o,a.pipe(function z_(e={}){const{connector:t=(()=>new j),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=e;return s=>{let o=null,a=null,u=null,l=0,d=!1,p=!1;const g=()=>{null==a||a.unsubscribe(),a=null},y=()=>{g(),o=u=null,d=p=!1},b=()=>{const S=o;y(),null==S||S.unsubscribe()};return ye((S,P)=>{l++,!p&&!d&&g();const T=u=null!=u?u:t();P.add(()=>{l--,0===l&&!p&&!d&&(a=Ra(b,i))}),T.subscribe(P),o||(o=new v({next:M=>T.next(M),error:M=>{p=!0,g(),a=Ra(y,n,M),T.error(M)},complete:()=>{d=!0,g(),a=Ra(y,r),T.complete()}}),Ke(S).subscribe(o))})(s)}}()))}bootstrap(n,r){if(!this._initStatus.done)throw new ge(405,"");let i;i=n instanceof dm?n:this._injector.get(cs).resolveComponentFactory(n),this.componentTypes.push(i.componentType);const s=function QS(e){return e.isBoundToModule}(i)?void 0:this._injector.get(Tn),a=i.create(yt.NULL,[],r||i.selector,s),u=a.location.nativeElement,l=a.injector.get(il,null),d=l&&a.injector.get(zS);return l&&d&&d.registerApplication(u,l),a.onDestroy(()=>{this.detachView(a.hostView),ul(this.components,a),d&&d.unregisterApplication(u)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new ge(101,"");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;ul(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Jm,[]).concat(this._bootstrapListeners).forEach(i=>i(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(V(Ye),V(yt),V(Ki),V(Yc))},e.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function ul(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let uy=!0,cl=(()=>{class e{}return e.__NG_ELEMENT_ID__=nI,e})();function nI(e){return function rI(e,t,n){if(qs(e)&&!n){const r=bt(e.index,t);return new ls(r,r)}return 47&e.type?new ls(t[16],t):null}(Ve(),I(),16==(16&e))}class hy{constructor(){}supports(t){return ns(t)}create(t){return new cI(t)}}const uI=(e,t)=>t;class cI{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||uI}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,s=null;for(;n||r;){const o=!r||n&&n.currentIndex<gy(r,i,s)?n:r,a=gy(o,i,s),u=o.currentIndex;if(o===r)i--,r=r._nextRemoved;else if(n=n._next,null==o.previousIndex)i++;else{s||(s=[]);const l=a-i,d=u-i;if(l!=d){for(let g=0;g<l;g++){const y=g<s.length?s[g]:s[g]=0,b=y+g;d<=b&&b<l&&(s[g]=y+1)}s[o.previousIndex]=d-l}}a!==u&&t(o,a,u)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!ns(t))throw new ge(900,"");return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,s,o,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)s=t[a],o=this._trackByFn(a,s),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,s,o,a)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,o,a),r=!0),n=n._next}else i=0,function uC(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Jr()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,a=>{o=this._trackByFn(i,a),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,a,o,i)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,o,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,i)):t=this._addAfter(new lI(n,r),s,i),t}_verifyReinsertion(t,n,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new py),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new py),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class lI{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class dI{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class py{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new dI,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function gy(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}function yy(){return new Wo([new hy])}let Wo=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||yy()),deps:[[e,new zi,new $n]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new ge(901,"")}}return e.\u0275prov=Y({token:e,providedIn:"root",factory:yy}),e})();const mI=iy(null,"core",[]);let yI=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(V(al))},e.\u0275mod=bn({type:e}),e.\u0275inj=en({}),e})(),Qo=null;function Kn(){return Qo}const ft=new ue("DocumentToken");let mr=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Y({token:e,factory:function(){return function DI(){return V(_y)}()},providedIn:"platform"}),e})();const bI=new ue("Location Initialized");let _y=(()=>{class e extends mr{constructor(n){super(),this._doc=n,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Kn().getBaseHref(this._doc)}onPopState(n){const r=Kn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=Kn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(n){this.location.pathname=n}pushState(n,r,i){wy()?this._history.pushState(n,r,i):this.location.hash=i}replaceState(n,r,i){wy()?this._history.replaceState(n,r,i):this.location.hash=i}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}}return e.\u0275fac=function(n){return new(n||e)(V(ft))},e.\u0275prov=Y({token:e,factory:function(){return function CI(){return new _y(V(ft))}()},providedIn:"platform"}),e})();function wy(){return!!window.history.pushState}function pl(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function Dy(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function Pn(e){return e&&"?"!==e[0]?"?"+e:e}let pi=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Y({token:e,factory:function(){return function EI(e){const t=V(ft).location;return new by(V(mr),t&&t.origin||"")}()},providedIn:"root"}),e})();const gl=new ue("appBaseHref");let by=(()=>{class e extends pi{constructor(n,r){if(super(),this._platformLocation=n,this._removeListenerFns=[],null==r&&(r=this._platformLocation.getBaseHrefFromDOM()),null==r)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=r}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return pl(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+Pn(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,s){const o=this.prepareExternalUrl(i+Pn(s));this._platformLocation.pushState(n,r,o)}replaceState(n,r,i,s){const o=this.prepareExternalUrl(i+Pn(s));this._platformLocation.replaceState(n,r,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(n=0){var r,i;null===(i=(r=this._platformLocation).historyGo)||void 0===i||i.call(r,n)}}return e.\u0275fac=function(n){return new(n||e)(V(mr),V(gl,8))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})(),MI=(()=>{class e extends pi{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(n){const r=pl(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,i,s){let o=this.prepareExternalUrl(i+Pn(s));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(n,r,o)}replaceState(n,r,i,s){let o=this.prepareExternalUrl(i+Pn(s));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(n=0){var r,i;null===(i=(r=this._platformLocation).historyGo)||void 0===i||i.call(r,n)}}return e.\u0275fac=function(n){return new(n||e)(V(mr),V(gl,8))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})(),ml=(()=>{class e{constructor(n,r){this._subject=new lt,this._urlChangeListeners=[],this._platformStrategy=n;const i=this._platformStrategy.getBaseHref();this._platformLocation=r,this._baseHref=Dy(Cy(i)),this._platformStrategy.onPopState(s=>{this._subject.emit({url:this.path(!0),pop:!0,state:s.state,type:s.type})})}path(n=!1){return this.normalize(this._platformStrategy.path(n))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Pn(r))}normalize(n){return e.stripTrailingSlash(function II(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,Cy(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._platformStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._platformStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Pn(r)),i)}replaceState(n,r="",i=null){this._platformStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Pn(r)),i)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(n=0){var r,i;null===(i=(r=this._platformStrategy).historyGo)||void 0===i||i.call(r,n)}onUrlChange(n){this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}))}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r,complete:i})}}return e.normalizeQueryParams=Pn,e.joinWithSlash=pl,e.stripTrailingSlash=Dy,e.\u0275fac=function(n){return new(n||e)(V(pi),V(mr))},e.\u0275prov=Y({token:e,factory:function(){return function SI(){return new ml(V(pi),V(mr))}()},providedIn:"root"}),e})();function Cy(e){return e.replace(/\/index.html$/,"")}function Ry(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[i,s]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===t)return decodeURIComponent(s)}return null}class fT{constructor(t,n,r,i){this.$implicit=t,this.ngForOf=n,this.index=r,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}}let Sl=(()=>{class e{constructor(n,r,i){this._viewContainer=n,this._template=r,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((i,s,o)=>{if(null==i.previousIndex)r.createEmbeddedView(this._template,new fT(i.item,this._ngForOf,-1,-1),null===o?void 0:o);else if(null==o)r.remove(null===s?void 0:s);else if(null!==s){const a=r.get(s);r.move(a,o),Ny(a,i)}});for(let i=0,s=r.length;i<s;i++){const a=r.get(i).context;a.index=i,a.count=s,a.ngForOf=this._ngForOf}n.forEachIdentityChange(i=>{Ny(r.get(i.currentIndex),i)})}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(H(Kt),H(An),H(Wo))},e.\u0275dir=tt({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();function Ny(e,t){e.context.$implicit=t.item}let vs=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new hT,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Oy("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Oy("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(H(Kt),H(An))},e.\u0275dir=tt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class hT{constructor(){this.$implicit=null,this.ngIf=null}}function Oy(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ve(t)}'.`)}let BT=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=bn({type:e}),e.\u0275inj=en({}),e})();let zT=(()=>{class e{}return e.\u0275prov=Y({token:e,providedIn:"root",factory:()=>new qT(V(ft),window)}),e})();class qT{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const n=function GT(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow)){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let i=r.currentNode;for(;i;){const s=i.shadowRoot;if(s){const o=s.getElementById(t)||s.querySelector(`[name="${t}"]`);if(o)return o}i=r.nextNode()}}return null}(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const n=this.window.history;n&&n.scrollRestoration&&(n.scrollRestoration=t)}}scrollToElement(t){const n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,i=n.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(r-s[0],i-s[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=jy(this.window.history)||jy(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function jy(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class Hy{}class kl extends class WT extends class wI{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function _I(e){Qo||(Qo=e)}(new kl)}onAndCancel(t,n,r){return t.addEventListener(n,r,!1),()=>{t.removeEventListener(n,r,!1)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function QT(){return _s=_s||document.querySelector("base"),_s?_s.getAttribute("href"):null}();return null==n?null:function ZT(e){ia=ia||document.createElement("a"),ia.setAttribute("href",e);const t=ia.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){_s=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Ry(document.cookie,t)}}let ia,_s=null;const By=new ue("TRANSITION_ID"),JT=[{provide:Jc,useFactory:function KT(e,t,n){return()=>{n.get(Yc).donePromise.then(()=>{const r=Kn(),i=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let s=0;s<i.length;s++)r.remove(i[s])})}},deps:[By,ft,yt],multi:!0}];class Rl{static init(){!function GS(e){sl=e}(new Rl)}addToWindow(t){_e.getAngularTestability=(r,i=!0)=>{const s=t.findTestabilityInTree(r,i);if(null==s)throw new Error("Could not find testability for element.");return s},_e.getAllAngularTestabilities=()=>t.getAllTestabilities(),_e.getAllAngularRootElements=()=>t.getAllRootElements(),_e.frameworkStabilizers||(_e.frameworkStabilizers=[]),_e.frameworkStabilizers.push(r=>{const i=_e.getAllAngularTestabilities();let s=i.length,o=!1;const a=function(u){o=o||u,s--,0==s&&r(o)};i.forEach(function(u){u.whenStable(a)})})}findTestabilityInTree(t,n,r){if(null==n)return null;const i=t.getTestability(n);return null!=i?i:r?Kn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null}}let YT=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();const sa=new ue("EventManagerPlugins");let oa=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(i=>i.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,i){return this._findPluginFor(r).addEventListener(n,r,i)}addGlobalEventListener(n,r,i){return this._findPluginFor(r).addGlobalEventListener(n,r,i)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const i=this._plugins;for(let s=0;s<i.length;s++){const o=i[s];if(o.supports(n))return this._eventNameToPlugin.set(n,o),o}throw new Error(`No event manager plugin found for event ${n}`)}}return e.\u0275fac=function(n){return new(n||e)(V(sa),V(Ye))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();class Vy{constructor(t){this._doc=t}addGlobalEventListener(t,n,r){const i=Kn().getGlobalEventTarget(this._doc,t);if(!i)throw new Error(`Unsupported event target ${i} for event ${n}`);return this.addEventListener(i,n,r)}}let Uy=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(i=>{this._stylesSet.has(i)||(this._stylesSet.add(i),r.add(i))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})(),ws=(()=>{class e extends Uy{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,i){n.forEach(s=>{const o=this._doc.createElement("style");o.textContent=s,i.push(r.appendChild(o))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach($y),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,i)=>{this._addStylesToHost(n,i,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach($y))}}return e.\u0275fac=function(n){return new(n||e)(V(ft))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();function $y(e){Kn().remove(e)}const Nl={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/MathML/"},Ol=/%COMP%/g;function aa(e,t,n){for(let r=0;r<t.length;r++){let i=t[r];Array.isArray(i)?aa(e,i,n):(i=i.replace(Ol,e),n.push(i))}return n}function Gy(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Fl=(()=>{class e{constructor(n,r,i){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new xl(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case tn.Emulated:{let i=this.rendererByCompId.get(r.id);return i||(i=new i3(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,i)),i.applyToHost(n),i}case 1:case tn.ShadowDom:return new s3(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const i=aa(r.id,r.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(V(oa),V(ws),V(ps))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();class xl{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(Nl[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){t.appendChild(n)}insertBefore(t,n,r){t&&t.insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,i){if(i){n=i+":"+n;const s=Nl[i];s?t.setAttributeNS(s,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const i=Nl[r];i?t.removeAttributeNS(i,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,i){i&(Et.DashCase|Et.Important)?t.style.setProperty(n,r,i&Et.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Et.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,Gy(r)):this.eventManager.addEventListener(t,n,Gy(r))}}class i3 extends xl{constructor(t,n,r,i){super(t),this.component=r;const s=aa(i+"-"+r.id,r.styles,[]);n.addStyles(s),this.contentAttr=function t3(e){return"_ngcontent-%COMP%".replace(Ol,e)}(i+"-"+r.id),this.hostAttr=function n3(e){return"_nghost-%COMP%".replace(Ol,e)}(i+"-"+r.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class s3 extends xl{constructor(t,n,r,i){super(t),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=aa(i.id,i.styles,[]);for(let o=0;o<s.length;o++){const a=document.createElement("style");a.textContent=s[o],this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let o3=(()=>{class e extends Vy{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i){return n.addEventListener(r,i,!1),()=>this.removeEventListener(n,r,i)}removeEventListener(n,r,i){return n.removeEventListener(r,i)}}return e.\u0275fac=function(n){return new(n||e)(V(ft))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();const Qy=["alt","control","meta","shift"],u3={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Zy={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},c3={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let l3=(()=>{class e extends Vy{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,i){const s=e.parseEventName(r),o=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Kn().onAndCancel(n,s.domEventName,o))}static parseEventName(n){const r=n.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const s=e._normalizeKey(r.pop());let o="";if(Qy.forEach(u=>{const l=r.indexOf(u);l>-1&&(r.splice(l,1),o+=u+".")}),o+=s,0!=r.length||0===s.length)return null;const a={};return a.domEventName=i,a.fullKey=o,a}static getEventFullKey(n){let r="",i=function d3(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Zy.hasOwnProperty(t)&&(t=Zy[t]))}return u3[t]||t}(n);return i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),Qy.forEach(s=>{s!=i&&c3[s](n)&&(r+=s+".")}),r+=i,r}static eventCallback(n,r,i){return s=>{e.getEventFullKey(s)===n&&i.runGuarded(()=>r(s))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(V(ft))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();const g3=iy(mI,"browser",[{provide:el,useValue:"browser"},{provide:Km,useValue:function f3(){kl.makeCurrent(),Rl.init()},multi:!0},{provide:ft,useFactory:function p3(){return function ww(e){Za=e}(document),document},deps:[]}]),m3=[{provide:lc,useValue:"root"},{provide:Ki,useFactory:function h3(){return new Ki},deps:[]},{provide:sa,useClass:o3,multi:!0,deps:[ft,Ye,el]},{provide:sa,useClass:l3,multi:!0,deps:[ft]},{provide:Fl,useClass:Fl,deps:[oa,ws,ps]},{provide:hm,useExisting:Fl},{provide:Uy,useExisting:ws},{provide:ws,useClass:ws,deps:[ft]},{provide:il,useClass:il,deps:[Ye]},{provide:oa,useClass:oa,deps:[sa,Ye]},{provide:Hy,useClass:YT,deps:[]}];let y3=(()=>{class e{constructor(n){if(n)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(n){return{ngModule:e,providers:[{provide:ps,useValue:n.appId},{provide:By,useExisting:ps},JT]}}}return e.\u0275fac=function(n){return new(n||e)(V(e,12))},e.\u0275mod=bn({type:e}),e.\u0275inj=en({providers:m3,imports:[BT,yI]}),e})(),Ll=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}}return e.\u0275fac=function(n){return new(n||e)(V(ft))},e.\u0275prov=Y({token:e,factory:function(n){let r=null;return r=n?new n:function _3(){return new Ll(V(ft))}(),r},providedIn:"root"}),e})();function X(...e){return Ke(e,Ii(e))}"undefined"!=typeof window&&window;class Xt extends j{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}const{isArray:T3}=Array,{getPrototypeOf:A3,prototype:P3,keys:k3}=Object;const{isArray:O3}=Array;function j3(...e){const t=Ii(e),n=function F_(e){return me(ka(e))?e.pop():void 0}(e),{args:r,keys:i}=function R3(e){if(1===e.length){const t=e[0];if(T3(t))return{args:t,keys:null};if(function N3(e){return e&&"object"==typeof e&&A3(e)===P3}(t)){const n=k3(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e);if(0===r.length)return Ke([],t);const s=new _(function H3(e,t,n=k){return r=>{Yy(t,()=>{const{length:i}=e,s=new Array(i);let o=i,a=i;for(let u=0;u<i;u++)Yy(t,()=>{const l=Ke(e[u],t);let d=!1;l.subscribe(le(r,p=>{s[u]=p,d||(d=!0,a--),a||r.next(n(s.slice()))},()=>{--o||r.complete()}))},r)},r)}}(r,t,i?o=>function L3(e,t){return e.reduce((n,r,i)=>(n[r]=t[i],n),{})}(i,o):k));return n?s.pipe(function x3(e){return G(t=>function F3(e,t){return O3(t)?e(...t):e(t)}(e,t))}(n)):s}function Yy(e,t,n){e?vn(n,e,t):t()}function ua(e,t){const n=me(e)?e:()=>e,r=i=>i.error(n());return new _(t?i=>t.schedule(r,0,i):r)}const ca=pn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Hl(...e){return function B3(){return Si(1)}()(Ke(e,Ii(e)))}function Xy(e){return new _(t=>{yn(e()).subscribe(t)})}function ev(){return ye((e,t)=>{let n=null;e._refCount++;const r=le(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const i=e._connection,s=n;n=null,i&&(!s||i===s)&&i.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}class V3 extends _{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,We(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,null==t||t.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new et;const n=this.getSubject();t.add(this.source.subscribe(le(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=et.EMPTY)}return t}refCount(){return ev()(this)}}function yr(e,t){return ye((n,r)=>{let i=null,s=0,o=!1;const a=()=>o&&!i&&r.complete();n.subscribe(le(r,u=>{null==i||i.unsubscribe();let l=0;const d=s++;yn(e(u,d)).subscribe(i=le(r,p=>r.next(t?t(u,p,d,l++):p),()=>{i=null,a()}))},()=>{o=!0,a()}))})}function $3(e,t,n,r,i){return(s,o)=>{let a=n,u=t,l=0;s.subscribe(le(o,d=>{const p=l++;u=a?e(u,d,p):(a=!0,d),r&&o.next(u)},i&&(()=>{a&&o.next(u),o.complete()})))}}function tv(e,t){return ye($3(e,t,arguments.length>=2,!0))}function vr(e,t){return ye((n,r)=>{let i=0;n.subscribe(le(r,s=>e.call(t,s,i++)&&r.next(s)))})}function Yn(e){return ye((t,n)=>{let s,r=null,i=!1;r=t.subscribe(le(n,void 0,void 0,o=>{s=yn(e(o,Yn(e)(t))),r?(r.unsubscribe(),r=null,s.subscribe(n)):i=!0})),i&&(r.unsubscribe(),r=null,s.subscribe(n))})}function gi(e,t){return me(t)?qe(e,t,1):qe(e,1)}function Bl(e){return e<=0?()=>_n:ye((t,n)=>{let r=[];t.subscribe(le(n,i=>{r.push(i),e<r.length&&r.shift()},()=>{for(const i of r)n.next(i);n.complete()},void 0,()=>{r=null}))})}function nv(e=z3){return ye((t,n)=>{let r=!1;t.subscribe(le(n,i=>{r=!0,n.next(i)},()=>r?n.complete():n.error(e())))})}function z3(){return new ca}function rv(e){return ye((t,n)=>{let r=!1;t.subscribe(le(n,i=>{r=!0,n.next(i)},()=>{r||n.next(e),n.complete()}))})}function mi(e,t){const n=arguments.length>=2;return r=>r.pipe(e?vr((i,s)=>e(i,s,r)):k,js(1),n?rv(t):nv(()=>new ca))}function It(e,t,n){const r=me(e)||t||n?{next:e,error:t,complete:n}:e;return r?ye((i,s)=>{var o;null===(o=r.subscribe)||void 0===o||o.call(r);let a=!0;i.subscribe(le(s,u=>{var l;null===(l=r.next)||void 0===l||l.call(r,u),s.next(u)},()=>{var u;a=!1,null===(u=r.complete)||void 0===u||u.call(r),s.complete()},u=>{var l;a=!1,null===(l=r.error)||void 0===l||l.call(r,u),s.error(u)},()=>{var u,l;a&&(null===(u=r.unsubscribe)||void 0===u||u.call(r)),null===(l=r.finalize)||void 0===l||l.call(r)}))}):k}class Rn{constructor(t,n){this.id=t,this.url=n}}class Vl extends Rn{constructor(t,n,r="imperative",i=null){super(t,n),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ds extends Rn{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class iv extends Rn{constructor(t,n,r){super(t,n),this.reason=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class W3 extends Rn{constructor(t,n,r){super(t,n),this.error=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Q3 extends Rn{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Z3 extends Rn{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class K3 extends Rn{constructor(t,n,r,i,s){super(t,n),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class J3 extends Rn{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Y3 extends Rn{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class sv{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ov{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class X3{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class eA{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class tA{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class nA{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class av{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const se="primary";class rA{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}}function yi(e){return new rA(e)}const uv="ngNavigationCancelingError";function Ul(e){const t=Error("NavigationCancelingError: "+e);return t[uv]=!0,t}function sA(e,t,n){const r=n.path.split("/");if(r.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;const i={};for(let s=0;s<r.length;s++){const o=r[s],a=e[s];if(o.startsWith(":"))i[o.substring(1)]=a;else if(o!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:i}}function fn(e,t){const n=e?Object.keys(e):void 0,r=t?Object.keys(t):void 0;if(!n||!r||n.length!=r.length)return!1;let i;for(let s=0;s<n.length;s++)if(i=n[s],!cv(e[i],t[i]))return!1;return!0}function cv(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;const n=[...e].sort(),r=[...t].sort();return n.every((i,s)=>r[s]===i)}return e===t}function lv(e){return Array.prototype.concat.apply([],e)}function dv(e){return e.length>0?e[e.length-1]:null}function Xe(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function hn(e){return Wp(e)?e:Po(e)?Ke(Promise.resolve(e)):X(e)}const uA={exact:function pv(e,t,n){if(!wr(e.segments,t.segments)||!la(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!pv(e.children[r],t.children[r],n))return!1;return!0},subset:gv},fv={exact:function cA(e,t){return fn(e,t)},subset:function lA(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>cv(e[n],t[n]))},ignored:()=>!0};function hv(e,t,n){return uA[n.paths](e.root,t.root,n.matrixParams)&&fv[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function gv(e,t,n){return mv(e,t,t.segments,n)}function mv(e,t,n,r){if(e.segments.length>n.length){const i=e.segments.slice(0,n.length);return!(!wr(i,n)||t.hasChildren()||!la(i,n,r))}if(e.segments.length===n.length){if(!wr(e.segments,n)||!la(e.segments,n,r))return!1;for(const i in t.children)if(!e.children[i]||!gv(e.children[i],t.children[i],r))return!1;return!0}{const i=n.slice(0,e.segments.length),s=n.slice(e.segments.length);return!!(wr(e.segments,i)&&la(e.segments,i,r)&&e.children[se])&&mv(e.children[se],t,s,r)}}function la(e,t,n){return t.every((r,i)=>fv[n](e[i].parameters,r.parameters))}class _r{constructor(t,n,r){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=yi(this.queryParams)),this._queryParamMap}toString(){return hA.serialize(this)}}class ce{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Xe(n,(r,i)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return da(this)}}class bs{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=yi(this.parameters)),this._parameterMap}toString(){return Dv(this)}}function wr(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}class yv{}class vv{parse(t){const n=new bA(t);return new _r(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${Cs(t.root,!0)}`,r=function mA(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(i=>`${fa(n)}=${fa(i)}`).join("&"):`${fa(n)}=${fa(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function pA(e){return encodeURI(e)}(t.fragment)}`:""}`}}const hA=new vv;function da(e){return e.segments.map(t=>Dv(t)).join("/")}function Cs(e,t){if(!e.hasChildren())return da(e);if(t){const n=e.children[se]?Cs(e.children[se],!1):"",r=[];return Xe(e.children,(i,s)=>{s!==se&&r.push(`${s}:${Cs(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function fA(e,t){let n=[];return Xe(e.children,(r,i)=>{i===se&&(n=n.concat(t(r,i)))}),Xe(e.children,(r,i)=>{i!==se&&(n=n.concat(t(r,i)))}),n}(e,(r,i)=>i===se?[Cs(e.children[se],!1)]:[`${i}:${Cs(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[se]?`${da(e)}/${n[0]}`:`${da(e)}/(${n.join("//")})`}}function _v(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function fa(e){return _v(e).replace(/%3B/gi,";")}function $l(e){return _v(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ha(e){return decodeURIComponent(e)}function wv(e){return ha(e.replace(/\+/g,"%20"))}function Dv(e){return`${$l(e.path)}${function gA(e){return Object.keys(e).map(t=>`;${$l(t)}=${$l(e[t])}`).join("")}(e.parameters)}`}const yA=/^[^\/()?;=#]+/;function pa(e){const t=e.match(yA);return t?t[0]:""}const vA=/^[^=?&#]+/,wA=/^[^&#]+/;class bA{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ce([],{}):new ce([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[se]=new ce(t,n)),r}parseSegment(){const t=pa(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new bs(ha(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=pa(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const i=pa(this.remaining);i&&(r=i,this.capture(r))}t[ha(n)]=ha(r)}parseQueryParam(t){const n=function _A(e){const t=e.match(vA);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=function DA(e){const t=e.match(wA);return t?t[0]:""}(this.remaining);o&&(r=o,this.capture(r))}const i=wv(n),s=wv(r);if(t.hasOwnProperty(i)){let o=t[i];Array.isArray(o)||(o=[o],t[i]=o),o.push(s)}else t[i]=s}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=pa(this.remaining),i=this.remaining[r.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let s;r.indexOf(":")>-1?(s=r.substr(0,r.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=se);const o=this.parseChildren();n[s]=1===Object.keys(o).length?o[se]:new ce([],o),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class bv{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){const n=zl(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=zl(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=ql(t,this._root);return n.length<2?[]:n[n.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return ql(t,this._root).map(n=>n.value)}}function zl(e,t){if(e===t.value)return t;for(const n of t.children){const r=zl(e,n);if(r)return r}return null}function ql(e,t){if(e===t.value)return[t];for(const n of t.children){const r=ql(e,n);if(r.length)return r.unshift(t),r}return[]}class Nn{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function vi(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class Cv extends bv{constructor(t,n){super(t),this.snapshot=n,Gl(this,t)}toString(){return this.snapshot.toString()}}function Ev(e,t){const n=function CA(e,t){const o=new ga([],{},{},"",{},se,t,null,e.root,-1,{});return new Sv("",new Nn(o,[]))}(e,t),r=new Xt([new bs("",{})]),i=new Xt({}),s=new Xt({}),o=new Xt({}),a=new Xt(""),u=new _i(r,i,o,a,s,se,t,n.root);return u.snapshot=n.root,new Cv(new Nn(u,[]),n)}class _i{constructor(t,n,r,i,s,o,a,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=s,this.outlet=o,this.component=a,this._futureSnapshot=u}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(G(t=>yi(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(G(t=>yi(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Mv(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const i=n[r],s=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(s.component)break;r--}}return function EA(e){return e.reduce((t,n)=>({params:Object.assign(Object.assign({},t.params),n.params),data:Object.assign(Object.assign({},t.data),n.data),resolve:Object.assign(Object.assign({},t.resolve),n._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class ga{constructor(t,n,r,i,s,o,a,u,l,d,p){this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=s,this.outlet=o,this.component=a,this.routeConfig=u,this._urlSegment=l,this._lastPathIndex=d,this._resolve=p}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=yi(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=yi(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Sv extends bv{constructor(t,n){super(n),this.url=t,Gl(this,n)}toString(){return Iv(this._root)}}function Gl(e,t){t.value._routerState=e,t.children.forEach(n=>Gl(e,n))}function Iv(e){const t=e.children.length>0?` { ${e.children.map(Iv).join(", ")} } `:"";return`${e.value}${t}`}function Wl(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,fn(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),fn(t.params,n.params)||e.params.next(n.params),function oA(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!fn(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),fn(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function Ql(e,t){const n=fn(e.params,t.params)&&function dA(e,t){return wr(e,t)&&e.every((n,r)=>fn(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||Ql(e.parent,t.parent))}function Es(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const i=function SA(e,t,n){return t.children.map(r=>{for(const i of n.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return Es(e,r,i);return Es(e,r)})}(e,t,n);return new Nn(r,i)}{if(e.shouldAttach(t.value)){const s=e.retrieve(t.value);if(null!==s){const o=s.route;return o.value._futureSnapshot=t.value,o.children=t.children.map(a=>Es(e,a)),o}}const r=function IA(e){return new _i(new Xt(e.url),new Xt(e.params),new Xt(e.queryParams),new Xt(e.fragment),new Xt(e.data),e.outlet,e.component,e)}(t.value),i=t.children.map(s=>Es(e,s));return new Nn(r,i)}}function ma(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Ms(e){return"object"==typeof e&&null!=e&&e.outlets}function Zl(e,t,n,r,i){let s={};if(r&&Xe(r,(a,u)=>{s[u]=Array.isArray(a)?a.map(l=>`${l}`):`${a}`}),e===t)return new _r(n,s,i);const o=Tv(e,t,n);return new _r(o,s,i)}function Tv(e,t,n){const r={};return Xe(e.children,(i,s)=>{r[s]=i===t?n:Tv(i,t,n)}),new ce(e.segments,r)}class Av{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&ma(r[0]))throw new Error("Root segment cannot have matrix parameters");const i=r.find(Ms);if(i&&i!==dv(r))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Kl{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function Pv(e,t,n){if(e||(e=new ce([],{})),0===e.segments.length&&e.hasChildren())return ya(e,t,n);const r=function NA(e,t,n){let r=0,i=t;const s={match:!1,pathIndex:0,commandIndex:0};for(;i<e.segments.length;){if(r>=n.length)return s;const o=e.segments[i],a=n[r];if(Ms(a))break;const u=`${a}`,l=r<n.length-1?n[r+1]:null;if(i>0&&void 0===u)break;if(u&&l&&"object"==typeof l&&void 0===l.outlets){if(!Rv(u,l,o))return s;r+=2}else{if(!Rv(u,{},o))return s;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){const s=new ce(e.segments.slice(0,r.pathIndex),{});return s.children[se]=new ce(e.segments.slice(r.pathIndex),e.children),ya(s,0,i)}return r.match&&0===i.length?new ce(e.segments,{}):r.match&&!e.hasChildren()?Jl(e,t,n):r.match?ya(e,0,i):Jl(e,t,n)}function ya(e,t,n){if(0===n.length)return new ce(e.segments,{});{const r=function RA(e){return Ms(e[0])?e[0].outlets:{[se]:e}}(n),i={};return Xe(r,(s,o)=>{"string"==typeof s&&(s=[s]),null!==s&&(i[o]=Pv(e.children[o],t,s))}),Xe(e.children,(s,o)=>{void 0===r[o]&&(i[o]=s)}),new ce(e.segments,i)}}function Jl(e,t,n){const r=e.segments.slice(0,t);let i=0;for(;i<n.length;){const s=n[i];if(Ms(s)){const u=OA(s.outlets);return new ce(r,u)}if(0===i&&ma(n[0])){r.push(new bs(e.segments[t].path,kv(n[0]))),i++;continue}const o=Ms(s)?s.outlets[se]:`${s}`,a=i<n.length-1?n[i+1]:null;o&&a&&ma(a)?(r.push(new bs(o,kv(a))),i+=2):(r.push(new bs(o,{})),i++)}return new ce(r,{})}function OA(e){const t={};return Xe(e,(n,r)=>{"string"==typeof n&&(n=[n]),null!==n&&(t[r]=Jl(new ce([],{}),0,n))}),t}function kv(e){const t={};return Xe(e,(n,r)=>t[r]=`${n}`),t}function Rv(e,t,n){return e==n.path&&fn(t,n.parameters)}class xA{constructor(t,n,r,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=i}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Wl(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const i=vi(n);t.children.forEach(s=>{const o=s.value.outlet;this.deactivateRoutes(s,i[o],r),delete i[o]}),Xe(i,(s,o)=>{this.deactivateRouteAndItsChildren(s,r)})}deactivateRoutes(t,n,r){const i=t.value,s=n?n.value:null;if(i===s)if(i.component){const o=r.getContext(i.outlet);o&&this.deactivateChildRoutes(t,n,o.children)}else this.deactivateChildRoutes(t,n,r);else s&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,s=vi(t);for(const o of Object.keys(s))this.deactivateRouteAndItsChildren(s[o],i);if(r&&r.outlet){const o=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:o,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){const r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,s=vi(t);for(const o of Object.keys(s))this.deactivateRouteAndItsChildren(s[o],i);r&&r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated(),r.attachRef=null,r.resolver=null,r.route=null)}activateChildRoutes(t,n,r){const i=vi(n);t.children.forEach(s=>{this.activateRoutes(s,i[s.value.outlet],r),this.forwardEvent(new nA(s.value.snapshot))}),t.children.length&&this.forwardEvent(new eA(t.value.snapshot))}activateRoutes(t,n,r){const i=t.value,s=n?n.value:null;if(Wl(i),i===s)if(i.component){const o=r.getOrCreateContext(i.outlet);this.activateChildRoutes(t,n,o.children)}else this.activateChildRoutes(t,n,r);else if(i.component){const o=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),Wl(a.route.value),this.activateChildRoutes(t,null,o.children)}else{const a=function LA(e){for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(i.snapshot),u=a?a.module.componentFactoryResolver:null;o.attachRef=null,o.route=i,o.resolver=u,o.outlet&&o.outlet.activateWith(i,u),this.activateChildRoutes(t,null,o.children)}}else this.activateChildRoutes(t,null,r)}}class Yl{constructor(t,n){this.routes=t,this.module=n}}function Xn(e){return"function"==typeof e}function Dr(e){return e instanceof _r}const Ss=Symbol("INITIAL_VALUE");function Is(){return yr(e=>j3(e.map(t=>t.pipe(js(1),function U3(...e){const t=Ii(e);return ye((n,r)=>{(t?Hl(e,n,t):Hl(e,n)).subscribe(r)})}(Ss)))).pipe(tv((t,n)=>{let r=!1;return n.reduce((i,s,o)=>i!==Ss?i:(s===Ss&&(r=!0),r||!1!==s&&o!==n.length-1&&!Dr(s)?i:s),t)},Ss),vr(t=>t!==Ss),G(t=>Dr(t)?t:!0===t),js(1)))}class $A{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Ts,this.attachRef=null}}class Ts{constructor(){this.contexts=new Map}onChildOutletCreated(t,n){const r=this.getOrCreateContext(t);r.outlet=n,this.contexts.set(t,r)}onChildOutletDestroyed(t){const n=this.getContext(t);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let n=this.getContext(t);return n||(n=new $A,this.contexts.set(t,n)),n}getContext(t){return this.contexts.get(t)||null}}let Xl=(()=>{class e{constructor(n,r,i,s,o){this.parentContexts=n,this.location=r,this.resolver=i,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new lt,this.deactivateEvents=new lt,this.attachEvents=new lt,this.detachEvents=new lt,this.name=s||se,n.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const n=this.parentContexts.getContext(this.name);n&&n.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=n;const o=(r=r||this.resolver).resolveComponentFactory(n._futureSnapshot.routeConfig.component),a=this.parentContexts.getOrCreateContext(this.name).children,u=new zA(n,a,this.location.injector);this.activated=this.location.createComponent(o,this.location.length,u),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(n){return new(n||e)(H(Ts),H(Kt),H(cs),function Li(e){return function Jw(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const s=n[i];if(gf(s))break;if(0===s)i+=2;else if("number"==typeof s)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(s===t)return n[i+1];i+=2}}}return null}(Ve(),e)}("name"),H(cl))},e.\u0275dir=tt({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),e})();class zA{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===_i?this.route:t===Ts?this.childContexts:this.parent.get(t,n)}}let Nv=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=jn({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(n,r){1&n&&St(0,"router-outlet")},directives:[Xl],encapsulation:2}),e})();function Ov(e,t=""){for(let n=0;n<e.length;n++){const r=e[n];qA(r,GA(t,r))}}function qA(e,t){e.children&&Ov(e.children,t)}function GA(e,t){return t?e||t.path?e&&!t.path?`${e}/`:!e&&t.path?t.path:`${e}/${t.path}`:"":e}function ed(e){const t=e.children&&e.children.map(ed),n=t?Object.assign(Object.assign({},e),{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&n.outlet!==se&&(n.component=Nv),n}function jt(e){return e.outlet||se}function Fv(e,t){const n=e.filter(r=>jt(r)===t);return n.push(...e.filter(r=>jt(r)!==t)),n}const xv={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function va(e,t,n){var r;if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?Object.assign({},xv):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const s=(t.matcher||sA)(n,e,t);if(!s)return Object.assign({},xv);const o={};Xe(s.posParams,(u,l)=>{o[l]=u.path});const a=s.consumed.length>0?Object.assign(Object.assign({},o),s.consumed[s.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:s.consumed,remainingSegments:n.slice(s.consumed.length),parameters:a,positionalParamSegments:null!==(r=s.posParams)&&void 0!==r?r:{}}}function _a(e,t,n,r,i="corrected"){if(n.length>0&&function ZA(e,t,n){return n.some(r=>wa(e,t,r)&&jt(r)!==se)}(e,n,r)){const o=new ce(t,function QA(e,t,n,r){const i={};i[se]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const s of n)if(""===s.path&&jt(s)!==se){const o=new ce([],{});o._sourceSegment=e,o._segmentIndexShift=t.length,i[jt(s)]=o}return i}(e,t,r,new ce(n,e.children)));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&function KA(e,t,n){return n.some(r=>wa(e,t,r))}(e,n,r)){const o=new ce(e.segments,function WA(e,t,n,r,i,s){const o={};for(const a of r)if(wa(e,n,a)&&!i[jt(a)]){const u=new ce([],{});u._sourceSegment=e,u._segmentIndexShift="legacy"===s?e.segments.length:t.length,o[jt(a)]=u}return Object.assign(Object.assign({},i),o)}(e,t,n,r,e.children,i));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}const s=new ce(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function wa(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function Lv(e,t,n,r){return!!(jt(e)===r||r!==se&&wa(t,n,e))&&("**"===e.path||va(t,e,n).matched)}function jv(e,t,n){return 0===t.length&&!e.children[n]}class Da{constructor(t){this.segmentGroup=t||null}}class Hv{constructor(t){this.urlTree=t}}function As(e){return ua(new Da(e))}function Bv(e){return ua(new Hv(e))}class e1{constructor(t,n,r,i,s){this.configLoader=n,this.urlSerializer=r,this.urlTree=i,this.config=s,this.allowRedirects=!0,this.ngModule=t.get(Tn)}apply(){const t=_a(this.urlTree.root,[],[],this.config).segmentGroup,n=new ce(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,n,se).pipe(G(s=>this.createUrlTree(td(s),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Yn(s=>{if(s instanceof Hv)return this.allowRedirects=!1,this.match(s.urlTree);throw s instanceof Da?this.noMatchError(s):s}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,se).pipe(G(i=>this.createUrlTree(td(i),t.queryParams,t.fragment))).pipe(Yn(i=>{throw i instanceof Da?this.noMatchError(i):i}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,n,r){const i=t.segments.length>0?new ce([],{[se]:t}):t;return new _r(i,n,r)}expandSegmentGroup(t,n,r,i){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(t,n,r).pipe(G(s=>new ce([],s))):this.expandSegment(t,r,n,r.segments,i,!0)}expandChildren(t,n,r){const i=[];for(const s of Object.keys(r.children))"primary"===s?i.unshift(s):i.push(s);return Ke(i).pipe(gi(s=>{const o=r.children[s],a=Fv(n,s);return this.expandSegmentGroup(t,a,o,s).pipe(G(u=>({segment:u,outlet:s})))}),tv((s,o)=>(s[o.outlet]=o.segment,s),{}),function q3(e,t){const n=arguments.length>=2;return r=>r.pipe(e?vr((i,s)=>e(i,s,r)):k,Bl(1),n?rv(t):nv(()=>new ca))}())}expandSegment(t,n,r,i,s,o){return Ke(r).pipe(gi(a=>this.expandSegmentAgainstRoute(t,n,r,a,i,s,o).pipe(Yn(l=>{if(l instanceof Da)return X(null);throw l}))),mi(a=>!!a),Yn((a,u)=>{if(a instanceof ca||"EmptyError"===a.name)return jv(n,i,s)?X(new ce([],{})):As(n);throw a}))}expandSegmentAgainstRoute(t,n,r,i,s,o,a){return Lv(i,n,s,o)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,n,i,s,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,n,r,i,s,o):As(n):As(n)}expandSegmentAgainstRouteUsingRedirect(t,n,r,i,s,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,i,s,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i){const s=this.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?Bv(s):this.lineralizeSegments(r,s).pipe(qe(o=>{const a=new ce(o,{});return this.expandSegment(t,a,n,o,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,i,s,o){const{matched:a,consumedSegments:u,remainingSegments:l,positionalParamSegments:d}=va(n,i,s);if(!a)return As(n);const p=this.applyRedirectCommands(u,i.redirectTo,d);return i.redirectTo.startsWith("/")?Bv(p):this.lineralizeSegments(i,p).pipe(qe(g=>this.expandSegment(t,n,r,g.concat(l),o,!1)))}matchSegmentAgainstRoute(t,n,r,i,s){if("**"===r.path)return r.loadChildren?(r._loadedConfig?X(r._loadedConfig):this.configLoader.load(t.injector,r)).pipe(G(p=>(r._loadedConfig=p,new ce(i,{})))):X(new ce(i,{}));const{matched:o,consumedSegments:a,remainingSegments:u}=va(n,r,i);return o?this.getChildConfig(t,r,i).pipe(qe(d=>{const p=d.module,g=d.routes,{segmentGroup:y,slicedSegments:b}=_a(n,a,u,g),S=new ce(y.segments,y.children);if(0===b.length&&S.hasChildren())return this.expandChildren(p,g,S).pipe(G(B=>new ce(a,B)));if(0===g.length&&0===b.length)return X(new ce(a,{}));const P=jt(r)===s;return this.expandSegment(p,S,g,b,P?se:s,!0).pipe(G(M=>new ce(a.concat(M.segments),M.children)))})):As(n)}getChildConfig(t,n,r){return n.children?X(new Yl(n.children,t)):n.loadChildren?void 0!==n._loadedConfig?X(n._loadedConfig):this.runCanLoadGuards(t.injector,n,r).pipe(qe(i=>i?this.configLoader.load(t.injector,n).pipe(G(s=>(n._loadedConfig=s,s))):function YA(e){return ua(Ul(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`))}(n))):X(new Yl([],t))}runCanLoadGuards(t,n,r){const i=n.canLoad;return i&&0!==i.length?X(i.map(o=>{const a=t.get(o);let u;if(function HA(e){return e&&Xn(e.canLoad)}(a))u=a.canLoad(n,r);else{if(!Xn(a))throw new Error("Invalid CanLoad guard");u=a(n,r)}return hn(u)})).pipe(Is(),It(o=>{if(!Dr(o))return;const a=Ul(`Redirecting to "${this.urlSerializer.serialize(o)}"`);throw a.url=o,a}),G(o=>!0===o)):X(!0)}lineralizeSegments(t,n){let r=[],i=n.root;for(;;){if(r=r.concat(i.segments),0===i.numberOfChildren)return X(r);if(i.numberOfChildren>1||!i.children[se])return ua(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t.redirectTo}'`));i=i.children[se]}}applyRedirectCommands(t,n,r){return this.applyRedirectCreatreUrlTree(n,this.urlSerializer.parse(n),t,r)}applyRedirectCreatreUrlTree(t,n,r,i){const s=this.createSegmentGroup(t,n.root,r,i);return new _r(s,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Xe(t,(i,s)=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[s]=n[a]}else r[s]=i}),r}createSegmentGroup(t,n,r,i){const s=this.createSegments(t,n.segments,r,i);let o={};return Xe(n.children,(a,u)=>{o[u]=this.createSegmentGroup(t,a,r,i)}),new ce(s,o)}createSegments(t,n,r,i){return n.map(s=>s.path.startsWith(":")?this.findPosParam(t,s,i):this.findOrReturn(s,r))}findPosParam(t,n,r){const i=r[n.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${t}'. Cannot find '${n.path}'.`);return i}findOrReturn(t,n){let r=0;for(const i of n){if(i.path===t.path)return n.splice(r),i;r++}return t}}function td(e){const t={};for(const r of Object.keys(e.children)){const s=td(e.children[r]);(s.segments.length>0||s.hasChildren())&&(t[r]=s)}return function t1(e){if(1===e.numberOfChildren&&e.children[se]){const t=e.children[se];return new ce(e.segments.concat(t.segments),t.children)}return e}(new ce(e.segments,t))}class Vv{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class ba{constructor(t,n){this.component=t,this.route=n}}function r1(e,t,n){const r=e._root;return Ps(r,t?t._root:null,n,[r.value])}function Ca(e,t,n){const r=function s1(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function Ps(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=vi(t);return e.children.forEach(o=>{(function o1(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=e.value,o=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){const u=function a1(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!wr(e.url,t.url);case"pathParamsOrQueryParamsChange":return!wr(e.url,t.url)||!fn(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ql(e,t)||!fn(e.queryParams,t.queryParams);default:return!Ql(e,t)}}(o,s,s.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new Vv(r)):(s.data=o.data,s._resolvedData=o._resolvedData),Ps(e,t,s.component?a?a.children:null:n,r,i),u&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new ba(a.outlet.component,o))}else o&&ks(t,a,i),i.canActivateChecks.push(new Vv(r)),Ps(e,null,s.component?a?a.children:null:n,r,i)})(o,s[o.value.outlet],n,r.concat([o.value]),i),delete s[o.value.outlet]}),Xe(s,(o,a)=>ks(o,n.getContext(a),i)),i}function ks(e,t,n){const r=vi(e),i=e.value;Xe(r,(s,o)=>{ks(s,i.component?t?t.children.getContext(o):null:t,n)}),n.canDeactivateChecks.push(new ba(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}class m1{}function Uv(e){return new _(t=>t.error(e))}class v1{constructor(t,n,r,i,s,o){this.rootComponentType=t,this.config=n,this.urlTree=r,this.url=i,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=o}recognize(){const t=_a(this.urlTree.root,[],[],this.config.filter(o=>void 0===o.redirectTo),this.relativeLinkResolution).segmentGroup,n=this.processSegmentGroup(this.config,t,se);if(null===n)return null;const r=new ga([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},se,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Nn(r,n),s=new Sv(this.url,i);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(t){const n=t.value,r=Mv(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(i=>this.inheritParamsAndData(i))}processSegmentGroup(t,n,r){return 0===n.segments.length&&n.hasChildren()?this.processChildren(t,n):this.processSegment(t,n,n.segments,r)}processChildren(t,n){const r=[];for(const s of Object.keys(n.children)){const o=n.children[s],a=Fv(t,s),u=this.processSegmentGroup(a,o,s);if(null===u)return null;r.push(...u)}const i=$v(r);return function _1(e){e.sort((t,n)=>t.value.outlet===se?-1:n.value.outlet===se?1:t.value.outlet.localeCompare(n.value.outlet))}(i),i}processSegment(t,n,r,i){for(const s of t){const o=this.processSegmentAgainstRoute(s,n,r,i);if(null!==o)return o}return jv(n,r,i)?[]:null}processSegmentAgainstRoute(t,n,r,i){if(t.redirectTo||!Lv(t,n,r,i))return null;let s,o=[],a=[];if("**"===t.path){const y=r.length>0?dv(r).parameters:{};s=new ga(r,y,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Gv(t),jt(t),t.component,t,zv(n),qv(n)+r.length,Wv(t))}else{const y=va(n,t,r);if(!y.matched)return null;o=y.consumedSegments,a=y.remainingSegments,s=new ga(o,y.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Gv(t),jt(t),t.component,t,zv(n),qv(n)+o.length,Wv(t))}const u=function w1(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:d}=_a(n,o,a,u.filter(y=>void 0===y.redirectTo),this.relativeLinkResolution);if(0===d.length&&l.hasChildren()){const y=this.processChildren(u,l);return null===y?null:[new Nn(s,y)]}if(0===u.length&&0===d.length)return[new Nn(s,[])];const p=jt(t)===i,g=this.processSegment(u,l,d,p?se:i);return null===g?null:[new Nn(s,g)]}}function D1(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function $v(e){const t=[],n=new Set;for(const r of e){if(!D1(r)){t.push(r);continue}const i=t.find(s=>r.value.routeConfig===s.value.routeConfig);void 0!==i?(i.children.push(...r.children),n.add(i)):t.push(r)}for(const r of n){const i=$v(r.children);t.push(new Nn(r.value,i))}return t.filter(r=>!n.has(r))}function zv(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function qv(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift?t._segmentIndexShift:0;return n-1}function Gv(e){return e.data||{}}function Wv(e){return e.resolve||{}}function Qv(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function nd(e){return yr(t=>{const n=e(t);return n?Ke(n).pipe(G(()=>t)):X(t)})}class A1 extends class T1{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}{}const rd=new ue("ROUTES");class Zv{constructor(t,n,r,i){this.injector=t,this.compiler=n,this.onLoadStartListener=r,this.onLoadEndListener=i}load(t,n){if(n._loader$)return n._loader$;this.onLoadStartListener&&this.onLoadStartListener(n);const i=this.loadModuleFactory(n.loadChildren).pipe(G(s=>{this.onLoadEndListener&&this.onLoadEndListener(n);const o=s.create(t);return new Yl(lv(o.injector.get(rd,void 0,q.Self|q.Optional)).map(ed),o)}),Yn(s=>{throw n._loader$=void 0,s}));return n._loader$=new V3(i,()=>new j).pipe(ev()),n._loader$}loadModuleFactory(t){return hn(t()).pipe(qe(n=>n instanceof mm?X(n):Ke(this.compiler.compileModuleAsync(n))))}}class k1{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,n){return t}}function R1(e){throw e}function N1(e,t,n){return t.parse("/")}function Kv(e,t){return X(null)}const O1={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},F1={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ht=(()=>{class e{constructor(n,r,i,s,o,a,u){this.rootComponentType=n,this.urlSerializer=r,this.rootContexts=i,this.location=s,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new j,this.errorHandler=R1,this.malformedUriErrorHandler=N1,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Kv,afterPreactivation:Kv},this.urlHandlingStrategy=new k1,this.routeReuseStrategy=new A1,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=o.get(Tn),this.console=o.get(NS);const p=o.get(Ye);this.isNgZoneEnabled=p instanceof Ye&&Ye.isInAngularZone(),this.resetConfig(u),this.currentUrlTree=function aA(){return new _r(new ce([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Zv(o,a,g=>this.triggerEvent(new sv(g)),g=>this.triggerEvent(new ov(g))),this.routerState=Ev(this.currentUrlTree,this.rootComponentType),this.transitions=new Xt({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var n;return null===(n=this.location.getState())||void 0===n?void 0:n.\u0275routerPageId}setupNavigations(n){const r=this.events;return n.pipe(vr(i=>0!==i.id),G(i=>Object.assign(Object.assign({},i),{extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),yr(i=>{let s=!1,o=!1;return X(i).pipe(It(a=>{this.currentNavigation={id:a.id,initialUrl:a.currentRawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),yr(a=>{const u=this.browserUrlTree.toString(),l=!this.navigated||a.extractedUrl.toString()!==u||u!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||l)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return Jv(a.source)&&(this.browserUrlTree=a.extractedUrl),X(a).pipe(yr(p=>{const g=this.transitions.getValue();return r.next(new Vl(p.id,this.serializeUrl(p.extractedUrl),p.source,p.restoredState)),g!==this.transitions.getValue()?_n:Promise.resolve(p)}),function n1(e,t,n,r){return yr(i=>function XA(e,t,n,r,i){return new e1(e,t,n,r,i).apply()}(e,t,n,i.extractedUrl,r).pipe(G(s=>Object.assign(Object.assign({},i),{urlAfterRedirects:s}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),It(p=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:p.urlAfterRedirects})}),function b1(e,t,n,r,i){return qe(s=>function y1(e,t,n,r,i="emptyOnly",s="legacy"){try{const o=new v1(e,t,n,r,i,s).recognize();return null===o?Uv(new m1):X(o)}catch(o){return Uv(o)}}(e,t,s.urlAfterRedirects,n(s.urlAfterRedirects),r,i).pipe(G(o=>Object.assign(Object.assign({},s),{targetSnapshot:o}))))}(this.rootComponentType,this.config,p=>this.serializeUrl(p),this.paramsInheritanceStrategy,this.relativeLinkResolution),It(p=>{if("eager"===this.urlUpdateStrategy){if(!p.extras.skipLocationChange){const y=this.urlHandlingStrategy.merge(p.urlAfterRedirects,p.rawUrl);this.setBrowserUrl(y,p)}this.browserUrlTree=p.urlAfterRedirects}const g=new Q3(p.id,this.serializeUrl(p.extractedUrl),this.serializeUrl(p.urlAfterRedirects),p.targetSnapshot);r.next(g)}));if(l&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:g,extractedUrl:y,source:b,restoredState:S,extras:P}=a,T=new Vl(g,this.serializeUrl(y),b,S);r.next(T);const M=Ev(y,this.rootComponentType).snapshot;return X(Object.assign(Object.assign({},a),{targetSnapshot:M,urlAfterRedirects:y,extras:Object.assign(Object.assign({},P),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=a.rawUrl,a.resolve(null),_n}),nd(a=>{const{targetSnapshot:u,id:l,extractedUrl:d,rawUrl:p,extras:{skipLocationChange:g,replaceUrl:y}}=a;return this.hooks.beforePreactivation(u,{navigationId:l,appliedUrlTree:d,rawUrlTree:p,skipLocationChange:!!g,replaceUrl:!!y})}),It(a=>{const u=new Z3(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(u)}),G(a=>Object.assign(Object.assign({},a),{guards:r1(a.targetSnapshot,a.currentSnapshot,this.rootContexts)})),function u1(e,t){return qe(n=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:o}}=n;return 0===o.length&&0===s.length?X(Object.assign(Object.assign({},n),{guardsResult:!0})):function c1(e,t,n,r){return Ke(e).pipe(qe(i=>function g1(e,t,n,r,i){const s=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return s&&0!==s.length?X(s.map(a=>{const u=Ca(a,t,i);let l;if(function UA(e){return e&&Xn(e.canDeactivate)}(u))l=hn(u.canDeactivate(e,t,n,r));else{if(!Xn(u))throw new Error("Invalid CanDeactivate guard");l=hn(u(e,t,n,r))}return l.pipe(mi())})).pipe(Is()):X(!0)}(i.component,i.route,n,t,r)),mi(i=>!0!==i,!0))}(o,r,i,e).pipe(qe(a=>a&&function jA(e){return"boolean"==typeof e}(a)?function l1(e,t,n,r){return Ke(t).pipe(gi(i=>Hl(function f1(e,t){return null!==e&&t&&t(new X3(e)),X(!0)}(i.route.parent,r),function d1(e,t){return null!==e&&t&&t(new tA(e)),X(!0)}(i.route,r),function p1(e,t,n){const r=t[t.length-1],s=t.slice(0,t.length-1).reverse().map(o=>function i1(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(o)).filter(o=>null!==o).map(o=>Xy(()=>X(o.guards.map(u=>{const l=Ca(u,o.node,n);let d;if(function VA(e){return e&&Xn(e.canActivateChild)}(l))d=hn(l.canActivateChild(r,e));else{if(!Xn(l))throw new Error("Invalid CanActivateChild guard");d=hn(l(r,e))}return d.pipe(mi())})).pipe(Is())));return X(s).pipe(Is())}(e,i.path,n),function h1(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return X(!0);const i=r.map(s=>Xy(()=>{const o=Ca(s,t,n);let a;if(function BA(e){return e&&Xn(e.canActivate)}(o))a=hn(o.canActivate(t,e));else{if(!Xn(o))throw new Error("Invalid CanActivate guard");a=hn(o(t,e))}return a.pipe(mi())}));return X(i).pipe(Is())}(e,i.route,n))),mi(i=>!0!==i,!0))}(r,s,e,t):X(a)),G(a=>Object.assign(Object.assign({},n),{guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),It(a=>{if(Dr(a.guardsResult)){const l=Ul(`Redirecting to "${this.serializeUrl(a.guardsResult)}"`);throw l.url=a.guardsResult,l}const u=new K3(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(u)}),vr(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,""),!1)),nd(a=>{if(a.guards.canActivateChecks.length)return X(a).pipe(It(u=>{const l=new J3(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(u.urlAfterRedirects),u.targetSnapshot);this.triggerEvent(l)}),yr(u=>{let l=!1;return X(u).pipe(function C1(e,t){return qe(n=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return X(n);let s=0;return Ke(i).pipe(gi(o=>function E1(e,t,n,r){return function M1(e,t,n,r){const i=Qv(e);if(0===i.length)return X({});const s={};return Ke(i).pipe(qe(o=>function S1(e,t,n,r){const i=Ca(e,t,r);return hn(i.resolve?i.resolve(t,n):i(t,n))}(e[o],t,n,r).pipe(It(a=>{s[o]=a}))),Bl(1),qe(()=>Qv(s).length===i.length?X(s):_n))}(e._resolve,e,t,r).pipe(G(s=>(e._resolvedData=s,e.data=Object.assign(Object.assign({},e.data),Mv(e,n).resolve),null)))}(o.route,r,e,t)),It(()=>s++),Bl(1),qe(o=>s===i.length?X(n):_n))})}(this.paramsInheritanceStrategy,this.ngModule.injector),It({next:()=>l=!0,complete:()=>{l||(this.restoreHistory(u),this.cancelNavigationTransition(u,"At least one route resolver didn't emit any value."))}}))}),It(u=>{const l=new Y3(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(u.urlAfterRedirects),u.targetSnapshot);this.triggerEvent(l)}))}),nd(a=>{const{targetSnapshot:u,id:l,extractedUrl:d,rawUrl:p,extras:{skipLocationChange:g,replaceUrl:y}}=a;return this.hooks.afterPreactivation(u,{navigationId:l,appliedUrlTree:d,rawUrlTree:p,skipLocationChange:!!g,replaceUrl:!!y})}),G(a=>{const u=function MA(e,t,n){const r=Es(e,t._root,n?n._root:void 0);return new Cv(r,t)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return Object.assign(Object.assign({},a),{targetRouterState:u})}),It(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((e,t,n)=>G(r=>(new xA(t,r.targetRouterState,r.currentRouterState,n).activate(e),r)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),It({next(){s=!0},complete(){s=!0}}),function G3(e){return ye((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}(()=>{var a;s||o||this.cancelNavigationTransition(i,`Navigation ID ${i.id} is not equal to the current navigation id ${this.navigationId}`),(null===(a=this.currentNavigation)||void 0===a?void 0:a.id)===i.id&&(this.currentNavigation=null)}),Yn(a=>{if(o=!0,function iA(e){return e&&e[uv]}(a)){const u=Dr(a.url);u||(this.navigated=!0,this.restoreHistory(i,!0));const l=new iv(i.id,this.serializeUrl(i.extractedUrl),a.message);r.next(l),u?setTimeout(()=>{const d=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),p={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Jv(i.source)};this.scheduleNavigation(d,"imperative",null,p,{resolve:i.resolve,reject:i.reject,promise:i.promise})},0):i.resolve(!1)}else{this.restoreHistory(i,!0);const u=new W3(i.id,this.serializeUrl(i.extractedUrl),a);r.next(u);try{i.resolve(this.errorHandler(a))}catch(l){i.reject(l)}}return _n}))}))}resetRootComponentType(n){this.rootComponentType=n,this.routerState.root.component=this.rootComponentType}setTransition(n){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),n))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const r="popstate"===n.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{var i;const s={replaceUrl:!0},o=(null===(i=n.state)||void 0===i?void 0:i.navigationId)?n.state:null;if(o){const u=Object.assign({},o);delete u.navigationId,delete u.\u0275routerPageId,0!==Object.keys(u).length&&(s.state=u)}const a=this.parseUrl(n.url);this.scheduleNavigation(a,r,o,s)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(n){this.events.next(n)}resetConfig(n){Ov(n),this.config=n.map(ed),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(n,r={}){const{relativeTo:i,queryParams:s,fragment:o,queryParamsHandling:a,preserveFragment:u}=r,l=i||this.routerState.root,d=u?this.currentUrlTree.fragment:o;let p=null;switch(a){case"merge":p=Object.assign(Object.assign({},this.currentUrlTree.queryParams),s);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=s||null}return null!==p&&(p=this.removeEmptyProps(p)),function TA(e,t,n,r,i){if(0===n.length)return Zl(t.root,t.root,t.root,r,i);const s=function AA(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Av(!0,0,e);let t=0,n=!1;const r=e.reduce((i,s,o)=>{if("object"==typeof s&&null!=s){if(s.outlets){const a={};return Xe(s.outlets,(u,l)=>{a[l]="string"==typeof u?u.split("/"):u}),[...i,{outlets:a}]}if(s.segmentPath)return[...i,s.segmentPath]}return"string"!=typeof s?[...i,s]:0===o?(s.split("/").forEach((a,u)=>{0==u&&"."===a||(0==u&&""===a?n=!0:".."===a?t++:""!=a&&i.push(a))}),i):[...i,s]},[]);return new Av(n,t,r)}(n);if(s.toRoot())return Zl(t.root,t.root,new ce([],{}),r,i);const o=function PA(e,t,n){if(e.isAbsolute)return new Kl(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){const s=n.snapshot._urlSegment;return new Kl(s,s===t.root,0)}const r=ma(e.commands[0])?0:1;return function kA(e,t,n){let r=e,i=t,s=n;for(;s>i;){if(s-=i,r=r.parent,!r)throw new Error("Invalid number of '../'");i=r.segments.length}return new Kl(r,!1,i-s)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(s,t,e),a=o.processChildren?ya(o.segmentGroup,o.index,s.commands):Pv(o.segmentGroup,o.index,s.commands);return Zl(t.root,o.segmentGroup,a,r,i)}(l,this.currentUrlTree,n,p,null!=d?d:null)}navigateByUrl(n,r={skipLocationChange:!1}){const i=Dr(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,"imperative",null,r)}navigate(n,r={skipLocationChange:!1}){return function x1(e){for(let t=0;t<e.length;t++){const n=e[t];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${t}`)}}(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){let r;try{r=this.urlSerializer.parse(n)}catch(i){r=this.malformedUriErrorHandler(i,this.urlSerializer,n)}return r}isActive(n,r){let i;if(i=!0===r?Object.assign({},O1):!1===r?Object.assign({},F1):r,Dr(n))return hv(this.currentUrlTree,n,i);const s=this.parseUrl(n);return hv(this.currentUrlTree,s,i)}removeEmptyProps(n){return Object.keys(n).reduce((r,i)=>{const s=n[i];return null!=s&&(r[i]=s),r},{})}processNavigations(){this.navigations.subscribe(n=>{this.navigated=!0,this.lastSuccessfulId=n.id,this.currentPageId=n.targetPageId,this.events.next(new Ds(n.id,this.serializeUrl(n.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,n.resolve(!0)},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)})}scheduleNavigation(n,r,i,s,o){var a,u;if(this.disposed)return Promise.resolve(!1);let l,d,p;o?(l=o.resolve,d=o.reject,p=o.promise):p=new Promise((b,S)=>{l=b,d=S});const g=++this.navigationId;let y;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(i=this.location.getState()),y=i&&i.\u0275routerPageId?i.\u0275routerPageId:s.replaceUrl||s.skipLocationChange?null!==(a=this.browserPageId)&&void 0!==a?a:0:(null!==(u=this.browserPageId)&&void 0!==u?u:0)+1):y=0,this.setTransition({id:g,targetPageId:y,source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:n,extras:s,resolve:l,reject:d,promise:p,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),p.catch(b=>Promise.reject(b))}setBrowserUrl(n,r){const i=this.urlSerializer.serialize(n),s=Object.assign(Object.assign({},r.extras.state),this.generateNgRouterState(r.id,r.targetPageId));this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl?this.location.replaceState(i,"",s):this.location.go(i,"",s)}restoreHistory(n,r=!1){var i,s;if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-n.targetPageId;"popstate"!==n.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(i=this.currentNavigation)||void 0===i?void 0:i.finalUrl)||0===o?this.currentUrlTree===(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)&&0===o&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(o)}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(n,r){const i=new iv(n.id,this.serializeUrl(n.extractedUrl),r);this.triggerEvent(i),n.resolve(!1)}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}}return e.\u0275fac=function(n){bc()},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();function Jv(e){return"imperative"!==e}class Yv{}class Xv{preload(t,n){return X(null)}}let e_=(()=>{class e{constructor(n,r,i,s){this.router=n,this.injector=i,this.preloadingStrategy=s,this.loader=new Zv(i,r,u=>n.triggerEvent(new sv(u)),u=>n.triggerEvent(new ov(u)))}setUpPreloading(){this.subscription=this.router.events.pipe(vr(n=>n instanceof Ds),gi(()=>this.preload())).subscribe(()=>{})}preload(){const n=this.injector.get(Tn);return this.processRoutes(n,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const i=[];for(const s of r)if(s.loadChildren&&!s.canLoad&&s._loadedConfig){const o=s._loadedConfig;i.push(this.processRoutes(o.module,o.routes))}else s.loadChildren&&!s.canLoad?i.push(this.preloadConfig(n,s)):s.children&&i.push(this.processRoutes(n,s.children));return Ke(i).pipe(Si(),G(s=>{}))}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>(r._loadedConfig?X(r._loadedConfig):this.loader.load(n.injector,r)).pipe(qe(s=>(r._loadedConfig=s,this.processRoutes(s.module,s.routes)))))}}return e.\u0275fac=function(n){return new(n||e)(V(ht),V(Ym),V(yt),V(Yv))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})(),od=(()=>{class e{constructor(n,r,i={}){this.router=n,this.viewportScroller=r,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(n=>{n instanceof Vl?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Ds&&(this.lastId=n.id,this.scheduleScrollEvent(n,this.router.parseUrl(n.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(n=>{n instanceof av&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.router.triggerEvent(new av(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(n){bc()},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();const br=new ue("ROUTER_CONFIGURATION"),t_=new ue("ROUTER_FORROOT_GUARD"),B1=[ml,{provide:yv,useClass:vv},{provide:ht,useFactory:function q1(e,t,n,r,i,s,o={},a,u){const l=new ht(null,e,t,n,r,i,lv(s));return a&&(l.urlHandlingStrategy=a),u&&(l.routeReuseStrategy=u),function G1(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy),e.canceledNavigationResolution&&(t.canceledNavigationResolution=e.canceledNavigationResolution)}(o,l),o.enableTracing&&l.events.subscribe(d=>{var p,g;null===(p=console.group)||void 0===p||p.call(console,`Router Event: ${d.constructor.name}`),console.log(d.toString()),console.log(d),null===(g=console.groupEnd)||void 0===g||g.call(console)}),l},deps:[yv,Ts,ml,yt,Ym,rd,br,[class P1{},new $n],[class I1{},new $n]]},Ts,{provide:_i,useFactory:function W1(e){return e.routerState.root},deps:[ht]},e_,Xv,class H1{preload(t,n){return n().pipe(Yn(()=>X(null)))}},{provide:br,useValue:{enableTracing:!1}}];function V1(){return new ry("Router",ht)}let n_=(()=>{class e{constructor(n,r){}static forRoot(n,r){return{ngModule:e,providers:[B1,r_(n),{provide:t_,useFactory:z1,deps:[[ht,new $n,new zi]]},{provide:br,useValue:r||{}},{provide:pi,useFactory:$1,deps:[mr,[new co(gl),new $n],br]},{provide:od,useFactory:U1,deps:[ht,zT,br]},{provide:Yv,useExisting:r&&r.preloadingStrategy?r.preloadingStrategy:Xv},{provide:ry,multi:!0,useFactory:V1},[ad,{provide:Jc,multi:!0,useFactory:Q1,deps:[ad]},{provide:i_,useFactory:Z1,deps:[ad]},{provide:Jm,multi:!0,useExisting:i_}]]}}static forChild(n){return{ngModule:e,providers:[r_(n)]}}}return e.\u0275fac=function(n){return new(n||e)(V(t_,8),V(ht,8))},e.\u0275mod=bn({type:e}),e.\u0275inj=en({}),e})();function U1(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new od(e,t,n)}function $1(e,t,n={}){return n.useHash?new MI(e,t):new by(e,t)}function z1(e){return"guarded"}function r_(e){return[{provide:rD,multi:!0,useValue:e},{provide:rd,multi:!0,useValue:e}]}let ad=(()=>{class e{constructor(n){this.injector=n,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new j}appInitializer(){return this.injector.get(bI,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let r=null;const i=new Promise(a=>r=a),s=this.injector.get(ht),o=this.injector.get(br);return"disabled"===o.initialNavigation?(s.setUpLocationChangeListener(),r(!0)):"enabled"===o.initialNavigation||"enabledBlocking"===o.initialNavigation?(s.hooks.afterPreactivation=()=>this.initNavigation?X(null):(this.initNavigation=!0,r(!0),this.resultOfPreactivationDone),s.initialNavigation()):r(!0),i})}bootstrapListener(n){const r=this.injector.get(br),i=this.injector.get(e_),s=this.injector.get(od),o=this.injector.get(ht),a=this.injector.get(al);n===a.components[0]&&(("enabledNonBlocking"===r.initialNavigation||void 0===r.initialNavigation)&&o.initialNavigation(),i.setUpPreloading(),s.init(),o.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return e.\u0275fac=function(n){return new(n||e)(V(yt))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();function Q1(e){return e.appInitializer.bind(e)}function Z1(e){return e.bootstrapListener.bind(e)}const i_=new ue("Router Initializer");class s_{constructor(){this.postTitle="",this.timestamp="",this.editedTimestamp="",this.postContent="",this.filename="",this.draft=!1}}var o_=Ns(767);class a_{}class u_{}class On{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const i=n.slice(0,r),s=i.toLowerCase(),o=n.slice(r+1).trim();this.maybeSetNormalizedName(i,s),this.headers.has(s)?this.headers.get(s).push(o):this.headers.set(s,[o])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(n=>{let r=t[n];const i=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(this.headers.set(i,r),this.maybeSetNormalizedName(n,i))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof On?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new On;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof On?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const i=("a"===t.op?this.headers.get(n):void 0)||[];i.push(...r),this.headers.set(n,i);break;case"d":const s=t.value;if(s){let o=this.headers.get(n);if(!o)return;o=o.filter(a=>-1===s.indexOf(a)),0===o.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,o)}else this.headers.delete(n),this.normalizedNames.delete(n)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class J1{encodeKey(t){return c_(t)}encodeValue(t){return c_(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const X1=/%(\d[a-f0-9])/gi,e8={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function c_(e){return encodeURIComponent(e).replace(X1,(t,n)=>{var r;return null!==(r=e8[n])&&void 0!==r?r:t})}function l_(e){return`${e}`}class er{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new J1,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Y1(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{const s=i.indexOf("="),[o,a]=-1==s?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,s)),t.decodeValue(i.slice(s+1))],u=n.get(o)||[];u.push(a),n.set(o,u)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n];this.map.set(n,Array.isArray(r)?r:[r])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const i=t[r];Array.isArray(i)?i.forEach(s=>{n.push({param:r,value:s,op:"a"})}):n.push({param:r,value:i,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new er({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(l_(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const i=r.indexOf(l_(t.value));-1!==i&&r.splice(i,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class t8{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function d_(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function f_(e){return"undefined"!=typeof Blob&&e instanceof Blob}function h_(e){return"undefined"!=typeof FormData&&e instanceof FormData}class Rs{constructor(t,n,r,i){let s;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function n8(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!==r?r:null,s=i):s=r,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new On),this.context||(this.context=new t8),this.params){const o=this.params.toString();if(0===o.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":a<n.length-1?"&":"")+o}}else this.params=new er,this.urlWithParams=n}serializeBody(){return null===this.body?null:d_(this.body)||f_(this.body)||h_(this.body)||function r8(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof er?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||h_(this.body)?null:f_(this.body)?this.body.type||null:d_(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof er?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){var n;const r=t.method||this.method,i=t.url||this.url,s=t.responseType||this.responseType,o=void 0!==t.body?t.body:this.body,a=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,u=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let l=t.headers||this.headers,d=t.params||this.params;const p=null!==(n=t.context)&&void 0!==n?n:this.context;return void 0!==t.setHeaders&&(l=Object.keys(t.setHeaders).reduce((g,y)=>g.set(y,t.setHeaders[y]),l)),t.setParams&&(d=Object.keys(t.setParams).reduce((g,y)=>g.set(y,t.setParams[y]),d)),new Rs(r,i,o,{params:d,headers:l,context:p,reportProgress:u,responseType:s,withCredentials:a})}}var He=(()=>((He=He||{})[He.Sent=0]="Sent",He[He.UploadProgress=1]="UploadProgress",He[He.ResponseHeader=2]="ResponseHeader",He[He.DownloadProgress=3]="DownloadProgress",He[He.Response=4]="Response",He[He.User=5]="User",He))();class ud{constructor(t,n=200,r="OK"){this.headers=t.headers||new On,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class cd extends ud{constructor(t={}){super(t),this.type=He.ResponseHeader}clone(t={}){return new cd({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Ea extends ud{constructor(t={}){super(t),this.type=He.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Ea({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class p_ extends ud{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function ld(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}}let g_=(()=>{class e{constructor(n){this.handler=n}request(n,r,i={}){let s;if(n instanceof Rs)s=n;else{let u,l;u=i.headers instanceof On?i.headers:new On(i.headers),i.params&&(l=i.params instanceof er?i.params:new er({fromObject:i.params})),s=new Rs(n,r,void 0!==i.body?i.body:null,{headers:u,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const o=X(s).pipe(gi(u=>this.handler.handle(u)));if(n instanceof Rs||"events"===i.observe)return o;const a=o.pipe(vr(u=>u instanceof Ea));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return a.pipe(G(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return a.pipe(G(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return a.pipe(G(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return a.pipe(G(u=>u.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new er).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,i={}){return this.request("PATCH",n,ld(i,r))}post(n,r,i={}){return this.request("POST",n,ld(i,r))}put(n,r,i={}){return this.request("PUT",n,ld(i,r))}}return e.\u0275fac=function(n){return new(n||e)(V(a_))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();class m_{constructor(t,n){this.next=t,this.interceptor=n}handle(t){return this.interceptor.intercept(t,this.next)}}const y_=new ue("HTTP_INTERCEPTORS");let i8=(()=>{class e{intercept(n,r){return r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();const s8=/^\)\]\}',?\n/;let v_=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new _(r=>{const i=this.xhrFactory.build();if(i.open(n.method,n.urlWithParams),n.withCredentials&&(i.withCredentials=!0),n.headers.forEach((y,b)=>i.setRequestHeader(y,b.join(","))),n.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const y=n.detectContentTypeHeader();null!==y&&i.setRequestHeader("Content-Type",y)}if(n.responseType){const y=n.responseType.toLowerCase();i.responseType="json"!==y?y:"text"}const s=n.serializeBody();let o=null;const a=()=>{if(null!==o)return o;const y=i.statusText||"OK",b=new On(i.getAllResponseHeaders()),S=function o8(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(i)||n.url;return o=new cd({headers:b,status:i.status,statusText:y,url:S}),o},u=()=>{let{headers:y,status:b,statusText:S,url:P}=a(),T=null;204!==b&&(T=void 0===i.response?i.responseText:i.response),0===b&&(b=T?200:0);let M=b>=200&&b<300;if("json"===n.responseType&&"string"==typeof T){const B=T;T=T.replace(s8,"");try{T=""!==T?JSON.parse(T):null}catch(J){T=B,M&&(M=!1,T={error:J,text:T})}}M?(r.next(new Ea({body:T,headers:y,status:b,statusText:S,url:P||void 0})),r.complete()):r.error(new p_({error:T,headers:y,status:b,statusText:S,url:P||void 0}))},l=y=>{const{url:b}=a(),S=new p_({error:y,status:i.status||0,statusText:i.statusText||"Unknown Error",url:b||void 0});r.error(S)};let d=!1;const p=y=>{d||(r.next(a()),d=!0);let b={type:He.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(b.total=y.total),"text"===n.responseType&&!!i.responseText&&(b.partialText=i.responseText),r.next(b)},g=y=>{let b={type:He.UploadProgress,loaded:y.loaded};y.lengthComputable&&(b.total=y.total),r.next(b)};return i.addEventListener("load",u),i.addEventListener("error",l),i.addEventListener("timeout",l),i.addEventListener("abort",l),n.reportProgress&&(i.addEventListener("progress",p),null!==s&&i.upload&&i.upload.addEventListener("progress",g)),i.send(s),r.next({type:He.Sent}),()=>{i.removeEventListener("error",l),i.removeEventListener("abort",l),i.removeEventListener("load",u),i.removeEventListener("timeout",l),n.reportProgress&&(i.removeEventListener("progress",p),null!==s&&i.upload&&i.upload.removeEventListener("progress",g)),i.readyState!==i.DONE&&i.abort()}})}}return e.\u0275fac=function(n){return new(n||e)(V(Hy))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();const dd=new ue("XSRF_COOKIE_NAME"),fd=new ue("XSRF_HEADER_NAME");class __{}let a8=(()=>{class e{constructor(n,r,i){this.doc=n,this.platform=r,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ry(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return e.\u0275fac=function(n){return new(n||e)(V(ft),V(el),V(dd))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})(),hd=(()=>{class e{constructor(n,r){this.tokenService=n,this.headerName=r}intercept(n,r){const i=n.url.toLowerCase();if("GET"===n.method||"HEAD"===n.method||i.startsWith("http://")||i.startsWith("https://"))return r.handle(n);const s=this.tokenService.getToken();return null!==s&&!n.headers.has(this.headerName)&&(n=n.clone({headers:n.headers.set(this.headerName,s)})),r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(V(__),V(fd))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})(),u8=(()=>{class e{constructor(n,r){this.backend=n,this.injector=r,this.chain=null}handle(n){if(null===this.chain){const r=this.injector.get(y_,[]);this.chain=r.reduceRight((i,s)=>new m_(i,s),this.backend)}return this.chain.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(V(u_),V(yt))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})(),c8=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:hd,useClass:i8}]}}static withOptions(n={}){return{ngModule:e,providers:[n.cookieName?{provide:dd,useValue:n.cookieName}:[],n.headerName?{provide:fd,useValue:n.headerName}:[]]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=bn({type:e}),e.\u0275inj=en({providers:[hd,{provide:y_,useExisting:hd,multi:!0},{provide:__,useClass:a8},{provide:dd,useValue:"XSRF-TOKEN"},{provide:fd,useValue:"X-XSRF-TOKEN"}]}),e})(),l8=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=bn({type:e}),e.\u0275inj=en({providers:[g_,{provide:a_,useClass:u8},v_,{provide:u_,useExisting:v_}],imports:[[c8.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})(),Ma=(()=>{class e{constructor(n){this.httpClient=n}getSettings(){return this.httpClient.get("./assets/settings.json?latest="+this.generateTimestamp())}getArchive(){return this.httpClient.get("./assets/posts/archive.json?latest="+this.generateTimestamp())}getPost(n){return this.httpClient.get(n+"?latest="+this.generateTimestamp())}generateTimestamp(){return Math.round((new Date).getTime()/1e3).toString()}parseTimestamp(n){return new Date(1e3*Number(n)).toUTCString()}}return e.\u0275fac=function(n){return new(n||e)(V(g_))},e.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function d8(e,t){if(1&e&&(ie(0,"div",10)(1,"strong"),he(2,"Posted on"),K(),he(3),K()),2&e){const n=xe().$implicit,r=xe();oe(3),In("\xa0",r.helperService.parseTimestamp(n.timestamp)," ")}}function f8(e,t){if(1&e&&(ie(0,"div",10)(1,"strong"),he(2,"Edited on"),K(),he(3),K()),2&e){const n=xe().$implicit,r=xe();oe(3),In("\xa0",r.helperService.parseTimestamp(n.editedTimestamp)," ")}}function h8(e,t){if(1&e&&(ie(0,"div",4)(1,"div",5)(2,"a",6),he(3),K(),Fe(4,d8,4,1,"div",7),Fe(5,f8,4,1,"div",7),K(),ie(6,"div",8),St(7,"p",9),K()()),2&e){const n=t.$implicit,r=xe();oe(2),fr("href","./?post=",n.filename,"",Ot),oe(1),Wn(n.postTitle),oe(1),Se("ngIf",!!n.timestamp),oe(1),Se("ngIf",!!n.editedTimestamp),oe(2),Se("innerHTML",r.generateHTML(n.postContent),Mu)}}function g8(e,t){if(1&e&&(ie(0,"div",13),he(1),K()),2&e){const n=xe().$implicit,r=xe(2);oe(1),Wn(r.parseTimestamp(n.timestamp))}}function m8(e,t){if(1&e&&(To(0),ie(1,"a",10)(2,"div",11),he(3),Fe(4,g8,2,1,"div",12),K()(),Ao()),2&e){const n=t.$implicit;oe(1),fr("href","./?post=",n.filename,"",Ot),oe(2),In(" ",n.postTitle," "),oe(1),Se("ngIf",!!n.timestamp)}}function y8(e,t){if(1&e&&(ie(0,"div",8),Fe(1,m8,5,3,"ng-container",9),K()),2&e){const n=xe();oe(1),Se("ngForOf",n.filteredArchives)}}function v8(e,t){1&e&&(ie(0,"div",14)(1,"a",15)(2,"button",16),he(3,"\xab HOME \xbb"),K()()())}function w8(e,t){1&e&&(ie(0,"div",8)(1,"strong"),he(2,"Draft: Post not published."),K()())}function D8(e,t){if(1&e&&(ie(0,"div",8)(1,"strong"),he(2,"Posted on"),K(),he(3),K()),2&e){const n=xe();oe(3),In("\xa0",n.content.timestamp," ")}}function b8(e,t){if(1&e&&(ie(0,"div",8)(1,"strong"),he(2,"Edited on"),K(),he(3),K()),2&e){const n=xe();oe(3),In("\xa0",n.content.editedTimestamp," ")}}function C8(e,t){1&e&&St(0,"img",17),2&e&&fr("src","./assets/",xe(2).settings.avatar,"",Ot)}function E8(e,t){1&e&&(ie(0,"a",18),St(1,"img",19),K()),2&e&&dr("href",xe(2).settings.twitter,Ot)}function M8(e,t){1&e&&(ie(0,"a",18),St(1,"img",20),K()),2&e&&dr("href",xe(2).settings.mastodon,Ot)}function S8(e,t){1&e&&(ie(0,"a",18),St(1,"img",21),K()),2&e&&dr("href",xe(2).settings.instagram,Ot)}function I8(e,t){1&e&&(ie(0,"a",18),St(1,"img",22),K()),2&e&&dr("href",xe(2).settings.youtube,Ot)}function T8(e,t){if(1&e&&(ie(0,"div",9)(1,"div",10),Fe(2,C8,1,1,"img",11),St(3,"br"),K(),ie(4,"div",12)(5,"div",13),he(6),K(),ie(7,"div",14),he(8),K(),ie(9,"div",15),Fe(10,E8,2,1,"a",16),Fe(11,M8,2,1,"a",16),Fe(12,S8,2,1,"a",16),Fe(13,I8,2,1,"a",16),K()()()),2&e){const n=xe();oe(2),Se("ngIf",!!n.settings.avatar),oe(4),Wn(n.settings.username),oe(2),Wn(n.settings.bio),oe(2),Se("ngIf",!!n.settings.twitter),oe(1),Se("ngIf",!!n.settings.mastodon),oe(1),Se("ngIf",!!n.settings.instagram),oe(1),Se("ngIf",!!n.settings.youtube)}}function A8(e,t){1&e&&(ie(0,"div",23)(1,"a",24)(2,"button",25),he(3,"\xab HOME \xbb"),K()(),he(4," \xa0 "),ie(5,"a",26)(6,"button",25),he(7," \xab ARCHIVES \xbb "),K()()())}const P8=[{path:"",component:(()=>{class e{constructor(n){this.helperService=n,this.contents=[],this.archives=[],this.settings={},this.postsLoaded=0}ngOnInit(){this.showdownmd=new o_.Converter,this.helperService.getSettings().subscribe({next:n=>{this.settings=n},complete:()=>{this.loadArchive()}})}loadArchive(){this.helperService.getArchive().subscribe({next:n=>{this.archives=n,this.settings.maxPosts=this.archives.length<this.settings.maxPosts?this.archives.length:this.settings.maxPosts},complete:()=>{this.loadPosts()}})}loadPosts(){this.postsLoaded<this.settings.maxPosts&&this.helperService.getPost("./assets/posts/"+this.archives[this.postsLoaded].filename+".json").subscribe({next:n=>{this.contents.push(n)},complete:()=>{this.continue()},error:n=>{this.continue(n)}})}continue(n){if(n){const r=new s_;r.postTitle="Aw shucks!",r.postContent="We couldn't load this post! Sorry! <strong>("+n.status+" "+n.statusText+")</strong>",r.filename="not-found",this.contents.push(r)}this.postsLoaded+=1,this.loadPosts()}generateHTML(n){return this.showdownmd.makeHtml(n)}}return e.\u0275fac=function(n){return new(n||e)(H(Ma))},e.\u0275cmp=jn({type:e,selectors:[["app-home"]],decls:5,vars:1,consts:[["class","card margins",4,"ngFor","ngForOf"],[1,"text-center"],["href","./?page=archives"],["type","button",1,"btn-fat","btn","margins-sides","margin-y"],[1,"card","margins"],[1,"card-header"],[1,"title",3,"href"],["class","timestamp",4,"ngIf"],[1,"card-body"],[1,"card-text",3,"innerHTML"],[1,"timestamp"]],template:function(n,r){1&n&&(Fe(0,h8,8,5,"div",0),ie(1,"div",1)(2,"a",2)(3,"button",3),he(4,"\xab ARCHIVES \xbb"),K()()()),2&n&&Se("ngForOf",r.contents)},directives:[Sl,vs],styles:[""]}),e})()},{path:"archives",component:(()=>{class e{constructor(n){this.helperService=n,this.urlParams=new URLSearchParams(window.location.search),this.archives=[],this.filteredArchives=[],this.settings={}}ngOnInit(){this.loadSettings()}loadSettings(){this.helperService.getSettings().subscribe({next:n=>{this.settings=n},complete:()=>{this.loadArchive()}})}loadArchive(){this.helperService.getArchive().subscribe(n=>{this.archives=n,this.filteredArchives=n})}parseTimestamp(n){return n?"("+this.helperService.parseTimestamp(n)+")":""}searchArchive(n,r){this.filteredArchives=n?this.archives.filter(i=>i.postTitle.toLowerCase().includes(n.toLowerCase())):this.archives,r&&(document.getElementById("search").value="")}}return e.\u0275fac=function(n){return new(n||e)(H(Ma))},e.\u0275cmp=jn({type:e,selectors:[["app-archives"]],decls:12,vars:2,consts:[[1,"placard"],[1,"placard-title"],[1,"placard-text"],[1,"text-center"],["type","text","placeholder","Search by title",3,"keyup"],["type","button",1,"btn",3,"click"],["class","list-group",4,"ngIf"],["class","margin-y text-center",4,"ngIf"],[1,"list-group"],[4,"ngFor","ngForOf"],[3,"href"],[1,"list-item","mouse-hover","title"],["class","timestamp",4,"ngIf"],[1,"timestamp"],[1,"margin-y","text-center"],["href","./"],["type","button",1,"margins-sides","btn","btn-fat"]],template:function(n,r){1&n&&(ie(0,"div",0)(1,"div",1),he(2,"Archives"),K(),ie(3,"div",2),he(4,"All blog posts, one place."),K()(),ie(5,"div",3)(6,"input",4),lr("keyup",function(s){return r.searchArchive(s.target.value)}),K(),he(7," \xa0 "),ie(8,"button",5),lr("click",function(){return r.searchArchive("",!0)}),he(9,"\xd7 CLEAR"),K()(),Fe(10,y8,2,1,"div",6),Fe(11,v8,4,0,"div",7)),2&n&&(oe(10),Se("ngIf",r.filteredArchives.length>0),oe(1),Se("ngIf",!!r.settings.username))},directives:[vs,Sl],styles:["input[type=text][_ngcontent-%COMP%]{width:30%}@media screen and (max-width: 600px){input[type=text][_ngcontent-%COMP%]{width:55%}}"]}),e})()},{path:"posts",component:(()=>{class e{constructor(n,r){this.titleService=n,this.helperService=r,this.urlParams=new URLSearchParams(window.location.search),this.content=new s_,this.settings={}}ngOnInit(){this.showdownmd=new o_.Converter,this.helperService.getSettings().subscribe({next:n=>{this.settings=n},complete:()=>{this.urlParams.get("post")&&this.loadPost()}})}loadPost(){this.helperService.getPost("./assets/posts/"+this.urlParams.get("post")+".json").subscribe({next:n=>{this.content=n,this.content.timestamp=this.content.timestamp?this.helperService.parseTimestamp(n.timestamp):"",this.content.editedTimestamp=this.content.editedTimestamp?this.helperService.parseTimestamp(n.editedTimestamp):"",this.titleService.setTitle(this.content.postTitle+" ~ "+this.settings.blogTitle)},error:n=>{this.content.postTitle="Whoops!",this.content.postContent="We couldn't load this post! <strong>("+n.status+")</strong>"}})}generateHTML(n){return this.showdownmd.makeHtml(n)}}return e.\u0275fac=function(n){return new(n||e)(H(Ll),H(Ma))},e.\u0275cmp=jn({type:e,selectors:[["app-posts"]],decls:11,vars:8,consts:[[1,"card","margins"],[1,"card-header"],[1,"title",3,"href"],["class","timestamp",4,"ngIf"],[1,"card-body"],[1,"card-text",3,"innerHTML"],["class","profile-box",4,"ngIf"],["class","margin-y text-center",4,"ngIf"],[1,"timestamp"],[1,"profile-box"],[1,"avatar"],["alt","Profile Avatar",3,"src",4,"ngIf"],[1,"bio-container"],[1,"bio-username"],[1,"bio-text"],[1,"social-networks"],["target","_blank",3,"href",4,"ngIf"],["alt","Profile Avatar",3,"src"],["target","_blank",3,"href"],["alt","Twitter","src","./assets/social/twitter.png"],["alt","Mastodon","src","./assets/social/mastodon.png"],["alt","Instagram","src","./assets/social/instagram.png"],["alt","YouTube","src","./assets/social/youtube.png"],[1,"margin-y","text-center"],["href","./"],["type","button",1,"margins-sides","btn","btn-fat"],["href","./?page=archives"]],template:function(n,r){1&n&&(ie(0,"div",0)(1,"h4",1)(2,"a",2),he(3),K(),Fe(4,w8,3,0,"div",3),Fe(5,D8,4,1,"div",3),Fe(6,b8,4,1,"div",3),K(),ie(7,"div",4),St(8,"p",5),K()(),Fe(9,T8,14,7,"div",6),Fe(10,A8,8,0,"div",7)),2&n&&(oe(2),fr("href","./?post=",r.content.filename,"",Ot),oe(1),Wn(r.content.postTitle),oe(1),Se("ngIf",r.content.draft),oe(1),Se("ngIf",!!r.content.timestamp),oe(1),Se("ngIf",!!r.content.editedTimestamp),oe(2),Se("innerHTML",r.generateHTML(r.content.postContent),Mu),oe(1),Se("ngIf",!!r.settings.username),oe(1),Se("ngIf",r.settings.username))},directives:[vs],styles:[".profile-box[_ngcontent-%COMP%]{display:flex!important;padding:1rem;margin-top:5rem!important;margin:0 auto;background-color:#252525;width:50%}.profile-box[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%]{padding:0 1rem;display:inline-block;max-width:100px;max-height:100px}.profile-box[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100px;max-height:100px;display:block}.profile-box[_ngcontent-%COMP%] .bio-container[_ngcontent-%COMP%]{padding-left:1rem}.profile-box[_ngcontent-%COMP%] .bio-container[_ngcontent-%COMP%] .bio-username[_ngcontent-%COMP%]{color:#fff;font-size:larger}.profile-box[_ngcontent-%COMP%] .bio-container[_ngcontent-%COMP%] .bio-text[_ngcontent-%COMP%]{color:#bbb}.profile-box[_ngcontent-%COMP%] .bio-container[_ngcontent-%COMP%] .social-networks[_ngcontent-%COMP%]{padding-top:1rem}@media screen and (max-width: 600px){.margins[_ngcontent-%COMP%]{margin:unset}.profile-box[_ngcontent-%COMP%]{width:90%;margin:0 auto}.profile-box[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%]{padding:0}}"]}),e})()}];let k8=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=bn({type:e}),e.\u0275inj=en({imports:[[n_.forRoot(P8)],n_]}),e})();function R8(e,t){if(1&e&&(ie(0,"a",9),he(1),K()),2&e){const n=xe(2);dr("href",null==n.settings||null==n.settings.customUrl?null:n.settings.customUrl.url,Ot),oe(1),Wn(null==n.settings||null==n.settings.customUrl?null:n.settings.customUrl.title)}}function N8(e,t){if(1&e){const n=function qp(){return I()}();ie(0,"div",1)(1,"a",2),he(2),ie(3,"span",3),he(4,"\xbb"),K()(),ie(5,"a",4),he(6,"Home"),K(),ie(7,"a",5),he(8,"Archives"),K(),Fe(9,R8,2,2,"a",6),ie(10,"a",7),lr("click",function(){return function rf(e){return Q.lFrame.contextLView=e,e[8]}(n),xe().openMenu()}),he(11," \u2630\ufe0e "),K(),ie(12,"a",8),he(13," Powered by"),St(14,"br"),he(15,"ngx-dumblog "),K()()}if(2&e){const n=xe();oe(2),In(" ",n.settings.blogTitle," "),oe(3),ko("active",n.isCurrentPage("/")),oe(2),ko("active",n.isCurrentPage("/archives")),oe(2),Se("ngIf",!(null==n.settings||null==n.settings.customUrl||!n.settings.customUrl.url))}}let O8=(()=>{class e{constructor(n,r,i){this.router=n,this.helperService=r,this.titleService=i,this.settings={}}ngOnInit(){this.initialize()}initialize(){this.helperService.getSettings().subscribe({next:n=>{this.settings=n},complete:()=>{this.titleService.setTitle(this.settings.blogTitle)}})}openMenu(){const n=document.getElementsByClassName("topnav")[0];"topnav"===n.className?n.className+=" responsive":n.className="topnav"}isCurrentPage(n){return this.router.url===n}}return e.\u0275fac=function(n){return new(n||e)(H(ht),H(Ma),H(Ll))},e.\u0275cmp=jn({type:e,selectors:[["app-navigation"]],decls:1,vars:1,consts:[["class","topnav",4,"ngIf"],[1,"topnav"],["href","./",1,"no-focus",2,"color","rgb(229, 114, 0)"],[1,"pointy-thingy"],["href","./",1,"first-after-name"],["href","./?page=archives"],["target","_blank",3,"href",4,"ngIf"],["href","javascript:void(0);",1,"icon",3,"click"],["href","http://github.com/pedroCX486/ngx-dumblog","target","_blank","rel","noopener",1,"right-align","no-focus"],["target","_blank",3,"href"]],template:function(n,r){1&n&&Fe(0,N8,16,6,"div",0),2&n&&Se("ngIf",!!r.settings.username)},directives:[vs],styles:[".topnav[_ngcontent-%COMP%]{min-height:48px;overflow:hidden;background-color:#2a2a2a;position:relative;top:0;left:0;right:0;z-index:2;box-shadow:#000a 2px 2px}.topnav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{float:left;display:block;color:#f2f2f2;text-align:center;padding:15px 16px;text-decoration:none;font-size:17px;border-right:#616161 1px solid}.topnav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:last-child{border-right:unset}.topnav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:first-child{border-right:unset}.topnav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover:not(.no-focus){background-color:#a1a1a1;color:#000}.topnav[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{background-color:#e57200;color:#fff}.topnav[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{display:none}.topnav[_ngcontent-%COMP%] .pointy-thingy[_ngcontent-%COMP%]{font-size:2rem;line-height:0%;position:absolute;margin-top:.5rem;margin-left:.2rem}.topnav[_ngcontent-%COMP%] .first-after-name[_ngcontent-%COMP%]{margin-left:1rem}@media screen and (max-width: 600px){.topnav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:not(:first-child){display:none}.topnav[_ngcontent-%COMP%] .first-after-name[_ngcontent-%COMP%]{margin-left:unset}.topnav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{border-right:unset}.topnav[_ngcontent-%COMP%] a.icon[_ngcontent-%COMP%]{float:right;display:block}.topnav.responsive[_ngcontent-%COMP%]{position:relative;top:0;left:0;right:0}.topnav.responsive[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{float:none;display:block;text-align:left}.topnav.responsive[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{position:absolute;right:0;top:0}}.right-align[_ngcontent-%COMP%]{float:right!important;font-size:8px!important}"]}),e})(),F8=(()=>{class e{constructor(n){this.router=n,this.urlParams=new URLSearchParams(window.location.search)}ngOnInit(){this.navigate()}navigate(){this.urlParams.get("post")?this.router.navigate(["/posts"],{queryParams:{post:this.urlParams.get("post")},skipLocationChange:!0}):"archives"===this.urlParams.get("page")?this.router.navigate(["/archives"],{skipLocationChange:!0}):this.router.navigate(["/"],{skipLocationChange:!0})}}return e.\u0275fac=function(n){return new(n||e)(H(ht))},e.\u0275cmp=jn({type:e,selectors:[["app-root"]],decls:2,vars:0,template:function(n,r){1&n&&St(0,"app-navigation")(1,"router-outlet")},directives:[O8,Xl],styles:[""]}),e})(),x8=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=bn({type:e,bootstrap:[F8]}),e.\u0275inj=en({providers:[],imports:[[y3,k8,l8]]}),e})();(function tI(){uy=!1})(),g3().bootstrapModule(x8).catch(e=>console.error(e))},767:function(Er,Di,Ns){var me;(function(){function pn(c){"use strict";var h={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,describe:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,describe:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,describe:"Parses simple line breaks as <br> (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,describe:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,describe:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",describe:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,describe:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,describe:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,describe:"Support for HTML Tag escaping. ex: <div>foo</div>",type:"boolean"},emoji:{defaultValue:!1,describe:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,describe:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`",type:"boolean"},ellipsis:{defaultValue:!0,describe:"Replaces three dots with the ellipsis unicode character",type:"boolean"},completeHTMLDocument:{defaultValue:!1,describe:"Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags",type:"boolean"},metadata:{defaultValue:!1,describe:"Enable support for document metadata (defined at the top of the document between `\xab\xab\xab` and `\xbb\xbb\xbb` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,describe:"Split adjacent blockquote blocks",type:"boolean"}};if(!1===c)return JSON.parse(JSON.stringify(h));var f={};for(var v in h)h.hasOwnProperty(v)&&(f[v]=h[v].defaultValue);return f}var m={},et={},Ht={},Bt=pn(!0),Mr="vanilla",pt={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:pn(!0),allOn:function bi(){"use strict";var c=pn(!0),h={};for(var f in c)c.hasOwnProperty(f)&&(h[f]=!0);return h}()};function gn(c,h){"use strict";var f=h?"Error in "+h+" extension->":"Error in unnamed extension",v={valid:!0,error:""};m.helper.isArray(c)||(c=[c]);for(var D=0;D<c.length;++D){var C=f+" sub-extension "+D+": ",w=c[D];if("object"!=typeof w)return v.valid=!1,v.error=C+"must be an object, but "+typeof w+" given",v;if(!m.helper.isString(w.type))return v.valid=!1,v.error=C+'property "type" must be a string, but '+typeof w.type+" given",v;var E=w.type=w.type.toLowerCase();if("language"===E&&(E=w.type="lang"),"html"===E&&(E=w.type="output"),"lang"!==E&&"output"!==E&&"listener"!==E)return v.valid=!1,v.error=C+"type "+E+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',v;if("listener"===E){if(m.helper.isUndefined(w.listeners))return v.valid=!1,v.error=C+'. Extensions of type "listener" must have a property called "listeners"',v}else if(m.helper.isUndefined(w.filter)&&m.helper.isUndefined(w.regex))return v.valid=!1,v.error=C+E+' extensions must define either a "regex" property or a "filter" method',v;if(w.listeners){if("object"!=typeof w.listeners)return v.valid=!1,v.error=C+'"listeners" property must be an object but '+typeof w.listeners+" given",v;for(var O in w.listeners)if(w.listeners.hasOwnProperty(O)&&"function"!=typeof w.listeners[O])return v.valid=!1,v.error=C+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+O+" must be a function but "+typeof w.listeners[O]+" given",v}if(w.filter){if("function"!=typeof w.filter)return v.valid=!1,v.error=C+'"filter" must be a function, but '+typeof w.filter+" given",v}else if(w.regex){if(m.helper.isString(w.regex)&&(w.regex=new RegExp(w.regex,"g")),!(w.regex instanceof RegExp))return v.valid=!1,v.error=C+'"regex" property must either be a string or a RegExp object, but '+typeof w.regex+" given",v;if(m.helper.isUndefined(w.replace))return v.valid=!1,v.error=C+'"regex" extensions must implement a replace string or function',v}}return v}function Ci(c,h){"use strict";return"\xa8E"+h.charCodeAt(0)+"E"}m.helper={},m.extensions={},m.setOption=function(c,h){"use strict";return Bt[c]=h,this},m.getOption=function(c){"use strict";return Bt[c]},m.getOptions=function(){"use strict";return Bt},m.resetOptions=function(){"use strict";Bt=pn(!0)},m.setFlavor=function(c){"use strict";if(!pt.hasOwnProperty(c))throw Error(c+" flavor was not found");m.resetOptions();var h=pt[c];for(var f in Mr=c,h)h.hasOwnProperty(f)&&(Bt[f]=h[f])},m.getFlavor=function(){"use strict";return Mr},m.getFlavorOptions=function(c){"use strict";if(pt.hasOwnProperty(c))return pt[c]},m.getDefaultOptions=function(c){"use strict";return pn(c)},m.subParser=function(c,h){"use strict";if(m.helper.isString(c)){if(void 0===h){if(et.hasOwnProperty(c))return et[c];throw Error("SubParser named "+c+" not registered!")}et[c]=h}},m.extension=function(c,h){"use strict";if(!m.helper.isString(c))throw Error("Extension 'name' must be a string");if(c=m.helper.stdExtName(c),m.helper.isUndefined(h)){if(!Ht.hasOwnProperty(c))throw Error("Extension named "+c+" is not registered!");return Ht[c]}"function"==typeof h&&(h=h()),m.helper.isArray(h)||(h=[h]);var f=gn(h,c);if(!f.valid)throw Error(f.error);Ht[c]=h},m.getAllExtensions=function(){"use strict";return Ht},m.removeExtension=function(c){"use strict";delete Ht[c]},m.resetExtensions=function(){"use strict";Ht={}},m.validateExtension=function(c){"use strict";var h=gn(c,null);return!!h.valid||(console.warn(h.error),!1)},m.hasOwnProperty("helper")||(m.helper={}),m.helper.isString=function(c){"use strict";return"string"==typeof c||c instanceof String},m.helper.isFunction=function(c){"use strict";return c&&"[object Function]"==={}.toString.call(c)},m.helper.isArray=function(c){"use strict";return Array.isArray(c)},m.helper.isUndefined=function(c){"use strict";return void 0===c},m.helper.forEach=function(c,h){"use strict";if(m.helper.isUndefined(c))throw new Error("obj param is required");if(m.helper.isUndefined(h))throw new Error("callback param is required");if(!m.helper.isFunction(h))throw new Error("callback param must be a function/closure");if("function"==typeof c.forEach)c.forEach(h);else if(m.helper.isArray(c))for(var f=0;f<c.length;f++)h(c[f],f,c);else{if("object"!=typeof c)throw new Error("obj does not seem to be an array or an iterable object");for(var v in c)c.hasOwnProperty(v)&&h(c[v],v,c)}},m.helper.stdExtName=function(c){"use strict";return c.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()},m.helper.escapeCharactersCallback=Ci,m.helper.escapeCharacters=function(c,h,f){"use strict";var v="(["+h.replace(/([\[\]\\])/g,"\\$1")+"])";f&&(v="\\\\"+v);var D=new RegExp(v,"g");return c.replace(D,Ci)},m.helper.unescapeHTMLEntities=function(c){"use strict";return c.replace(/"/g,'"').replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")};var Ei=function(c,h,f,v){"use strict";var k,R,N,_,A,D=v||"",C=D.indexOf("g")>-1,w=new RegExp(h+"|"+f,"g"+D.replace(/g/g,"")),E=new RegExp(h,D.replace(/g/g,"")),O=[];do{for(k=0;N=w.exec(c);)if(E.test(N[0]))k++||(_=(R=w.lastIndex)-N[0].length);else if(k&&!--k&&(O.push({left:{start:_,end:R},match:{start:R,end:N.index},right:{start:N.index,end:A=N.index+N[0].length},wholeMatch:{start:_,end:A}}),!C))return O}while(k&&(w.lastIndex=R));return O};m.helper.matchRecursiveRegExp=function(c,h,f,v){"use strict";for(var D=Ei(c,h,f,v),C=[],w=0;w<D.length;++w)C.push([c.slice(D[w].wholeMatch.start,D[w].wholeMatch.end),c.slice(D[w].match.start,D[w].match.end),c.slice(D[w].left.start,D[w].left.end),c.slice(D[w].right.start,D[w].right.end)]);return C},m.helper.replaceRecursiveRegExp=function(c,h,f,v,D){"use strict";if(!m.helper.isFunction(h)){var C=h;h=function(){return C}}var w=Ei(c,f,v,D),E=c,O=w.length;if(O>0){var k=[];0!==w[0].wholeMatch.start&&k.push(c.slice(0,w[0].wholeMatch.start));for(var R=0;R<O;++R)k.push(h(c.slice(w[R].wholeMatch.start,w[R].wholeMatch.end),c.slice(w[R].match.start,w[R].match.end),c.slice(w[R].left.start,w[R].left.end),c.slice(w[R].right.start,w[R].right.end))),R<O-1&&k.push(c.slice(w[R].wholeMatch.end,w[R+1].wholeMatch.start));w[O-1].wholeMatch.end<c.length&&k.push(c.slice(w[O-1].wholeMatch.end)),E=k.join("")}return E},m.helper.regexIndexOf=function(c,h,f){"use strict";if(!m.helper.isString(c))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(!(h instanceof RegExp))throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";var v=c.substring(f||0).search(h);return v>=0?v+(f||0):v},m.helper.splitAtIndex=function(c,h){"use strict";if(!m.helper.isString(c))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[c.substring(0,h),c.substring(h)]},m.helper.encodeEmailAddress=function(c){"use strict";var h=[function(f){return"&#"+f.charCodeAt(0)+";"},function(f){return"&#x"+f.charCodeAt(0).toString(16)+";"},function(f){return f}];return c.replace(/./g,function(f){if("@"===f)f=h[Math.floor(2*Math.random())](f);else{var v=Math.random();f=v>.9?h[2](f):v>.45?h[1](f):h[0](f)}return f})},m.helper.padEnd=function(h,f,v){"use strict";return f>>=0,v=String(v||" "),h.length>f?String(h):((f-=h.length)>v.length&&(v+=v.repeat(f/v.length)),String(h)+v.slice(0,f))},"undefined"==typeof console&&(console={warn:function(c){"use strict";alert(c)},log:function(c){"use strict";alert(c)},error:function(c){"use strict";throw c}}),m.helper.regexes={asteriskDashAndColon:/([*_:~])/g},m.helper.emojis={"+1":"\u{1f44d}","-1":"\u{1f44e}",100:"\u{1f4af}",1234:"\u{1f522}","1st_place_medal":"\u{1f947}","2nd_place_medal":"\u{1f948}","3rd_place_medal":"\u{1f949}","8ball":"\u{1f3b1}",a:"\u{1f170}\ufe0f",ab:"\u{1f18e}",abc:"\u{1f524}",abcd:"\u{1f521}",accept:"\u{1f251}",aerial_tramway:"\u{1f6a1}",airplane:"\u2708\ufe0f",alarm_clock:"\u23f0",alembic:"\u2697\ufe0f",alien:"\u{1f47d}",ambulance:"\u{1f691}",amphora:"\u{1f3fa}",anchor:"\u2693\ufe0f",angel:"\u{1f47c}",anger:"\u{1f4a2}",angry:"\u{1f620}",anguished:"\u{1f627}",ant:"\u{1f41c}",apple:"\u{1f34e}",aquarius:"\u2652\ufe0f",aries:"\u2648\ufe0f",arrow_backward:"\u25c0\ufe0f",arrow_double_down:"\u23ec",arrow_double_up:"\u23eb",arrow_down:"\u2b07\ufe0f",arrow_down_small:"\u{1f53d}",arrow_forward:"\u25b6\ufe0f",arrow_heading_down:"\u2935\ufe0f",arrow_heading_up:"\u2934\ufe0f",arrow_left:"\u2b05\ufe0f",arrow_lower_left:"\u2199\ufe0f",arrow_lower_right:"\u2198\ufe0f",arrow_right:"\u27a1\ufe0f",arrow_right_hook:"\u21aa\ufe0f",arrow_up:"\u2b06\ufe0f",arrow_up_down:"\u2195\ufe0f",arrow_up_small:"\u{1f53c}",arrow_upper_left:"\u2196\ufe0f",arrow_upper_right:"\u2197\ufe0f",arrows_clockwise:"\u{1f503}",arrows_counterclockwise:"\u{1f504}",art:"\u{1f3a8}",articulated_lorry:"\u{1f69b}",artificial_satellite:"\u{1f6f0}",astonished:"\u{1f632}",athletic_shoe:"\u{1f45f}",atm:"\u{1f3e7}",atom_symbol:"\u269b\ufe0f",avocado:"\u{1f951}",b:"\u{1f171}\ufe0f",baby:"\u{1f476}",baby_bottle:"\u{1f37c}",baby_chick:"\u{1f424}",baby_symbol:"\u{1f6bc}",back:"\u{1f519}",bacon:"\u{1f953}",badminton:"\u{1f3f8}",baggage_claim:"\u{1f6c4}",baguette_bread:"\u{1f956}",balance_scale:"\u2696\ufe0f",balloon:"\u{1f388}",ballot_box:"\u{1f5f3}",ballot_box_with_check:"\u2611\ufe0f",bamboo:"\u{1f38d}",banana:"\u{1f34c}",bangbang:"\u203c\ufe0f",bank:"\u{1f3e6}",bar_chart:"\u{1f4ca}",barber:"\u{1f488}",baseball:"\u26be\ufe0f",basketball:"\u{1f3c0}",basketball_man:"\u26f9\ufe0f",basketball_woman:"\u26f9\ufe0f‍\u2640\ufe0f",bat:"\u{1f987}",bath:"\u{1f6c0}",bathtub:"\u{1f6c1}",battery:"\u{1f50b}",beach_umbrella:"\u{1f3d6}",bear:"\u{1f43b}",bed:"\u{1f6cf}",bee:"\u{1f41d}",beer:"\u{1f37a}",beers:"\u{1f37b}",beetle:"\u{1f41e}",beginner:"\u{1f530}",bell:"\u{1f514}",bellhop_bell:"\u{1f6ce}",bento:"\u{1f371}",biking_man:"\u{1f6b4}",bike:"\u{1f6b2}",biking_woman:"\u{1f6b4}‍\u2640\ufe0f",bikini:"\u{1f459}",biohazard:"\u2623\ufe0f",bird:"\u{1f426}",birthday:"\u{1f382}",black_circle:"\u26ab\ufe0f",black_flag:"\u{1f3f4}",black_heart:"\u{1f5a4}",black_joker:"\u{1f0cf}",black_large_square:"\u2b1b\ufe0f",black_medium_small_square:"\u25fe\ufe0f",black_medium_square:"\u25fc\ufe0f",black_nib:"\u2712\ufe0f",black_small_square:"\u25aa\ufe0f",black_square_button:"\u{1f532}",blonde_man:"\u{1f471}",blonde_woman:"\u{1f471}‍\u2640\ufe0f",blossom:"\u{1f33c}",blowfish:"\u{1f421}",blue_book:"\u{1f4d8}",blue_car:"\u{1f699}",blue_heart:"\u{1f499}",blush:"\u{1f60a}",boar:"\u{1f417}",boat:"\u26f5\ufe0f",bomb:"\u{1f4a3}",book:"\u{1f4d6}",bookmark:"\u{1f516}",bookmark_tabs:"\u{1f4d1}",books:"\u{1f4da}",boom:"\u{1f4a5}",boot:"\u{1f462}",bouquet:"\u{1f490}",bowing_man:"\u{1f647}",bow_and_arrow:"\u{1f3f9}",bowing_woman:"\u{1f647}‍\u2640\ufe0f",bowling:"\u{1f3b3}",boxing_glove:"\u{1f94a}",boy:"\u{1f466}",bread:"\u{1f35e}",bride_with_veil:"\u{1f470}",bridge_at_night:"\u{1f309}",briefcase:"\u{1f4bc}",broken_heart:"\u{1f494}",bug:"\u{1f41b}",building_construction:"\u{1f3d7}",bulb:"\u{1f4a1}",bullettrain_front:"\u{1f685}",bullettrain_side:"\u{1f684}",burrito:"\u{1f32f}",bus:"\u{1f68c}",business_suit_levitating:"\u{1f574}",busstop:"\u{1f68f}",bust_in_silhouette:"\u{1f464}",busts_in_silhouette:"\u{1f465}",butterfly:"\u{1f98b}",cactus:"\u{1f335}",cake:"\u{1f370}",calendar:"\u{1f4c6}",call_me_hand:"\u{1f919}",calling:"\u{1f4f2}",camel:"\u{1f42b}",camera:"\u{1f4f7}",camera_flash:"\u{1f4f8}",camping:"\u{1f3d5}",cancer:"\u264b\ufe0f",candle:"\u{1f56f}",candy:"\u{1f36c}",canoe:"\u{1f6f6}",capital_abcd:"\u{1f520}",capricorn:"\u2651\ufe0f",car:"\u{1f697}",card_file_box:"\u{1f5c3}",card_index:"\u{1f4c7}",card_index_dividers:"\u{1f5c2}",carousel_horse:"\u{1f3a0}",carrot:"\u{1f955}",cat:"\u{1f431}",cat2:"\u{1f408}",cd:"\u{1f4bf}",chains:"\u26d3",champagne:"\u{1f37e}",chart:"\u{1f4b9}",chart_with_downwards_trend:"\u{1f4c9}",chart_with_upwards_trend:"\u{1f4c8}",checkered_flag:"\u{1f3c1}",cheese:"\u{1f9c0}",cherries:"\u{1f352}",cherry_blossom:"\u{1f338}",chestnut:"\u{1f330}",chicken:"\u{1f414}",children_crossing:"\u{1f6b8}",chipmunk:"\u{1f43f}",chocolate_bar:"\u{1f36b}",christmas_tree:"\u{1f384}",church:"\u26ea\ufe0f",cinema:"\u{1f3a6}",circus_tent:"\u{1f3aa}",city_sunrise:"\u{1f307}",city_sunset:"\u{1f306}",cityscape:"\u{1f3d9}",cl:"\u{1f191}",clamp:"\u{1f5dc}",clap:"\u{1f44f}",clapper:"\u{1f3ac}",classical_building:"\u{1f3db}",clinking_glasses:"\u{1f942}",clipboard:"\u{1f4cb}",clock1:"\u{1f550}",clock10:"\u{1f559}",clock1030:"\u{1f565}",clock11:"\u{1f55a}",clock1130:"\u{1f566}",clock12:"\u{1f55b}",clock1230:"\u{1f567}",clock130:"\u{1f55c}",clock2:"\u{1f551}",clock230:"\u{1f55d}",clock3:"\u{1f552}",clock330:"\u{1f55e}",clock4:"\u{1f553}",clock430:"\u{1f55f}",clock5:"\u{1f554}",clock530:"\u{1f560}",clock6:"\u{1f555}",clock630:"\u{1f561}",clock7:"\u{1f556}",clock730:"\u{1f562}",clock8:"\u{1f557}",clock830:"\u{1f563}",clock9:"\u{1f558}",clock930:"\u{1f564}",closed_book:"\u{1f4d5}",closed_lock_with_key:"\u{1f510}",closed_umbrella:"\u{1f302}",cloud:"\u2601\ufe0f",cloud_with_lightning:"\u{1f329}",cloud_with_lightning_and_rain:"\u26c8",cloud_with_rain:"\u{1f327}",cloud_with_snow:"\u{1f328}",clown_face:"\u{1f921}",clubs:"\u2663\ufe0f",cocktail:"\u{1f378}",coffee:"\u2615\ufe0f",coffin:"\u26b0\ufe0f",cold_sweat:"\u{1f630}",comet:"\u2604\ufe0f",computer:"\u{1f4bb}",computer_mouse:"\u{1f5b1}",confetti_ball:"\u{1f38a}",confounded:"\u{1f616}",confused:"\u{1f615}",congratulations:"\u3297\ufe0f",construction:"\u{1f6a7}",construction_worker_man:"\u{1f477}",construction_worker_woman:"\u{1f477}‍\u2640\ufe0f",control_knobs:"\u{1f39b}",convenience_store:"\u{1f3ea}",cookie:"\u{1f36a}",cool:"\u{1f192}",policeman:"\u{1f46e}",copyright:"\xa9\ufe0f",corn:"\u{1f33d}",couch_and_lamp:"\u{1f6cb}",couple:"\u{1f46b}",couple_with_heart_woman_man:"\u{1f491}",couple_with_heart_man_man:"\u{1f468}‍\u2764\ufe0f‍\u{1f468}",couple_with_heart_woman_woman:"\u{1f469}‍\u2764\ufe0f‍\u{1f469}",couplekiss_man_man:"\u{1f468}‍\u2764\ufe0f‍\u{1f48b}‍\u{1f468}",couplekiss_man_woman:"\u{1f48f}",couplekiss_woman_woman:"\u{1f469}‍\u2764\ufe0f‍\u{1f48b}‍\u{1f469}",cow:"\u{1f42e}",cow2:"\u{1f404}",cowboy_hat_face:"\u{1f920}",crab:"\u{1f980}",crayon:"\u{1f58d}",credit_card:"\u{1f4b3}",crescent_moon:"\u{1f319}",cricket:"\u{1f3cf}",crocodile:"\u{1f40a}",croissant:"\u{1f950}",crossed_fingers:"\u{1f91e}",crossed_flags:"\u{1f38c}",crossed_swords:"\u2694\ufe0f",crown:"\u{1f451}",cry:"\u{1f622}",crying_cat_face:"\u{1f63f}",crystal_ball:"\u{1f52e}",cucumber:"\u{1f952}",cupid:"\u{1f498}",curly_loop:"\u27b0",currency_exchange:"\u{1f4b1}",curry:"\u{1f35b}",custard:"\u{1f36e}",customs:"\u{1f6c3}",cyclone:"\u{1f300}",dagger:"\u{1f5e1}",dancer:"\u{1f483}",dancing_women:"\u{1f46f}",dancing_men:"\u{1f46f}‍\u2642\ufe0f",dango:"\u{1f361}",dark_sunglasses:"\u{1f576}",dart:"\u{1f3af}",dash:"\u{1f4a8}",date:"\u{1f4c5}",deciduous_tree:"\u{1f333}",deer:"\u{1f98c}",department_store:"\u{1f3ec}",derelict_house:"\u{1f3da}",desert:"\u{1f3dc}",desert_island:"\u{1f3dd}",desktop_computer:"\u{1f5a5}",male_detective:"\u{1f575}\ufe0f",diamond_shape_with_a_dot_inside:"\u{1f4a0}",diamonds:"\u2666\ufe0f",disappointed:"\u{1f61e}",disappointed_relieved:"\u{1f625}",dizzy:"\u{1f4ab}",dizzy_face:"\u{1f635}",do_not_litter:"\u{1f6af}",dog:"\u{1f436}",dog2:"\u{1f415}",dollar:"\u{1f4b5}",dolls:"\u{1f38e}",dolphin:"\u{1f42c}",door:"\u{1f6aa}",doughnut:"\u{1f369}",dove:"\u{1f54a}",dragon:"\u{1f409}",dragon_face:"\u{1f432}",dress:"\u{1f457}",dromedary_camel:"\u{1f42a}",drooling_face:"\u{1f924}",droplet:"\u{1f4a7}",drum:"\u{1f941}",duck:"\u{1f986}",dvd:"\u{1f4c0}","e-mail":"\u{1f4e7}",eagle:"\u{1f985}",ear:"\u{1f442}",ear_of_rice:"\u{1f33e}",earth_africa:"\u{1f30d}",earth_americas:"\u{1f30e}",earth_asia:"\u{1f30f}",egg:"\u{1f95a}",eggplant:"\u{1f346}",eight_pointed_black_star:"\u2734\ufe0f",eight_spoked_asterisk:"\u2733\ufe0f",electric_plug:"\u{1f50c}",elephant:"\u{1f418}",email:"\u2709\ufe0f",end:"\u{1f51a}",envelope_with_arrow:"\u{1f4e9}",euro:"\u{1f4b6}",european_castle:"\u{1f3f0}",european_post_office:"\u{1f3e4}",evergreen_tree:"\u{1f332}",exclamation:"\u2757\ufe0f",expressionless:"\u{1f611}",eye:"\u{1f441}",eye_speech_bubble:"\u{1f441}‍\u{1f5e8}",eyeglasses:"\u{1f453}",eyes:"\u{1f440}",face_with_head_bandage:"\u{1f915}",face_with_thermometer:"\u{1f912}",fist_oncoming:"\u{1f44a}",factory:"\u{1f3ed}",fallen_leaf:"\u{1f342}",family_man_woman_boy:"\u{1f46a}",family_man_boy:"\u{1f468}‍\u{1f466}",family_man_boy_boy:"\u{1f468}‍\u{1f466}‍\u{1f466}",family_man_girl:"\u{1f468}‍\u{1f467}",family_man_girl_boy:"\u{1f468}‍\u{1f467}‍\u{1f466}",family_man_girl_girl:"\u{1f468}‍\u{1f467}‍\u{1f467}",family_man_man_boy:"\u{1f468}‍\u{1f468}‍\u{1f466}",family_man_man_boy_boy:"\u{1f468}‍\u{1f468}‍\u{1f466}‍\u{1f466}",family_man_man_girl:"\u{1f468}‍\u{1f468}‍\u{1f467}",family_man_man_girl_boy:"\u{1f468}‍\u{1f468}‍\u{1f467}‍\u{1f466}",family_man_man_girl_girl:"\u{1f468}‍\u{1f468}‍\u{1f467}‍\u{1f467}",family_man_woman_boy_boy:"\u{1f468}‍\u{1f469}‍\u{1f466}‍\u{1f466}",family_man_woman_girl:"\u{1f468}‍\u{1f469}‍\u{1f467}",family_man_woman_girl_boy:"\u{1f468}‍\u{1f469}‍\u{1f467}‍\u{1f466}",family_man_woman_girl_girl:"\u{1f468}‍\u{1f469}‍\u{1f467}‍\u{1f467}",family_woman_boy:"\u{1f469}‍\u{1f466}",family_woman_boy_boy:"\u{1f469}‍\u{1f466}‍\u{1f466}",family_woman_girl:"\u{1f469}‍\u{1f467}",family_woman_girl_boy:"\u{1f469}‍\u{1f467}‍\u{1f466}",family_woman_girl_girl:"\u{1f469}‍\u{1f467}‍\u{1f467}",family_woman_woman_boy:"\u{1f469}‍\u{1f469}‍\u{1f466}",family_woman_woman_boy_boy:"\u{1f469}‍\u{1f469}‍\u{1f466}‍\u{1f466}",family_woman_woman_girl:"\u{1f469}‍\u{1f469}‍\u{1f467}",family_woman_woman_girl_boy:"\u{1f469}‍\u{1f469}‍\u{1f467}‍\u{1f466}",family_woman_woman_girl_girl:"\u{1f469}‍\u{1f469}‍\u{1f467}‍\u{1f467}",fast_forward:"\u23e9",fax:"\u{1f4e0}",fearful:"\u{1f628}",feet:"\u{1f43e}",female_detective:"\u{1f575}\ufe0f‍\u2640\ufe0f",ferris_wheel:"\u{1f3a1}",ferry:"\u26f4",field_hockey:"\u{1f3d1}",file_cabinet:"\u{1f5c4}",file_folder:"\u{1f4c1}",film_projector:"\u{1f4fd}",film_strip:"\u{1f39e}",fire:"\u{1f525}",fire_engine:"\u{1f692}",fireworks:"\u{1f386}",first_quarter_moon:"\u{1f313}",first_quarter_moon_with_face:"\u{1f31b}",fish:"\u{1f41f}",fish_cake:"\u{1f365}",fishing_pole_and_fish:"\u{1f3a3}",fist_raised:"\u270a",fist_left:"\u{1f91b}",fist_right:"\u{1f91c}",flags:"\u{1f38f}",flashlight:"\u{1f526}",fleur_de_lis:"\u269c\ufe0f",flight_arrival:"\u{1f6ec}",flight_departure:"\u{1f6eb}",floppy_disk:"\u{1f4be}",flower_playing_cards:"\u{1f3b4}",flushed:"\u{1f633}",fog:"\u{1f32b}",foggy:"\u{1f301}",football:"\u{1f3c8}",footprints:"\u{1f463}",fork_and_knife:"\u{1f374}",fountain:"\u26f2\ufe0f",fountain_pen:"\u{1f58b}",four_leaf_clover:"\u{1f340}",fox_face:"\u{1f98a}",framed_picture:"\u{1f5bc}",free:"\u{1f193}",fried_egg:"\u{1f373}",fried_shrimp:"\u{1f364}",fries:"\u{1f35f}",frog:"\u{1f438}",frowning:"\u{1f626}",frowning_face:"\u2639\ufe0f",frowning_man:"\u{1f64d}‍\u2642\ufe0f",frowning_woman:"\u{1f64d}",middle_finger:"\u{1f595}",fuelpump:"\u26fd\ufe0f",full_moon:"\u{1f315}",full_moon_with_face:"\u{1f31d}",funeral_urn:"\u26b1\ufe0f",game_die:"\u{1f3b2}",gear:"\u2699\ufe0f",gem:"\u{1f48e}",gemini:"\u264a\ufe0f",ghost:"\u{1f47b}",gift:"\u{1f381}",gift_heart:"\u{1f49d}",girl:"\u{1f467}",globe_with_meridians:"\u{1f310}",goal_net:"\u{1f945}",goat:"\u{1f410}",golf:"\u26f3\ufe0f",golfing_man:"\u{1f3cc}\ufe0f",golfing_woman:"\u{1f3cc}\ufe0f‍\u2640\ufe0f",gorilla:"\u{1f98d}",grapes:"\u{1f347}",green_apple:"\u{1f34f}",green_book:"\u{1f4d7}",green_heart:"\u{1f49a}",green_salad:"\u{1f957}",grey_exclamation:"\u2755",grey_question:"\u2754",grimacing:"\u{1f62c}",grin:"\u{1f601}",grinning:"\u{1f600}",guardsman:"\u{1f482}",guardswoman:"\u{1f482}‍\u2640\ufe0f",guitar:"\u{1f3b8}",gun:"\u{1f52b}",haircut_woman:"\u{1f487}",haircut_man:"\u{1f487}‍\u2642\ufe0f",hamburger:"\u{1f354}",hammer:"\u{1f528}",hammer_and_pick:"\u2692",hammer_and_wrench:"\u{1f6e0}",hamster:"\u{1f439}",hand:"\u270b",handbag:"\u{1f45c}",handshake:"\u{1f91d}",hankey:"\u{1f4a9}",hatched_chick:"\u{1f425}",hatching_chick:"\u{1f423}",headphones:"\u{1f3a7}",hear_no_evil:"\u{1f649}",heart:"\u2764\ufe0f",heart_decoration:"\u{1f49f}",heart_eyes:"\u{1f60d}",heart_eyes_cat:"\u{1f63b}",heartbeat:"\u{1f493}",heartpulse:"\u{1f497}",hearts:"\u2665\ufe0f",heavy_check_mark:"\u2714\ufe0f",heavy_division_sign:"\u2797",heavy_dollar_sign:"\u{1f4b2}",heavy_heart_exclamation:"\u2763\ufe0f",heavy_minus_sign:"\u2796",heavy_multiplication_x:"\u2716\ufe0f",heavy_plus_sign:"\u2795",helicopter:"\u{1f681}",herb:"\u{1f33f}",hibiscus:"\u{1f33a}",high_brightness:"\u{1f506}",high_heel:"\u{1f460}",hocho:"\u{1f52a}",hole:"\u{1f573}",honey_pot:"\u{1f36f}",horse:"\u{1f434}",horse_racing:"\u{1f3c7}",hospital:"\u{1f3e5}",hot_pepper:"\u{1f336}",hotdog:"\u{1f32d}",hotel:"\u{1f3e8}",hotsprings:"\u2668\ufe0f",hourglass:"\u231b\ufe0f",hourglass_flowing_sand:"\u23f3",house:"\u{1f3e0}",house_with_garden:"\u{1f3e1}",houses:"\u{1f3d8}",hugs:"\u{1f917}",hushed:"\u{1f62f}",ice_cream:"\u{1f368}",ice_hockey:"\u{1f3d2}",ice_skate:"\u26f8",icecream:"\u{1f366}",id:"\u{1f194}",ideograph_advantage:"\u{1f250}",imp:"\u{1f47f}",inbox_tray:"\u{1f4e5}",incoming_envelope:"\u{1f4e8}",tipping_hand_woman:"\u{1f481}",information_source:"\u2139\ufe0f",innocent:"\u{1f607}",interrobang:"\u2049\ufe0f",iphone:"\u{1f4f1}",izakaya_lantern:"\u{1f3ee}",jack_o_lantern:"\u{1f383}",japan:"\u{1f5fe}",japanese_castle:"\u{1f3ef}",japanese_goblin:"\u{1f47a}",japanese_ogre:"\u{1f479}",jeans:"\u{1f456}",joy:"\u{1f602}",joy_cat:"\u{1f639}",joystick:"\u{1f579}",kaaba:"\u{1f54b}",key:"\u{1f511}",keyboard:"\u2328\ufe0f",keycap_ten:"\u{1f51f}",kick_scooter:"\u{1f6f4}",kimono:"\u{1f458}",kiss:"\u{1f48b}",kissing:"\u{1f617}",kissing_cat:"\u{1f63d}",kissing_closed_eyes:"\u{1f61a}",kissing_heart:"\u{1f618}",kissing_smiling_eyes:"\u{1f619}",kiwi_fruit:"\u{1f95d}",koala:"\u{1f428}",koko:"\u{1f201}",label:"\u{1f3f7}",large_blue_circle:"\u{1f535}",large_blue_diamond:"\u{1f537}",large_orange_diamond:"\u{1f536}",last_quarter_moon:"\u{1f317}",last_quarter_moon_with_face:"\u{1f31c}",latin_cross:"\u271d\ufe0f",laughing:"\u{1f606}",leaves:"\u{1f343}",ledger:"\u{1f4d2}",left_luggage:"\u{1f6c5}",left_right_arrow:"\u2194\ufe0f",leftwards_arrow_with_hook:"\u21a9\ufe0f",lemon:"\u{1f34b}",leo:"\u264c\ufe0f",leopard:"\u{1f406}",level_slider:"\u{1f39a}",libra:"\u264e\ufe0f",light_rail:"\u{1f688}",link:"\u{1f517}",lion:"\u{1f981}",lips:"\u{1f444}",lipstick:"\u{1f484}",lizard:"\u{1f98e}",lock:"\u{1f512}",lock_with_ink_pen:"\u{1f50f}",lollipop:"\u{1f36d}",loop:"\u27bf",loud_sound:"\u{1f50a}",loudspeaker:"\u{1f4e2}",love_hotel:"\u{1f3e9}",love_letter:"\u{1f48c}",low_brightness:"\u{1f505}",lying_face:"\u{1f925}",m:"\u24c2\ufe0f",mag:"\u{1f50d}",mag_right:"\u{1f50e}",mahjong:"\u{1f004}\ufe0f",mailbox:"\u{1f4eb}",mailbox_closed:"\u{1f4ea}",mailbox_with_mail:"\u{1f4ec}",mailbox_with_no_mail:"\u{1f4ed}",man:"\u{1f468}",man_artist:"\u{1f468}‍\u{1f3a8}",man_astronaut:"\u{1f468}‍\u{1f680}",man_cartwheeling:"\u{1f938}‍\u2642\ufe0f",man_cook:"\u{1f468}‍\u{1f373}",man_dancing:"\u{1f57a}",man_facepalming:"\u{1f926}‍\u2642\ufe0f",man_factory_worker:"\u{1f468}‍\u{1f3ed}",man_farmer:"\u{1f468}‍\u{1f33e}",man_firefighter:"\u{1f468}‍\u{1f692}",man_health_worker:"\u{1f468}‍\u2695\ufe0f",man_in_tuxedo:"\u{1f935}",man_judge:"\u{1f468}‍\u2696\ufe0f",man_juggling:"\u{1f939}‍\u2642\ufe0f",man_mechanic:"\u{1f468}‍\u{1f527}",man_office_worker:"\u{1f468}‍\u{1f4bc}",man_pilot:"\u{1f468}‍\u2708\ufe0f",man_playing_handball:"\u{1f93e}‍\u2642\ufe0f",man_playing_water_polo:"\u{1f93d}‍\u2642\ufe0f",man_scientist:"\u{1f468}‍\u{1f52c}",man_shrugging:"\u{1f937}‍\u2642\ufe0f",man_singer:"\u{1f468}‍\u{1f3a4}",man_student:"\u{1f468}‍\u{1f393}",man_teacher:"\u{1f468}‍\u{1f3eb}",man_technologist:"\u{1f468}‍\u{1f4bb}",man_with_gua_pi_mao:"\u{1f472}",man_with_turban:"\u{1f473}",tangerine:"\u{1f34a}",mans_shoe:"\u{1f45e}",mantelpiece_clock:"\u{1f570}",maple_leaf:"\u{1f341}",martial_arts_uniform:"\u{1f94b}",mask:"\u{1f637}",massage_woman:"\u{1f486}",massage_man:"\u{1f486}‍\u2642\ufe0f",meat_on_bone:"\u{1f356}",medal_military:"\u{1f396}",medal_sports:"\u{1f3c5}",mega:"\u{1f4e3}",melon:"\u{1f348}",memo:"\u{1f4dd}",men_wrestling:"\u{1f93c}‍\u2642\ufe0f",menorah:"\u{1f54e}",mens:"\u{1f6b9}",metal:"\u{1f918}",metro:"\u{1f687}",microphone:"\u{1f3a4}",microscope:"\u{1f52c}",milk_glass:"\u{1f95b}",milky_way:"\u{1f30c}",minibus:"\u{1f690}",minidisc:"\u{1f4bd}",mobile_phone_off:"\u{1f4f4}",money_mouth_face:"\u{1f911}",money_with_wings:"\u{1f4b8}",moneybag:"\u{1f4b0}",monkey:"\u{1f412}",monkey_face:"\u{1f435}",monorail:"\u{1f69d}",moon:"\u{1f314}",mortar_board:"\u{1f393}",mosque:"\u{1f54c}",motor_boat:"\u{1f6e5}",motor_scooter:"\u{1f6f5}",motorcycle:"\u{1f3cd}",motorway:"\u{1f6e3}",mount_fuji:"\u{1f5fb}",mountain:"\u26f0",mountain_biking_man:"\u{1f6b5}",mountain_biking_woman:"\u{1f6b5}‍\u2640\ufe0f",mountain_cableway:"\u{1f6a0}",mountain_railway:"\u{1f69e}",mountain_snow:"\u{1f3d4}",mouse:"\u{1f42d}",mouse2:"\u{1f401}",movie_camera:"\u{1f3a5}",moyai:"\u{1f5ff}",mrs_claus:"\u{1f936}",muscle:"\u{1f4aa}",mushroom:"\u{1f344}",musical_keyboard:"\u{1f3b9}",musical_note:"\u{1f3b5}",musical_score:"\u{1f3bc}",mute:"\u{1f507}",nail_care:"\u{1f485}",name_badge:"\u{1f4db}",national_park:"\u{1f3de}",nauseated_face:"\u{1f922}",necktie:"\u{1f454}",negative_squared_cross_mark:"\u274e",nerd_face:"\u{1f913}",neutral_face:"\u{1f610}",new:"\u{1f195}",new_moon:"\u{1f311}",new_moon_with_face:"\u{1f31a}",newspaper:"\u{1f4f0}",newspaper_roll:"\u{1f5de}",next_track_button:"\u23ed",ng:"\u{1f196}",no_good_man:"\u{1f645}‍\u2642\ufe0f",no_good_woman:"\u{1f645}",night_with_stars:"\u{1f303}",no_bell:"\u{1f515}",no_bicycles:"\u{1f6b3}",no_entry:"\u26d4\ufe0f",no_entry_sign:"\u{1f6ab}",no_mobile_phones:"\u{1f4f5}",no_mouth:"\u{1f636}",no_pedestrians:"\u{1f6b7}",no_smoking:"\u{1f6ad}","non-potable_water":"\u{1f6b1}",nose:"\u{1f443}",notebook:"\u{1f4d3}",notebook_with_decorative_cover:"\u{1f4d4}",notes:"\u{1f3b6}",nut_and_bolt:"\u{1f529}",o:"\u2b55\ufe0f",o2:"\u{1f17e}\ufe0f",ocean:"\u{1f30a}",octopus:"\u{1f419}",oden:"\u{1f362}",office:"\u{1f3e2}",oil_drum:"\u{1f6e2}",ok:"\u{1f197}",ok_hand:"\u{1f44c}",ok_man:"\u{1f646}‍\u2642\ufe0f",ok_woman:"\u{1f646}",old_key:"\u{1f5dd}",older_man:"\u{1f474}",older_woman:"\u{1f475}",om:"\u{1f549}",on:"\u{1f51b}",oncoming_automobile:"\u{1f698}",oncoming_bus:"\u{1f68d}",oncoming_police_car:"\u{1f694}",oncoming_taxi:"\u{1f696}",open_file_folder:"\u{1f4c2}",open_hands:"\u{1f450}",open_mouth:"\u{1f62e}",open_umbrella:"\u2602\ufe0f",ophiuchus:"\u26ce",orange_book:"\u{1f4d9}",orthodox_cross:"\u2626\ufe0f",outbox_tray:"\u{1f4e4}",owl:"\u{1f989}",ox:"\u{1f402}",package:"\u{1f4e6}",page_facing_up:"\u{1f4c4}",page_with_curl:"\u{1f4c3}",pager:"\u{1f4df}",paintbrush:"\u{1f58c}",palm_tree:"\u{1f334}",pancakes:"\u{1f95e}",panda_face:"\u{1f43c}",paperclip:"\u{1f4ce}",paperclips:"\u{1f587}",parasol_on_ground:"\u26f1",parking:"\u{1f17f}\ufe0f",part_alternation_mark:"\u303d\ufe0f",partly_sunny:"\u26c5\ufe0f",passenger_ship:"\u{1f6f3}",passport_control:"\u{1f6c2}",pause_button:"\u23f8",peace_symbol:"\u262e\ufe0f",peach:"\u{1f351}",peanuts:"\u{1f95c}",pear:"\u{1f350}",pen:"\u{1f58a}",pencil2:"\u270f\ufe0f",penguin:"\u{1f427}",pensive:"\u{1f614}",performing_arts:"\u{1f3ad}",persevere:"\u{1f623}",person_fencing:"\u{1f93a}",pouting_woman:"\u{1f64e}",phone:"\u260e\ufe0f",pick:"\u26cf",pig:"\u{1f437}",pig2:"\u{1f416}",pig_nose:"\u{1f43d}",pill:"\u{1f48a}",pineapple:"\u{1f34d}",ping_pong:"\u{1f3d3}",pisces:"\u2653\ufe0f",pizza:"\u{1f355}",place_of_worship:"\u{1f6d0}",plate_with_cutlery:"\u{1f37d}",play_or_pause_button:"\u23ef",point_down:"\u{1f447}",point_left:"\u{1f448}",point_right:"\u{1f449}",point_up:"\u261d\ufe0f",point_up_2:"\u{1f446}",police_car:"\u{1f693}",policewoman:"\u{1f46e}‍\u2640\ufe0f",poodle:"\u{1f429}",popcorn:"\u{1f37f}",post_office:"\u{1f3e3}",postal_horn:"\u{1f4ef}",postbox:"\u{1f4ee}",potable_water:"\u{1f6b0}",potato:"\u{1f954}",pouch:"\u{1f45d}",poultry_leg:"\u{1f357}",pound:"\u{1f4b7}",rage:"\u{1f621}",pouting_cat:"\u{1f63e}",pouting_man:"\u{1f64e}‍\u2642\ufe0f",pray:"\u{1f64f}",prayer_beads:"\u{1f4ff}",pregnant_woman:"\u{1f930}",previous_track_button:"\u23ee",prince:"\u{1f934}",princess:"\u{1f478}",printer:"\u{1f5a8}",purple_heart:"\u{1f49c}",purse:"\u{1f45b}",pushpin:"\u{1f4cc}",put_litter_in_its_place:"\u{1f6ae}",question:"\u2753",rabbit:"\u{1f430}",rabbit2:"\u{1f407}",racehorse:"\u{1f40e}",racing_car:"\u{1f3ce}",radio:"\u{1f4fb}",radio_button:"\u{1f518}",radioactive:"\u2622\ufe0f",railway_car:"\u{1f683}",railway_track:"\u{1f6e4}",rainbow:"\u{1f308}",rainbow_flag:"\u{1f3f3}\ufe0f‍\u{1f308}",raised_back_of_hand:"\u{1f91a}",raised_hand_with_fingers_splayed:"\u{1f590}",raised_hands:"\u{1f64c}",raising_hand_woman:"\u{1f64b}",raising_hand_man:"\u{1f64b}‍\u2642\ufe0f",ram:"\u{1f40f}",ramen:"\u{1f35c}",rat:"\u{1f400}",record_button:"\u23fa",recycle:"\u267b\ufe0f",red_circle:"\u{1f534}",registered:"\xae\ufe0f",relaxed:"\u263a\ufe0f",relieved:"\u{1f60c}",reminder_ribbon:"\u{1f397}",repeat:"\u{1f501}",repeat_one:"\u{1f502}",rescue_worker_helmet:"\u26d1",restroom:"\u{1f6bb}",revolving_hearts:"\u{1f49e}",rewind:"\u23ea",rhinoceros:"\u{1f98f}",ribbon:"\u{1f380}",rice:"\u{1f35a}",rice_ball:"\u{1f359}",rice_cracker:"\u{1f358}",rice_scene:"\u{1f391}",right_anger_bubble:"\u{1f5ef}",ring:"\u{1f48d}",robot:"\u{1f916}",rocket:"\u{1f680}",rofl:"\u{1f923}",roll_eyes:"\u{1f644}",roller_coaster:"\u{1f3a2}",rooster:"\u{1f413}",rose:"\u{1f339}",rosette:"\u{1f3f5}",rotating_light:"\u{1f6a8}",round_pushpin:"\u{1f4cd}",rowing_man:"\u{1f6a3}",rowing_woman:"\u{1f6a3}‍\u2640\ufe0f",rugby_football:"\u{1f3c9}",running_man:"\u{1f3c3}",running_shirt_with_sash:"\u{1f3bd}",running_woman:"\u{1f3c3}‍\u2640\ufe0f",sa:"\u{1f202}\ufe0f",sagittarius:"\u2650\ufe0f",sake:"\u{1f376}",sandal:"\u{1f461}",santa:"\u{1f385}",satellite:"\u{1f4e1}",saxophone:"\u{1f3b7}",school:"\u{1f3eb}",school_satchel:"\u{1f392}",scissors:"\u2702\ufe0f",scorpion:"\u{1f982}",scorpius:"\u264f\ufe0f",scream:"\u{1f631}",scream_cat:"\u{1f640}",scroll:"\u{1f4dc}",seat:"\u{1f4ba}",secret:"\u3299\ufe0f",see_no_evil:"\u{1f648}",seedling:"\u{1f331}",selfie:"\u{1f933}",shallow_pan_of_food:"\u{1f958}",shamrock:"\u2618\ufe0f",shark:"\u{1f988}",shaved_ice:"\u{1f367}",sheep:"\u{1f411}",shell:"\u{1f41a}",shield:"\u{1f6e1}",shinto_shrine:"\u26e9",ship:"\u{1f6a2}",shirt:"\u{1f455}",shopping:"\u{1f6cd}",shopping_cart:"\u{1f6d2}",shower:"\u{1f6bf}",shrimp:"\u{1f990}",signal_strength:"\u{1f4f6}",six_pointed_star:"\u{1f52f}",ski:"\u{1f3bf}",skier:"\u26f7",skull:"\u{1f480}",skull_and_crossbones:"\u2620\ufe0f",sleeping:"\u{1f634}",sleeping_bed:"\u{1f6cc}",sleepy:"\u{1f62a}",slightly_frowning_face:"\u{1f641}",slightly_smiling_face:"\u{1f642}",slot_machine:"\u{1f3b0}",small_airplane:"\u{1f6e9}",small_blue_diamond:"\u{1f539}",small_orange_diamond:"\u{1f538}",small_red_triangle:"\u{1f53a}",small_red_triangle_down:"\u{1f53b}",smile:"\u{1f604}",smile_cat:"\u{1f638}",smiley:"\u{1f603}",smiley_cat:"\u{1f63a}",smiling_imp:"\u{1f608}",smirk:"\u{1f60f}",smirk_cat:"\u{1f63c}",smoking:"\u{1f6ac}",snail:"\u{1f40c}",snake:"\u{1f40d}",sneezing_face:"\u{1f927}",snowboarder:"\u{1f3c2}",snowflake:"\u2744\ufe0f",snowman:"\u26c4\ufe0f",snowman_with_snow:"\u2603\ufe0f",sob:"\u{1f62d}",soccer:"\u26bd\ufe0f",soon:"\u{1f51c}",sos:"\u{1f198}",sound:"\u{1f509}",space_invader:"\u{1f47e}",spades:"\u2660\ufe0f",spaghetti:"\u{1f35d}",sparkle:"\u2747\ufe0f",sparkler:"\u{1f387}",sparkles:"\u2728",sparkling_heart:"\u{1f496}",speak_no_evil:"\u{1f64a}",speaker:"\u{1f508}",speaking_head:"\u{1f5e3}",speech_balloon:"\u{1f4ac}",speedboat:"\u{1f6a4}",spider:"\u{1f577}",spider_web:"\u{1f578}",spiral_calendar:"\u{1f5d3}",spiral_notepad:"\u{1f5d2}",spoon:"\u{1f944}",squid:"\u{1f991}",stadium:"\u{1f3df}",star:"\u2b50\ufe0f",star2:"\u{1f31f}",star_and_crescent:"\u262a\ufe0f",star_of_david:"\u2721\ufe0f",stars:"\u{1f320}",station:"\u{1f689}",statue_of_liberty:"\u{1f5fd}",steam_locomotive:"\u{1f682}",stew:"\u{1f372}",stop_button:"\u23f9",stop_sign:"\u{1f6d1}",stopwatch:"\u23f1",straight_ruler:"\u{1f4cf}",strawberry:"\u{1f353}",stuck_out_tongue:"\u{1f61b}",stuck_out_tongue_closed_eyes:"\u{1f61d}",stuck_out_tongue_winking_eye:"\u{1f61c}",studio_microphone:"\u{1f399}",stuffed_flatbread:"\u{1f959}",sun_behind_large_cloud:"\u{1f325}",sun_behind_rain_cloud:"\u{1f326}",sun_behind_small_cloud:"\u{1f324}",sun_with_face:"\u{1f31e}",sunflower:"\u{1f33b}",sunglasses:"\u{1f60e}",sunny:"\u2600\ufe0f",sunrise:"\u{1f305}",sunrise_over_mountains:"\u{1f304}",surfing_man:"\u{1f3c4}",surfing_woman:"\u{1f3c4}‍\u2640\ufe0f",sushi:"\u{1f363}",suspension_railway:"\u{1f69f}",sweat:"\u{1f613}",sweat_drops:"\u{1f4a6}",sweat_smile:"\u{1f605}",sweet_potato:"\u{1f360}",swimming_man:"\u{1f3ca}",swimming_woman:"\u{1f3ca}‍\u2640\ufe0f",symbols:"\u{1f523}",synagogue:"\u{1f54d}",syringe:"\u{1f489}",taco:"\u{1f32e}",tada:"\u{1f389}",tanabata_tree:"\u{1f38b}",taurus:"\u2649\ufe0f",taxi:"\u{1f695}",tea:"\u{1f375}",telephone_receiver:"\u{1f4de}",telescope:"\u{1f52d}",tennis:"\u{1f3be}",tent:"\u26fa\ufe0f",thermometer:"\u{1f321}",thinking:"\u{1f914}",thought_balloon:"\u{1f4ad}",ticket:"\u{1f3ab}",tickets:"\u{1f39f}",tiger:"\u{1f42f}",tiger2:"\u{1f405}",timer_clock:"\u23f2",tipping_hand_man:"\u{1f481}‍\u2642\ufe0f",tired_face:"\u{1f62b}",tm:"\u2122\ufe0f",toilet:"\u{1f6bd}",tokyo_tower:"\u{1f5fc}",tomato:"\u{1f345}",tongue:"\u{1f445}",top:"\u{1f51d}",tophat:"\u{1f3a9}",tornado:"\u{1f32a}",trackball:"\u{1f5b2}",tractor:"\u{1f69c}",traffic_light:"\u{1f6a5}",train:"\u{1f68b}",train2:"\u{1f686}",tram:"\u{1f68a}",triangular_flag_on_post:"\u{1f6a9}",triangular_ruler:"\u{1f4d0}",trident:"\u{1f531}",triumph:"\u{1f624}",trolleybus:"\u{1f68e}",trophy:"\u{1f3c6}",tropical_drink:"\u{1f379}",tropical_fish:"\u{1f420}",truck:"\u{1f69a}",trumpet:"\u{1f3ba}",tulip:"\u{1f337}",tumbler_glass:"\u{1f943}",turkey:"\u{1f983}",turtle:"\u{1f422}",tv:"\u{1f4fa}",twisted_rightwards_arrows:"\u{1f500}",two_hearts:"\u{1f495}",two_men_holding_hands:"\u{1f46c}",two_women_holding_hands:"\u{1f46d}",u5272:"\u{1f239}",u5408:"\u{1f234}",u55b6:"\u{1f23a}",u6307:"\u{1f22f}\ufe0f",u6708:"\u{1f237}\ufe0f",u6709:"\u{1f236}",u6e80:"\u{1f235}",u7121:"\u{1f21a}\ufe0f",u7533:"\u{1f238}",u7981:"\u{1f232}",u7a7a:"\u{1f233}",umbrella:"\u2614\ufe0f",unamused:"\u{1f612}",underage:"\u{1f51e}",unicorn:"\u{1f984}",unlock:"\u{1f513}",up:"\u{1f199}",upside_down_face:"\u{1f643}",v:"\u270c\ufe0f",vertical_traffic_light:"\u{1f6a6}",vhs:"\u{1f4fc}",vibration_mode:"\u{1f4f3}",video_camera:"\u{1f4f9}",video_game:"\u{1f3ae}",violin:"\u{1f3bb}",virgo:"\u264d\ufe0f",volcano:"\u{1f30b}",volleyball:"\u{1f3d0}",vs:"\u{1f19a}",vulcan_salute:"\u{1f596}",walking_man:"\u{1f6b6}",walking_woman:"\u{1f6b6}‍\u2640\ufe0f",waning_crescent_moon:"\u{1f318}",waning_gibbous_moon:"\u{1f316}",warning:"\u26a0\ufe0f",wastebasket:"\u{1f5d1}",watch:"\u231a\ufe0f",water_buffalo:"\u{1f403}",watermelon:"\u{1f349}",wave:"\u{1f44b}",wavy_dash:"\u3030\ufe0f",waxing_crescent_moon:"\u{1f312}",wc:"\u{1f6be}",weary:"\u{1f629}",wedding:"\u{1f492}",weight_lifting_man:"\u{1f3cb}\ufe0f",weight_lifting_woman:"\u{1f3cb}\ufe0f‍\u2640\ufe0f",whale:"\u{1f433}",whale2:"\u{1f40b}",wheel_of_dharma:"\u2638\ufe0f",wheelchair:"\u267f\ufe0f",white_check_mark:"\u2705",white_circle:"\u26aa\ufe0f",white_flag:"\u{1f3f3}\ufe0f",white_flower:"\u{1f4ae}",white_large_square:"\u2b1c\ufe0f",white_medium_small_square:"\u25fd\ufe0f",white_medium_square:"\u25fb\ufe0f",white_small_square:"\u25ab\ufe0f",white_square_button:"\u{1f533}",wilted_flower:"\u{1f940}",wind_chime:"\u{1f390}",wind_face:"\u{1f32c}",wine_glass:"\u{1f377}",wink:"\u{1f609}",wolf:"\u{1f43a}",woman:"\u{1f469}",woman_artist:"\u{1f469}‍\u{1f3a8}",woman_astronaut:"\u{1f469}‍\u{1f680}",woman_cartwheeling:"\u{1f938}‍\u2640\ufe0f",woman_cook:"\u{1f469}‍\u{1f373}",woman_facepalming:"\u{1f926}‍\u2640\ufe0f",woman_factory_worker:"\u{1f469}‍\u{1f3ed}",woman_farmer:"\u{1f469}‍\u{1f33e}",woman_firefighter:"\u{1f469}‍\u{1f692}",woman_health_worker:"\u{1f469}‍\u2695\ufe0f",woman_judge:"\u{1f469}‍\u2696\ufe0f",woman_juggling:"\u{1f939}‍\u2640\ufe0f",woman_mechanic:"\u{1f469}‍\u{1f527}",woman_office_worker:"\u{1f469}‍\u{1f4bc}",woman_pilot:"\u{1f469}‍\u2708\ufe0f",woman_playing_handball:"\u{1f93e}‍\u2640\ufe0f",woman_playing_water_polo:"\u{1f93d}‍\u2640\ufe0f",woman_scientist:"\u{1f469}‍\u{1f52c}",woman_shrugging:"\u{1f937}‍\u2640\ufe0f",woman_singer:"\u{1f469}‍\u{1f3a4}",woman_student:"\u{1f469}‍\u{1f393}",woman_teacher:"\u{1f469}‍\u{1f3eb}",woman_technologist:"\u{1f469}‍\u{1f4bb}",woman_with_turban:"\u{1f473}‍\u2640\ufe0f",womans_clothes:"\u{1f45a}",womans_hat:"\u{1f452}",women_wrestling:"\u{1f93c}‍\u2640\ufe0f",womens:"\u{1f6ba}",world_map:"\u{1f5fa}",worried:"\u{1f61f}",wrench:"\u{1f527}",writing_hand:"\u270d\ufe0f",x:"\u274c",yellow_heart:"\u{1f49b}",yen:"\u{1f4b4}",yin_yang:"\u262f\ufe0f",yum:"\u{1f60b}",zap:"\u26a1\ufe0f",zipper_mouth_face:"\u{1f910}",zzz:"\u{1f4a4}",octocat:'<img alt=":octocat:" height="20" width="20" align="absmiddle" src="https://assets-cdn.github.com/images/icons/emoji/octocat.png">',showdown:"<span style=\"font-family: 'Anonymous Pro', monospace; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: #3e8b8a;text-underline-position: under;\">S</span>"},m.Converter=function(c){"use strict";var h={},f=[],v=[],D={},C=Mr,w={parsed:{},raw:"",format:""};function O(_,A){if(A=A||null,m.helper.isString(_)){if(A=_=m.helper.stdExtName(_),m.extensions[_])return console.warn("DEPRECATION WARNING: "+_+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void function k(_,A){"function"==typeof _&&(_=_(new m.Converter)),m.helper.isArray(_)||(_=[_]);var L=gn(_,A);if(!L.valid)throw Error(L.error);for(var U=0;U<_.length;++U)switch(_[U].type){case"lang":f.push(_[U]);break;case"output":v.push(_[U]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}(m.extensions[_],_);if(m.helper.isUndefined(Ht[_]))throw Error('Extension "'+_+'" could not be loaded. It was either not found or is not a valid extension.');_=Ht[_]}"function"==typeof _&&(_=_()),m.helper.isArray(_)||(_=[_]);var L=gn(_,A);if(!L.valid)throw Error(L.error);for(var U=0;U<_.length;++U){switch(_[U].type){case"lang":f.push(_[U]);break;case"output":v.push(_[U])}if(_[U].hasOwnProperty("listeners"))for(var de in _[U].listeners)_[U].listeners.hasOwnProperty(de)&&R(de,_[U].listeners[de])}}function R(_,A){if(!m.helper.isString(_))throw Error("Invalid argument in converter.listen() method: name must be a string, but "+typeof _+" given");if("function"!=typeof A)throw Error("Invalid argument in converter.listen() method: callback must be a function, but "+typeof A+" given");D.hasOwnProperty(_)||(D[_]=[]),D[_].push(A)}!function E(){for(var _ in c=c||{},Bt)Bt.hasOwnProperty(_)&&(h[_]=Bt[_]);if("object"!=typeof c)throw Error("Converter expects the passed parameter to be an object, but "+typeof c+" was passed instead.");for(var A in c)c.hasOwnProperty(A)&&(h[A]=c[A]);h.extensions&&m.helper.forEach(h.extensions,O)}(),this._dispatch=function(A,L,U,de){if(D.hasOwnProperty(A))for(var j=0;j<D[A].length;++j){var Be=D[A][j](A,L,this,U,de);Be&&void 0!==Be&&(L=Be)}return L},this.listen=function(_,A){return R(_,A),this},this.makeHtml=function(_){if(!_)return _;var A={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:f,outputModifiers:v,converter:this,ghCodeBlocks:[],metadata:{parsed:{},raw:"",format:""}};return _=(_=(_=(_=(_=_.replace(/\xa8/g,"\xa8T")).replace(/\$/g,"\xa8D")).replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/\u00A0/g," "),h.smartIndentationFix&&(_=function N(_){var A=_.match(/^\s*/)[0].length,L=new RegExp("^\\s{0,"+A+"}","gm");return _.replace(L,"")}(_)),_="\n\n"+_+"\n\n",_=(_=m.subParser("detab")(_,h,A)).replace(/^[ \t]+$/gm,""),m.helper.forEach(f,function(L){_=m.subParser("runExtension")(L,_,h,A)}),_=m.subParser("metadata")(_,h,A),_=m.subParser("hashPreCodeTags")(_,h,A),_=m.subParser("githubCodeBlocks")(_,h,A),_=m.subParser("hashHTMLBlocks")(_,h,A),_=m.subParser("hashCodeTags")(_,h,A),_=m.subParser("stripLinkDefinitions")(_,h,A),_=m.subParser("blockGamut")(_,h,A),_=m.subParser("unhashHTMLSpans")(_,h,A),_=(_=(_=m.subParser("unescapeSpecialChars")(_,h,A)).replace(/\xa8D/g,"$$")).replace(/\xa8T/g,"\xa8"),_=m.subParser("completeHTMLDocument")(_,h,A),m.helper.forEach(v,function(L){_=m.subParser("runExtension")(L,_,h,A)}),w=A.metadata,_},this.makeMarkdown=this.makeMd=function(_,A){if(_=(_=(_=_.replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/>[ \t]+</,">\xa8NBSP;<"),!A){if(!window||!window.document)throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");A=window.document}var L=A.createElement("div");L.innerHTML=_;var U={preList:function ye(le){for(var Qe=le.querySelectorAll("pre"),G=[],Ze=0;Ze<Qe.length;++Ze)if(1===Qe[Ze].childElementCount&&"code"===Qe[Ze].firstChild.tagName.toLowerCase()){var xs=Qe[Ze].firstChild.innerHTML.trim(),Sr=Qe[Ze].firstChild.getAttribute("data-language")||"";if(""===Sr)for(var Aa=Qe[Ze].firstChild.className.split(" "),Ls=0;Ls<Aa.length;++Ls){var Pa=Aa[Ls].match(/^language-(.+)$/);if(null!==Pa){Sr=Pa[1];break}}xs=m.helper.unescapeHTMLEntities(xs),G.push(xs),Qe[Ze].outerHTML='<precode language="'+Sr+'" precodenum="'+Ze.toString()+'"></precode>'}else G.push(Qe[Ze].innerHTML),Qe[Ze].innerHTML="",Qe[Ze].setAttribute("prenum",Ze.toString());return G}(L)};!function We(le){for(var Qe=0;Qe<le.childNodes.length;++Qe){var G=le.childNodes[Qe];3===G.nodeType?/\S/.test(G.nodeValue)||/^[ ]+$/.test(G.nodeValue)?(G.nodeValue=G.nodeValue.split("\n").join(" "),G.nodeValue=G.nodeValue.replace(/(\s)+/g,"$1")):(le.removeChild(G),--Qe):1===G.nodeType&&We(G)}}(L);for(var de=L.childNodes,j="",Be=0;Be<de.length;Be++)j+=m.subParser("makeMarkdown.node")(de[Be],U);return j},this.setOption=function(_,A){h[_]=A},this.getOption=function(_){return h[_]},this.getOptions=function(){return h},this.addExtension=function(_,A){O(_,A=A||null)},this.useExtension=function(_){O(_)},this.setFlavor=function(_){if(!pt.hasOwnProperty(_))throw Error(_+" flavor was not found");var A=pt[_];for(var L in C=_,A)A.hasOwnProperty(L)&&(h[L]=A[L])},this.getFlavor=function(){return C},this.removeExtension=function(_){m.helper.isArray(_)||(_=[_]);for(var A=0;A<_.length;++A){for(var L=_[A],U=0;U<f.length;++U)f[U]===L&&f.splice(U,1);for(var de=0;de<v.length;++de)v[de]===L&&v.splice(de,1)}},this.getAllExtensions=function(){return{language:f,output:v}},this.getMetadata=function(_){return _?w.raw:w.parsed},this.getMetadataFormat=function(){return w.format},this._setMetadataPair=function(_,A){w.parsed[_]=A},this._setMetadataFormat=function(_){w.format=_},this._setMetadataRaw=function(_){w.raw=_}},m.subParser("anchors",function(c,h,f){"use strict";var v=function(D,C,w,E,O,k,R){if(m.helper.isUndefined(R)&&(R=""),w=w.toLowerCase(),D.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)E="";else if(!E){if(w||(w=C.toLowerCase().replace(/ ?\n/g," ")),E="#"+w,m.helper.isUndefined(f.gUrls[w]))return D;E=f.gUrls[w],m.helper.isUndefined(f.gTitles[w])||(R=f.gTitles[w])}var N='<a href="'+(E=E.replace(m.helper.regexes.asteriskDashAndColon,m.helper.escapeCharactersCallback))+'"';return""!==R&&null!==R&&(N+=' title="'+(R=(R=R.replace(/"/g,""")).replace(m.helper.regexes.asteriskDashAndColon,m.helper.escapeCharactersCallback))+'"'),h.openLinksInNewWindow&&!/^#/.test(E)&&(N+=' rel="noopener noreferrer" target="\xa8E95Eblank"'),N+">"+C+"</a>"};return c=(c=(c=(c=(c=f.converter._dispatch("anchors.before",c,h,f)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,v)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,v)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,v)).replace(/\[([^\[\]]+)]()()()()()/g,v),h.ghMentions&&(c=c.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,function(D,C,w,E,O){if("\\"===w)return C+E;if(!m.helper.isString(h.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var k=h.ghMentionsLink.replace(/\{u}/g,O),R="";return h.openLinksInNewWindow&&(R=' rel="noopener noreferrer" target="\xa8E95Eblank"'),C+'<a href="'+k+'"'+R+">"+E+"</a>"})),f.converter._dispatch("anchors.after",c,h,f)});var Sa=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,Ia=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,Ta=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,Mi=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,mn=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,Fn=function(c){"use strict";return function(h,f,v,D,C,w,E){var O=v=v.replace(m.helper.regexes.asteriskDashAndColon,m.helper.escapeCharactersCallback),k="",R="",N=f||"",_=E||"";return/^www\./i.test(v)&&(v=v.replace(/^www\./i,"http://www.")),c.excludeTrailingPunctuationFromURLs&&w&&(k=w),c.openLinksInNewWindow&&(R=' rel="noopener noreferrer" target="\xa8E95Eblank"'),N+'<a href="'+v+'"'+R+">"+O+"</a>"+k+_}},Os=function(c,h){"use strict";return function(f,v,D){var C="mailto:";return v=v||"",D=m.subParser("unescapeSpecialChars")(D,c,h),c.encodeEmails?(C=m.helper.encodeEmailAddress(C+D),D=m.helper.encodeEmailAddress(D)):C+=D,v+'<a href="'+C+'">'+D+"</a>"}};m.subParser("autoLinks",function(c,h,f){"use strict";return c=(c=(c=f.converter._dispatch("autoLinks.before",c,h,f)).replace(Ta,Fn(h))).replace(mn,Os(h,f)),f.converter._dispatch("autoLinks.after",c,h,f)}),m.subParser("simplifiedAutoLinks",function(c,h,f){"use strict";return h.simplifiedAutoLink&&(c=(c=(c=f.converter._dispatch("simplifiedAutoLinks.before",c,h,f)).replace(h.excludeTrailingPunctuationFromURLs?Ia:Sa,Fn(h))).replace(Mi,Os(h,f)),c=f.converter._dispatch("simplifiedAutoLinks.after",c,h,f)),c}),m.subParser("blockGamut",function(c,h,f){"use strict";return c=f.converter._dispatch("blockGamut.before",c,h,f),c=m.subParser("blockQuotes")(c,h,f),c=m.subParser("headers")(c,h,f),c=m.subParser("horizontalRule")(c,h,f),c=m.subParser("lists")(c,h,f),c=m.subParser("codeBlocks")(c,h,f),c=m.subParser("tables")(c,h,f),c=m.subParser("hashHTMLBlocks")(c,h,f),c=m.subParser("paragraphs")(c,h,f),f.converter._dispatch("blockGamut.after",c,h,f)}),m.subParser("blockQuotes",function(c,h,f){"use strict";c=f.converter._dispatch("blockQuotes.before",c,h,f);var v=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return h.splitAdjacentBlockquotes&&(v=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),c=(c+="\n\n").replace(v,function(D){return D=(D=(D=D.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/\xa80/g,"")).replace(/^[ \t]+$/gm,""),D=m.subParser("githubCodeBlocks")(D,h,f),D=(D=(D=m.subParser("blockGamut")(D,h,f)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,function(C,w){var E=w;return(E=E.replace(/^ /gm,"\xa80")).replace(/\xa80/g,"")}),m.subParser("hashBlock")("<blockquote>\n"+D+"\n</blockquote>",h,f)}),f.converter._dispatch("blockQuotes.after",c,h,f)}),m.subParser("codeBlocks",function(c,h,f){"use strict";return c=f.converter._dispatch("codeBlocks.before",c,h,f),c=(c=(c+="\xa80").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=\xa80))/g,function(D,C,w){var E=C,O=w,k="\n";return E=m.subParser("outdent")(E,h,f),E=m.subParser("encodeCode")(E,h,f),E=(E=(E=m.subParser("detab")(E,h,f)).replace(/^\n+/g,"")).replace(/\n+$/g,""),h.omitExtraWLInCodeBlocks&&(k=""),E="<pre><code>"+E+k+"</code></pre>",m.subParser("hashBlock")(E,h,f)+O})).replace(/\xa80/,""),f.converter._dispatch("codeBlocks.after",c,h,f)}),m.subParser("codeSpans",function(c,h,f){"use strict";return void 0===(c=f.converter._dispatch("codeSpans.before",c,h,f))&&(c=""),c=c.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(v,D,C,w){var E=w;return E=(E=E.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),E=D+"<code>"+(E=m.subParser("encodeCode")(E,h,f))+"</code>",m.subParser("hashHTMLSpans")(E,h,f)}),f.converter._dispatch("codeSpans.after",c,h,f)}),m.subParser("completeHTMLDocument",function(c,h,f){"use strict";if(!h.completeHTMLDocument)return c;c=f.converter._dispatch("completeHTMLDocument.before",c,h,f);var v="html",D="<!DOCTYPE HTML>\n",C="",w='<meta charset="utf-8">\n',E="",O="";for(var k in void 0!==f.metadata.parsed.doctype&&(D="<!DOCTYPE "+f.metadata.parsed.doctype+">\n",("html"===(v=f.metadata.parsed.doctype.toString().toLowerCase())||"html5"===v)&&(w='<meta charset="utf-8">')),f.metadata.parsed)if(f.metadata.parsed.hasOwnProperty(k))switch(k.toLowerCase()){case"doctype":break;case"title":C="<title>"+f.metadata.parsed.title+"</title>\n";break;case"charset":w="html"===v||"html5"===v?'<meta charset="'+f.metadata.parsed.charset+'">\n':'<meta name="charset" content="'+f.metadata.parsed.charset+'">\n';break;case"language":case"lang":E=' lang="'+f.metadata.parsed[k]+'"',O+='<meta name="'+k+'" content="'+f.metadata.parsed[k]+'">\n';break;default:O+='<meta name="'+k+'" content="'+f.metadata.parsed[k]+'">\n'}return c=D+"<html"+E+">\n<head>\n"+C+w+O+"</head>\n<body>\n"+c.trim()+"\n</body>\n</html>",f.converter._dispatch("completeHTMLDocument.after",c,h,f)}),m.subParser("detab",function(c,h,f){"use strict";return c=(c=(c=(c=(c=(c=f.converter._dispatch("detab.before",c,h,f)).replace(/\t(?=\t)/g," ")).replace(/\t/g,"\xa8A\xa8B")).replace(/\xa8B(.+?)\xa8A/g,function(v,D){for(var C=D,w=4-C.length%4,E=0;E<w;E++)C+=" ";return C})).replace(/\xa8A/g," ")).replace(/\xa8B/g,""),f.converter._dispatch("detab.after",c,h,f)}),m.subParser("ellipsis",function(c,h,f){"use strict";return h.ellipsis&&(c=(c=f.converter._dispatch("ellipsis.before",c,h,f)).replace(/\.\.\./g,"\u2026"),c=f.converter._dispatch("ellipsis.after",c,h,f)),c}),m.subParser("emoji",function(c,h,f){"use strict";return h.emoji?(c=(c=f.converter._dispatch("emoji.before",c,h,f)).replace(/:([\S]+?):/g,function(D,C){return m.helper.emojis.hasOwnProperty(C)?m.helper.emojis[C]:D}),f.converter._dispatch("emoji.after",c,h,f)):c}),m.subParser("encodeAmpsAndAngles",function(c,h,f){"use strict";return c=(c=(c=(c=(c=f.converter._dispatch("encodeAmpsAndAngles.before",c,h,f)).replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&")).replace(/<(?![a-z\/?$!])/gi,"<")).replace(/</g,"<")).replace(/>/g,">"),f.converter._dispatch("encodeAmpsAndAngles.after",c,h,f)}),m.subParser("encodeBackslashEscapes",function(c,h,f){"use strict";return c=(c=(c=f.converter._dispatch("encodeBackslashEscapes.before",c,h,f)).replace(/\\(\\)/g,m.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|:-])/g,m.helper.escapeCharactersCallback),f.converter._dispatch("encodeBackslashEscapes.after",c,h,f)}),m.subParser("encodeCode",function(c,h,f){"use strict";return c=(c=f.converter._dispatch("encodeCode.before",c,h,f)).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/([*_{}\[\]\\=~-])/g,m.helper.escapeCharactersCallback),f.converter._dispatch("encodeCode.after",c,h,f)}),m.subParser("escapeSpecialCharsWithinTagAttributes",function(c,h,f){"use strict";return c=(c=(c=f.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",c,h,f)).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,function(C){return C.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,m.helper.escapeCharactersCallback)})).replace(/<!(--(?:(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,function(C){return C.replace(/([\\`*_~=|])/g,m.helper.escapeCharactersCallback)}),f.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",c,h,f)}),m.subParser("githubCodeBlocks",function(c,h,f){"use strict";return h.ghCodeBlocks?(c=f.converter._dispatch("githubCodeBlocks.before",c,h,f),c=(c=(c+="\xa80").replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,function(v,D,C,w){var E=h.omitExtraWLInCodeBlocks?"":"\n";return w=m.subParser("encodeCode")(w,h,f),w="<pre><code"+(C?' class="'+C+" language-"+C+'"':"")+">"+(w=(w=(w=m.subParser("detab")(w,h,f)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+E+"</code></pre>",w=m.subParser("hashBlock")(w,h,f),"\n\n\xa8G"+(f.ghCodeBlocks.push({text:v,codeblock:w})-1)+"G\n\n"})).replace(/\xa80/,""),f.converter._dispatch("githubCodeBlocks.after",c,h,f)):c}),m.subParser("hashBlock",function(c,h,f){"use strict";return c=(c=f.converter._dispatch("hashBlock.before",c,h,f)).replace(/(^\n+|\n+$)/g,""),c="\n\n\xa8K"+(f.gHtmlBlocks.push(c)-1)+"K\n\n",f.converter._dispatch("hashBlock.after",c,h,f)}),m.subParser("hashCodeTags",function(c,h,f){"use strict";return c=f.converter._dispatch("hashCodeTags.before",c,h,f),c=m.helper.replaceRecursiveRegExp(c,function(D,C,w,E){var O=w+m.subParser("encodeCode")(C,h,f)+E;return"\xa8C"+(f.gHtmlSpans.push(O)-1)+"C"},"<code\\b[^>]*>","</code>","gim"),f.converter._dispatch("hashCodeTags.after",c,h,f)}),m.subParser("hashElement",function(c,h,f){"use strict";return function(v,D){var C=D;return C=(C=(C=C.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),"\n\n\xa8K"+(f.gHtmlBlocks.push(C)-1)+"K\n\n"}}),m.subParser("hashHTMLBlocks",function(c,h,f){"use strict";c=f.converter._dispatch("hashHTMLBlocks.before",c,h,f);var v=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],D=function(_,A,L,U){var de=_;return-1!==L.search(/\bmarkdown\b/)&&(de=L+f.converter.makeHtml(A)+U),"\n\n\xa8K"+(f.gHtmlBlocks.push(de)-1)+"K\n\n"};h.backslashEscapesHTMLTags&&(c=c.replace(/\\<(\/?[^>]+?)>/g,function(_,A){return"<"+A+">"}));for(var C=0;C<v.length;++C)for(var w,E=new RegExp("^ {0,3}(<"+v[C]+"\\b[^>]*>)","im"),O="<"+v[C]+"\\b[^>]*>",k="</"+v[C]+">";-1!==(w=m.helper.regexIndexOf(c,E));){var R=m.helper.splitAtIndex(c,w),N=m.helper.replaceRecursiveRegExp(R[1],D,O,k,"im");if(N===R[1])break;c=R[0].concat(N)}return c=c.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,m.subParser("hashElement")(c,h,f)),c=(c=m.helper.replaceRecursiveRegExp(c,function(_){return"\n\n\xa8K"+(f.gHtmlBlocks.push(_)-1)+"K\n\n"},"^ {0,3}\x3c!--","--\x3e","gm")).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,m.subParser("hashElement")(c,h,f)),f.converter._dispatch("hashHTMLBlocks.after",c,h,f)}),m.subParser("hashHTMLSpans",function(c,h,f){"use strict";function v(D){return"\xa8C"+(f.gHtmlSpans.push(D)-1)+"C"}return c=(c=(c=(c=(c=f.converter._dispatch("hashHTMLSpans.before",c,h,f)).replace(/<[^>]+?\/>/gi,function(D){return v(D)})).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(D){return v(D)})).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(D){return v(D)})).replace(/<[^>]+?>/gi,function(D){return v(D)}),f.converter._dispatch("hashHTMLSpans.after",c,h,f)}),m.subParser("unhashHTMLSpans",function(c,h,f){"use strict";c=f.converter._dispatch("unhashHTMLSpans.before",c,h,f);for(var v=0;v<f.gHtmlSpans.length;++v){for(var D=f.gHtmlSpans[v],C=0;/\xa8C(\d+)C/.test(D);){var w=RegExp.$1;if(D=D.replace("\xa8C"+w+"C",f.gHtmlSpans[w]),10===C){console.error("maximum nesting of 10 spans reached!!!");break}++C}c=c.replace("\xa8C"+v+"C",D)}return f.converter._dispatch("unhashHTMLSpans.after",c,h,f)}),m.subParser("hashPreCodeTags",function(c,h,f){"use strict";return c=f.converter._dispatch("hashPreCodeTags.before",c,h,f),c=m.helper.replaceRecursiveRegExp(c,function(D,C,w,E){var O=w+m.subParser("encodeCode")(C,h,f)+E;return"\n\n\xa8G"+(f.ghCodeBlocks.push({text:D,codeblock:O})-1)+"G\n\n"},"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim"),f.converter._dispatch("hashPreCodeTags.after",c,h,f)}),m.subParser("headers",function(c,h,f){"use strict";c=f.converter._dispatch("headers.before",c,h,f);var v=isNaN(parseInt(h.headerLevelStart))?1:parseInt(h.headerLevelStart),C=h.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;function E(O){var k,R;if(h.customizedHeaderId){var N=O.match(/\{([^{]+?)}\s*$/);N&&N[1]&&(O=N[1])}return k=O,R=m.helper.isString(h.prefixHeaderId)?h.prefixHeaderId:!0===h.prefixHeaderId?"section-":"",h.rawPrefixHeaderId||(k=R+k),k=h.ghCompatibleHeaderId?k.replace(/ /g,"-").replace(/&/g,"").replace(/\xa8T/g,"").replace(/\xa8D/g,"").replace(/[&+$,\/:;=?@"#{}|^\xa8~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():h.rawHeaderId?k.replace(/ /g,"-").replace(/&/g,"&").replace(/\xa8T/g,"\xa8").replace(/\xa8D/g,"$").replace(/["']/g,"-").toLowerCase():k.replace(/[^\w]/g,"").toLowerCase(),h.rawPrefixHeaderId&&(k=R+k),f.hashLinkCounts[k]?k=k+"-"+f.hashLinkCounts[k]++:f.hashLinkCounts[k]=1,k}return c=(c=(c=c.replace(h.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,function(O,k){var R=m.subParser("spanGamut")(k,h,f),N=h.noHeaderId?"":' id="'+E(k)+'"',A="<h"+v+N+">"+R+"</h"+v+">";return m.subParser("hashBlock")(A,h,f)})).replace(C,function(O,k){var R=m.subParser("spanGamut")(k,h,f),N=h.noHeaderId?"":' id="'+E(k)+'"',_=v+1,A="<h"+_+N+">"+R+"</h"+_+">";return m.subParser("hashBlock")(A,h,f)})).replace(h.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm,function(O,k,R){var N=R;h.customizedHeaderId&&(N=R.replace(/\s?\{([^{]+?)}\s*$/,""));var _=m.subParser("spanGamut")(N,h,f),A=h.noHeaderId?"":' id="'+E(R)+'"',L=v-1+k.length,U="<h"+L+A+">"+_+"</h"+L+">";return m.subParser("hashBlock")(U,h,f)}),f.converter._dispatch("headers.after",c,h,f)}),m.subParser("horizontalRule",function(c,h,f){"use strict";c=f.converter._dispatch("horizontalRule.before",c,h,f);var v=m.subParser("hashBlock")("<hr />",h,f);return c=(c=(c=c.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,v)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,v)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,v),f.converter._dispatch("horizontalRule.after",c,h,f)}),m.subParser("images",function(c,h,f){"use strict";function k(R,N,_,A,L,U,de,j){var Be=f.gUrls,We=f.gTitles,ye=f.gDimensions;if(_=_.toLowerCase(),j||(j=""),R.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)A="";else if(""===A||null===A){if((""===_||null===_)&&(_=N.toLowerCase().replace(/ ?\n/g," ")),A="#"+_,m.helper.isUndefined(Be[_]))return R;A=Be[_],m.helper.isUndefined(We[_])||(j=We[_]),m.helper.isUndefined(ye[_])||(L=ye[_].width,U=ye[_].height)}N=N.replace(/"/g,""").replace(m.helper.regexes.asteriskDashAndColon,m.helper.escapeCharactersCallback);var le='<img src="'+(A=A.replace(m.helper.regexes.asteriskDashAndColon,m.helper.escapeCharactersCallback))+'" alt="'+N+'"';return j&&m.helper.isString(j)&&(le+=' title="'+(j=j.replace(/"/g,""").replace(m.helper.regexes.asteriskDashAndColon,m.helper.escapeCharactersCallback))+'"'),L&&U&&(le+=' width="'+(L="*"===L?"auto":L)+'"',le+=' height="'+(U="*"===U?"auto":U)+'"'),le+" />"}return c=(c=(c=(c=(c=(c=f.converter._dispatch("images.before",c,h,f)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,k)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,function O(R,N,_,A,L,U,de,j){return k(R,N,_,A=A.replace(/\s/g,""),L,U,0,j)})).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,k)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,k)).replace(/!\[([^\[\]]+)]()()()()()/g,k),f.converter._dispatch("images.after",c,h,f)}),m.subParser("italicsAndBold",function(c,h,f){"use strict";function v(D,C,w){return C+D+w}return c=f.converter._dispatch("italicsAndBold.before",c,h,f),c=h.literalMidWordUnderscores?(c=(c=c.replace(/\b___(\S[\s\S]*?)___\b/g,function(D,C){return v(C,"<strong><em>","</em></strong>")})).replace(/\b__(\S[\s\S]*?)__\b/g,function(D,C){return v(C,"<strong>","</strong>")})).replace(/\b_(\S[\s\S]*?)_\b/g,function(D,C){return v(C,"<em>","</em>")}):(c=(c=c.replace(/___(\S[\s\S]*?)___/g,function(D,C){return/\S$/.test(C)?v(C,"<strong><em>","</em></strong>"):D})).replace(/__(\S[\s\S]*?)__/g,function(D,C){return/\S$/.test(C)?v(C,"<strong>","</strong>"):D})).replace(/_([^\s_][\s\S]*?)_/g,function(D,C){return/\S$/.test(C)?v(C,"<em>","</em>"):D}),c=h.literalMidWordAsterisks?(c=(c=c.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,function(D,C,w){return v(w,C+"<strong><em>","</em></strong>")})).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,function(D,C,w){return v(w,C+"<strong>","</strong>")})).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,function(D,C,w){return v(w,C+"<em>","</em>")}):(c=(c=c.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(D,C){return/\S$/.test(C)?v(C,"<strong><em>","</em></strong>"):D})).replace(/\*\*(\S[\s\S]*?)\*\*/g,function(D,C){return/\S$/.test(C)?v(C,"<strong>","</strong>"):D})).replace(/\*([^\s*][\s\S]*?)\*/g,function(D,C){return/\S$/.test(C)?v(C,"<em>","</em>"):D}),f.converter._dispatch("italicsAndBold.after",c,h,f)}),m.subParser("lists",function(c,h,f){"use strict";function v(w,E){f.gListLevel++,w=w.replace(/\n{2,}$/,"\n");var O=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(\xa80| {0,3}([*+-]|\d+[.])[ \t]+))/gm,k=/\n[ \t]*\n(?!\xa80)/.test(w+="\xa80");return h.disableForced4SpacesIndentedSublists&&(O=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(\xa80|\2([*+-]|\d+[.])[ \t]+))/gm),w=(w=w.replace(O,function(R,N,_,A,L,U,de){de=de&&""!==de.trim();var j=m.subParser("outdent")(L,h,f),Be="";return U&&h.tasklists&&(Be=' class="task-list-item" style="list-style-type: none;"',j=j.replace(/^[ \t]*\[(x|X| )?]/m,function(){var We='<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';return de&&(We+=" checked"),We+">"})),j=j.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,function(We){return"\xa8A"+We}),N||j.search(/\n{2,}/)>-1?(j=m.subParser("githubCodeBlocks")(j,h,f),j=m.subParser("blockGamut")(j,h,f)):(j=(j=m.subParser("lists")(j,h,f)).replace(/\n$/,""),j=(j=m.subParser("hashHTMLBlocks")(j,h,f)).replace(/\n\n+/g,"\n\n"),j=k?m.subParser("paragraphs")(j,h,f):m.subParser("spanGamut")(j,h,f)),"<li"+Be+">"+(j=j.replace("\xa8A",""))+"</li>\n"})).replace(/\xa80/g,""),f.gListLevel--,E&&(w=w.replace(/\s+$/,"")),w}function D(w,E){if("ol"===E){var O=w.match(/^ *(\d+)\./);if(O&&"1"!==O[1])return' start="'+O[1]+'"'}return""}function C(w,E,O){var k=h.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,R=h.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,N="ul"===E?k:R,_="";if(-1!==w.search(N))!function L(U){var de=U.search(N),j=D(w,E);-1!==de?(_+="\n\n<"+E+j+">\n"+v(U.slice(0,de),!!O)+"</"+E+">\n",N="ul"==(E="ul"===E?"ol":"ul")?k:R,L(U.slice(de))):_+="\n\n<"+E+j+">\n"+v(U,!!O)+"</"+E+">\n"}(w);else{var A=D(w,E);_="\n\n<"+E+A+">\n"+v(w,!!O)+"</"+E+">\n"}return _}return c=f.converter._dispatch("lists.before",c,h,f),c+="\xa80",c=(c=f.gListLevel?c.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(\xa80|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(w,E,O){return C(E,O.search(/[*+-]/g)>-1?"ul":"ol",!0)}):c.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(\xa80|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(w,E,O,k){return C(O,k.search(/[*+-]/g)>-1?"ul":"ol",!1)})).replace(/\xa80/,""),f.converter._dispatch("lists.after",c,h,f)}),m.subParser("metadata",function(c,h,f){"use strict";if(!h.metadata)return c;function v(D){f.metadata.raw=D,(D=(D=D.replace(/&/g,"&").replace(/"/g,""")).replace(/\n {4}/g," ")).replace(/^([\S ]+): +([\s\S]+?)$/gm,function(C,w,E){return f.metadata.parsed[w]=E,""})}return c=(c=(c=(c=f.converter._dispatch("metadata.before",c,h,f)).replace(/^\s*\xab\xab\xab+(\S*?)\n([\s\S]+?)\n\xbb\xbb\xbb+\n/,function(D,C,w){return v(w),"\xa8M"})).replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,function(D,C,w){return C&&(f.metadata.format=C),v(w),"\xa8M"})).replace(/\xa8M/g,""),f.converter._dispatch("metadata.after",c,h,f)}),m.subParser("outdent",function(c,h,f){"use strict";return c=(c=(c=f.converter._dispatch("outdent.before",c,h,f)).replace(/^(\t|[ ]{1,4})/gm,"\xa80")).replace(/\xa80/g,""),f.converter._dispatch("outdent.after",c,h,f)}),m.subParser("paragraphs",function(c,h,f){"use strict";for(var v=(c=(c=(c=f.converter._dispatch("paragraphs.before",c,h,f)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),D=[],C=v.length,w=0;w<C;w++){var E=v[w];E.search(/\xa8(K|G)(\d+)\1/g)>=0?D.push(E):E.search(/\S/)>=0&&(E=(E=m.subParser("spanGamut")(E,h,f)).replace(/^([ \t]*)/g,"<p>"),D.push(E+="</p>"))}for(C=D.length,w=0;w<C;w++){for(var O="",k=D[w],R=!1;/\xa8(K|G)(\d+)\1/.test(k);){var N=RegExp.$1,_=RegExp.$2;O=(O="K"===N?f.gHtmlBlocks[_]:R?m.subParser("encodeCode")(f.ghCodeBlocks[_].text,h,f):f.ghCodeBlocks[_].codeblock).replace(/\$/g,"$$$$"),k=k.replace(/(\n\n)?\xa8(K|G)\d+\2(\n\n)?/,O),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(k)&&(R=!0)}D[w]=k}return c=(c=(c=D.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),f.converter._dispatch("paragraphs.after",c,h,f)}),m.subParser("runExtension",function(c,h,f,v){"use strict";if(c.filter)h=c.filter(h,v.converter,f);else if(c.regex){var D=c.regex;D instanceof RegExp||(D=new RegExp(D,"g")),h=h.replace(D,c.replace)}return h}),m.subParser("spanGamut",function(c,h,f){"use strict";return c=f.converter._dispatch("spanGamut.before",c,h,f),c=m.subParser("codeSpans")(c,h,f),c=m.subParser("escapeSpecialCharsWithinTagAttributes")(c,h,f),c=m.subParser("encodeBackslashEscapes")(c,h,f),c=m.subParser("images")(c,h,f),c=m.subParser("anchors")(c,h,f),c=m.subParser("autoLinks")(c,h,f),c=m.subParser("simplifiedAutoLinks")(c,h,f),c=m.subParser("emoji")(c,h,f),c=m.subParser("underline")(c,h,f),c=m.subParser("italicsAndBold")(c,h,f),c=m.subParser("strikethrough")(c,h,f),c=m.subParser("ellipsis")(c,h,f),c=m.subParser("hashHTMLSpans")(c,h,f),c=m.subParser("encodeAmpsAndAngles")(c,h,f),h.simpleLineBreaks?/\n\n\xa8K/.test(c)||(c=c.replace(/\n+/g,"<br />\n")):c=c.replace(/ +\n/g,"<br />\n"),f.converter._dispatch("spanGamut.after",c,h,f)}),m.subParser("strikethrough",function(c,h,f){"use strict";return h.strikethrough&&(c=(c=f.converter._dispatch("strikethrough.before",c,h,f)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(D,C){return function v(D){return h.simplifiedAutoLink&&(D=m.subParser("simplifiedAutoLinks")(D,h,f)),"<del>"+D+"</del>"}(C)}),c=f.converter._dispatch("strikethrough.after",c,h,f)),c}),m.subParser("stripLinkDefinitions",function(c,h,f){"use strict";var C=function(w,E,O,k,R,N,_){return E=E.toLowerCase(),c.toLowerCase().split(E).length-1<2?w:(f.gUrls[E]=O.match(/^data:.+?\/.+?;base64,/)?O.replace(/\s/g,""):m.subParser("encodeAmpsAndAngles")(O,h,f),N?N+_:(_&&(f.gTitles[E]=_.replace(/"|'/g,""")),h.parseImgDimensions&&k&&R&&(f.gDimensions[E]={width:k,height:R}),""))};return c=(c=(c=(c+="\xa80").replace(/^ {0,3}\[([^\]]+)]:[ \t]*\n?[ \t]*<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=\xa80)|(?=\n\[))/gm,C)).replace(/^ {0,3}\[([^\]]+)]:[ \t]*\n?[ \t]*<?([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=\xa80))/gm,C)).replace(/\xa80/,"")}),m.subParser("tables",function(c,h,f){"use strict";if(!h.tables)return c;function C(R){return/^:[ \t]*--*$/.test(R)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(R)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(R)?' style="text-align:center;"':""}function w(R,N){var _="";return R=R.trim(),(h.tablesHeaderId||h.tableHeaderId)&&(_=' id="'+R.replace(/ /g,"_").toLowerCase()+'"'),"<th"+_+N+">"+(R=m.subParser("spanGamut")(R,h,f))+"</th>\n"}function E(R,N){return"<td"+N+">"+m.subParser("spanGamut")(R,h,f)+"</td>\n"}function k(R){var N,_=R.split("\n");for(N=0;N<_.length;++N)/^ {0,3}\|/.test(_[N])&&(_[N]=_[N].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(_[N])&&(_[N]=_[N].replace(/\|[ \t]*$/,"")),_[N]=m.subParser("codeSpans")(_[N],h,f);var A=_[0].split("|").map(function(le){return le.trim()}),L=_[1].split("|").map(function(le){return le.trim()}),U=[],de=[],j=[],Be=[];for(_.shift(),_.shift(),N=0;N<_.length;++N)""!==_[N].trim()&&U.push(_[N].split("|").map(function(le){return le.trim()}));if(A.length<L.length)return R;for(N=0;N<L.length;++N)j.push(C(L[N]));for(N=0;N<A.length;++N)m.helper.isUndefined(j[N])&&(j[N]=""),de.push(w(A[N],j[N]));for(N=0;N<U.length;++N){for(var We=[],ye=0;ye<de.length;++ye)m.helper.isUndefined(U[N][ye]),We.push(E(U[N][ye],j[ye]));Be.push(We)}return function O(R,N){for(var _="<table>\n<thead>\n<tr>\n",A=R.length,L=0;L<A;++L)_+=R[L];for(_+="</tr>\n</thead>\n<tbody>\n",L=0;L<N.length;++L){_+="<tr>\n";for(var U=0;U<A;++U)_+=N[L][U];_+="</tr>\n"}return _+"</tbody>\n</table>\n"}(de,Be)}return c=(c=(c=(c=f.converter._dispatch("tables.before",c,h,f)).replace(/\\(\|)/g,m.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|\xa80)/gm,k)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|\xa80)/gm,k),f.converter._dispatch("tables.after",c,h,f)}),m.subParser("underline",function(c,h,f){"use strict";return h.underline&&(c=f.converter._dispatch("underline.before",c,h,f),c=(c=h.literalMidWordUnderscores?(c=c.replace(/\b___(\S[\s\S]*?)___\b/g,function(v,D){return"<u>"+D+"</u>"})).replace(/\b__(\S[\s\S]*?)__\b/g,function(v,D){return"<u>"+D+"</u>"}):(c=c.replace(/___(\S[\s\S]*?)___/g,function(v,D){return/\S$/.test(D)?"<u>"+D+"</u>":v})).replace(/__(\S[\s\S]*?)__/g,function(v,D){return/\S$/.test(D)?"<u>"+D+"</u>":v})).replace(/(_)/g,m.helper.escapeCharactersCallback),c=f.converter._dispatch("underline.after",c,h,f)),c}),m.subParser("unescapeSpecialChars",function(c,h,f){"use strict";return c=(c=f.converter._dispatch("unescapeSpecialChars.before",c,h,f)).replace(/\xa8E(\d+)E/g,function(v,D){var C=parseInt(D);return String.fromCharCode(C)}),f.converter._dispatch("unescapeSpecialChars.after",c,h,f)}),m.subParser("makeMarkdown.blockquote",function(c,h){"use strict";var f="";if(c.hasChildNodes())for(var v=c.childNodes,D=v.length,C=0;C<D;++C){var w=m.subParser("makeMarkdown.node")(v[C],h);""!==w&&(f+=w)}return"> "+(f=f.trim()).split("\n").join("\n> ")}),m.subParser("makeMarkdown.codeBlock",function(c,h){"use strict";var f=c.getAttribute("language"),v=c.getAttribute("precodenum");return"```"+f+"\n"+h.preList[v]+"\n```"}),m.subParser("makeMarkdown.codeSpan",function(c){"use strict";return"`"+c.innerHTML+"`"}),m.subParser("makeMarkdown.emphasis",function(c,h){"use strict";var f="";if(c.hasChildNodes()){f+="*";for(var v=c.childNodes,D=v.length,C=0;C<D;++C)f+=m.subParser("makeMarkdown.node")(v[C],h);f+="*"}return f}),m.subParser("makeMarkdown.header",function(c,h,f){"use strict";var v=new Array(f+1).join("#"),D="";if(c.hasChildNodes()){D=v+" ";for(var C=c.childNodes,w=C.length,E=0;E<w;++E)D+=m.subParser("makeMarkdown.node")(C[E],h)}return D}),m.subParser("makeMarkdown.hr",function(){"use strict";return"---"}),m.subParser("makeMarkdown.image",function(c){"use strict";var h="";return c.hasAttribute("src")&&(h+="!["+c.getAttribute("alt")+"](",h+="<"+c.getAttribute("src")+">",c.hasAttribute("width")&&c.hasAttribute("height")&&(h+=" ="+c.getAttribute("width")+"x"+c.getAttribute("height")),c.hasAttribute("title")&&(h+=' "'+c.getAttribute("title")+'"'),h+=")"),h}),m.subParser("makeMarkdown.links",function(c,h){"use strict";var f="";if(c.hasChildNodes()&&c.hasAttribute("href")){var v=c.childNodes,D=v.length;f="[";for(var C=0;C<D;++C)f+=m.subParser("makeMarkdown.node")(v[C],h);f+="](",f+="<"+c.getAttribute("href")+">",c.hasAttribute("title")&&(f+=' "'+c.getAttribute("title")+'"'),f+=")"}return f}),m.subParser("makeMarkdown.list",function(c,h,f){"use strict";var v="";if(!c.hasChildNodes())return"";for(var D=c.childNodes,C=D.length,w=c.getAttribute("start")||1,E=0;E<C;++E)void 0!==D[E].tagName&&"li"===D[E].tagName.toLowerCase()&&(v+=("ol"===f?w.toString()+". ":"- ")+m.subParser("makeMarkdown.listItem")(D[E],h),++w);return(v+="\n\x3c!-- --\x3e\n").trim()}),m.subParser("makeMarkdown.listItem",function(c,h){"use strict";for(var f="",v=c.childNodes,D=v.length,C=0;C<D;++C)f+=m.subParser("makeMarkdown.node")(v[C],h);return/\n$/.test(f)?f=f.split("\n").join("\n ").replace(/^ {4}$/gm,"").replace(/\n\n+/g,"\n\n"):f+="\n",f}),m.subParser("makeMarkdown.node",function(c,h,f){"use strict";f=f||!1;var v="";if(3===c.nodeType)return m.subParser("makeMarkdown.txt")(c,h);if(8===c.nodeType)return"\x3c!--"+c.data+"--\x3e\n\n";if(1!==c.nodeType)return"";switch(c.tagName.toLowerCase()){case"h1":f||(v=m.subParser("makeMarkdown.header")(c,h,1)+"\n\n");break;case"h2":f||(v=m.subParser("makeMarkdown.header")(c,h,2)+"\n\n");break;case"h3":f||(v=m.subParser("makeMarkdown.header")(c,h,3)+"\n\n");break;case"h4":f||(v=m.subParser("makeMarkdown.header")(c,h,4)+"\n\n");break;case"h5":f||(v=m.subParser("makeMarkdown.header")(c,h,5)+"\n\n");break;case"h6":f||(v=m.subParser("makeMarkdown.header")(c,h,6)+"\n\n");break;case"p":f||(v=m.subParser("makeMarkdown.paragraph")(c,h)+"\n\n");break;case"blockquote":f||(v=m.subParser("makeMarkdown.blockquote")(c,h)+"\n\n");break;case"hr":f||(v=m.subParser("makeMarkdown.hr")(c,h)+"\n\n");break;case"ol":f||(v=m.subParser("makeMarkdown.list")(c,h,"ol")+"\n\n");break;case"ul":f||(v=m.subParser("makeMarkdown.list")(c,h,"ul")+"\n\n");break;case"precode":f||(v=m.subParser("makeMarkdown.codeBlock")(c,h)+"\n\n");break;case"pre":f||(v=m.subParser("makeMarkdown.pre")(c,h)+"\n\n");break;case"table":f||(v=m.subParser("makeMarkdown.table")(c,h)+"\n\n");break;case"code":v=m.subParser("makeMarkdown.codeSpan")(c,h);break;case"em":case"i":v=m.subParser("makeMarkdown.emphasis")(c,h);break;case"strong":case"b":v=m.subParser("makeMarkdown.strong")(c,h);break;case"del":v=m.subParser("makeMarkdown.strikethrough")(c,h);break;case"a":v=m.subParser("makeMarkdown.links")(c,h);break;case"img":v=m.subParser("makeMarkdown.image")(c,h);break;default:v=c.outerHTML+"\n\n"}return v}),m.subParser("makeMarkdown.paragraph",function(c,h){"use strict";var f="";if(c.hasChildNodes())for(var v=c.childNodes,D=v.length,C=0;C<D;++C)f+=m.subParser("makeMarkdown.node")(v[C],h);return f.trim()}),m.subParser("makeMarkdown.pre",function(c,h){"use strict";var f=c.getAttribute("prenum");return"<pre>"+h.preList[f]+"</pre>"}),m.subParser("makeMarkdown.strikethrough",function(c,h){"use strict";var f="";if(c.hasChildNodes()){f+="~~";for(var v=c.childNodes,D=v.length,C=0;C<D;++C)f+=m.subParser("makeMarkdown.node")(v[C],h);f+="~~"}return f}),m.subParser("makeMarkdown.strong",function(c,h){"use strict";var f="";if(c.hasChildNodes()){f+="**";for(var v=c.childNodes,D=v.length,C=0;C<D;++C)f+=m.subParser("makeMarkdown.node")(v[C],h);f+="**"}return f}),m.subParser("makeMarkdown.table",function(c,h){"use strict";var w,E,f="",v=[[],[]],D=c.querySelectorAll("thead>tr>th"),C=c.querySelectorAll("tbody>tr");for(w=0;w<D.length;++w){var O=m.subParser("makeMarkdown.tableCell")(D[w],h),k="---";if(D[w].hasAttribute("style"))switch(D[w].getAttribute("style").toLowerCase().replace(/\s/g,"")){case"text-align:left;":k=":---";break;case"text-align:right;":k="---:";break;case"text-align:center;":k=":---:"}v[0][w]=O.trim(),v[1][w]=k}for(w=0;w<C.length;++w){var N=v.push([])-1,_=C[w].getElementsByTagName("td");for(E=0;E<D.length;++E){var A=" ";void 0!==_[E]&&(A=m.subParser("makeMarkdown.tableCell")(_[E],h)),v[N].push(A)}}var L=3;for(w=0;w<v.length;++w)for(E=0;E<v[w].length;++E){var U=v[w][E].length;U>L&&(L=U)}for(w=0;w<v.length;++w){for(E=0;E<v[w].length;++E)v[w][E]=1===w?":"===v[w][E].slice(-1)?m.helper.padEnd(v[w][E].slice(-1),L-1,"-")+":":m.helper.padEnd(v[w][E],L,"-"):m.helper.padEnd(v[w][E],L);f+="| "+v[w].join(" | ")+" |\n"}return f.trim()}),m.subParser("makeMarkdown.tableCell",function(c,h){"use strict";var f="";if(!c.hasChildNodes())return"";for(var v=c.childNodes,D=v.length,C=0;C<D;++C)f+=m.subParser("makeMarkdown.node")(v[C],h,!0);return f.trim()}),m.subParser("makeMarkdown.txt",function(c){"use strict";var h=c.nodeValue;return h=(h=h.replace(/ +/g," ")).replace(/\xa8NBSP;/g," "),(h=(h=(h=(h=(h=(h=(h=(h=m.helper.unescapeHTMLEntities(h)).replace(/([*_~|`])/g,"\\$1")).replace(/^(\s*)>/g,"\\$1>")).replace(/^#/gm,"\\#")).replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3")).replace(/^( {0,3}\d+)\./gm,"$1\\.")).replace(/^( {0,3})([+-])/gm,"$1\\$2")).replace(/]([\s]*)\(/g,"\\]$1\\(")).replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")}),void 0!==(me=function(){"use strict";return m}.call(Di,Ns,Di,Er))&&(Er.exports=me)}).call(this)}},Er=>{Er(Er.s=11)}]); |