blockcore-notes/main.a896589b6f3e758a.js
2023-03-05 09:32:53 +00:00

1 line
3.1 MiB

(self.webpackChunkblockcore_notes=self.webpackChunkblockcore_notes||[]).push([[179],{2714:(ve,A,I)=>{"use strict";function T(i){return"function"==typeof i}function g(i){const e=i(n=>{Error.call(n),n.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const y=g(i=>function(e){i(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((n,r)=>`${r+1}) ${n.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function b(i,t){if(i){const e=i.indexOf(t);0<=e&&i.splice(e,1)}}class C{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:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const a of e)a.remove(this);else e.remove(this);const{initialTeardown:n}=this;if(T(n))try{n()}catch(a){t=a instanceof y?a.errors:[a]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const a of r)try{B(a)}catch(o){t=t??[],o instanceof y?t=[...t,...o.errors]:t.push(o)}}if(t)throw new y(t)}}add(t){var e;if(t&&t!==this)if(this.closed)B(t);else{if(t instanceof C){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&b(e,t)}remove(t){const{_finalizers:e}=this;e&&b(e,t),t instanceof C&&t._removeParent(this)}}C.EMPTY=(()=>{const i=new C;return i.closed=!0,i})();const D=C.EMPTY;function L(i){return i instanceof C||i&&"closed"in i&&T(i.remove)&&T(i.add)&&T(i.unsubscribe)}function B(i){T(i)?i():i.unsubscribe()}const R={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},U={setTimeout(i,t,...e){const{delegate:n}=U;return n?.setTimeout?n.setTimeout(i,t,...e):setTimeout(i,t,...e)},clearTimeout(i){const{delegate:t}=U;return(t?.clearTimeout||clearTimeout)(i)},delegate:void 0};function Z(i){U.setTimeout(()=>{const{onUnhandledError:t}=R;if(!t)throw i;t(i)})}function j(){}const V=ne("C",void 0,void 0);function ne(i,t,e){return{kind:i,value:t,error:e}}let G=null;function z(i){if(R.useDeprecatedSynchronousErrorHandling){const t=!G;if(t&&(G={errorThrown:!1,error:null}),i(),t){const{errorThrown:e,error:n}=G;if(G=null,e)throw n}}else i()}class le extends C{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,L(t)&&t.add(this)):this.destination=ge}static create(t,e,n){return new he(t,e,n)}next(t){this.isStopped?me(function W(i){return ne("N",i,void 0)}(t),this):this._next(t)}error(t){this.isStopped?me(function re(i){return ne("E",void 0,i)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?me(V,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 ie=Function.prototype.bind;function K(i,t){return ie.call(i,t)}class oe{constructor(t){this.partialObserver=t}next(t){const{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(n){ae(n)}}error(t){const{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(n){ae(n)}else ae(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(e){ae(e)}}}class he extends le{constructor(t,e,n){let r;if(super(),T(t)||!t)r={next:t??void 0,error:e??void 0,complete:n??void 0};else{let a;this&&R.useDeprecatedNextContext?(a=Object.create(t),a.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&K(t.next,a),error:t.error&&K(t.error,a),complete:t.complete&&K(t.complete,a)}):r=t}this.destination=new oe(r)}}function ae(i){R.useDeprecatedSynchronousErrorHandling?function ce(i){R.useDeprecatedSynchronousErrorHandling&&G&&(G.errorThrown=!0,G.error=i)}(i):Z(i)}function me(i,t){const{onStoppedNotification:e}=R;e&&U.setTimeout(()=>e(i,t))}const ge={closed:!0,next:j,error:function de(i){throw i},complete:j},we="function"==typeof Symbol&&Symbol.observable||"@@observable";function ze(i){return i}function st(i){return 0===i.length?ze:1===i.length?i[0]:function(e){return i.reduce((n,r)=>r(n),e)}}let mt=(()=>{class i{constructor(e){e&&(this._subscribe=e)}lift(e){const n=new i;return n.source=this,n.operator=e,n}subscribe(e,n,r){const a=function ft(i){return i&&i instanceof le||function Xt(i){return i&&T(i.next)&&T(i.error)&&T(i.complete)}(i)&&L(i)}(e)?e:new he(e,n,r);return z(()=>{const{operator:o,source:c}=this;a.add(o?o.call(a,c):c?this._subscribe(a):this._trySubscribe(a))}),a}_trySubscribe(e){try{return this._subscribe(e)}catch(n){e.error(n)}}forEach(e,n){return new(n=At(n))((r,a)=>{const o=new he({next:c=>{try{e(c)}catch(h){a(h),o.unsubscribe()}},error:a,complete:r});this.subscribe(o)})}_subscribe(e){var n;return null===(n=this.source)||void 0===n?void 0:n.subscribe(e)}[we](){return this}pipe(...e){return st(e)(this)}toPromise(e){return new(e=At(e))((n,r)=>{let a;this.subscribe(o=>a=o,o=>r(o),()=>n(a))})}}return i.create=t=>new i(t),i})();function At(i){var t;return null!==(t=i??R.Promise)&&void 0!==t?t:Promise}const ai=g(i=>function(){i(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let He=(()=>{class i extends mt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const n=new yi(this,this);return n.operator=e,n}_throwIfClosed(){if(this.closed)throw new ai}next(e){z(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const n of this.currentObservers)n.next(e)}})}error(e){z(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:n}=this;for(;n.length;)n.shift().error(e)}})}complete(){z(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:n,isStopped:r,observers:a}=this;return n||r?D:(this.currentObservers=null,a.push(e),new C(()=>{this.currentObservers=null,b(a,e)}))}_checkFinalizedStatuses(e){const{hasError:n,thrownError:r,isStopped:a}=this;n?e.error(r):a&&e.complete()}asObservable(){const e=new mt;return e.source=this,e}}return i.create=(t,e)=>new yi(t,e),i})();class yi extends He{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,t)}error(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,n;return null!==(n=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==n?n:D}}function nt(i){return T(i?.lift)}function Jt(i){return t=>{if(nt(t))return t.lift(function(e){try{return i(e,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ut(i,t,e,n,r){return new Fn(i,t,e,n,r)}class Fn extends le{constructor(t,e,n,r,a,o){super(t),this.onFinalize=a,this.shouldUnsubscribe=o,this._next=e?function(c){try{e(c)}catch(h){t.error(h)}}:super._next,this._error=r?function(c){try{r(c)}catch(h){t.error(h)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function _t(i,t){return Jt((e,n)=>{let r=0;e.subscribe(Ut(n,a=>{n.next(i.call(t,a,r++))}))})}function Qr(i){return this instanceof Qr?(this.v=i,this):new Qr(i)}function Ot(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,t=i[Symbol.asyncIterator];return t?t.call(i):(i=function $i(i){var t="function"==typeof Symbol&&Symbol.iterator,e=t&&i[t],n=0;if(e)return e.call(i);if(i&&"number"==typeof i.length)return{next:function(){return i&&n>=i.length&&(i=void 0),{value:i&&i[n++],done:!i}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(i),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(a){e[a]=i[a]&&function(o){return new Promise(function(c,h){!function r(a,o,c,h){Promise.resolve(h).then(function(f){a({value:f,done:c})},o)}(c,h,(o=i[a](o)).done,o.value)})}}}const pa=i=>i&&"number"==typeof i.length&&"function"!=typeof i;function Ha(i){return T(i?.then)}function Br(i){return T(i[we])}function xr(i){return Symbol.asyncIterator&&T(i?.[Symbol.asyncIterator])}function vo(i){return new TypeError(`You provided ${null!==i&&"object"==typeof i?"an invalid object":`'${i}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Ar=function Zr(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function ps(i){return T(i?.[Ar])}function ra(i){return function Pr(i,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,n=e.apply(i,t||[]),a=[];return r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r;function o($){n[$]&&(r[$]=function(te){return new Promise(function(fe,ye){a.push([$,te,fe,ye])>1||c($,te)})})}function c($,te){try{!function h($){$.value instanceof Qr?Promise.resolve($.value.v).then(f,x):P(a[0][2],$)}(n[$](te))}catch(fe){P(a[0][3],fe)}}function f($){c("next",$)}function x($){c("throw",$)}function P($,te){$(te),a.shift(),a.length&&c(a[0][0],a[0][1])}}(this,arguments,function*(){const e=i.getReader();try{for(;;){const{value:n,done:r}=yield Qr(e.read());if(r)return yield Qr(void 0);yield yield Qr(n)}}finally{e.releaseLock()}})}function la(i){return T(i?.getReader)}function sn(i){if(i instanceof mt)return i;if(null!=i){if(Br(i))return function Va(i){return new mt(t=>{const e=i[we]();if(T(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(i);if(pa(i))return function Yt(i){return new mt(t=>{for(let e=0;e<i.length&&!t.closed;e++)t.next(i[e]);t.complete()})}(i);if(Ha(i))return function ka(i){return new mt(t=>{i.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,Z)})}(i);if(xr(i))return jt(i);if(ps(i))return function Ya(i){return new mt(t=>{for(const e of i)if(t.next(e),t.closed)return;t.complete()})}(i);if(la(i))return function wo(i){return jt(ra(i))}(i)}throw vo(i)}function jt(i){return new mt(t=>{(function xn(i,t){var e,n,r,a;return function un(i,t,e,n){return new(e||(e=Promise))(function(a,o){function c(x){try{f(n.next(x))}catch(P){o(P)}}function h(x){try{f(n.throw(x))}catch(P){o(P)}}function f(x){x.done?a(x.value):function r(a){return a instanceof e?a:new e(function(o){o(a)})}(x.value).then(c,h)}f((n=n.apply(i,t||[])).next())})}(this,void 0,void 0,function*(){try{for(e=Ot(i);!(n=yield e.next()).done;)if(t.next(n.value),t.closed)return}catch(o){r={error:o}}finally{try{n&&!n.done&&(a=e.return)&&(yield a.call(e))}finally{if(r)throw r.error}}t.complete()})})(i,t).catch(e=>t.error(e))})}function nr(i,t,e,n=0,r=!1){const a=t.schedule(function(){e(),r?i.add(this.schedule(null,n)):this.unsubscribe()},n);if(i.add(a),!r)return a}function vi(i,t,e=1/0){return T(t)?vi((n,r)=>_t((a,o)=>t(n,a,r,o))(sn(i(n,r))),e):("number"==typeof t&&(e=t),Jt((n,r)=>function gs(i,t,e,n,r,a,o,c){const h=[];let f=0,x=0,P=!1;const $=()=>{P&&!h.length&&!f&&t.complete()},te=ye=>f<n?fe(ye):h.push(ye),fe=ye=>{a&&t.next(ye),f++;let Ie=!1;sn(e(ye,x++)).subscribe(Ut(t,Le=>{r?.(Le),a?te(Le):t.next(Le)},()=>{Ie=!0},void 0,()=>{if(Ie)try{for(f--;h.length&&f<n;){const Le=h.shift();o?nr(t,o,()=>fe(Le)):fe(Le)}$()}catch(Le){t.error(Le)}}))};return i.subscribe(Ut(t,te,()=>{P=!0,$()})),()=>{c?.()}}(n,r,i,e)))}function br(i=1/0){return vi(ze,i)}const ln=new mt(i=>i.complete());function Xr(i){return i&&T(i.schedule)}function aa(i){return i[i.length-1]}function io(i){return T(aa(i))?i.pop():void 0}function Fo(i){return Xr(aa(i))?i.pop():void 0}function fr(i,t=0){return Jt((e,n)=>{e.subscribe(Ut(n,r=>nr(n,i,()=>n.next(r),t),()=>nr(n,i,()=>n.complete(),t),r=>nr(n,i,()=>n.error(r),t)))})}function pt(i,t=0){return Jt((e,n)=>{n.add(i.schedule(()=>e.subscribe(n),t))})}function cn(i,t){if(!i)throw new Error("Iterable cannot be null");return new mt(e=>{nr(e,t,()=>{const n=i[Symbol.asyncIterator]();nr(e,t,()=>{n.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function rr(i,t){return t?function rn(i,t){if(null!=i){if(Br(i))return function Ol(i,t){return sn(i).pipe(pt(t),fr(t))}(i,t);if(pa(i))return function Bo(i,t){return new mt(e=>{let n=0;return t.schedule(function(){n===i.length?e.complete():(e.next(i[n++]),e.closed||this.schedule())})})}(i,t);if(Ha(i))return function pr(i,t){return sn(i).pipe(pt(t),fr(t))}(i,t);if(xr(i))return cn(i,t);if(ps(i))return function sd(i,t){return new mt(e=>{let n;return nr(e,t,()=>{n=i[Ar](),nr(e,t,()=>{let r,a;try{({value:r,done:a}=n.next())}catch(o){return void e.error(o)}a?e.complete():e.next(r)},0,!0)}),()=>T(n?.return)&&n.return()})}(i,t);if(la(i))return function Rn(i,t){return cn(ra(i),t)}(i,t)}throw vo(i)}(i,t):sn(i)}function Pn(...i){const t=Fo(i),e=function no(i,t){return"number"==typeof aa(i)?i.pop():t}(i,1/0),n=i;return n.length?1===n.length?sn(n[0]):br(e)(rr(n,t)):ln}function ro(i={}){const{connector:t=(()=>new He),resetOnError:e=!0,resetOnComplete:n=!0,resetOnRefCountZero:r=!0}=i;return a=>{let o,c,h,f=0,x=!1,P=!1;const $=()=>{c?.unsubscribe(),c=void 0},te=()=>{$(),o=h=void 0,x=P=!1},fe=()=>{const ye=o;te(),ye?.unsubscribe()};return Jt((ye,Ie)=>{f++,!P&&!x&&$();const Le=h=h??t();Ie.add(()=>{f--,0===f&&!P&&!x&&(c=In(fe,r))}),Le.subscribe(Ie),!o&&f>0&&(o=new he({next:it=>Le.next(it),error:it=>{P=!0,$(),c=In(te,e,it),Le.error(it)},complete:()=>{x=!0,$(),c=In(te,n),Le.complete()}}),sn(ye).subscribe(o))})(a)}}function In(i,t,...e){if(!0===t)return void i();if(!1===t)return;const n=new he({next:()=>{n.unsubscribe(),i()}});return sn(t(...e)).subscribe(n)}function en(i){for(let t in i)if(i[t]===en)return t;throw Error("Could not find renamed property on target object.")}function uc(i,t){for(const e in t)t.hasOwnProperty(e)&&!i.hasOwnProperty(e)&&(i[e]=t[e])}function Yi(i){if("string"==typeof i)return i;if(Array.isArray(i))return"["+i.map(Yi).join(", ")+"]";if(null==i)return""+i;if(i.overriddenName)return`${i.overriddenName}`;if(i.name)return`${i.name}`;const t=i.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function Ui(i,t){return null==i||""===i?null===t?"":t:null==t||""===t?i:i+" "+t}const ao=en({__forward_ref__:en});function di(i){return i.__forward_ref__=di,i.toString=function(){return Yi(this())},i}function Pt(i){return Ir(i)?i():i}function Ir(i){return"function"==typeof i&&i.hasOwnProperty(ao)&&i.__forward_ref__===di}function $e(i){return i&&!!i.\u0275providers}const li="https://g.co/ng/security#xss";class tt extends Error{constructor(t,e){super(gr(t,e)),this.code=t}}function gr(i,t){return`NG0${Math.abs(i)}${t?": "+t.trim():""}`}function ji(i){return"string"==typeof i?i:null==i?"":String(i)}function ol(i,t){throw new tt(-201,!1)}function Da(i,t){null==i&&function zn(i,t,e,n){throw new Error(`ASSERTION ERROR: ${i}`+(null==n?"":` [Expected=> ${e} ${n} ${t} <=Actual]`))}(t,i,null,"!=")}function Qe(i){return{token:i.token,providedIn:i.providedIn||null,factory:i.factory,value:void 0}}function St(i){return{providers:i.providers||[],imports:i.imports||[]}}function Vo(i){return Lr(i,Yo)||Lr(i,ys)}function Lr(i,t){return i.hasOwnProperty(t)?i[t]:null}function lo(i){return i&&(i.hasOwnProperty(Rl)||i.hasOwnProperty(Si))?i[Rl]:null}const Yo=en({\u0275prov:en}),Rl=en({\u0275inj:en}),ys=en({ngInjectableDef:en}),Si=en({ngInjectorDef:en});var ci=(()=>((ci=ci||{})[ci.Default=0]="Default",ci[ci.Host=1]="Host",ci[ci.Self=2]="Self",ci[ci.SkipSelf=4]="SkipSelf",ci[ci.Optional=8]="Optional",ci))();let Nr;function ja(i){const t=Nr;return Nr=i,t}function rt(i,t,e){const n=Vo(i);return n&&"root"==n.providedIn?void 0===n.value?n.value=n.factory():n.value:e&ci.Optional?null:void 0!==t?t:void ol(Yi(i))}const Pi=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),za={},zo="__NG_DI_FLAG__",So="ngTempTokenPath",Vr="ngTokenPath",Ma=/\n/gm,cl="\u0275",Uo="__source";let To;function En(i){const t=To;return To=i,t}function wi(i,t=ci.Default){if(void 0===To)throw new tt(-203,!1);return null===To?rt(i,void 0,t):To.get(i,t&ci.Optional?null:void 0,t)}function Fe(i,t=ci.Default){return(function vs(){return Nr}()||wi)(Pt(i),t)}function ei(i,t=ci.Default){return Fe(i,Wo(t))}function Wo(i){return typeof i>"u"||"number"==typeof i?i:0|(i.optional&&8)|(i.host&&1)|(i.self&&2)|(i.skipSelf&&4)}function Pl(i){const t=[];for(let e=0;e<i.length;e++){const n=Pt(i[e]);if(Array.isArray(n)){if(0===n.length)throw new tt(900,!1);let r,a=ci.Default;for(let o=0;o<n.length;o++){const c=n[o],h=xo(c);"number"==typeof h?-1===h?r=c.token:a|=h:r=c}t.push(Fe(r,a))}else t.push(Fe(n))}return t}function Os(i,t){return i[zo]=t,i.prototype[zo]=t,i}function xo(i){return i[zo]}function Ea(i){return{toString:i}.toString()}var co=(()=>((co=co||{})[co.OnPush=0]="OnPush",co[co.Default=1]="Default",co))(),xe=(()=>{return(i=xe||(xe={}))[i.Emulated=0]="Emulated",i[i.None=2]="None",i[i.ShadowDom=3]="ShadowDom",xe;var i})();const Ee={},Me=[],bt=en({\u0275cmp:en}),wt=en({\u0275dir:en}),ki=en({\u0275pipe:en}),Ai=en({\u0275mod:en}),Di=en({\u0275fac:en}),Kt=en({__NG_ELEMENT_ID__:en});let Xn=0;function qe(i){return Ea(()=>{const e=!0===i.standalone,n={},r={type:i.type,providersResolver:null,decls:i.decls,vars:i.vars,factory:null,template:i.template||null,consts:i.consts||null,ngContentSelectors:i.ngContentSelectors,hostBindings:i.hostBindings||null,hostVars:i.hostVars||0,hostAttrs:i.hostAttrs||null,contentQueries:i.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:i.exportAs||null,onPush:i.changeDetection===co.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&i.dependencies||null,getStandaloneInjector:null,selectors:i.selectors||Me,viewQuery:i.viewQuery||null,features:i.features||null,data:i.data||{},encapsulation:i.encapsulation||xe.Emulated,id:"c"+Xn++,styles:i.styles||Me,_:null,setInput:null,schemas:i.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},a=i.dependencies,o=i.features;return r.inputs=Fs(i.inputs,n),r.outputs=Fs(i.outputs),o&&o.forEach(c=>c(r)),r.directiveDefs=a?()=>("function"==typeof a?a():a).map(ws).filter(Sa):null,r.pipeDefs=a?()=>("function"==typeof a?a():a).map(l).filter(Sa):null,r})}function ws(i){return Y(i)||s(i)}function Sa(i){return null!==i}function Dt(i){return Ea(()=>({type:i.type,bootstrap:i.bootstrap||Me,declarations:i.declarations||Me,imports:i.imports||Me,exports:i.exports||Me,transitiveCompileScopes:null,schemas:i.schemas||null,id:i.id||null}))}function Fs(i,t){if(null==i)return Ee;const e={};for(const n in i)if(i.hasOwnProperty(n)){let r=i[n],a=r;Array.isArray(r)&&(a=r[1],r=r[0]),e[r]=n,t&&(t[r]=a)}return e}const Oe=qe;function Mr(i){return{type:i.type,name:i.name,factory:null,pure:!1!==i.pure,standalone:!0===i.standalone,onDestroy:i.type.prototype.ngOnDestroy||null}}function Y(i){return i[bt]||null}function s(i){return i[wt]||null}function l(i){return i[ki]||null}function u(i,t){const e=i[Ai]||null;if(!e&&!0===t)throw new Error(`Type ${Yi(i)} does not have '\u0275mod' property.`);return e}const m=0,p=1,v=2,M=3,H=4,q=5,ue=6,_e=7,ke=8,Ne=9,je=10,Ye=11,et=12,kt=13,Wt=14,ct=15,Ii=16,Fi=17,Er=18,Jr=19,ga=20,dr=21,dn=22,dl=1,ul=2,hu=7,mu=8,fu=9,Ao=10;function as(i){return Array.isArray(i)&&"object"==typeof i[dl]}function Rs(i){return Array.isArray(i)&&!0===i[dl]}function $p(i){return 0!=(4&i.flags)}function gh(i){return i.componentOffset>-1}function Nm(i){return 1==(1&i.flags)}function Ps(i){return null!==i.template}function Qw(i){return 0!=(256&i[v])}function yc(i,t){return i.hasOwnProperty(Di)?i[Di]:null}class r2{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function or(){return _1}function _1(i){return i.type.prototype.ngOnChanges&&(i.setInput=o2),a2}function a2(){const i=y1(this),t=i?.current;if(t){const e=i.previous;if(e===Ee)i.previous=t;else for(let n in t)e[n]=t[n];i.current=null,this.ngOnChanges(t)}}function o2(i,t,e,n){const r=this.declaredInputs[e],a=y1(i)||function s2(i,t){return i[b1]=t}(i,{previous:Ee,current:null}),o=a.current||(a.current={}),c=a.previous,h=c[r];o[r]=new r2(h&&h.currentValue,t,c===Ee),i[n]=t}or.ngInherit=!0;const b1="__ngSimpleChanges__";function y1(i){return i[b1]||null}const xs=function(i,t,e){},v1="svg";function uo(i){for(;Array.isArray(i);)i=i[m];return i}function Rm(i,t){return uo(t[i])}function os(i,t){return uo(t[i.index])}function F1(i,t){return i.data[t]}function pu(i,t){return i[t]}function ss(i,t){const e=t[i];return as(e)?e:e[m]}function gu(i){return 64==(64&i[v])}function vc(i,t){return null==t?null:i[t]}function x1(i){i[Er]=0}function yh(i,t){i[q]+=t;let e=i,n=i[M];for(;null!==n&&(1===t&&1===e[q]||-1===t&&0===e[q]);)n[q]+=t,e=n,n=n[M]}const Ki={lFrame:eg(null),bindingsEnabled:!0};function k1(){return Ki.bindingsEnabled}function xt(){return Ki.lFrame.lView}function Un(){return Ki.lFrame.tView}function Te(i){return Ki.lFrame.contextLView=i,i[ke]}function Ae(i){return Ki.lFrame.contextLView=null,i}function ho(){let i=Vl();for(;null!==i&&64===i.type;)i=i.parent;return i}function Vl(){return Ki.lFrame.currentTNode}function hl(i,t){const e=Ki.lFrame;e.currentTNode=i,e.isParent=t}function Zp(){return Ki.lFrame.isParent}function Xp(){Ki.lFrame.isParent=!1}function Co(){const i=Ki.lFrame;let t=i.bindingRootIndex;return-1===t&&(t=i.bindingRootIndex=i.tView.bindingStartIndex),t}function ud(){return Ki.lFrame.bindingIndex++}function Bs(i){const t=Ki.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+i,e}function b2(i,t){const e=Ki.lFrame;e.bindingIndex=e.bindingRootIndex=i,Jp(t)}function Jp(i){Ki.lFrame.currentDirectiveIndex=i}function Hs(i){const t=Ki.lFrame.currentDirectiveIndex;return-1===t?null:i[t]}function S1(){return Ki.lFrame.currentQueryIndex}function Pm(i){Ki.lFrame.currentQueryIndex=i}function v2(i){const t=i[p];return 2===t.type?t.declTNode:1===t.type?i[ue]:null}function T1(i,t,e){if(e&ci.SkipSelf){let r=t,a=i;for(;!(r=r.parent,null!==r||e&ci.Host||(r=v2(a),null===r||(a=a[ct],10&r.type))););if(null===r)return!1;t=r,i=a}const n=Ki.lFrame=A1();return n.currentTNode=t,n.lView=i,!0}function Bm(i){const t=A1(),e=i[p];Ki.lFrame=t,t.currentTNode=e.firstChild,t.lView=i,t.tView=e,t.contextLView=i,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function A1(){const i=Ki.lFrame,t=null===i?null:i.child;return null===t?eg(i):t}function eg(i){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:i,child:null,inI18n:!1};return null!==i&&(i.child=t),t}function Hm(){const i=Ki.lFrame;return Ki.lFrame=i.parent,i.currentTNode=null,i.lView=null,i}const I1=Hm;function tg(){const i=Hm();i.isParent=!0,i.tView=null,i.selectedIndex=-1,i.contextLView=null,i.elementDepthCount=0,i.currentDirectiveIndex=-1,i.currentNamespace=null,i.bindingRootIndex=-1,i.bindingIndex=-1,i.currentQueryIndex=0}function Io(){return Ki.lFrame.selectedIndex}function hd(i){Ki.lFrame.selectedIndex=i}function ea(){const i=Ki.lFrame;return F1(i.tView,i.selectedIndex)}function mo(){Ki.lFrame.currentNamespace=v1}function ml(){!function x2(){Ki.lFrame.currentNamespace=null}()}function Vm(i,t){for(let e=t.directiveStart,n=t.directiveEnd;e<n;e++){const a=i.data[e].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:c,ngAfterViewInit:h,ngAfterViewChecked:f,ngOnDestroy:x}=a;o&&(i.contentHooks||(i.contentHooks=[])).push(-e,o),c&&((i.contentHooks||(i.contentHooks=[])).push(e,c),(i.contentCheckHooks||(i.contentCheckHooks=[])).push(e,c)),h&&(i.viewHooks||(i.viewHooks=[])).push(-e,h),f&&((i.viewHooks||(i.viewHooks=[])).push(e,f),(i.viewCheckHooks||(i.viewCheckHooks=[])).push(e,f)),null!=x&&(i.destroyHooks||(i.destroyHooks=[])).push(e,x)}}function fl(i,t,e){L1(i,t,3,e)}function Ym(i,t,e,n){(3&i[v])===e&&L1(i,t,e,n)}function ig(i,t){let e=i[v];(3&e)===t&&(e&=2047,e+=1,i[v]=e)}function L1(i,t,e,n){const a=n??-1,o=t.length-1;let c=0;for(let h=void 0!==n?65535&i[Er]:0;h<o;h++)if("number"==typeof t[h+1]){if(c=t[h],null!=n&&c>=n)break}else t[h]<0&&(i[Er]+=65536),(c<a||-1==a)&&(D2(i,e,t,h),i[Er]=(4294901760&i[Er])+h+2),h++}function D2(i,t,e,n){const r=e[n]<0,a=e[n+1],c=i[r?-e[n]:e[n]];if(r){if(i[v]>>11<i[Er]>>16&&(3&i[v])===t){i[v]+=2048,xs(4,c,a);try{a.call(c)}finally{xs(5,c,a)}}}else{xs(4,c,a);try{a.call(c)}finally{xs(5,c,a)}}}const bu=-1;class wh{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function ng(i,t,e){let n=0;for(;n<e.length;){const r=e[n];if("number"==typeof r){if(0!==r)break;n++;const a=e[n++],o=e[n++],c=e[n++];i.setAttribute(t,o,c,a)}else{const a=r,o=e[++n];md(a)?i.setProperty(t,a,o):i.setAttribute(t,a,o),n++}}return n}function jm(i){return 3===i||4===i||6===i}function md(i){return 64===i.charCodeAt(0)}function wc(i,t){if(null!==t&&0!==t.length)if(null===i||0===i.length)i=t.slice();else{let e=-1;for(let n=0;n<t.length;n++){const r=t[n];"number"==typeof r?e=r:0===e||Wn(i,e,r,null,-1===e||2===e?t[++n]:null)}}return i}function Wn(i,t,e,n,r){let a=0,o=i.length;if(-1===t)o=-1;else for(;a<i.length;){const c=i[a++];if("number"==typeof c){if(c===t){o=-1;break}if(c>t){o=a-1;break}}}for(;a<i.length;){const c=i[a];if("number"==typeof c)break;if(c===e){if(null===n)return void(null!==r&&(i[a+1]=r));if(n===i[a+1])return void(i[a+2]=r)}a++,null!==n&&a++,null!==r&&a++}-1!==o&&(i.splice(o,0,t),a=o+1),i.splice(a++,0,e),null!==n&&i.splice(a++,0,n),null!==r&&i.splice(a++,0,r)}function w(i){return i!==bu}function O(i){return 32767&i}function se(i,t){let e=function X(i){return i>>16}(i),n=t;for(;e>0;)n=n[ct],e--;return n}let be=!0;function Ve(i){const t=be;return be=i,t}const Ti=255,bn=5;let Cr=0;const Ur={};function Ys(i,t){const e=A3(i,t);if(-1!==e)return e;const n=t[p];n.firstCreatePass&&(i.injectorIndex=t.length,T2(n.data,i),T2(t,null),T2(n.blueprint,null));const r=A2(i,t),a=i.injectorIndex;if(w(r)){const o=O(r),c=se(r,t),h=c[p].data;for(let f=0;f<8;f++)t[a+f]=c[o+f]|h[o+f]}return t[a+8]=r,a}function T2(i,t){i.push(0,0,0,0,0,0,0,0,t)}function A3(i,t){return-1===i.injectorIndex||i.parent&&i.parent.injectorIndex===i.injectorIndex||null===t[i.injectorIndex+8]?-1:i.injectorIndex}function A2(i,t){if(i.parent&&-1!==i.parent.injectorIndex)return i.parent.injectorIndex;let e=0,n=null,r=t;for(;null!==r;){if(n=B3(r),null===n)return bu;if(e++,r=r[ct],-1!==n.injectorIndex)return n.injectorIndex|e<<16}return bu}function I2(i,t,e){!function jl(i,t,e){let n;"string"==typeof e?n=e.charCodeAt(0)||0:e.hasOwnProperty(Kt)&&(n=e[Kt]),null==n&&(n=e[Kt]=Cr++);const r=n&Ti;t.data[i+(r>>bn)]|=1<<r}(i,t,e)}function I3(i,t,e){if(e&ci.Optional||void 0!==i)return i;ol()}function L3(i,t,e,n){if(e&ci.Optional&&void 0===n&&(n=null),!(e&(ci.Self|ci.Host))){const r=i[Ne],a=ja(void 0);try{return r?r.get(t,n,e&ci.Optional):rt(t,n,e&ci.Optional)}finally{ja(a)}}return I3(n,0,e)}function N3(i,t,e,n=ci.Default,r){if(null!==i){if(1024&t[v]){const o=function J9(i,t,e,n,r){let a=i,o=t;for(;null!==a&&null!==o&&1024&o[v]&&!(256&o[v]);){const c=O3(a,o,e,n|ci.Self,Ur);if(c!==Ur)return c;let h=a.parent;if(!h){const f=o[dr];if(f){const x=f.get(e,Ur,n);if(x!==Ur)return x}h=B3(o),o=o[ct]}a=h}return r}(i,t,e,n,Ur);if(o!==Ur)return o}const a=O3(i,t,e,n,Ur);if(a!==Ur)return a}return L3(t,e,n,r)}function O3(i,t,e,n,r){const a=function Z9(i){if("string"==typeof i)return i.charCodeAt(0)||0;const t=i.hasOwnProperty(Kt)?i[Kt]:void 0;return"number"==typeof t?t>=0?t&Ti:X9:t}(e);if("function"==typeof a){if(!T1(t,i,n))return n&ci.Host?I3(r,0,n):L3(t,e,n,r);try{const o=a(n);if(null!=o||n&ci.Optional)return o;ol()}finally{I1()}}else if("number"==typeof a){let o=null,c=A3(i,t),h=bu,f=n&ci.Host?t[Ii][ue]:null;for((-1===c||n&ci.SkipSelf)&&(h=-1===c?A2(i,t):t[c+8],h!==bu&&P3(n,!1)?(o=t[p],c=O(h),t=se(h,t)):c=-1);-1!==c;){const x=t[p];if(R3(a,c,x.data)){const P=Q9(c,t,e,o,n,f);if(P!==Ur)return P}h=t[c+8],h!==bu&&P3(n,t[p].data[c+8]===f)&&R3(a,c,t)?(o=x,c=O(h),t=se(h,t)):c=-1}}return r}function Q9(i,t,e,n,r,a){const o=t[p],c=o.data[i+8],x=N1(c,o,e,null==n?gh(c)&&be:n!=o&&0!=(3&c.type),r&ci.Host&&a===c);return null!==x?xh(t,o,x,c):Ur}function N1(i,t,e,n,r){const a=i.providerIndexes,o=t.data,c=1048575&a,h=i.directiveStart,x=a>>20,$=r?c+x:i.directiveEnd;for(let te=n?c:c+x;te<$;te++){const fe=o[te];if(te<h&&e===fe||te>=h&&fe.type===e)return te}if(r){const te=o[h];if(te&&Ps(te)&&te.type===e)return h}return null}function xh(i,t,e,n){let r=i[e];const a=t.data;if(function M2(i){return i instanceof wh}(r)){const o=r;o.resolving&&function oo(i,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${i}`:"";throw new tt(-200,`Circular dependency in DI detected for ${i}${e}`)}(function Yn(i){return"function"==typeof i?i.name||i.toString():"object"==typeof i&&null!=i&&"function"==typeof i.type?i.type.name||i.type.toString():ji(i)}(a[e]));const c=Ve(o.canSeeViewProviders);o.resolving=!0;const h=o.injectImpl?ja(o.injectImpl):null;T1(i,n,ci.Default);try{r=i[e]=o.factory(void 0,a,i,n),t.firstCreatePass&&e>=n.directiveStart&&function k2(i,t,e){const{ngOnChanges:n,ngOnInit:r,ngDoCheck:a}=t.type.prototype;if(n){const o=_1(t);(e.preOrderHooks||(e.preOrderHooks=[])).push(i,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(i,o)}r&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-i,r),a&&((e.preOrderHooks||(e.preOrderHooks=[])).push(i,a),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(i,a))}(e,a[e],t)}finally{null!==h&&ja(h),Ve(c),o.resolving=!1,I1()}}return r}function R3(i,t,e){return!!(e[t+(i>>bn)]&1<<i)}function P3(i,t){return!(i&ci.Self||i&ci.Host&&t)}class zm{constructor(t,e){this._tNode=t,this._lView=e}get(t,e,n){return N3(this._tNode,this._lView,t,Wo(n),e)}}function X9(){return new zm(ho(),xt())}function _i(i){return Ea(()=>{const t=i.prototype.constructor,e=t[Di]||L2(t),n=Object.prototype;let r=Object.getPrototypeOf(i.prototype).constructor;for(;r&&r!==n;){const a=r[Di]||L2(r);if(a&&a!==e)return a;r=Object.getPrototypeOf(r)}return a=>new a})}function L2(i){return Ir(i)?()=>{const t=L2(Pt(i));return t&&t()}:yc(i)}function B3(i){const t=i[p],e=t.type;return 2===e?t.declTNode:1===e?i[ue]:null}function fo(i){return function K9(i,t){if("class"===t)return i.classes;if("style"===t)return i.styles;const e=i.attrs;if(e){const n=e.length;let r=0;for(;r<n;){const a=e[r];if(jm(a))break;if(0===a)r+=2;else if("number"==typeof a)for(r++;r<n&&"string"==typeof e[r];)r++;else{if(a===t)return e[r+1];r+=2}}}return null}(ho(),i)}const Wm="__parameters__";function qm(i,t,e){return Ea(()=>{const n=function N2(i){return function(...e){if(i){const n=i(...e);for(const r in n)this[r]=n[r]}}}(t);function r(...a){if(this instanceof r)return n.apply(this,a),this;const o=new r(...a);return c.annotation=o,c;function c(h,f,x){const P=h.hasOwnProperty(Wm)?h[Wm]:Object.defineProperty(h,Wm,{value:[]})[Wm];for(;P.length<=x;)P.push(null);return(P[x]=P[x]||[]).push(o),h}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=i,r.annotationCls=r,r})}class Ke{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=Qe({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Ch(i,t){i.forEach(e=>Array.isArray(e)?Ch(e,t):t(e))}function V3(i,t,e){t>=i.length?i.push(e):i.splice(t,0,e)}function O1(i,t){return t>=i.length-1?i.pop():i.splice(t,1)[0]}function og(i,t){const e=[];for(let n=0;n<i;n++)e.push(t);return e}function js(i,t,e){let n=$m(i,t);return n>=0?i[1|n]=e:(n=~n,function nB(i,t,e,n){let r=i.length;if(r==t)i.push(e,n);else if(1===r)i.push(n,i[0]),i[0]=e;else{for(r--,i.push(i[r-1],i[r]);r>t;)i[r]=i[r-2],r--;i[t]=e,i[t+1]=n}}(i,n,t,e)),n}function R2(i,t){const e=$m(i,t);if(e>=0)return i[1|e]}function $m(i,t){return function Y3(i,t,e){let n=0,r=i.length>>e;for(;r!==n;){const a=n+(r-n>>1),o=i[a<<e];if(t===o)return a<<e;o>t?r=a:n=a+1}return~(r<<e)}(i,t,1)}const P1=Os(qm("Inject",i=>({token:i})),-1),Cs=Os(qm("Optional"),8),zl=Os(qm("SkipSelf"),4);var ks=(()=>((ks=ks||{})[ks.Important=1]="Important",ks[ks.DashCase=2]="DashCase",ks))();const Y2=new Map;let kB=0;const z2="__ngContext__";function $o(i,t){as(t)?(i[z2]=t[ga],function MB(i){Y2.set(i[ga],i)}(t)):i[z2]=t}let U2;function W2(i,t){return U2(i,t)}function dg(i){const t=i[M];return Rs(t)?t[M]:t}function G2(i){return sE(i[kt])}function q2(i){return sE(i[H])}function sE(i){for(;null!==i&&!Rs(i);)i=i[H];return i}function Qm(i,t,e,n,r){if(null!=n){let a,o=!1;Rs(n)?a=n:as(n)&&(o=!0,n=n[m]);const c=uo(n);0===i&&null!==e?null==r?mE(t,e,c):kh(t,e,c,r||null,!0):1===i&&null!==e?kh(t,e,c,r||null,!0):2===i?function eF(i,t,e){const n=V1(i,t);n&&function qB(i,t,e,n){i.removeChild(t,e,n)}(i,n,t,e)}(t,c,o):3===i&&t.destroyNode(c),null!=a&&function QB(i,t,e,n,r){const a=e[hu];a!==uo(e)&&Qm(t,i,n,a,r);for(let c=Ao;c<e.length;c++){const h=e[c];ug(h[p],h,i,t,n,a)}}(t,i,a,e,r)}}function K2(i,t,e){return i.createElement(t,e)}function cE(i,t){const e=i[fu],n=e.indexOf(t),r=t[M];512&t[v]&&(t[v]&=-513,yh(r,-1)),e.splice(n,1)}function Q2(i,t){if(i.length<=Ao)return;const e=Ao+t,n=i[e];if(n){const r=n[Fi];null!==r&&r!==i&&cE(r,n),t>0&&(i[e-1][H]=n[H]);const a=O1(i,Ao+t);!function HB(i,t){ug(i,t,t[Ye],2,null,null),t[m]=null,t[ue]=null}(n[p],n);const o=a[Jr];null!==o&&o.detachView(a[p]),n[M]=null,n[H]=null,n[v]&=-65}return n}function dE(i,t){if(!(128&t[v])){const e=t[Ye];e.destroyNode&&ug(i,t,e,3,null,null),function jB(i){let t=i[kt];if(!t)return Z2(i[p],i);for(;t;){let e=null;if(as(t))e=t[kt];else{const n=t[Ao];n&&(e=n)}if(!e){for(;t&&!t[H]&&t!==i;)as(t)&&Z2(t[p],t),t=t[M];null===t&&(t=i),as(t)&&Z2(t[p],t),e=t&&t[H]}t=e}}(t)}}function Z2(i,t){if(!(128&t[v])){t[v]&=-65,t[v]|=128,function GB(i,t){let e;if(null!=i&&null!=(e=i.destroyHooks))for(let n=0;n<e.length;n+=2){const r=t[e[n]];if(!(r instanceof wh)){const a=e[n+1];if(Array.isArray(a))for(let o=0;o<a.length;o+=2){const c=r[a[o]],h=a[o+1];xs(4,c,h);try{h.call(c)}finally{xs(5,c,h)}}else{xs(4,r,a);try{a.call(r)}finally{xs(5,r,a)}}}}}(i,t),function WB(i,t){const e=i.cleanup,n=t[_e];let r=-1;if(null!==e)for(let a=0;a<e.length-1;a+=2)if("string"==typeof e[a]){const o=e[a+3];o>=0?n[r=o]():n[r=-o].unsubscribe(),a+=2}else{const o=n[r=e[a+1]];e[a].call(o)}if(null!==n){for(let a=r+1;a<n.length;a++)(0,n[a])();t[_e]=null}}(i,t),1===t[p].type&&t[Ye].destroy();const e=t[Fi];if(null!==e&&Rs(t[M])){e!==t[M]&&cE(e,t);const n=t[Jr];null!==n&&n.detachView(i)}!function EB(i){Y2.delete(i[ga])}(t)}}function uE(i,t,e){return function hE(i,t,e){let n=t;for(;null!==n&&40&n.type;)n=(t=n).parent;if(null===n)return e[m];{const{componentOffset:r}=n;if(r>-1){const{encapsulation:a}=i.data[n.directiveStart+r];if(a===xe.None||a===xe.Emulated)return null}return os(n,e)}}(i,t.parent,e)}function kh(i,t,e,n,r){i.insertBefore(t,e,n,r)}function mE(i,t,e){i.appendChild(t,e)}function fE(i,t,e,n,r){null!==n?kh(i,t,e,n,r):mE(i,t,e)}function V1(i,t){return i.parentNode(t)}function pE(i,t,e){return _E(i,t,e)}let X2,z1,nF,U1,_E=function gE(i,t,e){return 40&i.type?os(i,e):null};function Y1(i,t,e,n){const r=uE(i,n,t),a=t[Ye],c=pE(n.parent||t[ue],n,t);if(null!=r)if(Array.isArray(e))for(let h=0;h<e.length;h++)fE(a,r,e[h],c,!1);else fE(a,r,e,c,!1);void 0!==X2&&X2(a,n,t,e,r)}function j1(i,t){if(null!==t){const e=t.type;if(3&e)return os(t,i);if(4&e)return J2(-1,i[t.index]);if(8&e){const n=t.child;if(null!==n)return j1(i,n);{const r=i[t.index];return Rs(r)?J2(-1,r):uo(r)}}if(32&e)return W2(t,i)()||uo(i[t.index]);{const n=yE(i,t);return null!==n?Array.isArray(n)?n[0]:j1(dg(i[Ii]),n):j1(i,t.next)}}return null}function yE(i,t){return null!==t?i[Ii][ue].projection[t.projection]:null}function J2(i,t){const e=Ao+i+1;if(e<t.length){const n=t[e],r=n[p].firstChild;if(null!==r)return j1(n,r)}return t[hu]}function tF(i,t,e,n,r,a,o){for(;null!=e;){const c=n[e.index],h=e.type;if(o&&0===t&&(c&&$o(uo(c),n),e.flags|=2),32!=(32&e.flags))if(8&h)tF(i,t,e.child,n,r,a,!1),Qm(t,i,r,c,a);else if(32&h){const f=W2(e,n);let x;for(;x=f();)Qm(t,i,r,x,a);Qm(t,i,r,c,a)}else 16&h?vE(i,t,n,e,r,a):Qm(t,i,r,c,a);e=o?e.projectionNext:e.next}}function ug(i,t,e,n,r,a){tF(e,n,i.firstChild,t,r,a,!1)}function vE(i,t,e,n,r,a){const o=e[Ii],h=o[ue].projection[n.projection];if(Array.isArray(h))for(let f=0;f<h.length;f++)Qm(t,i,r,h[f],a);else tF(i,t,h,o[M],r,a,!0)}function wE(i,t,e){""===e?i.removeAttribute(t,"class"):i.setAttribute(t,"class",e)}function FE(i,t,e){const{mergedAttrs:n,classes:r,styles:a}=e;null!==n&&ng(i,t,n),null!==r&&wE(i,t,r),null!==a&&function XB(i,t,e){i.setAttribute(t,"style",e)}(i,t,a)}function Zm(i){return function iF(){if(void 0===z1&&(z1=null,Pi.trustedTypes))try{z1=Pi.trustedTypes.createPolicy("angular",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i})}catch{}return z1}()?.createHTML(i)||i}function DE(i){return function rF(){if(void 0===U1&&(U1=null,Pi.trustedTypes))try{U1=Pi.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i})}catch{}return U1}()?.createScriptURL(i)||i}class Dh{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${li})`}}class r7 extends Dh{getTypeName(){return"HTML"}}class a7 extends Dh{getTypeName(){return"Style"}}class o7 extends Dh{getTypeName(){return"Script"}}class s7 extends Dh{getTypeName(){return"URL"}}class l7 extends Dh{getTypeName(){return"ResourceURL"}}function zs(i){return i instanceof Dh?i.changingThisBreaksApplicationSecurity:i}function Fc(i,t){const e=function c7(i){return i instanceof Dh&&i.getTypeName()||null}(i);if(null!=e&&e!==t){if("ResourceURL"===e&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${e} (see ${li})`)}return e===t}class p7{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const e=(new window.DOMParser).parseFromString(Zm(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch{return null}}}class g7{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const e=this.inertDocument.createElement("template");return e.innerHTML=Zm(t),e}}const b7=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function W1(i){return(i=String(i)).match(b7)?i:"unsafe:"+i}function fd(i){const t={};for(const e of i.split(","))t[e]=!0;return t}function hg(...i){const t={};for(const e of i)for(const n in e)e.hasOwnProperty(n)&&(t[n]=!0);return t}const EE=fd("area,br,col,hr,img,wbr"),SE=fd("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),TE=fd("rp,rt"),aF=hg(EE,hg(SE,fd("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")),hg(TE,fd("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")),hg(TE,SE)),oF=fd("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),AE=hg(oF,fd("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),fd("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")),y7=fd("script,style,template");class v7{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=this.checkClobberedElement(e,e.nextSibling);if(r){e=r;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!aF.hasOwnProperty(e))return this.sanitizedSomething=!0,!y7.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let r=0;r<n.length;r++){const a=n.item(r),o=a.name,c=o.toLowerCase();if(!AE.hasOwnProperty(c)){this.sanitizedSomething=!0;continue}let h=a.value;oF[c]&&(h=W1(h)),this.buf.push(" ",o,'="',IE(h),'"')}return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();aF.hasOwnProperty(e)&&!EE.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(IE(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&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 e}}const w7=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,F7=/([^\#-~ |!])/g;function IE(i){return i.replace(/&/g,"&amp;").replace(w7,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(F7,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let G1;function LE(i,t){let e=null;try{G1=G1||function ME(i){const t=new g7(i);return function _7(){try{return!!(new window.DOMParser).parseFromString(Zm(""),"text/html")}catch{return!1}}()?new p7(t):t}(i);let n=t?String(t):"";e=G1.getInertBodyElement(n);let r=5,a=n;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,n=a,a=e.innerHTML,e=G1.getInertBodyElement(n)}while(n!==a);return Zm((new v7).sanitizeChildren(sF(e)||e))}finally{if(e){const n=sF(e)||e;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function sF(i){return"content"in i&&function x7(i){return i.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===i.nodeName}(i)?i.content:null}var yr=(()=>((yr=yr||{})[yr.NONE=0]="NONE",yr[yr.HTML=1]="HTML",yr[yr.STYLE=2]="STYLE",yr[yr.SCRIPT=3]="SCRIPT",yr[yr.URL=4]="URL",yr[yr.RESOURCE_URL=5]="RESOURCE_URL",yr))();function hn(i){const t=mg();return t?t.sanitize(yr.URL,i)||"":Fc(i,"URL")?zs(i):W1(ji(i))}function Xm(i){const t=mg();if(t)return DE(t.sanitize(yr.RESOURCE_URL,i)||"");if(Fc(i,"ResourceURL"))return DE(zs(i));throw new tt(904,!1)}function mg(){const i=xt();return i&&i[et]}const q1=new Ke("ENVIRONMENT_INITIALIZER"),OE=new Ke("INJECTOR",-1),RE=new Ke("INJECTOR_DEF_TYPES");class PE{get(t,e=za){if(e===za){const n=new Error(`NullInjectorError: No provider for ${Yi(t)}!`);throw n.name="NullInjectorError",n}return e}}function A7(...i){return{\u0275providers:BE(0,i),\u0275fromNgModule:!0}}function BE(i,...t){const e=[],n=new Set;let r;return Ch(t,a=>{const o=a;lF(o,e,[],n)&&(r||(r=[]),r.push(o))}),void 0!==r&&HE(r,e),e}function HE(i,t){for(let e=0;e<i.length;e++){const{providers:r}=i[e];cF(r,a=>{t.push(a)})}}function lF(i,t,e,n){if(!(i=Pt(i)))return!1;let r=null,a=lo(i);const o=!a&&Y(i);if(a||o){if(o&&!o.standalone)return!1;r=i}else{const h=i.ngModule;if(a=lo(h),!a)return!1;r=h}const c=n.has(r);if(o){if(c)return!1;if(n.add(r),o.dependencies){const h="function"==typeof o.dependencies?o.dependencies():o.dependencies;for(const f of h)lF(f,t,e,n)}}else{if(!a)return!1;{if(null!=a.imports&&!c){let f;n.add(r);try{Ch(a.imports,x=>{lF(x,t,e,n)&&(f||(f=[]),f.push(x))})}finally{}void 0!==f&&HE(f,t)}if(!c){const f=yc(r)||(()=>new r);t.push({provide:r,useFactory:f,deps:Me},{provide:RE,useValue:r,multi:!0},{provide:q1,useValue:()=>Fe(r),multi:!0})}const h=a.providers;null==h||c||cF(h,x=>{t.push(x)})}}return r!==i&&void 0!==i.providers}function cF(i,t){for(let e of i)$e(e)&&(e=e.\u0275providers),Array.isArray(e)?cF(e,t):t(e)}const I7=en({provide:String,useValue:en});function dF(i){return null!==i&&"object"==typeof i&&I7 in i}function Mh(i){return"function"==typeof i}const uF=new Ke("Set Injector scope."),$1={},N7={};let hF;function K1(){return void 0===hF&&(hF=new PE),hF}class xc{}class jE extends xc{get destroyed(){return this._destroyed}constructor(t,e,n,r){super(),this.parent=e,this.source=n,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,fF(t,o=>this.processProvider(o)),this.records.set(OE,Jm(void 0,this)),r.has("environment")&&this.records.set(xc,Jm(void 0,this));const a=this.records.get(uF);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(RE.multi,Me,ci.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const e=En(this),n=ja(void 0);try{return t()}finally{En(e),ja(n)}}get(t,e=za,n=ci.Default){this.assertNotDestroyed(),n=Wo(n);const r=En(this),a=ja(void 0);try{if(!(n&ci.SkipSelf)){let c=this.records.get(t);if(void 0===c){const h=function H7(i){return"function"==typeof i||"object"==typeof i&&i instanceof Ke}(t)&&Vo(t);c=h&&this.injectableDefInScope(h)?Jm(mF(t),$1):null,this.records.set(t,c)}if(null!=c)return this.hydrate(t,c)}return(n&ci.Self?K1():this.parent).get(t,e=n&ci.Optional&&e===za?null:e)}catch(o){if("NullInjectorError"===o.name){if((o[So]=o[So]||[]).unshift(Yi(t)),r)throw o;return function Bl(i,t,e,n){const r=i[So];throw t[Uo]&&r.unshift(t[Uo]),i.message=function Hl(i,t,e,n=null){i=i&&"\n"===i.charAt(0)&&i.charAt(1)==cl?i.slice(2):i;let r=Yi(t);if(Array.isArray(t))r=t.map(Yi).join(" -> ");else if("object"==typeof t){let a=[];for(let o in t)if(t.hasOwnProperty(o)){let c=t[o];a.push(o+":"+("string"==typeof c?JSON.stringify(c):Yi(c)))}r=`{${a.join(", ")}}`}return`${e}${n?"("+n+")":""}[${r}]: ${i.replace(Ma,"\n ")}`}("\n"+i.message,r,e,n),i[Vr]=r,i[So]=null,i}(o,t,"R3InjectorError",this.source)}throw o}finally{ja(a),En(r)}}resolveInjectorInitializers(){const t=En(this),e=ja(void 0);try{const n=this.get(q1.multi,Me,ci.Self);for(const r of n)r()}finally{En(t),ja(e)}}toString(){const t=[],e=this.records;for(const n of e.keys())t.push(Yi(n));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new tt(205,!1)}processProvider(t){let e=Mh(t=Pt(t))?t:Pt(t&&t.provide);const n=function R7(i){return dF(i)?Jm(void 0,i.useValue):Jm(zE(i),$1)}(t);if(Mh(t)||!0!==t.multi)this.records.get(e);else{let r=this.records.get(e);r||(r=Jm(void 0,$1,!0),r.factory=()=>Pl(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,n)}hydrate(t,e){return e.value===$1&&(e.value=N7,e.value=e.factory()),"object"==typeof e.value&&e.value&&function B7(i){return null!==i&&"object"==typeof i&&"function"==typeof i.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=Pt(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function mF(i){const t=Vo(i),e=null!==t?t.factory:yc(i);if(null!==e)return e;if(i instanceof Ke)throw new tt(204,!1);if(i instanceof Function)return function O7(i){const t=i.length;if(t>0)throw og(t,"?"),new tt(204,!1);const e=function gc(i){const t=i&&(i[Yo]||i[ys]);return t?(function ns(i){if(i.hasOwnProperty("name"))return i.name;(""+i).match(/^function\s*([^\s(]+)/)}(i),t):null}(i);return null!==e?()=>e.factory(i):()=>new i}(i);throw new tt(204,!1)}function zE(i,t,e){let n;if(Mh(i)){const r=Pt(i);return yc(r)||mF(r)}if(dF(i))n=()=>Pt(i.useValue);else if(function YE(i){return!(!i||!i.useFactory)}(i))n=()=>i.useFactory(...Pl(i.deps||[]));else if(function VE(i){return!(!i||!i.useExisting)}(i))n=()=>Fe(Pt(i.useExisting));else{const r=Pt(i&&(i.useClass||i.provide));if(!function P7(i){return!!i.deps}(i))return yc(r)||mF(r);n=()=>new r(...Pl(i.deps))}return n}function Jm(i,t,e=!1){return{factory:i,value:t,multi:e?[]:void 0}}function fF(i,t){for(const e of i)Array.isArray(e)?fF(e,t):e&&$e(e)?fF(e.\u0275providers,t):t(e)}class V7{}class UE{}class j7{resolveComponentFactory(t){throw function Y7(i){const t=Error(`No component factory found for ${Yi(i)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=i,t}(t)}}let pd=(()=>{class i{}return i.NULL=new j7,i})();function z7(){return ef(ho(),xt())}function ef(i,t){return new gt(os(i,t))}let gt=(()=>{class i{constructor(e){this.nativeElement=e}}return i.__NG_ELEMENT_ID__=z7,i})();function U7(i){return i instanceof gt?i.nativeElement:i}class tf{}let gl=(()=>{class i{}return i.__NG_ELEMENT_ID__=()=>function W7(){const i=xt(),e=ss(ho().index,i);return(as(e)?e:i)[Ye]}(),i})(),G7=(()=>{class i{}return i.\u0275prov=Qe({token:i,providedIn:"root",factory:()=>null}),i})();class Eh{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const q7=new Eh("15.2.0"),pF={},gF="ngOriginalError";function _F(i){return i[gF]}class gd{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t);this._console.error("ERROR",t),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&_F(t);for(;e&&_F(e);)e=_F(e);return e||null}}function GE(i){return i.ownerDocument.defaultView}function Q1(i){return i.ownerDocument}function qE(i){return i.ownerDocument.body}function _d(i){return i instanceof Function?i():i}function KE(i,t,e){let n=i.length;for(;;){const r=i.indexOf(t,e);if(-1===r)return r;if(0===r||i.charCodeAt(r-1)<=32){const a=t.length;if(r+a===n||i.charCodeAt(r+a)<=32)return r}e=r+1}}const QE="ng-template";function tH(i,t,e){let n=0;for(;n<i.length;){let r=i[n++];if(e&&"class"===r){if(r=i[n],-1!==KE(r.toLowerCase(),t,0))return!0}else if(1===r){for(;n<i.length&&"string"==typeof(r=i[n++]);)if(r.toLowerCase()===t)return!0;return!1}}return!1}function ZE(i){return 4===i.type&&i.value!==QE}function iH(i,t,e){return t===(4!==i.type||e?i.value:QE)}function nH(i,t,e){let n=4;const r=i.attrs||[],a=function oH(i){for(let t=0;t<i.length;t++)if(jm(i[t]))return t;return i.length}(r);let o=!1;for(let c=0;c<t.length;c++){const h=t[c];if("number"!=typeof h){if(!o)if(4&n){if(n=2|1&n,""!==h&&!iH(i,h,e)||""===h&&1===t.length){if(Ul(n))return!1;o=!0}}else{const f=8&n?h:t[++c];if(8&n&&null!==i.attrs){if(!tH(i.attrs,f,e)){if(Ul(n))return!1;o=!0}continue}const P=rH(8&n?"class":h,r,ZE(i),e);if(-1===P){if(Ul(n))return!1;o=!0;continue}if(""!==f){let $;$=P>a?"":r[P+1].toLowerCase();const te=8&n?$:null;if(te&&-1!==KE(te,f,0)||2&n&&f!==$){if(Ul(n))return!1;o=!0}}}}else{if(!o&&!Ul(n)&&!Ul(h))return!1;if(o&&Ul(h))continue;o=!1,n=h|1&n}}return Ul(n)||o}function Ul(i){return 0==(1&i)}function rH(i,t,e,n){if(null===t)return-1;let r=0;if(n||!e){let a=!1;for(;r<t.length;){const o=t[r];if(o===i)return r;if(3===o||6===o)a=!0;else{if(1===o||2===o){let c=t[++r];for(;"string"==typeof c;)c=t[++r];continue}if(4===o)break;if(0===o){r+=4;continue}}r+=a?1:2}return-1}return function sH(i,t){let e=i.indexOf(4);if(e>-1)for(e++;e<i.length;){const n=i[e];if("number"==typeof n)return-1;if(n===t)return e;e++}return-1}(t,i)}function XE(i,t,e=!1){for(let n=0;n<t.length;n++)if(nH(i,t[n],e))return!0;return!1}function lH(i,t){e:for(let e=0;e<t.length;e++){const n=t[e];if(i.length===n.length){for(let r=0;r<i.length;r++)if(i[r]!==n[r])continue e;return!0}}return!1}function JE(i,t){return i?":not("+t.trim()+")":t}function cH(i){let t=i[0],e=1,n=2,r="",a=!1;for(;e<i.length;){let o=i[e];if("string"==typeof o)if(2&n){const c=i[++e];r+="["+o+(c.length>0?'="'+c+'"':"")+"]"}else 8&n?r+="."+o:4&n&&(r+=" "+o);else""!==r&&!Ul(o)&&(t+=JE(a,r),r=""),n=o,a=a||!Ul(n);e++}return""!==r&&(t+=JE(a,r)),t}const _n={};function E(i){e4(Un(),xt(),Io()+i,!1)}function e4(i,t,e,n){if(!n)if(3==(3&t[v])){const a=i.preOrderCheckHooks;null!==a&&fl(t,a,e)}else{const a=i.preOrderHooks;null!==a&&Ym(t,a,0,e)}hd(e)}function a4(i,t=null,e=null,n){const r=o4(i,t,e,n);return r.resolveInjectorInitializers(),r}function o4(i,t=null,e=null,n,r=new Set){const a=[e||Me,A7(i)];return n=n||("object"==typeof i?void 0:Yi(i)),new jE(a,t||K1(),n||null,r)}let Wr=(()=>{class i{static create(e,n){if(Array.isArray(e))return a4({name:""},n,e,"");{const r=e.name??"";return a4({name:r},e.parent,e.providers,r)}}}return i.THROW_IF_NOT_FOUND=za,i.NULL=new PE,i.\u0275prov=Qe({token:i,providedIn:"any",factory:()=>Fe(OE)}),i.__NG_ELEMENT_ID__=-1,i})();function k(i,t=ci.Default){const e=xt();return null===e?Fe(i,t):N3(ho(),e,Pt(i),t)}function Wl(){throw new Error("invalid")}function m4(i,t){const e=i.contentQueries;if(null!==e)for(let n=0;n<e.length;n+=2){const a=e[n+1];if(-1!==a){const o=i.data[a];Pm(e[n]),o.contentQueries(2,t[a],a)}}}function X1(i,t,e,n,r,a,o,c,h,f,x){const P=t.blueprint.slice();return P[m]=r,P[v]=76|n,(null!==x||i&&1024&i[v])&&(P[v]|=1024),x1(P),P[M]=P[ct]=i,P[ke]=e,P[je]=o||i&&i[je],P[Ye]=c||i&&i[Ye],P[et]=h||i&&i[et]||null,P[Ne]=f||i&&i[Ne]||null,P[ue]=a,P[ga]=function DB(){return kB++}(),P[dr]=x,P[Ii]=2==t.type?i[Ii]:P,P}function af(i,t,e,n,r){let a=i.data[t];if(null===a)a=function FF(i,t,e,n,r){const a=Vl(),o=Zp(),h=i.data[t]=function OH(i,t,e,n,r,a){return{type:e,index:n,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:r,attrs:a,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?a:a&&a.parent,e,t,n,r);return null===i.firstChild&&(i.firstChild=h),null!==a&&(o?null==a.child&&null!==h.parent&&(a.child=h):null===a.next&&(a.next=h)),h}(i,t,e,n,r),function _2(){return Ki.lFrame.inI18n}()&&(a.flags|=32);else if(64&a.type){a.type=e,a.value=n,a.attrs=r;const o=function _u(){const i=Ki.lFrame,t=i.currentTNode;return i.isParent?t:t.parent}();a.injectorIndex=null===o?-1:o.injectorIndex}return hl(a,!0),a}function fg(i,t,e,n){if(0===e)return-1;const r=t.length;for(let a=0;a<e;a++)t.push(n),i.blueprint.push(n),i.data.push(null);return r}function xF(i,t,e){Bm(t);try{const n=i.viewQuery;null!==n&&LF(1,n,e);const r=i.template;null!==r&&f4(i,t,r,1,e),i.firstCreatePass&&(i.firstCreatePass=!1),i.staticContentQueries&&m4(i,t),i.staticViewQueries&&LF(2,i.viewQuery,e);const a=i.components;null!==a&&function IH(i,t){for(let e=0;e<t.length;e++)eV(i,t[e])}(t,a)}catch(n){throw i.firstCreatePass&&(i.incompleteFirstPass=!0,i.firstCreatePass=!1),n}finally{t[v]&=-5,tg()}}function J1(i,t,e,n){const r=t[v];if(128!=(128&r)){Bm(t);try{x1(t),function vh(i){return Ki.lFrame.bindingIndex=i}(i.bindingStartIndex),null!==e&&f4(i,t,e,2,n);const o=3==(3&r);if(o){const f=i.preOrderCheckHooks;null!==f&&fl(t,f,null)}else{const f=i.preOrderHooks;null!==f&&Ym(t,f,0,null),ig(t,0)}if(function XH(i){for(let t=G2(i);null!==t;t=q2(t)){if(!t[ul])continue;const e=t[fu];for(let n=0;n<e.length;n++){const r=e[n];512&r[v]||yh(r[M],1),r[v]|=512}}}(t),function ZH(i){for(let t=G2(i);null!==t;t=q2(t))for(let e=Ao;e<t.length;e++){const n=t[e],r=n[p];gu(n)&&J1(r,n,r.template,n[ke])}}(t),null!==i.contentQueries&&m4(i,t),o){const f=i.contentCheckHooks;null!==f&&fl(t,f)}else{const f=i.contentHooks;null!==f&&Ym(t,f,1),ig(t,1)}!function TH(i,t){const e=i.hostBindingOpCodes;if(null!==e)try{for(let n=0;n<e.length;n++){const r=e[n];if(r<0)hd(~r);else{const a=r,o=e[++n],c=e[++n];b2(o,a),c(2,t[a])}}}finally{hd(-1)}}(i,t);const c=i.components;null!==c&&function AH(i,t){for(let e=0;e<t.length;e++)JH(i,t[e])}(t,c);const h=i.viewQuery;if(null!==h&&LF(2,h,n),o){const f=i.viewCheckHooks;null!==f&&fl(t,f)}else{const f=i.viewHooks;null!==f&&Ym(t,f,2),ig(t,2)}!0===i.firstUpdatePass&&(i.firstUpdatePass=!1),t[v]&=-41,512&t[v]&&(t[v]&=-513,yh(t[M],-1))}finally{tg()}}}function f4(i,t,e,n,r){const a=Io(),o=2&n;try{hd(-1),o&&t.length>dn&&e4(i,t,dn,!1),xs(o?2:0,r),e(n,r)}finally{hd(a),xs(o?3:1,r)}}function CF(i,t,e){if($p(t)){const r=t.directiveEnd;for(let a=t.directiveStart;a<r;a++){const o=i.data[a];o.contentQueries&&o.contentQueries(1,e[a],a)}}}function kF(i,t,e){k1()&&(function YH(i,t,e,n){const r=e.directiveStart,a=e.directiveEnd;gh(e)&&function $H(i,t,e){const n=os(t,i),r=p4(e),a=i[je],o=eb(i,X1(i,r,null,e.onPush?32:16,n,t,a,a.createRenderer(n,e),null,null,null));i[t.index]=o}(t,e,i.data[r+e.componentOffset]),i.firstCreatePass||Ys(e,t),$o(n,t);const o=e.initialInputs;for(let c=r;c<a;c++){const h=i.data[c],f=xh(t,i,c,e);$o(f,t),null!==o&&KH(0,c-r,f,h,0,o),Ps(h)&&(ss(e.index,t)[ke]=xh(t,i,c,e))}}(i,t,e,os(e,t)),64==(64&e.flags)&&w4(i,t,e))}function DF(i,t,e=os){const n=t.localNames;if(null!==n){let r=t.index+1;for(let a=0;a<n.length;a+=2){const o=n[a+1],c=-1===o?e(t,i):i[o];i[r++]=c}}}function p4(i){const t=i.tView;return null===t||t.incompleteFirstPass?i.tView=MF(1,null,i.template,i.decls,i.vars,i.directiveDefs,i.pipeDefs,i.viewQuery,i.schemas,i.consts):t}function MF(i,t,e,n,r,a,o,c,h,f){const x=dn+n,P=x+r,$=function LH(i,t){const e=[];for(let n=0;n<t;n++)e.push(n<i?null:_n);return e}(x,P),te="function"==typeof f?f():f;return $[p]={type:i,blueprint:$,template:e,queries:null,viewQuery:c,declTNode:t,data:$.slice().fill(null,x),bindingStartIndex:x,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 a?a():a,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:h,consts:te,incompleteFirstPass:!1}}function g4(i,t,e,n){const r=x4(t);null===e?r.push(n):(r.push(e),i.firstCreatePass&&C4(i).push(n,r.length-1))}function _4(i,t,e,n){for(let r in i)if(i.hasOwnProperty(r)){e=null===e?{}:e;const a=i[r];null===n?b4(e,t,r,a):n.hasOwnProperty(r)&&b4(e,t,n[r],a)}return e}function b4(i,t,e,n){i.hasOwnProperty(e)?i[e].push(t,n):i[e]=[t,n]}function Us(i,t,e,n,r,a,o,c){const h=os(t,e);let x,f=t.inputs;!c&&null!=f&&(x=f[n])?(NF(i,e,x,n,r),gh(t)&&y4(e,t.index)):3&t.type&&(n=function PH(i){return"class"===i?"className":"for"===i?"htmlFor":"formaction"===i?"formAction":"innerHtml"===i?"innerHTML":"readonly"===i?"readOnly":"tabindex"===i?"tabIndex":i}(n),r=null!=o?o(r,t.value||"",n):r,a.setProperty(h,n,r))}function y4(i,t){const e=ss(t,i);16&e[v]||(e[v]|=32)}function EF(i,t,e,n){let r=!1;if(k1()){const a=null===n?null:{"":-1},o=function zH(i,t){const e=i.directiveRegistry;let n=null,r=null;if(e)for(let a=0;a<e.length;a++){const o=e[a];if(XE(t,o.selectors,!1))if(n||(n=[]),Ps(o))if(null!==o.findHostDirectiveDefs){const c=[];r=r||new Map,o.findHostDirectiveDefs(o,c,r),n.unshift(...c,o),SF(i,t,c.length)}else n.unshift(o),SF(i,t,0);else r=r||new Map,o.findHostDirectiveDefs?.(o,n,r),n.push(o)}return null===n?null:[n,r]}(i,e);let c,h;null===o?c=h=null:[c,h]=o,null!==c&&(r=!0,v4(i,t,e,c,a,h)),a&&function UH(i,t,e){if(t){const n=i.localNames=[];for(let r=0;r<t.length;r+=2){const a=e[t[r+1]];if(null==a)throw new tt(-301,!1);n.push(t[r],a)}}}(e,n,a)}return e.mergedAttrs=wc(e.mergedAttrs,e.attrs),r}function v4(i,t,e,n,r,a){for(let f=0;f<n.length;f++)I2(Ys(e,t),i,n[f].type);!function GH(i,t,e){i.flags|=1,i.directiveStart=t,i.directiveEnd=t+e,i.providerIndexes=t}(e,i.data.length,n.length);for(let f=0;f<n.length;f++){const x=n[f];x.providersResolver&&x.providersResolver(x)}let o=!1,c=!1,h=fg(i,t,n.length,null);for(let f=0;f<n.length;f++){const x=n[f];e.mergedAttrs=wc(e.mergedAttrs,x.hostAttrs),qH(i,e,t,h,x),WH(h,x,r),null!==x.contentQueries&&(e.flags|=4),(null!==x.hostBindings||null!==x.hostAttrs||0!==x.hostVars)&&(e.flags|=64);const P=x.type.prototype;!o&&(P.ngOnChanges||P.ngOnInit||P.ngDoCheck)&&((i.preOrderHooks||(i.preOrderHooks=[])).push(e.index),o=!0),!c&&(P.ngOnChanges||P.ngDoCheck)&&((i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e.index),c=!0),h++}!function RH(i,t,e){const r=t.directiveEnd,a=i.data,o=t.attrs,c=[];let h=null,f=null;for(let x=t.directiveStart;x<r;x++){const P=a[x],$=e?e.get(P):null,fe=$?$.outputs:null;h=_4(P.inputs,x,h,$?$.inputs:null),f=_4(P.outputs,x,f,fe);const ye=null===h||null===o||ZE(t)?null:QH(h,x,o);c.push(ye)}null!==h&&(h.hasOwnProperty("class")&&(t.flags|=8),h.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=c,t.inputs=h,t.outputs=f}(i,e,a)}function w4(i,t,e){const n=e.directiveStart,r=e.directiveEnd,a=e.index,o=function y2(){return Ki.lFrame.currentDirectiveIndex}();try{hd(a);for(let c=n;c<r;c++){const h=i.data[c],f=t[c];Jp(c),(null!==h.hostBindings||0!==h.hostVars||null!==h.hostAttrs)&&jH(h,f)}}finally{hd(-1),Jp(o)}}function jH(i,t){null!==i.hostBindings&&i.hostBindings(1,t)}function SF(i,t,e){t.componentOffset=e,(i.components||(i.components=[])).push(t.index)}function WH(i,t,e){if(e){if(t.exportAs)for(let n=0;n<t.exportAs.length;n++)e[t.exportAs[n]]=i;Ps(t)&&(e[""]=i)}}function qH(i,t,e,n,r){i.data[n]=r;const a=r.factory||(r.factory=yc(r.type)),o=new wh(a,Ps(r),k);i.blueprint[n]=o,e[n]=o,function HH(i,t,e,n,r){const a=r.hostBindings;if(a){let o=i.hostBindingOpCodes;null===o&&(o=i.hostBindingOpCodes=[]);const c=~t.index;(function VH(i){let t=i.length;for(;t>0;){const e=i[--t];if("number"==typeof e&&e<0)return e}return 0})(o)!=c&&o.push(c),o.push(e,n,a)}}(i,t,n,fg(i,e,r.hostVars,_n),r)}function Cc(i,t,e,n,r,a){const o=os(i,t);!function TF(i,t,e,n,r,a,o){if(null==a)i.removeAttribute(t,r,e);else{const c=null==o?ji(a):o(a,n||"",r);i.setAttribute(t,r,c,e)}}(t[Ye],o,a,i.value,e,n,r)}function KH(i,t,e,n,r,a){const o=a[t];if(null!==o){const c=n.setInput;for(let h=0;h<o.length;){const f=o[h++],x=o[h++],P=o[h++];null!==c?n.setInput(e,P,f,x):e[x]=P}}}function QH(i,t,e){let n=null,r=0;for(;r<e.length;){const a=e[r];if(0!==a)if(5!==a){if("number"==typeof a)break;if(i.hasOwnProperty(a)){null===n&&(n=[]);const o=i[a];for(let c=0;c<o.length;c+=2)if(o[c]===t){n.push(a,o[c+1],e[r+1]);break}}r+=2}else r+=2;else r+=4}return n}function F4(i,t,e,n){return[i,!0,!1,t,null,0,n,e,null,null]}function JH(i,t){const e=ss(t,i);if(gu(e)){const n=e[p];48&e[v]?J1(n,e,n.template,e[ke]):e[q]>0&&AF(e)}}function AF(i){for(let n=G2(i);null!==n;n=q2(n))for(let r=Ao;r<n.length;r++){const a=n[r];if(gu(a))if(512&a[v]){const o=a[p];J1(o,a,o.template,a[ke])}else a[q]>0&&AF(a)}const e=i[p].components;if(null!==e)for(let n=0;n<e.length;n++){const r=ss(e[n],i);gu(r)&&r[q]>0&&AF(r)}}function eV(i,t){const e=ss(t,i),n=e[p];(function tV(i,t){for(let e=t.length;e<i.blueprint.length;e++)t.push(i.blueprint[e])})(n,e),xF(n,e,e[ke])}function eb(i,t){return i[kt]?i[Wt][H]=t:i[kt]=t,i[Wt]=t,t}function IF(i){for(;i;){i[v]|=32;const t=dg(i);if(Qw(i)&&!t)return i;i=t}return null}function tb(i,t,e,n=!0){const r=t[je];r.begin&&r.begin();try{J1(i,t,i.template,e)}catch(o){throw n&&D4(t,o),o}finally{r.end&&r.end()}}function LF(i,t,e){Pm(0),t(i,e)}function x4(i){return i[_e]||(i[_e]=[])}function C4(i){return i.cleanup||(i.cleanup=[])}function k4(i,t,e){return(null===i||Ps(i))&&(e=function c2(i){for(;Array.isArray(i);){if("object"==typeof i[dl])return i;i=i[m]}return null}(e[t.index])),e[Ye]}function D4(i,t){const e=i[Ne],n=e?e.get(gd,null):null;n&&n.handleError(t)}function NF(i,t,e,n,r){for(let a=0;a<e.length;){const o=e[a++],c=e[a++],h=t[o],f=i.data[o];null!==f.setInput?f.setInput(h,r,n,c):h[c]=r}}function bd(i,t,e){const n=Rm(t,i);!function lE(i,t,e){i.setValue(t,e)}(i[Ye],n,e)}function ib(i,t,e){let n=e?i.styles:null,r=e?i.classes:null,a=0;if(null!==t)for(let o=0;o<t.length;o++){const c=t[o];"number"==typeof c?a=c:1==a?r=Ui(r,c):2==a&&(n=Ui(n,c+": "+t[++o]+";"))}e?i.styles=n:i.stylesWithoutHost=n,e?i.classes=r:i.classesWithoutHost=r}function nb(i,t,e,n,r=!1){for(;null!==e;){const a=t[e.index];if(null!==a&&n.push(uo(a)),Rs(a))for(let c=Ao;c<a.length;c++){const h=a[c],f=h[p].firstChild;null!==f&&nb(h[p],h,f,n)}const o=e.type;if(8&o)nb(i,t,e.child,n);else if(32&o){const c=W2(e,t);let h;for(;h=c();)n.push(h)}else if(16&o){const c=yE(t,e);if(Array.isArray(c))n.push(...c);else{const h=dg(t[Ii]);nb(h[p],h,c,n,!0)}}e=r?e.projectionNext:e.next}return n}class pg{get rootNodes(){const t=this._lView,e=t[p];return nb(e,t,e.firstChild,[])}constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[ke]}set context(t){this._lView[ke]=t}get destroyed(){return 128==(128&this._lView[v])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[M];if(Rs(t)){const e=t[mu],n=e?e.indexOf(this):-1;n>-1&&(Q2(t,n),O1(e,n))}this._attachedToViewContainer=!1}dE(this._lView[p],this._lView)}onDestroy(t){g4(this._lView[p],this._lView,null,t)}markForCheck(){IF(this._cdRefInjectingView||this._lView)}detach(){this._lView[v]&=-65}reattach(){this._lView[v]|=64}detectChanges(){tb(this._lView[p],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new tt(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function YB(i,t){ug(i,t,t[Ye],2,null,null)}(this._lView[p],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new tt(902,!1);this._appRef=t}}class iV extends pg{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;tb(t[p],t,t[ke],!1)}checkNoChanges(){}get context(){return null}}class M4 extends pd{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Y(t);return new gg(e,this.ngModule)}}function E4(i){const t=[];for(let e in i)i.hasOwnProperty(e)&&t.push({propName:i[e],templateName:e});return t}class rV{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,n){n=Wo(n);const r=this.injector.get(t,pF,n);return r!==pF||e===pF?r:this.parentInjector.get(t,e,n)}}class gg extends UE{get inputs(){return E4(this.componentDef.inputs)}get outputs(){return E4(this.componentDef.outputs)}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function dH(i){return i.map(cH).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}create(t,e,n,r){let a=(r=r||this.ngModule)instanceof xc?r:r?.injector;a&&null!==this.componentDef.getStandaloneInjector&&(a=this.componentDef.getStandaloneInjector(a)||a);const o=a?new rV(t,a):t,c=o.get(tf,null);if(null===c)throw new tt(407,!1);const h=o.get(G7,null),f=c.createRenderer(null,this.componentDef),x=this.componentDef.selectors[0][0]||"div",P=n?function NH(i,t,e){return i.selectRootElement(t,e===xe.ShadowDom)}(f,n,this.componentDef.encapsulation):K2(f,x,function nV(i){const t=i.toLowerCase();return"svg"===t?v1:"math"===t?"math":null}(x)),$=this.componentDef.onPush?288:272,te=MF(0,null,null,1,0,null,null,null,null,null),fe=X1(null,te,null,$,null,null,c,f,h,o,null);let ye,Ie;Bm(fe);try{const Le=this.componentDef;let it,Be=null;Le.findHostDirectiveDefs?(it=[],Be=new Map,Le.findHostDirectiveDefs(Le,it,Be),it.push(Le)):it=[Le];const ut=function oV(i,t){const e=i[p],n=dn;return i[n]=t,af(e,n,2,"#host",null)}(fe,P),Tt=function sV(i,t,e,n,r,a,o,c){const h=r[p];!function lV(i,t,e,n){for(const r of i)t.mergedAttrs=wc(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(ib(t,t.mergedAttrs,!0),null!==e&&FE(n,e,t))}(n,i,t,o);const f=a.createRenderer(t,e),x=X1(r,p4(e),null,e.onPush?32:16,r[i.index],i,a,f,c||null,null,null);return h.firstCreatePass&&SF(h,i,n.length-1),eb(r,x),r[i.index]=x}(ut,P,Le,it,fe,c,f);Ie=F1(te,dn),P&&function dV(i,t,e,n){if(n)ng(i,e,["ng-version",q7.full]);else{const{attrs:r,classes:a}=function uH(i){const t=[],e=[];let n=1,r=2;for(;n<i.length;){let a=i[n];if("string"==typeof a)2===r?""!==a&&t.push(a,i[++n]):8===r&&e.push(a);else{if(!Ul(r))break;r=a}n++}return{attrs:t,classes:e}}(t.selectors[0]);r&&ng(i,e,r),a&&a.length>0&&wE(i,e,a.join(" "))}}(f,Le,P,n),void 0!==e&&function uV(i,t,e){const n=i.projection=[];for(let r=0;r<t.length;r++){const a=e[r];n.push(null!=a?Array.from(a):null)}}(Ie,this.ngContentSelectors,e),ye=function cV(i,t,e,n,r,a){const o=ho(),c=r[p],h=os(o,r);v4(c,r,o,e,null,n);for(let x=0;x<e.length;x++)$o(xh(r,c,o.directiveStart+x,o),r);w4(c,r,o),h&&$o(h,r);const f=xh(r,c,o.directiveStart+o.componentOffset,o);if(i[ke]=r[ke]=f,null!==a)for(const x of a)x(f,t);return CF(c,o,i),f}(Tt,Le,it,Be,fe,[hV]),xF(te,fe,null)}finally{tg()}return new aV(this.componentType,ye,ef(Ie,fe),fe,Ie)}}class aV extends V7{constructor(t,e,n,r,a){super(),this.location=n,this._rootLView=r,this._tNode=a,this.instance=e,this.hostView=this.changeDetectorRef=new iV(r),this.componentType=t}setInput(t,e){const n=this._tNode.inputs;let r;if(null!==n&&(r=n[t])){const a=this._rootLView;NF(a[p],a,r,t,e),y4(a,this._tNode.index)}}get injector(){return new zm(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function hV(){const i=ho();Vm(xt()[p],i)}function ot(i){let t=function S4(i){return Object.getPrototypeOf(i.prototype).constructor}(i.type),e=!0;const n=[i];for(;t;){let r;if(Ps(i))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new tt(903,!1);r=t.\u0275dir}if(r){if(e){n.push(r);const o=i;o.inputs=OF(i.inputs),o.declaredInputs=OF(i.declaredInputs),o.outputs=OF(i.outputs);const c=r.hostBindings;c&&gV(i,c);const h=r.viewQuery,f=r.contentQueries;if(h&&fV(i,h),f&&pV(i,f),uc(i.inputs,r.inputs),uc(i.declaredInputs,r.declaredInputs),uc(i.outputs,r.outputs),Ps(r)&&r.data.animation){const x=i.data;x.animation=(x.animation||[]).concat(r.data.animation)}}const a=r.features;if(a)for(let o=0;o<a.length;o++){const c=a[o];c&&c.ngInherit&&c(i),c===ot&&(e=!1)}}t=Object.getPrototypeOf(t)}!function mV(i){let t=0,e=null;for(let n=i.length-1;n>=0;n--){const r=i[n];r.hostVars=t+=r.hostVars,r.hostAttrs=wc(r.hostAttrs,e=wc(e,r.hostAttrs))}}(n)}function OF(i){return i===Ee?{}:i===Me?[]:i}function fV(i,t){const e=i.viewQuery;i.viewQuery=e?(n,r)=>{t(n,r),e(n,r)}:t}function pV(i,t){const e=i.contentQueries;i.contentQueries=e?(n,r,a)=>{t(n,r,a),e(n,r,a)}:t}function gV(i,t){const e=i.hostBindings;i.hostBindings=e?(n,r)=>{t(n,r),e(n,r)}:t}let rb=null;function Sh(){if(!rb){const i=Pi.Symbol;if(i&&i.iterator)rb=i.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(rb=n)}}}return rb}function ab(i){return!!RF(i)&&(Array.isArray(i)||!(i instanceof Map)&&Sh()in i)}function RF(i){return null!==i&&("function"==typeof i||"object"==typeof i)}function kc(i,t,e){return i[t]=e}function Ko(i,t,e){return!Object.is(i[t],e)&&(i[t]=e,!0)}function Th(i,t,e,n){const r=Ko(i,t,e);return Ko(i,t+1,n)||r}function It(i,t,e,n){const r=xt();return Ko(r,ud(),t)&&(Un(),Cc(ea(),r,i,t,e,n)),It}function lf(i,t,e,n){return Ko(i,ud(),e)?t+ji(e)+n:_n}function cf(i,t,e,n,r,a){const c=Th(i,function Cn(){return Ki.lFrame.bindingIndex}(),e,r);return Bs(2),c?t+ji(e)+n+ji(r)+a:_n}function ee(i,t,e,n,r,a,o,c){const h=xt(),f=Un(),x=i+dn,P=f.firstCreatePass?function DV(i,t,e,n,r,a,o,c,h){const f=t.consts,x=af(t,i,4,o||null,vc(f,c));EF(t,e,x,vc(f,h)),Vm(t,x);const P=x.tViews=MF(2,x,n,r,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,f);return null!==t.queries&&(t.queries.template(t,x),P.queries=t.queries.embeddedTView(x)),x}(x,f,h,t,e,n,r,a,o):f.data[x];hl(P,!1);const $=h[Ye].createComment("");Y1(f,h,$,P),$o($,h),eb(h,h[x]=F4($,h,$,P)),Nm(P)&&kF(f,h,P),null!=o&&DF(h,P,c)}function Li(i){return pu(function Bt(){return Ki.lFrame.contextLView}(),dn+i)}function S(i,t,e){const n=xt();return Ko(n,ud(),t)&&Us(Un(),ea(),n,i,t,n[Ye],e,!1),S}function PF(i,t,e,n,r){const o=r?"class":"style";NF(i,e,t.inputs[o],o,n)}function _(i,t,e,n){const r=xt(),a=Un(),o=dn+i,c=r[Ye],h=r[o]=K2(c,t,function C2(){return Ki.lFrame.currentNamespace}()),f=a.firstCreatePass?function EV(i,t,e,n,r,a,o){const c=t.consts,f=af(t,i,2,r,vc(c,a));return EF(t,e,f,vc(c,o)),null!==f.attrs&&ib(f,f.attrs,!1),null!==f.mergedAttrs&&ib(f,f.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,f),f}(o,a,r,0,t,e,n):a.data[o];return hl(f,!0),FE(c,h,f),32!=(32&f.flags)&&Y1(a,r,h,f),0===function m2(){return Ki.lFrame.elementDepthCount}()&&$o(h,r),function f2(){Ki.lFrame.elementDepthCount++}(),Nm(f)&&(kF(a,r,f),CF(a,f,r)),null!==n&&DF(r,f),_}function F(){let i=ho();Zp()?Xp():(i=i.parent,hl(i,!1));const t=i;!function p2(){Ki.lFrame.elementDepthCount--}();const e=Un();return e.firstCreatePass&&(Vm(e,i),$p(i)&&e.queries.elementEnd(i)),null!=t.classesWithoutHost&&function E2(i){return 0!=(8&i.flags)}(t)&&PF(e,t,xt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function S2(i){return 0!=(16&i.flags)}(t)&&PF(e,t,xt(),t.stylesWithoutHost,!1),F}function Ce(i,t,e,n){return _(i,t,e,n),F(),Ce}function kn(i,t,e){const n=xt(),r=Un(),a=i+dn,o=r.firstCreatePass?function SV(i,t,e,n,r){const a=t.consts,o=vc(a,n),c=af(t,i,8,"ng-container",o);return null!==o&&ib(c,o,!0),EF(t,e,c,vc(a,r)),null!==t.queries&&t.queries.elementStart(t,c),c}(a,r,n,t,e):r.data[a];hl(o,!0);const c=n[a]=n[Ye].createComment("");return Y1(r,n,c,o),$o(c,n),Nm(o)&&(kF(r,n,o),CF(r,o,n)),null!=e&&DF(n,o),kn}function Dn(){let i=ho();const t=Un();return Zp()?Xp():(i=i.parent,hl(i,!1)),t.firstCreatePass&&(Vm(t,i),$p(i)&&t.queries.elementEnd(i)),Dn}function Qo(i,t,e){return kn(i,t,e),Dn(),Qo}function Je(){return xt()}function bg(i){return!!i&&"function"==typeof i.then}function j4(i){return!!i&&"function"==typeof i.subscribe}const BF=j4;function pe(i,t,e,n){const r=xt(),a=Un(),o=ho();return z4(a,r,r[Ye],o,i,t,n),pe}function gf(i,t){const e=ho(),n=xt(),r=Un();return z4(r,n,k4(Hs(r.data),e,n),e,i,t),gf}function z4(i,t,e,n,r,a,o){const c=Nm(n),f=i.firstCreatePass&&C4(i),x=t[ke],P=x4(t);let $=!0;if(3&n.type||o){const ye=os(n,t),Ie=o?o(ye):ye,Le=P.length,it=o?ut=>o(uo(ut[n.index])):n.index;let Be=null;if(!o&&c&&(Be=function TV(i,t,e,n){const r=i.cleanup;if(null!=r)for(let a=0;a<r.length-1;a+=2){const o=r[a];if(o===e&&r[a+1]===n){const c=t[_e],h=r[a+2];return c.length>h?c[h]:null}"string"==typeof o&&(a+=2)}return null}(i,t,r,n.index)),null!==Be)(Be.__ngLastListenerFn__||Be).__ngNextListenerFn__=a,Be.__ngLastListenerFn__=a,$=!1;else{a=W4(n,t,x,a,!1);const ut=e.listen(Ie,r,a);P.push(a,ut),f&&f.push(r,it,Le,Le+1)}}else a=W4(n,t,x,a,!1);const te=n.outputs;let fe;if($&&null!==te&&(fe=te[r])){const ye=fe.length;if(ye)for(let Ie=0;Ie<ye;Ie+=2){const Tt=t[fe[Ie]][fe[Ie+1]].subscribe(a),qt=P.length;P.push(a,Tt),f&&f.push(r,n.index,qt,-(qt+1))}}}function U4(i,t,e,n){try{return xs(6,t,e),!1!==e(n)}catch(r){return D4(i,r),!1}finally{xs(7,t,e)}}function W4(i,t,e,n,r){return function a(o){if(o===Function)return n;IF(i.componentOffset>-1?ss(i.index,t):t);let h=U4(t,e,n,o),f=a.__ngNextListenerFn__;for(;f;)h=U4(t,e,f,o)&&h,f=f.__ngNextListenerFn__;return r&&!1===h&&(o.preventDefault(),o.returnValue=!1),h}}function Q(i=1){return function Yl(i){return(Ki.lFrame.contextLView=function w2(i,t){for(;i>0;)t=t[ct],i--;return t}(i,Ki.lFrame.contextLView))[ke]}(i)}function AV(i,t){let e=null;const n=function aH(i){const t=i.attrs;if(null!=t){const e=t.indexOf(5);if(!(1&e))return t[e+1]}return null}(i);for(let r=0;r<t.length;r++){const a=t[r];if("*"!==a){if(null===n?XE(i,a,!0):lH(n,a))return r}else e=r}return e}function Bi(i){const t=xt()[Ii][ue];if(!t.projection){const n=t.projection=og(i?i.length:1,null),r=n.slice();let a=t.child;for(;null!==a;){const o=i?AV(a,i):0;null!==o&&(r[o]?r[o].projectionNext=a:n[o]=a,r[o]=a),a=a.next}}}function Ft(i,t=0,e){const n=xt(),r=Un(),a=af(r,dn+i,16,null,e||null);null===a.projection&&(a.projection=t),Xp(),32!=(32&a.flags)&&function KB(i,t,e){vE(t[Ye],0,t,e,uE(i,e,t),pE(e.parent||t[ue],e,t))}(r,n,a)}function sb(i,t){return i<<17|t<<2}function yu(i){return i>>17&32767}function VF(i){return 2|i}function Ah(i){return(131068&i)>>2}function YF(i,t){return-131069&i|t<<2}function jF(i){return 1|i}function tS(i,t,e,n,r){const a=i[e+1],o=null===t;let c=n?yu(a):Ah(a),h=!1;for(;0!==c&&(!1===h||o);){const x=i[c+1];PV(i[c],t)&&(h=!0,i[c+1]=n?jF(x):VF(x)),c=n?yu(x):Ah(x)}h&&(i[e+1]=n?VF(a):jF(a))}function PV(i,t){return null===i||null==t||(Array.isArray(i)?i[1]:i)===t||!(!Array.isArray(i)||"string"!=typeof t)&&$m(i,t)>=0}const go={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function iS(i){return i.substring(go.key,go.keyEnd)}function BV(i){return i.substring(go.value,go.valueEnd)}function nS(i,t){const e=go.textEnd;return e===t?-1:(t=go.keyEnd=function YV(i,t,e){for(;t<e&&i.charCodeAt(t)>32;)t++;return t}(i,go.key=t,e),_f(i,t,e))}function rS(i,t){const e=go.textEnd;let n=go.key=_f(i,t,e);return e===n?-1:(n=go.keyEnd=function jV(i,t,e){let n;for(;t<e&&(45===(n=i.charCodeAt(t))||95===n||(-33&n)>=65&&(-33&n)<=90||n>=48&&n<=57);)t++;return t}(i,n,e),n=oS(i,n,e),n=go.value=_f(i,n,e),n=go.valueEnd=function zV(i,t,e){let n=-1,r=-1,a=-1,o=t,c=o;for(;o<e;){const h=i.charCodeAt(o++);if(59===h)return c;34===h||39===h?c=o=sS(i,h,o,e):t===o-4&&85===a&&82===r&&76===n&&40===h?c=o=sS(i,41,o,e):h>32&&(c=o),a=r,r=n,n=-33&h}return c}(i,n,e),oS(i,n,e))}function aS(i){go.key=0,go.keyEnd=0,go.value=0,go.valueEnd=0,go.textEnd=i.length}function _f(i,t,e){for(;t<e&&i.charCodeAt(t)<=32;)t++;return t}function oS(i,t,e,n){return(t=_f(i,t,e))<e&&t++,t}function sS(i,t,e,n){let r=-1,a=e;for(;a<n;){const o=i.charCodeAt(a++);if(o==t&&92!==r)return a;r=92==o&&92===r?0:o}throw new Error}function sr(i,t,e){return ql(i,t,e,!1),sr}function Mt(i,t){return ql(i,t,null,!0),Mt}function UV(i,t){for(let e=function VV(i){return aS(i),rS(i,_f(i,0,go.textEnd))}(t);e>=0;e=rS(t,e))dS(i,iS(t),BV(t))}function lb(i){$l(js,Dc,i,!0)}function Dc(i,t){for(let e=function HV(i){return aS(i),nS(i,_f(i,0,go.textEnd))}(t);e>=0;e=nS(t,e))js(i,iS(t),!0)}function ql(i,t,e,n){const r=xt(),a=Un(),o=Bs(2);a.firstUpdatePass&&cS(a,i,o,n),t!==_n&&Ko(r,o,t)&&uS(a,a.data[Io()],r,r[Ye],i,r[o+1]=function ZV(i,t){return null==i||("string"==typeof t?i+=t:"object"==typeof i&&(i=Yi(zs(i)))),i}(t,e),n,o)}function $l(i,t,e,n){const r=Un(),a=Bs(2);r.firstUpdatePass&&cS(r,null,a,n);const o=xt();if(e!==_n&&Ko(o,a,e)){const c=r.data[Io()];if(mS(c,n)&&!lS(r,a)){let h=n?c.classesWithoutHost:c.stylesWithoutHost;null!==h&&(e=Ui(h,e||"")),PF(r,c,o,e,n)}else!function QV(i,t,e,n,r,a,o,c){r===_n&&(r=Me);let h=0,f=0,x=0<r.length?r[0]:null,P=0<a.length?a[0]:null;for(;null!==x||null!==P;){const $=h<r.length?r[h+1]:void 0,te=f<a.length?a[f+1]:void 0;let ye,fe=null;x===P?(h+=2,f+=2,$!==te&&(fe=P,ye=te)):null===P||null!==x&&x<P?(h+=2,fe=x):(f+=2,fe=P,ye=te),null!==fe&&uS(i,t,e,n,fe,ye,o,c),x=h<r.length?r[h]:null,P=f<a.length?a[f]:null}}(r,c,o,o[Ye],o[a+1],o[a+1]=function KV(i,t,e){if(null==e||""===e)return Me;const n=[],r=zs(e);if(Array.isArray(r))for(let a=0;a<r.length;a++)i(n,r[a],!0);else if("object"==typeof r)for(const a in r)r.hasOwnProperty(a)&&i(n,a,r[a]);else"string"==typeof r&&t(n,r);return n}(i,t,e),n,a)}}function lS(i,t){return t>=i.expandoStartIndex}function cS(i,t,e,n){const r=i.data;if(null===r[e+1]){const a=r[Io()],o=lS(i,e);mS(a,n)&&null===t&&!o&&(t=!1),t=function WV(i,t,e,n){const r=Hs(i);let a=n?t.residualClasses:t.residualStyles;if(null===r)0===(n?t.classBindings:t.styleBindings)&&(e=yg(e=zF(null,i,t,e,n),t.attrs,n),a=null);else{const o=t.directiveStylingLast;if(-1===o||i[o]!==r)if(e=zF(r,i,t,e,n),null===a){let h=function GV(i,t,e){const n=e?t.classBindings:t.styleBindings;if(0!==Ah(n))return i[yu(n)]}(i,t,n);void 0!==h&&Array.isArray(h)&&(h=zF(null,i,t,h[1],n),h=yg(h,t.attrs,n),function qV(i,t,e,n){i[yu(e?t.classBindings:t.styleBindings)]=n}(i,t,n,h))}else a=function $V(i,t,e){let n;const r=t.directiveEnd;for(let a=1+t.directiveStylingLast;a<r;a++)n=yg(n,i[a].hostAttrs,e);return yg(n,t.attrs,e)}(i,t,n)}return void 0!==a&&(n?t.residualClasses=a:t.residualStyles=a),e}(r,a,t,n),function OV(i,t,e,n,r,a){let o=a?t.classBindings:t.styleBindings,c=yu(o),h=Ah(o);i[n]=e;let x,f=!1;if(Array.isArray(e)?(x=e[1],(null===x||$m(e,x)>0)&&(f=!0)):x=e,r)if(0!==h){const $=yu(i[c+1]);i[n+1]=sb($,c),0!==$&&(i[$+1]=YF(i[$+1],n)),i[c+1]=function LV(i,t){return 131071&i|t<<17}(i[c+1],n)}else i[n+1]=sb(c,0),0!==c&&(i[c+1]=YF(i[c+1],n)),c=n;else i[n+1]=sb(h,0),0===c?c=n:i[h+1]=YF(i[h+1],n),h=n;f&&(i[n+1]=VF(i[n+1])),tS(i,x,n,!0),tS(i,x,n,!1),function RV(i,t,e,n,r){const a=r?i.residualClasses:i.residualStyles;null!=a&&"string"==typeof t&&$m(a,t)>=0&&(e[n+1]=jF(e[n+1]))}(t,x,i,n,a),o=sb(c,h),a?t.classBindings=o:t.styleBindings=o}(r,a,t,e,o,n)}}function zF(i,t,e,n,r){let a=null;const o=e.directiveEnd;let c=e.directiveStylingLast;for(-1===c?c=e.directiveStart:c++;c<o&&(a=t[c],n=yg(n,a.hostAttrs,r),a!==i);)c++;return null!==i&&(e.directiveStylingLast=c),n}function yg(i,t,e){const n=e?1:2;let r=-1;if(null!==t)for(let a=0;a<t.length;a++){const o=t[a];"number"==typeof o?r=o:r===n&&(Array.isArray(i)||(i=void 0===i?[]:["",i]),js(i,o,!!e||t[++a]))}return void 0===i?null:i}function dS(i,t,e){js(i,t,zs(e))}function uS(i,t,e,n,r,a,o,c){if(!(3&t.type))return;const h=i.data,f=h[c+1],x=function NV(i){return 1==(1&i)}(f)?hS(h,t,e,r,Ah(f),o):void 0;cb(x)||(cb(a)||function IV(i){return 2==(2&i)}(f)&&(a=hS(h,null,e,r,c,o)),function ZB(i,t,e,n,r){if(t)r?i.addClass(e,n):i.removeClass(e,n);else{let a=-1===n.indexOf("-")?void 0:ks.DashCase;null==r?i.removeStyle(e,n,a):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),a|=ks.Important),i.setStyle(e,n,r,a))}}(n,o,Rm(Io(),e),r,a))}function hS(i,t,e,n,r,a){const o=null===t;let c;for(;r>0;){const h=i[r],f=Array.isArray(h),x=f?h[1]:h,P=null===x;let $=e[r+1];$===_n&&($=P?Me:void 0);let te=P?R2($,n):x===n?$:void 0;if(f&&!cb(te)&&(te=R2(h,n)),cb(te)&&(c=te,o))return c;const fe=i[r+1];r=o?yu(fe):Ah(fe)}if(null!==t){let h=a?t.residualClasses:t.residualStyles;null!=h&&(c=R2(h,n))}return c}function cb(i){return void 0!==i}function mS(i,t){return 0!=(i.flags&(t?8:16))}function N(i,t=""){const e=xt(),n=Un(),r=i+dn,a=n.firstCreatePass?af(n,r,1,t,null):n.data[r],o=e[r]=function $2(i,t){return i.createText(t)}(e[Ye],t);Y1(n,e,o,a),hl(a,!1)}function yt(i){return Gt("",i,""),yt}function Gt(i,t,e){const n=xt(),r=lf(n,i,t,e);return r!==_n&&bd(n,Io(),r),Gt}function yd(i,t,e,n,r){const a=xt(),o=cf(a,i,t,e,n,r);return o!==_n&&bd(a,Io(),o),yd}function db(i,t,e){$l(js,Dc,lf(xt(),i,t,e),!0)}function Ua(i,t,e){const n=xt();return Ko(n,ud(),t)&&Us(Un(),ea(),n,i,t,n[Ye],e,!0),Ua}function bf(i,t,e){const n=xt();if(Ko(n,ud(),t)){const a=Un(),o=ea();Us(a,o,n,i,t,k4(Hs(a.data),o,n),e,!0)}return bf}const Ih=void 0;var gY=["en",[["a","p"],["AM","PM"],Ih],[["AM","PM"],Ih,Ih],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ih,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ih,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ih,"{1} 'at' {0}",Ih],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function pY(i){const e=Math.floor(Math.abs(i)),n=i.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let yf={};function ls(i){const t=function _Y(i){return i.toLowerCase().replace(/_/g,"-")}(i);let e=AS(t);if(e)return e;const n=t.split("-")[0];if(e=AS(n),e)return e;if("en"===n)return gY;throw new tt(701,!1)}function AS(i){return i in yf||(yf[i]=Pi.ng&&Pi.ng.common&&Pi.ng.common.locales&&Pi.ng.common.locales[i]),yf[i]}var ti=(()=>((ti=ti||{})[ti.LocaleId=0]="LocaleId",ti[ti.DayPeriodsFormat=1]="DayPeriodsFormat",ti[ti.DayPeriodsStandalone=2]="DayPeriodsStandalone",ti[ti.DaysFormat=3]="DaysFormat",ti[ti.DaysStandalone=4]="DaysStandalone",ti[ti.MonthsFormat=5]="MonthsFormat",ti[ti.MonthsStandalone=6]="MonthsStandalone",ti[ti.Eras=7]="Eras",ti[ti.FirstDayOfWeek=8]="FirstDayOfWeek",ti[ti.WeekendRange=9]="WeekendRange",ti[ti.DateFormat=10]="DateFormat",ti[ti.TimeFormat=11]="TimeFormat",ti[ti.DateTimeFormat=12]="DateTimeFormat",ti[ti.NumberSymbols=13]="NumberSymbols",ti[ti.NumberFormats=14]="NumberFormats",ti[ti.CurrencyCode=15]="CurrencyCode",ti[ti.CurrencySymbol=16]="CurrencySymbol",ti[ti.CurrencyName=17]="CurrencyName",ti[ti.Currencies=18]="Currencies",ti[ti.Directionality=19]="Directionality",ti[ti.PluralCase=20]="PluralCase",ti[ti.ExtraData=21]="ExtraData",ti))();const vf="en-US";let IS=vf;function GF(i,t,e,n,r){if(i=Pt(i),Array.isArray(i))for(let a=0;a<i.length;a++)GF(i[a],t,e,n,r);else{const a=Un(),o=xt();let c=Mh(i)?i:Pt(i.provide),h=zE(i);const f=ho(),x=1048575&f.providerIndexes,P=f.directiveStart,$=f.providerIndexes>>20;if(Mh(i)||!i.multi){const te=new wh(h,r,k),fe=$F(c,t,r?x:x+$,P);-1===fe?(I2(Ys(f,o),a,c),qF(a,i,t.length),t.push(c),f.directiveStart++,f.directiveEnd++,r&&(f.providerIndexes+=1048576),e.push(te),o.push(te)):(e[fe]=te,o[fe]=te)}else{const te=$F(c,t,x+$,P),fe=$F(c,t,x,x+$),Ie=fe>=0&&e[fe];if(r&&!Ie||!r&&!(te>=0&&e[te])){I2(Ys(f,o),a,c);const Le=function fj(i,t,e,n,r){const a=new wh(i,e,k);return a.multi=[],a.index=t,a.componentProviders=0,nT(a,r,n&&!e),a}(r?mj:hj,e.length,r,n,h);!r&&Ie&&(e[fe].providerFactory=Le),qF(a,i,t.length,0),t.push(c),f.directiveStart++,f.directiveEnd++,r&&(f.providerIndexes+=1048576),e.push(Le),o.push(Le)}else qF(a,i,te>-1?te:fe,nT(e[r?fe:te],h,!r&&n));!r&&n&&Ie&&e[fe].componentProviders++}}}function qF(i,t,e,n){const r=Mh(t),a=function L7(i){return!!i.useClass}(t);if(r||a){const h=(a?Pt(t.useClass):t).prototype.ngOnDestroy;if(h){const f=i.destroyHooks||(i.destroyHooks=[]);if(!r&&t.multi){const x=f.indexOf(e);-1===x?f.push(e,[n,h]):f[x+1].push(n,h)}else f.push(e,h)}}}function nT(i,t,e){return e&&i.componentProviders++,i.multi.push(t)-1}function $F(i,t,e,n){for(let r=e;r<n;r++)if(t[r]===i)return r;return-1}function hj(i,t,e,n){return KF(this.multi,[])}function mj(i,t,e,n){const r=this.multi;let a;if(this.providerFactory){const o=this.providerFactory.componentProviders,c=xh(e,e[p],this.providerFactory.index,n);a=c.slice(0,o),KF(r,a);for(let h=o;h<c.length;h++)a.push(c[h])}else a=[],KF(r,a);return a}function KF(i,t){for(let e=0;e<i.length;e++)t.push((0,i[e])());return t}function Nt(i,t=[]){return e=>{e.providersResolver=(n,r)=>function uj(i,t,e){const n=Un();if(n.firstCreatePass){const r=Ps(i);GF(e,n.data,n.blueprint,r,!0),GF(t,n.data,n.blueprint,r,!1)}}(n,r?r(i):i,t)}}class wf{}class rT{}class aT extends wf{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new M4(this);const n=u(t);this._bootstrapComponents=_d(n.bootstrap),this._r3Injector=o4(t,e,[{provide:wf,useValue:this},{provide:pd,useValue:this.componentFactoryResolver}],Yi(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class QF extends rT{constructor(t){super(),this.moduleType=t}create(t){return new aT(this.moduleType,t)}}class gj extends wf{constructor(t,e,n){super(),this.componentFactoryResolver=new M4(this),this.instance=null;const r=new jE([...t,{provide:wf,useValue:this},{provide:pd,useValue:this.componentFactoryResolver}],e||K1(),n,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function pb(i,t,e=null){return new gj(i,t,e).injector}let _j=(()=>{class i{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const n=BE(0,e.type),r=n.length>0?pb([n],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,r)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return i.\u0275prov=Qe({token:i,providedIn:"environment",factory:()=>new i(Fe(xc))}),i})();function ZF(i){i.getStandaloneInjector=t=>t.get(_j).getOrCreateStandaloneInjector(i)}function Yr(i,t,e){const n=Co()+i,r=xt();return r[n]===_n?kc(r,n,e?t.call(e):t()):function _g(i,t){return i[t]}(r,n)}function yn(i,t,e,n){return hT(xt(),Co(),i,t,e,n)}function Ws(i,t,e,n,r){return mT(xt(),Co(),i,t,e,n,r)}function JF(i,t,e,n,r,a,o){return function pT(i,t,e,n,r,a,o,c,h){const f=t+e;return function _l(i,t,e,n,r,a){const o=Th(i,t,e,n);return Th(i,t+2,r,a)||o}(i,f,r,a,o,c)?kc(i,f+4,h?n.call(h,r,a,o,c):n(r,a,o,c)):kg(i,f+4)}(xt(),Co(),i,t,e,n,r,a,o)}function kg(i,t){const e=i[t];return e===_n?void 0:e}function hT(i,t,e,n,r,a){const o=t+e;return Ko(i,o,r)?kc(i,o+1,a?n.call(a,r):n(r)):kg(i,o+1)}function mT(i,t,e,n,r,a,o){const c=t+e;return Th(i,c,r,a)?kc(i,c+2,o?n.call(o,r,a):n(r,a)):kg(i,c+2)}function fT(i,t,e,n,r,a,o,c){const h=t+e;return function ob(i,t,e,n,r){const a=Th(i,t,e,n);return Ko(i,t+2,r)||a}(i,h,r,a,o)?kc(i,h+3,c?n.call(c,r,a,o):n(r,a,o)):kg(i,h+3)}function mi(i,t){const e=Un();let n;const r=i+dn;e.firstCreatePass?(n=function Ij(i,t){if(t)for(let e=t.length-1;e>=0;e--){const n=t[e];if(i===n.name)return n}}(t,e.pipeRegistry),e.data[r]=n,n.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(r,n.onDestroy)):n=e.data[r];const a=n.factory||(n.factory=yc(n.type)),o=ja(k);try{const c=Ve(!1),h=a();return Ve(c),function MV(i,t,e,n){e>=i.data.length&&(i.data[e]=null,i.blueprint[e]=null),t[e]=n}(e,xt(),r,h),h}finally{ja(o)}}function gi(i,t,e){const n=i+dn,r=xt(),a=pu(r,n);return Dg(r,n)?hT(r,Co(),t,a.transform,e,a):a.transform(e)}function ex(i,t,e,n){const r=i+dn,a=xt(),o=pu(a,r);return Dg(a,r)?mT(a,Co(),t,o.transform,e,n,o):o.transform(e,n)}function Dg(i,t){return i[p].data[t].pure}function tx(i){return t=>{setTimeout(i,void 0,t)}}const lt=class Oj extends He{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let r=t,a=e||(()=>null),o=n;if(t&&"object"==typeof t){const h=t;r=h.next?.bind(h),a=h.error?.bind(h),o=h.complete?.bind(h)}this.__isAsync&&(a=tx(a),r&&(r=tx(r)),o&&(o=tx(o)));const c=super.subscribe({next:r,error:a,complete:o});return t instanceof C&&t.add(c),c}};function Rj(){return this._results[Sh()]()}class Mc{get changes(){return this._changes||(this._changes=new lt)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Sh(),n=Mc.prototype;n[e]||(n[e]=Rj)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const n=this;n.dirty=!1;const r=function pl(i){return i.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function tB(i,t,e){if(i.length!==t.length)return!1;for(let n=0;n<i.length;n++){let r=i[n],a=t[n];if(e&&(r=e(r),a=e(a)),a!==r)return!1}return!0}(n._results,r,e))&&(n._results=r,n.length=r.length,n.last=r[this.length-1],n.first=r[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let vr=(()=>{class i{}return i.__NG_ELEMENT_ID__=Hj,i})();const Pj=vr,Bj=class extends Pj{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t,e){const n=this._declarationTContainer.tViews,r=X1(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null,e||null);r[Fi]=this._declarationLView[this._declarationTContainer.index];const o=this._declarationLView[Jr];return null!==o&&(r[Jr]=o.createEmbeddedView(n)),xF(n,r,t),new pg(r)}};function Hj(){return gb(ho(),xt())}function gb(i,t){return 4&i.type?new Bj(t,i,ef(i,t)):null}let kr=(()=>{class i{}return i.__NG_ELEMENT_ID__=Vj,i})();function Vj(){return vT(ho(),xt())}const Yj=kr,bT=class extends Yj{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return ef(this._hostTNode,this._hostLView)}get injector(){return new zm(this._hostTNode,this._hostLView)}get parentInjector(){const t=A2(this._hostTNode,this._hostLView);if(w(t)){const e=se(t,this._hostLView),n=O(t);return new zm(e[p].data[n+8],e)}return new zm(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=yT(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-Ao}createEmbeddedView(t,e,n){let r,a;"number"==typeof n?r=n:null!=n&&(r=n.index,a=n.injector);const o=t.createEmbeddedView(e||{},a);return this.insert(o,r),o}createComponent(t,e,n,r,a){const o=t&&!function ag(i){return"function"==typeof i}(t);let c;if(o)c=e;else{const P=e||{};c=P.index,n=P.injector,r=P.projectableNodes,a=P.environmentInjector||P.ngModuleRef}const h=o?t:new gg(Y(t)),f=n||this.parentInjector;if(!a&&null==h.ngModule){const $=(o?f:this.parentInjector).get(xc,null);$&&(a=$)}const x=h.create(f,r,void 0,a);return this.insert(x.hostView,c),x}insert(t,e){const n=t._lView,r=n[p];if(function h2(i){return Rs(i[M])}(n)){const x=this.indexOf(t);if(-1!==x)this.detach(x);else{const P=n[M],$=new bT(P,P[ue],P[M]);$.detach($.indexOf(t))}}const a=this._adjustIndex(e),o=this._lContainer;!function zB(i,t,e,n){const r=Ao+n,a=e.length;n>0&&(e[r-1][H]=t),n<a-Ao?(t[H]=e[r],V3(e,Ao+n,t)):(e.push(t),t[H]=null),t[M]=e;const o=t[Fi];null!==o&&e!==o&&function UB(i,t){const e=i[fu];t[Ii]!==t[M][M][Ii]&&(i[ul]=!0),null===e?i[fu]=[t]:e.push(t)}(o,t);const c=t[Jr];null!==c&&c.insertView(i),t[v]|=64}(r,n,o,a);const c=J2(a,o),h=n[Ye],f=V1(h,o[hu]);return null!==f&&function VB(i,t,e,n,r,a){n[m]=r,n[ue]=t,ug(i,n,e,1,r,a)}(r,o[ue],h,n,f,c),t.attachToViewContainerRef(),V3(ix(o),a,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=yT(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),n=Q2(this._lContainer,e);n&&(O1(ix(this._lContainer),e),dE(n[p],n))}detach(t){const e=this._adjustIndex(t,-1),n=Q2(this._lContainer,e);return n&&null!=O1(ix(this._lContainer),e)?new pg(n):null}_adjustIndex(t,e=0){return t??this.length+e}};function yT(i){return i[mu]}function ix(i){return i[mu]||(i[mu]=[])}function vT(i,t){let e;const n=t[i.index];if(Rs(n))e=n;else{let r;if(8&i.type)r=uo(n);else{const a=t[Ye];r=a.createComment("");const o=os(i,t);kh(a,V1(a,o),r,function $B(i,t){return i.nextSibling(t)}(a,o),!1)}t[i.index]=e=F4(n,t,r,i),eb(t,e)}return new bT(e,i,t)}class nx{constructor(t){this.queryList=t,this.matches=null}clone(){return new nx(this.queryList)}setDirty(){this.queryList.setDirty()}}class rx{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,r=[];for(let a=0;a<n;a++){const o=e.getByIndex(a);r.push(this.queries[o.indexInDeclarationView].clone())}return new rx(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==kT(t,e).matches&&this.queries[e].setDirty()}}class wT{constructor(t,e,n=null){this.predicate=t,this.flags=e,this.read=n}}class ax{constructor(t=[]){this.queries=t}elementStart(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const r=null!==e?e.length:0,a=this.getByIndex(n).embeddedTView(t,r);a&&(a.indexInDeclarationView=n,null!==e?e.push(a):e=[a])}return null!==e?new ax(e):null}template(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class ox{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new ox(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const e=this._declarationNodeIndex;let n=t.parent;for(;null!==n&&8&n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(t,e){const n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){const a=n[r];this.matchTNodeWithReadOption(t,e,jj(e,a)),this.matchTNodeWithReadOption(t,e,N1(e,t,a,!1,!1))}else n===vr?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,N1(e,t,n,!1,!1))}matchTNodeWithReadOption(t,e,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===gt||r===kr||r===vr&&4&e.type)this.addMatch(e.index,-2);else{const a=N1(e,t,r,!1,!1);null!==a&&this.addMatch(e.index,a)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function jj(i,t){const e=i.localNames;if(null!==e)for(let n=0;n<e.length;n+=2)if(e[n]===t)return e[n+1];return null}function Uj(i,t,e,n){return-1===e?function zj(i,t){return 11&i.type?ef(i,t):4&i.type?gb(i,t):null}(t,i):-2===e?function Wj(i,t,e){return e===gt?ef(t,i):e===vr?gb(t,i):e===kr?vT(t,i):void 0}(i,t,n):xh(i,i[p],e,t)}function FT(i,t,e,n){const r=t[Jr].queries[n];if(null===r.matches){const a=i.data,o=e.matches,c=[];for(let h=0;h<o.length;h+=2){const f=o[h];c.push(f<0?null:Uj(t,a[f],o[h+1],e.metadata.read))}r.matches=c}return r.matches}function sx(i,t,e,n){const r=i.queries.getByIndex(e),a=r.matches;if(null!==a){const o=FT(i,t,r,e);for(let c=0;c<a.length;c+=2){const h=a[c];if(h>0)n.push(o[c/2]);else{const f=a[c+1],x=t[-h];for(let P=Ao;P<x.length;P++){const $=x[P];$[Fi]===$[M]&&sx($[p],$,f,n)}if(null!==x[fu]){const P=x[fu];for(let $=0;$<P.length;$++){const te=P[$];sx(te[p],te,f,n)}}}}}return n}function Ze(i){const t=xt(),e=Un(),n=S1();Pm(n+1);const r=kT(e,n);if(i.dirty&&function u2(i){return 4==(4&i[v])}(t)===(2==(2&r.metadata.flags))){if(null===r.matches)i.reset([]);else{const a=r.crossesNgTemplate?sx(e,t,n,[]):FT(e,t,r,n);i.reset(a,U7),i.notifyOnChanges()}return!0}return!1}function Lt(i,t,e){const n=Un();n.firstCreatePass&&(CT(n,new wT(i,t,e),-1),2==(2&t)&&(n.staticViewQueries=!0)),xT(n,xt(),t)}function ui(i,t,e,n){const r=Un();if(r.firstCreatePass){const a=ho();CT(r,new wT(t,e,n),a.index),function qj(i,t){const e=i.contentQueries||(i.contentQueries=[]);t!==(e.length?e[e.length-1]:-1)&&e.push(i.queries.length-1,t)}(r,i),2==(2&e)&&(r.staticContentQueries=!0)}xT(r,xt(),e)}function Xe(){return function Gj(i,t){return i[Jr].queries[t].queryList}(xt(),S1())}function xT(i,t,e){const n=new Mc(4==(4&e));g4(i,t,n,n.destroy),null===t[Jr]&&(t[Jr]=new rx),t[Jr].queries.push(new nx(n))}function CT(i,t,e){null===i.queries&&(i.queries=new ax),i.queries.track(new ox(t,e))}function kT(i,t){return i.queries.getByIndex(t)}function ko(i,t){return gb(i,t)}function bb(...i){}const Eg=new Ke("Application Initializer");let yb=(()=>{class i{constructor(e){this.appInits=e,this.resolve=bb,this.reject=bb,this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r})}runInitializers(){if(this.initialized)return;const e=[],n=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r<this.appInits.length;r++){const a=this.appInits[r]();if(bg(a))e.push(a);else if(BF(a)){const o=new Promise((c,h)=>{a.subscribe({complete:c,error:h})});e.push(o)}}Promise.all(e).then(()=>{n()}).catch(r=>{this.reject(r)}),0===e.length&&n(),this.initialized=!0}}return i.\u0275fac=function(e){return new(e||i)(Fe(Eg,8))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const Cf=new Ke("AppId",{providedIn:"root",factory:function UT(){return`${hx()}${hx()}${hx()}`}});function hx(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const WT=new Ke("Platform Initializer"),Ec=new Ke("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),GT=new Ke("appBootstrapListener"),Ln=new Ke("AnimationModuleType");let mz=(()=>{class i{log(e){console.log(e)}warn(e){console.warn(e)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"platform"}),i})();const Sc=new Ke("LocaleId",{providedIn:"root",factory:()=>ei(Sc,ci.Optional|ci.SkipSelf)||function fz(){return typeof $localize<"u"&&$localize.locale||vf}()});class gz{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}let qT=(()=>{class i{compileModuleSync(e){return new QF(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const n=this.compileModuleSync(e),a=_d(u(e).declarations).reduce((o,c)=>{const h=Y(c);return h&&o.push(new gg(h)),o},[]);return new gz(n,a)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const yz=(()=>Promise.resolve(0))();function mx(i){typeof Zone>"u"?yz.then(()=>{i&&i.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",i)}class Rt{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!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),typeof Zone>"u")throw new tt(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!n&&e,r.shouldCoalesceRunChangeDetection=n,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function vz(){let i=Pi.requestAnimationFrame,t=Pi.cancelAnimationFrame;if(typeof Zone<"u"&&i&&t){const e=i[Zone.__symbol__("OriginalDelegate")];e&&(i=e);const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n)}return{nativeRequestAnimationFrame:i,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function xz(i){const t=()=>{!function Fz(i){i.isCheckStableRunning||-1!==i.lastRequestAnimationFrameId||(i.lastRequestAnimationFrameId=i.nativeRequestAnimationFrame.call(Pi,()=>{i.fakeTopEventTask||(i.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{i.lastRequestAnimationFrameId=-1,px(i),i.isCheckStableRunning=!0,fx(i),i.isCheckStableRunning=!1},void 0,()=>{},()=>{})),i.fakeTopEventTask.invoke()}),px(i))}(i)};i._inner=i._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,n,r,a,o,c)=>{try{return QT(i),e.invokeTask(r,a,o,c)}finally{(i.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||i.shouldCoalesceRunChangeDetection)&&t(),ZT(i)}},onInvoke:(e,n,r,a,o,c,h)=>{try{return QT(i),e.invoke(r,a,o,c,h)}finally{i.shouldCoalesceRunChangeDetection&&t(),ZT(i)}},onHasTask:(e,n,r,a)=>{e.hasTask(r,a),n===r&&("microTask"==a.change?(i._hasPendingMicrotasks=a.microTask,px(i),fx(i)):"macroTask"==a.change&&(i.hasPendingMacrotasks=a.macroTask))},onHandleError:(e,n,r,a)=>(e.handleError(r,a),i.runOutsideAngular(()=>i.onError.emit(a)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Rt.isInAngularZone())throw new tt(909,!1)}static assertNotInAngularZone(){if(Rt.isInAngularZone())throw new tt(909,!1)}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,r){const a=this._inner,o=a.scheduleEventTask("NgZoneEvent: "+r,t,wz,bb,bb);try{return a.runTask(o,e,n)}finally{a.cancelTask(o)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const wz={};function fx(i){if(0==i._nesting&&!i.hasPendingMicrotasks&&!i.isStable)try{i._nesting++,i.onMicrotaskEmpty.emit(null)}finally{if(i._nesting--,!i.hasPendingMicrotasks)try{i.runOutsideAngular(()=>i.onStable.emit(null))}finally{i.isStable=!0}}}function px(i){i.hasPendingMicrotasks=!!(i._hasPendingMicrotasks||(i.shouldCoalesceEventChangeDetection||i.shouldCoalesceRunChangeDetection)&&-1!==i.lastRequestAnimationFrameId)}function QT(i){i._nesting++,i.isStable&&(i.isStable=!1,i.onUnstable.emit(null))}function ZT(i){i._nesting--,fx(i)}class Cz{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,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}}const XT=new Ke(""),vb=new Ke("");let bx,gx=(()=>{class i{constructor(e,n,r){this._ngZone=e,this.registry=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,bx||(function kz(i){bx=i}(r),r.addToWindow(n)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?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:()=>{Rt.assertNotInAngularZone(),mx(()=>{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())mx(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(n=>!n.updateCb||!n.updateCb(e)||(clearTimeout(n.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,n,r){let a=-1;n&&n>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==a),e(this._didWork,this.getPendingTasks())},n)),this._callbacks.push({doneCb:e,timeoutId:a,updateCb:r})}whenStable(e,n,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,n,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,n,r){return[]}}return i.\u0275fac=function(e){return new(e||i)(Fe(Rt),Fe(_x),Fe(vb))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})(),_x=(()=>{class i{constructor(){this._applications=new Map}registerApplication(e,n){this._applications.set(e,n)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,n=!0){return bx?.findTestabilityInTree(this,e,n)??null}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"platform"}),i})(),vu=null;const JT=new Ke("AllowMultipleToken"),yx=new Ke("PlatformDestroyListeners"),vd=!1;class eA{constructor(t,e){this.name=t,this.token=e}}function iA(i,t,e=[]){const n=`Platform: ${t}`,r=new Ke(n);return(a=[])=>{let o=vx();if(!o||o.injector.get(JT,!1)){const c=[...e,...a,{provide:r,useValue:!0}];i?i(c):function Ez(i){if(vu&&!vu.get(JT,!1))throw new tt(400,!1);vu=i;const t=i.get(rA);(function tA(i){const t=i.get(WT,null);t&&t.forEach(e=>e())})(i)}(function nA(i=[],t){return Wr.create({name:t,providers:[{provide:uF,useValue:"platform"},{provide:yx,useValue:new Set([()=>vu=null])},...i]})}(c,n))}return function Tz(i){const t=vx();if(!t)throw new tt(401,!1);return t}()}}function vx(){return vu?.get(rA)??null}let rA=(()=>{class i{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,n){const r=function oA(i,t){let e;return e="noop"===i?new Cz:("zone.js"===i?void 0:i)||new Rt(t),e}(n?.ngZone,function aA(i){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!i||!i.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!i||!i.ngZoneRunCoalescing)||!1}}(n)),a=[{provide:Rt,useValue:r}];return r.run(()=>{const o=Wr.create({providers:a,parent:this.injector,name:e.moduleType.name}),c=e.create(o),h=c.injector.get(gd,null);if(!h)throw new tt(402,!1);return r.runOutsideAngular(()=>{const f=r.onError.subscribe({next:x=>{h.handleError(x)}});c.onDestroy(()=>{wb(this._modules,c),f.unsubscribe()})}),function sA(i,t,e){try{const n=e();return bg(n)?n.catch(r=>{throw t.runOutsideAngular(()=>i.handleError(r)),r}):n}catch(n){throw t.runOutsideAngular(()=>i.handleError(n)),n}}(h,r,()=>{const f=c.injector.get(yb);return f.runInitializers(),f.donePromise.then(()=>(function LS(i){Da(i,"Expected localeId to be defined"),"string"==typeof i&&(IS=i.toLowerCase().replace(/_/g,"-"))}(c.injector.get(Sc,vf)||vf),this._moduleDoBootstrap(c),c))})})}bootstrapModule(e,n=[]){const r=lA({},n);return function Dz(i,t,e){const n=new QF(e);return Promise.resolve(n)}(0,0,e).then(a=>this.bootstrapModuleFactory(a,r))}_moduleDoBootstrap(e){const n=e.injector.get(wd);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new tt(-403,!1);e.instance.ngDoBootstrap(n)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new tt(404,!1);this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n());const e=this._injector.get(yx,null);e&&(e.forEach(n=>n()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return i.\u0275fac=function(e){return new(e||i)(Fe(Wr))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"platform"}),i})();function lA(i,t){return Array.isArray(t)?t.reduce(lA,i):{...i,...t}}let wd=(()=>{class i{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(e,n,r){this._zone=e,this._injector=n,this._exceptionHandler=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new mt(c=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{c.next(this._stable),c.complete()})}),o=new mt(c=>{let h;this._zone.runOutsideAngular(()=>{h=this._zone.onStable.subscribe(()=>{Rt.assertNotInAngularZone(),mx(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,c.next(!0))})})});const f=this._zone.onUnstable.subscribe(()=>{Rt.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{c.next(!1)}))});return()=>{h.unsubscribe(),f.unsubscribe()}});this.isStable=Pn(a,o.pipe(ro()))}bootstrap(e,n){const r=e instanceof UE;if(!this._injector.get(yb).done){!r&&function d(i){const t=Y(i)||s(i)||l(i);return null!==t&&t.standalone}(e);throw new tt(405,vd)}let o;o=r?e:this._injector.get(pd).resolveComponentFactory(e),this.componentTypes.push(o.componentType);const c=function Mz(i){return i.isBoundToModule}(o)?void 0:this._injector.get(wf),f=o.create(Wr.NULL,[],n||o.selector,c),x=f.location.nativeElement,P=f.injector.get(XT,null);return P?.registerApplication(x),f.onDestroy(()=>{this.detachView(f.hostView),wb(this.components,f),P?.unregisterApplication(x)}),this._loadComponent(f),f}tick(){if(this._runningTick)throw new tt(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const n=e;this._views.push(n),n.attachToAppRef(this)}detachView(e){const n=e;wb(this._views,n),n.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const n=this._injector.get(GT,[]);n.push(...this._bootstrapListeners),n.forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>wb(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new tt(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return i.\u0275fac=function(e){return new(e||i)(Fe(Rt),Fe(xc),Fe(gd))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function wb(i,t){const e=i.indexOf(t);e>-1&&i.splice(e,1)}let ni=(()=>{class i{}return i.__NG_ELEMENT_ID__=Iz,i})();function Iz(i){return function Lz(i,t,e){if(gh(i)&&!e){const n=ss(i.index,t);return new pg(n,n)}return 47&i.type?new pg(t[Ii],t):null}(ho(),xt(),16==(16&i))}class fA{constructor(){}supports(t){return ab(t)}create(t){return new Hz(t)}}const Bz=(i,t)=>t;class Hz{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||Bz}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,a=null;for(;e||n;){const o=!n||e&&e.currentIndex<gA(n,r,a)?e:n,c=gA(o,r,a),h=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(e=e._next,null==o.previousIndex)r++;else{a||(a=[]);const f=c-r,x=h-r;if(f!=x){for(let $=0;$<f;$++){const te=$<a.length?a[$]:a[$]=0,fe=te+$;x<=fe&&fe<f&&(a[$]=te+1)}a[o.previousIndex]=x-f}}c!==h&&t(o,c,h)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!ab(t))throw new tt(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let r,a,o,e=this._itHead,n=!1;if(Array.isArray(t)){this.length=t.length;for(let c=0;c<this.length;c++)a=t[c],o=this._trackByFn(c,a),null!==e&&Object.is(e.trackById,o)?(n&&(e=this._verifyReinsertion(e,a,o,c)),Object.is(e.item,a)||this._addIdentityChange(e,a)):(e=this._mismatch(e,a,o,c),n=!0),e=e._next}else r=0,function xV(i,t){if(Array.isArray(i))for(let e=0;e<i.length;e++)t(i[e]);else{const e=i[Sh()]();let n;for(;!(n=e.next()).done;)t(n.value)}}(t,c=>{o=this._trackByFn(r,c),null!==e&&Object.is(e.trackById,o)?(n&&(e=this._verifyReinsertion(e,c,o,r)),Object.is(e.item,c)||this._addIdentityChange(e,c)):(e=this._mismatch(e,c,o,r),n=!0),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,r){let a;return null===t?a=this._itTail:(a=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,a,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,a,r)):t=this._addAfter(new Vz(e,n),a,r),t}_verifyReinsertion(t,e,n,r){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==a?t=this._reinsertAfter(a,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,a=t._nextRemoved;return null===r?this._removalsHead=a:r._nextRemoved=a,null===a?this._removalsTail=r:a._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new pA),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new pA),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Vz{constructor(t,e){this.item=t,this.trackById=e,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 Yz{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,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class pA{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Yz,this.map.set(e,n)),n.add(t)}get(t,e){const r=this.map.get(t);return r?r.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function gA(i,t,e){const n=i.previousIndex;if(null===n)return n;let r=0;return e&&n<e.length&&(r=e[n]),n+t+r}class _A{constructor(){}supports(t){return t instanceof Map||RF(t)}create(){return new jz}}class jz{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||RF(t)))throw new tt(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(n,r)=>{if(e&&e.key===r)this._maybeAddToChanges(e,n),this._appendAfter=e,e=e._next;else{const a=this._getOrCreateRecordForKey(r,n);e=this._insertBeforeOrAppend(e,a)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let n=e;null!==n;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,e);const a=r._prev,o=r._next;return a&&(a._next=o),o&&(o._prev=a),r._next=null,r._prev=null,r}const n=new zz(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class zz{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function bA(){return new bl([new fA])}let bl=(()=>{class i{constructor(e){this.factories=e}static create(e,n){if(null!=n){const r=n.factories.slice();e=e.concat(r)}return new i(e)}static extend(e){return{provide:i,useFactory:n=>i.create(e,n||bA()),deps:[[i,new zl,new Cs]]}}find(e){const n=this.factories.find(r=>r.supports(e));if(null!=n)return n;throw new tt(901,!1)}}return i.\u0275prov=Qe({token:i,providedIn:"root",factory:bA}),i})();function yA(){return new Sg([new _A])}let Sg=(()=>{class i{constructor(e){this.factories=e}static create(e,n){if(n){const r=n.factories.slice();e=e.concat(r)}return new i(e)}static extend(e){return{provide:i,useFactory:n=>i.create(e,n||yA()),deps:[[i,new zl,new Cs]]}}find(e){const n=this.factories.find(r=>r.supports(e));if(n)return n;throw new tt(901,!1)}}return i.\u0275prov=Qe({token:i,providedIn:"root",factory:yA}),i})();const Gz=iA(null,"core",[]);let qz=(()=>{class i{constructor(e){}}return i.\u0275fac=function(e){return new(e||i)(Fe(wd))},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})();function kf(i){return"boolean"==typeof i?i:null!=i&&"false"!==i}let kx=null;function Fd(){return kx}class Qz{}const Mi=new Ke("DocumentToken");let Dx=(()=>{class i{historyGo(e){throw new Error("Not implemented")}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:function(){return function Zz(){return Fe(vA)}()},providedIn:"platform"}),i})();const Xz=new Ke("Location Initialized");let vA=(()=>{class i extends Dx{constructor(e){super(),this._doc=e,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Fd().getBaseHref(this._doc)}onPopState(e){const n=Fd().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",e,!1),()=>n.removeEventListener("popstate",e)}onHashChange(e){const n=Fd().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",e,!1),()=>n.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,n,r){wA()?this._history.pushState(e,n,r):this._location.hash=r}replaceState(e,n,r){wA()?this._history.replaceState(e,n,r):this._location.hash=r}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return i.\u0275fac=function(e){return new(e||i)(Fe(Mi))},i.\u0275prov=Qe({token:i,factory:function(){return function Jz(){return new vA(Fe(Mi))}()},providedIn:"platform"}),i})();function wA(){return!!window.history.pushState}function Mx(i,t){if(0==i.length)return t;if(0==t.length)return i;let e=0;return i.endsWith("/")&&e++,t.startsWith("/")&&e++,2==e?i+t.substring(1):1==e?i+t:i+"/"+t}function FA(i){const t=i.match(/#|\?|$/),e=t&&t.index||i.length;return i.slice(0,e-("/"===i[e-1]?1:0))+i.slice(e)}function xd(i){return i&&"?"!==i[0]?"?"+i:i}let Nh=(()=>{class i{historyGo(e){throw new Error("Not implemented")}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:function(){return ei(CA)},providedIn:"root"}),i})();const xA=new Ke("appBaseHref");let CA=(()=>{class i extends Nh{constructor(e,n){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??ei(Mi).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Mx(this._baseHref,e)}path(e=!1){const n=this._platformLocation.pathname+xd(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${n}${r}`:n}pushState(e,n,r,a){const o=this.prepareExternalUrl(r+xd(a));this._platformLocation.pushState(e,n,o)}replaceState(e,n,r,a){const o=this.prepareExternalUrl(r+xd(a));this._platformLocation.replaceState(e,n,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return i.\u0275fac=function(e){return new(e||i)(Fe(Dx),Fe(xA,8))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),eU=(()=>{class i extends Nh{constructor(e,n){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=n&&(this._baseHref=n)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let n=this._platformLocation.hash;return null==n&&(n="#"),n.length>0?n.substring(1):n}prepareExternalUrl(e){const n=Mx(this._baseHref,e);return n.length>0?"#"+n:n}pushState(e,n,r,a){let o=this.prepareExternalUrl(r+xd(a));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(e,n,o)}replaceState(e,n,r,a){let o=this.prepareExternalUrl(r+xd(a));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(e,n,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return i.\u0275fac=function(e){return new(e||i)(Fe(Dx),Fe(xA,8))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})(),Tc=(()=>{class i{constructor(e){this._subject=new lt,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const n=this._locationStrategy.getBaseHref();this._basePath=function nU(i){if(new RegExp("^(https?:)?//").test(i)){const[,e]=i.split(/\/\/[^\/]+/);return e}return i}(FA(kA(n))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,n=""){return this.path()==this.normalize(e+xd(n))}normalize(e){return i.stripTrailingSlash(function iU(i,t){return i&&new RegExp(`^${i}([/;?#]|$)`).test(t)?t.substring(i.length):t}(this._basePath,kA(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,n="",r=null){this._locationStrategy.pushState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+xd(n)),r)}replaceState(e,n="",r=null){this._locationStrategy.replaceState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+xd(n)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state)})),()=>{const n=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(n,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",n){this._urlChangeListeners.forEach(r=>r(e,n))}subscribe(e,n,r){return this._subject.subscribe({next:e,error:n,complete:r})}}return i.normalizeQueryParams=xd,i.joinWithSlash=Mx,i.stripTrailingSlash=FA,i.\u0275fac=function(e){return new(e||i)(Fe(Nh))},i.\u0275prov=Qe({token:i,factory:function(){return function tU(){return new Tc(Fe(Nh))}()},providedIn:"root"}),i})();function kA(i){return i.replace(/\/index.html$/,"")}var Ta=(()=>((Ta=Ta||{})[Ta.Format=0]="Format",Ta[Ta.Standalone=1]="Standalone",Ta))(),Gn=(()=>((Gn=Gn||{})[Gn.Narrow=0]="Narrow",Gn[Gn.Abbreviated=1]="Abbreviated",Gn[Gn.Wide=2]="Wide",Gn[Gn.Short=3]="Short",Gn))(),ca=(()=>((ca=ca||{})[ca.Short=0]="Short",ca[ca.Medium=1]="Medium",ca[ca.Long=2]="Long",ca[ca.Full=3]="Full",ca))(),Gi=(()=>((Gi=Gi||{})[Gi.Decimal=0]="Decimal",Gi[Gi.Group=1]="Group",Gi[Gi.List=2]="List",Gi[Gi.PercentSign=3]="PercentSign",Gi[Gi.PlusSign=4]="PlusSign",Gi[Gi.MinusSign=5]="MinusSign",Gi[Gi.Exponential=6]="Exponential",Gi[Gi.SuperscriptingExponent=7]="SuperscriptingExponent",Gi[Gi.PerMille=8]="PerMille",Gi[Gi.Infinity=9]="Infinity",Gi[Gi.NaN=10]="NaN",Gi[Gi.TimeSeparator=11]="TimeSeparator",Gi[Gi.CurrencyDecimal=12]="CurrencyDecimal",Gi[Gi.CurrencyGroup=13]="CurrencyGroup",Gi))();function Cb(i,t){return vl(ls(i)[ti.DateFormat],t)}function kb(i,t){return vl(ls(i)[ti.TimeFormat],t)}function Db(i,t){return vl(ls(i)[ti.DateTimeFormat],t)}function yl(i,t){const e=ls(i),n=e[ti.NumberSymbols][t];if(typeof n>"u"){if(t===Gi.CurrencyDecimal)return e[ti.NumberSymbols][Gi.Decimal];if(t===Gi.CurrencyGroup)return e[ti.NumberSymbols][Gi.Group]}return n}function MA(i){if(!i[ti.ExtraData])throw new Error(`Missing extra locale data for the locale "${i[ti.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function vl(i,t){for(let e=t;e>-1;e--)if(typeof i[e]<"u")return i[e];throw new Error("Locale data API: locale data undefined")}function Sx(i){const[t,e]=i.split(":");return{hours:+t,minutes:+e}}const gU=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Tg={},_U=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var _o=(()=>((_o=_o||{})[_o.Short=0]="Short",_o[_o.ShortGMT=1]="ShortGMT",_o[_o.Long=2]="Long",_o[_o.Extended=3]="Extended",_o))(),Qi=(()=>((Qi=Qi||{})[Qi.FullYear=0]="FullYear",Qi[Qi.Month=1]="Month",Qi[Qi.Date=2]="Date",Qi[Qi.Hours=3]="Hours",Qi[Qi.Minutes=4]="Minutes",Qi[Qi.Seconds=5]="Seconds",Qi[Qi.FractionalSeconds=6]="FractionalSeconds",Qi[Qi.Day=7]="Day",Qi))(),Sn=(()=>((Sn=Sn||{})[Sn.DayPeriods=0]="DayPeriods",Sn[Sn.Days=1]="Days",Sn[Sn.Months=2]="Months",Sn[Sn.Eras=3]="Eras",Sn))();function bU(i,t,e,n){let r=function MU(i){if(TA(i))return i;if("number"==typeof i&&!isNaN(i))return new Date(i);if("string"==typeof i){if(i=i.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(i)){const[r,a=1,o=1]=i.split("-").map(c=>+c);return Mb(r,a-1,o)}const e=parseFloat(i);if(!isNaN(i-e))return new Date(e);let n;if(n=i.match(gU))return function EU(i){const t=new Date(0);let e=0,n=0;const r=i[8]?t.setUTCFullYear:t.setFullYear,a=i[8]?t.setUTCHours:t.setHours;i[9]&&(e=Number(i[9]+i[10]),n=Number(i[9]+i[11])),r.call(t,Number(i[1]),Number(i[2])-1,Number(i[3]));const o=Number(i[4]||0)-e,c=Number(i[5]||0)-n,h=Number(i[6]||0),f=Math.floor(1e3*parseFloat("0."+(i[7]||0)));return a.call(t,o,c,h,f),t}(n)}const t=new Date(i);if(!TA(t))throw new Error(`Unable to convert "${i}" into a date`);return t}(i);t=Cd(e,t)||t;let c,o=[];for(;t;){if(c=_U.exec(t),!c){o.push(t);break}{o=o.concat(c.slice(1));const x=o.pop();if(!x)break;t=x}}let h=r.getTimezoneOffset();n&&(h=SA(n,h),r=function DU(i,t,e){const n=e?-1:1,r=i.getTimezoneOffset();return function kU(i,t){return(i=new Date(i.getTime())).setMinutes(i.getMinutes()+t),i}(i,n*(SA(t,r)-r))}(r,n,!0));let f="";return o.forEach(x=>{const P=function CU(i){if(Ax[i])return Ax[i];let t;switch(i){case"G":case"GG":case"GGG":t=Gr(Sn.Eras,Gn.Abbreviated);break;case"GGGG":t=Gr(Sn.Eras,Gn.Wide);break;case"GGGGG":t=Gr(Sn.Eras,Gn.Narrow);break;case"y":t=Ga(Qi.FullYear,1,0,!1,!0);break;case"yy":t=Ga(Qi.FullYear,2,0,!0,!0);break;case"yyy":t=Ga(Qi.FullYear,3,0,!1,!0);break;case"yyyy":t=Ga(Qi.FullYear,4,0,!1,!0);break;case"Y":t=Ab(1);break;case"YY":t=Ab(2,!0);break;case"YYY":t=Ab(3);break;case"YYYY":t=Ab(4);break;case"M":case"L":t=Ga(Qi.Month,1,1);break;case"MM":case"LL":t=Ga(Qi.Month,2,1);break;case"MMM":t=Gr(Sn.Months,Gn.Abbreviated);break;case"MMMM":t=Gr(Sn.Months,Gn.Wide);break;case"MMMMM":t=Gr(Sn.Months,Gn.Narrow);break;case"LLL":t=Gr(Sn.Months,Gn.Abbreviated,Ta.Standalone);break;case"LLLL":t=Gr(Sn.Months,Gn.Wide,Ta.Standalone);break;case"LLLLL":t=Gr(Sn.Months,Gn.Narrow,Ta.Standalone);break;case"w":t=Tx(1);break;case"ww":t=Tx(2);break;case"W":t=Tx(1,!0);break;case"d":t=Ga(Qi.Date,1);break;case"dd":t=Ga(Qi.Date,2);break;case"c":case"cc":t=Ga(Qi.Day,1);break;case"ccc":t=Gr(Sn.Days,Gn.Abbreviated,Ta.Standalone);break;case"cccc":t=Gr(Sn.Days,Gn.Wide,Ta.Standalone);break;case"ccccc":t=Gr(Sn.Days,Gn.Narrow,Ta.Standalone);break;case"cccccc":t=Gr(Sn.Days,Gn.Short,Ta.Standalone);break;case"E":case"EE":case"EEE":t=Gr(Sn.Days,Gn.Abbreviated);break;case"EEEE":t=Gr(Sn.Days,Gn.Wide);break;case"EEEEE":t=Gr(Sn.Days,Gn.Narrow);break;case"EEEEEE":t=Gr(Sn.Days,Gn.Short);break;case"a":case"aa":case"aaa":t=Gr(Sn.DayPeriods,Gn.Abbreviated);break;case"aaaa":t=Gr(Sn.DayPeriods,Gn.Wide);break;case"aaaaa":t=Gr(Sn.DayPeriods,Gn.Narrow);break;case"b":case"bb":case"bbb":t=Gr(Sn.DayPeriods,Gn.Abbreviated,Ta.Standalone,!0);break;case"bbbb":t=Gr(Sn.DayPeriods,Gn.Wide,Ta.Standalone,!0);break;case"bbbbb":t=Gr(Sn.DayPeriods,Gn.Narrow,Ta.Standalone,!0);break;case"B":case"BB":case"BBB":t=Gr(Sn.DayPeriods,Gn.Abbreviated,Ta.Format,!0);break;case"BBBB":t=Gr(Sn.DayPeriods,Gn.Wide,Ta.Format,!0);break;case"BBBBB":t=Gr(Sn.DayPeriods,Gn.Narrow,Ta.Format,!0);break;case"h":t=Ga(Qi.Hours,1,-12);break;case"hh":t=Ga(Qi.Hours,2,-12);break;case"H":t=Ga(Qi.Hours,1);break;case"HH":t=Ga(Qi.Hours,2);break;case"m":t=Ga(Qi.Minutes,1);break;case"mm":t=Ga(Qi.Minutes,2);break;case"s":t=Ga(Qi.Seconds,1);break;case"ss":t=Ga(Qi.Seconds,2);break;case"S":t=Ga(Qi.FractionalSeconds,1);break;case"SS":t=Ga(Qi.FractionalSeconds,2);break;case"SSS":t=Ga(Qi.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Sb(_o.Short);break;case"ZZZZZ":t=Sb(_o.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Sb(_o.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Sb(_o.Long);break;default:return null}return Ax[i]=t,t}(x);f+=P?P(r,e,h):"''"===x?"'":x.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),f}function Mb(i,t,e){const n=new Date(0);return n.setFullYear(i,t,e),n.setHours(0,0,0),n}function Cd(i,t){const e=function rU(i){return ls(i)[ti.LocaleId]}(i);if(Tg[e]=Tg[e]||{},Tg[e][t])return Tg[e][t];let n="";switch(t){case"shortDate":n=Cb(i,ca.Short);break;case"mediumDate":n=Cb(i,ca.Medium);break;case"longDate":n=Cb(i,ca.Long);break;case"fullDate":n=Cb(i,ca.Full);break;case"shortTime":n=kb(i,ca.Short);break;case"mediumTime":n=kb(i,ca.Medium);break;case"longTime":n=kb(i,ca.Long);break;case"fullTime":n=kb(i,ca.Full);break;case"short":const r=Cd(i,"shortTime"),a=Cd(i,"shortDate");n=Eb(Db(i,ca.Short),[r,a]);break;case"medium":const o=Cd(i,"mediumTime"),c=Cd(i,"mediumDate");n=Eb(Db(i,ca.Medium),[o,c]);break;case"long":const h=Cd(i,"longTime"),f=Cd(i,"longDate");n=Eb(Db(i,ca.Long),[h,f]);break;case"full":const x=Cd(i,"fullTime"),P=Cd(i,"fullDate");n=Eb(Db(i,ca.Full),[x,P])}return n&&(Tg[e][t]=n),n}function Eb(i,t){return t&&(i=i.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),i}function Ql(i,t,e="-",n,r){let a="";(i<0||r&&i<=0)&&(r?i=1-i:(i=-i,a=e));let o=String(i);for(;o.length<t;)o="0"+o;return n&&(o=o.slice(o.length-t)),a+o}function Ga(i,t,e=0,n=!1,r=!1){return function(a,o){let c=function vU(i,t){switch(i){case Qi.FullYear:return t.getFullYear();case Qi.Month:return t.getMonth();case Qi.Date:return t.getDate();case Qi.Hours:return t.getHours();case Qi.Minutes:return t.getMinutes();case Qi.Seconds:return t.getSeconds();case Qi.FractionalSeconds:return t.getMilliseconds();case Qi.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${i}".`)}}(i,a);if((e>0||c>-e)&&(c+=e),i===Qi.Hours)0===c&&-12===e&&(c=12);else if(i===Qi.FractionalSeconds)return function yU(i,t){return Ql(i,3).substring(0,t)}(c,t);const h=yl(o,Gi.MinusSign);return Ql(c,t,h,n,r)}}function Gr(i,t,e=Ta.Format,n=!1){return function(r,a){return function wU(i,t,e,n,r,a){switch(e){case Sn.Months:return function sU(i,t,e){const n=ls(i),a=vl([n[ti.MonthsFormat],n[ti.MonthsStandalone]],t);return vl(a,e)}(t,r,n)[i.getMonth()];case Sn.Days:return function oU(i,t,e){const n=ls(i),a=vl([n[ti.DaysFormat],n[ti.DaysStandalone]],t);return vl(a,e)}(t,r,n)[i.getDay()];case Sn.DayPeriods:const o=i.getHours(),c=i.getMinutes();if(a){const f=function uU(i){const t=ls(i);return MA(t),(t[ti.ExtraData][2]||[]).map(n=>"string"==typeof n?Sx(n):[Sx(n[0]),Sx(n[1])])}(t),x=function hU(i,t,e){const n=ls(i);MA(n);const a=vl([n[ti.ExtraData][0],n[ti.ExtraData][1]],t)||[];return vl(a,e)||[]}(t,r,n),P=f.findIndex($=>{if(Array.isArray($)){const[te,fe]=$,ye=o>=te.hours&&c>=te.minutes,Ie=o<fe.hours||o===fe.hours&&c<fe.minutes;if(te.hours<fe.hours){if(ye&&Ie)return!0}else if(ye||Ie)return!0}else if($.hours===o&&$.minutes===c)return!0;return!1});if(-1!==P)return x[P]}return function aU(i,t,e){const n=ls(i),a=vl([n[ti.DayPeriodsFormat],n[ti.DayPeriodsStandalone]],t);return vl(a,e)}(t,r,n)[o<12?0:1];case Sn.Eras:return function lU(i,t){return vl(ls(i)[ti.Eras],t)}(t,n)[i.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${e}`)}}(r,a,i,t,e,n)}}function Sb(i){return function(t,e,n){const r=-1*n,a=yl(e,Gi.MinusSign),o=r>0?Math.floor(r/60):Math.ceil(r/60);switch(i){case _o.Short:return(r>=0?"+":"")+Ql(o,2,a)+Ql(Math.abs(r%60),2,a);case _o.ShortGMT:return"GMT"+(r>=0?"+":"")+Ql(o,1,a);case _o.Long:return"GMT"+(r>=0?"+":"")+Ql(o,2,a)+":"+Ql(Math.abs(r%60),2,a);case _o.Extended:return 0===n?"Z":(r>=0?"+":"")+Ql(o,2,a)+":"+Ql(Math.abs(r%60),2,a);default:throw new Error(`Unknown zone width "${i}"`)}}}const FU=0,Tb=4;function EA(i){return Mb(i.getFullYear(),i.getMonth(),i.getDate()+(Tb-i.getDay()))}function Tx(i,t=!1){return function(e,n){let r;if(t){const a=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,o=e.getDate();r=1+Math.floor((o+a)/7)}else{const a=EA(e),o=function xU(i){const t=Mb(i,FU,1).getDay();return Mb(i,0,1+(t<=Tb?Tb:Tb+7)-t)}(a.getFullYear()),c=a.getTime()-o.getTime();r=1+Math.round(c/6048e5)}return Ql(r,i,yl(n,Gi.MinusSign))}}function Ab(i,t=!1){return function(e,n){return Ql(EA(e).getFullYear(),i,yl(n,Gi.MinusSign),t)}}const Ax={};function SA(i,t){i=i.replace(/:/g,"");const e=Date.parse("Jan 01, 1970 00:00:00 "+i)/6e4;return isNaN(e)?t:e}function TA(i){return i instanceof Date&&!isNaN(i.valueOf())}function NA(i,t){t=encodeURIComponent(t);for(const e of i.split(";")){const n=e.indexOf("="),[r,a]=-1==n?[e,""]:[e.slice(0,n),e.slice(n+1)];if(r.trim()===t)return decodeURIComponent(a)}return null}const Bx=/\s+/,OA=[];let qa=(()=>{class i{constructor(e,n,r,a){this._iterableDiffers=e,this._keyValueDiffers=n,this._ngEl=r,this._renderer=a,this.initialClasses=OA,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(Bx):OA}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(Bx):e}ngDoCheck(){for(const n of this.initialClasses)this._updateState(n,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const n of e)this._updateState(n,!0);else if(null!=e)for(const n of Object.keys(e))this._updateState(n,Boolean(e[n]));this._applyStateDiff()}_updateState(e,n){const r=this.stateMap.get(e);void 0!==r?(r.enabled!==n&&(r.changed=!0,r.enabled=n),r.touched=!0):this.stateMap.set(e,{enabled:n,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const n=e[0],r=e[1];r.changed?(this._toggleClass(n,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),r.touched=!1}}_toggleClass(e,n){(e=e.trim()).length>0&&e.split(Bx).forEach(r=>{n?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}}return i.\u0275fac=function(e){return new(e||i)(k(bl),k(Sg),k(gt),k(gl))},i.\u0275dir=Oe({type:i,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),i})();class YU{constructor(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let vn=(()=>{class i{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,n,r){this._viewContainer=e,this._template=n,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const n=this._viewContainer;e.forEachOperation((r,a,o)=>{if(null==r.previousIndex)n.createEmbeddedView(this._template,new YU(r.item,this._ngForOf,-1,-1),null===o?void 0:o);else if(null==o)n.remove(null===a?void 0:a);else if(null!==a){const c=n.get(a);n.move(c,o),BA(c,r)}});for(let r=0,a=n.length;r<a;r++){const c=n.get(r).context;c.index=r,c.count=a,c.ngForOf=this._ngForOf}e.forEachIdentityChange(r=>{BA(n.get(r.currentIndex),r)})}static ngTemplateContextGuard(e,n){return!0}}return i.\u0275fac=function(e){return new(e||i)(k(kr),k(vr),k(bl))},i.\u0275dir=Oe({type:i,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),i})();function BA(i,t){i.context.$implicit=t.item}let ri=(()=>{class i{constructor(e,n){this._viewContainer=e,this._context=new zU,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){HA("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){HA("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,n){return!0}}return i.\u0275fac=function(e){return new(e||i)(k(kr),k(vr))},i.\u0275dir=Oe({type:i,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),i})();class zU{constructor(){this.$implicit=null,this.ngIf=null}}function HA(i,t){if(t&&!t.createEmbeddedView)throw new Error(`${i} must be a TemplateRef, but received '${Yi(t)}'.`)}class Hx{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let wu=(()=>{class i{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){const n=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||n,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),n}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const n of this._defaultViews)n.enforceState(e)}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),i})(),Df=(()=>{class i{constructor(e,n,r){this.ngSwitch=r,r._addCase(),this._view=new Hx(e,n)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return i.\u0275fac=function(e){return new(e||i)(k(kr),k(vr),k(wu,9))},i.\u0275dir=Oe({type:i,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),i})(),VA=(()=>{class i{constructor(e,n,r){r._addDefault(new Hx(e,n))}}return i.\u0275fac=function(e){return new(e||i)(k(kr),k(vr),k(wu,9))},i.\u0275dir=Oe({type:i,selectors:[["","ngSwitchDefault",""]],standalone:!0}),i})(),Mf=(()=>{class i{constructor(e,n,r){this._ngEl=e,this._differs=n,this._renderer=r,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,n){const[r,a]=e.split("."),o=-1===r.indexOf("-")?void 0:ks.DashCase;null!=n?this._renderer.setStyle(this._ngEl.nativeElement,r,a?`${n}${a}`:n,o):this._renderer.removeStyle(this._ngEl.nativeElement,r,o)}_applyChanges(e){e.forEachRemovedItem(n=>this._setStyle(n.key,null)),e.forEachAddedItem(n=>this._setStyle(n.key,n.currentValue)),e.forEachChangedItem(n=>this._setStyle(n.key,n.currentValue))}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Sg),k(gl))},i.\u0275dir=Oe({type:i,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),i})(),Ef=(()=>{class i{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:r,ngTemplateOutletContext:a,ngTemplateOutletInjector:o}=this;this._viewRef=n.createEmbeddedView(r,a,o?{injector:o}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return i.\u0275fac=function(e){return new(e||i)(k(kr))},i.\u0275dir=Oe({type:i,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[or]}),i})();function Zl(i,t){return new tt(2100,!1)}class WU{createSubscription(t,e){return t.subscribe({next:e,error:n=>{throw n}})}dispose(t){t.unsubscribe()}}class GU{createSubscription(t,e){return t.then(e,n=>{throw n})}dispose(t){}}const qU=new GU,$U=new WU;let Es=(()=>{class i{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,n=>this._updateLatestValue(e,n))}_selectStrategy(e){if(bg(e))return qU;if(j4(e))return $U;throw Zl()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,n){e===this._obj&&(this._latestValue=n,this._ref.markForCheck())}}return i.\u0275fac=function(e){return new(e||i)(k(ni,16))},i.\u0275pipe=Mr({name:"async",type:i,pure:!1,standalone:!0}),i})();const eW=new Ke("DATE_PIPE_DEFAULT_TIMEZONE"),tW=new Ke("DATE_PIPE_DEFAULT_OPTIONS");let Vx=(()=>{class i{constructor(e,n,r){this.locale=e,this.defaultTimezone=n,this.defaultOptions=r}transform(e,n,r,a){if(null==e||""===e||e!=e)return null;try{return bU(e,n??this.defaultOptions?.dateFormat??"mediumDate",a||this.locale,r??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(o){throw Zl()}}}return i.\u0275fac=function(e){return new(e||i)(k(Sc,16),k(eW,24),k(tW,24))},i.\u0275pipe=Mr({name:"date",type:i,pure:!0,standalone:!0}),i})(),Yx=(()=>{class i{transform(e){return JSON.stringify(e,null,2)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275pipe=Mr({name:"json",type:i,pure:!1,standalone:!0}),i})(),jA=(()=>{class i{constructor(e){this.differs=e,this.keyValues=[],this.compareFn=zA}transform(e,n=zA){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());const r=this.differ.diff(e),a=n!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(o=>{this.keyValues.push(function aW(i,t){return{key:i,value:t}}(o.key,o.currentValue))})),(r||a)&&(this.keyValues.sort(n),this.compareFn=n),this.keyValues}}return i.\u0275fac=function(e){return new(e||i)(k(Sg,16))},i.\u0275pipe=Mr({name:"keyvalue",type:i,pure:!1,standalone:!0}),i})();function zA(i,t){const e=i.key,n=t.key;if(e===n)return 0;if(void 0===e)return 1;if(void 0===n)return-1;if(null===e)return 1;if(null===n)return-1;if("string"==typeof e&&"string"==typeof n)return e<n?-1:1;if("number"==typeof e&&"number"==typeof n)return e-n;if("boolean"==typeof e&&"boolean"==typeof n)return e<n?-1:1;const r=String(e),a=String(n);return r==a?0:r<a?-1:1}let UA=(()=>{class i{transform(e,n,r){if(null==e)return null;if(!this.supports(e))throw Zl();return e.slice(n,r)}supports(e){return"string"==typeof e||Array.isArray(e)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275pipe=Mr({name:"slice",type:i,pure:!1,standalone:!0}),i})(),Dr=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})();const WA="browser";function kd(i){return i===WA}let hW=(()=>{class i{}return i.\u0275prov=Qe({token:i,providedIn:"root",factory:()=>new mW(Fe(Mi),window)}),i})();class mW{constructor(t,e){this.document=t,this.window=e,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 e=function fW(i,t){const e=i.getElementById(t)||i.getElementsByName(t)[0];if(e)return e;if("function"==typeof i.createTreeWalker&&i.body&&(i.body.createShadowRoot||i.body.attachShadow)){const n=i.createTreeWalker(i.body,NodeFilter.SHOW_ELEMENT);let r=n.currentNode;for(;r;){const a=r.shadowRoot;if(a){const o=a.getElementById(t)||a.querySelector(`[name="${t}"]`);if(o)return o}r=n.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,a=this.offset();this.window.scrollTo(n-a[0],r-a[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=GA(this.window.history)||GA(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function GA(i){return Object.getOwnPropertyDescriptor(i,"scrollRestoration")}class qA{}class YW extends Qz{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Gx extends YW{static makeCurrent(){!function Kz(i){kx||(kx=i)}(new Gx)}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=function jW(){return Lg=Lg||document.querySelector("base"),Lg?Lg.getAttribute("href"):null}();return null==e?null:function zW(i){Ob=Ob||document.createElement("a"),Ob.setAttribute("href",i);const t=Ob.pathname;return"/"===t.charAt(0)?t:`/${t}`}(e)}resetBaseElement(){Lg=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return NA(document.cookie,t)}}let Ob,Lg=null;const XA=new Ke("TRANSITION_ID"),WW=[{provide:Eg,useFactory:function UW(i,t,e){return()=>{e.get(yb).donePromise.then(()=>{const n=Fd(),r=t.querySelectorAll(`style[ng-transition="${i}"]`);for(let a=0;a<r.length;a++)n.remove(r[a])})}},deps:[XA,Mi,Wr],multi:!0}];let qW=(()=>{class i{build(){return new XMLHttpRequest}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})();const Rb=new Ke("EventManagerPlugins");let Pb=(()=>{class i{constructor(e,n){this._zone=n,this._eventNameToPlugin=new Map,e.forEach(r=>r.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,n,r){return this._findPluginFor(n).addEventListener(e,n,r)}addGlobalEventListener(e,n,r){return this._findPluginFor(n).addGlobalEventListener(e,n,r)}getZone(){return this._zone}_findPluginFor(e){const n=this._eventNameToPlugin.get(e);if(n)return n;const r=this._plugins;for(let a=0;a<r.length;a++){const o=r[a];if(o.supports(e))return this._eventNameToPlugin.set(e,o),o}throw new Error(`No event manager plugin found for event ${e}`)}}return i.\u0275fac=function(e){return new(e||i)(Fe(Rb),Fe(Rt))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})();class JA{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const r=Fd().getGlobalEventTarget(this._doc,t);if(!r)throw new Error(`Unsupported event target ${r} for event ${e}`);return this.addEventListener(r,e,n)}}let eI=(()=>{class i{constructor(){this.usageCount=new Map}addStyles(e){for(const n of e)1===this.changeUsageCount(n,1)&&this.onStyleAdded(n)}removeStyles(e){for(const n of e)0===this.changeUsageCount(n,-1)&&this.onStyleRemoved(n)}onStyleRemoved(e){}onStyleAdded(e){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(e,n){const r=this.usageCount;let a=r.get(e)??0;return a+=n,a>0?r.set(e,a):r.delete(e),a}ngOnDestroy(){for(const e of this.getAllStyles())this.onStyleRemoved(e);this.usageCount.clear()}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})(),Ng=(()=>{class i extends eI{constructor(e){super(),this.doc=e,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(e){for(const n of this.hostNodes)this.addStyleToHost(n,e)}onStyleRemoved(e){const n=this.styleRef;n.get(e)?.forEach(a=>a.remove()),n.delete(e)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const n of this.getAllStyles())this.addStyleToHost(e,n)}removeHost(e){this.hostNodes.delete(e)}addStyleToHost(e,n){const r=this.doc.createElement("style");r.textContent=n,e.appendChild(r);const a=this.styleRef.get(n);a?a.push(r):this.styleRef.set(n,[r])}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}}return i.\u0275fac=function(e){return new(e||i)(Fe(Mi))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})();const qx={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/"},$x=/%COMP%/g,nI=new Ke("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function rI(i,t){return t.flat(100).map(e=>e.replace($x,i))}function aI(i){return t=>{if("__ngUnwrap__"===t)return i;!1===i(t)&&(t.preventDefault(),t.returnValue=!1)}}let Bb=(()=>{class i{constructor(e,n,r,a){this.eventManager=e,this.sharedStylesHost=n,this.appId=r,this.removeStylesOnCompDestory=a,this.rendererByCompId=new Map,this.defaultRenderer=new Kx(e)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;const r=this.getOrCreateRenderer(e,n);return r instanceof lI?r.applyToHost(e):r instanceof Qx&&r.applyStyles(),r}getOrCreateRenderer(e,n){const r=this.rendererByCompId;let a=r.get(n.id);if(!a){const o=this.eventManager,c=this.sharedStylesHost,h=this.removeStylesOnCompDestory;switch(n.encapsulation){case xe.Emulated:a=new lI(o,c,n,this.appId,h);break;case xe.ShadowDom:return new eG(o,c,e,n);default:a=new Qx(o,c,n,h)}a.onDestroy=()=>r.delete(n.id),r.set(n.id,a)}return a}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return i.\u0275fac=function(e){return new(e||i)(Fe(Pb),Fe(Ng),Fe(Cf),Fe(nI))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})();class Kx{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?document.createElementNS(qx[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){(sI(t)?t.content:t).appendChild(e)}insertBefore(t,e,n){t&&(sI(t)?t.content:t).insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;const a=qx[r];a?t.setAttributeNS(a,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=qx[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&(ks.DashCase|ks.Important)?t.style.setProperty(e,n,r&ks.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&ks.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,aI(n)):this.eventManager.addEventListener(t,e,aI(n))}}function sI(i){return"TEMPLATE"===i.tagName&&void 0!==i.content}class eG extends Kx{constructor(t,e,n,r){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const a=rI(r.id,r.styles);for(const o of a){const c=document.createElement("style");c.textContent=o,this.shadowRoot.appendChild(c)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Qx extends Kx{constructor(t,e,n,r,a=n.id){super(t),this.sharedStylesHost=e,this.removeStylesOnCompDestory=r,this.rendererUsageCount=0,this.styles=rI(a,n.styles)}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class lI extends Qx{constructor(t,e,n,r,a){const o=r+"-"+n.id;super(t,e,n,a,o),this.contentAttr=function ZW(i){return"_ngcontent-%COMP%".replace($x,i)}(o),this.hostAttr=function XW(i){return"_nghost-%COMP%".replace($x,i)}(o)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}let tG=(()=>{class i extends JA{constructor(e){super(e)}supports(e){return!0}addEventListener(e,n,r){return e.addEventListener(n,r,!1),()=>this.removeEventListener(e,n,r)}removeEventListener(e,n,r){return e.removeEventListener(n,r)}}return i.\u0275fac=function(e){return new(e||i)(Fe(Mi))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})();const cI=["alt","control","meta","shift"],iG={"\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"},nG={alt:i=>i.altKey,control:i=>i.ctrlKey,meta:i=>i.metaKey,shift:i=>i.shiftKey};let rG=(()=>{class i extends JA{constructor(e){super(e)}supports(e){return null!=i.parseEventName(e)}addEventListener(e,n,r){const a=i.parseEventName(n),o=i.eventCallback(a.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Fd().onAndCancel(e,a.domEventName,o))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const a=i._normalizeKey(n.pop());let o="",c=n.indexOf("code");if(c>-1&&(n.splice(c,1),o="code."),cI.forEach(f=>{const x=n.indexOf(f);x>-1&&(n.splice(x,1),o+=f+".")}),o+=a,0!=n.length||0===a.length)return null;const h={};return h.domEventName=r,h.fullKey=o,h}static matchEventFullKeyCode(e,n){let r=iG[e.key]||e.key,a="";return n.indexOf("code.")>-1&&(r=e.code,a="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),cI.forEach(o=>{o!==r&&(0,nG[o])(e)&&(a+=o+".")}),a+=r,a===n)}static eventCallback(e,n,r){return a=>{i.matchEventFullKeyCode(a,e)&&r.runGuarded(()=>n(a))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return i.\u0275fac=function(e){return new(e||i)(Fe(Mi))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})();const uI=[{provide:Ec,useValue:WA},{provide:WT,useValue:function aG(){Gx.makeCurrent()},multi:!0},{provide:Mi,useFactory:function sG(){return function n7(i){nF=i}(document),document},deps:[]}],lG=iA(Gz,"browser",uI),hI=new Ke(""),mI=[{provide:vb,useClass:class GW{addToWindow(t){Pi.getAngularTestability=(n,r=!0)=>{const a=t.findTestabilityInTree(n,r);if(null==a)throw new Error("Could not find testability for element.");return a},Pi.getAllAngularTestabilities=()=>t.getAllTestabilities(),Pi.getAllAngularRootElements=()=>t.getAllRootElements(),Pi.frameworkStabilizers||(Pi.frameworkStabilizers=[]),Pi.frameworkStabilizers.push(n=>{const r=Pi.getAllAngularTestabilities();let a=r.length,o=!1;const c=function(h){o=o||h,a--,0==a&&n(o)};r.forEach(function(h){h.whenStable(c)})})}findTestabilityInTree(t,e,n){return null==e?null:t.getTestability(e)??(n?Fd().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null)}},deps:[]},{provide:XT,useClass:gx,deps:[Rt,_x,vb]},{provide:gx,useClass:gx,deps:[Rt,_x,vb]}],fI=[{provide:uF,useValue:"root"},{provide:gd,useFactory:function oG(){return new gd},deps:[]},{provide:Rb,useClass:tG,multi:!0,deps:[Mi,Rt,Ec]},{provide:Rb,useClass:rG,multi:!0,deps:[Mi]},{provide:Bb,useClass:Bb,deps:[Pb,Ng,Cf,nI]},{provide:tf,useExisting:Bb},{provide:eI,useExisting:Ng},{provide:Ng,useClass:Ng,deps:[Mi]},{provide:Pb,useClass:Pb,deps:[Rb,Rt]},{provide:qA,useClass:qW,deps:[]},[]];let pI=(()=>{class i{constructor(e){}static withServerTransition(e){return{ngModule:i,providers:[{provide:Cf,useValue:e.appId},{provide:XA,useExisting:Cf},WW]}}}return i.\u0275fac=function(e){return new(e||i)(Fe(hI,12))},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[...fI,...mI],imports:[Dr,qz]}),i})(),Xx=(()=>{class i{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return i.\u0275fac=function(e){return new(e||i)(Fe(Mi))},i.\u0275prov=Qe({token:i,factory:function(e){let n=null;return n=e?new e:function dG(){return new Xx(Fe(Mi))}(),n},providedIn:"root"}),i})();typeof window<"u"&&window;let eC,Sf=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:function(e){let n=null;return n=e?new(e||i):Fe(bI),n},providedIn:"root"}),i})(),bI=(()=>{class i extends Sf{constructor(e){super(),this._doc=e}sanitize(e,n){if(null==n)return null;switch(e){case yr.NONE:return n;case yr.HTML:return Fc(n,"HTML")?zs(n):LE(this._doc,String(n)).toString();case yr.STYLE:return Fc(n,"Style")?zs(n):n;case yr.SCRIPT:if(Fc(n,"Script"))return zs(n);throw new Error("unsafe value used in a script context");case yr.URL:return Fc(n,"URL")?zs(n):W1(String(n));case yr.RESOURCE_URL:if(Fc(n,"ResourceURL"))return zs(n);throw new Error(`unsafe value used in a resource URL context (see ${li})`);default:throw new Error(`Unexpected SecurityContext ${e} (see ${li})`)}}bypassSecurityTrustHtml(e){return function d7(i){return new r7(i)}(e)}bypassSecurityTrustStyle(e){return function u7(i){return new a7(i)}(e)}bypassSecurityTrustScript(e){return function h7(i){return new o7(i)}(e)}bypassSecurityTrustUrl(e){return function m7(i){return new s7(i)}(e)}bypassSecurityTrustResourceUrl(e){return function f7(i){return new l7(i)}(e)}}return i.\u0275fac=function(e){return new(e||i)(Fe(Mi))},i.\u0275prov=Qe({token:i,factory:function(e){let n=null;return n=e?new e:function _G(i){return new bI(i.get(Mi))}(Fe(Wr)),n},providedIn:"root"}),i})();try{eC=typeof Intl<"u"&&Intl.v8BreakIterator}catch{eC=!1}let Tf,Bn=(()=>{class i{constructor(e){this._platformId=e,this.isBrowser=this._platformId?kd(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!eC)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return i.\u0275fac=function(e){return new(e||i)(Fe(Ec))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),bG=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})();const yI=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function vI(){if(Tf)return Tf;if("object"!=typeof document||!document)return Tf=new Set(yI),Tf;let i=document.createElement("input");return Tf=new Set(yI.filter(t=>(i.setAttribute("type",t),i.type===t))),Tf}let Og,Hb,Oh,tC;function Dd(i){return function yG(){if(null==Og&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Og=!0}))}finally{Og=Og||!1}return Og}()?i:!!i.capture}function wI(){if(null==Oh){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Oh=!1,Oh;if("scrollBehavior"in document.documentElement.style)Oh=!0;else{const i=Element.prototype.scrollTo;Oh=!!i&&!/\{\s*\[native code\]\s*\}/.test(i.toString())}}return Oh}function Rg(){if("object"!=typeof document||!document)return 0;if(null==Hb){const i=document.createElement("div"),t=i.style;i.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";const e=document.createElement("div"),n=e.style;n.width="2px",n.height="1px",i.appendChild(e),document.body.appendChild(i),Hb=0,0===i.scrollLeft&&(i.scrollLeft=1,Hb=0===i.scrollLeft?1:2),i.remove()}return Hb}function Vb(){let i=typeof document<"u"&&document?document.activeElement:null;for(;i&&i.shadowRoot;){const t=i.shadowRoot.activeElement;if(t===i)break;i=t}return i}function Md(i){return i.composedPath?i.composedPath()[0]:i.target}function iC(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}class Hi extends He{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){const{hasError:t,thrownError:e,_value:n}=this;if(t)throw e;return this._throwIfClosed(),n}next(t){super.next(this._value=t)}}function Ht(...i){return rr(i,Fo(i))}function ba(i,...t){return t.length?t.some(e=>i[e]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}function ta(i,t,e){const n=T(i)||t||e?{next:i,error:t,complete:e}:i;return n?Jt((r,a)=>{var o;null===(o=n.subscribe)||void 0===o||o.call(n);let c=!0;r.subscribe(Ut(a,h=>{var f;null===(f=n.next)||void 0===f||f.call(n,h),a.next(h)},()=>{var h;c=!1,null===(h=n.complete)||void 0===h||h.call(n),a.complete()},h=>{var f;c=!1,null===(f=n.error)||void 0===f||f.call(n,h),a.error(h)},()=>{var h,f;c&&(null===(h=n.unsubscribe)||void 0===h||h.call(n)),null===(f=n.finalize)||void 0===f||f.call(n)}))}):ze}class RG extends C{constructor(t,e){super()}schedule(t,e=0){return this}}const Ub={setInterval(i,t,...e){const{delegate:n}=Ub;return n?.setInterval?n.setInterval(i,t,...e):setInterval(i,t,...e)},clearInterval(i){const{delegate:t}=Ub;return(t?.clearInterval||clearInterval)(i)},delegate:void 0};class aC extends RG{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){var n;if(this.closed)return this;this.state=t;const r=this.id,a=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(a,r,e)),this.pending=!0,this.delay=e,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(a,this.id,e),this}requestAsyncId(t,e,n=0){return Ub.setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!=n&&this.delay===n&&!1===this.pending)return e;null!=e&&Ub.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let r,n=!1;try{this.work(t)}catch(a){n=!0,r=a||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:t,scheduler:e}=this,{actions:n}=e;this.work=this.state=this.scheduler=null,this.pending=!1,b(n,this),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}}const oC={now:()=>(oC.delegate||Date).now(),delegate:void 0};class Pg{constructor(t,e=Pg.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,n){return new this.schedulerActionCtor(this,t).schedule(n,e)}}Pg.now=oC.now;class sC extends Pg{constructor(t,e=Pg.now){super(t,e),this.actions=[],this._active=!1}flush(t){const{actions:e}=this;if(this._active)return void e.push(t);let n;this._active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}const If=new sC(aC),PG=If;function Wb(i,t=If){return Jt((e,n)=>{let r=null,a=null,o=null;const c=()=>{if(r){r.unsubscribe(),r=null;const f=a;a=null,n.next(f)}};function h(){const f=o+i,x=t.now();if(x<f)return r=this.schedule(void 0,f-x),void n.add(r);c()}e.subscribe(Ut(n,f=>{a=f,o=t.now(),r||(r=t.schedule(h,i),n.add(r))},()=>{c(),n.complete()},void 0,()=>{a=r=null}))})}function qi(i,t){return Jt((e,n)=>{let r=0;e.subscribe(Ut(n,a=>i.call(t,a,r++)&&n.next(a)))})}function nn(i){return i<=0?()=>ln:Jt((t,e)=>{let n=0;t.subscribe(Ut(e,r=>{++n<=i&&(e.next(r),i<=n&&e.complete())}))})}function lC(i){return qi((t,e)=>i<=e)}function Bg(i,t=ze){return i=i??BG,Jt((e,n)=>{let r,a=!0;e.subscribe(Ut(n,o=>{const c=t(o);(a||!i(r,c))&&(a=!1,r=c,n.next(o))}))})}function BG(i,t){return i===t}function ii(i){return Jt((t,e)=>{sn(i).subscribe(Ut(e,()=>e.complete(),j)),!e.closed&&t.subscribe(e)})}function Ct(i){return null!=i&&"false"!=`${i}`}function wr(i,t=0){return function HG(i){return!isNaN(parseFloat(i))&&!isNaN(Number(i))}(i)?Number(i):t}function Gb(i){return Array.isArray(i)?i:[i]}function $a(i){return null==i?"":"string"==typeof i?i:`${i}px`}function Ed(i){return i instanceof gt?i.nativeElement:i}let FI=(()=>{class i{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),YG=(()=>{class i{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,n)=>this._cleanupObserver(n))}observe(e){const n=Ed(e);return new mt(r=>{const o=this._observeElement(n).subscribe(r);return()=>{o.unsubscribe(),this._unobserveElement(n)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const n=new He,r=this._mutationObserverFactory.create(a=>n.next(a));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:n,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:n,stream:r}=this._observedElements.get(e);n&&n.disconnect(),r.complete(),this._observedElements.delete(e)}}}return i.\u0275fac=function(e){return new(e||i)(Fe(FI))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Lf=(()=>{class i{get disabled(){return this._disabled}set disabled(e){this._disabled=Ct(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=wr(e),this._subscribe()}constructor(e,n,r){this._contentObserver=e,this._elementRef=n,this._ngZone=r,this.event=new lt,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(Wb(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return i.\u0275fac=function(e){return new(e||i)(k(YG),k(gt),k(Rt))},i.\u0275dir=Oe({type:i,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),i})(),Hg=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[FI]}),i})();const{isArray:jG}=Array,{getPrototypeOf:zG,prototype:UG,keys:WG}=Object;function xI(i){if(1===i.length){const t=i[0];if(jG(t))return{args:t,keys:null};if(function GG(i){return i&&"object"==typeof i&&zG(i)===UG}(t)){const e=WG(t);return{args:e.map(n=>t[n]),keys:e}}}return{args:i,keys:null}}const{isArray:qG}=Array;function cC(i){return _t(t=>function $G(i,t){return qG(t)?i(...t):i(t)}(i,t))}function CI(i,t){return i.reduce((e,n,r)=>(e[n]=t[r],e),{})}function dC(...i){const t=Fo(i),e=io(i),{args:n,keys:r}=xI(i);if(0===n.length)return rr([],t);const a=new mt(function KG(i,t,e=ze){return n=>{kI(t,()=>{const{length:r}=i,a=new Array(r);let o=r,c=r;for(let h=0;h<r;h++)kI(t,()=>{const f=rr(i[h],t);let x=!1;f.subscribe(Ut(n,P=>{a[h]=P,x||(x=!0,c--),c||n.next(e(a.slice()))},()=>{--o||n.complete()}))},n)},n)}}(n,t,r?o=>CI(r,o):ze));return e?a.pipe(cC(e)):a}function kI(i,t,e){i?nr(e,i,t):t()}function Sd(...i){return function QG(){return br(1)}()(rr(i,Fo(i)))}function jr(...i){const t=Fo(i);return Jt((e,n)=>{(t?Sd(i,e,t):Sd(i,e)).subscribe(n)})}let ZG=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})();const DI=new Set;let Nf,XG=(()=>{class i{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):eq}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function JG(i){if(!DI.has(i))try{Nf||(Nf=document.createElement("style"),Nf.setAttribute("type","text/css"),document.head.appendChild(Nf)),Nf.sheet&&(Nf.sheet.insertRule(`@media ${i} {body{ }}`,0),DI.add(i))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return i.\u0275fac=function(e){return new(e||i)(Fe(Bn))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function eq(i){return{matches:"all"===i||""===i,media:i,addListener:()=>{},removeListener:()=>{}}}let Td=(()=>{class i{constructor(e,n){this._mediaMatcher=e,this._zone=n,this._queries=new Map,this._destroySubject=new He}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return MI(Gb(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let a=dC(MI(Gb(e)).map(o=>this._registerQuery(o).observable));return a=Sd(a.pipe(nn(1)),a.pipe(lC(1),Wb(0))),a.pipe(_t(o=>{const c={matches:!1,breakpoints:{}};return o.forEach(({matches:h,query:f})=>{c.matches=c.matches||h,c.breakpoints[f]=h}),c}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const n=this._mediaMatcher.matchMedia(e),a={observable:new mt(o=>{const c=h=>this._zone.run(()=>o.next(h));return n.addListener(c),()=>{n.removeListener(c)}}).pipe(jr(n),_t(({matches:o})=>({query:e,matches:o})),ii(this._destroySubject)),mql:n};return this._queries.set(e,a),a}}return i.\u0275fac=function(e){return new(e||i)(Fe(XG),Fe(Rt))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function MI(i){return i.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const xu_Medium="(min-width: 960px) and (max-width: 1279.98px)",xu_Large="(min-width: 1280px) and (max-width: 1919.98px)";function qb(i,t){return(i.getAttribute(t)||"").match(/\S+/g)||[]}const SI="cdk-describedby-message",$b="cdk-describedby-host";let uC=0,hC=(()=>{class i{constructor(e,n){this._platform=n,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+uC++,this._document=e,this._id=ei(Cf)+"-"+uC++}describe(e,n,r){if(!this._canBeDescribed(e,n))return;const a=mC(n,r);"string"!=typeof n?(TI(n,this._id),this._messageRegistry.set(a,{messageElement:n,referenceCount:0})):this._messageRegistry.has(a)||this._createMessageElement(n,r),this._isElementDescribedByMessage(e,a)||this._addMessageReference(e,a)}removeDescription(e,n,r){if(!n||!this._isElementNode(e))return;const a=mC(n,r);if(this._isElementDescribedByMessage(e,a)&&this._removeMessageReference(e,a),"string"==typeof n){const o=this._messageRegistry.get(a);o&&0===o.referenceCount&&this._deleteMessageElement(a)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const e=this._document.querySelectorAll(`[${$b}="${this._id}"]`);for(let n=0;n<e.length;n++)this._removeCdkDescribedByReferenceIds(e[n]),e[n].removeAttribute($b);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,n){const r=this._document.createElement("div");TI(r,this._id),r.textContent=e,n&&r.setAttribute("role",n),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(mC(e,n),{messageElement:r,referenceCount:0})}_deleteMessageElement(e){this._messageRegistry.get(e)?.messageElement?.remove(),this._messageRegistry.delete(e)}_createMessagesContainer(){if(this._messagesContainer)return;const e="cdk-describedby-message-container",n=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let a=0;a<n.length;a++)n[a].remove();const r=this._document.createElement("div");r.style.visibility="hidden",r.classList.add(e),r.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(e){const n=qb(e,"aria-describedby").filter(r=>0!=r.indexOf(SI));e.setAttribute("aria-describedby",n.join(" "))}_addMessageReference(e,n){const r=this._messageRegistry.get(n);(function tq(i,t,e){const n=qb(i,t);n.some(r=>r.trim()==e.trim())||(n.push(e.trim()),i.setAttribute(t,n.join(" ")))})(e,"aria-describedby",r.messageElement.id),e.setAttribute($b,this._id),r.referenceCount++}_removeMessageReference(e,n){const r=this._messageRegistry.get(n);r.referenceCount--,function iq(i,t,e){const r=qb(i,t).filter(a=>a!=e.trim());r.length?i.setAttribute(t,r.join(" ")):i.removeAttribute(t)}(e,"aria-describedby",r.messageElement.id),e.removeAttribute($b)}_isElementDescribedByMessage(e,n){const r=qb(e,"aria-describedby"),a=this._messageRegistry.get(n),o=a&&a.messageElement.id;return!!o&&-1!=r.indexOf(o)}_canBeDescribed(e,n){if(!this._isElementNode(e))return!1;if(n&&"object"==typeof n)return!0;const r=null==n?"":`${n}`.trim(),a=e.getAttribute("aria-label");return!(!r||a&&a.trim()===r)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return i.\u0275fac=function(e){return new(e||i)(Fe(Mi),Fe(Bn))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function mC(i,t){return"string"==typeof i?`${t||""}/${i}`:i}function TI(i,t){i.id||(i.id=`${SI}-${t}-${uC++}`)}class AI{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new He,this._typeaheadSubscription=C.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new He,this.change=new He,t instanceof Mc&&(this._itemChangesSubscription=t.changes.subscribe(e=>{if(this._activeItem){const r=e.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}))}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(ta(e=>this._pressedLetters.push(e)),Wb(t),qi(()=>this._pressedLetters.length>0),_t(()=>this._pressedLetters.join(""))).subscribe(e=>{const n=this._getItemsArray();for(let r=1;r<n.length+1;r++){const a=(this._activeItemIndex+r)%n.length,o=n[a];if(!this._skipPredicateFn(o)&&0===o.getLabel().toUpperCase().trim().indexOf(e)){this.setActiveItem(a);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(t=!0){return this._homeAndEnd=t,this}withPageUpDown(t=!0,e=10){return this._pageUpAndDown={enabled:t,delta:e},this}setActiveItem(t){const e=this._activeItem;this.updateActiveItem(t),this._activeItem!==e&&this.change.next(this._activeItemIndex)}onKeydown(t){const e=t.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(a=>!t[a]||this._allowedModifierKeys.indexOf(a)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&r){const a=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(a>0?a:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&r){const a=this._activeItemIndex+this._pageUpAndDown.delta,o=this._getItemsArray().length;this._setActiveItemByIndex(a<o?a:o-1,-1);break}return;default:return void((r||ba(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t);this._activeItem=e[n]??null,this._activeItemIndex=n}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let n=1;n<=e.length;n++){const r=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof Mc?this._items.toArray():this._items}}class II extends AI{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class Vg extends AI{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let Ph=(()=>{class i{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function rq(i){return!!(i.offsetWidth||i.offsetHeight||"function"==typeof i.getClientRects&&i.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const n=function nq(i){try{return i.frameElement}catch{return null}}(function hq(i){return i.ownerDocument&&i.ownerDocument.defaultView||window}(e));if(n&&(-1===NI(n)||!this.isVisible(n)))return!1;let r=e.nodeName.toLowerCase(),a=NI(e);return e.hasAttribute("contenteditable")?-1!==a:!("iframe"===r||"object"===r||this._platform.WEBKIT&&this._platform.IOS&&!function dq(i){let t=i.nodeName.toLowerCase(),e="input"===t&&i.type;return"text"===e||"password"===e||"select"===t||"textarea"===t}(e))&&("audio"===r?!!e.hasAttribute("controls")&&-1!==a:"video"===r?-1!==a&&(null!==a||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,n){return function uq(i){return!function oq(i){return function lq(i){return"input"==i.nodeName.toLowerCase()}(i)&&"hidden"==i.type}(i)&&(function aq(i){let t=i.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(i)||function sq(i){return function cq(i){return"a"==i.nodeName.toLowerCase()}(i)&&i.hasAttribute("href")}(i)||i.hasAttribute("contenteditable")||LI(i))}(e)&&!this.isDisabled(e)&&(n?.ignoreVisibility||this.isVisible(e))}}return i.\u0275fac=function(e){return new(e||i)(Fe(Bn))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function LI(i){if(!i.hasAttribute("tabindex")||void 0===i.tabIndex)return!1;let t=i.getAttribute("tabindex");return!(!t||isNaN(parseInt(t,10)))}function NI(i){if(!LI(i))return null;const t=parseInt(i.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}class mq{get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}constructor(t,e,n,r,a=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,a||this.attachAnchors()}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){const e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const n=this._getFirstTabbableElement(e);return n?.focus(t),!!n}return e.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){const e=this._getRegionBoundary("start");return e&&e.focus(t),!!e}focusLastTabbableElement(t){const e=this._getRegionBoundary("end");return e&&e.focus(t),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;const e=t.children;for(let n=0;n<e.length;n++){const r=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(r)return r}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;const e=t.children;for(let n=e.length-1;n>=0;n--){const r=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(r)return r}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(nn(1)).subscribe(t)}}let Of=(()=>{class i{constructor(e,n,r){this._checker=e,this._ngZone=n,this._document=r}create(e,n=!1){return new mq(e,this._checker,this._ngZone,this._document,n)}}return i.\u0275fac=function(e){return new(e||i)(Fe(Ph),Fe(Rt),Fe(Mi))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function fC(i){return 0===i.buttons||0===i.offsetX&&0===i.offsetY}function pC(i){const t=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}const fq=new Ke("cdk-input-modality-detector-options"),pq={ignoreKeys:[18,17,224,91,16]},Rf=Dd({passive:!0,capture:!0});let gq=(()=>{class i{get mostRecentModality(){return this._modality.value}constructor(e,n,r,a){this._platform=e,this._mostRecentTarget=null,this._modality=new Hi(null),this._lastTouchMs=0,this._onKeydown=o=>{this._options?.ignoreKeys?.some(c=>c===o.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Md(o))},this._onMousedown=o=>{Date.now()-this._lastTouchMs<650||(this._modality.next(fC(o)?"keyboard":"mouse"),this._mostRecentTarget=Md(o))},this._onTouchstart=o=>{pC(o)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Md(o))},this._options={...pq,...a},this.modalityDetected=this._modality.pipe(lC(1)),this.modalityChanged=this.modalityDetected.pipe(Bg()),e.isBrowser&&n.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,Rf),r.addEventListener("mousedown",this._onMousedown,Rf),r.addEventListener("touchstart",this._onTouchstart,Rf)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Rf),document.removeEventListener("mousedown",this._onMousedown,Rf),document.removeEventListener("touchstart",this._onTouchstart,Rf))}}return i.\u0275fac=function(e){return new(e||i)(Fe(Bn),Fe(Rt),Fe(Mi),Fe(fq,8))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const _q=new Ke("liveAnnouncerElement",{providedIn:"root",factory:function bq(){return null}}),yq=new Ke("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let vq=0,gC=(()=>{class i{constructor(e,n,r,a){this._ngZone=n,this._defaultOptions=a,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...n){const r=this._defaultOptions;let a,o;return 1===n.length&&"number"==typeof n[0]?o=n[0]:[a,o]=n,this.clear(),clearTimeout(this._previousTimeout),a||(a=r&&r.politeness?r.politeness:"polite"),null==o&&r&&(o=r.duration),this._liveElement.setAttribute("aria-live",a),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(c=>this._currentResolve=c)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof o&&(this._previousTimeout=setTimeout(()=>this.clear(),o)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",n=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let a=0;a<n.length;a++)n[a].remove();return r.classList.add(e),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id="cdk-live-announcer-"+vq++,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(e){const n=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<n.length;r++){const a=n[r],o=a.getAttribute("aria-owns");o?-1===o.indexOf(e)&&a.setAttribute("aria-owns",o+" "+e):a.setAttribute("aria-owns",e)}}}return i.\u0275fac=function(e){return new(e||i)(Fe(_q,8),Fe(Rt),Fe(Mi),Fe(yq,8))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const wq=new Ke("cdk-focus-monitor-default-options"),Kb=Dd({passive:!0,capture:!0});let Ka=(()=>{class i{constructor(e,n,r,a,o){this._ngZone=e,this._platform=n,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new He,this._rootNodeFocusAndBlurListener=c=>{for(let f=Md(c);f;f=f.parentElement)"focus"===c.type?this._onFocus(c,f):this._onBlur(c,f)},this._document=a,this._detectionMode=o?.detectionMode||0}monitor(e,n=!1){const r=Ed(e);if(!this._platform.isBrowser||1!==r.nodeType)return Ht(null);const a=function wG(i){if(function vG(){if(null==tC){const i=typeof document<"u"?document.head:null;tC=!(!i||!i.createShadowRoot&&!i.attachShadow)}return tC}()){const t=i.getRootNode?i.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}(r)||this._getDocument(),o=this._elementInfo.get(r);if(o)return n&&(o.checkChildren=!0),o.subject;const c={checkChildren:n,subject:new He,rootNode:a};return this._elementInfo.set(r,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(e){const n=Ed(e),r=this._elementInfo.get(n);r&&(r.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(r))}focusVia(e,n,r){const a=Ed(e);a===this._getDocument().activeElement?this._getClosestElementsInfo(a).forEach(([c,h])=>this._originChanged(c,n,h)):(this._setOrigin(n),"function"==typeof a.focus&&a.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,n)=>this.stopMonitoring(n))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,n){e.classList.toggle("cdk-focused",!!n),e.classList.toggle("cdk-touch-focused","touch"===n),e.classList.toggle("cdk-keyboard-focused","keyboard"===n),e.classList.toggle("cdk-mouse-focused","mouse"===n),e.classList.toggle("cdk-program-focused","program"===n)}_setOrigin(e,n=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&n,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,n){const r=this._elementInfo.get(n),a=Md(e);!r||!r.checkChildren&&n!==a||this._originChanged(n,this._getFocusOrigin(a),r)}_onBlur(e,n){const r=this._elementInfo.get(n);!r||r.checkChildren&&e.relatedTarget instanceof Node&&n.contains(e.relatedTarget)||(this._setClasses(n),this._emitOrigin(r,null))}_emitOrigin(e,n){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(n))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const n=e.rootNode,r=this._rootNodeFocusListenerCount.get(n)||0;r||this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",this._rootNodeFocusAndBlurListener,Kb),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,Kb)}),this._rootNodeFocusListenerCount.set(n,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(ii(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(e){const n=e.rootNode;if(this._rootNodeFocusListenerCount.has(n)){const r=this._rootNodeFocusListenerCount.get(n);r>1?this._rootNodeFocusListenerCount.set(n,r-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Kb),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Kb),this._rootNodeFocusListenerCount.delete(n))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,n,r){this._setClasses(e,n),this._emitOrigin(r,n),this._lastFocusOrigin=n}_getClosestElementsInfo(e){const n=[];return this._elementInfo.forEach((r,a)=>{(a===e||r.checkChildren&&a.contains(e))&&n.push([a,r])}),n}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:n,mostRecentModality:r}=this._inputModalityDetector;if("mouse"!==r||!n||n===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const a=e.labels;if(a)for(let o=0;o<a.length;o++)if(a[o].contains(n))return!0;return!1}}return i.\u0275fac=function(e){return new(e||i)(Fe(Rt),Fe(Bn),Fe(gq),Fe(Mi,8),Fe(wq,8))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Fq=(()=>{class i{constructor(e,n){this._elementRef=e,this._focusMonitor=n,this._focusOrigin=null,this.cdkFocusChange=new lt}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(n=>{this._focusOrigin=n,this.cdkFocusChange.emit(n)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Ka))},i.\u0275dir=Oe({type:i,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),i})();const RI="cdk-high-contrast-black-on-white",PI="cdk-high-contrast-white-on-black",_C="cdk-high-contrast-active";let BI=(()=>{class i{constructor(e,n){this._platform=e,this._document=n,this._breakpointSubscription=ei(Td).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const n=this._document.defaultView||window,r=n&&n.getComputedStyle?n.getComputedStyle(e):null,a=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),a){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(_C,RI,PI),this._hasCheckedHighContrastMode=!0;const n=this.getHighContrastMode();1===n?e.add(_C,RI):2===n&&e.add(_C,PI)}}}return i.\u0275fac=function(e){return new(e||i)(Fe(Bn),Fe(Mi))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Pf=(()=>{class i{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return i.\u0275fac=function(e){return new(e||i)(Fe(BI))},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Hg]}),i})();const xq=["addListener","removeListener"],Cq=["addEventListener","removeEventListener"],kq=["on","off"];function Ss(i,t,e,n){if(T(e)&&(n=e,e=void 0),n)return Ss(i,t,e).pipe(cC(n));const[r,a]=function Eq(i){return T(i.addEventListener)&&T(i.removeEventListener)}(i)?Cq.map(o=>c=>i[o](t,c,e)):function Dq(i){return T(i.addListener)&&T(i.removeListener)}(i)?xq.map(HI(i,t)):function Mq(i){return T(i.on)&&T(i.off)}(i)?kq.map(HI(i,t)):[];if(!r&&pa(i))return vi(o=>Ss(o,t,e))(sn(i));if(!r)throw new TypeError("Invalid event target");return new mt(o=>{const c=(...h)=>o.next(1<h.length?h:h[0]);return r(c),()=>a(c)})}function HI(i,t){return e=>n=>i[e](t,n)}const Yg={schedule(i){let t=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:n}=Yg;n&&(t=n.requestAnimationFrame,e=n.cancelAnimationFrame);const r=t(a=>{e=void 0,i(a)});return new C(()=>e?.(r))},requestAnimationFrame(...i){const{delegate:t}=Yg;return(t?.requestAnimationFrame||requestAnimationFrame)(...i)},cancelAnimationFrame(...i){const{delegate:t}=Yg;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...i)},delegate:void 0},Aq=new class Tq extends sC{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:n}=this;let r;t=t||n.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=n[0])&&t.id===e&&n.shift());if(this._active=!1,r){for(;(t=n[0])&&t.id===e&&n.shift();)t.unsubscribe();throw r}}}(class Sq extends aC{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t._scheduled||(t._scheduled=Yg.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,e,n=0){var r;if(null!=n?n>0:this.delay>0)return super.recycleAsyncId(t,e,n);const{actions:a}=t;null!=e&&(null===(r=a[a.length-1])||void 0===r?void 0:r.id)!==e&&(Yg.cancelAnimationFrame(e),t._scheduled=void 0)}});let bC,Iq=1;const Qb={};function VI(i){return i in Qb&&(delete Qb[i],!0)}const Lq={setImmediate(i){const t=Iq++;return Qb[t]=!0,bC||(bC=Promise.resolve()),bC.then(()=>VI(t)&&i()),t},clearImmediate(i){VI(i)}},{setImmediate:Nq,clearImmediate:Oq}=Lq,Zb={setImmediate(...i){const{delegate:t}=Zb;return(t?.setImmediate||Nq)(...i)},clearImmediate(i){const{delegate:t}=Zb;return(t?.clearImmediate||Oq)(i)},delegate:void 0},yC=new class Pq extends sC{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:n}=this;let r;t=t||n.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=n[0])&&t.id===e&&n.shift());if(this._active=!1,r){for(;(t=n[0])&&t.id===e&&n.shift();)t.unsubscribe();throw r}}}(class Rq extends aC{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t._scheduled||(t._scheduled=Zb.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,e,n=0){var r;if(null!=n?n>0:this.delay>0)return super.recycleAsyncId(t,e,n);const{actions:a}=t;null!=e&&(null===(r=a[a.length-1])||void 0===r?void 0:r.id)!==e&&(Zb.clearImmediate(e),t._scheduled=void 0)}});function YI(i){return i instanceof Date&&!isNaN(i)}function jg(i=0,t,e=PG){let n=-1;return null!=t&&(Xr(t)?e=t:n=t),new mt(r=>{let a=YI(i)?+i-e.now():i;a<0&&(a=0);let o=0;return e.schedule(function(){r.closed||(r.next(o++),0<=n?this.schedule(void 0,n):r.complete())},a)})}function vC(i,t=If){return function Bq(i){return Jt((t,e)=>{let n=!1,r=null,a=null,o=!1;const c=()=>{if(a?.unsubscribe(),a=null,n){n=!1;const f=r;r=null,e.next(f)}o&&e.complete()},h=()=>{a=null,o&&e.complete()};t.subscribe(Ut(e,f=>{n=!0,r=f,a||sn(i(f)).subscribe(a=Ut(e,c,h))},()=>{o=!0,(!n||!a||a.closed)&&e.complete()}))})}(()=>jg(i,t))}const Hq=new Ke("cdk-dir-doc",{providedIn:"root",factory:function Vq(){return ei(Mi)}}),Yq=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function jI(i){const t=i?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?Yq.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}let Or=(()=>{class i{constructor(e){this.value="ltr",this.change=new lt,e&&(this.value=jI((e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return i.\u0275fac=function(e){return new(e||i)(Fe(Hq,8))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),jq=(()=>{class i{constructor(){this._dir="ltr",this._isInitialized=!1,this.change=new lt}get dir(){return this._dir}set dir(e){const n=this._dir;this._dir=jI(e),this._rawDir=e,n!==this._dir&&this._isInitialized&&this.change.emit(this._dir)}get value(){return this.dir}ngAfterContentInit(){this._isInitialized=!0}ngOnDestroy(){this.change.complete()}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","dir",""]],hostVars:1,hostBindings:function(e,n){2&e&&It("dir",n._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],features:[Nt([{provide:Or,useExisting:i}])]}),i})(),Bf=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})();const zq=["contentWrapper"],Uq=["*"],Wq=new Ke("VIRTUAL_SCROLL_STRATEGY");let Cu=(()=>{class i{constructor(e,n,r){this._ngZone=e,this._platform=n,this._scrolled=new He,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const n=this.scrollContainers.get(e);n&&(n.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new mt(n=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(vC(e)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Ht()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(e,n){const r=this.getAncestorScrollContainers(e);return this.scrolled(n).pipe(qi(a=>!a||r.indexOf(a)>-1))}getAncestorScrollContainers(e){const n=[];return this.scrollContainers.forEach((r,a)=>{this._scrollableContainsElement(a,e)&&n.push(a)}),n}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,n){let r=Ed(n),a=e.getElementRef().nativeElement;do{if(r==a)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Ss(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return i.\u0275fac=function(e){return new(e||i)(Fe(Rt),Fe(Bn),Fe(Mi,8))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Bh=(()=>{class i{constructor(e,n,r,a){this.elementRef=e,this.scrollDispatcher=n,this.ngZone=r,this.dir=a,this._destroyed=new He,this._elementScrolled=new mt(o=>this.ngZone.runOutsideAngular(()=>Ss(this.elementRef.nativeElement,"scroll").pipe(ii(this._destroyed)).subscribe(o)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const n=this.elementRef.nativeElement,r=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=r?e.end:e.start),null==e.right&&(e.right=r?e.start:e.end),null!=e.bottom&&(e.top=n.scrollHeight-n.clientHeight-e.bottom),r&&0!=Rg()?(null!=e.left&&(e.right=n.scrollWidth-n.clientWidth-e.left),2==Rg()?e.left=e.right:1==Rg()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=n.scrollWidth-n.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const n=this.elementRef.nativeElement;wI()?n.scrollTo(e):(null!=e.top&&(n.scrollTop=e.top),null!=e.left&&(n.scrollLeft=e.left))}measureScrollOffset(e){const n="left",r="right",a=this.elementRef.nativeElement;if("top"==e)return a.scrollTop;if("bottom"==e)return a.scrollHeight-a.clientHeight-a.scrollTop;const o=this.dir&&"rtl"==this.dir.value;return"start"==e?e=o?r:n:"end"==e&&(e=o?n:r),o&&2==Rg()?e==n?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft:o&&1==Rg()?e==n?a.scrollLeft+a.scrollWidth-a.clientWidth:-a.scrollLeft:e==n?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Cu),k(Rt),k(Or,8))},i.\u0275dir=Oe({type:i,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),i})(),wl=(()=>{class i{constructor(e,n,r){this._platform=e,this._change=new He,this._changeListener=a=>{this._change.next(a)},this._document=r,n.runOutsideAngular(()=>{if(e.isBrowser){const a=this._getWindow();a.addEventListener("resize",this._changeListener),a.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:n,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+n,height:r,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,n=this._getWindow(),r=e.documentElement,a=r.getBoundingClientRect();return{top:-a.top||e.body.scrollTop||n.scrollY||r.scrollTop||0,left:-a.left||e.body.scrollLeft||n.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(vC(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return i.\u0275fac=function(e){return new(e||i)(Fe(Bn),Fe(Rt),Fe(Mi,8))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const zI=new Ke("VIRTUAL_SCROLLABLE");let $q=(()=>{class i extends Bh{constructor(e,n,r,a){super(e,n,r,a)}measureViewportSize(e){const n=this.elementRef.nativeElement;return"horizontal"===e?n.clientWidth:n.clientHeight}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Cu),k(Rt),k(Or,8))},i.\u0275dir=Oe({type:i,features:[ot]}),i})();const Qq=typeof requestAnimationFrame<"u"?Aq:yC;let Zq=(()=>{class i extends $q{get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(e){this._appendOnly=Ct(e)}constructor(e,n,r,a,o,c,h,f){super(e,c,r,o),this.elementRef=e,this._changeDetectorRef=n,this._scrollStrategy=a,this.scrollable=f,this._platform=ei(Bn),this._detachedSubject=new He,this._renderedRangeSubject=new He,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new mt(x=>this._scrollStrategy.scrolledIndexChange.subscribe(P=>Promise.resolve().then(()=>this.ngZone.run(()=>x.next(P))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=C.EMPTY,this._viewportChanges=h.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(jr(null),vC(0,Qq)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(e){this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(ii(this._detachedSubject)).subscribe(n=>{const r=n.length;r!==this._dataLength&&(this._dataLength=r,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(e){(function Kq(i,t){return i.start==t.start&&i.end==t.end})(this._renderedRange,e)||(this.appendOnly&&(e={start:0,end:Math.max(this._renderedRange.end,e.end)}),this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,n="to-start"){e=this.appendOnly&&"to-start"===n?0:e;const a="horizontal"==this.orientation,o=a?"X":"Y";let h=`translate${o}(${Number((a&&this.dir&&"rtl"==this.dir.value?-1:1)*e)}px)`;this._renderedContentOffset=e,"to-end"===n&&(h+=` translate${o}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=h&&(this._renderedContentTransform=h,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,n="auto"){const r={behavior:n};"horizontal"===this.orientation?r.start=e:r.top=e,this.scrollable.scrollTo(r)}scrollToIndex(e,n="auto"){this._scrollStrategy.scrollToIndex(e,n)}measureScrollOffset(e){let n;return n=this.scrollable==this?r=>super.measureScrollOffset(r):r=>this.scrollable.measureScrollOffset(r),Math.max(0,n(e??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let n;const r="left",a="right",o="rtl"==this.dir?.value;n="start"==e?o?a:r:"end"==e?o?r:a:e||("horizontal"===this.orientation?"left":"top");const c=this.scrollable.measureBoundingClientRectWithScrollOffset(n);return this.elementRef.nativeElement.getBoundingClientRect()[n]-c}measureRenderedContentSize(){const e=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const n of e)n()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(ni),k(Rt),k(Wq,8),k(Or,8),k(Cu),k(wl),k(zI,8))},i.\u0275cmp=qe({type:i,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(e,n){if(1&e&&Lt(zq,7),2&e){let r;Ze(r=Xe())&&(n._contentWrapper=r.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(e,n){2&e&&Mt("cdk-virtual-scroll-orientation-horizontal","horizontal"===n.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==n.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[Nt([{provide:Bh,useFactory:(t,e)=>t||e,deps:[[new Cs,new P1(zI)],i]}]),ot,ZF],ngContentSelectors:Uq,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(e,n){1&e&&(Bi(),_(0,"div",0,1),Ft(2),F(),Ce(3,"div",2)),2&e&&(E(3),sr("width",n._totalContentWidth)("height",n._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}),i})(),Lc=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})(),Xb=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Bf,Lc,Zq,Bf,Lc]}),i})();class wC{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class Hh extends wC{constructor(t,e,n,r,a){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=r,this.projectableNodes=a}}class Ad extends wC{constructor(t,e,n,r){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n,this.injector=r}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class Xq extends wC{constructor(t){super(),this.element=t instanceof gt?t.nativeElement:t}}class Jb{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof Hh?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Ad?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof Xq?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Jq extends Jb{constructor(t,e,n,r,a){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=r,this.attachDomPortal=o=>{const c=o.element,h=this._document.createComment("dom-portal");c.parentNode.insertBefore(h,c),this.outletElement.appendChild(c),this._attachedPortal=o,super.setDisposeFn(()=>{h.parentNode&&h.parentNode.replaceChild(c,h)})},this._document=a}attachComponentPortal(t){const n=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let r;return t.viewContainerRef?(r=t.viewContainerRef.createComponent(n,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=n.create(t.injector||this._defaultInjector||Wr.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=t,r}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return n.rootNodes.forEach(r=>this.outletElement.appendChild(r)),n.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(n);-1!==r&&e.remove(r)}),this._attachedPortal=t,n}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let e$=(()=>{class i extends Ad{constructor(e,n){super(e,n)}}return i.\u0275fac=function(e){return new(e||i)(k(vr),k(kr))},i.\u0275dir=Oe({type:i,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[ot]}),i})(),Xl=(()=>{class i extends Jb{constructor(e,n,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=n,this._isInitialized=!1,this.attached=new lt,this.attachDomPortal=a=>{const o=a.element,c=this._document.createComment("dom-portal");a.setAttachedHost(this),o.parentNode.insertBefore(c,o),this._getRootNode().appendChild(o),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(o,c)})},this._document=r}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);const n=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,a=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),o=n.createComponent(a,n.length,e.injector||n.injector,e.projectableNodes||void 0);return n!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=e,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(e){e.setAttachedHost(this);const n=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=n,this.attached.emit(n),n}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return i.\u0275fac=function(e){return new(e||i)(k(pd),k(kr),k(Mi))},i.\u0275dir=Oe({type:i,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[ot]}),i})(),Fl=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})();function UI(i,t=!1){return Jt((e,n)=>{let r=0;e.subscribe(Ut(n,a=>{const o=i(a,r++);(o||t)&&n.next(a),!o&&n.complete()}))})}const WI=wI();class t${constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=$a(-this._previousScrollPosition.left),t.style.top=$a(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,n=t.style,r=this._document.body.style,a=n.scrollBehavior||"",o=r.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),WI&&(n.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),WI&&(n.scrollBehavior=a,r.scrollBehavior=o)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,n=this._viewportRuler.getViewportSize();return e.scrollHeight>n.height||e.scrollWidth>n.width}}class i${constructor(t,e,n,r){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class GI{enable(){}disable(){}attach(){}}function FC(i,t){return t.some(e=>i.bottom<e.top||i.top>e.bottom||i.right<e.left||i.left>e.right)}function qI(i,t){return t.some(e=>i.top<e.top||i.bottom>e.bottom||i.left<e.left||i.right>e.right)}class n${constructor(t,e,n,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=r,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:n,height:r}=this._viewportRuler.getViewportSize();FC(e,[{width:n,height:r,bottom:r,right:n,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let r$=(()=>{class i{constructor(e,n,r,a){this._scrollDispatcher=e,this._viewportRuler=n,this._ngZone=r,this.noop=()=>new GI,this.close=o=>new i$(this._scrollDispatcher,this._ngZone,this._viewportRuler,o),this.block=()=>new t$(this._viewportRuler,this._document),this.reposition=o=>new n$(this._scrollDispatcher,this._viewportRuler,this._ngZone,o),this._document=a}}return i.\u0275fac=function(e){return new(e||i)(Fe(Cu),Fe(wl),Fe(Rt),Fe(Mi))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();class Hf{constructor(t){if(this.scrollStrategy=new GI,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const n of e)void 0!==t[n]&&(this[n]=t[n])}}}class a${constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let $I=(()=>{class i{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const n=this._attachedOverlays.indexOf(e);n>-1&&this._attachedOverlays.splice(n,1),0===this._attachedOverlays.length&&this.detach()}}return i.\u0275fac=function(e){return new(e||i)(Fe(Mi))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),o$=(()=>{class i extends $I{constructor(e,n){super(e),this._ngZone=n,this._keydownListener=r=>{const a=this._attachedOverlays;for(let o=a.length-1;o>-1;o--)if(a[o]._keydownEvents.observers.length>0){const c=a[o]._keydownEvents;this._ngZone?this._ngZone.run(()=>c.next(r)):c.next(r);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return i.\u0275fac=function(e){return new(e||i)(Fe(Mi),Fe(Rt,8))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),s$=(()=>{class i extends $I{constructor(e,n,r){super(e),this._platform=n,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=a=>{this._pointerDownEventTarget=Md(a)},this._clickListener=a=>{const o=Md(a),c="click"===a.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:o;this._pointerDownEventTarget=null;const h=this._attachedOverlays.slice();for(let f=h.length-1;f>-1;f--){const x=h[f];if(x._outsidePointerEvents.observers.length<1||!x.hasAttached())continue;if(x.overlayElement.contains(o)||x.overlayElement.contains(c))break;const P=x._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>P.next(a)):P.next(a)}}}add(e){if(super.add(e),!this._isAttached){const n=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(n)):this._addEventListeners(n),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return i.\u0275fac=function(e){return new(e||i)(Fe(Mi),Fe(Bn),Fe(Rt,8))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),zg=(()=>{class i{constructor(e,n){this._platform=n,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||iC()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let a=0;a<r.length;a++)r[a].remove()}const n=this._document.createElement("div");n.classList.add(e),iC()?n.setAttribute("platform","test"):this._platform.isBrowser||n.setAttribute("platform","server"),this._document.body.appendChild(n),this._containerElement=n}}return i.\u0275fac=function(e){return new(e||i)(Fe(Mi),Fe(Bn))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();class Vh{constructor(t,e,n,r,a,o,c,h,f,x=!1){this._portalOutlet=t,this._host=e,this._pane=n,this._config=r,this._ngZone=a,this._keyboardDispatcher=o,this._document=c,this._location=h,this._outsideClickDispatcher=f,this._animationsDisabled=x,this._backdropElement=null,this._backdropClick=new He,this._attachments=new He,this._detachments=new He,this._locationChanges=C.EMPTY,this._backdropClickHandler=P=>this._backdropClick.next(P),this._backdropTransitionendHandler=P=>{this._disposeBackdrop(P.target)},this._keydownEvents=new He,this._outsidePointerEvents=new He,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(nn(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=$a(this._config.width),t.height=$a(this._config.height),t.minWidth=$a(this._config.minWidth),t.minHeight=$a(this._config.minHeight),t.maxWidth=$a(this._config.maxWidth),t.maxHeight=$a(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,e,n){const r=Gb(e||[]).filter(a=>!!a);r.length&&(n?t.classList.add(...r):t.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(ii(Pn(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const KI="cdk-overlay-connected-position-bounding-box",l$=/([A-Za-z%]+)$/;class c${get positions(){return this._preferredPositions}constructor(t,e,n,r,a){this._viewportRuler=e,this._document=n,this._platform=r,this._overlayContainer=a,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new He,this._resizeSubscription=C.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._validatePositions(),t.hostElement.classList.add(KI),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,e=this._overlayRect,n=this._viewportRect,r=this._containerRect,a=[];let o;for(let c of this._preferredPositions){let h=this._getOriginPoint(t,r,c),f=this._getOverlayPoint(h,e,c),x=this._getOverlayFit(f,e,n,c);if(x.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(c,h);this._canFitWithFlexibleDimensions(x,f,n)?a.push({position:c,origin:h,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(h,c)}):(!o||o.overlayFit.visibleArea<x.visibleArea)&&(o={overlayFit:x,overlayPoint:f,originPoint:h,position:c,overlayRect:e})}if(a.length){let c=null,h=-1;for(const f of a){const x=f.boundingBoxRect.width*f.boundingBoxRect.height*(f.position.weight||1);x>h&&(h=x,c=f)}return this._isPushed=!1,void this._applyPosition(c.position,c.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(o.position,o.originPoint);this._applyPosition(o.position,o.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Yh(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(KI),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,n){let r,a;if("center"==n.originX)r=t.left+t.width/2;else{const o=this._isRtl()?t.right:t.left,c=this._isRtl()?t.left:t.right;r="start"==n.originX?o:c}return e.left<0&&(r-=e.left),a="center"==n.originY?t.top+t.height/2:"top"==n.originY?t.top:t.bottom,e.top<0&&(a-=e.top),{x:r,y:a}}_getOverlayPoint(t,e,n){let r,a;return r="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,a="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+r,y:t.y+a}}_getOverlayFit(t,e,n,r){const a=ZI(e);let{x:o,y:c}=t,h=this._getOffset(r,"x"),f=this._getOffset(r,"y");h&&(o+=h),f&&(c+=f);let $=0-c,te=c+a.height-n.height,fe=this._subtractOverflows(a.width,0-o,o+a.width-n.width),ye=this._subtractOverflows(a.height,$,te),Ie=fe*ye;return{visibleArea:Ie,isCompletelyWithinViewport:a.width*a.height===Ie,fitsInViewportVertically:ye===a.height,fitsInViewportHorizontally:fe==a.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const r=n.bottom-e.y,a=n.right-e.x,o=QI(this._overlayRef.getConfig().minHeight),c=QI(this._overlayRef.getConfig().minWidth);return(t.fitsInViewportVertically||null!=o&&o<=r)&&(t.fitsInViewportHorizontally||null!=c&&c<=a)}return!1}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const r=ZI(e),a=this._viewportRect,o=Math.max(t.x+r.width-a.width,0),c=Math.max(t.y+r.height-a.height,0),h=Math.max(a.top-n.top-t.y,0),f=Math.max(a.left-n.left-t.x,0);let x=0,P=0;return x=r.width<=a.width?f||-o:t.x<this._viewportMargin?a.left-n.left-t.x:0,P=r.height<=a.height?h||-c:t.y<this._viewportMargin?a.top-n.top-t.y:0,this._previousPushAmount={x,y:P},{x:t.x+x,y:t.y+P}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const n=this._getScrollVisibility(),r=new a$(t,n);this._positionChanges.next(r)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let n,r=t.overlayY;n="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let a=0;a<e.length;a++)e[a].style.transformOrigin=`${n} ${r}`}_calculateBoundingBoxRect(t,e){const n=this._viewportRect,r=this._isRtl();let a,o,c,x,P,$;if("top"===e.overlayY)o=t.y,a=n.height-o+this._viewportMargin;else if("bottom"===e.overlayY)c=n.height-t.y+2*this._viewportMargin,a=n.height-c+this._viewportMargin;else{const te=Math.min(n.bottom-t.y+n.top,t.y),fe=this._lastBoundingBoxSize.height;a=2*te,o=t.y-te,a>fe&&!this._isInitialRender&&!this._growAfterOpen&&(o=t.y-fe/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)$=n.width-t.x+this._viewportMargin,x=t.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)P=t.x,x=n.right-t.x;else{const te=Math.min(n.right-t.x+n.left,t.x),fe=this._lastBoundingBoxSize.width;x=2*te,P=t.x-te,x>fe&&!this._isInitialRender&&!this._growAfterOpen&&(P=t.x-fe/2)}return{top:o,left:P,bottom:c,right:$,width:x,height:a}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const a=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;r.height=$a(n.height),r.top=$a(n.top),r.bottom=$a(n.bottom),r.width=$a(n.width),r.left=$a(n.left),r.right=$a(n.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",a&&(r.maxHeight=$a(a)),o&&(r.maxWidth=$a(o))}this._lastBoundingBoxSize=n,Yh(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Yh(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Yh(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={},r=this._hasExactPosition(),a=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(r){const x=this._viewportRuler.getViewportScrollPosition();Yh(n,this._getExactOverlayY(e,t,x)),Yh(n,this._getExactOverlayX(e,t,x))}else n.position="static";let c="",h=this._getOffset(e,"x"),f=this._getOffset(e,"y");h&&(c+=`translateX(${h}px) `),f&&(c+=`translateY(${f}px)`),n.transform=c.trim(),o.maxHeight&&(r?n.maxHeight=$a(o.maxHeight):a&&(n.maxHeight="")),o.maxWidth&&(r?n.maxWidth=$a(o.maxWidth):a&&(n.maxWidth="")),Yh(this._pane.style,n)}_getExactOverlayY(t,e,n){let r={top:"",bottom:""},a=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,n)),"bottom"===t.overlayY?r.bottom=this._document.documentElement.clientHeight-(a.y+this._overlayRect.height)+"px":r.top=$a(a.y),r}_getExactOverlayX(t,e,n){let o,r={left:"",right:""},a=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,n)),o=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===o?r.right=this._document.documentElement.clientWidth-(a.x+this._overlayRect.width)+"px":r.left=$a(a.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:qI(t,n),isOriginOutsideView:FC(t,n),isOverlayClipped:qI(e,n),isOverlayOutsideView:FC(e,n)}}_subtractOverflows(t,...e){return e.reduce((n,r)=>n-Math.max(r,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&Gb(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof gt)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}function Yh(i,t){for(let e in t)t.hasOwnProperty(e)&&(i[e]=t[e]);return i}function QI(i){if("number"!=typeof i&&null!=i){const[t,e]=i.split(l$);return e&&"px"!==e?null:parseFloat(t)}return i||null}function ZI(i){return{top:Math.floor(i.top),right:Math.floor(i.right),bottom:Math.floor(i.bottom),left:Math.floor(i.left),width:Math.floor(i.width),height:Math.floor(i.height)}}const XI="cdk-global-overlay-wrapper";class d${constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(XI),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:r,height:a,maxWidth:o,maxHeight:c}=n,h=!("100%"!==r&&"100vw"!==r||o&&"100%"!==o&&"100vw"!==o),f=!("100%"!==a&&"100vh"!==a||c&&"100%"!==c&&"100vh"!==c),x=this._xPosition,P=this._xOffset,$="rtl"===this._overlayRef.getConfig().direction;let te="",fe="",ye="";h?ye="flex-start":"center"===x?(ye="center",$?fe=P:te=P):$?"left"===x||"end"===x?(ye="flex-end",te=P):("right"===x||"start"===x)&&(ye="flex-start",fe=P):"left"===x||"start"===x?(ye="flex-start",te=P):("right"===x||"end"===x)&&(ye="flex-end",fe=P),t.position=this._cssPosition,t.marginLeft=h?"0":te,t.marginTop=f?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=h?"0":fe,e.justifyContent=ye,e.alignItems=f?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove(XI),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let u$=(()=>{class i{constructor(e,n,r,a){this._viewportRuler=e,this._document=n,this._platform=r,this._overlayContainer=a}global(){return new d$}flexibleConnectedTo(e){return new c$(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return i.\u0275fac=function(e){return new(e||i)(Fe(wl),Fe(Mi),Fe(Bn),Fe(zg))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),h$=0,ya=(()=>{class i{constructor(e,n,r,a,o,c,h,f,x,P,$,te){this.scrollStrategies=e,this._overlayContainer=n,this._componentFactoryResolver=r,this._positionBuilder=a,this._keyboardDispatcher=o,this._injector=c,this._ngZone=h,this._document=f,this._directionality=x,this._location=P,this._outsideClickDispatcher=$,this._animationsModuleType=te}create(e){const n=this._createHostElement(),r=this._createPaneElement(n),a=this._createPortalOutlet(r),o=new Hf(e);return o.direction=o.direction||this._directionality.value,new Vh(a,n,r,o,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const n=this._document.createElement("div");return n.id="cdk-overlay-"+h$++,n.classList.add("cdk-overlay-pane"),e.appendChild(n),n}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(wd)),new Jq(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return i.\u0275fac=function(e){return new(e||i)(Fe(r$),Fe(zg),Fe(pd),Fe(u$),Fe(o$),Fe(Wr),Fe(Rt),Fe(Mi),Fe(Or),Fe(Tc),Fe(s$),Fe(Ln,8))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const m$=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],JI=new Ke("cdk-connected-overlay-scroll-strategy");let xC=(()=>{class i{constructor(e){this.elementRef=e}}return i.\u0275fac=function(e){return new(e||i)(k(gt))},i.\u0275dir=Oe({type:i,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),i})(),e6=(()=>{class i{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Ct(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=Ct(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=Ct(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=Ct(e)}get push(){return this._push}set push(e){this._push=Ct(e)}constructor(e,n,r,a,o){this._overlay=e,this._dir=o,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=C.EMPTY,this._attachSubscription=C.EMPTY,this._detachSubscription=C.EMPTY,this._positionSubscription=C.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new lt,this.positionChange=new lt,this.attach=new lt,this.detach=new lt,this.overlayKeydown=new lt,this.overlayOutsideClick=new lt,this._templatePortal=new Ad(n,r),this._scrollStrategyFactory=a,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=m$);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(n=>{this.overlayKeydown.next(n),27===n.keyCode&&!this.disableClose&&!ba(n)&&(n.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(n=>{this.overlayOutsideClick.next(n)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),n=new Hf({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(n.width=this.width),(this.height||0===this.height)&&(n.height=this.height),(this.minWidth||0===this.minWidth)&&(n.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(n.minHeight=this.minHeight),this.backdropClass&&(n.backdropClass=this.backdropClass),this.panelClass&&(n.panelClass=this.panelClass),n}_updatePositionStrategy(e){const n=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof xC?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(UI(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return i.\u0275fac=function(e){return new(e||i)(k(ya),k(vr),k(kr),k(JI),k(Or,8))},i.\u0275dir=Oe({type:i,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[or]}),i})();const p$={provide:JI,deps:[ya],useFactory:function f$(i){return()=>i.scrollStrategies.reposition()}};let Nc=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[ya,p$],imports:[Bf,Fl,Xb,Xb]}),i})();function Oc(i){return new mt(t=>{sn(i()).subscribe(t)})}function g$(i,t){}class Ug{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let CC=(()=>{class i extends Jb{constructor(e,n,r,a,o,c,h,f){super(),this._elementRef=e,this._focusTrapFactory=n,this._config=a,this._interactivityChecker=o,this._ngZone=c,this._overlayRef=h,this._focusMonitor=f,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=x=>{this._portalOutlet.hasAttached();const P=this._portalOutlet.attachDomPortal(x);return this._contentAttached(),P},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=r}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();const n=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),n}attachTemplatePortal(e){this._portalOutlet.hasAttached();const n=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),n}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,n){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(n)}_focusByCssSelector(e,n){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,n)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(n=>{n||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._config.restoreFocus;let n=null;if("string"==typeof e?n=this._document.querySelector(e):"boolean"==typeof e?n=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(n=e),this._config.restoreFocus&&n&&"function"==typeof n.focus){const r=Vb(),a=this._elementRef.nativeElement;(!r||r===this._document.body||r===a||a.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(n,this._closeInteractionType),this._closeInteractionType=null):n.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,n=Vb();return e===n||e.contains(n)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Vb())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Of),k(Mi,8),k(Ug),k(Ph),k(Rt),k(Vh),k(Ka))},i.\u0275cmp=qe({type:i,selectors:[["cdk-dialog-container"]],viewQuery:function(e,n){if(1&e&&Lt(Xl,7),2&e){let r;Ze(r=Xe())&&(n._portalOutlet=r.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(e,n){2&e&&It("id",n._config.id||null)("role",n._config.role)("aria-modal",n._config.ariaModal)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledBy)("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null)},features:[ot],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,n){1&e&&ee(0,g$,0,0,"ng-template",0)},dependencies:[Xl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),i})();class kC{constructor(t,e){this.overlayRef=t,this.config=e,this.closed=new He,this.disableClose=e.disableClose,this.backdropClick=t.backdropClick(),this.keydownEvents=t.keydownEvents(),this.outsidePointerEvents=t.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(n=>{27===n.keyCode&&!this.disableClose&&!ba(n)&&(n.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=t.detachments().subscribe(()=>{!1!==e.closeOnOverlayDetachments&&this.close()})}close(t,e){if(this.containerInstance){const n=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),n.next(t),n.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(t="",e=""){return this.overlayRef.updateSize({width:t,height:e}),this}addPanelClass(t){return this.overlayRef.addPanelClass(t),this}removePanelClass(t){return this.overlayRef.removePanelClass(t),this}}const t6=new Ke("DialogScrollStrategy"),_$=new Ke("DialogData"),b$=new Ke("DefaultDialogConfig"),v$={provide:t6,deps:[ya],useFactory:function y$(i){return()=>i.scrollStrategies.block()}};let w$=0,DC=(()=>{class i{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,n,r,a,o,c){this._overlay=e,this._injector=n,this._defaultOptions=r,this._parentDialog=a,this._overlayContainer=o,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new He,this._afterOpenedAtThisLevel=new He,this._ariaHiddenElements=new Map,this.afterAllClosed=Oc(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(jr(void 0))),this._scrollStrategy=c}open(e,n){(n={...this._defaultOptions||new Ug,...n}).id=n.id||"cdk-dialog-"+w$++,n.id&&this.getDialogById(n.id);const a=this._getOverlayConfig(n),o=this._overlay.create(a),c=new kC(o,n),h=this._attachContainer(o,c,n);return c.containerInstance=h,this._attachDialogContent(e,c,h,n),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(c),c.closed.subscribe(()=>this._removeOpenDialog(c,!0)),this.afterOpened.next(c),c}closeAll(){MC(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(n=>n.id===e)}ngOnDestroy(){MC(this._openDialogsAtThisLevel,e=>{!1===e.config.closeOnDestroy&&this._removeOpenDialog(e,!1)}),MC(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){const n=new Hf({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(n.backdropClass=e.backdropClass),n}_attachContainer(e,n,r){const a=r.injector||r.viewContainerRef?.injector,o=[{provide:Ug,useValue:r},{provide:kC,useValue:n},{provide:Vh,useValue:e}];let c;r.container?"function"==typeof r.container?c=r.container:(c=r.container.type,o.push(...r.container.providers(r))):c=CC;const h=new Hh(c,r.viewContainerRef,Wr.create({parent:a||this._injector,providers:o}),r.componentFactoryResolver);return e.attach(h).instance}_attachDialogContent(e,n,r,a){if(e instanceof vr){const o=this._createInjector(a,n,r,void 0);let c={$implicit:a.data,dialogRef:n};a.templateContext&&(c={...c,..."function"==typeof a.templateContext?a.templateContext():a.templateContext}),r.attachTemplatePortal(new Ad(e,null,c,o))}else{const o=this._createInjector(a,n,r,this._injector),c=r.attachComponentPortal(new Hh(e,a.viewContainerRef,o,a.componentFactoryResolver));n.componentInstance=c.instance}}_createInjector(e,n,r,a){const o=e.injector||e.viewContainerRef?.injector,c=[{provide:_$,useValue:e.data},{provide:kC,useValue:n}];return e.providers&&("function"==typeof e.providers?c.push(...e.providers(n,e,r)):c.push(...e.providers)),e.direction&&(!o||!o.get(Or,null,{optional:!0}))&&c.push({provide:Or,useValue:{value:e.direction,change:Ht()}}),Wr.create({parent:o||a,providers:c})}_removeOpenDialog(e,n){const r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((a,o)=>{a?o.setAttribute("aria-hidden",a):o.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),n&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const n=e.parentElement.children;for(let r=n.length-1;r>-1;r--){const a=n[r];a!==e&&"SCRIPT"!==a.nodeName&&"STYLE"!==a.nodeName&&!a.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(a,a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return i.\u0275fac=function(e){return new(e||i)(Fe(ya),Fe(Wr),Fe(b$,8),Fe(i,12),Fe(zg),Fe(t6))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})();function MC(i,t){let e=i.length;for(;e--;)t(i[e])}let EC=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[DC,v$],imports:[Nc,Fl,Pf,Fl]}),i})();const F$=["text"];function x$(i,t){if(1&i&&Ce(0,"mat-pseudo-checkbox",6),2&i){const e=Q();S("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function C$(i,t){1&i&&Ce(0,"mat-pseudo-checkbox",7),2&i&&S("disabled",Q().disabled)}function k$(i,t){if(1&i&&(_(0,"span",8),N(1),F()),2&i){const e=Q();E(1),Gt("(",e.group.label,")")}}const D$=[[["mat-icon"]],"*"],M$=["mat-icon","*"];let a6=(()=>{class i{}return i.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",i.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",i.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",i.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",i})(),o6=(()=>{class i{}return i.COMPLEX="375ms",i.ENTERING="225ms",i.EXITING="195ms",i})();const S$=new Ke("mat-sanity-checks",{providedIn:"root",factory:function E$(){return!0}});let Qt=(()=>{class i{constructor(e,n,r){this._sanityChecks=n,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!iC()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return i.\u0275fac=function(e){return new(e||i)(Fe(BI),Fe(S$,8),Fe(Mi))},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Bf,Bf]}),i})();function Jl(i){return class extends i{get disabled(){return this._disabled}set disabled(t){this._disabled=Ct(t)}constructor(...t){super(...t),this._disabled=!1}}}function ec(i,t){return class extends i{get color(){return this._color}set color(e){const n=e||this.defaultColor;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),n&&this._elementRef.nativeElement.classList.add(`mat-${n}`),this._color=n)}constructor(...e){super(...e),this.defaultColor=t,this.color=t}}}function xl(i){return class extends i{get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Ct(t)}constructor(...t){super(...t),this._disableRipple=!1}}}function Rc(i,t=0){return class extends i{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?wr(e):this.defaultTabIndex}constructor(...e){super(...e),this._tabIndex=t,this.defaultTabIndex=t}}}function SC(i){return class extends i{updateErrorState(){const t=this.errorState,a=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);a!==t&&(this.errorState=a,this.stateChanges.next())}constructor(...t){super(...t),this.errorState=!1}}}const T$=new Ke("MAT_DATE_LOCALE",{providedIn:"root",factory:function A$(){return ei(Sc)}});class Id{constructor(){this._localeChanges=new He,this.localeChanges=this._localeChanges}getValidDateOrNull(t){return this.isDateInstance(t)&&this.isValid(t)?t:null}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let n=this.isValid(t),r=this.isValid(e);return n&&r?!this.compareDate(t,e):n==r}return t==e}clampDate(t,e,n){return e&&this.compareDate(t,e)<0?e:n&&this.compareDate(t,n)>0?n:t}}let Vf=(()=>{class i{isErrorState(e,n){return!!(e&&e.invalid&&(e.touched||n&&n.submitted))}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),TC=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),i})(),l6=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Qt,Qt]}),i})();class I${constructor(t,e,n,r=!1){this._renderer=t,this.element=e,this.config=n,this._animationForciblyDisabledThroughCss=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const c6=Dd({passive:!0,capture:!0});class L${constructor(){this._events=new Map,this._delegateEventHandler=t=>{const e=Md(t);e&&this._events.get(t.type)?.forEach((n,r)=>{(r===e||r.contains(e))&&n.forEach(a=>a.handleEvent(t))})}}addHandler(t,e,n,r){const a=this._events.get(e);if(a){const o=a.get(n);o?o.add(r):a.set(n,new Set([r]))}else this._events.set(e,new Map([[n,new Set([r])]])),t.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,c6)})}removeHandler(t,e,n){const r=this._events.get(t);if(!r)return;const a=r.get(e);a&&(a.delete(n),0===a.size&&r.delete(e),0===r.size&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,c6)))}}const d6={enterDuration:225,exitDuration:150},u6=Dd({passive:!0,capture:!0}),h6=["mousedown","touchstart"],m6=["mouseup","mouseleave","touchend","touchcancel"];class Yf{constructor(t,e,n,r){this._target=t,this._ngZone=e,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Ed(n))}fadeInRipple(t,e,n={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a={...d6,...n.animation};n.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);const o=n.radius||function O$(i,t,e){const n=Math.max(Math.abs(i-e.left),Math.abs(i-e.right)),r=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(n*n+r*r)}(t,e,r),c=t-r.left,h=e-r.top,f=a.enterDuration,x=document.createElement("div");x.classList.add("mat-ripple-element"),x.style.left=c-o+"px",x.style.top=h-o+"px",x.style.height=2*o+"px",x.style.width=2*o+"px",null!=n.color&&(x.style.backgroundColor=n.color),x.style.transitionDuration=`${f}ms`,this._containerElement.appendChild(x);const P=window.getComputedStyle(x),te=P.transitionDuration,fe="none"===P.transitionProperty||"0s"===te||"0s, 0s"===te||0===r.width&&0===r.height,ye=new I$(this,x,n,fe);x.style.transform="scale3d(1, 1, 1)",ye.state=0,n.persistent||(this._mostRecentTransientRipple=ye);let Ie=null;return!fe&&(f||a.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Le=()=>this._finishRippleTransition(ye),it=()=>this._destroyRipple(ye);x.addEventListener("transitionend",Le),x.addEventListener("transitioncancel",it),Ie={onTransitionEnd:Le,onTransitionCancel:it}}),this._activeRipples.set(ye,Ie),(fe||!f)&&this._finishRippleTransition(ye),ye}fadeOutRipple(t){if(2===t.state||3===t.state)return;const e=t.element,n={...d6,...t.config.animation};e.style.transitionDuration=`${n.exitDuration}ms`,e.style.opacity="0",t.state=2,(t._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=Ed(t);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,h6.forEach(n=>{Yf._eventManager.addHandler(this._ngZone,n,e,this)}))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{m6.forEach(e=>{this._triggerElement.addEventListener(e,this,u6)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){0===t.state?this._startFadeOutTransition(t):2===t.state&&this._destroyRipple(t)}_startFadeOutTransition(t){const e=t===this._mostRecentTransientRipple,{persistent:n}=t.config;t.state=1,!n&&(!e||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){const e=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=3,null!==e&&(t.element.removeEventListener("transitionend",e.onTransitionEnd),t.element.removeEventListener("transitioncancel",e.onTransitionCancel)),t.element.remove()}_onMousedown(t){const e=fC(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!e&&!n&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!pC(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=t.changedTouches;for(let n=0;n<e.length;n++)this.fadeInRipple(e[n].clientX,e[n].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const t=this._triggerElement;t&&(h6.forEach(e=>Yf._eventManager.removeHandler(e,t,this)),this._pointerUpEventsRegistered&&m6.forEach(e=>t.removeEventListener(e,this,u6)))}}Yf._eventManager=new L$;const Ld=new Ke("mat-ripple-global-options");let da=(()=>{class i{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,n,r,a,o){this._elementRef=e,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=a||{},this._rippleRenderer=new Yf(this,n,e,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,n=0,r){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,n,{...this.rippleConfig,...r}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Rt),k(Bn),k(Ld,8),k(Ln,8))},i.\u0275dir=Oe({type:i,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,n){2&e&&Mt("mat-ripple-unbounded",n.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),i})(),qs=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Qt,Qt]}),i})(),R$=(()=>{class i{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return i.\u0275fac=function(e){return new(e||i)(k(Ln,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(e,n){2&e&&Mt("mat-pseudo-checkbox-indeterminate","indeterminate"===n.state)("mat-pseudo-checkbox-checked","checked"===n.state)("mat-pseudo-checkbox-disabled",n.disabled)("mat-pseudo-checkbox-minimal","minimal"===n.appearance)("mat-pseudo-checkbox-full","full"===n.appearance)("_mat-animation-noopable","NoopAnimations"===n._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(e,n){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0}),i})(),f6=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Qt]}),i})();const AC=new Ke("MAT_OPTION_PARENT_COMPONENT"),IC=new Ke("MatOptgroup");let P$=0;class p6{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let B$=(()=>{class i{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=Ct(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(e,n,r,a){this._element=e,this._changeDetectorRef=n,this._parent=r,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+P$++,this.onSelectionChange=new lt,this._stateChanges=new He}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,n){const r=this._getHostElement();"function"==typeof r.focus&&r.focus(n)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!ba(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new p6(this,e))}}return i.\u0275fac=function(e){Wl()},i.\u0275dir=Oe({type:i,viewQuery:function(e,n){if(1&e&&Lt(F$,7),2&e){let r;Ze(r=Xe())&&(n._text=r.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),i})(),ku=(()=>{class i extends B${constructor(e,n,r,a){super(e,n,r,a)}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(ni),k(AC,8),k(IC,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mat-mdc-focus-indicator","mdc-list-item"],hostVars:12,hostBindings:function(e,n){1&e&&pe("click",function(){return n._selectViaInteraction()})("keydown",function(a){return n._handleKeydown(a)}),2&e&&(Ua("id",n.id),It("tabindex",n._getTabIndex())("aria-selected",n._getAriaSelected())("aria-disabled",n.disabled.toString()),Mt("mdc-list-item--selected",n.selected)("mat-mdc-option-multiple",n.multiple)("mat-mdc-option-active",n.active)("mdc-list-item--disabled",n.disabled))},exportAs:["matOption"],features:[ot],ngContentSelectors:M$,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-mdc-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-mdc-option-pseudo-checkbox",3,"state","disabled"],["state","checked","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(e,n){1&e&&(Bi(D$),ee(0,x$,1,2,"mat-pseudo-checkbox",0),Ft(1),_(2,"span",1,2),Ft(4,1),F(),ee(5,C$,1,1,"mat-pseudo-checkbox",3),ee(6,k$,2,1,"span",4),Ce(7,"div",5)),2&e&&(S("ngIf",n.multiple),E(5),S("ngIf",!n.multiple&&n.selected&&!n.hideSingleSelectionIndicator),E(1),S("ngIf",n.group&&n.group._inert),E(1),S("matRippleTrigger",n._getHostElement())("matRippleDisabled",n.disabled||n.disableRipple))},dependencies:[da,ri,R$],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{opacity:.38;cursor:default}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active::before{content:""}'],encapsulation:2,changeDetection:0}),i})();function g6(i,t,e){if(e.length){let n=t.toArray(),r=e.toArray(),a=0;for(let o=0;o<i+1;o++)n[o].group&&n[o].group===r[a]&&a++;return a}return 0}function _6(i,t,e,n){return i<e?i:i+t>e+n?Math.max(0,i-n+t):e}let ey=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[qs,Dr,Qt,f6]}),i})();class b6{}class H${}const Nd="*";function Qa(i,t){return{type:7,name:i,definitions:t,options:{}}}function lr(i,t=null){return{type:4,styles:t,timings:i}}function Gg(i,t=null){return{type:3,steps:i,options:t}}function y6(i,t=null){return{type:2,steps:i,options:t}}function pi(i){return{type:6,styles:i,offset:null}}function _r(i,t,e){return{type:0,name:i,styles:t,options:e}}function qg(i){return{type:5,steps:i}}function cr(i,t,e=null){return{type:1,expr:i,animation:t,options:e}}function $g(i=null){return{type:9,options:i}}function Od(i,t,e=null){return{type:11,selector:i,animation:t,options:e}}function v6(i,t){return{type:12,timings:i,animation:t}}function w6(i){Promise.resolve().then(i)}class Kg{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){w6(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}}class F6{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,r=0;const a=this.players.length;0==a?w6(()=>this._onFinish()):this.players.forEach(o=>{o.onDone(()=>{++e==a&&this._onFinish()}),o.onDestroy(()=>{++n==a&&this._onDestroy()}),o.onStart(()=>{++r==a&&this._onStart()})}),this.totalTime=this.players.reduce((o,c)=>Math.max(o,c.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(n=>{const r=n.totalTime?Math.min(1,e/n.totalTime):1;n.setPosition(r)})}getPosition(){const t=this.players.reduce((e,n)=>null===e||n.totalTime>e.totalTime?n:e,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}}const LC="!";function V$(i,t){}const Y$={bottomSheetState:Qa("state",[_r("void, hidden",pi({transform:"translateY(100%)"})),_r("visible",pi({transform:"translateY(0%)"})),cr("visible => void, visible => hidden",Gg([lr(`${o6.COMPLEX} ${a6.ACCELERATION_CURVE}`),Od("@*",$g(),{optional:!0})])),cr("void => visible",Gg([lr(`${o6.EXITING} ${a6.DECELERATION_CURVE}`),Od("@*",$g(),{optional:!0})]))])};let j$=(()=>{class i extends CC{constructor(e,n,r,a,o,c,h,f,x,P){super(e,n,r,a,o,c,h,P),this._changeDetectorRef=x,this._animationState="void",this._animationStateChanged=new lt,this._breakpointSubscription=f.observe([xu_Medium,xu_Large,"(min-width: 1920px)"]).subscribe(()=>{this._toggleClass("mat-bottom-sheet-container-medium",f.isMatched(xu_Medium)),this._toggleClass("mat-bottom-sheet-container-large",f.isMatched(xu_Large)),this._toggleClass("mat-bottom-sheet-container-xlarge",f.isMatched("(min-width: 1920px)"))})}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}ngOnDestroy(){super.ngOnDestroy(),this._breakpointSubscription.unsubscribe(),this._destroyed=!0}_onAnimationDone(e){"visible"===e.toState&&this._trapFocus(),this._animationStateChanged.emit(e)}_onAnimationStart(e){this._animationStateChanged.emit(e)}_captureInitialFocus(){}_toggleClass(e,n){this._elementRef.nativeElement.classList.toggle(e,n)}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Of),k(Mi,8),k(Ug),k(Ph),k(Rt),k(Vh),k(Td),k(ni),k(Ka))},i.\u0275cmp=qe({type:i,selectors:[["mat-bottom-sheet-container"]],hostAttrs:["tabindex","-1",1,"mat-bottom-sheet-container"],hostVars:4,hostBindings:function(e,n){1&e&&gf("@state.start",function(a){return n._onAnimationStart(a)})("@state.done",function(a){return n._onAnimationDone(a)}),2&e&&(It("role",n._config.role)("aria-modal",n._config.ariaModal)("aria-label",n._config.ariaLabel),bf("@state",n._animationState))},features:[ot],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,n){1&e&&ee(0,V$,0,0,"ng-template",0)},dependencies:[Xl],styles:[".mat-bottom-sheet-container{padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:4px;border-top-right-radius:4px}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}"],encapsulation:2,data:{animation:[Y$.bottomSheetState]}}),i})(),x6=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[EC,Qt,Fl,Qt]}),i})();const z$=new Ke("MatBottomSheetData");class U${constructor(){this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.ariaModal=!0,this.closeOnNavigation=!0,this.autoFocus="dialog",this.restoreFocus=!0}}class C6{get instance(){return this._ref.componentInstance}constructor(t,e,n){this._ref=t,this._afterOpened=new He,this.containerInstance=n,this.disableClose=e.disableClose,n._animationStateChanged.pipe(qi(r=>"done"===r.phaseName&&"visible"===r.toState),nn(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe(qi(r=>"done"===r.phaseName&&"hidden"===r.toState),nn(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._ref.close(this._result)}),t.overlayRef.detachments().subscribe(()=>{this._ref.close(this._result)}),Pn(this.backdropClick(),this.keydownEvents().pipe(qi(r=>27===r.keyCode))).subscribe(r=>{!this.disableClose&&("keydown"!==r.type||!ba(r))&&(r.preventDefault(),this.dismiss())})}dismiss(t){this.containerInstance&&(this.containerInstance._animationStateChanged.pipe(qi(e=>"start"===e.phaseName),nn(1)).subscribe(e=>{this._closeFallbackTimeout=setTimeout(()=>{this._ref.close(this._result)},e.totalTime+100),this._ref.overlayRef.detachBackdrop()}),this._result=t,this.containerInstance.exit(),this.containerInstance=null)}afterDismissed(){return this._ref.closed}afterOpened(){return this._afterOpened}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}}const W$=new Ke("mat-bottom-sheet-default-options");let G$=(()=>{class i{get _openedBottomSheetRef(){const e=this._parentBottomSheet;return e?e._openedBottomSheetRef:this._bottomSheetRefAtThisLevel}set _openedBottomSheetRef(e){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=e:this._bottomSheetRefAtThisLevel=e}constructor(e,n,r,a){this._overlay=e,this._parentBottomSheet=r,this._defaultOptions=a,this._bottomSheetRefAtThisLevel=null,this._dialog=n.get(DC)}open(e,n){const r={...this._defaultOptions||new U$,...n};let a;return this._dialog.open(e,{...r,disableClose:!0,closeOnOverlayDetachments:!1,maxWidth:"100%",container:j$,scrollStrategy:r.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0"),templateContext:()=>({bottomSheetRef:a}),providers:(o,c,h)=>(a=new C6(o,r,h),[{provide:C6,useValue:a},{provide:z$,useValue:r.data}])}),a.afterDismissed().subscribe(()=>{this._openedBottomSheetRef===a&&(this._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(()=>a.containerInstance?.enter()),this._openedBottomSheetRef.dismiss()):a.containerInstance.enter(),this._openedBottomSheetRef=a,a}dismiss(e){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(e)}ngOnDestroy(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}}return i.\u0275fac=function(e){return new(e||i)(Fe(ya),Fe(Wr),Fe(i,12),Fe(W$,8))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:x6}),i})();const ty=g(i=>function(){i(this),this.name="EmptyError",this.message="no elements in sequence"});function Du(i,t){const e=T(i)?i:()=>i,n=r=>r.error(e());return new mt(t?r=>t.schedule(n,0,r):n)}function NC(){return Jt((i,t)=>{let e=null;i._refCount++;const n=Ut(t,void 0,void 0,void 0,()=>{if(!i||i._refCount<=0||0<--i._refCount)return void(e=null);const r=i._connection,a=e;e=null,r&&(!a||r===a)&&r.unsubscribe(),t.unsubscribe()});i.subscribe(n),n.closed||(e=i.connect())})}class iy extends mt{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,nt(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,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new C;const e=this.getSubject();t.add(this.source.subscribe(Ut(e,void 0,()=>{this._teardown(),e.complete()},n=>{this._teardown(),e.error(n)},()=>this._teardown()))),t.closed&&(this._connection=null,t=C.EMPTY)}return t}refCount(){return NC()(this)}}function ia(i,t){return Jt((e,n)=>{let r=null,a=0,o=!1;const c=()=>o&&!r&&n.complete();e.subscribe(Ut(n,h=>{r?.unsubscribe();let f=0;const x=a++;sn(i(h,x)).subscribe(r=Ut(n,P=>n.next(t?t(h,P,x,f++):P),()=>{r=null,c()}))},()=>{o=!0,c()}))})}function ny(i){return Jt((t,e)=>{let n=!1;t.subscribe(Ut(e,r=>{n=!0,e.next(r)},()=>{n||e.next(i),e.complete()}))})}function k6(i=q$){return Jt((t,e)=>{let n=!1;t.subscribe(Ut(e,r=>{n=!0,e.next(r)},()=>n?e.complete():e.error(i())))})}function q$(){return new ty}function Rd(i,t){const e=arguments.length>=2;return n=>n.pipe(i?qi((r,a)=>i(r,a,n)):ze,nn(1),e?ny(t):k6(()=>new ty))}function Pc(i,t){return T(t)?vi(i,t,1):vi(i,1)}function Zo(i){return Jt((t,e)=>{let a,n=null,r=!1;n=t.subscribe(Ut(e,void 0,void 0,o=>{a=sn(i(o,Zo(i)(t))),n?(n.unsubscribe(),n=null,a.subscribe(e)):r=!0})),r&&(n.unsubscribe(),n=null,a.subscribe(e))})}function D6(i,t){return Jt(function $$(i,t,e,n,r){return(a,o)=>{let c=e,h=t,f=0;a.subscribe(Ut(o,x=>{const P=f++;h=c?i(h,x,P):(c=!0,x),n&&o.next(h)},r&&(()=>{c&&o.next(h),o.complete()})))}}(i,t,arguments.length>=2,!0))}function OC(i){return i<=0?()=>ln:Jt((t,e)=>{let n=[];t.subscribe(Ut(e,r=>{n.push(r),i<n.length&&n.shift()},()=>{for(const r of n)e.next(r);e.complete()},void 0,()=>{n=null}))})}function M6(i,t){const e=arguments.length>=2;return n=>n.pipe(i?qi((r,a)=>i(r,a,n)):ze,OC(1),e?ny(t):k6(()=>new ty))}function ry(i){return _t(()=>i)}function Qg(i){return Jt((t,e)=>{try{t.subscribe(e)}finally{e.add(i)}})}const wn="primary",Zg=Symbol("RouteTitle");class K${constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function jf(i){return new K$(i)}function Q$(i,t,e){const n=e.path.split("/");if(n.length>i.length||"full"===e.pathMatch&&(t.hasChildren()||n.length<i.length))return null;const r={};for(let a=0;a<n.length;a++){const o=n[a],c=i[a];if(o.startsWith(":"))r[o.substring(1)]=c;else if(o!==c.path)return null}return{consumed:i.slice(0,n.length),posParams:r}}function Bc(i,t){const e=i?Object.keys(i):void 0,n=t?Object.keys(t):void 0;if(!e||!n||e.length!=n.length)return!1;let r;for(let a=0;a<e.length;a++)if(r=e[a],!E6(i[r],t[r]))return!1;return!0}function E6(i,t){if(Array.isArray(i)&&Array.isArray(t)){if(i.length!==t.length)return!1;const e=[...i].sort(),n=[...t].sort();return e.every((r,a)=>n[a]===r)}return i===t}function S6(i){return Array.prototype.concat.apply([],i)}function T6(i){return i.length>0?i[i.length-1]:null}function Lo(i,t){for(const e in i)i.hasOwnProperty(e)&&t(i[e],e)}function Mu(i){return BF(i)?i:bg(i)?rr(Promise.resolve(i)):Ht(i)}const ay=!1,X$={exact:function L6(i,t,e){if(!jh(i.segments,t.segments)||!oy(i.segments,t.segments,e)||i.numberOfChildren!==t.numberOfChildren)return!1;for(const n in t.children)if(!i.children[n]||!L6(i.children[n],t.children[n],e))return!1;return!0},subset:N6},A6={exact:function J$(i,t){return Bc(i,t)},subset:function eK(i,t){return Object.keys(t).length<=Object.keys(i).length&&Object.keys(t).every(e=>E6(i[e],t[e]))},ignored:()=>!0};function I6(i,t,e){return X$[e.paths](i.root,t.root,e.matrixParams)&&A6[e.queryParams](i.queryParams,t.queryParams)&&!("exact"===e.fragment&&i.fragment!==t.fragment)}function N6(i,t,e){return O6(i,t,t.segments,e)}function O6(i,t,e,n){if(i.segments.length>e.length){const r=i.segments.slice(0,e.length);return!(!jh(r,e)||t.hasChildren()||!oy(r,e,n))}if(i.segments.length===e.length){if(!jh(i.segments,e)||!oy(i.segments,e,n))return!1;for(const r in t.children)if(!i.children[r]||!N6(i.children[r],t.children[r],n))return!1;return!0}{const r=e.slice(0,i.segments.length),a=e.slice(i.segments.length);return!!(jh(i.segments,r)&&oy(i.segments,r,n)&&i.children[wn])&&O6(i.children[wn],t,a,n)}}function oy(i,t,e){return t.every((n,r)=>A6[e](i[r].parameters,n.parameters))}class Eu{constructor(t=new jn([],{}),e={},n=null){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=jf(this.queryParams)),this._queryParamMap}toString(){return nK.serialize(this)}}class jn{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Lo(e,(n,r)=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return sy(this)}}class Xg{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=jf(this.parameters)),this._parameterMap}toString(){return B6(this)}}function jh(i,t){return i.length===t.length&&i.every((e,n)=>e.path===t[n].path)}let Jg=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:function(){return new RC},providedIn:"root"}),i})();class RC{parse(t){const e=new hK(t);return new Eu(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${e_(t.root,!0)}`,n=function oK(i){const t=Object.keys(i).map(e=>{const n=i[e];return Array.isArray(n)?n.map(r=>`${ly(e)}=${ly(r)}`).join("&"):`${ly(e)}=${ly(n)}`}).filter(e=>!!e);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${e}${n}${"string"==typeof t.fragment?`#${function rK(i){return encodeURI(i)}(t.fragment)}`:""}`}}const nK=new RC;function sy(i){return i.segments.map(t=>B6(t)).join("/")}function e_(i,t){if(!i.hasChildren())return sy(i);if(t){const e=i.children[wn]?e_(i.children[wn],!1):"",n=[];return Lo(i.children,(r,a)=>{a!==wn&&n.push(`${a}:${e_(r,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function iK(i,t){let e=[];return Lo(i.children,(n,r)=>{r===wn&&(e=e.concat(t(n,r)))}),Lo(i.children,(n,r)=>{r!==wn&&(e=e.concat(t(n,r)))}),e}(i,(n,r)=>r===wn?[e_(i.children[wn],!1)]:[`${r}:${e_(n,!1)}`]);return 1===Object.keys(i.children).length&&null!=i.children[wn]?`${sy(i)}/${e[0]}`:`${sy(i)}/(${e.join("//")})`}}function R6(i){return encodeURIComponent(i).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ly(i){return R6(i).replace(/%3B/gi,";")}function PC(i){return R6(i).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function cy(i){return decodeURIComponent(i)}function P6(i){return cy(i.replace(/\+/g,"%20"))}function B6(i){return`${PC(i.path)}${function aK(i){return Object.keys(i).map(t=>`;${PC(t)}=${PC(i[t])}`).join("")}(i.parameters)}`}const sK=/^[^\/()?;=#]+/;function dy(i){const t=i.match(sK);return t?t[0]:""}const lK=/^[^=?&#]+/,dK=/^[^&#]+/;class hK{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new jn([],{}):new jn([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[wn]=new jn(t,e)),n}parseSegment(){const t=dy(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new tt(4009,ay);return this.capture(t),new Xg(cy(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=dy(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const r=dy(this.remaining);r&&(n=r,this.capture(n))}t[cy(e)]=cy(n)}parseQueryParam(t){const e=function cK(i){const t=i.match(lK);return t?t[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const o=function uK(i){const t=i.match(dK);return t?t[0]:""}(this.remaining);o&&(n=o,this.capture(n))}const r=P6(e),a=P6(n);if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)||(o=[o],t[r]=o),o.push(a)}else t[r]=a}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=dy(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new tt(4010,ay);let a;n.indexOf(":")>-1?(a=n.slice(0,n.indexOf(":")),this.capture(a),this.capture(":")):t&&(a=wn);const o=this.parseChildren();e[a]=1===Object.keys(o).length?o[wn]:new jn([],o),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new tt(4011,ay)}}function BC(i){return i.segments.length>0?new jn([],{[wn]:i}):i}function uy(i){const t={};for(const n of Object.keys(i.children)){const a=uy(i.children[n]);(a.segments.length>0||a.hasChildren())&&(t[n]=a)}return function mK(i){if(1===i.numberOfChildren&&i.children[wn]){const t=i.children[wn];return new jn(i.segments.concat(t.segments),t.children)}return i}(new jn(i.segments,t))}function zh(i){return i instanceof Eu}const HC=!1;function fK(i,t,e,n,r){if(0===e.length)return zf(t.root,t.root,t.root,n,r);const a=function z6(i){if("string"==typeof i[0]&&1===i.length&&"/"===i[0])return new j6(!0,0,i);let t=0,e=!1;const n=i.reduce((r,a,o)=>{if("object"==typeof a&&null!=a){if(a.outlets){const c={};return Lo(a.outlets,(h,f)=>{c[f]="string"==typeof h?h.split("/"):h}),[...r,{outlets:c}]}if(a.segmentPath)return[...r,a.segmentPath]}return"string"!=typeof a?[...r,a]:0===o?(a.split("/").forEach((c,h)=>{0==h&&"."===c||(0==h&&""===c?e=!0:".."===c?t++:""!=c&&r.push(c))}),r):[...r,a]},[]);return new j6(e,t,n)}(e);return a.toRoot()?zf(t.root,t.root,new jn([],{}),n,r):function o(h){const f=function gK(i,t,e,n){if(i.isAbsolute)return new Uf(t.root,!0,0);if(-1===n)return new Uf(e,e===t.root,0);return function U6(i,t,e){let n=i,r=t,a=e;for(;a>r;){if(a-=r,n=n.parent,!n)throw new tt(4005,HC&&"Invalid number of '../'");r=n.segments.length}return new Uf(n,!1,r-a)}(e,n+(t_(i.commands[0])?0:1),i.numberOfDoubleDots)}(a,t,i.snapshot?._urlSegment,h),x=f.processChildren?Wf(f.segmentGroup,f.index,a.commands):VC(f.segmentGroup,f.index,a.commands);return zf(t.root,f.segmentGroup,x,n,r)}(i.snapshot?._lastPathIndex)}function t_(i){return"object"==typeof i&&null!=i&&!i.outlets&&!i.segmentPath}function i_(i){return"object"==typeof i&&null!=i&&i.outlets}function zf(i,t,e,n,r){let o,a={};n&&Lo(n,(h,f)=>{a[f]=Array.isArray(h)?h.map(x=>`${x}`):`${h}`}),o=i===t?e:Y6(i,t,e);const c=BC(uy(o));return new Eu(c,a,r)}function Y6(i,t,e){const n={};return Lo(i.children,(r,a)=>{n[a]=r===t?e:Y6(r,t,e)}),new jn(i.segments,n)}class j6{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&t_(n[0]))throw new tt(4003,HC&&"Root segment cannot have matrix parameters");const r=n.find(i_);if(r&&r!==T6(n))throw new tt(4004,HC&&"{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Uf{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function VC(i,t,e){if(i||(i=new jn([],{})),0===i.segments.length&&i.hasChildren())return Wf(i,t,e);const n=function bK(i,t,e){let n=0,r=t;const a={match:!1,pathIndex:0,commandIndex:0};for(;r<i.segments.length;){if(n>=e.length)return a;const o=i.segments[r],c=e[n];if(i_(c))break;const h=`${c}`,f=n<e.length-1?e[n+1]:null;if(r>0&&void 0===h)break;if(h&&f&&"object"==typeof f&&void 0===f.outlets){if(!G6(h,f,o))return a;n+=2}else{if(!G6(h,{},o))return a;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}(i,t,e),r=e.slice(n.commandIndex);if(n.match&&n.pathIndex<i.segments.length){const a=new jn(i.segments.slice(0,n.pathIndex),{});return a.children[wn]=new jn(i.segments.slice(n.pathIndex),i.children),Wf(a,0,r)}return n.match&&0===r.length?new jn(i.segments,{}):n.match&&!i.hasChildren()?YC(i,t,e):n.match?Wf(i,0,r):YC(i,t,e)}function Wf(i,t,e){if(0===e.length)return new jn(i.segments,{});{const n=function _K(i){return i_(i[0])?i[0].outlets:{[wn]:i}}(e),r={};return!n[wn]&&i.children[wn]&&1===i.numberOfChildren&&0===i.children[wn].segments.length?Wf(i.children[wn],t,e):(Lo(n,(a,o)=>{"string"==typeof a&&(a=[a]),null!==a&&(r[o]=VC(i.children[o],t,a))}),Lo(i.children,(a,o)=>{void 0===n[o]&&(r[o]=a)}),new jn(i.segments,r))}}function YC(i,t,e){const n=i.segments.slice(0,t);let r=0;for(;r<e.length;){const a=e[r];if(i_(a)){const h=yK(a.outlets);return new jn(n,h)}if(0===r&&t_(e[0])){n.push(new Xg(i.segments[t].path,W6(e[0]))),r++;continue}const o=i_(a)?a.outlets[wn]:`${a}`,c=r<e.length-1?e[r+1]:null;o&&c&&t_(c)?(n.push(new Xg(o,W6(c))),r+=2):(n.push(new Xg(o,{})),r++)}return new jn(n,{})}function yK(i){const t={};return Lo(i,(e,n)=>{"string"==typeof e&&(e=[e]),null!==e&&(t[n]=YC(new jn([],{}),0,e))}),t}function W6(i){const t={};return Lo(i,(e,n)=>t[n]=`${e}`),t}function G6(i,t,e){return i==e.path&&Bc(t,e.parameters)}const n_="imperative";class Hc{constructor(t,e){this.id=t,this.url=e}}class jC extends Hc{constructor(t,e,n="imperative",r=null){super(t,e),this.type=0,this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Uh extends Hc{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class hy extends Hc{constructor(t,e,n,r){super(t,e),this.reason=n,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class my extends Hc{constructor(t,e,n,r){super(t,e),this.reason=n,this.code=r,this.type=16}}class zC extends Hc{constructor(t,e,n,r){super(t,e),this.error=n,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class vK extends Hc{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class wK extends Hc{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class FK extends Hc{constructor(t,e,n,r,a){super(t,e),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=a,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class xK extends Hc{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class CK extends Hc{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class kK{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class DK{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class MK{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class EK{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class SK{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class TK{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class q6{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let LK=(()=>{class i{createUrlTree(e,n,r,a,o,c){return fK(e||n.root,r,a,o,c)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})(),OK=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:function(t){return LK.\u0275fac(t)},providedIn:"root"}),i})();class $6{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=UC(t,this._root);return e?e.children.map(n=>n.value):[]}firstChild(t){const e=UC(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=WC(t,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==t)}pathFromRoot(t){return WC(t,this._root).map(e=>e.value)}}function UC(i,t){if(i===t.value)return t;for(const e of t.children){const n=UC(i,e);if(n)return n}return null}function WC(i,t){if(i===t.value)return[t];for(const e of t.children){const n=WC(i,e);if(n.length)return n.unshift(t),n}return[]}class Pd{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Gf(i){const t={};return i&&i.children.forEach(e=>t[e.value.outlet]=e),t}class K6 extends $6{constructor(t,e){super(t),this.snapshot=e,GC(this,t)}toString(){return this.snapshot.toString()}}function Q6(i,t){const e=function RK(i,t){const o=new fy([],{},{},"",{},wn,t,null,i.root,-1,{});return new X6("",new Pd(o,[]))}(i,t),n=new Hi([new Xg("",{})]),r=new Hi({}),a=new Hi({}),o=new Hi({}),c=new Hi(""),h=new ds(n,r,o,c,a,wn,t,e.root);return h.snapshot=e.root,new K6(new Pd(h,[]),e)}class ds{constructor(t,e,n,r,a,o,c,h){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=a,this.outlet=o,this.component=c,this.title=this.data?.pipe(_t(f=>f[Zg]))??Ht(void 0),this._futureSnapshot=h}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(_t(t=>jf(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(_t(t=>jf(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Z6(i,t="emptyOnly"){const e=i.pathFromRoot;let n=0;if("always"!==t)for(n=e.length-1;n>=1;){const r=e[n],a=e[n-1];if(r.routeConfig&&""===r.routeConfig.path)n--;else{if(a.component)break;n--}}return function PK(i){return i.reduce((t,e)=>({params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.resolve,...e.routeConfig?.data,...e._resolvedData}}),{params:{},data:{},resolve:{}})}(e.slice(n))}class fy{get title(){return this.data?.[Zg]}constructor(t,e,n,r,a,o,c,h,f,x,P){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=a,this.outlet=o,this.component=c,this.routeConfig=h,this._urlSegment=f,this._lastPathIndex=x,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=jf(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=jf(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(n=>n.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class X6 extends $6{constructor(t,e){super(e),this.url=t,GC(this,e)}toString(){return J6(this._root)}}function GC(i,t){t.value._routerState=i,t.children.forEach(e=>GC(i,e))}function J6(i){const t=i.children.length>0?` { ${i.children.map(J6).join(", ")} } `:"";return`${i.value}${t}`}function qC(i){if(i.snapshot){const t=i.snapshot,e=i._futureSnapshot;i.snapshot=e,Bc(t.queryParams,e.queryParams)||i.queryParams.next(e.queryParams),t.fragment!==e.fragment&&i.fragment.next(e.fragment),Bc(t.params,e.params)||i.params.next(e.params),function Z$(i,t){if(i.length!==t.length)return!1;for(let e=0;e<i.length;++e)if(!Bc(i[e],t[e]))return!1;return!0}(t.url,e.url)||i.url.next(e.url),Bc(t.data,e.data)||i.data.next(e.data)}else i.snapshot=i._futureSnapshot,i.data.next(i._futureSnapshot.data)}function $C(i,t){const e=Bc(i.params,t.params)&&function tK(i,t){return jh(i,t)&&i.every((e,n)=>Bc(e.parameters,t[n].parameters))}(i.url,t.url);return e&&!(!i.parent!=!t.parent)&&(!i.parent||$C(i.parent,t.parent))}function r_(i,t,e){if(e&&i.shouldReuseRoute(t.value,e.value.snapshot)){const n=e.value;n._futureSnapshot=t.value;const r=function HK(i,t,e){return t.children.map(n=>{for(const r of e.children)if(i.shouldReuseRoute(n.value,r.value.snapshot))return r_(i,n,r);return r_(i,n)})}(i,t,e);return new Pd(n,r)}{if(i.shouldAttach(t.value)){const a=i.retrieve(t.value);if(null!==a){const o=a.route;return o.value._futureSnapshot=t.value,o.children=t.children.map(c=>r_(i,c)),o}}const n=function VK(i){return new ds(new Hi(i.url),new Hi(i.params),new Hi(i.queryParams),new Hi(i.fragment),new Hi(i.data),i.outlet,i.component,i)}(t.value),r=t.children.map(a=>r_(i,a));return new Pd(n,r)}}const KC="ngNavigationCancelingError";function e5(i,t){const{redirectTo:e,navigationBehaviorOptions:n}=zh(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,r=t5(!1,0,t);return r.url=e,r.navigationBehaviorOptions=n,r}function t5(i,t,e){const n=new Error("NavigationCancelingError: "+(i||""));return n[KC]=!0,n.cancellationCode=t,e&&(n.url=e),n}function n5(i){return r5(i)&&zh(i.url)}function r5(i){return i&&i[KC]}class YK{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new a_,this.attachRef=null}}let a_=(()=>{class i{constructor(){this.contexts=new Map}onChildOutletCreated(e,n){const r=this.getOrCreateContext(e);r.outlet=n,this.contexts.set(e,r)}onChildOutletDestroyed(e){const n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new YK,this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const py=!1;let QC=(()=>{class i{constructor(){this.activated=null,this._activatedRoute=null,this.name=wn,this.activateEvents=new lt,this.deactivateEvents=new lt,this.attachEvents=new lt,this.detachEvents=new lt,this.parentContexts=ei(a_),this.location=ei(kr),this.changeDetector=ei(ni),this.environmentInjector=ei(xc)}ngOnChanges(e){if(e.name){const{firstChange:n,previousValue:r}=e.name;if(n)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new tt(4012,py);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new tt(4012,py);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new tt(4012,py);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,n){this.activated=e,this._activatedRoute=n,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,n){if(this.isActivated)throw new tt(4013,py);this._activatedRoute=e;const r=this.location,o=e.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,h=new jK(e,c,r.injector);if(n&&function zK(i){return!!i.resolveComponentFactory}(n)){const f=n.resolveComponentFactory(o);this.activated=r.createComponent(f,r.length,h)}else this.activated=r.createComponent(o,{index:r.length,injector:h,environmentInjector:n??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[or]}),i})();class jK{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===ds?this.route:t===a_?this.childContexts:this.parent.get(t,e)}}let ZC=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=qe({type:i,selectors:[["ng-component"]],standalone:!0,features:[ZF],decls:1,vars:0,template:function(e,n){1&e&&Ce(0,"router-outlet")},dependencies:[QC],encapsulation:2}),i})();function a5(i,t){return i.providers&&!i._injector&&(i._injector=pb(i.providers,t,`Route: ${i.path}`)),i._injector??t}function JC(i){const t=i.children&&i.children.map(JC),e=t?{...i,children:t}:{...i};return!e.component&&!e.loadComponent&&(t||e.loadChildren)&&e.outlet&&e.outlet!==wn&&(e.component=ZC),e}function Cl(i){return i.outlet||wn}function o5(i,t){const e=i.filter(n=>Cl(n)===t);return e.push(...i.filter(n=>Cl(n)!==t)),e}function o_(i){if(!i)return null;if(i.routeConfig?._injector)return i.routeConfig._injector;for(let t=i.parent;t;t=t.parent){const e=t.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class $K{constructor(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),qC(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=Gf(e);t.children.forEach(a=>{const o=a.value.outlet;this.deactivateRoutes(a,r[o],n),delete r[o]}),Lo(r,(a,o)=>{this.deactivateRouteAndItsChildren(a,n)})}deactivateRoutes(t,e,n){const r=t.value,a=e?e.value:null;if(r===a)if(r.component){const o=n.getContext(r.outlet);o&&this.deactivateChildRoutes(t,e,o.children)}else this.deactivateChildRoutes(t,e,n);else a&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet),r=n&&t.value.component?n.children:e,a=Gf(t);for(const o of Object.keys(a))this.deactivateRouteAndItsChildren(a[o],r);if(n&&n.outlet){const o=n.outlet.detach(),c=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:o,route:t,contexts:c})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),r=n&&t.value.component?n.children:e,a=Gf(t);for(const o of Object.keys(a))this.deactivateRouteAndItsChildren(a[o],r);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(t,e,n){const r=Gf(e);t.children.forEach(a=>{this.activateRoutes(a,r[a.value.outlet],n),this.forwardEvent(new TK(a.value.snapshot))}),t.children.length&&this.forwardEvent(new EK(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,a=e?e.value:null;if(qC(r),r===a)if(r.component){const o=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,o.children)}else this.activateChildRoutes(t,e,n);else if(r.component){const o=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const c=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),o.children.onOutletReAttached(c.contexts),o.attachRef=c.componentRef,o.route=c.route.value,o.outlet&&o.outlet.attach(c.componentRef,c.route.value),qC(c.route.value),this.activateChildRoutes(t,null,o.children)}else{const c=o_(r.snapshot),h=c?.get(pd)??null;o.attachRef=null,o.route=r,o.resolver=h,o.injector=c,o.outlet&&o.outlet.activateWith(r,o.injector),this.activateChildRoutes(t,null,o.children)}}else this.activateChildRoutes(t,null,n)}}class s5{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class gy{constructor(t,e){this.component=t,this.route=e}}function KK(i,t,e){const n=i._root;return s_(n,t?t._root:null,e,[n.value])}function qf(i,t){const e=Symbol(),n=t.get(i,e);return n===e?"function"!=typeof i||function ph(i){return null!==Vo(i)}(i)?t.get(i):i:n}function s_(i,t,e,n,r={canDeactivateChecks:[],canActivateChecks:[]}){const a=Gf(t);return i.children.forEach(o=>{(function ZK(i,t,e,n,r={canDeactivateChecks:[],canActivateChecks:[]}){const a=i.value,o=t?t.value:null,c=e?e.getContext(i.value.outlet):null;if(o&&a.routeConfig===o.routeConfig){const h=function XK(i,t,e){if("function"==typeof e)return e(i,t);switch(e){case"pathParamsChange":return!jh(i.url,t.url);case"pathParamsOrQueryParamsChange":return!jh(i.url,t.url)||!Bc(i.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!$C(i,t)||!Bc(i.queryParams,t.queryParams);default:return!$C(i,t)}}(o,a,a.routeConfig.runGuardsAndResolvers);h?r.canActivateChecks.push(new s5(n)):(a.data=o.data,a._resolvedData=o._resolvedData),s_(i,t,a.component?c?c.children:null:e,n,r),h&&c&&c.outlet&&c.outlet.isActivated&&r.canDeactivateChecks.push(new gy(c.outlet.component,o))}else o&&l_(t,c,r),r.canActivateChecks.push(new s5(n)),s_(i,null,a.component?c?c.children:null:e,n,r)})(o,a[o.value.outlet],e,n.concat([o.value]),r),delete a[o.value.outlet]}),Lo(a,(o,c)=>l_(o,e.getContext(c),r)),r}function l_(i,t,e){const n=Gf(i),r=i.value;Lo(n,(a,o)=>{l_(a,r.component?t?t.children.getContext(o):null:t,e)}),e.canDeactivateChecks.push(new gy(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}function c_(i){return"function"==typeof i}function ek(i){return i instanceof ty||"EmptyError"===i?.name}const _y=Symbol("INITIAL_VALUE");function $f(){return ia(i=>dC(i.map(t=>t.pipe(nn(1),jr(_y)))).pipe(_t(t=>{for(const e of t)if(!0!==e){if(e===_y)return _y;if(!1===e||e instanceof Eu)return e}return!0}),qi(t=>t!==_y),nn(1)))}function l5(i){return function Re(...i){return st(i)}(ta(t=>{if(zh(t))throw e5(0,t)}),_t(t=>!0===t))}const tk={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function c5(i,t,e,n,r){const a=ik(i,t,e);return a.matched?function pQ(i,t,e,n){const r=t.canMatch;return r&&0!==r.length?Ht(r.map(o=>{const c=qf(o,i);return Mu(function rQ(i){return i&&c_(i.canMatch)}(c)?c.canMatch(t,e):i.runInContext(()=>c(t,e)))})).pipe($f(),l5()):Ht(!0)}(n=a5(t,n),t,e).pipe(_t(o=>!0===o?a:{...tk})):Ht(a)}function ik(i,t,e){if(""===t.path)return"full"===t.pathMatch&&(i.hasChildren()||e.length>0)?{...tk}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const r=(t.matcher||Q$)(e,i,t);if(!r)return{...tk};const a={};Lo(r.posParams,(c,h)=>{a[h]=c.path});const o=r.consumed.length>0?{...a,...r.consumed[r.consumed.length-1].parameters}:a;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:o,positionalParamSegments:r.posParams??{}}}function by(i,t,e,n){if(e.length>0&&function bQ(i,t,e){return e.some(n=>yy(i,t,n)&&Cl(n)!==wn)}(i,e,n)){const a=new jn(t,function _Q(i,t,e,n){const r={};r[wn]=n,n._sourceSegment=i,n._segmentIndexShift=t.length;for(const a of e)if(""===a.path&&Cl(a)!==wn){const o=new jn([],{});o._sourceSegment=i,o._segmentIndexShift=t.length,r[Cl(a)]=o}return r}(i,t,n,new jn(e,i.children)));return a._sourceSegment=i,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:[]}}if(0===e.length&&function yQ(i,t,e){return e.some(n=>yy(i,t,n))}(i,e,n)){const a=new jn(i.segments,function gQ(i,t,e,n,r){const a={};for(const o of n)if(yy(i,e,o)&&!r[Cl(o)]){const c=new jn([],{});c._sourceSegment=i,c._segmentIndexShift=t.length,a[Cl(o)]=c}return{...r,...a}}(i,t,e,n,i.children));return a._sourceSegment=i,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:e}}const r=new jn(i.segments,i.children);return r._sourceSegment=i,r._segmentIndexShift=t.length,{segmentGroup:r,slicedSegments:e}}function yy(i,t,e){return(!(i.hasChildren()||t.length>0)||"full"!==e.pathMatch)&&""===e.path}function d5(i,t,e,n){return!!(Cl(i)===n||n!==wn&&yy(t,e,i))&&("**"===i.path||ik(t,i,e).matched)}function u5(i,t,e){return 0===t.length&&!i.children[e]}const vy=!1;class wy{constructor(t){this.segmentGroup=t||null}}class h5{constructor(t){this.urlTree=t}}function d_(i){return Du(new wy(i))}function m5(i){return Du(new h5(i))}class xQ{constructor(t,e,n,r,a){this.injector=t,this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=a,this.allowRedirects=!0}apply(){const t=by(this.urlTree.root,[],[],this.config).segmentGroup,e=new jn(t.segments,t.children);return this.expandSegmentGroup(this.injector,this.config,e,wn).pipe(_t(a=>this.createUrlTree(uy(a),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Zo(a=>{if(a instanceof h5)return this.allowRedirects=!1,this.match(a.urlTree);throw a instanceof wy?this.noMatchError(a):a}))}match(t){return this.expandSegmentGroup(this.injector,this.config,t.root,wn).pipe(_t(r=>this.createUrlTree(uy(r),t.queryParams,t.fragment))).pipe(Zo(r=>{throw r instanceof wy?this.noMatchError(r):r}))}noMatchError(t){return new tt(4002,vy)}createUrlTree(t,e,n){const r=BC(t);return new Eu(r,e,n)}expandSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(_t(a=>new jn([],a))):this.expandSegment(t,n,e,n.segments,r,!0)}expandChildren(t,e,n){const r=[];for(const a of Object.keys(n.children))"primary"===a?r.unshift(a):r.push(a);return rr(r).pipe(Pc(a=>{const o=n.children[a],c=o5(e,a);return this.expandSegmentGroup(t,c,o,a).pipe(_t(h=>({segment:h,outlet:a})))}),D6((a,o)=>(a[o.outlet]=o.segment,a),{}),M6())}expandSegment(t,e,n,r,a,o){return rr(n).pipe(Pc(c=>this.expandSegmentAgainstRoute(t,e,n,c,r,a,o).pipe(Zo(f=>{if(f instanceof wy)return Ht(null);throw f}))),Rd(c=>!!c),Zo((c,h)=>{if(ek(c))return u5(e,r,a)?Ht(new jn([],{})):d_(e);throw c}))}expandSegmentAgainstRoute(t,e,n,r,a,o,c){return d5(r,e,a,o)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,a,o):c&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,a,o):d_(e):d_(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,r,a,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,a,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,r){const a=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?m5(a):this.lineralizeSegments(n,a).pipe(vi(o=>{const c=new jn(o,{});return this.expandSegment(t,c,e,o,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,a,o){const{matched:c,consumedSegments:h,remainingSegments:f,positionalParamSegments:x}=ik(e,r,a);if(!c)return d_(e);const P=this.applyRedirectCommands(h,r.redirectTo,x);return r.redirectTo.startsWith("/")?m5(P):this.lineralizeSegments(r,P).pipe(vi($=>this.expandSegment(t,e,n,$.concat(f),o,!1)))}matchSegmentAgainstRoute(t,e,n,r,a){return"**"===n.path?(t=a5(n,t),n.loadChildren?(n._loadedRoutes?Ht({routes:n._loadedRoutes,injector:n._loadedInjector}):this.configLoader.loadChildren(t,n)).pipe(_t(c=>(n._loadedRoutes=c.routes,n._loadedInjector=c.injector,new jn(r,{})))):Ht(new jn(r,{}))):c5(e,n,r,t).pipe(ia(({matched:o,consumedSegments:c,remainingSegments:h})=>o?this.getChildConfig(t=n._injector??t,n,r).pipe(vi(x=>{const P=x.injector??t,$=x.routes,{segmentGroup:te,slicedSegments:fe}=by(e,c,h,$),ye=new jn(te.segments,te.children);if(0===fe.length&&ye.hasChildren())return this.expandChildren(P,$,ye).pipe(_t(Be=>new jn(c,Be)));if(0===$.length&&0===fe.length)return Ht(new jn(c,{}));const Ie=Cl(n)===a;return this.expandSegment(P,ye,$,fe,Ie?wn:a,!0).pipe(_t(it=>new jn(c.concat(it.segments),it.children)))})):d_(e)))}getChildConfig(t,e,n){return e.children?Ht({routes:e.children,injector:t}):e.loadChildren?void 0!==e._loadedRoutes?Ht({routes:e._loadedRoutes,injector:e._loadedInjector}):function fQ(i,t,e,n){const r=t.canLoad;return void 0===r||0===r.length?Ht(!0):Ht(r.map(o=>{const c=qf(o,i);return Mu(function eQ(i){return i&&c_(i.canLoad)}(c)?c.canLoad(t,e):i.runInContext(()=>c(t,e)))})).pipe($f(),l5())}(t,e,n).pipe(vi(r=>r?this.configLoader.loadChildren(t,e).pipe(ta(a=>{e._loadedRoutes=a.routes,e._loadedInjector=a.injector})):function wQ(i){return Du(t5(vy,3))}())):Ht({routes:[],injector:t})}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Ht(n);if(r.numberOfChildren>1||!r.children[wn])return t.redirectTo,Du(new tt(4e3,vy));r=r.children[wn]}}applyRedirectCommands(t,e,n){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreateUrlTree(t,e,n,r){const a=this.createSegmentGroup(t,e.root,n,r);return new Eu(a,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Lo(t,(r,a)=>{if("string"==typeof r&&r.startsWith(":")){const c=r.substring(1);n[a]=e[c]}else n[a]=r}),n}createSegmentGroup(t,e,n,r){const a=this.createSegments(t,e.segments,n,r);let o={};return Lo(e.children,(c,h)=>{o[h]=this.createSegmentGroup(t,c,n,r)}),new jn(a,o)}createSegments(t,e,n,r){return e.map(a=>a.path.startsWith(":")?this.findPosParam(t,a,r):this.findOrReturn(a,n))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new tt(4001,vy);return r}findOrReturn(t,e){let n=0;for(const r of e){if(r.path===t.path)return e.splice(n),r;n++}return t}}class kQ{}class EQ{constructor(t,e,n,r,a,o,c){this.injector=t,this.rootComponentType=e,this.config=n,this.urlTree=r,this.url=a,this.paramsInheritanceStrategy=o,this.urlSerializer=c}recognize(){const t=by(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,wn).pipe(_t(e=>{if(null===e)return null;const n=new fy([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},wn,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Pd(n,e),a=new X6(this.url,r);return this.inheritParamsAndData(a._root),a}))}inheritParamsAndData(t){const e=t.value,n=Z6(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.processChildren(t,e,n):this.processSegment(t,e,n,n.segments,r)}processChildren(t,e,n){return rr(Object.keys(n.children)).pipe(Pc(r=>{const a=n.children[r],o=o5(e,r);return this.processSegmentGroup(t,o,a,r)}),D6((r,a)=>r&&a?(r.push(...a),r):null),UI(r=>null!==r),ny(null),M6(),_t(r=>{if(null===r)return null;const a=p5(r);return function SQ(i){i.sort((t,e)=>t.value.outlet===wn?-1:e.value.outlet===wn?1:t.value.outlet.localeCompare(e.value.outlet))}(a),a}))}processSegment(t,e,n,r,a){return rr(e).pipe(Pc(o=>this.processSegmentAgainstRoute(o._injector??t,o,n,r,a)),Rd(o=>!!o),Zo(o=>{if(ek(o))return u5(n,r,a)?Ht([]):Ht(null);throw o}))}processSegmentAgainstRoute(t,e,n,r,a){if(e.redirectTo||!d5(e,n,r,a))return Ht(null);let o;if("**"===e.path){const c=r.length>0?T6(r).parameters:{},h=_5(n)+r.length;o=Ht({snapshot:new fy(r,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,b5(e),Cl(e),e.component??e._loadedComponent??null,e,g5(n),h,y5(e)),consumedSegments:[],remainingSegments:[]})}else o=c5(n,e,r,t).pipe(_t(({matched:c,consumedSegments:h,remainingSegments:f,parameters:x})=>{if(!c)return null;const P=_5(n)+h.length;return{snapshot:new fy(h,x,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,b5(e),Cl(e),e.component??e._loadedComponent??null,e,g5(n),P,y5(e)),consumedSegments:h,remainingSegments:f}}));return o.pipe(ia(c=>{if(null===c)return Ht(null);const{snapshot:h,consumedSegments:f,remainingSegments:x}=c;t=e._injector??t;const P=e._loadedInjector??t,$=function TQ(i){return i.children?i.children:i.loadChildren?i._loadedRoutes:[]}(e),{segmentGroup:te,slicedSegments:fe}=by(n,f,x,$.filter(Ie=>void 0===Ie.redirectTo));if(0===fe.length&&te.hasChildren())return this.processChildren(P,$,te).pipe(_t(Ie=>null===Ie?null:[new Pd(h,Ie)]));if(0===$.length&&0===fe.length)return Ht([new Pd(h,[])]);const ye=Cl(e)===a;return this.processSegment(P,$,te,fe,ye?wn:a).pipe(_t(Ie=>null===Ie?null:[new Pd(h,Ie)]))}))}}function AQ(i){const t=i.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function p5(i){const t=[],e=new Set;for(const n of i){if(!AQ(n)){t.push(n);continue}const r=t.find(a=>n.value.routeConfig===a.value.routeConfig);void 0!==r?(r.children.push(...n.children),e.add(r)):t.push(n)}for(const n of e){const r=p5(n.children);t.push(new Pd(n.value,r))}return t.filter(n=>!e.has(n))}function g5(i){let t=i;for(;t._sourceSegment;)t=t._sourceSegment;return t}function _5(i){let t=i,e=t._segmentIndexShift??0;for(;t._sourceSegment;)t=t._sourceSegment,e+=t._segmentIndexShift??0;return e-1}function b5(i){return i.data||{}}function y5(i){return i.resolve||{}}function v5(i){return"string"==typeof i.title||null===i.title}function nk(i){return ia(t=>{const e=i(t);return e?rr(e).pipe(_t(()=>t)):Ht(t)})}const Kf=new Ke("ROUTES");let rk=(()=>{class i{constructor(e,n){this.injector=e,this.compiler=n,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return Ht(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const n=Mu(e.loadComponent()).pipe(_t(F5),ta(a=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=a}),Qg(()=>{this.componentLoaders.delete(e)})),r=new iy(n,()=>new He).pipe(NC());return this.componentLoaders.set(e,r),r}loadChildren(e,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return Ht({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);const a=this.loadModuleFactoryOrRoutes(n.loadChildren).pipe(_t(c=>{this.onLoadEndListener&&this.onLoadEndListener(n);let h,f,x=!1;Array.isArray(c)?f=c:(h=c.create(e).injector,f=S6(h.get(Kf,[],ci.Self|ci.Optional)));return{routes:f.map(JC),injector:h}}),Qg(()=>{this.childrenLoaders.delete(n)})),o=new iy(a,()=>new He).pipe(NC());return this.childrenLoaders.set(n,o),o}loadModuleFactoryOrRoutes(e){return Mu(e()).pipe(_t(F5),vi(r=>r instanceof rT||Array.isArray(r)?Ht(r):rr(this.compiler.compileModuleAsync(r))))}}return i.\u0275fac=function(e){return new(e||i)(Fe(Wr),Fe(qT))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function F5(i){return function VQ(i){return i&&"object"==typeof i&&"default"in i}(i)?i.default:i}let xy=(()=>{class i{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new He,this.configLoader=ei(rk),this.environmentInjector=ei(xc),this.urlSerializer=ei(Jg),this.rootContexts=ei(a_),this.navigationId=0,this.afterPreactivation=()=>Ht(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=r=>this.events.next(new DK(r)),this.configLoader.onLoadStartListener=r=>this.events.next(new kK(r))}complete(){this.transitions?.complete()}handleNavigationRequest(e){const n=++this.navigationId;this.transitions?.next({...this.transitions.value,...e,id:n})}setupNavigations(e){return this.transitions=new Hi({id:0,targetPageId:0,currentUrlTree:e.currentUrlTree,currentRawUrl:e.currentUrlTree,extractedUrl:e.urlHandlingStrategy.extract(e.currentUrlTree),urlAfterRedirects:e.urlHandlingStrategy.extract(e.currentUrlTree),rawUrl:e.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:n_,restoredState:null,currentSnapshot:e.routerState.snapshot,targetSnapshot:null,currentRouterState:e.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(qi(n=>0!==n.id),_t(n=>({...n,extractedUrl:e.urlHandlingStrategy.extract(n.rawUrl)})),ia(n=>{let r=!1,a=!1;return Ht(n).pipe(ta(o=>{this.currentNavigation={id:o.id,initialUrl:o.rawUrl,extractedUrl:o.extractedUrl,trigger:o.source,extras:o.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),ia(o=>{const c=e.browserUrlTree.toString(),h=!e.navigated||o.extractedUrl.toString()!==c||c!==e.currentUrlTree.toString();if(!h&&"reload"!==(o.extras.onSameUrlNavigation??e.onSameUrlNavigation)){const x="";return this.events.next(new my(o.id,e.serializeUrl(n.rawUrl),x,0)),e.rawUrlTree=o.rawUrl,o.resolve(null),ln}if(e.urlHandlingStrategy.shouldProcessUrl(o.rawUrl))return x5(o.source)&&(e.browserUrlTree=o.extractedUrl),Ht(o).pipe(ia(x=>{const P=this.transitions?.getValue();return this.events.next(new jC(x.id,this.urlSerializer.serialize(x.extractedUrl),x.source,x.restoredState)),P!==this.transitions?.getValue()?ln:Promise.resolve(x)}),function CQ(i,t,e,n){return ia(r=>function FQ(i,t,e,n,r){return new xQ(i,t,e,n,r).apply()}(i,t,e,r.extractedUrl,n).pipe(_t(a=>({...r,urlAfterRedirects:a}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,e.config),ta(x=>{this.currentNavigation={...this.currentNavigation,finalUrl:x.urlAfterRedirects},n.urlAfterRedirects=x.urlAfterRedirects}),function LQ(i,t,e,n,r){return vi(a=>function MQ(i,t,e,n,r,a,o="emptyOnly"){return new EQ(i,t,e,n,r,o,a).recognize().pipe(ia(c=>null===c?function DQ(i){return new mt(t=>t.error(i))}(new kQ):Ht(c)))}(i,t,e,a.urlAfterRedirects,n.serialize(a.urlAfterRedirects),n,r).pipe(_t(o=>({...a,targetSnapshot:o}))))}(this.environmentInjector,this.rootComponentType,e.config,this.urlSerializer,e.paramsInheritanceStrategy),ta(x=>{if(n.targetSnapshot=x.targetSnapshot,"eager"===e.urlUpdateStrategy){if(!x.extras.skipLocationChange){const $=e.urlHandlingStrategy.merge(x.urlAfterRedirects,x.rawUrl);e.setBrowserUrl($,x)}e.browserUrlTree=x.urlAfterRedirects}const P=new vK(x.id,this.urlSerializer.serialize(x.extractedUrl),this.urlSerializer.serialize(x.urlAfterRedirects),x.targetSnapshot);this.events.next(P)}));if(h&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){const{id:x,extractedUrl:P,source:$,restoredState:te,extras:fe}=o,ye=new jC(x,this.urlSerializer.serialize(P),$,te);this.events.next(ye);const Ie=Q6(P,this.rootComponentType).snapshot;return Ht(n={...o,targetSnapshot:Ie,urlAfterRedirects:P,extras:{...fe,skipLocationChange:!1,replaceUrl:!1}})}{const x="";return this.events.next(new my(o.id,e.serializeUrl(n.extractedUrl),x,1)),e.rawUrlTree=o.rawUrl,o.resolve(null),ln}}),ta(o=>{const c=new wK(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(c)}),_t(o=>n={...o,guards:KK(o.targetSnapshot,o.currentSnapshot,this.rootContexts)}),function oQ(i,t){return vi(e=>{const{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:a,canDeactivateChecks:o}}=e;return 0===o.length&&0===a.length?Ht({...e,guardsResult:!0}):function sQ(i,t,e,n){return rr(i).pipe(vi(r=>function mQ(i,t,e,n,r){const a=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return a&&0!==a.length?Ht(a.map(c=>{const h=o_(t)??r,f=qf(c,h);return Mu(function nQ(i){return i&&c_(i.canDeactivate)}(f)?f.canDeactivate(i,t,e,n):h.runInContext(()=>f(i,t,e,n))).pipe(Rd())})).pipe($f()):Ht(!0)}(r.component,r.route,e,t,n)),Rd(r=>!0!==r,!0))}(o,n,r,i).pipe(vi(c=>c&&function JK(i){return"boolean"==typeof i}(c)?function lQ(i,t,e,n){return rr(t).pipe(Pc(r=>Sd(function dQ(i,t){return null!==i&&t&&t(new MK(i)),Ht(!0)}(r.route.parent,n),function cQ(i,t){return null!==i&&t&&t(new SK(i)),Ht(!0)}(r.route,n),function hQ(i,t,e){const n=t[t.length-1],a=t.slice(0,t.length-1).reverse().map(o=>function QK(i){const t=i.routeConfig?i.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:i,guards:t}:null}(o)).filter(o=>null!==o).map(o=>Oc(()=>Ht(o.guards.map(h=>{const f=o_(o.node)??e,x=qf(h,f);return Mu(function iQ(i){return i&&c_(i.canActivateChild)}(x)?x.canActivateChild(n,i):f.runInContext(()=>x(n,i))).pipe(Rd())})).pipe($f())));return Ht(a).pipe($f())}(i,r.path,e),function uQ(i,t,e){const n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||0===n.length)return Ht(!0);const r=n.map(a=>Oc(()=>{const o=o_(t)??e,c=qf(a,o);return Mu(function tQ(i){return i&&c_(i.canActivate)}(c)?c.canActivate(t,i):o.runInContext(()=>c(t,i))).pipe(Rd())}));return Ht(r).pipe($f())}(i,r.route,e))),Rd(r=>!0!==r,!0))}(n,a,i,t):Ht(c)),_t(c=>({...e,guardsResult:c})))})}(this.environmentInjector,o=>this.events.next(o)),ta(o=>{if(n.guardsResult=o.guardsResult,zh(o.guardsResult))throw e5(0,o.guardsResult);const c=new FK(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot,!!o.guardsResult);this.events.next(c)}),qi(o=>!!o.guardsResult||(e.restoreHistory(o),this.cancelNavigationTransition(o,"",3),!1)),nk(o=>{if(o.guards.canActivateChecks.length)return Ht(o).pipe(ta(c=>{const h=new xK(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(h)}),ia(c=>{let h=!1;return Ht(c).pipe(function NQ(i,t){return vi(e=>{const{targetSnapshot:n,guards:{canActivateChecks:r}}=e;if(!r.length)return Ht(e);let a=0;return rr(r).pipe(Pc(o=>function OQ(i,t,e,n){const r=i.routeConfig,a=i._resolve;return void 0!==r?.title&&!v5(r)&&(a[Zg]=r.title),function RQ(i,t,e,n){const r=function PQ(i){return[...Object.keys(i),...Object.getOwnPropertySymbols(i)]}(i);if(0===r.length)return Ht({});const a={};return rr(r).pipe(vi(o=>function BQ(i,t,e,n){const r=o_(t)??n,a=qf(i,r);return Mu(a.resolve?a.resolve(t,e):r.runInContext(()=>a(t,e)))}(i[o],t,e,n).pipe(Rd(),ta(c=>{a[o]=c}))),OC(1),ry(a),Zo(o=>ek(o)?ln:Du(o)))}(a,i,t,n).pipe(_t(o=>(i._resolvedData=o,i.data=Z6(i,e).resolve,r&&v5(r)&&(i.data[Zg]=r.title),null)))}(o.route,n,i,t)),ta(()=>a++),OC(1),vi(o=>a===r.length?Ht(e):ln))})}(e.paramsInheritanceStrategy,this.environmentInjector),ta({next:()=>h=!0,complete:()=>{h||(e.restoreHistory(c),this.cancelNavigationTransition(c,"",2))}}))}),ta(c=>{const h=new CK(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(h)}))}),nk(o=>{const c=h=>{const f=[];h.routeConfig?.loadComponent&&!h.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(h.routeConfig).pipe(ta(x=>{h.component=x}),_t(()=>{})));for(const x of h.children)f.push(...c(x));return f};return dC(c(o.targetSnapshot.root)).pipe(ny(),nn(1))}),nk(()=>this.afterPreactivation()),_t(o=>{const c=function BK(i,t,e){const n=r_(i,t._root,e?e._root:void 0);return new K6(n,t)}(e.routeReuseStrategy,o.targetSnapshot,o.currentRouterState);return n={...o,targetRouterState:c}}),ta(o=>{e.currentUrlTree=o.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(o.urlAfterRedirects,o.rawUrl),e.routerState=o.targetRouterState,"deferred"===e.urlUpdateStrategy&&(o.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,o),e.browserUrlTree=o.urlAfterRedirects)}),((i,t,e)=>_t(n=>(new $K(t,n.targetRouterState,n.currentRouterState,e).activate(i),n)))(this.rootContexts,e.routeReuseStrategy,o=>this.events.next(o)),ta({next:o=>{r=!0,this.lastSuccessfulNavigation=this.currentNavigation,e.navigated=!0,this.events.next(new Uh(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(e.currentUrlTree))),e.titleStrategy?.updateTitle(o.targetRouterState.snapshot),o.resolve(!0)},complete:()=>{r=!0}}),Qg(()=>{r||a||this.cancelNavigationTransition(n,"",1),this.currentNavigation?.id===n.id&&(this.currentNavigation=null)}),Zo(o=>{if(a=!0,r5(o)){n5(o)||(e.navigated=!0,e.restoreHistory(n,!0));const c=new hy(n.id,this.urlSerializer.serialize(n.extractedUrl),o.message,o.cancellationCode);if(this.events.next(c),n5(o)){const h=e.urlHandlingStrategy.merge(o.url,e.rawUrlTree),f={skipLocationChange:n.extras.skipLocationChange,replaceUrl:"eager"===e.urlUpdateStrategy||x5(n.source)};e.scheduleNavigation(h,n_,null,f,{resolve:n.resolve,reject:n.reject,promise:n.promise})}else n.resolve(!1)}else{e.restoreHistory(n,!0);const c=new zC(n.id,this.urlSerializer.serialize(n.extractedUrl),o,n.targetSnapshot??void 0);this.events.next(c);try{n.resolve(e.errorHandler(o))}catch(h){n.reject(h)}}return ln}))}))}cancelNavigationTransition(e,n,r){const a=new hy(e.id,this.urlSerializer.serialize(e.extractedUrl),n,r);this.events.next(a),e.resolve(!1)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function x5(i){return i!==n_}let C5=(()=>{class i{buildTitle(e){let n,r=e.root;for(;void 0!==r;)n=this.getResolvedTitleForRoute(r)??n,r=r.children.find(a=>a.outlet===wn);return n}getResolvedTitleForRoute(e){return e.data[Zg]}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:function(){return ei(YQ)},providedIn:"root"}),i})(),YQ=(()=>{class i extends C5{constructor(e){super(),this.title=e}updateTitle(e){const n=this.buildTitle(e);void 0!==n&&this.title.setTitle(n)}}return i.\u0275fac=function(e){return new(e||i)(Fe(Xx))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),jQ=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:function(){return ei(UQ)},providedIn:"root"}),i})();class zQ{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}let UQ=(()=>{class i extends zQ{}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const Cy=new Ke("",{providedIn:"root",factory:()=>({})});let GQ=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:function(){return ei(qQ)},providedIn:"root"}),i})(),qQ=(()=>{class i{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,n){return e}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function $Q(i){throw i}function KQ(i,t,e){return t.parse("/")}const QQ={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ZQ={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let qn=(()=>{class i{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=ei(mz),this.isNgZoneEnabled=!1,this.options=ei(Cy,{optional:!0})||{},this.errorHandler=this.options.errorHandler||$Q,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||KQ,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=ei(GQ),this.routeReuseStrategy=ei(jQ),this.urlCreationStrategy=ei(OK),this.titleStrategy=ei(C5),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=S6(ei(Kf,{optional:!0})??[]),this.navigationTransitions=ei(xy),this.urlSerializer=ei(Jg),this.location=ei(Tc),this.isNgZoneEnabled=ei(Rt)instanceof Rt&&Rt.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Eu,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Q6(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(e=>{this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const e=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),n_,e)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const n="popstate"===e.type?"popstate":"hashchange";"popstate"===n&&setTimeout(()=>{this.navigateToSyncWithBrowser(e.url,n,e.state)},0)}))}navigateToSyncWithBrowser(e,n,r){const a={replaceUrl:!0},o=r?.navigationId?r:null;if(r){const h={...r};delete h.navigationId,delete h.\u0275routerPageId,0!==Object.keys(h).length&&(a.state=h)}const c=this.parseUrl(e);this.scheduleNavigation(c,n,o,a)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(e){this.config=e.map(JC),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,n={}){const{relativeTo:r,queryParams:a,fragment:o,queryParamsHandling:c,preserveFragment:h}=n,f=h?this.currentUrlTree.fragment:o;let x=null;switch(c){case"merge":x={...this.currentUrlTree.queryParams,...a};break;case"preserve":x=this.currentUrlTree.queryParams;break;default:x=a||null}return null!==x&&(x=this.removeEmptyProps(x)),this.urlCreationStrategy.createUrlTree(r,this.routerState,this.currentUrlTree,e,x,f??null)}navigateByUrl(e,n={skipLocationChange:!1}){const r=zh(e)?e:this.parseUrl(e),a=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(a,n_,null,n)}navigate(e,n={skipLocationChange:!1}){return function XQ(i){for(let t=0;t<i.length;t++){const e=i[t];if(null==e)throw new tt(4008,false)}}(e),this.navigateByUrl(this.createUrlTree(e,n),n)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let n;try{n=this.urlSerializer.parse(e)}catch(r){n=this.malformedUriErrorHandler(r,this.urlSerializer,e)}return n}isActive(e,n){let r;if(r=!0===n?{...QQ}:!1===n?{...ZQ}:n,zh(e))return I6(this.currentUrlTree,e,r);const a=this.parseUrl(e);return I6(this.currentUrlTree,a,r)}removeEmptyProps(e){return Object.keys(e).reduce((n,r)=>{const a=e[r];return null!=a&&(n[r]=a),n},{})}scheduleNavigation(e,n,r,a,o){if(this.disposed)return Promise.resolve(!1);let c,h,f,x;return o?(c=o.resolve,h=o.reject,f=o.promise):f=new Promise((P,$)=>{c=P,h=$}),x="computed"===this.canceledNavigationResolution?r&&r.\u0275routerPageId?r.\u0275routerPageId:a.replaceUrl||a.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:x,source:n,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:a,resolve:c,reject:h,promise:f,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),f.catch(P=>Promise.reject(P))}setBrowserUrl(e,n){const r=this.urlSerializer.serialize(e),a={...n.extras.state,...this.generateNgRouterState(n.id,n.targetPageId)};this.location.isCurrentPathEqualTo(r)||n.extras.replaceUrl?this.location.replaceState(r,"",a):this.location.go(r,"",a)}restoreHistory(e,n=!1){if("computed"===this.canceledNavigationResolution){const r=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===r?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===r&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(r)}else"replace"===this.canceledNavigationResolution&&(n&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,n){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:n}:{navigationId:e}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),va=(()=>{class i{constructor(e,n,r,a,o,c){this.router=e,this.route=n,this.tabIndexAttribute=r,this.renderer=a,this.el=o,this.locationStrategy=c,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new He;const h=o.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===h||"area"===h,this.isAnchorElement?this.subscription=e.events.subscribe(f=>{f instanceof Uh&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(e){this._preserveFragment=kf(e)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(e){this._skipLocationChange=kf(e)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(e){this._replaceUrl=kf(e)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(e){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(e,n,r,a,o){return!!(null===this.urlTree||this.isAnchorElement&&(0!==e||n||r||a||o||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const e=null===this.href?null:function NE(i,t,e){return function S7(i,t){return"src"===t&&("embed"===i||"frame"===i||"iframe"===i||"media"===i||"script"===i)||"href"===t&&("base"===i||"link"===i)?Xm:hn}(t,e)(i)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",e)}applyAttributeValue(e,n){const r=this.renderer,a=this.el.nativeElement;null!==n?r.setAttribute(a,e,n):r.removeAttribute(a,e)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return i.\u0275fac=function(e){return new(e||i)(k(qn),k(ds),fo("tabindex"),k(gl),k(gt),k(Nh))},i.\u0275dir=Oe({type:i,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(e,n){1&e&&pe("click",function(a){return n.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),2&e&&It("target",n.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[or]}),i})(),k5=(()=>{class i{get isActive(){return this._isActive}constructor(e,n,r,a,o){this.router=e,this.element=n,this.renderer=r,this.cdr=a,this.link=o,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new lt,this.routerEventsSubscription=e.events.subscribe(c=>{c instanceof Uh&&this.update()})}ngAfterContentInit(){Ht(this.links.changes,Ht(null)).pipe(br()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const e=[...this.links.toArray(),this.link].filter(n=>!!n).map(n=>n.onChanges);this.linkInputChangesSubscription=rr(e).pipe(br()).subscribe(n=>{this._isActive!==this.isLinkActive(this.router)(n)&&this.update()})}set routerLinkActive(e){const n=Array.isArray(e)?e:e.split(" ");this.classes=n.filter(r=>!!r)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const e=this.hasActiveLinks();this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.classes.forEach(n=>{e?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n)}),e&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(e))})}isLinkActive(e){const n=function JQ(i){return!!i.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return r=>!!r.urlTree&&e.isActive(r.urlTree,n)}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}}return i.\u0275fac=function(e){return new(e||i)(k(qn),k(gt),k(gl),k(ni),k(va,8))},i.\u0275dir=Oe({type:i,selectors:[["","routerLinkActive",""]],contentQueries:function(e,n,r){if(1&e&&ui(r,va,5),2&e){let a;Ze(a=Xe())&&(n.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[or]}),i})();class D5{}let eZ=(()=>{class i{constructor(e,n,r,a,o){this.router=e,this.injector=r,this.preloadingStrategy=a,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(qi(e=>e instanceof Uh),Pc(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,n){const r=[];for(const a of n){a.providers&&!a._injector&&(a._injector=pb(a.providers,e,`Route: ${a.path}`));const o=a._injector??e,c=a._loadedInjector??o;a.loadChildren&&!a._loadedRoutes&&void 0===a.canLoad||a.loadComponent&&!a._loadedComponent?r.push(this.preloadConfig(o,a)):(a.children||a._loadedRoutes)&&r.push(this.processRoutes(c,a.children??a._loadedRoutes))}return rr(r).pipe(br())}preloadConfig(e,n){return this.preloadingStrategy.preload(n,()=>{let r;r=n.loadChildren&&void 0===n.canLoad?this.loader.loadChildren(e,n):Ht(null);const a=r.pipe(vi(o=>null===o?Ht(void 0):(n._loadedRoutes=o.routes,n._loadedInjector=o.injector,this.processRoutes(o.injector??e,o.routes))));return n.loadComponent&&!n._loadedComponent?rr([a,this.loader.loadComponent(n)]).pipe(br()):a})}}return i.\u0275fac=function(e){return new(e||i)(Fe(qn),Fe(qT),Fe(xc),Fe(D5),Fe(rk))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const ok=new Ke("");let M5=(()=>{class i{constructor(e,n,r,a,o={}){this.urlSerializer=e,this.transitions=n,this.viewportScroller=r,this.zone=a,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},o.scrollPositionRestoration=o.scrollPositionRestoration||"disabled",o.anchorScrolling=o.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof jC?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Uh&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof q6&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,n){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new q6(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,n))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return i.\u0275fac=function(e){Wl()},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})();var $s=(()=>(($s=$s||{})[$s.COMPLETE=0]="COMPLETE",$s[$s.FAILED=1]="FAILED",$s[$s.REDIRECTING=2]="REDIRECTING",$s))();const Qf=!1;function Su(i,t){return{\u0275kind:i,\u0275providers:t}}const sk=new Ke("",{providedIn:"root",factory:()=>!1});function S5(){const i=ei(Wr);return t=>{const e=i.get(wd);if(t!==e.components[0])return;const n=i.get(qn),r=i.get(T5);1===i.get(lk)&&n.initialNavigation(),i.get(A5,null,ci.Optional)?.setUpPreloading(),i.get(ok,null,ci.Optional)?.init(),n.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.unsubscribe())}}const T5=new Ke(Qf?"bootstrap done indicator":"",{factory:()=>new He}),lk=new Ke(Qf?"initial navigation":"",{providedIn:"root",factory:()=>1});function aZ(){let i=[];return i=Qf?[{provide:q1,multi:!0,useFactory:()=>{const t=ei(qn);return()=>t.events.subscribe(e=>{console.group?.(`Router Event: ${e.constructor.name}`),console.log(function AK(i){if(!("type"in i))return`Unknown Router Event: ${i.constructor.name}`;switch(i.type){case 14:return`ActivationEnd(path: '${i.snapshot.routeConfig?.path||""}')`;case 13:return`ActivationStart(path: '${i.snapshot.routeConfig?.path||""}')`;case 12:return`ChildActivationEnd(path: '${i.snapshot.routeConfig?.path||""}')`;case 11:return`ChildActivationStart(path: '${i.snapshot.routeConfig?.path||""}')`;case 8:return`GuardsCheckEnd(id: ${i.id}, url: '${i.url}', urlAfterRedirects: '${i.urlAfterRedirects}', state: ${i.state}, shouldActivate: ${i.shouldActivate})`;case 7:return`GuardsCheckStart(id: ${i.id}, url: '${i.url}', urlAfterRedirects: '${i.urlAfterRedirects}', state: ${i.state})`;case 2:return`NavigationCancel(id: ${i.id}, url: '${i.url}')`;case 16:return`NavigationSkipped(id: ${i.id}, url: '${i.url}')`;case 1:return`NavigationEnd(id: ${i.id}, url: '${i.url}', urlAfterRedirects: '${i.urlAfterRedirects}')`;case 3:return`NavigationError(id: ${i.id}, url: '${i.url}', error: ${i.error})`;case 0:return`NavigationStart(id: ${i.id}, url: '${i.url}')`;case 6:return`ResolveEnd(id: ${i.id}, url: '${i.url}', urlAfterRedirects: '${i.urlAfterRedirects}', state: ${i.state})`;case 5:return`ResolveStart(id: ${i.id}, url: '${i.url}', urlAfterRedirects: '${i.urlAfterRedirects}', state: ${i.state})`;case 10:return`RouteConfigLoadEnd(path: ${i.route.path})`;case 9:return`RouteConfigLoadStart(path: ${i.route.path})`;case 4:return`RoutesRecognized(id: ${i.id}, url: '${i.url}', urlAfterRedirects: '${i.urlAfterRedirects}', state: ${i.state})`;case 15:return`Scroll(anchor: '${i.anchor}', position: '${i.position?`${i.position[0]}, ${i.position[1]}`:null}')`}}(e)),console.log(e),console.groupEnd?.()})}}]:[],Su(1,i)}const A5=new Ke(Qf?"router preloader":"");function oZ(i){return Su(0,[{provide:A5,useExisting:eZ},{provide:D5,useExisting:i}])}const u_=!1,I5=new Ke(u_?"router duplicate forRoot guard":"ROUTER_FORROOT_GUARD"),sZ=[Tc,{provide:Jg,useClass:RC},qn,a_,{provide:ds,useFactory:function E5(i){return i.routerState.root},deps:[qn]},rk,u_?{provide:sk,useValue:!0}:[]];function lZ(){return new eA("Router",qn)}let L5=(()=>{class i{constructor(e){}static forRoot(e,n){return{ngModule:i,providers:[sZ,u_&&n?.enableTracing?aZ().\u0275providers:[],{provide:Kf,multi:!0,useValue:e},{provide:I5,useFactory:hZ,deps:[[qn,new Cs,new zl]]},{provide:Cy,useValue:n||{}},n?.useHash?{provide:Nh,useClass:eU}:{provide:Nh,useClass:CA},{provide:ok,useFactory:()=>{const i=ei(hW),t=ei(Rt),e=ei(Cy),n=ei(xy),r=ei(Jg);return e.scrollOffset&&i.setOffset(e.scrollOffset),new M5(r,n,i,t,e)}},n?.preloadingStrategy?oZ(n.preloadingStrategy).\u0275providers:[],{provide:eA,multi:!0,useFactory:lZ},n?.initialNavigation?mZ(n):[],[{provide:N5,useFactory:S5},{provide:GT,multi:!0,useExisting:N5}]]}}static forChild(e){return{ngModule:i,providers:[{provide:Kf,multi:!0,useValue:e}]}}}return i.\u0275fac=function(e){return new(e||i)(Fe(I5,8))},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[ZC]}),i})();function hZ(i){if(u_&&i)throw new tt(4007,"The Router was provided more than once. This can happen if 'forRoot' is used outside of the root injector. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function mZ(i){return["disabled"===i.initialNavigation?Su(3,[{provide:Eg,multi:!0,useFactory:()=>{const t=ei(qn);return()=>{t.setUpLocationChangeListener()}}},{provide:lk,useValue:2}]).\u0275providers:[],"enabledBlocking"===i.initialNavigation?Su(2,[{provide:lk,useValue:0},{provide:Eg,multi:!0,deps:[Wr],useFactory:t=>{const e=t.get(Xz,Promise.resolve());return()=>e.then(()=>new Promise(n=>{const r=t.get(qn),a=t.get(T5);(function tZ(i,t){i.events.pipe(qi(e=>e instanceof Uh||e instanceof hy||e instanceof zC||e instanceof my),_t(e=>e instanceof Uh||e instanceof my?$s.COMPLETE:e instanceof hy&&(0===e.code||1===e.code)?$s.REDIRECTING:$s.FAILED),qi(e=>e!==$s.REDIRECTING),nn(1)).subscribe(()=>{t()})})(r,()=>{n(!0)}),t.get(xy).afterPreactivation=()=>(n(!0),a.closed?Ht(void 0):a),r.initialNavigation()}))}}]).\u0275providers:[]]}const N5=new Ke(u_?"Router Initializer":"");function O5(i,t,e,n,r,a,o){try{var c=i[a](o),h=c.value}catch(f){return void e(f)}c.done?t(h):Promise.resolve(h).then(n,r)}function Se(i){return function(){var t=this,e=arguments;return new Promise(function(n,r){var a=i.apply(t,e);function o(h){O5(a,n,r,o,c,"next",h)}function c(h){O5(a,n,r,o,c,"throw",h)}o(void 0)})}}function pZ(i,t){}class h_{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const ck="mdc-dialog--open",R5="mdc-dialog--opening",P5="mdc-dialog--closing";let B5=(()=>{class i extends CC{constructor(e,n,r,a,o,c,h,f){super(e,n,r,a,o,c,h,f),this._animationStateChanged=new lt}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Of),k(Mi,8),k(h_),k(Ph),k(Rt),k(Vh),k(Ka))},i.\u0275cmp=qe({type:i,selectors:[["ng-component"]],features:[ot],decls:0,vars:0,template:function(e,n){},encapsulation:2}),i})();const H5="--mat-dialog-transition-duration";function V5(i){return null==i?null:"number"==typeof i?i:i.endsWith("ms")?wr(i.substring(0,i.length-2)):i.endsWith("s")?1e3*wr(i.substring(0,i.length-1)):"0"===i?0:null}let bZ=(()=>{class i extends B5{constructor(e,n,r,a,o,c,h,f,x){super(e,n,r,a,o,c,h,x),this._animationMode=f,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._openAnimationDuration=this._animationsEnabled?V5(this._config.enterAnimationDuration)??150:0,this._closeAnimationDuration=this._animationsEnabled?V5(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._openAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._closeAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._openAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(H5,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(R5),this._hostElement.classList.add(ck),this._waitForAnimationToComplete(this._openAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(ck),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._closeAnimationDuration}),this._hostElement.classList.remove(ck),this._animationsEnabled?(this._hostElement.style.setProperty(H5,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(P5),this._waitForAnimationToComplete(this._closeAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(R5),this._hostElement.classList.remove(P5)}_waitForAnimationToComplete(e,n){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(n,e)}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Of),k(Mi,8),k(h_),k(Ph),k(Rt),k(Vh),k(Ln,8),k(Ka))},i.\u0275cmp=qe({type:i,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(e,n){2&e&&(Ua("id",n._config.id),It("aria-modal",n._config.ariaModal)("role",n._config.role)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledBy)("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null),Mt("_mat-animation-noopable",!n._animationsEnabled))},features:[ot],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(e,n){1&e&&(_(0,"div",0)(1,"div",1),ee(2,pZ,0,0,"ng-template",2),F()())},dependencies:[Xl],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title,.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__actions,.mat-mdc-dialog-container.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title{border-bottom-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, "Arial");line-height:var(--mdc-dialog-subhead-line-height, 14px);font-size:var(--mdc-dialog-subhead-size, 14px);font-weight:var(--mdc-dialog-subhead-weight, 500);letter-spacing:var(--mdc-dialog-subhead-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, black)}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, "Arial");line-height:var(--mdc-dialog-supporting-text-line-height, 14px);font-size:var(--mdc-dialog-supporting-text-size, 14px);font-weight:var(--mdc-dialog-supporting-text-weight, 500);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, black)}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2}),i})();class Ts{constructor(t,e,n){this._ref=t,this._containerInstance=n,this._afterOpened=new He,this._beforeClosed=new He,this._state=0,this.disableClose=e.disableClose,this.id=t.id,n._animationStateChanged.pipe(qi(r=>"opened"===r.state),nn(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe(qi(r=>"closed"===r.state),nn(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Pn(this.backdropClick(),this.keydownEvents().pipe(qi(r=>27===r.keyCode&&!this.disableClose&&!ba(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),Y5(this,"keydown"===r.type?"keyboard":"mouse"))})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(qi(e=>"closing"===e.state),nn(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(t){let e=this._ref.config.positionStrategy;return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(t="",e=""){return this._ref.updateSize(t,e),this}addPanelClass(t){return this._ref.addPanelClass(t),this}removePanelClass(t){return this._ref.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function Y5(i,t,e){return i._closeInteractionType=t,i.close(e)}const kl=new Ke("MatMdcDialogData"),yZ=new Ke("mat-mdc-dialog-default-options"),j5=new Ke("mat-mdc-dialog-scroll-strategy"),wZ={provide:j5,deps:[ya],useFactory:function vZ(i){return()=>i.scrollStrategies.block()}};let FZ=0,z5=(()=>{class i{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(e,n,r,a,o,c,h,f,x,P){this._overlay=e,this._defaultOptions=r,this._parentDialog=a,this._dialogRefConstructor=h,this._dialogContainerType=f,this._dialogDataToken=x,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new He,this._afterOpenedAtThisLevel=new He,this._idPrefix="mat-dialog-",this.dialogConfigClass=h_,this.afterAllClosed=Oc(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(jr(void 0))),this._scrollStrategy=c,this._dialog=n.get(DC)}open(e,n){let r;(n={...this._defaultOptions||new h_,...n}).id=n.id||`${this._idPrefix}${FZ++}`,n.scrollStrategy=n.scrollStrategy||this._scrollStrategy();const a=this._dialog.open(e,{...n,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:n},{provide:Ug,useValue:n}]},templateContext:()=>({dialogRef:r}),providers:(o,c,h)=>(r=new this._dialogRefConstructor(o,n,h),r.updatePosition(n?.position),[{provide:this._dialogContainerType,useValue:h},{provide:this._dialogDataToken,useValue:c.data},{provide:this._dialogRefConstructor,useValue:r}])});return r.componentInstance=a.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{const o=this.openDialogs.indexOf(r);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(n=>n.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let n=e.length;for(;n--;)e[n].close()}}return i.\u0275fac=function(e){Wl()},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})(),Ia=(()=>{class i extends z5{constructor(e,n,r,a,o,c,h,f){super(e,n,a,c,h,o,Ts,bZ,kl,f),this._idPrefix="mat-mdc-dialog-"}}return i.\u0275fac=function(e){return new(e||i)(Fe(ya),Fe(Wr),Fe(Tc,8),Fe(yZ,8),Fe(j5),Fe(i,12),Fe(zg),Fe(Ln,8))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})(),xZ=0,Wh=(()=>{class i{constructor(e,n,r){this.dialogRef=e,this._elementRef=n,this._dialog=r,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=U5(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){const n=e._matDialogClose||e._matDialogCloseResult;n&&(this.dialogResult=n.currentValue)}_onButtonClick(e){Y5(this.dialogRef,0===e.screenX&&0===e.screenY?"keyboard":"mouse",this.dialogResult)}}return i.\u0275fac=function(e){return new(e||i)(k(Ts,8),k(gt),k(Ia))},i.\u0275dir=Oe({type:i,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,n){1&e&&pe("click",function(a){return n._onButtonClick(a)}),2&e&&It("aria-label",n.ariaLabel||null)("type",n.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[or]}),i})(),Gh=(()=>{class i{constructor(e,n,r){this._dialogRef=e,this._elementRef=n,this._dialog=r,this.id="mat-mdc-dialog-title-"+xZ++}ngOnInit(){this._dialogRef||(this._dialogRef=U5(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return i.\u0275fac=function(e){return new(e||i)(k(Ts,8),k(gt),k(Ia))},i.\u0275dir=Oe({type:i,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(e,n){2&e&&Ua("id",n.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),i})(),tc=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]}),i})(),Vc=(()=>{class i{constructor(){this.align="start"}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(e,n){2&e&&Mt("mat-mdc-dialog-actions-align-center","center"===n.align)("mat-mdc-dialog-actions-align-end","end"===n.align)},inputs:{align:"align"}}),i})();function U5(i,t){let e=i.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?t.find(n=>n.id===e.id):null}let CZ=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[Ia,wZ],imports:[EC,Nc,Fl,Qt,Qt]}),i})();const ky={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},kZ={dialogContainer:Qa("dialogContainer",[_r("void, exit",pi({opacity:0,transform:"scale(0.7)"})),_r("enter",pi({transform:"none"})),cr("* => enter",Gg([lr("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",pi({transform:"none",opacity:1})),Od("@*",$g(),{optional:!0})]),ky),cr("* => void, * => exit",Gg([lr("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",pi({opacity:0})),Od("@*",$g(),{optional:!0})]),ky)])},W5=["mat-button",""],Dy=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],My=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],G5=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",MZ=["mat-fab",""],EZ=["mat-mini-fab",""],TZ=["mat-icon-button",""],AZ=["*"],IZ=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],LZ=ec(Jl(xl(class{constructor(i){this._elementRef=i}})));let m_=(()=>{class i extends LZ{constructor(e,n,r,a){super(e),this._platform=n,this._ngZone=r,this._animationMode=a,this._focusMonitor=ei(Ka),this._isFab=!1;const o=e.nativeElement.classList;for(const c of IZ)this._hasHostAttributes(c.selector)&&c.mdcClasses.forEach(h=>{o.add(h)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e="program",n){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,n):this._elementRef.nativeElement.focus(n)}_hasHostAttributes(...e){return e.some(n=>this._elementRef.nativeElement.hasAttribute(n))}_isRippleDisabled(){return this.disableRipple||this.disabled}}return i.\u0275fac=function(e){Wl()},i.\u0275dir=Oe({type:i,viewQuery:function(e,n){if(1&e&&Lt(da,5),2&e){let r;Ze(r=Xe())&&(n.ripple=r.first)}},features:[ot]}),i})(),OZ=(()=>{class i extends m_{constructor(e,n,r,a){super(e,n,r,a),this._haltDisabledEvents=o=>{this.disabled&&(o.preventDefault(),o.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return i.\u0275fac=function(e){Wl()},i.\u0275dir=Oe({type:i,features:[ot]}),i})(),ur=(()=>{class i extends m_{constructor(e,n,r,a){super(e,n,r,a)}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Bn),k(Rt),k(Ln,8))},i.\u0275cmp=qe({type:i,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(e,n){2&e&&(It("disabled",n.disabled||null),Mt("_mat-animation-noopable","NoopAnimations"===n._animationMode)("mat-unthemed",!n.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[ot],attrs:W5,ngContentSelectors:My,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,n){1&e&&(Bi(Dy),Ce(0,"span",0),Ft(1),_(2,"span",1),Ft(3,1),F(),Ft(4,2),Ce(5,"span",2)(6,"span",3)(7,"span",4)),2&e&&(Mt("mdc-button__ripple",!n._isFab)("mdc-fab__ripple",n._isFab),E(6),S("matRippleDisabled",n._isRippleDisabled())("matRippleTrigger",n._elementRef.nativeElement))},dependencies:[da],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),i})(),RZ=(()=>{class i extends OZ{constructor(e,n,r,a){super(e,n,r,a)}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Bn),k(Rt),k(Ln,8))},i.\u0275cmp=qe({type:i,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:9,hostBindings:function(e,n){2&e&&(It("disabled",n.disabled||null)("tabindex",n.disabled?-1:n.tabIndex)("aria-disabled",n.disabled.toString()),Mt("_mat-animation-noopable","NoopAnimations"===n._animationMode)("mat-unthemed",!n.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[ot],attrs:W5,ngContentSelectors:My,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,n){1&e&&(Bi(Dy),Ce(0,"span",0),Ft(1),_(2,"span",1),Ft(3,1),F(),Ft(4,2),Ce(5,"span",2)(6,"span",3)(7,"span",4)),2&e&&(Mt("mdc-button__ripple",!n._isFab)("mdc-fab__ripple",n._isFab),E(6),S("matRippleDisabled",n._isRippleDisabled())("matRippleTrigger",n._elementRef.nativeElement))},dependencies:[da],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',G5],encapsulation:2,changeDetection:0}),i})();const q5=new Ke("mat-mdc-fab-default-options",{providedIn:"root",factory:$5});function $5(){return{color:"accent"}}const Ey=$5();let K5=(()=>{class i extends m_{get extended(){return this._extended}set extended(e){this._extended=Ct(e)}constructor(e,n,r,a,o){super(e,n,r,a),this._options=o,this._isFab=!0,this._options=this._options||Ey,this.color=this.defaultColor=this._options.color||Ey.color}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Bn),k(Rt),k(Ln,8),k(q5,8))},i.\u0275cmp=qe({type:i,selectors:[["button","mat-fab",""]],hostVars:11,hostBindings:function(e,n){2&e&&(It("disabled",n.disabled||null),Mt("_mat-animation-noopable","NoopAnimations"===n._animationMode)("mat-unthemed",!n.color)("mat-mdc-button-base",!0)("mdc-fab--extended",n.extended)("mat-mdc-extended-fab",n.extended))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",extended:"extended"},exportAs:["matButton"],features:[ot],attrs:MZ,ngContentSelectors:My,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,n){1&e&&(Bi(Dy),Ce(0,"span",0),Ft(1),_(2,"span",1),Ft(3,1),F(),Ft(4,2),Ce(5,"span",2)(6,"span",3)(7,"span",4)),2&e&&(Mt("mdc-button__ripple",!n._isFab)("mdc-fab__ripple",n._isFab),E(6),S("matRippleDisabled",n._isRippleDisabled())("matRippleTrigger",n._elementRef.nativeElement))},dependencies:[da],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0}),i})(),Q5=(()=>{class i extends m_{constructor(e,n,r,a,o){super(e,n,r,a),this._options=o,this._isFab=!0,this._options=this._options||Ey,this.color=this.defaultColor=this._options.color||Ey.color}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Bn),k(Rt),k(Ln,8),k(q5,8))},i.\u0275cmp=qe({type:i,selectors:[["button","mat-mini-fab",""]],hostVars:7,hostBindings:function(e,n){2&e&&(It("disabled",n.disabled||null),Mt("_mat-animation-noopable","NoopAnimations"===n._animationMode)("mat-unthemed",!n.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[ot],attrs:EZ,ngContentSelectors:My,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,n){1&e&&(Bi(Dy),Ce(0,"span",0),Ft(1),_(2,"span",1),Ft(3,1),F(),Ft(4,2),Ce(5,"span",2)(6,"span",3)(7,"span",4)),2&e&&(Mt("mdc-button__ripple",!n._isFab)("mdc-fab__ripple",n._isFab),E(6),S("matRippleDisabled",n._isRippleDisabled())("matRippleTrigger",n._elementRef.nativeElement))},dependencies:[da],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0}),i})(),bo=(()=>{class i extends m_{constructor(e,n,r,a){super(e,n,r,a)}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Bn),k(Rt),k(Ln,8))},i.\u0275cmp=qe({type:i,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(e,n){2&e&&(It("disabled",n.disabled||null),Mt("_mat-animation-noopable","NoopAnimations"===n._animationMode)("mat-unthemed",!n.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[ot],attrs:TZ,ngContentSelectors:AZ,decls:5,vars:3,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,n){1&e&&(Bi(),Ce(0,"span",0),Ft(1),Ce(2,"span",1)(3,"span",2)(4,"span",3)),2&e&&(E(3),S("matRippleDisabled",n._isRippleDisabled())("matRippleCentered",!0)("matRippleTrigger",n._elementRef.nativeElement))},dependencies:[da],styles:['.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{max-height:48px;max-width:48px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size, 48px);width:var(--mdc-icon-button-state-layer-size, 48px);color:var(--mdc-icon-button-icon-color, inherit);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity, 0.38)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color, #000)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',G5],encapsulation:2,changeDetection:0}),i})(),Sy=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Qt,qs,Qt]}),i})();class f_{constructor(t,e){this.dialogRef=t,this.consent=e}onNoClick(){this.consent=!1,this.dialogRef.close()}}f_.\u0275fac=function(t){return new(t||f_)(k(Ts),k(kl))},f_.\u0275cmp=qe({type:f_,selectors:[["add-consent-dialog"]],decls:24,vars:1,consts:[[1,"dialog"],["mat-dialog-title",""],["mat-dialog-content","",1,"mat-dialog-content"],["href","https://www.blockcore.net/policy","target","_blank"],["mat-dialog-actions","","align","end"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"h1",1),N(2,"Give consent"),F(),_(3,"div",2)(4,"p"),N(5," Nostr is a decentralized and distributed network of relays that relays data by users. That means there is no centralized service where filtering or censoring is occurring. You may be exposed to content that will be disturbing and against your morality and world views. "),F(),_(6,"p"),N(7,"Content you publish are your responsibility and you cannot undo/delete after you publish. Don't publish or share a note (post) you wouldn't say to your neighbour."),F(),_(8,"p"),N(9,"Blockcore has no involvement in the type of content being produced and shown to you in this app."),F(),_(10,"p"),N(11,"You accept that all usage of Blockcore Notes, Blockcore infrastructure and software must be the result of peaceful voluntary human interactions."),F(),_(12,"p"),N(13,"If you're young and still living with your parents, consider asking them for permission before you continue."),F(),_(14,"p"),N(15,"To continue you must agree with our "),_(16,"a",3),N(17,"Privacy Policy and Terms & Conditions"),F(),N(18,"."),F()(),_(19,"div",4)(20,"button",5),pe("click",function(){return e.onNoClick()}),N(21,"I don't consent"),F(),_(22,"button",6),N(23,"I consent"),F()()()),2&t&&(E(22),S("mat-dialog-close",!0))},dependencies:[ur,Wh,Gh,tc,Vc],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}.dialog[_ngcontent-%COMP%]{max-width:800px}"]});class Dl{constructor(t){this._renderer=t,this.renderer=t.createRenderer(null,null)}get darkMode(){if(localStorage.getItem("theme")){if("dark"===localStorage.getItem("theme"))return!0}else if(window.matchMedia("(prefers-color-scheme: dark)").matches)return!0;return!1}set darkMode(t){t?localStorage.setItem("theme","dark"):localStorage.setItem("theme","light"),this.updateMode()}init(){this.updateMode()}updateMode(){this.darkMode?this.renderer.addClass(document.body,"dark"):this.renderer.removeClass(document.body,"dark")}}Dl.\u0275fac=function(t){return new(t||Dl)(Fe(tf))},Dl.\u0275prov=Qe({token:Dl,factory:Dl.\u0275fac,providedIn:"root"});class PZ extends He{constructor(t=1/0,e=1/0,n=oC){super(),this._bufferSize=t,this._windowTime=e,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,e)}next(t){const{isStopped:e,_buffer:n,_infiniteTimeWindow:r,_timestampProvider:a,_windowTime:o}=this;e||(n.push(t),!r&&n.push(a.now()+o)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(t),{_infiniteTimeWindow:n,_buffer:r}=this,a=r.slice();for(let o=0;o<a.length&&!t.closed;o+=n?1:2)t.next(a[o]);return this._checkFinalizedStatuses(t),e}_trimBuffer(){const{_bufferSize:t,_timestampProvider:e,_buffer:n,_infiniteTimeWindow:r}=this,a=(r?1:2)*t;if(t<1/0&&a<n.length&&n.splice(0,n.length-a),!r){const o=e.now();let c=0;for(let h=1;h<n.length&&n[h]<=o;h+=2)c=h;c&&n.splice(0,c+1)}}}function qh(i,t,e){let n,r=!1;return i&&"object"==typeof i?({bufferSize:n=1/0,windowTime:t=1/0,refCount:r=!1,scheduler:e}=i):n=i??1/0,ro({connector:()=>new PZ(n,t,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function ic(i){return!!i&&(i instanceof mt||T(i.lift)&&T(i.subscribe))}function dk(...i){const t=io(i),{args:e,keys:n}=xI(i),r=new mt(a=>{const{length:o}=e;if(!o)return void a.complete();const c=new Array(o);let h=o,f=o;for(let x=0;x<o;x++){let P=!1;sn(e[x]).subscribe(Ut(a,$=>{P||(P=!0,f--),c[x]=$},()=>h--,void 0,()=>{(!h||!P)&&(f||a.next(n?CI(n,c):c),a.complete())}))}});return t?r.pipe(cC(t)):r}class p_{}let Z5=(()=>{class i extends p_{getTranslation(e){return Ht({})}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})();class uk{}let X5=(()=>{class i{handle(e){return e.key}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})();function Ty(i,t){if(i===t)return!0;if(null===i||null===t)return!1;if(i!=i&&t!=t)return!0;let r,a,o,e=typeof i;if(e==typeof t&&"object"==e){if(!Array.isArray(i)){if(Array.isArray(t))return!1;for(a in o=Object.create(null),i){if(!Ty(i[a],t[a]))return!1;o[a]=!0}for(a in t)if(!(a in o)&&typeof t[a]<"u")return!1;return!0}if(!Array.isArray(t))return!1;if((r=i.length)==t.length){for(a=0;a<r;a++)if(!Ty(i[a],t[a]))return!1;return!0}}return!1}function Tu(i){return typeof i<"u"&&null!==i}function hk(i){return i&&"object"==typeof i&&!Array.isArray(i)}function J5(i,t){let e=Object.assign({},i);return hk(i)&&hk(t)&&Object.keys(t).forEach(n=>{hk(t[n])?n in i?e[n]=J5(i[n],t[n]):Object.assign(e,{[n]:t[n]}):Object.assign(e,{[n]:t[n]})}),e}class Ay{}let e8=(()=>{class i extends Ay{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(e,n){let r;return r="string"==typeof e?this.interpolateString(e,n):"function"==typeof e?this.interpolateFunction(e,n):e,r}getValue(e,n){let r="string"==typeof n?n.split("."):[n];n="";do{n+=r.shift(),!Tu(e)||!Tu(e[n])||"object"!=typeof e[n]&&r.length?r.length?n+=".":e=void 0:(e=e[n],n="")}while(r.length);return e}interpolateFunction(e,n){return e(n)}interpolateString(e,n){return n?e.replace(this.templateMatcher,(r,a)=>{let o=this.getValue(n,a);return Tu(o)?o:r}):e}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})();class Iy{}let t8=(()=>{class i extends Iy{compile(e,n){return e}compileTranslations(e,n){return e}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})();class n8{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new lt,this.onLangChange=new lt,this.onDefaultLangChange=new lt}}const mk=new Ke("USE_STORE"),fk=new Ke("USE_DEFAULT_LANG"),pk=new Ke("DEFAULT_LANGUAGE"),gk=new Ke("USE_EXTEND");let Zf=(()=>{class i{constructor(e,n,r,a,o,c=!0,h=!1,f=!1,x){this.store=e,this.currentLoader=n,this.compiler=r,this.parser=a,this.missingTranslationHandler=o,this.useDefaultLang=c,this.isolate=h,this.extend=f,this.pending=!1,this._onTranslationChange=new lt,this._onLangChange=new lt,this._onDefaultLangChange=new lt,this._langs=[],this._translations={},this._translationRequests={},x&&this.setDefaultLang(x)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}setDefaultLang(e){if(e===this.defaultLang)return;let n=this.retrieveTranslations(e);typeof n<"u"?(null==this.defaultLang&&(this.defaultLang=e),n.pipe(nn(1)).subscribe(r=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return Ht(this.translations[e]);let n=this.retrieveTranslations(e);return typeof n<"u"?(this.currentLang||(this.currentLang=e),n.pipe(nn(1)).subscribe(r=>{this.changeLang(e)}),n):(this.changeLang(e),Ht(this.translations[e]))}retrieveTranslations(e){let n;return(typeof this.translations[e]>"u"||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),n=this._translationRequests[e]),n}getTranslation(e){this.pending=!0;const n=this.currentLoader.getTranslation(e).pipe(qh(1),nn(1));return this.loadingTranslations=n.pipe(_t(r=>this.compiler.compileTranslations(r,e)),qh(1),nn(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[e]=this.extend&&this.translations[e]?{...r,...this.translations[e]}:r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),n}setTranslation(e,n,r=!1){n=this.compiler.compileTranslations(n,e),this.translations[e]=(r||this.extend)&&this.translations[e]?J5(this.translations[e],n):n,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(n=>{-1===this.langs.indexOf(n)&&this.langs.push(n)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,n,r){let a;if(n instanceof Array){let o={},c=!1;for(let h of n)o[h]=this.getParsedResult(e,h,r),ic(o[h])&&(c=!0);return c?dk(n.map(f=>ic(o[f])?o[f]:Ht(o[f]))).pipe(_t(f=>{let x={};return f.forEach((P,$)=>{x[n[$]]=P}),x})):o}if(e&&(a=this.parser.interpolate(this.parser.getValue(e,n),r)),typeof a>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(a=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],n),r)),typeof a>"u"){let o={key:n,translateService:this};typeof r<"u"&&(o.interpolateParams=r),a=this.missingTranslationHandler.handle(o)}return typeof a<"u"?a:n}get(e,n){if(!Tu(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Pc(r=>ic(r=this.getParsedResult(r,e,n))?r:Ht(r)));{let r=this.getParsedResult(this.translations[this.currentLang],e,n);return ic(r)?r:Ht(r)}}getStreamOnTranslationChange(e,n){if(!Tu(e)||!e.length)throw new Error('Parameter "key" required');return Sd(Oc(()=>this.get(e,n)),this.onTranslationChange.pipe(ia(r=>{const a=this.getParsedResult(r.translations,e,n);return"function"==typeof a.subscribe?a:Ht(a)})))}stream(e,n){if(!Tu(e)||!e.length)throw new Error('Parameter "key" required');return Sd(Oc(()=>this.get(e,n)),this.onLangChange.pipe(ia(r=>{const a=this.getParsedResult(r.translations,e,n);return ic(a)?a:Ht(a)})))}instant(e,n){if(!Tu(e)||!e.length)throw new Error('Parameter "key" required');let r=this.getParsedResult(this.translations[this.currentLang],e,n);if(ic(r)){if(e instanceof Array){let a={};return e.forEach((o,c)=>{a[e[c]]=e[c]}),a}return e}return r}set(e,n,r=this.currentLang){this.translations[r][e]=this.compiler.compile(n,r),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof e>"u"?void 0:(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}}return i.\u0275fac=function(e){return new(e||i)(Fe(n8),Fe(p_),Fe(Iy),Fe(Ay),Fe(uk),Fe(fk),Fe(mk),Fe(gk),Fe(pk))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})(),BZ=(()=>{class i{constructor(e,n){this.translate=e,this._ref=n,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(e,n,r){let a=o=>{this.value=void 0!==o?o:e,this.lastKey=e,this._ref.markForCheck()};if(r){let o=this.translate.getParsedResult(r,e,n);ic(o.subscribe)?o.subscribe(a):a(o)}this.translate.get(e,n).subscribe(a)}transform(e,...n){if(!e||!e.length)return e;if(Ty(e,this.lastKey)&&Ty(n,this.lastParams))return this.value;let r;if(Tu(n[0])&&n.length)if("string"==typeof n[0]&&n[0].length){let a=n[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{r=JSON.parse(a)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${n[0]}`)}}else"object"==typeof n[0]&&!Array.isArray(n[0])&&(r=n[0]);return this.lastKey=e,this.lastParams=n,this.updateValue(e,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(a=>{this.lastKey&&a.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,r,a.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(a=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r,a.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return i.\u0275fac=function(e){return new(e||i)(k(Zf,16),k(ni,16))},i.\u0275pipe=Mr({name:"translate",type:i,pure:!1}),i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})(),HZ=(()=>{class i{static forRoot(e={}){return{ngModule:i,providers:[e.loader||{provide:p_,useClass:Z5},e.compiler||{provide:Iy,useClass:t8},e.parser||{provide:Ay,useClass:e8},e.missingTranslationHandler||{provide:uk,useClass:X5},n8,{provide:mk,useValue:e.isolate},{provide:fk,useValue:e.useDefaultLang},{provide:gk,useValue:e.extend},{provide:pk,useValue:e.defaultLanguage},Zf]}}static forChild(e={}){return{ngModule:i,providers:[e.loader||{provide:p_,useClass:Z5},e.compiler||{provide:Iy,useClass:t8},e.parser||{provide:Ay,useClass:e8},e.missingTranslationHandler||{provide:uk,useClass:X5},{provide:mk,useValue:e.isolate},{provide:fk,useValue:e.useDefaultLang},{provide:gk,useValue:e.extend},{provide:pk,useValue:e.defaultLanguage},Zf]}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})();var VZ=I(5856),YZ=I.t(VZ,2);const Jn=BigInt(0),na=BigInt(1),Au=BigInt(2),g_=BigInt(3),r8=BigInt(8),Rr=Object.freeze({a:Jn,b:BigInt(7),P:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),n:BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),h:na,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee")}),a8=(i,t)=>(i+t/Au)/t,Ly={beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar(i){const{n:t}=Rr,e=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),n=-na*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),r=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),a=e,o=BigInt("0x100000000000000000000000000000000"),c=a8(a*i,t),h=a8(-n*i,t);let f=Zt(i-c*e-h*r,t),x=Zt(-c*n-h*a,t);const P=f>o,$=x>o;if(P&&(f=t-f),$&&(x=t-x),f>o||x>o)throw new Error("splitScalarEndo: Endomorphism failed, k="+i);return{k1neg:P,k1:f,k2neg:$,k2:x}}},nc=32,$h=32,Ny=nc+1,Oy=2*nc+1;function s8(i){const{a:t,b:e}=Rr,n=Zt(i*i),r=Zt(n*i);return Zt(r+t*i+e)}const Ry=Rr.a===Jn;class _k extends Error{constructor(t){super(t)}}function l8(i){if(!(i instanceof Fr))throw new TypeError("JacobianPoint expected")}class Fr{constructor(t,e,n){this.x=t,this.y=e,this.z=n}static fromAffine(t){if(!(t instanceof er))throw new TypeError("JacobianPoint#fromAffine: expected Point");return t.equals(er.ZERO)?Fr.ZERO:new Fr(t.x,t.y,na)}static toAffineBatch(t){const e=function GZ(i,t=Rr.P){const e=new Array(i.length),r=ep(i.reduce((a,o,c)=>o===Jn?a:(e[c]=a,Zt(a*o,t)),na),t);return i.reduceRight((a,o,c)=>o===Jn?a:(e[c]=Zt(a*e[c],t),Zt(a*o,t)),r),e}(t.map(n=>n.z));return t.map((n,r)=>n.toAffine(e[r]))}static normalizeZ(t){return Fr.toAffineBatch(t).map(Fr.fromAffine)}equals(t){l8(t);const{x:e,y:n,z:r}=this,{x:a,y:o,z:c}=t,h=Zt(r*r),f=Zt(c*c),x=Zt(e*f),P=Zt(a*h),$=Zt(Zt(n*c)*f),te=Zt(Zt(o*r)*h);return x===P&&$===te}negate(){return new Fr(this.x,Zt(-this.y),this.z)}double(){const{x:t,y:e,z:n}=this,r=Zt(t*t),a=Zt(e*e),o=Zt(a*a),c=t+a,h=Zt(Au*(Zt(c*c)-r-o)),f=Zt(g_*r),x=Zt(f*f),P=Zt(x-Au*h),$=Zt(f*(h-P)-r8*o),te=Zt(Au*e*n);return new Fr(P,$,te)}add(t){l8(t);const{x:e,y:n,z:r}=this,{x:a,y:o,z:c}=t;if(a===Jn||o===Jn)return this;if(e===Jn||n===Jn)return t;const h=Zt(r*r),f=Zt(c*c),x=Zt(e*f),P=Zt(a*h),$=Zt(Zt(n*c)*f),te=Zt(Zt(o*r)*h),fe=Zt(P-x),ye=Zt(te-$);if(fe===Jn)return ye===Jn?this.double():Fr.ZERO;const Ie=Zt(fe*fe),Le=Zt(fe*Ie),it=Zt(x*Ie),Be=Zt(ye*ye-Le-Au*it),ut=Zt(ye*(it-Be)-$*Le),Tt=Zt(r*c*fe);return new Fr(Be,ut,Tt)}subtract(t){return this.add(t.negate())}multiplyUnsafe(t){const e=Fr.ZERO;if("bigint"==typeof t&&t===Jn)return e;let n=u8(t);if(n===na)return this;if(!Ry){let P=e,$=this;for(;n>Jn;)n&na&&(P=P.add($)),$=$.double(),n>>=na;return P}let{k1neg:r,k1:a,k2neg:o,k2:c}=Ly.splitScalar(n),h=e,f=e,x=this;for(;a>Jn||c>Jn;)a&na&&(h=h.add(x)),c&na&&(f=f.add(x)),x=x.double(),a>>=na,c>>=na;return r&&(h=h.negate()),o&&(f=f.negate()),f=new Fr(Zt(f.x*Ly.beta),f.y,f.z),h.add(f)}precomputeWindow(t){const e=Ry?128/t+1:256/t+1,n=[];let r=this,a=r;for(let o=0;o<e;o++){a=r,n.push(a);for(let c=1;c<2**(t-1);c++)a=a.add(r),n.push(a);r=a.double()}return n}wNAF(t,e){!e&&this.equals(Fr.BASE)&&(e=er.BASE);const n=e&&e._WINDOW_SIZE||1;if(256%n)throw new Error("Point#wNAF: Invalid precomputation window, must be power of 2");let r=e&&bk.get(e);r||(r=this.precomputeWindow(n),e&&1!==n&&(r=Fr.normalizeZ(r),bk.set(e,r)));let a=Fr.ZERO,o=Fr.BASE;const c=1+(Ry?128/n:256/n),h=2**(n-1),f=BigInt(2**n-1),x=2**n,P=BigInt(n);for(let $=0;$<c;$++){const te=$*h;let fe=Number(t&f);t>>=P,fe>h&&(fe-=x,t+=na);const ye=te,Ie=te+Math.abs(fe)-1,it=fe<0;0===fe?o=o.add(Py($%2!=0,r[ye])):a=a.add(Py(it,r[Ie]))}return{p:a,f:o}}multiply(t,e){let r,a,n=u8(t);if(Ry){const{k1neg:o,k1:c,k2neg:h,k2:f}=Ly.splitScalar(n);let{p:x,f:P}=this.wNAF(c,e),{p:$,f:te}=this.wNAF(f,e);x=Py(o,x),$=Py(h,$),$=new Fr(Zt($.x*Ly.beta),$.y,$.z),r=x.add($),a=P.add(te)}else{const{p:o,f:c}=this.wNAF(n,e);r=o,a=c}return Fr.normalizeZ([r,a])[0]}toAffine(t){const{x:e,y:n,z:r}=this,a=this.equals(Fr.ZERO);null==t&&(t=a?r8:ep(r));const o=t,c=Zt(o*o),h=Zt(c*o),f=Zt(e*c),x=Zt(n*h),P=Zt(r*o);if(a)return er.ZERO;if(P!==na)throw new Error("invZ was invalid");return new er(f,x)}}function Py(i,t){const e=t.negate();return i?e:t}Fr.BASE=new Fr(Rr.Gx,Rr.Gy,na),Fr.ZERO=new Fr(Jn,na,Jn);const bk=new WeakMap;class er{constructor(t,e){this.x=t,this.y=e}_setWindowSize(t){this._WINDOW_SIZE=t,bk.delete(this)}hasEvenY(){return this.y%Au===Jn}static fromCompressedHex(t){const e=32===t.length,n=Ks(e?t:t.subarray(1));if(!Hy(n))throw new Error("Point is not on curve");let a=function WZ(i){const{P:t}=Rr,e=BigInt(6),n=BigInt(11),r=BigInt(22),a=BigInt(23),o=BigInt(44),c=BigInt(88),h=i*i*i%t,f=h*h*i%t,x=Ml(f,g_)*f%t,P=Ml(x,g_)*f%t,$=Ml(P,Au)*h%t,te=Ml($,n)*$%t,fe=Ml(te,r)*te%t,ye=Ml(fe,o)*fe%t,Ie=Ml(ye,c)*ye%t,Le=Ml(Ie,o)*fe%t,it=Ml(Le,g_)*f%t,Be=Ml(it,a)*te%t,ut=Ml(Be,e)*h%t,Tt=Ml(ut,Au);if(Tt*Tt%t!==i)throw new Error("Cannot find square root");return Tt}(s8(n));const o=(a&na)===na;e?o&&(a=Zt(-a)):1==(1&t[0])!==o&&(a=Zt(-a));const c=new er(n,a);return c.assertValidity(),c}static fromUncompressedHex(t){const e=Ks(t.subarray(1,nc+1)),n=Ks(t.subarray(nc+1,2*nc+1)),r=new er(e,n);return r.assertValidity(),r}static fromHex(t){const e=Yc(t),n=e.length,r=e[0];if(n===nc)return this.fromCompressedHex(e);if(n===Ny&&(2===r||3===r))return this.fromCompressedHex(e);if(n===Oy&&4===r)return this.fromUncompressedHex(e);throw new Error(`Point.fromHex: received invalid point. Expected 32-${Ny} compressed bytes or ${Oy} uncompressed bytes, not ${n}`)}static fromPrivateKey(t){return er.BASE.multiply(Kh(t))}static fromSignature(t,e,n){const{r,s:a}=f8(e);if(![0,1,2,3].includes(n))throw new Error("Cannot recover: invalid recovery bit");const o=yk(Yc(t)),{n:c}=Rr,h=2===n||3===n?r+c:r,f=ep(h,c),x=Zt(-o*f,c),P=Zt(a*f,c),te=er.fromHex((1&n?"03":"02")+Lu(h)),fe=er.BASE.multiplyAndAddUnsafe(te,x,P);if(!fe)throw new Error("Cannot recover signature: point at infinify");return fe.assertValidity(),fe}toRawBytes(t=!1){return Nu(this.toHex(t))}toHex(t=!1){const e=Lu(this.x);return t?`${this.hasEvenY()?"02":"03"}${e}`:`04${e}${Lu(this.y)}`}toHexX(){return this.toHex(!0).slice(2)}toRawX(){return this.toRawBytes(!0).slice(1)}assertValidity(){const t="Point is not on elliptic curve",{x:e,y:n}=this;if(!Hy(e)||!Hy(n))throw new Error(t);const r=Zt(n*n);if(Zt(r-s8(e))!==Jn)throw new Error(t)}equals(t){return this.x===t.x&&this.y===t.y}negate(){return new er(this.x,Zt(-this.y))}double(){return Fr.fromAffine(this).double().toAffine()}add(t){return Fr.fromAffine(this).add(Fr.fromAffine(t)).toAffine()}subtract(t){return this.add(t.negate())}multiply(t){return Fr.fromAffine(this).multiply(t,this).toAffine()}multiplyAndAddUnsafe(t,e,n){const r=Fr.fromAffine(this),a=e===Jn||e===na||this!==er.BASE?r.multiplyUnsafe(e):r.multiply(e),o=Fr.fromAffine(t).multiplyUnsafe(n),c=a.add(o);return c.equals(Fr.ZERO)?void 0:c.toAffine()}}function c8(i){return Number.parseInt(i[0],16)>=8?"00"+i:i}function d8(i){if(i.length<2||2!==i[0])throw new Error(`Invalid signature integer tag: ${Xf(i)}`);const t=i[1],e=i.subarray(2,t+2);if(!t||e.length!==t)throw new Error("Invalid signature integer: wrong length");if(0===e[0]&&e[1]<=127)throw new Error("Invalid signature integer: trailing length");return{data:Ks(e),left:i.subarray(t+2)}}er.BASE=new er(Rr.Gx,Rr.Gy),er.ZERO=new er(Jn,Jn);class Bd{constructor(t,e){this.r=t,this.s=e,this.assertValidity()}static fromCompact(t){const e=t instanceof Uint8Array,n="Signature.fromCompact";if("string"!=typeof t&&!e)throw new TypeError(`${n}: Expected string or Uint8Array`);const r=e?Xf(t):t;if(128!==r.length)throw new Error(`${n}: Expected 64-byte hex`);return new Bd(By(r.slice(0,64)),By(r.slice(64,128)))}static fromDER(t){const e=t instanceof Uint8Array;if("string"!=typeof t&&!e)throw new TypeError("Signature.fromDER: Expected string or Uint8Array");const{r:n,s:r}=function jZ(i){if(i.length<2||48!=i[0])throw new Error(`Invalid signature tag: ${Xf(i)}`);if(i[1]!==i.length-2)throw new Error("Invalid signature: incorrect length");const{data:t,left:e}=d8(i.subarray(2)),{data:n,left:r}=d8(e);if(r.length)throw new Error(`Invalid signature: left bytes after parsing: ${Xf(r)}`);return{r:t,s:n}}(e?t:Nu(t));return new Bd(n,r)}static fromHex(t){return this.fromDER(t)}assertValidity(){const{r:t,s:e}=this;if(!ip(t))throw new Error("Invalid Signature: r must be 0 < r < n");if(!ip(e))throw new Error("Invalid Signature: s must be 0 < s < n")}hasHighS(){return this.s>Rr.n>>na}normalizeS(){return this.hasHighS()?new Bd(this.r,Zt(-this.s,Rr.n)):this}toDERRawBytes(){return Nu(this.toDERHex())}toDERHex(){const t=c8(__(this.s)),e=c8(__(this.r)),n=t.length/2,r=e.length/2,a=__(n),o=__(r);return`30${__(r+n+4)}02${o}${e}02${a}${t}`}toRawBytes(){return this.toDERRawBytes()}toHex(){return this.toDERHex()}toCompactRawBytes(){return Nu(this.toCompactHex())}toCompactHex(){return Lu(this.r)+Lu(this.s)}}function Iu(...i){if(!i.every(n=>n instanceof Uint8Array))throw new Error("Uint8Array list expected");if(1===i.length)return i[0];const t=i.reduce((n,r)=>n+r.length,0),e=new Uint8Array(t);for(let n=0,r=0;n<i.length;n++){const a=i[n];e.set(a,r),r+=a.length}return e}const zZ=Array.from({length:256},(i,t)=>t.toString(16).padStart(2,"0"));function Xf(i){if(!(i instanceof Uint8Array))throw new Error("Expected Uint8Array");let t="";for(let e=0;e<i.length;e++)t+=zZ[i[e]];return t}const UZ=BigInt("0x10000000000000000000000000000000000000000000000000000000000000000");function Lu(i){if("bigint"!=typeof i)throw new Error("Expected bigint");if(!(Jn<=i&&i<UZ))throw new Error("Expected number 0 <= n < 2^256");return i.toString(16).padStart(64,"0")}function Jf(i){const t=Nu(Lu(i));if(32!==t.length)throw new Error("Error: expected 32 bytes");return t}function __(i){const t=i.toString(16);return 1&t.length?`0${t}`:t}function By(i){if("string"!=typeof i)throw new TypeError("hexToNumber: expected string, got "+typeof i);return BigInt(`0x${i}`)}function Nu(i){if("string"!=typeof i)throw new TypeError("hexToBytes: expected string, got "+typeof i);if(i.length%2)throw new Error("hexToBytes: received invalid unpadded hex"+i.length);const t=new Uint8Array(i.length/2);for(let e=0;e<t.length;e++){const n=2*e,r=i.slice(n,n+2),a=Number.parseInt(r,16);if(Number.isNaN(a)||a<0)throw new Error("Invalid byte sequence");t[e]=a}return t}function Ks(i){return By(Xf(i))}function Yc(i){return i instanceof Uint8Array?Uint8Array.from(i):Nu(i)}function u8(i){if("number"==typeof i&&Number.isSafeInteger(i)&&i>0)return BigInt(i);if("bigint"==typeof i&&ip(i))return i;throw new TypeError("Expected valid private scalar: 0 < scalar < curve.n")}function Zt(i,t=Rr.P){const e=i%t;return e>=Jn?e:t+e}function Ml(i,t){const{P:e}=Rr;let n=i;for(;t-- >Jn;)n*=n,n%=e;return n}function ep(i,t=Rr.P){if(i===Jn||t<=Jn)throw new Error(`invert: expected positive integers, got n=${i} mod=${t}`);let e=Zt(i,t),n=t,r=Jn,a=na,o=na,c=Jn;for(;e!==Jn;){const f=n/e,x=n%e,P=r-o*f,$=a-c*f;n=e,e=x,r=o,a=c,o=P,c=$}if(n!==na)throw new Error("invert: does not exist");return Zt(r,t)}function yk(i,t=!1){const e=function qZ(i){const t=8*i.length-8*$h,e=Ks(i);return t>0?e>>BigInt(t):e}(i);if(t)return e;const{n}=Rr;return e>=n?e-n:e}let tp,b_;class h8{constructor(t,e){if(this.hashLen=t,this.qByteLen=e,"number"!=typeof t||t<2)throw new Error("hashLen must be a number");if("number"!=typeof e||e<2)throw new Error("qByteLen must be a number");this.v=new Uint8Array(t).fill(1),this.k=new Uint8Array(t).fill(0),this.counter=0}hmac(...t){return Nn.hmacSha256(this.k,...t)}hmacSync(...t){return b_(this.k,...t)}checkSync(){if("function"!=typeof b_)throw new _k("hmacSha256Sync needs to be set")}incr(){if(this.counter>=1e3)throw new Error("Tried 1,000 k values for sign(), all were invalid");this.counter+=1}reseed(t=new Uint8Array){var e=this;return Se(function*(){e.k=yield e.hmac(e.v,Uint8Array.from([0]),t),e.v=yield e.hmac(e.v),0!==t.length&&(e.k=yield e.hmac(e.v,Uint8Array.from([1]),t),e.v=yield e.hmac(e.v))})()}reseedSync(t=new Uint8Array){this.checkSync(),this.k=this.hmacSync(this.v,Uint8Array.from([0]),t),this.v=this.hmacSync(this.v),0!==t.length&&(this.k=this.hmacSync(this.v,Uint8Array.from([1]),t),this.v=this.hmacSync(this.v))}generate(){var t=this;return Se(function*(){t.incr();let e=0;const n=[];for(;e<t.qByteLen;){t.v=yield t.hmac(t.v);const r=t.v.slice();n.push(r),e+=t.v.length}return Iu(...n)})()}generateSync(){this.checkSync(),this.incr();let t=0;const e=[];for(;t<this.qByteLen;){this.v=this.hmacSync(this.v);const n=this.v.slice();e.push(n),t+=this.v.length}return Iu(...e)}}function ip(i){return Jn<i&&i<Rr.n}function Hy(i){return Jn<i&&i<Rr.P}function m8(i,t,e,n=!0){const{n:r}=Rr,a=yk(i,!0);if(!ip(a))return;const o=ep(a,r),c=er.BASE.multiply(a),h=Zt(c.x,r);if(h===Jn)return;const f=Zt(o*Zt(t+e*h,r),r);if(f===Jn)return;let x=new Bd(h,f),P=(c.x===x.r?0:2)|Number(c.y&na);return n&&x.hasHighS()&&(x=x.normalizeS(),P^=1),{sig:x,recovery:P}}function Kh(i){let t;if("bigint"==typeof i)t=i;else if("number"==typeof i&&Number.isSafeInteger(i)&&i>0)t=BigInt(i);else if("string"==typeof i){if(i.length!==2*$h)throw new Error("Expected 32 bytes of private key");t=By(i)}else{if(!(i instanceof Uint8Array))throw new TypeError("Expected valid private key");if(i.length!==$h)throw new Error("Expected 32 bytes of private key");t=Ks(i)}if(!ip(t))throw new Error("Expected private key: 0 < key < n");return t}function vk(i){return i instanceof er?(i.assertValidity(),i):er.fromHex(i)}function f8(i){if(i instanceof Bd)return i.assertValidity(),i;try{return Bd.fromDER(i)}catch{return Bd.fromCompact(i)}}function p8(i){const t=i instanceof Uint8Array,e="string"==typeof i,n=(t||e)&&i.length;return t?n===Ny||n===Oy:e?n===2*Ny||n===2*Oy:i instanceof er}function g8(i,t,e=!1){if(p8(i))throw new TypeError("getSharedSecret: first arg must be private key");if(!p8(t))throw new TypeError("getSharedSecret: second arg must be public key");const n=vk(t);return n.assertValidity(),n.multiply(Kh(i)).toRawBytes(e)}function _8(i){return Ks(i.length>nc?i.slice(0,nc):i)}function KZ(i){const t=_8(i),e=Zt(t,Rr.n);return b8(e<Jn?t:e)}function b8(i){return Jf(i)}const ZZ={strict:!0};function Vy(i){return Zt(Ks(i),Rr.n)}class np{constructor(t,e){this.r=t,this.s=e,this.assertValidity()}static fromHex(t){const e=Yc(t);if(64!==e.length)throw new TypeError(`SchnorrSignature.fromHex: expected 64 bytes, not ${e.length}`);const n=Ks(e.subarray(0,32)),r=Ks(e.subarray(32,64));return new np(n,r)}assertValidity(){const{r:t,s:e}=this;if(!Hy(t)||!ip(e))throw new Error("Invalid signature")}toHex(){return Lu(this.r)+Lu(this.s)}toRawBytes(){return Nu(this.toHex())}}class w8{constructor(t,e,n=Nn.randomBytes()){if(null==t)throw new TypeError(`sign: Expected valid message, not "${t}"`);this.m=Yc(t);const{x:r,scalar:a}=this.getScalar(Kh(e));if(this.px=r,this.d=a,this.rand=Yc(n),32!==this.rand.length)throw new TypeError("sign: Expected 32 bytes of aux randomness")}getScalar(t){const e=er.fromPrivateKey(t),n=e.hasEvenY()?t:Rr.n-t;return{point:e,scalar:n,x:e.toRawX()}}initNonce(t,e){return Jf(t^Ks(e))}finalizeNonce(t){const e=Zt(Ks(t),Rr.n);if(e===Jn)throw new Error("sign: Creation of signature failed. k is zero");const{point:n,x:r,scalar:a}=this.getScalar(e);return{R:n,rx:r,k:a}}finalizeSig(t,e,n,r){return new np(t.x,Zt(e+n*r,Rr.n)).toRawBytes()}error(){throw new Error("sign: Invalid signature produced")}calc(){var t=this;return Se(function*(){const{m:e,d:n,px:r,rand:a}=t,o=Nn.taggedHash,c=t.initNonce(n,yield o(Ou.aux,a)),{R:h,rx:f,k:x}=t.finalizeNonce(yield o(Ou.nonce,c,r,e)),P=Vy(yield o(Ou.challenge,f,r,e)),$=t.finalizeSig(h,x,P,n);return(yield C8($,e,r))||t.error(),$})()}calcSync(){const{m:t,d:e,px:n,rand:r}=this,a=Nn.taggedHashSync,o=this.initNonce(e,a(Ou.aux,r)),{R:c,rx:h,k:f}=this.finalizeNonce(a(Ou.nonce,o,n,t)),x=Vy(a(Ou.challenge,h,n,t)),P=this.finalizeSig(c,f,x,e);return k8(P,t,n)||this.error(),P}}function Fk(){return(Fk=Se(function*(i,t,e){return new w8(i,t,e).calc()})).apply(this,arguments)}function F8(i,t,e){const n=i instanceof np,r=n?i:np.fromHex(i);return n&&r.assertValidity(),{...r,m:Yc(t),P:vk(e)}}function x8(i,t,e,n){const r=er.BASE.multiplyAndAddUnsafe(t,Kh(e),Zt(-n,Rr.n));return!(!r||!r.hasEvenY()||r.x!==i)}function C8(i,t,e){return xk.apply(this,arguments)}function xk(){return(xk=Se(function*(i,t,e){try{const{r:n,s:r,m:a,P:o}=F8(i,t,e),c=Vy(yield Nn.taggedHash(Ou.challenge,Jf(n),o.toRawX(),a));return x8(n,o,r,c)}catch{return!1}})).apply(this,arguments)}function k8(i,t,e){try{const{r:n,s:r,m:a,P:o}=F8(i,t,e),c=Vy(Nn.taggedHashSync(Ou.challenge,Jf(n),o.toRawX(),a));return x8(n,o,r,c)}catch(n){if(n instanceof _k)throw n;return!1}}const y_={Signature:np,getPublicKey:function JZ(i){return er.fromPrivateKey(i).toRawX()},sign:function eX(i,t,e){return Fk.apply(this,arguments)},verify:C8,signSync:function tX(i,t,e){return new w8(i,t,e).calcSync()},verifySync:k8};er.BASE._setWindowSize(8);const Qs={node:YZ,web:"object"==typeof self&&"crypto"in self?self.crypto:void 0},Ou={challenge:"BIP0340/challenge",aux:"BIP0340/aux",nonce:"BIP0340/nonce"},Yy={},Nn={bytesToHex:Xf,hexToBytes:Nu,concatBytes:Iu,mod:Zt,invert:ep,isValidPrivateKey(i){try{return Kh(i),!0}catch{return!1}},_bigintTo32Bytes:Jf,_normalizePrivateKey:Kh,hashToPrivateKey:i=>{if((i=Yc(i)).length<$h+8||i.length>1024)throw new Error("Expected valid bytes of private key as per FIPS 186");return Jf(Zt(Ks(i),Rr.n-na)+na)},randomBytes:(i=32)=>{if(Qs.web)return Qs.web.getRandomValues(new Uint8Array(i));if(Qs.node){const{randomBytes:t}=Qs.node;return Uint8Array.from(t(i))}throw new Error("The environment doesn't have randomBytes function")},randomPrivateKey:()=>Nn.hashToPrivateKey(Nn.randomBytes($h+8)),precompute(i=8,t=er.BASE){const e=t===er.BASE?t:new er(t.x,t.y);return e._setWindowSize(i),e.multiply(g_),e},sha256:(i=Se(function*(...t){if(Qs.web){const e=yield Qs.web.subtle.digest("SHA-256",Iu(...t));return new Uint8Array(e)}if(Qs.node){const{createHash:e}=Qs.node,n=e("sha256");return t.forEach(r=>n.update(r)),Uint8Array.from(n.digest())}throw new Error("The environment doesn't have sha256 function")}),function(){return i.apply(this,arguments)}),hmacSha256:function(){var i=Se(function*(t,...e){if(Qs.web){const n=yield Qs.web.subtle.importKey("raw",t,{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]),r=Iu(...e),a=yield Qs.web.subtle.sign("HMAC",n,r);return new Uint8Array(a)}if(Qs.node){const{createHmac:n}=Qs.node,r=n("sha256",t);return e.forEach(a=>r.update(a)),Uint8Array.from(r.digest())}throw new Error("The environment doesn't have hmac-sha256 function")});return function(e){return i.apply(this,arguments)}}(),sha256Sync:void 0,hmacSha256Sync:void 0,taggedHash:function(){var i=Se(function*(t,...e){let n=Yy[t];if(void 0===n){const r=yield Nn.sha256(Uint8Array.from(t,a=>a.charCodeAt(0)));n=Iu(r,r),Yy[t]=n}return Nn.sha256(n,...e)});return function(e){return i.apply(this,arguments)}}(),taggedHashSync:(i,...t)=>{if("function"!=typeof tp)throw new _k("sha256Sync is undefined, you need to set it");let e=Yy[i];if(void 0===e){const n=tp(Uint8Array.from(i,r=>r.charCodeAt(0)));e=Iu(n,n),Yy[i]=e}return tp(e,...t)},_JacobianPoint:Fr};var i;function Qh(i){if(!Number.isSafeInteger(i))throw new Error(`Wrong integer: ${i}`)}function rc(...i){const t=(r,a)=>o=>r(a(o));return{encode:Array.from(i).reverse().reduce((r,a)=>r?t(r,a.encode):a.encode,void 0),decode:i.reduce((r,a)=>r?t(r,a.decode):a.decode,void 0)}}function jc(i){return{encode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw new Error("alphabet.encode input should be an array of numbers");return t.map(e=>{if(Qh(e),e<0||e>=i.length)throw new Error(`Digit index outside alphabet: ${e} (alphabet: ${i.length})`);return i[e]})},decode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw new Error("alphabet.decode input should be array of strings");return t.map(e=>{if("string"!=typeof e)throw new Error(`alphabet.decode: not string element=${e}`);const n=i.indexOf(e);if(-1===n)throw new Error(`Unknown letter: "${e}". Allowed: ${i}`);return n})}}}function zc(i=""){if("string"!=typeof i)throw new Error("join separator should be string");return{encode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw new Error("join.encode input should be array of strings");for(let e of t)if("string"!=typeof e)throw new Error(`join.encode: non-string input=${e}`);return t.join(i)},decode:t=>{if("string"!=typeof t)throw new Error("join.decode input should be string");return t.split(i)}}}function v_(i,t="="){if(Qh(i),"string"!=typeof t)throw new Error("padding chr should be string");return{encode(e){if(!Array.isArray(e)||e.length&&"string"!=typeof e[0])throw new Error("padding.encode input should be array of strings");for(let n of e)if("string"!=typeof n)throw new Error(`padding.encode: non-string input=${n}`);for(;e.length*i%8;)e.push(t);return e},decode(e){if(!Array.isArray(e)||e.length&&"string"!=typeof e[0])throw new Error("padding.encode input should be array of strings");for(let r of e)if("string"!=typeof r)throw new Error(`padding.decode: non-string input=${r}`);let n=e.length;if(n*i%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;n>0&&e[n-1]===t;n--)if(!((n-1)*i%8))throw new Error("Invalid padding: string has too much padding");return e.slice(0,n)}}}function D8(i){if("function"!=typeof i)throw new Error("normalize fn should be function");return{encode:t=>t,decode:t=>i(t)}}function M8(i,t,e){if(t<2)throw new Error(`convertRadix: wrong from=${t}, base cannot be less than 2`);if(e<2)throw new Error(`convertRadix: wrong to=${e}, base cannot be less than 2`);if(!Array.isArray(i))throw new Error("convertRadix: data should be array");if(!i.length)return[];let n=0;const r=[],a=Array.from(i);for(a.forEach(o=>{if(Qh(o),o<0||o>=t)throw new Error(`Wrong integer: ${o}`)});;){let o=0,c=!0;for(let h=n;h<a.length;h++){const f=a[h],x=t*o+f;if(!Number.isSafeInteger(x)||t*o/t!==o||x-f!=t*o)throw new Error("convertRadix: carry overflow");if(o=x%e,a[h]=Math.floor(x/e),!Number.isSafeInteger(a[h])||a[h]*e+o!==x)throw new Error("convertRadix: carry overflow");c&&(a[h]?c=!1:n=h)}if(r.push(o),c)break}for(let o=0;o<i.length-1&&0===i[o];o++)r.push(0);return r.reverse()}Object.defineProperties(Nn,{sha256Sync:{configurable:!1,get:()=>tp,set(i){tp||(tp=i)}},hmacSha256Sync:{configurable:!1,get:()=>b_,set(i){b_||(b_=i)}}});const E8=(i,t)=>t?E8(t,i%t):i,jy=(i,t)=>i+(t-E8(i,t));function Ck(i,t,e,n){if(!Array.isArray(i))throw new Error("convertRadix2: data should be array");if(t<=0||t>32)throw new Error(`convertRadix2: wrong from=${t}`);if(e<=0||e>32)throw new Error(`convertRadix2: wrong to=${e}`);if(jy(t,e)>32)throw new Error(`convertRadix2: carry overflow from=${t} to=${e} carryBits=${jy(t,e)}`);let r=0,a=0;const o=2**e-1,c=[];for(const h of i){if(Qh(h),h>=2**t)throw new Error(`convertRadix2: invalid data word=${h} from=${t}`);if(r=r<<t|h,a+t>32)throw new Error(`convertRadix2: carry overflow pos=${a} from=${t}`);for(a+=t;a>=e;a-=e)c.push((r>>a-e&o)>>>0);r&=2**a-1}if(r=r<<e-a&o,!n&&a>=t)throw new Error("Excess padding");if(!n&&r)throw new Error(`Non-zero padding: ${r}`);return n&&a>0&&c.push(r>>>0),c}function Hd(i,t=!1){if(Qh(i),i<=0||i>32)throw new Error("radix2: bits should be in (0..32]");if(jy(8,i)>32||jy(i,8)>32)throw new Error("radix2: carry overflow");return{encode:e=>{if(!(e instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return Ck(Array.from(e),8,i,!t)},decode:e=>{if(!Array.isArray(e)||e.length&&"number"!=typeof e[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(Ck(e,i,8,t))}}}function T8(i){if("function"!=typeof i)throw new Error("unsafeWrapper fn should be function");return function(...t){try{return i.apply(null,t)}catch{}}}const iX=rc(Hd(4),jc("0123456789ABCDEF"),zc("")),nX=rc(Hd(5),jc("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),v_(5),zc("")),Zh=(rc(Hd(5),jc("0123456789ABCDEFGHIJKLMNOPQRSTUV"),v_(5),zc("")),rc(Hd(5),jc("0123456789ABCDEFGHJKMNPQRSTVWXYZ"),zc(""),D8(i=>i.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),rc(Hd(6),jc("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),v_(6),zc(""))),rX=rc(Hd(6),jc("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),v_(6),zc("")),kk=i=>rc(function S8(i){return Qh(i),{encode:t=>{if(!(t instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return M8(Array.from(t),256,i)},decode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw new Error("radix.decode input should be array of strings");return Uint8Array.from(M8(t,i,256))}}}(58),jc(i),zc("")),zy=kk("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),I8=(kk("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),kk("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz"),[0,2,3,5,6,7,9,10,11]),aX={encode(i){let t="";for(let e=0;e<i.length;e+=8){const n=i.subarray(e,e+8);t+=zy.encode(n).padStart(I8[n.length],"1")}return t},decode(i){let t=[];for(let e=0;e<i.length;e+=11){const n=i.slice(e,e+11),r=I8.indexOf(n.length),a=zy.decode(n);for(let o=0;o<a.length-r;o++)if(0!==a[o])throw new Error("base58xmr: wrong padding");t=t.concat(Array.from(a.slice(a.length-r)))}return Uint8Array.from(t)}},Dk=rc(jc("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),zc("")),L8=[996825010,642813549,513874426,1027748829,705979059];function w_(i){const t=i>>25;let e=(33554431&i)<<5;for(let n=0;n<L8.length;n++)1==(t>>n&1)&&(e^=L8[n]);return e}function N8(i,t,e=1){const n=i.length;let r=1;for(let a=0;a<n;a++){const o=i.charCodeAt(a);if(o<33||o>126)throw new Error(`Invalid prefix (${i})`);r=w_(r)^o>>5}r=w_(r);for(let a=0;a<n;a++)r=w_(r)^31&i.charCodeAt(a);for(let a of t)r=w_(r)^a;for(let a=0;a<6;a++)r=w_(r);return r^=e,Dk.encode(Ck([r%2**30],30,5,!1))}function O8(i){const t="bech32"===i?1:734539939,e=Hd(5),n=e.decode,r=e.encode,a=T8(n);function c(x,P=90){if("string"!=typeof x)throw new Error("bech32.decode input should be string, not "+typeof x);if(x.length<8||!1!==P&&x.length>P)throw new TypeError(`Wrong string length: ${x.length} (${x}). Expected (8..${P})`);const $=x.toLowerCase();if(x!==$&&x!==x.toUpperCase())throw new Error("String must be lowercase or uppercase");const te=(x=$).lastIndexOf("1");if(0===te||-1===te)throw new Error('Letter "1" must be present between prefix and data only');const fe=x.slice(0,te),ye=x.slice(te+1);if(ye.length<6)throw new Error("Data must be at least 6 characters long");const Ie=Dk.decode(ye).slice(0,-6),Le=N8(fe,Ie,t);if(!ye.endsWith(Le))throw new Error(`Invalid checksum in ${x}: expected "${Le}"`);return{prefix:fe,words:Ie}}return{encode:function o(x,P,$=90){if("string"!=typeof x)throw new Error("bech32.encode prefix should be string, not "+typeof x);if(!Array.isArray(P)||P.length&&"number"!=typeof P[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof P);const te=x.length+7+P.length;if(!1!==$&&te>$)throw new TypeError(`Length ${te} exceeds limit ${$}`);return`${x=x.toLowerCase()}1${Dk.encode(P)}${N8(x,P,t)}`},decode:c,decodeToBytes:function f(x){const{prefix:P,words:$}=c(x,!1);return{prefix:P,words:$,bytes:n($)}},decodeUnsafe:T8(c),fromWords:n,fromWordsUnsafe:a,toWords:r}}const Za=O8("bech32"),sX=(O8("bech32m"),{encode:i=>(new TextDecoder).decode(i),decode:i=>(new TextEncoder).encode(i)}),lX=rc(Hd(4),jc("0123456789abcdef"),zc(""),D8(i=>{if("string"!=typeof i||i.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof i} with length ${i.length}`);return i.toLowerCase()}));function Uy(i){var t=document.createElement("textarea");t.style.position="fixed",t.style.top=0,t.style.left=0,t.style.width="2em",t.style.height="2em",t.style.padding=0,t.style.border="none",t.style.outline="none",t.style.boxShadow="none",t.style.background="transparent",t.value=i,document.body.appendChild(t),t.focus(),t.select();try{document.execCommand("copy")}catch{console.error("Oops, unable to copy")}document.body.removeChild(t)}function cX(i,t){if(1&i){const e=Je();_(0,"div",2)(1,"button",3),pe("click",function(){return Te(e),Ae(Q().action())}),N(2),F()()}if(2&i){const e=Q();E(2),Gt(" ",e.data.action," ")}}Object.keys({utf8:sX,hex:lX,base16:iX,base32:nX,base64:Zh,base64url:rX,base58:zy,base58xmr:aX}).join(", ");const dX=["label"];function uX(i,t){}const hX=Math.pow(2,31)-1;class Mk{constructor(t,e){this._overlayRef=e,this._afterDismissed=new He,this._afterOpened=new He,this._onAction=new He,this._dismissedByAction=!1,this.containerInstance=t,t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,hX))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const P8=new Ke("MatSnackBarData");class Wy{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let mX=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}),i})(),fX=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}),i})(),pX=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}),i})(),gX=(()=>{class i{constructor(e,n){this.snackBarRef=e,this.data=n}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return i.\u0275fac=function(e){return new(e||i)(k(Mk),k(P8))},i.\u0275cmp=qe({type:i,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions","",4,"ngIf"],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(e,n){1&e&&(_(0,"div",0),N(1),F(),ee(2,cX,3,1,"div",1)),2&e&&(E(1),Gt(" ",n.data.message,"\n"),E(1),S("ngIf",n.hasAction))},dependencies:[ri,ur,mX,fX,pX],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0}),i})();const _X={snackBarState:Qa("state",[_r("void, hidden",pi({transform:"scale(0.8)",opacity:0})),_r("visible",pi({transform:"scale(1)",opacity:1})),cr("* => visible",lr("150ms cubic-bezier(0, 0, 0.2, 1)")),cr("* => void, * => hidden",lr("75ms cubic-bezier(0.4, 0.0, 1, 1)",pi({opacity:0})))])};let bX=(()=>{class i extends Jb{constructor(e,n,r,a,o){super(),this._ngZone=e,this._elementRef=n,this._changeDetectorRef=r,this._platform=a,this.snackBarConfig=o,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new He,this._onExit=new He,this._onEnter=new He,this._animationState="void",this.attachDomPortal=c=>{this._assertNotAttached();const h=this._portalOutlet.attachDomPortal(c);return this._afterPortalAttached(),h},this._live="assertive"!==o.politeness||o.announcementMessage?"off"===o.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();const n=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),n}attachTemplatePortal(e){this._assertNotAttached();const n=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),n}onAnimationEnd(e){const{fromState:n,toState:r}=e;if(("void"===r&&"void"!==n||"hidden"===r)&&this._completeExit(),"visible"===r){const a=this._onEnter;this._ngZone.run(()=>{a.next(),a.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(nn(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const e=this._elementRef.nativeElement,n=this.snackBarConfig.panelClass;n&&(Array.isArray(n)?n.forEach(r=>e.classList.add(r)):e.classList.add(n))}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),n=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&n){let r=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(r=document.activeElement),e.removeAttribute("aria-hidden"),n.appendChild(e),r?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return i.\u0275fac=function(e){return new(e||i)(k(Rt),k(gt),k(ni),k(Bn),k(Wy))},i.\u0275dir=Oe({type:i,viewQuery:function(e,n){if(1&e&&Lt(Xl,7),2&e){let r;Ze(r=Xe())&&(n._portalOutlet=r.first)}},features:[ot]}),i})(),yX=(()=>{class i extends bX{_afterPortalAttached(){super._afterPortalAttached();const e=this._label.nativeElement,n="mdc-snackbar__label";e.classList.toggle(n,!e.querySelector(`.${n}`))}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275cmp=qe({type:i,selectors:[["mat-snack-bar-container"]],viewQuery:function(e,n){if(1&e&&Lt(dX,7),2&e){let r;Ze(r=Xe())&&(n._label=r.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(e,n){1&e&&gf("@state.done",function(a){return n.onAnimationEnd(a)}),2&e&&bf("@state",n._animationState)},features:[ot],decls:6,vars:2,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,n){1&e&&(_(0,"div",0)(1,"div",1,2)(3,"div",3),ee(4,uX,0,0,"ng-template",4),F(),Ce(5,"div"),F()()),2&e&&(E(5),It("aria-live",n._live)("role",n._role))},dependencies:[Xl],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__dismiss .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, var(--mdc-snackbar-icon-size, 24px))}.mat-mdc-snack-bar-container .mdc-snackbar__dismiss svg,.mat-mdc-snack-bar-container .mdc-snackbar__dismiss img{width:var(--mdc-icon-button-icon-size, var(--mdc-snackbar-icon-size, 24px));height:var(--mdc-icon-button-icon-size, var(--mdc-snackbar-icon-size, 24px))}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color, inherit)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color, inherit)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size, inherit);font-family:var(--mdc-snackbar-supporting-text-font, inherit);font-weight:var(--mdc-snackbar-supporting-text-weight, inherit);line-height:var(--mdc-snackbar-supporting-text-line-height, inherit)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-mdc-snack-bar-button-color, transparent);--mat-mdc-button-persistent-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{background-color:currentColor;opacity:.1}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[_X.snackBarState]}}),i})(),Ek=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Nc,Fl,Dr,Sy,Qt,Qt]}),i})();const B8=new Ke("mat-snack-bar-default-options",{providedIn:"root",factory:function vX(){return new Wy}});let wX=(()=>{class i{get _openedSnackBarRef(){const e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(e,n,r,a,o,c){this._overlay=e,this._live=n,this._injector=r,this._breakpointObserver=a,this._parentSnackBar=o,this._defaultConfig=c,this._snackBarRefAtThisLevel=null}openFromComponent(e,n){return this._attach(e,n)}openFromTemplate(e,n){return this._attach(e,n)}open(e,n="",r){const a={...this._defaultConfig,...r};return a.data={message:e,action:n},a.announcementMessage===e&&(a.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,a)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,n){const a=Wr.create({parent:n&&n.viewContainerRef&&n.viewContainerRef.injector||this._injector,providers:[{provide:Wy,useValue:n}]}),o=new Hh(this.snackBarContainerComponent,n.viewContainerRef,a),c=e.attach(o);return c.instance.snackBarConfig=n,c.instance}_attach(e,n){const r={...new Wy,...this._defaultConfig,...n},a=this._createOverlay(r),o=this._attachSnackBarContainer(a,r),c=new Mk(o,a);if(e instanceof vr){const h=new Ad(e,null,{$implicit:r.data,snackBarRef:c});c.instance=o.attachTemplatePortal(h)}else{const h=this._createInjector(r,c),f=new Hh(e,void 0,h),x=o.attachComponentPortal(f);c.instance=x.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(ii(a.detachments())).subscribe(h=>{a.overlayElement.classList.toggle(this.handsetCssClass,h.matches)}),r.announcementMessage&&o._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(c,r),this._openedSnackBarRef=c,this._openedSnackBarRef}_animateSnackBar(e,n){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),n.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),n.duration&&n.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(n.duration))}_createOverlay(e){const n=new Hf;n.direction=e.direction;let r=this._overlay.position().global();const a="rtl"===e.direction,o="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!a||"end"===e.horizontalPosition&&a,c=!o&&"center"!==e.horizontalPosition;return o?r.left("0"):c?r.right("0"):r.centerHorizontally(),"top"===e.verticalPosition?r.top("0"):r.bottom("0"),n.positionStrategy=r,this._overlay.create(n)}_createInjector(e,n){return Wr.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:Mk,useValue:n},{provide:P8,useValue:e.data}]})}}return i.\u0275fac=function(e){return new(e||i)(Fe(ya),Fe(gC),Fe(Wr),Fe(Td),Fe(i,12),Fe(B8))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})(),us=(()=>{class i extends wX{constructor(e,n,r,a,o,c){super(e,n,r,a,o,c),this.simpleSnackBarComponent=gX,this.snackBarContainerComponent=yX,this.handsetCssClass="mat-mdc-snack-bar-handset"}}return i.\u0275fac=function(e){return new(e||i)(Fe(ya),Fe(gC),Fe(Wr),Fe(Td),Fe(i,12),Fe(B8))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:Ek}),i})();var H8=I(1135);class Vd{constructor(){}}Vd.defaultService="nostr.build",Vd.\u0275fac=function(t){return new(t||Vd)},Vd.\u0275prov=Qe({token:Vd,factory:Vd.\u0275fac,providedIn:"root"});class Sr{constructor(){this.values={language:"en",dir:"ltr",enableReactions:!0,showLines:!0,peopleDisplayType:1,peopleDisplayView:0,peopleDisplaySort:"name-asc"},this.load()}load(){let t=localStorage.getItem("blockcore:notes:nostr:options");t&&(this.values=JSON.parse(t)),null==this.values.enableReactions&&(this.values.enableReactions=!0),null==this.values.peopleDisplayType&&(this.values.peopleDisplayType=1),null==this.values.peopleDisplayView&&(this.values.peopleDisplayView=0),null==this.values.peopleDisplaySort&&(this.values.peopleDisplaySort="name-asc"),null==this.values.mediaService&&(this.values.mediaService=Vd.defaultService)}save(){localStorage.setItem("blockcore:notes:nostr:options",JSON.stringify(this.values))}}Sr.\u0275fac=function(t){return new(t||Sr)},Sr.\u0275prov=Qe({token:Sr,factory:Sr.\u0275fac,providedIn:"root"});class Xo{constructor(t){this.options=t,this.contentLimit=16384,this.tagsLimit=50,this.profileLimit=16384,this.profileTagsLimit=1e3,this.contactsContentLimit=16384}sanitizeEvent(t){let e=H8(t.content,{allowedTags:["b","i","em","strong","a","img"],allowedAttributes:{a:["href"],img:["src"]},allowedIframeHostnames:["www.youtube.com"]});return t.content=e,t}filterEvent(t){return this.options.values.hideInvoice&&t.content.indexOf("lnbc")>-1||this.options.values.hideSpam&&-1==t.content.substring(0,200).indexOf(" ")?null:t}filterEvents(t){return t.filter(e=>this.filterEvent(e))}validateEvent(t){return t.pubkey.length<60||t.pubkey.length>70||!t.sig||!t.id||t.sig.length<100||t.pubkey.length>150||64!==t.id.length||"number"!=typeof t.kind||"number"!=typeof t.created_at?null:(0===t.kind?t.content.length>this.profileLimit&&(t.content=t.content.substring(0,this.profileLimit),t.contentCut=!0):t.content.length>this.contentLimit&&(t.content=t.content.substring(0,this.contentLimit),t.contentCut=!0),t.tags&&t.tags.length>this.tagsLimit&&(t.tags=t.tags.splice(0,this.tagsLimit),t.tagsCut=!0),t)}validateContacts(t){return t.pubkey.length<60||t.pubkey.length>70||!t.sig||!t.id||t.sig.length<100||t.pubkey.length>150||64!==t.id.length||"number"!=typeof t.kind||"number"!=typeof t.created_at||3!==t.kind?null:(t.content.length>this.contactsContentLimit&&(t.content=t.content.substring(0,this.contactsContentLimit),t.contentCut=!0),t)}escapeNewLineChars(t){return null!=t&&""!=t?t.replace(/\n/g," "):t}sanitizeProfile(t){let e=H8(t.about,{allowedTags:[],allowedAttributes:{}});return t.about=e,t}validateProfile(t){return t.picture.length>2e3||t.name.length>280||t.about.length>280||t.nip05.length>2e3?null:t}}Xo.\u0275fac=function(t){return new(t||Xo)(Fe(Sr))},Xo.\u0275prov=Qe({token:Xo,factory:Xo.\u0275fac,providedIn:"root"});class an{constructor(t,e,n){this.snackBar=t,this.validator=e,this.sanitizer=n,this.defaultBackground="url(/assets/gradient.jpg)"}unsubscribe(t){if(t)for(let e=0;e<t.length;e++)t[e].unsubscribe()}now(){return Math.floor(Date.now()/1e3)}reduceProfile(t){return{name:t.name,about:t.about,picture:t.picture,banner:t.banner,nip05:t.nip05,lud06:t.lud06,lud16:t.lud16,display_name:t.display_name,website:t.website}}getBannerBackgroundStyle(t){if(!t)return this.defaultBackground;const e=this.sanitizeImageUrl(t);return e?`url(${e})`:this.defaultBackground}getProfileDisplayName(t){return t.display_name?t.display_name:t.name?t.name:t.npub}getProfileTitle(t){return t.name?`@${t.name}`:`@${t.npub}`}mapProfileEvent(t){if("string"!=typeof t)try{const e=JSON.parse(t.content),n=this.validator.sanitizeProfile(e);return n.pubkey=t.pubkey,n.created_at=t.created_at,n}catch(e){console.warn(e)}}getRelayUrls(t){let e=t;if(Array.isArray(e)){e={};for(let r=0;r<t.length;r++)e[t[r]]={}}return Object.keys(e)}getNostrIdentifier(t){try{const e=this.hexToArray(t);return this.convertToBech32(e,"npub")}catch{return t}}ensureHexIdentifier(t){return t.startsWith("npub")&&(t=this.arrayToHex(this.convertFromBech32(t))),t}copy(t){Uy(t),this.snackBar.open("Copied to clipboard","Hide",{duration:2500,horizontalPosition:"center",verticalPosition:"bottom"})}getHexIdentifier(t){const e=this.hexToArray(t);return this.convertToBech32(e,"npub")}getShortenedIdentifier(t){const e=this.getNostrIdentifier(t);return`${e.substring(5,13)}:${e.substring(e.length-8)}`}convertToBech32(t,e){const n=Za.toWords(t);return Za.encode(e,n)}hexToArray(t){return Nn.hexToBytes(t)}arrayToHex(t){return Nn.bytesToHex(t)}convertFromBech32(t){const e=Za.decode(t);return Za.fromWords(e.words)}convertFromBech32ToHex(t){const e=Za.decode(t),n=Za.fromWords(e.words);return this.arrayToHex(n)}convertBech32ToText(t){const e=Za.decode(t,1e3),n=Za.fromWords(e.words);return(new TextDecoder).decode(Uint8Array.from(n))}keyToHex(t){return Nn.bytesToHex(t)}sanitizeLUD06(t){if(t&&!t.startsWith("http"))return this.bypassUrl(t)}sanitizeUrlAndBypass(t){const e=this.sanitizeUrl(t);return this.bypassUrl(e)}sanitizeUrlAndBypassFrame(t){const e=this.sanitizeUrl(t);return this.bypassFrameUrl(e)}sanitizeUrl(t,e){if(!t)return"";if(!t?.startsWith("http")){if(!e)return t.startsWith("/assets")?t:"";t="https://"+t}return t}sanitizeImageUrl(t){if(!(t=this.sanitizeUrl(t)))return;let e=t.toLowerCase();return e=e.split("?")[0],e.endsWith("jpg")||e.endsWith("jpeg")||e.endsWith("png")||e.endsWith("webp")||e.endsWith("gif")?t:void 0}bypassUrl(t){return this.sanitizer.bypassSecurityTrustUrl(t)}bypassStyle(t){return this.sanitizer.bypassSecurityTrustStyle(t)}bypassFrameUrl(t){return this.sanitizer.bypassSecurityTrustResourceUrl(t)}}an.\u0275fac=function(t){return new(t||an)(Fe(us),Fe(Xo),Fe(Sf))},an.\u0275prov=Qe({token:an,factory:an.\u0275fac,providedIn:"root"});class V8{authenticated(){return!!this.publicKeyHex}}class La{constructor(t,e){this.utilities=t,this.router=e,this.authInfo$=new Hi(La.UNKNOWN_USER)}login(){var t=this;return Se(function*(){const n=yield globalThis.nostr.getPublicKey(),r=t.createUser(n);return localStorage.setItem("blockcore:notes:nostr:pubkey",n),t.authInfo$.next(r),r})()}anonymous(t){t&&(t=this.utilities.ensureHexIdentifier(t));const e=t||"354faab36ca511a7956f0bfc2b64e06fe5395cd7208d9b65d6665270298743d8",n=this.createUser(e);return localStorage.setItem("blockcore:notes:nostr:pubkey",e),this.authInfo$.next(n),n}logout(){localStorage.removeItem("blockcore:notes:nostr:pubkey"),localStorage.removeItem("blockcore:notes:nostr:prvkey"),this.authInfo$.next(La.UNKNOWN_USER),this.router.navigateByUrl("/connect")}createUser(t){const e=new V8;return e.publicKeyHex=t,e.publicKey=this.utilities.getNostrIdentifier(t),e.short=t.substring(0,10)+"...",e}getAuthInfo(){var t=this;return Se(function*(){let e=localStorage.getItem("blockcore:notes:nostr:pubkey");if(e){try{t.utilities.getNostrIdentifier(e)}catch{return e="",localStorage.setItem("blockcore:notes:nostr:pubkey",""),La.UNKNOWN_USER}const n=t.createUser(e);return t.authInfo$.next(n),n}return t.authInfo$.next(La.UNKNOWN_USER),La.UNKNOWN_USER})()}}La.UNKNOWN_USER=new V8,La.\u0275fac=function(t){return new(t||La)(Fe(an),Fe(qn))},La.\u0275prov=Qe({token:La,factory:La.\u0275fac,providedIn:"root"});class Zi{constructor(t,e,n,r,a){this.translate=t,this.breakpointObserver=e,this.authService=n,this.location=r,this.titleService=a,this.title="Blockcore Notes",this.titleChanged=new Hi(this.title),this.goBack=!1,this.showBackButton=!1,this.showSearch=!1,this.showLogo=!0,this.actions=[],this.documentDirection="ltr",this.connected=!1,this.connectedChanged=new Hi(this.connected),this.initializedChanged=new Hi(!1),this.visibilityChanged=new Hi(!1),this.initialized=!1,this.isSmallScreen$=this.breakpointObserver.observe("(max-width: 599px)").pipe(_t(o=>o.matches),qh()),this.displayLabels$=this.breakpointObserver.observe("(max-width: 720px)").pipe(_t(o=>o.matches),qh()),this.connected$=this.connectedChanged.asObservable(),this.visibility$=this.visibilityChanged.asObservable(),this.title$=this.titleChanged.asObservable(),this.initialized$=this.initializedChanged.asObservable()}getPublicKey(){return this.authService.authInfo$.getValue().publicKeyHex}getPublicKeyDisplay(){return this.authService.authInfo$.getValue().publicKey}navigateBack(){this.location.back()}updateTitle(t){this.title=t,this.titleService.setTitle(t+" - Blockcore Notes"),this.titleChanged.next(this.title)}updateConnectionStatus(t){this.connected!=t&&(this.connected=t,this.connectedChanged.next(t))}visibility(t){this.visibilityChanged.next(t)}setInitialized(){this.initialized=!0,this.initializedChanged.next(this.initialized)}setLanguage(t){this.translate.use(t)}}function Y8(i,t){if(t.has(i))throw new TypeError("Cannot initialize the same private elements twice on an object")}function mn(i,t,e){Y8(i,t),t.set(i,e)}function j8(i,t,e){if(!t.has(i))throw new TypeError("attempted to "+e+" private field on non-instance");return t.get(i)}function hi(i,t,e){return function FX(i,t,e){if(t.set)t.set.call(i,e);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=e}}(i,j8(i,t,"set"),e),e}function Pe(i,t){return function xX(i,t){return t.get?t.get.call(i):t.value}(i,j8(i,t,"get"))}Zi.\u0275fac=function(t){return new(t||Zi)(Fe(Zf),Fe(Td),Fe(La),Fe(Tc),Fe(Xx))},Zi.\u0275prov=Qe({token:Zi,factory:Zi.\u0275fac,providedIn:"root"});const Gy={node:void 0,web:"object"==typeof self&&"crypto"in self?self.crypto:void 0},Sk=i=>new DataView(i.buffer,i.byteOffset,i.byteLength),Uc=(i,t)=>i<<32-t|i>>>t;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");function qy(i){if("string"==typeof i&&(i=function DX(i){if("string"!=typeof i)throw new TypeError("utf8ToBytes expected string, got "+typeof i);return(new TextEncoder).encode(i)}(i)),!(i instanceof Uint8Array))throw new TypeError(`Expected input type is Uint8Array (got ${typeof i})`);return i}function z8(i){if(!Number.isSafeInteger(i)||i<0)throw new Error(`Wrong positive integer: ${i}`)}Array.from({length:256},(i,t)=>t.toString(16).padStart(2,"0")),(()=>{const i=typeof module<"u"&&"function"==typeof module.require&&module.require.bind(module);try{if(i){const{setImmediate:t}=i("timers")}}catch{}})();class Ak{clone(){return this._cloneInto()}}class IX extends Ak{constructor(t,e,n,r){super(),this.blockLen=t,this.outputLen=e,this.padOffset=n,this.isLE=r,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(t),this.view=Sk(this.buffer)}update(t){if(this.destroyed)throw new Error("instance is destroyed");const{view:e,buffer:n,blockLen:r,finished:a}=this;if(a)throw new Error("digest() was already called");const o=(t=qy(t)).length;for(let c=0;c<o;){const h=Math.min(r-this.pos,o-c);if(h!==r)n.set(t.subarray(c,c+h),this.pos),this.pos+=h,c+=h,this.pos===r&&(this.process(e,0),this.pos=0);else{const f=Sk(t);for(;r<=o-c;c+=r)this.process(f,c)}}return this.length+=t.length,this.roundClean(),this}digestInto(t){if(this.destroyed)throw new Error("instance is destroyed");if(!(t instanceof Uint8Array)||t.length<this.outputLen)throw new Error("_Sha2: Invalid output buffer");if(this.finished)throw new Error("digest() was already called");this.finished=!0;const{buffer:e,view:n,blockLen:r,isLE:a}=this;let{pos:o}=this;e[o++]=128,this.buffer.subarray(o).fill(0),this.padOffset>r-o&&(this.process(n,0),o=0);for(let h=o;h<r;h++)e[h]=0;(function AX(i,t,e,n){if("function"==typeof i.setBigUint64)return i.setBigUint64(t,e,n);const r=BigInt(32),a=BigInt(4294967295),o=Number(e>>r&a),c=Number(e&a),f=n?0:4;i.setUint32(t+(n?4:0),o,n),i.setUint32(t+f,c,n)})(n,r-8,BigInt(8*this.length),a),this.process(n,0);const c=Sk(t);this.get().forEach((h,f)=>c.setUint32(4*f,h,a))}digest(){const{buffer:t,outputLen:e}=this;this.digestInto(t);const n=t.slice(0,e);return this.destroy(),n}_cloneInto(t){t||(t=new this.constructor),t.set(...this.get());const{blockLen:e,buffer:n,length:r,finished:a,destroyed:o,pos:c}=this;return t.length=r,t.pos=c,t.finished=a,t.destroyed=o,r%e&&t.buffer.set(n),t}}const LX=(i,t,e)=>i&t^~i&e,NX=(i,t,e)=>i&t^i&e^t&e,OX=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Ru=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Pu=new Uint32Array(64);class RX extends IX{constructor(){super(64,32,8,!1),this.A=0|Ru[0],this.B=0|Ru[1],this.C=0|Ru[2],this.D=0|Ru[3],this.E=0|Ru[4],this.F=0|Ru[5],this.G=0|Ru[6],this.H=0|Ru[7]}get(){const{A:t,B:e,C:n,D:r,E:a,F:o,G:c,H:h}=this;return[t,e,n,r,a,o,c,h]}set(t,e,n,r,a,o,c,h){this.A=0|t,this.B=0|e,this.C=0|n,this.D=0|r,this.E=0|a,this.F=0|o,this.G=0|c,this.H=0|h}process(t,e){for(let P=0;P<16;P++,e+=4)Pu[P]=t.getUint32(e,!1);for(let P=16;P<64;P++){const $=Pu[P-15],te=Pu[P-2],fe=Uc($,7)^Uc($,18)^$>>>3,ye=Uc(te,17)^Uc(te,19)^te>>>10;Pu[P]=ye+Pu[P-7]+fe+Pu[P-16]|0}let{A:n,B:r,C:a,D:o,E:c,F:h,G:f,H:x}=this;for(let P=0;P<64;P++){const te=x+(Uc(c,6)^Uc(c,11)^Uc(c,25))+LX(c,h,f)+OX[P]+Pu[P]|0,ye=(Uc(n,2)^Uc(n,13)^Uc(n,22))+NX(n,r,a)|0;x=f,f=h,h=c,c=o+te|0,o=a,a=r,r=n,n=te+ye|0}n=n+this.A|0,r=r+this.B|0,a=a+this.C|0,o=o+this.D|0,c=c+this.E|0,h=h+this.F|0,f=f+this.G|0,x=x+this.H|0,this.set(n,r,a,o,c,h,f,x)}roundClean(){Pu.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const x_=function SX(i){const t=n=>i().update(qy(n)).digest(),e=i();return t.outputLen=e.outputLen,t.blockLen=e.blockLen,t.create=()=>i(),t}(()=>new RX);var U8=I(3439),Ik=I(6837);function Lk(i){if(!Number.isSafeInteger(i)||i<0)throw new Error(`Wrong positive integer: ${i}`)}function Xh(i,...t){if(!(i instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(t.length>0&&!t.includes(i.length))throw new TypeError(`Expected Uint8Array of length ${t}, not of length=${i.length}`)}const Jh={number:Lk,bool:function PX(i){if("boolean"!=typeof i)throw new Error(`Expected boolean, not ${i}`)},bytes:Xh,hash:function BX(i){if("function"!=typeof i||"function"!=typeof i.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");Lk(i.outputLen),Lk(i.blockLen)},exists:function HX(i,t=!0){if(i.destroyed)throw new Error("Hash instance has been destroyed");if(t&&i.finished)throw new Error("Hash#digest() has already been called")},output:function VX(i,t){Xh(i);const e=t.outputLen;if(i.length<e)throw new Error(`digestInto() expects output buffer of length at least ${e}`)}},rp=("object"==typeof self&&"crypto"in self&&self,i=>new DataView(i.buffer,i.byteOffset,i.byteLength)),Wc=(i,t)=>i<<32-t|i>>>t;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");const YX=Array.from({length:256},(i,t)=>t.toString(16).padStart(2,"0"));function W8(i){if("string"!=typeof i)throw new TypeError("utf8ToBytes expected string, got "+typeof i);return(new TextEncoder).encode(i)}function $y(i){if("string"==typeof i&&(i=W8(i)),!(i instanceof Uint8Array))throw new TypeError(`Expected input type is Uint8Array (got ${typeof i})`);return i}function Ky(...i){if(!i.every(n=>n instanceof Uint8Array))throw new Error("Uint8Array list expected");if(1===i.length)return i[0];const t=i.reduce((n,r)=>n+r.length,0),e=new Uint8Array(t);for(let n=0,r=0;n<i.length;n++){const a=i[n];e.set(a,r),r+=a.length}return e}class G8{clone(){return this._cloneInto()}}function em(i){const t=n=>i().update($y(n)).digest(),e=i();return t.outputLen=e.outputLen,t.blockLen=e.blockLen,t.create=()=>i(),t}class q8 extends G8{constructor(t,e){super(),this.finished=!1,this.destroyed=!1,Jh.hash(t);const n=$y(e);if(this.iHash=t.create(),"function"!=typeof this.iHash.update)throw new TypeError("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const r=this.blockLen,a=new Uint8Array(r);a.set(n.length>r?t.create().update(n).digest():n);for(let o=0;o<a.length;o++)a[o]^=54;this.iHash.update(a),this.oHash=t.create();for(let o=0;o<a.length;o++)a[o]^=106;this.oHash.update(a),a.fill(0)}update(t){return Jh.exists(this),this.iHash.update(t),this}digestInto(t){Jh.exists(this),Jh.bytes(t,this.outputLen),this.finished=!0,this.iHash.digestInto(t),this.oHash.update(t),this.oHash.digestInto(t),this.destroy()}digest(){const t=new Uint8Array(this.oHash.outputLen);return this.digestInto(t),t}_cloneInto(t){t||(t=Object.create(Object.getPrototypeOf(this),{}));const{oHash:e,iHash:n,finished:r,destroyed:a,blockLen:o,outputLen:c}=this;return t.finished=r,t.destroyed=a,t.blockLen=o,t.outputLen=c,t.oHash=e._cloneInto(t.oHash),t.iHash=n._cloneInto(t.iHash),t}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const Qy=(i,t,e)=>new q8(i,t).update(e).digest();Qy.create=(i,t)=>new q8(i,t);class Ok extends G8{constructor(t,e,n,r){super(),this.blockLen=t,this.outputLen=e,this.padOffset=n,this.isLE=r,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(t),this.view=rp(this.buffer)}update(t){Jh.exists(this);const{view:e,buffer:n,blockLen:r}=this,a=(t=$y(t)).length;for(let o=0;o<a;){const c=Math.min(r-this.pos,a-o);if(c!==r)n.set(t.subarray(o,o+c),this.pos),this.pos+=c,o+=c,this.pos===r&&(this.process(e,0),this.pos=0);else{const h=rp(t);for(;r<=a-o;o+=r)this.process(h,o)}}return this.length+=t.length,this.roundClean(),this}digestInto(t){Jh.exists(this),Jh.output(t,this),this.finished=!0;const{buffer:e,view:n,blockLen:r,isLE:a}=this;let{pos:o}=this;e[o++]=128,this.buffer.subarray(o).fill(0),this.padOffset>r-o&&(this.process(n,0),o=0);for(let P=o;P<r;P++)e[P]=0;(function GX(i,t,e,n){if("function"==typeof i.setBigUint64)return i.setBigUint64(t,e,n);const r=BigInt(32),a=BigInt(4294967295),o=Number(e>>r&a),c=Number(e&a),f=n?0:4;i.setUint32(t+(n?4:0),o,n),i.setUint32(t+f,c,n)})(n,r-8,BigInt(8*this.length),a),this.process(n,0);const c=rp(t),h=this.outputLen;if(h%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const f=h/4,x=this.get();if(f>x.length)throw new Error("_sha2: outputLen bigger than state");for(let P=0;P<f;P++)c.setUint32(4*P,x[P],a)}digest(){const{buffer:t,outputLen:e}=this;this.digestInto(t);const n=t.slice(0,e);return this.destroy(),n}_cloneInto(t){t||(t=new this.constructor),t.set(...this.get());const{blockLen:e,buffer:n,length:r,finished:a,destroyed:o,pos:c}=this;return t.length=r,t.pos=c,t.finished=a,t.destroyed=o,r%e&&t.buffer.set(n),t}}const qX=new Uint8Array([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),$8=Uint8Array.from({length:16},(i,t)=>t),$X=$8.map(i=>(9*i+5)%16);let Rk=[$8],Pk=[$X];for(let i=0;i<4;i++)for(let t of[Rk,Pk])t.push(t[i].map(e=>qX[e]));const K8=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map(i=>new Uint8Array(i)),KX=Rk.map((i,t)=>i.map(e=>K8[t][e])),QX=Pk.map((i,t)=>i.map(e=>K8[t][e])),ZX=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),XX=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]),Zy=(i,t)=>i<<t|i>>>32-t;function Q8(i,t,e,n){return 0===i?t^e^n:1===i?t&e|~t&n:2===i?(t|~e)^n:3===i?t&n|e&~n:t^(e|~n)}const Xy=new Uint32Array(16);class JX extends Ok{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:t,h1:e,h2:n,h3:r,h4:a}=this;return[t,e,n,r,a]}set(t,e,n,r,a){this.h0=0|t,this.h1=0|e,this.h2=0|n,this.h3=0|r,this.h4=0|a}process(t,e){for(let te=0;te<16;te++,e+=4)Xy[te]=t.getUint32(e,!0);let n=0|this.h0,r=n,a=0|this.h1,o=a,c=0|this.h2,h=c,f=0|this.h3,x=f,P=0|this.h4,$=P;for(let te=0;te<5;te++){const fe=4-te,ye=ZX[te],Ie=XX[te],Le=Rk[te],it=Pk[te],Be=KX[te],ut=QX[te];for(let Tt=0;Tt<16;Tt++){const qt=Zy(n+Q8(te,a,c,f)+Xy[Le[Tt]]+ye,Be[Tt])+P|0;n=P,P=f,f=0|Zy(c,10),c=a,a=qt}for(let Tt=0;Tt<16;Tt++){const qt=Zy(r+Q8(fe,o,h,x)+Xy[it[Tt]]+Ie,ut[Tt])+$|0;r=$,$=x,x=0|Zy(h,10),h=o,o=qt}}this.set(this.h1+c+x|0,this.h2+f+$|0,this.h3+P+r|0,this.h4+n+o|0,this.h0+a+h|0)}roundClean(){Xy.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}}const eJ=em(()=>new JX),tJ=(i,t,e)=>i&t^~i&e,iJ=(i,t,e)=>i&t^i&e^t&e,nJ=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Bu=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Hu=new Uint32Array(64);class Z8 extends Ok{constructor(){super(64,32,8,!1),this.A=0|Bu[0],this.B=0|Bu[1],this.C=0|Bu[2],this.D=0|Bu[3],this.E=0|Bu[4],this.F=0|Bu[5],this.G=0|Bu[6],this.H=0|Bu[7]}get(){const{A:t,B:e,C:n,D:r,E:a,F:o,G:c,H:h}=this;return[t,e,n,r,a,o,c,h]}set(t,e,n,r,a,o,c,h){this.A=0|t,this.B=0|e,this.C=0|n,this.D=0|r,this.E=0|a,this.F=0|o,this.G=0|c,this.H=0|h}process(t,e){for(let P=0;P<16;P++,e+=4)Hu[P]=t.getUint32(e,!1);for(let P=16;P<64;P++){const $=Hu[P-15],te=Hu[P-2],fe=Wc($,7)^Wc($,18)^$>>>3,ye=Wc(te,17)^Wc(te,19)^te>>>10;Hu[P]=ye+Hu[P-7]+fe+Hu[P-16]|0}let{A:n,B:r,C:a,D:o,E:c,F:h,G:f,H:x}=this;for(let P=0;P<64;P++){const te=x+(Wc(c,6)^Wc(c,11)^Wc(c,25))+tJ(c,h,f)+nJ[P]+Hu[P]|0,ye=(Wc(n,2)^Wc(n,13)^Wc(n,22))+iJ(n,r,a)|0;x=f,f=h,h=c,c=o+te|0,o=a,a=r,r=n,n=te+ye|0}n=n+this.A|0,r=r+this.B|0,a=a+this.C|0,o=o+this.D|0,c=c+this.E|0,h=h+this.F|0,f=f+this.G|0,x=x+this.H|0,this.set(n,r,a,o,c,h,f,x)}roundClean(){Hu.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class rJ extends Z8{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}const Bk=em(()=>new Z8),Jy=(em(()=>new rJ),BigInt(2**32-1)),Hk=BigInt(32);function X8(i,t=!1){return t?{h:Number(i&Jy),l:Number(i>>Hk&Jy)}:{h:0|Number(i>>Hk&Jy),l:0|Number(i&Jy)}}const On_split=function aJ(i,t=!1){let e=new Uint32Array(i.length),n=new Uint32Array(i.length);for(let r=0;r<i.length;r++){const{h:a,l:o}=X8(i[r],t);[e[r],n[r]]=[a,o]}return[e,n]},On_shrSH=(i,t,e)=>i>>>e,On_shrSL=(i,t,e)=>i<<32-e|t>>>e,On_rotrSH=(i,t,e)=>i>>>e|t<<32-e,On_rotrSL=(i,t,e)=>i<<32-e|t>>>e,On_rotrBH=(i,t,e)=>i<<64-e|t>>>e-32,On_rotrBL=(i,t,e)=>i>>>e-32|t<<64-e,On_add=function yJ(i,t,e,n){const r=(t>>>0)+(n>>>0);return{h:i+e+(r/2**32|0)|0,l:0|r}},On_add3L=(i,t,e)=>(i>>>0)+(t>>>0)+(e>>>0),On_add3H=(i,t,e,n)=>t+e+n+(i/2**32|0)|0,On_add4L=(i,t,e,n)=>(i>>>0)+(t>>>0)+(e>>>0)+(n>>>0),On_add4H=(i,t,e,n,r)=>t+e+n+r+(i/2**32|0)|0,On_add5H=(i,t,e,n,r,a)=>t+e+n+r+a+(i/2**32|0)|0,On_add5L=(i,t,e,n,r)=>(i>>>0)+(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0),[vJ,wJ]=On_split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(i=>BigInt(i))),Vu=new Uint32Array(80),Yu=new Uint32Array(80);class ev extends Ok{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:t,Al:e,Bh:n,Bl:r,Ch:a,Cl:o,Dh:c,Dl:h,Eh:f,El:x,Fh:P,Fl:$,Gh:te,Gl:fe,Hh:ye,Hl:Ie}=this;return[t,e,n,r,a,o,c,h,f,x,P,$,te,fe,ye,Ie]}set(t,e,n,r,a,o,c,h,f,x,P,$,te,fe,ye,Ie){this.Ah=0|t,this.Al=0|e,this.Bh=0|n,this.Bl=0|r,this.Ch=0|a,this.Cl=0|o,this.Dh=0|c,this.Dl=0|h,this.Eh=0|f,this.El=0|x,this.Fh=0|P,this.Fl=0|$,this.Gh=0|te,this.Gl=0|fe,this.Hh=0|ye,this.Hl=0|Ie}process(t,e){for(let Be=0;Be<16;Be++,e+=4)Vu[Be]=t.getUint32(e),Yu[Be]=t.getUint32(e+=4);for(let Be=16;Be<80;Be++){const ut=0|Vu[Be-15],Tt=0|Yu[Be-15],qt=On_rotrSH(ut,Tt,1)^On_rotrSH(ut,Tt,8)^On_shrSH(ut,Tt,7),Vn=On_rotrSL(ut,Tt,1)^On_rotrSL(ut,Tt,8)^On_shrSL(ut,Tt,7),Mn=0|Vu[Be-2],Kn=0|Yu[Be-2],sa=On_rotrSH(Mn,Kn,19)^On_rotrBH(Mn,Kn,61)^On_shrSH(Mn,Kn,6),Ns=On_rotrSL(Mn,Kn,19)^On_rotrBL(Mn,Kn,61)^On_shrSL(Mn,Kn,6),Kr=On_add4L(Vn,Ns,Yu[Be-7],Yu[Be-16]),fs=On_add4H(Kr,qt,sa,Vu[Be-7],Vu[Be-16]);Vu[Be]=0|fs,Yu[Be]=0|Kr}let{Ah:n,Al:r,Bh:a,Bl:o,Ch:c,Cl:h,Dh:f,Dl:x,Eh:P,El:$,Fh:te,Fl:fe,Gh:ye,Gl:Ie,Hh:Le,Hl:it}=this;for(let Be=0;Be<80;Be++){const ut=On_rotrSH(P,$,14)^On_rotrSH(P,$,18)^On_rotrBH(P,$,41),Tt=On_rotrSL(P,$,14)^On_rotrSL(P,$,18)^On_rotrBL(P,$,41),qt=P&te^~P&ye,Mn=On_add5L(it,Tt,$&fe^~$&Ie,wJ[Be],Yu[Be]),Kn=On_add5H(Mn,Le,ut,qt,vJ[Be],Vu[Be]),sa=0|Mn,Ns=On_rotrSH(n,r,28)^On_rotrBH(n,r,34)^On_rotrBH(n,r,39),Kr=On_rotrSL(n,r,28)^On_rotrBL(n,r,34)^On_rotrBL(n,r,39),fs=n&a^n&c^a&c,qp=r&o^r&h^o&h;Le=0|ye,it=0|Ie,ye=0|te,Ie=0|fe,te=0|P,fe=0|$,({h:P,l:$}=On_add(0|f,0|x,0|Kn,0|sa)),f=0|c,x=0|h,c=0|a,h=0|o,a=0|n,o=0|r;const du=On_add3L(sa,Kr,qp);n=On_add3H(du,Kn,Ns,fs),r=0|du}({h:n,l:r}=On_add(0|this.Ah,0|this.Al,0|n,0|r)),({h:a,l:o}=On_add(0|this.Bh,0|this.Bl,0|a,0|o)),({h:c,l:h}=On_add(0|this.Ch,0|this.Cl,0|c,0|h)),({h:f,l:x}=On_add(0|this.Dh,0|this.Dl,0|f,0|x)),({h:P,l:$}=On_add(0|this.Eh,0|this.El,0|P,0|$)),({h:te,l:fe}=On_add(0|this.Fh,0|this.Fl,0|te,0|fe)),({h:ye,l:Ie}=On_add(0|this.Gh,0|this.Gl,0|ye,0|Ie)),({h:Le,l:it}=On_add(0|this.Hh,0|this.Hl,0|Le,0|it)),this.set(n,r,a,o,c,h,f,x,P,$,te,fe,ye,Ie,Le,it)}roundClean(){Vu.fill(0),Yu.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}class FJ extends ev{constructor(){super(),this.Ah=-1942145080,this.Al=424955298,this.Bh=1944164710,this.Bl=-1982016298,this.Ch=502970286,this.Cl=855612546,this.Dh=1738396948,this.Dl=1479516111,this.Eh=258812777,this.El=2077511080,this.Fh=2011393907,this.Fl=79989058,this.Gh=1067287976,this.Gl=1780299464,this.Hh=286451373,this.Hl=-1848208735,this.outputLen=28}}class xJ extends ev{constructor(){super(),this.Ah=573645204,this.Al=-64227540,this.Bh=-1621794909,this.Bl=-934517566,this.Ch=596883563,this.Cl=1867755857,this.Dh=-1774684391,this.Dl=1497426621,this.Eh=-1775747358,this.El=-1467023389,this.Fh=-1101128155,this.Fl=1401305490,this.Gh=721525244,this.Gl=746961066,this.Hh=246885852,this.Hl=-2117784414,this.outputLen=32}}class CJ extends ev{constructor(){super(),this.Ah=-876896931,this.Al=-1056596264,this.Bh=1654270250,this.Bl=914150663,this.Ch=-1856437926,this.Cl=812702999,this.Dh=355462360,this.Dl=-150054599,this.Eh=1731405415,this.El=-4191439,this.Fh=-1900787065,this.Fl=1750603025,this.Gh=-619958771,this.Gl=1694076839,this.Hh=1203062813,this.Hl=-1090891868,this.outputLen=48}}const J8=em(()=>new ev);em(()=>new FJ),em(()=>new xJ),em(()=>new CJ),Nn.hmacSha256Sync=(i,...t)=>Qy(Bk,i,Nn.concatBytes(...t));const Vk=(i=>rc(function A8(i,t){if(Qh(i),"function"!=typeof t)throw new Error("checksum fn should be function");return{encode(e){if(!(e instanceof Uint8Array))throw new Error("checksum.encode: input should be Uint8Array");const n=t(e).slice(0,i),r=new Uint8Array(e.length+i);return r.set(e),r.set(n,e.length),r},decode(e){if(!(e instanceof Uint8Array))throw new Error("checksum.decode: input should be Uint8Array");const n=e.slice(0,-i),r=t(n).slice(0,i),a=e.slice(-i);for(let o=0;o<i;o++)if(r[o]!==a[o])throw new Error("Invalid checksum");return n}}}(4,t=>i(i(t))),zy))(Bk);function eL(i){return BigInt(`0x${function jX(i){if(!(i instanceof Uint8Array))throw new Error("Uint8Array expected");let t="";for(let e=0;e<i.length;e++)t+=YX[i[e]];return t}(i)}`)}const DJ=W8("Bitcoin seed"),Yk={private:76066276,public:76067358},jk=2147483648,tv=i=>{if(!Number.isSafeInteger(i)||i<0||i>2**32-1)throw new Error(`Invalid number=${i}. Should be from 0 to 2 ** 32 - 1`);const t=new Uint8Array(4);return rp(t).setUint32(0,i,!1),t};class tm{constructor(t){if(this.depth=0,this.index=0,this.chainCode=null,this.parentFingerprint=0,!t||"object"!=typeof t)throw new Error("HDKey.constructor must not be called directly");if(this.versions=t.versions||Yk,this.depth=t.depth||0,this.chainCode=t.chainCode,this.index=t.index||0,this.parentFingerprint=t.parentFingerprint||0,!this.depth&&(this.parentFingerprint||this.index))throw new Error("HDKey: zero depth with non-zero index/parent fingerprint");if(t.publicKey&&t.privateKey)throw new Error("HDKey: publicKey and privateKey at same time.");if(t.privateKey){if(!Nn.isValidPrivateKey(t.privateKey))throw new Error("Invalid private key");this.privKey="bigint"==typeof t.privateKey?t.privateKey:eL(t.privateKey),this.privKeyBytes=function kJ(i){return function zX(i){if("string"!=typeof i)throw new TypeError("hexToBytes: expected string, got "+typeof i);if(i.length%2)throw new Error("hexToBytes: received invalid unpadded hex");const t=new Uint8Array(i.length/2);for(let e=0;e<t.length;e++){const n=2*e,r=i.slice(n,n+2),a=Number.parseInt(r,16);if(Number.isNaN(a)||a<0)throw new Error("Invalid byte sequence");t[e]=a}return t}(i.toString(16).padStart(64,"0"))}(this.privKey),this.pubKey=function $Z(i,t=!1){return er.fromPrivateKey(i).toRawBytes(t)}(t.privateKey,!0)}else{if(!t.publicKey)throw new Error("HDKey: no public or private key provided");this.pubKey=er.fromHex(t.publicKey).toRawBytes(!0)}this.pubHash=(i=>eJ(Bk(this.pubKey)))()}get fingerprint(){if(!this.pubHash)throw new Error("No publicKey set!");return(i=>rp(this.pubHash).getUint32(0,!1))()}get identifier(){return this.pubHash}get pubKeyHash(){return this.pubHash}get privateKey(){return this.privKeyBytes||null}get publicKey(){return this.pubKey||null}get privateExtendedKey(){const t=this.privateKey;if(!t)throw new Error("No private key");return Vk.encode(this.serialize(this.versions.private,Ky(new Uint8Array([0]),t)))}get publicExtendedKey(){if(!this.pubKey)throw new Error("No public key");return Vk.encode(this.serialize(this.versions.public,this.pubKey))}static fromMasterSeed(t,e=Yk){if(Xh(t),8*t.length<128||8*t.length>512)throw new Error(`HDKey: wrong seed length=${t.length}. Should be between 128 and 512 bits; 256 bits is advised)`);const n=Qy(J8,DJ,t);return new tm({versions:e,chainCode:n.slice(32),privateKey:n.slice(0,32)})}static fromExtendedKey(t,e=Yk){const n=Vk.decode(t),r=rp(n),a=r.getUint32(0,!1),o={versions:e,depth:n[4],parentFingerprint:r.getUint32(5,!1),index:r.getUint32(9,!1),chainCode:n.slice(13,45)},c=n.slice(45),h=0===c[0];if(a!==e[h?"private":"public"])throw new Error("Version mismatch");return new tm(h?{...o,privateKey:c.slice(1)}:{...o,publicKey:c})}static fromJSON(t){return tm.fromExtendedKey(t.xpriv)}derive(t){if(!/^[mM]'?/.test(t))throw new Error('Path must start with "m" or "M"');if(/^[mM]'?$/.test(t))return this;const e=t.replace(/^[mM]'?\//,"").split("/");let n=this;for(const r of e){const a=/^(\d+)('?)$/.exec(r);if(!a||3!==a.length)throw new Error(`Invalid child index: ${r}`);let o=+a[1];if(!Number.isSafeInteger(o)||o>=jk)throw new Error("Invalid index");"'"===a[2]&&(o+=jk),n=n.deriveChild(o)}return n}deriveChild(t){if(!this.pubKey||!this.chainCode)throw new Error("No publicKey or chainCode set");let e=tv(t);if(t>=jk){const c=this.privateKey;if(!c)throw new Error("Could not derive hardened child key");e=Ky(new Uint8Array([0]),c,e)}else e=Ky(this.pubKey,e);const n=Qy(J8,this.chainCode,e),r=eL(n.slice(0,32)),a=n.slice(32);if(!Nn.isValidPrivateKey(r))throw new Error("Tweak bigger than curve order");const o={versions:this.versions,chainCode:a,depth:this.depth+1,parentFingerprint:this.fingerprint,index:t};try{if(this.privateKey){const c=Nn.mod(this.privKey+r,Rr.n);if(!Nn.isValidPrivateKey(c))throw new Error("The tweak was out of range or the resulted private key is invalid");o.privateKey=c}else{const c=er.fromHex(this.pubKey).add(er.fromPrivateKey(r));if(c.equals(er.ZERO))throw new Error("The tweak was equal to negative P, which made the result key invalid");o.publicKey=c.toRawBytes(!0)}return new tm(o)}catch{return this.deriveChild(t+1)}}sign(t){if(!this.privateKey)throw new Error("No privateKey set!");return Xh(t,32),function QZ(i,t,e={}){const{seed:n,m:r,d:a}=function y8(i,t,e){if(null==i)throw new Error(`sign: expected valid message hash, not "${i}"`);const n=Yc(i),r=Kh(t),a=[b8(r),KZ(n)];if(null!=e){!0===e&&(e=Nn.randomBytes(nc));const h=Yc(e);if(h.length!==nc)throw new Error(`sign: Expected ${nc} bytes of extra data`);a.push(h)}return{seed:Iu(...a),m:_8(n),d:r}}(i,t,e.extraEntropy),o=new h8(32,$h);let c;for(o.reseedSync(n);!(c=m8(o.generateSync(),r,a,e.canonical));)o.reseedSync();return function v8(i,t){const{sig:e,recovery:n}=i,{der:r,recovered:a}=Object.assign({canonical:!0,der:!0},t),o=r?e.toDERRawBytes():e.toCompactRawBytes();return a?[o,n]:o}(c,e)}(t,this.privKey,{canonical:!0,der:!1})}verify(t,e){if(Xh(t,32),Xh(e,64),!this.publicKey)throw new Error("No publicKey set!");let n;try{n=Bd.fromCompact(e)}catch{return!1}return function XZ(i,t,e,n=ZZ){let r;try{r=f8(i),t=Yc(t)}catch{return!1}const{r:a,s:o}=r;if(n.strict&&r.hasHighS())return!1;const c=yk(t);let h;try{h=vk(e)}catch{return!1}const{n:f}=Rr,x=ep(o,f),P=Zt(c*x,f),$=Zt(a*x,f),te=er.BASE.multiplyAndAddUnsafe(h,P,$);return!!te&&Zt(te.x,f)===a}(n,t,this.publicKey)}wipePrivateData(){return this.privKey=void 0,this.privKeyBytes&&(this.privKeyBytes.fill(0),this.privKeyBytes=void 0),this}toJSON(){return{xpriv:this.privateExtendedKey,xpub:this.publicExtendedKey}}serialize(t,e){if(!this.chainCode)throw new Error("No chainCode set");return Xh(e,33),Ky(tv(t),new Uint8Array([this.depth]),tv(this.parentFingerprint),tv(this.index),this.chainCode,e)}}class tL extends Ak{constructor(t,e){super(),this.finished=!1,this.destroyed=!1,function MX(i){if("function"!=typeof i||"function"!=typeof i.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");z8(i.outputLen),z8(i.blockLen)}(t);const n=qy(e);if(this.iHash=t.create(),!(this.iHash instanceof Ak))throw new TypeError("Expected instance of class which extends utils.Hash");const r=this.blockLen=this.iHash.blockLen;this.outputLen=this.iHash.outputLen;const a=new Uint8Array(r);a.set(n.length>this.iHash.blockLen?t.create().update(n).digest():n);for(let o=0;o<a.length;o++)a[o]^=54;this.iHash.update(a),this.oHash=t.create();for(let o=0;o<a.length;o++)a[o]^=106;this.oHash.update(a),a.fill(0)}update(t){if(this.destroyed)throw new Error("instance is destroyed");return this.iHash.update(t),this}digestInto(t){if(this.destroyed)throw new Error("instance is destroyed");if(!(t instanceof Uint8Array)||t.length!==this.outputLen)throw new Error("HMAC: Invalid output buffer");if(this.finished)throw new Error("digest() was already called");this.finished=!0,this.iHash.digestInto(t),this.oHash.update(t),this.oHash.digestInto(t),this.destroy()}digest(){const t=new Uint8Array(this.oHash.outputLen);return this.digestInto(t),t}_cloneInto(t){t||(t=Object.create(Object.getPrototypeOf(this),{}));const{oHash:e,iHash:n,finished:r,destroyed:a,blockLen:o,outputLen:c}=this;return t.finished=r,t.destroyed=a,t.blockLen=o,t.outputLen=c,t.oHash=e._cloneInto(t.oHash),t.iHash=n._cloneInto(t.iHash),t}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const iL=(i,t,e)=>new tL(i,t).update(e).digest();iL.create=(i,t)=>new tL(i,t);var SJ=Object.defineProperty,ju=(i,t)=>{for(var e in t)SJ(i,e,{get:t[e],enumerable:!0})};function ap(i){return Nn.bytesToHex(y_.getPublicKey(i))}ju({},{insertEventIntoAscendingList:()=>IJ,insertEventIntoDescendingList:()=>AJ,normalizeURL:()=>iv,utf8Decoder:()=>im,utf8Encoder:()=>Yd});var im=new TextDecoder("utf-8"),Yd=new TextEncoder;function iv(i){let t=new URL(i);return t.pathname=t.pathname.replace(/\/+/g,"/"),t.pathname.endsWith("/")&&(t.pathname=t.pathname.slice(0,-1)),("80"===t.port&&"ws:"===t.protocol||"443"===t.port&&"wss:"===t.protocol)&&(t.port=""),t.searchParams.sort(),t.hash="",t.toString()}function AJ(i,t){let r,e=0,n=i.length-1,a=e;if(n<0)a=0;else if(t.created_at<i[n].created_at)a=n+1;else if(t.created_at>=i[e].created_at)a=e;else for(;;){if(n<=e+1){a=n;break}if(r=Math.floor(e+(n-e)/2),i[r].created_at>t.created_at)e=r;else{if(!(i[r].created_at<t.created_at)){a=r;break}n=r}}return i[a]?.id!==t.id?[...i.slice(0,a),t,...i.slice(a)]:i}function IJ(i,t){let r,e=0,n=i.length-1,a=e;if(n<0)a=0;else if(t.created_at>i[n].created_at)a=n+1;else if(t.created_at<=i[e].created_at)a=e;else for(;;){if(n<=e+1){a=n;break}if(r=Math.floor(e+(n-e)/2),i[r].created_at<t.created_at)e=r;else{if(!(i[r].created_at>t.created_at)){a=r;break}n=r}}return i[a]?.id!==t.id?[...i.slice(0,a),t,...i.slice(a)]:i}var $n=(i=>(i[i.Metadata=0]="Metadata",i[i.Text=1]="Text",i[i.RecommendRelay=2]="RecommendRelay",i[i.Contacts=3]="Contacts",i[i.EncryptedDirectMessage=4]="EncryptedDirectMessage",i[i.EventDeletion=5]="EventDeletion",i[i.Reaction=7]="Reaction",i[i.ChannelCreation=40]="ChannelCreation",i[i.ChannelMetadata=41]="ChannelMetadata",i[i.ChannelMessage=42]="ChannelMessage",i[i.ChannelHideMessage=43]="ChannelHideMessage",i[i.ChannelMuteUser=44]="ChannelMuteUser",i[i.Report=1984]="Report",i[i.ZapRequest=9734]="ZapRequest",i[i.Zap=9735]="Zap",i[i.RelayList=10002]="RelayList",i[i.ClientAuth=22242]="ClientAuth",i[i.Article=30023]="Article",i))($n||{});function jd(i){let t=x_(Yd.encode(function LJ(i){if(!zd(i))throw new Error("can't serialize event with wrong or missing properties");return JSON.stringify([0,i.pubkey,i.created_at,i.kind,i.tags,i.content])}(i)));return Nn.bytesToHex(t)}function zd(i){if("object"!=typeof i||"string"!=typeof i.content||"number"!=typeof i.created_at||"string"!=typeof i.pubkey||!i.pubkey.match(/^[a-f0-9]{64}$/)||!Array.isArray(i.tags))return!1;for(let t=0;t<i.tags.length;t++){let e=i.tags[t];if(!Array.isArray(e))return!1;for(let n=0;n<e.length;n++)if("object"==typeof e[n])return!1}return!0}function op(i){return y_.verifySync(i.sig,jd(i),i.pubkey)}function zk(i,t){return Nn.bytesToHex(y_.signSync(jd(i),t))}function nv(i,t){let e=t.length+3,n=i.indexOf(`"${t}":`)+e,r=i.slice(n).indexOf('"')+n+1;return i.slice(r,r+64)}function nL(i,t){let e=t.length,n=i.indexOf(`"${t}":`)+e+3,r=i.slice(n),a=Math.min(r.indexOf(","),r.indexOf("}"));return parseInt(r.slice(0,a),10)}function rL(i){let t=i.slice(0,22).indexOf('"EVENT"');if(-1===t)return null;let e=i.slice(t+7+1).indexOf('"');if(-1===e)return null;let n=t+7+1+e,r=i.slice(n+1,80).indexOf('"');return-1===r?null:i.slice(n+1,n+1+r)}function PJ(i,t){return t===nv(i,"id")}function BJ(i,t){return t===nv(i,"pubkey")}function HJ(i,t){return t===nL(i,"kind")}function zJ(i,t,e){return Uk.apply(this,arguments)}function Uk(){return Uk=Se(function*(i,t,e){const r=aL(g8(i,"02"+t));let a=Uint8Array.from(function TX(i=32){if(Gy.web)return Gy.web.getRandomValues(new Uint8Array(i));if(Gy.node)return new Uint8Array(Gy.node.randomBytes(i).buffer);throw new Error("The environment doesn't have randomBytes function")}(16)),o=Yd.encode(e),c=yield crypto.subtle.importKey("raw",r,{name:"AES-CBC"},!1,["encrypt"]),h=yield crypto.subtle.encrypt({name:"AES-CBC",iv:a},c,o);return`${Zh.encode(new Uint8Array(h))}?iv=${Zh.encode(new Uint8Array(a.buffer))}`}),Uk.apply(this,arguments)}function UJ(i,t,e){return Wk.apply(this,arguments)}function Wk(){return Wk=Se(function*(i,t,e){let[n,r]=e.split("?iv="),o=aL(g8(i,"02"+t)),c=yield crypto.subtle.importKey("raw",o,{name:"AES-CBC"},!1,["decrypt"]),h=Zh.decode(n),f=Zh.decode(r),x=yield crypto.subtle.decrypt({name:"AES-CBC",iv:f},c,h);return im.decode(x)}),Wk.apply(this,arguments)}function aL(i){return i.slice(1,33)}ju({},{getHex64:()=>nv,getInt:()=>nL,getSubscriptionId:()=>rL,matchEventId:()=>PJ,matchEventKind:()=>HJ,matchEventPubkey:()=>BJ}),ju({},{decrypt:()=>UJ,encrypt:()=>zJ});var rv,Gk={};ju(Gk,{queryProfile:()=>qJ,searchDomain:()=>GJ,useFetchImplementation:()=>WJ});try{rv=fetch}catch{}function WJ(i){rv=i}function GJ(i){return qk.apply(this,arguments)}function qk(){return qk=Se(function*(i,t=""){try{return(yield(yield rv(`https://${i}/.well-known/nostr.json?name=${t}`)).json()).names}catch{return{}}}),qk.apply(this,arguments)}function qJ(i){return $k.apply(this,arguments)}function $k(){return $k=Se(function*(i){let[t,e]=i.split("@");if(e||(e=t,t="_"),!t.match(/^[A-Za-z0-9-_]+$/))return null;let n=yield(yield rv(`https://${e}/.well-known/nostr.json?name=${t}`)).json();if(!n?.names?.[t])return null;let r=n.names[t];return{pubkey:r,relays:n.relays?.[r]||[]}}),$k.apply(this,arguments)}var av={};function $J(i,t){let n=tm.fromMasterSeed((0,Ik.Z1)(i,t)).derive("m/44'/1237'/0'/0/0").privateKey;if(!n)throw new Error("could not derive private key");return Nn.bytesToHex(n)}function KJ(){return(0,Ik.OF)(U8.U)}function QJ(i){return(0,Ik._I)(i,U8.U)}ju(av,{generateSeedWords:()=>KJ,privateKeyFromSeedWords:()=>$J,validateWords:()=>QJ});var wa={};ju(wa,{decode:()=>ZJ,naddrEncode:()=>nee,neventEncode:()=>iee,noteEncode:()=>eee,nprofileEncode:()=>tee,npubEncode:()=>JJ,nsecEncode:()=>XJ});var Xk,C_=5e3;function ZJ(i){let{prefix:t,words:e}=Za.decode(i,C_),n=new Uint8Array(Za.fromWords(e));switch(t){case"nprofile":{let r=Kk(n);if(!r[0]?.[0])throw new Error("missing TLV 0 for nprofile");if(32!==r[0][0].length)throw new Error("TLV 0 should be 32 bytes");return{type:"nprofile",data:{pubkey:Nn.bytesToHex(r[0][0]),relays:r[1]?r[1].map(a=>im.decode(a)):[]}}}case"nevent":{let r=Kk(n);if(!r[0]?.[0])throw new Error("missing TLV 0 for nevent");if(32!==r[0][0].length)throw new Error("TLV 0 should be 32 bytes");return{type:"nevent",data:{id:Nn.bytesToHex(r[0][0]),relays:r[1]?r[1].map(a=>im.decode(a)):[]}}}case"naddr":{let r=Kk(n);if(!r[0]?.[0])throw new Error("missing TLV 0 for naddr");if(!r[2]?.[0])throw new Error("missing TLV 2 for naddr");if(32!==r[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(!r[3]?.[0])throw new Error("missing TLV 3 for naddr");if(4!==r[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"naddr",data:{identifier:im.decode(r[0][0]),pubkey:Nn.bytesToHex(r[2][0]),kind:parseInt(Nn.bytesToHex(r[3][0]),16),relays:r[1]?r[1].map(a=>im.decode(a)):[]}}}case"nsec":case"npub":case"note":return{type:t,data:Nn.bytesToHex(n)};default:throw new Error(`unknown prefix ${t}`)}}function Kk(i){let t={},e=i;for(;e.length>0;){let n=e[0],r=e[1],a=e.slice(2,2+r);e=e.slice(2+r),!(a.length<r)&&(t[n]=t[n]||[],t[n].push(a))}return t}function XJ(i){return Qk("nsec",i)}function JJ(i){return Qk("npub",i)}function eee(i){return Qk("note",i)}function Qk(i,t){let e=Nn.hexToBytes(t),n=Za.toWords(e);return Za.encode(i,n,C_)}function tee(i){let t=Zk({0:[Nn.hexToBytes(i.pubkey)],1:(i.relays||[]).map(n=>Yd.encode(n))}),e=Za.toWords(t);return Za.encode("nprofile",e,C_)}function iee(i){let t=Zk({0:[Nn.hexToBytes(i.id)],1:(i.relays||[]).map(n=>Yd.encode(n))}),e=Za.toWords(t);return Za.encode("nevent",e,C_)}function nee(i){let t=new ArrayBuffer(4);new DataView(t).setUint32(0,i.kind,!1);let e=Zk({0:[Yd.encode(i.identifier)],1:(i.relays||[]).map(r=>Yd.encode(r)),2:[Nn.hexToBytes(i.pubkey)],3:[new Uint8Array(t)]}),n=Za.toWords(e);return Za.encode("naddr",n,C_)}function Zk(i){let t=[];return Object.entries(i).forEach(([e,n])=>{n.forEach(r=>{let a=new Uint8Array(r.length+2);a.set([parseInt(e)],0),a.set([r.length],1),a.set(r,2),t.push(a)})}),Nn.concatBytes(...t)}function aee(i,t){let e=[];(t.kind||-1)>=0&&e.push(`kind=${t.kind}`),t.until&&e.push(`created_at<${t.until}`),t.since&&e.push(`created_at>${t.since}`);let n=e.join("&");if(""===n)throw new Error("refusing to create a delegation without any conditions");let r=x_(Yd.encode(`nostr:delegation:${t.pubkey}:${n}`)),a=Nn.bytesToHex(y_.signSync(r,i));return{from:ap(i),to:t.pubkey,cond:n,sig:a}}function oee(i){let t=i.tags.find(c=>"delegation"===c[0]&&c.length>=4);if(!t)return null;let e=t[1],n=t[2],r=t[3],a=n.split("&");for(let c=0;c<a.length;c++){let[h,f,x]=a[c].split(/\b/);if("kind"!==h||"="!==f||i.kind!==parseInt(x)){if("created_at"===h&&"<"===f&&i.created_at<parseInt(x))continue;if("created_at"===h&&">"===f&&i.created_at>parseInt(x))continue;return null}}let o=x_(Yd.encode(`nostr:delegation:${i.pubkey}:${n}`));return y_.verifySync(r,o,e)?e:null}ju({},{createDelegation:()=>aee,getDelegator:()=>oee}),ju({},{getZapEndpoint:()=>cee,makeZapReceipt:()=>hee,makeZapRequest:()=>dee,useFetchImplementation:()=>lee,validateZapRequest:()=>uee});try{Xk=fetch}catch{}function lee(i){Xk=i}function cee(i){return Jk.apply(this,arguments)}function Jk(){return Jk=Se(function*(i){try{let t="",{lud06:e,lud16:n}=JSON.parse(i.content);if(e){let{words:o}=Za.decode(e,1e3),c=Za.fromWords(o);t=im.decode(c)}else{if(!n)return null;{let[o,c]=n.split("@");t=`https://${c}/.well-known/lnurlp/${o}`}}let a=yield(yield Xk(t)).json();if(a.allowsNostr&&a.nostrPubkey)return a.callback}catch{}return null}),Jk.apply(this,arguments)}function dee({profile:i,event:t,amount:e,relays:n,comment:r=""}){if(!e)throw new Error("amount not given");if(!i)throw new Error("profile not given");let a={kind:9734,created_at:Math.round(Date.now()/1e3),content:r,tags:[["p",i],["amount",e.toString()],["relays",...n]]};return t&&a.tags.push(["e",t]),a}function uee(i){let t;try{t=JSON.parse(i)}catch{return"Invalid zap request JSON."}if(!zd(t))return"Zap request is not a valid Nostr event.";if(!op(t))return"Invalid signature on zap request.";let e=t.tags.find(([a,o])=>"p"===a&&o);if(!e)return"Zap request doesn't have a 'p' tag.";if(!e[1].match(/^[a-f0-9]{64}$/))return"Zap request 'p' tag is not valid hex.";let n=t.tags.find(([a,o])=>"e"===a&&o);return n&&!n[1].match(/^[a-f0-9]{64}$/)?"Zap request 'e' tag is not valid hex.":t.tags.find(([a,o])=>"relays"===a&&o)?null:"Zap request doesn't have a 'relays' tag."}function hee({zapRequest:i,preimage:t,bolt11:e,paidAt:n}){let a=JSON.parse(i).tags.filter(([c])=>"e"===c||"p"===c||"a"===c),o={kind:9735,created_at:Math.round(n.getTime()/1e3),content:"",tags:[...a,["bolt11",e],["description",i]]};return t&&o.tags.push(["preimage",t]),o}Nn.hmacSha256Sync=(i,...t)=>iL(x_,i,Nn.concatBytes(...t)),Nn.sha256Sync=(...i)=>x_(Nn.concatBytes(...i));class mee{constructor(t){this.url=t,this.status="ok"}start(){return console.log(`${this.url}: start method new Worker called.`),this.worker=new Worker(I.tu(new URL(I.p+I.u(911),I.b))),this.worker}connect(t,e){this.action("connect",{url:this.url,subscriptions:t,event:e})}disconnect(){this.action("disconnect")}terminate(){this.action("terminate")}enque(t){this.action("enque",t)}publish(t){this.action("publish",t)}download(t,e,n){this.action("download",{filters:t,id:e,type:n})}subscribe(t,e){this.action("subscribe",{filters:t,id:e})}unsubscribe(t){this.action("unsubscribe",t)}action(t,e){if("ok"!=this.status)throw new Error("The status of this relay worker is: "+this.status);this.worker?.postMessage({type:t,data:e})}}const oL={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let ov;const fee=new Uint8Array(16);function pee(){if(!ov&&(ov=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!ov))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return ov(fee)}const No=[];for(let i=0;i<256;++i)No.push((i+256).toString(16).slice(1));const sv=function gee(i,t,e){if(oL.randomUUID&&!t&&!i)return oL.randomUUID();const n=(i=i||{}).random||(i.rng||pee)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){e=e||0;for(let r=0;r<16;++r)t[e+r]=n[r];return t}return function sL(i,t=0){return(No[i[t+0]]+No[i[t+1]]+No[i[t+2]]+No[i[t+3]]+"-"+No[i[t+4]]+No[i[t+5]]+"-"+No[i[t+6]]+No[i[t+7]]+"-"+No[i[t+8]]+No[i[t+9]]+"-"+No[i[t+10]]+No[i[t+11]]+No[i[t+12]]+No[i[t+13]]+No[i[t+14]]+No[i[t+15]]).toLowerCase()}(n)};class lv{}class k_{}class Gc{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(e=>{const n=e.indexOf(":");if(n>0){const r=e.slice(0,n),a=r.toLowerCase(),o=e.slice(n+1).trim();this.maybeSetNormalizedName(r,a),this.headers.has(a)?this.headers.get(a).push(o):this.headers.set(a,[o])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const r=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(r,n),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof Gc?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new Gc;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof Gc?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...n),this.headers.set(e,r);break;case"d":const a=t.value;if(a){let o=this.headers.get(e);if(!o)return;o=o.filter(c=>-1===a.indexOf(c)),0===o.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class _ee{encodeKey(t){return lL(t)}encodeValue(t){return lL(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const yee=/%(\d[a-f0-9])/gi,vee={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function lL(i){return encodeURIComponent(i).replace(yee,(t,e)=>vee[e]??t)}function cv(i){return`${i}`}class Ud{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new _ee,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function bee(i,t){const e=new Map;return i.length>0&&i.replace(/^\?/,"").split("&").forEach(r=>{const a=r.indexOf("="),[o,c]=-1==a?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,a)),t.decodeValue(r.slice(a+1))],h=e.get(o)||[];h.push(c),e.set(o,h)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e],r=Array.isArray(n)?n.map(cv):[cv(n)];this.map.set(e,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(n=>{const r=t[n];Array.isArray(r)?r.forEach(a=>{e.push({param:n,value:a,op:"a"})}):e.push({param:n,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(n=>e+"="+this.encoder.encodeValue(n)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new Ud({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(cv(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let n=this.map.get(t.param)||[];const r=n.indexOf(cv(t.value));-1!==r&&n.splice(r,1),n.length>0?this.map.set(t.param,n):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class wee{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function cL(i){return typeof ArrayBuffer<"u"&&i instanceof ArrayBuffer}function dL(i){return typeof Blob<"u"&&i instanceof Blob}function uL(i){return typeof FormData<"u"&&i instanceof FormData}class nm{constructor(t,e,n,r){let a;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function Fee(i){switch(i){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,a=r):a=n,a&&(this.reportProgress=!!a.reportProgress,this.withCredentials=!!a.withCredentials,a.responseType&&(this.responseType=a.responseType),a.headers&&(this.headers=a.headers),a.context&&(this.context=a.context),a.params&&(this.params=a.params)),this.headers||(this.headers=new Gc),this.context||(this.context=new wee),this.params){const o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{const c=e.indexOf("?");this.urlWithParams=e+(-1===c?"?":c<e.length-1?"&":"")+o}}else this.params=new Ud,this.urlWithParams=e}serializeBody(){return null===this.body?null:cL(this.body)||dL(this.body)||uL(this.body)||function xee(i){return typeof URLSearchParams<"u"&&i instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Ud?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||uL(this.body)?null:dL(this.body)?this.body.type||null:cL(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ud?"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={}){const e=t.method||this.method,n=t.url||this.url,r=t.responseType||this.responseType,a=void 0!==t.body?t.body:this.body,o=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,c=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let h=t.headers||this.headers,f=t.params||this.params;const x=t.context??this.context;return void 0!==t.setHeaders&&(h=Object.keys(t.setHeaders).reduce((P,$)=>P.set($,t.setHeaders[$]),h)),t.setParams&&(f=Object.keys(t.setParams).reduce((P,$)=>P.set($,t.setParams[$]),f)),new nm(e,n,a,{params:f,headers:h,context:x,reportProgress:c,responseType:r,withCredentials:o})}}var Xa=(()=>((Xa=Xa||{})[Xa.Sent=0]="Sent",Xa[Xa.UploadProgress=1]="UploadProgress",Xa[Xa.ResponseHeader=2]="ResponseHeader",Xa[Xa.DownloadProgress=3]="DownloadProgress",Xa[Xa.Response=4]="Response",Xa[Xa.User=5]="User",Xa))();class eD{constructor(t,e=200,n="OK"){this.headers=t.headers||new Gc,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class tD extends eD{constructor(t={}){super(t),this.type=Xa.ResponseHeader}clone(t={}){return new tD({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 sp extends eD{constructor(t={}){super(t),this.type=Xa.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new sp({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 hL extends eD{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 iD(i,t){return{body:t,headers:i.headers,context:i.context,observe:i.observe,params:i.params,reportProgress:i.reportProgress,responseType:i.responseType,withCredentials:i.withCredentials}}let D_=(()=>{class i{constructor(e){this.handler=e}request(e,n,r={}){let a;if(e instanceof nm)a=e;else{let h,f;h=r.headers instanceof Gc?r.headers:new Gc(r.headers),r.params&&(f=r.params instanceof Ud?r.params:new Ud({fromObject:r.params})),a=new nm(e,n,void 0!==r.body?r.body:null,{headers:h,context:r.context,params:f,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const o=Ht(a).pipe(Pc(h=>this.handler.handle(h)));if(e instanceof nm||"events"===r.observe)return o;const c=o.pipe(qi(h=>h instanceof sp));switch(r.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return c.pipe(_t(h=>{if(null!==h.body&&!(h.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return h.body}));case"blob":return c.pipe(_t(h=>{if(null!==h.body&&!(h.body instanceof Blob))throw new Error("Response is not a Blob.");return h.body}));case"text":return c.pipe(_t(h=>{if(null!==h.body&&"string"!=typeof h.body)throw new Error("Response is not a string.");return h.body}));default:return c.pipe(_t(h=>h.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:(new Ud).append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,r={}){return this.request("PATCH",e,iD(r,n))}post(e,n,r={}){return this.request("POST",e,iD(r,n))}put(e,n,r={}){return this.request("PUT",e,iD(r,n))}}return i.\u0275fac=function(e){return new(e||i)(Fe(lv))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})();function mL(i,t){return t(i)}function Cee(i,t){return(e,n)=>t.intercept(e,{handle:r=>i(r,n)})}const Dee=new Ke("HTTP_INTERCEPTORS"),M_=new Ke("HTTP_INTERCEPTOR_FNS");function Mee(){let i=null;return(t,e)=>(null===i&&(i=(ei(Dee,{optional:!0})??[]).reduceRight(Cee,mL)),i(t,e))}let fL=(()=>{class i extends lv{constructor(e,n){super(),this.backend=e,this.injector=n,this.chain=null}handle(e){if(null===this.chain){const n=Array.from(new Set(this.injector.get(M_)));this.chain=n.reduceRight((r,a)=>function kee(i,t,e){return(n,r)=>e.runInContext(()=>t(n,a=>i(a,r)))}(r,a,this.injector),mL)}return this.chain(e,n=>this.backend.handle(n))}}return i.\u0275fac=function(e){return new(e||i)(Fe(k_),Fe(xc))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})();const Aee=/^\)\]\}',?\n/;let gL=(()=>{class i{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new mt(n=>{const r=this.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((te,fe)=>r.setRequestHeader(te,fe.join(","))),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const te=e.detectContentTypeHeader();null!==te&&r.setRequestHeader("Content-Type",te)}if(e.responseType){const te=e.responseType.toLowerCase();r.responseType="json"!==te?te:"text"}const a=e.serializeBody();let o=null;const c=()=>{if(null!==o)return o;const te=r.statusText||"OK",fe=new Gc(r.getAllResponseHeaders()),ye=function Iee(i){return"responseURL"in i&&i.responseURL?i.responseURL:/^X-Request-URL:/m.test(i.getAllResponseHeaders())?i.getResponseHeader("X-Request-URL"):null}(r)||e.url;return o=new tD({headers:fe,status:r.status,statusText:te,url:ye}),o},h=()=>{let{headers:te,status:fe,statusText:ye,url:Ie}=c(),Le=null;204!==fe&&(Le=typeof r.response>"u"?r.responseText:r.response),0===fe&&(fe=Le?200:0);let it=fe>=200&&fe<300;if("json"===e.responseType&&"string"==typeof Le){const Be=Le;Le=Le.replace(Aee,"");try{Le=""!==Le?JSON.parse(Le):null}catch(ut){Le=Be,it&&(it=!1,Le={error:ut,text:Le})}}it?(n.next(new sp({body:Le,headers:te,status:fe,statusText:ye,url:Ie||void 0})),n.complete()):n.error(new hL({error:Le,headers:te,status:fe,statusText:ye,url:Ie||void 0}))},f=te=>{const{url:fe}=c(),ye=new hL({error:te,status:r.status||0,statusText:r.statusText||"Unknown Error",url:fe||void 0});n.error(ye)};let x=!1;const P=te=>{x||(n.next(c()),x=!0);let fe={type:Xa.DownloadProgress,loaded:te.loaded};te.lengthComputable&&(fe.total=te.total),"text"===e.responseType&&r.responseText&&(fe.partialText=r.responseText),n.next(fe)},$=te=>{let fe={type:Xa.UploadProgress,loaded:te.loaded};te.lengthComputable&&(fe.total=te.total),n.next(fe)};return r.addEventListener("load",h),r.addEventListener("error",f),r.addEventListener("timeout",f),r.addEventListener("abort",f),e.reportProgress&&(r.addEventListener("progress",P),null!==a&&r.upload&&r.upload.addEventListener("progress",$)),r.send(a),n.next({type:Xa.Sent}),()=>{r.removeEventListener("error",f),r.removeEventListener("abort",f),r.removeEventListener("load",h),r.removeEventListener("timeout",f),e.reportProgress&&(r.removeEventListener("progress",P),null!==a&&r.upload&&r.upload.removeEventListener("progress",$)),r.readyState!==r.DONE&&r.abort()}})}}return i.\u0275fac=function(e){return new(e||i)(Fe(qA))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})();const nD=new Ke("XSRF_ENABLED"),_L=new Ke("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),bL=new Ke("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class yL{}let Oee=(()=>{class i{constructor(e,n,r){this.doc=e,this.platform=n,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=NA(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return i.\u0275fac=function(e){return new(e||i)(Fe(Mi),Fe(Ec),Fe(_L))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})();function Ree(i,t){const e=i.url.toLowerCase();if(!ei(nD)||"GET"===i.method||"HEAD"===i.method||e.startsWith("http://")||e.startsWith("https://"))return t(i);const n=ei(yL).getToken(),r=ei(bL);return null!=n&&!i.headers.has(r)&&(i=i.clone({headers:i.headers.set(r,n)})),t(i)}var Na=(()=>((Na=Na||{})[Na.Interceptors=0]="Interceptors",Na[Na.LegacyInterceptors=1]="LegacyInterceptors",Na[Na.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Na[Na.NoXsrfProtection=3]="NoXsrfProtection",Na[Na.JsonpSupport=4]="JsonpSupport",Na[Na.RequestsMadeViaParent=5]="RequestsMadeViaParent",Na))();function lp(i,t){return{\u0275kind:i,\u0275providers:t}}function Pee(...i){const t=[D_,gL,fL,{provide:lv,useExisting:fL},{provide:k_,useExisting:gL},{provide:M_,useValue:Ree,multi:!0},{provide:nD,useValue:!0},{provide:yL,useClass:Oee}];for(const e of i)t.push(...e.\u0275providers);return function T7(i){return{\u0275providers:i}}(t)}const vL=new Ke("LEGACY_INTERCEPTOR_FN");let wL=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[Pee(lp(Na.LegacyInterceptors,[{provide:vL,useFactory:Mee},{provide:M_,useExisting:vL,multi:!0}]))]}),i})(),FL={},xL={};function Vee(i){let t=[],e=0,n=0;for(let r=0;r<i.length;r+=1){let a=FL[i[r]];if(void 0===a)throw new Error("Invalid character ("+i[r]+")");const o=32&a;if(a&=31,n+=a<<e,o)e+=5;else{const c=1&n;n>>>=1,t.push(c?0===n?-2147483648:-n:n),n=e=0}}return t}"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(i,t){FL[i]=t,xL[t]=i});const dv="TOKEN_LOGGER_CONFIG";class Yee{constructor(t){this.config=this._clone(t)}get level(){return this.config.level}get serverLogLevel(){return this.config.serverLogLevel}updateConfig(t){this.config=this._clone(t)}partialUpdateConfig(t){t&&Object.keys(t).forEach(e=>{this.config[e]=t[e]})}getConfig(){return this._clone(this.config)}_clone(t){const e={level:null};return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}}const E_="TOKEN_LOGGER_CONFIG_ENGINE_FACTORY";class jee{provideConfigEngine(t){return new Yee(t)}}const S_="TOKEN_LOGGER_MAPPER_SERVICE";let zee=(()=>{class i{constructor(e){this.httpBackend=e,this.sourceMapCache=new Map,this.logPositionCache=new Map}getLogPosition(e,n){const r=this.getStackLine(e);if(!r)return Ht({fileName:"",lineNumber:0,columnNumber:0});const a=this.getLocalPosition(r);if(!e.enableSourceMaps)return Ht(a);const o=this.getSourceMapLocation(r);return this.getSourceMap(o,a)}getStackLine(e){const n=new Error;try{throw n}catch{try{let a=4;return n.stack.split("\n")[0].includes(".js:")||(a+=1),n.stack.split("\n")[a+(e.proxiedSteps||0)]}catch{return null}}}getLocalPosition(e){const n=e.lastIndexOf("/");let r=e.indexOf(")");r<0&&(r=void 0);const o=e.substring(n+1,r).split(":");return 3===o.length?{fileName:o[0],lineNumber:+o[1],columnNumber:+o[2]}:{fileName:"unknown",lineNumber:0,columnNumber:0}}getTranspileLocation(e){let n=e.indexOf("(");n<0&&(n=e.lastIndexOf("@"),n<0&&(n=e.lastIndexOf(" ")));let r=e.indexOf(")");return r<0&&(r=void 0),e.substring(n+1,r)}getSourceMapLocation(e){const n=this.getTranspileLocation(e),r=n.substring(0,n.lastIndexOf(":"));return r.substring(0,r.lastIndexOf(":"))+".map"}getMapping(e,n){let r=0,a=0,o=0;const c=e.mappings.split(";");for(let h=0;h<c.length;h++){let f=0;const x=c[h].split(",");for(let P=0;P<x.length;P++){const $=Vee(x[P]);if($.length>=4&&(f+=$[0],r+=$[1],a+=$[2],o+=$[3]),h===n.lineNumber){if(f===n.columnNumber)return{fileName:e.sources[r],lineNumber:a,columnNumber:o};if(P+1===x.length)return{fileName:e.sources[r],lineNumber:a,columnNumber:0}}}}return{fileName:"unknown",lineNumber:0,columnNumber:0}}getSourceMap(e,n){const r=new nm("GET",e),a=`${n.fileName}:${n.lineNumber}:${n.columnNumber}`;if(this.logPositionCache.has(a))return this.logPositionCache.get(a);this.sourceMapCache.has(e)||(this.httpBackend?this.sourceMapCache.set(e,this.httpBackend.handle(r).pipe(qi(c=>c instanceof sp),_t(c=>c.body),function Hee(i=1/0){let t;t=i&&"object"==typeof i?i:{count:i};const{count:e=1/0,delay:n,resetOnSuccess:r=!1}=t;return e<=0?ze:Jt((a,o)=>{let h,c=0;const f=()=>{let x=!1;h=a.subscribe(Ut(o,P=>{r&&(c=0),o.next(P)},void 0,P=>{if(c++<e){const $=()=>{h?(h.unsubscribe(),h=null,f()):x=!0};if(null!=n){const te="number"==typeof n?jg(n):sn(n(P,c)),fe=Ut(o,()=>{fe.unsubscribe(),$()},()=>{o.complete()});te.subscribe(fe)}else $()}else o.error(P)})),x&&(h.unsubscribe(),h=null,f())};f()})}(3),qh(1))):(console.error("NGXLogger : Can't get sourcemap because HttpBackend is not provided. You need to import HttpClientModule"),this.sourceMapCache.set(e,Ht(null))));const o=this.sourceMapCache.get(e).pipe(_t(c=>c?this.getMapping(c,n):n),Zo(()=>Ht(n)),qh(1));return this.logPositionCache.set(a,o),o}}return i.\u0275fac=function(e){return new(e||i)(Fe(k_,8))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})();const T_="TOKEN_LOGGER_METADATA_SERVICE";let Uee=(()=>{class i{constructor(e){this.datePipe=e}computeTimestamp(e){const n=()=>(new Date).toISOString();return e.timestampFormat?this.datePipe?this.datePipe.transform(new Date,e.timestampFormat):(console.error("NGXLogger : Can't use timeStampFormat because DatePipe is not provided. You need to provide DatePipe"),n()):n()}getMetadata(e,n,r,a){const o={level:e,additional:a};return o.message=r&&"function"==typeof r?r():r,o.timestamp=this.computeTimestamp(n),o}}return i.\u0275fac=function(e){return new(e||i)(Fe(Vx,8))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})();const A_="TOKEN_LOGGER_RULES_SERVICE";let Wee=(()=>{class i{shouldCallWriter(e,n,r,a){return!n.disableConsoleLogging&&e>=n.level}shouldCallServer(e,n,r,a){return!!n.serverLoggingUrl&&e>=n.serverLogLevel}shouldCallMonitor(e,n,r,a){return this.shouldCallWriter(e,n,r,a)||this.shouldCallServer(e,n,r,a)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})();const I_="TOKEN_LOGGER_SERVER_SERVICE";let Gee=(()=>{class i{constructor(e){this.httpBackend=e}secureErrorObject(e){return e?.stack}secureAdditionalParameters(e){return null==e?null:e.map((n,r)=>{try{return n instanceof Error?this.secureErrorObject(n):("object"==typeof n&&JSON.stringify(n),n)}catch{return`The additional[${r}] value could not be parsed using JSON.stringify().`}})}secureMessage(e){try{if(e instanceof Error)return this.secureErrorObject(e);"string"!=typeof e&&(e=JSON.stringify(e,null,2))}catch{e='The provided "message" value could not be parsed with JSON.stringify().'}return e}alterHttpRequest(e){return e}logOnServer(e,n,r){if(!this.httpBackend)return console.error("NGXLogger : Can't log on server because HttpBackend is not provided. You need to import HttpClientModule"),Ht(null);let a=new nm("POST",e,n,r||{}),o=Ht(a);const c=this.alterHttpRequest(a);return ic(c)?o=c:c?o=Ht(c):console.warn("NGXLogger : alterHttpRequest returned an invalid request. Using default one instead"),o.pipe(Pc(h=>h?this.httpBackend.handle(h):(console.warn("NGXLogger : alterHttpRequest returned an invalid request (observable). Using default one instead"),this.httpBackend.handle(a))),qi(h=>h instanceof sp),_t(h=>h.body))}customiseRequestBody(e){return e}sendToServer(e,n){const r={...e};r.additional=this.secureAdditionalParameters(r.additional),r.message=this.secureMessage(r.message);const a=this.customiseRequestBody(r),o=n.customHttpHeaders||new Gc;o.has("Content-Type")||o.set("Content-Type","application/json"),this.logOnServer(n.serverLoggingUrl,a,{headers:o,params:n.customHttpParams||new Ud,responseType:n.httpResponseType||"json",withCredentials:n.withCredentials||!1}).pipe(Zo(c=>(console.error("NGXLogger: Failed to log on server",c),Du(c)))).subscribe()}}return i.\u0275fac=function(e){return new(e||i)(Fe(k_,8))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})();const cp="TOKEN_LOGGER_WRITER_SERVICE";var qr=(()=>(function(i){i[i.TRACE=0]="TRACE",i[i.DEBUG=1]="DEBUG",i[i.INFO=2]="INFO",i[i.LOG=3]="LOG",i[i.WARN=4]="WARN",i[i.ERROR=5]="ERROR",i[i.FATAL=6]="FATAL",i[i.OFF=7]="OFF"}(qr||(qr={})),qr))();const qee=["purple","teal","gray","gray","red","red","red"];let kL=(()=>{class i{constructor(e){this.platformId=e,this.prepareMetaStringFuncs=[this.getTimestampToWrite,this.getLevelToWrite,this.getFileDetailsToWrite,this.getContextToWrite],this.isIE=kd(e)&&navigator&&navigator.userAgent&&!(-1===navigator.userAgent.indexOf("MSIE")&&!navigator.userAgent.match(/Trident\//)&&!navigator.userAgent.match(/Edge\//)),this.logFunc=this.isIE?this.logIE.bind(this):this.logModern.bind(this)}getTimestampToWrite(e,n){return e.timestamp}getLevelToWrite(e,n){return qr[e.level]}getFileDetailsToWrite(e,n){return!0===n.disableFileDetails?"":`[${e.fileName}:${e.lineNumber}:${e.columnNumber}]`}getContextToWrite(e,n){return n.context?`{${n.context}}`:""}prepareMetaString(e,n){let r="";return this.prepareMetaStringFuncs.forEach(a=>{const o=a(e,n);o&&(r=r+" "+o)}),r.trim()}getColor(e,n){if(e.level!==qr.OFF)return(n.colorScheme??qee)[e.level]}logIE(e,n,r){const a=e.additional||[];switch(e.level){case qr.WARN:console.warn(`${r} `,e.message,...a);break;case qr.ERROR:case qr.FATAL:console.error(`${r} `,e.message,...a);break;case qr.INFO:console.info(`${r} `,e.message,...a);break;default:console.log(`${r} `,e.message,...a)}}logModern(e,n,r){const a=this.getColor(e,n),o=e.additional||[];switch(e.level){case qr.WARN:console.warn(`%c${r}`,`color:${a}`,e.message,...o);break;case qr.ERROR:case qr.FATAL:console.error(`%c${r}`,`color:${a}`,e.message,...o);break;case qr.INFO:console.info(`%c${r}`,`color:${a}`,e.message,...o);break;case qr.DEBUG:console.debug(`%c${r}`,`color:${a}`,e.message,...o);break;default:console.log(`%c${r}`,`color:${a}`,e.message,...o)}}writeMessage(e,n){const r=this.prepareMetaString(e,n);this.logFunc(e,n,r)}}return i.\u0275fac=function(e){return new(e||i)(Fe(Ec))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})(),uv=(()=>{class i{constructor(e,n,r,a,o,c,h){this.metadataService=r,this.ruleService=a,this.mapperService=o,this.writerService=c,this.serverService=h,this.configEngine=n.provideConfigEngine(e)}get level(){return this.configEngine.level}get serverLogLevel(){return this.configEngine.serverLogLevel}trace(e,...n){this._log(qr.TRACE,e,n)}debug(e,...n){this._log(qr.DEBUG,e,n)}info(e,...n){this._log(qr.INFO,e,n)}log(e,...n){this._log(qr.LOG,e,n)}warn(e,...n){this._log(qr.WARN,e,n)}error(e,...n){this._log(qr.ERROR,e,n)}fatal(e,...n){this._log(qr.FATAL,e,n)}setCustomHttpHeaders(e){const n=this.getConfigSnapshot();n.customHttpHeaders=e,this.updateConfig(n)}setCustomParams(e){const n=this.getConfigSnapshot();n.customHttpParams=e,this.updateConfig(n)}setWithCredentialsOptionValue(e){const n=this.getConfigSnapshot();n.withCredentials=e,this.updateConfig(n)}registerMonitor(e){this._loggerMonitor=e}updateConfig(e){this.configEngine.updateConfig(e)}partialUpdateConfig(e){this.configEngine.partialUpdateConfig(e)}getConfigSnapshot(){return this.configEngine.getConfig()}_log(e,n,r=[]){const a=this.configEngine.getConfig(),o=this.ruleService.shouldCallWriter(e,a,n,r),c=this.ruleService.shouldCallServer(e,a,n,r),h=this.ruleService.shouldCallMonitor(e,a,n,r);if(!o&&!c&&!h)return;const f=this.metadataService.getMetadata(e,a,n,r);this.mapperService.getLogPosition(a,f).pipe(nn(1)).subscribe(x=>{x&&(f.fileName=x.fileName,f.lineNumber=x.lineNumber,f.columnNumber=x.columnNumber),h&&this._loggerMonitor&&this._loggerMonitor.onLog(f,a),o&&this.writerService.writeMessage(f,a),c&&this.serverService.sendToServer(f,a)})}}return i.\u0275fac=function(e){return new(e||i)(Fe(dv),Fe(E_),Fe(T_),Fe(A_),Fe(S_),Fe(cp),Fe(I_))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),$ee=(()=>{class i{constructor(e,n,r,a,o,c,h){this.logger=e,this.configEngineFactory=n,this.metadataService=r,this.ruleService=a,this.mapperService=o,this.writerService=c,this.serverService=h}create(e,n,r,a){return this.getNewInstance({config:e,serverService:n,logMonitor:r,mapperService:a})}getNewInstance(e){const n=new uv(e?.config??this.logger.getConfigSnapshot(),e?.configEngineFactory??this.configEngineFactory,e?.metadataService??this.metadataService,e?.ruleService??this.ruleService,e?.mapperService??this.mapperService,e?.writerService??this.writerService,e?.serverService??this.serverService);return e?.partialConfig&&n.partialUpdateConfig(e.partialConfig),e?.logMonitor&&n.registerMonitor(e.logMonitor),n}}return i.\u0275fac=function(e){return new(e||i)(Fe(uv),Fe(E_),Fe(T_),Fe(A_),Fe(S_),Fe(cp),Fe(I_))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Kee=(()=>{class i{static forRoot(e,n){if(n||(n={}),n.configProvider){if(n.configProvider.provide!==dv)throw new Error(`Wrong injection token for configProvider, it should be ${dv} and you used ${n.configProvider.provide}`)}else n.configProvider={provide:dv,useValue:e||{}};if(n.configEngineFactoryProvider){if(n.configEngineFactoryProvider.provide!==E_)throw new Error(`Wrong injection token for configEngineFactoryProvider, it should be '${E_}' and you used '${n.configEngineFactoryProvider.provide}'`)}else n.configEngineFactoryProvider={provide:E_,useClass:jee};if(n.metadataProvider){if(n.metadataProvider.provide!==T_)throw new Error(`Wrong injection token for metadataProvider, it should be '${T_}' and you used '${n.metadataProvider.provide}'`)}else n.metadataProvider={provide:T_,useClass:Uee};if(n.ruleProvider){if(n.ruleProvider.provide!==A_)throw new Error(`Wrong injection token for ruleProvider, it should be '${A_}' and you used '${n.ruleProvider.provide}'`)}else n.ruleProvider={provide:A_,useClass:Wee};if(n.mapperProvider){if(n.mapperProvider.provide!==S_)throw new Error(`Wrong injection token for mapperProvider, it should be '${S_}' and you used '${n.mapperProvider.provide}'`)}else n.mapperProvider={provide:S_,useClass:zee};if(n.writerProvider){if(n.writerProvider.provide!==cp)throw new Error(`Wrong injection token for writerProvider, it should be '${cp}' and you used '${n.writerProvider.provide}'`)}else n.writerProvider={provide:cp,useClass:kL};if(n.serverProvider){if(n.serverProvider.provide!==I_)throw new Error(`Wrong injection token for serverProvider, it should be '${I_}' and you used '${n.writerProvider.provide}'`)}else n.serverProvider={provide:I_,useClass:Gee};return{ngModule:i,providers:[uv,n.configProvider,n.configEngineFactoryProvider,n.metadataProvider,n.ruleProvider,n.mapperProvider,n.writerProvider,n.serverProvider,$ee]}}static forChild(){return{ngModule:i}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Dr]}),i})();class dp{constructor(t){this.logger=t}enableDebug(){this.logger.updateConfig({level:qr.TRACE})}disableDebug(){this.logger.updateConfig({level:qr.INFO})}trace(t,...e){this.logger.trace(t,...e)}debug(t,...e){this.logger.debug(t,...e)}info(t,...e){this.logger.info(t,...e)}log(t,...e){this.logger.log(t,...e)}warn(t,...e){this.logger.warn(t,...e)}error(t,...e){this.logger.error(t,...e)}fatal(t,...e){this.logger.fatal(t,...e)}}dp.\u0275fac=function(t){return new(t||dp)(Fe(uv))},dp.\u0275prov=Qe({token:dp,factory:dp.\u0275fac,providedIn:"root"});class Jo{constructor(t){this.validator=t}processEvent(t){let e;return t?(e=t.kind==$n.Contacts?this.validator.validateContacts(t):this.validator.validateEvent(t),e?(e=this.validator.sanitizeEvent(e),e||null):(console.log("INVALID EVENT!"),null)):null}getPublicKeyAndEventTags(t){return t?t.filter(n=>"e"===n[0]||"p"===n[0]):[]}lastETag(t){const e=this.eTags(t);if(0!=e.length)return e[e.length-1][1]}titleTag(t){const e=this.tagsOfType(t,"title");if(0!=e.length)return e[e.length-1][1]}firstDTag(t){const e=this.tagsOfType(t,"d");if(0!=e.length)return e[0][1]}lastTagOfType(t,e){const n=this.tagsOfType(t,e);if(0!=n.length)return n[n.length-1][1]}hashTags(t){return this.tagsOfTypeValues(t,"t")}tagsOfType(t,e){return t?t.tags.filter(r=>r[0]===e):[]}tagsOfTypeValues(t,e){return t?t.tags.filter(r=>r[0]===e).map(r=>r[1]):[]}eTags(t){return t?t.tags.filter(n=>"e"===n[0]):[]}pTags(t){return t?t.tags.filter(n=>"p"===n[0]):[]}parentEventId(t){if(!t)return;const e=t.tags.filter(n=>"e"===n[0]);return 0!=e.length?e[e.length-1][1]:void 0}rootEventId(t){if(!t)return;const e=t.tags.filter(n=>"e"===n[0]);for(let n=0;n<e.length;n++){const r=e[n];if(r.length>3&&"root"==r[3])return r[1]}return 0==e.length?null:e[0][1]}replyEventId(t){if(!t)return;const e=t.tags.filter(n=>"e"===n[0]);for(let n=0;n<e.length;n++){const r=e[n];if(r.length>3&&"reply"==r[3])return r[1]}return e.length<2?null:e[1][1]}}Jo.\u0275fac=function(t){return new(t||Jo)(Fe(Xo))},Jo.\u0275prov=Qe({token:Jo,factory:Jo.\u0275fac,providedIn:"root"});class rm{constructor(t,e,n){this.appState=t,this.utilities=e,this.eventService=n,this.articles=[]}get(t){return this.articles.find(e=>e.slug==t)}put(t){const e=t;e.slug=this.eventService.firstDTag(t),e.title=this.eventService.lastTagOfType(t,"title"),e.summary=this.eventService.lastTagOfType(t,"summary"),e.image=this.eventService.lastTagOfType(t,"image"),e.metatags=this.eventService.tagsOfTypeValues(t,"t");const n=this.eventService.lastTagOfType(t,"published_at");if(n&&(e.published_at=Number(n)),e.pubkey==this.appState.getPublicKey()){const r=this.articles.findIndex(a=>a.slug==e.slug);if(r>-1){if(this.articles[r].created_at>e.created_at)return;this.articles[r]=e}else this.articles.push(e)}}}rm.\u0275fac=function(t){return new(t||rm)(Fe(Zi),Fe(an),Fe(Jo))},rm.\u0275prov=Qe({token:rm,factory:rm.\u0275fac,providedIn:"root"});class qc{constructor(t,e,n){this.appState=t,this.utilities=e,this.eventService=n,this.definitions=[]}getDefinition(t){return this.definitions.find(e=>e.slug==t)}denormalizeBadge(t){if(t)return t.slug=this.eventService.firstDTag(t),t.name=this.eventService.lastTagOfType(t,"name"),t.description=this.eventService.lastTagOfType(t,"description"),t.image=this.eventService.lastTagOfType(t,"image"),t.thumb=this.eventService.lastTagOfType(t,"thumb"),t.hashtags=this.eventService.tagsOfTypeValues(t,"t"),t}putDefinition(t){const e=t;if(e.slug=this.eventService.firstDTag(t),e.name=this.eventService.lastTagOfType(t,"name"),e.description=this.eventService.lastTagOfType(t,"description"),e.image=this.eventService.lastTagOfType(t,"image"),e.thumb=this.eventService.lastTagOfType(t,"thumb"),e.hashtags=this.eventService.tagsOfTypeValues(t,"t"),e.pubkey==this.appState.getPublicKey()){const n=this.definitions.findIndex(r=>r.slug==e.slug);if(n>-1){if(this.definitions[n].created_at>e.created_at)return;this.definitions[n]=e}else this.definitions.push(e)}}}qc.\u0275fac=function(t){return new(t||qc)(Fe(Zi),Fe(an),Fe(Jo))},qc.\u0275prov=Qe({token:qc,factory:qc.\u0275fac,providedIn:"root"});const DL=Dd({passive:!0});let Qee=(()=>{class i{constructor(e,n){this._platform=e,this._ngZone=n,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return ln;const n=Ed(e),r=this._monitoredElements.get(n);if(r)return r.subject;const a=new He,o="cdk-text-field-autofilled",c=h=>{"cdk-text-field-autofill-start"!==h.animationName||n.classList.contains(o)?"cdk-text-field-autofill-end"===h.animationName&&n.classList.contains(o)&&(n.classList.remove(o),this._ngZone.run(()=>a.next({target:h.target,isAutofilled:!1}))):(n.classList.add(o),this._ngZone.run(()=>a.next({target:h.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{n.addEventListener("animationstart",c,DL),n.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(n,{subject:a,unlisten:()=>{n.removeEventListener("animationstart",c,DL)}}),a}stopMonitoring(e){const n=Ed(e),r=this._monitoredElements.get(n);r&&(r.unlisten(),r.subject.complete(),n.classList.remove("cdk-text-field-autofill-monitored"),n.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(n))}ngOnDestroy(){this._monitoredElements.forEach((e,n)=>this.stopMonitoring(n))}}return i.\u0275fac=function(e){return new(e||i)(Fe(Bn),Fe(Rt))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),rD=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})(),ML=(()=>{class i{constructor(e,n){this._renderer=e,this._elementRef=n,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,n){this._renderer.setProperty(this._elementRef.nativeElement,e,n)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return i.\u0275fac=function(e){return new(e||i)(k(gl),k(gt))},i.\u0275dir=Oe({type:i}),i})(),am=(()=>{class i extends ML{}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275dir=Oe({type:i,features:[ot]}),i})();const Fa=new Ke("NgValueAccessor"),Xee={provide:Fa,useExisting:di(()=>xa),multi:!0},ete=new Ke("CompositionEventMode");let xa=(()=>{class i extends ML{constructor(e,n,r){super(e,n),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Jee(){const i=Fd()?Fd().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return i.\u0275fac=function(e){return new(e||i)(k(gl),k(gt),k(ete,8))},i.\u0275dir=Oe({type:i,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,n){1&e&&pe("input",function(a){return n._handleInput(a.target.value)})("blur",function(){return n.onTouched()})("compositionstart",function(){return n._compositionStart()})("compositionend",function(a){return n._compositionEnd(a.target.value)})},features:[Nt([Xee]),ot]}),i})();const tte=!1;function zu(i){return null==i||("string"==typeof i||Array.isArray(i))&&0===i.length}function SL(i){return null!=i&&"number"==typeof i.length}const Ja=new Ke("NgValidators"),Uu=new Ke("NgAsyncValidators"),ite=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Oo{static min(t){return function TL(i){return t=>{if(zu(t.value)||zu(i))return null;const e=parseFloat(t.value);return!isNaN(e)&&e<i?{min:{min:i,actual:t.value}}:null}}(t)}static max(t){return function AL(i){return t=>{if(zu(t.value)||zu(i))return null;const e=parseFloat(t.value);return!isNaN(e)&&e>i?{max:{max:i,actual:t.value}}:null}}(t)}static required(t){return IL(t)}static requiredTrue(t){return function LL(i){return!0===i.value?null:{required:!0}}(t)}static email(t){return function NL(i){return zu(i.value)||ite.test(i.value)?null:{email:!0}}(t)}static minLength(t){return function OL(i){return t=>zu(t.value)||!SL(t.value)?null:t.value.length<i?{minlength:{requiredLength:i,actualLength:t.value.length}}:null}(t)}static maxLength(t){return function RL(i){return t=>SL(t.value)&&t.value.length>i?{maxlength:{requiredLength:i,actualLength:t.value.length}}:null}(t)}static pattern(t){return function PL(i){if(!i)return hv;let t,e;return"string"==typeof i?(e="","^"!==i.charAt(0)&&(e+="^"),e+=i,"$"!==i.charAt(i.length-1)&&(e+="$"),t=new RegExp(e)):(e=i.toString(),t=i),n=>{if(zu(n.value))return null;const r=n.value;return t.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}(t)}static nullValidator(t){return null}static compose(t){return zL(t)}static composeAsync(t){return UL(t)}}function IL(i){return zu(i.value)?{required:!0}:null}function hv(i){return null}function BL(i){return null!=i}function HL(i){const t=bg(i)?rr(i):i;if(tte&&!BF(t)){let e="Expected async validator to return Promise or Observable.";throw"object"==typeof i&&(e+=" Are you using a synchronous validator where an async validator is expected?"),new tt(-1101,e)}return t}function VL(i){let t={};return i.forEach(e=>{t=null!=e?{...t,...e}:t}),0===Object.keys(t).length?null:t}function YL(i,t){return t.map(e=>e(i))}function jL(i){return i.map(t=>function nte(i){return!i.validate}(t)?t:e=>t.validate(e))}function zL(i){if(!i)return null;const t=i.filter(BL);return 0==t.length?null:function(e){return VL(YL(e,t))}}function aD(i){return null!=i?zL(jL(i)):null}function UL(i){if(!i)return null;const t=i.filter(BL);return 0==t.length?null:function(e){return dk(YL(e,t).map(HL)).pipe(_t(VL))}}function oD(i){return null!=i?UL(jL(i)):null}function WL(i,t){return null===i?[t]:Array.isArray(i)?[...i,t]:[i,t]}function GL(i){return i._rawValidators}function qL(i){return i._rawAsyncValidators}function sD(i){return i?Array.isArray(i)?i:[i]:[]}function mv(i,t){return Array.isArray(i)?i.includes(t):i===t}function $L(i,t){const e=sD(t);return sD(i).forEach(r=>{mv(e,r)||e.push(r)}),e}function KL(i,t){return sD(t).filter(e=>!mv(i,e))}class QL{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=aD(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=oD(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class hs extends QL{get formDirective(){return null}get path(){return null}}class ac extends QL{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ZL{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let ua=(()=>{class i extends ZL{constructor(e){super(e)}}return i.\u0275fac=function(e){return new(e||i)(k(ac,2))},i.\u0275dir=Oe({type:i,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,n){2&e&&Mt("ng-untouched",n.isUntouched)("ng-touched",n.isTouched)("ng-pristine",n.isPristine)("ng-dirty",n.isDirty)("ng-valid",n.isValid)("ng-invalid",n.isInvalid)("ng-pending",n.isPending)},features:[ot]}),i})(),Wu=(()=>{class i extends ZL{constructor(e){super(e)}}return i.\u0275fac=function(e){return new(e||i)(k(hs,10))},i.\u0275dir=Oe({type:i,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,n){2&e&&Mt("ng-untouched",n.isUntouched)("ng-touched",n.isTouched)("ng-pristine",n.isPristine)("ng-dirty",n.isDirty)("ng-valid",n.isValid)("ng-invalid",n.isInvalid)("ng-pending",n.isPending)("ng-submitted",n.isSubmitted)},features:[ot]}),i})();function XL(i,t){return i?`with name: '${t}'`:`at index: ${t}`}const dD=!1,L_="VALID",pv="INVALID",up="PENDING",N_="DISABLED";function uD(i){return(gv(i)?i.validators:i)||null}function hD(i,t){return(gv(t)?t.asyncValidators:i)||null}function gv(i){return null!=i&&!Array.isArray(i)&&"object"==typeof i}function JL(i,t,e){const n=i.controls;if(!(t?Object.keys(n):n).length)throw new tt(1e3,dD?function ste(i){return`\n There are no form controls registered with this ${i?"group":"array"} yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n `}(t):"");if(!n[e])throw new tt(1001,dD?function lte(i,t){return`Cannot find form control ${XL(i,t)}`}(t,e):"")}function eN(i,t,e){i._forEachChild((n,r)=>{if(void 0===e[r])throw new tt(1002,dD?function cte(i,t){return`Must supply a value for form control ${XL(i,t)}`}(t,r):"")})}class _v{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===L_}get invalid(){return this.status===pv}get pending(){return this.status==up}get disabled(){return this.status===N_}get enabled(){return this.status!==N_}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators($L(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators($L(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(KL(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(KL(t,this._rawAsyncValidators))}hasValidator(t){return mv(this._rawValidators,t)}hasAsyncValidator(t){return mv(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=up,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=N_,this.errors=null,this._forEachChild(n=>{n.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(n=>n(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=L_,this._forEachChild(n=>{n.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===L_||this.status===up)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?N_:L_}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=up,this._hasOwnPendingAsyncValidator=!0;const e=HL(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){let e=t;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((n,r)=>n&&n._find(r),this)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new lt,this.statusChanges=new lt}_calculateStatus(){return this._allControlsDisabled()?N_:this.errors?pv:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(up)?up:this._anyControlsHaveStatus(pv)?pv:L_}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){gv(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function dte(i){return Array.isArray(i)?aD(i):i||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function ute(i){return Array.isArray(i)?oD(i):i||null}(this._rawAsyncValidators)}}class O_ extends _v{constructor(t,e,n){super(uD(e),hD(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,n={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){eN(this,!0,t),Object.keys(t).forEach(n=>{JL(this,!0,n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(n=>{const r=this.controls[n];r&&r.patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((n,r)=>{n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,n)=>!!n._syncPendingControls()||e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const n=this.controls[e];n&&t(n,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[e,n]of Object.entries(this.controls))if(this.contains(e)&&t(n))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,n,r)=>((n.enabled||this.disabled)&&(e[r]=n.value),e))}_reduceChildren(t,e){let n=t;return this._forEachChild((r,a)=>{n=e(n,r,a)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}class tN extends O_{}const om=new Ke("CallSetDisabledState",{providedIn:"root",factory:()=>R_}),R_="always";function bv(i,t){return[...t.path,i]}function P_(i,t,e=R_){mD(i,t),t.valueAccessor.writeValue(i.value),(i.disabled||"always"===e)&&t.valueAccessor.setDisabledState?.(i.disabled),function mte(i,t){t.valueAccessor.registerOnChange(e=>{i._pendingValue=e,i._pendingChange=!0,i._pendingDirty=!0,"change"===i.updateOn&&iN(i,t)})}(i,t),function pte(i,t){const e=(n,r)=>{t.valueAccessor.writeValue(n),r&&t.viewToModelUpdate(n)};i.registerOnChange(e),t._registerOnDestroy(()=>{i._unregisterOnChange(e)})}(i,t),function fte(i,t){t.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,"blur"===i.updateOn&&i._pendingChange&&iN(i,t),"submit"!==i.updateOn&&i.markAsTouched()})}(i,t),function hte(i,t){if(t.valueAccessor.setDisabledState){const e=n=>{t.valueAccessor.setDisabledState(n)};i.registerOnDisabledChange(e),t._registerOnDestroy(()=>{i._unregisterOnDisabledChange(e)})}}(i,t)}function yv(i,t,e=!0){const n=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(n),t.valueAccessor.registerOnTouched(n)),wv(i,t),i&&(t._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function vv(i,t){i.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function mD(i,t){const e=GL(i);null!==t.validator?i.setValidators(WL(e,t.validator)):"function"==typeof e&&i.setValidators([e]);const n=qL(i);null!==t.asyncValidator?i.setAsyncValidators(WL(n,t.asyncValidator)):"function"==typeof n&&i.setAsyncValidators([n]);const r=()=>i.updateValueAndValidity();vv(t._rawValidators,r),vv(t._rawAsyncValidators,r)}function wv(i,t){let e=!1;if(null!==i){if(null!==t.validator){const r=GL(i);if(Array.isArray(r)&&r.length>0){const a=r.filter(o=>o!==t.validator);a.length!==r.length&&(e=!0,i.setValidators(a))}}if(null!==t.asyncValidator){const r=qL(i);if(Array.isArray(r)&&r.length>0){const a=r.filter(o=>o!==t.asyncValidator);a.length!==r.length&&(e=!0,i.setAsyncValidators(a))}}}const n=()=>{};return vv(t._rawValidators,n),vv(t._rawAsyncValidators,n),e}function iN(i,t){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function nN(i,t){mD(i,t)}function pD(i,t){if(!i.hasOwnProperty("model"))return!1;const e=i.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)}function rN(i,t){i._syncPendingControls(),t.forEach(e=>{const n=e.control;"submit"===n.updateOn&&n._pendingChange&&(e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function gD(i,t){if(!t)return null;let e,n,r;return Array.isArray(t),t.forEach(a=>{a.constructor===xa?e=a:function bte(i){return Object.getPrototypeOf(i.constructor)===am}(a)?n=a:r=a}),r||n||e||null}const vte={provide:hs,useExisting:di(()=>$c)},B_=(()=>Promise.resolve())();let $c=(()=>{class i extends hs{constructor(e,n,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._directives=new Set,this.ngSubmit=new lt,this.form=new O_({},aD(e),oD(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){B_.then(()=>{const n=this._findContainer(e.path);e.control=n.registerControl(e.name,e.control),P_(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){B_.then(()=>{const n=this._findContainer(e.path);n&&n.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){B_.then(()=>{const n=this._findContainer(e.path),r=new O_({});nN(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){B_.then(()=>{const n=this._findContainer(e.path);n&&n.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,n){B_.then(()=>{this.form.get(e.path).setValue(n)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,rN(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return i.\u0275fac=function(e){return new(e||i)(k(Ja,10),k(Uu,10),k(om,8))},i.\u0275dir=Oe({type:i,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,n){1&e&&pe("submit",function(a){return n.onSubmit(a)})("reset",function(){return n.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Nt([vte]),ot]}),i})();function aN(i,t){const e=i.indexOf(t);e>-1&&i.splice(e,1)}function oN(i){return"object"==typeof i&&null!==i&&2===Object.keys(i).length&&"value"in i&&"disabled"in i}const Gu=class extends _v{constructor(t=null,e,n){super(uD(e),hD(n,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),gv(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=oN(t)?t.value:t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(n=>n(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){aN(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){aN(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){oN(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},xte={provide:ac,useExisting:di(()=>Ca)},cN=(()=>Promise.resolve())();let Ca=(()=>{class i extends ac{constructor(e,n,r,a,o,c){super(),this._changeDetectorRef=o,this.callSetDisabledState=c,this.control=new Gu,this._registered=!1,this.update=new lt,this._parent=e,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=gD(0,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const n=e.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),pD(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){P_(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){cN.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const n=e.isDisabled.currentValue,r=0!==n&&kf(n);cN.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?bv(e,this._parent):[e]}}return i.\u0275fac=function(e){return new(e||i)(k(hs,9),k(Ja,10),k(Uu,10),k(Fa,10),k(ni,8),k(om,8))},i.\u0275dir=Oe({type:i,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Nt([xte]),ot,or]}),i})(),qu=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),i})();const Cte={provide:Fa,useExisting:di(()=>_D),multi:!0};let _D=(()=>{class i extends am{writeValue(e){this.setProperty("value",e??"")}registerOnChange(e){this.onChange=n=>{e(""==n?null:parseFloat(n))}}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275dir=Oe({type:i,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,n){1&e&&pe("input",function(a){return n.onChange(a.target.value)})("blur",function(){return n.onTouched()})},features:[Nt([Cte]),ot]}),i})(),dN=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})();const bD=new Ke("NgModelWithFormControlWarning"),Ete={provide:ac,useExisting:di(()=>yD)};let yD=(()=>{class i extends ac{set isDisabled(e){}constructor(e,n,r,a,o){super(),this._ngModelWarningConfig=a,this.callSetDisabledState=o,this.update=new lt,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=gD(0,r)}ngOnChanges(e){if(this._isControlChanged(e)){const n=e.form.previousValue;n&&yv(n,this,!1),P_(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}pD(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&yv(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return i._ngModelWarningSentOnce=!1,i.\u0275fac=function(e){return new(e||i)(k(Ja,10),k(Uu,10),k(Fa,10),k(bD,8),k(om,8))},i.\u0275dir=Oe({type:i,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Nt([Ete]),ot,or]}),i})();const Ste={provide:hs,useExisting:di(()=>Wd)};let Wd=(()=>{class i extends hs{constructor(e,n,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new lt,this._setValidators(e),this._setAsyncValidators(n)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(wv(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const n=this.form.get(e.path);return P_(n,e,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),n}getControl(e){return this.form.get(e.path)}removeControl(e){yv(e.control||null,e,!1),function yte(i,t){const e=i.indexOf(t);e>-1&&i.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,n){this.form.get(e.path).setValue(n)}onSubmit(e){return this.submitted=!0,rN(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const n=e.control,r=this.form.get(e.path);n!==r&&(yv(n||null,e),(i=>i instanceof Gu)(r)&&(P_(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const n=this.form.get(e.path);nN(n,e),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const n=this.form.get(e.path);n&&function gte(i,t){return wv(i,t)}(n,e)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){mD(this.form,this),this._oldForm&&wv(this._oldForm,this)}_checkFormPresent(){}}return i.\u0275fac=function(e){return new(e||i)(k(Ja,10),k(Uu,10),k(om,8))},i.\u0275dir=Oe({type:i,selectors:[["","formGroup",""]],hostBindings:function(e,n){1&e&&pe("submit",function(a){return n.onSubmit(a)})("reset",function(){return n.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Nt([Ste]),ot,or]}),i})();const Ite={provide:ac,useExisting:di(()=>H_)};let H_=(()=>{class i extends ac{set isDisabled(e){}constructor(e,n,r,a,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.update=new lt,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=gD(0,a)}ngOnChanges(e){this._added||this._setUpControl(),pD(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return bv(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return i._ngModelWarningSentOnce=!1,i.\u0275fac=function(e){return new(e||i)(k(hs,13),k(Ja,10),k(Uu,10),k(Fa,10),k(bD,8))},i.\u0275dir=Oe({type:i,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Nt([Ite]),ot,or]}),i})(),sm=(()=>{class i{constructor(){this._validator=hv}ngOnChanges(e){if(this.inputName in e){const n=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(n),this._validator=this._enabled?this.createValidator(n):hv,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,features:[or]}),i})();const Yte={provide:Ja,useExisting:di(()=>Fv),multi:!0};let Fv=(()=>{class i extends sm{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=kf,this.createValidator=e=>IL}enabled(e){return e}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275dir=Oe({type:i,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,n){2&e&&It("required",n._enabled?"":null)},inputs:{required:"required"},features:[Nt([Yte]),ot]}),i})(),CN=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[dN]}),i})();class kN extends _v{constructor(t,e,n){super(uD(e),hD(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,n={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(t,e={}){let n=this._adjustIndex(t);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,n={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){eN(this,!1,t),t.forEach((n,r)=>{JL(this,!1,r),this.at(r).setValue(n,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((n,r)=>{this.at(r)&&this.at(r).patchValue(n,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((n,r)=>{n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((e,n)=>!!n._syncPendingControls()||e,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}}function DN(i){return!!i&&(void 0!==i.asyncValidators||void 0!==i.validators||void 0!==i.updateOn)}let CD=(()=>{class i{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new i;return e.useNonNullable=!0,e}group(e,n=null){const r=this._reduceControls(e);let a={};return DN(n)?a=n:null!==n&&(a.validators=n.validator,a.asyncValidators=n.asyncValidator),new O_(r,a)}record(e,n=null){const r=this._reduceControls(e);return new tN(r,n)}control(e,n,r){let a={};return this.useNonNullable?(DN(n)?a=n:(a.validators=n,a.asyncValidators=r),new Gu(e,{...a,nonNullable:!0})):new Gu(e,n,r)}array(e,n,r){const a=e.map(o=>this._createControl(o));return new kN(a,n,r)}_reduceControls(e){const n={};return Object.keys(e).forEach(r=>{n[r]=this._createControl(e[r])}),n}_createControl(e){return e instanceof Gu||e instanceof _v?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),MN=(()=>{class i extends CD{group(e,n=null){return super.group(e,n)}control(e,n,r){return super.control(e,n,r)}array(e,n,r){return super.array(e,n,r)}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Cv=(()=>{class i{static withConfig(e){return{ngModule:i,providers:[{provide:om,useValue:e.callSetDisabledState??R_}]}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[CN]}),i})(),EN=(()=>{class i{static withConfig(e){return{ngModule:i,providers:[{provide:bD,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:om,useValue:e.callSetDisabledState??R_}]}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[CN]}),i})();const qte=["matFormFieldNotchedOutline",""],$te=["*"],Kte=["textField"],Qte=["iconPrefixContainer"],Zte=["textPrefixContainer"];function Xte(i,t){1&i&&Ce(0,"span",19)}function Jte(i,t){if(1&i){const e=Je();_(0,"label",17),pe("cdkObserveContent",function(){return Te(e),Ae(Q(2)._refreshOutlineNotchWidth())}),Ft(1,1),ee(2,Xte,1,0,"span",18),F()}if(2&i){const e=Q(2);S("floating",e._shouldLabelFloat())("cdkObserveContentDisabled",!e._hasOutline())("id",e._labelId),It("for",e._control.id)("aria-owns",e._control.id),E(2),S("ngIf",!e.hideRequiredMarker&&e._control.required)}}function eie(i,t){1&i&&ee(0,Jte,3,6,"label",16),2&i&&S("ngIf",Q()._hasFloatingLabel())}function tie(i,t){1&i&&Ce(0,"div",20)}function iie(i,t){}function nie(i,t){1&i&&ee(0,iie,0,0,"ng-template",22),2&i&&(Q(2),S("ngTemplateOutlet",Li(1)))}function rie(i,t){if(1&i&&(_(0,"div",21),ee(1,nie,1,1,"ng-template",9),F()),2&i){const e=Q();S("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",e._labelWidth),E(1),S("ngIf",!e._forceDisplayInfixLabel())}}function aie(i,t){1&i&&(_(0,"div",23,24),Ft(2,2),F())}function oie(i,t){1&i&&(_(0,"div",25,26),Ft(2,3),F())}function sie(i,t){}function lie(i,t){1&i&&ee(0,sie,0,0,"ng-template",22),2&i&&(Q(),S("ngTemplateOutlet",Li(1)))}function cie(i,t){1&i&&(_(0,"div",27),Ft(1,4),F())}function die(i,t){1&i&&(_(0,"div",28),Ft(1,5),F())}function uie(i,t){1&i&&Ce(0,"div",29)}function hie(i,t){1&i&&(_(0,"div",30),Ft(1,6),F()),2&i&&S("@transitionMessages",Q()._subscriptAnimationState)}function mie(i,t){if(1&i&&(_(0,"mat-hint",34),N(1),F()),2&i){const e=Q(2);S("id",e._hintLabelId),E(1),yt(e.hintLabel)}}function fie(i,t){if(1&i&&(_(0,"div",31),ee(1,mie,2,2,"mat-hint",32),Ft(2,7),Ce(3,"div",33),Ft(4,8),F()),2&i){const e=Q();S("@transitionMessages",e._subscriptAnimationState),E(1),S("ngIf",e.hintLabel)}}const pie=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],gie=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let eo=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-label"]]}),i})(),_ie=0;const kD=new Ke("MatError");let bie=(()=>{class i{constructor(e,n){this.id="mat-mdc-error-"+_ie++,e||n.nativeElement.setAttribute("aria-live","polite")}}return i.\u0275fac=function(e){return new(e||i)(fo("aria-live"),k(gt))},i.\u0275dir=Oe({type:i,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(e,n){2&e&&Ua("id",n.id)},inputs:{id:"id"},features:[Nt([{provide:kD,useExisting:i}])]}),i})(),yie=0,DD=(()=>{class i{constructor(){this.align="start",this.id="mat-mdc-hint-"+yie++}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(e,n){2&e&&(Ua("id",n.id),It("align",null),Mt("mat-mdc-form-field-hint-end","end"===n.align))},inputs:{align:"align",id:"id"}}),i})();const MD=new Ke("MatPrefix");let Kc=(()=>{class i{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[Nt([{provide:MD,useExisting:i}])]}),i})();const ED=new Ke("MatSuffix");let SN=(()=>{class i{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[Nt([{provide:ED,useExisting:i}])]}),i})(),TN=(()=>{class i{constructor(e){this._elementRef=e,this.floating=!1}getWidth(){return function vie(i){if(null!==i.offsetParent)return i.scrollWidth;const e=i.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);const n=e.scrollWidth;return e.remove(),n}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}return i.\u0275fac=function(e){return new(e||i)(k(gt))},i.\u0275dir=Oe({type:i,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(e,n){2&e&&Mt("mdc-floating-label--float-above",n.floating)},inputs:{floating:"floating"}}),i})();const AN="mdc-line-ripple--active",kv="mdc-line-ripple--deactivating";let IN=(()=>{class i{constructor(e,n){this._elementRef=e,this._handleTransitionEnd=r=>{const a=this._elementRef.nativeElement.classList,o=a.contains(kv);"opacity"===r.propertyName&&o&&a.remove(AN,kv)},n.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const e=this._elementRef.nativeElement.classList;e.remove(kv),e.add(AN)}deactivate(){this._elementRef.nativeElement.classList.add(kv)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Rt))},i.\u0275dir=Oe({type:i,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),i})(),LN=(()=>{class i{constructor(e,n){this._elementRef=e,this._ngZone=n,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_getNotchWidth(){return this.open?this.labelWidth>0?`calc(${this.labelWidth}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:"0px":null}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Rt))},i.\u0275cmp=qe({type:i,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(e,n){2&e&&Mt("mdc-notched-outline--notched",n.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:qte,ngContentSelectors:$te,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(e,n){1&e&&(Bi(),Ce(0,"div",0),_(1,"div",1),Ft(2),F(),Ce(3,"div",2)),2&e&&(E(1),sr("width",n._getNotchWidth()))},encapsulation:2,changeDetection:0}),i})();const NN={transitionMessages:Qa("transitionMessages",[_r("enter",pi({opacity:1,transform:"translateY(0%)"})),cr("void => enter",[pi({opacity:0,transform:"translateY(-5px)"}),lr("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let hp=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i}),i})();const lm=new Ke("MatFormField"),ON=new Ke("MAT_FORM_FIELD_DEFAULT_OPTIONS");let RN=0,Oa=(()=>{class i{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Ct(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){const n=this._appearance;this._appearance=e||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==n&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,n,r,a,o,c,h,f){this._elementRef=e,this._changeDetectorRef=n,this._ngZone=r,this._dir=a,this._platform=o,this._defaults=c,this._animationMode=h,this._document=f,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+RN++,this._hintLabelId="mat-mdc-hint-"+RN++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new He,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,c&&(c.appearance&&(this.appearance=c.appearance),this._hideRequiredMarker=Boolean(c?.hideRequiredMarker),c.color&&(this.color=c.color))}ngAfterViewInit(){this._updateFocusState(),this._refreshOutlineNotchWidth(),this._document?.fonts?.ready?this._document.fonts.ready.then(()=>{this._refreshOutlineNotchWidth(),this._changeDetectorRef.markForCheck()}):setTimeout(()=>this._refreshOutlineNotchWidth(),100),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${e.controlType}`),e.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(ii(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Pn(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(ii(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(ii(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(e){const n=this._control?this._control.ngControl:null;return n&&n[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||(this._labelWidth=this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const n=this._hintChildren?this._hintChildren.find(a=>"start"===a.align):null,r=this._hintChildren?this._hintChildren.find(a=>"end"===a.align):null;n?e.push(n.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(n=>n.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const e=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(e.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const n=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,a=n?.getBoundingClientRect().width??0,o=r?.getBoundingClientRect().width??0;e.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${a+o}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const e=this._elementRef.nativeElement;if(e.getRootNode){const n=e.getRootNode();return n&&n!==e}return document.documentElement.contains(e)}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(ni),k(Rt),k(Or),k(Bn),k(ON,8),k(Ln,8),k(Mi))},i.\u0275cmp=qe({type:i,selectors:[["mat-form-field"]],contentQueries:function(e,n,r){if(1&e&&(ui(r,eo,5),ui(r,eo,7),ui(r,hp,5),ui(r,MD,5),ui(r,ED,5),ui(r,kD,5),ui(r,DD,5)),2&e){let a;Ze(a=Xe())&&(n._labelChildNonStatic=a.first),Ze(a=Xe())&&(n._labelChildStatic=a.first),Ze(a=Xe())&&(n._formFieldControl=a.first),Ze(a=Xe())&&(n._prefixChildren=a),Ze(a=Xe())&&(n._suffixChildren=a),Ze(a=Xe())&&(n._errorChildren=a),Ze(a=Xe())&&(n._hintChildren=a)}},viewQuery:function(e,n){if(1&e&&(Lt(Kte,5),Lt(Qte,5),Lt(Zte,5),Lt(TN,5),Lt(LN,5),Lt(IN,5)),2&e){let r;Ze(r=Xe())&&(n._textField=r.first),Ze(r=Xe())&&(n._iconPrefixContainer=r.first),Ze(r=Xe())&&(n._textPrefixContainer=r.first),Ze(r=Xe())&&(n._floatingLabel=r.first),Ze(r=Xe())&&(n._notchedOutline=r.first),Ze(r=Xe())&&(n._lineRipple=r.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(e,n){2&e&&Mt("mat-mdc-form-field-label-always-float",n._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",n._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",n._hasIconSuffix)("mat-form-field-invalid",n._control.errorState)("mat-form-field-disabled",n._control.disabled)("mat-form-field-autofilled",n._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===n._animationMode)("mat-form-field-appearance-fill","fill"==n.appearance)("mat-form-field-appearance-outline","outline"==n.appearance)("mat-form-field-hide-placeholder",n._hasFloatingLabel()&&!n._shouldLabelFloat())("mat-focused",n._control.focused)("mat-primary","accent"!==n.color&&"warn"!==n.color)("mat-accent","accent"===n.color)("mat-warn","warn"===n.color)("ng-untouched",n._shouldForward("untouched"))("ng-touched",n._shouldForward("touched"))("ng-pristine",n._shouldForward("pristine"))("ng-dirty",n._shouldForward("dirty"))("ng-valid",n._shouldForward("valid"))("ng-invalid",n._shouldForward("invalid"))("ng-pending",n._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Nt([{provide:lm,useExisting:i}])],ngContentSelectors:gie,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(e,n){1&e&&(Bi(pie),ee(0,eie,1,1,"ng-template",null,0,ko),_(2,"div",1,2),pe("click",function(a){return n._control.onContainerClick&&n._control.onContainerClick(a)}),ee(4,tie,1,0,"div",3),_(5,"div",4),ee(6,rie,2,3,"div",5),ee(7,aie,3,0,"div",6),ee(8,oie,3,0,"div",7),_(9,"div",8),ee(10,lie,1,1,"ng-template",9),Ft(11),F(),ee(12,cie,2,0,"div",10),ee(13,die,2,0,"div",11),F(),ee(14,uie,1,0,"div",12),F(),_(15,"div",13),ee(16,hie,2,1,"div",14),ee(17,fie,5,2,"div",15),F()),2&e&&(E(2),Mt("mdc-text-field--filled",!n._hasOutline())("mdc-text-field--outlined",n._hasOutline())("mdc-text-field--no-label",!n._hasFloatingLabel())("mdc-text-field--disabled",n._control.disabled)("mdc-text-field--invalid",n._control.errorState),E(2),S("ngIf",!n._hasOutline()&&!n._control.disabled),E(2),S("ngIf",n._hasOutline()),E(1),S("ngIf",n._hasIconPrefix),E(1),S("ngIf",n._hasTextPrefix),E(2),S("ngIf",!n._hasOutline()||n._forceDisplayInfixLabel()),E(2),S("ngIf",n._hasTextSuffix),E(1),S("ngIf",n._hasIconSuffix),E(1),S("ngIf",!n._hasOutline()),E(1),Mt("mat-mdc-form-field-subscript-dynamic-size","dynamic"===n.subscriptSizing),S("ngSwitch",n._getDisplayedMessages()),E(1),S("ngSwitchCase","error"),E(1),S("ngSwitchCase","hint"))},dependencies:[ri,Ef,wu,Df,Lf,DD,TN,LN,IN],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}'],encapsulation:2,data:{animation:[NN.transitionMessages]},changeDetection:0}),i})(),SD=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Qt,Dr,Hg,Qt]}),i})();const TD=new Ke("MAT_INPUT_VALUE_ACCESSOR"),xie=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Cie=0;const kie=SC(class{constructor(i,t,e,n){this._defaultErrorStateMatcher=i,this._parentForm=t,this._parentFormGroup=e,this.ngControl=n,this.stateChanges=new He}});let Do=(()=>{class i extends kie{get disabled(){return this._disabled}set disabled(e){this._disabled=Ct(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(Oo.required)??!1}set required(e){this._required=Ct(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&vI().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Ct(e)}constructor(e,n,r,a,o,c,h,f,x,P){super(c,a,o,r),this._elementRef=e,this._platform=n,this._autofillMonitor=f,this._formField=P,this._uid="mat-input-"+Cie++,this.focused=!1,this.stateChanges=new He,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(fe=>vI().has(fe)),this._iOSKeyupListener=fe=>{const ye=fe.target;!ye.value&&0===ye.selectionStart&&0===ye.selectionEnd&&(ye.setSelectionRange(1,1),ye.setSelectionRange(0,0))};const $=this._elementRef.nativeElement,te=$.nodeName.toLowerCase();this._inputValueAccessor=h||$,this._previousNativeValue=this.value,this.id=this.id,n.IOS&&x.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===te,this._isTextarea="textarea"===te,this._isInFormField=!!P,this._isNativeSelect&&(this.controlType=$.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){const e=this._getPlaceholder();if(e!==this._previousPlaceholder){const n=this._elementRef.nativeElement;this._previousPlaceholder=e,e?n.setAttribute("placeholder",e):n.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){xie.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,n=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&n&&n.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Bn),k(ac,10),k($c,8),k(Wd,8),k(Vf),k(TD,10),k(Qee),k(Rt),k(lm,8))},i.\u0275dir=Oe({type:i,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(e,n){1&e&&pe("focus",function(){return n._focusChanged(!0)})("blur",function(){return n._focusChanged(!1)})("input",function(){return n._onInput()}),2&e&&(Ua("id",n.id)("disabled",n.disabled)("required",n.required),It("name",n.name||null)("readonly",n.readonly&&!n._isNativeSelect||null)("aria-invalid",n.empty&&n.required?null:n.errorState)("aria-required",n.required)("id",n.id),Mt("mat-input-server",n._isServer)("mat-mdc-form-field-textarea-control",n._isInFormField&&n._isTextarea)("mat-mdc-form-field-input-control",n._isInFormField)("mdc-text-field__input",n._isInFormField)("mat-mdc-native-select-inline",n._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[Nt([{provide:hp,useExisting:i}]),ot,or]}),i})(),Die=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Qt,SD,SD,rD,Qt]}),i})();const Mie=["*"];let Dv;function V_(i){return function Eie(){if(void 0===Dv&&(Dv=null,typeof window<"u")){const i=window;void 0!==i.trustedTypes&&(Dv=i.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Dv}()?.createHTML(i)||i}function HN(i){return Error(`Unable to find icon with the name "${i}"`)}function VN(i){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${i}".`)}function YN(i){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${i}".`)}class cm{constructor(t,e,n){this.url=t,this.svgText=e,this.options=n}}let Mv=(()=>{class i{constructor(e,n,r,a){this._httpClient=e,this._sanitizer=n,this._errorHandler=a,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=r}addSvgIcon(e,n,r){return this.addSvgIconInNamespace("",e,n,r)}addSvgIconLiteral(e,n,r){return this.addSvgIconLiteralInNamespace("",e,n,r)}addSvgIconInNamespace(e,n,r,a){return this._addSvgIconConfig(e,n,new cm(r,null,a))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,n,r,a){const o=this._sanitizer.sanitize(yr.HTML,r);if(!o)throw YN(r);const c=V_(o);return this._addSvgIconConfig(e,n,new cm("",c,a))}addSvgIconSet(e,n){return this.addSvgIconSetInNamespace("",e,n)}addSvgIconSetLiteral(e,n){return this.addSvgIconSetLiteralInNamespace("",e,n)}addSvgIconSetInNamespace(e,n,r){return this._addSvgIconSetConfig(e,new cm(n,null,r))}addSvgIconSetLiteralInNamespace(e,n,r){const a=this._sanitizer.sanitize(yr.HTML,n);if(!a)throw YN(n);const o=V_(a);return this._addSvgIconSetConfig(e,new cm("",o,r))}registerFontClassAlias(e,n=e){return this._fontCssClassesByAlias.set(e,n),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const n=this._sanitizer.sanitize(yr.RESOURCE_URL,e);if(!n)throw VN(e);const r=this._cachedIconsByUrl.get(n);return r?Ht(Ev(r)):this._loadSvgIconFromConfig(new cm(e,null)).pipe(ta(a=>this._cachedIconsByUrl.set(n,a)),_t(a=>Ev(a)))}getNamedSvgIcon(e,n=""){const r=jN(n,e);let a=this._svgIconConfigs.get(r);if(a)return this._getSvgFromConfig(a);if(a=this._getIconConfigFromResolvers(n,e),a)return this._svgIconConfigs.set(r,a),this._getSvgFromConfig(a);const o=this._iconSetConfigs.get(n);return o?this._getSvgFromIconSetConfigs(e,o):Du(HN(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?Ht(Ev(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(_t(n=>Ev(n)))}_getSvgFromIconSetConfigs(e,n){const r=this._extractIconWithNameFromAnySet(e,n);return r?Ht(r):dk(n.filter(o=>!o.svgText).map(o=>this._loadSvgIconSetFromConfig(o).pipe(Zo(c=>{const f=`Loading icon set URL: ${this._sanitizer.sanitize(yr.RESOURCE_URL,o.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(f)),Ht(null)})))).pipe(_t(()=>{const o=this._extractIconWithNameFromAnySet(e,n);if(!o)throw HN(e);return o}))}_extractIconWithNameFromAnySet(e,n){for(let r=n.length-1;r>=0;r--){const a=n[r];if(a.svgText&&a.svgText.toString().indexOf(e)>-1){const o=this._svgElementFromConfig(a),c=this._extractSvgIconFromSet(o,e,a.options);if(c)return c}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(ta(n=>e.svgText=n),_t(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?Ht(null):this._fetchIcon(e).pipe(ta(n=>e.svgText=n))}_extractSvgIconFromSet(e,n,r){const a=e.querySelector(`[id="${n}"]`);if(!a)return null;const o=a.cloneNode(!0);if(o.removeAttribute("id"),"svg"===o.nodeName.toLowerCase())return this._setSvgAttributes(o,r);if("symbol"===o.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(o),r);const c=this._svgElementFromString(V_("<svg></svg>"));return c.appendChild(o),this._setSvgAttributes(c,r)}_svgElementFromString(e){const n=this._document.createElement("DIV");n.innerHTML=e;const r=n.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(e){const n=this._svgElementFromString(V_("<svg></svg>")),r=e.attributes;for(let a=0;a<r.length;a++){const{name:o,value:c}=r[a];"id"!==o&&n.setAttribute(o,c)}for(let a=0;a<e.childNodes.length;a++)e.childNodes[a].nodeType===this._document.ELEMENT_NODE&&n.appendChild(e.childNodes[a].cloneNode(!0));return n}_setSvgAttributes(e,n){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),n&&n.viewBox&&e.setAttribute("viewBox",n.viewBox),e}_fetchIcon(e){const{url:n,options:r}=e,a=r?.withCredentials??!1;if(!this._httpClient)throw function Sie(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==n)throw Error(`Cannot fetch icon from URL "${n}".`);const o=this._sanitizer.sanitize(yr.RESOURCE_URL,n);if(!o)throw VN(n);const c=this._inProgressUrlFetches.get(o);if(c)return c;const h=this._httpClient.get(o,{responseType:"text",withCredentials:a}).pipe(_t(f=>V_(f)),Qg(()=>this._inProgressUrlFetches.delete(o)),ro());return this._inProgressUrlFetches.set(o,h),h}_addSvgIconConfig(e,n,r){return this._svgIconConfigs.set(jN(e,n),r),this}_addSvgIconSetConfig(e,n){const r=this._iconSetConfigs.get(e);return r?r.push(n):this._iconSetConfigs.set(e,[n]),this}_svgElementFromConfig(e){if(!e.svgElement){const n=this._svgElementFromString(e.svgText);this._setSvgAttributes(n,e.options),e.svgElement=n}return e.svgElement}_getIconConfigFromResolvers(e,n){for(let r=0;r<this._resolvers.length;r++){const a=this._resolvers[r](n,e);if(a)return Aie(a)?new cm(a.url,null,a.options):new cm(a,null)}}}return i.\u0275fac=function(e){return new(e||i)(Fe(D_,8),Fe(Sf),Fe(Mi,8),Fe(gd))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function Ev(i){return i.cloneNode(!0)}function jN(i,t){return i+":"+t}function Aie(i){return!(!i.url||!i.options)}const Iie=ec(class{constructor(i){this._elementRef=i}}),Lie=new Ke("MAT_ICON_DEFAULT_OPTIONS"),Nie=new Ke("mat-icon-location",{providedIn:"root",factory:function Oie(){const i=ei(Mi),t=i?i.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}}),zN=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Rie=zN.map(i=>`[${i}]`).join(", "),Pie=/^url\(['"]?#(.*?)['"]?\)$/;let Qn=(()=>{class i extends Iie{get inline(){return this._inline}set inline(e){this._inline=Ct(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const n=this._cleanupFontValue(e);n!==this._fontSet&&(this._fontSet=n,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const n=this._cleanupFontValue(e);n!==this._fontIcon&&(this._fontIcon=n,this._updateFontIconClasses())}constructor(e,n,r,a,o,c){super(e),this._iconRegistry=n,this._location=a,this._errorHandler=o,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=C.EMPTY,c&&(c.color&&(this.color=this.defaultColor=c.color),c.fontSet&&(this.fontSet=c.fontSet)),r||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];const n=e.split(":");switch(n.length){case 1:return["",n[0]];case 2:return n;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const n=this._location.getPathname();n!==this._previousPath&&(this._previousPath=n,this._prependPathToReferences(n))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const n=this._location.getPathname();this._previousPath=n,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(n),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let n=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();n--;){const r=e.childNodes[n];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,n=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),n.forEach(r=>e.classList.add(r)),this._previousFontSetClass=n,this.fontIcon!==this._previousFontIconClass&&!n.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const n=this._elementsWithExternalReferences;n&&n.forEach((r,a)=>{r.forEach(o=>{a.setAttribute(o.name,`url('${e}#${o.value}')`)})})}_cacheChildrenWithExternalReferences(e){const n=e.querySelectorAll(Rie),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let a=0;a<n.length;a++)zN.forEach(o=>{const c=n[a],h=c.getAttribute(o),f=h?h.match(Pie):null;if(f){let x=r.get(c);x||(x=[],r.set(c,x)),x.push({name:o,value:f[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[n,r]=this._splitIconName(e);n&&(this._svgNamespace=n),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,n).pipe(nn(1)).subscribe(a=>this._setSvgElement(a),a=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${n}:${r}! ${a.message}`))})}}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Mv),fo("aria-hidden"),k(Nie),k(gd),k(Lie,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(e,n){2&e&&(It("data-mat-icon-type",n._usingFontIcon()?"font":"svg")("data-mat-icon-name",n._svgName||n.fontIcon)("data-mat-icon-namespace",n._svgNamespace||n.fontSet)("fontIcon",n._usingFontIcon()?n.fontIcon:null),Mt("mat-icon-inline",n.inline)("mat-icon-no-color","primary"!==n.color&&"accent"!==n.color&&"warn"!==n.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[ot],ngContentSelectors:Mie,decls:1,vars:0,template:function(e,n){1&e&&(Bi(),Ft(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),i})(),Sv=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Qt,Qt]}),i})();class mp{constructor(t,e,n){this.appState=t,this.dialogRef=e,this.data=n,this.publicKey=this.appState.getPublicKeyDisplay()}onNoClick(){this.data.password="",this.dialogRef.close()}}mp.\u0275fac=function(t){return new(t||mp)(k(Zi),k(Ts),k(kl))},mp.\u0275cmp=qe({type:mp,selectors:[["password-dialog"]],decls:24,vars:6,consts:[[1,"dialog"],["mat-dialog-title",""],["mat-dialog-content","",1,"mat-dialog-content"],["appearance","fill",1,"input-full-width","connect-input"],["matPrefix","",1,"circle"],["autocomplete","username","name","email","placeholder","npub...","matInput","","type","email",3,"readonly","ngModel","ngModelChange"],["appearance","fill",1,"input-full-width"],["matInput","","type","password","autocomplete","current-password","name","password",3,"ngModel","ngModelChange"],["mat-dialog-actions","","align","end"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"h1",1),N(2),F(),_(3,"div",2)(4,"p"),N(5),F(),_(6,"form")(7,"mat-form-field",3)(8,"mat-icon",4),N(9,"person_add"),F(),_(10,"mat-label"),N(11,"Public Key"),F(),_(12,"input",5),pe("ngModelChange",function(r){return e.publicKey=r}),F()(),_(13,"mat-form-field",6)(14,"mat-icon",4),N(15,"password"),F(),_(16,"mat-label"),N(17,"Password"),F(),_(18,"input",7),pe("ngModelChange",function(r){return e.data.password=r}),F()()()(),_(19,"div",8)(20,"button",9),pe("click",function(){return e.onNoClick()}),N(21,"Cancel"),F(),_(22,"button",10),N(23,"Approve"),F()()()),2&t&&(E(2),Gt("Approve Action: ",e.data.action,""),E(3),Gt('Do you want to approve action "',e.data.action,'"?'),E(7),S("readonly",!0)("ngModel",e.publicKey),E(6),S("ngModel",e.data.password),E(4),S("mat-dialog-close",e.data))},dependencies:[Do,Oa,eo,Kc,ur,Qn,qu,xa,ua,Wu,Ca,$c,Wh,Gh,tc,Vc],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}"]});const UN=new TextEncoder,Bie=new TextDecoder;class Qc{getPasswordKey(t){return window.crypto.subtle.importKey("raw",UN.encode(t),"PBKDF2",!1,["deriveKey"])}deriveKey(t,e,n){return window.crypto.subtle.deriveKey({name:"PBKDF2",salt:e,iterations:25e4,hash:"SHA-256"},t,{name:"AES-GCM",length:256},!1,n)}encryptData(t,e){var n=this;return Se(function*(){try{const r=window.crypto.getRandomValues(new Uint8Array(16)),a=window.crypto.getRandomValues(new Uint8Array(12)),o=yield n.getPasswordKey(e),c=yield n.deriveKey(o,r,["encrypt"]),h=yield window.crypto.subtle.encrypt({name:"AES-GCM",iv:a},c,UN.encode(t)),f=new Uint8Array(h);let x=new Uint8Array(r.byteLength+a.byteLength+f.byteLength);return x.set(r,0),x.set(a,r.byteLength),x.set(f,r.byteLength+a.byteLength),Zh.encode(x)}catch(r){return console.error(r),""}})()}decryptData(t,e){var n=this;return Se(function*(){try{const r=Zh.decode(t),a=r.slice(0,16),o=r.slice(16,28),c=r.slice(28),h=yield n.getPasswordKey(e.toString()),f=yield n.deriveKey(h,a,["decrypt"]),x=yield window.crypto.subtle.decrypt({name:"AES-GCM",iv:o},f,c);return Bie.decode(x)}catch(r){return console.error(r),""}})()}}Qc.\u0275fac=function(t){return new(t||Qc)},Qc.\u0275prov=Qe({token:Qc,factory:Qc.\u0275fac,providedIn:"root"});class El{constructor(t,e,n){this.dialog=t,this.snackBar=e,this.security=n,this.defaultRelays={"wss://relay.plebstr.com":{read:!0,write:!0},"wss://relay.nostr.info":{read:!0,write:!0},"wss://nos.lol":{read:!0,write:!0},"wss://relay.nostr.wirednet.jp":{read:!0,write:!0},"wss://relay.damus.io":{read:!0,write:!0},"wss://nostr.mom":{read:!0,write:!0},"wss://relay.snort.social":{read:!0,write:!0},"wss://relay.nostr.bg":{read:!0,write:!0},"wss://nostr.fmt.wiz.biz":{read:!0,write:!0}}}sign(t){var e=this;return Se(function*(){let n=localStorage.getItem("blockcore:notes:nostr:prvkey");return n?new Promise((r,a)=>{e.dialog.open(mp,{data:{action:"Sign",password:""},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var c=Se(function*(h){if(!h)return void a();const f=yield e.security.decryptData(n,h.password);if(!f)return e.snackBar.open("Unable to decrypt data. Probably wrong password. Try again.","Hide",{duration:3e3,horizontalPosition:"center",verticalPosition:"bottom"}),void a("Unable to decrypt data. Probably wrong password.");const x=ap(f);t.pubkey!=x&&a("The event public key is not correct for this private key"),t.id||(t.id=yield jd(t)),zd(t)||a("Invalid Nostr event.");const P=zk(t,f);t.sig=P,r(t)});return function(h){return c.apply(this,arguments)}}())}):globalThis.nostr.signEvent(t)})()}relays(){var t=this;return Se(function*(){if(localStorage.getItem("blockcore:notes:nostr:prvkey"))return t.defaultRelays;try{return globalThis.nostr.getRelays()}catch{return t.defaultRelays}})()}decrypt(t,e){return Se(function*(){if(localStorage.getItem("blockcore:notes:nostr:prvkey"))throw new Error("Private key based decrypt not implemented yet.");return yield globalThis.nostr.nip04.decrypt(t,e)})()}encrypt(t,e){return Se(function*(){if(localStorage.getItem("blockcore:notes:nostr:prvkey"))throw new Error("Private key based encrypt not implemented yet.");return yield globalThis.nostr.nip04.encrypt(t,e)})()}}El.\u0275fac=function(t){return new(t||El)(Fe(Ia),Fe(us),Fe(Qc))},El.\u0275prov=Qe({token:El,factory:El.\u0275fac,providedIn:"root"});var Gd=(()=>(function(i){i["\u2764\ufe0f"]="\u2764\ufe0f",i["\u{1f494}"]="\u{1f494}"}(Gd||(Gd={})),Gd))(),to=(()=>(function(i){i[i.Public=0]="Public",i[i.Follow=1]="Follow",i[i.Mute=2]="Mute",i[i.Block=3]="Block"}(to||(to={})),to))(),Vt=new WeakMap,Y_=new WeakMap,dm=new WeakMap,Tv=new WeakMap,fp=new WeakMap,Av=new WeakMap,Zc=new WeakMap,pp=new WeakMap,gp=new WeakMap,Iv=new WeakMap,Lv=new WeakMap,qd=new WeakMap,j_=new WeakMap,Zs=new WeakMap,_p=new WeakMap,z_=new WeakMap,bp=new WeakMap,Nv=new WeakMap,U_=new WeakMap,Ov=new WeakMap,W_=new WeakMap,Rv=new WeakMap,Pv=new WeakMap,G_=new WeakMap,$u=new WeakMap,q_=new WeakMap,Sl=new WeakMap,yp=new WeakMap,$_=new WeakMap,Bv=new WeakMap;class $r{constructor(t,e){mn(this,Vt,{writable:!0,value:void 0}),mn(this,Y_,{writable:!0,value:void 0}),mn(this,dm,{writable:!0,value:void 0}),mn(this,Tv,{writable:!0,value:void 0}),mn(this,fp,{writable:!0,value:void 0}),mn(this,Av,{writable:!0,value:void 0}),mn(this,Zc,{writable:!0,value:void 0}),mn(this,pp,{writable:!0,value:void 0}),mn(this,gp,{writable:!0,value:void 0}),mn(this,Iv,{writable:!0,value:void 0}),mn(this,Lv,{writable:!0,value:void 0}),mn(this,qd,{writable:!0,value:void 0}),mn(this,j_,{writable:!0,value:void 0}),mn(this,Zs,{writable:!0,value:void 0}),mn(this,_p,{writable:!0,value:void 0}),mn(this,z_,{writable:!0,value:void 0}),mn(this,bp,{writable:!0,value:void 0}),mn(this,Nv,{writable:!0,value:void 0}),mn(this,U_,{writable:!0,value:void 0}),mn(this,Ov,{writable:!0,value:void 0}),mn(this,W_,{writable:!0,value:void 0}),mn(this,Rv,{writable:!0,value:void 0}),mn(this,Pv,{writable:!0,value:void 0}),mn(this,G_,{writable:!0,value:void 0}),mn(this,$u,{writable:!0,value:void 0}),mn(this,q_,{writable:!0,value:void 0}),mn(this,Sl,{writable:!0,value:void 0}),mn(this,yp,{writable:!0,value:void 0}),mn(this,$_,{writable:!0,value:void 0}),mn(this,Bv,{writable:!0,value:void 0}),this.eventService=t,this.options=e,hi(this,Vt,{feedEvents:[],feedEventsView:[],threadEvents:[],followingEvents:[],followingEventsView:[],rootEvents:[],replyEvents:[],rootEventsView:[],replyEventsView:[],reactions:new Map}),this.viewCounts={feedEventsViewCount:5,feedEventsViewCountExhausted:!1,followingEventsViewCount:5,followingEventsViewExhausted:!1,rootEventsViewCount:5,rootEventsViewCountExhausted:!1,replyEventsViewCount:5,replyEventsViewCountExhausted:!1},hi(this,Y_,new Hi(0)),hi(this,dm,void 0),hi(this,Tv,new Hi(this.eventId)),hi(this,fp,void 0),hi(this,Av,new Hi(this.pubkey)),hi(this,Zc,void 0),hi(this,pp,new Hi(this.profile)),this.viewEvents=[],hi(this,gp,new Hi(this.viewEvents)),hi(this,Iv,new Hi(void 0)),this.viewReplyEvents=[],hi(this,Lv,new Hi(this.viewReplyEvents)),this.events=[],hi(this,qd,new Hi(this.events)),hi(this,j_,new Hi(void 0)),this.previousProfileSinceValue=0,this.previousFeedSinceValue=0,this.exhausted=!1,hi(this,Zs,[]),hi(this,_p,[]),this.viewEventsStart=0,this.viewEventsCount=5,hi(this,z_,new Hi(Pe(this,Vt).feedEvents)),hi(this,bp,new Hi(Pe(this,Vt).feedEventsView)),hi(this,Nv,new Hi(Pe(this,Vt).rootEvents)),hi(this,U_,new Hi(Pe(this,Vt).rootEventsView)),hi(this,Ov,new Hi(Pe(this,Vt).replyEvents)),hi(this,W_,new Hi(Pe(this,Vt).replyEventsView)),hi(this,Rv,new Hi(Pe(this,Vt).threadEvents)),hi(this,Pv,new Hi(Pe(this,Vt).followingEvents)),hi(this,G_,new Hi(Pe(this,Vt).followingEventsView)),hi(this,q_,new Hi(Pe(this,$u))),hi(this,yp,new Hi(Pe(this,Sl))),hi(this,Bv,new Hi(Pe(this,$_)))}get unreadNotifications$(){return Pe(this,Y_).asObservable()}get eventId(){return Pe(this,dm)}get eventId$(){return Pe(this,Tv).asObservable()}get pubkey(){return Pe(this,fp)}get pubkey$(){return Pe(this,Av).asObservable()}setPubKey(t,e=!0){hi(this,fp,t),e&&(hi(this,Zc,void 0),this.events=[],this.viewEvents=[],this.previousProfileSinceValue=0,this.exhausted=!1,this.clearLists(),Pe(this,qd).next(this.events),Pe(this,pp).next(Pe(this,Zc)),Pe(this,Av).next(Pe(this,fp)))}setProfile(t,e=!1){const n=Pe(this,Zc);hi(this,Zc,t),(e||n?.pubkey!=t?.pubkey)&&Pe(this,pp).next(Pe(this,Zc))}setEventId(t){console.log("setEventId:",t),hi(this,dm,t),hi(this,Sl,void 0),this.events=[],Pe(this,Tv).next(Pe(this,dm)),Pe(this,yp).next(Pe(this,Sl)),Pe(this,qd).next(this.events)}get profile(){return Pe(this,Zc)}get profile$(){return Pe(this,pp).asObservable()}get viewEvents$(){return Pe(this,gp).asObservable()}get reactions$(){return Pe(this,Iv).asObservable()}get viewReplyEvents$(){return Pe(this,Lv).asObservable()}get events$(){return Pe(this,qd).asObservable()}get loadMore$(){return Pe(this,j_).asObservable()}triggerLoadMoreProfileEvents(){let t=0,e=0;Pe(this,Vt).rootEvents.length>0&&(t=Pe(this,Vt).rootEvents[Pe(this,Vt).rootEvents.length-1].created_at),Pe(this,Vt).replyEvents.length>0&&(e=Pe(this,Vt).replyEvents[Pe(this,Vt).replyEvents.length-1].created_at);let n=t>e?t:e;n>this.previousProfileSinceValue&&(this.previousProfileSinceValue=n,Pe(this,j_).next({until:n,type:"profile"}))}triggerLoadMoreFeedEvents(){const t=Pe(this,Vt).feedEvents[Pe(this,Vt).feedEvents.length-1].created_at;t>this.previousFeedSinceValue&&(this.previousFeedSinceValue=t,Pe(this,j_).next({circle:Pe(this,$_),until:t,type:"feed"}))}children(t){return this.events.filter(n=>n.parentEventId===t)}children$(t){return this.events$.pipe(ta(e=>e.filter(n=>n.replyEventId===t)))}get notifications(){return Pe(this,Zs)}get activityFeed$(){return Ht(Pe(this,_p))}putNotifications(t){t=t.sort((e,n)=>e.created<n.created?1:-1),hi(this,Zs,t),hi(this,_p,Pe(this,Zs).slice(0,5)),this.triggerUnreadNotifications()}triggerUnreadNotifications(){const t=Pe(this,Zs).filter(e=>!e.seen).length;Pe(this,Y_).next(t)}putNotification(t){const e=Pe(this,Zs).findIndex(n=>n.id==t.id);-1==e?(Pe(this,Zs).unshift(t),hi(this,Zs,Pe(this,Zs).sort((n,r)=>n.created<r.created?1:-1))):Pe(this,Zs)[e]=t,hi(this,_p,Pe(this,Zs).slice(0,5)),this.triggerUnreadNotifications()}updateViewEvents(t){this.viewEventsCount=t,this.viewEvents=this.events.slice(this.viewEventsStart,this.viewEventsCount),Pe(this,gp).next(this.viewEvents)}updateFeedEventsView(t,e){this.viewCounts.feedEventsViewCount=e,Pe(this,Vt).feedEventsView=Pe(this,Vt).feedEvents.slice(t,e),Pe(this,bp).next(Pe(this,Vt).feedEventsView),Pe(this,Vt).feedEvents.length>=e&&(this.viewCounts.feedEventsViewCountExhausted=e>=Pe(this,Vt).feedEvents.length,Pe(this,Vt).feedEvents.length>0&&this.viewCounts.feedEventsViewCountExhausted&&this.triggerLoadMoreFeedEvents())}updateRootEventsView(t,e){this.viewCounts.rootEventsViewCount=e,Pe(this,Vt).rootEventsView=Pe(this,Vt).rootEvents.slice(t,e),Pe(this,U_).next(Pe(this,Vt).rootEventsView),Pe(this,Vt).rootEvents.length>=e&&(this.viewCounts.rootEventsViewCountExhausted=e>=Pe(this,Vt).rootEvents.length,Pe(this,Vt).rootEvents.length>0&&this.viewCounts.rootEventsViewCountExhausted&&this.triggerLoadMoreProfileEvents())}updateReplyEventsView(t,e){this.viewCounts.replyEventsViewCount=e,Pe(this,Vt).replyEventsView=Pe(this,Vt).replyEvents.slice(t,e),Pe(this,W_).next(Pe(this,Vt).replyEventsView),Pe(this,Vt).replyEvents.length>=e&&(this.viewCounts.replyEventsViewCountExhausted=e>=Pe(this,Vt).replyEvents.length,Pe(this,Vt).replyEvents.length>0&&this.viewCounts.replyEventsViewCountExhausted&&this.triggerLoadMoreProfileEvents())}updateFollowingEventsView(t,e){this.viewCounts.followingEventsViewCount=e,Pe(this,Vt).followingEventsView=Pe(this,Vt).followingEvents.slice(t,e),this.viewCounts.followingEventsViewExhausted=e>=Pe(this,Vt).followingEvents.length,Pe(this,G_).next(Pe(this,Vt).followingEventsView),Pe(this,Vt)}sortAscending(t,e){return t.created_at<e.created_at?-1:1}sortDescending(t,e){return t.created_at<e.created_at?1:-1}get feedEvents$(){return Pe(this,z_).asObservable()}get feedEventsView$(){return Pe(this,bp).asObservable()}get rootEvents$(){return Pe(this,Nv).asObservable()}get rootEventsView$(){return Pe(this,U_).asObservable()}get replyEvents$(){return Pe(this,Ov).asObservable()}get replyEventsView$(){return Pe(this,W_).asObservable()}get threadEvents$(){return Pe(this,Rv).asObservable()}get followingEvents$(){return Pe(this,Pv).asObservable()}get followingEventsView$(){return Pe(this,G_).asObservable()}putFeedEvent(t){if(t.kind==$n.Text){t=this.calculateFields(t);const e=Pe(this,Vt).feedEvents.findIndex(n=>n.id==t.id);-1==e?(Pe(this,Vt).feedEvents.push(t),Pe(this,Vt).feedEvents=Pe(this,Vt).feedEvents.sort(this.sortDescending),this.updateFeedEventsView(0,this.viewCounts.feedEventsViewCount)):Pe(this,Vt).feedEvents[e]=t}}putEvent(t){if(t.kind==$n.Reaction){if(!this.options.values.enableReactions)return;const e=this.eventService.lastETag(t);if(e){const n=this.getThreadEntry(e);if(n.reactionIds.includes(t.id))return;""==t.content||"+"==t.content?n.reactions[Gd["\u2764\ufe0f"]]?n.reactions[Gd["\u2764\ufe0f"]]++:n.reactions[Gd["\u2764\ufe0f"]]=1:"-"==t.content?n.reactions[Gd["\u{1f494}"]]?n.reactions[Gd["\u{1f494}"]]++:n.reactions[Gd["\u{1f494}"]]=1:n.reactions[t.content]?n.reactions[t.content]++:n.reactions[t.content]=1,n.reactionIds.push(t.id),this.putThreadEntry(n)}}else if(6==t.kind){const e=this.eventService.lastETag(t);if(e){const n=this.getThreadEntry(e);if(n.reactionIds.includes(t.id))return;n.boosts++,n.reactionIds.push(t.id),this.putThreadEntry(n)}}else if(t.kind==$n.Text){if(t=this.calculateFields(t),this.pubkey)if(t.parentEventId){if(t.pubkey!=this.pubkey)return void console.log("EVENT BY OTHERS ON PROFILE:",t);const n=Pe(this,Vt).replyEvents.findIndex(r=>r.id==t.id);-1==n?(Pe(this,Vt).replyEvents.push(t),Pe(this,Vt).replyEvents=Pe(this,Vt).replyEvents.sort(this.sortDescending),this.updateReplyEventsView(0,this.viewCounts.replyEventsViewCount)):Pe(this,Vt).replyEvents[n]=t}else{if(t.pubkey!=this.pubkey)return void console.log("EVENT BY OTHERS ON PROFILE:",t);const n=Pe(this,Vt).rootEvents.findIndex(r=>r.id==t.id);-1==n?(Pe(this,Vt).rootEvents.push(t),Pe(this,Vt).rootEvents=Pe(this,Vt).rootEvents.sort(this.sortDescending),this.updateRootEventsView(0,this.viewCounts.rootEventsViewCount)):Pe(this,Vt).rootEvents[n]=t}else if(this.eventId){const n=Pe(this,Vt).threadEvents.findIndex(r=>r.id==t.id);-1==n?(Pe(this,Vt).threadEvents.push(t),Pe(this,Vt).threadEvents=Pe(this,Vt).threadEvents.sort(this.sortDescending)):Pe(this,Vt).threadEvents[n]=t}else{const n=Pe(this,Vt).followingEvents.findIndex(r=>r.id==t.id);-1==n?(Pe(this,Vt).followingEvents.push(t),Pe(this,Vt).followingEvents=Pe(this,Vt).followingEvents.sort(this.sortDescending),this.updateFollowingEventsView(0,this.viewCounts.followingEventsViewCount)):Pe(this,Vt).followingEvents[n]=t}const e=this.events.findIndex(n=>n.id==t.id);e>-1?this.events[e]=t:(this.events.unshift(t),this.pubkey?(this.events=this.events.sort((n,r)=>n.created_at<r.created_at?1:-1),this.viewEvents=this.events.slice(this.viewEventsStart,this.viewEventsCount),this.viewEvents=this.events.slice(this.viewEventsStart,this.viewEventsCount),this.checkExhausted()):this.events=this.events.sort((n,r)=>n.created_at<r.created_at?-1:1),Pe(this,qd).next(this.events),Pe(this,gp).next(this.viewEvents),Pe(this,Lv).next(this.viewReplyEvents))}}checkExhausted(){this.exhausted=this.viewEvents.length==this.events.length}putEvents(t){this.events=t.filter(e=>e.kind==$n.Text),this.viewEvents=[],this.events=this.events.map(e=>this.calculateFields(e)),this.events=this.events.sort(this.pubkey?(e,n)=>e.created_at<n.created_at?1:-1:(e,n)=>e.created_at<n.created_at?-1:1),Pe(this,qd).next(this.events),Pe(this,gp).next(this.viewEvents)}getThreadEntry(t){let e=Pe(this,Vt).reactions.get(t);return e||(e={eventId:t,reactionIds:[],boosts:0,reactions:{}}),e}putThreadEntry(t){Pe(this,Vt).reactions.set(t.eventId,t),Pe(this,Iv).next(t.eventId)}clearViewPositions(){this.previousProfileSinceValue=0,this.previousFeedSinceValue=0}clearLists(){Pe(this,Vt).feedEvents=[],Pe(this,Vt).feedEventsView=[],Pe(this,Vt).threadEvents=[],Pe(this,Vt).rootEvents=[],Pe(this,Vt).rootEventsView=[],Pe(this,Vt).replyEvents=[],Pe(this,Vt).replyEventsView=[],Pe(this,Vt).followingEvents=[],Pe(this,Vt).followingEventsView=[],Pe(this,Vt).reactions=new Map,hi(this,Zs,[]),hi(this,_p,[]),Pe(this,Y_).next(0),Pe(this,Rv).next(Pe(this,Vt).threadEvents),Pe(this,z_).next(Pe(this,Vt).feedEvents),Pe(this,bp).next(Pe(this,Vt).feedEventsView),Pe(this,Nv).next(Pe(this,Vt).rootEvents),Pe(this,U_).next(Pe(this,Vt).rootEventsView),Pe(this,Ov).next(Pe(this,Vt).replyEvents),Pe(this,W_).next(Pe(this,Vt).replyEventsView),Pe(this,Pv).next(Pe(this,Vt).followingEvents),Pe(this,G_).next(Pe(this,Vt).followingEventsView)}clearAll(){this.clear(),this.clearFeed()}clear(){this.clearLists(),hi(this,dm,void 0),hi(this,Sl,void 0),this.parentEventId=void 0,hi(this,$u,void 0),this.events=[],hi(this,fp,void 0),hi(this,Zc,void 0),Pe(this,yp).next(Pe(this,Sl)),Pe(this,qd).next(this.events),Pe(this,pp).next(Pe(this,Zc))}clearEvents(){this.events=[],Pe(this,qd).next(this.events)}clearFeed(){Pe(this,Vt).feedEvents=[],Pe(this,Vt).feedEventsView=[],Pe(this,z_).next(Pe(this,Vt).feedEvents),Pe(this,bp).next(Pe(this,Vt).feedEventsView),this.previousFeedSinceValue=0}get parentEvent$(){return Pe(this,q_).asObservable()}get event$(){return Pe(this,yp).asObservable()}calculateFields(t){const e=t.tags.filter(n=>"e"===n[0]);for(let n=0;n<e.length;n++){const r=e[n];r.length>3&&("root"==r[3]&&(t.rootEventId=r[1]),"reply"==r[3]&&(t.replyEventId=r[1]))}return e.length>0&&(t.rootEventId=e[0][1],t.parentEventId=e[e.length-1][1]),e.length<2||(t.replyEventId=e[1][1]),t.rootEventId==t.parentEventId&&(t.rootEventId=void 0),t}setEvent(t){const e=Pe(this,Sl)?.id;hi(this,dm,t?.id),hi(this,Sl,t?this.calculateFields(t):t),Pe(this,Sl)?.id!=e&&(Pe(this,yp).next(Pe(this,Sl)),this.parentEventId=Pe(this,Sl)?.parentEventId,Pe(this,q_).next(void 0))}setParentEvent(t){const e=Pe(this,$u)?.id;t?(hi(this,$u,this.calculateFields(t)),this.parentEventId=Pe(this,$u).id):this.parentEventId=void 0,Pe(this,$u)?.id!=e&&Pe(this,q_).next(Pe(this,$u))}get circle$(){return Pe(this,Bv).asObservable()}setFeedCircle(t){hi(this,$_,t),Pe(this,Bv).next(Pe(this,$_))}}$r.\u0275fac=function(t){return new(t||$r)(Fe(Jo),Fe(Sr))},$r.\u0275prov=Qe({token:$r,factory:$r.\u0275fac,providedIn:"root"});var Ku=new WeakMap;class es{get queues$(){return Pe(this,Ku).asObservable()}constructor(){mn(this,Ku,{writable:!0,value:void 0}),hi(this,Ku,new Hi(void 0))}enqueProfile(t){Pe(this,Ku).next({identifier:t,type:"Profile"})}enqueEvent(t){Pe(this,Ku).next({identifier:t,type:"Event"})}enqueArticle(t){Pe(this,Ku).next({identifier:t,type:"Article"})}enqueBadgeDefinition(t){Pe(this,Ku).next({identifier:t,type:"BadgeDefinition"})}enqueContacts(t){Pe(this,Ku).next({identifier:t,type:"Contacts"})}enque(t,e){"Profile"===e?this.enqueProfile(t):"Event"===e?this.enqueEvent(t):"Contacts"===e?this.enqueContacts(t):"Article"===e?this.enqueArticle(t):"BadgeDefinition"===e&&this.enqueBadgeDefinition(t)}}function vp(i,t){Y8(i,t),t.add(i)}function ts(i,t,e){if(!t.has(i))throw new TypeError("attempted to get private field on non-instance");return e}es.\u0275fac=function(t){return new(t||es)},es.\u0275prov=Qe({token:es,factory:es.\u0275fac,providedIn:"root"});var um=new WeakMap;class Hie{constructor(t){mn(this,um,{writable:!0,value:void 0}),this.maxEntries=t,hi(this,um,new Map)}get(t){const e=Pe(this,um).get(t);if(e)return Pe(this,um).size>this.maxEntries&&Array.from(Pe(this,um).entries()).sort(a=>a[1].accessed).slice(0,20).forEach(a=>{Pe(this,um).delete(a[0])}),e.accessed=Date.now(),e}set(t,e){Pe(this,um).set(t,{accessed:Date.now(),value:e})}}const Vie=(i,t)=>t.some(e=>i instanceof e);let WN,GN;const qN=new WeakMap,AD=new WeakMap,$N=new WeakMap,ID=new WeakMap,LD=new WeakMap;let ND={get(i,t,e){if(i instanceof IDBTransaction){if("done"===t)return AD.get(i);if("objectStoreNames"===t)return i.objectStoreNames||$N.get(i);if("store"===t)return e.objectStoreNames[1]?void 0:e.objectStore(e.objectStoreNames[0])}return $d(i[t])},set:(i,t,e)=>(i[t]=e,!0),has:(i,t)=>i instanceof IDBTransaction&&("done"===t||"store"===t)||t in i};function qie(i){return"function"==typeof i?function Gie(i){return i!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function jie(){return GN||(GN=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(i)?function(...t){return i.apply(OD(this),t),$d(qN.get(this))}:function(...t){return $d(i.apply(OD(this),t))}:function(t,...e){const n=i.call(OD(this),t,...e);return $N.set(n,t.sort?t.sort():[t]),$d(n)}}(i):(i instanceof IDBTransaction&&function Uie(i){if(AD.has(i))return;const t=new Promise((e,n)=>{const r=()=>{i.removeEventListener("complete",a),i.removeEventListener("error",o),i.removeEventListener("abort",o)},a=()=>{e(),r()},o=()=>{n(i.error||new DOMException("AbortError","AbortError")),r()};i.addEventListener("complete",a),i.addEventListener("error",o),i.addEventListener("abort",o)});AD.set(i,t)}(i),Vie(i,function Yie(){return WN||(WN=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(i,ND):i)}function $d(i){if(i instanceof IDBRequest)return function zie(i){const t=new Promise((e,n)=>{const r=()=>{i.removeEventListener("success",a),i.removeEventListener("error",o)},a=()=>{e($d(i.result)),r()},o=()=>{n(i.error),r()};i.addEventListener("success",a),i.addEventListener("error",o)});return t.then(e=>{e instanceof IDBCursor&&qN.set(e,i)}).catch(()=>{}),LD.set(t,i),t}(i);if(ID.has(i))return ID.get(i);const t=qie(i);return t!==i&&(ID.set(i,t),LD.set(t,i)),t}const OD=i=>LD.get(i),Qie=["get","getKey","getAll","getAllKeys","count"],Zie=["put","add","delete","clear"],RD=new Map;function KN(i,t){if(!(i instanceof IDBDatabase)||t in i||"string"!=typeof t)return;if(RD.get(t))return RD.get(t);const e=t.replace(/FromIndex$/,""),n=t!==e,r=Zie.includes(e);if(!(e in(n?IDBIndex:IDBObjectStore).prototype)||!r&&!Qie.includes(e))return;const a=function(){var o=Se(function*(c,...h){const f=this.transaction(c,r?"readwrite":"readonly");let x=f.store;return n&&(x=x.index(h.shift())),(yield Promise.all([x[e](...h),r&&f.done]))[0]});return function(h){return o.apply(this,arguments)}}();return RD.set(t,a),a}function K_(){return Math.floor(Date.now()/1e3)}!function Wie(i){ND=i(ND)}(i=>({...i,get:(t,e,n)=>KN(t,e)||i.get(t,e,n),has:(t,e)=>!!KN(t,e)||i.has(t,e)}));class Xie{constructor(t){this.name=t}open(){var t=this;return Se(function*(){t.db=yield function $ie(i,t,{blocked:e,upgrade:n,blocking:r,terminated:a}={}){const o=indexedDB.open(i,t),c=$d(o);return n&&o.addEventListener("upgradeneeded",h=>{n($d(o.result),h.oldVersion,h.newVersion,$d(o.transaction),h)}),e&&o.addEventListener("blocked",h=>e(h.oldVersion,h.newVersion,h)),c.then(h=>{a&&h.addEventListener("close",()=>a()),r&&h.addEventListener("versionchange",f=>r(f.oldVersion,f.newVersion,f))}).catch(()=>{}),c}(t.name,1,{upgrade(e,n,r,a,o){switch(n){case 0:!function c(){e.createObjectStore("relays",{keyPath:"url"}),e.createObjectStore("notes",{keyPath:"id"}),e.createObjectStore("circles",{keyPath:"id",autoIncrement:!0}),e.createObjectStore("state",{keyPath:"id"}),e.createObjectStore("contacts",{keyPath:"pubkey"}),e.createObjectStore("labels",{keyPath:"id"}),e.createObjectStore("notifications",{keyPath:"id"}).createIndex("created","created");const x=e.createObjectStore("events",{keyPath:"id"});x.createIndex("pubkey","pubkey"),x.createIndex("created","created_at"),x.createIndex("kind","kind"),e.createObjectStore("profiles",{keyPath:"pubkey"}).createIndex("status","status")}();case 1:break;default:console.error("Unknown database version.")}},blocked(e,n,r){},blocking(e,n,r){},terminated(){}})})()}close(){this.db.close()}getState(){var t=this;return Se(function*(){return t.db.get("state",1)})()}putState(t){var e=this;return Se(function*(){return t.id=1,t.modified=K_(),e.db.put("state",t)})()}getCircle(t){var e=this;return Se(function*(){return e.db.get("circles",t)})()}getCircles(){var t=this;return Se(function*(){return t.db.getAll("circles")})()}putNote(t){var e=this;return Se(function*(){return t.saved=K_(),e.db.put("notes",t)})()}deleteNote(t){var e=this;return Se(function*(){return e.db.delete("notes",t)})()}putCircle(t){var e=this;return Se(function*(){return t.modified=K_(),e.db.put("circles",t)})()}getContacts(t){var e=this;return Se(function*(){return e.db.get("contacts",t)})()}putContacts(t){var e=this;return Se(function*(){return e.db.put("contacts",t)})()}putNotification(t){var e=this;return Se(function*(){return e.db.put("notifications",t)})()}deleteContacts(t){var e=this;return Se(function*(){return e.db.delete("contacts",t)})()}getProfile(t){var e=this;return Se(function*(){return e.db.get("profiles",t)})()}putProfile(t){var e=this;return Se(function*(){return t.modified=K_(),e.db.put("profiles",t)})()}getProfilesByStatus(t){var e=this;return Se(function*(){return e.db.getAllFromIndex("profiles","status",t)})()}getProfilesByStatusCount(t){var e=this;return Se(function*(){return e.db.countFromIndex("profiles","status",t)})()}getEvent(t){var e=this;return Se(function*(){return e.db.get("events",t)})()}getNotification(t){var e=this;return Se(function*(){return e.db.get("notifications",t)})()}putEvents(t){var e=this;return Se(function*(){return e.db.put("events",t)})()}getEventsByPubKey(t,e){var n=this;return Se(function*(){return n.db.getAllFromIndex("events","pubkey",t,e)})()}getNotifications2(t){var e=this;return Se(function*(){return e.db.getAllFromIndex("notifications","created",void 0,t)})()}getNotifications(t){var e=this;return Se(function*(){let n=yield e.db.transaction("notifications").store.index("created").openCursor(void 0,"prev");const r=[];let a=0;for(;n&&(r.push(n.value),a++,!(a>=t));)n=yield n.continue();return r})()}getEventsByCreated2(t,e){var n=this;return Se(function*(){return n.db.getAllFromIndex("events","created",t,e)})()}getEventsByCreated(t){var e=this;return Se(function*(){let n=yield e.db.transaction("events").store.index("created").openCursor(void 0,"prev");const r=[];let a=0;for(;n&&(r.push(n.value),a++,!(a>=t));)n=yield n.continue();return r})()}getEventsByCreatedAndKind(t,e){var n=this;return Se(function*(){let r=yield n.db.transaction("events").store.index("created").openCursor(void 0,"prev");const a=[];let o=0;for(;r&&!(r.value.kind==e&&(a.push(r.value),o++,o>=t));)r=yield r.continue();return a})()}getRelay(t){var e=this;return Se(function*(){return e.db.get("relays",t)})()}getRelays(){var t=this;return Se(function*(){return t.db.getAll("relays")})()}getNotes(){var t=this;return Se(function*(){return t.db.getAll("notes")})()}putRelay(t){var e=this;return Se(function*(){return t.modified=K_(),e.db.put("relays",t)})()}deleteCircle(t){var e=this;return Se(function*(){return e.db.delete("circles",t)})()}deleteProfile(t){var e=this;return Se(function*(){return e.db.delete("profiles",t)})()}deleteRelay(t){var e=this;return Se(function*(){return e.db.delete("relays",t)})()}deleteRelays(){var t=this;return Se(function*(){return t.db.clear("relays")})()}deleteNotes(){var t=this;return Se(function*(){return t.db.clear("notes")})()}deleteNotesByAuthor(t){var e=this;return Se(function*(){e.db.transaction("events","readwrite").store.index("pubkey").openCursor(t).then(function(){var o=Se(function*(c){for(;c;)c.delete(),c=yield c.continue()});return function(c){return o.apply(this,arguments)}}())})()}deleteNotifications(){var t=this;return Se(function*(){return t.db.clear("notifications")})()}delete(){var t=this;return Se(function*(){yield function Kie(i,{blocked:t}={}){const e=indexedDB.deleteDatabase(i);return t&&e.addEventListener("blocked",n=>t(n.oldVersion,n)),$d(e).then(()=>{})}(t.name,{blocked(){console.log("BLOCKED...")}})})()}getLabel(t){var e=this;return Se(function*(){return e.db.get("labels",t)})()}getLabels(){var t=this;return Se(function*(){return t.db.getAll("labels")})()}putLabel(t){var e=this;return Se(function*(){return e.db.put("labels",t)})()}deleteLabel(t){var e=this;return Se(function*(){return e.db.delete("labels",t)})()}}var Hv=I(5439);class Ra{constructor(t){this.appState=t}initialize(t){var e=this;return Se(function*(){e.storage=new Xie("blockcore-notes-"+e.appState.getPublicKey()),yield e.storage.open();let n=yield e.storage.getState();n||(n={id:1,since:Hv().subtract(2,"days").unix()}),e.state=n,setTimeout(Se(function*(){console.log("Persisting state...");const r=Hv().subtract(10,"minutes").unix();e.state.since=r,yield e.storage.putState(e.state)}),6e4)})()}clearAndReload(){var t=this;return Se(function*(){console.log("Deleting storage..."),setTimeout(()=>{console.log("Reloading!"),location.reload()},1e3);try{yield t.delete()}catch(e){console.error(e)}})()}close(){try{this.storage.close()}catch(t){console.error("Failed to close storage.",t)}}delete(){var t=this;return Se(function*(){yield t.storage.delete()})()}}Ra.\u0275fac=function(t){return new(t||Ra)(Fe(Zi))},Ra.\u0275prov=Qe({token:Ra,factory:Ra.\u0275fac,providedIn:"root"});var hm=new WeakMap,PD=new WeakMap,Vv=new WeakMap,wp=new WeakMap,BD=new WeakMap,mm=new WeakSet,Yv=new WeakMap,Jie=new WeakSet,ene=new WeakSet,QN=new WeakSet,Kd=new WeakSet;class Hn{get following$(){return Pe(this,wp).asObservable().pipe(_t(t=>t.filter(n=>n.status==to.Follow)))}get profile$(){return Pe(this,Vv).asObservable()}userProfileUpdated(t){this.profile=t,Pe(this,Vv).next(t)}get profiles$(){return Pe(this,wp).asObservable()}get profileRequested$(){return Pe(this,BD).asObservable()}updated(){ts(this,mm,Fp).call(this)}updateItemIfSelected(t){this.ui.pubkey===t?.pubkey&&this.ui.setProfile(t)}getProfilesByStatus(t){return this.db.storage.getProfilesByStatus(t)}search(t){return Se(function*(){})()}get profilesChanged$(){return Pe(this,Yv).asObservable()}constructor(t,e,n,r,a){vp(this,Kd),vp(this,QN),vp(this,ene),vp(this,Jie),vp(this,mm),mn(this,hm,{writable:!0,value:void 0}),mn(this,PD,{writable:!0,value:void 0}),mn(this,Vv,{writable:!0,value:void 0}),mn(this,wp,{writable:!0,value:void 0}),mn(this,BD,{writable:!0,value:void 0}),mn(this,Yv,{writable:!0,value:void 0}),this.db=t,this.ui=e,this.queueService=n,this.appState=r,this.utilities=a,this.initialized=!1,hi(this,hm,new Hie(500)),this.following=[],this.followingKeys=[],this.blocked=[],this.muted=[],hi(this,PD,new Hi(this.following)),hi(this,Vv,new Hi(void 0)),hi(this,wp,new Hi(this.following)),hi(this,BD,new Hi("")),hi(this,Yv,new Hi(void 0))}getProfileOrDownload(t){return new mt(e=>(this.db.storage.getProfile(t).then(n=>{if(n)return e.next(n),void e.complete();this.queueService.enqueProfile(t)}).catch(n=>{console.warn("FAILED TO GET PROFILE:",n)}).finally(()=>{}),()=>{})).pipe(ta(e=>{}))}getLocalProfile(t){var e=this;return Se(function*(){return e.db.storage.getProfile(t)})()}getCachedProfile(t){let e=this.following.findIndex(r=>r.pubkey==t);if(e>-1)return this.following[e];let n=Pe(this,hm).get(t);return n?n.value:void 0}getProfile(t){var e=this;return Se(function*(){let n=e.following.findIndex(o=>o.pubkey==t);if(n>-1)return e.following[n];let r=Pe(e,hm).get(t);if(r)return r.value;let a=yield e.db.storage.getProfile(t);if(a)return Pe(e,hm).set(t,a),a;e.queueService.enqueProfile(t)})()}putProfile(t){var e=this;return Se(function*(){null==t.status&&(t.status=0),t.npub=e.utilities.getNostrIdentifier(t.pubkey),Pe(e,hm).set(t.pubkey,t),yield e.db.storage.putProfile(t),e.updateItemIfSelected(t);const n=e.following.findIndex(r=>r.pubkey==t.pubkey);null!=t.circle?1==t.status&&-1==n?(e.following.push(t),ts(e,mm,Fp).call(e)):2==t.status&&n>-1?(e.following.splice(n,1),ts(e,mm,Fp).call(e)):(e.following[n]=t,ts(e,mm,Fp).call(e)):n>-1&&(e.following.splice(n,1),ts(e,mm,Fp).call(e))})()}initialize(t){var e=this;return Se(function*(){const n=yield e.getLocalProfile(t);e.userProfileUpdated(n);const r=yield e.db.storage.getProfilesByStatus(to.Follow);e.following=r,Pe(e,wp).next(e.following);const a=yield e.db.storage.getProfilesByStatus(to.Block),o=yield e.db.storage.getProfilesByStatus(to.Mute);e.blocked=a.map(c=>c.pubkey),e.muted=o.map(c=>c.pubkey),e.followingKeys=e.following.map(c=>c.pubkey)})()}follow(t,e=0,n){var r=this;return Se(function*(){if(!t)return;const a=yield r.getLocalProfile(t),o=r.utilities.now();return a?(a.status=to.Follow,a.modified=o,a.followed=o,a.circle=e,yield r.putProfile(a),a):(n||(n=r.emptyProfile(t)),n.followed=o,n.circle=e,n.status=to.Follow,n.npub=r.utilities.getNostrIdentifier(n.pubkey),yield r.db.storage.putProfile(n),ts(r,QN,tne).call(r,n),r.queueService.enqueProfile(n.pubkey),n)})()}setFollowing(t,e){var n=this;return Se(function*(){return ts(n,Kd,Qu).call(n,t,r=>(r.following=e,r))})()}followingAndRelays(t,e,n){var r=this;return Se(function*(){return ts(r,Kd,Qu).call(r,t,a=>(a.following=e,a.relays=n,a))})()}setCircle(t,e){var n=this;return Se(function*(){return ts(n,Kd,Qu).call(n,t,r=>(r.circle=e,r))})()}unfollow(t){var e=this;return Se(function*(){const n=yield ts(e,Kd,Qu).call(e,t,r=>(r.status=to.Public,r.followed=void 0,r.circle=void 0,r));return yield e.db.storage.deleteNotesByAuthor(t),n})()}block(t){var e=this;return Se(function*(){const n=yield ts(e,Kd,Qu).call(e,t,r=>(r.status=to.Block,r.followed=void 0,r.circle=void 0,r));return yield e.db.storage.deleteNotesByAuthor(t),n})()}unblock(t){var e=this;return Se(function*(){return ts(e,Kd,Qu).call(e,t,n=>(n.status=to.Public,n))})()}mute(t){var e=this;return Se(function*(){return ts(e,Kd,Qu).call(e,t,n=>(n.status=to.Mute,n))})()}unmute(t){var e=this;return Se(function*(){return ts(e,Kd,Qu).call(e,t,n=>(n.status=to.Follow,n))})()}deleteProfile(t){var e=this;return Se(function*(){yield e.db.storage.deleteProfile(t)})()}isFollowing(t){const e=this.following.findIndex(r=>r.pubkey==t);if(-1===e)return!1;const n=this.following[e];return!!n&&n.status==to.Follow}updateProfile(t,e){var n=this;return Se(function*(){let r=yield n.db.storage.getProfile(t);const a=n.utilities.now();if(r){if(r.created_at&&e.created_at&&r.created_at>=e.created_at)return r;r.name=e.name,r.about=e.about,r.nip05=e.nip05,r.lud06=e.lud06,r.lud16=e.lud16,r.website=e.website,r.display_name=e.display_name,r.picture=e.picture,r.banner=e.banner,r.created_at=e.created_at}else r=e;if(r.modified=a,r.retrieved=a,console.log("START PUT PROFILE",r.name),yield n.putProfile(r),console.log("END PUT PROFILE",r.pubkey),Pe(n,hm).set(r.pubkey,r),n.appState.getPublicKey()===t&&n.userProfileUpdated(r),r&&r.followed){const o=n.following.findIndex(c=>c.pubkey==r.pubkey);-1===o?n.following.push(r):n.following[o]=r}return ts(n,mm,Fp).call(n),r})()}emptyProfile(t){return{npub:this.utilities.getNostrIdentifier(t),name:this.utilities.getShortenedIdentifier(t),about:"",picture:"/assets/profile.png",nip05:"",lud06:"",lud16:"",display_name:"",status:to.Public,website:"",created:Math.floor(Date.now()/1e3),verifications:[],pubkey:t}}}function Fp(){Pe(this,wp).next(this.following),Pe(this,PD).next(this.following)}function tne(i){const t=this.following.findIndex(e=>e.pubkey==i.pubkey);-1===t?this.following.push(i):this.following[t]=i}function Qu(i,t){return VD.apply(this,arguments)}function VD(){return VD=Se(function*(i,t){let e=yield this.db.storage.getProfile(i);if(e)return e.modified=this.utilities.now(),e=t(e,e.pubkey),yield this.putProfile(e),e}),VD.apply(this,arguments)}Hn.\u0275fac=function(t){return new(t||Hn)(Fe(Ra),Fe($r),Fe(es),Fe(Zi),Fe(an))},Hn.\u0275prov=Qe({token:Hn,factory:Hn.\u0275fac,providedIn:"root"});var YD=new WeakMap;class Mo{get relays$(){return Pe(this,YD).asObservable()}constructor(t,e,n,r,a,o,c,h,f,x,P,$){var te=this;mn(this,YD,{writable:!0,value:void 0}),this.logger=t,this.articleService=e,this.badgeService=n,this.nostr=r,this.ui=a,this.queue=o,this.utilities=c,this.profileService=h,this.db=f,this.options=x,this.eventService=P,this.appState=$,this.items=[],this.subs=new Map,this.relays=[],hi(this,YD,new Hi(this.relays)),this.workers=[],this.appState.visibility$.subscribe(fe=>{fe&&this.createRelayWorkers()}),this.queue.queues$.subscribe(fe=>{fe&&this.enque(fe)}),this.ui.loadMore$.subscribe(fe=>{if(fe&&fe.until)if("profile"==fe.type){if(!this.profileEventSubscription)return;this.unsubscribe(this.profileEventSubscription),this.profileEventSubscription=this.subscribe([{authors:[this.ui.profile.pubkey],kinds:this.options.values.enableReactions?[$n.Text,$n.Reaction,6]:[$n.Text,6],until:fe.until,limit:100}]).id}else if("feed"==fe.type){if(!this.circleEventSubscription)return;this.circleEventSubscription&&(this.unsubscribe(this.circleEventSubscription),this.circleEventSubscription=void 0);let ye=[];ye=fe.circle>-1?this.profileService.following.filter(Le=>Le.circle==fe.circle).map(Le=>Le.pubkey):this.profileService.following.map(Le=>Le.pubkey),this.circleEventSubscription=this.subscribe([{authors:ye,kinds:this.options.values.enableReactions?[$n.Text,$n.Reaction,6]:[$n.Text,6],until:fe.until,limit:100}],"feed").id}}),this.ui.circle$.subscribe(fe=>{if(null==fe)return;let ye=[];ye=fe>-1?this.profileService.following.filter(Le=>Le.circle==fe).map(Le=>Le.pubkey):this.profileService.following.map(Le=>Le.pubkey),this.circleEventSubscription&&(this.unsubscribe(this.circleEventSubscription),this.circleEventSubscription=void 0),this.circleEventSubscription=this.subscribe([{authors:ye,kinds:this.options.values.enableReactions?[$n.Text,$n.Reaction,6]:[$n.Text,6],limit:100}],"feed").id}),this.ui.pubkey$.subscribe(function(){var fe=Se(function*(ye){if(!ye)return void(te.profileEventSubscription&&(te.unsubscribe(te.profileEventSubscription),te.profileEventSubscription=void 0));const Ie=yield te.profileService.getProfile(ye);Ie&&te.ui.setProfile(Ie),te.profileEventSubscription=te.subscribe([{authors:[ye],kinds:[$n.Text,$n.Reaction,6],limit:100}]).id});return function(ye){return fe.apply(this,arguments)}}()),this.ui.eventId$.subscribe(function(){var fe=Se(function*(ye){if(!ye)return;const Ie=yield te.db.storage.getEvent(ye);Ie?te.ui.setEvent(Ie):te.enque({type:"Event",identifier:ye})});return function(ye){return fe.apply(this,arguments)}}()),this.ui.event$.subscribe(function(){var fe=Se(function*(ye){if(!ye)return te.ui.clearEvents(),void(te.threadSubscription&&(te.unsubscribe(te.threadSubscription),te.threadSubscription=void 0));if(te.threadSubscription!=ye?.id&&(te.threadSubscription&&te.unsubscribe(te.threadSubscription),te.threadSubscription=te.subscribe([{"#e":[ye.id]}]).id,ye.parentEventId)){const Ie=yield te.db.storage.getEvent(ye.parentEventId);Ie?te.ui.setParentEvent(Ie):te.enque({type:"Event",identifier:ye.parentEventId})}});return function(ye){return fe.apply(this,arguments)}}())}terminate(t){const e=this.workers.find(n=>n.url==t);e&&e.terminate()}terminateAll(){for(let t=0;t<this.workers.length;t++)this.workers[t].terminate()}setRelayType(t,e){var n=this;return Se(function*(){const r=yield n.db.storage.getRelay(t),a=n.items.find(o=>o.url==t);r&&(r.type=e,a.type=e,yield n.db.storage.putRelay(r))})()}setRelayPublic(t,e){var n=this;return Se(function*(){const r=yield n.db.storage.getRelay(t),a=n.items.find(o=>o.url==t);r&&(r.public=e,a.public=e,yield n.db.storage.putRelay(r))})()}setRelayStatus(t,e){var n=this;return Se(function*(){n.logger.debug("setRelayStatus:",e);const r=yield n.db.storage.getRelay(t),a=n.items.find(o=>o.url==t);r&&(r.status=e,a.status=e,yield n.db.storage.putRelay(r))})()}setRelayEnabled(t,e){var n=this;return Se(function*(){n.logger.debug("setRelayEnabled:",e);const r=yield n.db.storage.getRelay(t),a=n.items.find(o=>o.url==t);r&&(r.enabled=e,a.enabled=e,yield n.db.storage.putRelay(r))})()}setRelayTimeout(t,e){const n=this.items.find(r=>r.url==t);n&&(null==n.timeouts&&(n.timeouts=0),n.timeouts++)}setRelayCounter(t){const e=this.items.find(n=>n.url==t);e&&(null==e.eventcount&&(e.eventcount=0),e.eventcount++)}setRelayNIP11(t,e){var n=this;return Se(function*(){const r=yield n.db.storage.getRelay(t),a=n.items.find(o=>o.url==t);r&&(e.error?(r.error=e.error,a.error=e.error):(r.error=void 0,a.error=void 0,r.nip11=e,a.nip11=e),yield n.db.storage.putRelay(r))})()}addRelay(t,e,n){var r=this;return Se(function*(){let a=r.items.find(c=>c.url==t),o=1;n&&!e?o=3:!n&&e&&(o=2),a?(null==a.enabled&&(a.enabled=!0),a.type!==o&&(a.type=o,r.db.storage.putRelay(a))):(a={enabled:!0,public:!0,url:t,type:o},r.db.storage.putRelay(a),r.items.push(a)),o<3?r.createRelayWorker(a.url):r.terminate(a.url)})()}deleteRelays(t){var e=this;return Se(function*(){const n=e.items.filter(r=>-1==t.indexOf(r.url));e.logger.debug("relaysToRemove:",n);for(let r=0;r<n.length;r++){const a=n[r];yield e.db.storage.deleteRelay(a.url),e.logger.info(`${a.url}: Deleted from database.`);const o=e.workers.find(c=>c.url==a.url);e.logger.info(`${a.url}: Terminating this Web Worker!`,o?.url),o?.terminate()}e.items=e.items.filter(r=>t.indexOf(r.url)>-1)})()}processEvent(t){var e=this;return Se(function*(){const r=e.eventService.processEvent(t.data);if(r){if(e.logger.debug("SAVE EVENT?:",r),t.subscription){const a=e.subs.get(t.subscription);if(a)if("Event"==a.type)-1===a.events.findIndex(c=>c.id==r.id)&&a.events.push(r);else if("Profile"==a.type){const o=a.events.findIndex(c=>c.pubkey==r.pubkey);o>-1?r.created_at>=a.events[o].created_at&&(a.events[o]=r):a.events.push(r)}else if("Contacts"==a.type){const o=a.events.findIndex(c=>c.pubkey==r.pubkey);o>-1?r.created_at>=a.events[o].created_at&&(a.events[o]=r):a.events.push(r)}else if("Replaceable"==a.type){const o=a.events.findIndex(c=>c.pubkey==r.pubkey&&e.eventService.firstDTag(c)==e.eventService.firstDTag(r));return void(o>-1?r.created_at>a.events[o].created_at&&(a.events[o]=r):a.events.push(r))}}if("feed"==t.subscription)e.ui.putFeedEvent(r);else if("notifications"==t.subscription){let a=yield e.db.storage.getNotification(r.id);if(!a){let o="";if(r.kind==$n.Reaction){let h=r.content;"+"===h||""===h?h="\u2764\ufe0f":"-"===h&&(h="\u{1f494}"),o=h}else if(r.kind==$n.Text)o="replied to your note.";else if(r.kind==$n.Contacts){if(o="started following you.",yield e.db.storage.getNotification(r.pubkey))return;r.id=r.pubkey}else o=6==r.kind?"boosted your note.":`Event kind ${r.kind} notification.`;const c=e.eventService.lastETag(r);a={id:r.id,relatedId:c,kind:r.kind,pubkey:r.pubkey,message:o,seen:!1,created:r.created_at},yield e.db.storage.putNotification(a),e.ui.putNotification(a)}}if(30009==r.kind)e.badgeService.putDefinition(r);else if(r.kind==$n.Article)e.articleService.put(r);else if(r.kind==$n.Metadata){const a=e.utilities.mapProfileEvent(r);if(a){const o=yield e.profileService.updateProfile(a.pubkey,a);e.ui.pubkey==r.pubkey&&e.ui.setProfile(o)}}else if(r.kind==$n.Contacts){const a=e.appState.getPublicKey();if(r.pubkey===a){let o=yield e.db.storage.getContacts(a);if(!o||o.created_at<r.created_at){yield e.db.storage.putContacts(r);const c=r.tags.map(x=>x[1]);e.profileService.followingAndRelays(r.pubkey,c,r.content),o=r;const f={pubkeys:o.tags.map(x=>x[1]),pubkey:a,relays:[],relaysCount:0};if(o.content&&(f.relays=JSON.parse(o.content),f.relaysCount=Object.keys(f.relays).length),f.pubkeys.length>0||f.relaysCount>0){if(f.relaysCount>0){const P=e.utilities.getRelayUrls(f.relays);yield e.deleteRelays(P),yield e.appendRelays(f.relays)}const x=f.pubkeys;for(let P=0;P<x.length;P++){const $=x[P];e.profileService.isFollowing($)||(e.logger.info("Add follow to "+$),e.profileService.follow($))}}}}else{const o=yield e.db.storage.getContacts(r.pubkey);if(o&&o.created_at>=r.created_at)return;yield e.db.storage.putContacts(r);const c=r.tags.map(f=>f[1]),h=yield e.profileService.followingAndRelays(r.pubkey,c,r.content);h&&e.ui.pubkey==h.pubkey&&e.ui.setProfile(h,!0)}}else e.ui.eventId==r.id?e.ui.setEvent(r):e.ui.parentEventId==r.id?e.ui.setParentEvent(r):(e.ui.pubkey==r.pubkey||t.subscription==e.threadSubscription)&&e.ui.putEvent(r)}})()}enque(t){this.action("enque",t)}handleRelayMessage(t,e){var n=this;return Se(function*(){const r=t.data;switch(r.type){case"timeout":n.logger.debug(`Relay ${e} timeout: ${r.data}.`),n.setRelayTimeout(e,r.data);break;case"status":if(n.logger.debug(`Relay ${e} changed status to ${r.data}.`),yield n.setRelayStatus(e,r.data),1===r.data){n.appState.updateConnectionStatus(!0);const c=n.workers.findIndex(f=>f.url==e),h=n.workers[c];n.subs.forEach(f=>{h.subscribe(f.filters,f.id)})}break;case"terminated":n.logger.info(`${e}: WE HAVE TERMINATED`);const a=n.workers.findIndex(c=>c.url==e),o=n.workers[a];o.status="terminated",n.logger.debug(`${e}: Calling actually TERMINATE on Web Worker!`),o.worker?.terminate(),a>-1&&n.workers.splice(a,1),yield n.setRelayStatus(e,-1);break;case"event":n.setRelayCounter(e),yield n.processEvent(r);break;case"nip11":yield n.setRelayNIP11(e,r.data)}})()}handleRelayError(t,e){var n=this;return Se(function*(){yield n.setRelayStatus(e,-1),console.warn("ERROR IN WEB WORKER FOR RELAY!",t),console.warn("ERROR IN WEB WORKER FOR RELAY22!",t.error)})()}createRelayWorker(t,e){var n=this;if(!t)return void console.warn("SUPPLIED EMPTY URL TO CREATE RELAY WORKER!");const r=this.workers.findIndex(c=>c.url==t);if(r>-1)return this.logger.debug(`${t}: This relay already exists, calling connect on it.`),void this.workers[r].connect(void 0,e);const a=new mee(t);this.logger.info(`${t}: Creating this web worker.`),this.workers.push(a);const o=a.start();o.onmessage=function(){var c=Se(function*(h){n.logger.debug(`${a.url}: onmessage`,h.data),yield n.handleRelayMessage(h,a.url)});return function(h){return c.apply(this,arguments)}}(),o.onerror=function(){var c=Se(function*(h){n.logger.error(`${a.url}: onerror`,h.error),yield n.handleRelayError(h,a.url)});return function(h){return c.apply(this,arguments)}}(),a.connect(Array.from(this.subs.values()),e)}getActiveRelay(t){const e=this.relays.findIndex(n=>n.url==t);return-1==e?null:this.relays[e]}appendRelays(t){var e=this;return Se(function*(){let n=t;if(Array.isArray(n)){n={};for(let o=0;o<t.length;o++)n[t[o]]={}}const r=Object.keys(n);for(var a=0;a<r.length;a++){const o=r[a],c=n[o];yield e.addRelay(o,c.read,c.write)}})()}appendRelay(t,e,n){var r=this;return Se(function*(){yield r.addRelay(t,e,n)})()}deleteRelay(t){var e=this;return Se(function*(){const n=e.items.findIndex(a=>a.url==t);-1!=n&&(e.workers.find(a=>a.url==t)?.terminate(),yield e.db.storage.deleteRelay(t),e.items.splice(n,1))})()}connectedRelays(){return this.relays.filter(t=>1===t.status)}queueSubscription(t){const e=sv();return this.subs.set(e,{id:e,filters:t,events:[],type:"Event"}),e}subscribe(t,e,n="Event"){e||(e=sv());const r={id:e,filters:t,events:[],type:n};this.subs.set(e,r);for(let a=0;a<this.workers.length;a++)this.workers[a].subscribe(t,e);return r}download(t,e,n="Event"){e||(e=sv());const r={id:e,filters:t,events:[],type:n};this.subs.set(e,r);for(let a=0;a<this.workers.length;a++)this.workers[a].download(t,e,n);return r}action(t,e){for(let n=0;n<this.workers.length;n++)this.workers[n].action(t,e);if("publish"===t){const n=this.items.filter(r=>3==r.type);for(let r=0;r<n.length;r++)this.createRelayWorker(n[r].url,e)}}publish(t){this.action("publish",t)}unsubscribe(t){for(let e=0;e<this.workers.length;e++)this.workers[e].unsubscribe(t);this.subs.delete(t)}createRelayWorkers(){for(let t=0;t<this.items.length;t++){const e=this.items[t];e.enabled&&e.type<3&&this.createRelayWorker(e.url)}}initialize(){var t=this;return Se(function*(){if(t.items=yield t.db.storage.getRelays(),0==t.items.length){let e=yield t.nostr.relays();yield t.appendRelays(e)}t.createRelayWorkers()})()}}Mo.\u0275fac=function(t){return new(t||Mo)(Fe(dp),Fe(rm),Fe(qc),Fe(El),Fe($r),Fe(es),Fe(an),Fe(Hn),Fe(Ra),Fe(Sr),Fe(Jo),Fe(Zi))},Mo.\u0275prov=Qe({token:Mo,factory:Mo.\u0275fac,providedIn:"root"});const ine=["*"],ane=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],one=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],sne=new Ke("MAT_CARD_CONFIG");let Pa=(()=>{class i{constructor(e){this.appearance=e?.appearance||"raised"}}return i.\u0275fac=function(e){return new(e||i)(k(sne,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(e,n){2&e&&Mt("mat-mdc-card-outlined","outlined"===n.appearance)("mdc-card--outlined","outlined"===n.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:ine,decls:1,vars:0,template:function(e,n){1&e&&(Bi(),Ft(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mat-mdc-card{position:relative;border-radius:var(--mdc-elevated-card-container-shape, var(--mdc-shape-medium, 4px));background-color:var(--mdc-elevated-card-container-color, transparent);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color, transparent)}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width, 1px);border-style:solid;border-color:var(--mdc-outlined-card-outline-color, transparent)}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0}),i})(),Q_=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]}),i})(),oc=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}),i})(),Z_=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]}),i})(),X_=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=qe({type:i,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:one,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(e,n){1&e&&(Bi(ane),Ft(0),_(1,"div",0),Ft(2,1),F(),Ft(3,2))},encapsulation:2,changeDetection:0}),i})(),ZN=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-card-footer"]],hostAttrs:[1,"mat-mdc-card-footer"]}),i})(),jD=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-mdc-card-image","mdc-card__media"]}),i})(),pne=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Qt,Dr,Qt]}),i})();const gne=["determinateSpinner"];function _ne(i,t){if(1&i&&(mo(),_(0,"svg",11),Ce(1,"circle",12),F()),2&i){const e=Q();It("viewBox",e._viewBox()),E(1),sr("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),It("r",e._circleRadius())}}const bne=ec(class{constructor(i){this._elementRef=i}},"primary"),yne=new Ke("mat-progress-spinner-default-options",{providedIn:"root",factory:function vne(){return{diameter:XN}}}),XN=100;let jv=(()=>{class i extends bne{constructor(e,n,r){super(e),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=XN,this._noopAnimations="NoopAnimations"===n&&!!r&&!r._forceAnimations,r&&(r.color&&(this.color=this.defaultColor=r.color),r.diameter&&(this.diameter=r.diameter),r.strokeWidth&&(this.strokeWidth=r.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,wr(e)))}get diameter(){return this._diameter}set diameter(e){this._diameter=wr(e)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=wr(e)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const e=2*this._circleRadius()+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Ln,8),k(yne))},i.\u0275cmp=qe({type:i,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(e,n){if(1&e&&Lt(gne,5),2&e){let r;Ze(r=Xe())&&(n._determinateCircle=r.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:12,hostBindings:function(e,n){2&e&&(It("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===n.mode?n.value:null)("mode",n.mode),sr("width",n.diameter,"px")("height",n.diameter,"px"),Mt("_mat-animation-noopable",n._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===n.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[ot],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(e,n){if(1&e&&(ee(0,_ne,2,8,"ng-template",null,0,ko),_(2,"div",1,2),mo(),_(4,"svg",3),Ce(5,"circle",4),F()(),ml(),_(6,"div",5)(7,"div",6)(8,"div",7),Qo(9,8),F(),_(10,"div",9),Qo(11,8),F(),_(12,"div",10),Qo(13,8),F()()()),2&e){const r=Li(1);E(4),It("viewBox",n._viewBox()),E(1),sr("stroke-dasharray",n._strokeCircumference(),"px")("stroke-dashoffset",n._strokeDashOffset(),"px")("stroke-width",n._circleStrokeWidth(),"%"),It("r",n._circleRadius()),E(4),S("ngTemplateOutlet",r),E(2),S("ngTemplateOutlet",r),E(2),S("ngTemplateOutlet",r)}},dependencies:[Ef],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, transparent)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0}),i})(),Fne=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Dr,Qt]}),i})();function xne(i,t){1&i&&(_(0,"div",17)(1,"button",18),Ce(2,"mat-spinner",19),F()())}function Cne(i,t){if(1&i){const e=Je();_(0,"div",17)(1,"a",20),pe("click",function(){return Te(e),Ae(Q().connect())}),N(2,"Install "),_(3,"span",4),N(4,"extension"),F()()()}}function kne(i,t){if(1&i){const e=Je();_(0,"button",22),pe("click",function(){return Te(e),Ae(Q(2).connect())}),N(1,"Connect "),_(2,"span",4),N(3,"using extension"),F()()}}function Dne(i,t){if(1&i){const e=Je();_(0,"button",22),pe("click",function(){return Te(e),Ae(Q(2).giveConsent())}),N(1,"Give consent"),F()}}function Mne(i,t){if(1&i&&(_(0,"div",17),ee(1,kne,4,0,"button",21),ee(2,Dne,2,0,"button",21),F()),2&i){const e=Q();E(1),S("ngIf",e.consent),E(1),S("ngIf",!e.consent)}}function Ene(i,t){1&i&&(_(0,"p",11)(1,"button",23),N(2,"Create new profile"),F(),Ce(3,"br")(4,"br"),_(5,"button",24),N(6,"Log in"),F(),Ce(7,"br")(8,"br"),F())}function Sne(i,t){if(1&i){const e=Je();_(0,"p",11)(1,"button",22),pe("click",function(){return Te(e),Ae(Q().giveConsent())}),N(2,"Give consent"),F()()}}function Tne(i,t){if(1&i){const e=Je();_(0,"p",11),Ce(1,"br"),_(2,"button",25),pe("click",function(){Te(e);const r=Q();return r.consent=!1,Ae(r.persist())}),N(3,"Withdraw consent"),F()()}}class J_{constructor(t,e,n,r,a,o,c,h,f){this.theme=t,this.appState=e,this.cd=n,this.relayService=r,this.authService=a,this.utilities=o,this.router=c,this.ngZone=h,this.dialog=f,this.extensionDiscovered=!1,this.consent=!1,this.readOnlyLogin=!1,this.readOnlyKey="npub1sg6plzptd64u62a878hep2kev88swjh3tw00gjsfl8f237lmu63q0uf63m",this.checkedTimes=0,this.showInstallLink=!1,this.searchingForExtension=!0}persist(){localStorage.setItem("blockcore:notes:nostr:consent",this.consent.toString())}giveConsent(){var t=this;this.dialog.open(f_,{data:!1,maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=Se(function*(r){r&&!0===r&&(t.consent=!0,t.persist())});return function(r){return n.apply(this,arguments)}}())}connect(){var t=this;return Se(function*(){(yield t.authService.login()).authenticated()&&t.router.navigateByUrl("/")})()}scroll(t){const e=document.getElementById("container");e?e.scroll(0,t):console.log("NOT FOUND!")}anonymous(t){var e=this;return Se(function*(){(yield e.authService.anonymous(t)).authenticated()&&e.router.navigateByUrl("/")})()}ngOnInit(){this.consent="true"===localStorage.getItem("blockcore:notes:nostr:consent"),this.checkForExtension()}ngOnDestroy(){this.timeout&&clearTimeout(this.timeout)}checkForExtension(){return this.checkedTimes++,globalThis.nostr?(this.searchingForExtension=!1,void(this.extensionDiscovered=!0)):this.checkedTimes>10?(this.searchingForExtension=!1,void(this.showInstallLink=!0)):void(this.timeout=setTimeout(()=>{this.ngZone.run(()=>{this.checkForExtension()})},250))}}J_.\u0275fac=function(t){return new(t||J_)(k(Dl),k(Zi),k(ni),k(Mo),k(La),k(an),k(qn),k(Rt),k(Ia))},J_.\u0275cmp=qe({type:J_,selectors:[["app-connect"]],decls:51,vars:7,consts:[[1,"connect-container"],[1,"connect-menu","mat-app-background"],["width","128","height","128","src","assets/icons/icon-256x256.webp",1,"connect-logo"],[1,"logo-text"],[1,"hide-tiny"],[1,"connect-spacer"],["mat-icon-button","",1,"theme-toggle",3,"click"],["aria-label","Menu",1,"material-icons"],["class","connect-button",4,"ngIf"],[1,"connect-content"],[1,"card","first-card"],[1,"centered"],["class","centered",4,"ngIf"],[1,"card","card-image"],["loading","lazy","width","1079","height","776","src","/assets/blockcore-notes-screenshot.png"],[1,"card"],[1,"notice"],[1,"connect-button"],["mat-flat-button","","color","accent",1,"start-button"],["color","accent","diameter","30",1,"spinner"],["mat-flat-button","","color","accent","href","https://chrome.google.com/webstore/detail/blockcore-wallet/peigonhbenoefaeplkpalmafieegnapj","target","_blank",1,"start-button",3,"click"],["class","start-button","mat-flat-button","","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","accent",1,"start-button",3,"click"],["color","accent","routerLink","/connect/create","mat-flat-button","",1,"start-button"],["color","accent","routerLink","/connect/login","mat-flat-button","",1,"start-button"],["mat-stroked-button","",3,"click"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"div",1),Ce(2,"img",2),_(3,"div",3)(4,"span",4),N(5,"Blockcore"),F(),N(6," Notes"),F(),Ce(7,"div",5),_(8,"button",6),pe("click",function(){return e.theme.darkMode=!e.theme.darkMode}),_(9,"mat-icon",7),N(10),F()(),ee(11,xne,3,0,"div",8),ee(12,Cne,5,0,"div",8),ee(13,Mne,3,2,"div",8),F(),_(14,"div",9)(15,"mat-card",10)(16,"mat-card-content")(17,"h1",11),N(18,"New ways to connect with humanity"),F(),ee(19,Ene,9,0,"p",12),ee(20,Sne,3,0,"p",12),F()(),_(21,"mat-card",13),Ce(22,"img",14),F(),_(23,"mat-card",15)(24,"mat-card-content")(25,"h1"),N(26,"Freedom of expression"),F(),_(27,"p"),N(28," Share your thoughts and interact with others in a fully transparent and open manner that is not restricted by any boundaries. Experience the world of "),_(29,"strong"),N(30,"Nostr"),F(),N(31,". Nostr is a uncensorable protocol for communication with your friends and the world. "),F(),_(32,"p",16)(33,"strong"),N(34,"PROTOTYPE:"),F(),N(35," This app is currently under development and should be considered prototype-quality."),F()()(),_(36,"mat-card",15)(37,"mat-card-content")(38,"h1"),N(39,"Follow your favorite creators"),F(),_(40,"p"),N(41," No matter if they are photographers, film makers, bloggers, journalists or anyone else who likes to share and engage in communities and chats, Blockcore Notes have you covered with dynamic content layouts and organization of people. "),F()()(),_(42,"mat-card",15)(43,"mat-card-content")(44,"h1"),N(45,"Be humble and kind"),F(),_(46,"p"),N(47,"Being uncensorable and uncancellable means more responsibility is on you, you are in control and you are responsible."),F(),_(48,"p"),N(49,"\u{1f49b}\u{1f5a4}"),F(),ee(50,Tne,4,0,"p",12),F()()()()),2&t&&(E(10),yt(e.theme.darkMode?"dark_mode":"light_mode"),E(1),S("ngIf",e.searchingForExtension),E(1),S("ngIf",e.showInstallLink),E(1),S("ngIf",e.extensionDiscovered),E(6),S("ngIf",e.consent),E(1),S("ngIf",!e.consent),E(30),S("ngIf",e.consent))},dependencies:[ri,va,RZ,ur,bo,Pa,oc,Qn,jv],styles:[".connect-container[_ngcontent-%COMP%]{width:100%;height:100vh;display:flex;flex-direction:column}.connect-menu[_ngcontent-%COMP%]{position:fixed;height:80px;width:100%;padding:1em;display:flex;z-index:1000;box-sizing:border-box}.connect-logo[_ngcontent-%COMP%]{flex-grow:1}.logo-text[_ngcontent-%COMP%]{font-size:1.6em;margin-left:140px;font-weight:700}.connect-spacer[_ngcontent-%COMP%]{flex-grow:3}.connect-button[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:0;align-self:flex-end}.start-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em;margin-bottom:.2em;background-color:#9f0771!important}.start-button-consent[_ngcontent-%COMP%]{background-color:#fff!important;color:#000!important}.start-button-consent[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{color:#fff!important}.start-button-login[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{min-width:300px}.theme-toggle[_ngcontent-%COMP%]{margin-right:.2em}.skip-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em}.connect-content[_ngcontent-%COMP%]{flex-grow:2;margin-top:80px;background:transparent url(/assets/bg.jpg) no-repeat right center;background-size:cover;background-attachment:fixed}.card[_ngcontent-%COMP%]{border-radius:10px;margin:2em 2em 2em 11em;padding:4em}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:1em;margin-bottom:1em}.card[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-bottom:1.4em}.consent-card[_ngcontent-%COMP%]{margin-bottom:2em}.warn[_ngcontent-%COMP%]{background-color:#9f0771}@keyframes _ngcontent-%COMP%_float{0%{transform:perspective(400px) rotateY(0)}50%{transform:perspective(400px) rotateY(30deg)}to{transform:perspective(400px) rotateY(0)}}.consent-required[_ngcontent-%COMP%]{padding:2em}.connect-logo[_ngcontent-%COMP%]{position:fixed;width:128px;height:128px;margin-top:0;margin-left:0;transform:translate3d(-50%,-50%,0);animation:_ngcontent-%COMP%_float 6s ease-in-out infinite;z-index:10000}.card-image[_ngcontent-%COMP%]{padding:0!important}.card-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:10px;width:100%;height:auto}@media only screen and (min-width: 1360px){.card[_ngcontent-%COMP%]{max-width:944px;margin-right:auto!important;margin-left:auto!important}}@media only screen and (min-width: 1024px){.card[_ngcontent-%COMP%]{margin-right:11em}}@media only screen and (max-width: 760px){.connect-logo[_ngcontent-%COMP%]{width:96px;height:96px;margin-top:1em;margin-left:1em}.card[_ngcontent-%COMP%]{font-size:.8em;margin-left:2em;margin-right:2em;padding:2em}}@media only screen and (max-width: 700px){.hide-tiny[_ngcontent-%COMP%]{display:none}.connect-logo[_ngcontent-%COMP%]{width:64px;height:64px;margin-top:-.47em;margin-left:0}.logo-text[_ngcontent-%COMP%]{margin-left:84px;margin-top:.6em;font-size:1.2em}}@media only screen and (max-width: 600px){.card[_ngcontent-%COMP%]{margin-left:.2em;margin-right:.2em;padding:0}}@media only screen and (max-width: 400px){.connect-button[_ngcontent-%COMP%]{display:none}}.full-button[_ngcontent-%COMP%]{width:100%;border-radius:10px;padding:2em}.description[_ngcontent-%COMP%]{margin-top:.4em;text-align:center;font-size:.85em;margin-bottom:1.4em}"]});class Uv{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(t=!1,e,n=!0,r){this._multiple=t,this._emitChanges=n,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new He,e&&e.length&&(t?e.forEach(a=>this._markSelected(a)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...t){this._verifyValueAssignment(t),t.forEach(n=>this._markSelected(n));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...t){this._verifyValueAssignment(t),t.forEach(n=>this._unmarkSelected(n));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...t){this._verifyValueAssignment(t);const e=this.selected,n=new Set(t);t.forEach(a=>this._markSelected(a)),e.filter(a=>!n.has(a)).forEach(a=>this._unmarkSelected(a));const r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(t){return this.isSelected(t)?this.deselect(t):this.select(t)}clear(t=!0){this._unmarkAll();const e=this._hasQueuedChanges();return t&&this._emitChangeEvent(),e}isSelected(t){return this._selection.has(this._getConcreteValue(t))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){t=this._getConcreteValue(t),this.isSelected(t)||(this._multiple||this._unmarkAll(),this.isSelected(t)||this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){t=this._getConcreteValue(t),this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(t){if(this.compareWith){for(let e of this._selection)if(this.compareWith(t,e))return e;return t}return t}}let zD=(()=>{class i{constructor(){this._listeners=[]}notify(e,n){for(let r of this._listeners)r(e,n)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(n=>e!==n)}}ngOnDestroy(){this._listeners=[]}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Ane=0;const UD=new Ke("CdkAccordion");let Ine=(()=>{class i{constructor(){this._stateChanges=new He,this._openCloseAllActions=new He,this.id="cdk-accordion-"+Ane++,this._multi=!1}get multi(){return this._multi}set multi(e){this._multi=Ct(e)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[Nt([{provide:UD,useExisting:i}]),or]}),i})(),Lne=0,Nne=(()=>{class i{get expanded(){return this._expanded}set expanded(e){e=Ct(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){this._disabled=Ct(e)}constructor(e,n,r){this.accordion=e,this._changeDetectorRef=n,this._expansionDispatcher=r,this._openCloseAllSubscription=C.EMPTY,this.closed=new lt,this.opened=new lt,this.destroyed=new lt,this.expandedChange=new lt,this.id="cdk-accordion-child-"+Lne++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=r.listen((a,o)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===o&&this.id!==a&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}}return i.\u0275fac=function(e){return new(e||i)(k(UD,12),k(ni),k(zD))},i.\u0275dir=Oe({type:i,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Nt([{provide:UD,useValue:void 0}])]}),i})(),One=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})();const Rne=["body"];function Pne(i,t){}const Bne=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Hne=["mat-expansion-panel-header","*","mat-action-row"];function Vne(i,t){1&i&&Ce(0,"span",2),2&i&&S("@indicatorRotate",Q()._getExpandedState())}const Yne=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],jne=["mat-panel-title","mat-panel-description","*"],WD=new Ke("MAT_ACCORDION"),tO="225ms cubic-bezier(0.4,0.0,0.2,1)",iO={indicatorRotate:Qa("indicatorRotate",[_r("collapsed, void",pi({transform:"rotate(0deg)"})),_r("expanded",pi({transform:"rotate(180deg)"})),cr("expanded <=> collapsed, void => collapsed",lr(tO))]),bodyExpansion:Qa("bodyExpansion",[_r("collapsed, void",pi({height:"0px",visibility:"hidden"})),_r("expanded",pi({height:"*",visibility:"visible"})),cr("expanded <=> collapsed, void => collapsed",lr(tO))])},nO=new Ke("MAT_EXPANSION_PANEL");let zne=(()=>{class i{constructor(e,n){this._template=e,this._expansionPanel=n}}return i.\u0275fac=function(e){return new(e||i)(k(vr),k(nO,8))},i.\u0275dir=Oe({type:i,selectors:[["ng-template","matExpansionPanelContent",""]]}),i})(),Une=0;const rO=new Ke("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let Xc=(()=>{class i extends Nne{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=Ct(e)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}constructor(e,n,r,a,o,c,h){super(e,n,r),this._viewContainerRef=a,this._animationMode=c,this._hideToggle=!1,this.afterExpand=new lt,this.afterCollapse=new lt,this._inputChanges=new He,this._headerId="mat-expansion-panel-header-"+Une++,this._bodyAnimationDone=new He,this.accordion=e,this._document=o,this._bodyAnimationDone.pipe(Bg((f,x)=>f.fromState===x.fromState&&f.toState===x.toState)).subscribe(f=>{"void"!==f.fromState&&("expanded"===f.toState?this.afterExpand.emit():"collapsed"===f.toState&&this.afterCollapse.emit())}),h&&(this.hideToggle=h.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(jr(null),qi(()=>this.expanded&&!this._portal),nn(1)).subscribe(()=>{this._portal=new Ad(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const e=this._document.activeElement,n=this._body.nativeElement;return e===n||n.contains(e)}return!1}}return i.\u0275fac=function(e){return new(e||i)(k(WD,12),k(ni),k(zD),k(kr),k(Mi),k(Ln,8),k(rO,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-expansion-panel"]],contentQueries:function(e,n,r){if(1&e&&ui(r,zne,5),2&e){let a;Ze(a=Xe())&&(n._lazyContent=a.first)}},viewQuery:function(e,n){if(1&e&&Lt(Rne,5),2&e){let r;Ze(r=Xe())&&(n._body=r.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,n){2&e&&Mt("mat-expanded",n.expanded)("_mat-animation-noopable","NoopAnimations"===n._animationMode)("mat-expansion-panel-spacing",n._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[Nt([{provide:WD,useValue:void 0},{provide:nO,useExisting:i}]),ot,or],ngContentSelectors:Hne,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,n){1&e&&(Bi(Bne),Ft(0),_(1,"div",0,1),pe("@bodyExpansion.done",function(a){return n._bodyAnimationDone.next(a)}),_(3,"div",2),Ft(4,1),ee(5,Pne,0,0,"ng-template",3),F(),Ft(6,2),F()),2&e&&(E(1),S("@bodyExpansion",n._getExpandedState())("id",n.id),It("aria-labelledby",n._headerId),E(4),S("cdkPortalOutlet",n._portal))},dependencies:[Xl],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[iO.bodyExpansion]},changeDetection:0}),i})();class Wne{}const Gne=Rc(Wne);let Jc=(()=>{class i extends Gne{constructor(e,n,r,a,o,c,h){super(),this.panel=e,this._element=n,this._focusMonitor=r,this._changeDetectorRef=a,this._animationMode=c,this._parentChangeSubscription=C.EMPTY;const f=e.accordion?e.accordion._stateChanges.pipe(qi(x=>!(!x.hideToggle&&!x.togglePosition))):ln;this.tabIndex=parseInt(h||"")||0,this._parentChangeSubscription=Pn(e.opened,e.closed,f,e._inputChanges.pipe(qi(x=>!!(x.hideToggle||x.disabled||x.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(qi(()=>e._containsFocus())).subscribe(()=>r.focusVia(n,"program")),o&&(this.expandedHeight=o.expandedHeight,this.collapsedHeight=o.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:ba(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}focus(e,n){e?this._focusMonitor.focusVia(this._element,e,n):this._element.nativeElement.focus(n)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return i.\u0275fac=function(e){return new(e||i)(k(Xc,1),k(gt),k(Ka),k(ni),k(rO,8),k(Ln,8),fo("tabindex"))},i.\u0275cmp=qe({type:i,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,n){1&e&&pe("click",function(){return n._toggle()})("keydown",function(a){return n._keydown(a)}),2&e&&(It("id",n.panel._headerId)("tabindex",n.tabIndex)("aria-controls",n._getPanelId())("aria-expanded",n._isExpanded())("aria-disabled",n.panel.disabled),sr("height",n._getHeaderHeight()),Mt("mat-expanded",n._isExpanded())("mat-expansion-toggle-indicator-after","after"===n._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===n._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===n._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[ot],ngContentSelectors:jne,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,n){1&e&&(Bi(Yne),_(0,"span",0),Ft(1),Ft(2,1),Ft(3,2),F(),ee(4,Vne,1,1,"span",1)),2&e&&(Mt("mat-content-hide-toggle",!n._showToggle()),E(4),S("ngIf",n._showToggle()))},dependencies:[ri],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[iO.indicatorRotate]},changeDetection:0}),i})(),Qd=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),i})(),Zd=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),i})(),sc=(()=>{class i extends Ine{constructor(){super(...arguments),this._ownHeaders=new Mc,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(e){this._hideToggle=Ct(e)}ngAfterContentInit(){this._headers.changes.pipe(jr(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(n=>n.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Vg(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275dir=Oe({type:i,selectors:[["mat-accordion"]],contentQueries:function(e,n,r){if(1&e&&ui(r,Jc,5),2&e){let a;Ze(a=Xe())&&(n._headers=a)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,n){2&e&&Mt("mat-accordion-multi",n.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[Nt([{provide:WD,useExisting:i}]),ot]}),i})(),aO=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Dr,Qt,One,Fl]}),i})();class t0{constructor(t){this.appState=t}ngOnInit(){this.appState.showBackButton=!0,this.appState.updateTitle("About"),this.appState.actions=[]}}t0.\u0275fac=function(t){return new(t||t0)(k(Zi))},t0.\u0275cmp=qe({type:t0,selectors:[["app-about"]],decls:76,vars:0,consts:[[1,"page","help"],["srcset","/assets/icons/icon-128x128.png, /assets/icons/icon-256x256.png 1.5x, /assets/icons/icon-512x512.png 2x","src","/assets/icons/icon-128x128.png","alt","Blockcore Notes logo","width","128","height","128",1,"logo"],[1,"marginless","heading"],["routerLink","licenses"],["href","https://github.com/block-core/blockcore-notes","target","_blank"],["href","https://geyser.fund/project/blockcore","target","_blank"],["href","https://www.blockcore.net/about","target","_blank"],["src","assets/nostr.svg",1,"logo"],["href","https://www.nostr.directory/","target","_blank"],["href","https://www.nostr.guru/","target","_blank"],["hideToggle",""],[1,"centered"],["src","/assets/nostritch.jpg",1,"mascot"]],template:function(t,e){1&t&&(_(0,"div",0),Ce(1,"img",1),_(2,"h1",2),N(3,"About"),F(),_(4,"p"),N(5,"Blockcore Notes instructions will come here later on."),F(),_(6,"p")(7,"a",3),N(8,"Third Party Licenses"),F(),Ce(9,"br"),_(10,"a",4),N(11,"Source Code"),F()(),_(12,"h3"),N(13,"Support development"),F(),_(14,"p"),N(15,"Please consider donating some Bitcoin using Geyser:"),F(),_(16,"p")(17,"a",5),N(18,"geyser.fund/project/blockcore"),F()(),_(19,"p"),N(20,"We have additional donation and sponsoring options available here:"),F(),_(21,"p")(22,"a",6),N(23,"www.blockcore.net/about"),F()(),Ce(24,"img",7),_(25,"h1",2),N(26,"Nostr"),F(),_(27,"h3"),N(28,"Nostr Directory"),F(),_(29,"p"),N(30,"Accounts marked with globe icon are accounts added to this service:"),F(),_(31,"p")(32,"a",8),N(33,"www.nostr.directory"),F()(),_(34,"h3"),N(35,"Data Lookup"),F(),_(36,"p"),N(37,"The user identity (npub) and the event identity is available in tooltips on notes. You can copy those and verify using:"),F(),_(38,"p")(39,"a",9),N(40,"www.nostr.guru"),F()(),_(41,"h3"),N(42,"Frequently Asked Questions"),F(),_(43,"mat-accordion")(44,"mat-expansion-panel",10)(45,"mat-expansion-panel-header")(46,"mat-panel-title"),N(47," Can I contribute? "),F(),_(48,"mat-panel-description"),N(49," Yes "),F()(),_(50,"p"),N(51," Blockcore Notes is a very early work in progress and is only at prototype feature and quality level. If you want to contribute, please help out on "),_(52,"a",4),N(53,"github.com/block-core/blockcore-notes"),F()()(),_(54,"mat-expansion-panel")(55,"mat-expansion-panel-header")(56,"mat-panel-title"),N(57,"Photos and film display"),F(),_(58,"mat-panel-description"),N(59,"Following only"),F()(),_(60,"p"),N(61," Photos and films are only displayed for accounts you are following. This is for your protection and ensures you're not downloading images you don't want to see, but also don't want to download as anyone can link to very large images. "),F(),_(62,"p"),N(63,"Not loading photos is also a measure to improve your privacy. When photos are displayed, your IP-address is available to the server hosting the photo."),F()(),_(64,"mat-expansion-panel")(65,"mat-expansion-panel-header")(66,"mat-panel-title"),N(67,"How can I be safe?"),F(),_(68,"mat-panel-description"),N(69,"Unwanted content"),F()(),_(70,"p"),N(71,"It is easy to be exposed to unwanted content on Nostr, as there are a public feed available that contains everything that everyone is posting."),F(),_(72,"p"),N(73,"The best way to ensure you don't get wanted content, is to follow users you know and trust. Only use the Home Feed and People/Circle sections."),F()()(),_(74,"p",11),Ce(75,"img",12),F()())},dependencies:[sc,Xc,Jc,Zd,Qd],styles:[".mascot[_ngcontent-%COMP%]{width:100%;max-width:1024px}.logo[_ngcontent-%COMP%]{float:left;margin-bottom:1em;margin-right:1em;max-width:128px;margin-left:-8em}.help[_ngcontent-%COMP%]{padding-left:10em}@media only screen and (max-width: 599px){.help[_ngcontent-%COMP%]{font-size:.8em;padding-left:8em}.logo[_ngcontent-%COMP%]{max-width:64px;margin-left:-6em}}"]});const qne=g(i=>function(e=null){i(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=e});function Wv(i,t){const{first:e,each:n,with:r=$ne,scheduler:a=t??If,meta:o=null}=YI(i)?{first:i}:"number"==typeof i?{each:i}:i;if(null==e&&null==n)throw new TypeError("No timeout provided.");return Jt((c,h)=>{let f,x,P=null,$=0;const te=fe=>{x=nr(h,a,()=>{try{f.unsubscribe(),sn(r({meta:o,lastValue:P,seen:$})).subscribe(h)}catch(ye){h.error(ye)}},fe)};f=c.subscribe(Ut(h,fe=>{x?.unsubscribe(),$++,h.next(P=fe),n>0&&te(n)},void 0,void 0,()=>{x?.closed||x?.unsubscribe(),P=null})),!$&&te(null!=e?"number"==typeof e?e:+e-a.now():n)})}function $ne(i){throw new qne(i)}class Ro{constructor(t,e){this.db=t,this.utilities=e,this.circles=[]}initialize(){var t=this;return Se(function*(){if(!(yield t.db.storage.getCircle(0)))for(let n=0;n<Ro.DEFAULT.length;n++){const r=Ro.DEFAULT[n];yield t.put(r)}t.circles=yield t.db.storage.getCircles()})()}getSync(t){if(this.circles.length>0)return this.circles.find(e=>e.id==t)}get(t){var e=this;return Se(function*(){if(null!=t)return e.circles.length>0?e.circles.find(n=>n.id==t):yield e.db.storage.getCircle(t)})()}put(t){var e=this;return Se(function*(){const n=e.utilities.now();t.created||(t.created=n),t.modified=n;const r=e.circles.findIndex(o=>o.id==t.id);r>-1?e.circles[r]=t:e.circles.push(t);const a=yield e.db.storage.putCircle(t);t.id=a})()}delete(t){var e=this;return Se(function*(){const n=e.circles.findIndex(r=>r.id==t);n>-1&&e.circles.splice(n,1),yield e.db.storage.deleteCircle(t)})()}}Ro.DEFAULT=[{id:0,name:"Following",color:"#e91e63",style:1,public:!0},{id:1,name:"Text",color:"#7cb342",style:2,public:!0},{id:2,name:"Photo",color:"#ffb300",style:3,public:!0},{id:3,name:"Film",color:"#26c6da",style:4,public:!0},{id:4,name:"Music",color:"#ba9eea",style:5,public:!0},{id:5,name:"Podcast",color:"#ff8a65",style:6,public:!0},{id:6,name:"Private",color:"#607d8b",style:1,public:!1}],Ro.\u0275fac=function(t){return new(t||Ro)(Fe(Ra),Fe(an))},Ro.\u0275prov=Qe({token:Ro,factory:Ro.\u0275fac,providedIn:"root"});class Ba{constructor(t,e,n,r,a,o,c,h,f,x,P){this.nostr=t,this.ui=e,this.circleService=n,this.storage=r,this.queueService=a,this.profileService=o,this.appState=c,this.utilities=h,this.validator=f,this.eventService=x,this.relayService=P,this.daysToKeepProfiles=14,this.cleanProfileInterval=36e5,this.profileBatchSize=20,this.refreshUserProfile=72e5,this.connected=!1,this.connected$=this.appState.connected$.pipe(_t($=>!0===$)),this.isFetching=!1,this.profileQueue=[],this.queue=[],this.appState.connected$.subscribe($=>{console.log("Connection state changed: ",$),this.connected=$,this.connected&&this.initialDataLoad()})}publishRelays(){var t=this;return Se(function*(){const e=t.getArrayFomattedRelayList();let n={kind:10002,created_at:Math.floor(Date.now()/1e3),content:"",pubkey:t.appState.getPublicKey(),tags:e};const r=yield t.createAndSignEvent(n);r&&(console.log("PUBLISH EVENT:",r),t.relayService.publish(r))})()}getArrayFomattedRelayList(){return this.relayService.items.filter(t=>!0===t.public).map(t=>{let e=["r",t.url];return 2==t.type?e.push("read"):3==t.type&&e.push("write"),e})}getJsonFormattedRelayList(){let t={};return this.relayService.items.filter(e=>e.public).map(e=>{t[e.url]={read:1===e.type||2===e.type,write:1===e.type||3===e.type}}),t}createAndSignEvent(t){var e=this;return Se(function*(){let n=t;n.id=jd(t),n=yield e.nostr.sign(t);const r=e.eventService.processEvent(n);if(!r)throw new Error("The event is not valid. Cannot publish.");if(!zd(n))throw new Error("The event is not valid. Cannot publish.");if(!(yield op(r)))throw new Error("The event signature not valid. Maybe you choose a different account than the one specified?");return r})()}getContactsAndRelays(){var t=this;return Se(function*(){return yield t.storage.storage.getContacts(t.appState.getPublicKey())})()}publishContactsAndRelays(){var t=this;return Se(function*(){const e=t.circleService.circles.filter(h=>!h.public).map(h=>h.id),r=t.profileService.following.filter(h=>-1==e.indexOf(h.circle)).map(h=>h.pubkey).map(h=>["p",h]),a=t.getJsonFormattedRelayList();let o={kind:$n.Contacts,created_at:Math.floor(Date.now()/1e3),content:JSON.stringify(a),pubkey:t.appState.getPublicKey(),tags:r};const c=yield t.createAndSignEvent(o);c&&(console.log("PUBLISH EVENT:",c),t.relayService.publish(c))})()}initialDataLoad(){var t=this;return Se(function*(){t.relayService.subscribe([{authors:[t.appState.getPublicKey()],kinds:[$n.Metadata,$n.Contacts]}],"self"),t.profileService.following.map(r=>r.pubkey).unshift(t.appState.getPublicKey()),t.relayService.subscribe([{"#p":[t.appState.getPublicKey()],limit:100,kinds:[$n.Text,$n.Reaction,6]}],"notifications");const n=yield t.storage.storage.getNotifications(10);t.ui.putNotifications(n)})()}initialize(){var t=this;return Se(function*(){setTimeout(Se(function*(){yield t.cleanProfiles()}),t.cleanProfileInterval)})()}enque(t){this.relayService.action("enque",t)}processQueues(){}processEventQueue(){}processProfileQueue(){}processContactsQueue(){}downloadNewestProfiles(t,e=1e4,n=-1){return this.downloadNewestProfileEvents(t,e,n).pipe(_t(r=>r?this.utilities.mapProfileEvent(r):void 0))}downloadNewestProfileEvents(t,e=1e4,n=-1){return this.downloadNewestProfileEventByQuery([{kinds:[0],authors:t}],e,n)}downloadNewestEvents(t,e,n=1e4,r=-1){return this.downloadNewestEventsByQuery([{kinds:e,authors:t}],n,r)}downloadEventsByTags(t,e=1e4){return this.downloadEventsByQuery(t)}downloadEvent(t,e=5e3){return this.downloadEventByQuery([{ids:[t]}],e)}downloadEventByQuery(t,e=1e4){let n;return this.connected$.pipe(vi(()=>this.relayService.connectedRelays())).pipe(vi(r=>this.downloadFromRelay(t,r,e))).pipe(qi(r=>!n&&(n=r,!0))).pipe(Wv(e),Zo(r=>(console.warn("The observable was timed out."),Ht(void 0))))}downloadNewestEventsByQuery(t,e=1e4,n=-1){const r=[];return Pn(...this.relayService.connectedRelays().map(o=>this.downloadFromRelay(t,o))).pipe(qi((o,c)=>{let h=!1;return r.findIndex(x=>x.id===o.id)>-1?h=!1:(r.push(o),h=!0),n>-1&&0!=n&&n--,h})).pipe(Wv(e),Zo(o=>(console.warn("The observable was timed out."),Ht(void 0))))}downloadNewestProfileEventByQuery(t,e=1e4,n=-1){return Pn(...this.relayService.connectedRelays().map(a=>this.downloadFromRelay(t,a))).pipe(Wv(e),Zo(a=>(console.warn("The observable was timed out."),Ht(void 0))))}downloadEventsByQuery(t,e=1e4){return this.connected$.pipe(vi(()=>this.relayService.connectedRelays())).pipe(vi(n=>this.downloadFromRelay(t,n)))}updateMetadata(t){var e=this;return Se(function*(){const n=e.utilities.reduceProfile(t);let r=e.createEvent($n.Metadata,JSON.stringify(n));const a=yield e.signEvent(r);t.created_at=r.created_at,yield e.profileService.updateProfile(t.pubkey,t),yield e.publishEvent(a)})()}downloadFromRelay(t,e,n=1e4){return new mt(r=>{const a=e.sub([...t],{});return a.on("event",o=>{const c=this.eventService.processEvent(o);c&&r.next(c)}),a.on("eose",()=>{r.complete()}),()=>{a.unsub()}}).pipe(Wv(n),Zo(r=>(console.warn("The observable was timed out."),Ht())))}fetchProfiles(t,e){var n=this;if(!e||0===e.length)return;setTimeout(()=>{this.isFetching=!1;try{r.unsub()}catch(a){console.warn("Error during automatic failover for profile fetch.",a)}},3e4),this.isFetching=!0;let r=t.sub([{kinds:[0],authors:e}],{});r.on("event",function(){var a=Se(function*(o){const c=n.eventService.processEvent(o);if(c)try{const h=JSON.parse(c.content);n.validator.sanitizeProfile(h).created_at=c.created_at}catch{console.warn("This profile event was not parsed due to errors:",c)}});return function(o){return a.apply(this,arguments)}}()),r.on("eose",()=>{r.unsub(),this.isFetching=!1})}cleanProfiles(){return Se(function*(){})()}createEvent(t,e){return this.createEventWithPubkey(t,e,this.appState.getPublicKey())}createEventWithPubkey(t,e,n){return{kind:t,created_at:Math.floor(Date.now()/1e3),content:e,pubkey:n,tags:[]}}signArticle(t){var e=this;return Se(function*(){let n=t;if(n=yield e.nostr.sign(t),!e.eventService.processEvent(n))throw new Error("The event is not valid. Cannot publish.");if(!zd(n))throw new Error("The event is not valid. Cannot publish.");if(!(yield op(n)))throw new Error("The event signature not valid. Maybe you choose a different account than the one specified?");return n})()}signBadgeDefinition(t){var e=this;return Se(function*(){return e.signArticle(t)})()}signEvent(t){var e=this;return Se(function*(){let n=t;return n.id||(n.id=jd(t)),e.signArticle(n)})()}publishEvent(t){var e=this;return Se(function*(){e.relayService.publish(t)})()}publishContacts(t){var e=this;return Se(function*(){const n=t.map(f=>["p",f]);let r={kind:3,created_at:Math.floor(Date.now()/1e3),content:"",pubkey:e.appState.getPublicKey(),tags:n},a=r;a.id=jd(r),a=yield e.nostr.sign(r);const o=e.eventService.processEvent(a);if(!zd(a))throw new Error("The event is not valid. Cannot publish.");if(!(yield op(a)))throw new Error("The event signature not valid. Maybe you choose a different account than the one specified?");if(o){console.log("PUBLISH EVENT:",a);for(let f=0;f<e.relayService.relays.length;f++){const x=e.relayService.relays[f];let P=x.publish(o);P.on("ok",()=>{console.log(`${x.url} has accepted our event`)}),P.on("failed",$=>{console.log(`failed to publish to ${x.url}: ${$}`)})}}})()}}Ba.\u0275fac=function(t){return new(t||Ba)(Fe(El),Fe($r),Fe(Ro),Fe(Ra),Fe(es),Fe(Hn),Fe(Zi),Fe(an),Fe(Xo),Fe(Jo),Fe(Mo))},Ba.\u0275prov=Qe({token:Ba,factory:Ba.\u0275fac,providedIn:"root"});var Gv=new WeakMap;class yo{constructor(t,e,n,r){mn(this,Gv,{writable:!0,value:void 0}),this.router=t,this.dialog=e,this.appState=n,this.dataService=r,hi(this,Gv,new Hi(void 0)),this.showMore$=Pe(this,Gv).asObservable(),this.currentThread=[]}showMore(){Pe(this,Gv).next()}openFeed(t,e){const n=t.composedPath();!n||0==n.length||-1!=n[0].className.indexOf("clickable")&&this.router.navigate(["/feed",e.id])}openEvent(t,e){this.currentEvent=e;const n=t.composedPath();n&&0!=n.length&&-1!=n[0].className.indexOf("clickable")&&this.router.navigate(["/e",e.id])}openProfile(t,e){this.currentProfile=e;const n=t.composedPath();!n||0==n.length||-1!=n[0].className.indexOf("clickable")&&this.router.navigate(["/p",e.pubkey])}saveNote(t){var e=this;return Se(function*(){console.log("save note data:",t);let n=t;"string"!=typeof n&&(n=JSON.stringify(n));let r=e.dataService.createEvent($n.Text,n);const a=yield e.dataService.signEvent(r);yield e.dataService.publishEvent(a),e.router.navigate(["/e",a.id])})()}saveArticle(t){var e=this;return Se(function*(){console.log("save article data:",t);let n=t.content;"string"!=typeof n&&(n=JSON.stringify(n));let r=e.dataService.createEvent($n.Article,n);t.slug&&r.tags.push(["d",t.slug]),t.summary&&r.tags.push(["summary",t.summary]),t.title&&r.tags.push(["title",t.title]),t.image&&r.tags.push(["image",t.image]),r.tags.push(t.published_at?["published_at",t.published_at.toString()]:["published_at",r.created_at.toString()]);const a=t.tags.split(",").filter(c=>c);for(let c=0;c<a.length;c++)r.tags.push(["t",a[c]]);const o=yield e.dataService.signArticle(r);yield e.dataService.publishEvent(o)})()}saveBadgeDefinition(t){var e=this;return Se(function*(){console.log("save badge data:",t);let n=e.dataService.createEvent(30009,"");t.slug&&n.tags.push(["d",t.slug]),t.description&&n.tags.push(["description",t.description]),t.name&&n.tags.push(["name",t.name]),t.image&&n.tags.push(["image",t.image]),t.thumb&&n.tags.push(["thumb",t.thumb]);const r=t.hashtags;for(let o=0;o<r.length;o++)n.tags.push(["t",r[o]]);const a=yield e.dataService.signBadgeDefinition(n);yield e.dataService.publishEvent(a)})()}issueBadge(t,e){var n=this;return Se(function*(){let r=n.dataService.createEvent(8,"");const a=`30009:${n.appState.getPublicKey()}:${t}`;r.tags.push(["a",a]);for(let c=0;c<e.length;c++){const h=e[c],f=["p",h.pubkey];h.relay&&f.push(h.relay),r.tags.push(f)}const o=yield n.dataService.signEvent(r);yield n.dataService.publishEvent(o)})()}createNote(){this.router.navigateByUrl("/editor")}}yo.\u0275fac=function(t){return new(t||yo)(Fe(qn),Fe(Ia),Fe(Zi),Fe(Ba))},yo.\u0275prov=Qe({token:yo,factory:yo.\u0275fac,providedIn:"root"});const Kne=["tooltip"],oO=new Ke("mat-tooltip-scroll-strategy"),Xne={provide:oO,deps:[ya],useFactory:function Zne(i){return()=>i.scrollStrategies.reposition({scrollThrottle:20})}},ere=new Ke("mat-tooltip-default-options",{providedIn:"root",factory:function Jne(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),sO="tooltip-panel",lO=Dd({passive:!0});let ore=(()=>{class i{get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=Ct(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){this._disabled=Ct(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=wr(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=wr(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(e,n,r,a,o,c,h,f,x,P,$,te){this._overlay=e,this._elementRef=n,this._scrollDispatcher=r,this._viewContainerRef=a,this._ngZone=o,this._platform=c,this._ariaDescriber=h,this._focusMonitor=f,this._dir=P,this._defaultOptions=$,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new He,this._scrollStrategy=x,this._document=te,$&&($.position&&(this.position=$.position),$.positionAtOrigin&&(this.positionAtOrigin=$.positionAtOrigin),$.touchGestures&&(this.touchGestures=$.touchGestures)),P.change.pipe(ii(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(ii(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([n,r])=>{e.removeEventListener(n,r,lO)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,n){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const r=this._createOverlay(n);this._detach(),this._portal=this._portal||new Hh(this._tooltipComponent,this._viewContainerRef);const a=this._tooltipInstance=r.attach(this._portal).instance;a._triggerElement=this._elementRef.nativeElement,a._mouseLeaveHideDelay=this._hideDelay,a.afterHidden().pipe(ii(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),a.show(e)}hide(e=this.hideDelay){const n=this._tooltipInstance;n&&(n.isVisible()?n.hide(e):(n._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){const a=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&a._origin instanceof gt)return this._overlayRef;this._detach()}const n=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&e||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(n);return r.positionChanges.pipe(ii(this._destroyed)).subscribe(a=>{this._updateCurrentPositionClass(a.connectionPair),this._tooltipInstance&&a.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${sO}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(ii(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(ii(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(ii(this._destroyed)).subscribe(a=>{this._isTooltipVisible()&&27===a.keyCode&&!ba(a)&&(a.preventDefault(),a.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const n=e.getConfig().positionStrategy,r=this._getOrigin(),a=this._getOverlayPosition();n.withPositions([this._addOffset({...r.main,...a.main}),this._addOffset({...r.fallback,...a.fallback})])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,n=this.position;let r;"above"==n||"below"==n?r={originX:"center",originY:"above"==n?"top":"bottom"}:"before"==n||"left"==n&&e||"right"==n&&!e?r={originX:"start",originY:"center"}:("after"==n||"right"==n&&e||"left"==n&&!e)&&(r={originX:"end",originY:"center"});const{x:a,y:o}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:a,originY:o}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,n=this.position;let r;"above"==n?r={overlayX:"center",overlayY:"bottom"}:"below"==n?r={overlayX:"center",overlayY:"top"}:"before"==n||"left"==n&&e||"right"==n&&!e?r={overlayX:"end",overlayY:"center"}:("after"==n||"right"==n&&e||"left"==n&&!e)&&(r={overlayX:"start",overlayY:"center"});const{x:a,y:o}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:a,overlayY:o}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(nn(1),ii(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,n){return"above"===this.position||"below"===this.position?"top"===n?n="bottom":"bottom"===n&&(n="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:n}}_updateCurrentPositionClass(e){const{overlayY:n,originX:r,originY:a}=e;let o;if(o="center"===n?this._dir&&"rtl"===this._dir.value?"end"===r?"left":"right":"start"===r?"left":"right":"bottom"===n&&"top"===a?"above":"below",o!==this._currentPosition){const c=this._overlayRef;if(c){const h=`${this._cssClassPrefix}-${sO}-`;c.removePanelClass(h+this._currentPosition),c.addPanelClass(h+o)}this._currentPosition=o}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{let n;this._setupPointerExitEventsIfNeeded(),void 0!==e.x&&void 0!==e.y&&(n=e),this.show(void 0,n)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{const n=e.targetTouches?.[0],r=n?{x:n.clientX,y:n.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,r),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",n=>{const r=n.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide()}],["wheel",n=>this._wheelListener(n)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const n=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",n],["touchcancel",n])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([n,r])=>{this._elementRef.nativeElement.addEventListener(n,r,lO)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const n=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;n!==r&&!r.contains(n)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const n=this._elementRef.nativeElement,r=n.style;("on"===e||"INPUT"!==n.nodeName&&"TEXTAREA"!==n.nodeName)&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),("on"===e||!n.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}}return i.\u0275fac=function(e){Wl()},i.\u0275dir=Oe({type:i,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),i})(),As=(()=>{class i extends ore{constructor(e,n,r,a,o,c,h,f,x,P,$,te){super(e,n,r,a,o,c,h,f,x,P,$,te),this._tooltipComponent=lre,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(e){const r=!this._dir||"ltr"==this._dir.value;return"top"===e.originY?e.offsetY=-8:"bottom"===e.originY?e.offsetY=8:"start"===e.originX?e.offsetX=r?-8:8:"end"===e.originX&&(e.offsetX=r?8:-8),e}}return i.\u0275fac=function(e){return new(e||i)(k(ya),k(gt),k(Cu),k(kr),k(Rt),k(Bn),k(hC),k(Ka),k(oO),k(Or,8),k(ere,8),k(Mi))},i.\u0275dir=Oe({type:i,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],exportAs:["matTooltip"],features:[ot]}),i})(),sre=(()=>{class i{constructor(e,n){this._changeDetectorRef=e,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new He,this._animationsDisabled="NoopAnimations"===n}show(e){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const n=this._tooltip.nativeElement,r=this._showAnimation,a=this._hideAnimation;if(n.classList.remove(e?a:r),n.classList.add(e?r:a),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const o=getComputedStyle(n);("0s"===o.getPropertyValue("animation-duration")||"none"===o.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(n.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return i.\u0275fac=function(e){return new(e||i)(k(ni),k(Ln,8))},i.\u0275dir=Oe({type:i}),i})(),lre=(()=>{class i extends sre{constructor(e,n,r){super(e,r),this._elementRef=n,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>24&&e.width>=200}}return i.\u0275fac=function(e){return new(e||i)(k(ni),k(gt),k(Ln,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-tooltip-component"]],viewQuery:function(e,n){if(1&e&&Lt(Kne,7),2&e){let r;Ze(r=Xe())&&(n._tooltip=r.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,n){1&e&&pe("mouseleave",function(a){return n._handleMouseLeave(a)}),2&e&&sr("zoom",n.isVisible()?1:null)},features:[ot],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(e,n){1&e&&(_(0,"div",0,1),pe("animationend",function(a){return n._handleAnimationEnd(a)}),_(2,"div",2),N(3),F()()),2&e&&(Mt("mdc-tooltip--multiline",n._isMultiline),S("ngClass",n.tooltipClass),E(3),yt(n.message))},dependencies:[qa],styles:['.mdc-tooltip__surface{word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color, #fff)}.mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font, inherit);font-size:var(--mdc-plain-tooltip-supporting-text-size, inherit);font-weight:var(--mdc-plain-tooltip-supporting-text-weight, inherit);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, inherit)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:-8px;right:-8px;bottom:-8px;left:-8px;z-index:-1;position:absolute}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0}),i})(),cO=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[Xne],imports:[Pf,Dr,Nc,Qt,Qt,Lc]}),i})();function cre(i,t){1&i&&(_(0,"mat-icon",1),N(1,"public"),F()),2&i&&S("matTooltip",t.$implicit)}class Tl{constructor(t){this.profiles=t,this.pubkey=""}ngOnInit(){var t=this;return Se(function*(){t.profile||(t.profile=yield t.profiles.getLocalProfile(t.pubkey)),t.profile&&(t.verifications=t.profile.verifications)})()}}function dre(i,t){1&i&&(_(0,"span"),N(1,", "),F())}function ure(i,t){if(1&i&&(_(0,"span"),N(1),ee(2,dre,2,0,"span",1),F()),2&i){const e=t.$implicit,n=t.last;E(1),Gt(" ",e,""),E(1),S("ngIf",!n)}}Tl.\u0275fac=function(t){return new(t||Tl)(k(Hn))},Tl.\u0275cmp=qe({type:Tl,selectors:[["app-directory-icon"]],inputs:{pubkey:"pubkey",profile:"profile"},decls:1,vars:1,consts:[["class","directory-icon",3,"matTooltip",4,"ngFor","ngForOf"],[1,"directory-icon",3,"matTooltip"]],template:function(t,e){1&t&&ee(0,cre,2,1,"mat-icon",0),2&t&&S("ngForOf",e.verifications)},dependencies:[vn,Qn,As],encapsulation:2});class n0{constructor(t){this.utilities=t,this.relayNames=[]}ngOnInit(){var t=this;return Se(function*(){if(t.relayNames=[],null==t.relays)return;const e=JSON.parse(t.relays);t.relayNames=t.utilities.getRelayUrls(e)})()}}n0.\u0275fac=function(t){return new(t||n0)(k(an))},n0.\u0275cmp=qe({type:n0,selectors:[["app-relay-list"]],inputs:{relays:"relays"},decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[4,"ngIf"]],template:function(t,e){1&t&&ee(0,ure,3,2,"span",0),2&t&&S("ngForOf",e.relayNames)},dependencies:[vn,ri],encapsulation:2});class r0{constructor(t){this.utilities=t}transform(t){return t&&(t.startsWith("npub")?t:this.utilities.getNostrIdentifier(t))}}function hre(i,t){if(1&i&&Ce(0,"img",8),2&i){const e=Q();sr("border-color",null==e.circle?null:e.circle.color),S("matTooltip",e.tooltip)("src",e.imagePath,hn)}}function mre(i,t){if(1&i&&Ce(0,"img",9),2&i){const e=Q();S("matTooltip",e.tooltip)("src",e.imagePath,hn)}}r0.\u0275fac=function(t){return new(t||r0)(k(an,16))},r0.\u0275pipe=Mr({name:"bech32",type:r0,pure:!0});const dO=function(i){return["/p",i]};function fre(i,t){if(1&i&&(_(0,"div",10)(1,"a",2)(2,"span",11),N(3),F()()()),2&i){const e=Q();E(1),S("routerLink",yn(5,dO,e.pubkey)),E(1),Mt("muted",2==(null==e.profile?null:e.profile.status)),S("matTooltip",e.tooltipName),E(1),yt(e.profileName)}}function pre(i,t){if(1&i&&(_(0,"div"),N(1),F(),_(2,"div"),N(3),F(),_(4,"div"),N(5),F(),_(6,"div"),N(7),F(),_(8,"div"),N(9),F(),_(10,"div"),N(11),F(),_(12,"div"),N(13),F()),2&i){const e=Q();E(1),yt(null==e.profile?null:e.profile.display_name),E(2),yt(null==e.profile?null:e.profile.name),E(2),yt(null==e.profile?null:e.profile.nip05),E(2),yt(null==e.profile?null:e.profile.website),E(2),yt(null==e.profile?null:e.profile.lud06),E(2),yt(null==e.profile?null:e.profile.lud16),E(2),yt(null==e.profile||null==e.profile.following?null:e.profile.following.length)}}function gre(i,t){if(1&i&&(_(0,"div")(1,"span",16),N(2,"Display Name:"),F(),N(3),F()),2&i){const e=Q(3);E(3),Gt(" ",e.profile.display_name,"")}}function _re(i,t){if(1&i&&(_(0,"div")(1,"span",16),N(2,"Name:"),F(),N(3),F()),2&i){const e=Q(3);E(3),Gt(" ",e.profile.name,"")}}function bre(i,t){if(1&i&&(_(0,"div")(1,"span",16),N(2,"NIP05:"),F(),N(3),F()),2&i){const e=Q(3);E(3),Gt(" ",e.profile.nip05,"")}}function yre(i,t){if(1&i&&(_(0,"div")(1,"span",16),N(2,"Public Key (npub):"),F(),N(3),mi(4,"bech32"),F()),2&i){const e=Q(3);E(3),Gt(" ",gi(4,1,e.profile.pubkey),"")}}function vre(i,t){if(1&i&&(_(0,"div")(1,"span",16),N(2,"Public Key (hex):"),F(),N(3),F()),2&i){const e=Q(3);E(3),Gt(" ",e.profile.pubkey,"")}}function wre(i,t){if(1&i&&(_(0,"div")(1,"span",16),N(2,"Website:"),F(),N(3),F()),2&i){const e=Q(3);E(3),Gt(" ",e.profile.website,"")}}function Fre(i,t){if(1&i&&(_(0,"div")(1,"span",16),N(2,"lud06:"),F(),N(3),F()),2&i){const e=Q(3);E(3),Gt(" ",e.profile.lud06,"")}}function xre(i,t){if(1&i&&(_(0,"div")(1,"span",16),N(2,"lud16:"),F(),N(3),F()),2&i){const e=Q(3);E(3),Gt(" ",e.profile.lud16,"")}}function Cre(i,t){if(1&i&&(_(0,"div")(1,"span",16),N(2,"Following:"),F(),N(3),F()),2&i){const e=Q(3);E(3),Gt(" ",e.profile.following.length,"")}}function kre(i,t){if(1&i&&(_(0,"div")(1,"span",16),N(2,"About:"),F(),N(3),F()),2&i){const e=Q(3);E(3),Gt(" ",e.profile.about,"")}}function Dre(i,t){if(1&i&&(_(0,"div")(1,"span",16),N(2,"Relays:"),F(),Ce(3,"app-relay-list",17),F()),2&i){const e=Q(3);E(3),S("relays",e.profile.relays)}}function Mre(i,t){if(1&i&&(_(0,"div",14),ee(1,gre,4,1,"div",15),ee(2,_re,4,1,"div",15),ee(3,bre,4,1,"div",15),ee(4,yre,5,3,"div",15),ee(5,vre,4,1,"div",15),ee(6,wre,4,1,"div",15),ee(7,Fre,4,1,"div",15),ee(8,xre,4,1,"div",15),ee(9,Cre,4,1,"div",15),ee(10,kre,4,1,"div",15),ee(11,Dre,4,1,"div",15),F()),2&i){const e=Q(2);E(1),S("ngIf",e.profile.display_name),E(1),S("ngIf",e.profile.name),E(1),S("ngIf",e.profile.nip05),E(1),S("ngIf",e.profile.pubkey),E(1),S("ngIf",e.profile.pubkey),E(1),S("ngIf",e.profile.website),E(1),S("ngIf",e.profile.lud06),E(1),S("ngIf",e.profile.lud16),E(1),S("ngIf",e.profile.following),E(1),S("ngIf",e.profile.about),E(1),S("ngIf",e.profile.relays)}}function Ere(i,t){if(1&i&&(_(0,"div",12),Ft(1),ee(2,Mre,12,11,"div",13),F()),2&i){const e=Q();E(2),S("ngIf",e.profile&&"content"==e.listType)}}const uO=function(i){return[i]};var qv=new WeakMap,a0=new WeakMap;class ms{set profile(t){hi(this,qv,t),hi(this,a0,t.pubkey),this.updateProfileDetails()}get profile(){return Pe(this,qv)}set pubkey(t){var e=this;hi(this,a0,t),this.profiles.getProfile(t).then(function(){var n=Se(function*(r){hi(e,qv,r),yield e.updateProfileDetails()});return function(r){return n.apply(this,arguments)}}())}get pubkey(){return Pe(this,a0)}constructor(t,e,n,r,a){mn(this,qv,{writable:!0,value:void 0}),mn(this,a0,{writable:!0,value:void 0}),this.ui=t,this.queueService=e,this.profiles=n,this.circleService=r,this.utilities=a,this.displayName=!0,this.displayContent=!0,this.iconSize="small",this.listType="list",hi(this,a0,""),this.imagePath="/assets/profile.png",this.tooltip="",this.tooltipName="",this.profileName="",this.subscriptions=[]}ngAfterViewInit(){}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}ngOnChanges(t){}ngOnInit(){return Se(function*(){})()}updateProfileDetails(){var t=this;return Se(function*(){t.profile&&(t.profile.picture&&(t.imagePath=t.profile.picture),t.tooltip=t.profile.about,t.tooltipName=t.profileName,t.profileName=t.profile.display_name||t.profile.name||t.profileName,t.circle=yield t.circleService.get(t.profile.circle))})()}}ms.\u0275fac=function(t){return new(t||ms)(k($r),k(es),k(Hn),k(Ro),k(an))},ms.\u0275cmp=qe({type:ms,selectors:[["app-event-header"]],inputs:{displayName:"displayName",displayContent:"displayContent",iconSize:"iconSize",listType:"listType",profile:"profile",pubkey:"pubkey"},features:[or],ngContentSelectors:["*"],decls:8,vars:14,consts:[[1,"event-header",3,"ngClass"],[1,"icon",3,"ngClass"],[3,"routerLink"],["onerror","this.src='/assets/profile.png'","class","profile-image profile-image-follow","matTooltipPosition","above",3,"matTooltip","borderColor","src",4,"ngIf"],["loading","lazy","onerror","this.src='/assets/profile.png'","class","profile-image","matTooltipPosition","above",3,"matTooltip","src",4,"ngIf"],["class","name clickable",4,"ngIf"],[3,"ngIf"],["class","date clickable",4,"ngIf"],["onerror","this.src='/assets/profile.png'","matTooltipPosition","above",1,"profile-image","profile-image-follow",3,"matTooltip","src"],["loading","lazy","onerror","this.src='/assets/profile.png'","matTooltipPosition","above",1,"profile-image",3,"matTooltip","src"],[1,"name","clickable"],["matTooltipPosition","above",3,"matTooltip"],[1,"date","clickable"],["class","content-items",4,"ngIf"],[1,"content-items"],[4,"ngIf"],[1,"content-item-label"],[3,"relays"]],template:function(t,e){1&t&&(Bi(),_(0,"div",0)(1,"div",1)(2,"a",2),ee(3,hre,1,4,"img",3),ee(4,mre,1,2,"img",4),F()(),ee(5,fre,4,7,"div",5),ee(6,pre,14,7,"ng-template",6),ee(7,Ere,3,1,"div",7),F()),2&t&&(S("ngClass",yn(8,uO,"event-header-"+e.listType)),E(1),S("ngClass",yn(10,uO,"icon-"+e.iconSize)),E(1),S("routerLink",yn(12,dO,e.pubkey)),E(1),S("ngIf",1==(null==e.profile?null:e.profile.status)||2==(null==e.profile?null:e.profile.status)),E(1),S("ngIf",1!=(null==e.profile?null:e.profile.status)&&2!=(null==e.profile?null:e.profile.status)),E(1),S("ngIf",e.displayName),E(1),S("ngIf","details"==e.listType),E(1),S("ngIf",e.displayContent))},dependencies:[qa,ri,va,As,n0,r0],styles:[".icon-large[_ngcontent-%COMP%] .profile-image[_ngcontent-%COMP%]{width:256px;height:256px}.icon-medium[_ngcontent-%COMP%] .profile-image[_ngcontent-%COMP%]{object-fit:cover;width:128px;height:128px;border-radius:50%}.icon-thumbnail[_ngcontent-%COMP%] .profile-image[_ngcontent-%COMP%]{object-fit:cover;width:64px;height:64px;border-radius:50%;border-width:2px;margin-left:2px;margin-right:2px;margin-bottom:2px}.icon-small[_ngcontent-%COMP%] .profile-image[_ngcontent-%COMP%]{object-fit:cover;width:48px;height:48px;border-radius:50%;border-width:2px;margin-left:4px;margin-right:4px;margin-bottom:2px}.content-items[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{word-wrap:break-word;line-break:anywhere}"]});class Xd{constructor(t,e){this.dialogRef=t,this.data=e}onNoClick(){this.data.picture="",this.dialogRef.close()}}Xd.\u0275fac=function(t){return new(t||Xd)(k(Ts),k(kl))},Xd.\u0275cmp=qe({type:Xd,selectors:[["profile-image-dialog"]],decls:1,vars:1,consts:[["loading","lazy",1,"profile-image-original",3,"src","click"]],template:function(t,e){1&t&&(_(0,"img",0),pe("click",function(){return e.onNoClick()}),F()),2&t&&S("src",e.data.picture,hn)},styles:[".profile-image-original[_ngcontent-%COMP%]{max-width:100%;cursor:pointer}"]});class fm{getKeyword(t){return this.keywords.get(t)}constructor(){this.regexpVideo=/(?:(?:https?)+\:\/\/+[a-zA-Z0-9\/\._-]{1,})+(?:(?:mp4|webm))/gi,this.regexpImage=/(?:(?:https?)+\:\/\/+[a-zA-Z0-9\/\._-]{1,})+(?:(?:jpe?g|png|gif|webp))/gi,this.regexpYouTube=/(?:https?:\/\/)?(?:www\.)?youtu\.?be(?:\.com)?\/?.*(?:watch|embed)?(?:.*v=|v\/|\/)([\w-_]+)/gim,this.regexpThisIsTheWay=/(?:thisistheway.gif)/g,this.regexpAlwaysHasBeen=/(?:alwayshasbeen.jpg)/g,this.regexpSpotify=/((http|https?)?(.+?\.?)(open.spotify.com)(.+?\.?)?)/gi,this.regexpTidal=/((http|https?)?(.+?\.?)(tidal.com)(.+?\.?)?)/gi,this.regexpUrl=/([\w+]+\:\/\/)?([\w\d-]+\.)*[\w-]+[\.\:]\w+([\/\?\=\&\#.]?[\w-]+)*\/?/gi,this.keywords=new Map,this.keywords.set("<br>",{token:"linebreak"}),this.keywords.set("<br/>",{token:"linebreak"}),this.keywords.set("thisistheway.gif",{token:"meme",tooltip:"This is the way (thisistheway.gif)",word:"https://i.ytimg.com/vi/LaiN63o_BxA/maxresdefault.jpg"}),this.keywords.set("thisistheway.jpg",{token:"meme",tooltip:"This is the way (thisistheway.jpg)",word:"https://i.ytimg.com/vi/LaiN63o_BxA/maxresdefault.jpg"}),this.keywords.set("alwayshasbeen.gif",{token:"meme",tooltip:"Always has been (alwayshasbeen.gif)",word:"https://imgflip.com/s/meme/Always-Has-Been.png"}),this.keywords.set("alwayshasbeen.jpg",{token:"meme",tooltip:"Always has been (alwayshasbeen.jpg)",word:"https://imgflip.com/s/meme/Always-Has-Been.png"}),this.keywords.set("onehourlater.gif",{token:"meme",tooltip:"One hour later (onehourlater.gif)",word:"https://i.giphy.com/media/3ogwG36LKIkM937ZG8/giphy.webp"}),this.keywords.set("onehourlater.jpg",{token:"meme",tooltip:"One hour later (onehourlater.jpg)",word:"https://i.giphy.com/media/3ogwG36LKIkM937ZG8/giphy.webp"});for(let t=0;t<100;t++)this.keywords.set("#["+t+"]",{token:"username"})}}fm.\u0275fac=function(t){return new(t||fm)},fm.\u0275prov=Qe({token:fm,factory:fm.\u0275fac,providedIn:"root"});class Jd{get canPrevious(){return this.index>0}get canNext(){return this.index<this.media.length-1}constructor(t,e,n){var r=this;this.options=t,this.snackBar=e,this.utilities=n,this.media=[],this.index=0,this.videoMode=!1,navigator.mediaSession.setActionHandler("play",Se(function*(){if(r.audio)try{yield r.audio.play()}catch(a){console.error(a.name,a.message)}})),navigator.mediaSession.setActionHandler("pause",()=>{this.audio&&this.audio.pause()}),navigator.mediaSession.setActionHandler("seekbackward",()=>{this.rewind(10)}),navigator.mediaSession.setActionHandler("seekforward",()=>{this.forward(10)}),navigator.mediaSession.setActionHandler("previoustrack",()=>{this.canPrevious&&this.previous()}),navigator.mediaSession.setActionHandler("nexttrack",()=>{this.canNext&&this.next()})}exit(){this.audio&&(this.audio.pause(),this.audio.currentTime=0,this.audio=void 0),this.index=-1,this.current=void 0,this.options.values.showMediaPlayer=!1,this.media=[]}play(t){this.options.values.showMediaPlayer=!0,this.media=[],this.media.push(t),this.start()}enque(t){this.options.values.showMediaPlayer=!0,this.media.push(t)}dequeue(t){const e=this.media.findIndex(n=>n===t);-1!==e&&this.media.splice(e,1)}start(){var t=this;return Se(function*(){-1===t.index&&(t.index=0);const e=t.media[t.index];e&&(t.current=e,t.options.values.showMediaPlayer=!0,"YouTube"===e.type?(t.videoMode=!0,t.youtubeUrl=t.utilities.sanitizeUrlAndBypassFrame(e.source+"?autoplay=1")):"Video"===e.type?(t.videoMode=!0,t.videoUrl=t.utilities.sanitizeUrlAndBypassFrame(e.source)):(t.videoMode=!1,t.audio?t.audio.src=e.source:t.audio=new Audio(e.source),yield t.audio.play()),navigator.mediaSession.metadata=new MediaMetadata({title:e.title,artist:e.artist,album:"Blockcore Notes",artwork:[{src:e.artwork}]}),navigator.mediaSession.playbackState="playing")})()}resume(){var t=this;return Se(function*(){if(t.videoMode)t.youtubeUrl=t.pausedYouTubeUrl,t.pausedYouTubeUrl=void 0;else{if(!t.audio)return void t.start();console.log("RESUME!");try{yield t.audio.play()}catch(e){console.error(e)}}navigator.mediaSession.playbackState="playing"})()}pause(){if(this.videoMode)this.pausedYouTubeUrl=this.youtubeUrl,this.youtubeUrl=void 0;else{if(!this.audio)return;this.audio.pause()}navigator.mediaSession.playbackState="paused"}next(){this.index++,this.start()}previous(){this.index--,this.start()}get error(){return this.audio?.error}get paused(){return this.videoMode?null==this.youtubeUrl:!this.audio||this.audio.paused}get muted(){return!!this.audio&&this.audio.muted}get time(){return this.audio?Math.floor(this.audio.currentTime):10}set time(t){this.audio&&(this.audio.currentTime=t)}get duration(){return this.audio?Math.floor(this.audio.duration):100}mute(){this.audio&&(this.audio.muted=!this.audio.muted)}forward(t){this.audio&&(this.audio.currentTime+=t)}rewind(t){this.audio&&(this.audio.currentTime-=t)}rate(){this.audio&&(console.log(this.audio.playbackRate),this.audio.playbackRate=2==this.audio.playbackRate?1:2)}}function Tre(i,t){1&i&&(_(0,"span",8),Ft(1,1),F())}function Are(i,t){1&i&&(_(0,"span",9),Ft(1,2),F())}Jd.\u0275fac=function(t){return new(t||Jd)(Fe(Sr),Fe(us),Fe(an))},Jd.\u0275prov=Qe({token:Jd,factory:Jd.\u0275fac,providedIn:"root"});const hO=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],mO=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function Ire(i,t){1&i&&(_(0,"span",9),Ft(1,1),_(2,"span",10),mo(),_(3,"svg",11),Ce(4,"path",12),F()()())}function Lre(i,t){1&i&&(_(0,"span",13),Ft(1,2),F())}const fO='.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic{height:24px;width:24px;font-size:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 14px 14px 14px 14px)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size, 28px);width:var(--mdc-chip-with-avatar-avatar-size, 28px);font-size:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width, 1px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-outline-width, 1px)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--selected) .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-unselected-outline-width, 1px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size, 18px);width:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, currentColor)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{width:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}';function Nre(i,t){if(1&i&&(kn(0),Ce(1,"span",9)(2,"span",10),Dn()),2&i){const e=Q();E(1),S("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e._isRippleCentered)("matRippleTrigger",e._elementRef.nativeElement)}}function Ore(i,t){1&i&&(_(0,"span",11),Ft(1),F())}function Rre(i,t){1&i&&(kn(0),Ft(1,1),Dn())}function Pre(i,t){1&i&&Ft(0,2,["*ngIf","contentEditInput; else defaultMatChipEditInput"])}function Bre(i,t){1&i&&Ce(0,"span",14)}function Hre(i,t){if(1&i&&(kn(0),ee(1,Pre,1,0,"ng-content",12),ee(2,Bre,1,0,"ng-template",null,13,ko),Dn()),2&i){const e=Li(3),n=Q();E(1),S("ngIf",n.contentEditInput)("ngIfElse",e)}}function Vre(i,t){1&i&&(_(0,"span",15),Ft(1,3),F())}const Yre=[[["mat-chip-avatar"],["","matChipAvatar",""]],"*",[["","matChipEditInput",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],jre=["mat-chip-avatar, [matChipAvatar]","*","[matChipEditInput]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],GD=["*"],pO=".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}",$v=new Ke("mat-chips-default-options"),gO=new Ke("MatChipAvatar"),_O=new Ke("MatChipTrailingIcon"),bO=new Ke("MatChipRemove"),Kv=new Ke("MatChip");class zre{}const Ure=Rc(zre,-1);let xp=(()=>{class i extends Ure{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(e){this._disabled=Ct(e)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(e,n){super(),this._elementRef=e,this._parentChip=n,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===e.nativeElement.nodeName&&e.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(e){!this.disabled&&this.isInteractive&&this._isPrimary&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Kv))},i.\u0275dir=Oe({type:i,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(e,n){1&e&&pe("click",function(a){return n._handleClick(a)})("keydown",function(a){return n._handleKeydown(a)}),2&e&&(It("tabindex",n._getTabindex())("disabled",n._getDisabledAttribute())("aria-disabled",n.disabled),Mt("mdc-evolution-chip__action--primary",n._isPrimary)("mdc-evolution-chip__action--presentational",!n.isInteractive)("mdc-evolution-chip__action--trailing",!n._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[ot]}),i})(),yO=(()=>{class i extends xp{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(e){this.disabled||(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!this.disabled&&(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275dir=Oe({type:i,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-mdc-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(e,n){2&e&&It("aria-hidden",null)},features:[Nt([{provide:bO,useExisting:i}]),ot]}),i})(),qre=0;const $re=Rc(ec(xl(Jl(class{constructor(i){this._elementRef=i}})),"primary"),-1);let Zu=(()=>{class i extends $re{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(e){this._value=e}get removable(){return this._removable}set removable(e){this._removable=Ct(e)}get highlighted(){return this._highlighted}set highlighted(e){this._highlighted=Ct(e)}constructor(e,n,r,a,o,c,h,f){super(n),this._changeDetectorRef=e,this._ngZone=r,this._focusMonitor=a,this._globalRippleOptions=h,this._isRippleCentered=!1,this._onFocus=new He,this._onBlur=new He,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+qre++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new lt,this.destroyed=new lt,this.basicChipAttrName="mat-basic-chip";const x=n.nativeElement;this._document=o,this._animationsDisabled="NoopAnimations"===c,this._isBasicChip=x.hasAttribute(this.basicChipAttrName)||x.tagName.toLowerCase()===this.basicChipAttrName,null!=f&&(this.tabIndex=parseInt(f)??this.defaultTabIndex),this._monitorFocus()}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(e){(8===e.keyCode||46===e.keyCode)&&(e.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(e){return this._getActions().find(n=>{const r=n._elementRef.nativeElement;return r===e||r.contains(e)})}_getActions(){const e=[];return this.primaryAction&&e.push(this.primaryAction),this.removeIcon&&e.push(this.removeIcon),this.trailingIcon&&e.push(this.trailingIcon),e}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const n=null!==e;n!==this._hasFocusInternal&&(this._hasFocusInternal=n,n?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe(nn(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}}return i.\u0275fac=function(e){return new(e||i)(k(ni),k(gt),k(Rt),k(Ka),k(Mi),k(Ln,8),k(Ld,8),fo("tabindex"))},i.\u0275cmp=qe({type:i,selectors:[["mat-basic-chip"],["mat-chip"]],contentQueries:function(e,n,r){if(1&e&&(ui(r,gO,5),ui(r,_O,5),ui(r,bO,5)),2&e){let a;Ze(a=Xe())&&(n.leadingIcon=a.first),Ze(a=Xe())&&(n.trailingIcon=a.first),Ze(a=Xe())&&(n.removeIcon=a.first)}},viewQuery:function(e,n){if(1&e&&(Lt(da,5),Lt(xp,5)),2&e){let r;Ze(r=Xe())&&(n.ripple=r.first),Ze(r=Xe())&&(n.primaryAction=r.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(e,n){1&e&&pe("keydown",function(a){return n._handleKeydown(a)}),2&e&&(Ua("id",n.id),It("role",n.role)("tabindex",n.role?n.tabIndex:null)("aria-label",n.ariaLabel),Mt("mdc-evolution-chip",!n._isBasicChip)("mdc-evolution-chip--disabled",n.disabled)("mdc-evolution-chip--with-trailing-action",n._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",n.leadingIcon)("mdc-evolution-chip--with-primary-icon",n.leadingIcon)("mdc-evolution-chip--with-avatar",n.leadingIcon)("mat-mdc-chip-with-avatar",n.leadingIcon)("mat-mdc-chip-highlighted",n.highlighted)("mat-mdc-chip-disabled",n.disabled)("mat-mdc-basic-chip",n._isBasicChip)("mat-mdc-standard-chip",!n._isBasicChip)("mat-mdc-chip-with-trailing-icon",n._hasTrailingIcon())("_mat-animation-noopable",n._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[Nt([{provide:Kv,useExisting:i}]),ot],ngContentSelectors:mO,decls:9,vars:6,consts:[["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(e,n){1&e&&(Bi(hO),Ce(0,"span",0)(1,"span",1),_(2,"span",2)(3,"span",3),ee(4,Tre,2,0,"span",4),_(5,"span",5),Ft(6),Ce(7,"span",6),F()()(),ee(8,Are,2,0,"span",7)),2&e&&(S("matRippleDisabled",n._isRippleDisabled())("matRippleCentered",n._isRippleCentered)("matRippleTrigger",n._elementRef.nativeElement),E(3),S("isInteractive",!1),E(1),S("ngIf",n.leadingIcon),E(4),S("ngIf",n._hasTrailingIcon()))},dependencies:[ri,da,xp],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic{height:24px;width:24px;font-size:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 14px 14px 14px 14px)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size, 28px);width:var(--mdc-chip-with-avatar-avatar-size, 28px);font-size:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width, 1px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-outline-width, 1px)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--selected) .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-unselected-outline-width, 1px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size, 18px);width:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, currentColor)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{width:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),i})(),qD=(()=>{class i extends Zu{constructor(){super(...arguments),this._defaultOptions=ei($v,{optional:!0}),this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListHideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._selectable=!0,this._selected=!1,this.basicChipAttrName="mat-basic-chip-option",this.selectionChange=new lt}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(e){this._selectable=Ct(e),this._changeDetectorRef.markForCheck()}get selected(){return this._selected}set selected(e){this._setSelectedState(Ct(e),!1,!0)}get ariaSelected(){return this.selectable?this.selected.toString():null}ngOnInit(){this.role="presentation"}select(){this._setSelectedState(!0,!1,!0)}deselect(){this._setSelectedState(!1,!1,!0)}selectViaInteraction(){this._setSelectedState(!0,!0,!0)}toggleSelected(e=!1){return this._setSelectedState(!this.selected,e,!0),this.selected}_handlePrimaryActionInteraction(){this.selectable&&!this.disabled&&this.toggleSelected(!0)}_hasLeadingGraphic(){return!!this.leadingIcon||!this._chipListHideSingleSelectionIndicator||this._chipListMultiple}_setSelectedState(e,n,r){e!==this.selected&&(this._selected=e,r&&this.selectionChange.emit({source:this,isUserInput:n,selected:this.selected}),this._changeDetectorRef.markForCheck())}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275cmp=qe({type:i,selectors:[["mat-basic-chip-option"],["mat-chip-option"]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option","mdc-evolution-chip","mdc-evolution-chip--filter","mdc-evolution-chip--selectable"],hostVars:31,hostBindings:function(e,n){2&e&&(Ua("id",n.id),It("tabindex",null)("aria-label",null)("aria-description",null)("role",n.role),Mt("mat-mdc-chip-selected",n.selected)("mat-mdc-chip-multiple",n._chipListMultiple)("mat-mdc-chip-disabled",n.disabled)("mat-mdc-chip-with-avatar",n.leadingIcon)("mdc-evolution-chip--disabled",n.disabled)("mdc-evolution-chip--selected",n.selected)("mdc-evolution-chip--selecting",!n._animationsDisabled)("mdc-evolution-chip--with-trailing-action",n._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",n.leadingIcon)("mdc-evolution-chip--with-primary-graphic",n._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",n.leadingIcon)("mat-mdc-chip-highlighted",n.highlighted)("mat-mdc-chip-with-trailing-icon",n._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",selectable:"selectable",selected:"selected"},outputs:{selectionChange:"selectionChange"},features:[Nt([{provide:Zu,useExisting:i},{provide:Kv,useExisting:i}]),ot],ngContentSelectors:mO,decls:11,vars:12,consts:[["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"tabIndex","_allowFocusWhenDisabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(e,n){1&e&&(Bi(hO),Ce(0,"span",0)(1,"span",1),_(2,"span",2)(3,"button",3),ee(4,Ire,5,0,"span",4),_(5,"span",5),Ft(6),Ce(7,"span",6),F()()(),ee(8,Lre,2,0,"span",7),_(9,"span",8),N(10),F()),2&e&&(S("matRippleDisabled",n._isRippleDisabled())("matRippleCentered",n._isRippleCentered)("matRippleTrigger",n._elementRef.nativeElement),E(3),S("tabIndex",n.tabIndex)("_allowFocusWhenDisabled",!0),It("aria-selected",n.ariaSelected)("aria-label",n.ariaLabel)("aria-describedby",n._ariaDescriptionId),E(1),S("ngIf",n._hasLeadingGraphic()),E(4),S("ngIf",n._hasTrailingIcon()),E(1),S("id",n._ariaDescriptionId),E(1),yt(n.ariaDescription))},dependencies:[ri,da,xp],styles:[fO],encapsulation:2,changeDetection:0}),i})(),Qv=(()=>{class i{constructor(e,n){this._elementRef=e,this._document=n}initialize(e){this.getNativeElement().focus(),this.setValue(e)}getNativeElement(){return this._elementRef.nativeElement}setValue(e){this.getNativeElement().textContent=e,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){const e=this._document.createRange();e.selectNodeContents(this.getNativeElement()),e.collapse(!1);const n=window.getSelection();n.removeAllRanges(),n.addRange(e)}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Mi))},i.\u0275dir=Oe({type:i,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"]}),i})(),$D=(()=>{class i extends Zu{constructor(e,n,r,a,o,c,h,f){super(e,n,r,a,o,c,h,f),this.basicChipAttrName="mat-basic-chip-row",this._editStartPending=!1,this.editable=!1,this.edited=new lt,this._isEditing=!1,this.role="row",this._onBlur.pipe(ii(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_mousedown(e){this._isEditing||(this.disabled||this.focus(),e.preventDefault())}_handleKeydown(e){13!==e.keyCode||this.disabled?this._isEditing?e.stopPropagation():super._handleKeydown(e):this._isEditing?(e.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(e)}_doubleclick(e){!this.disabled&&this.editable&&this._startEditing(e)}_startEditing(e){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(e.target)===this.removeIcon)return;const n=this.value;this._isEditing=!0,this._editStartPending=!0,setTimeout(()=>{this._getEditInput().initialize(n),this._editStartPending=!1})}_onEditFinish(){this._isEditing=!1,this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_getEditInput(){return this.contentEditInput||this.defaultEditInput}}return i.\u0275fac=function(e){return new(e||i)(k(ni),k(gt),k(Rt),k(Ka),k(Mi),k(Ln,8),k(Ld,8),fo("tabindex"))},i.\u0275cmp=qe({type:i,selectors:[["mat-chip-row"],["mat-basic-chip-row"]],contentQueries:function(e,n,r){if(1&e&&ui(r,Qv,5),2&e){let a;Ze(a=Xe())&&(n.contentEditInput=a.first)}},viewQuery:function(e,n){if(1&e&&Lt(Qv,5),2&e){let r;Ze(r=Xe())&&(n.defaultEditInput=r.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(e,n){1&e&&pe("mousedown",function(a){return n._mousedown(a)})("dblclick",function(a){return n._doubleclick(a)}),2&e&&(Ua("id",n.id),It("tabindex",null)("aria-label",null)("aria-description",null)("role",n.role),Mt("mat-mdc-chip-with-avatar",n.leadingIcon)("mat-mdc-chip-disabled",n.disabled)("mat-mdc-chip-editing",n._isEditing)("mat-mdc-chip-editable",n.editable)("mdc-evolution-chip--disabled",n.disabled)("mdc-evolution-chip--with-trailing-action",n._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",n.leadingIcon)("mdc-evolution-chip--with-primary-icon",n.leadingIcon)("mdc-evolution-chip--with-avatar",n.leadingIcon)("mat-mdc-chip-highlighted",n.highlighted)("mat-mdc-chip-with-trailing-icon",n._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",editable:"editable"},outputs:{edited:"edited"},features:[Nt([{provide:Zu,useExisting:i},{provide:Kv,useExisting:i}]),ot],ngContentSelectors:jre,decls:11,vars:13,consts:[[4,"ngIf"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"tabIndex","disabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label",3,"ngSwitch"],[4,"ngSwitchCase"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing","role","gridcell",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[4,"ngIf","ngIfElse"],["defaultMatChipEditInput",""],["matChipEditInput",""],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(e,n){1&e&&(Bi(Yre),ee(0,Nre,3,3,"ng-container",0),_(1,"span",1)(2,"span",2),ee(3,Ore,2,0,"span",3),_(4,"span",4),ee(5,Rre,2,0,"ng-container",5),ee(6,Hre,4,2,"ng-container",5),Ce(7,"span",6),F()()(),ee(8,Vre,2,0,"span",7),_(9,"span",8),N(10),F()),2&e&&(S("ngIf",!n._isEditing),E(2),S("tabIndex",n.tabIndex)("disabled",n.disabled),It("role",n.editable?"button":null)("aria-label",n.ariaLabel)("aria-describedby",n._ariaDescriptionId),E(1),S("ngIf",n.leadingIcon),E(1),S("ngSwitch",n._isEditing),E(1),S("ngSwitchCase",!1),E(1),S("ngSwitchCase",!0),E(2),S("ngIf",n._hasTrailingIcon()),E(1),S("id",n._ariaDescriptionId),E(1),yt(n.ariaDescription))},dependencies:[ri,wu,Df,da,xp,Qv],styles:[fO],encapsulation:2,changeDetection:0}),i})();class Kre{constructor(t){}}const Qre=Rc(Kre);let o0=(()=>{class i extends Qre{get chipFocusChanges(){return this._getChipStream(e=>e._onFocus)}get chipDestroyedChanges(){return this._getChipStream(e=>e.destroyed)}get disabled(){return this._disabled}set disabled(e){this._disabled=Ct(e),this._syncChipsState()}get empty(){return 0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(e){this._explicitRole=e}get focused(){return this._hasFocusedChip()}constructor(e,n,r){super(e),this._elementRef=e,this._changeDetectorRef=n,this._dir=r,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new He,this._defaultRole="presentation",this._disabled=!1,this._explicitRole=null,this._chipActions=new Mc}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(e=>e._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(e=>{e.disabled=this._disabled,e._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(e){this._originatesFromChip(e)&&this._keyManager.onKeydown(e)}_isValidIndex(e){return e>=0&&e<this._chips.length}_allowFocusEscape(){const e=this.tabIndex;-1!==this.tabIndex&&(this.tabIndex=-1,Promise.resolve().then(()=>{this.tabIndex=e,this._changeDetectorRef.markForCheck()}))}_getChipStream(e){return this._chips.changes.pipe(jr(null),ia(()=>Pn(...this._chips.map(e))))}_originatesFromChip(e){let n=e.target;for(;n&&n!==this._elementRef.nativeElement;){if(n.classList&&n.classList.contains("mdc-evolution-chip"))return!0;n=n.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(jr(this._chips)).subscribe(e=>{const n=[];e.forEach(r=>r._getActions().forEach(a=>n.push(a))),this._chipActions.reset(n),this._chipActions.notifyOnChanges()}),this._keyManager=new Vg(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(e=>this._skipPredicate(e)),this.chipFocusChanges.pipe(ii(this._destroyed)).subscribe(({chip:e})=>{const n=e._getSourceAction(document.activeElement);n&&this._keyManager.updateActiveItem(n)}),this._dir?.change.pipe(ii(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e))}_skipPredicate(e){return!e.isInteractive||e.disabled}_trackChipSetChanges(){this._chips.changes.pipe(jr(null),ii(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(ii(this._destroyed)).subscribe(e=>{const r=this._chips.toArray().indexOf(e.chip);this._isValidIndex(r)&&e.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=r)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const e=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),n=this._chips.toArray()[e];n.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():n.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(ni),k(Or,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-chip-set"]],contentQueries:function(e,n,r){if(1&e&&ui(r,Zu,5),2&e){let a;Ze(a=Xe())&&(n._chips=a)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(e,n){1&e&&pe("keydown",function(a){return n._handleKeydown(a)}),2&e&&It("role",n.role)},inputs:{disabled:"disabled",role:"role"},features:[ot],ngContentSelectors:GD,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,n){1&e&&(Bi(),_(0,"span",0),Ft(1),F())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),i})();class Zre{constructor(t,e){this.source=t,this.value=e}}const Xre={provide:Fa,useExisting:di(()=>KD),multi:!0};let KD=(()=>{class i extends o0{constructor(){super(...arguments),this._onTouched=()=>{},this._onChange=()=>{},this._defaultRole="listbox",this._defaultOptions=ei($v,{optional:!0}),this._multiple=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.compareWith=(e,n)=>e===n,this._required=!1,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this.change=new lt}get multiple(){return this._multiple}set multiple(e){this._multiple=Ct(e),this._syncListboxProperties()}get selected(){const e=this._chips.toArray().filter(n=>n.selected);return this.multiple?e:e[0]}get selectable(){return this._selectable}set selectable(e){this._selectable=Ct(e),this._syncListboxProperties()}get required(){return this._required}set required(e){this._required=Ct(e)}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=Ct(e),this._syncListboxProperties()}get chipSelectionChanges(){return this._getChipStream(e=>e.selectionChange)}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}get value(){return this._value}set value(e){this.writeValue(e),this._value=e}ngAfterContentInit(){void 0!==this._pendingInitialValue&&Promise.resolve().then(()=>{this._setSelectionByValue(this._pendingInitialValue,!1),this._pendingInitialValue=void 0}),this._chips.changes.pipe(jr(null),ii(this._destroyed)).subscribe(()=>{this._syncListboxProperties()}),this.chipBlurChanges.pipe(ii(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe(ii(this._destroyed)).subscribe(e=>{this.multiple||this._chips.forEach(n=>{n!==e.source&&n._setSelectedState(!1,!1,!1)}),e.isUserInput&&this._propagateChanges()})}focus(){if(this.disabled)return;const e=this._getFirstSelectedChip();e&&!e.disabled?e.focus():this._chips.length>0?this._keyManager.setFirstItemActive():this._elementRef.nativeElement.focus()}writeValue(e){this._chips?this._setSelectionByValue(e,!1):null!=e&&(this._pendingInitialValue=e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_setSelectionByValue(e,n=!0){this._clearSelection(),Array.isArray(e)?e.forEach(r=>this._selectValue(r,n)):this._selectValue(e,n)}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_keydown(e){9===e.keyCode&&super._allowFocusEscape()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck()}_propagateChanges(){let e=null;e=Array.isArray(this.selected)?this.selected.map(n=>n.value):this.selected?this.selected.value:void 0,this._value=e,this.change.emit(new Zre(this,e)),this._onChange(e),this._changeDetectorRef.markForCheck()}_clearSelection(e){this._chips.forEach(n=>{n!==e&&n.deselect()})}_selectValue(e,n){const r=this._chips.find(a=>null!=a.value&&this.compareWith(a.value,e));return r&&(n?r.selectViaInteraction():r.select()),r}_syncListboxProperties(){this._chips&&Promise.resolve().then(()=>{this._chips.forEach(e=>{e._chipListMultiple=this.multiple,e.chipListSelectable=this._selectable,e._chipListHideSingleSelectionIndicator=this.hideSingleSelectionIndicator,e._changeDetectorRef.markForCheck()})})}_getFirstSelectedChip(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected}_skipPredicate(e){return!e.isInteractive}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275cmp=qe({type:i,selectors:[["mat-chip-listbox"]],contentQueries:function(e,n,r){if(1&e&&ui(r,qD,5),2&e){let a;Ze(a=Xe())&&(n._chips=a)}},hostAttrs:[1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(e,n){1&e&&pe("focus",function(){return n.focus()})("blur",function(){return n._blur()})("keydown",function(a){return n._keydown(a)}),2&e&&(Ua("tabIndex",n.empty?-1:n.tabIndex),It("role",n.role)("aria-describedby",n._ariaDescribedby||null)("aria-required",n.role?n.required:null)("aria-disabled",n.disabled.toString())("aria-multiselectable",n.multiple)("aria-orientation",n.ariaOrientation),Mt("mat-mdc-chip-list-disabled",n.disabled)("mat-mdc-chip-list-required",n.required))},inputs:{tabIndex:"tabIndex",multiple:"multiple",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",compareWith:"compareWith",required:"required",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",value:"value"},outputs:{change:"change"},features:[Nt([Xre]),ot],ngContentSelectors:GD,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,n){1&e&&(Bi(),_(0,"span",0),Ft(1),F())},styles:[pO],encapsulation:2,changeDetection:0}),i})();class Jre{constructor(t,e){this.source=t,this.value=e}}class eae extends o0{constructor(t,e,n,r,a,o,c){super(t,e,n),this._defaultErrorStateMatcher=r,this._parentForm=a,this._parentFormGroup=o,this.ngControl=c,this.stateChanges=new He}}const tae=SC(eae);let vO=(()=>{class i extends tae{get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=Ct(e),this._syncChipsState()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||0===this._chips.length)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(Oo.required)??!1}set required(e){this._required=Ct(e),this.stateChanges.next()}get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(e){this._value=e}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}constructor(e,n,r,a,o,c,h){super(e,n,r,c,a,o,h),this.controlType="mat-chip-grid",this._defaultRole="grid",this._ariaDescribedbyIds=[],this._onTouched=()=>{},this._onChange=()=>{},this._value=[],this.change=new lt,this.valueChange=new lt,this.ngControl&&(this.ngControl.valueAccessor=this)}ngAfterContentInit(){this.chipBlurChanges.pipe(ii(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),Pn(this.chipFocusChanges,this._chips.changes).pipe(ii(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit()}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(e){this._chipInput=e,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(e){!this.disabled&&!this._originatesFromChip(e)&&this.focus()}focus(){this.disabled||this._chipInput.focused||(!this._chips.length||this._chips.first.disabled?Promise.resolve().then(()=>this._chipInput.focus()):this._chips.length&&this._keyManager.setFirstItemActive(),this.stateChanges.next())}setDescribedByIds(e){this._ariaDescribedbyIds=e,this._chipInput?.setDescribedByIds(e)}writeValue(e){this._value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(e){9===e.keyCode?this._chipInput.focused&&ba(e,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(e.preventDefault(),this._keyManager.activeItem?this._keyManager.setActiveItem(this._keyManager.activeItem):this._focusLastChip()):super._allowFocusEscape():this._chipInput.focused||super._handleKeydown(e),this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){const e=this._chips.length?this._chips.toArray().map(n=>n.value):[];this._value=e,this.change.emit(new Jre(this,e)),this.valueChange.emit(e),this._onChange(e),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(ni),k(Or,8),k($c,8),k(Wd,8),k(Vf),k(ac,10))},i.\u0275cmp=qe({type:i,selectors:[["mat-chip-grid"]],contentQueries:function(e,n,r){if(1&e&&ui(r,$D,5),2&e){let a;Ze(a=Xe())&&(n._chips=a)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(e,n){1&e&&pe("focus",function(){return n.focus()})("blur",function(){return n._blur()}),2&e&&(Ua("tabIndex",n._chips&&0===n._chips.length?-1:n.tabIndex),It("role",n.role)("aria-disabled",n.disabled.toString())("aria-invalid",n.errorState),Mt("mat-mdc-chip-list-disabled",n.disabled)("mat-mdc-chip-list-invalid",n.errorState)("mat-mdc-chip-list-required",n.required))},inputs:{tabIndex:"tabIndex",disabled:"disabled",placeholder:"placeholder",required:"required",value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[Nt([{provide:hp,useExisting:i}]),ot],ngContentSelectors:GD,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,n){1&e&&(Bi(),_(0,"span",0),Ft(1),F())},styles:[pO],encapsulation:2,changeDetection:0}),i})(),iae=0,wO=(()=>{class i{set chipGrid(e){e&&(this._chipGrid=e,this._chipGrid.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(e){this._addOnBlur=Ct(e)}get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(e){this._disabled=Ct(e)}get empty(){return!this.inputElement.value}constructor(e,n,r){this._elementRef=e,this._defaultOptions=n,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new lt,this.placeholder="",this.id="mat-mdc-chip-list-input-"+iae++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement,r&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(e){if(e){if(8===e.keyCode&&this._focusLastChipOnBackspace)return this._chipGrid._focusLastChip(),void e.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(e)}_keyup(e){!this._focusLastChipOnBackspace&&8===e.keyCode&&this.empty&&(this._focusLastChipOnBackspace=!0,e.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipGrid.stateChanges.next()}_emitChipEnd(e){(!e||this._isSeparatorKey(e))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),e?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}setDescribedByIds(e){const n=this._elementRef.nativeElement;e.length?n.setAttribute("aria-describedby",e.join(" ")):n.removeAttribute("aria-describedby")}_isSeparatorKey(e){return!ba(e)&&new Set(this.separatorKeyCodes).has(e.keyCode)}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k($v),k(lm,8))},i.\u0275dir=Oe({type:i,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(e,n){1&e&&pe("keydown",function(a){return n._keydown(a)})("keyup",function(a){return n._keyup(a)})("blur",function(){return n._blur()})("focus",function(){return n._focus()})("input",function(){return n._onInput()}),2&e&&(Ua("id",n.id),It("disabled",n.disabled||null)("placeholder",n.placeholder||null)("aria-invalid",n._chipGrid&&n._chipGrid.ngControl?n._chipGrid.ngControl.invalid:null)("aria-required",n._chipGrid&&n._chipGrid.required||null)("required",n._chipGrid&&n._chipGrid.required||null))},inputs:{chipGrid:["matChipInputFor","chipGrid"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[or]}),i})(),nae=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[Vf,{provide:$v,useValue:{separatorKeyCodes:[13]}}],imports:[Qt,Dr,qs,Qt]}),i})();function rae(i,t){1&i&&(_(0,"span"),N(1,", "),F())}const aae=function(i){return["/p",i]};function oae(i,t){if(1&i&&(_(0,"span")(1,"a",1),N(2),F(),ee(3,rae,2,0,"span",2),F()),2&i){const e=t.$implicit,n=t.last;E(1),S("routerLink",yn(3,aae,e.pubkey)),E(1),yt(e.name),E(1),S("ngIf",!n)}}class s0{constructor(t,e){this.profileService=t,this.utilities=e,this.keys=[],this.profiles=[]}ngOnInit(){var t=this;return Se(function*(){t.profiles=[];for(let e=0;e<t.keys.length;e++){const n=t.keys[e];if(null==n||"0"===n)continue;const r=yield t.profileService.getProfile(n);t.profiles.push(r?{pubkey:r.pubkey,name:r.name}:{pubkey:n,name:n})}})()}}function sae(i,t){1&i&&N(0),2&i&&yt(Q().$implicit)}s0.\u0275fac=function(t){return new(t||s0)(k(Hn),k(an))},s0.\u0275cmp=qe({type:s0,selectors:[["app-reply-list"]],inputs:{keys:"keys"},decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[1,"reply-link",3,"routerLink"],[4,"ngIf"]],template:function(t,e){1&t&&ee(0,oae,4,5,"span",0),2&t&&S("ngForOf",e.profiles)},dependencies:[vn,ri,va]});const FO=function(i){return["/p",i]};function lae(i,t){if(1&i&&(kn(0),_(1,"a",9),N(2),F(),Dn()),2&i){const e=Q(2).$implicit,n=Q(2);E(1),S("routerLink",yn(2,FO,e.word)),E(1),Gt("@",n.getDisplayName(e.word),"")}}const Xu=function(i){return[i]};function cae(i,t){if(1&i&&(kn(0),_(1,"a",10),N(2),F(),Dn()),2&i){const e=Q(2).$implicit;E(1),S("href",yn(2,Xu,e.word),hn),E(1),yt(e.word)}}function dae(i,t){if(1&i){const e=Je();kn(0),_(1,"img",11),pe("click",function(){Te(e);const r=Q(2).$implicit;return Ae(Q(2).expandImage(r.word))}),F(),Dn()}if(2&i){const e=Q(2).$implicit;E(1),S("matTooltip",e.word)("alt",e.word)("src",e.safeWord,hn)}}function uae(i,t){1&i&&(kn(0),Ce(1,"br"),Dn())}function hae(i,t){if(1&i&&(kn(0),Ce(1,"iframe",12),Dn()),2&i){const e=Q(2).$implicit;E(1),S("src",e.safeWord,Xm)}}function mae(i,t){if(1&i&&(kn(0),Ce(1,"iframe",12),Dn()),2&i){const e=Q(2).$implicit;E(1),S("src",e.safeWord,Xm)}}function fae(i,t){if(1&i){const e=Je();kn(0),_(1,"video",13),Ce(2,"source",14),F(),_(3,"button",15),pe("click",function(){Te(e);const r=Q(2).$implicit;return Ae(Q(2).enque(r.word,"Video"))}),_(4,"mat-icon"),N(5,"add_to_queue"),F()(),Dn()}if(2&i){const e=Q(2).$implicit;E(2),S("src",e.safeWord,hn)}}function pae(i,t){if(1&i){const e=Je();kn(0),_(1,"video",13),Ce(2,"source",14),F(),_(3,"button",15),pe("click",function(){Te(e);const r=Q(2).$implicit;return Ae(Q(2).enque(r.word,"Audio"))}),_(4,"mat-icon"),N(5,"queue"),F()(),Dn()}if(2&i){const e=Q(2).$implicit;E(2),S("src",e.safeWord,hn)}}function gae(i,t){if(1&i){const e=Je();kn(0),Ce(1,"iframe",16),_(2,"button",15),pe("click",function(){Te(e);const r=Q(2).$implicit;return Ae(Q(2).enque(r.word,"YouTube"))}),_(3,"mat-icon"),N(4,"add_to_queue"),F()(),Dn()}if(2&i){const e=Q(2).$implicit;E(1),S("src",e.safeWord,Xm)}}function _ae(i,t){if(1&i){const e=Je();kn(0),_(1,"img",17),pe("click",function(){Te(e);const r=Q(2).$implicit;return Ae(Q(2).expandImageUrl(r.word))}),F(),Dn()}if(2&i){const e=Q(2).$implicit;E(1),S("matTooltip",e.tooltip)("src",e.word,hn)}}function bae(i,t){1&i&&(ee(0,lae,3,4,"ng-container",8),ee(1,cae,3,4,"ng-container",8),ee(2,dae,2,3,"ng-container",8),ee(3,uae,2,0,"ng-container",8),ee(4,hae,2,1,"ng-container",8),ee(5,mae,2,1,"ng-container",8),ee(6,fae,6,1,"ng-container",8),ee(7,pae,6,1,"ng-container",8),ee(8,gae,5,1,"ng-container",8),ee(9,_ae,2,2,"ng-container",8)),2&i&&(S("ngSwitchCase","username"),E(1),S("ngSwitchCase","link"),E(1),S("ngSwitchCase","image"),E(1),S("ngSwitchCase","linebreak"),E(1),S("ngSwitchCase","spotify"),E(1),S("ngSwitchCase","tidal"),E(1),S("ngSwitchCase","video"),E(1),S("ngSwitchCase","audio"),E(1),S("ngSwitchCase","youtube"),E(1),S("ngSwitchCase","meme"))}function yae(i,t){if(1&i&&(kn(0),_(1,"a",9),N(2),F(),Dn()),2&i){const e=Q(2).$implicit,n=Q(2);E(1),S("routerLink",yn(2,FO,e.word)),E(1),Gt("@",n.getDisplayName(e.word),"")}}function vae(i,t){if(1&i&&(kn(0),_(1,"a",10),N(2),F(),Dn()),2&i){const e=Q(2).$implicit;E(1),S("href",yn(2,Xu,e.word),hn),E(1),yt(e.word)}}function wae(i,t){if(1&i&&(kn(0),_(1,"a",10),N(2),F(),Dn()),2&i){const e=Q(2).$implicit;E(1),S("href",yn(2,Xu,e.word),hn),E(1),yt(e.word)}}function Fae(i,t){if(1&i&&(kn(0),_(1,"a",10),N(2),F(),Dn()),2&i){const e=Q(2).$implicit;E(1),S("href",yn(2,Xu,e.word),hn),E(1),yt(e.word)}}function xae(i,t){if(1&i&&(kn(0),_(1,"a",10),N(2),F(),Dn()),2&i){const e=Q(2).$implicit;E(1),S("href",yn(2,Xu,e.word),hn),E(1),yt(e.word)}}function Cae(i,t){if(1&i&&(kn(0),_(1,"a",10),N(2),F(),Dn()),2&i){const e=Q(2).$implicit;E(1),S("href",yn(2,Xu,e.word),hn),E(1),yt(e.word)}}function kae(i,t){if(1&i&&(kn(0),_(1,"a",10),N(2),F(),Dn()),2&i){const e=Q(2).$implicit;E(1),S("href",yn(2,Xu,e.word),hn),E(1),yt(e.word)}}function Dae(i,t){1&i&&(kn(0),Ce(1,"br"),Dn())}function Mae(i,t){if(1&i){const e=Je();kn(0),_(1,"a",10),N(2),F(),N(3,"\xa0"),_(4,"button",15),pe("click",function(){Te(e);const r=Q(2).$implicit;return Ae(Q(2).enque(r.word,"YouTube"))}),_(5,"mat-icon"),N(6,"add_to_queue"),F()(),Dn()}if(2&i){const e=Q(2).$implicit;E(1),S("href",yn(2,Xu,e.word),hn),E(1),yt(e.word)}}function Eae(i,t){if(1&i){const e=Je();kn(0),_(1,"img",17),pe("click",function(){Te(e);const r=Q(2).$implicit;return Ae(Q(2).expandImageUrl(r.word))}),F(),Dn()}if(2&i){const e=Q(2).$implicit;E(1),S("matTooltip",e.tooltip)("src",e.word,hn)}}function Sae(i,t){1&i&&(ee(0,yae,3,4,"ng-container",8),ee(1,vae,3,4,"ng-container",8),ee(2,wae,3,4,"ng-container",8),ee(3,Fae,3,4,"ng-container",8),ee(4,xae,3,4,"ng-container",8),ee(5,Cae,3,4,"ng-container",8),ee(6,kae,3,4,"ng-container",8),ee(7,Dae,2,0,"ng-container",8),ee(8,Mae,7,4,"ng-container",8),ee(9,Eae,2,2,"ng-container",8)),2&i&&(S("ngSwitchCase","username"),E(1),S("ngSwitchCase","link"),E(1),S("ngSwitchCase","image"),E(1),S("ngSwitchCase","video"),E(1),S("ngSwitchCase","audio"),E(1),S("ngSwitchCase","spotify"),E(1),S("ngSwitchCase","tidal"),E(1),S("ngSwitchCase","linebreak"),E(1),S("ngSwitchCase","youtube"),E(1),S("ngSwitchCase","meme"))}function Tae(i,t){if(1&i&&(kn(0),ee(1,sae,1,1,"ng-template",5),ee(2,bae,10,10,"ng-template",7),ee(3,Sae,10,10,"ng-template",7),Dn()),2&i){const e=t.$implicit,n=Q(2);E(1),S("ngIf",n.isString(e)),E(1),S("ngIf",!n.isString(e)&&n.isFollowing)("ngSwitch",e.token),E(1),S("ngIf",!n.isString(e)&&!n.isFollowing)("ngSwitch",e.token)}}function Aae(i,t){1&i&&(_(0,"span"),N(1,"... (message was truncated)"),F())}function Iae(i,t){1&i&&(_(0,"span",22),N(1,"Replying to "),F())}function Lae(i,t){if(1&i&&(_(0,"div",19),ee(1,Iae,2,0,"span",20),Ce(2,"app-reply-list",21),F()),2&i){const e=t.ngIf;E(1),S("ngIf",e.length>0),E(1),S("keys",e)}}function Nae(i,t){if(1&i&&ee(0,Lae,3,2,"div",18),2&i){const e=Q(2);S("ngIf",e.repliesTo(e.event))}}function Oae(i,t){if(1&i&&(_(0,"mat-chip"),N(1),F()),2&i){const e=t.$implicit;E(1),Gt("#",e,"")}}const Rae=function(i){return{"event-content-big":i}};function Pae(i,t){if(1&i&&(_(0,"div",1)(1,"span",2),ee(2,Tae,4,5,"ng-container",3),ee(3,Aae,2,0,"span",4),F(),ee(4,Nae,1,1,"ng-template",5),_(5,"mat-chip-set",6),ee(6,Oae,2,1,"mat-chip",3),F()()),2&i){const e=Q();E(1),S("ngClass",yn(5,Rae,e.bigSize)),E(1),S("ngForOf",e.dynamicText),E(1),S("ngIf",e.event.contentCut),E(1),S("ngIf",e.displayRepliesTo),E(2),S("ngForOf",e.hashtags(e.event.tags))}}class Al{constructor(t,e,n,r,a,o,c){this.eventService=t,this.contentService=e,this.mediaService=n,this.optionsService=r,this.profileService=a,this.utilities=o,this.dialog=c,this.displayRepliesTo=!0,this.profileName="",this.tooltip="",this.profiles=[],this.isFollowing=!1,this.dynamicText=[],this.imageExtensions=[".jpg",".jpeg",".gif",".png",".webp",".apng",".jfif",".svg"],this.videoExtensions=[".mp4",".m4v",".m4p",".mpg",".mpeg",".webm",".avif",".mov",".ogv"],this.audioExtensions=[".mp3",".m4a",".flac",".ogg",".wav"],this.bigSize=!1}enque(t,e){this.mediaService.enque({artist:"",artwork:"/assets/logos/youtube.png",title:t,source:t,type:e})}isString(t){return"string"==typeof t}isNewline(t){return"newline"==t.token}getTooltip(t){return t.tooltip||""}getWord(t){return t.word}ngOnInit(){var t=this;return Se(function*(){t.event&&(t.dynamicText=t.toDynamicText(t.event),t.isFollowing=t.profileService.isFollowing(t.event.pubkey))})()}expandImage(t){this.dialog.open(Xd,{data:{picture:t}})}expandImageUrl(t){this.dialog.open(Xd,{data:{picture:t}})}hashtags(t){const e=t.filter(n=>"t"===n[0]).map(n=>n[1]);return 0==e.length?null:e}repliesTo(t){if(!t)return null;let e=t.tags.filter(r=>"p"===r[0]).map(r=>r[1]);return e=e.filter(r=>r!==t.pubkey),0==e.length?null:e.filter((r,a)=>e.indexOf(r)===a)}getDisplayName(t){const e=this.profileService.getCachedProfile(t);return e?this.utilities.getProfileDisplayName(e):this.utilities.getShortenedIdentifier(t)}replyTo(t,e){return t?t.tags[e][1]:void 0}isImage(t){for(let e=0;e<this.imageExtensions.length;e++)if(t.includes(this.imageExtensions[e]))return!0;return!1}isVideo(t){for(let e=0;e<this.videoExtensions.length;e++)if(t.includes(this.videoExtensions[e]))return!0;return!1}isAudio(t){for(let e=0;e<this.audioExtensions.length;e++)if(t.includes(this.audioExtensions[e]))return!0;return!1}isYouTube(t){return t.indexOf("https://youtu.be")>-1||t.indexOf("https://www.youtube.com")>-1||t.indexOf("https://youtube.com")>-1}isTidal(t){return!!this.optionsService.values.enableTidal&&t.indexOf("https://tidal.com")>-1}isSpotify(t){return!!this.optionsService.values.enableSpotify&&t.indexOf("https://open.spotify.com")>-1}toDynamicText(t){let e=t.content;e=e.replaceAll(/\p{Cf}/gu,""),e.length<9&&(this.bigSize=!0);const n=[],r=e.split(/\r?\n/),a=[];for(let c=0;c<r.length;c++){let f=r[c].split(/(\s|,|#\[[^\]]*\])/);f=f.filter(x=>""!=x),f.push("<br>"),a.push(...f)}let o=0;for(const c of a){let h=this.contentService.getKeyword(c.toLowerCase());if(h){if("username"==h.token){let f=Number(c.replace("#[","").replace("]","")),x=t.tags;h.word=x.length>f?x[f][1]:c}o=n.push(h)}else if(c.startsWith("http://")||c.startsWith("https://"))if(this.isImage(c))o=n.push({safeWord:this.utilities.sanitizeUrlAndBypass(c),word:c,token:"image"});else if(this.isVideo(c))o=n.push({safeWord:this.utilities.sanitizeUrlAndBypass(c),word:c,token:"video"});else if(this.isAudio(c))o=n.push({safeWord:this.utilities.sanitizeUrlAndBypass(c),word:c,token:"audio"});else if(this.isYouTube(c)){const f=[...c.matchAll(this.contentService.regexpYouTube)];o=n.push(f.length>0?{safeWord:this.utilities.bypassFrameUrl(`https://www.youtube.com/embed/${f[0][1]}`),word:`https://www.youtube.com/embed/${f[0][1]}`,token:"youtube"}:{word:c,token:"link"})}else if(this.isSpotify(c))o=n.push({safeWord:this.utilities.sanitizeUrlAndBypassFrame(c.replace("open.spotify.com/","open.spotify.com/embed/")),word:c,token:"spotify"});else if(this.isTidal(c))if(c.startsWith("https://tidal.com/browse/track/")){const f=c.replace("tidal.com/browse/track/","embed.tidal.com/tracks/");o=n.push({safeWord:this.utilities.sanitizeUrlAndBypassFrame(f),word:c,token:"tidal"})}else if(c.startsWith("https://tidal.com/track/")){const f=c.replace("tidal.com/track/","embed.tidal.com/tracks/");o=n.push({safeWord:this.utilities.sanitizeUrlAndBypassFrame(f),word:c,token:"tidal"})}else o=n.push({word:c,token:"link"});else o=n.push({word:c,token:"link"});else n[o]?n[o]+=c:n[o]=c}return n}}Al.\u0275fac=function(t){return new(t||Al)(k(Jo),k(fm),k(Jd),k(Sr),k(Hn),k(an),k(Ia))},Al.\u0275cmp=qe({type:Al,selectors:[["app-content"]],inputs:{event:"event",displayRepliesTo:"displayRepliesTo"},decls:1,vars:1,consts:[["class","content clickable",4,"ngIf"],[1,"content","clickable"],[1,"event-content","clickable",3,"ngClass"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"ngIf"],[1,"hashtags"],[3,"ngIf","ngSwitch"],[4,"ngSwitchCase"],[1,"reply-link",3,"routerLink"],["target","_blank",3,"href"],["mat-card-image","","loading","lazy","decoding","async",1,"event-image",3,"matTooltip","alt","src","click"],["width","100%","height","152","frameborder","0","allowfullscreen","","allow","autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture","loading","lazy",2,"border-radius","12px",3,"src"],["controls","","preload","none",1,"event-video"],[3,"src"],["mat-icon-button","","matTooltip","Add to media player",3,"click"],["id","ytplayer","type","text/html","frameborder","0","allowfullscreen","",1,"event-video",3,"src"],["loading","lazy",1,"meme",3,"matTooltip","src","click"],["class","reply-to dimmed clickable",4,"ngIf"],[1,"reply-to","dimmed","clickable"],["class","clickable",4,"ngIf"],[3,"keys"],[1,"clickable"]],template:function(t,e){1&t&&ee(0,Pae,7,7,"div",0),2&t&&S("ngIf",e.event)},dependencies:[qa,vn,ri,wu,Df,va,bo,jD,Qn,As,Zu,o0,s0],styles:[".event-image[_ngcontent-%COMP%]{width:100%;max-width:480px;display:inline-block;margin-top:.2em}.event-images[_ngcontent-%COMP%]{text-align:left}.event-video[_ngcontent-%COMP%]{width:100%;display:inline-block;margin-top:.2em;aspect-ratio:16 / 9}.embed-iframe[_ngcontent-%COMP%]{min-width:300px;min-height:300px}.events-videos[_ngcontent-%COMP%]{text-align:left}.reply-to[_ngcontent-%COMP%]{margin-top:.2em}.event-content[_ngcontent-%COMP%]{overflow-wrap:break-word}.event-content-big[_ngcontent-%COMP%]{font-size:2.2em}@media only screen and (max-width: 599px){.event-video[_ngcontent-%COMP%]{width:100vw!important;height:50vh!important;margin-left:-1.6em}.event-image[_ngcontent-%COMP%]{width:100vw!important;margin-left:-1.6em;max-width:max-content}}.meme[_ngcontent-%COMP%]{max-width:128px}"]});class Is{constructor(t){this.storage=t,this.labels=[]}getName(t){const e=this.labels.find(n=>n.id==t);return e?e.name:""}saveLabel(t){var e=this;return Se(function*(){if(!t)return;let n={name:t,id:sv()};yield e.storage.storage.putLabel(n),e.labels.push(n),e.sort()})()}sort(){this.labels=this.labels.sort((t,e)=>t.name?.toLowerCase()<e.name?.toLowerCase()?-1:1)}initialize(){var t=this;return Se(function*(){if(t.labels=yield t.storage.storage.getLabels(),0==t.labels.length)for(let e=0;e<Is.DEFAULT.length;e++){const n=Is.DEFAULT[e];yield t.storage.storage.putLabel(n)}t.sort()})()}}Is.DEFAULT=[{id:"photo",name:"Photo"},{id:"film",name:"Film"},{id:"film-music",name:"Music Videos"},{id:"music",name:"Music"},{id:"podcast",name:"Podcast"},{id:"inspirational",name:"Inspirational"},{id:"meme",name:"Meme"},{id:"article",name:"Article"}],Is.\u0275fac=function(t){return new(t||Is)(Fe(Ra))},Is.\u0275prov=Qe({token:Is,factory:Is.\u0275fac,providedIn:"root"});class eu{constructor(t){this.db=t,this.items=[],this.filtered=[]}putNote(t){var e=this;return Se(function*(){yield e.db.storage.putNote(t)})()}deleteNote(t){var e=this;return Se(function*(){yield e.db.storage.deleteNote(t)})()}load(){var t=this;return Se(function*(){t.items=yield t.db.storage.getNotes(),t.filterByLabels([])})()}filterByLabels(t){this.filtered=0==t.length?this.items:this.items.filter(e=>null!=e.labels&&e.labels.some(n=>t.includes(n)))}wipe(){var t=this;return Se(function*(){yield t.db.storage.deleteNotes()})()}}function xO(i,t){return t?e=>Sd(t.pipe(nn(1),function Bae(){return Jt((i,t)=>{i.subscribe(Ut(t,j))})}()),e.pipe(xO(i))):vi((e,n)=>sn(i(e,n)).pipe(nn(1),ry(e)))}function Zv(i,t=If){const e=jg(i,t);return xO(()=>e)}eu.\u0275fac=function(t){return new(t||eu)(Fe(Ra))},eu.\u0275prov=Qe({token:eu,factory:eu.\u0275fac,providedIn:"root"});const Hae=["mat-menu-item",""];function Vae(i,t){1&i&&(mo(),_(0,"svg",3),Ce(1,"polygon",4),F())}const Yae=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],jae=["mat-icon, [matMenuItemIcon]","*"];function zae(i,t){if(1&i){const e=Je();_(0,"div",0),pe("keydown",function(r){return Te(e),Ae(Q()._handleKeydown(r))})("click",function(){return Te(e),Ae(Q().closed.emit("click"))})("@transformMenu.start",function(r){return Te(e),Ae(Q()._onAnimationStart(r))})("@transformMenu.done",function(r){return Te(e),Ae(Q()._onAnimationDone(r))}),_(1,"div",1),Ft(2),F()()}if(2&i){const e=Q();S("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),It("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const Uae=["*"],QD=new Ke("MAT_MENU_PANEL"),Wae=xl(Jl(class{}));let ed=(()=>{class i extends Wae{constructor(e,n,r,a,o){super(),this._elementRef=e,this._document=n,this._focusMonitor=r,this._parentMenu=a,this._changeDetectorRef=o,this.role="menuitem",this._hovered=new He,this._focused=new He,this._highlighted=!1,this._triggersSubmenu=!1,a?.addItem?.(this)}focus(e,n){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,n):this._getHostElement().focus(n),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const e=this._elementRef.nativeElement.cloneNode(!0),n=e.querySelectorAll("mat-icon, .material-icons");for(let r=0;r<n.length;r++)n[r].remove();return e.textContent?.trim()||""}_setHighlighted(e){this._highlighted=e,this._changeDetectorRef?.markForCheck()}_setTriggersSubmenu(e){this._triggersSubmenu=e,this._changeDetectorRef?.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Mi),k(Ka),k(QD,8),k(ni))},i.\u0275cmp=qe({type:i,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator","mdc-list-item"],hostVars:8,hostBindings:function(e,n){1&e&&pe("click",function(a){return n._checkDisabled(a)})("mouseenter",function(){return n._handleMouseEnter()}),2&e&&(It("role",n.role)("tabindex",n._getTabIndex())("aria-disabled",n.disabled)("disabled",n.disabled||null),Mt("mat-mdc-menu-item-highlighted",n._highlighted)("mat-mdc-menu-item-submenu-trigger",n._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[ot],attrs:Hae,ngContentSelectors:jae,decls:5,vars:3,consts:[[1,"mdc-list-item__primary-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-mdc-menu-submenu-icon","viewBox","0 0 5 10","focusable","false",4,"ngIf"],["viewBox","0 0 5 10","focusable","false",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(e,n){1&e&&(Bi(Yae),Ft(0),_(1,"span",0),Ft(2,1),F(),Ce(3,"div",1),ee(4,Vae,2,0,"svg",2)),2&e&&(E(3),S("matRippleDisabled",n.disableRipple||n.disabled)("matRippleTrigger",n._getHostElement()),E(1),S("ngIf",n._triggersSubmenu))},dependencies:[ri,da],encapsulation:2,changeDetection:0}),i})();const Gae=new Ke("MatMenuContent"),Xv={transformMenu:Qa("transformMenu",[_r("void",pi({opacity:0,transform:"scale(0.8)"})),cr("void => enter",lr("120ms cubic-bezier(0, 0, 0.2, 1)",pi({opacity:1,transform:"scale(1)"}))),cr("* => void",lr("100ms 25ms linear",pi({opacity:0})))]),fadeInItems:Qa("fadeInItems",[_r("showing",pi({opacity:1})),cr("void => *",[pi({opacity:0}),lr("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let qae=0;const CO=new Ke("mat-menu-default-options",{providedIn:"root",factory:function $ae(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let l0=(()=>{class i{get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=Ct(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Ct(e)}set panelClass(e){const n=this._previousPanelClass;n&&n.length&&n.split(" ").forEach(r=>{this._classList[r]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(r=>{this._classList[r]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}constructor(e,n,r,a){this._elementRef=e,this._ngZone=n,this._defaultOptions=r,this._changeDetectorRef=a,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new Mc,this._classList={},this._panelAnimationState="void",this._animationDone=new He,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new lt,this.close=this.closed,this.panelId="mat-menu-panel-"+qae++}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Vg(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(jr(this._directDescendantItems),ia(e=>Pn(...e.map(n=>n._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{const n=this._keyManager;if("enter"===this._panelAnimationState&&n.activeItem?._hasFocus()){const r=e.toArray(),a=Math.max(0,Math.min(r.length-1,n.activeItemIndex||0));r[a]&&!r[a].disabled?n.setActiveItem(a):n.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe(jr(this._directDescendantItems),ia(n=>Pn(...n.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const n=e.keyCode,r=this._keyManager;switch(n){case 27:ba(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===n||40===n)&&r.setFocusOrigin("keyboard"),void r.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe(nn(1)).subscribe(()=>{let n=null;if(this._directDescendantItems.length&&(n=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!n||!n.contains(document.activeElement)){const r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&n&&n.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const n=Math.min(this._baseElevation+e,24),r=`${this._elevationPrefix}${n}`,a=Object.keys(this._classList).find(o=>o.startsWith(this._elevationPrefix));(!a||a===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[r]=!0,this._previousElevation=r)}setPositionClasses(e=this.xPosition,n=this.yPosition){const r=this._classList;r["mat-menu-before"]="before"===e,r["mat-menu-after"]="after"===e,r["mat-menu-above"]="above"===n,r["mat-menu-below"]="below"===n,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(jr(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(n=>n._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Rt),k(CO),k(ni))},i.\u0275dir=Oe({type:i,contentQueries:function(e,n,r){if(1&e&&(ui(r,Gae,5),ui(r,ed,5),ui(r,ed,4)),2&e){let a;Ze(a=Xe())&&(n.lazyContent=a.first),Ze(a=Xe())&&(n._allItems=a),Ze(a=Xe())&&(n.items=a)}},viewQuery:function(e,n){if(1&e&&Lt(vr,5),2&e){let r;Ze(r=Xe())&&(n.templateRef=r.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),i})(),pm=(()=>{class i extends l0{constructor(e,n,r,a){super(e,n,r,a),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Rt),k(CO),k(ni))},i.\u0275cmp=qe({type:i,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,n){2&e&&It("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Nt([{provide:QD,useExisting:i}]),ot],ngContentSelectors:Uae,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mdc-menu-surface","mdc-menu-surface--open","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content","mdc-list"]],template:function(e,n){1&e&&(Bi(),ee(0,zae,3,6,"ng-template"))},dependencies:[qa],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;position:relative}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item.mdc-list-item{align-items:center}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item .mdc-list-item__primary-text{white-space:normal}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Xv.transformMenu,Xv.fadeInItems]},changeDetection:0}),i})();const kO=new Ke("mat-menu-scroll-strategy"),Qae={provide:kO,deps:[ya],useFactory:function Kae(i){return()=>i.scrollStrategies.reposition()}},DO=Dd({passive:!0});let Zae=(()=>{class i{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(n=>{this._destroyMenu(n),("click"===n||"tab"===n)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(n)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(e,n,r,a,o,c,h,f,x){this._overlay=e,this._element=n,this._viewContainerRef=r,this._menuItemInstance=c,this._dir=h,this._focusMonitor=f,this._ngZone=x,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=C.EMPTY,this._hoverSubscription=C.EMPTY,this._menuCloseSubscription=C.EMPTY,this._changeDetectorRef=ei(ni),this._handleTouchStart=P=>{pC(P)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new lt,this.onMenuOpen=this.menuOpened,this.menuClosed=new lt,this.onMenuClose=this.menuClosed,this._scrollStrategy=a,this._parentMaterialMenu=o instanceof l0?o:void 0,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,DO)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,DO),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const e=this.menu;if(this._menuOpen||!e)return;const n=this._createOverlay(e),r=n.getConfig(),a=r.positionStrategy;this._setPosition(e,a),r.hasBackdrop=null==e.hasBackdrop?!this.triggersSubmenu():e.hasBackdrop,n.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof l0&&(e._startAnimation(),e._directDescendantItems.changes.pipe(ii(e.close)).subscribe(()=>{a.withLockedPosition(!1).reapplyLastPosition(),a.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,n){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,n):this._element.nativeElement.focus(n)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const n=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,n instanceof l0?(n._resetAnimation(),n.lazyContent?n._animationDone.pipe(qi(r=>"void"===r.toState),nn(1),ii(n.lazyContent._attached)).subscribe({next:()=>n.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),n?.lazyContent?.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,this._setMenuElevation(e),e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(e){if(e.setElevation){let n=0,r=e.parentMenu;for(;r;)n++,r=r.parentMenu;e.setElevation(n)}}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){const n=this._getOverlayConfig(e);this._subscribeToPositions(e,n.positionStrategy),this._overlayRef=this._overlay.create(n),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(e){return new Hf({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e,n){e.setPositionClasses&&n.positionChanges.subscribe(r=>{const a="start"===r.connectionPair.overlayX?"after":"before",o="top"===r.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(a,o)):e.setPositionClasses(a,o)})}_setPosition(e,n){let[r,a]="before"===e.xPosition?["end","start"]:["start","end"],[o,c]="above"===e.yPosition?["bottom","top"]:["top","bottom"],[h,f]=[o,c],[x,P]=[r,a],$=0;if(this.triggersSubmenu()){if(P=r="before"===e.xPosition?"start":"end",a=x="end"===r?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const te=this._parentMaterialMenu.items.first;this._parentInnerPadding=te?te._getHostElement().offsetTop:0}$="bottom"===o?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(h="top"===o?"bottom":"top",f="top"===c?"bottom":"top");n.withPositions([{originX:r,originY:h,overlayX:x,overlayY:o,offsetY:$},{originX:a,originY:h,overlayX:P,overlayY:o,offsetY:$},{originX:r,originY:f,overlayX:x,overlayY:c,offsetY:-$},{originX:a,originY:f,overlayX:P,overlayY:c,offsetY:-$}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),n=this._overlayRef.detachments();return Pn(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:Ht(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(qi(o=>o!==this._menuItemInstance),qi(()=>this._menuOpen)):Ht(),n)}_handleMousedown(e){fC(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const n=e.keyCode;(13===n||32===n)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===n&&"ltr"===this.dir||37===n&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(qi(e=>e===this._menuItemInstance&&!e.disabled),Zv(0,yC)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof l0&&this.menu._isAnimating?this.menu._animationDone.pipe(nn(1),Zv(0,yC),ii(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new Ad(e.templateRef,this._viewContainerRef)),this._portal}}return i.\u0275fac=function(e){return new(e||i)(k(ya),k(gt),k(kr),k(kO),k(QD,8),k(ed,10),k(Or,8),k(Ka),k(Rt))},i.\u0275dir=Oe({type:i,hostVars:3,hostBindings:function(e,n){1&e&&pe("click",function(a){return n._handleClick(a)})("mousedown",function(a){return n._handleMousedown(a)})("keydown",function(a){return n._handleKeydown(a)}),2&e&&It("aria-haspopup",n.menu?"menu":null)("aria-expanded",n.menuOpen)("aria-controls",n.menuOpen?n.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),i})(),c0=(()=>{class i extends Zae{}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275dir=Oe({type:i,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[ot]}),i})(),Xae=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[Qae],imports:[Dr,qs,Qt,Nc,Lc,Qt]}),i})();function Jae(i,t){1&i&&(_(0,"button",13)(1,"mat-icon",14),N(2,"more_vert"),F()()),2&i&&(Q(),S("matMenuTriggerFor",Li(3)))}function eoe(i,t){1&i&&(_(0,"button",15)(1,"mat-icon"),N(2,"more_vert"),F()()),2&i&&(Q(),S("matMenuTriggerFor",Li(3)))}function toe(i,t){if(1&i){const e=Je();_(0,"button",6),pe("click",function(){return Te(e),Ae(Q().saveNote())}),_(1,"mat-icon"),N(2,"bookmark_add"),F(),_(3,"span"),N(4,"Save Note"),F()()}2&i&&(Q(),S("matMenuTriggerFor",Li(32)))}function ioe(i,t){if(1&i){const e=Je();_(0,"button",10),pe("click",function(){return Te(e),Ae(Q().removeNote())}),_(1,"mat-icon"),N(2,"bookmark_remove"),F(),_(3,"span"),N(4,"Remove from Notes"),F()()}}function noe(i,t){1&i&&(_(0,"button",7)(1,"mat-icon"),N(2,"new_label"),F(),_(3,"span"),N(4,"Set Label"),F()()),2&i&&(Q(),S("matMenuTriggerFor",Li(32)))}function roe(i,t){if(1&i){const e=Je();_(0,"button",10),pe("click",function(){Te(e);const r=Q();return Ae(r.copyNoteId(r.event.id))}),_(1,"mat-icon"),N(2,"content_copy"),F(),_(3,"span"),N(4,"Note ID (note)"),F()()}}function aoe(i,t){if(1&i){const e=Je();_(0,"button",10),pe("click",function(){Te(e);const r=Q();return Ae(r.copyNoteEventId(r.event.id))}),_(1,"mat-icon"),N(2,"content_copy"),F(),_(3,"span"),N(4,"Note ID (nevent)"),F()()}}function ooe(i,t){if(1&i){const e=Je();_(0,"button",10),pe("click",function(){Te(e);const r=Q();return Ae(r.copy(r.event.id))}),_(1,"mat-icon"),N(2,"content_copy"),F(),_(3,"span"),N(4,"Note ID (hex)"),F()()}}function soe(i,t){if(1&i){const e=Je();_(0,"button",10),pe("click",function(){Te(e);const r=Q();return Ae(r.copyNoteUrl(r.event.id))}),_(1,"mat-icon"),N(2,"content_copy"),F(),_(3,"span"),N(4,"Note URL (nevent)"),F()()}}function loe(i,t){if(1&i){const e=Je();_(0,"button",10),pe("click",function(){return Te(e),Ae(Q().copyEvent())}),_(1,"mat-icon"),N(2,"content_copy"),F(),_(3,"span"),N(4,"Note Data"),F()()}}function coe(i,t){if(1&i){const e=Je();_(0,"button",10),pe("click",function(){const a=Te(e).$implicit;return Ae(Q().setLabel(a.id))}),_(1,"mat-icon"),N(2,"label"),F(),_(3,"span"),N(4),F()()}if(2&i){const e=t.$implicit;E(4),yt(e.name)}}class Xs{constructor(t,e,n,r,a){this.labelService=t,this.snackBar=e,this.profileService=n,this.notesService=r,this.utilities=a,this.fab=!1,this.pubkey=""}saveNote(){var t=this;return Se(function*(){if(!t.event)return;const e=t.event;e.saved=Math.floor(Date.now()/1e3),yield t.notesService.putNote(e)})()}removeNote(){var t=this;return Se(function*(){t.event&&(console.log("DELETE EVENT:",t.event),yield t.notesService.deleteNote(t.event.id))})()}follow(t){var e=this;return Se(function*(){console.log("FOLLOW:",e.profile),e.profile&&(1!=e.profile.status?yield e.profileService.follow(e.profile.pubkey,t):yield e.profileService.setCircle(e.profile.pubkey,t))})()}getNpub(t){return this.utilities.getNostrIdentifier(t)}copyEvent(){this.copy(JSON.stringify(this.event))}copyProfileUrl(t){this.copy(`web+nostr:npub:${wa.npubEncode(t)}`)}copyNoteId(t){this.copy(wa.noteEncode(t))}setLabel(t){var e=this;return Se(function*(){if(!e.event)return;let n=e.event;n.labels=[],n.labels.push(t),yield e.notesService.putNote(e.event)})()}copyNoteEventId(t){this.copy(wa.neventEncode({id:t}))}copyNoteUrl(t){this.copy(`web+nostr:nevent:${wa.neventEncode({id:t})}`)}copyProfile(){this.profile&&this.copy(JSON.stringify({name:this.profile.name,about:this.profile.about,nip05:this.profile.nip05,picture:this.profile.picture,banner:this.profile.banner,website:this.profile.website,lud06:this.profile.lud06,lud16:this.profile.lud16,display_name:this.profile.display_name}))}copy(t){Uy(t),this.snackBar.open("Copied to clipboard","Hide",{duration:2500,horizontalPosition:"center",verticalPosition:"bottom"})}unfollow(){var t=this;return Se(function*(){t.profile&&(yield t.profileService.unfollow(t.profile.pubkey))})()}mute(){var t=this;return Se(function*(){t.profile&&(yield t.profileService.mute(t.profile.pubkey))})()}unmute(){var t=this;return Se(function*(){t.profile&&(yield t.profileService.unmute(t.profile.pubkey))})()}block(){var t=this;return Se(function*(){t.profile&&(yield t.profileService.block(t.profile.pubkey))})()}unblock(){var t=this;return Se(function*(){t.profile&&(yield t.profileService.unblock(t.profile.pubkey))})()}ngOnDestroy(){}ngOnInit(){var t=this;return Se(function*(){t.event?t.pubkey=t.event.pubkey:t.profile&&(t.pubkey=t.profile.pubkey)})()}}function doe(i,t){if(1&i&&(_(0,"span",3),N(1),F()),2&i){const e=Q();S("matTooltip",e.tooltip),E(1),yt(e.profileName)}}function uoe(i,t){if(1&i&&(_(0,"span"),N(1),F()),2&i){const e=Q();E(1),yt(e.profileName)}}Xs.\u0275fac=function(t){return new(t||Xs)(k(Is),k(us),k(Hn),k(eu),k(an))},Xs.\u0275cmp=qe({type:Xs,selectors:[["app-event-actions"]],inputs:{fab:"fab",pubkey:"pubkey",profile:"profile",event:"event"},decls:34,vars:13,consts:[["class","action-button","mat-icon-button","",3,"matMenuTriggerFor",4,"ngIf"],["mat-mini-fab","","color","primary",3,"matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor","click",4,"ngIf"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor","click"],["mat-menu-item","",3,"matMenuTriggerFor"],["copyMenu","matMenu"],["shareMenu","matMenu"],["mat-menu-item","",3,"click"],["labelMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-icon-button","",1,"action-button",3,"matMenuTriggerFor"],[1,"action-button-icon"],["mat-mini-fab","","color","primary",3,"matMenuTriggerFor"]],template:function(t,e){if(1&t&&(ee(0,Jae,3,1,"button",0),ee(1,eoe,3,1,"button",1),_(2,"mat-menu",null,2),ee(4,toe,5,1,"button",3),ee(5,ioe,5,0,"button",4),ee(6,noe,5,1,"button",5),_(7,"button",6),pe("click",function(){return e.copyNoteId(e.event.id)}),_(8,"mat-icon"),N(9,"copy_all"),F(),_(10,"span"),N(11,"Copy"),F()(),_(12,"button",7)(13,"mat-icon"),N(14,"ios_share"),F(),_(15,"span"),N(16,"Share"),F()()(),_(17,"mat-menu",null,8),ee(19,roe,5,0,"button",4),ee(20,aoe,5,0,"button",4),ee(21,ooe,5,0,"button",4),ee(22,soe,5,0,"button",4),ee(23,loe,5,0,"button",4),F(),_(24,"mat-menu",null,9)(26,"button",10),pe("click",function(){return e.copy("https://notes.blockcore.net/e/"+e.event.id)}),_(27,"mat-icon"),N(28,"content_copy"),F(),_(29,"span"),N(30,"Note URL"),F()()(),_(31,"mat-menu",null,11),ee(33,coe,5,1,"button",12),F()),2&t){const n=Li(18),r=Li(25);S("ngIf",!e.fab),E(1),S("ngIf",e.fab),E(3),S("ngIf",e.event&&!e.event.saved),E(1),S("ngIf",e.event&&e.event.saved),E(1),S("ngIf",e.event&&e.event.saved),E(1),S("matMenuTriggerFor",n),E(5),S("matMenuTriggerFor",r),E(7),S("ngIf",e.event),E(1),S("ngIf",e.event),E(1),S("ngIf",e.event),E(1),S("ngIf",e.event),E(1),S("ngIf",e.event),E(10),S("ngForOf",e.labelService.labels)}},dependencies:[vn,ri,bo,Q5,Qn,pm,ed,c0],encapsulation:2});const hoe=function(i){return["/p",i]};class gm{constructor(t,e,n){this.db=t,this.profiles=e,this.utilities=n,this.pubkey="",this.profileName="",this.tooltip=""}ngOnInit(){var t=this;return Se(function*(){const e=yield t.db.storage.getProfile(t.pubkey);t.profileName=e?e.display_name?e.display_name:e.name:t.utilities.getShortenedIdentifier(t.pubkey)})()}}function moe(i,t){if(1&i&&(_(0,"span"),N(1),F()),2&i){const e=Q();E(1),Gt(" ",e.notification.message,"")}}gm.\u0275fac=function(t){return new(t||gm)(k(Ra),k(Hn),k(an))},gm.\u0275cmp=qe({type:gm,selectors:[["app-profile-name"]],inputs:{pubkey:"pubkey"},decls:3,vars:5,consts:[[3,"routerLink"],["matTooltipPosition","above",3,"matTooltip",4,"ngIf"],[4,"ngIf"],["matTooltipPosition","above",3,"matTooltip"]],template:function(t,e){1&t&&(_(0,"a",0),ee(1,doe,2,2,"span",1),ee(2,uoe,2,1,"span",2),F()),2&t&&(S("routerLink",yn(3,hoe,e.pubkey)),E(1),S("ngIf",e.tooltip),E(1),S("ngIf",!e.tooltip))},dependencies:[ri,va,As],encapsulation:2});const ZD=function(i){return["/e",i]};function foe(i,t){if(1&i&&(_(0,"span"),N(1," replied to your "),_(2,"a",2),N(3,"note"),F(),N(4,"."),F()),2&i){const e=Q();E(2),S("routerLink",yn(1,ZD,e.notification.id))}}function poe(i,t){1&i&&(_(0,"span"),N(1," started following you."),F())}function goe(i,t){if(1&i&&(_(0,"span"),N(1," boosted your "),_(2,"a",2),N(3,"note"),F()()),2&i){const e=Q();E(2),S("routerLink",yn(1,ZD,e.notification.relatedId))}}function _oe(i,t){if(1&i&&(_(0,"span"),N(1),_(2,"a",2),N(3,"note"),F(),N(4,"."),F()),2&i){const e=Q();E(1),Gt(" reacted with ",e.notification.message," to your "),E(1),S("routerLink",yn(2,ZD,e.notification.relatedId))}}class Cp{}Cp.\u0275fac=function(t){return new(t||Cp)},Cp.\u0275cmp=qe({type:Cp,selectors:[["app-notification-label"]],inputs:{notification:"notification"},decls:6,vars:6,consts:[[3,"pubkey"],[4,"ngIf"],[3,"routerLink"]],template:function(t,e){1&t&&(Ce(0,"app-profile-name",0),ee(1,moe,2,1,"span",1),ee(2,foe,5,3,"span",1),ee(3,poe,2,0,"span",1),ee(4,goe,4,3,"span",1),ee(5,_oe,5,4,"span",1)),2&t&&(S("pubkey",e.notification.pubkey),E(1),S("ngIf",e.notification.kind>7),E(1),S("ngIf",1==e.notification.kind),E(1),S("ngIf",3==e.notification.kind),E(1),S("ngIf",6==e.notification.kind),E(1),S("ngIf",7==e.notification.kind))},dependencies:[ri,va,gm],encapsulation:2});class Js{transform(t){return t?Hv.unix(t).fromNow():""}}Js.\u0275fac=function(t){return new(t||Js)},Js.\u0275pipe=Mr({name:"ago",type:Js,pure:!0});const boe=["picker"];function yoe(i,t){if(1&i&&Ce(0,"app-event-header",17),2&i){const e=t.$implicit;S("listType","icon")("iconSize","thumbnail")("displayName",!1)("displayContent",!1)("profile",e)}}function voe(i,t){if(1&i&&(_(0,"p"),Ce(1,"app-notification-label",22),F()),2&i){const e=t.$implicit;E(1),S("notification",e)}}function woe(i,t){1&i&&(_(0,"p",23),N(1,"No activities"),F())}function Foe(i,t){if(1&i&&(_(0,"mat-card-content",18),ee(1,voe,2,1,"p",19),ee(2,woe,2,0,"p",20),_(3,"div",12)(4,"button",21),N(5,"View more"),F()()()),2&i){const e=t.ngIf;E(1),S("ngForOf",e),E(1),S("ngIf",0==e.length)}}const xoe=function(i){return["/following",i]};function Coe(i,t){if(1&i&&(_(0,"div",24),N(1),Ce(2,"br"),_(3,"small"),N(4),F(),Ce(5,"br"),_(6,"button",25),N(7,"View profiles"),F()()),2&i){const e=t.$implicit;E(1),Gt(" ",e.name,""),E(3),yt(e.about),E(2),S("routerLink",yn(3,xoe,e.pubkeyhex))}}function koe(i,t){if(1&i){const e=Je();_(0,"mat-card",26),pe("click",function(r){const o=Te(e).$implicit;return Ae(Q().navigation.openEvent(r,o))}),_(1,"div",27)(2,"app-event-header",28)(3,"span",29),N(4),mi(5,"ago"),F(),Ce(6,"app-directory-icon",28),F(),Ce(7,"app-event-actions",30),F(),Ce(8,"app-content",30),F()}if(2&i){const e=t.$implicit;E(2),S("pubkey",e.pubkey),E(2),yt(gi(5,5,e.created_at)),E(2),S("pubkey",e.pubkey),E(1),S("event",e),E(1),S("event",e)}}class d0{constructor(t,e,n,r,a,o,c,h,f,x,P,$,te,fe,ye,Ie,Le){this.ui=t,this.db=e,this.appState=n,this.cd=r,this.options=a,this.dialog=o,this.navigation=c,this.profileService=h,this.validator=f,this.authService=x,this.utilities=P,this.snackBar=$,this.dataService=te,this.router=fe,this.breakpointObserver=ye,this.ngZone=Ie,this.formBuilder=Le,this.subscriptions=[],this.lists=[{name:"Nostr",about:"Influencial nostr developers and community people",pubkey:"npub15xrwvftyzynahpl5fmpuv9wtkg9q52j8q73saw59u8tmx63ktx8sfclgss",pubkeyhex:"a186e625641127db87f44ec3c615cbb20a0a2a4707a30eba85e1d7b36a36598f"},{name:"Bitcoin",about:"Influencial Bitcoin people",pubkey:"npub175ag9cus82a0zzpkheaglnudpvsc8q046z82cyz9gmauzlve6r2s4k9fpm",pubkeyhex:"f53a82e3903abaf10836be7a8fcf8d0b218381f5d08eac104546fbc17d99d0d5"},{name:"Blockcore",about:"Follow the Blockcore developers",pubkey:"npub1zfy0r7x8s3xukajewkmmzxjj3wpfan7apj5y7szz7y740wtf6p5q3tdyy9",pubkeyhex:"1248f1f8c7844dcb765975b7b11a528b829ecfdd0ca84f4042f13d57b969d068"}],this.defaults=[{pubkeynpub:"npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6",pubkey:"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d",name:"fiatjaf",picture:"https://pbs.twimg.com/profile_images/539211568035004416/sBMjPR9q_normal.jpeg",about:"buy my merch at fiatjaf store",checked:!1},{pubkeynpub:"npub1sg6plzptd64u62a878hep2kev88swjh3tw00gjsfl8f237lmu63q0uf63m",pubkey:"82341f882b6eabcd2ba7f1ef90aad961cf074af15b9ef44a09f9d2a8fbfbe6a2",name:"jack",picture:"https://pbs.twimg.com/profile_images/1115644092329758721/AFjOr-K8_normal.jpg",about:"bitcoin...twttr/@jack",checked:!1},{pubkeynpub:"npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s",pubkey:"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",name:"jb55",picture:"https://pbs.twimg.com/profile_images/1362882895669436423/Jzsp1Ikr_normal.jpg",about:"damus.io author. bitcoin and nostr dev",checked:!1},{pubkeynpub:"npub1v4v57fu60zvc9d2uq23cey4fnwvxlzga9q2vta2n6xalu03rs57s0mxwu8",pubkey:"65594f279a789982b55c02a38c92a99b986f891d2814c5f553d1bbfe3e23853d",name:"hampus",picture:"https://pbs.twimg.com/profile_images/1517505111991504896/9qixSAMn_normal.jpg",about:"",checked:!1},{pubkeynpub:"npub1zl3g38a6qypp6py2z07shggg45cu8qex992xpss7d8zrl28mu52s4cjajh",pubkey:"17e2889fba01021d048a13fd0ba108ad31c38326295460c21e69c43fa8fbe515",name:"sondreb",picture:"https://sondreb.com/favicon.png",about:"Developer \u{1f9b8}\u200d\u2642\ufe0f of Blockcore Notes and Blockcore Wallet",checked:!1}],this.latestItems=[],this.initialLoad=!0,this.details=!1,this.images=["https://picsum.photos/seed/1/800/600","https://picsum.photos/seed/2/600/800","https://picsum.photos/seed/3/800/800","https://picsum.photos/seed/4/800/600","https://picsum.photos/seed/5/600/800","https://picsum.photos/seed/6/800/800","https://picsum.photos/seed/7/800/600","https://picsum.photos/seed/8/600/800","https://picsum.photos/seed/9/800/800","https://picsum.photos/seed/10/800/600","https://picsum.photos/seed/11/600/800","https://picsum.photos/seed/12/800/800","https://picsum.photos/seed/1/800/600","https://picsum.photos/seed/2/600/800","https://picsum.photos/seed/3/800/800"],this.profileThumbnailWidth=72,this.profileCount=1,this.profiles=[],console.log("HOME constructor!!")}addEmoji(t){this.note=`${this.note}${t.emoji.native}`,this.isEmojiPickerVisible=!1}onCancel(){this.note=""}postNote(){this.navigation.saveNote(this.note)}follow(t){var e=this;return Se(function*(){t.checked&&(yield e.profileService.follow(t.pubkey,0,t))})()}trackByFn(t,e){return e.id}trackByProfile(t,e){return`${e.pubkey}${e.checked}`}trackByNoteId(t,e){return e.id}toggleDetails(){this.details=!this.details}import(t){this.dataService.enque({identifier:t,type:"Contacts"})}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}feedChanged(t,e){"public"===e?this.options.values.privateFeed=!this.options.values.publicFeed:this.options.values.publicFeed=!this.options.values.privateFeed}ngOnInit(){var t=this;return Se(function*(){t.options.values.privateFeed=!0,t.formGroup=t.formBuilder.group({note:["",Oo.required],expiration:[""],dateControl:[]}),t.appState.updateTitle("Blockcore Notes"),t.appState.showBackButton=!1,t.appState.showLogo=!0,t.appState.actions=[{icon:"note_add",tooltip:"Create Note",click:()=>{t.navigation.createNote()}}],t.latestItems=yield t.db.storage.getEventsByCreatedAndKind(7,1),t.subscriptions.push(t.profileService.following$.subscribe(e=>{t.profileCount=75,t.profiles=e.slice(0,t.profileCount)}))})()}}d0.\u0275fac=function(t){return new(t||d0)(k($r),k(Ra),k(Zi),k(ni),k(Sr),k(Ia),k(yo),k(Hn),k(Xo),k(La),k(an),k(us),k(Ba),k(qn),k(Td),k(Rt),k(MN))},d0.\u0275cmp=qe({type:d0,selectors:[["app-home"]],viewQuery:function(t,e){if(1&t&&Lt(boe,5),2&t){let n;Ze(n=Xe())&&(e.picker=n.first)}},decls:62,vars:7,consts:[[1,"page"],[1,"profile-line"],[3,"listType","iconSize","displayName","displayContent","profile",4,"ngFor","ngForOf"],["mat-icon-button","","routerLink","/people",1,"profile-line-more-button"],[1,"home"],[1,"home-left"],[1,"home-card"],["class","activity-feed",4,"ngIf"],["routerLink","/e/63f78a0588f88c5e6931efcf032c8f600656eb5425785aea99b15ce0967be4a7"],["class","list-selection",4,"ngFor","ngForOf"],["href","https://geyser.fund/project/blockcore","target","_blank"],[1,"home-right"],[1,"centered"],["routerLink","/editor","mat-fab","","extended","","color","primary"],["class","events clickable",3,"click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"view-more-container"],["mat-button","","routerLink","/feed"],[3,"listType","iconSize","displayName","displayContent","profile"],[1,"activity-feed"],[4,"ngFor","ngForOf"],["class","dimmed",4,"ngIf"],["mat-button","","routerLink","/notifications"],[3,"notification"],[1,"dimmed"],[1,"list-selection"],["mat-flat-button","","color","primary",1,"full-width",3,"routerLink"],[1,"events","clickable",3,"click"],[1,"events-header"],[3,"pubkey"],["matTooltipPosition","below",1,"event-date"],[3,"event"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"div",1),ee(2,yoe,1,5,"app-event-header",2),_(3,"button",3)(4,"mat-icon"),N(5,"more_horiz"),F()()(),_(6,"div",4)(7,"div",5)(8,"mat-card",6)(9,"mat-card-header")(10,"mat-card-title"),N(11,"Activity Feed"),F()(),ee(12,Foe,6,2,"mat-card-content",7),mi(13,"async"),F(),_(14,"mat-card",6)(15,"mat-card-header")(16,"mat-card-title"),N(17,"News"),F()(),_(18,"mat-card-content")(19,"p"),N(20,"02-11: Activity feed and notifications has been added."),F(),_(21,"p"),N(22,"01-19: "),_(23,"a",8),N(24,"Nostr conference is in the planning"),F(),N(25,"."),F(),_(26,"p"),N(27,'01-20: Blockcore Notes "Home" launched as UI-mockup.'),F()()(),_(28,"mat-card",6)(29,"mat-card-header")(30,"mat-card-title"),N(31,"Following Lists"),F(),_(32,"mat-card-subtitle"),N(33,"Lists of users based upon topics you can add to your following list."),F()(),_(34,"mat-card-content"),ee(35,Coe,8,5,"div",9),F()(),_(36,"mat-card",6)(37,"mat-card-header")(38,"mat-card-title"),N(39,"Prototype"),F()(),_(40,"mat-card-content")(41,"p"),N(42,"Blockcore Notes is currently in prototype quality stage. Reset the database often."),F(),_(43,"p"),N(44,"Please consider donating some Bitcoin using Geyser:"),F(),_(45,"p")(46,"a",10),N(47,"geyser.fund/blockcore"),F()()()()(),_(48,"div",11),Ce(49,"br")(50,"br"),_(51,"div",12)(52,"button",13)(53,"mat-icon"),N(54,"note_add"),F(),N(55," Write a Note "),F()(),Ce(56,"br")(57,"br"),ee(58,koe,9,7,"mat-card",14),_(59,"p",15)(60,"button",16),N(61,"View following notes..."),F()()()()()),2&t&&(E(2),S("ngForOf",e.profiles),E(10),S("ngIf",gi(13,5,e.ui.activityFeed$)),E(23),S("ngForOf",e.lists),E(23),S("ngForOf",e.latestItems)("ngForTrackBy",e.trackByFn))},dependencies:[vn,ri,va,ur,bo,K5,Pa,oc,X_,Z_,Q_,Qn,Tl,ms,Al,Xs,Cp,Es,Js],styles:[".dashboard-header[_ngcontent-%COMP%]{display:flex;gap:2em;flex-direction:row}.dashboard-header[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{border-radius:20px}.card-container[_ngcontent-%COMP%]{box-sizing:border-box}.default-card[_ngcontent-%COMP%]{display:inline-block;width:300px;height:160px;margin-right:1em;margin-bottom:1em}.follow-button[_ngcontent-%COMP%]{margin-top:1em;width:100%;font-size:1.2em;height:72px;text-align:center}.follow-card-content[_ngcontent-%COMP%]{text-align:center}.follow-toggle[_ngcontent-%COMP%]{margin-top:1em;margin-bottom:1em}.dashboard[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:1em}.dashboard-left[_ngcontent-%COMP%]{flex-grow:4;flex-shrink:1;flex-basis:10%}.dashboard-right[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;flex-basis:10%}.list-selection[_ngcontent-%COMP%]{margin-top:1.4em}.list-selection[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-top:.8em}@media only screen and (max-width: 920px){.dashboard[_ngcontent-%COMP%]{flex-direction:column}}@media only screen and (max-width: 820px){.dashboard-header[_ngcontent-%COMP%]{flex-direction:column;gap:1em}}@media only screen and (max-width: 599px){.default-card[_ngcontent-%COMP%]{display:block;width:100%}}.home[_ngcontent-%COMP%]{display:flex;gap:1.5em;max-width:1360px;align-self:center}.home-left[_ngcontent-%COMP%]{flex:1 1 0;min-width:240px}.home-right[_ngcontent-%COMP%]{flex:3 1 0}.home-card[_ngcontent-%COMP%]{border-radius:15px;margin-bottom:1.8em;width:100%}.home-card-thumbnail[_ngcontent-%COMP%]{width:56px;height:56px;margin-left:.1em;margin-right:.1em;border-radius:5px}.home-card-image[_ngcontent-%COMP%]{width:100%}.page[_ngcontent-%COMP%]{box-sizing:border-box;display:flex;width:100%;flex-direction:column}@media only screen and (max-width: 599px){.home[_ngcontent-%COMP%]{flex-direction:column-reverse;gap:1em}}.view-more-container[_ngcontent-%COMP%]{text-align:center}.activity-feed[_ngcontent-%COMP%]{font-size:.85em}.wipe-button[_ngcontent-%COMP%]{margin-bottom:1em}.profile-line[_ngcontent-%COMP%]{width:100%;overflow-y:hidden;overflow-x:scroll;display:flex;flex-direction:row;margin-bottom:.2em}.profile-line[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:transparent}.profile-line[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:#a3a5a7c2}.profile-line[_ngcontent-%COMP%] .event-header[_ngcontent-%COMP%]{flex-flow:nowrap}.profile-line[_ngcontent-%COMP%] .icon-medium[_ngcontent-%COMP%]{width:64px!important;height:64px!important}.profile-line-more-button[_ngcontent-%COMP%]{margin-top:.4em;margin-left:.4em}"]});class u0{constructor(t,e,n,r,a,o){this.relayService=t,this.ui=e,this.appState=n,this.db=r,this.authService=a,this.router=o}ngOnInit(){this.relayService.terminateAll(),this.ui.clearAll(),this.db.close(),this.authService.logout()}}function Doe(i,t){if(1&i&&(_(0,"mat-chip-option",4),N(1),F()),2&i){const e=t.$implicit;S("value",e.id),E(1),yt(e.name)}}function Moe(i,t){if(1&i){const e=Je();_(0,"div")(1,"mat-form-field",5)(2,"input",6),pe("ngModelChange",function(r){return Te(e),Ae(Q().label=r)}),F()(),_(3,"button",7),pe("click",function(){return Te(e),Ae(Q().saveLabel())}),_(4,"mat-icon"),N(5,"done"),F()(),_(6,"button",8),pe("click",function(){return Te(e),Ae(Q().hideNewLabel())}),_(7,"mat-icon"),N(8,"close"),F()()()}if(2&i){const e=Q();E(2),S("ngModel",e.label),E(1),S("disabled",!e.label)}}function Eoe(i,t){if(1&i){const e=Je();_(0,"button",8),pe("click",function(){return Te(e),Ae(Q().addNewLabel())}),_(1,"mat-icon"),N(2,"add"),F()()}}u0.\u0275fac=function(t){return new(t||u0)(k(Mo),k($r),k(Zi),k(Ra),k(La),k(qn))},u0.\u0275cmp=qe({type:u0,selectors:[["app-logout"]],decls:1,vars:0,template:function(t,e){1&t&&N(0,"Loading...")},encapsulation:2});class h0{constructor(t){this.labelService=t,this.selectionChanged=new lt}addNewLabel(){this.showNewLabel=!0}hideNewLabel(){this.showNewLabel=!1,this.label=""}onChange(t){console.log(t),this.selectionChanged.emit(t.value)}saveLabel(){var t=this;return Se(function*(){t.label&&(t.labelService.saveLabel(t.label),t.label="",t.showNewLabel=!1)})()}}h0.\u0275fac=function(t){return new(t||h0)(k(Is))},h0.\u0275cmp=qe({type:h0,selectors:[["app-labels"]],outputs:{selectionChanged:"selectionChanged"},decls:4,vars:5,consts:[["aria-label","Fish selection",3,"selectable","multiple","change"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["mat-icon-button","",3,"click",4,"ngIf"],[3,"value"],[1,"example-form-field"],["matInput","","type","text",3,"ngModel","ngModelChange"],["mat-icon-button","",3,"disabled","click"],["mat-icon-button","",3,"click"]],template:function(t,e){1&t&&(_(0,"mat-chip-listbox",0),pe("change",function(r){return e.onChange(r)}),ee(1,Doe,2,2,"mat-chip-option",1),ee(2,Moe,9,2,"div",2),ee(3,Eoe,3,0,"button",3),F()),2&t&&(S("selectable",!0)("multiple",!0),E(1),S("ngForOf",e.labelService.labels),E(1),S("ngIf",e.showNewLabel),E(1),S("ngIf",!e.showNewLabel))},dependencies:[vn,ri,Do,Oa,bo,Qn,KD,qD,xa,ua,Ca]});class m0{constructor(t){this.labelService=t}transform(t){return t?this.labelService.getName(t):""}}function Soe(i,t){1&i&&(_(0,"span"),N(1,", "),F())}function Toe(i,t){if(1&i&&(_(0,"span")(1,"strong"),N(2),mi(3,"label"),F(),ee(4,Soe,2,0,"span",1),F()),2&i){const e=t.$implicit,n=t.last;E(2),yt(gi(3,2,e)),E(2),S("ngIf",!n)}}m0.\u0275fac=function(t){return new(t||m0)(k(Is,16))},m0.\u0275pipe=Mr({name:"label",type:m0,pure:!0});class f0{constructor(t){this.labelService=t,this.labels=[]}}function Aoe(i,t){1&i&&(_(0,"div"),N(1,"Notes are all your saved posts. These can be your own, or they can be copies of public posts made by others. You can add tags to organize your saved notes."),Ce(2,"br"),F())}function Ioe(i,t){if(1&i&&(_(0,"mat-card",5)(1,"div",6)(2,"app-event-header",7),N(3,"Posted: "),_(4,"span",8),N(5),mi(6,"ago"),F(),N(7,", Saved: "),_(8,"span",8),N(9),mi(10,"ago"),F()(),Ce(11,"app-event-actions",9),F(),Ce(12,"app-content",9)(13,"app-label",10),F()),2&i){const e=t.$implicit;E(2),S("pubkey",e.pubkey),E(3),yt(gi(6,6,e.created_at)),E(4),yt(gi(10,8,e.saved)),E(2),S("event",e),E(1),S("event",e),E(1),S("labels",e.labels)}}f0.\u0275fac=function(t){return new(t||f0)(k(Is))},f0.\u0275cmp=qe({type:f0,selectors:[["app-label"]],inputs:{labels:"labels"},decls:2,vars:1,consts:[[4,"ngFor","ngForOf"],[4,"ngIf"]],template:function(t,e){1&t&&(N(0,"Labels: "),ee(1,Toe,5,4,"span",0)),2&t&&(E(1),S("ngForOf",e.labels))},dependencies:[vn,ri,m0],encapsulation:2});class p0{constructor(t,e){this.notesService=t,this.appState=e,this.details=!1}toggleDetails(){this.details=!this.details}filterNotes(t){this.notesService.filterByLabels(t)}ngOnInit(){var t=this;return Se(function*(){t.appState.updateTitle("Saved Notes"),t.appState.goBack=!0,t.appState.actions=[],yield t.notesService.load()})()}}p0.\u0275fac=function(t){return new(t||p0)(k(eu),k(Zi))},p0.\u0275cmp=qe({type:p0,selectors:[["app-notes"]],decls:5,vars:2,consts:[[1,"feed-page"],[3,"selectionChanged"],[4,"ngIf"],[1,"notes"],["class","events",4,"ngFor","ngForOf"],[1,"events"],[1,"events-header"],[3,"pubkey"],[1,"event-date"],[3,"event"],[3,"labels"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"app-labels",1),pe("selectionChanged",function(r){return e.filterNotes(r)}),F(),ee(2,Aoe,3,0,"div",2),_(3,"div",3),ee(4,Ioe,14,10,"mat-card",4),F()()),2&t&&(E(2),S("ngIf",0===e.notesService.items.length),E(2),S("ngForOf",e.notesService.filtered))},dependencies:[vn,ri,Pa,ms,Al,Xs,h0,f0,Js],styles:[".events[_ngcontent-%COMP%]{width:480px;max-width:480px}.notes[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;gap:1em;margin-top:1em;align-items:flex-start}"]});class _m{onElementScroll(){"self"===this.infiniteScrollContext&&this.elementEndReachedInSelfScrollbarContext()&&this.canTriggerAction&&this.triggerAction()}constructor(t){this.element=t,this.canTriggerAction=!0,this.infiniteScrollContext="self",this.scrollAction=new lt,this.el=t.nativeElement,this.viewport=this.getViewport(window)}ngOnInit(){"document"===this.infiniteScrollContext&&document.addEventListener("scroll",()=>{this.elementEndReachedInDocumentScrollbarContext(window,this.el)&&this.canTriggerAction&&this.triggerAction()})}triggerAction(){this.canTriggerAction=!1,this.scrollAction.emit(null)}elementEndReachedInSelfScrollbarContext(){return this.el.scrollTop+this.el.offsetHeight>=this.el.scrollHeight-1&&(this.canTriggerAction=!0,!0)}elementEndReachedInDocumentScrollbarContext(t,e){const a=e.getBoundingClientRect().top+t.pageYOffset;return t.pageYOffset+this.viewport.h>e.offsetHeight+a&&(this.canTriggerAction=!0,!0)}getViewport(t){if(null!=t.innerWidth)return{w:t.innerWidth,h:t.innerHeight};let e=t.document;return"CSS1Compat"==document.compatMode?{w:e.documentElement.clientWidth,h:e.documentElement.clientHeight}:{w:e.body.clientWidth,h:e.body.clientHeight}}}_m.\u0275fac=function(t){return new(t||_m)(k(gt))},_m.\u0275dir=Oe({type:_m,selectors:[["","infiniteScroll",""]],hostBindings:function(t,e){1&t&&pe("scroll",function(r){return e.onElementScroll(r)})},inputs:{infiniteScrollContext:"infiniteScrollContext"},outputs:{scrollAction:"scrollAction"}});var kp=I(3259);const Loe=["qrcElement"];let Noe=(()=>{class i{constructor(e,n){this.renderer=e,this.sanitizer=n,this.allowEmptyString=!1,this.colorDark="#000000ff",this.colorLight="#ffffffff",this.cssClass="qrcode",this.elementType="canvas",this.errorCorrectionLevel="M",this.margin=4,this.qrdata="",this.scale=4,this.width=10,this.qrCodeURL=new lt,this.context=null}ngOnChanges(){var e=this;return Se(function*(){yield e.createQRCode()})()}isValidQrCodeText(e){return!1===this.allowEmptyString?!(typeof e>"u"||""===e||"null"===e||null===e):!(typeof e>"u")}toDataURL(e){return new Promise((n,r)=>{(0,kp.hz)(this.qrdata,e,(a,o)=>{a?r(a):n(o)})})}toCanvas(e,n){return new Promise((r,a)=>{(0,kp.rT)(e,this.qrdata,n,o=>{o?a(o):r("success")})})}toSVG(e){return new Promise((n,r)=>{(0,kp.toString)(this.qrdata,e,(a,o)=>{a?r(a):n(o)})})}renderElement(e){for(const n of this.qrcElement.nativeElement.childNodes)this.renderer.removeChild(this.qrcElement.nativeElement,n);this.renderer.appendChild(this.qrcElement.nativeElement,e)}createQRCode(){var e=this;return Se(function*(){e.version&&e.version>40?(console.warn("[angularx-qrcode] max value for `version` is 40"),e.version=40):e.version&&e.version<1?(console.warn("[angularx-qrcode]`min value for `version` is 1"),e.version=1):void 0!==e.version&&isNaN(e.version)&&(console.warn("[angularx-qrcode] version should be a number, defaulting to auto."),e.version=void 0);try{if(!e.isValidQrCodeText(e.qrdata))throw new Error("[angularx-qrcode] Field `qrdata` is empty, set 'allowEmptyString=\"true\"' to overwrite this behaviour.");e.isValidQrCodeText(e.qrdata)&&""===e.qrdata&&(e.qrdata=" ");const n={color:{dark:e.colorDark,light:e.colorLight},errorCorrectionLevel:e.errorCorrectionLevel,margin:e.margin,scale:e.scale,version:e.version,width:e.width},r=e.imageSrc,a=e.imageHeight||40,o=e.imageWidth||40;switch(e.elementType){case"canvas":const c=e.renderer.createElement("canvas");e.context=c.getContext("2d"),e.toCanvas(c,n).then(()=>{if(e.ariaLabel&&e.renderer.setAttribute(c,"aria-label",`${e.ariaLabel}`),e.title&&e.renderer.setAttribute(c,"title",`${e.title}`),r&&e.context){e.centerImage=new Image(o,a),r!==e.centerImage.src&&(e.centerImage.src=r),a!==e.centerImage.height&&(e.centerImage.height=a),o!==e.centerImage.width&&(e.centerImage.width=o);const x=e.centerImage;x&&(x.onload=()=>{e.context?.drawImage(x,c.width/2-o/2,c.height/2-a/2,o,a)})}e.renderElement(c),e.emitQRCodeURL(c)}).catch(x=>{console.error("[angularx-qrcode] canvas error:",x)});break;case"svg":const h=e.renderer.createElement("div");e.toSVG(n).then(x=>{e.renderer.setProperty(h,"innerHTML",x);const P=h.firstChild;e.renderer.setAttribute(P,"height",`${e.width}`),e.renderer.setAttribute(P,"width",`${e.width}`),e.renderElement(P),e.emitQRCodeURL(P)}).catch(x=>{console.error("[angularx-qrcode] svg error:",x)});break;default:const f=e.renderer.createElement("img");e.toDataURL(n).then(x=>{e.alt&&f.setAttribute("alt",e.alt),e.ariaLabel&&f.setAttribute("aria-label",e.ariaLabel),f.setAttribute("src",x),e.title&&f.setAttribute("title",e.title),e.renderElement(f),e.emitQRCodeURL(f)}).catch(x=>{console.error("[angularx-qrcode] img/url error:",x)})}}catch(n){console.error("[angularx-qrcode] Error generating QR Code:",n.message)}})()}emitQRCodeURL(e){const n=e.constructor.name;if(n===SVGSVGElement.name){const o=new Blob([e.outerHTML],{type:"image/svg+xml"}),c=URL.createObjectURL(o),h=this.sanitizer.bypassSecurityTrustUrl(c);return void this.qrCodeURL.emit(h)}let r="";n===HTMLCanvasElement.name&&(r=e.toDataURL("image/png")),n===HTMLImageElement.name&&(r=e.src),fetch(r).then(a=>a.blob()).then(a=>URL.createObjectURL(a)).then(a=>this.sanitizer.bypassSecurityTrustUrl(a)).then(a=>{this.qrCodeURL.emit(a)}).catch(a=>{console.error("[angularx-qrcode] Error when fetching image/png URL: "+a)})}}return i.\u0275fac=function(e){return new(e||i)(k(gl),k(Sf))},i.\u0275cmp=qe({type:i,selectors:[["qrcode"]],viewQuery:function(e,n){if(1&e&&Lt(Loe,7),2&e){let r;Ze(r=Xe())&&(n.qrcElement=r.first)}},inputs:{allowEmptyString:"allowEmptyString",colorDark:"colorDark",colorLight:"colorLight",cssClass:"cssClass",elementType:"elementType",errorCorrectionLevel:"errorCorrectionLevel",imageSrc:"imageSrc",imageHeight:"imageHeight",imageWidth:"imageWidth",margin:"margin",qrdata:"qrdata",scale:"scale",version:"version",width:"width",alt:"alt",ariaLabel:"ariaLabel",title:"title"},outputs:{qrCodeURL:"qrCodeURL"},features:[or],decls:2,vars:2,consts:[["qrcElement",""]],template:function(e,n){1&e&&Ce(0,"div",null,0),2&e&&lb(n.cssClass)},encapsulation:2,changeDetection:0}),i})(),Ooe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})();function Roe(i,t){if(1&i&&Ce(0,"img",14),2&i){const e=Q();S("matTooltip",e.tooltip)("src",e.imagePath,hn)}}function Poe(i,t){if(1&i&&Ce(0,"img",15),2&i){const e=Q();S("matTooltip",e.tooltip)("src",e.imagePath,hn)}}class g0{constructor(t,e){this.data=t,this.util=e,this.invoice={pr:""},this.imagePath="/assets/profile.png",this.tooltip="",this.tooltipName="",this.profileName=""}ngOnInit(){var t=this;return Se(function*(){t.invoice=t.data.invoice,t.profile=t.data.profile,t.updateProfileDetails()})()}updateProfileDetails(){var t=this;return Se(function*(){t.profile&&(t.profile.picture&&(t.imagePath=t.profile.picture),t.tooltip=t.profile.about,t.tooltipName=t.profileName,t.profileName=t.profile.display_name||t.profile.name||t.profileName)})()}copy(t){this.util.copy(t)}}function Boe(i,t){if(1&i&&Ce(0,"img",26),2&i){const e=Q();S("matTooltip",e.tooltip)("src",e.imagePath,hn)}}function Hoe(i,t){if(1&i&&Ce(0,"img",27),2&i){const e=Q();S("matTooltip",e.tooltip)("src",e.imagePath,hn)}}function Voe(i,t){if(1&i&&(_(0,"span"),N(1),F()),2&i){const e=Q(2);E(1),yd("Please enter an amount between ",e.minSendable," and ",e.maxSendable,".")}}function Yoe(i,t){1&i&&N(0),2&i&&Gt("The minimum amount you can send is ",Q(2).minSendable,".")}function joe(i,t){1&i&&N(0),2&i&&Gt("The maximum amount you can send is ",Q(2).maxSendable,".")}function zoe(i,t){1&i&&N(0),2&i&&Gt("The maximum amount you can send is ",Q(2).maxSendable,".")}function Uoe(i,t){1&i&&N(0),2&i&&Gt("The maximum amount you can send is ",Q(2).maxSendable,".")}function Woe(i,t){1&i&&N(0,"Please enter a valid amount.")}function Goe(i,t){if(1&i&&(_(0,"mat-error"),Qo(1,28),ee(2,Voe,2,2,"ng-template",null,29,ko),ee(4,Yoe,1,1,"ng-template",null,30,ko),ee(6,joe,1,1,"ng-template",null,31,ko),ee(8,zoe,1,1,"ng-template",null,32,ko),ee(10,Uoe,1,1,"ng-template",null,33,ko),ee(12,Woe,1,0,"ng-template",null,34,ko),F()),2&i){const e=Li(3),n=Li(5),r=Li(7),a=Li(9),o=Li(11),c=Li(13),h=Q();E(1),S("ngTemplateOutlet",h.minSendable>0&&h.maxSendable>0?e:h.minSendable>0&&0==h.maxSendable?n:0==h.minSendable&&h.maxSendable>0?r:h.maxSendable>0?a:h.maxSendable<=0?o:c)}}function qoe(i,t){1&i&&(_(0,"mat-error"),N(1," Please enter a comment. "),F())}function $oe(i,t){if(1&i&&(_(0,"mat-error"),N(1),F()),2&i){const e=Q();E(1),Gt(" ",e.error," ")}}g0.\u0275fac=function(t){return new(t||g0)(k(kl),k(an))},g0.\u0275cmp=qe({type:g0,selectors:[["app-zap-qr-code"]],decls:19,vars:18,consts:[["mat-dialog-content","",2,"text-align","center"],[1,"profile-container",2,"display","inline-flex","align-items","center"],[1,"icon","icon-small",2,"margin-right","10px"],["onerror","this.src='/assets/profile.png'","class","profile-image profile-image-follow","matTooltipPosition","above",3,"matTooltip","src",4,"ngIf"],["loading","lazy","onerror","this.src='/assets/profile.png'","class","profile-image","matTooltipPosition","above",3,"matTooltip","src",4,"ngIf"],[1,"name","clickable",2,"flex-grow","1"],["matTooltipPosition","above",3,"matTooltip"],[2,"display","flex","justify-content","center","align-items","center","flex-direction","column"],[3,"qrdata","width","errorCorrectionLevel"],[1,"profile-labels",2,"display","flex","align-items","center","cursor","pointer",3,"click"],[1,"profile-labels-left"],[1,"hoverable",2,"width","100%"],[1,"profile-labels-middle","dimmed",2,"text-align","right"],[1,"profile-icon",2,"margin-left","5px"],["onerror","this.src='/assets/profile.png'","matTooltipPosition","above",1,"profile-image","profile-image-follow",3,"matTooltip","src"],["loading","lazy","onerror","this.src='/assets/profile.png'","matTooltipPosition","above",1,"profile-image",3,"matTooltip","src"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"div",1)(2,"div",2),ee(3,Roe,1,2,"img",3),ee(4,Poe,1,2,"img",4),F(),_(5,"div",5)(6,"span",6),N(7),F()()(),_(8,"div",7),Ce(9,"qrcode",8),_(10,"div",9),pe("click",function(){return e.copy(e.invoice.pr)}),_(11,"div",10)(12,"a",11),N(13),mi(14,"slice"),mi(15,"slice"),F()(),_(16,"div",12)(17,"mat-icon",13),N(18,"content_copy"),F()()()()()),2&t&&(E(3),S("ngIf",1==(null==e.profile?null:e.profile.status)||2==(null==e.profile?null:e.profile.status)),E(1),S("ngIf",1!=(null==e.profile?null:e.profile.status)&&2!=(null==e.profile?null:e.profile.status)),E(2),Mt("muted",2==e.profile.status),S("matTooltip",e.tooltipName),E(1),Gt("Send Zaps to ",e.profileName,""),E(2),S("qrdata",e.invoice.pr)("width",256)("errorCorrectionLevel","M"),E(4),yd("",function _T(i,t,e,n,r){const a=i+dn,o=xt(),c=pu(o,a);return Dg(o,a)?fT(o,Co(),t,c.transform,e,n,r,c):c.transform(e,n,r)}(14,11,e.invoice.pr,0,10),"...",ex(15,15,e.invoice.pr,-10),""))},dependencies:[ri,Qn,As,tc,Noe,UA],styles:[".profile-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;margin-bottom:30px}.icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:50%;overflow:hidden;margin-right:10px}.profile-image[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;border:unset}.name[_ngcontent-%COMP%]{font-size:18px;font-weight:700;text-align:center}.mdc-dialog__actions[_ngcontent-%COMP%]{padding:0}"]});class bm{constructor(t,e,n,r,a,o,c,h,f){this.data=t,this.formBuilder=e,this.eventService=n,this.relayService=r,this.nostr=a,this.util=o,this.dataService=c,this.dialog=h,this.dialogRef=f,this.minSendable=0,this.maxSendable=0,this.amount=0,this.comment="",this.payRequest=null,this.invoice={pr:""},this.imagePath="/assets/profile.png",this.tooltip="",this.tooltipName="",this.profileName="",this.error=""}ngOnInit(){var t=this;return Se(function*(){t.profile=t.data.profile,t.sendZapForm=t.formBuilder.group({amount:["",[Oo.required]],comment:[""]}),t.fetchPayReq(),yield t.updateProfileDetails()})()}fetchPayReq(){var t=this;return Se(function*(){t.payRequest=yield t.fetchZapper(),t.recofigureFormValidators()})()}fetchZapper(){var t=this;return Se(function*(){let e="";if(t.profile.lud16){const n=t.profile.lud16.split("@");e=`https://${n[1]}/.well-known/lnurlp/${n[0]}`}else t.profile.lud06&&t.profile.lud06.toLowerCase().startsWith("lnurl")&&(e=t.util.convertBech32ToText(t.profile.lud06).toString());if(0!==e.length)try{const n=yield fetch(e);if(n.ok){const r=yield n.json();if("ERROR"!==r.status)return r;t.error=r.reason?r.reason:"Error fetching the invoice - please try again later"}}catch{t.error="Error fetching the invoice - please try again later"}return null})()}onSubmit(){var t=this;return Se(function*(){if(t.sendZapForm.valid){let e=t.sendZapForm.get("comment")?.value,n=t.sendZapForm.get("amount")?.value;if(n&&t.payRequest){const r=new URL(t.payRequest.callback),a=new Map;let o;a.set("amount",Math.floor(1e3*n).toString()),e&&t.payRequest?.commentAllowed&&a.set("comment",e),t.payRequest.nostrPubkey&&t.profile.pubkey&&(o=yield t.createZapEvent(t.profile.pubkey,null,e),a.set("nostr",JSON.stringify(o)));const c=`${r.protocol}//${r.host}${r.pathname}`,h=[...a.entries()].map(f=>`${f[0]}=${encodeURIComponent(f[1])}`).join("&");try{const f=yield fetch(`${c}?${h}`);if(f.ok){const x=yield f.json();"ERROR"===x.status?t.error=x.reason?x.reason:"Error fetching the invoice - please try again later":(t.invoice=x,t.dialog.open(g0,{width:"400px",data:{invoice:t.invoice,profile:t.profile}}),t.dialogRef.close(bm))}else t.error="Error fetching the invoice - please try again later"}catch{t.error="Error fetching the invoice - please try again later"}}else console.log("error: please enter an amount and a valid pay request")}})()}createZapEvent(t,e,n){var r=this;return Se(function*(){let a=r.dataService.createEvent($n.Zap,"");Object.assign([],a.tags),e&&a.tags.push(["e",e]),a.tags.push(["p",t]),a.tags.push(["relays",...Object.keys(r.relayService.relays)]);const o=yield r.createAndSignEvent(a);if(o)return o})()}createAndSignEvent(t){var e=this;return Se(function*(){let n=t;n.id=jd(t),n=yield e.nostr.sign(t);const r=e.eventService.processEvent(n);if(!r)throw new Error("The event is not valid. Cannot publish.");if(!zd(n))throw new Error("The event is not valid. Cannot publish.");if(!(yield op(r)))throw new Error("The event signature not valid. Maybe you choose a different account than the one specified?");return r})()}recofigureFormValidators(){this.minSendable=(this.payRequest?.minSendable||1e3)/1e3,this.maxSendable=(this.payRequest?.maxSendable||21e9)/1e3,this.sendZapForm.get("amount")?.setValidators([Oo.min((this.payRequest?.minSendable||1e3)/1e3),Oo.max((this.payRequest?.maxSendable||21e9)/1e3),Oo.required])}updateProfileDetails(){var t=this;return Se(function*(){t.profile&&(t.profile.picture&&(t.imagePath=t.profile.picture),t.tooltip=t.profile.about,t.tooltipName=t.profileName,t.profileName=t.profile.display_name||t.profile.name||t.util.getNostrIdentifier(t.profile.pubkey))})()}setAmount(t){this.sendZapForm.get("amount")?.setValue(t)}}function MO(i,t){const e=Array(i);for(let n=0;n<i;n++)e[n]=t(n);return e}bm.\u0275fac=function(t){return new(t||bm)(k(kl),k(MN),k(Jo),k(Mo),k(El),k(an),k(Ba),k(Ia),k(Ts))},bm.\u0275cmp=qe({type:bm,selectors:[["app-zap-dialog"]],decls:53,vars:13,consts:[["mat-dialog-content",""],[1,"profile-container"],[1,"icon","icon-small"],["onerror","this.src='/assets/profile.png'","class","profile-image profile-image-follow","matTooltipPosition","above",3,"matTooltip","src",4,"ngIf"],["loading","lazy","onerror","this.src='/assets/profile.png'","class","profile-image","matTooltipPosition","above",3,"matTooltip","src",4,"ngIf"],[1,"name","clickable"],["matTooltipPosition","above",3,"matTooltip"],[1,"emoji-container"],[1,"emoji-button"],["mat-icon-button","","color","primary",1,"thumb-up-btn",3,"click"],[1,"emoji-number"],["mat-icon-button","","color","primary",1,"favorite-btn",3,"click"],["mat-icon-button","","color","primary",1,"applause-btn",3,"click"],["novalidate","",3,"formGroup","ngSubmit"],[1,"row"],[1,"col"],["appearance","fill"],["type","number","matInput","","formControlName","amount","placeholder","Enter Zap Amount","step","1","required","",3,"ngModel","ngModelChange"],[4,"ngIf"],["matInput","","type","text","formControlName","comment","placeholder","Enter Comment"],["mat-dialog-actions","",1,"d-flex","justify-content-between"],[2,"margin-right","10px"],["mat-stroked-button","","mat-dialog-close","","color","primary"],["mat-raised-button","","color","primary",1,"zap-button",3,"disabled"],["width","16","height","20","viewBox","0 0 16 20","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M8.8333 1.70166L1.41118 10.6082C1.12051 10.957 0.975169 11.1314 0.972948 11.2787C0.971017 11.4068 1.02808 11.5286 1.12768 11.6091C1.24226 11.7017 1.46928 11.7017 1.92333 11.7017H7.99997L7.16663 18.3683L14.5888 9.46178C14.8794 9.11297 15.0248 8.93857 15.027 8.79128C15.0289 8.66323 14.9719 8.54141 14.8723 8.46092C14.7577 8.36833 14.5307 8.36833 14.0766 8.36833H7.99997L8.8333 1.70166Z","stroke","currentColor","stroke-width","1.66667","stroke-linecap","round","stroke-linejoin","round"],["onerror","this.src='/assets/profile.png'","matTooltipPosition","above",1,"profile-image","profile-image-follow",3,"matTooltip","src"],["loading","lazy","onerror","this.src='/assets/profile.png'","matTooltipPosition","above",1,"profile-image",3,"matTooltip","src"],[3,"ngTemplateOutlet"],["first",""],["second",""],["third",""],["forth",""],["fifth",""],["sixth",""]],template:function(t,e){if(1&t&&(_(0,"div",0)(1,"div",1)(2,"div",2),ee(3,Boe,1,2,"img",3),ee(4,Hoe,1,2,"img",4),F(),_(5,"div",5)(6,"span",6),N(7),F()()(),_(8,"div",7)(9,"div",8)(10,"button",9),pe("click",function(){return e.setAmount(500)}),_(11,"mat-icon"),N(12,"thumb_up"),F(),_(13,"span",10),N(14,"500"),F()()(),_(15,"div",8)(16,"button",11),pe("click",function(){return e.setAmount(1e3)}),_(17,"mat-icon"),N(18,"favorite"),F(),_(19,"span",10),N(20,"1k"),F()()(),_(21,"div",8)(22,"button",12),pe("click",function(){return e.setAmount(1e4)}),_(23,"mat-icon"),N(24,"rocket"),F(),_(25,"span",10),N(26,"10k"),F()()()(),_(27,"form",13),pe("ngSubmit",function(){return e.onSubmit()}),_(28,"div",14)(29,"div",15)(30,"mat-form-field",16)(31,"mat-label"),N(32,"Zap Amount"),F(),_(33,"input",17),pe("ngModelChange",function(r){return e.amount=r}),F(),ee(34,Goe,14,1,"mat-error",18),F()()(),_(35,"div",14)(36,"div",15)(37,"mat-form-field",16)(38,"mat-label"),N(39,"Comment"),F(),Ce(40,"input",19),ee(41,qoe,2,0,"mat-error",18),F()()(),_(42,"div",20)(43,"div",21)(44,"button",22),N(45,"Cancel"),F()(),_(46,"div")(47,"button",23),mo(),_(48,"svg",24),Ce(49,"path",25),F(),ml(),_(50,"span"),N(51),F()()()(),ee(52,$oe,2,1,"mat-error",18),F()()),2&t){let n,r;E(3),S("ngIf",1==(null==e.profile?null:e.profile.status)||2==(null==e.profile?null:e.profile.status)),E(1),S("ngIf",1!=(null==e.profile?null:e.profile.status)&&2!=(null==e.profile?null:e.profile.status)),E(2),Mt("muted",2==e.profile.status),S("matTooltip",e.tooltipName),E(1),yt(e.profileName),E(20),S("formGroup",e.sendZapForm),E(6),S("ngModel",e.amount),E(1),S("ngIf",null==(n=e.sendZapForm.get("amount"))?null:n.invalid),E(7),S("ngIf",null==(r=e.sendZapForm.get("comment"))?null:r.invalid),E(6),S("disabled",e.sendZapForm.invalid),E(4),Gt(" Zap ",e.sendZapForm.value.amount,""),E(1),S("ngIf",e.error)}},dependencies:[ri,Ef,Do,Oa,eo,bie,ur,bo,Qn,As,qu,xa,_D,ua,Wu,Fv,Wd,H_,Wh,tc,Vc],styles:[".mat-mdc-form-field[_ngcontent-%COMP%]{display:inline}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.zap-button[_ngcontent-%COMP%]{background-color:#9c27b0;color:#fff}.profile-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;margin-bottom:30px}.icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:50%;overflow:hidden;margin-right:10px}.profile-image[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;border:unset}.name[_ngcontent-%COMP%]{font-size:18px;font-weight:700;text-align:center}.emoji-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;margin-bottom:25px}.emoji-button[_ngcontent-%COMP%]{margin:0 18px;border-radius:15%;background-color:#eee;width:21%;height:100%}.favorite-btn[_ngcontent-%COMP%], .thumb-up-btn[_ngcontent-%COMP%], .applause-btn[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;position:relative}.emoji-button[_ngcontent-%COMP%]:hover{background-color:#9c27b0}.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]:hover{color:#fff}.favorite-btn[_ngcontent-%COMP%] .emoji-number[_ngcontent-%COMP%], .thumb-up-btn[_ngcontent-%COMP%] .emoji-number[_ngcontent-%COMP%], .applause-btn[_ngcontent-%COMP%] .emoji-number[_ngcontent-%COMP%]{position:absolute;right:-15px;font-size:14px}.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: rgba(255, 255, 255, 0);--mat-mdc-button-ripple-color: rgba(255, 255, 255, 0)}"]}),new Ke("mtx-datetime-formats"),MO(24,i=>String(i)),MO(60,i=>String(i));let Koe=(()=>{class i{transform(e){return e instanceof vr}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275pipe=Mr({name:"isTemplateRef",type:i,pure:!0}),i})(),Qoe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Dr]}),i})();function Zoe(i,t){}function Xoe(i,t){1&i&&ee(0,Zoe,0,0,"ng-template",3),2&i&&S("ngTemplateOutlet",Q().message)}function Joe(i,t){1&i&&N(0),2&i&&yt(Q().message)}const ese={tooltipState:Qa("state",[_r("initial, void, hidden",pi({opacity:0,transform:"scale(0)"})),_r("visible",pi({transform:"scale(1)"})),cr("* => visible",lr("200ms cubic-bezier(0, 0, 0.2, 1)",qg([pi({opacity:0,transform:"scale(0)",offset:0}),pi({opacity:.5,transform:"scale(0.99)",offset:.5}),pi({opacity:1,transform:"scale(1)",offset:1})]))),cr("* => hidden",lr("100ms cubic-bezier(0, 0, 0.2, 1)",pi({opacity:0})))])},EO=Dd({passive:!0});function SO(i){return Error(`Tooltip position "${i}" is invalid.`)}const TO=new Ke("mtx-tooltip-scroll-strategy"),ase={provide:TO,deps:[ya],useFactory:function rse(i){return()=>i.scrollStrategies.reposition({scrollThrottle:20})}},ose=new Ke("mtx-tooltip-default-options",{providedIn:"root",factory:function sse(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let lse=(()=>{class i{constructor(e,n,r,a,o,c,h,f,x,P,$){this._overlay=e,this._elementRef=n,this._scrollDispatcher=r,this._viewContainerRef=a,this._ngZone=o,this._platform=c,this._ariaDescriber=h,this._focusMonitor=f,this._dir=P,this._defaultOptions=$,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new He,this._handleKeydown=te=>{this._isTooltipVisible()&&27===te.keyCode&&!ba(te)&&(te.preventDefault(),te.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=x,$&&($.position&&(this.position=$.position),$.touchGestures&&(this.touchGestures=$.touchGestures)),o.runOutsideAngular(()=>{n.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=Ct(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=e instanceof vr?e:null!=e?`${e}`.trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message)})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(ii(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([n,r])=>{e.removeEventListener(n,r,EO)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const n=this._createOverlay();this._detach(),this._portal=this._portal||new Hh(cse,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(ii(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mtx-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(e);return n.positionChanges.pipe(ii(this._destroyed)).subscribe(r=>{this._tooltipInstance&&r.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:"mtx-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(ii(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const e=this._overlayRef.getConfig().positionStrategy,n=this._getOrigin(),r=this._getOverlayPosition();e.withPositions([{...n.main,...r.main},{...n.fallback,...r.fallback}])}_getOrigin(){const e=!this._dir||"ltr"===this._dir.value,n=this.position;let r;if("above"===n||"below"===n)r={originX:"center",originY:"above"===n?"top":"bottom"};else if("before"===n||"left"===n&&e||"right"===n&&!e)r={originX:"start",originY:"center"};else{if(!("after"===n||"right"===n&&e||"left"===n&&!e))throw SO(n);r={originX:"end",originY:"center"}}const{x:a,y:o}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:a,originY:o}}}_getOverlayPosition(){const e=!this._dir||"ltr"===this._dir.value,n=this.position;let r;if("above"===n)r={overlayX:"center",overlayY:"bottom"};else if("below"===n)r={overlayX:"center",overlayY:"top"};else if("before"===n||"left"===n&&e||"right"===n&&!e)r={overlayX:"end",overlayY:"center"};else{if(!("after"===n||"right"===n&&e||"left"===n&&!e))throw SO(n);r={overlayX:"start",overlayY:"center"}}const{x:a,y:o}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:a,overlayY:o}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(nn(1),ii(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,n){return"above"===this.position||"below"===this.position?"top"===n?n="bottom":"bottom"===n&&(n="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:n}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",()=>this.hide()]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const n=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",n],["touchcancel",n])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([n,r])=>{this._elementRef.nativeElement.addEventListener(n,r,EO)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const n=this._elementRef.nativeElement,r=n.style;("on"===e||"INPUT"!==n.nodeName&&"TEXTAREA"!==n.nodeName)&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),("on"===e||!n.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}}return i.\u0275fac=function(e){return new(e||i)(k(ya),k(gt),k(Cu),k(kr),k(Rt),k(Bn),k(hC),k(Ka),k(TO),k(Or,8),k(ose,8))},i.\u0275dir=Oe({type:i,selectors:[["","mtxTooltip",""]],hostAttrs:[1,"mtx-tooltip-trigger"],inputs:{position:["mtxTooltipPosition","position"],disabled:["mtxTooltipDisabled","disabled"],showDelay:["mtxTooltipShowDelay","showDelay"],hideDelay:["mtxTooltipHideDelay","hideDelay"],touchGestures:["mtxTooltipTouchGestures","touchGestures"],message:["mtxTooltip","message"],tooltipClass:["mtxTooltipClass","tooltipClass"]},exportAs:["mtxTooltip"]}),i})(),cse=(()=>{class i{constructor(e,n){this._changeDetectorRef=e,this._breakpointObserver=n,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new He,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}show(e){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},e)}hide(e){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},e)}afterHidden(){return this._onHide.asObservable()}isVisible(){return"visible"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(e){const n=e.toState;"hidden"===n&&!this.isVisible()&&this._onHide.next(),("visible"===n||"hidden"===n)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}return i.\u0275fac=function(e){return new(e||i)(k(ni),k(Td))},i.\u0275cmp=qe({type:i,selectors:[["mtx-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,n){1&e&&pe("click",function(){return n._handleBodyInteraction()},0,qE),2&e&&sr("zoom","visible"===n._visibility?1:null)},decls:6,vars:10,consts:[[1,"mtx-tooltip",3,"ngClass"],[3,"ngIf","ngIfElse"],["msgStrTpl",""],[3,"ngTemplateOutlet"]],template:function(e,n){if(1&e&&(_(0,"div",0),pe("@state.start",function(){return n._animationStart()})("@state.done",function(a){return n._animationDone(a)}),mi(1,"async"),ee(2,Xoe,1,1,"ng-template",1),mi(3,"isTemplateRef"),ee(4,Joe,1,1,"ng-template",null,2,ko),F()),2&e){const r=Li(5);let a;Mt("mtx-tooltip-handset",null==(a=gi(1,6,n._isHandset))?null:a.matches),S("ngClass",n.tooltipClass)("@state",n._visibility),E(2),S("ngIf",gi(3,8,n.message))("ngIfElse",r)}},dependencies:[qa,ri,Ef,Es,Koe],styles:[".mtx-tooltip-panel{pointer-events:none!important}.mtx-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mtx-tooltip{outline:solid 1px}.mtx-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[ese.tooltipState]},changeDetection:0}),i})(),dse=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[ase],imports:[Pf,Dr,Nc,Qt,Qoe,Qt,Lc]}),i})();function use(i,t){1&i&&(_(0,"button",14)(1,"mat-icon",15),N(2,"more_vert"),F()()),2&i&&(Q(),S("matMenuTriggerFor",Li(3)))}function hse(i,t){1&i&&(_(0,"button",16)(1,"mat-icon"),N(2,"more_vert"),F()()),2&i&&(Q(),S("matMenuTriggerFor",Li(3)))}function mse(i,t){if(1&i){const e=Je();_(0,"button",10),pe("click",function(){return Te(e),Ae(Q().saveNote())}),_(1,"mat-icon"),N(2,"bookmark_add"),F(),_(3,"span"),N(4,"Save Note"),F()()}}function fse(i,t){if(1&i){const e=Je();_(0,"button",10),pe("click",function(){return Te(e),Ae(Q().removeNote())}),_(1,"mat-icon"),N(2,"bookmark_remove"),F(),_(3,"span"),N(4,"Remove from Notes"),F()()}}function pse(i,t){if(1&i){const e=Je();_(0,"button",10),pe("click",function(){return Te(e),Ae(Q().follow())}),_(1,"mat-icon"),N(2,"person_add"),F(),_(3,"span"),N(4,"Follow"),F()()}}function gse(i,t){if(1&i){const e=Je();_(0,"button",10),pe("click",function(){return Te(e),Ae(Q().unfollow())}),_(1,"mat-icon"),N(2,"person_remove"),F(),_(3,"span"),N(4,"Unfollow"),F()()}}function _se(i,t){1&i&&(_(0,"button",5)(1,"mat-icon"),N(2,"supervised_user_circle"),F(),_(3,"span"),N(4,"Move to Circle"),F()()),2&i&&(Q(),S("matMenuTriggerFor",Li(29)))}function bse(i,t){if(1&i){const e=Je();_(0,"button",10),pe("click",function(){return Te(e),Ae(Q().unmute())}),_(1,"mat-icon"),N(2,"notifications"),F(),_(3,"span"),N(4,"Unmute"),F()()}}function yse(i,t){if(1&i){const e=Je();_(0,"button",10),pe("click",function(){return Te(e),Ae(Q().mute())}),_(1,"mat-icon"),N(2,"notifications_off"),F(),_(3,"span"),N(4,"Mute"),F()()}}function vse(i,t){if(1&i){const e=Je();_(0,"button",10),pe("click",function(){return Te(e),Ae(Q().unblock())}),_(1,"mat-icon"),N(2,"cancel"),F(),_(3,"span"),N(4,"Unblock"),F()()}}function wse(i,t){if(1&i){const e=Je();_(0,"button",10),pe("click",function(){return Te(e),Ae(Q().block())}),_(1,"mat-icon"),N(2,"block"),F(),_(3,"span"),N(4,"Block"),F()()}}function Fse(i,t){if(1&i){const e=Je();_(0,"button",10),pe("click",function(){const a=Te(e).$implicit;return Ae(Q().follow(a.id))}),_(1,"mat-icon"),N(2,"trip_origin"),F(),_(3,"span"),N(4),F()()}if(2&i){const e=t.$implicit;E(1),sr("color",e.color),E(3),yt(e.name)}}function xse(i,t){if(1&i){const e=Je();_(0,"button",10),pe("click",function(){return Te(e),Ae(Q().copyFollowing())}),_(1,"mat-icon"),N(2,"content_copy"),F(),_(3,"span"),N(4,"Following List"),F()()}}function Cse(i,t){if(1&i){const e=Je();_(0,"button",10),pe("click",function(){return Te(e),Ae(Q().copyRelays())}),_(1,"mat-icon"),N(2,"content_copy"),F(),_(3,"span"),N(4,"Relay List"),F()()}}class ym{constructor(t,e,n,r,a,o,c,h){this.appState=t,this.ui=e,this.circleService=n,this.snackBar=r,this.profileService=a,this.notesService=o,this.utilities=c,this.router=h,this.fab=!1,this.pubkey=""}saveNote(){var t=this;return Se(function*(){if(!t.event)return;const e=t.event;e.saved=Math.floor(Date.now()/1e3),yield t.notesService.putNote(e)})()}removeNote(){var t=this;return Se(function*(){t.event&&(console.log("DELETE EVENT:",t.event),yield t.notesService.deleteNote(t.event.id))})()}openBadges(t){this.router.navigate(["/badges",t])}follow(t){var e=this;return Se(function*(){null==t&&(t=0),e.profile?e.profile.status!==to.Follow?(e.profile.circle=t,e.profile.status=1,e.profile=yield e.profileService.follow(e.profile.pubkey,t)):(e.profile.circle=t,e.profile=yield e.profileService.setCircle(e.profile.pubkey,t)):e.profile=yield e.profileService.follow(e.pubkey,t)})()}getNpub(t){return this.utilities.getNostrIdentifier(t)}copyEvent(){this.copy(JSON.stringify(this.event))}copyProfileUrl(t){this.copy(`web+nostr:npub:${wa.npubEncode(t)}`)}copyNoteUrl(t){this.copy(`web+nostr:nevent:${wa.neventEncode({id:t})}`)}copyProfile(){this.profile&&this.copy(JSON.stringify({name:this.profile.name,about:this.profile.about,nip05:this.profile.nip05,picture:this.profile.picture,website:this.profile.website,banner:this.profile.banner,lud06:this.profile.lud06,lud16:this.profile.lud16,display_name:this.profile.display_name}))}copyFollowing(){this.copy(JSON.stringify(this.profile.following))}copyRelays(){this.copy(this.profile.relays)}copy(t){Uy(t),this.snackBar.open("Copied to clipboard","Hide",{duration:2500,horizontalPosition:"center",verticalPosition:"bottom"})}unfollow(){var t=this;return Se(function*(){t.profile&&(t.profile.status=to.Public,t.profile.followed=void 0,t.profile.circle=void 0,t.profile=yield t.profileService.unfollow(t.profile.pubkey))})()}mute(){var t=this;return Se(function*(){t.profile&&(yield t.profileService.mute(t.profile.pubkey))})()}unmute(){var t=this;return Se(function*(){t.profile&&(yield t.profileService.unmute(t.profile.pubkey))})()}block(){var t=this;return Se(function*(){t.profile&&(yield t.profileService.block(t.profile.pubkey))})()}unblock(){var t=this;return Se(function*(){t.profile&&(yield t.profileService.unblock(t.profile.pubkey))})()}shareProfile(t){t&&navigator.share&&navigator.share({title:t.name,text:t.about,url:"https://notes.blockcore.net/p/"+t.pubkey}).then(()=>console.log("Successful share")).catch(e=>console.log("Error sharing",e))}ngOnDestroy(){}ngOnInit(){var t=this;return Se(function*(){t.event?t.pubkey=t.event.pubkey:t.profile&&(t.pubkey=t.profile.pubkey)})()}}function kse(i,t){if(1&i){const e=Je();_(0,"img",28),pe("click",function(){return Te(e),Ae(Q(2).showProfileImage())}),F()}if(2&i){const e=Q().ngIf,n=Q();let r;sr("border-color",null==(r=n.circleService.getSync(e.circle))?null:r.color),S("src",n.imagePath,hn)}}function Dse(i,t){if(1&i){const e=Je();_(0,"img",29),pe("click",function(){return Te(e),Ae(Q(2).showProfileImage())}),F()}2&i&&S("src",Q(2).imagePath,hn)}function Mse(i,t){if(1&i){const e=Je();_(0,"button",31),pe("click",function(){Te(e);const r=Q(2).ngIf;return Ae(Q().follow(r))}),N(1,"Follow Back"),F()}}function Ese(i,t){if(1&i&&ee(0,Mse,2,0,"button",30),2&i){const e=Q().ngIf;S("ngIf",0==(null==e?null:e.status))}}function Sse(i,t){if(1&i){const e=Je();_(0,"button",33),pe("click",function(){Te(e);const r=Q(2).ngIf;return Ae(Q().follow(r))}),N(1,"Follow"),F()}}function Tse(i,t){if(1&i&&ee(0,Sse,2,0,"button",32),2&i){const e=Q().ngIf;S("ngIf",0==(null==e?null:e.status))}}function Ase(i,t){if(1&i&&(_(0,"span"),N(1),F()),2&i){const e=Q().ngIf;E(1),Gt(" ",e.display_name," ")}}function Ise(i,t){if(1&i&&(_(0,"span"),N(1),F()),2&i){const e=Q(2).ngIf;E(1),Gt(" ",e.name," ")}}function Lse(i,t){if(1&i&&(_(0,"span"),N(1),F()),2&i){const e=Q(2).ngIf;E(1),Gt(" ",e.npub," ")}}function Nse(i,t){if(1&i&&(_(0,"span"),ee(1,Ise,2,1,"span",13),ee(2,Lse,2,1,"span",13),F()),2&i){const e=Q().ngIf;E(1),S("ngIf",e.name),E(1),S("ngIf",!e.display_name&&!e.name)}}function Ose(i,t){1&i&&(_(0,"span",34),N(1,"Follows you"),F())}function Rse(i,t){if(1&i){const e=Je();_(0,"div",14)(1,"div",15)(2,"mat-icon",16),N(3,"verified"),F()(),_(4,"div",17)(5,"span",18),pe("click",function(){Te(e);const r=Q().ngIf,a=Q();return Ae(a.copy(a.getWellKnownLink(r.nip05)))}),N(6),F()()()}if(2&i){const e=Q().ngIf,n=Q();E(6),yt(n.displayNIP05(e.nip05))}}function Pse(i,t){if(1&i&&(_(0,"a",36),N(1),F()),2&i){const e=Q(2).ngIf;S("href",Q().utilities.sanitizeUrl(e.website,!0),hn),E(1),yt(e.website)}}function Bse(i,t){if(1&i&&(_(0,"div",14)(1,"div",15)(2,"mat-icon",16),N(3,"link"),F()(),_(4,"div",17),ee(5,Pse,2,2,"a",35),F()()),2&i){const e=Q().ngIf;E(5),S("ngIf",e.website)}}function Hse(i,t){if(1&i&&(_(0,"a",40),N(1),F()),2&i){const e=Q(2).ngIf;S("href",Q().utilities.sanitizeLUD06("lightning:"+e.lud06),hn),E(1),yt(e.lud06)}}function Vse(i,t){if(1&i){const e=Je();_(0,"div",37),pe("click",function(){Te(e);const r=Q().ngIf;return Ae(Q().openDialog(r))}),_(1,"div",15)(2,"mat-icon",38),N(3,"\u26a1\ufe0f"),F()(),_(4,"div",17),ee(5,Hse,2,2,"a",39),F()()}if(2&i){const e=Q().ngIf;S("mtxTooltip",Li(28))("mtxTooltipPosition","left"),E(5),S("ngIf",e.lud06)}}function Yse(i,t){if(1&i&&(_(0,"a",40),N(1),F()),2&i){const e=Q(2).ngIf;S("href",Q().utilities.sanitizeLUD06("lightning:"+e.lud16),hn),E(1),yt(e.lud16)}}function jse(i,t){if(1&i){const e=Je();_(0,"div",37),pe("click",function(){Te(e);const r=Q().ngIf;return Ae(Q().openDialog(r))}),_(1,"div",15)(2,"mat-icon",38),N(3,"\u26a1\ufe0f"),F()(),_(4,"div",17),ee(5,Yse,2,2,"a",39),F()()}if(2&i){const e=Q().ngIf;S("mtxTooltip",Li(30))("mtxTooltipPosition","left"),E(5),S("ngIf",e.lud16)}}function zse(i,t){1&i&&Ce(0,"img",43),2&i&&S("src",Q(3).qr06,hn)}function Use(i,t){if(1&i&&(_(0,"div",41),ee(1,zse,1,1,"img",42),F()),2&i){const e=Q(2);E(1),S("ngIf",e.qr06)}}function Wse(i,t){1&i&&Ce(0,"img",43),2&i&&S("src",Q(3).qr16,hn)}function Gse(i,t){if(1&i&&(_(0,"div",41),ee(1,Wse,1,1,"img",42),F()),2&i){const e=Q(2);E(1),S("ngIf",e.qr16)}}function qse(i,t){if(1&i&&(_(0,"p",44),N(1),F()),2&i){const e=Q().ngIf;E(1),yt(e.about)}}ym.\u0275fac=function(t){return new(t||ym)(k(Zi),k($r),k(Ro),k(us),k(Hn),k(eu),k(an),k(qn))},ym.\u0275cmp=qe({type:ym,selectors:[["app-profile-actions"]],inputs:{fab:"fab",pubkey:"pubkey",profile:"profile",event:"event"},decls:79,vars:17,consts:[["class","action-button","mat-icon-button","",3,"matMenuTriggerFor",4,"ngIf"],["mat-mini-fab","","color","primary",3,"matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item","",3,"matMenuTriggerFor","click"],["categories","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["copyMenu","matMenu"],["mat-menu-item","",3,"click"],["disabled","true","mat-menu-item","",3,"click"],["shareMenu","matMenu"],["badges","matMenu"],["mat-icon-button","",1,"action-button",3,"matMenuTriggerFor"],[1,"action-button-icon"],["mat-mini-fab","","color","primary",3,"matMenuTriggerFor"]],template:function(t,e){if(1&t&&(ee(0,use,3,1,"button",0),ee(1,hse,3,1,"button",1),_(2,"mat-menu",null,2),ee(4,mse,5,0,"button",3),ee(5,fse,5,0,"button",3),ee(6,pse,5,0,"button",3),ee(7,gse,5,0,"button",3),ee(8,_se,5,1,"button",4),_(9,"button",5)(10,"mat-icon"),N(11,"badge"),F(),_(12,"span"),N(13,"Badge"),F()(),_(14,"button",6),pe("click",function(){return e.copy(e.getNpub(e.profile.pubkey))}),_(15,"mat-icon"),N(16,"copy_all"),F(),_(17,"span"),N(18,"Copy"),F()(),_(19,"button",5)(20,"mat-icon"),N(21,"ios_share"),F(),_(22,"span"),N(23,"Share"),F()(),ee(24,bse,5,0,"button",3),ee(25,yse,5,0,"button",3),ee(26,vse,5,0,"button",3),ee(27,wse,5,0,"button",3),F(),_(28,"mat-menu",null,7),ee(30,Fse,5,3,"button",8),F(),_(31,"mat-menu",null,9)(33,"button",10),pe("click",function(){return e.copy(e.getNpub(e.profile.pubkey))}),_(34,"mat-icon"),N(35,"content_copy"),F(),_(36,"span"),N(37,"Identifier (npub)"),F()(),_(38,"button",10),pe("click",function(){return e.copy(e.profile.pubkey)}),_(39,"mat-icon"),N(40,"content_copy"),F(),_(41,"span"),N(42,"Identifier (hex)"),F()(),_(43,"button",10),pe("click",function(){return e.copyProfileUrl(e.profile.pubkey)}),_(44,"mat-icon"),N(45,"content_copy"),F(),_(46,"span"),N(47,"Identifier URL (npub)"),F()(),_(48,"button",11),pe("click",function(){return e.copyProfileUrl(e.profile.pubkey)}),_(49,"mat-icon"),N(50,"content_copy"),F(),_(51,"span"),N(52,"Profile URL (nprofile)"),F()(),_(53,"button",10),pe("click",function(){return e.copyProfile()}),_(54,"mat-icon"),N(55,"content_copy"),F(),_(56,"span"),N(57,"Profile Data"),F()(),ee(58,xse,5,0,"button",3),ee(59,Cse,5,0,"button",3),F(),_(60,"mat-menu",null,12)(62,"button",10),pe("click",function(){return e.shareProfile(e.profile)}),_(63,"mat-icon"),N(64,"content_copy"),F(),_(65,"span"),N(66,"Profile"),F()(),_(67,"button",10),pe("click",function(){return e.copy("https://notes.blockcore.net/p/"+e.profile.pubkey)}),_(68,"mat-icon"),N(69,"content_copy"),F(),_(70,"span"),N(71,"Profile URL"),F()()(),_(72,"mat-menu",null,13)(74,"button",10),pe("click",function(){return e.openBadges(e.profile.pubkey)}),_(75,"mat-icon"),N(76,"badge"),F(),_(77,"span"),N(78,"View Badges"),F()()()),2&t){const n=Li(32),r=Li(61),a=Li(73);S("ngIf",!e.fab),E(1),S("ngIf",e.fab),E(3),S("ngIf",e.event&&!e.event.saved),E(1),S("ngIf",e.event&&e.event.saved),E(1),S("ngIf",0==(null==e.profile?null:e.profile.status)),E(1),S("ngIf",1==(null==e.profile?null:e.profile.status)),E(1),S("ngIf",3!=(null==e.profile?null:e.profile.status)),E(1),S("matMenuTriggerFor",a),E(5),S("matMenuTriggerFor",n),E(5),S("matMenuTriggerFor",r),E(5),S("ngIf",2==(null==e.profile?null:e.profile.status)),E(1),S("ngIf",1==(null==e.profile?null:e.profile.status)),E(1),S("ngIf",3==(null==e.profile?null:e.profile.status)),E(1),S("ngIf",(null==e.profile?null:e.profile.status)<3),E(3),S("ngForOf",e.circleService.circles),E(28),S("ngIf",null==e.profile?null:e.profile.following),E(1),S("ngIf",null==e.profile?null:e.profile.relays)}},dependencies:[vn,ri,bo,Q5,Qn,pm,ed,c0]});const $se=function(i){return["/following",i]};function Kse(i,t){if(1&i&&(_(0,"div",45)(1,"a",46),N(2),_(3,"span",47),N(4,"Following"),F()()()),2&i){const e=Q().ngIf;E(1),S("routerLink",yn(2,$se,e.pubkey)),E(1),Gt("",e.following.length," ")}}function Qse(i,t){if(1&i){const e=Je();_(0,"div",1),Ce(1,"div",2),_(2,"div",3)(3,"div",4)(4,"div",5),ee(5,kse,1,3,"img",6),ee(6,Dse,1,1,"img",7),F()(),_(7,"div",8)(8,"div",9),ee(9,Ese,1,1,"ng-template",10),ee(10,Tse,1,1,"ng-template",10),Ce(11,"app-profile-actions",11),F(),_(12,"h2",12),ee(13,Ase,2,1,"span",13),ee(14,Nse,3,2,"span",13),F(),_(15,"div",14)(16,"div",15)(17,"mat-icon",16),N(18,"key"),F()(),_(19,"div",17)(20,"span",18),pe("click",function(){const a=Te(e).ngIf;return Ae(Q().copy(a.npub))}),N(21),F(),ee(22,Ose,2,0,"span",19),F()(),ee(23,Rse,7,1,"div",20),ee(24,Bse,6,1,"div",20),ee(25,Vse,6,3,"div",21),ee(26,jse,6,3,"div",21),ee(27,Use,2,1,"ng-template",null,22,ko),ee(29,Gse,2,1,"ng-template",null,23,ko),_(31,"span"),ee(32,qse,2,1,"p",24),F(),ee(33,Kse,5,4,"div",25),_(34,"div")(35,"mat-menu",null,26)(37,"button",27)(38,"mat-icon"),N(39,"notifications_off"),F(),_(40,"span"),N(41,"Mute"),F()(),_(42,"button",27)(43,"mat-icon"),N(44,"notifications_paused"),F(),_(45,"span"),N(46,"Remove from Notes"),F()(),_(47,"button",27)(48,"mat-icon"),N(49,"notifications"),F(),_(50,"span"),N(51,"Remove from Notes"),F()()()()()()()}if(2&i){const e=t.ngIf,n=Q();E(1),sr("background-image",n.utilities.getBannerBackgroundStyle(e.banner)),E(4),S("ngIf",1==(null==e?null:e.status)),E(1),S("ngIf",1!=(null==e?null:e.status)),E(3),S("ngIf",n.isFollowing(e)),E(1),S("ngIf",!n.isFollowing(e)),E(1),S("fab",!1)("profile",e),E(1),S("matTooltip",e.npub),E(1),S("ngIf",e.display_name),E(1),S("ngIf",!e.display_name),E(7),Gt("@",e.name,""),E(1),S("ngIf",n.isFollowing(e)),E(1),S("ngIf",n.isValidNip05),E(1),S("ngIf",e.website),E(1),S("ngIf",e.lud06),E(1),S("ngIf",e.lud16),E(6),S("ngIf",e.about),E(1),S("ngIf",e.following)}}class tu{constructor(t,e,n,r,a,o){this.appState=t,this.ui=e,this.profileService=n,this.dialog=r,this.circleService=a,this.utilities=o,this.pubkey="",this.tooltip="",this.tooltipName="",this.isValidNip05=!1,this.subscriptions=[],this.userPubKey=this.appState.getPublicKey()}follow(t){var e=this;return Se(function*(){t&&(t.status!==to.Follow?(t.circle=0,t.status=1,t=yield e.profileService.follow(t.pubkey,0)):(t.circle=0,t=yield e.profileService.setCircle(t.pubkey,0)))})()}isFollowing(t){return!(!t||!t.following)&&t.following.includes(this.userPubKey)}get imagePath(){return this.ui.profile.picture?this.ui.profile.picture:tu.defaultProfileImage}showProfileImage(){this.dialog.open(Xd,{data:{picture:this.imagePath}})}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}ngOnInit(){var t=this;return Se(function*(){t.subscriptions.push(t.ui.profile$.subscribe(function(){var e=Se(function*(n){if(n&&(n.lud06&&(t.qr06=yield kp.hz("lightning:"+n.lud06,{errorCorrectionLevel:"L",margin:2,scale:5})),n.lud16&&(t.qr16=yield kp.hz("lightning:"+n.lud16,{errorCorrectionLevel:"L",margin:2,scale:5})),n.nip05)){let r=null;try{r=yield Gk.queryProfile(n?.nip05),t.isValidNip05=r?.pubkey==n?.pubkey}catch{console.log("failed to fetch NIP05 identifier")}}});return function(n){return e.apply(this,arguments)}}()))})()}displayNIP05(t){return t&&t.startsWith("_@")?t.substring(2):t}copy(t){this.utilities.copy(t)}getWellKnownLink(t){if(-1===t.indexOf("@"))return"";const e=t.split("@");return`https://${e[1]}/.well-known/nostr.json?name=${e[0]}`}openDialog(t){this.dialog.open(bm,{width:"400px",data:{profile:t}})}}function Zse(i,t){if(1&i){const e=Je();_(0,"mat-card-content")(1,"p")(2,"mat-form-field",6)(3,"mat-icon",7),N(4,"badge"),F(),_(5,"mat-label"),N(6,"Display Name"),F(),_(7,"input",8),pe("ngModelChange",function(r){return Te(e),Ae(Q().profile.display_name=r)}),F()()(),_(8,"p")(9,"mat-form-field",6)(10,"mat-icon",7),N(11,"alternate_email"),F(),_(12,"mat-label"),N(13,"Nickname"),F(),_(14,"input",8),pe("ngModelChange",function(r){return Te(e),Ae(Q().profile.name=r)}),F()()(),_(15,"p")(16,"mat-form-field",6)(17,"mat-icon",7),N(18,"help_outline"),F(),_(19,"mat-label"),N(20,"About"),F(),_(21,"textarea",9),pe("ngModelChange",function(r){return Te(e),Ae(Q().profile.about=r)}),F()()(),_(22,"p")(23,"mat-form-field",6)(24,"mat-icon",7),N(25,"image"),F(),_(26,"mat-label"),N(27,"Profile Image"),F(),_(28,"input",8),pe("ngModelChange",function(r){return Te(e),Ae(Q().profile.picture=r)}),F()()(),_(29,"p")(30,"mat-form-field",6)(31,"mat-icon",7),N(32,"image"),F(),_(33,"mat-label"),N(34,"Profile Banner"),F(),_(35,"input",8),pe("ngModelChange",function(r){return Te(e),Ae(Q().profile.banner=r)}),F()()(),_(36,"p")(37,"mat-form-field",6)(38,"mat-icon",7),N(39,"how_to_reg"),F(),_(40,"mat-label"),N(41,"E-mail/Domain Identifier (NIP05)"),F(),_(42,"input",8),pe("ngModelChange",function(r){return Te(e),Ae(Q().profile.nip05=r)}),F()()(),_(43,"p")(44,"mat-form-field",6)(45,"mat-icon",7),N(46,"public"),F(),_(47,"mat-label"),N(48,"Website"),F(),_(49,"input",8),pe("ngModelChange",function(r){return Te(e),Ae(Q().profile.website=r)}),F()()(),_(50,"p")(51,"mat-form-field",6)(52,"mat-icon",7),N(53,"currency_bitcoin"),F(),_(54,"mat-label"),N(55,"Bitcoin Payment Link (LUD06)"),F(),_(56,"input",10),pe("ngModelChange",function(r){return Te(e),Ae(Q().profile.lud06=r)}),F()()(),_(57,"p")(58,"mat-form-field",6)(59,"mat-icon",7),N(60,"currency_bitcoin"),F(),_(61,"mat-label"),N(62,"Bitcoin Payment Alias (LUD16)"),F(),_(63,"input",11),pe("ngModelChange",function(r){return Te(e),Ae(Q().profile.lud16=r)}),F()()(),_(64,"p"),N(65),mi(66,"ago"),F()()}if(2&i){const e=Q();E(7),S("ngModel",e.profile.display_name),E(7),S("ngModel",e.profile.name),E(7),S("ngModel",e.profile.about),E(7),S("ngModel",e.profile.picture),E(7),S("ngModel",e.profile.banner),E(7),S("ngModel",e.profile.nip05),E(7),S("ngModel",e.profile.website),E(7),S("ngModel",e.profile.lud06),E(7),S("ngModel",e.profile.lud16),E(2),Gt("Last updated: ",gi(66,10,e.profile.created_at),"")}}tu.defaultProfileImage="/assets/profile.png",tu.\u0275fac=function(t){return new(t||tu)(k(Zi),k($r),k(Hn),k(Ia),k(Ro),k(an))},tu.\u0275cmp=qe({type:tu,selectors:[["app-profile-header"]],inputs:{pubkey:"pubkey"},decls:2,vars:3,consts:[["class","profile-page",4,"ngIf"],[1,"profile-page"],[1,"profile-banner"],[1,"profile-page-header"],[1,"profile-page-header-left"],["id","profile-image-anchor",1,"profile-image-anchor"],["id","profile-image","width","150","height","150","onerror","this.src='/assets/profile.png'","class","profile-image-large profile-image-follow",3,"borderColor","src","click",4,"ngIf"],["loading","lazy","id","profile-image","onerror","this.src='/assets/profile.png'","class","profile-image-large profile-image-follow","matTooltipPosition","above",3,"src","click",4,"ngIf"],[1,"profile-page-header-middle"],[1,"profile-button-container"],[3,"ngIf"],[3,"fab","profile"],["matTooltipPosition","above",1,"profile-name",3,"matTooltip"],[4,"ngIf"],[1,"profile-labels"],[1,"profile-labels-left"],[1,"profile-icon"],[1,"profile-labels-middle","dimmed"],[1,"hoverable",3,"click"],["class","follows-you",4,"ngIf"],["class","profile-labels",4,"ngIf"],["class","profile-labels",3,"mtxTooltip","mtxTooltipPosition","click",4,"ngIf"],["tooltipTpl",""],["tooltipTpl2",""],["class","wrap linebreaks",4,"ngIf"],["class","following-counts",4,"ngIf"],["menu","matMenu"],["mat-menu-item",""],["id","profile-image","width","150","height","150","onerror","this.src='/assets/profile.png'",1,"profile-image-large","profile-image-follow",3,"src","click"],["loading","lazy","id","profile-image","onerror","this.src='/assets/profile.png'","matTooltipPosition","above",1,"profile-image-large","profile-image-follow",3,"src","click"],["class","follow-button","mat-flat-button","",3,"click",4,"ngIf"],["mat-flat-button","",1,"follow-button",3,"click"],["class","follow-button","mat-flat-button","","color","primary",3,"click",4,"ngIf"],["mat-flat-button","","color","primary",1,"follow-button",3,"click"],[1,"follows-you"],["class","dimmed lightning-link hoverable","target","_blank",3,"href",4,"ngIf"],["target","_blank",1,"dimmed","lightning-link","hoverable",3,"href"],[1,"profile-labels",3,"mtxTooltip","mtxTooltipPosition","click"],[1,"profile-icon-custom"],["class","dimmed lightning-link hoverable",3,"href",4,"ngIf"],[1,"dimmed","lightning-link","hoverable",3,"href"],[1,"qr-code-container"],["class","qr-code",3,"src",4,"ngIf"],[1,"qr-code",3,"src"],[1,"wrap","linebreaks"],[1,"following-counts"],[1,"following-link",3,"routerLink"],[1,"dimmed"]],template:function(t,e){1&t&&(ee(0,Qse,52,19,"div",0),mi(1,"async")),2&t&&S("ngIf",gi(1,1,e.ui.profile$))},dependencies:[ri,va,ur,Qn,pm,ed,As,lse,ym,Es],styles:[".profile-icon[_ngcontent-%COMP%], .profile-icon-custom[_ngcontent-%COMP%]{text-align:center}.profile-icon-custom[_ngcontent-%COMP%]{font-size:16px}.lightning-link[_ngcontent-%COMP%], .lightning-link[_ngcontent-%COMP%]:hover{text-decoration:none}.profile-name[_ngcontent-%COMP%]{margin-top:0;margin-bottom:.2em}.profile-labels[_ngcontent-%COMP%]{display:flex;width:auto;gap:.4em;justify-content:center}.profile-labels-left[_ngcontent-%COMP%]{flex:0 1 auto;width:24px}.profile-labels-middle[_ngcontent-%COMP%]{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis}.hoverable[_ngcontent-%COMP%]:hover{cursor:pointer;opacity:.6}.following-counts[_ngcontent-%COMP%]{margin-bottom:.4em}.following-link[_ngcontent-%COMP%]{text-decoration:none}.following-link[_ngcontent-%COMP%]:hover{text-decoration:underline}.action-button[_ngcontent-%COMP%]{margin-top:0!important;margin-right:0!important}.qr-code[_ngcontent-%COMP%]{width:100%;height:100%}.profile-banner[_ngcontent-%COMP%]{min-height:240px;background-repeat:no-repeat;background-position:center;background-size:cover}@media only screen and (max-width: 599px){.current-event[_ngcontent-%COMP%]{margin-bottom:0}}.follows-you[_ngcontent-%COMP%]{margin-left:1em;padding:.1em .4em;background-color:#0003;border-radius:10px;display:inline-block}.dark[_ngcontent-%COMP%] .follows-you[_ngcontent-%COMP%]{margin-left:1em;padding:.1em .4em;background-color:#fff6;border-radius:10px;display:inline-block}.follow-button[_ngcontent-%COMP%]{border-radius:16px;margin-top:.24em;margin-right:.5em}"]});var Jv=new WeakMap;class _0{get profile$(){return Pe(this,Jv).asObservable()}constructor(t,e,n,r,a,o,c,h,f,x,P){mn(this,Jv,{writable:!0,value:void 0}),this.navigation=t,this.ui=e,this.appState=n,this.validator=r,this.utilities=a,this.router=o,this.profiles=c,this.sanitizer=h,this.profileService=f,this.dataService=x,this.activatedRoute=P,this.imagePath="",this.profileName="",this.subscriptions=[],hi(this,Jv,new Hi(this.profile))}ngOnInit(){var t=this;return Se(function*(){t.appState.updateTitle("Edit Profile"),t.originalProfile={name:"",pubkey:t.appState.getPublicKey()},t.subscriptions.push(t.profileService.profile$.subscribe(e=>{e||(e=t.profileService.emptyProfile(t.appState.getPublicKey())),console.log("PROFILE SERVICE:",e),t.originalProfile=e,t.originalProfile&&t.cloneProfile()}))})()}cloneProfile(){const t=structuredClone(this.originalProfile);this.profile=t,Pe(this,Jv).next(this.profile),this.ui.setProfile(this.profile)}cancelEdit(){this.cloneProfile()}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}sanitize(t){return this.sanitizer.bypassSecurityTrustUrl(t)}updateMetadata(){var t=this;return Se(function*(){yield t.dataService.updateMetadata(t.profile),t.appState.navigateBack()})()}}_0.\u0275fac=function(t){return new(t||_0)(k(yo),k($r),k(Zi),k(Xo),k(an),k(qn),k(Hn),k(Sf),k(Hn),k(Ba),k(ds))},_0.\u0275cmp=qe({type:_0,selectors:[["app-profile"]],decls:11,vars:1,consts:[["infiniteScroll","",1,"scrolling-content",3,"scrollAction"],[1,"page"],[4,"ngIf"],["align","end"],["mat-raised-button","",3,"click"],["mat-raised-button","","color","primary",3,"click"],[1,"input-full-width"],["matPrefix",""],["matInput","","type","text",3,"ngModel","ngModelChange"],["matInput","","type","text","rows","3",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","LNURL...",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","user@domain",3,"ngModel","ngModelChange"]],template:function(t,e){1&t&&(_(0,"div",0),pe("scrollAction",function(){return e.navigation.showMore()}),Ce(1,"app-profile-header"),_(2,"div",1)(3,"mat-card"),ee(4,Zse,67,12,"mat-card-content",2),_(5,"mat-card-footer",3)(6,"button",4),pe("click",function(){return e.cancelEdit()}),N(7,"Cancel"),F(),N(8,"\xa0 "),_(9,"button",5),pe("click",function(){return e.updateMetadata()}),N(10,"Save"),F()()()()()),2&t&&(E(4),S("ngIf",e.profile))},dependencies:[ri,Do,Oa,eo,Kc,ur,Pa,oc,ZN,Qn,xa,ua,Ca,_m,tu,Js],encapsulation:2});class Zn{constructor(t,e,n){this.appState=t,this.authService=e,this.router=n}canActivate(){return!!this.authService.authInfo$.getValue().authenticated()||this.authService.getAuthInfo().then(t=>!!t.authenticated()||(this.router.navigateByUrl("/connect"),!1))}}Zn.\u0275fac=function(t){return new(t||Zn)(Fe(Zi),Fe(La),Fe(qn))},Zn.\u0275prov=Qe({token:Zn,factory:Zn.\u0275fac});const Xse=["switch"],Jse=["*"],ele=new Ke("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})}),tle={provide:Fa,useExisting:di(()=>b0),multi:!0};class AO{constructor(t,e){this.source=t,this.checked=e}}let ile=0;const nle=Rc(ec(xl(Jl(class{constructor(i){this._elementRef=i}}))));let rle=(()=>{class i extends nle{get required(){return this._required}set required(e){this._required=Ct(e)}get checked(){return this._checked}set checked(e){this._checked=Ct(e),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(e,n,r,a,o,c,h){super(e),this._focusMonitor=n,this._changeDetectorRef=r,this.defaults=o,this._onChange=f=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new lt,this.toggleChange=new lt,this.tabIndex=parseInt(a)||0,this.color=this.defaultColor=o.color||"accent",this._noopAnimations="NoopAnimations"===c,this.id=this._uniqueId=`${h}${++ile}`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{"keyboard"===e||"program"===e?(this._focused=!0,this._changeDetectorRef.markForCheck()):e||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}}return i.\u0275fac=function(e){Wl()},i.\u0275dir=Oe({type:i,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},features:[ot]}),i})(),b0=(()=>{class i extends rle{get buttonId(){return`${this.id||this._uniqueId}-button`}constructor(e,n,r,a,o,c){super(e,n,r,a,o,c,"mat-mdc-slide-toggle-"),this._labelId=this._uniqueId+"-label"}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new AO(this,this.checked)))}focus(){this._switchElement.nativeElement.focus()}_createChangeEvent(e){return new AO(this,e)}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Ka),k(ni),fo("tabindex"),k(ele),k(Ln,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-slide-toggle"]],viewQuery:function(e,n){if(1&e&&Lt(Xse,5),2&e){let r;Ze(r=Xe())&&(n._switchElement=r.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:11,hostBindings:function(e,n){2&e&&(Ua("id",n.id),It("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),Mt("mat-mdc-slide-toggle-focused",n._focused)("mat-mdc-slide-toggle-checked",n.checked)("_mat-animation-noopable",n._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[Nt([tle]),ot],ngContentSelectors:Jse,decls:17,vars:24,consts:[[1,"mdc-form-field"],["role","switch","type","button",1,"mdc-switch",3,"tabIndex","disabled","click"],["switch",""],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],["viewBox","0 0 24 24",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"],[3,"for","click"]],template:function(e,n){if(1&e&&(Bi(),_(0,"div",0)(1,"button",1,2),pe("click",function(){return n._handleClick()}),Ce(3,"div",3),_(4,"div",4)(5,"div",5)(6,"div",6),Ce(7,"div",7),F(),_(8,"div",8),Ce(9,"div",9),F(),_(10,"div",10),mo(),_(11,"svg",11),Ce(12,"path",12),F(),_(13,"svg",13),Ce(14,"path",14),F()()()()(),ml(),_(15,"label",15),pe("click",function(a){return a.stopPropagation()}),Ft(16),F()()),2&e){const r=Li(2);Mt("mdc-form-field--align-end","before"==n.labelPosition),E(1),Mt("mdc-switch--selected",n.checked)("mdc-switch--unselected",!n.checked)("mdc-switch--checked",n.checked)("mdc-switch--disabled",n.disabled),S("tabIndex",n.tabIndex)("disabled",n.disabled),It("id",n.buttonId)("name",n.name)("aria-label",n.ariaLabel)("aria-labelledby",n._getAriaLabelledBy())("aria-describedby",n.ariaDescribedby)("aria-required",n.required||null)("aria-checked",n.checked),E(8),S("matRippleTrigger",r)("matRippleDisabled",n.disableRipple||n.disabled)("matRippleCentered",!0),E(6),S("for",n.buttonId),It("id",n._labelId)}},dependencies:[da],styles:['.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mdc-switch{width:var(--mdc-switch-track-width, 36px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, #616161)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color, var(--mdc-theme-surface, #fff))}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation, 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__focus-ring-wrapper,.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height, 20px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape, 10px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width, 20px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width, 20px))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size, 18px);height:var(--mdc-switch-selected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size, 18px);height:var(--mdc-switch-unselected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size, 48px);width:var(--mdc-switch-state-layer-size, 48px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height, 14px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape, 7px)}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}'],encapsulation:2,changeDetection:0}),i})(),IO=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})(),sle=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[IO,Qt,qs,Dr,IO,Qt]}),i})();class Dp{constructor(t,e){this.dialogRef=t,this.data=e}onNoClick(){this.data.url="",this.dialogRef.close()}}Dp.\u0275fac=function(t){return new(t||Dp)(k(Ts),k(kl))},Dp.\u0275cmp=qe({type:Dp,selectors:[["add-relay-dialog"]],decls:20,vars:4,consts:[[1,"dialog"],["mat-dialog-title",""],["mat-dialog-content","",1,"mat-dialog-content"],["appearance","fill",1,"input-full-width"],["matPrefix","",1,"circle"],["matInput","","type","text",3,"ngModel","ngModelChange"],["color","primary",3,"ngModel","ngModelChange"],["mat-dialog-actions","","align","end"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"h1",1),N(2,"Add a relay"),F(),_(3,"div",2)(4,"mat-form-field",3)(5,"mat-icon",4),N(6,"dns"),F(),_(7,"mat-label"),N(8,"URL"),F(),_(9,"input",5),pe("ngModelChange",function(r){return e.data.url=r}),F()(),_(10,"mat-slide-toggle",6),pe("ngModelChange",function(r){return e.data.read=r}),N(11,"Read"),F(),N(12,"\xa0 "),_(13,"mat-slide-toggle",6),pe("ngModelChange",function(r){return e.data.write=r}),N(14,"Write"),F()(),_(15,"div",7)(16,"button",8),pe("click",function(){return e.onNoClick()}),N(17,"Cancel"),F(),_(18,"button",9),N(19,"Add"),F()()()),2&t&&(E(9),S("ngModel",e.data.url),E(1),S("ngModel",e.data.read),E(3),S("ngModel",e.data.write),E(5),S("mat-dialog-close",e.data))},dependencies:[Do,Oa,eo,Kc,ur,Qn,b0,xa,ua,Ca,Wh,Gh,tc,Vc],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}"]});const lle=["trigger"],cle=["panel"];function dle(i,t){if(1&i&&(_(0,"span",10),N(1),F()),2&i){const e=Q();E(1),yt(e.placeholder)}}function ule(i,t){if(1&i&&(_(0,"span",14),N(1),F()),2&i){const e=Q(2);E(1),yt(e.triggerValue)}}function hle(i,t){1&i&&Ft(0,0,["*ngSwitchCase","true"])}function mle(i,t){1&i&&(_(0,"span",11),ee(1,ule,2,1,"span",12),ee(2,hle,1,0,"ng-content",13),F()),2&i&&(S("ngSwitch",!!Q().customTrigger),E(2),S("ngSwitchCase",!0))}function fle(i,t){if(1&i){const e=Je();mo(),ml(),_(0,"div",15,16),pe("@transformPanel.done",function(r){return Te(e),Ae(Q()._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){return Te(e),Ae(Q()._handleKeydown(r))}),Ft(2,1),F()}if(2&i){const e=Q();db("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),S("ngClass",e.panelClass)("@transformPanel","showing"),It("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const ple=[[["mat-select-trigger"]],"*"],gle=["mat-select-trigger","*"],_le={transformPanelWrap:Qa("transformPanelWrap",[cr("* => void",Od("@transformPanel",[$g()],{optional:!0}))]),transformPanel:Qa("transformPanel",[_r("void",pi({opacity:0,transform:"scale(1, 0.8)"})),cr("void => showing",lr("120ms cubic-bezier(0, 0, 0.2, 1)",pi({opacity:1,transform:"scale(1, 1)"}))),cr("* => void",lr("100ms linear",pi({opacity:0})))])};let LO=0;const NO=new Ke("mat-select-scroll-strategy"),yle=new Ke("MAT_SELECT_CONFIG"),vle={provide:NO,deps:[ya],useFactory:function ble(i){return()=>i.scrollStrategies.reposition()}},wle=new Ke("MatSelectTrigger");class Fle{constructor(t,e){this.source=t,this.value=e}}const xle=xl(Rc(Jl(SC(class{constructor(i,t,e,n,r){this._elementRef=i,this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=r,this.stateChanges=new He}}))));let Cle=(()=>{class i extends xle{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(Oo.required)??!1}set required(e){this._required=Ct(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=Ct(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=Ct(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=wr(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}constructor(e,n,r,a,o,c,h,f,x,P,$,te,fe,ye){super(o,a,h,f,P),this._viewportRuler=e,this._changeDetectorRef=n,this._ngZone=r,this._dir=c,this._parentFormField=x,this._liveAnnouncer=fe,this._defaultOptions=ye,this._panelOpen=!1,this._compareWith=(Ie,Le)=>Ie===Le,this._uid="mat-select-"+LO++,this._triggerAriaLabelledBy=null,this._destroy=new He,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+LO++,this._panelDoneAnimatingStream=new He,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=Oc(()=>{const Ie=this.options;return Ie?Ie.changes.pipe(jr(Ie),ia(()=>Pn(...Ie.map(Le=>Le.onSelectionChange)))):this._ngZone.onStable.pipe(nn(1),ia(()=>this.optionSelectionChanges))}),this.openedChange=new lt,this._openedStream=this.openedChange.pipe(qi(Ie=>Ie),_t(()=>{})),this._closedStream=this.openedChange.pipe(qi(Ie=>!Ie),_t(()=>{})),this.selectionChange=new lt,this.valueChange=new lt,this.ngControl&&(this.ngControl.valueAccessor=this),null!=ye?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=ye.typeaheadDebounceInterval),this._scrollStrategyFactory=te,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt($)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Uv(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Bg(),ii(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(ii(this._destroy)).subscribe(e=>{e.added.forEach(n=>n.select()),e.removed.forEach(n=>n.deselect())}),this.options.changes.pipe(jr(null),ii(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),n=this.ngControl;if(e!==this._triggerAriaLabelledBy){const r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}n&&(this._previousControl!==n.control&&(void 0!==this._previousControl&&null!==n.disabled&&n.disabled!==this.disabled&&(this.disabled=n.disabled),this._previousControl=n.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(n=>n.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const n=e.keyCode,r=40===n||38===n||37===n||39===n,a=13===n||32===n,o=this._keyManager;if(!o.isTyping()&&a&&!ba(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){const c=this.selected;o.onKeydown(e);const h=this.selected;h&&c!==h&&this._liveAnnouncer.announce(h.viewValue,1e4)}}_handleOpenKeydown(e){const n=this._keyManager,r=e.keyCode,a=40===r||38===r,o=n.isTyping();if(a&&e.altKey)e.preventDefault(),this.close();else if(o||13!==r&&32!==r||!n.activeItem||ba(e))if(!o&&this._multiple&&65===r&&e.ctrlKey){e.preventDefault();const c=this.options.some(h=>!h.disabled&&!h.selected);this.options.forEach(h=>{h.disabled||(c?h.select():h.deselect())})}else{const c=n.activeItemIndex;n.onKeydown(e),this._multiple&&a&&e.shiftKey&&n.activeItem&&n.activeItemIndex!==c&&n.activeItem._selectViaInteraction()}else e.preventDefault(),n.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(nn(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(n=>n.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(n=>this._selectOptionByValue(n)),this._sortValues();else{const n=this._selectOptionByValue(e);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const n=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return null!=r.value&&this._compareWith(r.value,e)}catch{return!1}});return n&&this._selectionModel.select(n),n}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_initKeyManager(){this._keyManager=new II(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=Pn(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(ii(e)).subscribe(n=>{this._onSelect(n.source,n.isUserInput),n.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Pn(...this.options.map(n=>n._stateChanges)).pipe(ii(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,n){const r=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),n&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),n&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((n,r)=>this.sortComparator?this.sortComparator(n,r,e):e.indexOf(n)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let n=null;n=this.multiple?this.selected.map(r=>r.value):this.selected?this.selected.value:e,this._value=n,this.valueChange.emit(n),this._onChange(n),this.selectionChange.emit(this._getChangeEvent(n)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();let n=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return i.\u0275fac=function(e){return new(e||i)(k(wl),k(ni),k(Rt),k(Vf),k(gt),k(Or,8),k($c,8),k(Wd,8),k(lm,8),k(ac,10),fo("tabindex"),k(NO),k(gC),k(yle,8))},i.\u0275dir=Oe({type:i,viewQuery:function(e,n){if(1&e&&(Lt(lle,5),Lt(cle,5),Lt(e6,5)),2&e){let r;Ze(r=Xe())&&(n.trigger=r.first),Ze(r=Xe())&&(n.panel=r.first),Ze(r=Xe())&&(n._overlayDir=r.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[ot,or]}),i})(),y0=(()=>{class i extends Cle{constructor(){super(...arguments),this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(ii(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(),this._changeDetectorRef.detectChanges())})}ngAfterViewInit(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin())}open(){this._overlayWidth=this._getOverlayWidth(),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(e){const n=this.options.toArray()[e];if(n){const r=this.panel.nativeElement,a=g6(e,this.options,this.optionGroups),o=n._getHostElement();r.scrollTop=0===e&&1===a?0:_6(o.offsetTop,o.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new Fle(this,e)}_getOverlayWidth(){return(this._preferredOverlayOrigin instanceof xC?this._preferredOverlayOrigin.elementRef:this._preferredOverlayOrigin||this._elementRef).nativeElement.getBoundingClientRect().width}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=Ct(e),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const e of this.options)e._changeDetectorRef.markForCheck()}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275cmp=qe({type:i,selectors:[["mat-select"]],contentQueries:function(e,n,r){if(1&e&&(ui(r,wle,5),ui(r,ku,5),ui(r,IC,5)),2&e){let a;Ze(a=Xe())&&(n.customTrigger=a.first),Ze(a=Xe())&&(n.options=a),Ze(a=Xe())&&(n.optionGroups=a)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(e,n){1&e&&pe("keydown",function(a){return n._handleKeydown(a)})("focus",function(){return n._onFocus()})("blur",function(){return n._onBlur()}),2&e&&(It("id",n.id)("tabindex",n.tabIndex)("aria-controls",n.panelOpen?n.id+"-panel":null)("aria-expanded",n.panelOpen)("aria-label",n.ariaLabel||null)("aria-required",n.required.toString())("aria-disabled",n.disabled.toString())("aria-invalid",n.errorState)("aria-activedescendant",n._getAriaActiveDescendant()),Mt("mat-mdc-select-disabled",n.disabled)("mat-mdc-select-invalid",n.errorState)("mat-mdc-select-required",n.required)("mat-mdc-select-empty",n.empty)("mat-mdc-select-multiple",n.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matSelect"],features:[Nt([{provide:hp,useExisting:i},{provide:AC,useExisting:i}]),ot],ngContentSelectors:gle,decls:11,vars:11,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,n){if(1&e&&(Bi(ple),_(0,"div",0,1),pe("click",function(){return n.toggle()}),_(3,"div",2),ee(4,dle,2,1,"span",3),ee(5,mle,3,2,"span",4),F(),_(6,"div",5)(7,"div",6),mo(),_(8,"svg",7),Ce(9,"path",8),F()()()(),ee(10,fle,3,9,"ng-template",9),pe("backdropClick",function(){return n.close()})("attach",function(){return n._onAttached()})("detach",function(){return n.close()})),2&e){const r=Li(1);It("aria-owns",n.panelOpen?n.id+"-panel":null),E(3),S("ngSwitch",n.empty),It("id",n._valueId),E(1),S("ngSwitchCase",!0),E(1),S("ngSwitchCase",!1),E(5),S("cdkConnectedOverlayPanelClass",n._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",n._scrollStrategy)("cdkConnectedOverlayOrigin",n._preferredOverlayOrigin||r)("cdkConnectedOverlayOpen",n.panelOpen)("cdkConnectedOverlayPositions",n._positions)("cdkConnectedOverlayWidth",n._overlayWidth)}},dependencies:[qa,wu,Df,VA,e6,xC],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mat-mdc-select{display:inline-block;width:100%;outline:none}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}.mdc-menu-surface.mat-mdc-select-panel{width:100%;max-height:275px;position:static;outline:0;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-select-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) .mdc-menu-surface.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above .mdc-menu-surface.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[_le.transformPanel]},changeDetection:0}),i})(),OO=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[vle],imports:[Dr,Nc,ey,Qt,Lc,SD,ey,Qt]}),i})();function kle(i,t){}const Dle=function(i){return{animationDuration:i}},Mle=function(i,t){return{value:i,params:t}};function Ele(i,t){1&i&&Ft(0)}const v0=["*"],RO=["tabListContainer"],PO=["tabList"],BO=["tabListInner"],HO=["nextPaginator"],VO=["previousPaginator"],Sle=["tabBodyWrapper"],Tle=["tabHeader"];function Ale(i,t){}function Ile(i,t){1&i&&ee(0,Ale,0,0,"ng-template",14),2&i&&S("cdkPortalOutlet",Q().$implicit.templateLabel)}function Lle(i,t){1&i&&N(0),2&i&&yt(Q().$implicit.textLabel)}function Nle(i,t){if(1&i){const e=Je();_(0,"div",6,7),pe("click",function(){const r=Te(e),a=r.$implicit,o=r.index,c=Q(),h=Li(1);return Ae(c._handleClick(a,h,o))})("cdkFocusChange",function(r){const o=Te(e).index;return Ae(Q()._tabFocusChanged(r,o))}),Ce(2,"span",8)(3,"div",9),_(4,"span",10)(5,"span",11),ee(6,Ile,1,1,"ng-template",12),ee(7,Lle,1,1,"ng-template",null,13,ko),F()()()}if(2&i){const e=t.$implicit,n=t.index,r=Li(1),a=Li(8),o=Q();Mt("mdc-tab--active",o.selectedIndex===n),S("id",o._getTabLabelId(n))("ngClass",e.labelClass)("disabled",e.disabled)("fitInkBarToContent",o.fitInkBarToContent),It("tabIndex",o._getTabIndex(n))("aria-posinset",n+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(n))("aria-selected",o.selectedIndex===n)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),E(3),S("matRippleTrigger",r)("matRippleDisabled",e.disabled||o.disableRipple),E(3),S("ngIf",e.templateLabel)("ngIfElse",a)}}function Ole(i,t){if(1&i){const e=Je();_(0,"mat-tab-body",15),pe("_onCentered",function(){return Te(e),Ae(Q()._removeTabBodyWrapperHeight())})("_onCentering",function(r){return Te(e),Ae(Q()._setTabBodyWrapperHeight(r))}),F()}if(2&i){const e=t.$implicit,n=t.index,r=Q();Mt("mat-mdc-tab-body-active",r.selectedIndex===n),S("id",r._getTabContentId(n))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",r.animationDuration)("preserveContent",r.preserveContent),It("tabindex",null!=r.contentTabIndex&&r.selectedIndex===n?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(n))}}const Rle=["mat-tab-nav-bar",""],Ple=["mat-tab-link",""],Ble={translateTab:Qa("translateTab",[_r("center, void, left-origin-center, right-origin-center",pi({transform:"none"})),_r("left",pi({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),_r("right",pi({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),cr("* => left, * => right, left => center, right => center",lr("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),cr("void => left-origin-center",[pi({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),lr("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),cr("void => right-origin-center",[pi({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),lr("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let Hle=(()=>{class i extends Xl{constructor(e,n,r,a){super(e,n,a),this._host=r,this._centeringSub=C.EMPTY,this._leavingSub=C.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(jr(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return i.\u0275fac=function(e){return new(e||i)(k(pd),k(kr),k(di(()=>YO)),k(Mi))},i.\u0275dir=Oe({type:i,selectors:[["","matTabBodyHost",""]],features:[ot]}),i})(),Vle=(()=>{class i{set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(e,n,r){this._elementRef=e,this._dir=n,this._dirChangeSubscription=C.EMPTY,this._translateTabComplete=new He,this._onCentering=new lt,this._beforeCentering=new lt,this._afterLeavingCenter=new lt,this._onCentered=new lt(!0),this.animationDuration="500ms",this.preserveContent=!1,n&&(this._dirChangeSubscription=n.change.subscribe(a=>{this._computePositionAnimationState(a),r.markForCheck()})),this._translateTabComplete.pipe(Bg((a,o)=>a.fromState===o.fromState&&a.toState===o.toState)).subscribe(a=>{this._isCenterPosition(a.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(a.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const n=this._isCenterPosition(e.toState);this._beforeCentering.emit(n),n&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const n=this._getLayoutDirection();return"ltr"==n&&e<=0||"rtl"==n&&e>0?"left-origin-center":"right-origin-center"}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Or,8),k(ni))},i.\u0275dir=Oe({type:i,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),i})(),YO=(()=>{class i extends Vle{constructor(e,n,r){super(e,n,r)}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Or,8),k(ni))},i.\u0275cmp=qe({type:i,selectors:[["mat-tab-body"]],viewQuery:function(e,n){if(1&e&&Lt(Xl,5),2&e){let r;Ze(r=Xe())&&(n._portalHost=r.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[ot],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,n){1&e&&(_(0,"div",0,1),pe("@translateTab.start",function(a){return n._onTranslateTabStarted(a)})("@translateTab.done",function(a){return n._translateTabComplete.next(a)}),ee(2,kle,0,0,"ng-template",2),F()),2&e&&S("@translateTab",Ws(3,Mle,n._position,yn(1,Dle,n.animationDuration)))},dependencies:[Hle],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[Ble.translateTab]}}),i})();const Yle=new Ke("MatTabContent");let XD=(()=>{class i{constructor(e){this.template=e}}return i.\u0275fac=function(e){return new(e||i)(k(vr))},i.\u0275dir=Oe({type:i,selectors:[["","matTabContent",""]],features:[Nt([{provide:Yle,useExisting:i}])]}),i})();const jle=new Ke("MatTabLabel"),jO=new Ke("MAT_TAB");let JD=(()=>{class i extends e${constructor(e,n,r){super(e,n),this._closestTab=r}}return i.\u0275fac=function(e){return new(e||i)(k(vr),k(kr),k(jO,8))},i.\u0275dir=Oe({type:i,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Nt([{provide:jle,useExisting:i}]),ot]}),i})();const eM="mdc-tab-indicator--active",zO="mdc-tab-indicator--no-transition";class UO{constructor(t){this._items=t}hide(){this._items.forEach(t=>t.deactivateInkBar())}alignToElement(t){const e=this._items.find(r=>r.elementRef.nativeElement===t),n=this._currentItem;if(n?.deactivateInkBar(),e){const r=n?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(r),this._currentItem=e}}}function WO(i){return class extends i{constructor(...t){super(...t),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(t){const e=Ct(t);this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(t){const e=this.elementRef.nativeElement;if(!t||!e.getBoundingClientRect||!this._inkBarContentElement)return void e.classList.add(eM);const n=e.getBoundingClientRect(),r=t.width/n.width,a=t.left-n.left;e.classList.add(zO),this._inkBarContentElement.style.setProperty("transform",`translateX(${a}px) scaleX(${r})`),e.getBoundingClientRect(),e.classList.remove(zO),e.classList.add(eM),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(eM)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const t=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=t.createElement("span"),this._inkBarContentElement=t.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}const Ule=Jl(class{}),Wle=WO((()=>{class i extends Ule{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return i.\u0275fac=function(e){return new(e||i)(k(gt))},i.\u0275dir=Oe({type:i,features:[ot]}),i})());let GO=(()=>{class i extends Wle{}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275dir=Oe({type:i,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,n){2&e&&(It("aria-disabled",!!n.disabled),Mt("mat-mdc-tab-disabled",n.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[ot]}),i})();const Gle=Jl(class{}),qO=new Ke("MAT_TAB_GROUP");let qle=(()=>{class i extends Gle{get content(){return this._contentPortal}constructor(e,n){super(),this._viewContainerRef=e,this._closestTabGroup=n,this.textLabel="",this._contentPortal=null,this._stateChanges=new He,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Ad(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}}return i.\u0275fac=function(e){return new(e||i)(k(kr),k(qO,8))},i.\u0275dir=Oe({type:i,viewQuery:function(e,n){if(1&e&&Lt(vr,7),2&e){let r;Ze(r=Xe())&&(n._implicitContent=r.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[ot,or]}),i})(),w0=(()=>{class i extends qle{get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275cmp=qe({type:i,selectors:[["mat-tab"]],contentQueries:function(e,n,r){if(1&e&&(ui(r,XD,7,vr),ui(r,JD,5)),2&e){let a;Ze(a=Xe())&&(n._explicitContent=a.first),Ze(a=Xe())&&(n.templateLabel=a.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[Nt([{provide:jO,useExisting:i}]),ot],ngContentSelectors:v0,decls:1,vars:0,template:function(e,n){1&e&&(Bi(),ee(0,Ele,1,0,"ng-template"))},encapsulation:2}),i})();const $O=Dd({passive:!0});let QO=(()=>{class i{get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=Ct(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=wr(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}constructor(e,n,r,a,o,c,h){this._elementRef=e,this._changeDetectorRef=n,this._viewportRuler=r,this._dir=a,this._ngZone=o,this._platform=c,this._animationMode=h,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new He,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new He,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new lt,this.indexFocused=new lt,o.runOutsideAngular(()=>{Ss(e.nativeElement,"mouseleave").pipe(ii(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){Ss(this._previousPaginator.nativeElement,"touchstart",$O).pipe(ii(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Ss(this._nextPaginator.nativeElement,"touchstart",$O).pipe(ii(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:Ht("ltr"),n=this._viewportRuler.change(150),r=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Vg(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(nn(1)).subscribe(r),Pn(e,n,this._items.changes,this._itemsResized()).pipe(ii(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),r()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(a=>{this.indexFocused.emit(a),this._setTabFocus(a)})}_itemsResized(){return"function"!=typeof ResizeObserver?ln:this._items.changes.pipe(jr(this._items),ia(e=>new mt(n=>this._ngZone.runOutsideAngular(()=>{const r=new ResizeObserver(a=>n.next(a));return e.forEach(a=>r.observe(a.elementRef.nativeElement)),()=>{r.disconnect()}}))),lC(1),qi(e=>e.some(n=>n.contentRect.width>0&&n.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!ba(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){const n=this._items.get(this.focusIndex);n&&!n.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return!this._items||!!this._items.toArray()[e]}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const n=this._tabListContainer.nativeElement;n.scrollLeft="ltr"==this._getLayoutDirection()?0:n.scrollWidth-n.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,n="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(n)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const n=this._items?this._items.toArray()[e]:null;if(!n)return;const r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:a,offsetWidth:o}=n.elementRef.nativeElement;let c,h;"ltr"==this._getLayoutDirection()?(c=a,h=c+o):(h=this._tabListInner.nativeElement.offsetWidth-a,c=h-o);const f=this.scrollDistance,x=this.scrollDistance+r;c<f?this.scrollDistance-=f-c+60:h>x&&(this.scrollDistance+=h-x+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,n=e?e.elementRef.nativeElement:null;n?this._inkBar.alignToElement(n):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,n){n&&null!=n.button&&0!==n.button||(this._stopInterval(),jg(650,100).pipe(ii(Pn(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:r,distance:a}=this._scrollHeader(e);(0===a||a>=r)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const n=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(n,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:n,distance:this._scrollDistance}}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(ni),k(wl),k(Or,8),k(Rt),k(Bn),k(Ln,8))},i.\u0275dir=Oe({type:i,inputs:{disablePagination:"disablePagination"}}),i})(),Qle=(()=>{class i extends QO{get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Ct(e)}constructor(e,n,r,a,o,c,h){super(e,n,r,a,o,c,h),this._disableRipple=!1}_itemSelected(e){e.preventDefault()}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(ni),k(wl),k(Or,8),k(Rt),k(Bn),k(Ln,8))},i.\u0275dir=Oe({type:i,inputs:{disableRipple:"disableRipple"},features:[ot]}),i})(),Zle=(()=>{class i extends Qle{constructor(e,n,r,a,o,c,h){super(e,n,r,a,o,c,h)}ngAfterContentInit(){this._inkBar=new UO(this._items),super.ngAfterContentInit()}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(ni),k(wl),k(Or,8),k(Rt),k(Bn),k(Ln,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-tab-header"]],contentQueries:function(e,n,r){if(1&e&&ui(r,GO,4),2&e){let a;Ze(a=Xe())&&(n._items=a)}},viewQuery:function(e,n){if(1&e&&(Lt(RO,7),Lt(PO,7),Lt(BO,7),Lt(HO,5),Lt(VO,5)),2&e){let r;Ze(r=Xe())&&(n._tabListContainer=r.first),Ze(r=Xe())&&(n._tabList=r.first),Ze(r=Xe())&&(n._tabListInner=r.first),Ze(r=Xe())&&(n._nextPaginator=r.first),Ze(r=Xe())&&(n._previousPaginator=r.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(e,n){2&e&&Mt("mat-mdc-tab-header-pagination-controls-enabled",n._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==n._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[ot],ngContentSelectors:v0,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,n){1&e&&(Bi(),_(0,"button",0,1),pe("click",function(){return n._handlePaginatorClick("before")})("mousedown",function(a){return n._handlePaginatorPress("before",a)})("touchend",function(){return n._stopInterval()}),Ce(2,"div",2),F(),_(3,"div",3,4),pe("keydown",function(a){return n._handleKeydown(a)}),_(5,"div",5,6),pe("cdkObserveContent",function(){return n._onContentChanges()}),_(7,"div",7,8),Ft(9),F()()(),_(10,"button",9,10),pe("mousedown",function(a){return n._handlePaginatorPress("after",a)})("click",function(){return n._handlePaginatorClick("after")})("touchend",function(){return n._stopInterval()}),Ce(12,"div",2),F()),2&e&&(Mt("mat-mdc-tab-header-pagination-disabled",n._disableScrollBefore),S("matRippleDisabled",n._disableScrollBefore||n.disableRipple)("disabled",n._disableScrollBefore||null),E(3),Mt("_mat-animation-noopable","NoopAnimations"===n._animationMode),E(7),Mt("mat-mdc-tab-header-pagination-disabled",n._disableScrollAfter),S("matRippleDisabled",n._disableScrollAfter||n.disableRipple)("disabled",n._disableScrollAfter||null))},dependencies:[da,Lf],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2}),i})();const tM=new Ke("MAT_TABS_CONFIG");let Xle=0;const Jle=ec(xl(class{constructor(i){this._elementRef=i}}),"primary");let ece=(()=>{class i extends Jle{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=Ct(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=wr(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=wr(e,null)}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=Ct(e)}get preserveContent(){return this._preserveContent}set preserveContent(e){this._preserveContent=Ct(e)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const n=this._elementRef.nativeElement.classList;n.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&n.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,n,r,a){super(e),this._changeDetectorRef=n,this._animationMode=a,this._tabs=new Mc,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=C.EMPTY,this._tabLabelSubscription=C.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new lt,this.focusChange=new lt,this.animationDone=new lt,this.selectedTabChange=new lt(!0),this._groupId=Xle++,this.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",this.disablePagination=!(!r||null==r.disablePagination)&&r.disablePagination,this.dynamicHeight=!(!r||null==r.dynamicHeight)&&r.dynamicHeight,this.contentTabIndex=r?.contentTabIndex??null,this.preserveContent=!!r?.preserveContent}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const n=null==this._selectedIndex;if(!n){this.selectedTabChange.emit(this._createChangeEvent(e));const r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((r,a)=>r.isActive=a===e),n||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((n,r)=>{n.position=r-e,null!=this._selectedIndex&&0==n.position&&!n.origin&&(n.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){const n=this._tabs.toArray();let r;for(let a=0;a<n.length;a++)if(n[a].isActive){this._indexToSelect=this._selectedIndex=a,this._lastFocusedTabIndex=null,r=n[a];break}!r&&n[e]&&Promise.resolve().then(()=>{n[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(jr(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(n=>n._closestTabGroup===this||!n._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){const n=this._tabHeader;n&&(n.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const n=new tce;return n.index=e,this._tabs&&this._tabs.length&&(n.tab=this._tabs.toArray()[e]),n}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Pn(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const n=this._tabBodyWrapper.nativeElement;n.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(n.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,n,r){n.focusIndex=r,e.disabled||(this.selectedIndex=r)}_getTabIndex(e){return e===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(e,n){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=n)}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(ni),k(tM,8),k(Ln,8))},i.\u0275dir=Oe({type:i,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[ot]}),i})(),ew=(()=>{class i extends ece{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=Ct(e),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(e){this._stretchTabs=Ct(e)}constructor(e,n,r,a){super(e,n,r,a),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!r||null==r.fitInkBarToContent)&&r.fitInkBarToContent}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(ni),k(tM,8),k(Ln,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-tab-group"]],contentQueries:function(e,n,r){if(1&e&&ui(r,w0,5),2&e){let a;Ze(a=Xe())&&(n._allTabs=a)}},viewQuery:function(e,n){if(1&e&&(Lt(Sle,5),Lt(Tle,5)),2&e){let r;Ze(r=Xe())&&(n._tabBodyWrapper=r.first),Ze(r=Xe())&&(n._tabHeader=r.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:6,hostBindings:function(e,n){2&e&&Mt("mat-mdc-tab-group-dynamic-height",n.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===n.headerPosition)("mat-mdc-tab-group-stretch-tabs",n.stretchTabs)},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[Nt([{provide:qO,useExisting:i}]),ot],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(e,n){1&e&&(_(0,"mat-tab-header",0,1),pe("indexFocused",function(a){return n._focusChanged(a)})("selectFocusedIndex",function(a){return n.selectedIndex=a}),ee(2,Nle,9,17,"div",2),F(),_(3,"div",3,4),ee(5,Ole,1,11,"mat-tab-body",5),F()),2&e&&(S("selectedIndex",n.selectedIndex||0)("disableRipple",n.disableRipple)("disablePagination",n.disablePagination),E(2),S("ngForOf",n._tabs),E(1),Mt("_mat-animation-noopable","NoopAnimations"===n._animationMode),E(2),S("ngForOf",n._tabs))},dependencies:[qa,vn,ri,Xl,da,Fq,YO,GO,Zle],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-tab.mdc-tab{height:48px;flex-grow:0}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none}.mat-mdc-tab .mdc-tab__text-label{display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-disabled{opacity:.4}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-mdc-tab-header-with-background-background-color, transparent)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab-indicator__content--underline,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2}),i})();class tce{}let ZO=0,XO=(()=>{class i extends QO{get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const n=this._elementRef.nativeElement.classList;n.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&n.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Ct(e)}constructor(e,n,r,a,o,c,h){super(e,a,o,n,r,c,h),this._disableRipple=!1,this.color="primary"}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe(jr(null),ii(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const e=this._items.toArray();for(let n=0;n<e.length;n++)if(e[n].active)return this.selectedIndex=n,this._changeDetectorRef.markForCheck(),void(this.tabPanel&&(this.tabPanel._activeTabId=e[n].id));this.selectedIndex=-1,this._inkBar.hide()}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Or,8),k(Rt),k(ni),k(wl),k(Bn),k(Ln,8))},i.\u0275dir=Oe({type:i,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[ot]}),i})();const ice=Rc(xl(Jl(class{}))),nce=WO((()=>{class i extends ice{get active(){return this._isActive}set active(e){const n=Ct(e);n!==this._isActive&&(this._isActive=n,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(e,n,r,a,o,c){super(),this._tabNavBar=e,this.elementRef=n,this._focusMonitor=o,this._isActive=!1,this.id="mat-tab-link-"+ZO++,this.rippleConfig=r||{},this.tabIndex=parseInt(a)||0,"NoopAnimations"===c&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(e){this._tabNavBar.tabPanel&&32===e.keyCode&&this.elementRef.nativeElement.click()}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex}}return i.\u0275fac=function(e){return new(e||i)(k(XO),k(gt),k(Ld,8),fo("tabindex"),k(Ka),k(Ln,8))},i.\u0275dir=Oe({type:i,inputs:{active:"active",id:"id"},features:[ot]}),i})());let iM=(()=>{class i extends XO{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(e){this._fitInkBarToContent.next(Ct(e)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(e){this._stretchTabs=Ct(e)}constructor(e,n,r,a,o,c,h,f){super(e,n,r,a,o,c,h),this._fitInkBarToContent=new Hi(!1),this._stretchTabs=!0,this.disablePagination=!(!f||null==f.disablePagination)&&f.disablePagination,this.fitInkBarToContent=!(!f||null==f.fitInkBarToContent)&&f.fitInkBarToContent}ngAfterContentInit(){this._inkBar=new UO(this._items),super.ngAfterContentInit()}ngAfterViewInit(){super.ngAfterViewInit()}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Or,8),k(Rt),k(ni),k(wl),k(Bn),k(Ln,8),k(tM,8))},i.\u0275cmp=qe({type:i,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(e,n,r){if(1&e&&ui(r,nM,5),2&e){let a;Ze(a=Xe())&&(n._items=a)}},viewQuery:function(e,n){if(1&e&&(Lt(RO,7),Lt(PO,7),Lt(BO,7),Lt(HO,5),Lt(VO,5)),2&e){let r;Ze(r=Xe())&&(n._tabListContainer=r.first),Ze(r=Xe())&&(n._tabList=r.first),Ze(r=Xe())&&(n._tabListInner=r.first),Ze(r=Xe())&&(n._nextPaginator=r.first),Ze(r=Xe())&&(n._previousPaginator=r.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:15,hostBindings:function(e,n){2&e&&(It("role",n._getRole()),Mt("mat-mdc-tab-header-pagination-controls-enabled",n._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==n._getLayoutDirection())("mat-mdc-tab-nav-bar-stretch-tabs",n.stretchTabs)("mat-primary","warn"!==n.color&&"accent"!==n.color)("mat-accent","accent"===n.color)("mat-warn","warn"===n.color)("_mat-animation-noopable","NoopAnimations"===n._animationMode))},inputs:{color:"color",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabNavBar","matTabNav"],features:[ot],attrs:Rle,ngContentSelectors:v0,decls:13,vars:8,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-links"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,n){1&e&&(Bi(),_(0,"button",0,1),pe("click",function(){return n._handlePaginatorClick("before")})("mousedown",function(a){return n._handlePaginatorPress("before",a)})("touchend",function(){return n._stopInterval()}),Ce(2,"div",2),F(),_(3,"div",3,4),pe("keydown",function(a){return n._handleKeydown(a)}),_(5,"div",5,6),pe("cdkObserveContent",function(){return n._onContentChanges()}),_(7,"div",7,8),Ft(9),F()()(),_(10,"button",9,10),pe("mousedown",function(a){return n._handlePaginatorPress("after",a)})("click",function(){return n._handlePaginatorClick("after")})("touchend",function(){return n._stopInterval()}),Ce(12,"div",2),F()),2&e&&(Mt("mat-mdc-tab-header-pagination-disabled",n._disableScrollBefore),S("matRippleDisabled",n._disableScrollBefore||n.disableRipple)("disabled",n._disableScrollBefore||null),E(10),Mt("mat-mdc-tab-header-pagination-disabled",n._disableScrollAfter),S("matRippleDisabled",n._disableScrollAfter||n.disableRipple)("disabled",n._disableScrollAfter||null))},dependencies:[da,Lf],styles:[".mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-links{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-mdc-tab-header-with-background-background-color, transparent)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab .mdc-tab__text-label,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}"],encapsulation:2}),i})(),nM=(()=>{class i extends nce{constructor(e,n,r,a,o,c){super(e,n,r,a,o,c),this._destroyed=new He,e._fitInkBarToContent.pipe(ii(this._destroyed)).subscribe(h=>{this.fitInkBarToContent=h})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy()}}return i.\u0275fac=function(e){return new(e||i)(k(iM),k(gt),k(Ld,8),fo("tabindex"),k(Ka),k(Ln,8))},i.\u0275cmp=qe({type:i,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(e,n){1&e&&pe("focus",function(){return n._handleFocus()})("keydown",function(a){return n._handleKeydown(a)}),2&e&&(It("aria-controls",n._getAriaControls())("aria-current",n._getAriaCurrent())("aria-disabled",n.disabled)("aria-selected",n._getAriaSelected())("id",n.id)("tabIndex",n._getTabIndex())("role",n._getRole()),Mt("mat-mdc-tab-disabled",n.disabled)("mdc-tab--active",n.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",active:"active",id:"id"},exportAs:["matTabLink"],features:[ot],attrs:Ple,ngContentSelectors:v0,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(e,n){1&e&&(Bi(),Ce(0,"span",0)(1,"div",1),_(2,"span",2)(3,"span",3),Ft(4),F()()),2&e&&(E(1),S("matRippleTrigger",n.elementRef.nativeElement)("matRippleDisabled",n.rippleDisabled))},dependencies:[da],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-tab-link.mdc-tab{height:48px;flex-grow:0}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none}.mat-mdc-tab-link .mdc-tab__text-label{display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12}.mat-mdc-tab-link.mat-mdc-tab-disabled{pointer-events:none;opacity:.4}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0}),i})(),JO=(()=>{class i{constructor(){this.id="mat-tab-nav-panel-"+ZO++}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=qe({type:i,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(e,n){2&e&&It("aria-labelledby",n._activeTabId)("id",n.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:v0,decls:1,vars:0,template:function(e,n){1&e&&(Bi(),Ft(0))},encapsulation:2,changeDetection:0}),i})(),rce=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Dr,Qt,Fl,qs,Hg,Pf,Qt]}),i})();class ace{constructor(t,e){this._document=e;const n=this._textarea=this._document.createElement("textarea"),r=n.style;r.position="fixed",r.top=r.opacity="0",r.left="-999em",n.setAttribute("aria-hidden","true"),n.value=t,n.readOnly=!0,this._document.body.appendChild(n)}copy(){const t=this._textarea;let e=!1;try{if(t){const n=this._document.activeElement;t.select(),t.setSelectionRange(0,t.value.length),e=this._document.execCommand("copy"),n&&n.focus()}}catch{}return e}destroy(){const t=this._textarea;t&&(t.remove(),this._textarea=void 0)}}let oce=(()=>{class i{constructor(e){this._document=e}copy(e){const n=this.beginCopy(e),r=n.copy();return n.destroy(),r}beginCopy(e){return new ace(e,this._document)}}return i.\u0275fac=function(e){return new(e||i)(Fe(Mi))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const sce=new Ke("CDK_COPY_TO_CLIPBOARD_CONFIG");let eR=(()=>{class i{constructor(e,n,r){this._clipboard=e,this._ngZone=n,this.text="",this.attempts=1,this.copied=new lt,this._pending=new Set,r&&null!=r.attempts&&(this.attempts=r.attempts)}copy(e=this.attempts){if(e>1){let n=e;const r=this._clipboard.beginCopy(this.text);this._pending.add(r);const a=()=>{const o=r.copy();o||!--n||this._destroyed?(this._currentTimeout=null,this._pending.delete(r),r.destroy(),this.copied.emit(o)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(a,1))};a()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(e=>e.destroy()),this._pending.clear(),this._destroyed=!0}}return i.\u0275fac=function(e){return new(e||i)(k(oce),k(Rt),k(sce,8))},i.\u0275dir=Oe({type:i,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(e,n){1&e&&pe("click",function(){return n.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),i})(),lce=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})();function cce(i,t){1&i&&(_(0,"span"),N(1,"\xa0Options"),F())}function dce(i,t){if(1&i&&(_(0,"mat-icon",3),N(1,"settings_applications"),F(),ee(2,cce,2,0,"span",4),mi(3,"async")),2&i){const e=Q();E(2),S("ngIf",!1===gi(3,1,e.appState.displayLabels$))}}function uce(i,t){if(1&i&&(_(0,"mat-option",10),N(1),mi(2,"translate"),F()),2&i){const e=t.$implicit;S("value",e),E(1),Gt(" ",gi(2,2,e),"")}}function hce(i,t){if(1&i){const e=Je();_(0,"div",5)(1,"mat-card")(2,"mat-card-header")(3,"mat-card-title"),N(4),mi(5,"translate"),F(),_(6,"mat-card-subtitle"),N(7),mi(8,"translate"),F()(),_(9,"mat-card-content"),Ce(10,"br"),_(11,"mat-form-field",6)(12,"mat-label"),N(13),mi(14,"translate"),F(),_(15,"mat-select",7),pe("selectionChange",function(r){return Te(e),Ae(Q().onLanguageChanged(r))})("valueChange",function(r){return Te(e),Ae(Q().optionsService.values.language=r)}),ee(16,uce,3,4,"mat-option",8),F()(),_(17,"mat-form-field",6)(18,"mat-label"),N(19),mi(20,"translate"),F(),_(21,"mat-select",9),pe("selectionChange",function(){Te(e);const r=Q();return Ae(r.theme.darkMode=!r.theme.darkMode)}),_(22,"mat-option",10),N(23),mi(24,"translate"),F(),_(25,"mat-option",10),N(26),mi(27,"translate"),F()()()()(),Ce(28,"br"),_(29,"mat-card")(30,"mat-card-header")(31,"mat-card-title"),N(32,"Media Upload Service"),F(),_(33,"mat-card-subtitle"),N(34,"Choose which service to use for uploading photos and films"),F()(),_(35,"mat-card-content")(36,"mat-form-field",6)(37,"mat-select",11),pe("valueChange",function(r){return Te(e),Ae(Q().optionsService.values.mediaService=r)}),_(38,"mat-option",10),N(39,"void.cat"),F(),_(40,"mat-option",10),N(41,"nostr.build"),F()()()()(),Ce(42,"br"),_(43,"mat-card")(44,"mat-card-header")(45,"mat-card-title"),N(46,"Reactions"),F(),_(47,"mat-card-subtitle"),N(48,"Control if likes should be loaded and displayed"),F()(),_(49,"mat-card-content")(50,"p"),N(51,"Reactions is not for everyone and it might consider clutter by some. It also takes up additional bandwidth to download."),F(),_(52,"mat-slide-toggle",12),pe("change",function(){return Te(e),Ae(Q().optionsService.save())})("ngModelChange",function(r){return Te(e),Ae(Q().optionsService.values.enableReactions=r)}),N(53,"Enable Reactions"),F()()(),Ce(54,"br"),_(55,"mat-card")(56,"mat-card-header")(57,"mat-card-title"),N(58,"Media widgets"),F(),_(59,"mat-card-subtitle"),N(60,"Control how content are rendered"),F()(),_(61,"mat-card-content")(62,"p"),N(63,"Enable this to allow the app to render music widgets when URLs linked to the services is seen in notes."),F(),_(64,"mat-slide-toggle",12),pe("change",function(){return Te(e),Ae(Q().optionsService.save())})("ngModelChange",function(r){return Te(e),Ae(Q().optionsService.values.enableSpotify=r)}),N(65,"Enable Spotify"),F(),_(66,"mat-slide-toggle",12),pe("change",function(){return Te(e),Ae(Q().optionsService.save())})("ngModelChange",function(r){return Te(e),Ae(Q().optionsService.values.enableTidal=r)}),N(67,"Enable Tidal"),F(),_(68,"p")(69,"button",13),pe("click",function(){return Te(e),Ae(Q().openMediaPlayer())}),N(70,"Open Media Player"),F()()()(),Ce(71,"br"),_(72,"mat-card")(73,"mat-card-content")(74,"button",14),pe("click",function(){return Te(e),Ae(Q().registerHandler("web+nostr","nostr"))}),N(75,"Register Protocol Handler"),F(),Ce(76,"br")(77,"br"),_(78,"div",15),N(79,"Click the button to make Blockcore Notes handle links on websites for npub, nevent and nprofile."),F()()()()}if(2&i){const e=Q();E(4),yt(gi(5,17,"Settings.OptionsTitle")),E(3),yt(gi(8,19,"Settings.OptionsDescription")),E(6),yt(gi(14,21,"Settings.DisplayLanguage")),E(2),S("value",e.optionsService.values.language),E(1),S("ngForOf",e.translate.getLangs()),E(3),yt(gi(20,23,"Settings.ChooseMode")),E(2),S("value",e.theme.darkMode),E(1),S("value",!0),E(1),yt(gi(24,25,"Settings.Dark")),E(2),S("value",!1),E(1),yt(gi(27,27,"Settings.Light")),E(11),S("value",e.optionsService.values.mediaService),E(1),S("value","void.cat"),E(2),S("value","nostr.build"),E(12),S("ngModel",e.optionsService.values.enableReactions),E(12),S("ngModel",e.optionsService.values.enableSpotify),E(2),S("ngModel",e.optionsService.values.enableTidal)}}function mce(i,t){1&i&&(_(0,"span"),N(1,"\xa0Data"),F())}function fce(i,t){if(1&i&&(_(0,"mat-icon",3),N(1,"inventory_2"),F(),ee(2,mce,2,0,"span",4),mi(3,"async")),2&i){const e=Q();E(2),S("ngIf",!1===gi(3,1,e.appState.displayLabels$))}}function pce(i,t){if(1&i&&(_(0,"div",20),Ce(1,"br"),N(2,"Private key: "),_(3,"p"),N(4),_(5,"button",21)(6,"mat-icon"),N(7,"content_copy"),F()()(),_(8,"p"),Ce(9,"img",22),F()()),2&i){const e=Q(3);E(4),Gt(" ",e.privateKey,""),E(1),S("cdkCopyToClipboard",e.privateKey),E(4),S("src",e.qrCodePrivateKey,hn)}}function gce(i,t){1&i&&(_(0,"div"),N(1,"Invalid Password"),F())}function _ce(i,t){if(1&i){const e=Je();_(0,"button",23),pe("click",function(){return Te(e),Ae(Q(3).resetPrivateKey())}),N(1,"Hide"),F()}}function bce(i,t){if(1&i){const e=Je();_(0,"mat-card")(1,"mat-card-header")(2,"mat-card-title"),N(3,"Export Private Key"),F(),_(4,"mat-card-subtitle"),N(5,"Keep this private key safe, if you loose it or share it with websites, it can be stolen and misused."),F()(),_(6,"mat-card-content")(7,"button",17),pe("click",function(){return Te(e),Ae(Q(2).exportPrivateKey())}),N(8,"Export Private Key"),F(),ee(9,pce,10,3,"div",18),ee(10,gce,2,0,"div",4),ee(11,_ce,2,0,"button",19),F()()}if(2&i){const e=Q(2);E(9),S("ngIf",!0===e.verifiedWalletPassword),E(1),S("ngIf",!1===e.verifiedWalletPassword),E(1),S("ngIf",!0===e.verifiedWalletPassword)}}function yce(i,t){1&i&&(_(0,"p"),N(1,"All local data cache was cleared."),F())}function vce(i,t){if(1&i){const e=Je();_(0,"div",5),ee(1,bce,12,3,"mat-card",4),Ce(2,"br"),_(3,"p")(4,"button",16),pe("click",function(){return Te(e),Ae(Q().db.clearAndReload())}),N(5,"Wipe Local Database"),F()(),ee(6,yce,2,0,"p",4),F()}if(2&i){const e=Q();E(1),S("ngIf",e.hasPrivateKey),E(5),S("ngIf",e.wiped)}}class F0{constructor(t,e,n,r,a,o,c,h,f,x,P,$,te){this.uploadService=t,this.nostr=e,this.optionsService=n,this.relayService=r,this.dialog=a,this.appState=o,this.profileService=c,this.theme=h,this.db=f,this.snackBar=x,this.dataService=P,this.security=$,this.translate=te,this.wiped=!1,this.wipedNonFollow=!1,this.wipedNotes=!1,this.open=!1,this.hasPrivateKey=!1}toggle(){this.open?(this.open=!1,this.accordion.closeAll()):(this.open=!0,this.accordion.openAll())}openMediaPlayer(){this.optionsService.values.showMediaPlayer=!0}primaryRelay(t){var e=this;return Se(function*(){e.optionsService.values.primaryRelay=t.url,e.optionsService.save()})()}deleteRelays(){var t=this;return Se(function*(){yield t.relayService.deleteRelays([])})()}clearProfileCache(){var t=this;return Se(function*(){t.wipedNonFollow=!0})()}clearNotesCache(){var t=this;return Se(function*(){t.wipedNotes=!0})()}getDefaultRelays(){var t=this;return Se(function*(){yield t.relayService.appendRelays(t.nostr.defaultRelays)})()}getRelays(){var t=this;return Se(function*(){const e=yield t.nostr.relays();yield t.relayService.appendRelays(e)})()}ngOnInit(){this.appState.updateTitle("Settings"),this.appState.showBackButton=!1,this.appState.actions=[{icon:"add_circle",tooltip:"Add Relay",click:()=>{this.addRelay()}}],this.hasPrivateKey=null!=localStorage.getItem("blockcore:notes:nostr:prvkey")}registerHandler(t,e){navigator.registerProtocolHandler(t,`/?${e}=%s`)}addRelay(){var t=this;this.dialog.open(Dp,{data:{read:!0,write:!0},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=Se(function*(r){r&&(-1===r.url.indexOf("://")&&(r.url="wss://"+r.url),yield t.relayService.appendRelay(r.url,r.read,r.write))});return function(r){return n.apply(this,arguments)}}())}resetPrivateKey(){this.privateKey=void 0,this.qrCodePrivateKey=void 0,this.verifiedWalletPassword=void 0}ngOnDestroy(){this.resetPrivateKey()}onLanguageChanged(t){this.appState.setLanguage(this.optionsService.values.language),["ar","fa","he"].includes(this.optionsService.values.language)?(this.appState.documentDirection="rtl",this.optionsService.values.dir="rtl"):(this.appState.documentDirection="ltr",this.optionsService.values.dir="ltr")}exportPrivateKey(){var t=this;return Se(function*(){t.dialog.open(mp,{data:{action:"Unlock Private Key",password:""},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=Se(function*(r){if(!r)return;let a=localStorage.getItem("blockcore:notes:nostr:prvkey");const o=yield t.security.decryptData(a,r.password);if(!o)return t.verifiedWalletPassword=!1,void t.snackBar.open("Unable to decrypt data. Probably wrong password. Try again.","Hide",{duration:3e3,horizontalPosition:"center",verticalPosition:"bottom"});t.verifiedWalletPassword=!0;const c=wa.nsecEncode(o);t.privateKey=c,t.qrCodePrivateKey=yield kp.hz("nostr:"+t.privateKey,{errorCorrectionLevel:"L",margin:2,scale:5})});return function(r){return n.apply(this,arguments)}}())})()}}F0.\u0275fac=function(t){return new(t||F0)(k(Vd),k(El),k(Sr),k(Mo),k(Ia),k(Zi),k(Hn),k(Dl),k(Ra),k(us),k(Ba),k(Qc),k(Zf))},F0.\u0275cmp=qe({type:F0,selectors:[["app-settings"]],viewQuery:function(t,e){if(1&t&&Lt(sc,5),2&t){let n;Ze(n=Xe())&&(e.accordion=n.first)}},decls:8,vars:0,consts:[[1,"full-page"],["mat-tab-label",""],["matTabContent",""],[1,"example-tab-icon"],[4,"ngIf"],[1,"page"],[1,"input-full-width"],[3,"value","selectionChange","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value","selectionChange"],[3,"value"],[3,"value","valueChange"],[1,"options-slider",3,"ngModel","change","ngModelChange"],["mat-button","",3,"click"],["mat-stroked-button","",3,"click"],[1,"dimmed"],["mat-flat-button","","color","warn",3,"click"],["mat-stroked-button","",1,"signup-button",3,"click"],["class","selectable wrap",4,"ngIf"],["class","signup-button","mat-flat-button","","color","warn",3,"click",4,"ngIf"],[1,"selectable","wrap"],["mat-icon-button","",1,"copy-button",3,"cdkCopyToClipboard"],[1,"qr-code",3,"src"],["mat-flat-button","","color","warn",1,"signup-button",3,"click"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"mat-tab-group")(2,"mat-tab"),ee(3,dce,4,3,"ng-template",1),ee(4,hce,80,29,"ng-template",2),F(),_(5,"mat-tab"),ee(6,fce,4,3,"ng-template",1),ee(7,vce,7,2,"ng-template",2),F()()())},dependencies:[vn,ri,Oa,eo,ur,bo,y0,ku,Pa,oc,X_,Z_,Q_,Qn,XD,JD,w0,ew,b0,ua,Ca,eR,Es,BZ],styles:[".example-action-buttons[_ngcontent-%COMP%]{padding-bottom:20px}.example-headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%]{justify-content:space-between;align-items:center}.example-headers-align[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%] + .mat-mdc-form-field[_ngcontent-%COMP%]{margin-left:8px}.online[_ngcontent-%COMP%]{margin-left:.2em;margin-bottom:-.2em}.relay-status-0[_ngcontent-%COMP%]{color:silver}.relay-status-1[_ngcontent-%COMP%]{color:green}.relay-status-2[_ngcontent-%COMP%]{color:orange}.relay-status-3[_ngcontent-%COMP%]{color:red}.relay-status-4[_ngcontent-%COMP%]{color:#3131d2}.relay-read-disabled[_ngcontent-%COMP%]{color:#3131d2!important}.relay-disabled[_ngcontent-%COMP%]{color:#ea8809!important}.primary-relay[_ngcontent-%COMP%]{color:#c603b5}.relay-options[_ngcontent-%COMP%]{margin-top:.4em;margin-bottom:.2em}.settings-action-buttons[_ngcontent-%COMP%]{padding-top:.8em;padding-bottom:1em}.settings-action-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-bottom:1em;margin-right:1em}@media only screen and (max-width: 599px){.settings-action-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%;margin-right:0}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{flex-grow:2!important}.mat-expansion-panel-header-description[_ngcontent-%COMP%]{flex-grow:1!important}}.relay-button[_ngcontent-%COMP%]{margin-top:.8em}.options-slider[_ngcontent-%COMP%]{margin-left:1em}"]});var wce=I(6660),Fce=I(9921);const xce=["Lightbox"];let Cce=(()=>{class i{constructor(){}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=qe({type:i,selectors:[["photo-gallery-lightbox"]],viewQuery:function(e,n){if(1&e&&Lt(xce,7),2&e){let r;Ze(r=Xe())&&(n.element=r.first)}},decls:26,vars:0,consts:[[1,"lightbox-wrapper"],["tabindex","-1","role","dialog","aria-hidden","true",1,"pswp"],["Lightbox",""],[1,"pswp__bg"],[1,"pswp__scroll-wrap"],[1,"pswp__container"],[1,"pswp__item"],[1,"pswp__ui","pswp__ui--hidden"],[1,"pswp__top-bar"],[1,"pswp__counter"],["title","Close (Esc)",1,"pswp__button","pswp__button--close"],["title","Share",1,"pswp__button","pswp__button--share"],["title","Toggle fullscreen",1,"pswp__button","pswp__button--fs"],["title","Zoom in/out",1,"pswp__button","pswp__button--zoom"],[1,"pswp__preloader"],[1,"pswp__preloader__icn"],[1,"pswp__preloader__cut"],[1,"pswp__preloader__donut"],[1,"pswp__share-modal","pswp__share-modal--hidden","pswp__single-tap"],[1,"pswp__share-tooltip"],["title","Previous (arrow left)",1,"pswp__button","pswp__button--arrow--left"],["title","Next (arrow right)",1,"pswp__button","pswp__button--arrow--right"],[1,"pswp__caption"],[1,"pswp__caption__center"]],template:function(e,n){1&e&&(_(0,"div",0)(1,"div",1,2),Ce(3,"div",3),_(4,"div",4)(5,"div",5),Ce(6,"div",6)(7,"div",6)(8,"div",6),F(),_(9,"div",7)(10,"div",8),Ce(11,"div",9)(12,"button",10)(13,"button",11)(14,"button",12)(15,"button",13),_(16,"div",14)(17,"div",15)(18,"div",16),Ce(19,"div",17),F()()()(),_(20,"div",18),Ce(21,"div",19),F(),Ce(22,"button",20)(23,"button",21),_(24,"div",22),Ce(25,"div",23),F()()()()())},styles:['@charset "UTF-8";.lightbox-wrapper[_ngcontent-%COMP%] {position:relative;z-index:20000}.lightbox-wrapper[_ngcontent-%COMP%] .pswp{display:none;position:absolute;width:100%;height:100%;left:0;top:0;overflow:hidden;touch-action:none;z-index:20000;-webkit-text-size-adjust:100%;-webkit-backface-visibility:hidden;outline:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp *{box-sizing:border-box}.lightbox-wrapper[_ngcontent-%COMP%] .pswp img{max-width:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--animate_opacity{opacity:.001;will-change:opacity;transition:opacity .3s cubic-bezier(.4,0,.22,1)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--open{display:block}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--zoom-allowed .pswp__img{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--zoomed-in .pswp__img{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--dragging .pswp__img{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__bg{position:absolute;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.8);opacity:0;transform:translateZ(0);-webkit-backface-visibility:hidden;will-change:opacity}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__scroll-wrap{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__container, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__zoom-wrap{touch-action:none;position:absolute;inset:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__container, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__img{-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-touch-callout:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__zoom-wrap{position:absolute;width:100%;transform-origin:left top;transition:transform .3s cubic-bezier(.4,0,.22,1)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__bg{will-change:opacity;transition:opacity .3s cubic-bezier(.4,0,.22,1)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--animated-in .pswp__bg, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--animated-in .pswp__zoom-wrap{transition:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__container, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__zoom-wrap{-webkit-backface-visibility:hidden}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__item{position:absolute;inset:0;overflow:hidden}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__img{position:absolute;width:auto;height:auto;top:0;left:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__img--placeholder{-webkit-backface-visibility:hidden}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__img--placeholder--blank{background:#333333}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--ie .pswp__img{width:100%!important;height:auto!important;left:0;top:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__error-msg{position:absolute;left:0;top:50%;width:100%;text-align:center;font-size:14px;line-height:16px;margin-top:-8px;color:#ccc}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__error-msg a{color:#ccc;text-decoration:underline}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button{width:44px;height:44px;position:relative;background:none;cursor:pointer;overflow:visible;-webkit-appearance:none;display:block;border:0;padding:0;margin:0;float:right;opacity:.75;transition:opacity .2s;box-shadow:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button:focus, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__button:hover{opacity:1}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button:active{outline:none;opacity:.9}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button::-moz-focus-inner{padding:0;border:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--over-close .pswp__button--close{opacity:1}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--left:before, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--right:before{background:url(default-skin.png) 0 0 no-repeat;background-size:264px 88px;width:44px;height:44px}@media (-webkit-min-device-pixel-ratio: 1.1),(-webkit-min-device-pixel-ratio: 1.09375),(min-resolution: 105dpi),(min-resolution: 1.1dppx){.lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button--arrow--left:before, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button--arrow--right:before{background-image:url(default-skin.svg)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button--arrow--right{background:none}}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--close{background-position:0 -44px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--share{background-position:-44px -44px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--fs{display:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--supports-fs .pswp__button--fs{display:block}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--fs .pswp__button--fs{background-position:-44px 0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--zoom{display:none;background-position:-88px 0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--zoom-allowed .pswp__button--zoom{display:block}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--zoomed-in .pswp__button--zoom{background-position:-132px 0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--touch .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--touch .pswp__button--arrow--right{visibility:hidden}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--right{background:none;top:50%;margin-top:-50px;width:70px;height:100px;position:absolute}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--left{left:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--right{right:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--left:before, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--right:before{content:"";top:35px;background-color:#0000004d;height:30px;width:32px;position:absolute}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--left:before{left:6px;background-position:-138px -44px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--right:before{right:6px;background-position:-94px -44px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__counter, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-modal{-webkit-user-select:none;user-select:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-modal{display:block;background:rgba(0,0,0,.5);width:100%;height:100%;top:0;left:0;padding:10px;position:absolute;z-index:20100;opacity:0;transition:opacity .25s ease-out;-webkit-backface-visibility:hidden;will-change:opacity}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-modal--hidden{display:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-tooltip{z-index:20120;position:absolute;background:#FFF;top:56px;border-radius:2px;display:block;width:auto;right:44px;box-shadow:0 2px 5px #00000040;transform:translateY(6px);transition:transform .25s;-webkit-backface-visibility:hidden;will-change:transform}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-tooltip a{display:block;padding:8px 12px;color:#000;text-decoration:none;font-size:14px;line-height:18px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-tooltip a:hover{text-decoration:none;color:#000}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-tooltip a:first-child{border-radius:2px 2px 0 0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-tooltip a:last-child{border-radius:0 0 2px 2px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-modal--fade-in{opacity:1}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-modal--fade-in .pswp__share-tooltip{transform:translateY(0)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--touch .pswp__share-tooltip a{padding:16px 12px}.lightbox-wrapper[_ngcontent-%COMP%] a.pswp__share--facebook:before{content:"";display:block;width:0;height:0;position:absolute;top:-12px;right:15px;border:6px solid rgba(0,0,0,0);border-bottom-color:#fff;-webkit-pointer-events:none;-moz-pointer-events:none;pointer-events:none}.lightbox-wrapper[_ngcontent-%COMP%] a.pswp__share--facebook:hover{background:#3E5C9A;color:#fff}.lightbox-wrapper[_ngcontent-%COMP%] a.pswp__share--facebook:hover:before{border-bottom-color:#3e5c9a}.lightbox-wrapper[_ngcontent-%COMP%] a.pswp__share--twitter:hover{background:#55ACEE;color:#fff}.lightbox-wrapper[_ngcontent-%COMP%] a.pswp__share--pinterest:hover{background:#CCC;color:#ce272d}.lightbox-wrapper[_ngcontent-%COMP%] a.pswp__share--download:hover{background:#DDD}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__counter{position:absolute;left:0;top:0;height:44px;font-size:13px;line-height:44px;color:#fff;opacity:.75;padding:0 10px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption{position:absolute;left:0;bottom:0;width:100%;min-height:44px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption small{font-size:11px;color:#bbb}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption__center{text-align:left;max-width:420px;margin:0 auto;font-size:13px;padding:10px;line-height:20px;color:#ccc}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption--empty{display:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption--fake{visibility:hidden}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__preloader{width:44px;height:44px;position:absolute;top:0;left:50%;margin-left:-22px;opacity:0;transition:opacity .25s ease-out;will-change:opacity;direction:ltr}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__preloader__icn{width:20px;height:20px;margin:12px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__preloader--active{opacity:1}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__preloader--active .pswp__preloader__icn{background:url(preloader.gif) 0 0 no-repeat}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--css_animation .pswp__preloader--active{opacity:1}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--css_animation .pswp__preloader--active .pswp__preloader__icn{animation:_ngcontent-%COMP%_clockwise .5s linear infinite}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--css_animation .pswp__preloader--active .pswp__preloader__donut{animation:_ngcontent-%COMP%_donut-rotate 1s cubic-bezier(.4,0,.22,1) infinite}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--css_animation .pswp__preloader__icn{background:none;opacity:.75;width:14px;height:14px;position:absolute;left:15px;top:15px;margin:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--css_animation .pswp__preloader__cut{position:relative;width:7px;height:14px;overflow:hidden}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--css_animation .pswp__preloader__donut{box-sizing:border-box;width:14px;height:14px;border:2px solid #FFF;border-radius:50%;border-left-color:transparent;border-bottom-color:transparent;position:absolute;top:0;left:0;background:none;margin:0}@media screen and (max-width: 1024px){.lightbox-wrapper[_ngcontent-%COMP%] .pswp__preloader{position:relative;left:auto;top:auto;margin:0;float:right}}@keyframes _ngcontent-%COMP%_clockwise{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_donut-rotate{0%{transform:rotate(0)}50%{transform:rotate(-140deg)}to{transform:rotate(0)}}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui{-webkit-font-smoothing:auto;visibility:visible;opacity:1;z-index:20050}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__top-bar{position:absolute;left:0;top:0;height:44px;width:100%}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__top-bar, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--has_mouse .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--has_mouse .pswp__button--arrow--right{-webkit-backface-visibility:hidden;will-change:opacity;transition:opacity .3s cubic-bezier(.4,0,.22,1)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--has_mouse .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--has_mouse .pswp__button--arrow--right{visibility:visible}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__top-bar, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption{background-color:#00000080}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--fit .pswp__top-bar, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--fit .pswp__caption{background-color:#0000004d}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--idle .pswp__top-bar{opacity:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--idle .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--idle .pswp__button--arrow--right{opacity:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--hidden .pswp__top-bar, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--hidden .pswp__caption, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--hidden .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--hidden .pswp__button--arrow--right{opacity:.001}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--one-slide .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--one-slide .pswp__button--arrow--right, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--one-slide .pswp__counter{display:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__element--disabled{display:none!important}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--minimal--dark .pswp__top-bar{background:none}@media (-webkit-min-device-pixel-ratio: 1.1),(-webkit-min-device-pixel-ratio: 1.09375),(min-resolution: 105dpi),(min-resolution: 1.1dppx){.lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button--arrow--left:before, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button--arrow--right:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjY0IiBoZWlnaHQ9Ijg4IiB2aWV3Qm94PSIwIDAgMjY0IDg4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjx0aXRsZT5kZWZhdWx0LXNraW4gMjwvdGl0bGU+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Zz48cGF0aCBkPSJNNjcuMDAyIDU5LjV2My43NjhjLTYuMzA3Ljg0LTkuMTg0IDUuNzUtMTAuMDAyIDkuNzMyIDIuMjItMi44MyA1LjU2NC01LjA5OCAxMC4wMDItNS4wOThWNzEuNUw3MyA2NS41ODUgNjcuMDAyIDU5LjV6IiBpZD0iU2hhcGUiIGZpbGw9IiNmZmYiLz48ZyBmaWxsPSIjZmZmIj48cGF0aCBkPSJNMTMgMjl2LTVoMnYzaDN2MmgtNXpNMTMgMTVoNXYyaC0zdjNoLTJ2LTV6TTMxIDE1djVoLTJ2LTNoLTN2LTJoNXpNMzEgMjloLTV2LTJoM3YtM2gydjV6IiBpZD0iU2hhcGUiLz48L2c+PGcgZmlsbD0iI2ZmZiI+PHBhdGggZD0iTTYyIDI0djVoLTJ2LTNoLTN2LTJoNXpNNjIgMjBoLTV2LTJoM3YtM2gydjV6TTcwIDIwdi01aDJ2M2gzdjJoLTV6TTcwIDI0aDV2MmgtM3YzaC0ydi01eiIvPjwvZz48cGF0aCBkPSJNMjAuNTg2IDY2bC01LjY1Ni01LjY1NiAxLjQxNC0xLjQxNEwyMiA2NC41ODZsNS42NTYtNS42NTYgMS40MTQgMS40MTRMMjMuNDE0IDY2bDUuNjU2IDUuNjU2LTEuNDE0IDEuNDE0TDIyIDY3LjQxNGwtNS42NTYgNS42NTYtMS40MTQtMS40MTRMMjAuNTg2IDY2eiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0xMTEuNzg1IDY1LjAzTDExMCA2My41bDMtMy41aC0xMHYtMmgxMGwtMy0zLjUgMS43ODUtMS40NjhMMTE3IDU5bC01LjIxNSA2LjAzeiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0xNTIuMjE1IDY1LjAzTDE1NCA2My41bC0zLTMuNWgxMHYtMmgtMTBsMy0zLjUtMS43ODUtMS40NjhMMTQ3IDU5bDUuMjE1IDYuMDN6IiBmaWxsPSIjZmZmIi8+PGc+PHBhdGggaWQ9IlJlY3RhbmdsZS0xMSIgZmlsbD0iI2ZmZiIgZD0iTTE2MC45NTcgMjguNTQzbC0zLjI1LTMuMjUtMS40MTMgMS40MTQgMy4yNSAzLjI1eiIvPjxwYXRoIGQ9Ik0xNTIuNSAyN2MzLjAzOCAwIDUuNS0yLjQ2MiA1LjUtNS41cy0yLjQ2Mi01LjUtNS41LTUuNS01LjUgMi40NjItNS41IDUuNSAyLjQ2MiA1LjUgNS41IDUuNXoiIGlkPSJPdmFsLTEiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTUwIDIxaDV2MWgtNXoiLz48L2c+PGc+PHBhdGggZD0iTTExNi45NTcgMjguNTQzbC0xLjQxNCAxLjQxNC0zLjI1LTMuMjUgMS40MTQtMS40MTQgMy4yNSAzLjI1eiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0xMDguNSAyN2MzLjAzOCAwIDUuNS0yLjQ2MiA1LjUtNS41cy0yLjQ2Mi01LjUtNS41LTUuNS01LjUgMi40NjItNS41IDUuNSAyLjQ2MiA1LjUgNS41IDUuNXoiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTA2IDIxaDV2MWgtNXoiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTA5LjA0MyAxOS4wMDhsLS4wODUgNS0xLS4wMTcuMDg1LTV6Ii8+PC9nPjwvZz48L2c+PC9zdmc+)}}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__img--placeholder{align-items:center;display:flex;justify-content:center}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__img--placeholder:after{background:url(data:image/gif;base64,R0lGODlhQABAAPcbADc3N5CQkJOTk5GRkVxcXIODgz8/P5eXl2xsbHx8fENDQ5aWlnp6epSUlIeHhzo6OldXV3FxcURERIWFhZKSkkFBQWpqamNjY2BgYISEhGVlZTQ0NIaGhkhISJubm35+fpycnImJiX9/f5qamnJyclVVVZ+fn52dnYKCgkJCQp6enkVFRWlpaT4+PkZGRl1dXW1tbYCAgF9fX4+Pj1ZWVo6OjkdHR3Z2dkBAQElJSTg4OGRkZIiIiGFhYXt7e1RUVGZmZoqKiltbW1NTU3h4eFJSUjY2NouLi25ubpWVlZmZmUtLS2dnZ29vb2trazU1NV5eXnNzc3BwcGhoaKOjo6GhoaSkpHR0dKCgoFpaWoGBgaenpzk5OU9PTzs7O0pKSpiYmI2NjXl5eUxMTHd3d1lZWXV1dT09PVBQUFFRUX19fVhYWE1NTU5OTjw8PGJiYoyMjKKioqurq6ioqKysrLKysq+vr7GxsbCwsK2tra6urqmpqaqqqrW1tbS0tLOzs6Wlpaampre3t7m5uba2tru7u7i4uL29vb+/v8HBwcPDw7y8vLq6us7OzsfHx8zMzMjIyM3NzcvLy8TExMXFxdHR0c/Pz8bGxsDAwNPT09TU1NLS0sLCwtfX18rKyt7e3tzc3Nra2tnZ2djY2Nvb2+Hh4dbW1uPj4+Li4t3d3efn5+vr6+zs7L6+vsnJyeTk5N/f39XV1eDg4Orq6ubm5u/v7+3t7dDQ0Ojo6PDw8Pn5+fb29vX19e7u7vLy8v39/fT09Pf39/j4+OXl5QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hlPcHRpbWl6ZWQgdXNpbmcgZXpnaWYuY29tACH5BAkFABsALAAAAABAAEAAAAf/gBuCg4SFhoeIiYqLjI2Oj5CRkpOUlZaXmJmam5ydnp+goaKjpKWmp6ipqpZcFTmvD6uLrTcNSre4DTcQXLKEXhZJC2K8BkYAxhC1urGyGrYyOoo6MgICF6oADAdIvY1cSNxGp14O15Jd1l6lTxNHOJQKRwXro2QDBqznohAHOZhj/IXS5kSTkxoAQDHBp0nHvk7tsG2q9indE04RPUVgoLGJpwEEOkIE88XTEpIYUY7Mt0mCypT/Wr6UGbPhTJsscZoE8xGDyE4IEvzkZBHmTihEk1zUOGNcpowVH17aQcFbVBsAF4QUlSBAzknyOI7S9i7egAxOx2aQ6igdPXK1QZrUYwRMnCoaYa5JS0TNGg1fRp4No2HDGLLCYhYw8zWIlq1ct3ZZZVyoFazJlDNr3sy5s+fPoEOLHk26tOnTmgMBACH5BAkFAAIALA4ADgAkACQAAAj/AAUIHEhQoAIoRGI4qMFQCxkoCgpKnEgQQoYBDpgQ+MGmDUcmCwtAoEhSQAeHGku6mDJDRIeSBS+0dANzYAsYLWsCIANnSU2JS+CYAUByp4MUPycqWEh0Is8zSSm2CEHG6dGoRWswKXgyDVaVA7wO/EDiK8woH2yGNQsWjUAxMNieJWJyRg65bYfAwZs3Ct+SN4BE2fFTwZ9Vq/5ErCnYx4ufd1gdOcJKz0+EE2j8pLVAoJJTlwtwGFlTVWcBC16FVoMB8iqqlVdPKXx4Fp7Fc534+EvS8Rq7vIEGQPNgeHCuwOEeJ0jW4NrlNp4LUL48YUXpf39gnw48+/a3PFrwNZ1aVelTuS6CxGhqvqdZ7WTY956ZFAfarfVRdpTKhiWKL+9d1BIMEKWBWQAYrTHegQ3pV1NAACH5BAkFAAEALA0ADQAmACYAAAj/AAMIHEiQIIAcXUoIWZgQQMGHECF6KUPCQYgCashoxIhxjZeIIAcagcIhg5MuRh4etJCBw4uUIVWiQFHmScwATyjSvClww5sQL3mKfMHjzU0uNyZ8ESrTjA6QPpUylRjDDEgnHHBMjeilKsQsQLdCDWuwqNiQTHicIThF6lmuE5iINPv2Koq1AUhuqDsWikCNfNHewEn26BqPQrvczeEAZswbuXRJjsDTSOMiDHhKWSXChQsRnDWnEWL1ZuiBE2aJ/nlUVxe2rm+SOCyl9euBRWI/fkOaZ6gJBFOv1qKZswQboDUMf1Bccq7BR4N8Qbq08mGHPIdo4ZKXRWC7Ail+YI9osifd8bjd5lWL3jyBsi/ar7fJtjF65NULyihg4DuOuHa5wFcKXvW1xFttlPRUSFGx8BFTEwG1V3YXEUAfg0SdlxgLFaKkUkItOYigThd9sBFHLCDmH0IKMdQBdjcFBAAh+QQJBQABACwMAAwAKAAoAAAI/wADCBxIsGCAJ1wMrFiY0KDDhw8TSilAsWLFH1wgaixogIWWKARs4PCCkKQNAlE+GtgI0csOlSzPvIHJkmDHJjhqDsTRREQHnQFoaIEAlOPQmj3U2Chq0MYHDBshHGXa9GnLqVSr/tSa9SqAql01wpBhdGXYiFiD7jgr1snOAgrYehX4Q03RLl2KJhhC90JNHQtO7Rq8QAdSFgIZ8N3oRRQqGBUUwHhl6kFMIom/sNzySoJNWlQuH4TLmFcUg2Z4fdWYAq5kw2J3mf1MlLVr0rFn75TN+LZuhwBMo1bdmyRujZw97wYkOoDimKReQZZM2QtLqZn/Gho82NDvhzJg9GwF2hHCd4g+fvSNKxe4z4FO/LZH7fZtzvn2C3rED38KV/wloHCeUEu159RiDjHxQQtyHRiVUmc5eFkaXdVFoU4HnncVhHe91MMZE15gWVY3NRHSSCWNhFIMHzbYQXgJWBSjDB08wd9OKURGVUAAIfkECQUAAQAsDAAMACgAKAAACP8AAwgcSJCgAgJOmlwRw1ChEAUFI0qUyKVMFIY00iyxwVEjEwZRynCZSHIgAIs7cjwpaSTHDiIiS1IkAwOiTIMOb5pkUETnzJ4318D0OdHG0JIQzBggSrKC0qY8mbIUk+OnVJlJbUSMUOZqUCkFuzDwqpNEl500yH5dGqCNGbVl2wgEUsLnSS0iIBjxmbFt1KCffJEaTEqGTqdP2Ly9GaSXiiVzVdRyEFcIWKy1DIfNvFZzU1IeJkoeibSHhTWYIVP0xQIrC64y1dAqOUuMa9glo8yiHeE2hNRFfakmieE0lJuUQks8cakz4BdbbZ11LbZsbYIiVlFm3EWHjxTWaVl1Gv/pwuHvARCgPiw0797zc2+8h1v0r5Gj9CVmRZs/IgD8AWwQUn9hRbFBgUAR+ANVVvUnwV/6PUVfCgyWNpxXY0BoIVlZACjTfxWyZ4aBUrUUQUguHEiRC5ZxtRKHpsGUkUpDvPARTVo5yEaLNMGQ0hcq3hQQACH5BAkFAAEALAsACwAqACoAAAj/AAMIHEiwoEAdODqkQaNQh8GHECNyWSIESRSLQDJiFLKES8SPBR8QuNKkTAqIKco0IekRJMohJFjYcHmQRYQhG2gSdOMEwRKdO2FY8AJ0xU0jQEO+keKCZhGSSVFeSQPyy9SoEq9KpYH1Iw0SOB6KLNO1KlODGJoAKPsRwNmgVNl61SowrVyXPQdyoevyyRCcRbV2uaKzySVVrBJPQlK4TV0IfQmx2qLWBostk0+aDWAkSlOQhkzJQNtJUF/PKfg+VLOK7EMIq8SYrWDZZaQTH088wmuDDYyqrb2uegASyRiYwIlLZAVlNpDkbYPP9Q09Io3hxY+zsL0l9ybeFVQbk4zBHGXs2U882xZNutDpJwEuQK4qmbICy5gJaZ5bs/DhxKos1lhNKxT1F3w6GUXUY3dtppd4DRJYkF0RoiWEQW7NV+Fja2EIIVuDhbVVhW2oN12DEHyo1AVIddUZWIGZmNQYFhkQVYZD5VSVZaiV5QUUJPXQRUI7JdRDTC8sKNePGgXJhBROArYhZyvkwMaBByYVEAAh+QQJBQABACwKAAoALAAsAAAI/wADCBxIsGBBAAZaADDIsKHDg0uyXHACo6JFiW4eajRoZAgTBDKWuPGiY4NJkhErDnmyUWPKNjo26mgzZcqSlgy9TISJU+ATmhce9PRpgYCRoQQ7ssDRswNIpAwhOOnQ0gaMLlAbdrnqcmpWh2m8amUh5OtDAjbHCjXb8GeWnAgysnX4JK7BHRDmdj24tGmaNAtxAhArEG/VGo9eqVr8qMaGqhcGPujrclGqIxoqKNhxJBWjFDK5BogY86GBWH9WcBSkyUBXqqPfauwz6KEgPRuFlA3ApI1GM6AkmP5kZm/s2Vg2YsG014jotqeK/0b1WqeX4WNyq8pO9yqX51G3a6znrpY3F43EtRvvjVz5ovU3z8ZyTTeWE/jube/JvYaozEyCqHYQa/SdZQNR57lkBSiYJaRBZ1a0ENpRhR3YkgZ7dMLYHpFBllRafg3lVkET6WUgR4SZ+CFsJGLwmIqS9SBDeTBWeB2NKoZVwWs5ptidECyZVZePptW0FlSTgejXVEdCxmRWJhUVUpBtWWVkaV+5pdIYK5xhxJddSrQljCOJeZGUItWYU0KBQRUQACH5BAkFAAEALAoACgAsACwAAAj/AAMIHEiwoMAzEpaggcBQ4RmDECNK9KJwB5MLBGh02ZjxYkOJIAvqGAKkxxAXACKOJFkyZUiVHFe8JOjijcUnM2lCuZlTp4YeOnoawOilJ0SKF1rMXNHSKEwNMkG2gOo05MKoRzFWffnRININW61mxCkSaFiuGctiPSuV6kCSbHPufItBgdwCeypZ2lOgRE4FQLgc1LAU0KgtQRDACDLnsISZNgW+KPKSRChGNrwaCkUCbQAATFJYBUUB7FEKoLqINcI0pJFEhl4uSmT6qcLRmUf3EJsGQkg4gHICOsJ7SEhCWnLiLS71ExS5pIy0TTuxlAzoLm0fF6F8EnOQw4XHpfkucYKo3M25g3yTYyhZlZ9iH7dkoG39HXbXfyqtErXftoNVBoohHWgGyhWefUYZV5gclthiW5CCSRuQ5WZEUksd8UkpHHIYhHRoKRVgXAkOJiKJ/Z1oIopZfQGREDK8x6KCQjw1I13ZeaXVjFeRd9YGGj0WYo5VgYbhX0RtBWSSRi0ZWpMYMFkkSxtN11RcSFnUEBtt9EZlEUXdCEB7MW1ZX08BAQAh+QQJBQABACwJAAkALgAuAAAI/wADCBxIsKBBI24SGlzIsOFCHS6GlIEio6JFiQAcamSIEMJFA142PAkZ0qNHIxs3dsSoMgXGJyk5CvEYk6CBNTNr2oSyQudBiTpX+nyYZQjKlkaHysyS0eEGmkodpoGwQSrVqE6hEm2BVSOAnD8rdFUp44HBIjTGpiyRpuBNLymNMHHAR5IkPg52VCULd2CXLmsFjWK0oEmTBYxE+bGxFrBfNxujZNLT4azgKGQfR7YEwyGSW5g1EjAg8K/oTEw2M7ZamrRDPypibqnjVUiAr2YbpvEEOfCQrA+8lPW8QGdh4C1kaFShxTgI5C80UkKiMwIn0ThwRH99o/ol7G6GN7bcUrwmYui5GdLVKWgC8ADiGU4J1XYt/aytnR4yJBtRU5n5SeVJaJ7FsgR2ARbYg4K1uQafgw19NsB/fgkAWmZ+lRGYIiAUwAQLBYAwCWWN7dSXSlGo4MolHR7YGA5uaagWgjGmN2NYW92Io0x76XibVvLV5yNafA15FV89YoUbhRtNdaJSwqEB5UlDCRVVlDYwqZsNLyQ1VpRlVUBSayWZ9KRaEKGFwZpstrkChD6SSRIAMA0VEAAh+QQJBQACACwJAAkALgAuAAAI/wAFCBxIsKBALyu+tBkCoeHChAYjSpwowMASGmvSXFTQoqMNjhkvUhxZEAfDjxsoPvHYkKTKky5LYjQQU6aLmgY3uMiIUycENzglummYkqSRIiW4BJ3IJakRkkgBLH1ZZCQbGlKnUmXKU6vVljnLVPDqUkFXgmPakI250CZbIjOsxAlghg3bpGi/lCWkqVIfCg36bNJESEjZIQM9Wk1CWGxevhSycgVaUa3KP40YMGXQ6I9koXorj/RgaQxUSx6+Vn5CUYMmMzGJvKYKkWkiOTjtLGI9eUnr2TV7aFpDm2KITF56Agf90bigpYNMFJ9oh8LSwNMlVr+eJ3tEE92D6qdR4d3gceiae/+2oZy4etvWazLmLZHoz98a2C6POHTsfeOlnZbaSwexd1kkV/zmmWqrLdZYTnIQltxWBRrF2WCBwBEXIpkgQsRTDBao1F50lFiiYYfRlNdah4U1FouT8XcWjHkZGBFRNNb41WcsAiBEGkZpRFmPOKZIpGk9iTXiUg8oOVWTISU5E1kWhcSjTWldqVV/SDnFEkhddDBkjquF6dBDDwQVEAAh+QQJBQABACwIAAgAMAAwAAAI/wADCBxIsCDBDQAenKnAUKHBhxAjGtTRcIjFMRgvLmEosWNEBV3SbPQCYCLJkBY9qgyAA+VKgSdxvHxoJOPMgy5vssypE+aXkDdbFFHQkybQlSANFIXoRqTKljqWfnQqkSJRqVOvGpWJtSoarhPHdPVoY4nRl09+Elk75MnLowThVvUAqdGjP4Qe2fXg4mmbgi1V3qgbpQQXn1Hy3vAbFyzTOZImlKQ54W6Fji7YDEzr9mOdQUXIFqoTNavPjnS7II2MWfNOiTQaqZkZoxENr6cjbrGzYeaTz7jTVo2EQCeCSG5gIwwd8bjYoLaVN5XoAFJv6BOk/9W9pSifGdqpd7/vOedI+OaOikLKnnU7xDfRsWdN2JmmpB3GJT2Y31Z8UDkH4PbaR7LRhpyAIKEGiWpPNRKgcj5N9hhoopHmlYRfYfaZZEwVYFlrOJFF1x+uxYXXAYeB2FiDklAyCIAvRjYEY4Bl+JQZMeSYo2MXnjWWgGEp9eNWpg2Jk1ZMDWVkhH55YaQXSiLVhpNjQSnkWzZKVdZ+Ogk1ZVEGhCRhT1C14BtPWIXJRg4pkBQkm18uyUWbQ2mEkkZLblXRGUUFBAAh+QQJBQACACwIAAgAMAAwAAAI/wAFCBxIsODABwYUrOiwpOHChAYjSpwo8EmLhw4VJtyY8QnFjwU34Mj4UaTGkSBLakwZ8ktDlgYtuoQZ8SJDmgJ0uNyAs6aLlyy9AO0pcSVIoQaIqvSyVOnRoTFnOn2a1OfUoDZ8AoA5BMiNK0yGcIWak2xRDowcMZrDJy0jDlmpEqxgNuSCSTVkMD0oIwDeFk0r1p1bx0rcolbuVAgMkaICQgu2lrx7RqVgx4FOcFVBhefEi2VxUPxg5wFNHXfUOOaIuURPCJxSrEY5MYYHpSA+zBY9kZAFpTDs7P7sqOrr4p8f1j40FRGT5IMFNOnTHAb0vREtGKp+fSKBS9yL2qIYT3yM0jbIxQulaOcGcD3DlxPdUIdD/KKXLhz/spu3xCCKnZbaapd9xsdtQWXGBYFllQSZZJj94Z94gmGHWGcRVsZggY7dgEheFp7Rl3Oebchhh26x5RZcKa3XEk1dfRXWWBq+eNVT6t04G3Q6ahVYjxW2uBCQodHo0VVGMAQhVtEJ+dN5yuGEEZIj7bTURkDq1JGWCJ1x0kglEhkaRh31FBAAIfkECQUAAQAsBwAHADIAMgAACP8AAwgcSLBgwQ1PdHBxw1ChwYcQI0IEcEaBjYsSUlh0gbGixI8SE3LcqMOgSJJPQKoMgHDkhpUtOa4MucLizIMbbxKMqfPhg4w9Rfak+RIm0KFEjSIFmVClzaVMU3w0oACq0ok1Z57UqPUpTi9OkYw4hKhs2RFIzjjlipNpBEEmGJTJsbADAQYmCEUwEvXrVCp2ekjsUYdKi6kyB1L96wEsYxuIdzqeaIdHUbd23NBU7CIk4MthTfCNyBbh4MxB60TZzFIzZQtInfgBQLpz64hMDI1OzaR26wcRB8CBWmNG7ZYSA0MlTNS1T0QSoLpA1Jw0dOnXsXqp+hp7dO0rrLe58X68Q3Inyw81TwlRhfGlwo/fhoiEENRBCHzPfw57qOzJJoW330NRzMYbaxR5NgNoTCkhGmsDmoSIZTAFkYdzPnEh2WMNogahQImRBlgUtPlUoGGRtTXVW3ARQNdPUMBhiCAW7KafiiuikJdZcWmgVl8Z2hiVeTcZEWKAVg2ZYpJYKclkgAxq96Rk7BlVpVVCBZUVlgwtdRJSdZUoXU1XDlkmlx39SCWZGE75W5ooZSSVm+VR1CVSAQEAIfkECQUAAQAsBwAHADIAMgAACP8AAwgcSLAgQQAPvJwxgKPhwoQGI0qceDBhBYcWM17ESLFjxCcPIXY0otGjSYULTRYE2VClRJYAXH5kaETmQIQ6bE5EaZNLS507f55kCHQkUY8+NxRFejQol6VDY74UCtXo05lDfYwI1OdPICU+hjwZinUkEDqDTJABUoYAEDIm0gJRatQgwpFU6oR9qTWQgroV8YZ5gDSMHBeABVK1aweFzAl2JFBUeNPA5Dk8dDoARDioYssTN4/tCYLD5DOfdxL6C1SBoDGe74YWATUGiNM+VbMuKmFQF6eoJZqJUzUAFRLAZxffnFziCTPLTTSPqGdH8bPTDVa/nid7wThNuHusJ5iEgfiplIUfiD7+5mqoKXy3H6i2dpXTAVJKLPO+9WvP+YHmHAijyfTECSfgF+BlDmimh2QALqiaYy5BBuFUgTHY2WSG7YZhZTiMBNleH/UllVMrncigWlO09VZccCDGVFlMJZCEHXQ0EJaKCtq1WHEz1YQekCjiRqSPV1l1JIgu4bSkDiI1+SNv+vVEE3wWYdkCj1ElWVVJVuW2ZIAhabQBSg+NGWSZVdoUEAAh+QQJBQAGACwGAAYANAA0AAAH/4AGgoOEhYaDG0+Kh4yNjo1GOg9elG6WlZKPmpoAk5hPhIqdmJuliKSbopSmj5GrrKevsKGys7G2BoleuIyVsKK8kLWtlsGOkqCcw8aGo8rMz8e7qS9EWjVhKGYv09GHnZtdAnd6AxnWBRR6dwJdqQC9Rq0FdQ5r8oUAZUH1Z8Tf3XpRAdOG0wgqBaU1w8fojR0HDOfZwaCQ1jE8RGYRwYOmoqBliOTwwHVkTgVhoRwJWBCRFYCDx041GnKnQ7AOddzF+wiPkYMjzLChzNUyJAFmL/IU5cn0UBaOzB7U3Em04QloBkyQ2JmokZoZWM0JW+RTS1gOYwMW+nk2rVeg0K/gMEDp5m1bgE0NPV36K89RvFW/0fl7UylVkIKCCAjqYGgxqzpxlck5NJfKKmpNSc1QObBgMCQRdu4686HGiR7zOn3Itxk/ip1Vf054UQ+NfwtbUal3r9k+3rgXbtBEoAE5c2bQrWunrCdgTtWuZduWmWpsrPla38Iu/J1z7kSTeQcf/lck7r5seYqKWHP6Wa6+3/T0oJSq6sboc3EWa/8l8v2dIeCABKICYDztmRIIACH5BAkFAAQALAYABgA0ADQAAAf/gASCg4SFhhuIRoqLG4aOj5CQTwA6lJaTl5SRm5yYmpuejZyjgomipKWWqJGqq4WJrq+fsYezq5O0oE+utrmPvawAvqPAjorDpMWEuMkQGE4WzzioygSwoDthfFsnARQec3xhF1ydwr9G2FQDTjmHTt9SXrrG55Bo60OcJUlUbfSyImHYI2YVmTkYggW8RzAWAjlQFA6qxqYhLSn+JNmzJsmEg2EOVKT7NXFjIYzlfHGJ00Rjql9bdiAjoGGLAXSlIEVRckrlgQiSrJkk9HOmIBYLNDI7BNGoNTk36y09yafnsCdNpY40dMGEU0FV3qA75giGgK8EGjgZu5UqWgFrsLU+enPibUK5ZbfYZQvzi9MvUPk+Uuu0yVmcVglF8JA4lpETLUkKhXl32I45UWu9nMv4qkeXOWGKAGklpbFluzjHdbhHH86SArNSuyK73kLOR9wk01bZ9m3cPfZ1+yfxt7EE4tq9i3cGoG9WDE7I4eYN3HQG7joV3+cMmgwI05I1Ro32tfPym4kN/bs+mA60mGgtYp9afqtcl2Z6chz/ayZz95UXyoCZkIVeLQS2N0ogACH5BAkFAAsALAYABgA0ADQAAAf/gAuCg4SFhoIbiYobh42Oj4aLjZKQlY6KloOYmZaJnIeen5Oik4ykmqanoKmfoaqloq6vsJmss4+2tJ0pY0u8nLKrlRttZkpWyMlKZm25kc6I0IQ/Ah4JMr5GADhLMh8gAT/D0E+QKTwnQNILT0AqHDjmwo5FJyhutQUgXbi56xdUrpAy1gNXoX8BVVmgIu4SoXKTTBCZ5cPECoeaHM2AN2tDiBkY2dGrYuAWuzhlMEKMdCCKSUHGyCFqRIPhy5MNI7GDZuymIAoCQYls1NLnAiQCLpGz6bOmEV0Hmd5cIvXgUgVGDVR9eDXrVlQRsTb9Gk1jzpdfqCg1a3RhyEMInI4YPYJg1FBDbcie8qLX1EpDA+q+RKpyZAuTOFCGlHaEx19STz6+fTztHUUVYoWCpYmFiUK9Ow8+AmhmIOi7mzkXqJBvXz/NI6uIyTFaTJwDLuTZvQSQyrI3Xby46XKhou8LAHRDnVTsmDJkzNaVNQiM15dftaTPNAp7HPfU2b8/0T5vKvnlr4LtPY++o/p+7CFvejb+u9JFlE4FAgAh+QQJBQAUACwPAA8AIgAiAAAH/4AUgoOEFF5CPjwBSmCLPkIPhZKTgh0iHgdmPWVoaZxmB5gdlJQKCSAiJUalNJePpIRsmTawsR8HXbVlHk21k0i8pBCovpRMIGuTXyNOxcIjo7YJzrCJBoRqSVzUpA9J05XI3LAy4hQkR+OwG0ckhg0E6uQN717y3chSE/fVTQUR/J4FYRLQWIgBMgr+mlEjocJC5SZMeQjxH0CKg6IwOIYxY5Nl9jB6EYero5AFghA46Oig17sfFFuFPHdkg0J2zQYBCBNFoUYAhRSU5DcFzMxY5tSpTGZQDVBqO5MwFQjB2TB4xQ6JOsNK0UduEi6hIgHkRwkgN46AEHXv0KlFjQUUQaoVCAAh+QQJBQAIACwOAA4AJAAkAAAI/wARCBxIkGCOImUwKERYsKFDhwhrNJjhQIRFiWGkpHnIcaANFAJ8CPHS0IsQHyFddCzZJOVKBBWuuHwZs4CNlwYLOFDZscxMnB7JCFjDkU1IoA+ZDIVIESnHKDMqNAS5wenDJxYLQqBgwGrRpQIBHLHgtWcQIwJLRC37tYTAK03YmoUZYIjcr09WCNBx9+rQNDyQHkQaAg2BGEAP/Pq1IPFJIjjb/NLA5NcSnAyATGEQefIOy5iZyCiQeHEDx1sF30TdgGTfkq0fgH2dkwsCIlFoF4SbdoBr3V4aEKXrRHfvJx73Ap/9dufrDR9QwCbxmsTa6Xc1MNf6U/X1r84Fayn53jF4jSlnaCoNH/lFiPMjWaLk8QKt1Q1DImCseHFihI3PIbQQQzgFBAAh+QQJBQABACwNAA0AJgAmAAAI/wADCBxIsOAGLjhsuKjwYEPBhxAjBqhA4AacMBgzXsxSQaLHgRXIYGTBRoGbJ0ZOtmHBAWPHjw91MLn4BeYSMUeY6IAJEoWaMTx7okjBs0sQEk+CEjQSJUiXj2jCaFAKEYhUiQqOUo04UwJELxmubJVo8cHDJjEAjI0IQEQTg1fXsg2jgKBIuR4t9kSDFytdgRCc9p0LQWCUt4O5RjBcJGgRBw4aFy0wEc7Lj0eEvaIl7MjkynWh7rJgONgPm3Rt/MUciWAjAahNrvZ4QJJrJbFDhs4rTAbg3rln8/bkCdiMyQ55lHHMI4Nk1IYXJ66KOLDD6UsFg8ae/TJa7gO/704F/+VIi4JdsT8oACRmDDHTNzBI+1V5Yif2CeOVL5w6GbVbydTfXOxRNURYXjk2EwNLoObTTgGKJFVJKqnE0oR9UWSRRhpxRF5CC5mlVEAAIfkECQUAAQAsDQANACYAJgAACP8AAwgcSHBgCyEkyKgpwJAICSFnCkqcWHDDkCgTzEChgebLko5QzGQcsoGiyQAA1nxIwPGkFwgJ1EAwcrLiwhdPahp8wRCHTpQoyET8SfCMQhs10WRwQpOozQxdTK4o0MOpyTcFXEw0CsPqSSdQJWIc6nWrwoJtwpaVOqGNQZlrk/rIGQChjrguUWQRKGIHXrlA3f5lawAm0RQgChUCkeLnBr07fPz8gQoUIECPUA35+RAGE51cPuUBMFBKKi46mSDQqDPIqQcFGwVJfQVuTUFyJO7pQ5ulTty6ecv1XdM1bIKVZg//nDSVHdJ8P6FePtmU5UCVMqHhvKOEZMdR7Nh0iVKSu5e2gwnXlZGeIlaBaURAb/92O18M9An2EFM0a/7ABYFFV3pPYCTRY07QJ6BZVQ2GlQFsMRWXEUcNR5ZTblQIGgMxrFEeaCoRcWFNFgU1k1QKhEhAU1a9FFRPJYzBRhmRNcTEdBPaIENCC9kI0YcmBQQAIfkECQUAAQAsDAAMACgAKAAACP8AAwgcSLAgABtj0tBYmBBAwYcQIwYw0oaJmotRkGgkgpGNEYkgB1JkkNFFRBcESn4MCXEIxxUsBdogQSRNTJFTat4kiEbMlJUhvZTcaZCml6A1NxB9+ASIzpMZl0rUEAVoQQtNlEqFuKEJi5Y3dGyVaORGkaIdxoLMIcbhQCFN1IbUiFOC3LUJjgbIEuXu3DIC6cZka8dOgbSDYUz8AJNlgVWJVGBJNEtE4pFuQfJ4dYHnKw4sAYhQsMRHaFsaHiJYhVizBJeOKUW81MDxELgsW3mIqGKRbdwhdfNu9TtC7Nlgip9mohq1csenOr/9HHO0DsbVIUumXODyXiE3ZxZpPhy+73e/rmWORg/WzVvj7K864ammS/z3Vve2vS8UfFEWWvnVVFZcmSGdXxaJBdUOAW7VFRl6kXUDgQ56FeFaOdm0VBpJEcXGhI2FZpSDJUQwVIEqybXBhxhltFFH+amIkEIMpZEZSwEBACH5BAkFAAIALAsACwAqACoAAAj/AAUIHEiwoMAnXM4oSNEiocGHECMKMFACCZGLGDGWaCGxY8ExCMggobEwIcKGNJqIHONR4hKLQlJ4TEHgBowSLT9qiAJBR86DEHg++anDgpMHP3Va8DlTpZGkBo0AaeKlIwCVUCPKQAJAIhMgWSNu+KqValixIx+uIFPhrEu2Bp3IcNsRgxOdXOi+zUEQyA+9dcEehDszAKNPnxjN6NqUMciWNiLVykRlS6bJNloeFfhmzUxZmIb0VQTLRVPOLDtiIgSxD6LTAqSY9irLAEQDqDy/nUg44gw9EvHAscrWQO/Ww31jIk7x+ENXMyTOcMWci3ODgO4Ep8I8dlvpuDKrnMUlgjhqq6YYtdZ0xrz3z39sD6xAqDTsLlIg16+jxEMdWPFp1sVg8nnEhAqmaKKCBjlV0JtcgO0233UR8sZGQTdVGNddSmk44YUbVqWhFzyVtUGFYwl2W1oRbsUYWkC8GNZVMIhInFkzOpVUFlf8MBRRFZWR41JPWQXSUnS9ZIYGRZS0wUkLTYVkhE9udYVIWMq1BFMezocDRWEFBAAh+QQJBQACACwLAAsAKgAqAAAI/wAFCBxIsKCAMza60JABZWFCgxAjQjTyRYgTBAwhDNloEcbFL0YkiiRYEeMXiRtcdDw5MmIKIEiGhGx5cEgTIClokpQCAYBOkhB46qQY8+fEmD5FAphi4YxRlx9F7mCh4ylKCxckWvRiVWlRgyoVdB2pQChQCGNbBi2IBknStFeHDFzaBa5atwLbDm1SI0+eGXhbbqCaNw3NMpWGUTJhghKtSmUOZ6XbUosqQjhIClKl5S5RtbiCRAyC64dnGWRvCRLZ59HbiBfSWBwJI1VOlLCc0N46MgCglnNm7G44sk8A4H/IxqzL2gNy5Qx7H3rulbhUVC1PwRiOITUckTNucYrZ3WE7bc6jVaElbxb85Qqa0SsPGftw4sVxHEOWXHhvXzk1BHZXYSvYNd9cUxgY11kKQtTWE2whYECDDBp0gRNcUegFRlBNUZWCOiAVl1N2hXjBa0cJ2JUEIkrWk1UbXvSUSjfNJNgPNY41BkY4kQhWGwxhWGJJESznkAZMLWejgTqUxFFDP4D0U0AAIfkECQUAAgAsCgAKACwALAAACP8ABQgcSLDgQB0tVoxZolCHwYcQIwo8wxAIkx09XmjEaJGhxI8FFWTE0MYLRC9tMFggCVJiQhY0TLZ0QwPmmZYGx9jESRAlTJ4CNkBgkgJozos4AcjQ0MLow5cAPgq9wMXpyQtQPg6VafUp0qs4urr8eTSs2LFmCZZ5cRYkgTUhLTRti1Yt3Jk/GACykuDHBpxZsk6U27JHI1GFRowoFOoRBrxz2bAA2WJOKR5xUQG6qbWogLcg6VSCADFLJkBuhQQlG1HKKdWtXznROuVJC8IRvYRaELqTZ7ApLHxk8KoDZdlobTAZbgqnqBqddX7ci/NOlehvptOpPgI7c+dEvEuqLFP8OOncVL2wqCqREvTvdYlqLZVlPH2pFwSCnp6p/kPT3dE2GGV+XJbZHZyN55lSczGHGBiLNZYAZAPtl1oAdMgRgBlfAFZGT6zR5RVX+pUgYmsmxrXEiWWNyOJBuP0nH4vq0ZDciTVSBgVVdIkERVSFhejUEkKmRkCCPFFUJF47MRnTWUSuFJMbT/REU01S4pgGVip1qYGUSxnw4kEKuJADGwuZSWJLAQEAIfkECQUAAQAsCgAKACwALAAACP8AAwgcSLBggDM5upTIgkEGQ4VnDEqcKHFDBxo9LggZwsZGhY8dN4qkSLKgghcNJQAgCeBkypIU3ax5g2YlzIEtX97ESdPLToMuV/xcovFnzKIwIRpl2bCkDRkPljqFetSA1KQ9rAKlehVrVJMQuu6E8AasT7FeCW4cioYMGY5seRq52YWQqLuJ8NKgy3Vm0gakJix5IhDhhFADuGA9SNMpJUtCJr5oxOls1ZMwPUBmaemA1xIlL3y6kHT01IUl8XjYqQLPaRuch4w1tYEpUsmhbJaWfZnkh1ZGE/mwrXViDETBPxAniQGUbscylsc0TfdTxN4kJalgDel1aOrMwUuNDlmbZKDN0wOdDpDVcaUmuCdZnpgCQ+Eufz/lgaGgMAw8+s03nn9fffeJfpYc+AgUfKUwEGo3PXHSBz5oRBhfarWH1noZbjjVVmh4OJ6DIIpoVlUmEsihhwZouKJYTwkonVQPkHUdWzqNBZGMO9XYU1IKQcDjUi1aeJECBiTpwkUODZbifRg9JOWNNwUEACH5BAkFAAEALAkACQAuAC4AAAj/AAMIHEiw4EA3FVws6cJQoRuDECNKFPgkYRYCGMsM+aExY5uEE0MWBLBQiEkDXEZyQcnxpMiJRr60NPIyQMyONGsS9IJT58EOLn3e9OLTIEmNOleYLCqx4UulNpjCXDp1idSQTiPquHhV5EcAETl2ffoDYgohZ8Z6pfozR1IIZMhASFlT5ki0L5Ew6sS37yEYZBUQ5IoVRKc+R4AokADkiKBOB+hO/en1ECULYR0dsoq1BcUuhT1INgtic2eBSCeGMR369M2JPzKhqaupRFWEIU3Q8UnHRGeQExWh8Jkh0e8sMDsJ8fmi08OmUGFnyknbNnSF0qk/lX07O3Pn3YMjm/l+PDce3nuOg22qvCaS9tc3sI1IwRNRrJ4o/LYJOrlomKXpcBp/lbFmlGWcXfeZYFgVl4F2RjionVZzUbZdX36lUVeC/LnwFgNyebjhem2ptZ9BFZoIHYUcqngQXiy6uBOMCspoA0aBqSjffOV1dRSDb2m0AVMrBVVUkRhNeJ2QY+14EkoqsdSTjhZ59FFHHj0hY5QlOaRlUQEBACH5BAkFAAEALAgACAAwADAAAAj/AAMIHEiwoMEATx5wMXKwocOHBReySVOChsWLE7lA3NhQR4chFVfgcONxg8mSIXVw5Ajgyw8XbliSfAlgZUcbNG0ObBlS506QD3xG7DLEi88zFYXedGHTQFKlS1k+hRr1IU+qEJcUdbgBTResG4luqAqW61aDV5sC1dmihNGhLKVUcVSpbl0TUp7EHfr2YZZFlvBiSKEAQ4w4lgplCUsj6M+NMBJDaAgBUyMnjAmedQik0oG+BwEcqAQk65CfoNE+OrBy9Fezb2FC5JMoNVdMfEwLHCPBL2mdfxeb3W3g4YE+QvuwHo6weEdIAoQ2gKT3JnHOv32SqGRj+JPG2LsfxeUOO21o8uPFh3bb1fF5FkK3q0f7mvdDRTykK7J6OgBF44Ak1wB/14UH3GUE+lfEbIW4l9UigejWnErYRcdREo+0wV9fm1Hm2RlWgZEdcwX6ppiHCEpInIMoFiIAAoXBIEAhdQm3IVyMmUCXXZfgVZ2KqLG1lloM0WdbWQSZRx+SZK23BJNGmjYfkzCx2GRZWjknVRdFYmWEWEd5lYKXQ4aZk5lMkZlSWCJZVBOSXoTkJkknzUSRm1DuxJNLGE20Zp7lYRUQACH5BAkFAAIALAgACAAwADAAAAj/AAUIHEiwIMEHZ3AosMFQ4QODECNKPGig4ZgcLlIs7HCxy0UAE0NCRJgR40QvEth4NCBSJACLLQdygRnTIEmWNSl6zClzJ0+bPmM+wTjmZ8SbLTcsWWpUItKQRJueZDoVpNSqToNezdphpNatXIEKtQDijqKzICx4Eeqi4EwdLnlQuhMkioweJOD8mcQDh0utJqEqCtTl6B5Fb/72tCqRiKsPImM8hupTYcgpnm7EJJOZskCOJx0FyNnAEZupApQ+lFiWcVJBI6oiDD3lJxBPFWRPvMGo6aErulnDaTojUPCIiJtGUHQcYmejFzw1N5gcuqPpBQ3BUC4IO0EVw43qp/U+kLdv4Fy/HnyeU0Z1rygDR9xjnGceKlhBOxVN2jTq1Etcxp6Atf33kmsQRTEZgZQxpt9ugyGx2kFN2PFeVjq5ZIInEd4VBQWTeGKCBH8hmFFMa3ywIVomfLDGWEDhBBZWMc4Y1lEq2VgjjToCGGCDCG51YJDwEWlUfBvkVJGMUjl05EpNOVRUlDSxxZGRSlq0VnoPznjgSkRt1JFGWHqZkJgNGRUQACH5BAkFAAEALAcABwAyADIAAAj/AAMIHEiwoEGBT3QAeHKwocOHB7kYkGAjx5eLGClygcjxoRcFFjVKRKiwhUgvHVMGkBhyA8cNH0OqdLiw4saZK0uixDnwjEyePUsCTWERaMSiMzUabSg0JUgjS2lW7FihA4CoHq1CdIMUq1Q3X72+7FoQpMo2YkIcWEukzdkUR69uJVMnESABMVAMAGSXzM6sOgyahWjhUJ03gcu+6XPIwtiyZA/6UDThJlMHlLeSdQH3IV0hTgfd0Bz070Ehg4YkRUQAMEmPonnCGGT56GuHMfK4xLlBjoistyMWemN0R6HdtnM6RJ2Ypw7WUoMb5HEgqgcU0WGaLoglRtTcX2s6z7z73Ur4i+PVlD8vV7L3peCZoo9M0IH5peTlSy/IRBHYoYpoEJ1yTA1XHCLNCWbDfgVNUAdyZ/WB3YAj0RQbTrNBqGBQD70AXYStDchgg4aoRtWFIubEkGcfssiAZv9xSJhhL2i4koeNPQZZezTZl4gDPgQZpCCHbRdXclQREQRbbb0lH49iHflklFO6RiVBPq0I45UkKeAURlc+oFVSY3plUgVD/WRUTQ8slZBNzhFFkZk2cTVWS2Fa1VKFLJ2pZp44rJDRoHty+SSbUM4UEAAh+QQJBQABACwHAAcAMgAyAAAI/wADCBxIsGBBAFy8nDHAUCEAgxAjSjSIsIIEBSkaummhEeOZiSAlPvB4ceLIhRhDqgygI6PClQJbooQZkaMbmgc3tsA58InFhzxzZsRZMWhNHClXnjRq8mXIpUybAhWZNKrUplZVjqQKs+WOKBF2lNDR1QDEoiHfNDBUSA+WKnraNnijtWrPmyCLxCk04w0XglzUti3y1CzgjSBhMJogwaQDRizy2k2YuE+WlUL8fJB818hEKZZpdghN1TNLBZ8LCeGZuQzW0yLvoDCaQY/ps6hlSnTyx4tRN6Rxw5aoQkRULSqk+q65iDDTEoWW43YKMcuiDVGfqC5tuPqfrHoscL/f7QE8g/ER1YAxj947+6Nb0zOaGhQA5PYUm0ctox9+d4hU+HBcHFiVJN8Dv90xBVfDnbWHGrTtgd1RMX1EXgms3cegEQYeKFofs5V2V2WuqfQGiJx1Vhljjmko4mFp7dXEfzE1cQcWzr122BMmrvXWCED+SFdht8GoFARfhTVWWfBlReSLTk4nGY9RClUXfVHaVBaWViHF5ZQ01vfTbx6RyVGXDk14ZJlOeumQckNVWSFKLnVkk0VyTvdTR0YFBAAh+QQJBQADACwHAAYAMgA0AAAH/4ADgoOEhYaCG0+Kh4yNjocAD25nLQaWl5MAj5uOOpmVkpFGol6gk5yoA6Sem4qfqY2rsIillLOEtU+3uJm7tbuQlrO9wMFuqZQbxbG2rWfLzo+/0J2VzLqoom0p2JyuxpxdZCd95eYnZF3e1oWlm10C5ekunhI/430UbNG8yrFi+YY4KoElnz9Gonh1OvDHgjcEfxZ4qTboVCyG+5BtOXDQ0LRIjjjYcXGrAx4UFFVNZAShITAhfiAwUxkywzKR11ix/CNhmQuXCJM14kCBmgA1ORvtcQjNwpykkPqkoZZGalB2Hq1CU6DVo9BDMKmpinm1I6EsdcQOIGvMyM5jW6W7trv0lqrcfm4ZLbUL9RCKAEZF9DWElmSxnzLLXoRz84RZhSB3ynh5VyHNoZXf3SGTMjLmjNlOSst7GeECOgLD2eGYktZjXD4iggYbpOHrilhpaZbXhd6keyYC8uvXqgmYP+fONSF9Ddy6IdCjZ2sWTG3z1tYtj9aR3TWy3NRGrfyuSWzCknQPp/flqht56uqTuS9rUa14U/Jz4e+OF/9+/qNREwgAIfkECQUAAgAsBgAGADQANAAACP8ABQgcSLCgQQEbnig0svCgw4cQDS58QJGLjosWKz6JyBHiRAAbHSYEWbGjSYEYN5xESHKlR4ouC7aMOXAkTYkYaTa8eZBhyJM+eT7c2ZGhUI4WiyY9+lJlxKVMXz4FUPRFjAYm+MzJKuLFA6VDdSBlQIfPESRvSkBIe0QOHQZfp4p0+vBCIBUyqPaUoQKQDLk4PWaQw+LnUAuE9c6VyUUwlTYru1g5IDYsQZAQ21aIWYHKEak1M/NZcnMMYY81G4vUg0QoEj02LLN8yMGEEaFGqkyQDVVmnjJMCeSJGxhhXSpRBfgdOtshBy3JC+wW2fygCQvRVYRV+PB0VL7bK0vYhJ08DfmeGVfH/m7F8OWgDudkKb8lfHcg9O07FxG9AHPjDvFFF0+5QfFfQuoFRwdxjKGkmEFa2IYbFvwtVt14f/H02hmyXVjQDlusUNoWF3ToYUETVLGZS535ZyJ3Qx3wWGST3WbiiZcFkBhSfNUgHno4DSjRB3ng9eBlfOXhg5ANAvlUAWWddYFabLkFF1JHvlcUWXp06eUBFhgAFmjJWdhUmegxmSaa79molHtREWWSTWXOxNlFTMmpU293unmUnUDxGWdOU8HIZmoZpaQoZoeG55OaJwUEACH5BAkFADIALAYABgA0ADQAAAf/gDKCg4SFhhtPiUaLioaOj5CPiIyUk5UbkZmZiomalk+aoYONooWMpZGLqJJGq6aqro6TsZ2xqaCosLa3pbq7vJ64v8GbraEPGFEMHBPLGA+ivq+hWRlWJ8zKyypWBSXHkNKGLwtVTh2SCFUNBMWyxulbIi2eIvIAwITwsgLmqBDr6IWbJmnAAgWuJBwIgI+VvkgFTFSwlcJEgVQPH0GxsuTXEo4DBdU6hG2YjAgjGh7Cta8QEokmH2BxErIloZImT54YiEjSlo45PwJd2dMRDA85B3mg+W6kyxhJBWmB2hSToyNRoupkJU4qE60sBHC1akjA16hMKIx95IAEWAdroa8meBt3nNioZuua+pm0At93Mmwq1ZA0bU1IFpQI22VEyZSai/UtNekEhEqCRY1SGUoLpKSMbE8YoGgR4yjBIvshXKWQYbiWkff6K1UioGl9qFPfq7f7tSxNBDzMRMdvXbt8h3hvweZs2/Imlz/7PnZBWzNlK6KRdagVMLHuuHvF7jseOXlaudF7LJ8rvXj2xeAnJBWsK/lLnCiBv5V/u6tAACH5BAUFAEYALA8ADwAiACIAAAf8gEaCg4SDLj8EQBoviIWOj4UrCBQmHpQ8lzMIEpCdRhVEIAyMjgaJojiehRYnIhWqnyKtsDoxHkOwhD+Wr5C1DSu5kQ01Oo8bGQItwqXEG443t8zHHhHDuNOPQybYgiEM2Z0+PIbc4b7SRh8O5+IJ3jvtkEAjn+byzRIv9fiPIKf9/F2AkSEgNAusDBbigHCGQkKaIBx4OGgEDQX3FOIwJwADxQsD4FEsYM2eAo0qbAxKIEJhjHfluskTklEQqw74csyCBqxdiwUx0PXMtsJZp180ppWo9EAVMqawtpmI8CxXkRqVLJyMxArqtA0ybFXKZIlXVZ+IFCVykSsQADs=) center/64px no-repeat;color:#fff;content:"";font-size:128px;height:128px;left:50%;pointer-events:none;position:absolute;top:50%;transform:translate3d(-50%,-50%,0);width:128px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--hidden .pswp__top-bar{transform:translateY(-15px)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__top-bar{background:none;height:30px;margin-top:env(safe-area-inset-top);padding:16px;transition:transform .3s ease-out,opacity .3s cubic-bezier(.4,0,.22,1)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__counter{background-color:#00000080;border-radius:15px;font-family:Hiragino Kaku Gothic ProN,\\30e1\\30a4\\30ea\\30aa,sans-serif;font-size:12px;font-weight:700;height:30px;left:16px;line-height:30px;padding:0 16px;top:16px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button{background-size:180px 60px;height:30px;margin-left:8px;opacity:1;width:30px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button:before{background-color:#00000080;border-radius:50%;content:"";inset:0;position:absolute;z-index:-1}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--close{background-position:0 -30px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--share{background-position:-30px -30px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--zoom{background-position:-60px 0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--zoomed-in .pswp__button--zoom{background-position:-90px 0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--fs .pswp__button--fs{background-position:-30px 0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--left:before{background-position:-94px -30px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--right:before{background-position:-64px -30px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption{padding-bottom:env(safe-area-inset-top)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption--empty{display:block;opacity:0;pointer-events:none;transition:opacity .2s ease-out}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption__center{min-height:40px}'],changeDetection:0}),i})();class tR{}let kce=(()=>{class i{constructor(){}initialize(e){this.lightbox=e.createComponent(Cce),this.lightboxElement=this.lightbox.instance.element,document.body.appendChild(this.lightbox.location.nativeElement)}getLightboxElement(){return this.lightboxElement.nativeElement}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const Dce={history:!1,closeEl:!0,captionEl:!1,fullscreenEl:!1,zoomEl:!0,shareEl:!1,counterEl:!0,arrowEl:!1,preloaderEl:!0};let iR=(()=>{class i{constructor(e,n,r){this.photoGalleryConfig=e,this.viewContainerRef=n,this.lightboxService=r,this.onPhotoGalleryInit=new lt,this.onPhotoGalleryDestroy=new lt,this.galleryItems={},this.galleryItemIds=new Set,this.galleryImages=[],this.defaultOptions={...Dce,...this.photoGalleryConfig?.defaultOptions},this.lightboxService.initialize(this.viewContainerRef)}registerGalleryItem(e){const n={id:e.id,src:e.imageUrl,...e.caption?{title:e.caption}:{},w:0,h:0,doGetSlideDimensions:!0};this.galleryItems[e.id]={id:e.id,element:e.element,image:n},this.galleryItemIds.add(e.id)}unregisterGalleryItem(e){this.galleryItemIds.delete(e)}openPhotoSwipe(e){var n=this;return Se(function*(){if(n.galleryItems[e].image.doGetSlideDimensions){const c=yield nR(n.galleryItems[e].image.src);n.galleryItems[e].image.w=c.naturalWidth,n.galleryItems[e].image.h=c.naturalHeight,delete n.galleryItems[e].image.doGetSlideDimensions}n.galleryImages=[...n.galleryItemIds].map(c=>n.galleryItems[c].image);const r=n.galleryImages.findIndex(c=>c.id===e),a={...n.defaultOptions,...n.options};a.index=r,a.getThumbBoundsFn=c=>{const h=n.galleryImages[c].id,x=n.galleryItems[h].image,P=window.pageYOffset||document.documentElement.scrollTop,$=n.galleryItems[h].element.getBoundingClientRect();let ye,Ie,Le;return $.height/$.width>x.h/x.w?(Ie=$.top+P,Le=x.w*$.height/x.h,ye=$.left-(Le-$.width)/2):(ye=$.left,Le=$.width,Ie=$.top+P-(x.h*$.width/x.w-$.height)/2),{x:ye,y:Ie,w:Le}};const o=n.lightboxService.getLightboxElement();n.gallery=new wce(o,Fce,n.galleryImages,a),n.gallery.listen("gettingData",(c,h)=>{h.doGetSlideDimensions&&setTimeout(Se(function*(){yield n.getSlideDimensions(h)}),300)}),n.gallery.listen("imageLoadComplete",function(){var c=Se(function*(h,f){f.doGetSlideDimensions&&(yield n.getSlideDimensions(f))});return function(h,f){return c.apply(this,arguments)}}()),n.gallery.listen("destroy",()=>{n.onPhotoGalleryDestroy.emit()}),n.onPhotoGalleryInit.emit(),n.gallery.init()})()}getSlideDimensions(e){var n=this;return Se(function*(){if(!e.doGetSlideDimensions)return;const r=yield nR(e.src).catch(()=>null);e.doGetSlideDimensions=!1,e.w=r.naturalWidth,e.h=r.naturalHeight,n.gallery.invalidateCurrItems(),n.gallery.updateSize(!0)})()}}return i.\u0275fac=function(e){return new(e||i)(k(tR,8),k(kr),k(kce))},i.\u0275dir=Oe({type:i,selectors:[["","photoGalleryGroup",""]],inputs:{options:["photoGalleryGroup","options"]},outputs:{onPhotoGalleryInit:"onPhotoGalleryInit",onPhotoGalleryDestroy:"onPhotoGalleryDestroy"}}),i})();function nR(i){return new Promise((t,e)=>{const n=new Image;n.onload=()=>t(n),n.onerror=r=>e(r),n.src=i})}let Mce=(()=>{class i{constructor(e,n){this.el=e,this.photoGalleryGroup=n}openPhotoSwipe(){var e=this;return Se(function*(){yield e.photoGalleryGroup.openPhotoSwipe(e.id)})()}ngAfterContentInit(){this.id=this.photoGalleryTrackBy||this.imageUrl,this.photoGalleryGroup.registerGalleryItem({id:this.id,element:this.el.nativeElement,imageUrl:this.imageUrl,caption:this.photoGalleryCaption})}ngOnDestroy(){this.photoGalleryGroup.unregisterGalleryItem(this.id)}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(iR))},i.\u0275dir=Oe({type:i,selectors:[["","photoGallery",""]],hostBindings:function(e,n){1&e&&pe("click",function(){return n.openPhotoSwipe()})},inputs:{imageUrl:["photoGallery","imageUrl"],photoGalleryTrackBy:"photoGalleryTrackBy",photoGalleryCaption:"photoGalleryCaption"}}),i})(),Ece=(()=>{class i{static forRoot(e){return{ngModule:i,providers:[{provide:tR,useValue:e}]}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})();class Ju{constructor(t,e,n,r){this.options=t,this.profileService=e,this.utilities=n,this.dialog=r,this.displayRepliesTo=!0,this.profileName="",this.tooltip="",this.profiles=[],this.images=[],this.images2=[],this.videos=[]}toggleMediaPlayer(){this.options.values.showMediaPlayer=!this.options.values.showMediaPlayer}mediaConnect(){const t=document.querySelector("audio");t?(navigator.mediaSession.metadata=new MediaMetadata({title:"LifeLike",artist:"AlexiAction",album:"Blockcore Notes",artwork:[{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"96x96",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"128x128",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"192x192",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"256x256",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"384x384",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"512x512",type:"image/jpg"}]}),navigator.mediaSession.setActionHandler("play",Se(function*(){try{yield t.play()}catch(e){console.error(e.name,e.message)}})),navigator.mediaSession.setActionHandler("pause",()=>{t.pause()}),t.addEventListener("play",()=>{navigator.mediaSession.playbackState="playing"}),t.addEventListener("pause",()=>{navigator.mediaSession.playbackState="paused"})):console.log("Unable to find audio element")}ngOnInit(){var t=this;return Se(function*(){t.images=[]})()}expandImage(t){this.dialog.open(Xd,{data:{picture:t}})}hashtags(t){const e=t.filter(n=>"t"===n[0]).map(n=>n[1]);return 0==e.length?null:e}repliesTo(t){if(!t)return null;let e=t.tags.filter(n=>"p"===n[0]).map(n=>n[1]);return e=e.filter(n=>n!==t.pubkey),0==e.length?null:e}replyTo(t,e){return t?t.tags[e][1]:void 0}}Ju.regexpImage=/(?:(?:https?)+\:\/\/+[a-zA-Z0-9\/\._-]{1,})+(?:(?:jpe?g|png|gif|webp))/g,Ju.regexpVideo=/(?:https?:\/\/)?(?:www\.)?youtu\.?be(?:\.com)?\/?.*(?:watch|embed)?(?:.*v=|v\/|\/)([\w-_]+)/gim,Ju.regexpThisIsTheWay=/(?:thisistheway.gif)/g,Ju.\u0275fac=function(t){return new(t||Ju)(k(Sr),k(Hn),k(an),k(Ia))},Ju.\u0275cmp=qe({type:Ju,selectors:[["app-content-music"]],inputs:{events:"events",displayRepliesTo:"displayRepliesTo"},decls:40,vars:0,consts:[[1,"music-list","feed-page"],[1,"events","clickable"],[1,"events-header"],[1,"music-item"],["src","https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",1,"music-album"],[1,"music-details"],[1,"music-title"],[1,"music-artist"],["controls","","src","https://cdn.pixabay.com/download/audio/2022/11/22/audio_febc508520.mp3?filename=lifelike-126735.mp3"],["href","https://cdn.pixabay.com/download/audio/2022/11/22/audio_febc508520.mp3?filename=lifelike-126735.mp3"],["controls","","src","https://cdn.pixabay.com/download/audio/2022/12/15/audio_dd5b9f6f3a.mp3?filename=easy-to-love-129414.mp3"],["href","https://cdn.pixabay.com/download/audio/2022/12/15/audio_dd5b9f6f3a.mp3?filename=easy-to-love-129414.mp3"],["src","https://cdn.pixabay.com/audio/2022/10/14/13-08-36-813_200x200.png",1,"music-album"],["controls","","src","https://cdn.pixabay.com/download/audio/2022/10/12/audio_061cead49a.mp3?filename=weeknds-122592.mp3"],["href","https://cdn.pixabay.com/download/audio/2022/10/12/audio_061cead49a.mp3?filename=weeknds-122592.mp3"],["mat-flat-button","",3,"click"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"mat-card",1)(2,"div",2),Ce(3,"app-event-actions"),F()(),_(4,"div",3),Ce(5,"img",4),_(6,"div",5)(7,"div",6),N(8,"LifeLike"),F(),_(9,"div",7),N(10,"AlexiAction"),F(),_(11,"audio",8)(12,"a",9),N(13," Download audio "),F()()()(),_(14,"div",3),Ce(15,"img",4),_(16,"div",5)(17,"div",6),N(18,"EasyToLove"),F(),_(19,"div",7),N(20,"AlexiAction"),F(),_(21,"audio",10)(22,"a",11),N(23," Download audio "),F()()()(),_(24,"div",3),Ce(25,"img",12),_(26,"div",5)(27,"div",6),N(28,"CINIM - Brainfluid"),F(),_(29,"div",7),N(30,"CINIM"),F(),_(31,"audio",13)(32,"a",14),N(33," Download audio "),F()()()(),_(34,"button",15),pe("click",function(){return e.mediaConnect()}),N(35,"Connect Media Events"),F(),Ce(36,"br")(37,"br"),_(38,"button",15),pe("click",function(){return e.toggleMediaPlayer()}),N(39,"Toggle Media Player"),F()())},dependencies:[ur,Pa,Xs],styles:[".music-item[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:1em;margin-bottom:1em}.music-album[_ngcontent-%COMP%]{max-height:128px}.music-title[_ngcontent-%COMP%]{font-weight:700;font-size:1.2em;margin-bottom:.4em}.music-artist[_ngcontent-%COMP%]{color:#ffffff80;margin-bottom:.4em}.music-controls[_ngcontent-%COMP%]{width:100%}.music-details[_ngcontent-%COMP%]{flex:1 2 auto}audio[_ngcontent-%COMP%]{width:100%}"]});class eh{constructor(t,e,n,r,a){this.media=t,this.options=e,this.profileService=n,this.utilities=r,this.dialog=a,this.displayRepliesTo=!0,this.profileName="",this.tooltip="",this.profiles=[],this.images=[],this.images2=[],this.videos=[]}toggleMediaPlayer(){this.options.values.showMediaPlayer=!this.options.values.showMediaPlayer}play(t,e,n,r){this.media.play({title:t,artist:e,source:n,artwork:r,type:"Podcast"})}queue(t,e,n,r){this.media.enque({title:t,artist:e,source:n,artwork:r,type:"Podcast"})}mediaConnect(){const t=document.querySelector("audio");t?(navigator.mediaSession.metadata=new MediaMetadata({title:"LifeLike",artist:"AlexiAction",album:"Blockcore Notes",artwork:[{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"96x96",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"128x128",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"192x192",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"256x256",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"384x384",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"512x512",type:"image/jpg"}]}),navigator.mediaSession.setActionHandler("play",Se(function*(){try{yield t.play()}catch(e){console.error(e.name,e.message)}})),navigator.mediaSession.setActionHandler("pause",()=>{t.pause()}),t.addEventListener("play",()=>{navigator.mediaSession.playbackState="playing"}),t.addEventListener("pause",()=>{navigator.mediaSession.playbackState="paused"})):console.log("Unable to find audio element")}ngOnInit(){var t=this;return Se(function*(){t.images=[]})()}expandImage(t){this.dialog.open(Xd,{data:{picture:t}})}hashtags(t){const e=t.filter(n=>"t"===n[0]).map(n=>n[1]);return 0==e.length?null:e}repliesTo(t){if(!t)return null;let e=t.tags.filter(n=>"p"===n[0]).map(n=>n[1]);return e=e.filter(n=>n!==t.pubkey),0==e.length?null:e}replyTo(t,e){return t?t.tags[e][1]:void 0}}eh.regexpImage=/(?:(?:https?)+\:\/\/+[a-zA-Z0-9\/\._-]{1,})+(?:(?:jpe?g|png|gif|webp))/g,eh.regexpVideo=/(?:https?:\/\/)?(?:www\.)?youtu\.?be(?:\.com)?\/?.*(?:watch|embed)?(?:.*v=|v\/|\/)([\w-_]+)/gim,eh.regexpThisIsTheWay=/(?:thisistheway.gif)/g,eh.\u0275fac=function(t){return new(t||eh)(k(Jd),k(Sr),k(Hn),k(an),k(Ia))},eh.\u0275cmp=qe({type:eh,selectors:[["app-content-podcast"]],inputs:{events:"events",displayRepliesTo:"displayRepliesTo"},decls:83,vars:3,consts:[[1,"music-list","feed-page"],[1,"events"],[1,"events-header"],[1,"music-item"],["src","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673891743030-8e480bcd5cf47.jpg?w=400",1,"music-album"],[1,"music-details"],[1,"music-title"],[1,"music-artist"],[1,"podcast-abstract"],["mat-icon-button","",1,"action-button",3,"click"],[1,"action-button-icon"],["mat-icon-button","",1,"action-button",3,"matMenuTriggerFor"],["src","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673395914791-e4b9606d5df43.jpg?w=400",1,"music-album"],["src","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673318163134-74d83f9a9216b.jpg?w=400",1,"music-album"],["menu","matMenu"],["disabled","disabled","mat-menu-item",""]],template:function(t,e){if(1&t&&(_(0,"div",0)(1,"mat-card",1)(2,"div",2)(3,"div",3),Ce(4,"img",4),_(5,"div",5)(6,"div",6),N(7,"Resolving 'Attachment Trauma', and Delivering Orange-Pills, w/ 'Honest Sharing'"),F(),_(8,"div",7),N(9,"@bennibtc"),F(),_(10,"div",8),N(11," I've recently been trying a new method of booking guests for the show, by posting a Calendly link, and allowing anyone who wishes to come on to book themselves in. I ask them to give a brief summary of what they'd like to discuss, and if it sounds interesting (and has nothing to do with shitcoins),... "),F()()(),_(12,"div")(13,"button",9),pe("click",function(){return e.play("Resolving 'Attachment Trauma', and Delivering Orange-Pills, w/ 'Honest Sharing'","Bitcoin Rapid-Fire","https://anchor.fm/s/d6b3354/podcast/play/63537906/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2023-0-15%2F7f1c6f7b-5933-491b-0c4c-9a75e99a804c.mp3","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673891743030-8e480bcd5cf47.jpg?w=400")}),_(14,"mat-icon",10),N(15,"play_arrow"),F()(),_(16,"button",9),pe("click",function(){return e.queue("Resolving 'Attachment Trauma', and Delivering Orange-Pills, w/ 'Honest Sharing'","Bitcoin Rapid-Fire","https://anchor.fm/s/d6b3354/podcast/play/63537906/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2023-0-15%2F7f1c6f7b-5933-491b-0c4c-9a75e99a804c.mp3","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673891743030-8e480bcd5cf47.jpg?w=400")}),_(17,"mat-icon",10),N(18,"playlist_add"),F()(),_(19,"button",11)(20,"mat-icon",10),N(21,"more_vert"),F()()()()(),_(22,"mat-card",1)(23,"div",2)(24,"div",3),Ce(25,"img",12),_(26,"div",5)(27,"div",6),N(28,"MADEIRA UPDATE w/ Andre, Niko, & Rob"),F(),_(29,"div",7),N(30,"Madeira Update"),F(),_(31,"div",8),N(32," At the bitcoin 2022 conference, the President of Madeira got on stage, and announced that Madeira was 'adopting' bitcoin. While this led to much excitement about another potential 'bitcoin citadel' emerging, it also left many questions. Since that time, a number of bitcoiners who are either from ... "),F()()(),_(33,"div")(34,"button",9),pe("click",function(){return e.play("MADEIRA UPDATE w/ Andre, Niko, & Rob","Bitcoin Rapid-Fire","https://anchor.fm/s/d6b3354/podcast/play/63313937/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2023-0-10%2F598e4f78-8910-92a3-72c4-969e47a5f868.mp3","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673395914791-e4b9606d5df43.jpg?w=400")}),_(35,"mat-icon",10),N(36,"play_arrow"),F()(),_(37,"button",9),pe("click",function(){return e.queue("MADEIRA UPDATE w/ Andre, Niko, & Rob","Bitcoin Rapid-Fire","https://anchor.fm/s/d6b3354/podcast/play/63313937/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2023-0-10%2F598e4f78-8910-92a3-72c4-969e47a5f868.mp3","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673395914791-e4b9606d5df43.jpg?w=400")}),_(38,"mat-icon",10),N(39,"playlist_add"),F()(),_(40,"button",11)(41,"mat-icon",10),N(42,"more_vert"),F()()()()(),_(43,"mat-card",1)(44,"div",2)(45,"div",3),Ce(46,"img",13),_(47,"div",5)(48,"div",6),N(49,"Bitcoin is a Source of Creative Inspiration w/ @ReelRichard"),F(),_(50,"div",7),N(51,"@reelrichard"),F(),_(52,"div",8),N(53," Richard is the creator of some of the most awesome bitcoin-inspired music videos, which are always a big hit with the \u2018bitcoin maximalists\u2019 on twitter. I really enjoy his work, and feel its another beautiful example of how bitcoin is inspiring people, and granting them the freedom, to express the... "),F()()(),_(54,"div")(55,"button",9),pe("click",function(){return e.play("Bitcoin is a Source of Creative Inspiration w/ @ReelRichard","Bitcoin Rapid-Fire","https://anchor.fm/s/d6b3354/podcast/play/63277939/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2023-0-10%2F8d033a85-6f04-cfa6-10e5-52ddf6a9ab91.mp3","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673318163134-74d83f9a9216b.jpg?w=400")}),_(56,"mat-icon",10),N(57,"play_arrow"),F()(),_(58,"button",9),pe("click",function(){return e.queue("Bitcoin is a Source of Creative Inspiration w/ @ReelRichard","Bitcoin Rapid-Fire","https://anchor.fm/s/d6b3354/podcast/play/63277939/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2023-0-10%2F8d033a85-6f04-cfa6-10e5-52ddf6a9ab91.mp3","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673318163134-74d83f9a9216b.jpg?w=400")}),_(59,"mat-icon",10),N(60,"playlist_add"),F()(),_(61,"button",11)(62,"mat-icon",10),N(63,"more_vert"),F()()(),_(64,"mat-menu",null,14)(66,"button",15)(67,"mat-icon"),N(68,"bookmark_add"),F(),_(69,"span"),N(70,"Add to queue"),F()(),_(71,"button",15)(72,"mat-icon"),N(73,"bookmark_remove"),F(),_(74,"span"),N(75,"Play now"),F()(),_(76,"button",15)(77,"mat-icon"),N(78,"ios_share"),F(),_(79,"span"),N(80,"Share"),F()()()()(),Ce(81,"br")(82,"br"),F()),2&t){const n=Li(65);E(19),S("matMenuTriggerFor",n),E(21),S("matMenuTriggerFor",n),E(21),S("matMenuTriggerFor",n)}},dependencies:[bo,Pa,Qn,pm,ed,c0],styles:[".music-item[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:1em;margin-bottom:1em}.music-album[_ngcontent-%COMP%]{max-height:128px}.music-title[_ngcontent-%COMP%]{font-weight:700;margin-bottom:.4em}.music-artist[_ngcontent-%COMP%]{color:#ffffff80;margin-bottom:.4em}.music-controls[_ngcontent-%COMP%]{width:100%}.music-details[_ngcontent-%COMP%]{flex:1 2 auto}audio[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width: 599px){.music-album[_ngcontent-%COMP%]{max-height:32px}}"]});const rR="Whopsidaisy, something unexpected happened.";class x0{transform(t){return t.pipe(_t(e=>({loading:"start"===e.type,error:"error"===e.type?rR:"",value:e.type?e.value:e})),jr({loading:!0}),Zo(e=>Ht({loading:!1,error:"string"==typeof e?e:rR})))}}function Sce(i,t){1&i&&Ce(0,"app-content-music")}function Tce(i,t){1&i&&Ce(0,"app-content-podcast")}function Ace(i,t){}function Ice(i,t){1&i&&(_(0,"div",12),N(1,"You must follow the user to automatically render photos."),F())}function Lce(i,t){if(1&i&&(_(0,"div",15),Ce(1,"img",16),F()),2&i){const e=t.$implicit;S("photoGallery",e),E(1),S("src",e,hn)}}function Nce(i,t){1&i&&ee(0,Lce,2,2,"div",14),2&i&&S("ngForOf",Q().ngIf)}function Oce(i,t){if(1&i&&(_(0,"div",18),N(1),F()),2&i){const e=t.$implicit;E(1),yt(e)}}function Rce(i,t){1&i&&ee(0,Oce,2,1,"div",17),2&i&&S("ngForOf",Q().ngIf)}function Pce(i,t){if(1&i&&(_(0,"span"),ee(1,Nce,1,1,"ng-template",0),ee(2,Rce,1,1,"ng-template",0),F()),2&i){const e=Q(5);E(1),S("ngIf",e.isFollowing),E(1),S("ngIf",!e.isFollowing)}}function Bce(i,t){if(1&i&&(_(0,"span"),ee(1,Pce,3,2,"span",13),F()),2&i){const e=t.$implicit,n=Q(4);E(1),S("ngIf",n.parseToImage(e))}}x0.\u0275fac=function(t){return new(t||x0)},x0.\u0275pipe=Mr({name:"withStatus",type:x0,pure:!0});const Hce=function(){return{arrowEl:!0,indexIndicatorSep:" - "}};function Vce(i,t){if(1&i&&(ee(0,Ice,2,0,"div",9),Ce(1,"br"),_(2,"div",10),ee(3,Bce,2,1,"span",11),F()),2&i){const e=Q().ngIf,n=Q(2);S("ngIf",!n.isFollowing),E(2),S("photoGalleryGroup",Yr(4,Hce)),E(1),S("ngForOf",e.value)("ngForTrackBy",n.trackByFn)}}function Yce(i,t){1&i&&Ce(0,"mat-spinner",19)}function jce(i,t){1&i&&N(0),2&i&&Gt("Error ",Q().ngIf.error,"")}function zce(i,t){if(1&i&&(_(0,"div",8),ee(1,Vce,4,5,"ng-template",0),ee(2,Yce,1,0,"ng-template",0),ee(3,jce,1,1,"ng-template",0),F()),2&i){const e=t.ngIf;E(1),S("ngIf",e.value),E(1),S("ngIf",e.loading),E(1),S("ngIf",e.error)}}function Uce(i,t){if(1&i){const e=Je();_(0,"button",20),pe("click",function(){return Te(e),Ae(Q(2).showMore())}),N(1,"Show more..."),F()}}function Wce(i,t){if(1&i){const e=Je();_(0,"button",20),pe("click",function(){return Te(e),Ae(Q(2).showMore())}),N(1,"Loading more events... or there are nothing more to show..."),F()}}function Gce(i,t){if(1&i){const e=Je();_(0,"mat-card",22),pe("click",function(r){const o=Te(e).$implicit;return Ae(Q(4).navigation.openEvent(r,o))}),_(1,"div",23)(2,"app-event-header",24)(3,"span",25),N(4),mi(5,"ago"),F(),Ce(6,"app-directory-icon",24),F(),Ce(7,"app-event-actions",26),F(),Ce(8,"app-content",27),F()}if(2&i){const e=t.$implicit;E(2),S("pubkey",e.pubkey),E(2),yt(gi(5,6,e.created_at)),E(2),S("pubkey",e.pubkey),E(1),S("event",e)("pubkey",e.pubkey),E(1),S("event",e)}}function qce(i,t){if(1&i&&ee(0,Gce,9,8,"mat-card",21),2&i){const e=Q().ngIf,n=Q(2);S("ngForOf",e.value)("ngForTrackBy",n.trackByFn)}}function $ce(i,t){1&i&&Ce(0,"mat-spinner",19)}function Kce(i,t){1&i&&N(0),2&i&&Gt("Error ",Q().ngIf.error,"")}function Qce(i,t){if(1&i&&(_(0,"div",8),ee(1,qce,1,2,"ng-template",0),ee(2,$ce,1,0,"ng-template",0),ee(3,Kce,1,1,"ng-template",0),F()),2&i){const e=t.ngIf;E(1),S("ngIf",e.value),E(1),S("ngIf",e.loading),E(1),S("ngIf",e.error)}}function Zce(i,t){if(1&i){const e=Je();_(0,"button",20),pe("click",function(){return Te(e),Ae(Q(2).showMore())}),N(1,"Show more..."),F()}}function Xce(i,t){if(1&i){const e=Je();_(0,"button",20),pe("click",function(){return Te(e),Ae(Q(2).showMore())}),N(1,"Loading more events... or there are nothing more to show..."),F()}}function Jce(i,t){if(1&i){const e=Je();_(0,"mat-tab-group",2),pe("selectedTabChange",function(r){return Te(e),Ae(Q().onTabChanged(r))}),_(1,"mat-tab",3),ee(2,zce,4,3,"div",4),mi(3,"async"),mi(4,"withStatus"),_(5,"div",5),ee(6,Uce,2,0,"button",6),ee(7,Wce,2,0,"button",6),F()(),_(8,"mat-tab",7),ee(9,Qce,4,3,"div",4),mi(10,"async"),mi(11,"withStatus"),_(12,"div",5),ee(13,Zce,2,0,"button",6),ee(14,Xce,2,0,"button",6),F()()()}if(2&i){const e=Q();S("selectedIndex",e.tabIndex),E(2),S("ngIf",gi(3,7,gi(4,9,e.ui.rootEventsView$))),E(4),S("ngIf",!e.ui.viewCounts.rootEventsViewCountExhausted),E(1),S("ngIf",e.ui.viewCounts.replyEventsViewCountExhausted),E(2),S("ngIf",gi(10,11,gi(11,13,e.ui.replyEventsView$))),E(4),S("ngIf",!e.ui.viewCounts.replyEventsViewCountExhausted),E(1),S("ngIf",e.ui.viewCounts.replyEventsViewCountExhausted)}}function ede(i,t){if(1&i){const e=Je();_(0,"mat-card",22),pe("click",function(r){const o=Te(e).$implicit;return Ae(Q(4).navigation.openEvent(r,o))}),_(1,"div",23)(2,"app-event-header",24)(3,"span",25),N(4),mi(5,"ago"),F(),Ce(6,"app-directory-icon",24),F(),Ce(7,"app-event-actions",26),F(),Ce(8,"app-content",27),F()}if(2&i){const e=t.$implicit;E(2),S("pubkey",e.pubkey),E(2),yt(gi(5,6,e.created_at)),E(2),S("pubkey",e.pubkey),E(1),S("event",e)("pubkey",e.pubkey),E(1),S("event",e)}}function tde(i,t){if(1&i&&ee(0,ede,9,8,"mat-card",21),2&i){const e=Q().ngIf,n=Q(2);S("ngForOf",e.value)("ngForTrackBy",n.trackByFn)}}function ide(i,t){1&i&&Ce(0,"mat-spinner",19)}function nde(i,t){1&i&&N(0),2&i&&Gt("Error ",Q().ngIf.error,"")}function rde(i,t){if(1&i&&(_(0,"div",8),ee(1,tde,1,2,"ng-template",0),ee(2,ide,1,0,"ng-template",0),ee(3,nde,1,1,"ng-template",0),F()),2&i){const e=t.ngIf;E(1),S("ngIf",e.value),E(1),S("ngIf",e.loading),E(1),S("ngIf",e.error)}}function ade(i,t){if(1&i){const e=Je();_(0,"button",20),pe("click",function(){return Te(e),Ae(Q(2).showMore())}),N(1,"Show more..."),F()}}function ode(i,t){if(1&i){const e=Je();_(0,"button",20),pe("click",function(){return Te(e),Ae(Q(2).showMore())}),N(1,"Loading more events... or there are nothing more to show..."),F()}}function sde(i,t){if(1&i){const e=Je();_(0,"mat-card",22),pe("click",function(r){const o=Te(e).$implicit;return Ae(Q(4).navigation.openEvent(r,o))}),_(1,"div",23)(2,"app-event-header",24)(3,"span",25),N(4),mi(5,"ago"),F(),Ce(6,"app-directory-icon",24),F(),Ce(7,"app-event-actions",26),F(),Ce(8,"app-content",27),F()}if(2&i){const e=t.$implicit;E(2),S("pubkey",e.pubkey),E(2),yt(gi(5,6,e.created_at)),E(2),S("pubkey",e.pubkey),E(1),S("event",e)("pubkey",e.pubkey),E(1),S("event",e)}}function lde(i,t){if(1&i&&ee(0,sde,9,8,"mat-card",21),2&i){const e=Q().ngIf,n=Q(2);S("ngForOf",e.value)("ngForTrackBy",n.trackByFn)}}function cde(i,t){1&i&&Ce(0,"mat-spinner",19)}function dde(i,t){1&i&&N(0),2&i&&Gt("Error ",Q().ngIf.error,"")}function ude(i,t){if(1&i&&(_(0,"div",8),ee(1,lde,1,2,"ng-template",0),ee(2,cde,1,0,"ng-template",0),ee(3,dde,1,1,"ng-template",0),F()),2&i){const e=t.ngIf;E(1),S("ngIf",e.value),E(1),S("ngIf",e.loading),E(1),S("ngIf",e.error)}}function hde(i,t){if(1&i){const e=Je();_(0,"button",20),pe("click",function(){return Te(e),Ae(Q(2).showMore())}),N(1,"Show more..."),F()}}function mde(i,t){if(1&i){const e=Je();_(0,"button",20),pe("click",function(){return Te(e),Ae(Q(2).showMore())}),N(1,"Loading more events... or there are nothing more to show..."),F()}}function fde(i,t){if(1&i){const e=Je();_(0,"mat-tab-group",2),pe("selectedTabChange",function(r){return Te(e),Ae(Q().onTabChanged(r))}),_(1,"mat-tab",3),ee(2,rde,4,3,"div",4),mi(3,"async"),mi(4,"withStatus"),_(5,"div",5),ee(6,ade,2,0,"button",6),ee(7,ode,2,0,"button",6),F()(),_(8,"mat-tab",7),ee(9,ude,4,3,"div",4),mi(10,"async"),mi(11,"withStatus"),_(12,"div",5),ee(13,hde,2,0,"button",6),ee(14,mde,2,0,"button",6),F()()()}if(2&i){const e=Q();S("selectedIndex",e.tabIndex),E(2),S("ngIf",gi(3,7,gi(4,9,e.ui.rootEventsView$))),E(4),S("ngIf",!e.ui.viewCounts.rootEventsViewCountExhausted),E(1),S("ngIf",e.ui.viewCounts.replyEventsViewCountExhausted),E(2),S("ngIf",gi(10,11,gi(11,13,e.ui.replyEventsView$))),E(4),S("ngIf",!e.ui.viewCounts.replyEventsViewCountExhausted),E(1),S("ngIf",e.ui.viewCounts.replyEventsViewCountExhausted)}}var aR=new WeakSet;class iu{constructor(t,e,n,r,a,o,c,h,f,x,P,$,te,fe,ye,Ie){var Le=this;vp(this,aR),this.navigation=t,this.appState=e,this.activatedRoute=n,this.cd=r,this.queueService=a,this.options=o,this.profiles=c,this.dataService=h,this.ui=f,this.validator=x,this.circleService=P,this.storage=$,this.utilities=te,this.notesService=fe,this.router=ye,this.ngZone=Ie,this.imagePath="/assets/profile.png",this.profileName="",this.initialLoad=!0,this.notes=[],this.userEvents$=Ht(this.notes),this.subscriptions=[],this.pageSize=5,this.layout=1,this.subscriptions.push(this.ui.profile$.subscribe(function(){var it=Se(function*(Be){if(!Be)return;Le.appState.updateTitle(Le.utilities.getProfileTitle(Le.ui.profile)),Le.imagePath=Le.ui.profile.picture||"/assets/profile.png",Le.circle=yield Le.circleService.get(Le.ui.profile.circle),Le.layout=Le.style?Number(Le.style):Le.circle?Le.circle.style:1,Le.isFollowing=Le.profiles.isFollowing(Be.pubkey);const ut=Hv().subtract(5,"minutes").unix();(!Le.ui.profile.following||Le.ui.profile.retrieved&&Le.ui.profile.retrieved<ut)&&Le.queueService.enqueContacts(Be.pubkey),Le.queueService.enqueProfile(Be.pubkey),Le.previousPubKey!=Be.pubkey&&setTimeout(()=>{document.getElementById("profile-image-anchor").scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"}),Le.previousPubKey=Be.pubkey},50),Le.subscriptions.push(Le.navigation.showMore$.subscribe(()=>{Le.showMore()}))});return function(Be){return it.apply(this,arguments)}}()))}follow(){var t=this;return Se(function*(){t.ui.profile.status=to.Follow,yield t.profiles.follow(t.ui.pubkey)})()}onTabChanged(t){this.router.navigate([],{queryParams:{t:t.index},replaceUrl:!0}),ts(this,aR,pde).call(this)}parseToImage(t){return[...t.content.matchAll(iu.regexpImage)].map(n=>n[0])}showMore(){null==this.tabIndex||0==Number(this.tabIndex)?this.ui.updateRootEventsView(0,this.ui.viewCounts.rootEventsViewCount+this.pageSize):this.ui.updateReplyEventsView(0,this.ui.viewCounts.replyEventsViewCount+this.pageSize)}ngOnInit(){var t=this;this.appState.showBackButton=!0,this.appState.actions=[],this.appState.updateTitle(""),this.subscriptions.push(this.activatedRoute.queryParams.subscribe(function(){var e=Se(function*(n){t.tabIndex=n.t,t.style=n.s});return function(n){return e.apply(this,arguments)}}())),this.subscriptions.push(this.activatedRoute.paramMap.subscribe(function(){var e=Se(function*(n){const r=n.get("id");if(t.ui.setPubKey(r),r.startsWith("npub")){const a=t.utilities.convertFromBech32ToHex(r);t.router.navigate(["/p",a])}else t.appState.updateTitle(t.utilities.getShortenedIdentifier(r))});return function(n){return e.apply(this,arguments)}}()))}optionsUpdated(){}activeOptions(){let t="";return t+=this.options.values.hideSpam?" Spam: Filtered":" Spam: Allowed",t+=this.options.values.hideInvoice?" Invoices: Hidden":" Invoices: Displayed",t}trackByFn(t,e){return e.id}ngOnDestroy(){this.ui.setPubKey(void 0),this.utilities.unsubscribe(this.subscriptions),this.profileSubscription&&this.profileSubscription.unsubscribe(),this.feedSubscription&&this.feedSubscription.unsubscribe()}}function pde(){}iu.regexpImage=/(?:(?:https?)+\:\/\/+[a-zA-Z0-9\/\._-]{1,})+(?:(?:jpe?g|png|gif|webp))/g,iu.\u0275fac=function(t){return new(t||iu)(k(yo),k(Zi),k(ds),k(ni),k(es),k(Sr),k(Hn),k(Ba),k($r),k(Xo),k(Ro),k(Ra),k(an),k(eu),k(qn),k(Rt))},iu.\u0275cmp=qe({type:iu,selectors:[["app-user"]],decls:6,vars:5,consts:[[3,"ngIf"],[3,"selectedIndex","selectedTabChange",4,"ngIf"],[3,"selectedIndex","selectedTabChange"],["label","Notes"],["class","feed-page",4,"ngIf"],[1,"show-more","centered"],["mat-button","",3,"click",4,"ngIf"],["label","Replies"],[1,"feed-page"],["class","dimmed",4,"ngIf"],[1,"image-grid",3,"photoGalleryGroup"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"dimmed"],[4,"ngIf"],["class","image-grid-item",3,"photoGallery",4,"ngFor","ngForOf"],[1,"image-grid-item",3,"photoGallery"],["loading","lazy",3,"src"],["class","image-grid-item",4,"ngFor","ngForOf"],[1,"image-grid-item"],[1,"loading"],["mat-button","",3,"click"],["class","events clickable",3,"click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"events","clickable",3,"click"],[1,"events-header"],[3,"pubkey"],[1,"event-date","clickable"],[3,"event","pubkey"],[3,"event"]],template:function(t,e){1&t&&(Ce(0,"app-profile-header"),ee(1,Sce,1,0,"ng-template",0),ee(2,Tce,1,0,"ng-template",0),ee(3,Ace,0,0,"ng-template",0),ee(4,Jce,15,15,"mat-tab-group",1),ee(5,fde,15,15,"mat-tab-group",1)),2&t&&(E(1),S("ngIf",5==e.layout),E(1),S("ngIf",6==e.layout),E(1),S("ngIf",2==e.layout),E(1),S("ngIf",3==e.layout),E(1),S("ngIf",1==e.layout))},dependencies:[vn,ri,ur,Pa,w0,ew,jv,Mce,iR,Tl,ms,Al,tu,Xs,Ju,eh,Es,Js,x0],styles:[".profile-name[_ngcontent-%COMP%]{display:inline-block}.feed-page[_ngcontent-%COMP%]{min-height:1200px}"]});const oR=[{id:1,name:"Pipe"},{id:2,name:"Text"},{id:3,name:"Photo"},{id:4,name:"Film"},{id:5,name:"Music"},{id:6,name:"Podcast"}],gde=["hueSlider"],_de=["alphaSlider"];function bde(i,t){if(1&i){const e=Je();_(0,"div",8),pe("newValue",function(r){return Te(e),Ae(Q().onSliderChange("saturation-lightness",r))}),_(1,"div",9),Ce(2,"div"),F()()}if(2&i){const e=Q();sr("background-color",e.hueSliderColor),S("rgX",1)("rgY",1),E(1),sr("top",null==e.slider?null:e.slider.v,"px")("left",null==e.slider?null:e.slider.s,"px")}}function yde(i,t){if(1&i&&(_(0,"div",10),Ce(1,"div",11)(2,"div",12),F()),2&i){const e=Q();E(2),sr("background-color",e.selectedColor)}}function vde(i,t){if(1&i){const e=Je();_(0,"div",13,14),pe("newValue",function(r){return Te(e),Ae(Q().onSliderChange("hue",r))}),_(2,"div",15)(3,"div"),Ce(4,"div"),F()()()}if(2&i){const e=Q();S("rgX",1),E(2),sr("left",null==e.slider?null:e.slider.h,"px")}}function wde(i,t){if(1&i){const e=Je();_(0,"div",16,17),pe("newValue",function(r){return Te(e),Ae(Q().onSliderChange("alpha",r))}),Ce(2,"div",18),_(3,"div",15)(4,"div"),Ce(5,"div"),F()()()}if(2&i){const e=Q();S("rgX",1),E(2),S("ngStyle",e.getBackgroundColor(e.alphaSliderColor)),E(1),sr("left",null==e.slider?null:e.slider.a,"px")}}const Fde=["dialog"];function xde(i,t){1&i&&Ce(0,"div",11)}function Cde(i,t){if(1&i){const e=Je();kn(0),_(1,"div",8)(2,"div",9),pe("click",function(){const a=Te(e).$implicit;return Ae(Q(2).onColorClick(a))}),ee(3,xde,1,0,"div",10),F()(),Dn()}if(2&i){const e=t.$implicit,n=t.index,r=Q(2);E(2),Mt("colornull",!e),S("ngStyle",r.getBackgroundColor(e)),E(1),S("ngIf",n==r.indexSeleccionado)}}function kde(i,t){if(1&i&&Ce(0,"div",17),2&i){const e=Q(3);S("ngStyle",e.getBackgroundColor(e.color))}}function Dde(i,t){if(1&i){const e=Je();_(0,"div",12),pe("click",function(){return Te(e),Ae(Q(2).addColor())}),ee(1,kde,1,1,"div",13),mo(),_(2,"svg",14),Ce(3,"path",15)(4,"path",16),F()()}if(2&i){const e=Q(2);E(1),S("ngIf",!e.indexSeleccionado)}}function Mde(i,t){if(1&i){const e=Je();_(0,"color-picker",18),pe("colorChange",function(r){return Te(e),Ae(Q(2).onChangeColorPicker(r))})("onAlphaChange",function(r){return Te(e),Ae(Q(2).onAlphaChange(r))}),F()}if(2&i){const e=Q(2);S("controls",e.colorPickerControls)("color",e.hsva)}}function Ede(i,t){if(1&i&&(kn(0),_(1,"div",4),ee(2,Cde,4,4,"ng-container",5),ee(3,Dde,5,1,"div",6),ee(4,Mde,1,2,"color-picker",7),F(),Dn()),2&i){const e=Q();E(1),S("@colorsAnimation",e.colorsAnimationEffect),E(1),S("ngForOf",e.palette),E(1),S("ngIf",!e.hideColorPicker&&"only-alpha"!=e.colorPickerControls),E(1),S("ngIf",!e.hideColorPicker&&"only-alpha"==e.colorPickerControls)}}function Sde(i,t){1&i&&Ce(0,"div",11)}const Tde=function(i){return{background:i}};function Ade(i,t){if(1&i){const e=Je();mo(),ml(),kn(0),_(1,"div",8)(2,"div",24),pe("click",function(){const a=Te(e).$implicit;return Ae(Q(2).changeColor(a))}),ee(3,Sde,1,0,"div",10),F()(),Dn()}if(2&i){const e=t.$implicit,n=Q(2);E(2),Mt("colornull",!e),S("ngStyle",yn(4,Tde,e)),E(1),S("ngIf",n.isSelected(e))}}function Ide(i,t){if(1&i){const e=Je();kn(0),_(1,"div",4)(2,"div",19)(3,"div",20),pe("click",function(){return Te(e),Ae(Q().onClickBack())}),mo(),_(4,"svg",21),Ce(5,"path",22)(6,"path",23),F()()(),ee(7,Ade,4,6,"ng-container",5),F(),Dn()}if(2&i){const e=Q();E(1),S("@colorsAnimation",e.colorsAnimationEffect),E(6),S("ngForOf",e.variants)}}function Lde(i,t){if(1&i){const e=Je();kn(0),_(1,"div",25)(2,"div",26),pe("click",function(){return Te(e),Ae(Q().onClickBack())}),mo(),_(3,"svg",21),Ce(4,"path",22)(5,"path",23),F()(),ml(),_(6,"button",27),pe("click",function(){return Te(e),Ae(Q().emitClose("cancel"))}),N(7),F(),_(8,"button",27),pe("click",function(){return Te(e),Ae(Q().emitClose("accept"))}),N(9),F()(),_(10,"div",28)(11,"color-picker",29),pe("sliderChange",function(r){return Te(e),Ae(Q().onChangeColorPicker(r))}),F()(),Dn()}if(2&i){const e=Q();E(7),Gt(" ",e.cancelLabel," "),E(2),Gt(" ",e.acceptLabel," "),E(2),S("controls",e.colorPickerControls)("color",e.hsva)}}function Nde(i,t){if(1&i){const e=Je();_(0,"div",30)(1,"p",31),pe("click",function(){return Te(e),Ae(Q().nextFormat())}),N(2),F(),_(3,"div",32)(4,"input",33,34),pe("keyup",function(){Te(e);const r=Li(5);return Ae(Q().changeColorManual(r.value))})("keydown.enter",function(){return Te(e),Ae(Q().emitClose("accept"))}),F()()()}if(2&i){const e=Q();E(2),yt(e.colorFormats[e.format]),E(2),sr("font-size",e.color&&e.color.length>23?9:10,"px")("letter-spacing",e.color&&e.color.length>16?0:1.5,"px"),S("value",e.color)}}var lc=(()=>(function(i){i[i.HEX=0]="HEX",i[i.RGBA=1]="RGBA",i[i.HSLA=2]="HSLA",i[i.CMYK=3]="CMYK"}(lc||(lc={})),lc))();const sR=[{color:"rojo",preview:"#E57373",variants:["#FFEBEE","#FFCDD2","#EF9A9A","#E57373","#EF5350","#F44336","#E53935","#D32F2F","#C62828"]},{color:"rosa",preview:"#F06292",variants:["#FCE4EC","#F8BBD0","#F48FB1","#F06292","#EC407A","#E91E63","#D81B60","#C2185B","#AD1457"]},{color:"purpura",preview:"#BA68C8",variants:["#F3E5F5","#E1BEE7","#CE93D8","#BA68C8","#AB47BC","#9C27B0","#8E24AA","#7B1FA2","#6A1B9A"]},{color:"purpura oscuro",preview:"#9575CD",variants:["#EDE7F6","#D1C4E9","#B39DDB","#9575CD","#7E57C2","#673AB7","#5E35B1","#512DA8","#4527A0"]},{color:"indigo",preview:"#7986CB",variants:["#E8EAF6","#C5CAE9","#9FA8DA","#7986CB","#5C6BC0","#3F51B5","#3949AB","#303F9F","#283593"]},{color:"azul",preview:"#64B5F6",variants:["#E3F2FD","#BBDEFB","#90CAF9","#64B5F6","#42A5F5","#2196F3","#1E88E5","#1976D2","#1565C0"]},{color:"celeste",preview:"#4FC3F7",variants:["#E1F5FE","#B3E5FC","#81D4FA","#4FC3F7","#29B6F6","#03A9F4","#039BE5","#0288D1","#0277BD"]},{color:"cyan",preview:"#4DD0E1",variants:["#E0F7FA","#B2EBF2","#80DEEA","#4DD0E1","#26C6DA","#00BCD4","#00ACC1","#0097A7","#00838F"]},{color:"color",preview:"#4DB6AC",variants:["#E0F2F1","#B2DFDB","#80CBC4","#4DB6AC","#26A69A","#009688","#00897B","#00796B","#00695C"]},{color:"verde",preview:"#81C784",variants:["#E8F5E9","#C8E6C9","#A5D6A7","#81C784","#66BB6A","#4CAF50","#43A047","#388E3C","#2E7D32"]},{color:"verde claro",preview:"#AED581",variants:["#F1F8E9","#DCEDC8","#C5E1A5","#AED581","#9CCC65","#8BC34A","#7CB342","#689F38","#558B2F"]},{color:"lima",preview:"#DCE775",variants:["#F9FBE7","#F0F4C3","#E6EE9C","#DCE775","#D4E157","#CDDC39","#C0CA33","#AFB42B","#9E9D24"]},{color:"amarillo",preview:"#FFF176",variants:["#FFFDE7","#FFF9C4","#FFF59D","#FFF176","#FFEE58","#FFEB3B","#FDD835","#FBC02D","#F9A825"]},{color:"ambar",preview:"#FFD54F",variants:["#FFF8E1","#FFECB3","#FFE082","#FFD54F","#FFCA28","#FFC107","#FFB300","#FFA000","#FF8F00"]},{color:"naranja",preview:"#FFB74D",variants:["#FFF3E0","#FFE0B2","#FFCC80","#FFB74D","#FFA726","#FF9800","#FB8C00","#F57C00","#EF6C00"]},{color:"naranja oscuro",preview:"#FF8A65",variants:["#FBE9E7","#FFCCBC","#FFAB91","#FF8A65","#FF7043","#FF5722","#F4511E","#E64A19","#D84315"]},{color:"marron",preview:"#A1887F",variants:["#EFEBE9","#D7CCC8","#BCAAA4","#A1887F","#8D6E63","#795548","#6D4C41","#5D4037","#4E342E"]},{color:"escala de grises",preview:"#E0E0E0",variants:["#FFFFFF","#FAFAFA","#F5F5F5","#EEEEEE","#E0E0E0","#BDBDBD","#9E9E9E","#757575","#616161","#424242","#000000"]},{color:"azul gris",preview:"#90A4AE",variants:["#ECEFF1","#CFD8DC","#B0BEC5","#90A4AE","#78909C","#607D8B","#546E7A","#455A64","#37474F"]}],tw=["hex","rgba","hsla"];class th{constructor(t,e,n,r){this.r=t,this.g=e,this.b=n,this.a=r}denormalize(){return this.r=Math.round(255*this.r),this.g=Math.round(255*this.g),this.b=Math.round(255*this.b),this}toString(){return this.denormalize(),"rgb"+(1!=this.a?"a(":"(")+this.r+", "+this.g+", "+this.b+(1!=this.a?", "+this.a.toPrecision(2)+")":")")}}class ih{constructor(t,e,n,r){this.h=t,this.s=e,this.v=n,this.a=r,this.onChange=new lt(!0)}onColorChange(t){this.s=t.s/t.rgX,this.v=t.v/t.rgY}onHueChange(t){this.h=t.v/t.rgX}onValueChange(t){this.v=t.v/t.rgX}onAlphaChange(t){this.a=t.v/t.rgX}}class C0{constructor(t,e,n,r){this.h=t,this.s=e,this.l=n,this.a=r}denormalize(){return this.h=Math.round(360*this.h),this.s=Math.round(100*this.s),this.l=Math.round(100*this.l),this}toString(){return"hsl"+(1!=this.a?"a(":"(")+this.h+", "+this.s+"%, "+this.l+"%"+(1!=this.a?", "+this.a.toPrecision(2)+")":")")}}class iw{constructor(t,e,n,r,a=1){this.c=t,this.m=e,this.y=n,this.k=r,this.a=a}}class Ode{constructor(t){t&&(this.preview=t.preview,this.variants=t.variants)}}let rM=(()=>{class i{constructor(){}toFormat(e,n){var r="";if(e)switch(n){case lc.HEX:(o=this.hsvaToRgba(e)).denormalize(),r=this.rgbaToHex(o,!0);break;case lc.HSLA:var a=this.hsva2hsla(e);a.denormalize(),r=a.toString();break;case lc.RGBA:r=(o=this.hsvaToRgba(e)).toString();break;case lc.CMYK:var o=this.hsvaToRgba(e);this.rgbaToCmyk(o)}return r}stringToFormat(e,n){var r=this.stringToHsva(e,!0);return this.toFormat(r,n)}hsva2hsla(e){const n=e.h,r=e.s,a=e.v,o=e.a;if(0===a)return new C0(n,0,0,o);if(0===r&&1===a)return new C0(n,1,1,o);{const c=a*(2-r)/2;return new C0(n,a*r/(1-Math.abs(2*c-1)),c,o)}}hsla2hsva(e){const n=Math.min(e.h,1),r=Math.min(e.s,1),a=Math.min(e.l,1),o=Math.min(e.a,1);if(0===a)return new ih(n,0,0,o);{const c=a+r*(1-Math.abs(2*a-1))/2;return new ih(n,2*(c-a)/c,c,o)}}hsvaToRgba(e){let n,r,a;const o=e.h,c=e.s,h=e.v,f=e.a,x=Math.floor(6*o),P=6*o-x,$=h*(1-c),te=h*(1-P*c),fe=h*(1-(1-P)*c);switch(x%6){case 0:n=h,r=fe,a=$;break;case 1:n=te,r=h,a=$;break;case 2:n=$,r=h,a=fe;break;case 3:n=$,r=te,a=h;break;case 4:n=fe,r=$,a=h;break;case 5:n=h,r=$,a=te;break;default:n=0,r=0,a=0}return new th(n,r,a,f)}cmykToRgb(e){return new th((1-e.c)*(1-e.k),(1-e.m)*(1-e.k),(1-e.y)*(1-e.k),e.a)}rgbaToCmyk(e){const n=1-Math.max(e.r,e.g,e.b);return 1===n?new iw(0,0,0,1,e.a):new iw((1-e.r-n)/(1-n),(1-e.g-n)/(1-n),(1-e.b-n)/(1-n),n,e.a)}rgbaToHsva(e){let n,r;const a=Math.min(e.r,1),o=Math.min(e.g,1),c=Math.min(e.b,1),h=Math.min(e.a,1),f=Math.max(a,o,c),x=Math.min(a,o,c),P=f,$=f-x;if(r=0===f?0:$/f,f===x)n=0;else{switch(f){case a:n=(o-c)/$+(o<c?6:0);break;case o:n=(c-a)/$+2;break;case c:n=(a-o)/$+4;break;default:n=0}n/=6}return new ih(n,r,P,h)}rgbaToHex(e,n){let r="#"+(16777216|e.r<<16|e.g<<8|e.b).toString(16).substr(1);return 1!=e.a&&(r+=(256|Math.round(255*e.a)).toString(16).substr(1)),r}normalizeCMYK(e){return new iw(e.c/100,e.m/100,e.y/100,e.k/100,e.a)}denormalizeCMYK(e){return new iw(Math.floor(100*e.c),Math.floor(100*e.m),Math.floor(100*e.y),Math.floor(100*e.k),e.a)}denormalizeRGBA(e){return new th(Math.round(255*e.r),Math.round(255*e.g),Math.round(255*e.b),e.a)}stringToHsva(e="",n=!0){let r=null;e=(e||"").toLowerCase();const a=[{re:/(rgb)a?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*%?,\s*(\d{1,3})\s*%?(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,parse:function(o){return new th(parseInt(o[2],10)/255,parseInt(o[3],10)/255,parseInt(o[4],10)/255,isNaN(parseFloat(o[5]))?1:parseFloat(o[5]))}},{re:/(hsl)a?\(\s*(\d{1,3})\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,parse:function(o){return new C0(parseInt(o[2],10)/360,parseInt(o[3],10)/100,parseInt(o[4],10)/100,isNaN(parseFloat(o[5]))?1:parseFloat(o[5]))}}];a.push(n?{re:/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})?$/,parse:function(o){return new th(parseInt(o[1],16)/255,parseInt(o[2],16)/255,parseInt(o[3],16)/255,parseInt(o[4]||"FF",16)/255)}}:{re:/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})$/,parse:function(o){return new th(parseInt(o[1],16)/255,parseInt(o[2],16)/255,parseInt(o[3],16)/255,1)}}),a.push({re:/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])$/,parse:function(o){return new th(parseInt(o[1]+o[1],16)/255,parseInt(o[2]+o[2],16)/255,parseInt(o[3]+o[3],16)/255,1)}});for(const o in a)if(a.hasOwnProperty(o)){const c=a[o],h=c.re.exec(e),f=h&&c.parse(h);if(f)return f instanceof th?r=this.rgbaToHsva(f):f instanceof C0&&(r=this.hsla2hsva(f)),r}return r}outputFormat(e){return this.hsvaToRgba(e).toString()}getFormatByString(e){if(e){e=e.toLowerCase();let r=/(rgba\((\d{1,3},\s?){3}(1|0?\.\d+)\)|rgb\(\d{1,3}(,\s?\d{1,3}){2}\))/,a=/(hsla\((\d{1,3}%?,\s?){3}(1|0?\.\d+)\)|hsl\(\d{1,3}%?(,\s?\d{1,3}%?){2}\))/;if(/(#([\da-f]{3}(?:[\da-f]{3})?(?:[\da-f]{2})?))/.test(e))return"hex";if(r.test(e))return"rgba";if(a.test(e))return"hsla"}return"hex"}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})();class lR{constructor(t,e,n,r){this.h=t,this.s=e,this.v=n,this.a=r}}class Rde{constructor(t,e,n,r){this.h=t,this.s=e,this.v=n,this.a=r}}let Pde=(()=>{class i{mouseDown(e){this.start(e)}touchStart(e){this.start(e)}constructor(e){this.elRef=e,this.dragEnd=new lt,this.dragStart=new lt,this.newValue=new lt,this.listenerMove=n=>this.move(n),this.listenerStop=()=>this.stop()}move(e){e.preventDefault(),this.setCursor(e)}start(e){this.setCursor(e),e.stopPropagation(),document.addEventListener("mouseup",this.listenerStop),document.addEventListener("touchend",this.listenerStop),document.addEventListener("mousemove",this.listenerMove),document.addEventListener("touchmove",this.listenerMove),this.dragStart.emit()}stop(){document.removeEventListener("mouseup",this.listenerStop),document.removeEventListener("touchend",this.listenerStop),document.removeEventListener("mousemove",this.listenerMove),document.removeEventListener("touchmove",this.listenerMove),this.dragEnd.emit()}getX(e){const n=this.elRef.nativeElement.getBoundingClientRect();return(void 0!==e.pageX?e.pageX:e.touches[0].pageX)-n.left-window.pageXOffset}getY(e){const n=this.elRef.nativeElement.getBoundingClientRect();return(void 0!==e.pageY?e.pageY:e.touches[0].pageY)-n.top-window.pageYOffset}setCursor(e){const n=this.elRef.nativeElement.offsetWidth,r=this.elRef.nativeElement.offsetHeight,a=Math.max(0,Math.min(this.getX(e),n)),o=Math.max(0,Math.min(this.getY(e),r));void 0!==this.rgX&&void 0!==this.rgY?this.newValue.emit({s:a/n,v:1-o/r,rgX:this.rgX,rgY:this.rgY}):void 0===this.rgX&&void 0!==this.rgY?this.newValue.emit({v:o/r,rgY:this.rgY}):void 0!==this.rgX&&void 0===this.rgY&&this.newValue.emit({v:a/n,rgX:this.rgX})}}return i.\u0275fac=function(e){return new(e||i)(k(gt))},i.\u0275dir=Oe({type:i,selectors:[["","slider",""]],hostBindings:function(e,n){1&e&&pe("mousedown",function(a){return n.mouseDown(a)})("touchstart",function(a){return n.touchStart(a)})},inputs:{rgX:"rgX",rgY:"rgY",slider:"slider"},outputs:{dragEnd:"dragEnd",dragStart:"dragStart",newValue:"newValue"}}),i})(),Bde=(()=>{class i{constructor(e,n){this.service=e,this.cdr=n,this.color=new ih(0,1,1,1),this.controls="default",this.sliderChange=new lt(!1),this.onAlphaChange=new lt(!1),this.hsva=new ih(0,1,1,1),this.selectedColor="#000000",this.fallbackColor="#000000"}ngOnInit(){this.color||(this.color=new ih(0,1,1,1)),this.slider=new lR(0,0,0,0),this.update()}ngOnDestroy(){}ngOnChanges(e){e.color&&this.color&&this.update()}ngAfterViewInit(){this.sliderDimMax=new Rde(this.hueSlider?.nativeElement.offsetWidth||140,220,130,this.alphaSlider?.nativeElement.offsetWidth||140),this.update()}onSliderChange(e,n){switch(e){case"saturation-lightness":this.hsva.onColorChange(n);break;case"hue":this.hsva.onHueChange(n);break;case"alpha":this.hsva.onAlphaChange(n),this.onAlphaChange.emit(n);break;case"value":this.hsva.onValueChange(n)}this.update(),this.setColor(this.outputColor)}setColor(e){this.color=e,this.sliderChange.emit(this.color)}getBackgroundColor(e){return{background:"linear-gradient(90deg, rgba(36,0,0,0) 0%, "+e+" 100%)"}}update(){if(this.hsva=this.color,this.sliderDimMax){let e=this.service.hsvaToRgba(this.hsva).denormalize(),n=this.service.hsvaToRgba(new ih(this.hsva.h,1,1,1)).denormalize();this.hueSliderColor="rgb("+n.r+","+n.g+","+n.b+")",this.alphaSliderColor="rgb("+e.r+","+e.g+","+e.b+")",this.outputColor=this.hsva,this.selectedColor=this.service.hsvaToRgba(this.hsva).toString(),this.slider=new lR(this.hsva.h*this.sliderDimMax.h-5,this.hsva.s*this.sliderDimMax.s-8,(1-this.hsva.v)*this.sliderDimMax.v-8,this.hsva.a*this.sliderDimMax.a-5),this.cdr.detectChanges()}}}return i.\u0275fac=function(e){return new(e||i)(k(rM),k(ni))},i.\u0275cmp=qe({type:i,selectors:[["color-picker"]],viewQuery:function(e,n){if(1&e&&(Lt(gde,5),Lt(_de,5)),2&e){let r;Ze(r=Xe())&&(n.hueSlider=r.first),Ze(r=Xe())&&(n.alphaSlider=r.first)}},inputs:{color:"color",controls:"controls"},outputs:{sliderChange:"sliderChange",onAlphaChange:"onAlphaChange"},features:[or],decls:8,vars:4,consts:[[1,"color-picker",3,"click"],["dialogPopup",""],["class","saturation-lightness",3,"slider","rgX","rgY","background-color","newValue",4,"ngIf"],[1,"hue-alpha","box"],["class","left",4,"ngIf"],[1,"right"],["class","hue",3,"slider","rgX","newValue",4,"ngIf"],["class","alpha",3,"slider","rgX","newValue",4,"ngIf"],[1,"saturation-lightness",3,"slider","rgX","rgY","newValue"],[1,"cursor"],[1,"left"],[1,"selected-color-background"],[1,"selected-color"],[1,"hue",3,"slider","rgX","newValue"],["hueSlider",""],[1,"sliderCursor"],[1,"alpha",3,"slider","rgX","newValue"],["alphaSlider",""],[1,"alpha-gradient",3,"ngStyle"]],template:function(e,n){1&e&&(_(0,"div",0,1),pe("click",function(a){return a.stopPropagation()}),ee(2,bde,3,8,"div",2),_(3,"div",3),ee(4,yde,3,2,"div",4),_(5,"div",5),ee(6,vde,5,3,"div",6),ee(7,wde,6,4,"div",7),F()()()),2&e&&(E(2),S("ngIf","only-alpha"!=n.controls),E(2),S("ngIf","only-alpha"!=n.controls),E(2),S("ngIf","only-alpha"!=n.controls),E(1),S("ngIf","no-alpha"!=n.controls))},dependencies:[ri,Mf,Pde],styles:[".color-picker{position:relative;z-index:1000;width:220px;height:auto;cursor:default;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:none}.color-picker *{box-sizing:border-box;margin:0;font-size:11px}.color-picker input{width:0;height:26px;min-width:0;font-size:13px;text-align:center;color:#000}.color-picker input:invalid,.color-picker input:-moz-ui-invalid,.color-picker input:-moz-submit-invalid{box-shadow:none}.color-picker input::-webkit-inner-spin-button,.color-picker input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.color-picker .sliderCursor{width:10px;border-radius:5px;position:absolute;margin-top:-3px;border:1px solid black}.color-picker .sliderCursor>div{border:2px solid white;border-radius:5px}.color-picker .sliderCursor>div>div{border-radius:5px;border:1px solid black;height:24px}.color-picker .cursor{position:absolute;width:21px;border:3px solid black;border-radius:100%;margin:-2px 0 0 -2px}.color-picker .cursor>div{height:15px;border:3px solid white;border-radius:100%}.color-picker .box{display:flex;padding:4px 8px}.color-picker .left{position:relative;padding:16px 8px}.color-picker .right{flex:1 1 auto;display:flex;flex-direction:column;gap:10px;padding:12px 8px}.color-picker .hue-alpha{display:flex;align-items:center;margin-bottom:3px}.color-picker .hue{direction:ltr;width:100%;height:24px;border:none;border-radius:5px;position:relative;cursor:pointer;background-size:100% 100%;background:linear-gradient(to right,red 0%,#ff0 17%,lime 33%,cyan 50%,blue 66%,#f0f 83%,red 100%)}.color-picker .alpha{direction:ltr;position:relative;width:100%;height:24px;border:none;border-radius:5px;cursor:pointer;background-image:linear-gradient(45deg,#ccc 25%,transparent 25%),linear-gradient(-45deg,#ccc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ccc 75%),linear-gradient(-45deg,transparent 75%,#ccc 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0px}.color-picker .alpha-gradient{width:100%;height:100%;border-radius:5px;position:absolute}.color-picker .selected-color{position:absolute;top:16px;left:8px;width:40px;height:40px;box-shadow:0 1px 1px 1px #00000026;border-radius:50%}.color-picker .selected-color-background{width:40px;height:40px;border-radius:50%;background-image:linear-gradient(45deg,#ccc 25%,transparent 25%),linear-gradient(-45deg,#ccc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ccc 75%),linear-gradient(-45deg,transparent 75%,#ccc 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0px}.color-picker .saturation-lightness{direction:ltr;cursor:crosshair;width:100%;position:relative;height:130px;border:none;touch-action:manipulation;background-image:linear-gradient(to top,#000 0%,transparent 100%),linear-gradient(to right,#fff 0%,transparent 100%)}\n"],encapsulation:2}),i})(),Hde=(()=>{class i{click(e){this.isOutside(e)&&this.emitClose("cancel")}onScroll(){this.onScreenMovement()}onResize(){this.onScreenMovement()}constructor(e,n){this.service=e,this.cdr=n,this.color="#000000",this.previewColor="#000000",this.hsva=new ih(0,1,1,1),this.colorsAnimationEffect="slide-in",this.palette=sR,this.variants=[],this.colorFormats=tw,this.format=lc.HEX,this.canChangeFormat=!0,this.menu=1,this.hideColorPicker=!1,this.hideTextInput=!1,this.colorPickerControls="default"}ngOnInit(){this.setPosition(),this.hsva=this.service.stringToHsva(this.color),this.indexSeleccionado=this.findIndexSelectedColor(this.palette)}ngAfterViewInit(){this.setPositionY()}onScreenMovement(){this.setPosition(),this.setPositionY(),this.panelRef.nativeElement.style.transition||(this.panelRef.nativeElement.style.transition="transform 0.5s ease-out")}findIndexSelectedColor(e){let n;if(this.color)for(let r=0;r<e.length;r++){const a=e[r];"string"==typeof a?this.service.stringToFormat(this.color,lc.HEX)==this.service.stringToFormat(a,lc.HEX)&&(n=r):void 0===a?this.color=void 0:null!=this.findIndexSelectedColor(a.variants)&&(n=r)}return n}iniciate(e,n,r,a,o,c,h,f,x,P,$,te){if(this.colorPickerControls=$,this.triggerInstance=e,this.TriggerBBox=n,this.color=r,this.hideColorPicker=f,this.hideTextInput=h,this.acceptLabel=x,this.cancelLabel=P,c?tw.includes(c)?(this.format=tw.indexOf(c.toLowerCase()),this.canChangeFormat=!1,this.service.getFormatByString(this.color)!=c.toLowerCase()&&this.setColor(this.service.stringToHsva(this.color))):(console.error("Format provided is invalid, using HEX"),this.format=lc.HEX):this.format=tw.indexOf(this.service.getFormatByString(this.color)),this.previewColor=this.color,this.palette=a??sR,this.colorsAnimationEffect=o,"top"==te){let fe=this.TriggerBBox.nativeElement.getBoundingClientRect();this.positionString="transform: translateY(calc( -100% - "+fe.height+"px ))"}}setPosition(){if(this.TriggerBBox){const n=this.TriggerBBox.nativeElement.getBoundingClientRect();this.top=n.top+n.height,this.left=n.left+250>window.innerWidth?n.right<250?window.innerWidth/2-125:n.right-250:n.left}}setPositionY(){const e=this.TriggerBBox.nativeElement.getBoundingClientRect(),n=this.panelRef.nativeElement.getBoundingClientRect();this.positionString=e.bottom+n.height>window.innerHeight?e.top<n.height?"transform: translateY(-"+e.bottom+"px );":"transform: translateY(calc( -100% - "+e.height+"px ));":"",this.cdr.detectChanges()}hasVariant(e){return!!this.previewColor&&"string"!=typeof e&&e.variants.some(n=>n.toUpperCase()==this.previewColor.toUpperCase())}isSelected(e){return!!this.previewColor&&"string"==typeof e&&e.toUpperCase()==this.previewColor.toUpperCase()}getBackgroundColor(e){return"string"==typeof e?{background:e}:{background:e?.preview}}onAlphaChange(e){this.palette=this.ChangeAlphaOnPalette(e,this.palette)}ChangeAlphaOnPalette(e,n){var r=[];for(let a=0;a<n.length;a++){const o=n[a];if("string"==typeof o){let c=this.service.stringToHsva(o);c.onAlphaChange(e),r.push(this.service.toFormat(c,this.format))}else{let c=new Ode,h=this.service.stringToHsva(o.preview);h.onAlphaChange(e),c.preview=this.service.toFormat(h,this.format),c.variants=this.ChangeAlphaOnPalette(e,o.variants),r.push(c)}}return r}changeColor(e){this.setColor(this.service.stringToHsva(e)),this.emitClose("accept")}onChangeColorPicker(e){this.temporalColor=e,this.color=this.service.toFormat(e,this.format),this.triggerInstance.sliderChange(this.service.toFormat(e,this.format))}changeColorManual(e){this.previewColor=e,this.color=e,this.hsva=this.service.stringToHsva(e),this.temporalColor=this.hsva,this.triggerInstance.setColor(this.color)}setColor(e){this.hsva=e,this.color=this.service.toFormat(e,this.format),this.setPreviewColor(e),this.triggerInstance.setColor(this.color)}setPreviewColor(e){this.previewColor=e?this.service.hsvaToRgba(e).toString():void 0}onChange(){}onColorClick(e){"string"==typeof e||void 0===e?this.changeColor(e):(this.variants=e.variants,this.menu=2)}addColor(){this.menu=3,this.backupColor=this.color,this.temporalColor=this.service.stringToHsva(this.color)}nextFormat(){this.canChangeFormat&&(this.format=(this.format+1)%this.colorFormats.length,this.setColor(this.hsva))}emitClose(e){3==this.menu&&("cancel"==e||"accept"==e&&this.setColor(this.temporalColor)),this.triggerInstance.closePanel()}onClickBack(){3==this.menu&&(this.color=this.backupColor,this.hsva=this.service.stringToHsva(this.color)),this.indexSeleccionado=this.findIndexSelectedColor(this.palette),this.menu=1}isOutside(e){return e.target.classList.contains("ngx-colors-overlay")}}return i.\u0275fac=function(e){return new(e||i)(k(rM),k(ni))},i.\u0275cmp=qe({type:i,selectors:[["ngx-colors-panel"]],viewQuery:function(e,n){if(1&e&&Lt(Fde,5),2&e){let r;Ze(r=Xe())&&(n.panelRef=r.first)}},hostVars:4,hostBindings:function(e,n){1&e&&pe("mousedown",function(a){return n.click(a)},0,Q1)("scroll",function(){return n.onScroll()},!1,Q1)("resize",function(){return n.onResize()},!1,GE),2&e&&sr("top",n.top,"px")("left",n.left,"px")},decls:6,vars:6,consts:[[1,"opened"],["dialog",""],[4,"ngIf"],["class","manual-input-wrapper",4,"ngIf"],[1,"colors"],[4,"ngFor","ngForOf"],["style","background: rgb(245 245 245); position: relative","class","circle button",3,"click",4,"ngIf"],[3,"controls","color","colorChange","onAlphaChange",4,"ngIf"],[1,"circle","wrapper","color"],[1,"circle","color","circle-border",3,"ngStyle","click"],["class","selected",4,"ngIf"],[1,"selected"],[1,"circle","button",2,"background","rgb(245 245 245)","position","relative",3,"click"],["style","\n position: absolute;\n height: 7px;\n width: 7px;\n border: 1px solid rgba(0, 0, 0, 0.03);\n border-radius: 100%;\n top: 0;\n right: 0;\n ",3,"ngStyle",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","height","24px","viewBox","0 0 24 24","width","24px","fill","#222222"],["d","M24 24H0V0h24v24z","fill","none","opacity",".87"],["d","M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"],[2,"position","absolute","height","7px","width","7px","border","1px solid rgba(0, 0, 0, 0.03)","border-radius","100%","top","0","right","0",3,"ngStyle"],[3,"controls","color","colorChange","onAlphaChange"],[1,"circle","wrapper"],[1,"add",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24"],["d","M0 0h24v24H0z","fill","none"],["d","M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"],[1,"circle","circle-border",3,"ngStyle","click"],[1,"nav-wrapper"],[1,"round-button","button",2,"float","left",3,"click"],[2,"float","right",3,"click"],[1,"color-picker-wrapper"],[3,"controls","color","sliderChange"],[1,"manual-input-wrapper"],[3,"click"],[1,"g-input"],["placeholder","#FFFFFF","type","text",3,"value","keyup","keydown.enter"],["paintInput",""]],template:function(e,n){1&e&&(_(0,"div",0,1),ee(2,Ede,5,4,"ng-container",2),ee(3,Ide,8,2,"ng-container",2),ee(4,Lde,12,4,"ng-container",2),ee(5,Nde,6,6,"div",3),F()),2&e&&(function Gl(i){$l(dS,UV,i,!1)}(n.positionString),E(2),S("ngIf",1==n.menu),E(1),S("ngIf",2==n.menu),E(1),S("ngIf",3==n.menu),E(1),S("ngIf",!n.hideTextInput))},dependencies:[vn,ri,Mf,Bde],styles:["[_nghost-%COMP%]{position:fixed;z-index:2001}.hidden[_ngcontent-%COMP%]{display:none}.button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.top[_ngcontent-%COMP%]{transform:translateY(-100%)}.opened[_ngcontent-%COMP%]{box-sizing:border-box;box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background:#fff;width:250px;border-radius:5px;position:absolute}.opened[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{border:none;font-family:inherit;font-size:12px;background-color:unset;-webkit-user-select:none;user-select:none;padding:10px;letter-spacing:1px;color:#222;border-radius:3px;line-height:20px}.opened[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover, .opened[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:hover{background-color:#0000000d;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1);transition-property:opacity,background-color;transition-duration:.2s,.2s;transition-timing-function:cubic-bezier(.35,0,.25,1),cubic-bezier(.35,0,.25,1);transition-delay:0s,0s}.opened[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:focus{outline:none}.opened[_ngcontent-%COMP%] .colors[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;margin:15px}.opened[_ngcontent-%COMP%] .colors[_ngcontent-%COMP%] .circle[_ngcontent-%COMP%]{height:34px;width:34px;box-sizing:border-box;border-radius:100%;cursor:pointer}.opened[_ngcontent-%COMP%] .colors[_ngcontent-%COMP%] .circle[_ngcontent-%COMP%] .add[_ngcontent-%COMP%]{font-size:20px;line-height:45px;text-align:center}.opened[_ngcontent-%COMP%] .colors[_ngcontent-%COMP%] .circle[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{border:2px solid white;border-radius:100%;height:28px;width:28px;box-sizing:border-box;margin:2px}.opened[_ngcontent-%COMP%] .colors[_ngcontent-%COMP%] .circle.colornull[_ngcontent-%COMP%]{background:linear-gradient(135deg,rgba(236,236,236,.7) 0%,rgba(236,236,236,.7) 45%,#de0f00 50%,rgba(236,236,236,.7) 55%,rgba(236,236,236,.7) 100%)}.opened[_ngcontent-%COMP%] .colors[_ngcontent-%COMP%] .circle.wrapper[_ngcontent-%COMP%]{margin:0 5px 5px;flex:34px 0 0}.opened[_ngcontent-%COMP%] .colors[_ngcontent-%COMP%] .circle.button[_ngcontent-%COMP%]{margin:0 5px 5px}.opened[_ngcontent-%COMP%] .colors[_ngcontent-%COMP%] .circle.wrapper.color[_ngcontent-%COMP%]{background-image:linear-gradient(45deg,#ccc 25%,transparent 25%),linear-gradient(-45deg,#ccc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ccc 75%),linear-gradient(-45deg,transparent 75%,#ccc 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0px}.opened[_ngcontent-%COMP%] .colors[_ngcontent-%COMP%] .circle-border[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.03)}.opened[_ngcontent-%COMP%] .color-picker-wrapper[_ngcontent-%COMP%]{margin:5px 15px}.opened[_ngcontent-%COMP%] .nav-wrapper[_ngcontent-%COMP%]{overflow:hidden;margin:5px}.opened[_ngcontent-%COMP%] .nav-wrapper[_ngcontent-%COMP%] .round-button[_ngcontent-%COMP%]{padding:5px 0;width:40px;height:40px;box-sizing:border-box;border-radius:100%;text-align:center;line-height:45px}.opened[_ngcontent-%COMP%] .manual-input-wrapper[_ngcontent-%COMP%]{display:flex;margin:15px;font-family:sans-serif}.opened[_ngcontent-%COMP%] .manual-input-wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;text-align:center;font-size:10px;letter-spacing:1.5px;text-transform:uppercase;line-height:48px;width:145px;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.opened[_ngcontent-%COMP%] .manual-input-wrapper[_ngcontent-%COMP%] .g-input[_ngcontent-%COMP%]{border:1px solid #e8ebed;height:45px;border-radius:5px;width:100%}.opened[_ngcontent-%COMP%] .manual-input-wrapper[_ngcontent-%COMP%] .g-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-size:9px;border:none;width:100%;text-transform:uppercase;outline:none;text-align:center;letter-spacing:1px;color:#595b65;height:100%;border-radius:5px;margin:0;padding:0}"],data:{animation:[Qa("colorsAnimation",[cr("void => slide-in",[Od(":enter",pi({opacity:0}),{optional:!0}),Od(":enter",v6("10ms",[lr(".3s ease-in",qg([pi({opacity:0,transform:"translatex(-50%)",offset:0}),pi({opacity:.5,transform:"translatex(-10px) scale(1.1)",offset:.3}),pi({opacity:1,transform:"translatex(0)",offset:1})]))]),{optional:!0})]),cr("void => popup",[Od(":enter",pi({opacity:0,transform:"scale(0)"}),{optional:!0}),Od(":enter",v6("10ms",[lr("500ms ease-out",qg([pi({opacity:.5,transform:"scale(.5)",offset:.3}),pi({opacity:1,transform:"scale(1.1)",offset:.8}),pi({opacity:1,transform:"scale(1)",offset:1})]))]),{optional:!0})])])]}}),i})();const cR={position:"fixed",height:"100%",width:"100%","z-index":2e3,top:0,left:0};let dR=(()=>{class i{constructor(e,n,r){this.resolver=e,this.applicationRef=n,this.injector=r}createPanel(e,n){null!=this.componentRef&&this.removePanel();const r=this.resolver.resolveComponentFactory(Hde);this.componentRef=r.create(this.injector),this.applicationRef.attachView(this.componentRef.hostView);const a=this.componentRef.hostView.rootNodes[0];return this.overlay=document.createElement("div"),this.overlay.id="ngx-colors-overlay",this.overlay.classList.add("ngx-colors-overlay"),this.overlay.classList.add(n),Object.keys(cR).forEach(o=>{this.overlay.style[o]=cR[o]}),e?document.getElementById(e).appendChild(this.overlay):document.body.appendChild(this.overlay),this.overlay.appendChild(a),this.componentRef}removePanel(){this.applicationRef.detachView(this.componentRef.hostView),this.componentRef.destroy(),this.overlay.remove()}}return i.\u0275fac=function(e){return new(e||i)(Fe(pd),Fe(wd),Fe(Wr))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})(),Vde=(()=>{class i{onClick(){this.openPanel()}constructor(e,n){this.triggerRef=e,this.panelFactory=n,this.color="",this.colorsAnimation="slide-in",this.position="bottom",this.attachTo=void 0,this.overlayClassName=void 0,this.colorPickerControls="default",this.acceptLabel="ACCEPT",this.cancelLabel="CANCEL",this.change=new lt,this.input=new lt,this.slider=new lt,this.close=new lt,this.open=new lt,this.isDisabled=!1,this.onTouchedCallback=()=>{},this.onChangeCallback=()=>{}}openPanel(){this.isDisabled||(this.panelRef=this.panelFactory.createPanel(this.attachTo,this.overlayClassName),this.panelRef.instance.iniciate(this,this.triggerRef,this.color,this.palette,this.colorsAnimation,this.format,this.hideTextInput,this.hideColorPicker,this.acceptLabel,this.cancelLabel,this.colorPickerControls,this.position)),this.open.emit(this.color)}closePanel(){this.panelFactory.removePanel(),this.onTouchedCallback(),this.close.emit(this.color)}onChange(){this.onChangeCallback(this.color)}setDisabledState(e){this.isDisabled=e,this.triggerRef.nativeElement.style.opacity=e?.5:1}setColor(e){this.writeValue(e),this.input.emit(e)}sliderChange(e){this.slider.emit(e)}get value(){return this.color}set value(e){this.setColor(e),this.onChangeCallback(e)}writeValue(e){e!==this.color&&(this.color=e,this.onChange(),this.change.emit(e))}registerOnChange(e){this.onChangeCallback=e}registerOnTouched(e){this.onTouchedCallback=e}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(dR))},i.\u0275dir=Oe({type:i,selectors:[["","ngx-colors-trigger",""]],hostBindings:function(e,n){1&e&&pe("click",function(){return n.onClick()})},inputs:{colorsAnimation:"colorsAnimation",palette:"palette",format:"format",position:"position",hideTextInput:"hideTextInput",hideColorPicker:"hideColorPicker",attachTo:"attachTo",overlayClassName:"overlayClassName",colorPickerControls:"colorPickerControls",acceptLabel:"acceptLabel",cancelLabel:"cancelLabel"},outputs:{change:"change",input:"input",slider:"slider",close:"close",open:"open"},features:[Nt([{provide:Fa,useExisting:di(()=>i),multi:!0}])]}),i})(),Yde=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[rM,dR],imports:[Dr]}),i})();function jde(i,t){if(1&i&&(_(0,"mat-option",11),N(1),F()),2&i){const e=t.$implicit;S("value",e.id),E(1),Gt(" ",e.name," ")}}class k0{constructor(t,e,n){this.appState=t,this.dialogRef=e,this.data=n,this.styles=oR,this.data.name="",this.data.color="#673ab7"}onNoClick(){this.data.name="",this.data.color="#673ab7",this.dialogRef.close()}}k0.\u0275fac=function(t){return new(t||k0)(k(Zi),k(Ts),k(kl))},k0.\u0275cmp=qe({type:k0,selectors:[["create-circle-dialog"]],decls:33,vars:11,consts:[[1,"dialog"],["mat-dialog-title",""],["mat-dialog-content",""],["appearance","fill",1,"input-full-width"],["matPrefix","",1,"circle"],["matInput","","type","text",3,"ngModel","ngModelChange"],["appearance","fill",1,"circle-input"],["matPrefix","","ngx-colors-trigger","",1,"color",3,"ngModel","ngModelChange"],["matInput","",3,"ngModel","ngModelChange"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["mat-dialog-actions","","align","end"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"h1",1),N(2,"Create Circle"),F(),_(3,"div",2)(4,"mat-form-field",3)(5,"mat-icon",4),N(6,"supervised_user_circle"),F(),_(7,"mat-label"),N(8,"Circle Name"),F(),_(9,"input",5),pe("ngModelChange",function(r){return e.data.name=r}),F()(),_(10,"mat-form-field",6)(11,"div",7),pe("ngModelChange",function(r){return e.data.color=r}),F(),_(12,"mat-label"),N(13,"Color"),F(),_(14,"input",8),pe("ngModelChange",function(r){return e.data.color=r}),F()(),_(15,"mat-form-field",6)(16,"mat-label"),N(17,"Type"),F(),_(18,"mat-select",9),pe("valueChange",function(r){return e.data.style=r}),ee(19,jde,2,2,"mat-option",10),F()(),_(20,"mat-form-field",6)(21,"mat-label"),N(22,"Visibility"),F(),_(23,"mat-select",9),pe("valueChange",function(r){return e.data.public=r}),_(24,"mat-option",11),N(25," Public "),F(),_(26,"mat-option",11),N(27," Private "),F()()()(),_(28,"div",12)(29,"button",13),pe("click",function(){return e.onNoClick()}),N(30,"Cancel"),F(),_(31,"button",14),N(32,"Save"),F()()()),2&t&&(E(9),S("ngModel",e.data.name),E(2),sr("background",e.data.color),S("ngModel",e.data.color),E(3),S("ngModel",e.data.color),E(4),S("value",e.data.style),E(1),S("ngForOf",e.styles),E(4),S("value",e.data.public),E(1),S("value",!0),E(2),S("value",!1),E(5),S("mat-dialog-close",e.data))},dependencies:[vn,Do,Oa,eo,Kc,ur,y0,ku,Qn,xa,ua,Ca,Wh,Gh,tc,Vc,Vde],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}.circle[_ngcontent-%COMP%]{cursor:pointer}.circle[_ngcontent-%COMP%]:hover{color:#fff}.color[_ngcontent-%COMP%]{width:24px;height:24px;border:2px solid #fff;margin:12px;border-radius:50%}.circle-input[_ngcontent-%COMP%]{margin-right:1em}@media only screen and (max-width: 540px){.circle-input[_ngcontent-%COMP%]{margin-right:0;width:100%}}"]});let D0=(()=>{class i{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=Ct(e)}get inset(){return this._inset}set inset(e){this._inset=Ct(e)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=qe({type:i,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(e,n){2&e&&(It("aria-orientation",n.vertical?"vertical":"horizontal"),Mt("mat-divider-vertical",n.vertical)("mat-divider-horizontal",!n.vertical)("mat-divider-inset",n.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(e,n){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0}),i})(),zde=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Qt,Qt]}),i})();const aM=["*"],oM='@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:"";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.mat-mdc-list-base{--mdc-list-list-item-container-shape:0;--mdc-list-list-item-leading-avatar-shape:50%;--mdc-list-list-item-container-color:transparent;--mdc-list-list-item-selected-container-color:transparent;--mdc-list-list-item-leading-avatar-color:transparent;--mdc-list-list-item-leading-icon-size:24px;--mdc-list-list-item-leading-avatar-size:40px;--mdc-list-list-item-trailing-icon-size:24px;--mdc-list-list-item-disabled-state-layer-color:transparent;--mdc-list-list-item-disabled-state-layer-opacity:0;--mdc-list-list-item-disabled-label-text-opacity:0.38;--mdc-list-list-item-disabled-leading-icon-opacity:0.38;--mdc-list-list-item-disabled-trailing-icon-opacity:0.38}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}',uR=["unscopedContent"],Ude=["text"],Wde=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],Gde=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"];function qde(i,t){1&i&&Ft(0,4)}function $de(i,t){if(1&i&&(_(0,"div",11),Ce(1,"input",12),_(2,"div",13),mo(),_(3,"svg",14),Ce(4,"path",15),F(),ml(),Ce(5,"div",16),F()()),2&i){const e=Q();Mt("mdc-checkbox--disabled",e.disabled),E(1),S("checked",e.selected)("disabled",e.disabled)}}function Kde(i,t){if(1&i&&(_(0,"div",17),Ce(1,"input",18),_(2,"div",19),Ce(3,"div",20)(4,"div",21),F()()),2&i){const e=Q();Mt("mdc-radio--disabled",e.disabled),E(1),S("checked",e.selected)("disabled",e.disabled)}}function Qde(i,t){}function Zde(i,t){if(1&i&&(_(0,"span",22),ee(1,Qde,0,0,"ng-template",23),F()),2&i){Q();const e=Li(3);E(1),S("ngTemplateOutlet",e)}}function Xde(i,t){}function Jde(i,t){if(1&i&&(_(0,"span",24),ee(1,Xde,0,0,"ng-template",23),F()),2&i){Q();const e=Li(5);E(1),S("ngTemplateOutlet",e)}}function eue(i,t){}function tue(i,t){1&i&&ee(0,eue,0,0,"ng-template",23),2&i&&(Q(),S("ngTemplateOutlet",Li(1)))}function iue(i,t){}function nue(i,t){if(1&i&&(_(0,"span",25),ee(1,iue,0,0,"ng-template",23),F()),2&i){Q();const e=Li(3);E(1),S("ngTemplateOutlet",e)}}function rue(i,t){}function aue(i,t){if(1&i&&(_(0,"span",25),ee(1,rue,0,0,"ng-template",23),F()),2&i){Q();const e=Li(5);E(1),S("ngTemplateOutlet",e)}}function oue(i,t){}function sue(i,t){1&i&&ee(0,oue,0,0,"ng-template",23),2&i&&(Q(),S("ngTemplateOutlet",Li(1)))}const lue=[[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["mat-divider"]],[["","matListItemAvatar",""],["","matListItemIcon",""]]],cue=["[matListItemTitle]","[matListItemLine]","*","mat-divider","[matListItemAvatar],[matListItemIcon]"],hR=new Ke("ListOption");let nw=(()=>{class i{constructor(e){this._elementRef=e}}return i.\u0275fac=function(e){return new(e||i)(k(gt))},i.\u0275dir=Oe({type:i,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]}),i})(),rw=(()=>{class i{constructor(e){this._elementRef=e}}return i.\u0275fac=function(e){return new(e||i)(k(gt))},i.\u0275dir=Oe({type:i,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]}),i})(),mR=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]}),i})(),fR=(()=>{class i{constructor(e){this._listOption=e}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getTogglePosition()}}return i.\u0275fac=function(e){return new(e||i)(k(hR,8))},i.\u0275dir=Oe({type:i,hostVars:4,hostBindings:function(e,n){2&e&&Mt("mdc-list-item__start",n._isAlignedAtStart())("mdc-list-item__end",!n._isAlignedAtStart())}}),i})(),aw=(()=>{class i extends fR{}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275dir=Oe({type:i,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[ot]}),i})(),sM=(()=>{class i extends fR{}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275dir=Oe({type:i,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[ot]}),i})();const due=new Ke("MAT_LIST_CONFIG");let nh=(()=>{class i{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1,this._defaultOptions=ei(due,{optional:!0})}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Ct(e)}get disabled(){return this._disabled}set disabled(e){this._disabled=Ct(e)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,hostVars:1,hostBindings:function(e,n){2&e&&It("aria-disabled",n.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}}),i})(),lM=(()=>{class i{set lines(e){this._explicitLines=wr(e,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(e){this._disableRipple=Ct(e)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(e){this._disabled=Ct(e)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(e,n,r,a,o,c){this._elementRef=e,this._ngZone=n,this._listBase=r,this._platform=a,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new C,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=o||{},this._hostElement=this._elementRef.nativeElement,this._noopAnimations="NoopAnimations"===c,r&&!r._isNonInteractive&&this._initInteractiveListItem(),"button"===this._hostElement.nodeName.toLowerCase()&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),null!==this._rippleRenderer&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!(!this._avatars.length&&!this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new Yf(this,this._ngZone,this._hostElement,this._platform),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add(Pn(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(e){if(!this._lines||!this._titles||!this._unscopedContent)return;e&&this._checkDomForUnscopedTextContent();const n=this._explicitLines??this._inferLinesFromContent(),r=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",n<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",n<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===n),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===n),this._hasUnscopedTextContent){const a=0===this._titles.length&&1===n;r.classList.toggle("mdc-list-item__primary-text",a),r.classList.toggle("mdc-list-item__secondary-text",!a)}else r.classList.remove("mdc-list-item__primary-text"),r.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let e=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(e+=1),e}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(e=>e.nodeType!==e.COMMENT_NODE).some(e=>!(!e.textContent||!e.textContent.trim()))}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Rt),k(nh,8),k(Bn),k(Ld,8),k(Ln,8))},i.\u0275dir=Oe({type:i,contentQueries:function(e,n,r){if(1&e&&(ui(r,aw,4),ui(r,sM,4)),2&e){let a;Ze(a=Xe())&&(n._avatars=a),Ze(a=Xe())&&(n._icons=a)}},hostVars:3,hostBindings:function(e,n){2&e&&(It("aria-disabled",n.disabled),Mt("mdc-list-item--disabled",n.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}}),i})(),uue=(()=>{class i extends nh{}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275cmp=qe({type:i,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],features:[Nt([{provide:nh,useExisting:i}]),ot],ngContentSelectors:aM,decls:1,vars:0,template:function(e,n){1&e&&(Bi(),Ft(0))},styles:[oM],encapsulation:2,changeDetection:0}),i})(),cM=(()=>{class i extends lM{get activated(){return this._activated}set activated(e){this._activated=Ct(e)}constructor(e,n,r,a,o,c){super(e,n,r,a,o,c),this._activated=!1}_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Rt),k(nh,8),k(Bn),k(Ld,8),k(Ln,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,n,r){if(1&e&&(ui(r,rw,5),ui(r,nw,5),ui(r,mR,5)),2&e){let a;Ze(a=Xe())&&(n._lines=a),Ze(a=Xe())&&(n._titles=a),Ze(a=Xe())&&(n._meta=a)}},viewQuery:function(e,n){if(1&e&&(Lt(uR,5),Lt(Ude,5)),2&e){let r;Ze(r=Xe())&&(n._unscopedContent=r.first),Ze(r=Xe())&&(n._itemText=r.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function(e,n){2&e&&(It("aria-current",n._getAriaCurrent()),Mt("mdc-list-item--activated",n.activated)("mdc-list-item--with-leading-avatar",0!==n._avatars.length)("mdc-list-item--with-leading-icon",0!==n._icons.length)("mdc-list-item--with-trailing-meta",0!==n._meta.length)("_mat-animation-noopable",n._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[ot],ngContentSelectors:Gde,decls:10,vars:0,consts:[[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],["unscopedContent",""],[1,"mat-mdc-focus-indicator"]],template:function(e,n){1&e&&(Bi(Wde),Ft(0),_(1,"span",0),Ft(2,1),Ft(3,2),_(4,"span",1,2),pe("cdkObserveContent",function(){return n._updateItemLines(!0)}),Ft(6,3),F()(),Ft(7,4),Ft(8,5),Ce(9,"div",3))},dependencies:[Lf],encapsulation:2,changeDetection:0}),i})();const pR=new Ke("SelectionList");let gR=(()=>{class i extends lM{get checkboxPosition(){return this.togglePosition}set checkboxPosition(e){this.togglePosition=e}get color(){return this._color||this._selectionList.color}set color(e){this._color=e}get value(){return this._value}set value(e){this.selected&&e!==this.value&&this._inputsInitialized&&(this.selected=!1),this._value=e}get selected(){return this._selectionList.selectedOptions.isSelected(this)}set selected(e){const n=Ct(e);n!==this._selected&&(this._setSelected(n),(n||this._selectionList.multiple)&&this._selectionList._reportValueChange())}constructor(e,n,r,a,o,c,h){super(e,n,r,a,c,h),this._selectionList=r,this._changeDetectorRef=o,this.selectedChange=new lt,this.togglePosition="after",this._selected=!1,this._inputsInitialized=!1}ngOnInit(){const e=this._selectionList;e._value&&e._value.some(r=>e.compareWith(this._value,r))&&this._setSelected(!0);const n=this._selected;Promise.resolve().then(()=>{(this._selected||n)&&(this.selected=!0,this._changeDetectorRef.markForCheck())}),this._inputsInitialized=!0}ngOnDestroy(){super.ngOnDestroy(),this.selected&&Promise.resolve().then(()=>{this.selected=!1})}toggle(){this.selected=!this.selected}focus(){this._hostElement.focus()}getLabel(){return(this._titles?.get(0)?._elementRef.nativeElement||this._unscopedContent?.nativeElement)?.textContent||""}_hasCheckboxAt(e){return this._selectionList.multiple&&this._getTogglePosition()===e}_hasRadioAt(e){return!this._selectionList.multiple&&this._getTogglePosition()===e&&!this._selectionList.hideSingleSelectionIndicator}_hasIconsOrAvatarsAt(e){return this._hasProjected("icons",e)||this._hasProjected("avatars",e)}_hasProjected(e,n){return this._getTogglePosition()!==n&&("avatars"===e?0!==this._avatars.length:0!==this._icons.length)}_handleBlur(){this._selectionList._onTouched()}_getTogglePosition(){return this.togglePosition||"after"}_setSelected(e){return e!==this._selected&&(this._selected=e,e?this._selectionList.selectedOptions.select(this):this._selectionList.selectedOptions.deselect(this),this.selectedChange.emit(e),this._changeDetectorRef.markForCheck(),!0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_toggleOnInteraction(){this.disabled||(this._selectionList.multiple?(this.selected=!this.selected,this._selectionList._emitChangeEvent([this])):this.selected||(this.selected=!0,this._selectionList._emitChangeEvent([this])))}_setTabindex(e){this._hostElement.setAttribute("tabindex",e+"")}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Rt),k(pR),k(Bn),k(ni),k(Ld,8),k(Ln,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-list-option"]],contentQueries:function(e,n,r){if(1&e&&(ui(r,rw,5),ui(r,nw,5)),2&e){let a;Ze(a=Xe())&&(n._lines=a),Ze(a=Xe())&&(n._titles=a)}},viewQuery:function(e,n){if(1&e&&Lt(uR,5),2&e){let r;Ze(r=Xe())&&(n._unscopedContent=r.first)}},hostAttrs:["role","option",1,"mat-mdc-list-item","mat-mdc-list-option","mdc-list-item"],hostVars:25,hostBindings:function(e,n){1&e&&pe("blur",function(){return n._handleBlur()})("click",function(){return n._toggleOnInteraction()}),2&e&&(It("aria-selected",n.selected),Mt("mdc-list-item--selected",n.selected&&!n._selectionList.multiple&&n._selectionList.hideSingleSelectionIndicator)("mdc-list-item--with-leading-avatar",n._hasProjected("avatars","before"))("mdc-list-item--with-leading-icon",n._hasProjected("icons","before"))("mdc-list-item--with-trailing-icon",n._hasProjected("icons","after"))("mat-mdc-list-option-with-trailing-avatar",n._hasProjected("avatars","after"))("mdc-list-item--with-leading-checkbox",n._hasCheckboxAt("before"))("mdc-list-item--with-trailing-checkbox",n._hasCheckboxAt("after"))("mdc-list-item--with-leading-radio",n._hasRadioAt("before"))("mdc-list-item--with-trailing-radio",n._hasRadioAt("after"))("mat-accent","primary"!==n.color&&"warn"!==n.color)("mat-warn","warn"===n.color)("_mat-animation-noopable",n._noopAnimations))},inputs:{togglePosition:"togglePosition",checkboxPosition:"checkboxPosition",color:"color",value:"value",selected:"selected"},outputs:{selectedChange:"selectedChange"},exportAs:["matListOption"],features:[Nt([{provide:lM,useExisting:i},{provide:hR,useExisting:i}]),ot],ngContentSelectors:cue,decls:20,vars:6,consts:[["icons",""],["checkbox",""],["radio",""],["class","mdc-list-item__start mat-mdc-list-option-checkbox-before",4,"ngIf"],["class","mdc-list-item__start mat-mdc-list-option-radio-before",4,"ngIf"],[3,"ngIf"],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],["unscopedContent",""],["class","mdc-list-item__end",4,"ngIf"],[1,"mat-mdc-focus-indicator"],[1,"mdc-checkbox"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled"],[1,"mdc-checkbox__background"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],[1,"mdc-radio"],["type","radio",1,"mdc-radio__native-control",3,"checked","disabled"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],[1,"mdc-list-item__start","mat-mdc-list-option-checkbox-before"],[3,"ngTemplateOutlet"],[1,"mdc-list-item__start","mat-mdc-list-option-radio-before"],[1,"mdc-list-item__end"]],template:function(e,n){1&e&&(Bi(lue),ee(0,qde,1,0,"ng-template",null,0,ko),ee(2,$de,6,4,"ng-template",null,1,ko),ee(4,Kde,5,4,"ng-template",null,2,ko),ee(6,Zde,2,1,"span",3),ee(7,Jde,2,1,"span",4),ee(8,tue,1,1,"ng-template",5),_(9,"span",6),Ft(10),Ft(11,1),_(12,"span",7,8),pe("cdkObserveContent",function(){return n._updateItemLines(!0)}),Ft(14,2),F()(),ee(15,nue,2,1,"span",9),ee(16,aue,2,1,"span",9),ee(17,sue,1,1,"ng-template",5),Ft(18,3),Ce(19,"div",10)),2&e&&(E(6),S("ngIf",n._hasCheckboxAt("before")),E(1),S("ngIf",n._hasRadioAt("before")),E(1),S("ngIf",n._hasIconsOrAvatarsAt("before")),E(7),S("ngIf",n._hasCheckboxAt("after")),E(1),S("ngIf",n._hasRadioAt("after")),E(1),S("ngIf",n._hasIconsOrAvatarsAt("after")))},dependencies:[Lf,ri,Ef],styles:['.mat-mdc-list-option-with-trailing-avatar.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mat-mdc-list-option-with-trailing-avatar.mdc-list-item,.mat-mdc-list-option-with-trailing-avatar.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end,.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{width:40px;height:40px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{border-radius:50%}.mat-mdc-list-option .mdc-touch-target-wrapper{display:inline}.mat-mdc-list-option .mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mat-mdc-list-option .mdc-checkbox[hidden]{display:none}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-list-option .mdc-checkbox__mixedmark{margin:0 1px}}.mat-mdc-list-option .mdc-checkbox--disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color}.mat-mdc-list-option .mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0}.mdc-checkbox--upgraded .mat-mdc-list-option .mdc-checkbox__checkmark{opacity:1}.mat-mdc-list-option .mdc-checkbox__checkmark-path{stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mat-mdc-list-option .mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mat-mdc-list-option .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mat-mdc-list-option .mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-list-option .mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:var(--mdc-checkbox-state-layer-size, 48px);height:var(--mdc-checkbox-state-layer-size, 48px)}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{opacity:1}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mat-mdc-list-option .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mat-mdc-list-option .mdc-radio[hidden]{display:none}.mat-mdc-list-option .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-list-option .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:""}.mat-mdc-list-option .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%}.mat-mdc-list-option .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%}.mat-mdc-list-option .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mat-mdc-list-option .mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mat-mdc-list-option .mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mat-mdc-list-option .mdc-radio--disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5)}.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background,.mat-mdc-list-option [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mat-mdc-list-option .mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}@media all and (-ms-high-contrast: none){.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox .mdc-checkbox__focus-ring{display:none}}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__background{transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__mixedmark{transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__background::before{transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:focus+.mdc-radio__background::before{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-checkbox{padding:calc((40px - 18px) / 2);padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);margin:calc((40px - 40px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.38);border-color:var(--mdc-checkbox-disabled-unselected-icon-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:rgba(0, 0, 0, 0.38);background-color:var(--mdc-checkbox-disabled-selected-icon-color, rgba(0, 0, 0, 0.38))}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#018786;border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:#018786;border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:#018786;border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__background{top:calc((40px - 18px) / 2);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);left:calc((40px - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control{top:calc((40px - 40px) / 2);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);right:calc((40px - 40px) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);left:calc((40px - 40px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);width:40px;width:var(--mdc-checkbox-state-layer-size, 40px);height:40px;height:var(--mdc-checkbox-state-layer-size, 40px)}.mat-mdc-list-option .mdc-radio{padding:calc((40px - 20px) / 2);padding:calc((var(--mdc-radio-state-layer-size, 40px) - 20px) / 2)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#000;border-color:var(--mdc-radio-disabled-selected-icon-color, #000)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#000;border-color:var(--mdc-radio-disabled-selected-icon-color, #000)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:#000;border-color:var(--mdc-radio-disabled-unselected-icon-color, #000)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#6200ee;border-color:var(--mdc-radio-selected-icon-color, #6200ee)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#6200ee;border-color:var(--mdc-radio-selected-icon-color, #6200ee)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:#000;border-color:var(--mdc-radio-unselected-icon-color, #000)}.mat-mdc-list-option .mdc-radio .mdc-radio__background::before{top:calc(-1 * (40px - 20px) / 2);top:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);left:calc(-1 * (40px - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);width:40px;width:var(--mdc-radio-state-layer-size, 40px);height:40px;height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control{top:calc((40px - 40px) / 2);top:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);right:calc((40px - 40px) / 2);right:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);left:calc((40px - 40px) / 2);left:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);width:40px;width:var(--mdc-radio-state-layer-size, 40px);height:40px;height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-list-option .mdc-checkbox__native-control,.mat-mdc-list-option .mdc-radio__native-control{display:none}.cdk-high-contrast-active .mat-mdc-list-option.mdc-list-item--selected::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active .mat-mdc-list-option.mdc-list-item--selected [dir=rtl]::after{right:auto;left:16px}'],encapsulation:2,changeDetection:0}),i})(),dM=(()=>{class i extends nh{constructor(){super(...arguments),this._isNonInteractive=!1}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275cmp=qe({type:i,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-mdc-nav-list","mat-mdc-list-base","mdc-list"],exportAs:["matNavList"],features:[Nt([{provide:nh,useExisting:i}]),ot],ngContentSelectors:aM,decls:1,vars:0,template:function(e,n){1&e&&(Bi(),Ft(0))},styles:[oM],encapsulation:2,changeDetection:0}),i})();const hue={provide:Fa,useExisting:di(()=>_R),multi:!0};class mue{constructor(t,e){this.source=t,this.options=e}}let _R=(()=>{class i extends nh{get multiple(){return this._multiple}set multiple(e){const n=Ct(e);n!==this._multiple&&(this._multiple=n,this.selectedOptions=new Uv(this._multiple,this.selectedOptions.selected))}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=Ct(e)}constructor(e,n){super(),this._element=e,this._ngZone=n,this._initialized=!1,this._destroyed=new He,this._onChange=r=>{},this.selectionChange=new lt,this.color="accent",this.compareWith=(r,a)=>r===a,this._multiple=!0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this.selectedOptions=new Uv(this._multiple),this._onTouched=()=>{},this._selectionListDisabled=!1,this._handleFocusout=()=>{setTimeout(()=>{this._containsFocus()||this._resetActiveOption()})},this._handleFocusin=r=>{if(this.disabled)return;const a=this._items.toArray().findIndex(o=>o._elementRef.nativeElement.contains(r.target));a>-1?this._setActiveOption(a):this._resetActiveOption()},this._isNonInteractive=!1}ngAfterViewInit(){this._initialized=!0,this._setupRovingTabindex(),this._ngZone.runOutsideAngular(()=>{this._element.nativeElement.addEventListener("focusin",this._handleFocusin),this._element.nativeElement.addEventListener("focusout",this._handleFocusout)}),this._value&&this._setOptionsFromValues(this._value),this._watchForSelectionChange()}ngOnChanges(e){const n=e.disabled,r=e.disableRipple,a=e.hideSingleSelectionIndicator;(r&&!r.firstChange||n&&!n.firstChange||a&&!a.firstChange)&&this._markOptionsForCheck()}ngOnDestroy(){this._keyManager?.destroy(),this._element.nativeElement.removeEventListener("focusin",this._handleFocusin),this._element.nativeElement.removeEventListener("focusout",this._handleFocusout),this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0}focus(e){this._element.nativeElement.focus(e)}selectAll(){return this._setAllOptionsSelected(!0)}deselectAll(){return this._setAllOptionsSelected(!1)}_reportValueChange(){if(this.options&&!this._isDestroyed){const e=this._getSelectedOptionValues();this._onChange(e),this._value=e}}_emitChangeEvent(e){this.selectionChange.emit(new mue(this,e))}writeValue(e){this._value=e,this.options&&this._setOptionsFromValues(e||[])}setDisabledState(e){this.disabled=e}get disabled(){return this._selectionListDisabled}set disabled(e){this._selectionListDisabled=Ct(e),this._selectionListDisabled&&this._keyManager?.setActiveItem(-1)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}_watchForSelectionChange(){this.selectedOptions.changed.pipe(ii(this._destroyed)).subscribe(e=>{for(let n of e.added)n.selected=!0;for(let n of e.removed)n.selected=!1;this._containsFocus()||this._resetActiveOption()})}_setOptionsFromValues(e){this.options.forEach(n=>n._setSelected(!1)),e.forEach(n=>{const r=this.options.find(a=>!a.selected&&this.compareWith(a.value,n));r&&r._setSelected(!0)})}_getSelectedOptionValues(){return this.options.filter(e=>e.selected).map(e=>e.value)}_markOptionsForCheck(){this.options&&this.options.forEach(e=>e._markForCheck())}_setAllOptionsSelected(e,n){const r=[];return this.options.forEach(a=>{(!n||!a.disabled)&&a._setSelected(e)&&r.push(a)}),r.length&&this._reportValueChange(),r}get options(){return this._items}_handleKeydown(e){const n=this._keyManager.activeItem;if(13!==e.keyCode&&32!==e.keyCode||this._keyManager.isTyping()||!n||n.disabled)if(65===e.keyCode&&this.multiple&&!this._keyManager.isTyping()&&ba(e,"ctrlKey")){const r=this.options.some(a=>!a.disabled&&!a.selected);e.preventDefault(),this._emitChangeEvent(this._setAllOptionsSelected(r,!0))}else this._keyManager.onKeydown(e);else e.preventDefault(),n._toggleOnInteraction()}_setupRovingTabindex(){this._keyManager=new Vg(this._items).withHomeAndEnd().withTypeAhead().withWrap().skipPredicate(()=>this.disabled),this._resetActiveOption(),this._keyManager.change.subscribe(e=>this._setActiveOption(e)),this._items.changes.pipe(ii(this._destroyed)).subscribe(()=>{const e=this._keyManager.activeItem;(!e||!this._items.toArray().indexOf(e))&&this._resetActiveOption()})}_setActiveOption(e){this._items.forEach((n,r)=>n._setTabindex(r===e?0:-1)),this._keyManager.updateActiveItem(e)}_resetActiveOption(){if(this.disabled)return void this._setActiveOption(-1);const e=this._items.find(n=>n.selected&&!n.disabled)||this._items.first;this._setActiveOption(e?this._items.toArray().indexOf(e):-1)}_containsFocus(){const e=Vb();return e&&this._element.nativeElement.contains(e)}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Rt))},i.\u0275cmp=qe({type:i,selectors:[["mat-selection-list"]],contentQueries:function(e,n,r){if(1&e&&ui(r,gR,5),2&e){let a;Ze(a=Xe())&&(n._items=a)}},hostAttrs:["role","listbox",1,"mat-mdc-selection-list","mat-mdc-list-base","mdc-list"],hostVars:1,hostBindings:function(e,n){1&e&&pe("keydown",function(a){return n._handleKeydown(a)}),2&e&&It("aria-multiselectable",n.multiple)},inputs:{color:"color",compareWith:"compareWith",multiple:"multiple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",disabled:"disabled"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[Nt([hue,{provide:nh,useExisting:i},{provide:pR,useExisting:i}]),ot,or],ngContentSelectors:aM,decls:1,vars:0,template:function(e,n){1&e&&(Bi(),Ft(0))},styles:[oM],encapsulation:2,changeDetection:0}),i})(),fue=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Hg,Dr,Qt,qs,f6,zde]}),i})();class M0{constructor(){}transform(t){return t?oR.find(e=>e.id==t)?.name:"Pipes"}}function pue(i,t){1&i&&(_(0,"span"),N(1,"Public"),F())}function gue(i,t){1&i&&(_(0,"span"),N(1,"Private"),F())}function _ue(i,t){if(1&i){const e=Je();_(0,"button",14),pe("click",function(){Te(e);const r=Q().$implicit;return Ae(Q().deleteCircle(r.id))}),_(1,"mat-icon"),N(2,"delete"),F(),_(3,"span"),N(4,"Delete Circle"),F()()}}function bue(i,t){if(1&i){const e=Je();_(0,"mat-card",2),pe("click",function(r){const o=Te(e).$implicit;return Ae(Q().navigation.openFeed(r,o))}),_(1,"div",3)(2,"mat-icon",4),N(3,"trip_origin"),F()(),_(4,"div",5),N(5),Ce(6,"br"),_(7,"span",6)(8,"span"),N(9),F()(),Ce(10,"br"),_(11,"span",6),ee(12,pue,2,0,"span",7),ee(13,gue,2,0,"span",7),N(14),mi(15,"circlestyle"),mi(16,"ago"),F()(),_(17,"div",5)(18,"button",8)(19,"mat-icon",9),N(20,"more_vert"),F()(),_(21,"mat-menu",null,10)(23,"button",11)(24,"mat-icon"),N(25,"copy_all"),F(),_(26,"span"),N(27,"Copy"),F()(),ee(28,_ue,5,0,"button",12),F(),_(29,"mat-menu",null,13)(31,"button",14),pe("click",function(){const a=Te(e).$implicit;return Ae(Q().copyPubKeys(a))}),_(32,"mat-icon"),N(33,"content_copy"),F(),_(34,"span"),N(35,"Public Keys (npub)"),F()(),_(36,"button",14),pe("click",function(){const a=Te(e).$implicit;return Ae(Q().copyPubKeysHex(a))}),_(37,"mat-icon"),N(38,"content_copy"),F(),_(39,"span"),N(40,"Public Keys (hex)"),F()()()()()}if(2&i){const e=t.$implicit,n=Li(22),r=Li(30),a=Q();E(2),sr("color",e.color),E(3),Gt(" ",e.name,""),E(4),Gt("Count: ",a.countMembers(e),""),E(3),S("ngIf",e.public),E(1),S("ngIf",!e.public),E(1),yd(" - ",gi(15,11,e.style)," - Created: ",gi(16,13,e.created),""),E(4),S("matMenuTriggerFor",n),E(5),S("matMenuTriggerFor",r),E(5),S("ngIf",e.id)}}M0.\u0275fac=function(t){return new(t||M0)},M0.\u0275pipe=Mr({name:"circlestyle",type:M0,pure:!0});class E0{constructor(t,e,n,r,a,o,c,h,f,x,P,$,te){this.navigation=t,this.appState=e,this.circleService=n,this.profileService=r,this.dialog=a,this.validator=o,this.utilities=c,this.authService=h,this.router=f,this.dataService=x,this.snackBar=P,this.cd=$,this.ngZone=te,this.loading=!1,this.subscriptions=[]}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}deleteCircle(t){var e=this;return Se(function*(){const n=e.getFollowingInCircle(t).map(a=>a.pubkey);yield e.circleService.delete(t);for(var r=0;r<n.length;r++)yield e.profileService.setCircle(n[r],0)})()}countMembers(t){return this.getFollowingInCircle(t.id).length}copy(t){Uy(t),this.snackBar.open("Copied to clipboard","Hide",{duration:2500,horizontalPosition:"center",verticalPosition:"bottom"})}getFollowingInCircle(t){return this.profileService.following.filter(null==t?e=>null==e.circle||0==e.circle:e=>e.circle==t)}copyPubKeys(t){let e=this.getPublicKeys(t);e=e.map(n=>this.utilities.getNostrIdentifier(n)),this.copy(JSON.stringify(e))}copyPubKeysHex(t){const e=this.getPublicKeys(t);this.copy(JSON.stringify(e))}getPublicKeys(t){return this.getFollowingInCircle(t.id).map(r=>r.pubkey)}getPublicPublicKeys(){console.log(this.profileService.following);const t=[];for(let e=0;e<this.circleService.circles.length;e++){const n=this.circleService.circles[e];if(n.public){const a=this.getFollowingInCircle(n.id).map(o=>o.pubkey);t.push(...a)}}return t}getNpub(t){return this.utilities.getNostrIdentifier(t)}createCircle(){var t=this;this.dialog.open(k0,{data:{name:"",style:1,public:!0},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=Se(function*(r){r&&t.circleService.put(r)});return function(r){return n.apply(this,arguments)}}())}ngOnInit(){var t=this;return Se(function*(){t.appState.updateTitle("Circles"),t.appState.showBackButton=!1,t.appState.actions=[{icon:"add_circle",tooltip:"Create Circle",click:()=>{t.createCircle()}}]})()}}E0.\u0275fac=function(t){return new(t||E0)(k(yo),k(Zi),k(Ro),k(Hn),k(Ia),k(Xo),k(an),k(La),k(qn),k(Ba),k(us),k(ni),k(Rt))},E0.\u0275cmp=qe({type:E0,selectors:[["app-circles"]],decls:4,vars:1,consts:[[1,"feed-page"],["class","circle circle-container clickable",3,"click",4,"ngFor","ngForOf"],[1,"circle","circle-container","clickable",3,"click"],[1,"circle-item"],["matListItemIcon",""],[1,"circle-item","clickable"],[1,"dimmed","clickable"],[4,"ngIf"],["mat-icon-button","",1,"circle-button",3,"matMenuTriggerFor"],[1,"circle-button-icon"],["menu","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item","",3,"click",4,"ngIf"],["copyMenu","matMenu"],["mat-menu-item","",3,"click"]],template:function(t,e){1&t&&(_(0,"div",0),ee(1,bue,41,15,"mat-card",1),_(2,"small"),N(3,"Circles is how you organize people you follow. Different circles can have different rules applied and circles is an important way to make the experience more enjoyable."),F()()),2&t&&(E(1),S("ngForOf",e.circleService.circles))},dependencies:[vn,ri,bo,Pa,Qn,sM,pm,ed,c0,Js,M0],styles:[".loading[_ngcontent-%COMP%]{margin:auto}.input-full-width[_ngcontent-%COMP%]{width:100%!important}.search[_ngcontent-%COMP%]{margin-top:1em;padding:1em 1em 0;margin-bottom:1em;border-radius:10px}.circle-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-content:center;align-items:center;column-gap:1em;margin-top:1em;padding:1em;margin-bottom:1em;border-radius:10px}.circle-item[_ngcontent-%COMP%]:nth-child(1){order:0;flex:0 1 auto;align-self:auto}.circle-item[_ngcontent-%COMP%]:nth-child(2){order:0;flex:1 1 auto;align-self:auto}.circle-item[_ngcontent-%COMP%]:nth-child(3){order:0;flex:0 1 auto;align-self:auto}.circle-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:.4em;margin-bottom:.4em}"]});class S0{constructor(t,e){this.dialogRef=t,this.data=e}onNoClick(){this.data.pubkey="",this.dialogRef.close()}}S0.\u0275fac=function(t){return new(t||S0)(k(Ts),k(kl))},S0.\u0275cmp=qe({type:S0,selectors:[["create-follow-dialog"]],decls:15,vars:2,consts:[[1,"dialog"],["mat-dialog-title",""],["mat-dialog-content","",1,"mat-dialog-content"],["appearance","fill",1,"input-full-width"],["matPrefix","",1,"circle"],["matInput","","type","text",3,"ngModel","ngModelChange"],["mat-dialog-actions","","align","end",1,"mat-dialog-actions"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"h1",1),N(2,"Enter Public Key or Alias (NIP-05) to Follow"),F(),_(3,"div",2)(4,"mat-form-field",3)(5,"mat-icon",4),N(6,"person_add"),F(),_(7,"mat-label"),N(8,"Public Key / Alias"),F(),_(9,"input",5),pe("ngModelChange",function(r){return e.data.pubkey=r}),F()()(),_(10,"div",6)(11,"button",7),pe("click",function(){return e.onNoClick()}),N(12,"Cancel"),F(),_(13,"button",8),N(14,"Follow"),F()()()),2&t&&(E(9),S("ngModel",e.data.pubkey),E(4),S("mat-dialog-close",e.data))},dependencies:[Do,Oa,eo,Kc,ur,Qn,xa,ua,Ca,Wh,Gh,tc,Vc],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}"]});class T0{constructor(t,e,n){this.eventService=t,this.dialogRef=e,this.data=n}onNoClick(){this.data.pubkey="",this.dialogRef.close()}import(){this.data.import=!0,this.dialogRef.close(this.data)}onFileSelected(t){var e=t.target.files[0],n=new FileReader;n.onload=()=>{const r=JSON.parse(n.result),a=this.eventService.pTags(r).map(o=>o[1]);this.data.pubkeys=a,this.dialogRef.close(this.data)},n.readAsText(e)}}function yue(i,t){if(1&i&&(_(0,"span",23),N(1),mi(2,"ago"),F()),2&i){const e=Q().$implicit;E(1),Gt("Followed ",gi(2,1,e.created),"")}}function vue(i,t){if(1&i){const e=Je();_(0,"mat-card",17),pe("click",function(r){const o=Te(e).$implicit;return Ae(Q(3).navigation.openProfile(r,o))}),_(1,"div",18)(2,"app-event-header",19)(3,"small"),ee(4,yue,3,3,"span",20),Ce(5,"app-directory-icon",21),F()(),Ce(6,"app-profile-actions",19),F(),_(7,"div",22),N(8),F()()}if(2&i){const e=t.$implicit;E(2),S("profile",e),E(2),S("ngIf",e.created),E(1),S("pubkey",e.pubkey),E(1),S("profile",e),E(2),yt(e.about)}}function wue(i,t){if(1&i&&ee(0,vue,9,5,"mat-card",16),2&i){const e=Q(2);S("ngForOf",e.sortedItems)("ngForTrackBy",e.trackByFn)}}function Fue(i,t){if(1&i&&Ce(0,"app-event-header",25),2&i){const e=t.$implicit;S("listType","content")("iconSize","small")("displayName",!0)("displayContent",!0)("profile",e)}}function xue(i,t){if(1&i&&ee(0,Fue,1,5,"app-event-header",24),2&i){const e=Q(2);S("ngForOf",e.sortedItems)("ngForTrackBy",e.trackByFn)}}function Cue(i,t){if(1&i&&Ce(0,"app-event-header",25),2&i){const e=t.$implicit;S("listType","details")("iconSize","small")("displayName",!0)("displayContent",!0)("profile",e)}}function kue(i,t){if(1&i&&ee(0,Cue,1,5,"app-event-header",24),2&i){const e=Q(2);S("ngForOf",e.sortedItems)("ngForTrackBy",e.trackByFn)}}function Due(i,t){if(1&i&&Ce(0,"app-event-header",27),2&i){const e=t.$implicit;S("iconSize","small")("displayName",!1)("displayContent",!1)("profile",e)}}function Mue(i,t){if(1&i&&ee(0,Due,1,4,"app-event-header",26),2&i){const e=Q(2);S("ngForOf",e.sortedItems)("ngForTrackBy",e.trackByFn)}}function Eue(i,t){if(1&i&&Ce(0,"app-event-header",25),2&i){const e=t.$implicit;S("listType","icon")("iconSize","small")("displayName",!1)("displayContent",!1)("profile",e)}}function Sue(i,t){if(1&i&&ee(0,Eue,1,5,"app-event-header",24),2&i){const e=Q(2);S("ngForOf",e.sortedItems)("ngForTrackBy",e.trackByFn)}}function Tue(i,t){if(1&i&&Ce(0,"app-event-header",25),2&i){const e=t.$implicit;S("listType","icon")("iconSize","medium")("displayName",!1)("displayContent",!1)("profile",e)}}function Aue(i,t){if(1&i&&ee(0,Tue,1,5,"app-event-header",24),2&i){const e=Q(2);S("ngForOf",e.sortedItems)("ngForTrackBy",e.trackByFn)}}function Iue(i,t){if(1&i&&Ce(0,"app-event-header",25),2&i){const e=t.$implicit;S("listType","icon")("iconSize","large")("displayName",!1)("displayContent",!1)("profile",e)}}function Lue(i,t){if(1&i&&ee(0,Iue,1,5,"app-event-header",24),2&i){const e=Q(2);S("ngForOf",e.sortedItems)("ngForTrackBy",e.trackByFn)}}function Nue(i,t){if(1&i&&(ee(0,wue,1,2,"ng-template",14),ee(1,xue,1,2,"ng-template",14),ee(2,kue,1,2,"ng-template",14),ee(3,Mue,1,2,"ng-template",14),ee(4,Sue,1,2,"ng-template",14),ee(5,Aue,1,2,"ng-template",14),ee(6,Lue,1,2,"ng-template",14)),2&i){const e=Q();S("ngIf",0==e.optionsService.values.peopleDisplayView||null==e.optionsService.values.peopleDisplayView),E(1),S("ngIf",1==e.optionsService.values.peopleDisplayView),E(1),S("ngIf",2==e.optionsService.values.peopleDisplayView),E(1),S("ngIf",3==e.optionsService.values.peopleDisplayView),E(1),S("ngIf",4==e.optionsService.values.peopleDisplayView),E(1),S("ngIf",5==e.optionsService.values.peopleDisplayView),E(1),S("ngIf",6==e.optionsService.values.peopleDisplayView)}}function Oue(i,t){1&i&&Ce(0,"mat-spinner",28)}T0.\u0275fac=function(t){return new(t||T0)(k(Jo),k(Ts),k(kl))},T0.\u0275cmp=qe({type:T0,selectors:[["import-follow-dialog"]],decls:14,vars:0,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"mat-dialog-content"],["mat-stroked-button","",3,"click"],["type","file","accept",".json",3,"change"],["mat-dialog-actions","","align","end",1,"mat-dialog-actions"]],template:function(t,e){1&t&&(_(0,"h1",0),N(1,"Import complete following list"),F(),_(2,"div",1)(3,"p"),N(4,"Choose if you want to import from your latest contacts event or from file (backup) on your device."),F(),_(5,"p")(6,"button",2),pe("click",function(){return e.import()}),N(7,"Import my latest contacts"),F()(),_(8,"p"),N(9," Import from file: "),_(10,"input",3),pe("change",function(r){return e.onFileSelected(r)}),F()()(),_(11,"div",4)(12,"button",2),pe("click",function(){return e.onNoClick()}),N(13,"Cancel"),F()())},dependencies:[ur,Gh,tc,Vc],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}"]});const Rue=function(i){return[i]};class A0{constructor(t,e,n,r,a,o,c,h,f,x,P,$){this.circleService=t,this.navigation=e,this.appState=n,this.cd=r,this.dialog=a,this.profileService=o,this.validator=c,this.dataService=h,this.utilities=f,this.router=x,this.snackBar=P,this.optionsService=$,this.loading=!1,this.showBlocked=!1,this.showCached=!1,this.showMuted=!1,this.showAbout=!0,this.showFollowingDate=!0,this.following=[],this.items=[],this.sortedItems=[],this.selected="name-asc",this.subscriptions=[]}updateSorting(){this.optionsService.save();const t=this.optionsService.values.peopleDisplaySort;"name-asc"===t?this.sortedItems=this.items.sort((e,n)=>e.name?.toLowerCase()<n.name?.toLowerCase()?-1:1):"name-desc"===t?this.sortedItems=this.items.sort((e,n)=>e.name?.toLowerCase()<n.name?.toLowerCase()?1:-1):"followed-asc"===t?this.sortedItems=this.items.sort((e,n)=>e.followed<n.followed?1:-1):"followed-desc"===t?this.sortedItems=this.items.sort((e,n)=>e.followed<n.followed?-1:1):"created-asc"===t?this.sortedItems=this.items.sort((e,n)=>e.created_at<n.created_at?-1:1):"created-desc"===t&&(this.sortedItems=this.items.sort((e,n)=>e.created_at<n.created_at?1:-1))}showChanged(){this.load(),this.optionsService.save()}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}load(){var t=this;return Se(function*(){t.loading=!0,t.items=1==t.optionsService.values.peopleDisplayType?t.profileService.following:yield t.profileService.getProfilesByStatus(t.optionsService.values.peopleDisplayType),t.updateSorting(),t.loading=!1})()}trackByFn(t,e){return`${e.pubkey}${e.modified}${e.circle}`}ngOnInit(){var t=this;return Se(function*(){t.appState.updateTitle("People"),t.appState.showBackButton=!1,t.appState.actions=[{icon:"person_add",tooltip:"Add a person",click:()=>{t.createFollow()}}],yield t.load(),t.subscriptions.push(t.profileService.following$.subscribe(Se(function*(){console.log("FOLLOWING CHANGED!!!"),yield t.load()}))),t.subscriptions.push(t.profileService.profilesChanged$.subscribe(Se(function*(){console.log("profileService.profilesChanged$!!"),yield t.load()})))})()}getFollowingInCircle(t){return this.following.filter(null==t?e=>null==e.circle||0==e.circle:e=>e.circle==t)}getPublicPublicKeys(){console.log(this.following);const t=[];for(let e=0;e<this.circleService.circles.length;e++){const n=this.circleService.circles[e];if(n.public){const a=this.getFollowingInCircle(n.id).map(o=>o.pubkey);t.push(...a)}}return t}addFollow(t){var e=this;return Se(function*(){t.startsWith("nsec")?e.snackBar.open("This is a private key, not a public key.","Hide",{horizontalPosition:"center",verticalPosition:"bottom"}):(t=e.utilities.ensureHexIdentifier(t),yield e.profileService.follow(t))})()}createFollow(){var t=this;this.dialog.open(S0,{data:{},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=Se(function*(r){if(!r)return;let a=r.pubkey;a=a.replaceAll("[","").replaceAll("]","").replaceAll('"',"");const o=a.split(",");for(let c=0;c<o.length;c++){if(o[c].startsWith("nostr:")&&(o[c]=o[0].replace("nostr:","")),o[c].indexOf(".")>-1){o[c].startsWith("@")&&(o[c]=o[c].substring(1));const h=yield Gk.queryProfile(o[c]);if(!h)return void t.snackBar.open("Unable to find the user.","Hide",{duration:2e3,horizontalPosition:"center",verticalPosition:"bottom"});o[c]=h.pubkey}yield t.addFollow(o[c])}setTimeout(()=>{t.router.navigate(["/p",o[0]])},100)});return function(r){return n.apply(this,arguments)}}())}publishFollowList(){var t=this;return Se(function*(){const e=t.getPublicPublicKeys();yield t.dataService.publishContacts(e),t.snackBar.open(`A total of ${e.length} was added to your public following list`,"Hide",{duration:2e3,horizontalPosition:"center",verticalPosition:"bottom"})})()}downloadFollowing(){var t=this;return Se(function*(){const e=yield t.dataService.getContactsAndRelays(),n=JSON.stringify(e),r=new Blob([n],{type:"application/json"}),a=document.createElement("a");a.href=URL.createObjectURL(r),a.download=`metadata-${t.appState.getPublicKey()}.json`,a.click()})()}importFollowList(){var t=this;return Se(function*(){t.dialog.open(T0,{data:{pubkey:t.appState.getPublicKey()},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=Se(function*(r){if(r)if(t.snackBar.open("Importing followers process has started","Hide",{duration:2e3,horizontalPosition:"center",verticalPosition:"bottom"}),r.import){const a=yield t.profileService.getProfile(t.appState.getPublicKey());if(!a||!a.following)return;for(let o=0;o<a.following.length;o++){const c=a.following[o];yield t.profileService.follow(c)}}else for(let a=0;a<r.pubkeys.length;a++){const o=r.pubkeys[a];yield t.profileService.follow(o)}});return function(r){return n.apply(this,arguments)}}())})()}}A0.\u0275fac=function(t){return new(t||A0)(k(Ro),k(yo),k(Zi),k(ni),k(Ia),k(Hn),k(Xo),k(Ba),k(an),k(qn),k(us),k(Sr))},A0.\u0275cmp=qe({type:A0,selectors:[["app-people"]],decls:62,vars:19,consts:[[1,"feed-page"],[1,"options"],[1,"options-field"],[3,"value","selectionChange","valueChange"],[3,"value"],["value","name-asc"],["value","name-desc"],["value","followed-asc"],["value","followed-desc"],["value","created-asc"],["value","created-desc"],[1,"people-actions"],["mat-stroked-button","",3,"click"],[1,"people-list",3,"ngClass"],[3,"ngIf"],[1,"centered"],["class","people-card people clickable",3,"click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"people-card","people","clickable",3,"click"],[1,"events-header"],[3,"profile"],["class","clickable",4,"ngIf"],[3,"pubkey"],[1,"content","clickable"],[1,"clickable"],[3,"listType","iconSize","displayName","displayContent","profile",4,"ngFor","ngForOf","ngForTrackBy"],[3,"listType","iconSize","displayName","displayContent","profile"],[3,"iconSize","displayName","displayContent","profile",4,"ngFor","ngForOf","ngForTrackBy"],[3,"iconSize","displayName","displayContent","profile"],[1,"loading"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"div",1)(2,"mat-accordion")(3,"mat-expansion-panel")(4,"mat-expansion-panel-header")(5,"mat-panel-title"),N(6,"Options"),F(),Ce(7,"mat-panel-description"),F(),_(8,"mat-form-field",2)(9,"mat-label"),N(10,"Show"),F(),_(11,"mat-select",3),pe("selectionChange",function(){return e.showChanged()})("valueChange",function(r){return e.optionsService.values.peopleDisplayType=r}),_(12,"mat-option",4),N(13,"Following"),F(),_(14,"mat-option",4),N(15,"Muted"),F(),_(16,"mat-option",4),N(17,"Blocked"),F(),_(18,"mat-option",4),N(19,"Cached"),F()()(),_(20,"mat-form-field",2)(21,"mat-label"),N(22,"Sorting"),F(),_(23,"mat-select",3),pe("selectionChange",function(){return e.updateSorting()})("valueChange",function(r){return e.optionsService.values.peopleDisplaySort=r}),_(24,"mat-option",5),N(25,"Name (A-Z)"),F(),_(26,"mat-option",6),N(27,"Name (Z-A)"),F(),_(28,"mat-option",7),N(29,"Followed (Newest)"),F(),_(30,"mat-option",8),N(31,"Followed (Oldest)"),F(),_(32,"mat-option",9),N(33,"Updated (Newest)"),F(),_(34,"mat-option",10),N(35,"Updated (Oldest)"),F()()(),_(36,"mat-form-field",2)(37,"mat-label"),N(38,"View"),F(),_(39,"mat-select",3),pe("selectionChange",function(){return e.showChanged()})("valueChange",function(r){return e.optionsService.values.peopleDisplayView=r}),_(40,"mat-option",4),N(41,"Large icons"),F(),_(42,"mat-option",4),N(43,"Medium icons"),F(),_(44,"mat-option",4),N(45,"Small icons"),F(),_(46,"mat-option",4),N(47,"Details"),F(),_(48,"mat-option",4),N(49,"Tiles"),F(),_(50,"mat-option",4),N(51,"Content"),F()()(),_(52,"p",11)(53,"button",12),pe("click",function(){return e.dataService.publishContactsAndRelays()}),N(54,"Publish Follow (and Relays) List"),F(),_(55,"button",12),pe("click",function(){return e.downloadFollowing()}),N(56,"Save Public Following (backup)"),F()()()()(),_(57,"div",13),ee(58,Nue,7,7,"ng-template",14),ee(59,Oue,1,0,"ng-template",14),F(),_(60,"p",15),N(61),F()()),2&t&&(E(11),S("value",e.optionsService.values.peopleDisplayType),E(1),S("value",1),E(2),S("value",2),E(2),S("value",3),E(2),S("value",0),E(5),S("value",e.optionsService.values.peopleDisplaySort),E(16),S("value",e.optionsService.values.peopleDisplayView),E(1),S("value",6),E(2),S("value",5),E(2),S("value",4),E(2),S("value",2),E(2),S("value",0),E(2),S("value",1),E(7),S("ngClass",yn(17,Rue,"people-list-"+e.optionsService.values.peopleDisplayView)),E(1),S("ngIf",!e.loading),E(1),S("ngIf",e.loading),E(2),Gt("Count: ",e.sortedItems.length,""))},dependencies:[qa,vn,ri,Oa,eo,ur,y0,ku,Pa,sc,Xc,Jc,Zd,Qd,jv,Tl,ms,ym,Js],styles:[".loading[_ngcontent-%COMP%]{margin:2em auto}.input-full-width[_ngcontent-%COMP%]{width:100%!important}.search[_ngcontent-%COMP%]{margin-top:1em;padding:1em 1em 0;margin-bottom:1em;border-radius:10px}.people-list[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;gap:1em;margin-top:1em}.people-list-1[_ngcontent-%COMP%], .people-list-2[_ngcontent-%COMP%]{display:block}.people-card[_ngcontent-%COMP%]{flex:1 1 240px}.profile-banner[_ngcontent-%COMP%]{min-height:240px;background-repeat:no-repeat;background-position:center;background-size:cover;margin-top:-2em}.people-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:.4em;margin-bottom:.4em}"]});class td{constructor(t,e,n,r,a,o,c){this.ui=t,this.storage=e,this.queueService=n,this.eventService=r,this.profileService=a,this.dataService=o,this.navigationService=c,this.hasLoaded=!1,this.ui.events$.subscribe(h=>{h&&this.buildTree(h)}),this.ui.event$.subscribe(h=>{if(null==h)return;let f=this.eventService.rootEventId(h);f||(f=h.id),this.eventService.parentEventId(h)})}getEvent(t){return this.ui.events.find(e=>e.id==t)}getTreeEntry(t){return this.ui.getThreadEntry(t)}buildTree(t){t.length>1e3&&console.log("There are more than 1000 events... likely spam!")}replyEventId(t,e){for(let n=0;n<t.length;n++){const r=t[n];if(r.length>3&&"reply"==r[3])return r[1]}return null==t[1]?t[0][1]:t[1][1]}rootEventId(t){for(let e=0;e<t.length;e++){const n=t[e];if(n.length>3&&"root"==n[3])return n[1]}return t[0][1]}loadEventThread(t){this.navigationService.currentThread=[]}}function Pue(i,t){if(1&i&&(_(0,"span",4),N(1),F()),2&i){const e=Q(2);E(1),Gt("\u{1f501} ",null==e.threadEntry?null:e.threadEntry.boosts,"")}}function Bue(i,t){if(1&i&&(_(0,"span",4),N(1),F()),2&i){const e=t.$implicit;E(1),yd(" ",e.key," ",e.value," ")}}td.\u0275fac=function(t){return new(t||td)(Fe($r),Fe(Ra),Fe(es),Fe(Jo),Fe(Hn),Fe(Ba),Fe(yo))},td.\u0275prov=Qe({token:td,factory:td.\u0275fac,providedIn:"root"});const Hue=function(i,t){return{"no-lines":i,lines:t}};function Vue(i,t){if(1&i&&(_(0,"div",1),ee(1,Pue,2,1,"span",2),ee(2,Bue,2,2,"span",3),mi(3,"keyvalue"),F()),2&i){const e=Q();S("ngClass",Ws(5,Hue,!e.optionsService.values.showLines,e.optionsService.values.showLines)),E(1),S("ngIf",null==e.threadEntry?null:e.threadEntry.boosts),E(1),S("ngForOf",gi(3,3,e.threadEntry.reactions))}}class rh{constructor(t,e,n){this.thread=t,this.ui=e,this.optionsService=n,this.imagePath="/assets/profile.png",this.tooltip="",this.tooltipName="",this.profileName=""}ngAfterViewInit(){}ngOnInit(){var t=this;return Se(function*(){if(!t.optionsService.values.enableReactions)return t.event=void 0,void(t.threadEntry=void 0);t.sub=t.ui.reactions$.subscribe(e=>{t.event&&e==t.event.id&&(t.threadEntry=t.thread.getTreeEntry(t.event.id))}),t.threadEntry=t.thread.getTreeEntry(t.event?.id)})()}ngOnDestroy(){this.sub?.unsubscribe()}}function Yue(i,t){1&i&&N(0),2&i&&yt(Q(2).unified)}function jue(i,t){if(1&i){const e=Je();_(0,"button",2),pe("click",function(r){return Te(e),Ae(Q().handleClick(r))})("mouseenter",function(r){return Te(e),Ae(Q().handleOver(r))})("mouseleave",function(r){return Te(e),Ae(Q().handleLeave(r))}),_(1,"span",3),ee(2,Yue,1,1,"ng-template",4),Ft(3),F()()}if(2&i){const e=Q();Mt("emoji-mart-emoji-native",e.isNative)("emoji-mart-emoji-custom",e.custom),It("title",e.title)("aria-label",e.label),E(1),S("ngStyle",e.style),E(1),S("ngIf",e.isNative)}}function zue(i,t){1&i&&N(0),2&i&&yt(Q(2).unified)}function Uue(i,t){if(1&i){const e=Je();_(0,"span",5),pe("click",function(r){return Te(e),Ae(Q().handleClick(r))})("mouseenter",function(r){return Te(e),Ae(Q().handleOver(r))})("mouseleave",function(r){return Te(e),Ae(Q().handleLeave(r))}),_(1,"span",3),ee(2,zue,1,1,"ng-template",4),Ft(3,1),F()()}if(2&i){const e=Q();Mt("emoji-mart-emoji-native",e.isNative)("emoji-mart-emoji-custom",e.custom),It("title",e.title)("aria-label",e.label),E(1),S("ngStyle",e.style),E(1),S("ngIf",e.isNative)}}rh.\u0275fac=function(t){return new(t||rh)(k(td),k($r),k(Sr))},rh.\u0275cmp=qe({type:rh,selectors:[["app-event-reactions"]],inputs:{event:"event"},decls:1,vars:1,consts:[["class","thread-reactions",3,"ngClass",4,"ngIf"],[1,"thread-reactions",3,"ngClass"],["class","thread-reaction",4,"ngIf"],["class","thread-reaction",4,"ngFor","ngForOf"],[1,"thread-reaction"]],template:function(t,e){1&t&&ee(0,Vue,4,8,"div",0),2&t&&S("ngIf",(null==e.threadEntry?null:e.threadEntry.boosts)||(null==e.threadEntry?null:e.threadEntry.reactions))},dependencies:[qa,vn,ri,jA],styles:[".thread-reactions[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em;padding-bottom:.4em}.thread-reaction[_ngcontent-%COMP%]{margin-right:.75em}"]});const bR=["*","*"],yR=[{id:"people",name:"Smileys & People",emojis:["1F600","1F603","1F604","1F601","1F606","1F605","1F923","1F602","1F642","1F643","1F609","1F60A","1F607","1F970","1F60D","1F929","1F618","1F617","263A-FE0F","1F61A","1F619","1F972","1F60B","1F61B","1F61C","1F92A","1F61D","1F911","1F917","1F92D","1F92B","1F914","1F910","1F928","1F610","1F611","1F636","1F60F","1F612","1F644","1F62C","1F925","1F60C","1F614","1F62A","1F924","1F634","1F637","1F912","1F915","1F922","1F92E","1F927","1F975","1F976","1F974","1F635","1F92F","1F920","1F973","1F978","1F60E","1F913","1F9D0","1F615","1F61F","1F641","2639-FE0F","1F62E","1F62F","1F632","1F633","1F97A","1F626","1F627","1F628","1F630","1F625","1F622","1F62D","1F631","1F616","1F623","1F61E","1F613","1F629","1F62B","1F971","1F624","1F621","1F620","1F92C","1F608","1F47F","1F480","2620-FE0F","1F4A9","1F921","1F479","1F47A","1F47B","1F47D","1F47E","1F916","1F63A","1F638","1F639","1F63B","1F63C","1F63D","1F640","1F63F","1F63E","1F648","1F44B","1F91A","1F590-FE0F","270B","1F596","1F44C","1F90C","1F90F","270C-FE0F","1F91E","1F91F","1F918","1F919","1F448","1F449","1F446","1F595","1F447","261D-FE0F","1F44D","1F44E","270A","1F44A","1F91B","1F91C","1F44F","1F64C","1F450","1F932","1F91D","1F64F","270D-FE0F","1F485","1F933","1F4AA","1F9BE","1F9BF","1F9B5","1F9B6","1F442","1F9BB","1F443","1F9E0","1FAC0","1FAC1","1F9B7","1F9B4","1F440","1F441-FE0F","1F445","1F444","1F476","1F9D2","1F466","1F467","1F9D1","1F471","1F468","1F9D4","1F468-200D-1F9B0","1F468-200D-1F9B1","1F468-200D-1F9B3","1F468-200D-1F9B2","1F469","1F469-200D-1F9B0","1F9D1-200D-1F9B0","1F469-200D-1F9B1","1F9D1-200D-1F9B1","1F469-200D-1F9B3","1F9D1-200D-1F9B3","1F469-200D-1F9B2","1F9D1-200D-1F9B2","1F471-200D-2640-FE0F","1F471-200D-2642-FE0F","1F9D3","1F474","1F475","1F64D","1F64D-200D-2642-FE0F","1F64D-200D-2640-FE0F","1F64E","1F64E-200D-2642-FE0F","1F64E-200D-2640-FE0F","1F645","1F645-200D-2642-FE0F","1F645-200D-2640-FE0F","1F646","1F646-200D-2642-FE0F","1F646-200D-2640-FE0F","1F481","1F481-200D-2642-FE0F","1F481-200D-2640-FE0F","1F64B","1F64B-200D-2642-FE0F","1F64B-200D-2640-FE0F","1F9CF","1F9CF-200D-2642-FE0F","1F9CF-200D-2640-FE0F","1F647","1F647-200D-2642-FE0F","1F647-200D-2640-FE0F","1F926","1F926-200D-2642-FE0F","1F926-200D-2640-FE0F","1F937","1F937-200D-2642-FE0F","1F937-200D-2640-FE0F","1F9D1-200D-2695-FE0F","1F468-200D-2695-FE0F","1F469-200D-2695-FE0F","1F9D1-200D-1F393","1F468-200D-1F393","1F469-200D-1F393","1F9D1-200D-1F3EB","1F468-200D-1F3EB","1F469-200D-1F3EB","1F9D1-200D-2696-FE0F","1F468-200D-2696-FE0F","1F469-200D-2696-FE0F","1F9D1-200D-1F33E","1F468-200D-1F33E","1F469-200D-1F33E","1F9D1-200D-1F373","1F468-200D-1F373","1F469-200D-1F373","1F9D1-200D-1F527","1F468-200D-1F527","1F469-200D-1F527","1F9D1-200D-1F3ED","1F468-200D-1F3ED","1F469-200D-1F3ED","1F9D1-200D-1F4BC","1F468-200D-1F4BC","1F469-200D-1F4BC","1F9D1-200D-1F52C","1F468-200D-1F52C","1F469-200D-1F52C","1F9D1-200D-1F4BB","1F468-200D-1F4BB","1F469-200D-1F4BB","1F9D1-200D-1F3A4","1F468-200D-1F3A4","1F469-200D-1F3A4","1F9D1-200D-1F3A8","1F468-200D-1F3A8","1F469-200D-1F3A8","1F9D1-200D-2708-FE0F","1F468-200D-2708-FE0F","1F469-200D-2708-FE0F","1F9D1-200D-1F680","1F468-200D-1F680","1F469-200D-1F680","1F9D1-200D-1F692","1F468-200D-1F692","1F469-200D-1F692","1F46E","1F46E-200D-2642-FE0F","1F46E-200D-2640-FE0F","1F575-FE0F","1F575-FE0F-200D-2642-FE0F","1F575-FE0F-200D-2640-FE0F","1F482","1F482-200D-2642-FE0F","1F482-200D-2640-FE0F","1F977","1F477","1F477-200D-2642-FE0F","1F477-200D-2640-FE0F","1F934","1F478","1F473","1F473-200D-2642-FE0F","1F473-200D-2640-FE0F","1F472","1F9D5","1F935","1F935-200D-2642-FE0F","1F935-200D-2640-FE0F","1F470","1F470-200D-2642-FE0F","1F470-200D-2640-FE0F","1F930","1F931","1F469-200D-1F37C","1F468-200D-1F37C","1F9D1-200D-1F37C","1F47C","1F385","1F936","1F9D1-200D-1F384","1F9B8","1F9B8-200D-2642-FE0F","1F9B8-200D-2640-FE0F","1F9B9","1F9B9-200D-2642-FE0F","1F9B9-200D-2640-FE0F","1F9D9","1F9D9-200D-2642-FE0F","1F9D9-200D-2640-FE0F","1F9DA","1F9DA-200D-2642-FE0F","1F9DA-200D-2640-FE0F","1F9DB","1F9DB-200D-2642-FE0F","1F9DB-200D-2640-FE0F","1F9DC","1F9DC-200D-2642-FE0F","1F9DC-200D-2640-FE0F","1F9DD","1F9DD-200D-2642-FE0F","1F9DD-200D-2640-FE0F","1F9DE","1F9DE-200D-2642-FE0F","1F9DE-200D-2640-FE0F","1F9DF","1F9DF-200D-2642-FE0F","1F9DF-200D-2640-FE0F","1F486","1F486-200D-2642-FE0F","1F486-200D-2640-FE0F","1F487","1F487-200D-2642-FE0F","1F487-200D-2640-FE0F","1F6B6","1F6B6-200D-2642-FE0F","1F6B6-200D-2640-FE0F","1F9CD","1F9CD-200D-2642-FE0F","1F9CD-200D-2640-FE0F","1F9CE","1F9CE-200D-2642-FE0F","1F9CE-200D-2640-FE0F","1F9D1-200D-1F9AF","1F468-200D-1F9AF","1F469-200D-1F9AF","1F9D1-200D-1F9BC","1F468-200D-1F9BC","1F469-200D-1F9BC","1F9D1-200D-1F9BD","1F468-200D-1F9BD","1F469-200D-1F9BD","1F3C3","1F3C3-200D-2642-FE0F","1F3C3-200D-2640-FE0F","1F483","1F57A","1F574-FE0F","1F46F","1F46F-200D-2642-FE0F","1F46F-200D-2640-FE0F","1F9D6","1F9D6-200D-2642-FE0F","1F9D6-200D-2640-FE0F","1F9D7","1F9D7-200D-2642-FE0F","1F9D7-200D-2640-FE0F","1F93A","1F3C7","26F7-FE0F","1F3C2","1F3CC-FE0F","1F3CC-FE0F-200D-2642-FE0F","1F3CC-FE0F-200D-2640-FE0F","1F3C4","1F3C4-200D-2642-FE0F","1F3C4-200D-2640-FE0F","1F6A3","1F6A3-200D-2642-FE0F","1F6A3-200D-2640-FE0F","1F3CA","1F3CA-200D-2642-FE0F","1F3CA-200D-2640-FE0F","26F9-FE0F","26F9-FE0F-200D-2642-FE0F","26F9-FE0F-200D-2640-FE0F","1F3CB-FE0F","1F3CB-FE0F-200D-2642-FE0F","1F3CB-FE0F-200D-2640-FE0F","1F6B4","1F6B4-200D-2642-FE0F","1F6B4-200D-2640-FE0F","1F6B5","1F6B5-200D-2642-FE0F","1F6B5-200D-2640-FE0F","1F938","1F938-200D-2642-FE0F","1F938-200D-2640-FE0F","1F93C","1F93C-200D-2642-FE0F","1F93C-200D-2640-FE0F","1F93D","1F93D-200D-2642-FE0F","1F93D-200D-2640-FE0F","1F93E","1F93E-200D-2642-FE0F","1F93E-200D-2640-FE0F","1F939","1F939-200D-2642-FE0F","1F939-200D-2640-FE0F","1F9D8","1F9D8-200D-2642-FE0F","1F9D8-200D-2640-FE0F","1F6C0","1F6CC","1F9D1-200D-1F91D-200D-1F9D1","1F46D","1F46B","1F46C","1F48F","1F469-200D-2764-FE0F-200D-1F48B-200D-1F468","1F468-200D-2764-FE0F-200D-1F48B-200D-1F468","1F469-200D-2764-FE0F-200D-1F48B-200D-1F469","1F491","1F469-200D-2764-FE0F-200D-1F468","1F468-200D-2764-FE0F-200D-1F468","1F469-200D-2764-FE0F-200D-1F469","1F46A","1F468-200D-1F469-200D-1F466","1F468-200D-1F469-200D-1F467","1F468-200D-1F469-200D-1F467-200D-1F466","1F468-200D-1F469-200D-1F466-200D-1F466","1F468-200D-1F469-200D-1F467-200D-1F467","1F468-200D-1F468-200D-1F466","1F468-200D-1F468-200D-1F467","1F468-200D-1F468-200D-1F467-200D-1F466","1F468-200D-1F468-200D-1F466-200D-1F466","1F468-200D-1F468-200D-1F467-200D-1F467","1F469-200D-1F469-200D-1F466","1F469-200D-1F469-200D-1F467","1F469-200D-1F469-200D-1F467-200D-1F466","1F469-200D-1F469-200D-1F466-200D-1F466","1F469-200D-1F469-200D-1F467-200D-1F467","1F468-200D-1F466","1F468-200D-1F466-200D-1F466","1F468-200D-1F467","1F468-200D-1F467-200D-1F466","1F468-200D-1F467-200D-1F467","1F469-200D-1F466","1F469-200D-1F466-200D-1F466","1F469-200D-1F467","1F469-200D-1F467-200D-1F466","1F469-200D-1F467-200D-1F467","1F5E3-FE0F","1F464","1F465","1FAC2","1F463","1F649","1F64A","1F48B","1F48C","1F498","1F49D","1F496","1F497","1F493","1F49E","1F495","1F49F","2763-FE0F","1F494","2764-FE0F","1F9E1","1F49B","1F49A","1F499","1F49C","1F90E","1F5A4","1F90D","1F4AF","1F4A2","1F4A5","1F4AB","1F4A6","1F4A8","1F573-FE0F","1F4A3","1F4AC","1F441-FE0F-200D-1F5E8-FE0F","1F5E8-FE0F","1F5EF-FE0F","1F4AD","1F4A4"]},{id:"nature",name:"Animals & Nature",emojis:["1F435","1F412","1F98D","1F9A7","1F436","1F415","1F9AE","1F415-200D-1F9BA","1F429","1F43A","1F98A","1F99D","1F431","1F408","1F408-200D-2B1B","1F981","1F42F","1F405","1F406","1F434","1F40E","1F984","1F993","1F98C","1F9AC","1F42E","1F402","1F403","1F404","1F437","1F416","1F417","1F43D","1F40F","1F411","1F410","1F42A","1F42B","1F999","1F992","1F418","1F9A3","1F98F","1F99B","1F42D","1F401","1F400","1F439","1F430","1F407","1F43F-FE0F","1F9AB","1F994","1F987","1F43B","1F43B-200D-2744-FE0F","1F428","1F43C","1F9A5","1F9A6","1F9A8","1F998","1F9A1","1F43E","1F983","1F414","1F413","1F423","1F424","1F425","1F426","1F427","1F54A-FE0F","1F985","1F986","1F9A2","1F989","1F9A4","1FAB6","1F9A9","1F99A","1F99C","1F438","1F40A","1F422","1F98E","1F40D","1F432","1F409","1F995","1F996","1F433","1F40B","1F42C","1F9AD","1F41F","1F420","1F421","1F988","1F419","1F41A","1F40C","1F98B","1F41B","1F41C","1F41D","1FAB2","1F41E","1F997","1FAB3","1F577-FE0F","1F578-FE0F","1F982","1F99F","1FAB0","1FAB1","1F9A0","1F490","1F338","1F4AE","1F3F5-FE0F","1F339","1F940","1F33A","1F33B","1F33C","1F337","1F331","1FAB4","1F332","1F333","1F334","1F335","1F33E","1F33F","2618-FE0F","1F340","1F341","1F342","1F343"]},{id:"foods",name:"Food & Drink",emojis:["1F347","1F348","1F349","1F34A","1F34B","1F34C","1F34D","1F96D","1F34E","1F34F","1F350","1F351","1F352","1F353","1FAD0","1F95D","1F345","1FAD2","1F965","1F951","1F346","1F954","1F955","1F33D","1F336-FE0F","1FAD1","1F952","1F96C","1F966","1F9C4","1F9C5","1F344","1F95C","1F330","1F35E","1F950","1F956","1FAD3","1F968","1F96F","1F95E","1F9C7","1F9C0","1F356","1F357","1F969","1F953","1F354","1F35F","1F355","1F32D","1F96A","1F32E","1F32F","1FAD4","1F959","1F9C6","1F95A","1F373","1F958","1F372","1FAD5","1F963","1F957","1F37F","1F9C8","1F9C2","1F96B","1F371","1F358","1F359","1F35A","1F35B","1F35C","1F35D","1F360","1F362","1F363","1F364","1F365","1F96E","1F361","1F95F","1F960","1F961","1F980","1F99E","1F990","1F991","1F9AA","1F366","1F367","1F368","1F369","1F36A","1F382","1F370","1F9C1","1F967","1F36B","1F36C","1F36D","1F36E","1F36F","1F37C","1F95B","2615","1FAD6","1F375","1F376","1F37E","1F377","1F378","1F379","1F37A","1F37B","1F942","1F943","1F964","1F9CB","1F9C3","1F9C9","1F9CA","1F962","1F37D-FE0F","1F374","1F944","1F52A","1F3FA"]},{id:"activity",name:"Activities",emojis:["1F383","1F384","1F386","1F387","1F9E8","2728","1F388","1F389","1F38A","1F38B","1F38D","1F38E","1F38F","1F390","1F391","1F9E7","1F380","1F381","1F397-FE0F","1F39F-FE0F","1F3AB","1F396-FE0F","1F3C6","1F3C5","1F947","1F948","1F949","26BD","26BE","1F94E","1F3C0","1F3D0","1F3C8","1F3C9","1F3BE","1F94F","1F3B3","1F3CF","1F3D1","1F3D2","1F94D","1F3D3","1F3F8","1F94A","1F94B","1F945","26F3","26F8-FE0F","1F3A3","1F93F","1F3BD","1F3BF","1F6F7","1F94C","1F3AF","1FA80","1FA81","1F3B1","1F52E","1FA84","1F9FF","1F3AE","1F579-FE0F","1F3B0","1F3B2","1F9E9","1F9F8","1FA85","1FA86","2660-FE0F","2665-FE0F","2666-FE0F","2663-FE0F","265F-FE0F","1F0CF","1F004","1F3B4","1F3AD","1F5BC-FE0F","1F3A8","1F9F5","1FAA1","1F9F6","1FAA2"]},{id:"places",name:"Travel & Places",emojis:["1F30D","1F30E","1F30F","1F310","1F5FA-FE0F","1F5FE","1F9ED","1F3D4-FE0F","26F0-FE0F","1F30B","1F5FB","1F3D5-FE0F","1F3D6-FE0F","1F3DC-FE0F","1F3DD-FE0F","1F3DE-FE0F","1F3DF-FE0F","1F3DB-FE0F","1F3D7-FE0F","1F9F1","1FAA8","1FAB5","1F6D6","1F3D8-FE0F","1F3DA-FE0F","1F3E0","1F3E1","1F3E2","1F3E3","1F3E4","1F3E5","1F3E6","1F3E8","1F3E9","1F3EA","1F3EB","1F3EC","1F3ED","1F3EF","1F3F0","1F492","1F5FC","1F5FD","26EA","1F54C","1F6D5","1F54D","26E9-FE0F","1F54B","26F2","26FA","1F301","1F303","1F3D9-FE0F","1F304","1F305","1F306","1F307","1F309","2668-FE0F","1F3A0","1F3A1","1F3A2","1F488","1F3AA","1F682","1F683","1F684","1F685","1F686","1F687","1F688","1F689","1F68A","1F69D","1F69E","1F68B","1F68C","1F68D","1F68E","1F690","1F691","1F692","1F693","1F694","1F695","1F696","1F697","1F698","1F699","1F6FB","1F69A","1F69B","1F69C","1F3CE-FE0F","1F3CD-FE0F","1F6F5","1F9BD","1F9BC","1F6FA","1F6B2","1F6F4","1F6F9","1F6FC","1F68F","1F6E3-FE0F","1F6E4-FE0F","1F6E2-FE0F","26FD","1F6A8","1F6A5","1F6A6","1F6D1","1F6A7","2693","26F5","1F6F6","1F6A4","1F6F3-FE0F","26F4-FE0F","1F6E5-FE0F","1F6A2","2708-FE0F","1F6E9-FE0F","1F6EB","1F6EC","1FA82","1F4BA","1F681","1F69F","1F6A0","1F6A1","1F6F0-FE0F","1F680","1F6F8","1F6CE-FE0F","1F9F3","231B","23F3","231A","23F0","23F1-FE0F","23F2-FE0F","1F570-FE0F","1F55B","1F567","1F550","1F55C","1F551","1F55D","1F552","1F55E","1F553","1F55F","1F554","1F560","1F555","1F561","1F556","1F562","1F557","1F563","1F558","1F564","1F559","1F565","1F55A","1F566","1F311","1F312","1F313","1F314","1F315","1F316","1F317","1F318","1F319","1F31A","1F31B","1F31C","1F321-FE0F","2600-FE0F","1F31D","1F31E","1FA90","2B50","1F31F","1F320","1F30C","2601-FE0F","26C5","26C8-FE0F","1F324-FE0F","1F325-FE0F","1F326-FE0F","1F327-FE0F","1F328-FE0F","1F329-FE0F","1F32A-FE0F","1F32B-FE0F","1F32C-FE0F","1F300","1F308","1F302","2602-FE0F","2614","26F1-FE0F","26A1","2744-FE0F","2603-FE0F","26C4","2604-FE0F","1F525","1F4A7","1F30A"]},{id:"objects",name:"Objects",emojis:["1F453","1F576-FE0F","1F97D","1F97C","1F9BA","1F454","1F455","1F456","1F9E3","1F9E4","1F9E5","1F9E6","1F457","1F458","1F97B","1FA71","1FA72","1FA73","1F459","1F45A","1F45B","1F45C","1F45D","1F6CD-FE0F","1F392","1FA74","1F45E","1F45F","1F97E","1F97F","1F460","1F461","1FA70","1F462","1F451","1F452","1F3A9","1F393","1F9E2","1FA96","26D1-FE0F","1F4FF","1F484","1F48D","1F48E","1F507","1F508","1F509","1F50A","1F4E2","1F4E3","1F4EF","1F514","1F515","1F3BC","1F3B5","1F3B6","1F399-FE0F","1F39A-FE0F","1F39B-FE0F","1F3A4","1F3A7","1F4FB","1F3B7","1FA97","1F3B8","1F3B9","1F3BA","1F3BB","1FA95","1F941","1FA98","1F4F1","1F4F2","260E-FE0F","1F4DE","1F4DF","1F4E0","1F50B","1F50C","1F4BB","1F5A5-FE0F","1F5A8-FE0F","2328-FE0F","1F5B1-FE0F","1F5B2-FE0F","1F4BD","1F4BE","1F4BF","1F4C0","1F9EE","1F3A5","1F39E-FE0F","1F4FD-FE0F","1F3AC","1F4FA","1F4F7","1F4F8","1F4F9","1F4FC","1F50D","1F50E","1F56F-FE0F","1F4A1","1F526","1F3EE","1FA94","1F4D4","1F4D5","1F4D6","1F4D7","1F4D8","1F4D9","1F4DA","1F4D3","1F4D2","1F4C3","1F4DC","1F4C4","1F4F0","1F5DE-FE0F","1F4D1","1F516","1F3F7-FE0F","1F4B0","1FA99","1F4B4","1F4B5","1F4B6","1F4B7","1F4B8","1F4B3","1F9FE","1F4B9","2709-FE0F","1F4E7","1F4E8","1F4E9","1F4E4","1F4E5","1F4E6","1F4EB","1F4EA","1F4EC","1F4ED","1F4EE","1F5F3-FE0F","270F-FE0F","2712-FE0F","1F58B-FE0F","1F58A-FE0F","1F58C-FE0F","1F58D-FE0F","1F4DD","1F4BC","1F4C1","1F4C2","1F5C2-FE0F","1F4C5","1F4C6","1F5D2-FE0F","1F5D3-FE0F","1F4C7","1F4C8","1F4C9","1F4CA","1F4CB","1F4CC","1F4CD","1F4CE","1F587-FE0F","1F4CF","1F4D0","2702-FE0F","1F5C3-FE0F","1F5C4-FE0F","1F5D1-FE0F","1F512","1F513","1F50F","1F510","1F511","1F5DD-FE0F","1F528","1FA93","26CF-FE0F","2692-FE0F","1F6E0-FE0F","1F5E1-FE0F","2694-FE0F","1F52B","1FA83","1F3F9","1F6E1-FE0F","1FA9A","1F527","1FA9B","1F529","2699-FE0F","1F5DC-FE0F","2696-FE0F","1F9AF","1F517","26D3-FE0F","1FA9D","1F9F0","1F9F2","1FA9C","2697-FE0F","1F9EA","1F9EB","1F9EC","1F52C","1F52D","1F4E1","1F489","1FA78","1F48A","1FA79","1FA7A","1F6AA","1F6D7","1FA9E","1FA9F","1F6CF-FE0F","1F6CB-FE0F","1FA91","1F6BD","1FAA0","1F6BF","1F6C1","1FAA4","1FA92","1F9F4","1F9F7","1F9F9","1F9FA","1F9FB","1FAA3","1F9FC","1FAA5","1F9FD","1F9EF","1F6D2","1F6AC","26B0-FE0F","1FAA6","26B1-FE0F","1F5FF","1FAA7"]},{id:"symbols",name:"Symbols",emojis:["1F3E7","1F6AE","1F6B0","267F","1F6B9","1F6BA","1F6BB","1F6BC","1F6BE","1F6C2","1F6C3","1F6C4","1F6C5","26A0-FE0F","1F6B8","26D4","1F6AB","1F6B3","1F6AD","1F6AF","1F6B1","1F6B7","1F4F5","1F51E","2622-FE0F","2623-FE0F","2B06-FE0F","2197-FE0F","27A1-FE0F","2198-FE0F","2B07-FE0F","2199-FE0F","2B05-FE0F","2196-FE0F","2195-FE0F","2194-FE0F","21A9-FE0F","21AA-FE0F","2934-FE0F","2935-FE0F","1F503","1F504","1F519","1F51A","1F51B","1F51C","1F51D","1F6D0","269B-FE0F","1F549-FE0F","2721-FE0F","2638-FE0F","262F-FE0F","271D-FE0F","2626-FE0F","262A-FE0F","262E-FE0F","1F54E","1F52F","2648","2649","264A","264B","264C","264D","264E","264F","2650","2651","2652","2653","26CE","1F500","1F501","1F502","25B6-FE0F","23E9","23ED-FE0F","23EF-FE0F","25C0-FE0F","23EA","23EE-FE0F","1F53C","23EB","1F53D","23EC","23F8-FE0F","23F9-FE0F","23FA-FE0F","23CF-FE0F","1F3A6","1F505","1F506","1F4F6","1F4F3","1F4F4","2640-FE0F","2642-FE0F","26A7-FE0F","2716-FE0F","2795","2796","2797","267E-FE0F","203C-FE0F","2049-FE0F","2753","2754","2755","2757","3030-FE0F","1F4B1","1F4B2","2695-FE0F","267B-FE0F","269C-FE0F","1F531","1F4DB","1F530","2B55","2705","2611-FE0F","2714-FE0F","274C","274E","27B0","27BF","303D-FE0F","2733-FE0F","2734-FE0F","2747-FE0F","00A9-FE0F","00AE-FE0F","2122-FE0F","0023-FE0F-20E3","002A-FE0F-20E3","0030-FE0F-20E3","0031-FE0F-20E3","0032-FE0F-20E3","0033-FE0F-20E3","0034-FE0F-20E3","0035-FE0F-20E3","0036-FE0F-20E3","0037-FE0F-20E3","0038-FE0F-20E3","0039-FE0F-20E3","1F51F","1F520","1F521","1F522","1F523","1F524","1F170-FE0F","1F18E","1F171-FE0F","1F191","1F192","1F193","2139-FE0F","1F194","24C2-FE0F","1F195","1F196","1F17E-FE0F","1F197","1F17F-FE0F","1F198","1F199","1F19A","1F201","1F202-FE0F","1F237-FE0F","1F236","1F22F","1F250","1F239","1F21A","1F232","1F251","1F238","1F234","1F233","3297-FE0F","3299-FE0F","1F23A","1F235","1F534","1F7E0","1F7E1","1F7E2","1F535","1F7E3","1F7E4","26AB","26AA","1F7E5","1F7E7","1F7E8","1F7E9","1F7E6","1F7EA","1F7EB","2B1B","2B1C","25FC-FE0F","25FB-FE0F","25FE","25FD","25AA-FE0F","25AB-FE0F","1F536","1F537","1F538","1F539","1F53A","1F53B","1F4A0","1F518","1F533","1F532"]},{id:"flags",name:"Flags",emojis:["1F1E6-1F1E8","1F1E6-1F1E9","1F1E6-1F1EA","1F1E6-1F1EB","1F1E6-1F1EC","1F1E6-1F1EE","1F1E6-1F1F1","1F1E6-1F1F2","1F1E6-1F1F4","1F1E6-1F1F6","1F1E6-1F1F7","1F1E6-1F1F8","1F1E6-1F1F9","1F1E6-1F1FA","1F1E6-1F1FC","1F1E6-1F1FD","1F1E6-1F1FF","1F1E7-1F1E6","1F1E7-1F1E7","1F1E7-1F1E9","1F1E7-1F1EA","1F1E7-1F1EB","1F1E7-1F1EC","1F1E7-1F1ED","1F1E7-1F1EE","1F1E7-1F1EF","1F1E7-1F1F1","1F1E7-1F1F2","1F1E7-1F1F3","1F1E7-1F1F4","1F1E7-1F1F6","1F1E7-1F1F7","1F1E7-1F1F8","1F1E7-1F1F9","1F1E7-1F1FB","1F1E7-1F1FC","1F1E7-1F1FE","1F1E7-1F1FF","1F1E8-1F1E6","1F1E8-1F1E8","1F1E8-1F1E9","1F1E8-1F1EB","1F1E8-1F1EC","1F1E8-1F1ED","1F1E8-1F1EE","1F1E8-1F1F0","1F1E8-1F1F1","1F1E8-1F1F2","1F1E8-1F1F3","1F1E8-1F1F4","1F1E8-1F1F5","1F1E8-1F1F7","1F1E8-1F1FA","1F1E8-1F1FB","1F1E8-1F1FC","1F1E8-1F1FD","1F1E8-1F1FE","1F1E8-1F1FF","1F1E9-1F1EA","1F1E9-1F1EC","1F1E9-1F1EF","1F1E9-1F1F0","1F1E9-1F1F2","1F1E9-1F1F4","1F1E9-1F1FF","1F1EA-1F1E6","1F1EA-1F1E8","1F1EA-1F1EA","1F1EA-1F1EC","1F1EA-1F1ED","1F1EA-1F1F7","1F1EA-1F1F8","1F1EA-1F1F9","1F1EA-1F1FA","1F1EB-1F1EE","1F1EB-1F1EF","1F1EB-1F1F0","1F1EB-1F1F2","1F1EB-1F1F4","1F1EB-1F1F7","1F1EC-1F1E6","1F1EC-1F1E7","1F1EC-1F1E9","1F1EC-1F1EA","1F1EC-1F1EB","1F1EC-1F1EC","1F1EC-1F1ED","1F1EC-1F1EE","1F1EC-1F1F1","1F1EC-1F1F2","1F1EC-1F1F3","1F1EC-1F1F5","1F1EC-1F1F6","1F1EC-1F1F7","1F1EC-1F1F8","1F1EC-1F1F9","1F1EC-1F1FA","1F1EC-1F1FC","1F1EC-1F1FE","1F1ED-1F1F0","1F1ED-1F1F2","1F1ED-1F1F3","1F1ED-1F1F7","1F1ED-1F1F9","1F1ED-1F1FA","1F1EE-1F1E8","1F1EE-1F1E9","1F1EE-1F1EA","1F1EE-1F1F1","1F1EE-1F1F2","1F1EE-1F1F3","1F1EE-1F1F4","1F1EE-1F1F6","1F1EE-1F1F7","1F1EE-1F1F8","1F1EE-1F1F9","1F1EF-1F1EA","1F1EF-1F1F2","1F1EF-1F1F4","1F1EF-1F1F5","1F1F0-1F1EA","1F1F0-1F1EC","1F1F0-1F1ED","1F1F0-1F1EE","1F1F0-1F1F2","1F1F0-1F1F3","1F1F0-1F1F5","1F1F0-1F1F7","1F1F0-1F1FC","1F1F0-1F1FE","1F1F0-1F1FF","1F1F1-1F1E6","1F1F1-1F1E7","1F1F1-1F1E8","1F1F1-1F1EE","1F1F1-1F1F0","1F1F1-1F1F7","1F1F1-1F1F8","1F1F1-1F1F9","1F1F1-1F1FA","1F1F1-1F1FB","1F1F1-1F1FE","1F1F2-1F1E6","1F1F2-1F1E8","1F1F2-1F1E9","1F1F2-1F1EA","1F1F2-1F1EB","1F1F2-1F1EC","1F1F2-1F1ED","1F1F2-1F1F0","1F1F2-1F1F1","1F1F2-1F1F2","1F1F2-1F1F3","1F1F2-1F1F4","1F1F2-1F1F5","1F1F2-1F1F6","1F1F2-1F1F7","1F1F2-1F1F8","1F1F2-1F1F9","1F1F2-1F1FA","1F1F2-1F1FB","1F1F2-1F1FC","1F1F2-1F1FD","1F1F2-1F1FE","1F1F2-1F1FF","1F1F3-1F1E6","1F1F3-1F1E8","1F1F3-1F1EA","1F1F3-1F1EB","1F1F3-1F1EC","1F1F3-1F1EE","1F1F3-1F1F1","1F1F3-1F1F4","1F1F3-1F1F5","1F1F3-1F1F7","1F1F3-1F1FA","1F1F3-1F1FF","1F1F4-1F1F2","1F1F5-1F1E6","1F1F5-1F1EA","1F1F5-1F1EB","1F1F5-1F1EC","1F1F5-1F1ED","1F1F5-1F1F0","1F1F5-1F1F1","1F1F5-1F1F2","1F1F5-1F1F3","1F1F5-1F1F7","1F1F5-1F1F8","1F1F5-1F1F9","1F1F5-1F1FC","1F1F5-1F1FE","1F1F6-1F1E6","1F1F7-1F1EA","1F1F7-1F1F4","1F1F7-1F1F8","1F1F7-1F1FA","1F1F7-1F1FC","1F1F8-1F1E6","1F1F8-1F1E7","1F1F8-1F1E8","1F1F8-1F1E9","1F1F8-1F1EA","1F1F8-1F1EC","1F1F8-1F1ED","1F1F8-1F1EE","1F1F8-1F1EF","1F1F8-1F1F0","1F1F8-1F1F1","1F1F8-1F1F2","1F1F8-1F1F3","1F1F8-1F1F4","1F1F8-1F1F7","1F1F8-1F1F8","1F1F8-1F1F9","1F1F8-1F1FB","1F1F8-1F1FD","1F1F8-1F1FE","1F1F8-1F1FF","1F1F9-1F1E6","1F1F9-1F1E8","1F1F9-1F1E9","1F1F9-1F1EB","1F1F9-1F1EC","1F1F9-1F1ED","1F1F9-1F1EF","1F1F9-1F1F0","1F1F9-1F1F1","1F1F9-1F1F2","1F1F9-1F1F3","1F1F9-1F1F4","1F1F9-1F1F7","1F1F9-1F1F9","1F1F9-1F1FB","1F1F9-1F1FC","1F1F9-1F1FF","1F1FA-1F1E6","1F1FA-1F1EC","1F1FA-1F1F2","1F1FA-1F1F3","1F1FA-1F1F8","1F1FA-1F1FE","1F1FA-1F1FF","1F1FB-1F1E6","1F1FB-1F1E8","1F1FB-1F1EA","1F1FB-1F1EC","1F1FB-1F1EE","1F1FB-1F1F3","1F1FB-1F1FA","1F1FC-1F1EB","1F1FC-1F1F8","1F1FD-1F1F0","1F1FE-1F1EA","1F1FE-1F1F9","1F1FF-1F1E6","1F1FF-1F1F2","1F1FF-1F1FC","1F38C","1F3C1","1F3F3-FE0F","1F3F3-FE0F-200D-1F308","1F3F3-FE0F-200D-26A7-FE0F","1F3F4","1F3F4-200D-2620-FE0F","1F3F4-E0067-E0062-E0065-E006E-E0067-E007F","1F3F4-E0067-E0062-E0073-E0063-E0074-E007F","1F3F4-E0067-E0062-E0077-E006C-E0073-E007F","1F6A9"]}],Wue=[{name:"Grinning Face",unified:"1F600",text:":D",keywords:["grinning_face","face","smile","happy","joy",":D","grin"],sheet:[30,32],shortName:"grinning"},{name:"Smiling Face with Open Mouth",unified:"1F603",text:":)",emoticons:["=)","=-)"],keywords:["grinning_face_with_big_eyes","face","happy","joy","haha",":D",":)","smile","funny"],sheet:[30,35],shortName:"smiley"},{name:"Smiling Face with Open Mouth and Smiling Eyes",unified:"1F604",text:":)",emoticons:["C:","c:",":D",":-D"],keywords:["grinning_face_with_smiling_eyes","face","happy","joy","funny","haha","laugh","like",":D",":)","smile"],sheet:[30,36],shortName:"smile"},{name:"Grinning Face with Smiling Eyes",unified:"1F601",keywords:["beaming_face_with_smiling_eyes","face","happy","smile","joy","kawaii"],sheet:[30,33],shortName:"grin"},{name:"Smiling Face with Open Mouth and Tightly-Closed Eyes",unified:"1F606",emoticons:[":>",":->"],keywords:["grinning_squinting_face","happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],sheet:[30,38],shortNames:["satisfied"],shortName:"laughing"},{name:"Smiling Face with Open Mouth and Cold Sweat",unified:"1F605",keywords:["grinning_face_with_sweat","face","hot","happy","laugh","sweat","smile","relief"],sheet:[30,37],shortName:"sweat_smile"},{name:"Rolling on the Floor Laughing",unified:"1F923",keywords:["rolling_on_the_floor_laughing","face","rolling","floor","laughing","lol","haha","rofl"],sheet:[38,19],shortName:"rolling_on_the_floor_laughing"},{name:"Face with Tears of Joy",unified:"1F602",keywords:["face_with_tears_of_joy","face","cry","tears","weep","happy","happytears","haha"],sheet:[30,34],shortName:"joy"},{name:"Slightly Smiling Face",unified:"1F642",emoticons:[":)","(:",":-)"],keywords:["slightly_smiling_face","face","smile"],sheet:[31,40],shortName:"slightly_smiling_face"},{name:"Upside-Down Face",unified:"1F643",keywords:["upside_down_face","face","flipped","silly","smile"],sheet:[31,41],shortName:"upside_down_face"},{name:"Winking Face",unified:"1F609",text:";)",emoticons:[";)",";-)"],keywords:["winking_face","face","happy","mischievous","secret",";)","smile","eye"],sheet:[30,41],shortName:"wink"},{name:"Smiling Face with Smiling Eyes",unified:"1F60A",text:":)",keywords:["smiling_face_with_smiling_eyes","face","smile","happy","flushed","crush","embarrassed","shy","joy"],sheet:[30,42],shortName:"blush"},{name:"Smiling Face with Halo",unified:"1F607",keywords:["smiling_face_with_halo","face","angel","heaven","halo"],sheet:[30,39],shortName:"innocent"},{name:"Smiling Face with Smiling Eyes and Three Hearts",unified:"1F970",keywords:["smiling_face_with_hearts","face","love","like","affection","valentines","infatuation","crush","hearts","adore"],sheet:[42,13],shortName:"smiling_face_with_3_hearts"},{name:"Smiling Face with Heart-Shaped Eyes",unified:"1F60D",keywords:["smiling_face_with_heart_eyes","face","love","like","affection","valentines","infatuation","crush","heart"],sheet:[30,45],shortName:"heart_eyes"},{name:"Grinning Face with Star Eyes",unified:"1F929",keywords:["star_struck","face","smile","starry","eyes","grinning"],sheet:[38,42],shortNames:["grinning_face_with_star_eyes"],shortName:"star-struck"},{name:"Face Throwing a Kiss",unified:"1F618",emoticons:[":*",":-*"],keywords:["face_blowing_a_kiss","face","love","like","affection","valentines","infatuation","kiss"],sheet:[30,56],shortName:"kissing_heart"},{name:"Kissing Face",unified:"1F617",keywords:["kissing_face","love","like","face","3","valentines","infatuation","kiss"],sheet:[30,55],shortName:"kissing"},{name:"White Smiling Face",unified:"263A-FE0F",keywords:["smiling_face","face","blush","massage","happiness"],sheet:[54,22],shortName:"relaxed"},{name:"Kissing Face with Closed Eyes",unified:"1F61A",keywords:["kissing_face_with_closed_eyes","face","love","like","affection","valentines","infatuation","kiss"],sheet:[31,0],shortName:"kissing_closed_eyes"},{name:"Kissing Face with Smiling Eyes",unified:"1F619",keywords:["kissing_face_with_smiling_eyes","face","affection","valentines","infatuation","kiss"],sheet:[30,57],shortName:"kissing_smiling_eyes"},{name:"Smiling Face with Tear",unified:"1F972",keywords:["smiling face with tear","sad","cry","pretend"],sheet:[42,15],shortName:"smiling_face_with_tear"},{name:"Face Savouring Delicious Food",unified:"1F60B",keywords:["face_savoring_food","happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],sheet:[30,43],shortName:"yum"},{name:"Face with Stuck-out Tongue",unified:"1F61B",text:":p",emoticons:[":p",":-p",":P",":-P",":b",":-b"],keywords:["face_with_tongue","face","prank","childish","playful","mischievous","smile","tongue"],sheet:[31,1],shortName:"stuck_out_tongue"},{name:"Face with Stuck-out Tongue and Winking Eye",unified:"1F61C",text:";p",emoticons:[";p",";-p",";b",";-b",";P",";-P"],keywords:["winking_face_with_tongue","face","prank","childish","playful","mischievous","smile","wink","tongue"],sheet:[31,2],shortName:"stuck_out_tongue_winking_eye"},{name:"Grinning Face with One Large and One Small Eye",unified:"1F92A",keywords:["zany_face","face","goofy","crazy"],sheet:[38,43],shortNames:["grinning_face_with_one_large_and_one_small_eye"],shortName:"zany_face"},{name:"Face with Stuck-out Tongue and Tightly-Closed Eyes",unified:"1F61D",keywords:["squinting_face_with_tongue","face","prank","playful","mischievous","smile","tongue"],sheet:[31,3],shortName:"stuck_out_tongue_closed_eyes"},{name:"Money-Mouth Face",unified:"1F911",keywords:["money_mouth_face","face","rich","dollar","money"],sheet:[37,24],shortName:"money_mouth_face"},{name:"Hugging Face",unified:"1F917",keywords:["hugging_face","face","smile","hug"],sheet:[37,30],shortName:"hugging_face"},{name:"Smiling Face with Smiling Eyes and Hand Covering Mouth",unified:"1F92D",keywords:["face_with_hand_over_mouth","face","whoops","shock","surprise"],sheet:[38,46],shortNames:["smiling_face_with_smiling_eyes_and_hand_covering_mouth"],shortName:"face_with_hand_over_mouth"},{name:"Face with Finger Covering Closed Lips",unified:"1F92B",keywords:["shushing_face","face","quiet","shhh"],sheet:[38,44],shortNames:["face_with_finger_covering_closed_lips"],shortName:"shushing_face"},{name:"Thinking Face",unified:"1F914",keywords:["thinking_face","face","hmmm","think","consider"],sheet:[37,27],shortName:"thinking_face"},{name:"Zipper-Mouth Face",unified:"1F910",keywords:["zipper_mouth_face","face","sealed","zipper","secret"],sheet:[37,23],shortName:"zipper_mouth_face"},{name:"Face with One Eyebrow Raised",unified:"1F928",keywords:["face_with_raised_eyebrow","face","distrust","scepticism","disapproval","disbelief","surprise"],sheet:[38,41],shortNames:["face_with_one_eyebrow_raised"],shortName:"face_with_raised_eyebrow"},{name:"Neutral Face",unified:"1F610",emoticons:[":|",":-|"],keywords:["neutral_face","indifference","meh",":|","neutral"],sheet:[30,48],shortName:"neutral_face"},{name:"Expressionless Face",unified:"1F611",keywords:["expressionless_face","face","indifferent","-_-","meh","deadpan"],sheet:[30,49],shortName:"expressionless"},{name:"Face Without Mouth",unified:"1F636",keywords:["face_without_mouth","face","hellokitty"],sheet:[31,28],shortName:"no_mouth"},{name:"Smirking Face",unified:"1F60F",keywords:["smirking_face","face","smile","mean","prank","smug","sarcasm"],sheet:[30,47],shortName:"smirk"},{name:"Unamused Face",unified:"1F612",text:":(",keywords:["unamused_face","indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","side_eye"],sheet:[30,50],shortName:"unamused"},{name:"Face with Rolling Eyes",unified:"1F644",keywords:["face_with_rolling_eyes","face","eyeroll","frustrated"],sheet:[31,42],shortName:"face_with_rolling_eyes"},{name:"Grimacing Face",unified:"1F62C",keywords:["grimacing_face","face","grimace","teeth"],sheet:[31,18],shortName:"grimacing"},{name:"Lying Face",unified:"1F925",keywords:["lying_face","face","lie","pinocchio"],sheet:[38,21],shortName:"lying_face"},{name:"Relieved Face",unified:"1F60C",keywords:["relieved_face","face","relaxed","phew","massage","happiness"],sheet:[30,44],shortName:"relieved"},{name:"Pensive Face",unified:"1F614",keywords:["pensive_face","face","sad","depressed","upset"],sheet:[30,52],shortName:"pensive"},{name:"Sleepy Face",unified:"1F62A",keywords:["sleepy_face","face","tired","rest","nap"],sheet:[31,16],shortName:"sleepy"},{name:"Drooling Face",unified:"1F924",keywords:["drooling_face","face"],sheet:[38,20],shortName:"drooling_face"},{name:"Sleeping Face",unified:"1F634",keywords:["sleeping_face","face","tired","sleepy","night","zzz"],sheet:[31,26],shortName:"sleeping"},{name:"Face with Medical Mask",unified:"1F637",keywords:["face_with_medical_mask","face","sick","ill","disease"],sheet:[31,29],shortName:"mask"},{name:"Face with Thermometer",unified:"1F912",keywords:["face_with_thermometer","sick","temperature","thermometer","cold","fever"],sheet:[37,25],shortName:"face_with_thermometer"},{name:"Face with Head-Bandage",unified:"1F915",keywords:["face_with_head_bandage","injured","clumsy","bandage","hurt"],sheet:[37,28],shortName:"face_with_head_bandage"},{name:"Nauseated Face",unified:"1F922",keywords:["nauseated_face","face","vomit","gross","green","sick","throw up","ill"],sheet:[38,18],shortName:"nauseated_face"},{name:"Face with Open Mouth Vomiting",unified:"1F92E",keywords:["face_vomiting","face","sick"],sheet:[38,47],shortNames:["face_with_open_mouth_vomiting"],shortName:"face_vomiting"},{name:"Sneezing Face",unified:"1F927",keywords:["sneezing_face","face","gesundheit","sneeze","sick","allergy"],sheet:[38,40],shortName:"sneezing_face"},{name:"Overheated Face",unified:"1F975",keywords:["hot_face","face","feverish","heat","red","sweating"],sheet:[42,18],shortName:"hot_face"},{name:"Freezing Face",unified:"1F976",keywords:["cold_face","face","blue","freezing","frozen","frostbite","icicles"],sheet:[42,19],shortName:"cold_face"},{name:"Face with Uneven Eyes and Wavy Mouth",unified:"1F974",keywords:["woozy_face","face","dizzy","intoxicated","tipsy","wavy"],sheet:[42,17],shortName:"woozy_face"},{name:"Dizzy Face",unified:"1F635",keywords:["dizzy_face","spent","unconscious","xox","dizzy"],sheet:[31,27],shortName:"dizzy_face"},{name:"Shocked Face with Exploding Head",unified:"1F92F",keywords:["exploding_head","face","shocked","mind","blown"],sheet:[38,48],shortNames:["shocked_face_with_exploding_head"],shortName:"exploding_head"},{name:"Face with Cowboy Hat",unified:"1F920",keywords:["cowboy_hat_face","face","cowgirl","hat"],sheet:[38,16],shortName:"face_with_cowboy_hat"},{name:"Face with Party Horn and Party Hat",unified:"1F973",keywords:["partying_face","face","celebration","woohoo"],sheet:[42,16],shortName:"partying_face"},{name:"Disguised Face",unified:"1F978",keywords:["disguised face","pretent","brows","glasses","moustache"],sheet:[42,26],shortName:"disguised_face"},{name:"Smiling Face with Sunglasses",unified:"1F60E",emoticons:["8)"],keywords:["smiling_face_with_sunglasses","face","cool","smile","summer","beach","sunglass"],sheet:[30,46],shortName:"sunglasses"},{name:"Nerd Face",unified:"1F913",keywords:["nerd_face","face","nerdy","geek","dork"],sheet:[37,26],shortName:"nerd_face"},{name:"Face with Monocle",unified:"1F9D0",keywords:["face_with_monocle","face","stuffy","wealthy"],sheet:[45,34],shortName:"face_with_monocle"},{name:"Confused Face",unified:"1F615",emoticons:[":\\",":-\\",":/",":-/"],keywords:["confused_face","face","indifference","huh","weird","hmmm",":/"],sheet:[30,53],shortName:"confused"},{name:"Worried Face",unified:"1F61F",keywords:["worried_face","face","concern","nervous",":("],sheet:[31,5],shortName:"worried"},{name:"Slightly Frowning Face",unified:"1F641",keywords:["slightly_frowning_face","face","frowning","disappointed","sad","upset"],sheet:[31,39],shortName:"slightly_frowning_face"},{name:"Frowning Face",unified:"2639-FE0F",keywords:["frowning_face","face","sad","upset","frown"],sheet:[54,21],shortName:"white_frowning_face"},{name:"Face with Open Mouth",unified:"1F62E",emoticons:[":o",":-o",":O",":-O"],keywords:["face_with_open_mouth","face","surprise","impressed","wow","whoa",":O"],sheet:[31,20],shortName:"open_mouth"},{name:"Hushed Face",unified:"1F62F",keywords:["hushed_face","face","woo","shh"],sheet:[31,21],shortName:"hushed"},{name:"Astonished Face",unified:"1F632",keywords:["astonished_face","face","xox","surprised","poisoned"],sheet:[31,24],shortName:"astonished"},{name:"Flushed Face",unified:"1F633",keywords:["flushed_face","face","blush","shy","flattered"],sheet:[31,25],shortName:"flushed"},{name:"Face with Pleading Eyes",unified:"1F97A",keywords:["pleading_face","face","begging","mercy"],sheet:[42,27],shortName:"pleading_face"},{name:"Frowning Face with Open Mouth",unified:"1F626",keywords:["frowning_face_with_open_mouth","face","aw","what"],sheet:[31,12],shortName:"frowning"},{name:"Anguished Face",unified:"1F627",emoticons:["D:"],keywords:["anguished_face","face","stunned","nervous"],sheet:[31,13],shortName:"anguished"},{name:"Fearful Face",unified:"1F628",keywords:["fearful_face","face","scared","terrified","nervous","oops","huh"],sheet:[31,14],shortName:"fearful"},{name:"Face with Open Mouth and Cold Sweat",unified:"1F630",keywords:["anxious_face_with_sweat","face","nervous","sweat"],sheet:[31,22],shortName:"cold_sweat"},{name:"Disappointed but Relieved Face",unified:"1F625",keywords:["sad_but_relieved_face","face","phew","sweat","nervous"],sheet:[31,11],shortName:"disappointed_relieved"},{name:"Crying Face",unified:"1F622",text:":'(",emoticons:[":'("],keywords:["crying_face","face","tears","sad","depressed","upset",":'("],sheet:[31,8],shortName:"cry"},{name:"Loudly Crying Face",unified:"1F62D",text:":'(",keywords:["loudly_crying_face","face","cry","tears","sad","upset","depressed"],sheet:[31,19],shortName:"sob"},{name:"Face Screaming in Fear",unified:"1F631",keywords:["face_screaming_in_fear","face","munch","scared","omg"],sheet:[31,23],shortName:"scream"},{name:"Confounded Face",unified:"1F616",keywords:["confounded_face","face","confused","sick","unwell","oops",":S"],sheet:[30,54],shortName:"confounded"},{name:"Persevering Face",unified:"1F623",keywords:["persevering_face","face","sick","no","upset","oops"],sheet:[31,9],shortName:"persevere"},{name:"Disappointed Face",unified:"1F61E",text:":(",emoticons:["):",":(",":-("],keywords:["disappointed_face","face","sad","upset","depressed",":("],sheet:[31,4],shortName:"disappointed"},{name:"Face with Cold Sweat",unified:"1F613",keywords:["downcast_face_with_sweat","face","hot","sad","tired","exercise"],sheet:[30,51],shortName:"sweat"},{name:"Weary Face",unified:"1F629",keywords:["weary_face","face","tired","sleepy","sad","frustrated","upset"],sheet:[31,15],shortName:"weary"},{name:"Tired Face",unified:"1F62B",keywords:["tired_face","sick","whine","upset","frustrated"],sheet:[31,17],shortName:"tired_face"},{name:"Yawning Face",unified:"1F971",keywords:["yawning_face","tired","sleepy"],sheet:[42,14],shortName:"yawning_face"},{name:"Face with Look of Triumph",unified:"1F624",keywords:["face_with_steam_from_nose","face","gas","phew","proud","pride"],sheet:[31,10],shortName:"triumph"},{name:"Pouting Face",unified:"1F621",keywords:["pouting_face","angry","mad","hate","despise"],sheet:[31,7],shortName:"rage"},{name:"Angry Face",unified:"1F620",emoticons:[">:(",">:-("],keywords:["angry_face","mad","face","annoyed","frustrated"],sheet:[31,6],shortName:"angry"},{name:"Serious Face with Symbols Covering Mouth",unified:"1F92C",keywords:["face_with_symbols_on_mouth","face","swearing","cursing","cussing","profanity","expletive"],sheet:[38,45],shortNames:["serious_face_with_symbols_covering_mouth"],shortName:"face_with_symbols_on_mouth"},{name:"Smiling Face with Horns",unified:"1F608",keywords:["smiling_face_with_horns","devil","horns"],sheet:[30,40],shortName:"smiling_imp"},{name:"Imp",unified:"1F47F",keywords:["angry_face_with_horns","devil","angry","horns"],sheet:[23,49],shortName:"imp"},{name:"Skull",unified:"1F480",keywords:["skull","dead","skeleton","creepy","death"],sheet:[23,50],shortName:"skull"},{name:"Skull and Crossbones",unified:"2620-FE0F",keywords:["skull_and_crossbones","poison","danger","deadly","scary","death","pirate","evil"],sheet:[54,13],shortName:"skull_and_crossbones"},{name:"Pile of Poo",unified:"1F4A9",keywords:["pile_of_poo","hankey","shitface","fail","turd","shit"],sheet:[25,53],shortNames:["poop","shit"],shortName:"hankey"},{name:"Clown Face",unified:"1F921",keywords:["clown_face","face"],sheet:[38,17],shortName:"clown_face"},{name:"Japanese Ogre",unified:"1F479",keywords:["ogre","monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],sheet:[23,38],shortName:"japanese_ogre"},{name:"Japanese Goblin",unified:"1F47A",keywords:["goblin","red","evil","mask","monster","scary","creepy","japanese","goblin"],sheet:[23,39],shortName:"japanese_goblin"},{name:"Ghost",unified:"1F47B",keywords:["ghost","halloween","spooky","scary"],sheet:[23,40],shortName:"ghost"},{name:"Extraterrestrial Alien",unified:"1F47D",keywords:["alien","UFO","paul","weird","outer_space"],sheet:[23,47],shortName:"alien"},{name:"Alien Monster",unified:"1F47E",keywords:["alien_monster","game","arcade","play"],sheet:[23,48],shortName:"space_invader"},{name:"Robot Face",unified:"1F916",keywords:["robot","computer","machine","bot"],sheet:[37,29],shortName:"robot_face"},{name:"Smiling Cat Face with Open Mouth",unified:"1F63A",keywords:["grinning_cat","animal","cats","happy","smile"],sheet:[31,32],shortName:"smiley_cat"},{name:"Grinning Cat Face with Smiling Eyes",unified:"1F638",keywords:["grinning_cat_with_smiling_eyes","animal","cats","smile"],sheet:[31,30],shortName:"smile_cat"},{name:"Cat Face with Tears of Joy",unified:"1F639",keywords:["cat_with_tears_of_joy","animal","cats","haha","happy","tears"],sheet:[31,31],shortName:"joy_cat"},{name:"Smiling Cat Face with Heart-Shaped Eyes",unified:"1F63B",keywords:["smiling_cat_with_heart_eyes","animal","love","like","affection","cats","valentines","heart"],sheet:[31,33],shortName:"heart_eyes_cat"},{name:"Cat Face with Wry Smile",unified:"1F63C",keywords:["cat_with_wry_smile","animal","cats","smirk"],sheet:[31,34],shortName:"smirk_cat"},{name:"Kissing Cat Face with Closed Eyes",unified:"1F63D",keywords:["kissing_cat","animal","cats","kiss"],sheet:[31,35],shortName:"kissing_cat"},{name:"Weary Cat Face",unified:"1F640",keywords:["weary_cat","animal","cats","munch","scared","scream"],sheet:[31,38],shortName:"scream_cat"},{name:"Crying Cat Face",unified:"1F63F",keywords:["crying_cat","animal","tears","weep","sad","cats","upset","cry"],sheet:[31,37],shortName:"crying_cat_face"},{name:"Pouting Cat Face",unified:"1F63E",keywords:["pouting_cat","animal","cats"],sheet:[31,36],shortName:"pouting_cat"},{name:"See-No-Evil Monkey",unified:"1F648",keywords:["see_no_evil_monkey","monkey","animal","nature","haha"],sheet:[32,39],shortName:"see_no_evil"},{name:"Hear-No-Evil Monkey",unified:"1F649",keywords:["hear_no_evil_monkey","animal","monkey","nature"],sheet:[32,40],shortName:"hear_no_evil"},{name:"Speak-No-Evil Monkey",unified:"1F64A",keywords:["speak_no_evil_monkey","monkey","animal","nature","omg"],sheet:[32,41],shortName:"speak_no_evil"},{name:"Kiss Mark",unified:"1F48B",keywords:["kiss_mark","face","lips","love","like","affection","valentines"],sheet:[25,23],shortName:"kiss"},{name:"Love Letter",unified:"1F48C",keywords:["love_letter","email","like","affection","envelope","valentines"],sheet:[25,24],shortName:"love_letter"},{name:"Heart with Arrow",unified:"1F498",keywords:["heart_with_arrow","love","like","heart","affection","valentines"],sheet:[25,36],shortName:"cupid"},{name:"Heart with Ribbon",unified:"1F49D",keywords:["heart_with_ribbon","love","valentines"],sheet:[25,41],shortName:"gift_heart"},{name:"Sparkling Heart",unified:"1F496",keywords:["sparkling_heart","love","like","affection","valentines"],sheet:[25,34],shortName:"sparkling_heart"},{name:"Growing Heart",unified:"1F497",keywords:["growing_heart","like","love","affection","valentines","pink"],sheet:[25,35],shortName:"heartpulse"},{name:"Beating Heart",unified:"1F493",keywords:["beating_heart","love","like","affection","valentines","pink","heart"],sheet:[25,31],shortName:"heartbeat"},{name:"Revolving Hearts",unified:"1F49E",keywords:["revolving_hearts","love","like","affection","valentines"],sheet:[25,42],shortName:"revolving_hearts"},{name:"Two Hearts",unified:"1F495",keywords:["two_hearts","love","like","affection","valentines","heart"],sheet:[25,33],shortName:"two_hearts"},{name:"Heart Decoration",unified:"1F49F",keywords:["heart_decoration","purple-square","love","like"],sheet:[25,43],shortName:"heart_decoration"},{name:"Heart Exclamation",unified:"2763-FE0F",keywords:["heart_exclamation","decoration","love"],sheet:[56,31],shortName:"heavy_heart_exclamation_mark_ornament"},{name:"Broken Heart",unified:"1F494",text:"</3",emoticons:["</3"],keywords:["broken_heart","sad","sorry","break","heart","heartbreak"],sheet:[25,32],shortName:"broken_heart"},{name:"Heavy Black Heart",unified:"2764-FE0F",text:"<3",emoticons:["<3"],keywords:["red_heart","love","like","valentines"],sheet:[56,32],shortName:"heart"},{name:"Orange Heart",unified:"1F9E1",keywords:["orange_heart","love","like","affection","valentines"],sheet:[51,44],shortName:"orange_heart"},{name:"Yellow Heart",unified:"1F49B",text:"<3",keywords:["yellow_heart","love","like","affection","valentines"],sheet:[25,39],shortName:"yellow_heart"},{name:"Green Heart",unified:"1F49A",text:"<3",keywords:["green_heart","love","like","affection","valentines"],sheet:[25,38],shortName:"green_heart"},{name:"Blue Heart",unified:"1F499",text:"<3",keywords:["blue_heart","love","like","affection","valentines"],sheet:[25,37],shortName:"blue_heart"},{name:"Purple Heart",unified:"1F49C",text:"<3",keywords:["purple_heart","love","like","affection","valentines"],sheet:[25,40],shortName:"purple_heart"},{name:"Brown Heart",unified:"1F90E",keywords:["brown_heart","coffee"],sheet:[37,16],shortName:"brown_heart"},{name:"Black Heart",unified:"1F5A4",keywords:["black_heart","evil"],sheet:[30,6],shortName:"black_heart"},{name:"White Heart",unified:"1F90D",keywords:["white_heart","pure"],sheet:[37,15],shortName:"white_heart"},{name:"Hundred Points Symbol",unified:"1F4AF",keywords:["hundred_points","score","perfect","numbers","century","exam","quiz","test","pass","hundred"],sheet:[26,6],shortName:"100"},{name:"Anger Symbol",unified:"1F4A2",keywords:["anger_symbol","angry","mad"],sheet:[25,46],shortName:"anger"},{name:"Collision Symbol",unified:"1F4A5",keywords:["collision","bomb","explode","explosion","collision","blown"],sheet:[25,49],shortNames:["collision"],shortName:"boom"},{name:"Dizzy Symbol",unified:"1F4AB",keywords:["dizzy","star","sparkle","shoot","magic"],sheet:[26,2],shortName:"dizzy"},{name:"Splashing Sweat Symbol",unified:"1F4A6",keywords:["sweat_droplets","water","drip","oops"],sheet:[25,50],shortName:"sweat_drops"},{name:"Dash Symbol",unified:"1F4A8",keywords:["dashing_away","wind","air","fast","shoo","fart","smoke","puff"],sheet:[25,52],shortName:"dash"},{name:"Hole",unified:"1F573-FE0F",keywords:["hole","embarrassing"],sheet:[29,6],shortName:"hole"},{name:"Bomb",unified:"1F4A3",keywords:["bomb","boom","explode","explosion","terrorism"],sheet:[25,47],shortName:"bomb"},{name:"Speech Balloon",unified:"1F4AC",keywords:["speech_balloon","bubble","words","message","talk","chatting"],sheet:[26,3],shortName:"speech_balloon"},{name:"Eye in Speech Bubble",unified:"1F441-FE0F-200D-1F5E8-FE0F",keywords:["eye_in_speech_bubble","info"],sheet:[12,28],hidden:["twitter","facebook"],shortName:"eye-in-speech-bubble"},{name:"Left Speech Bubble",unified:"1F5E8-FE0F",keywords:["left_speech_bubble","words","message","talk","chatting"],sheet:[30,23],shortName:"left_speech_bubble"},{name:"Right Anger Bubble",unified:"1F5EF-FE0F",keywords:["right_anger_bubble","caption","speech","thinking","mad"],sheet:[30,24],shortName:"right_anger_bubble"},{name:"Thought Balloon",unified:"1F4AD",keywords:["thought_balloon","bubble","cloud","speech","thinking","dream"],sheet:[26,4],shortName:"thought_balloon"},{name:"Sleeping Symbol",unified:"1F4A4",keywords:["zzz","sleepy","tired","dream"],sheet:[25,48],shortName:"zzz"},{name:"Waving Hand Sign",unified:"1F44B",keywords:["waving_hand","hands","gesture","goodbye","solong","farewell","hello","hi","palm"],sheet:[13,16],skinVariations:[{unified:"1F44B-1F3FB",sheet:[13,17]},{unified:"1F44B-1F3FC",sheet:[13,18]},{unified:"1F44B-1F3FD",sheet:[13,19]},{unified:"1F44B-1F3FE",sheet:[13,20]},{unified:"1F44B-1F3FF",sheet:[13,21]}],shortName:"wave"},{name:"Raised Back of Hand",unified:"1F91A",keywords:["raised_back_of_hand","fingers","raised","backhand"],sheet:[37,43],skinVariations:[{unified:"1F91A-1F3FB",sheet:[37,44]},{unified:"1F91A-1F3FC",sheet:[37,45]},{unified:"1F91A-1F3FD",sheet:[37,46]},{unified:"1F91A-1F3FE",sheet:[37,47]},{unified:"1F91A-1F3FF",sheet:[37,48]}],shortName:"raised_back_of_hand"},{name:"Hand with Fingers Splayed",unified:"1F590-FE0F",keywords:["hand_with_fingers_splayed","hand","fingers","palm"],sheet:[29,46],skinVariations:[{unified:"1F590-1F3FB",sheet:[29,47]},{unified:"1F590-1F3FC",sheet:[29,48]},{unified:"1F590-1F3FD",sheet:[29,49]},{unified:"1F590-1F3FE",sheet:[29,50]},{unified:"1F590-1F3FF",sheet:[29,51]}],shortName:"raised_hand_with_fingers_splayed"},{name:"Raised Hand",unified:"270B",keywords:["raised_hand","fingers","stop","highfive","palm","ban"],sheet:[55,54],skinVariations:[{unified:"270B-1F3FB",sheet:[55,55]},{unified:"270B-1F3FC",sheet:[55,56]},{unified:"270B-1F3FD",sheet:[55,57]},{unified:"270B-1F3FE",sheet:[56,0]},{unified:"270B-1F3FF",sheet:[56,1]}],shortNames:["raised_hand"],shortName:"hand"},{name:"Raised Hand with Part Between Middle and Ring Fingers",unified:"1F596",keywords:["vulcan_salute","hand","fingers","spock","star trek"],sheet:[30,0],skinVariations:[{unified:"1F596-1F3FB",sheet:[30,1]},{unified:"1F596-1F3FC",sheet:[30,2]},{unified:"1F596-1F3FD",sheet:[30,3]},{unified:"1F596-1F3FE",sheet:[30,4]},{unified:"1F596-1F3FF",sheet:[30,5]}],shortName:"spock-hand"},{name:"Ok Hand Sign",unified:"1F44C",keywords:["ok_hand","fingers","limbs","perfect","ok","okay"],sheet:[13,22],skinVariations:[{unified:"1F44C-1F3FB",sheet:[13,23]},{unified:"1F44C-1F3FC",sheet:[13,24]},{unified:"1F44C-1F3FD",sheet:[13,25]},{unified:"1F44C-1F3FE",sheet:[13,26]},{unified:"1F44C-1F3FF",sheet:[13,27]}],shortName:"ok_hand"},{name:"Pinched Fingers",unified:"1F90C",keywords:["pinched fingers","size","tiny","small"],sheet:[37,9],skinVariations:[{unified:"1F90C-1F3FB",sheet:[37,10]},{unified:"1F90C-1F3FC",sheet:[37,11]},{unified:"1F90C-1F3FD",sheet:[37,12]},{unified:"1F90C-1F3FE",sheet:[37,13]},{unified:"1F90C-1F3FF",sheet:[37,14]}],shortName:"pinched_fingers"},{name:"Pinching Hand",unified:"1F90F",keywords:["pinching_hand","tiny","small","size"],sheet:[37,17],skinVariations:[{unified:"1F90F-1F3FB",sheet:[37,18]},{unified:"1F90F-1F3FC",sheet:[37,19]},{unified:"1F90F-1F3FD",sheet:[37,20]},{unified:"1F90F-1F3FE",sheet:[37,21]},{unified:"1F90F-1F3FF",sheet:[37,22]}],shortName:"pinching_hand"},{name:"Victory Hand",unified:"270C-FE0F",keywords:["victory_hand","fingers","ohyeah","hand","peace","victory","two"],sheet:[56,2],skinVariations:[{unified:"270C-1F3FB",sheet:[56,3]},{unified:"270C-1F3FC",sheet:[56,4]},{unified:"270C-1F3FD",sheet:[56,5]},{unified:"270C-1F3FE",sheet:[56,6]},{unified:"270C-1F3FF",sheet:[56,7]}],shortName:"v"},{name:"Hand with Index and Middle Fingers Crossed",unified:"1F91E",keywords:["crossed_fingers","good","lucky"],sheet:[38,4],skinVariations:[{unified:"1F91E-1F3FB",sheet:[38,5]},{unified:"1F91E-1F3FC",sheet:[38,6]},{unified:"1F91E-1F3FD",sheet:[38,7]},{unified:"1F91E-1F3FE",sheet:[38,8]},{unified:"1F91E-1F3FF",sheet:[38,9]}],shortNames:["hand_with_index_and_middle_fingers_crossed"],shortName:"crossed_fingers"},{name:"I Love You Hand Sign",unified:"1F91F",keywords:["love_you_gesture","hand","fingers","gesture"],sheet:[38,10],skinVariations:[{unified:"1F91F-1F3FB",sheet:[38,11]},{unified:"1F91F-1F3FC",sheet:[38,12]},{unified:"1F91F-1F3FD",sheet:[38,13]},{unified:"1F91F-1F3FE",sheet:[38,14]},{unified:"1F91F-1F3FF",sheet:[38,15]}],shortName:"i_love_you_hand_sign"},{name:"Sign of the Horns",unified:"1F918",keywords:["sign_of_the_horns","hand","fingers","evil_eye","sign_of_horns","rock_on"],sheet:[37,31],skinVariations:[{unified:"1F918-1F3FB",sheet:[37,32]},{unified:"1F918-1F3FC",sheet:[37,33]},{unified:"1F918-1F3FD",sheet:[37,34]},{unified:"1F918-1F3FE",sheet:[37,35]},{unified:"1F918-1F3FF",sheet:[37,36]}],shortNames:["sign_of_the_horns"],shortName:"the_horns"},{name:"Call Me Hand",unified:"1F919",keywords:["call_me_hand","hands","gesture"],sheet:[37,37],skinVariations:[{unified:"1F919-1F3FB",sheet:[37,38]},{unified:"1F919-1F3FC",sheet:[37,39]},{unified:"1F919-1F3FD",sheet:[37,40]},{unified:"1F919-1F3FE",sheet:[37,41]},{unified:"1F919-1F3FF",sheet:[37,42]}],shortName:"call_me_hand"},{name:"White Left Pointing Backhand Index",unified:"1F448",keywords:["backhand_index_pointing_left","direction","fingers","hand","left"],sheet:[12,56],skinVariations:[{unified:"1F448-1F3FB",sheet:[12,57]},{unified:"1F448-1F3FC",sheet:[13,0]},{unified:"1F448-1F3FD",sheet:[13,1]},{unified:"1F448-1F3FE",sheet:[13,2]},{unified:"1F448-1F3FF",sheet:[13,3]}],shortName:"point_left"},{name:"White Right Pointing Backhand Index",unified:"1F449",keywords:["backhand_index_pointing_right","fingers","hand","direction","right"],sheet:[13,4],skinVariations:[{unified:"1F449-1F3FB",sheet:[13,5]},{unified:"1F449-1F3FC",sheet:[13,6]},{unified:"1F449-1F3FD",sheet:[13,7]},{unified:"1F449-1F3FE",sheet:[13,8]},{unified:"1F449-1F3FF",sheet:[13,9]}],shortName:"point_right"},{name:"White Up Pointing Backhand Index",unified:"1F446",keywords:["backhand_index_pointing_up","fingers","hand","direction","up"],sheet:[12,44],skinVariations:[{unified:"1F446-1F3FB",sheet:[12,45]},{unified:"1F446-1F3FC",sheet:[12,46]},{unified:"1F446-1F3FD",sheet:[12,47]},{unified:"1F446-1F3FE",sheet:[12,48]},{unified:"1F446-1F3FF",sheet:[12,49]}],shortName:"point_up_2"},{name:"Reversed Hand with Middle Finger Extended",unified:"1F595",keywords:["middle_finger","hand","fingers","rude","middle","flipping"],sheet:[29,52],skinVariations:[{unified:"1F595-1F3FB",sheet:[29,53]},{unified:"1F595-1F3FC",sheet:[29,54]},{unified:"1F595-1F3FD",sheet:[29,55]},{unified:"1F595-1F3FE",sheet:[29,56]},{unified:"1F595-1F3FF",sheet:[29,57]}],shortNames:["reversed_hand_with_middle_finger_extended"],shortName:"middle_finger"},{name:"White Down Pointing Backhand Index",unified:"1F447",keywords:["backhand_index_pointing_down","fingers","hand","direction","down"],sheet:[12,50],skinVariations:[{unified:"1F447-1F3FB",sheet:[12,51]},{unified:"1F447-1F3FC",sheet:[12,52]},{unified:"1F447-1F3FD",sheet:[12,53]},{unified:"1F447-1F3FE",sheet:[12,54]},{unified:"1F447-1F3FF",sheet:[12,55]}],shortName:"point_down"},{name:"White Up Pointing Index",unified:"261D-FE0F",keywords:["index_pointing_up","hand","fingers","direction","up"],sheet:[54,7],skinVariations:[{unified:"261D-1F3FB",sheet:[54,8]},{unified:"261D-1F3FC",sheet:[54,9]},{unified:"261D-1F3FD",sheet:[54,10]},{unified:"261D-1F3FE",sheet:[54,11]},{unified:"261D-1F3FF",sheet:[54,12]}],shortName:"point_up"},{name:"Thumbs Up Sign",unified:"1F44D",keywords:["thumbs_up","thumbsup","yes","awesome","good","agree","accept","cool","hand","like","+1"],sheet:[13,28],skinVariations:[{unified:"1F44D-1F3FB",sheet:[13,29]},{unified:"1F44D-1F3FC",sheet:[13,30]},{unified:"1F44D-1F3FD",sheet:[13,31]},{unified:"1F44D-1F3FE",sheet:[13,32]},{unified:"1F44D-1F3FF",sheet:[13,33]}],shortNames:["thumbsup"],shortName:"+1"},{name:"Thumbs Down Sign",unified:"1F44E",keywords:["thumbs_down","thumbsdown","no","dislike","hand","-1"],sheet:[13,34],skinVariations:[{unified:"1F44E-1F3FB",sheet:[13,35]},{unified:"1F44E-1F3FC",sheet:[13,36]},{unified:"1F44E-1F3FD",sheet:[13,37]},{unified:"1F44E-1F3FE",sheet:[13,38]},{unified:"1F44E-1F3FF",sheet:[13,39]}],shortNames:["thumbsdown"],shortName:"-1"},{name:"Raised Fist",unified:"270A",keywords:["raised_fist","fingers","hand","grasp"],sheet:[55,48],skinVariations:[{unified:"270A-1F3FB",sheet:[55,49]},{unified:"270A-1F3FC",sheet:[55,50]},{unified:"270A-1F3FD",sheet:[55,51]},{unified:"270A-1F3FE",sheet:[55,52]},{unified:"270A-1F3FF",sheet:[55,53]}],shortName:"fist"},{name:"Fisted Hand Sign",unified:"1F44A",keywords:["oncoming_fist","angry","violence","fist","hit","attack","hand"],sheet:[13,10],skinVariations:[{unified:"1F44A-1F3FB",sheet:[13,11]},{unified:"1F44A-1F3FC",sheet:[13,12]},{unified:"1F44A-1F3FD",sheet:[13,13]},{unified:"1F44A-1F3FE",sheet:[13,14]},{unified:"1F44A-1F3FF",sheet:[13,15]}],shortNames:["punch"],shortName:"facepunch"},{name:"Left-Facing Fist",unified:"1F91B",keywords:["left_facing_fist","hand","fistbump"],sheet:[37,49],skinVariations:[{unified:"1F91B-1F3FB",sheet:[37,50]},{unified:"1F91B-1F3FC",sheet:[37,51]},{unified:"1F91B-1F3FD",sheet:[37,52]},{unified:"1F91B-1F3FE",sheet:[37,53]},{unified:"1F91B-1F3FF",sheet:[37,54]}],shortName:"left-facing_fist"},{name:"Right-Facing Fist",unified:"1F91C",keywords:["right_facing_fist","hand","fistbump"],sheet:[37,55],skinVariations:[{unified:"1F91C-1F3FB",sheet:[37,56]},{unified:"1F91C-1F3FC",sheet:[37,57]},{unified:"1F91C-1F3FD",sheet:[38,0]},{unified:"1F91C-1F3FE",sheet:[38,1]},{unified:"1F91C-1F3FF",sheet:[38,2]}],shortName:"right-facing_fist"},{name:"Clapping Hands Sign",unified:"1F44F",keywords:["clapping_hands","hands","praise","applause","congrats","yay"],sheet:[13,40],skinVariations:[{unified:"1F44F-1F3FB",sheet:[13,41]},{unified:"1F44F-1F3FC",sheet:[13,42]},{unified:"1F44F-1F3FD",sheet:[13,43]},{unified:"1F44F-1F3FE",sheet:[13,44]},{unified:"1F44F-1F3FF",sheet:[13,45]}],shortName:"clap"},{name:"Person Raising Both Hands in Celebration",unified:"1F64C",keywords:["raising_hands","gesture","hooray","yea","celebration","hands"],sheet:[33,2],skinVariations:[{unified:"1F64C-1F3FB",sheet:[33,3]},{unified:"1F64C-1F3FC",sheet:[33,4]},{unified:"1F64C-1F3FD",sheet:[33,5]},{unified:"1F64C-1F3FE",sheet:[33,6]},{unified:"1F64C-1F3FF",sheet:[33,7]}],shortName:"raised_hands"},{name:"Open Hands Sign",unified:"1F450",keywords:["open_hands","fingers","butterfly","hands","open"],sheet:[13,46],skinVariations:[{unified:"1F450-1F3FB",sheet:[13,47]},{unified:"1F450-1F3FC",sheet:[13,48]},{unified:"1F450-1F3FD",sheet:[13,49]},{unified:"1F450-1F3FE",sheet:[13,50]},{unified:"1F450-1F3FF",sheet:[13,51]}],shortName:"open_hands"},{name:"Palms Up Together",unified:"1F932",keywords:["palms_up_together","hands","gesture","cupped","prayer"],sheet:[39,3],skinVariations:[{unified:"1F932-1F3FB",sheet:[39,4]},{unified:"1F932-1F3FC",sheet:[39,5]},{unified:"1F932-1F3FD",sheet:[39,6]},{unified:"1F932-1F3FE",sheet:[39,7]},{unified:"1F932-1F3FF",sheet:[39,8]}],shortName:"palms_up_together"},{name:"Handshake",unified:"1F91D",keywords:["handshake","agreement","shake"],sheet:[38,3],shortName:"handshake"},{name:"Person with Folded Hands",unified:"1F64F",keywords:["folded_hands","please","hope","wish","namaste","highfive"],sheet:[33,44],skinVariations:[{unified:"1F64F-1F3FB",sheet:[33,45]},{unified:"1F64F-1F3FC",sheet:[33,46]},{unified:"1F64F-1F3FD",sheet:[33,47]},{unified:"1F64F-1F3FE",sheet:[33,48]},{unified:"1F64F-1F3FF",sheet:[33,49]}],shortName:"pray"},{name:"Writing Hand",unified:"270D-FE0F",keywords:["writing_hand","lower_left_ballpoint_pen","stationery","write","compose"],sheet:[56,8],skinVariations:[{unified:"270D-1F3FB",sheet:[56,9]},{unified:"270D-1F3FC",sheet:[56,10]},{unified:"270D-1F3FD",sheet:[56,11]},{unified:"270D-1F3FE",sheet:[56,12]},{unified:"270D-1F3FF",sheet:[56,13]}],shortName:"writing_hand"},{name:"Nail Polish",unified:"1F485",keywords:["nail_polish","beauty","manicure","finger","fashion","nail"],sheet:[24,36],skinVariations:[{unified:"1F485-1F3FB",sheet:[24,37]},{unified:"1F485-1F3FC",sheet:[24,38]},{unified:"1F485-1F3FD",sheet:[24,39]},{unified:"1F485-1F3FE",sheet:[24,40]},{unified:"1F485-1F3FF",sheet:[24,41]}],shortName:"nail_care"},{name:"Selfie",unified:"1F933",keywords:["selfie","camera","phone"],sheet:[39,9],skinVariations:[{unified:"1F933-1F3FB",sheet:[39,10]},{unified:"1F933-1F3FC",sheet:[39,11]},{unified:"1F933-1F3FD",sheet:[39,12]},{unified:"1F933-1F3FE",sheet:[39,13]},{unified:"1F933-1F3FF",sheet:[39,14]}],shortName:"selfie"},{name:"Flexed Biceps",unified:"1F4AA",keywords:["flexed_biceps","arm","flex","hand","summer","strong","biceps"],sheet:[25,54],skinVariations:[{unified:"1F4AA-1F3FB",sheet:[25,55]},{unified:"1F4AA-1F3FC",sheet:[25,56]},{unified:"1F4AA-1F3FD",sheet:[25,57]},{unified:"1F4AA-1F3FE",sheet:[26,0]},{unified:"1F4AA-1F3FF",sheet:[26,1]}],shortName:"muscle"},{name:"Mechanical Arm",unified:"1F9BE",keywords:["mechanical_arm","accessibility"],sheet:[44,24],shortName:"mechanical_arm"},{name:"Mechanical Leg",unified:"1F9BF",keywords:["mechanical_leg","accessibility"],sheet:[44,25],shortName:"mechanical_leg"},{name:"Leg",unified:"1F9B5",keywords:["leg","kick","limb"],sheet:[43,24],skinVariations:[{unified:"1F9B5-1F3FB",sheet:[43,25]},{unified:"1F9B5-1F3FC",sheet:[43,26]},{unified:"1F9B5-1F3FD",sheet:[43,27]},{unified:"1F9B5-1F3FE",sheet:[43,28]},{unified:"1F9B5-1F3FF",sheet:[43,29]}],shortName:"leg"},{name:"Foot",unified:"1F9B6",keywords:["foot","kick","stomp"],sheet:[43,30],skinVariations:[{unified:"1F9B6-1F3FB",sheet:[43,31]},{unified:"1F9B6-1F3FC",sheet:[43,32]},{unified:"1F9B6-1F3FD",sheet:[43,33]},{unified:"1F9B6-1F3FE",sheet:[43,34]},{unified:"1F9B6-1F3FF",sheet:[43,35]}],shortName:"foot"},{name:"Ear",unified:"1F442",keywords:["ear","face","hear","sound","listen"],sheet:[12,30],skinVariations:[{unified:"1F442-1F3FB",sheet:[12,31]},{unified:"1F442-1F3FC",sheet:[12,32]},{unified:"1F442-1F3FD",sheet:[12,33]},{unified:"1F442-1F3FE",sheet:[12,34]},{unified:"1F442-1F3FF",sheet:[12,35]}],shortName:"ear"},{name:"Ear with Hearing Aid",unified:"1F9BB",keywords:["ear_with_hearing_aid","accessibility"],sheet:[44,16],skinVariations:[{unified:"1F9BB-1F3FB",sheet:[44,17]},{unified:"1F9BB-1F3FC",sheet:[44,18]},{unified:"1F9BB-1F3FD",sheet:[44,19]},{unified:"1F9BB-1F3FE",sheet:[44,20]},{unified:"1F9BB-1F3FF",sheet:[44,21]}],shortName:"ear_with_hearing_aid"},{name:"Nose",unified:"1F443",keywords:["nose","smell","sniff"],sheet:[12,36],skinVariations:[{unified:"1F443-1F3FB",sheet:[12,37]},{unified:"1F443-1F3FC",sheet:[12,38]},{unified:"1F443-1F3FD",sheet:[12,39]},{unified:"1F443-1F3FE",sheet:[12,40]},{unified:"1F443-1F3FF",sheet:[12,41]}],shortName:"nose"},{name:"Brain",unified:"1F9E0",keywords:["brain","smart","intelligent"],sheet:[51,43],shortName:"brain"},{name:"Anatomical Heart",unified:"1FAC0",keywords:["anatomical heart","health","heartbeat"],sheet:[53,6],shortName:"anatomical_heart"},{name:"Lungs",unified:"1FAC1",keywords:["lungs","breathe"],sheet:[53,7],shortName:"lungs"},{name:"Tooth",unified:"1F9B7",keywords:["tooth","teeth","dentist"],sheet:[43,36],shortName:"tooth"},{name:"Bone",unified:"1F9B4",keywords:["bone","skeleton"],sheet:[43,23],shortName:"bone"},{name:"Eyes",unified:"1F440",keywords:["eyes","look","watch","stalk","peek","see"],sheet:[12,27],shortName:"eyes"},{name:"Eye",unified:"1F441-FE0F",keywords:["eye","face","look","see","watch","stare"],sheet:[12,29],shortName:"eye"},{name:"Tongue",unified:"1F445",keywords:["tongue","mouth","playful"],sheet:[12,43],shortName:"tongue"},{name:"Mouth",unified:"1F444",keywords:["mouth","mouth","kiss"],sheet:[12,42],shortName:"lips"},{name:"Baby",unified:"1F476",keywords:["baby","child","boy","girl","toddler"],sheet:[23,8],skinVariations:[{unified:"1F476-1F3FB",sheet:[23,9]},{unified:"1F476-1F3FC",sheet:[23,10]},{unified:"1F476-1F3FD",sheet:[23,11]},{unified:"1F476-1F3FE",sheet:[23,12]},{unified:"1F476-1F3FF",sheet:[23,13]}],shortName:"baby"},{name:"Child",unified:"1F9D2",keywords:["child","gender-neutral","young"],sheet:[48,43],skinVariations:[{unified:"1F9D2-1F3FB",sheet:[48,44]},{unified:"1F9D2-1F3FC",sheet:[48,45]},{unified:"1F9D2-1F3FD",sheet:[48,46]},{unified:"1F9D2-1F3FE",sheet:[48,47]},{unified:"1F9D2-1F3FF",sheet:[48,48]}],shortName:"child"},{name:"Boy",unified:"1F466",keywords:["boy","man","male","guy","teenager"],sheet:[14,15],skinVariations:[{unified:"1F466-1F3FB",sheet:[14,16]},{unified:"1F466-1F3FC",sheet:[14,17]},{unified:"1F466-1F3FD",sheet:[14,18]},{unified:"1F466-1F3FE",sheet:[14,19]},{unified:"1F466-1F3FF",sheet:[14,20]}],shortName:"boy"},{name:"Girl",unified:"1F467",keywords:["girl","female","woman","teenager"],sheet:[14,21],skinVariations:[{unified:"1F467-1F3FB",sheet:[14,22]},{unified:"1F467-1F3FC",sheet:[14,23]},{unified:"1F467-1F3FD",sheet:[14,24]},{unified:"1F467-1F3FE",sheet:[14,25]},{unified:"1F467-1F3FF",sheet:[14,26]}],shortName:"girl"},{name:"Adult",unified:"1F9D1",keywords:["person","gender-neutral","person"],sheet:[48,37],skinVariations:[{unified:"1F9D1-1F3FB",sheet:[48,38]},{unified:"1F9D1-1F3FC",sheet:[48,39]},{unified:"1F9D1-1F3FD",sheet:[48,40]},{unified:"1F9D1-1F3FE",sheet:[48,41]},{unified:"1F9D1-1F3FF",sheet:[48,42]}],shortName:"adult"},{name:"Person with Blond Hair",unified:"1F471",keywords:["person_blond_hair","hairstyle"],sheet:[22,24],skinVariations:[{unified:"1F471-1F3FB",sheet:[22,25]},{unified:"1F471-1F3FC",sheet:[22,26]},{unified:"1F471-1F3FD",sheet:[22,27]},{unified:"1F471-1F3FE",sheet:[22,28]},{unified:"1F471-1F3FF",sheet:[22,29]}],shortName:"person_with_blond_hair",obsoletedBy:"1F471-200D-2642-FE0F"},{name:"Man",unified:"1F468",keywords:["man","mustache","father","dad","guy","classy","sir","moustache"],sheet:[17,14],skinVariations:[{unified:"1F468-1F3FB",sheet:[17,15]},{unified:"1F468-1F3FC",sheet:[17,16]},{unified:"1F468-1F3FD",sheet:[17,17]},{unified:"1F468-1F3FE",sheet:[17,18]},{unified:"1F468-1F3FF",sheet:[17,19]}],shortName:"man"},{name:"Bearded Person",unified:"1F9D4",keywords:["man_beard","person","bewhiskered"],sheet:[48,55],skinVariations:[{unified:"1F9D4-1F3FB",sheet:[48,56]},{unified:"1F9D4-1F3FC",sheet:[48,57]},{unified:"1F9D4-1F3FD",sheet:[49,0]},{unified:"1F9D4-1F3FE",sheet:[49,1]},{unified:"1F9D4-1F3FF",sheet:[49,2]}],shortName:"bearded_person"},{name:"Man: Red Hair",unified:"1F468-200D-1F9B0",keywords:["man_red_hair","hairstyle"],sheet:[16,16],skinVariations:[{unified:"1F468-1F3FB-200D-1F9B0",sheet:[16,17]},{unified:"1F468-1F3FC-200D-1F9B0",sheet:[16,18]},{unified:"1F468-1F3FD-200D-1F9B0",sheet:[16,19]},{unified:"1F468-1F3FE-200D-1F9B0",sheet:[16,20]},{unified:"1F468-1F3FF-200D-1F9B0",sheet:[16,21]}],shortName:"red_haired_man"},{name:"Man: Curly Hair",unified:"1F468-200D-1F9B1",keywords:["man_curly_hair","hairstyle"],sheet:[16,22],skinVariations:[{unified:"1F468-1F3FB-200D-1F9B1",sheet:[16,23]},{unified:"1F468-1F3FC-200D-1F9B1",sheet:[16,24]},{unified:"1F468-1F3FD-200D-1F9B1",sheet:[16,25]},{unified:"1F468-1F3FE-200D-1F9B1",sheet:[16,26]},{unified:"1F468-1F3FF-200D-1F9B1",sheet:[16,27]}],shortName:"curly_haired_man"},{name:"Man: White Hair",unified:"1F468-200D-1F9B3",keywords:["man_white_hair","old","elder"],sheet:[16,34],skinVariations:[{unified:"1F468-1F3FB-200D-1F9B3",sheet:[16,35]},{unified:"1F468-1F3FC-200D-1F9B3",sheet:[16,36]},{unified:"1F468-1F3FD-200D-1F9B3",sheet:[16,37]},{unified:"1F468-1F3FE-200D-1F9B3",sheet:[16,38]},{unified:"1F468-1F3FF-200D-1F9B3",sheet:[16,39]}],shortName:"white_haired_man"},{name:"Man: Bald",unified:"1F468-200D-1F9B2",keywords:["man_bald","hairless"],sheet:[16,28],skinVariations:[{unified:"1F468-1F3FB-200D-1F9B2",sheet:[16,29]},{unified:"1F468-1F3FC-200D-1F9B2",sheet:[16,30]},{unified:"1F468-1F3FD-200D-1F9B2",sheet:[16,31]},{unified:"1F468-1F3FE-200D-1F9B2",sheet:[16,32]},{unified:"1F468-1F3FF-200D-1F9B2",sheet:[16,33]}],shortName:"bald_man"},{name:"Woman",unified:"1F469",keywords:["woman","female","girls","lady"],sheet:[20,4],skinVariations:[{unified:"1F469-1F3FB",sheet:[20,5]},{unified:"1F469-1F3FC",sheet:[20,6]},{unified:"1F469-1F3FD",sheet:[20,7]},{unified:"1F469-1F3FE",sheet:[20,8]},{unified:"1F469-1F3FF",sheet:[20,9]}],shortName:"woman"},{name:"Woman: Red Hair",unified:"1F469-200D-1F9B0",keywords:["woman_red_hair","hairstyle"],sheet:[19,4],skinVariations:[{unified:"1F469-1F3FB-200D-1F9B0",sheet:[19,5]},{unified:"1F469-1F3FC-200D-1F9B0",sheet:[19,6]},{unified:"1F469-1F3FD-200D-1F9B0",sheet:[19,7]},{unified:"1F469-1F3FE-200D-1F9B0",sheet:[19,8]},{unified:"1F469-1F3FF-200D-1F9B0",sheet:[19,9]}],shortName:"red_haired_woman"},{name:"Person: Red Hair",unified:"1F9D1-200D-1F9B0",keywords:["person_red_hair","hairstyle"],sheet:[47,41],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9B0",sheet:[47,42]},{unified:"1F9D1-1F3FC-200D-1F9B0",sheet:[47,43]},{unified:"1F9D1-1F3FD-200D-1F9B0",sheet:[47,44]},{unified:"1F9D1-1F3FE-200D-1F9B0",sheet:[47,45]},{unified:"1F9D1-1F3FF-200D-1F9B0",sheet:[47,46]}],shortName:"red_haired_person"},{name:"Woman: Curly Hair",unified:"1F469-200D-1F9B1",keywords:["woman_curly_hair","hairstyle"],sheet:[19,10],skinVariations:[{unified:"1F469-1F3FB-200D-1F9B1",sheet:[19,11]},{unified:"1F469-1F3FC-200D-1F9B1",sheet:[19,12]},{unified:"1F469-1F3FD-200D-1F9B1",sheet:[19,13]},{unified:"1F469-1F3FE-200D-1F9B1",sheet:[19,14]},{unified:"1F469-1F3FF-200D-1F9B1",sheet:[19,15]}],shortName:"curly_haired_woman"},{name:"Person: Curly Hair",unified:"1F9D1-200D-1F9B1",keywords:["person_curly_hair","hairstyle"],sheet:[47,47],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9B1",sheet:[47,48]},{unified:"1F9D1-1F3FC-200D-1F9B1",sheet:[47,49]},{unified:"1F9D1-1F3FD-200D-1F9B1",sheet:[47,50]},{unified:"1F9D1-1F3FE-200D-1F9B1",sheet:[47,51]},{unified:"1F9D1-1F3FF-200D-1F9B1",sheet:[47,52]}],shortName:"curly_haired_person"},{name:"Woman: White Hair",unified:"1F469-200D-1F9B3",keywords:["woman_white_hair","old","elder"],sheet:[19,22],skinVariations:[{unified:"1F469-1F3FB-200D-1F9B3",sheet:[19,23]},{unified:"1F469-1F3FC-200D-1F9B3",sheet:[19,24]},{unified:"1F469-1F3FD-200D-1F9B3",sheet:[19,25]},{unified:"1F469-1F3FE-200D-1F9B3",sheet:[19,26]},{unified:"1F469-1F3FF-200D-1F9B3",sheet:[19,27]}],shortName:"white_haired_woman"},{name:"Person: White Hair",unified:"1F9D1-200D-1F9B3",keywords:["person_white_hair","elder","old"],sheet:[48,1],hidden:["facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9B3",sheet:[48,2],hidden:["facebook"]},{unified:"1F9D1-1F3FC-200D-1F9B3",sheet:[48,3],hidden:["facebook"]},{unified:"1F9D1-1F3FD-200D-1F9B3",sheet:[48,4],hidden:["facebook"]},{unified:"1F9D1-1F3FE-200D-1F9B3",sheet:[48,5],hidden:["facebook"]},{unified:"1F9D1-1F3FF-200D-1F9B3",sheet:[48,6],hidden:["facebook"]}],shortName:"white_haired_person"},{name:"Woman: Bald",unified:"1F469-200D-1F9B2",keywords:["woman_bald","hairless"],sheet:[19,16],skinVariations:[{unified:"1F469-1F3FB-200D-1F9B2",sheet:[19,17]},{unified:"1F469-1F3FC-200D-1F9B2",sheet:[19,18]},{unified:"1F469-1F3FD-200D-1F9B2",sheet:[19,19]},{unified:"1F469-1F3FE-200D-1F9B2",sheet:[19,20]},{unified:"1F469-1F3FF-200D-1F9B2",sheet:[19,21]}],shortName:"bald_woman"},{name:"Person: Bald",unified:"1F9D1-200D-1F9B2",keywords:["person_bald","hairless"],sheet:[47,53],hidden:["facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9B2",sheet:[47,54],hidden:["facebook"]},{unified:"1F9D1-1F3FC-200D-1F9B2",sheet:[47,55],hidden:["facebook"]},{unified:"1F9D1-1F3FD-200D-1F9B2",sheet:[47,56],hidden:["facebook"]},{unified:"1F9D1-1F3FE-200D-1F9B2",sheet:[47,57],hidden:["facebook"]},{unified:"1F9D1-1F3FF-200D-1F9B2",sheet:[48,0],hidden:["facebook"]}],shortName:"bald_person"},{name:"Woman: Blond Hair",unified:"1F471-200D-2640-FE0F",keywords:["woman_blond_hair","woman","female","girl","blonde","person"],sheet:[22,12],skinVariations:[{unified:"1F471-1F3FB-200D-2640-FE0F",sheet:[22,13]},{unified:"1F471-1F3FC-200D-2640-FE0F",sheet:[22,14]},{unified:"1F471-1F3FD-200D-2640-FE0F",sheet:[22,15]},{unified:"1F471-1F3FE-200D-2640-FE0F",sheet:[22,16]},{unified:"1F471-1F3FF-200D-2640-FE0F",sheet:[22,17]}],shortName:"blond-haired-woman"},{name:"Man: Blond Hair",unified:"1F471-200D-2642-FE0F",obsoletes:"1F471",keywords:["man_blond_hair","man","male","boy","blonde","guy","person"],sheet:[22,18],skinVariations:[{unified:"1F471-1F3FB-200D-2642-FE0F",sheet:[22,19]},{unified:"1F471-1F3FC-200D-2642-FE0F",sheet:[22,20]},{unified:"1F471-1F3FD-200D-2642-FE0F",sheet:[22,21]},{unified:"1F471-1F3FE-200D-2642-FE0F",sheet:[22,22]},{unified:"1F471-1F3FF-200D-2642-FE0F",sheet:[22,23]}],shortName:"blond-haired-man"},{name:"Older Adult",unified:"1F9D3",keywords:["older_person","human","elder","senior","gender-neutral"],sheet:[48,49],skinVariations:[{unified:"1F9D3-1F3FB",sheet:[48,50]},{unified:"1F9D3-1F3FC",sheet:[48,51]},{unified:"1F9D3-1F3FD",sheet:[48,52]},{unified:"1F9D3-1F3FE",sheet:[48,53]},{unified:"1F9D3-1F3FF",sheet:[48,54]}],shortName:"older_adult"},{name:"Older Man",unified:"1F474",keywords:["old_man","human","male","men","old","elder","senior"],sheet:[22,54],skinVariations:[{unified:"1F474-1F3FB",sheet:[22,55]},{unified:"1F474-1F3FC",sheet:[22,56]},{unified:"1F474-1F3FD",sheet:[22,57]},{unified:"1F474-1F3FE",sheet:[23,0]},{unified:"1F474-1F3FF",sheet:[23,1]}],shortName:"older_man"},{name:"Older Woman",unified:"1F475",keywords:["old_woman","human","female","women","lady","old","elder","senior"],sheet:[23,2],skinVariations:[{unified:"1F475-1F3FB",sheet:[23,3]},{unified:"1F475-1F3FC",sheet:[23,4]},{unified:"1F475-1F3FD",sheet:[23,5]},{unified:"1F475-1F3FE",sheet:[23,6]},{unified:"1F475-1F3FF",sheet:[23,7]}],shortName:"older_woman"},{name:"Person Frowning",unified:"1F64D",keywords:["person_frowning","worried"],sheet:[33,20],skinVariations:[{unified:"1F64D-1F3FB",sheet:[33,21]},{unified:"1F64D-1F3FC",sheet:[33,22]},{unified:"1F64D-1F3FD",sheet:[33,23]},{unified:"1F64D-1F3FE",sheet:[33,24]},{unified:"1F64D-1F3FF",sheet:[33,25]}],shortName:"person_frowning",obsoletedBy:"1F64D-200D-2640-FE0F"},{name:"Man Frowning",unified:"1F64D-200D-2642-FE0F",keywords:["man_frowning","male","boy","man","sad","depressed","discouraged","unhappy"],sheet:[33,14],skinVariations:[{unified:"1F64D-1F3FB-200D-2642-FE0F",sheet:[33,15]},{unified:"1F64D-1F3FC-200D-2642-FE0F",sheet:[33,16]},{unified:"1F64D-1F3FD-200D-2642-FE0F",sheet:[33,17]},{unified:"1F64D-1F3FE-200D-2642-FE0F",sheet:[33,18]},{unified:"1F64D-1F3FF-200D-2642-FE0F",sheet:[33,19]}],shortName:"man-frowning"},{name:"Woman Frowning",unified:"1F64D-200D-2640-FE0F",obsoletes:"1F64D",keywords:["woman_frowning","female","girl","woman","sad","depressed","discouraged","unhappy"],sheet:[33,8],skinVariations:[{unified:"1F64D-1F3FB-200D-2640-FE0F",sheet:[33,9]},{unified:"1F64D-1F3FC-200D-2640-FE0F",sheet:[33,10]},{unified:"1F64D-1F3FD-200D-2640-FE0F",sheet:[33,11]},{unified:"1F64D-1F3FE-200D-2640-FE0F",sheet:[33,12]},{unified:"1F64D-1F3FF-200D-2640-FE0F",sheet:[33,13]}],shortName:"woman-frowning"},{name:"Person with Pouting Face",unified:"1F64E",keywords:["person_pouting","upset"],sheet:[33,38],skinVariations:[{unified:"1F64E-1F3FB",sheet:[33,39]},{unified:"1F64E-1F3FC",sheet:[33,40]},{unified:"1F64E-1F3FD",sheet:[33,41]},{unified:"1F64E-1F3FE",sheet:[33,42]},{unified:"1F64E-1F3FF",sheet:[33,43]}],shortName:"person_with_pouting_face",obsoletedBy:"1F64E-200D-2640-FE0F"},{name:"Man Pouting",unified:"1F64E-200D-2642-FE0F",keywords:["man_pouting","male","boy","man"],sheet:[33,32],skinVariations:[{unified:"1F64E-1F3FB-200D-2642-FE0F",sheet:[33,33]},{unified:"1F64E-1F3FC-200D-2642-FE0F",sheet:[33,34]},{unified:"1F64E-1F3FD-200D-2642-FE0F",sheet:[33,35]},{unified:"1F64E-1F3FE-200D-2642-FE0F",sheet:[33,36]},{unified:"1F64E-1F3FF-200D-2642-FE0F",sheet:[33,37]}],shortName:"man-pouting"},{name:"Woman Pouting",unified:"1F64E-200D-2640-FE0F",obsoletes:"1F64E",keywords:["woman_pouting","female","girl","woman"],sheet:[33,26],skinVariations:[{unified:"1F64E-1F3FB-200D-2640-FE0F",sheet:[33,27]},{unified:"1F64E-1F3FC-200D-2640-FE0F",sheet:[33,28]},{unified:"1F64E-1F3FD-200D-2640-FE0F",sheet:[33,29]},{unified:"1F64E-1F3FE-200D-2640-FE0F",sheet:[33,30]},{unified:"1F64E-1F3FF-200D-2640-FE0F",sheet:[33,31]}],shortName:"woman-pouting"},{name:"Face with No Good Gesture",unified:"1F645",keywords:["person_gesturing_no","decline"],sheet:[31,55],skinVariations:[{unified:"1F645-1F3FB",sheet:[31,56]},{unified:"1F645-1F3FC",sheet:[31,57]},{unified:"1F645-1F3FD",sheet:[32,0]},{unified:"1F645-1F3FE",sheet:[32,1]},{unified:"1F645-1F3FF",sheet:[32,2]}],shortName:"no_good",obsoletedBy:"1F645-200D-2640-FE0F"},{name:"Man Gesturing No",unified:"1F645-200D-2642-FE0F",keywords:["man_gesturing_no","male","boy","man","nope"],sheet:[31,49],skinVariations:[{unified:"1F645-1F3FB-200D-2642-FE0F",sheet:[31,50]},{unified:"1F645-1F3FC-200D-2642-FE0F",sheet:[31,51]},{unified:"1F645-1F3FD-200D-2642-FE0F",sheet:[31,52]},{unified:"1F645-1F3FE-200D-2642-FE0F",sheet:[31,53]},{unified:"1F645-1F3FF-200D-2642-FE0F",sheet:[31,54]}],shortName:"man-gesturing-no"},{name:"Woman Gesturing No",unified:"1F645-200D-2640-FE0F",obsoletes:"1F645",keywords:["woman_gesturing_no","female","girl","woman","nope"],sheet:[31,43],skinVariations:[{unified:"1F645-1F3FB-200D-2640-FE0F",sheet:[31,44]},{unified:"1F645-1F3FC-200D-2640-FE0F",sheet:[31,45]},{unified:"1F645-1F3FD-200D-2640-FE0F",sheet:[31,46]},{unified:"1F645-1F3FE-200D-2640-FE0F",sheet:[31,47]},{unified:"1F645-1F3FF-200D-2640-FE0F",sheet:[31,48]}],shortName:"woman-gesturing-no"},{name:"Face with Ok Gesture",unified:"1F646",keywords:["person_gesturing_ok","agree"],sheet:[32,15],skinVariations:[{unified:"1F646-1F3FB",sheet:[32,16]},{unified:"1F646-1F3FC",sheet:[32,17]},{unified:"1F646-1F3FD",sheet:[32,18]},{unified:"1F646-1F3FE",sheet:[32,19]},{unified:"1F646-1F3FF",sheet:[32,20]}],shortName:"ok_woman",obsoletedBy:"1F646-200D-2640-FE0F"},{name:"Man Gesturing Ok",unified:"1F646-200D-2642-FE0F",keywords:["man_gesturing_ok","men","boy","male","blue","human","man"],sheet:[32,9],skinVariations:[{unified:"1F646-1F3FB-200D-2642-FE0F",sheet:[32,10]},{unified:"1F646-1F3FC-200D-2642-FE0F",sheet:[32,11]},{unified:"1F646-1F3FD-200D-2642-FE0F",sheet:[32,12]},{unified:"1F646-1F3FE-200D-2642-FE0F",sheet:[32,13]},{unified:"1F646-1F3FF-200D-2642-FE0F",sheet:[32,14]}],shortName:"man-gesturing-ok"},{name:"Woman Gesturing Ok",unified:"1F646-200D-2640-FE0F",obsoletes:"1F646",keywords:["woman_gesturing_ok","women","girl","female","pink","human","woman"],sheet:[32,3],skinVariations:[{unified:"1F646-1F3FB-200D-2640-FE0F",sheet:[32,4]},{unified:"1F646-1F3FC-200D-2640-FE0F",sheet:[32,5]},{unified:"1F646-1F3FD-200D-2640-FE0F",sheet:[32,6]},{unified:"1F646-1F3FE-200D-2640-FE0F",sheet:[32,7]},{unified:"1F646-1F3FF-200D-2640-FE0F",sheet:[32,8]}],shortName:"woman-gesturing-ok"},{name:"Information Desk Person",unified:"1F481",keywords:["person_tipping_hand","information"],sheet:[24,5],skinVariations:[{unified:"1F481-1F3FB",sheet:[24,6]},{unified:"1F481-1F3FC",sheet:[24,7]},{unified:"1F481-1F3FD",sheet:[24,8]},{unified:"1F481-1F3FE",sheet:[24,9]},{unified:"1F481-1F3FF",sheet:[24,10]}],shortName:"information_desk_person",obsoletedBy:"1F481-200D-2640-FE0F"},{name:"Man Tipping Hand",unified:"1F481-200D-2642-FE0F",keywords:["man_tipping_hand","male","boy","man","human","information"],sheet:[23,57],skinVariations:[{unified:"1F481-1F3FB-200D-2642-FE0F",sheet:[24,0]},{unified:"1F481-1F3FC-200D-2642-FE0F",sheet:[24,1]},{unified:"1F481-1F3FD-200D-2642-FE0F",sheet:[24,2]},{unified:"1F481-1F3FE-200D-2642-FE0F",sheet:[24,3]},{unified:"1F481-1F3FF-200D-2642-FE0F",sheet:[24,4]}],shortName:"man-tipping-hand"},{name:"Woman Tipping Hand",unified:"1F481-200D-2640-FE0F",obsoletes:"1F481",keywords:["woman_tipping_hand","female","girl","woman","human","information"],sheet:[23,51],skinVariations:[{unified:"1F481-1F3FB-200D-2640-FE0F",sheet:[23,52]},{unified:"1F481-1F3FC-200D-2640-FE0F",sheet:[23,53]},{unified:"1F481-1F3FD-200D-2640-FE0F",sheet:[23,54]},{unified:"1F481-1F3FE-200D-2640-FE0F",sheet:[23,55]},{unified:"1F481-1F3FF-200D-2640-FE0F",sheet:[23,56]}],shortName:"woman-tipping-hand"},{name:"Happy Person Raising One Hand",unified:"1F64B",keywords:["person_raising_hand","question"],sheet:[32,54],skinVariations:[{unified:"1F64B-1F3FB",sheet:[32,55]},{unified:"1F64B-1F3FC",sheet:[32,56]},{unified:"1F64B-1F3FD",sheet:[32,57]},{unified:"1F64B-1F3FE",sheet:[33,0]},{unified:"1F64B-1F3FF",sheet:[33,1]}],shortName:"raising_hand",obsoletedBy:"1F64B-200D-2640-FE0F"},{name:"Man Raising Hand",unified:"1F64B-200D-2642-FE0F",keywords:["man_raising_hand","male","boy","man"],sheet:[32,48],skinVariations:[{unified:"1F64B-1F3FB-200D-2642-FE0F",sheet:[32,49]},{unified:"1F64B-1F3FC-200D-2642-FE0F",sheet:[32,50]},{unified:"1F64B-1F3FD-200D-2642-FE0F",sheet:[32,51]},{unified:"1F64B-1F3FE-200D-2642-FE0F",sheet:[32,52]},{unified:"1F64B-1F3FF-200D-2642-FE0F",sheet:[32,53]}],shortName:"man-raising-hand"},{name:"Woman Raising Hand",unified:"1F64B-200D-2640-FE0F",obsoletes:"1F64B",keywords:["woman_raising_hand","female","girl","woman"],sheet:[32,42],skinVariations:[{unified:"1F64B-1F3FB-200D-2640-FE0F",sheet:[32,43]},{unified:"1F64B-1F3FC-200D-2640-FE0F",sheet:[32,44]},{unified:"1F64B-1F3FD-200D-2640-FE0F",sheet:[32,45]},{unified:"1F64B-1F3FE-200D-2640-FE0F",sheet:[32,46]},{unified:"1F64B-1F3FF-200D-2640-FE0F",sheet:[32,47]}],shortName:"woman-raising-hand"},{name:"Deaf Person",unified:"1F9CF",keywords:["deaf_person","accessibility"],sheet:[45,28],skinVariations:[{unified:"1F9CF-1F3FB",sheet:[45,29]},{unified:"1F9CF-1F3FC",sheet:[45,30]},{unified:"1F9CF-1F3FD",sheet:[45,31]},{unified:"1F9CF-1F3FE",sheet:[45,32]},{unified:"1F9CF-1F3FF",sheet:[45,33]}],shortName:"deaf_person"},{name:"Deaf Man",unified:"1F9CF-200D-2642-FE0F",keywords:["deaf_man","accessibility"],sheet:[45,22],skinVariations:[{unified:"1F9CF-1F3FB-200D-2642-FE0F",sheet:[45,23]},{unified:"1F9CF-1F3FC-200D-2642-FE0F",sheet:[45,24]},{unified:"1F9CF-1F3FD-200D-2642-FE0F",sheet:[45,25]},{unified:"1F9CF-1F3FE-200D-2642-FE0F",sheet:[45,26]},{unified:"1F9CF-1F3FF-200D-2642-FE0F",sheet:[45,27]}],shortName:"deaf_man"},{name:"Deaf Woman",unified:"1F9CF-200D-2640-FE0F",keywords:["deaf_woman","accessibility"],sheet:[45,16],skinVariations:[{unified:"1F9CF-1F3FB-200D-2640-FE0F",sheet:[45,17]},{unified:"1F9CF-1F3FC-200D-2640-FE0F",sheet:[45,18]},{unified:"1F9CF-1F3FD-200D-2640-FE0F",sheet:[45,19]},{unified:"1F9CF-1F3FE-200D-2640-FE0F",sheet:[45,20]},{unified:"1F9CF-1F3FF-200D-2640-FE0F",sheet:[45,21]}],shortName:"deaf_woman"},{name:"Person Bowing Deeply",unified:"1F647",keywords:["person_bowing","respectiful"],sheet:[32,33],skinVariations:[{unified:"1F647-1F3FB",sheet:[32,34]},{unified:"1F647-1F3FC",sheet:[32,35]},{unified:"1F647-1F3FD",sheet:[32,36]},{unified:"1F647-1F3FE",sheet:[32,37]},{unified:"1F647-1F3FF",sheet:[32,38]}],shortName:"bow",obsoletedBy:"1F647-200D-2642-FE0F"},{name:"Man Bowing",unified:"1F647-200D-2642-FE0F",obsoletes:"1F647",keywords:["man_bowing","man","male","boy"],sheet:[32,27],skinVariations:[{unified:"1F647-1F3FB-200D-2642-FE0F",sheet:[32,28]},{unified:"1F647-1F3FC-200D-2642-FE0F",sheet:[32,29]},{unified:"1F647-1F3FD-200D-2642-FE0F",sheet:[32,30]},{unified:"1F647-1F3FE-200D-2642-FE0F",sheet:[32,31]},{unified:"1F647-1F3FF-200D-2642-FE0F",sheet:[32,32]}],shortName:"man-bowing"},{name:"Woman Bowing",unified:"1F647-200D-2640-FE0F",keywords:["woman_bowing","woman","female","girl"],sheet:[32,21],skinVariations:[{unified:"1F647-1F3FB-200D-2640-FE0F",sheet:[32,22]},{unified:"1F647-1F3FC-200D-2640-FE0F",sheet:[32,23]},{unified:"1F647-1F3FD-200D-2640-FE0F",sheet:[32,24]},{unified:"1F647-1F3FE-200D-2640-FE0F",sheet:[32,25]},{unified:"1F647-1F3FF-200D-2640-FE0F",sheet:[32,26]}],shortName:"woman-bowing"},{name:"Face Palm",unified:"1F926",keywords:["person_facepalming","disappointed"],sheet:[38,34],skinVariations:[{unified:"1F926-1F3FB",sheet:[38,35]},{unified:"1F926-1F3FC",sheet:[38,36]},{unified:"1F926-1F3FD",sheet:[38,37]},{unified:"1F926-1F3FE",sheet:[38,38]},{unified:"1F926-1F3FF",sheet:[38,39]}],shortName:"face_palm"},{name:"Man Facepalming",unified:"1F926-200D-2642-FE0F",keywords:["man_facepalming","man","male","boy","disbelief"],sheet:[38,28],skinVariations:[{unified:"1F926-1F3FB-200D-2642-FE0F",sheet:[38,29]},{unified:"1F926-1F3FC-200D-2642-FE0F",sheet:[38,30]},{unified:"1F926-1F3FD-200D-2642-FE0F",sheet:[38,31]},{unified:"1F926-1F3FE-200D-2642-FE0F",sheet:[38,32]},{unified:"1F926-1F3FF-200D-2642-FE0F",sheet:[38,33]}],shortName:"man-facepalming"},{name:"Woman Facepalming",unified:"1F926-200D-2640-FE0F",keywords:["woman_facepalming","woman","female","girl","disbelief"],sheet:[38,22],skinVariations:[{unified:"1F926-1F3FB-200D-2640-FE0F",sheet:[38,23]},{unified:"1F926-1F3FC-200D-2640-FE0F",sheet:[38,24]},{unified:"1F926-1F3FD-200D-2640-FE0F",sheet:[38,25]},{unified:"1F926-1F3FE-200D-2640-FE0F",sheet:[38,26]},{unified:"1F926-1F3FF-200D-2640-FE0F",sheet:[38,27]}],shortName:"woman-facepalming"},{name:"Shrug",unified:"1F937",keywords:["person_shrugging","regardless"],sheet:[39,57],skinVariations:[{unified:"1F937-1F3FB",sheet:[40,0]},{unified:"1F937-1F3FC",sheet:[40,1]},{unified:"1F937-1F3FD",sheet:[40,2]},{unified:"1F937-1F3FE",sheet:[40,3]},{unified:"1F937-1F3FF",sheet:[40,4]}],shortName:"shrug"},{name:"Man Shrugging",unified:"1F937-200D-2642-FE0F",keywords:["man_shrugging","man","male","boy","confused","indifferent","doubt"],sheet:[39,51],skinVariations:[{unified:"1F937-1F3FB-200D-2642-FE0F",sheet:[39,52]},{unified:"1F937-1F3FC-200D-2642-FE0F",sheet:[39,53]},{unified:"1F937-1F3FD-200D-2642-FE0F",sheet:[39,54]},{unified:"1F937-1F3FE-200D-2642-FE0F",sheet:[39,55]},{unified:"1F937-1F3FF-200D-2642-FE0F",sheet:[39,56]}],shortName:"man-shrugging"},{name:"Woman Shrugging",unified:"1F937-200D-2640-FE0F",keywords:["woman_shrugging","woman","female","girl","confused","indifferent","doubt"],sheet:[39,45],skinVariations:[{unified:"1F937-1F3FB-200D-2640-FE0F",sheet:[39,46]},{unified:"1F937-1F3FC-200D-2640-FE0F",sheet:[39,47]},{unified:"1F937-1F3FD-200D-2640-FE0F",sheet:[39,48]},{unified:"1F937-1F3FE-200D-2640-FE0F",sheet:[39,49]},{unified:"1F937-1F3FF-200D-2640-FE0F",sheet:[39,50]}],shortName:"woman-shrugging"},{name:"Health Worker",unified:"1F9D1-200D-2695-FE0F",keywords:["health_worker","hospital"],sheet:[48,19],skinVariations:[{unified:"1F9D1-1F3FB-200D-2695-FE0F",sheet:[48,20]},{unified:"1F9D1-1F3FC-200D-2695-FE0F",sheet:[48,21]},{unified:"1F9D1-1F3FD-200D-2695-FE0F",sheet:[48,22]},{unified:"1F9D1-1F3FE-200D-2695-FE0F",sheet:[48,23]},{unified:"1F9D1-1F3FF-200D-2695-FE0F",sheet:[48,24]}],shortName:"health_worker"},{name:"Man Health Worker",unified:"1F468-200D-2695-FE0F",keywords:["man_health_worker","doctor","nurse","therapist","healthcare","man","human"],sheet:[16,52],skinVariations:[{unified:"1F468-1F3FB-200D-2695-FE0F",sheet:[16,53]},{unified:"1F468-1F3FC-200D-2695-FE0F",sheet:[16,54]},{unified:"1F468-1F3FD-200D-2695-FE0F",sheet:[16,55]},{unified:"1F468-1F3FE-200D-2695-FE0F",sheet:[16,56]},{unified:"1F468-1F3FF-200D-2695-FE0F",sheet:[16,57]}],shortName:"male-doctor"},{name:"Woman Health Worker",unified:"1F469-200D-2695-FE0F",keywords:["woman_health_worker","doctor","nurse","therapist","healthcare","woman","human"],sheet:[19,40],skinVariations:[{unified:"1F469-1F3FB-200D-2695-FE0F",sheet:[19,41]},{unified:"1F469-1F3FC-200D-2695-FE0F",sheet:[19,42]},{unified:"1F469-1F3FD-200D-2695-FE0F",sheet:[19,43]},{unified:"1F469-1F3FE-200D-2695-FE0F",sheet:[19,44]},{unified:"1F469-1F3FF-200D-2695-FE0F",sheet:[19,45]}],shortName:"female-doctor"},{name:"Student",unified:"1F9D1-200D-1F393",keywords:["student","learn"],sheet:[46,1],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F393",sheet:[46,2]},{unified:"1F9D1-1F3FC-200D-1F393",sheet:[46,3]},{unified:"1F9D1-1F3FD-200D-1F393",sheet:[46,4]},{unified:"1F9D1-1F3FE-200D-1F393",sheet:[46,5]},{unified:"1F9D1-1F3FF-200D-1F393",sheet:[46,6]}],shortName:"student"},{name:"Man Student",unified:"1F468-200D-1F393",keywords:["man_student","graduate","man","human"],sheet:[14,45],skinVariations:[{unified:"1F468-1F3FB-200D-1F393",sheet:[14,46]},{unified:"1F468-1F3FC-200D-1F393",sheet:[14,47]},{unified:"1F468-1F3FD-200D-1F393",sheet:[14,48]},{unified:"1F468-1F3FE-200D-1F393",sheet:[14,49]},{unified:"1F468-1F3FF-200D-1F393",sheet:[14,50]}],shortName:"male-student"},{name:"Woman Student",unified:"1F469-200D-1F393",keywords:["woman_student","graduate","woman","human"],sheet:[17,38],skinVariations:[{unified:"1F469-1F3FB-200D-1F393",sheet:[17,39]},{unified:"1F469-1F3FC-200D-1F393",sheet:[17,40]},{unified:"1F469-1F3FD-200D-1F393",sheet:[17,41]},{unified:"1F469-1F3FE-200D-1F393",sheet:[17,42]},{unified:"1F469-1F3FF-200D-1F393",sheet:[17,43]}],shortName:"female-student"},{name:"Teacher",unified:"1F9D1-200D-1F3EB",keywords:["teacher","professor"],sheet:[46,19],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F3EB",sheet:[46,20]},{unified:"1F9D1-1F3FC-200D-1F3EB",sheet:[46,21]},{unified:"1F9D1-1F3FD-200D-1F3EB",sheet:[46,22]},{unified:"1F9D1-1F3FE-200D-1F3EB",sheet:[46,23]},{unified:"1F9D1-1F3FF-200D-1F3EB",sheet:[46,24]}],shortName:"teacher"},{name:"Man Teacher",unified:"1F468-200D-1F3EB",keywords:["man_teacher","instructor","professor","man","human"],sheet:[15,5],skinVariations:[{unified:"1F468-1F3FB-200D-1F3EB",sheet:[15,6]},{unified:"1F468-1F3FC-200D-1F3EB",sheet:[15,7]},{unified:"1F468-1F3FD-200D-1F3EB",sheet:[15,8]},{unified:"1F468-1F3FE-200D-1F3EB",sheet:[15,9]},{unified:"1F468-1F3FF-200D-1F3EB",sheet:[15,10]}],shortName:"male-teacher"},{name:"Woman Teacher",unified:"1F469-200D-1F3EB",keywords:["woman_teacher","instructor","professor","woman","human"],sheet:[17,56],skinVariations:[{unified:"1F469-1F3FB-200D-1F3EB",sheet:[17,57]},{unified:"1F469-1F3FC-200D-1F3EB",sheet:[18,0]},{unified:"1F469-1F3FD-200D-1F3EB",sheet:[18,1]},{unified:"1F469-1F3FE-200D-1F3EB",sheet:[18,2]},{unified:"1F469-1F3FF-200D-1F3EB",sheet:[18,3]}],shortName:"female-teacher"},{name:"Judge",unified:"1F9D1-200D-2696-FE0F",keywords:["judge","law"],sheet:[48,25],skinVariations:[{unified:"1F9D1-1F3FB-200D-2696-FE0F",sheet:[48,26]},{unified:"1F9D1-1F3FC-200D-2696-FE0F",sheet:[48,27]},{unified:"1F9D1-1F3FD-200D-2696-FE0F",sheet:[48,28]},{unified:"1F9D1-1F3FE-200D-2696-FE0F",sheet:[48,29]},{unified:"1F9D1-1F3FF-200D-2696-FE0F",sheet:[48,30]}],shortName:"judge"},{name:"Man Judge",unified:"1F468-200D-2696-FE0F",keywords:["man_judge","justice","court","man","human"],sheet:[17,0],skinVariations:[{unified:"1F468-1F3FB-200D-2696-FE0F",sheet:[17,1]},{unified:"1F468-1F3FC-200D-2696-FE0F",sheet:[17,2]},{unified:"1F468-1F3FD-200D-2696-FE0F",sheet:[17,3]},{unified:"1F468-1F3FE-200D-2696-FE0F",sheet:[17,4]},{unified:"1F468-1F3FF-200D-2696-FE0F",sheet:[17,5]}],shortName:"male-judge"},{name:"Woman Judge",unified:"1F469-200D-2696-FE0F",keywords:["woman_judge","justice","court","woman","human"],sheet:[19,46],skinVariations:[{unified:"1F469-1F3FB-200D-2696-FE0F",sheet:[19,47]},{unified:"1F469-1F3FC-200D-2696-FE0F",sheet:[19,48]},{unified:"1F469-1F3FD-200D-2696-FE0F",sheet:[19,49]},{unified:"1F469-1F3FE-200D-2696-FE0F",sheet:[19,50]},{unified:"1F469-1F3FF-200D-2696-FE0F",sheet:[19,51]}],shortName:"female-judge"},{name:"Farmer",unified:"1F9D1-200D-1F33E",keywords:["farmer","crops"],sheet:[45,35],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F33E",sheet:[45,36]},{unified:"1F9D1-1F3FC-200D-1F33E",sheet:[45,37]},{unified:"1F9D1-1F3FD-200D-1F33E",sheet:[45,38]},{unified:"1F9D1-1F3FE-200D-1F33E",sheet:[45,39]},{unified:"1F9D1-1F3FF-200D-1F33E",sheet:[45,40]}],shortName:"farmer"},{name:"Man Farmer",unified:"1F468-200D-1F33E",keywords:["man_farmer","rancher","gardener","man","human"],sheet:[14,27],skinVariations:[{unified:"1F468-1F3FB-200D-1F33E",sheet:[14,28]},{unified:"1F468-1F3FC-200D-1F33E",sheet:[14,29]},{unified:"1F468-1F3FD-200D-1F33E",sheet:[14,30]},{unified:"1F468-1F3FE-200D-1F33E",sheet:[14,31]},{unified:"1F468-1F3FF-200D-1F33E",sheet:[14,32]}],shortName:"male-farmer"},{name:"Woman Farmer",unified:"1F469-200D-1F33E",keywords:["woman_farmer","rancher","gardener","woman","human"],sheet:[17,20],skinVariations:[{unified:"1F469-1F3FB-200D-1F33E",sheet:[17,21]},{unified:"1F469-1F3FC-200D-1F33E",sheet:[17,22]},{unified:"1F469-1F3FD-200D-1F33E",sheet:[17,23]},{unified:"1F469-1F3FE-200D-1F33E",sheet:[17,24]},{unified:"1F469-1F3FF-200D-1F33E",sheet:[17,25]}],shortName:"female-farmer"},{name:"Cook",unified:"1F9D1-200D-1F373",keywords:["cook","food","kitchen","culinary"],sheet:[45,41],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F373",sheet:[45,42]},{unified:"1F9D1-1F3FC-200D-1F373",sheet:[45,43]},{unified:"1F9D1-1F3FD-200D-1F373",sheet:[45,44]},{unified:"1F9D1-1F3FE-200D-1F373",sheet:[45,45]},{unified:"1F9D1-1F3FF-200D-1F373",sheet:[45,46]}],shortName:"cook"},{name:"Man Cook",unified:"1F468-200D-1F373",keywords:["man_cook","chef","man","human"],sheet:[14,33],skinVariations:[{unified:"1F468-1F3FB-200D-1F373",sheet:[14,34]},{unified:"1F468-1F3FC-200D-1F373",sheet:[14,35]},{unified:"1F468-1F3FD-200D-1F373",sheet:[14,36]},{unified:"1F468-1F3FE-200D-1F373",sheet:[14,37]},{unified:"1F468-1F3FF-200D-1F373",sheet:[14,38]}],shortName:"male-cook"},{name:"Woman Cook",unified:"1F469-200D-1F373",keywords:["woman_cook","chef","woman","human"],sheet:[17,26],skinVariations:[{unified:"1F469-1F3FB-200D-1F373",sheet:[17,27]},{unified:"1F469-1F3FC-200D-1F373",sheet:[17,28]},{unified:"1F469-1F3FD-200D-1F373",sheet:[17,29]},{unified:"1F469-1F3FE-200D-1F373",sheet:[17,30]},{unified:"1F469-1F3FF-200D-1F373",sheet:[17,31]}],shortName:"female-cook"},{name:"Mechanic",unified:"1F9D1-200D-1F527",keywords:["mechanic","worker","technician"],sheet:[46,43],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F527",sheet:[46,44]},{unified:"1F9D1-1F3FC-200D-1F527",sheet:[46,45]},{unified:"1F9D1-1F3FD-200D-1F527",sheet:[46,46]},{unified:"1F9D1-1F3FE-200D-1F527",sheet:[46,47]},{unified:"1F9D1-1F3FF-200D-1F527",sheet:[46,48]}],shortName:"mechanic"},{name:"Man Mechanic",unified:"1F468-200D-1F527",keywords:["man_mechanic","plumber","man","human","wrench"],sheet:[15,44],skinVariations:[{unified:"1F468-1F3FB-200D-1F527",sheet:[15,45]},{unified:"1F468-1F3FC-200D-1F527",sheet:[15,46]},{unified:"1F468-1F3FD-200D-1F527",sheet:[15,47]},{unified:"1F468-1F3FE-200D-1F527",sheet:[15,48]},{unified:"1F468-1F3FF-200D-1F527",sheet:[15,49]}],shortName:"male-mechanic"},{name:"Woman Mechanic",unified:"1F469-200D-1F527",keywords:["woman_mechanic","plumber","woman","human","wrench"],sheet:[18,32],skinVariations:[{unified:"1F469-1F3FB-200D-1F527",sheet:[18,33]},{unified:"1F469-1F3FC-200D-1F527",sheet:[18,34]},{unified:"1F469-1F3FD-200D-1F527",sheet:[18,35]},{unified:"1F469-1F3FE-200D-1F527",sheet:[18,36]},{unified:"1F469-1F3FF-200D-1F527",sheet:[18,37]}],shortName:"female-mechanic"},{name:"Factory Worker",unified:"1F9D1-200D-1F3ED",keywords:["factory_worker","labor"],sheet:[46,25],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F3ED",sheet:[46,26]},{unified:"1F9D1-1F3FC-200D-1F3ED",sheet:[46,27]},{unified:"1F9D1-1F3FD-200D-1F3ED",sheet:[46,28]},{unified:"1F9D1-1F3FE-200D-1F3ED",sheet:[46,29]},{unified:"1F9D1-1F3FF-200D-1F3ED",sheet:[46,30]}],shortName:"factory_worker"},{name:"Man Factory Worker",unified:"1F468-200D-1F3ED",keywords:["man_factory_worker","assembly","industrial","man","human"],sheet:[15,11],skinVariations:[{unified:"1F468-1F3FB-200D-1F3ED",sheet:[15,12]},{unified:"1F468-1F3FC-200D-1F3ED",sheet:[15,13]},{unified:"1F468-1F3FD-200D-1F3ED",sheet:[15,14]},{unified:"1F468-1F3FE-200D-1F3ED",sheet:[15,15]},{unified:"1F468-1F3FF-200D-1F3ED",sheet:[15,16]}],shortName:"male-factory-worker"},{name:"Woman Factory Worker",unified:"1F469-200D-1F3ED",keywords:["woman_factory_worker","assembly","industrial","woman","human"],sheet:[18,4],skinVariations:[{unified:"1F469-1F3FB-200D-1F3ED",sheet:[18,5]},{unified:"1F469-1F3FC-200D-1F3ED",sheet:[18,6]},{unified:"1F469-1F3FD-200D-1F3ED",sheet:[18,7]},{unified:"1F469-1F3FE-200D-1F3ED",sheet:[18,8]},{unified:"1F469-1F3FF-200D-1F3ED",sheet:[18,9]}],shortName:"female-factory-worker"},{name:"Office Worker",unified:"1F9D1-200D-1F4BC",keywords:["office_worker","business"],sheet:[46,37],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F4BC",sheet:[46,38]},{unified:"1F9D1-1F3FC-200D-1F4BC",sheet:[46,39]},{unified:"1F9D1-1F3FD-200D-1F4BC",sheet:[46,40]},{unified:"1F9D1-1F3FE-200D-1F4BC",sheet:[46,41]},{unified:"1F9D1-1F3FF-200D-1F4BC",sheet:[46,42]}],shortName:"office_worker"},{name:"Man Office Worker",unified:"1F468-200D-1F4BC",keywords:["man_office_worker","business","manager","man","human"],sheet:[15,38],skinVariations:[{unified:"1F468-1F3FB-200D-1F4BC",sheet:[15,39]},{unified:"1F468-1F3FC-200D-1F4BC",sheet:[15,40]},{unified:"1F468-1F3FD-200D-1F4BC",sheet:[15,41]},{unified:"1F468-1F3FE-200D-1F4BC",sheet:[15,42]},{unified:"1F468-1F3FF-200D-1F4BC",sheet:[15,43]}],shortName:"male-office-worker"},{name:"Woman Office Worker",unified:"1F469-200D-1F4BC",keywords:["woman_office_worker","business","manager","woman","human"],sheet:[18,26],skinVariations:[{unified:"1F469-1F3FB-200D-1F4BC",sheet:[18,27]},{unified:"1F469-1F3FC-200D-1F4BC",sheet:[18,28]},{unified:"1F469-1F3FD-200D-1F4BC",sheet:[18,29]},{unified:"1F469-1F3FE-200D-1F4BC",sheet:[18,30]},{unified:"1F469-1F3FF-200D-1F4BC",sheet:[18,31]}],shortName:"female-office-worker"},{name:"Scientist",unified:"1F9D1-200D-1F52C",keywords:["scientist","chemistry"],sheet:[46,49],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F52C",sheet:[46,50]},{unified:"1F9D1-1F3FC-200D-1F52C",sheet:[46,51]},{unified:"1F9D1-1F3FD-200D-1F52C",sheet:[46,52]},{unified:"1F9D1-1F3FE-200D-1F52C",sheet:[46,53]},{unified:"1F9D1-1F3FF-200D-1F52C",sheet:[46,54]}],shortName:"scientist"},{name:"Man Scientist",unified:"1F468-200D-1F52C",keywords:["man_scientist","biologist","chemist","engineer","physicist","man","human"],sheet:[15,50],skinVariations:[{unified:"1F468-1F3FB-200D-1F52C",sheet:[15,51]},{unified:"1F468-1F3FC-200D-1F52C",sheet:[15,52]},{unified:"1F468-1F3FD-200D-1F52C",sheet:[15,53]},{unified:"1F468-1F3FE-200D-1F52C",sheet:[15,54]},{unified:"1F468-1F3FF-200D-1F52C",sheet:[15,55]}],shortName:"male-scientist"},{name:"Woman Scientist",unified:"1F469-200D-1F52C",keywords:["woman_scientist","biologist","chemist","engineer","physicist","woman","human"],sheet:[18,38],skinVariations:[{unified:"1F469-1F3FB-200D-1F52C",sheet:[18,39]},{unified:"1F469-1F3FC-200D-1F52C",sheet:[18,40]},{unified:"1F469-1F3FD-200D-1F52C",sheet:[18,41]},{unified:"1F469-1F3FE-200D-1F52C",sheet:[18,42]},{unified:"1F469-1F3FF-200D-1F52C",sheet:[18,43]}],shortName:"female-scientist"},{name:"Technologist",unified:"1F9D1-200D-1F4BB",keywords:["technologist","computer"],sheet:[46,31],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F4BB",sheet:[46,32]},{unified:"1F9D1-1F3FC-200D-1F4BB",sheet:[46,33]},{unified:"1F9D1-1F3FD-200D-1F4BB",sheet:[46,34]},{unified:"1F9D1-1F3FE-200D-1F4BB",sheet:[46,35]},{unified:"1F9D1-1F3FF-200D-1F4BB",sheet:[46,36]}],shortName:"technologist"},{name:"Man Technologist",unified:"1F468-200D-1F4BB",keywords:["man_technologist","coder","developer","engineer","programmer","software","man","human","laptop","computer"],sheet:[15,32],skinVariations:[{unified:"1F468-1F3FB-200D-1F4BB",sheet:[15,33]},{unified:"1F468-1F3FC-200D-1F4BB",sheet:[15,34]},{unified:"1F468-1F3FD-200D-1F4BB",sheet:[15,35]},{unified:"1F468-1F3FE-200D-1F4BB",sheet:[15,36]},{unified:"1F468-1F3FF-200D-1F4BB",sheet:[15,37]}],shortName:"male-technologist"},{name:"Woman Technologist",unified:"1F469-200D-1F4BB",keywords:["woman_technologist","coder","developer","engineer","programmer","software","woman","human","laptop","computer"],sheet:[18,20],skinVariations:[{unified:"1F469-1F3FB-200D-1F4BB",sheet:[18,21]},{unified:"1F469-1F3FC-200D-1F4BB",sheet:[18,22]},{unified:"1F469-1F3FD-200D-1F4BB",sheet:[18,23]},{unified:"1F469-1F3FE-200D-1F4BB",sheet:[18,24]},{unified:"1F469-1F3FF-200D-1F4BB",sheet:[18,25]}],shortName:"female-technologist"},{name:"Singer",unified:"1F9D1-200D-1F3A4",keywords:["singer","song","artist","performer"],sheet:[46,7],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F3A4",sheet:[46,8]},{unified:"1F9D1-1F3FC-200D-1F3A4",sheet:[46,9]},{unified:"1F9D1-1F3FD-200D-1F3A4",sheet:[46,10]},{unified:"1F9D1-1F3FE-200D-1F3A4",sheet:[46,11]},{unified:"1F9D1-1F3FF-200D-1F3A4",sheet:[46,12]}],shortName:"singer"},{name:"Man Singer",unified:"1F468-200D-1F3A4",keywords:["man_singer","rockstar","entertainer","man","human"],sheet:[14,51],skinVariations:[{unified:"1F468-1F3FB-200D-1F3A4",sheet:[14,52]},{unified:"1F468-1F3FC-200D-1F3A4",sheet:[14,53]},{unified:"1F468-1F3FD-200D-1F3A4",sheet:[14,54]},{unified:"1F468-1F3FE-200D-1F3A4",sheet:[14,55]},{unified:"1F468-1F3FF-200D-1F3A4",sheet:[14,56]}],shortName:"male-singer"},{name:"Woman Singer",unified:"1F469-200D-1F3A4",keywords:["woman_singer","rockstar","entertainer","woman","human"],sheet:[17,44],skinVariations:[{unified:"1F469-1F3FB-200D-1F3A4",sheet:[17,45]},{unified:"1F469-1F3FC-200D-1F3A4",sheet:[17,46]},{unified:"1F469-1F3FD-200D-1F3A4",sheet:[17,47]},{unified:"1F469-1F3FE-200D-1F3A4",sheet:[17,48]},{unified:"1F469-1F3FF-200D-1F3A4",sheet:[17,49]}],shortName:"female-singer"},{name:"Artist",unified:"1F9D1-200D-1F3A8",keywords:["artist","painting","draw","creativity"],sheet:[46,13],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F3A8",sheet:[46,14]},{unified:"1F9D1-1F3FC-200D-1F3A8",sheet:[46,15]},{unified:"1F9D1-1F3FD-200D-1F3A8",sheet:[46,16]},{unified:"1F9D1-1F3FE-200D-1F3A8",sheet:[46,17]},{unified:"1F9D1-1F3FF-200D-1F3A8",sheet:[46,18]}],shortName:"artist"},{name:"Man Artist",unified:"1F468-200D-1F3A8",keywords:["man_artist","painter","man","human"],sheet:[14,57],skinVariations:[{unified:"1F468-1F3FB-200D-1F3A8",sheet:[15,0]},{unified:"1F468-1F3FC-200D-1F3A8",sheet:[15,1]},{unified:"1F468-1F3FD-200D-1F3A8",sheet:[15,2]},{unified:"1F468-1F3FE-200D-1F3A8",sheet:[15,3]},{unified:"1F468-1F3FF-200D-1F3A8",sheet:[15,4]}],shortName:"male-artist"},{name:"Woman Artist",unified:"1F469-200D-1F3A8",keywords:["woman_artist","painter","woman","human"],sheet:[17,50],skinVariations:[{unified:"1F469-1F3FB-200D-1F3A8",sheet:[17,51]},{unified:"1F469-1F3FC-200D-1F3A8",sheet:[17,52]},{unified:"1F469-1F3FD-200D-1F3A8",sheet:[17,53]},{unified:"1F469-1F3FE-200D-1F3A8",sheet:[17,54]},{unified:"1F469-1F3FF-200D-1F3A8",sheet:[17,55]}],shortName:"female-artist"},{name:"Pilot",unified:"1F9D1-200D-2708-FE0F",keywords:["pilot","fly","plane","airplane"],sheet:[48,31],skinVariations:[{unified:"1F9D1-1F3FB-200D-2708-FE0F",sheet:[48,32]},{unified:"1F9D1-1F3FC-200D-2708-FE0F",sheet:[48,33]},{unified:"1F9D1-1F3FD-200D-2708-FE0F",sheet:[48,34]},{unified:"1F9D1-1F3FE-200D-2708-FE0F",sheet:[48,35]},{unified:"1F9D1-1F3FF-200D-2708-FE0F",sheet:[48,36]}],shortName:"pilot"},{name:"Man Pilot",unified:"1F468-200D-2708-FE0F",keywords:["man_pilot","aviator","plane","man","human"],sheet:[17,6],skinVariations:[{unified:"1F468-1F3FB-200D-2708-FE0F",sheet:[17,7]},{unified:"1F468-1F3FC-200D-2708-FE0F",sheet:[17,8]},{unified:"1F468-1F3FD-200D-2708-FE0F",sheet:[17,9]},{unified:"1F468-1F3FE-200D-2708-FE0F",sheet:[17,10]},{unified:"1F468-1F3FF-200D-2708-FE0F",sheet:[17,11]}],shortName:"male-pilot"},{name:"Woman Pilot",unified:"1F469-200D-2708-FE0F",keywords:["woman_pilot","aviator","plane","woman","human"],sheet:[19,52],skinVariations:[{unified:"1F469-1F3FB-200D-2708-FE0F",sheet:[19,53]},{unified:"1F469-1F3FC-200D-2708-FE0F",sheet:[19,54]},{unified:"1F469-1F3FD-200D-2708-FE0F",sheet:[19,55]},{unified:"1F469-1F3FE-200D-2708-FE0F",sheet:[19,56]},{unified:"1F469-1F3FF-200D-2708-FE0F",sheet:[19,57]}],shortName:"female-pilot"},{name:"Astronaut",unified:"1F9D1-200D-1F680",keywords:["astronaut","outerspace"],sheet:[46,55],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F680",sheet:[46,56]},{unified:"1F9D1-1F3FC-200D-1F680",sheet:[46,57]},{unified:"1F9D1-1F3FD-200D-1F680",sheet:[47,0]},{unified:"1F9D1-1F3FE-200D-1F680",sheet:[47,1]},{unified:"1F9D1-1F3FF-200D-1F680",sheet:[47,2]}],shortName:"astronaut"},{name:"Man Astronaut",unified:"1F468-200D-1F680",keywords:["man_astronaut","space","rocket","man","human"],sheet:[15,56],skinVariations:[{unified:"1F468-1F3FB-200D-1F680",sheet:[15,57]},{unified:"1F468-1F3FC-200D-1F680",sheet:[16,0]},{unified:"1F468-1F3FD-200D-1F680",sheet:[16,1]},{unified:"1F468-1F3FE-200D-1F680",sheet:[16,2]},{unified:"1F468-1F3FF-200D-1F680",sheet:[16,3]}],shortName:"male-astronaut"},{name:"Woman Astronaut",unified:"1F469-200D-1F680",keywords:["woman_astronaut","space","rocket","woman","human"],sheet:[18,44],skinVariations:[{unified:"1F469-1F3FB-200D-1F680",sheet:[18,45]},{unified:"1F469-1F3FC-200D-1F680",sheet:[18,46]},{unified:"1F469-1F3FD-200D-1F680",sheet:[18,47]},{unified:"1F469-1F3FE-200D-1F680",sheet:[18,48]},{unified:"1F469-1F3FF-200D-1F680",sheet:[18,49]}],shortName:"female-astronaut"},{name:"Firefighter",unified:"1F9D1-200D-1F692",keywords:["firefighter","fire"],sheet:[47,3],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F692",sheet:[47,4]},{unified:"1F9D1-1F3FC-200D-1F692",sheet:[47,5]},{unified:"1F9D1-1F3FD-200D-1F692",sheet:[47,6]},{unified:"1F9D1-1F3FE-200D-1F692",sheet:[47,7]},{unified:"1F9D1-1F3FF-200D-1F692",sheet:[47,8]}],shortName:"firefighter"},{name:"Man Firefighter",unified:"1F468-200D-1F692",keywords:["man_firefighter","fireman","man","human"],sheet:[16,4],skinVariations:[{unified:"1F468-1F3FB-200D-1F692",sheet:[16,5]},{unified:"1F468-1F3FC-200D-1F692",sheet:[16,6]},{unified:"1F468-1F3FD-200D-1F692",sheet:[16,7]},{unified:"1F468-1F3FE-200D-1F692",sheet:[16,8]},{unified:"1F468-1F3FF-200D-1F692",sheet:[16,9]}],shortName:"male-firefighter"},{name:"Woman Firefighter",unified:"1F469-200D-1F692",keywords:["woman_firefighter","fireman","woman","human"],sheet:[18,50],skinVariations:[{unified:"1F469-1F3FB-200D-1F692",sheet:[18,51]},{unified:"1F469-1F3FC-200D-1F692",sheet:[18,52]},{unified:"1F469-1F3FD-200D-1F692",sheet:[18,53]},{unified:"1F469-1F3FE-200D-1F692",sheet:[18,54]},{unified:"1F469-1F3FF-200D-1F692",sheet:[18,55]}],shortName:"female-firefighter"},{name:"Police Officer",unified:"1F46E",keywords:["police_officer","cop"],sheet:[21,43],skinVariations:[{unified:"1F46E-1F3FB",sheet:[21,44]},{unified:"1F46E-1F3FC",sheet:[21,45]},{unified:"1F46E-1F3FD",sheet:[21,46]},{unified:"1F46E-1F3FE",sheet:[21,47]},{unified:"1F46E-1F3FF",sheet:[21,48]}],shortName:"cop",obsoletedBy:"1F46E-200D-2642-FE0F"},{name:"Man Police Officer",unified:"1F46E-200D-2642-FE0F",obsoletes:"1F46E",keywords:["man_police_officer","man","police","law","legal","enforcement","arrest","911"],sheet:[21,37],skinVariations:[{unified:"1F46E-1F3FB-200D-2642-FE0F",sheet:[21,38]},{unified:"1F46E-1F3FC-200D-2642-FE0F",sheet:[21,39]},{unified:"1F46E-1F3FD-200D-2642-FE0F",sheet:[21,40]},{unified:"1F46E-1F3FE-200D-2642-FE0F",sheet:[21,41]},{unified:"1F46E-1F3FF-200D-2642-FE0F",sheet:[21,42]}],shortName:"male-police-officer"},{name:"Woman Police Officer",unified:"1F46E-200D-2640-FE0F",keywords:["woman_police_officer","woman","police","law","legal","enforcement","arrest","911","female"],sheet:[21,31],skinVariations:[{unified:"1F46E-1F3FB-200D-2640-FE0F",sheet:[21,32]},{unified:"1F46E-1F3FC-200D-2640-FE0F",sheet:[21,33]},{unified:"1F46E-1F3FD-200D-2640-FE0F",sheet:[21,34]},{unified:"1F46E-1F3FE-200D-2640-FE0F",sheet:[21,35]},{unified:"1F46E-1F3FF-200D-2640-FE0F",sheet:[21,36]}],shortName:"female-police-officer"},{name:"Detective",unified:"1F575-FE0F",keywords:["detective","human","spy","detective"],sheet:[29,25],skinVariations:[{unified:"1F575-1F3FB",sheet:[29,26]},{unified:"1F575-1F3FC",sheet:[29,27]},{unified:"1F575-1F3FD",sheet:[29,28]},{unified:"1F575-1F3FE",sheet:[29,29]},{unified:"1F575-1F3FF",sheet:[29,30]}],shortName:"sleuth_or_spy",obsoletedBy:"1F575-FE0F-200D-2642-FE0F"},{name:"Man Detective",unified:"1F575-FE0F-200D-2642-FE0F",obsoletes:"1F575-FE0F",keywords:["man_detective","crime"],sheet:[29,19],hidden:["facebook"],skinVariations:[{unified:"1F575-1F3FB-200D-2642-FE0F",sheet:[29,20]},{unified:"1F575-1F3FC-200D-2642-FE0F",sheet:[29,21]},{unified:"1F575-1F3FD-200D-2642-FE0F",sheet:[29,22]},{unified:"1F575-1F3FE-200D-2642-FE0F",sheet:[29,23]},{unified:"1F575-1F3FF-200D-2642-FE0F",sheet:[29,24]}],shortName:"male-detective"},{name:"Woman Detective",unified:"1F575-FE0F-200D-2640-FE0F",keywords:["woman_detective","human","spy","detective","female","woman"],sheet:[29,13],hidden:["facebook"],skinVariations:[{unified:"1F575-1F3FB-200D-2640-FE0F",sheet:[29,14]},{unified:"1F575-1F3FC-200D-2640-FE0F",sheet:[29,15]},{unified:"1F575-1F3FD-200D-2640-FE0F",sheet:[29,16]},{unified:"1F575-1F3FE-200D-2640-FE0F",sheet:[29,17]},{unified:"1F575-1F3FF-200D-2640-FE0F",sheet:[29,18]}],shortName:"female-detective"},{name:"Guardsman",unified:"1F482",keywords:["guard","protect"],sheet:[24,23],skinVariations:[{unified:"1F482-1F3FB",sheet:[24,24]},{unified:"1F482-1F3FC",sheet:[24,25]},{unified:"1F482-1F3FD",sheet:[24,26]},{unified:"1F482-1F3FE",sheet:[24,27]},{unified:"1F482-1F3FF",sheet:[24,28]}],shortName:"guardsman",obsoletedBy:"1F482-200D-2642-FE0F"},{name:"Man Guard",unified:"1F482-200D-2642-FE0F",obsoletes:"1F482",keywords:["man_guard","uk","gb","british","male","guy","royal"],sheet:[24,17],skinVariations:[{unified:"1F482-1F3FB-200D-2642-FE0F",sheet:[24,18]},{unified:"1F482-1F3FC-200D-2642-FE0F",sheet:[24,19]},{unified:"1F482-1F3FD-200D-2642-FE0F",sheet:[24,20]},{unified:"1F482-1F3FE-200D-2642-FE0F",sheet:[24,21]},{unified:"1F482-1F3FF-200D-2642-FE0F",sheet:[24,22]}],shortName:"male-guard"},{name:"Woman Guard",unified:"1F482-200D-2640-FE0F",keywords:["woman_guard","uk","gb","british","female","royal","woman"],sheet:[24,11],skinVariations:[{unified:"1F482-1F3FB-200D-2640-FE0F",sheet:[24,12]},{unified:"1F482-1F3FC-200D-2640-FE0F",sheet:[24,13]},{unified:"1F482-1F3FD-200D-2640-FE0F",sheet:[24,14]},{unified:"1F482-1F3FE-200D-2640-FE0F",sheet:[24,15]},{unified:"1F482-1F3FF-200D-2640-FE0F",sheet:[24,16]}],shortName:"female-guard"},{name:"Ninja",unified:"1F977",keywords:["ninja","ninjutsu","skills","japanese"],sheet:[42,20],skinVariations:[{unified:"1F977-1F3FB",sheet:[42,21]},{unified:"1F977-1F3FC",sheet:[42,22]},{unified:"1F977-1F3FD",sheet:[42,23]},{unified:"1F977-1F3FE",sheet:[42,24]},{unified:"1F977-1F3FF",sheet:[42,25]}],shortName:"ninja"},{name:"Construction Worker",unified:"1F477",keywords:["construction_worker","labor","build"],sheet:[23,26],skinVariations:[{unified:"1F477-1F3FB",sheet:[23,27]},{unified:"1F477-1F3FC",sheet:[23,28]},{unified:"1F477-1F3FD",sheet:[23,29]},{unified:"1F477-1F3FE",sheet:[23,30]},{unified:"1F477-1F3FF",sheet:[23,31]}],shortName:"construction_worker",obsoletedBy:"1F477-200D-2642-FE0F"},{name:"Man Construction Worker",unified:"1F477-200D-2642-FE0F",obsoletes:"1F477",keywords:["man_construction_worker","male","human","wip","guy","build","construction","worker","labor"],sheet:[23,20],skinVariations:[{unified:"1F477-1F3FB-200D-2642-FE0F",sheet:[23,21]},{unified:"1F477-1F3FC-200D-2642-FE0F",sheet:[23,22]},{unified:"1F477-1F3FD-200D-2642-FE0F",sheet:[23,23]},{unified:"1F477-1F3FE-200D-2642-FE0F",sheet:[23,24]},{unified:"1F477-1F3FF-200D-2642-FE0F",sheet:[23,25]}],shortName:"male-construction-worker"},{name:"Woman Construction Worker",unified:"1F477-200D-2640-FE0F",keywords:["woman_construction_worker","female","human","wip","build","construction","worker","labor","woman"],sheet:[23,14],skinVariations:[{unified:"1F477-1F3FB-200D-2640-FE0F",sheet:[23,15]},{unified:"1F477-1F3FC-200D-2640-FE0F",sheet:[23,16]},{unified:"1F477-1F3FD-200D-2640-FE0F",sheet:[23,17]},{unified:"1F477-1F3FE-200D-2640-FE0F",sheet:[23,18]},{unified:"1F477-1F3FF-200D-2640-FE0F",sheet:[23,19]}],shortName:"female-construction-worker"},{name:"Prince",unified:"1F934",keywords:["prince","boy","man","male","crown","royal","king"],sheet:[39,15],skinVariations:[{unified:"1F934-1F3FB",sheet:[39,16]},{unified:"1F934-1F3FC",sheet:[39,17]},{unified:"1F934-1F3FD",sheet:[39,18]},{unified:"1F934-1F3FE",sheet:[39,19]},{unified:"1F934-1F3FF",sheet:[39,20]}],shortName:"prince"},{name:"Princess",unified:"1F478",keywords:["princess","girl","woman","female","blond","crown","royal","queen"],sheet:[23,32],skinVariations:[{unified:"1F478-1F3FB",sheet:[23,33]},{unified:"1F478-1F3FC",sheet:[23,34]},{unified:"1F478-1F3FD",sheet:[23,35]},{unified:"1F478-1F3FE",sheet:[23,36]},{unified:"1F478-1F3FF",sheet:[23,37]}],shortName:"princess"},{name:"Man with Turban",unified:"1F473",keywords:["person_wearing_turban","headdress"],sheet:[22,48],skinVariations:[{unified:"1F473-1F3FB",sheet:[22,49]},{unified:"1F473-1F3FC",sheet:[22,50]},{unified:"1F473-1F3FD",sheet:[22,51]},{unified:"1F473-1F3FE",sheet:[22,52]},{unified:"1F473-1F3FF",sheet:[22,53]}],shortName:"man_with_turban",obsoletedBy:"1F473-200D-2642-FE0F"},{name:"Man Wearing Turban",unified:"1F473-200D-2642-FE0F",obsoletes:"1F473",keywords:["man_wearing_turban","male","indian","hinduism","arabs"],sheet:[22,42],skinVariations:[{unified:"1F473-1F3FB-200D-2642-FE0F",sheet:[22,43]},{unified:"1F473-1F3FC-200D-2642-FE0F",sheet:[22,44]},{unified:"1F473-1F3FD-200D-2642-FE0F",sheet:[22,45]},{unified:"1F473-1F3FE-200D-2642-FE0F",sheet:[22,46]},{unified:"1F473-1F3FF-200D-2642-FE0F",sheet:[22,47]}],shortName:"man-wearing-turban"},{name:"Woman Wearing Turban",unified:"1F473-200D-2640-FE0F",keywords:["woman_wearing_turban","female","indian","hinduism","arabs","woman"],sheet:[22,36],skinVariations:[{unified:"1F473-1F3FB-200D-2640-FE0F",sheet:[22,37]},{unified:"1F473-1F3FC-200D-2640-FE0F",sheet:[22,38]},{unified:"1F473-1F3FD-200D-2640-FE0F",sheet:[22,39]},{unified:"1F473-1F3FE-200D-2640-FE0F",sheet:[22,40]},{unified:"1F473-1F3FF-200D-2640-FE0F",sheet:[22,41]}],shortName:"woman-wearing-turban"},{name:"Man with Gua Pi Mao",unified:"1F472",keywords:["man_with_skullcap","male","boy","chinese"],sheet:[22,30],skinVariations:[{unified:"1F472-1F3FB",sheet:[22,31]},{unified:"1F472-1F3FC",sheet:[22,32]},{unified:"1F472-1F3FD",sheet:[22,33]},{unified:"1F472-1F3FE",sheet:[22,34]},{unified:"1F472-1F3FF",sheet:[22,35]}],shortName:"man_with_gua_pi_mao"},{name:"Person with Headscarf",unified:"1F9D5",keywords:["woman_with_headscarf","female","hijab","mantilla","tichel"],sheet:[49,3],skinVariations:[{unified:"1F9D5-1F3FB",sheet:[49,4]},{unified:"1F9D5-1F3FC",sheet:[49,5]},{unified:"1F9D5-1F3FD",sheet:[49,6]},{unified:"1F9D5-1F3FE",sheet:[49,7]},{unified:"1F9D5-1F3FF",sheet:[49,8]}],shortName:"person_with_headscarf"},{name:"Man in Tuxedo",unified:"1F935",keywords:["man_in_tuxedo","couple","marriage","wedding","groom"],sheet:[39,33],skinVariations:[{unified:"1F935-1F3FB",sheet:[39,34]},{unified:"1F935-1F3FC",sheet:[39,35]},{unified:"1F935-1F3FD",sheet:[39,36]},{unified:"1F935-1F3FE",sheet:[39,37]},{unified:"1F935-1F3FF",sheet:[39,38]}],shortName:"person_in_tuxedo"},{name:"Man in Tuxedo",unified:"1F935-200D-2642-FE0F",keywords:["man in tuxedo","formal","fashion"],sheet:[39,27],skinVariations:[{unified:"1F935-1F3FB-200D-2642-FE0F",sheet:[39,28]},{unified:"1F935-1F3FC-200D-2642-FE0F",sheet:[39,29]},{unified:"1F935-1F3FD-200D-2642-FE0F",sheet:[39,30]},{unified:"1F935-1F3FE-200D-2642-FE0F",sheet:[39,31]},{unified:"1F935-1F3FF-200D-2642-FE0F",sheet:[39,32]}],shortName:"man_in_tuxedo"},{name:"Woman in Tuxedo",unified:"1F935-200D-2640-FE0F",keywords:["woman in tuxedo","formal","fashion"],sheet:[39,21],skinVariations:[{unified:"1F935-1F3FB-200D-2640-FE0F",sheet:[39,22]},{unified:"1F935-1F3FC-200D-2640-FE0F",sheet:[39,23]},{unified:"1F935-1F3FD-200D-2640-FE0F",sheet:[39,24]},{unified:"1F935-1F3FE-200D-2640-FE0F",sheet:[39,25]},{unified:"1F935-1F3FF-200D-2640-FE0F",sheet:[39,26]}],shortName:"woman_in_tuxedo"},{name:"Bride with Veil",unified:"1F470",keywords:["bride_with_veil","couple","marriage","wedding","woman","bride"],sheet:[22,6],skinVariations:[{unified:"1F470-1F3FB",sheet:[22,7]},{unified:"1F470-1F3FC",sheet:[22,8]},{unified:"1F470-1F3FD",sheet:[22,9]},{unified:"1F470-1F3FE",sheet:[22,10]},{unified:"1F470-1F3FF",sheet:[22,11]}],shortName:"bride_with_veil"},{name:"Man with Veil",unified:"1F470-200D-2642-FE0F",keywords:["man with veil","wedding","marriage"],sheet:[22,0],skinVariations:[{unified:"1F470-1F3FB-200D-2642-FE0F",sheet:[22,1]},{unified:"1F470-1F3FC-200D-2642-FE0F",sheet:[22,2]},{unified:"1F470-1F3FD-200D-2642-FE0F",sheet:[22,3]},{unified:"1F470-1F3FE-200D-2642-FE0F",sheet:[22,4]},{unified:"1F470-1F3FF-200D-2642-FE0F",sheet:[22,5]}],shortName:"man_with_veil"},{name:"Woman with Veil",unified:"1F470-200D-2640-FE0F",keywords:["woman with veil","wedding","marriage"],sheet:[21,52],skinVariations:[{unified:"1F470-1F3FB-200D-2640-FE0F",sheet:[21,53]},{unified:"1F470-1F3FC-200D-2640-FE0F",sheet:[21,54]},{unified:"1F470-1F3FD-200D-2640-FE0F",sheet:[21,55]},{unified:"1F470-1F3FE-200D-2640-FE0F",sheet:[21,56]},{unified:"1F470-1F3FF-200D-2640-FE0F",sheet:[21,57]}],shortName:"woman_with_veil"},{name:"Pregnant Woman",unified:"1F930",keywords:["pregnant_woman","baby"],sheet:[38,49],skinVariations:[{unified:"1F930-1F3FB",sheet:[38,50]},{unified:"1F930-1F3FC",sheet:[38,51]},{unified:"1F930-1F3FD",sheet:[38,52]},{unified:"1F930-1F3FE",sheet:[38,53]},{unified:"1F930-1F3FF",sheet:[38,54]}],shortName:"pregnant_woman"},{name:"Breast-Feeding",unified:"1F931",keywords:["breast_feeding","nursing","baby"],sheet:[38,55],skinVariations:[{unified:"1F931-1F3FB",sheet:[38,56]},{unified:"1F931-1F3FC",sheet:[38,57]},{unified:"1F931-1F3FD",sheet:[39,0]},{unified:"1F931-1F3FE",sheet:[39,1]},{unified:"1F931-1F3FF",sheet:[39,2]}],shortName:"breast-feeding"},{name:"Woman Feeding Baby",unified:"1F469-200D-1F37C",keywords:["woman feeding baby","birth","food"],sheet:[17,32],skinVariations:[{unified:"1F469-1F3FB-200D-1F37C",sheet:[17,33]},{unified:"1F469-1F3FC-200D-1F37C",sheet:[17,34]},{unified:"1F469-1F3FD-200D-1F37C",sheet:[17,35]},{unified:"1F469-1F3FE-200D-1F37C",sheet:[17,36]},{unified:"1F469-1F3FF-200D-1F37C",sheet:[17,37]}],shortName:"woman_feeding_baby"},{name:"Man Feeding Baby",unified:"1F468-200D-1F37C",keywords:["man feeding baby","birth","food"],sheet:[14,39],skinVariations:[{unified:"1F468-1F3FB-200D-1F37C",sheet:[14,40]},{unified:"1F468-1F3FC-200D-1F37C",sheet:[14,41]},{unified:"1F468-1F3FD-200D-1F37C",sheet:[14,42]},{unified:"1F468-1F3FE-200D-1F37C",sheet:[14,43]},{unified:"1F468-1F3FF-200D-1F37C",sheet:[14,44]}],shortName:"man_feeding_baby"},{name:"Person Feeding Baby",unified:"1F9D1-200D-1F37C",keywords:["person feeding baby","birth","food"],sheet:[45,47],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F37C",sheet:[45,48]},{unified:"1F9D1-1F3FC-200D-1F37C",sheet:[45,49]},{unified:"1F9D1-1F3FD-200D-1F37C",sheet:[45,50]},{unified:"1F9D1-1F3FE-200D-1F37C",sheet:[45,51]},{unified:"1F9D1-1F3FF-200D-1F37C",sheet:[45,52]}],shortName:"person_feeding_baby"},{name:"Baby Angel",unified:"1F47C",keywords:["baby_angel","heaven","wings","halo"],sheet:[23,41],skinVariations:[{unified:"1F47C-1F3FB",sheet:[23,42]},{unified:"1F47C-1F3FC",sheet:[23,43]},{unified:"1F47C-1F3FD",sheet:[23,44]},{unified:"1F47C-1F3FE",sheet:[23,45]},{unified:"1F47C-1F3FF",sheet:[23,46]}],shortName:"angel"},{name:"Father Christmas",unified:"1F385",keywords:["santa_claus","festival","man","male","xmas","father christmas"],sheet:[7,29],skinVariations:[{unified:"1F385-1F3FB",sheet:[7,30]},{unified:"1F385-1F3FC",sheet:[7,31]},{unified:"1F385-1F3FD",sheet:[7,32]},{unified:"1F385-1F3FE",sheet:[7,33]},{unified:"1F385-1F3FF",sheet:[7,34]}],shortName:"santa"},{name:"Mother Christmas",unified:"1F936",keywords:["mrs_claus","woman","female","xmas","mother christmas"],sheet:[39,39],skinVariations:[{unified:"1F936-1F3FB",sheet:[39,40]},{unified:"1F936-1F3FC",sheet:[39,41]},{unified:"1F936-1F3FD",sheet:[39,42]},{unified:"1F936-1F3FE",sheet:[39,43]},{unified:"1F936-1F3FF",sheet:[39,44]}],shortNames:["mother_christmas"],shortName:"mrs_claus"},{name:"Mx Claus",unified:"1F9D1-200D-1F384",keywords:["mx claus","christmas"],sheet:[45,53],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F384",sheet:[45,54]},{unified:"1F9D1-1F3FC-200D-1F384",sheet:[45,55]},{unified:"1F9D1-1F3FD-200D-1F384",sheet:[45,56]},{unified:"1F9D1-1F3FE-200D-1F384",sheet:[45,57]},{unified:"1F9D1-1F3FF-200D-1F384",sheet:[46,0]}],shortName:"mx_claus"},{name:"Superhero",unified:"1F9B8",keywords:["superhero","marvel"],sheet:[43,49],skinVariations:[{unified:"1F9B8-1F3FB",sheet:[43,50]},{unified:"1F9B8-1F3FC",sheet:[43,51]},{unified:"1F9B8-1F3FD",sheet:[43,52]},{unified:"1F9B8-1F3FE",sheet:[43,53]},{unified:"1F9B8-1F3FF",sheet:[43,54]}],shortName:"superhero"},{name:"Man Superhero",unified:"1F9B8-200D-2642-FE0F",keywords:["man_superhero","man","male","good","hero","superpowers"],sheet:[43,43],skinVariations:[{unified:"1F9B8-1F3FB-200D-2642-FE0F",sheet:[43,44]},{unified:"1F9B8-1F3FC-200D-2642-FE0F",sheet:[43,45]},{unified:"1F9B8-1F3FD-200D-2642-FE0F",sheet:[43,46]},{unified:"1F9B8-1F3FE-200D-2642-FE0F",sheet:[43,47]},{unified:"1F9B8-1F3FF-200D-2642-FE0F",sheet:[43,48]}],shortName:"male_superhero"},{name:"Woman Superhero",unified:"1F9B8-200D-2640-FE0F",keywords:["woman_superhero","woman","female","good","heroine","superpowers"],sheet:[43,37],skinVariations:[{unified:"1F9B8-1F3FB-200D-2640-FE0F",sheet:[43,38]},{unified:"1F9B8-1F3FC-200D-2640-FE0F",sheet:[43,39]},{unified:"1F9B8-1F3FD-200D-2640-FE0F",sheet:[43,40]},{unified:"1F9B8-1F3FE-200D-2640-FE0F",sheet:[43,41]},{unified:"1F9B8-1F3FF-200D-2640-FE0F",sheet:[43,42]}],shortName:"female_superhero"},{name:"Supervillain",unified:"1F9B9",keywords:["supervillain","marvel"],sheet:[44,9],skinVariations:[{unified:"1F9B9-1F3FB",sheet:[44,10]},{unified:"1F9B9-1F3FC",sheet:[44,11]},{unified:"1F9B9-1F3FD",sheet:[44,12]},{unified:"1F9B9-1F3FE",sheet:[44,13]},{unified:"1F9B9-1F3FF",sheet:[44,14]}],shortName:"supervillain"},{name:"Man Supervillain",unified:"1F9B9-200D-2642-FE0F",keywords:["man_supervillain","man","male","evil","bad","criminal","hero","superpowers"],sheet:[44,3],skinVariations:[{unified:"1F9B9-1F3FB-200D-2642-FE0F",sheet:[44,4]},{unified:"1F9B9-1F3FC-200D-2642-FE0F",sheet:[44,5]},{unified:"1F9B9-1F3FD-200D-2642-FE0F",sheet:[44,6]},{unified:"1F9B9-1F3FE-200D-2642-FE0F",sheet:[44,7]},{unified:"1F9B9-1F3FF-200D-2642-FE0F",sheet:[44,8]}],shortName:"male_supervillain"},{name:"Woman Supervillain",unified:"1F9B9-200D-2640-FE0F",keywords:["woman_supervillain","woman","female","evil","bad","criminal","heroine","superpowers"],sheet:[43,55],skinVariations:[{unified:"1F9B9-1F3FB-200D-2640-FE0F",sheet:[43,56]},{unified:"1F9B9-1F3FC-200D-2640-FE0F",sheet:[43,57]},{unified:"1F9B9-1F3FD-200D-2640-FE0F",sheet:[44,0]},{unified:"1F9B9-1F3FE-200D-2640-FE0F",sheet:[44,1]},{unified:"1F9B9-1F3FF-200D-2640-FE0F",sheet:[44,2]}],shortName:"female_supervillain"},{name:"Mage",unified:"1F9D9",keywords:["mage","magic"],sheet:[50,17],skinVariations:[{unified:"1F9D9-1F3FB",sheet:[50,18]},{unified:"1F9D9-1F3FC",sheet:[50,19]},{unified:"1F9D9-1F3FD",sheet:[50,20]},{unified:"1F9D9-1F3FE",sheet:[50,21]},{unified:"1F9D9-1F3FF",sheet:[50,22]}],shortName:"mage",obsoletedBy:"1F9D9-200D-2640-FE0F"},{name:"Man Mage",unified:"1F9D9-200D-2642-FE0F",keywords:["man_mage","man","male","mage","sorcerer"],sheet:[50,11],skinVariations:[{unified:"1F9D9-1F3FB-200D-2642-FE0F",sheet:[50,12]},{unified:"1F9D9-1F3FC-200D-2642-FE0F",sheet:[50,13]},{unified:"1F9D9-1F3FD-200D-2642-FE0F",sheet:[50,14]},{unified:"1F9D9-1F3FE-200D-2642-FE0F",sheet:[50,15]},{unified:"1F9D9-1F3FF-200D-2642-FE0F",sheet:[50,16]}],shortName:"male_mage"},{name:"Woman Mage",unified:"1F9D9-200D-2640-FE0F",obsoletes:"1F9D9",keywords:["woman_mage","woman","female","mage","witch"],sheet:[50,5],skinVariations:[{unified:"1F9D9-1F3FB-200D-2640-FE0F",sheet:[50,6]},{unified:"1F9D9-1F3FC-200D-2640-FE0F",sheet:[50,7]},{unified:"1F9D9-1F3FD-200D-2640-FE0F",sheet:[50,8]},{unified:"1F9D9-1F3FE-200D-2640-FE0F",sheet:[50,9]},{unified:"1F9D9-1F3FF-200D-2640-FE0F",sheet:[50,10]}],shortName:"female_mage"},{name:"Fairy",unified:"1F9DA",keywords:["fairy","wings","magical"],sheet:[50,35],skinVariations:[{unified:"1F9DA-1F3FB",sheet:[50,36]},{unified:"1F9DA-1F3FC",sheet:[50,37]},{unified:"1F9DA-1F3FD",sheet:[50,38]},{unified:"1F9DA-1F3FE",sheet:[50,39]},{unified:"1F9DA-1F3FF",sheet:[50,40]}],shortName:"fairy",obsoletedBy:"1F9DA-200D-2640-FE0F"},{name:"Man Fairy",unified:"1F9DA-200D-2642-FE0F",keywords:["man_fairy","man","male"],sheet:[50,29],skinVariations:[{unified:"1F9DA-1F3FB-200D-2642-FE0F",sheet:[50,30]},{unified:"1F9DA-1F3FC-200D-2642-FE0F",sheet:[50,31]},{unified:"1F9DA-1F3FD-200D-2642-FE0F",sheet:[50,32]},{unified:"1F9DA-1F3FE-200D-2642-FE0F",sheet:[50,33]},{unified:"1F9DA-1F3FF-200D-2642-FE0F",sheet:[50,34]}],shortName:"male_fairy"},{name:"Woman Fairy",unified:"1F9DA-200D-2640-FE0F",obsoletes:"1F9DA",keywords:["woman_fairy","woman","female"],sheet:[50,23],skinVariations:[{unified:"1F9DA-1F3FB-200D-2640-FE0F",sheet:[50,24]},{unified:"1F9DA-1F3FC-200D-2640-FE0F",sheet:[50,25]},{unified:"1F9DA-1F3FD-200D-2640-FE0F",sheet:[50,26]},{unified:"1F9DA-1F3FE-200D-2640-FE0F",sheet:[50,27]},{unified:"1F9DA-1F3FF-200D-2640-FE0F",sheet:[50,28]}],shortName:"female_fairy"},{name:"Vampire",unified:"1F9DB",keywords:["vampire","blood","twilight"],sheet:[50,53],skinVariations:[{unified:"1F9DB-1F3FB",sheet:[50,54]},{unified:"1F9DB-1F3FC",sheet:[50,55]},{unified:"1F9DB-1F3FD",sheet:[50,56]},{unified:"1F9DB-1F3FE",sheet:[50,57]},{unified:"1F9DB-1F3FF",sheet:[51,0]}],shortName:"vampire",obsoletedBy:"1F9DB-200D-2640-FE0F"},{name:"Man Vampire",unified:"1F9DB-200D-2642-FE0F",keywords:["man_vampire","man","male","dracula"],sheet:[50,47],skinVariations:[{unified:"1F9DB-1F3FB-200D-2642-FE0F",sheet:[50,48]},{unified:"1F9DB-1F3FC-200D-2642-FE0F",sheet:[50,49]},{unified:"1F9DB-1F3FD-200D-2642-FE0F",sheet:[50,50]},{unified:"1F9DB-1F3FE-200D-2642-FE0F",sheet:[50,51]},{unified:"1F9DB-1F3FF-200D-2642-FE0F",sheet:[50,52]}],shortName:"male_vampire"},{name:"Woman Vampire",unified:"1F9DB-200D-2640-FE0F",obsoletes:"1F9DB",keywords:["woman_vampire","woman","female"],sheet:[50,41],skinVariations:[{unified:"1F9DB-1F3FB-200D-2640-FE0F",sheet:[50,42]},{unified:"1F9DB-1F3FC-200D-2640-FE0F",sheet:[50,43]},{unified:"1F9DB-1F3FD-200D-2640-FE0F",sheet:[50,44]},{unified:"1F9DB-1F3FE-200D-2640-FE0F",sheet:[50,45]},{unified:"1F9DB-1F3FF-200D-2640-FE0F",sheet:[50,46]}],shortName:"female_vampire"},{name:"Merperson",unified:"1F9DC",keywords:["merperson","sea"],sheet:[51,13],skinVariations:[{unified:"1F9DC-1F3FB",sheet:[51,14]},{unified:"1F9DC-1F3FC",sheet:[51,15]},{unified:"1F9DC-1F3FD",sheet:[51,16]},{unified:"1F9DC-1F3FE",sheet:[51,17]},{unified:"1F9DC-1F3FF",sheet:[51,18]}],shortName:"merperson",obsoletedBy:"1F9DC-200D-2642-FE0F"},{name:"Merman",unified:"1F9DC-200D-2642-FE0F",obsoletes:"1F9DC",keywords:["merman","man","male","triton"],sheet:[51,7],skinVariations:[{unified:"1F9DC-1F3FB-200D-2642-FE0F",sheet:[51,8]},{unified:"1F9DC-1F3FC-200D-2642-FE0F",sheet:[51,9]},{unified:"1F9DC-1F3FD-200D-2642-FE0F",sheet:[51,10]},{unified:"1F9DC-1F3FE-200D-2642-FE0F",sheet:[51,11]},{unified:"1F9DC-1F3FF-200D-2642-FE0F",sheet:[51,12]}],shortName:"merman"},{name:"Mermaid",unified:"1F9DC-200D-2640-FE0F",keywords:["mermaid","woman","female","merwoman","ariel"],sheet:[51,1],skinVariations:[{unified:"1F9DC-1F3FB-200D-2640-FE0F",sheet:[51,2]},{unified:"1F9DC-1F3FC-200D-2640-FE0F",sheet:[51,3]},{unified:"1F9DC-1F3FD-200D-2640-FE0F",sheet:[51,4]},{unified:"1F9DC-1F3FE-200D-2640-FE0F",sheet:[51,5]},{unified:"1F9DC-1F3FF-200D-2640-FE0F",sheet:[51,6]}],shortName:"mermaid"},{name:"Elf",unified:"1F9DD",keywords:["elf","magical"],sheet:[51,31],skinVariations:[{unified:"1F9DD-1F3FB",sheet:[51,32]},{unified:"1F9DD-1F3FC",sheet:[51,33]},{unified:"1F9DD-1F3FD",sheet:[51,34]},{unified:"1F9DD-1F3FE",sheet:[51,35]},{unified:"1F9DD-1F3FF",sheet:[51,36]}],shortName:"elf",obsoletedBy:"1F9DD-200D-2642-FE0F"},{name:"Man Elf",unified:"1F9DD-200D-2642-FE0F",obsoletes:"1F9DD",keywords:["man_elf","man","male"],sheet:[51,25],skinVariations:[{unified:"1F9DD-1F3FB-200D-2642-FE0F",sheet:[51,26]},{unified:"1F9DD-1F3FC-200D-2642-FE0F",sheet:[51,27]},{unified:"1F9DD-1F3FD-200D-2642-FE0F",sheet:[51,28]},{unified:"1F9DD-1F3FE-200D-2642-FE0F",sheet:[51,29]},{unified:"1F9DD-1F3FF-200D-2642-FE0F",sheet:[51,30]}],shortName:"male_elf"},{name:"Woman Elf",unified:"1F9DD-200D-2640-FE0F",keywords:["woman_elf","woman","female"],sheet:[51,19],skinVariations:[{unified:"1F9DD-1F3FB-200D-2640-FE0F",sheet:[51,20]},{unified:"1F9DD-1F3FC-200D-2640-FE0F",sheet:[51,21]},{unified:"1F9DD-1F3FD-200D-2640-FE0F",sheet:[51,22]},{unified:"1F9DD-1F3FE-200D-2640-FE0F",sheet:[51,23]},{unified:"1F9DD-1F3FF-200D-2640-FE0F",sheet:[51,24]}],shortName:"female_elf"},{name:"Genie",unified:"1F9DE",keywords:["genie","magical","wishes"],sheet:[51,39],shortName:"genie",obsoletedBy:"1F9DE-200D-2642-FE0F"},{name:"Man Genie",unified:"1F9DE-200D-2642-FE0F",obsoletes:"1F9DE",keywords:["man_genie","man","male"],sheet:[51,38],shortName:"male_genie"},{name:"Woman Genie",unified:"1F9DE-200D-2640-FE0F",keywords:["woman_genie","woman","female"],sheet:[51,37],shortName:"female_genie"},{name:"Zombie",unified:"1F9DF",keywords:["zombie","dead"],sheet:[51,42],shortName:"zombie",obsoletedBy:"1F9DF-200D-2642-FE0F"},{name:"Man Zombie",unified:"1F9DF-200D-2642-FE0F",obsoletes:"1F9DF",keywords:["man_zombie","man","male","dracula","undead","walking dead"],sheet:[51,41],shortName:"male_zombie"},{name:"Woman Zombie",unified:"1F9DF-200D-2640-FE0F",keywords:["woman_zombie","woman","female","undead","walking dead"],sheet:[51,40],shortName:"female_zombie"},{name:"Face Massage",unified:"1F486",keywords:["person_getting_massage","relax"],sheet:[24,54],skinVariations:[{unified:"1F486-1F3FB",sheet:[24,55]},{unified:"1F486-1F3FC",sheet:[24,56]},{unified:"1F486-1F3FD",sheet:[24,57]},{unified:"1F486-1F3FE",sheet:[25,0]},{unified:"1F486-1F3FF",sheet:[25,1]}],shortName:"massage",obsoletedBy:"1F486-200D-2640-FE0F"},{name:"Man Getting Massage",unified:"1F486-200D-2642-FE0F",keywords:["man_getting_massage","male","boy","man","head"],sheet:[24,48],skinVariations:[{unified:"1F486-1F3FB-200D-2642-FE0F",sheet:[24,49]},{unified:"1F486-1F3FC-200D-2642-FE0F",sheet:[24,50]},{unified:"1F486-1F3FD-200D-2642-FE0F",sheet:[24,51]},{unified:"1F486-1F3FE-200D-2642-FE0F",sheet:[24,52]},{unified:"1F486-1F3FF-200D-2642-FE0F",sheet:[24,53]}],shortName:"man-getting-massage"},{name:"Woman Getting Massage",unified:"1F486-200D-2640-FE0F",obsoletes:"1F486",keywords:["woman_getting_massage","female","girl","woman","head"],sheet:[24,42],skinVariations:[{unified:"1F486-1F3FB-200D-2640-FE0F",sheet:[24,43]},{unified:"1F486-1F3FC-200D-2640-FE0F",sheet:[24,44]},{unified:"1F486-1F3FD-200D-2640-FE0F",sheet:[24,45]},{unified:"1F486-1F3FE-200D-2640-FE0F",sheet:[24,46]},{unified:"1F486-1F3FF-200D-2640-FE0F",sheet:[24,47]}],shortName:"woman-getting-massage"},{name:"Haircut",unified:"1F487",keywords:["person_getting_haircut","hairstyle"],sheet:[25,14],skinVariations:[{unified:"1F487-1F3FB",sheet:[25,15]},{unified:"1F487-1F3FC",sheet:[25,16]},{unified:"1F487-1F3FD",sheet:[25,17]},{unified:"1F487-1F3FE",sheet:[25,18]},{unified:"1F487-1F3FF",sheet:[25,19]}],shortName:"haircut",obsoletedBy:"1F487-200D-2640-FE0F"},{name:"Man Getting Haircut",unified:"1F487-200D-2642-FE0F",keywords:["man_getting_haircut","male","boy","man"],sheet:[25,8],skinVariations:[{unified:"1F487-1F3FB-200D-2642-FE0F",sheet:[25,9]},{unified:"1F487-1F3FC-200D-2642-FE0F",sheet:[25,10]},{unified:"1F487-1F3FD-200D-2642-FE0F",sheet:[25,11]},{unified:"1F487-1F3FE-200D-2642-FE0F",sheet:[25,12]},{unified:"1F487-1F3FF-200D-2642-FE0F",sheet:[25,13]}],shortName:"man-getting-haircut"},{name:"Woman Getting Haircut",unified:"1F487-200D-2640-FE0F",obsoletes:"1F487",keywords:["woman_getting_haircut","female","girl","woman"],sheet:[25,2],skinVariations:[{unified:"1F487-1F3FB-200D-2640-FE0F",sheet:[25,3]},{unified:"1F487-1F3FC-200D-2640-FE0F",sheet:[25,4]},{unified:"1F487-1F3FD-200D-2640-FE0F",sheet:[25,5]},{unified:"1F487-1F3FE-200D-2640-FE0F",sheet:[25,6]},{unified:"1F487-1F3FF-200D-2640-FE0F",sheet:[25,7]}],shortName:"woman-getting-haircut"},{name:"Pedestrian",unified:"1F6B6",keywords:["person_walking","move"],sheet:[35,51],skinVariations:[{unified:"1F6B6-1F3FB",sheet:[35,52]},{unified:"1F6B6-1F3FC",sheet:[35,53]},{unified:"1F6B6-1F3FD",sheet:[35,54]},{unified:"1F6B6-1F3FE",sheet:[35,55]},{unified:"1F6B6-1F3FF",sheet:[35,56]}],shortName:"walking",obsoletedBy:"1F6B6-200D-2642-FE0F"},{name:"Man Walking",unified:"1F6B6-200D-2642-FE0F",obsoletes:"1F6B6",keywords:["man_walking","human","feet","steps"],sheet:[35,45],skinVariations:[{unified:"1F6B6-1F3FB-200D-2642-FE0F",sheet:[35,46]},{unified:"1F6B6-1F3FC-200D-2642-FE0F",sheet:[35,47]},{unified:"1F6B6-1F3FD-200D-2642-FE0F",sheet:[35,48]},{unified:"1F6B6-1F3FE-200D-2642-FE0F",sheet:[35,49]},{unified:"1F6B6-1F3FF-200D-2642-FE0F",sheet:[35,50]}],shortName:"man-walking"},{name:"Woman Walking",unified:"1F6B6-200D-2640-FE0F",keywords:["woman_walking","human","feet","steps","woman","female"],sheet:[35,39],skinVariations:[{unified:"1F6B6-1F3FB-200D-2640-FE0F",sheet:[35,40]},{unified:"1F6B6-1F3FC-200D-2640-FE0F",sheet:[35,41]},{unified:"1F6B6-1F3FD-200D-2640-FE0F",sheet:[35,42]},{unified:"1F6B6-1F3FE-200D-2640-FE0F",sheet:[35,43]},{unified:"1F6B6-1F3FF-200D-2640-FE0F",sheet:[35,44]}],shortName:"woman-walking"},{name:"Standing Person",unified:"1F9CD",keywords:["person_standing","still"],sheet:[44,50],skinVariations:[{unified:"1F9CD-1F3FB",sheet:[44,51]},{unified:"1F9CD-1F3FC",sheet:[44,52]},{unified:"1F9CD-1F3FD",sheet:[44,53]},{unified:"1F9CD-1F3FE",sheet:[44,54]},{unified:"1F9CD-1F3FF",sheet:[44,55]}],shortName:"standing_person"},{name:"Man Standing",unified:"1F9CD-200D-2642-FE0F",keywords:["man_standing","still"],sheet:[44,44],skinVariations:[{unified:"1F9CD-1F3FB-200D-2642-FE0F",sheet:[44,45]},{unified:"1F9CD-1F3FC-200D-2642-FE0F",sheet:[44,46]},{unified:"1F9CD-1F3FD-200D-2642-FE0F",sheet:[44,47]},{unified:"1F9CD-1F3FE-200D-2642-FE0F",sheet:[44,48]},{unified:"1F9CD-1F3FF-200D-2642-FE0F",sheet:[44,49]}],shortName:"man_standing"},{name:"Woman Standing",unified:"1F9CD-200D-2640-FE0F",keywords:["woman_standing","still"],sheet:[44,38],skinVariations:[{unified:"1F9CD-1F3FB-200D-2640-FE0F",sheet:[44,39]},{unified:"1F9CD-1F3FC-200D-2640-FE0F",sheet:[44,40]},{unified:"1F9CD-1F3FD-200D-2640-FE0F",sheet:[44,41]},{unified:"1F9CD-1F3FE-200D-2640-FE0F",sheet:[44,42]},{unified:"1F9CD-1F3FF-200D-2640-FE0F",sheet:[44,43]}],shortName:"woman_standing"},{name:"Kneeling Person",unified:"1F9CE",keywords:["person_kneeling","pray","respectful"],sheet:[45,10],skinVariations:[{unified:"1F9CE-1F3FB",sheet:[45,11]},{unified:"1F9CE-1F3FC",sheet:[45,12]},{unified:"1F9CE-1F3FD",sheet:[45,13]},{unified:"1F9CE-1F3FE",sheet:[45,14]},{unified:"1F9CE-1F3FF",sheet:[45,15]}],shortName:"kneeling_person"},{name:"Man Kneeling",unified:"1F9CE-200D-2642-FE0F",keywords:["man_kneeling","pray","respectful"],sheet:[45,4],skinVariations:[{unified:"1F9CE-1F3FB-200D-2642-FE0F",sheet:[45,5]},{unified:"1F9CE-1F3FC-200D-2642-FE0F",sheet:[45,6]},{unified:"1F9CE-1F3FD-200D-2642-FE0F",sheet:[45,7]},{unified:"1F9CE-1F3FE-200D-2642-FE0F",sheet:[45,8]},{unified:"1F9CE-1F3FF-200D-2642-FE0F",sheet:[45,9]}],shortName:"man_kneeling"},{name:"Woman Kneeling",unified:"1F9CE-200D-2640-FE0F",keywords:["woman_kneeling","respectful","pray"],sheet:[44,56],skinVariations:[{unified:"1F9CE-1F3FB-200D-2640-FE0F",sheet:[44,57]},{unified:"1F9CE-1F3FC-200D-2640-FE0F",sheet:[45,0]},{unified:"1F9CE-1F3FD-200D-2640-FE0F",sheet:[45,1]},{unified:"1F9CE-1F3FE-200D-2640-FE0F",sheet:[45,2]},{unified:"1F9CE-1F3FF-200D-2640-FE0F",sheet:[45,3]}],shortName:"woman_kneeling"},{name:"Person with White Cane",unified:"1F9D1-200D-1F9AF",keywords:["person_with_probing_cane","blind"],sheet:[47,35],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9AF",sheet:[47,36]},{unified:"1F9D1-1F3FC-200D-1F9AF",sheet:[47,37]},{unified:"1F9D1-1F3FD-200D-1F9AF",sheet:[47,38]},{unified:"1F9D1-1F3FE-200D-1F9AF",sheet:[47,39]},{unified:"1F9D1-1F3FF-200D-1F9AF",sheet:[47,40]}],shortName:"person_with_probing_cane"},{name:"Man with White Cane",unified:"1F468-200D-1F9AF",keywords:["man_with_probing_cane","blind"],sheet:[16,10],skinVariations:[{unified:"1F468-1F3FB-200D-1F9AF",sheet:[16,11]},{unified:"1F468-1F3FC-200D-1F9AF",sheet:[16,12]},{unified:"1F468-1F3FD-200D-1F9AF",sheet:[16,13]},{unified:"1F468-1F3FE-200D-1F9AF",sheet:[16,14]},{unified:"1F468-1F3FF-200D-1F9AF",sheet:[16,15]}],shortName:"man_with_probing_cane"},{name:"Woman with White Cane",unified:"1F469-200D-1F9AF",keywords:["woman_with_probing_cane","blind"],sheet:[18,56],skinVariations:[{unified:"1F469-1F3FB-200D-1F9AF",sheet:[18,57]},{unified:"1F469-1F3FC-200D-1F9AF",sheet:[19,0]},{unified:"1F469-1F3FD-200D-1F9AF",sheet:[19,1]},{unified:"1F469-1F3FE-200D-1F9AF",sheet:[19,2]},{unified:"1F469-1F3FF-200D-1F9AF",sheet:[19,3]}],shortName:"woman_with_probing_cane"},{name:"Person in Motorized Wheelchair",unified:"1F9D1-200D-1F9BC",keywords:["person_in_motorized_wheelchair","disability","accessibility"],sheet:[48,7],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9BC",sheet:[48,8]},{unified:"1F9D1-1F3FC-200D-1F9BC",sheet:[48,9]},{unified:"1F9D1-1F3FD-200D-1F9BC",sheet:[48,10]},{unified:"1F9D1-1F3FE-200D-1F9BC",sheet:[48,11]},{unified:"1F9D1-1F3FF-200D-1F9BC",sheet:[48,12]}],shortName:"person_in_motorized_wheelchair"},{name:"Man in Motorized Wheelchair",unified:"1F468-200D-1F9BC",keywords:["man_in_motorized_wheelchair","disability","accessibility"],sheet:[16,40],skinVariations:[{unified:"1F468-1F3FB-200D-1F9BC",sheet:[16,41]},{unified:"1F468-1F3FC-200D-1F9BC",sheet:[16,42]},{unified:"1F468-1F3FD-200D-1F9BC",sheet:[16,43]},{unified:"1F468-1F3FE-200D-1F9BC",sheet:[16,44]},{unified:"1F468-1F3FF-200D-1F9BC",sheet:[16,45]}],shortName:"man_in_motorized_wheelchair"},{name:"Woman in Motorized Wheelchair",unified:"1F469-200D-1F9BC",keywords:["woman_in_motorized_wheelchair","disability","accessibility"],sheet:[19,28],skinVariations:[{unified:"1F469-1F3FB-200D-1F9BC",sheet:[19,29]},{unified:"1F469-1F3FC-200D-1F9BC",sheet:[19,30]},{unified:"1F469-1F3FD-200D-1F9BC",sheet:[19,31]},{unified:"1F469-1F3FE-200D-1F9BC",sheet:[19,32]},{unified:"1F469-1F3FF-200D-1F9BC",sheet:[19,33]}],shortName:"woman_in_motorized_wheelchair"},{name:"Person in Manual Wheelchair",unified:"1F9D1-200D-1F9BD",keywords:["person_in_manual_wheelchair","disability","accessibility"],sheet:[48,13],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9BD",sheet:[48,14]},{unified:"1F9D1-1F3FC-200D-1F9BD",sheet:[48,15]},{unified:"1F9D1-1F3FD-200D-1F9BD",sheet:[48,16]},{unified:"1F9D1-1F3FE-200D-1F9BD",sheet:[48,17]},{unified:"1F9D1-1F3FF-200D-1F9BD",sheet:[48,18]}],shortName:"person_in_manual_wheelchair"},{name:"Man in Manual Wheelchair",unified:"1F468-200D-1F9BD",keywords:["man_in_manual_wheelchair","disability","accessibility"],sheet:[16,46],skinVariations:[{unified:"1F468-1F3FB-200D-1F9BD",sheet:[16,47]},{unified:"1F468-1F3FC-200D-1F9BD",sheet:[16,48]},{unified:"1F468-1F3FD-200D-1F9BD",sheet:[16,49]},{unified:"1F468-1F3FE-200D-1F9BD",sheet:[16,50]},{unified:"1F468-1F3FF-200D-1F9BD",sheet:[16,51]}],shortName:"man_in_manual_wheelchair"},{name:"Woman in Manual Wheelchair",unified:"1F469-200D-1F9BD",keywords:["woman_in_manual_wheelchair","disability","accessibility"],sheet:[19,34],skinVariations:[{unified:"1F469-1F3FB-200D-1F9BD",sheet:[19,35]},{unified:"1F469-1F3FC-200D-1F9BD",sheet:[19,36]},{unified:"1F469-1F3FD-200D-1F9BD",sheet:[19,37]},{unified:"1F469-1F3FE-200D-1F9BD",sheet:[19,38]},{unified:"1F469-1F3FF-200D-1F9BD",sheet:[19,39]}],shortName:"woman_in_manual_wheelchair"},{name:"Runner",unified:"1F3C3",keywords:["person_running","move"],sheet:[8,50],skinVariations:[{unified:"1F3C3-1F3FB",sheet:[8,51]},{unified:"1F3C3-1F3FC",sheet:[8,52]},{unified:"1F3C3-1F3FD",sheet:[8,53]},{unified:"1F3C3-1F3FE",sheet:[8,54]},{unified:"1F3C3-1F3FF",sheet:[8,55]}],shortNames:["running"],shortName:"runner",obsoletedBy:"1F3C3-200D-2642-FE0F"},{name:"Man Running",unified:"1F3C3-200D-2642-FE0F",obsoletes:"1F3C3",keywords:["man_running","man","walking","exercise","race","running"],sheet:[8,44],skinVariations:[{unified:"1F3C3-1F3FB-200D-2642-FE0F",sheet:[8,45]},{unified:"1F3C3-1F3FC-200D-2642-FE0F",sheet:[8,46]},{unified:"1F3C3-1F3FD-200D-2642-FE0F",sheet:[8,47]},{unified:"1F3C3-1F3FE-200D-2642-FE0F",sheet:[8,48]},{unified:"1F3C3-1F3FF-200D-2642-FE0F",sheet:[8,49]}],shortName:"man-running"},{name:"Woman Running",unified:"1F3C3-200D-2640-FE0F",keywords:["woman_running","woman","walking","exercise","race","running","female"],sheet:[8,38],skinVariations:[{unified:"1F3C3-1F3FB-200D-2640-FE0F",sheet:[8,39]},{unified:"1F3C3-1F3FC-200D-2640-FE0F",sheet:[8,40]},{unified:"1F3C3-1F3FD-200D-2640-FE0F",sheet:[8,41]},{unified:"1F3C3-1F3FE-200D-2640-FE0F",sheet:[8,42]},{unified:"1F3C3-1F3FF-200D-2640-FE0F",sheet:[8,43]}],shortName:"woman-running"},{name:"Dancer",unified:"1F483",keywords:["woman_dancing","female","girl","woman","fun"],sheet:[24,29],skinVariations:[{unified:"1F483-1F3FB",sheet:[24,30]},{unified:"1F483-1F3FC",sheet:[24,31]},{unified:"1F483-1F3FD",sheet:[24,32]},{unified:"1F483-1F3FE",sheet:[24,33]},{unified:"1F483-1F3FF",sheet:[24,34]}],shortName:"dancer"},{name:"Man Dancing",unified:"1F57A",keywords:["man_dancing","male","boy","fun","dancer"],sheet:[29,35],skinVariations:[{unified:"1F57A-1F3FB",sheet:[29,36]},{unified:"1F57A-1F3FC",sheet:[29,37]},{unified:"1F57A-1F3FD",sheet:[29,38]},{unified:"1F57A-1F3FE",sheet:[29,39]},{unified:"1F57A-1F3FF",sheet:[29,40]}],shortName:"man_dancing"},{name:"Person in Suit Levitating",unified:"1F574-FE0F",keywords:["man_in_suit_levitating","suit","business","levitate","hover","jump"],sheet:[29,7],skinVariations:[{unified:"1F574-1F3FB",sheet:[29,8]},{unified:"1F574-1F3FC",sheet:[29,9]},{unified:"1F574-1F3FD",sheet:[29,10]},{unified:"1F574-1F3FE",sheet:[29,11]},{unified:"1F574-1F3FF",sheet:[29,12]}],shortName:"man_in_business_suit_levitating"},{name:"Woman with Bunny Ears",unified:"1F46F",keywords:["people_with_bunny_ears","perform","costume"],sheet:[21,51],shortName:"dancers",obsoletedBy:"1F46F-200D-2640-FE0F"},{name:"Men with Bunny Ears",unified:"1F46F-200D-2642-FE0F",keywords:["men_with_bunny_ears","male","bunny","men","boys"],sheet:[21,50],shortName:"man-with-bunny-ears-partying"},{name:"Women with Bunny Ears",unified:"1F46F-200D-2640-FE0F",obsoletes:"1F46F",keywords:["women_with_bunny_ears","female","bunny","women","girls"],sheet:[21,49],shortName:"woman-with-bunny-ears-partying"},{name:"Person in Steamy Room",unified:"1F9D6",keywords:["person_in_steamy_room","relax","spa"],sheet:[49,21],skinVariations:[{unified:"1F9D6-1F3FB",sheet:[49,22]},{unified:"1F9D6-1F3FC",sheet:[49,23]},{unified:"1F9D6-1F3FD",sheet:[49,24]},{unified:"1F9D6-1F3FE",sheet:[49,25]},{unified:"1F9D6-1F3FF",sheet:[49,26]}],shortName:"person_in_steamy_room",obsoletedBy:"1F9D6-200D-2642-FE0F"},{name:"Man in Steamy Room",unified:"1F9D6-200D-2642-FE0F",obsoletes:"1F9D6",keywords:["man_in_steamy_room","male","man","spa","steamroom","sauna"],sheet:[49,15],skinVariations:[{unified:"1F9D6-1F3FB-200D-2642-FE0F",sheet:[49,16]},{unified:"1F9D6-1F3FC-200D-2642-FE0F",sheet:[49,17]},{unified:"1F9D6-1F3FD-200D-2642-FE0F",sheet:[49,18]},{unified:"1F9D6-1F3FE-200D-2642-FE0F",sheet:[49,19]},{unified:"1F9D6-1F3FF-200D-2642-FE0F",sheet:[49,20]}],shortName:"man_in_steamy_room"},{name:"Woman in Steamy Room",unified:"1F9D6-200D-2640-FE0F",keywords:["woman_in_steamy_room","female","woman","spa","steamroom","sauna"],sheet:[49,9],skinVariations:[{unified:"1F9D6-1F3FB-200D-2640-FE0F",sheet:[49,10]},{unified:"1F9D6-1F3FC-200D-2640-FE0F",sheet:[49,11]},{unified:"1F9D6-1F3FD-200D-2640-FE0F",sheet:[49,12]},{unified:"1F9D6-1F3FE-200D-2640-FE0F",sheet:[49,13]},{unified:"1F9D6-1F3FF-200D-2640-FE0F",sheet:[49,14]}],shortName:"woman_in_steamy_room"},{name:"Person Climbing",unified:"1F9D7",keywords:["person_climbing","sport"],sheet:[49,39],skinVariations:[{unified:"1F9D7-1F3FB",sheet:[49,40]},{unified:"1F9D7-1F3FC",sheet:[49,41]},{unified:"1F9D7-1F3FD",sheet:[49,42]},{unified:"1F9D7-1F3FE",sheet:[49,43]},{unified:"1F9D7-1F3FF",sheet:[49,44]}],shortName:"person_climbing",obsoletedBy:"1F9D7-200D-2640-FE0F"},{name:"Man Climbing",unified:"1F9D7-200D-2642-FE0F",keywords:["man_climbing","sports","hobby","man","male","rock"],sheet:[49,33],skinVariations:[{unified:"1F9D7-1F3FB-200D-2642-FE0F",sheet:[49,34]},{unified:"1F9D7-1F3FC-200D-2642-FE0F",sheet:[49,35]},{unified:"1F9D7-1F3FD-200D-2642-FE0F",sheet:[49,36]},{unified:"1F9D7-1F3FE-200D-2642-FE0F",sheet:[49,37]},{unified:"1F9D7-1F3FF-200D-2642-FE0F",sheet:[49,38]}],shortName:"man_climbing"},{name:"Woman Climbing",unified:"1F9D7-200D-2640-FE0F",obsoletes:"1F9D7",keywords:["woman_climbing","sports","hobby","woman","female","rock"],sheet:[49,27],skinVariations:[{unified:"1F9D7-1F3FB-200D-2640-FE0F",sheet:[49,28]},{unified:"1F9D7-1F3FC-200D-2640-FE0F",sheet:[49,29]},{unified:"1F9D7-1F3FD-200D-2640-FE0F",sheet:[49,30]},{unified:"1F9D7-1F3FE-200D-2640-FE0F",sheet:[49,31]},{unified:"1F9D7-1F3FF-200D-2640-FE0F",sheet:[49,32]}],shortName:"woman_climbing"},{name:"Fencer",unified:"1F93A",keywords:["person_fencing","sports","fencing","sword"],sheet:[40,41],shortName:"fencer"},{name:"Horse Racing",unified:"1F3C7",keywords:["horse_racing","animal","betting","competition","gambling","luck"],sheet:[9,18],skinVariations:[{unified:"1F3C7-1F3FB",sheet:[9,19]},{unified:"1F3C7-1F3FC",sheet:[9,20]},{unified:"1F3C7-1F3FD",sheet:[9,21]},{unified:"1F3C7-1F3FE",sheet:[9,22]},{unified:"1F3C7-1F3FF",sheet:[9,23]}],shortName:"horse_racing"},{name:"Skier",unified:"26F7-FE0F",keywords:["skier","sports","winter","snow"],sheet:[55,22],shortName:"skier"},{name:"Snowboarder",unified:"1F3C2",keywords:["snowboarder","sports","winter"],sheet:[8,32],skinVariations:[{unified:"1F3C2-1F3FB",sheet:[8,33]},{unified:"1F3C2-1F3FC",sheet:[8,34]},{unified:"1F3C2-1F3FD",sheet:[8,35]},{unified:"1F3C2-1F3FE",sheet:[8,36]},{unified:"1F3C2-1F3FF",sheet:[8,37]}],shortName:"snowboarder"},{name:"Person Golfing",unified:"1F3CC-FE0F",keywords:["person_golfing","sports","business"],sheet:[10,16],skinVariations:[{unified:"1F3CC-1F3FB",sheet:[10,17]},{unified:"1F3CC-1F3FC",sheet:[10,18]},{unified:"1F3CC-1F3FD",sheet:[10,19]},{unified:"1F3CC-1F3FE",sheet:[10,20]},{unified:"1F3CC-1F3FF",sheet:[10,21]}],shortName:"golfer",obsoletedBy:"1F3CC-FE0F-200D-2642-FE0F"},{name:"Man Golfing",unified:"1F3CC-FE0F-200D-2642-FE0F",obsoletes:"1F3CC-FE0F",keywords:["man_golfing","sport"],sheet:[10,10],hidden:["facebook"],skinVariations:[{unified:"1F3CC-1F3FB-200D-2642-FE0F",sheet:[10,11]},{unified:"1F3CC-1F3FC-200D-2642-FE0F",sheet:[10,12]},{unified:"1F3CC-1F3FD-200D-2642-FE0F",sheet:[10,13]},{unified:"1F3CC-1F3FE-200D-2642-FE0F",sheet:[10,14]},{unified:"1F3CC-1F3FF-200D-2642-FE0F",sheet:[10,15]}],shortName:"man-golfing"},{name:"Woman Golfing",unified:"1F3CC-FE0F-200D-2640-FE0F",keywords:["woman_golfing","sports","business","woman","female"],sheet:[10,4],hidden:["facebook"],skinVariations:[{unified:"1F3CC-1F3FB-200D-2640-FE0F",sheet:[10,5]},{unified:"1F3CC-1F3FC-200D-2640-FE0F",sheet:[10,6]},{unified:"1F3CC-1F3FD-200D-2640-FE0F",sheet:[10,7]},{unified:"1F3CC-1F3FE-200D-2640-FE0F",sheet:[10,8]},{unified:"1F3CC-1F3FF-200D-2640-FE0F",sheet:[10,9]}],shortName:"woman-golfing"},{name:"Surfer",unified:"1F3C4",keywords:["person_surfing","sport","sea"],sheet:[9,10],skinVariations:[{unified:"1F3C4-1F3FB",sheet:[9,11]},{unified:"1F3C4-1F3FC",sheet:[9,12]},{unified:"1F3C4-1F3FD",sheet:[9,13]},{unified:"1F3C4-1F3FE",sheet:[9,14]},{unified:"1F3C4-1F3FF",sheet:[9,15]}],shortName:"surfer",obsoletedBy:"1F3C4-200D-2642-FE0F"},{name:"Man Surfing",unified:"1F3C4-200D-2642-FE0F",obsoletes:"1F3C4",keywords:["man_surfing","sports","ocean","sea","summer","beach"],sheet:[9,4],skinVariations:[{unified:"1F3C4-1F3FB-200D-2642-FE0F",sheet:[9,5]},{unified:"1F3C4-1F3FC-200D-2642-FE0F",sheet:[9,6]},{unified:"1F3C4-1F3FD-200D-2642-FE0F",sheet:[9,7]},{unified:"1F3C4-1F3FE-200D-2642-FE0F",sheet:[9,8]},{unified:"1F3C4-1F3FF-200D-2642-FE0F",sheet:[9,9]}],shortName:"man-surfing"},{name:"Woman Surfing",unified:"1F3C4-200D-2640-FE0F",keywords:["woman_surfing","sports","ocean","sea","summer","beach","woman","female"],sheet:[8,56],skinVariations:[{unified:"1F3C4-1F3FB-200D-2640-FE0F",sheet:[8,57]},{unified:"1F3C4-1F3FC-200D-2640-FE0F",sheet:[9,0]},{unified:"1F3C4-1F3FD-200D-2640-FE0F",sheet:[9,1]},{unified:"1F3C4-1F3FE-200D-2640-FE0F",sheet:[9,2]},{unified:"1F3C4-1F3FF-200D-2640-FE0F",sheet:[9,3]}],shortName:"woman-surfing"},{name:"Rowboat",unified:"1F6A3",keywords:["person_rowing_boat","sport","move"],sheet:[34,39],skinVariations:[{unified:"1F6A3-1F3FB",sheet:[34,40]},{unified:"1F6A3-1F3FC",sheet:[34,41]},{unified:"1F6A3-1F3FD",sheet:[34,42]},{unified:"1F6A3-1F3FE",sheet:[34,43]},{unified:"1F6A3-1F3FF",sheet:[34,44]}],shortName:"rowboat",obsoletedBy:"1F6A3-200D-2642-FE0F"},{name:"Man Rowing Boat",unified:"1F6A3-200D-2642-FE0F",obsoletes:"1F6A3",keywords:["man_rowing_boat","sports","hobby","water","ship"],sheet:[34,33],skinVariations:[{unified:"1F6A3-1F3FB-200D-2642-FE0F",sheet:[34,34]},{unified:"1F6A3-1F3FC-200D-2642-FE0F",sheet:[34,35]},{unified:"1F6A3-1F3FD-200D-2642-FE0F",sheet:[34,36]},{unified:"1F6A3-1F3FE-200D-2642-FE0F",sheet:[34,37]},{unified:"1F6A3-1F3FF-200D-2642-FE0F",sheet:[34,38]}],shortName:"man-rowing-boat"},{name:"Woman Rowing Boat",unified:"1F6A3-200D-2640-FE0F",keywords:["woman_rowing_boat","sports","hobby","water","ship","woman","female"],sheet:[34,27],skinVariations:[{unified:"1F6A3-1F3FB-200D-2640-FE0F",sheet:[34,28]},{unified:"1F6A3-1F3FC-200D-2640-FE0F",sheet:[34,29]},{unified:"1F6A3-1F3FD-200D-2640-FE0F",sheet:[34,30]},{unified:"1F6A3-1F3FE-200D-2640-FE0F",sheet:[34,31]},{unified:"1F6A3-1F3FF-200D-2640-FE0F",sheet:[34,32]}],shortName:"woman-rowing-boat"},{name:"Swimmer",unified:"1F3CA",keywords:["person_swimming","sport","pool"],sheet:[9,38],skinVariations:[{unified:"1F3CA-1F3FB",sheet:[9,39]},{unified:"1F3CA-1F3FC",sheet:[9,40]},{unified:"1F3CA-1F3FD",sheet:[9,41]},{unified:"1F3CA-1F3FE",sheet:[9,42]},{unified:"1F3CA-1F3FF",sheet:[9,43]}],shortName:"swimmer",obsoletedBy:"1F3CA-200D-2642-FE0F"},{name:"Man Swimming",unified:"1F3CA-200D-2642-FE0F",obsoletes:"1F3CA",keywords:["man_swimming","sports","exercise","human","athlete","water","summer"],sheet:[9,32],skinVariations:[{unified:"1F3CA-1F3FB-200D-2642-FE0F",sheet:[9,33]},{unified:"1F3CA-1F3FC-200D-2642-FE0F",sheet:[9,34]},{unified:"1F3CA-1F3FD-200D-2642-FE0F",sheet:[9,35]},{unified:"1F3CA-1F3FE-200D-2642-FE0F",sheet:[9,36]},{unified:"1F3CA-1F3FF-200D-2642-FE0F",sheet:[9,37]}],shortName:"man-swimming"},{name:"Woman Swimming",unified:"1F3CA-200D-2640-FE0F",keywords:["woman_swimming","sports","exercise","human","athlete","water","summer","woman","female"],sheet:[9,26],skinVariations:[{unified:"1F3CA-1F3FB-200D-2640-FE0F",sheet:[9,27]},{unified:"1F3CA-1F3FC-200D-2640-FE0F",sheet:[9,28]},{unified:"1F3CA-1F3FD-200D-2640-FE0F",sheet:[9,29]},{unified:"1F3CA-1F3FE-200D-2640-FE0F",sheet:[9,30]},{unified:"1F3CA-1F3FF-200D-2640-FE0F",sheet:[9,31]}],shortName:"woman-swimming"},{name:"Person Bouncing Ball",unified:"26F9-FE0F",keywords:["person_bouncing_ball","sports","human"],sheet:[55,36],skinVariations:[{unified:"26F9-1F3FB",sheet:[55,37]},{unified:"26F9-1F3FC",sheet:[55,38]},{unified:"26F9-1F3FD",sheet:[55,39]},{unified:"26F9-1F3FE",sheet:[55,40]},{unified:"26F9-1F3FF",sheet:[55,41]}],shortName:"person_with_ball",obsoletedBy:"26F9-FE0F-200D-2642-FE0F"},{name:"Man Bouncing Ball",unified:"26F9-FE0F-200D-2642-FE0F",obsoletes:"26F9-FE0F",keywords:["man_bouncing_ball","sport"],sheet:[55,30],hidden:["facebook"],skinVariations:[{unified:"26F9-1F3FB-200D-2642-FE0F",sheet:[55,31]},{unified:"26F9-1F3FC-200D-2642-FE0F",sheet:[55,32]},{unified:"26F9-1F3FD-200D-2642-FE0F",sheet:[55,33]},{unified:"26F9-1F3FE-200D-2642-FE0F",sheet:[55,34]},{unified:"26F9-1F3FF-200D-2642-FE0F",sheet:[55,35]}],shortName:"man-bouncing-ball"},{name:"Woman Bouncing Ball",unified:"26F9-FE0F-200D-2640-FE0F",keywords:["woman_bouncing_ball","sports","human","woman","female"],sheet:[55,24],hidden:["facebook"],skinVariations:[{unified:"26F9-1F3FB-200D-2640-FE0F",sheet:[55,25]},{unified:"26F9-1F3FC-200D-2640-FE0F",sheet:[55,26]},{unified:"26F9-1F3FD-200D-2640-FE0F",sheet:[55,27]},{unified:"26F9-1F3FE-200D-2640-FE0F",sheet:[55,28]},{unified:"26F9-1F3FF-200D-2640-FE0F",sheet:[55,29]}],shortName:"woman-bouncing-ball"},{name:"Person Lifting Weights",unified:"1F3CB-FE0F",keywords:["person_lifting_weights","sports","training","exercise"],sheet:[9,56],skinVariations:[{unified:"1F3CB-1F3FB",sheet:[9,57]},{unified:"1F3CB-1F3FC",sheet:[10,0]},{unified:"1F3CB-1F3FD",sheet:[10,1]},{unified:"1F3CB-1F3FE",sheet:[10,2]},{unified:"1F3CB-1F3FF",sheet:[10,3]}],shortName:"weight_lifter",obsoletedBy:"1F3CB-FE0F-200D-2642-FE0F"},{name:"Man Lifting Weights",unified:"1F3CB-FE0F-200D-2642-FE0F",obsoletes:"1F3CB-FE0F",keywords:["man_lifting_weights","sport"],sheet:[9,50],hidden:["facebook"],skinVariations:[{unified:"1F3CB-1F3FB-200D-2642-FE0F",sheet:[9,51]},{unified:"1F3CB-1F3FC-200D-2642-FE0F",sheet:[9,52]},{unified:"1F3CB-1F3FD-200D-2642-FE0F",sheet:[9,53]},{unified:"1F3CB-1F3FE-200D-2642-FE0F",sheet:[9,54]},{unified:"1F3CB-1F3FF-200D-2642-FE0F",sheet:[9,55]}],shortName:"man-lifting-weights"},{name:"Woman Lifting Weights",unified:"1F3CB-FE0F-200D-2640-FE0F",keywords:["woman_lifting_weights","sports","training","exercise","woman","female"],sheet:[9,44],hidden:["facebook"],skinVariations:[{unified:"1F3CB-1F3FB-200D-2640-FE0F",sheet:[9,45]},{unified:"1F3CB-1F3FC-200D-2640-FE0F",sheet:[9,46]},{unified:"1F3CB-1F3FD-200D-2640-FE0F",sheet:[9,47]},{unified:"1F3CB-1F3FE-200D-2640-FE0F",sheet:[9,48]},{unified:"1F3CB-1F3FF-200D-2640-FE0F",sheet:[9,49]}],shortName:"woman-lifting-weights"},{name:"Bicyclist",unified:"1F6B4",keywords:["person_biking","sport","move"],sheet:[35,15],skinVariations:[{unified:"1F6B4-1F3FB",sheet:[35,16]},{unified:"1F6B4-1F3FC",sheet:[35,17]},{unified:"1F6B4-1F3FD",sheet:[35,18]},{unified:"1F6B4-1F3FE",sheet:[35,19]},{unified:"1F6B4-1F3FF",sheet:[35,20]}],shortName:"bicyclist",obsoletedBy:"1F6B4-200D-2642-FE0F"},{name:"Man Biking",unified:"1F6B4-200D-2642-FE0F",obsoletes:"1F6B4",keywords:["man_biking","sports","bike","exercise","hipster"],sheet:[35,9],skinVariations:[{unified:"1F6B4-1F3FB-200D-2642-FE0F",sheet:[35,10]},{unified:"1F6B4-1F3FC-200D-2642-FE0F",sheet:[35,11]},{unified:"1F6B4-1F3FD-200D-2642-FE0F",sheet:[35,12]},{unified:"1F6B4-1F3FE-200D-2642-FE0F",sheet:[35,13]},{unified:"1F6B4-1F3FF-200D-2642-FE0F",sheet:[35,14]}],shortName:"man-biking"},{name:"Woman Biking",unified:"1F6B4-200D-2640-FE0F",keywords:["woman_biking","sports","bike","exercise","hipster","woman","female"],sheet:[35,3],skinVariations:[{unified:"1F6B4-1F3FB-200D-2640-FE0F",sheet:[35,4]},{unified:"1F6B4-1F3FC-200D-2640-FE0F",sheet:[35,5]},{unified:"1F6B4-1F3FD-200D-2640-FE0F",sheet:[35,6]},{unified:"1F6B4-1F3FE-200D-2640-FE0F",sheet:[35,7]},{unified:"1F6B4-1F3FF-200D-2640-FE0F",sheet:[35,8]}],shortName:"woman-biking"},{name:"Mountain Bicyclist",unified:"1F6B5",keywords:["person_mountain_biking","sport","move"],sheet:[35,33],skinVariations:[{unified:"1F6B5-1F3FB",sheet:[35,34]},{unified:"1F6B5-1F3FC",sheet:[35,35]},{unified:"1F6B5-1F3FD",sheet:[35,36]},{unified:"1F6B5-1F3FE",sheet:[35,37]},{unified:"1F6B5-1F3FF",sheet:[35,38]}],shortName:"mountain_bicyclist",obsoletedBy:"1F6B5-200D-2642-FE0F"},{name:"Man Mountain Biking",unified:"1F6B5-200D-2642-FE0F",obsoletes:"1F6B5",keywords:["man_mountain_biking","transportation","sports","human","race","bike"],sheet:[35,27],skinVariations:[{unified:"1F6B5-1F3FB-200D-2642-FE0F",sheet:[35,28]},{unified:"1F6B5-1F3FC-200D-2642-FE0F",sheet:[35,29]},{unified:"1F6B5-1F3FD-200D-2642-FE0F",sheet:[35,30]},{unified:"1F6B5-1F3FE-200D-2642-FE0F",sheet:[35,31]},{unified:"1F6B5-1F3FF-200D-2642-FE0F",sheet:[35,32]}],shortName:"man-mountain-biking"},{name:"Woman Mountain Biking",unified:"1F6B5-200D-2640-FE0F",keywords:["woman_mountain_biking","transportation","sports","human","race","bike","woman","female"],sheet:[35,21],skinVariations:[{unified:"1F6B5-1F3FB-200D-2640-FE0F",sheet:[35,22]},{unified:"1F6B5-1F3FC-200D-2640-FE0F",sheet:[35,23]},{unified:"1F6B5-1F3FD-200D-2640-FE0F",sheet:[35,24]},{unified:"1F6B5-1F3FE-200D-2640-FE0F",sheet:[35,25]},{unified:"1F6B5-1F3FF-200D-2640-FE0F",sheet:[35,26]}],shortName:"woman-mountain-biking"},{name:"Person Doing Cartwheel",unified:"1F938",keywords:["person_cartwheeling","sport","gymnastic"],sheet:[40,17],skinVariations:[{unified:"1F938-1F3FB",sheet:[40,18]},{unified:"1F938-1F3FC",sheet:[40,19]},{unified:"1F938-1F3FD",sheet:[40,20]},{unified:"1F938-1F3FE",sheet:[40,21]},{unified:"1F938-1F3FF",sheet:[40,22]}],shortName:"person_doing_cartwheel"},{name:"Man Cartwheeling",unified:"1F938-200D-2642-FE0F",keywords:["man_cartwheeling","gymnastics"],sheet:[40,11],skinVariations:[{unified:"1F938-1F3FB-200D-2642-FE0F",sheet:[40,12]},{unified:"1F938-1F3FC-200D-2642-FE0F",sheet:[40,13]},{unified:"1F938-1F3FD-200D-2642-FE0F",sheet:[40,14]},{unified:"1F938-1F3FE-200D-2642-FE0F",sheet:[40,15]},{unified:"1F938-1F3FF-200D-2642-FE0F",sheet:[40,16]}],shortName:"man-cartwheeling"},{name:"Woman Cartwheeling",unified:"1F938-200D-2640-FE0F",keywords:["woman_cartwheeling","gymnastics"],sheet:[40,5],skinVariations:[{unified:"1F938-1F3FB-200D-2640-FE0F",sheet:[40,6]},{unified:"1F938-1F3FC-200D-2640-FE0F",sheet:[40,7]},{unified:"1F938-1F3FD-200D-2640-FE0F",sheet:[40,8]},{unified:"1F938-1F3FE-200D-2640-FE0F",sheet:[40,9]},{unified:"1F938-1F3FF-200D-2640-FE0F",sheet:[40,10]}],shortName:"woman-cartwheeling"},{name:"Wrestlers",unified:"1F93C",keywords:["people_wrestling","sport"],sheet:[40,44],shortName:"wrestlers"},{name:"Men Wrestling",unified:"1F93C-200D-2642-FE0F",keywords:["men_wrestling","sports","wrestlers"],sheet:[40,43],shortName:"man-wrestling"},{name:"Women Wrestling",unified:"1F93C-200D-2640-FE0F",keywords:["women_wrestling","sports","wrestlers"],sheet:[40,42],shortName:"woman-wrestling"},{name:"Water Polo",unified:"1F93D",keywords:["person_playing_water_polo","sport"],sheet:[40,57],skinVariations:[{unified:"1F93D-1F3FB",sheet:[41,0]},{unified:"1F93D-1F3FC",sheet:[41,1]},{unified:"1F93D-1F3FD",sheet:[41,2]},{unified:"1F93D-1F3FE",sheet:[41,3]},{unified:"1F93D-1F3FF",sheet:[41,4]}],shortName:"water_polo"},{name:"Man Playing Water Polo",unified:"1F93D-200D-2642-FE0F",keywords:["man_playing_water_polo","sports","pool"],sheet:[40,51],skinVariations:[{unified:"1F93D-1F3FB-200D-2642-FE0F",sheet:[40,52]},{unified:"1F93D-1F3FC-200D-2642-FE0F",sheet:[40,53]},{unified:"1F93D-1F3FD-200D-2642-FE0F",sheet:[40,54]},{unified:"1F93D-1F3FE-200D-2642-FE0F",sheet:[40,55]},{unified:"1F93D-1F3FF-200D-2642-FE0F",sheet:[40,56]}],shortName:"man-playing-water-polo"},{name:"Woman Playing Water Polo",unified:"1F93D-200D-2640-FE0F",keywords:["woman_playing_water_polo","sports","pool"],sheet:[40,45],skinVariations:[{unified:"1F93D-1F3FB-200D-2640-FE0F",sheet:[40,46]},{unified:"1F93D-1F3FC-200D-2640-FE0F",sheet:[40,47]},{unified:"1F93D-1F3FD-200D-2640-FE0F",sheet:[40,48]},{unified:"1F93D-1F3FE-200D-2640-FE0F",sheet:[40,49]},{unified:"1F93D-1F3FF-200D-2640-FE0F",sheet:[40,50]}],shortName:"woman-playing-water-polo"},{name:"Handball",unified:"1F93E",keywords:["person_playing_handball","sport"],sheet:[41,17],skinVariations:[{unified:"1F93E-1F3FB",sheet:[41,18]},{unified:"1F93E-1F3FC",sheet:[41,19]},{unified:"1F93E-1F3FD",sheet:[41,20]},{unified:"1F93E-1F3FE",sheet:[41,21]},{unified:"1F93E-1F3FF",sheet:[41,22]}],shortName:"handball"},{name:"Man Playing Handball",unified:"1F93E-200D-2642-FE0F",keywords:["man_playing_handball","sports"],sheet:[41,11],skinVariations:[{unified:"1F93E-1F3FB-200D-2642-FE0F",sheet:[41,12]},{unified:"1F93E-1F3FC-200D-2642-FE0F",sheet:[41,13]},{unified:"1F93E-1F3FD-200D-2642-FE0F",sheet:[41,14]},{unified:"1F93E-1F3FE-200D-2642-FE0F",sheet:[41,15]},{unified:"1F93E-1F3FF-200D-2642-FE0F",sheet:[41,16]}],shortName:"man-playing-handball"},{name:"Woman Playing Handball",unified:"1F93E-200D-2640-FE0F",keywords:["woman_playing_handball","sports"],sheet:[41,5],skinVariations:[{unified:"1F93E-1F3FB-200D-2640-FE0F",sheet:[41,6]},{unified:"1F93E-1F3FC-200D-2640-FE0F",sheet:[41,7]},{unified:"1F93E-1F3FD-200D-2640-FE0F",sheet:[41,8]},{unified:"1F93E-1F3FE-200D-2640-FE0F",sheet:[41,9]},{unified:"1F93E-1F3FF-200D-2640-FE0F",sheet:[41,10]}],shortName:"woman-playing-handball"},{name:"Juggling",unified:"1F939",keywords:["person_juggling","performance","balance"],sheet:[40,35],skinVariations:[{unified:"1F939-1F3FB",sheet:[40,36]},{unified:"1F939-1F3FC",sheet:[40,37]},{unified:"1F939-1F3FD",sheet:[40,38]},{unified:"1F939-1F3FE",sheet:[40,39]},{unified:"1F939-1F3FF",sheet:[40,40]}],shortName:"juggling"},{name:"Man Juggling",unified:"1F939-200D-2642-FE0F",keywords:["man_juggling","juggle","balance","skill","multitask"],sheet:[40,29],skinVariations:[{unified:"1F939-1F3FB-200D-2642-FE0F",sheet:[40,30]},{unified:"1F939-1F3FC-200D-2642-FE0F",sheet:[40,31]},{unified:"1F939-1F3FD-200D-2642-FE0F",sheet:[40,32]},{unified:"1F939-1F3FE-200D-2642-FE0F",sheet:[40,33]},{unified:"1F939-1F3FF-200D-2642-FE0F",sheet:[40,34]}],shortName:"man-juggling"},{name:"Woman Juggling",unified:"1F939-200D-2640-FE0F",keywords:["woman_juggling","juggle","balance","skill","multitask"],sheet:[40,23],skinVariations:[{unified:"1F939-1F3FB-200D-2640-FE0F",sheet:[40,24]},{unified:"1F939-1F3FC-200D-2640-FE0F",sheet:[40,25]},{unified:"1F939-1F3FD-200D-2640-FE0F",sheet:[40,26]},{unified:"1F939-1F3FE-200D-2640-FE0F",sheet:[40,27]},{unified:"1F939-1F3FF-200D-2640-FE0F",sheet:[40,28]}],shortName:"woman-juggling"},{name:"Person in Lotus Position",unified:"1F9D8",keywords:["person_in_lotus_position","meditate"],sheet:[49,57],skinVariations:[{unified:"1F9D8-1F3FB",sheet:[50,0]},{unified:"1F9D8-1F3FC",sheet:[50,1]},{unified:"1F9D8-1F3FD",sheet:[50,2]},{unified:"1F9D8-1F3FE",sheet:[50,3]},{unified:"1F9D8-1F3FF",sheet:[50,4]}],shortName:"person_in_lotus_position",obsoletedBy:"1F9D8-200D-2640-FE0F"},{name:"Man in Lotus Position",unified:"1F9D8-200D-2642-FE0F",keywords:["man_in_lotus_position","man","male","meditation","yoga","serenity","zen","mindfulness"],sheet:[49,51],skinVariations:[{unified:"1F9D8-1F3FB-200D-2642-FE0F",sheet:[49,52]},{unified:"1F9D8-1F3FC-200D-2642-FE0F",sheet:[49,53]},{unified:"1F9D8-1F3FD-200D-2642-FE0F",sheet:[49,54]},{unified:"1F9D8-1F3FE-200D-2642-FE0F",sheet:[49,55]},{unified:"1F9D8-1F3FF-200D-2642-FE0F",sheet:[49,56]}],shortName:"man_in_lotus_position"},{name:"Woman in Lotus Position",unified:"1F9D8-200D-2640-FE0F",obsoletes:"1F9D8",keywords:["woman_in_lotus_position","woman","female","meditation","yoga","serenity","zen","mindfulness"],sheet:[49,45],skinVariations:[{unified:"1F9D8-1F3FB-200D-2640-FE0F",sheet:[49,46]},{unified:"1F9D8-1F3FC-200D-2640-FE0F",sheet:[49,47]},{unified:"1F9D8-1F3FD-200D-2640-FE0F",sheet:[49,48]},{unified:"1F9D8-1F3FE-200D-2640-FE0F",sheet:[49,49]},{unified:"1F9D8-1F3FF-200D-2640-FE0F",sheet:[49,50]}],shortName:"woman_in_lotus_position"},{name:"Bath",unified:"1F6C0",keywords:["person_taking_bath","clean","shower","bathroom"],sheet:[36,8],skinVariations:[{unified:"1F6C0-1F3FB",sheet:[36,9]},{unified:"1F6C0-1F3FC",sheet:[36,10]},{unified:"1F6C0-1F3FD",sheet:[36,11]},{unified:"1F6C0-1F3FE",sheet:[36,12]},{unified:"1F6C0-1F3FF",sheet:[36,13]}],shortName:"bath"},{name:"Sleeping Accommodation",unified:"1F6CC",keywords:["person_in_bed","bed","rest"],sheet:[36,20],skinVariations:[{unified:"1F6CC-1F3FB",sheet:[36,21]},{unified:"1F6CC-1F3FC",sheet:[36,22]},{unified:"1F6CC-1F3FD",sheet:[36,23]},{unified:"1F6CC-1F3FE",sheet:[36,24]},{unified:"1F6CC-1F3FF",sheet:[36,25]}],shortName:"sleeping_accommodation"},{name:"People Holding Hands",unified:"1F9D1-200D-1F91D-200D-1F9D1",keywords:["people_holding_hands","friendship"],sheet:[47,9],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F91D-200D-1F9D1-1F3FB",sheet:[47,10]},{unified:"1F9D1-1F3FB-200D-1F91D-200D-1F9D1-1F3FC",sheet:[47,11],hidden:["facebook"]},{unified:"1F9D1-1F3FB-200D-1F91D-200D-1F9D1-1F3FD",sheet:[47,12],hidden:["facebook"]},{unified:"1F9D1-1F3FB-200D-1F91D-200D-1F9D1-1F3FE",sheet:[47,13],hidden:["facebook"]},{unified:"1F9D1-1F3FB-200D-1F91D-200D-1F9D1-1F3FF",sheet:[47,14],hidden:["facebook"]},{unified:"1F9D1-1F3FC-200D-1F91D-200D-1F9D1-1F3FB",sheet:[47,15]},{unified:"1F9D1-1F3FC-200D-1F91D-200D-1F9D1-1F3FC",sheet:[47,16]},{unified:"1F9D1-1F3FC-200D-1F91D-200D-1F9D1-1F3FD",sheet:[47,17],hidden:["facebook"]},{unified:"1F9D1-1F3FC-200D-1F91D-200D-1F9D1-1F3FE",sheet:[47,18],hidden:["facebook"]},{unified:"1F9D1-1F3FC-200D-1F91D-200D-1F9D1-1F3FF",sheet:[47,19],hidden:["facebook"]},{unified:"1F9D1-1F3FD-200D-1F91D-200D-1F9D1-1F3FB",sheet:[47,20]},{unified:"1F9D1-1F3FD-200D-1F91D-200D-1F9D1-1F3FC",sheet:[47,21]},{unified:"1F9D1-1F3FD-200D-1F91D-200D-1F9D1-1F3FD",sheet:[47,22]},{unified:"1F9D1-1F3FD-200D-1F91D-200D-1F9D1-1F3FE",sheet:[47,23],hidden:["facebook"]},{unified:"1F9D1-1F3FD-200D-1F91D-200D-1F9D1-1F3FF",sheet:[47,24],hidden:["facebook"]},{unified:"1F9D1-1F3FE-200D-1F91D-200D-1F9D1-1F3FB",sheet:[47,25]},{unified:"1F9D1-1F3FE-200D-1F91D-200D-1F9D1-1F3FC",sheet:[47,26]},{unified:"1F9D1-1F3FE-200D-1F91D-200D-1F9D1-1F3FD",sheet:[47,27]},{unified:"1F9D1-1F3FE-200D-1F91D-200D-1F9D1-1F3FE",sheet:[47,28]},{unified:"1F9D1-1F3FE-200D-1F91D-200D-1F9D1-1F3FF",sheet:[47,29],hidden:["facebook"]},{unified:"1F9D1-1F3FF-200D-1F91D-200D-1F9D1-1F3FB",sheet:[47,30]},{unified:"1F9D1-1F3FF-200D-1F91D-200D-1F9D1-1F3FC",sheet:[47,31]},{unified:"1F9D1-1F3FF-200D-1F91D-200D-1F9D1-1F3FD",sheet:[47,32]},{unified:"1F9D1-1F3FF-200D-1F91D-200D-1F9D1-1F3FE",sheet:[47,33]},{unified:"1F9D1-1F3FF-200D-1F91D-200D-1F9D1-1F3FF",sheet:[47,34]}],shortName:"people_holding_hands"},{name:"Two Women Holding Hands",unified:"1F46D",keywords:["women_holding_hands","pair","friendship","couple","love","like","female","people","human"],sheet:[21,5],skinVariations:[{unified:"1F46D-1F3FB",sheet:[21,6]},{unified:"1F46D-1F3FC",sheet:[21,7]},{unified:"1F46D-1F3FD",sheet:[21,8]},{unified:"1F46D-1F3FE",sheet:[21,9]},{unified:"1F46D-1F3FF",sheet:[21,10]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F469-1F3FC",sheet:[21,11],hidden:["facebook"]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F469-1F3FD",sheet:[21,12],hidden:["facebook"]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F469-1F3FE",sheet:[21,13],hidden:["facebook"]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F469-1F3FF",sheet:[21,14],hidden:["facebook"]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F469-1F3FB",sheet:[21,15]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F469-1F3FD",sheet:[21,16],hidden:["facebook"]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F469-1F3FE",sheet:[21,17],hidden:["facebook"]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F469-1F3FF",sheet:[21,18],hidden:["facebook"]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F469-1F3FB",sheet:[21,19]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F469-1F3FC",sheet:[21,20]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F469-1F3FE",sheet:[21,21],hidden:["facebook"]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F469-1F3FF",sheet:[21,22],hidden:["facebook"]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F469-1F3FB",sheet:[21,23]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F469-1F3FC",sheet:[21,24]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F469-1F3FD",sheet:[21,25]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F469-1F3FF",sheet:[21,26],hidden:["facebook"]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F469-1F3FB",sheet:[21,27]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F469-1F3FC",sheet:[21,28]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F469-1F3FD",sheet:[21,29]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F469-1F3FE",sheet:[21,30]}],shortNames:["women_holding_hands"],shortName:"two_women_holding_hands"},{name:"Man and Woman Holding Hands",unified:"1F46B",keywords:["woman_and_man_holding_hands","pair","people","human","love","date","dating","like","affection","valentines","marriage"],sheet:[20,11],skinVariations:[{unified:"1F46B-1F3FB",sheet:[20,12]},{unified:"1F46B-1F3FC",sheet:[20,13]},{unified:"1F46B-1F3FD",sheet:[20,14]},{unified:"1F46B-1F3FE",sheet:[20,15]},{unified:"1F46B-1F3FF",sheet:[20,16]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F468-1F3FC",sheet:[20,17]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F468-1F3FD",sheet:[20,18]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F468-1F3FE",sheet:[20,19]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F468-1F3FF",sheet:[20,20]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F468-1F3FB",sheet:[20,21]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F468-1F3FD",sheet:[20,22]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F468-1F3FE",sheet:[20,23]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F468-1F3FF",sheet:[20,24]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F468-1F3FB",sheet:[20,25]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F468-1F3FC",sheet:[20,26]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F468-1F3FE",sheet:[20,27]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F468-1F3FF",sheet:[20,28]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F468-1F3FB",sheet:[20,29]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F468-1F3FC",sheet:[20,30]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F468-1F3FD",sheet:[20,31]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F468-1F3FF",sheet:[20,32]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F468-1F3FB",sheet:[20,33]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F468-1F3FC",sheet:[20,34]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F468-1F3FD",sheet:[20,35]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F468-1F3FE",sheet:[20,36]}],shortNames:["woman_and_man_holding_hands","couple"],shortName:"man_and_woman_holding_hands"},{name:"Two Men Holding Hands",unified:"1F46C",keywords:["men_holding_hands","pair","couple","love","like","bromance","friendship","people","human"],sheet:[20,37],skinVariations:[{unified:"1F46C-1F3FB",sheet:[20,38]},{unified:"1F46C-1F3FC",sheet:[20,39]},{unified:"1F46C-1F3FD",sheet:[20,40]},{unified:"1F46C-1F3FE",sheet:[20,41]},{unified:"1F46C-1F3FF",sheet:[20,42]},{unified:"1F468-1F3FB-200D-1F91D-200D-1F468-1F3FC",sheet:[20,43],hidden:["facebook"]},{unified:"1F468-1F3FB-200D-1F91D-200D-1F468-1F3FD",sheet:[20,44],hidden:["facebook"]},{unified:"1F468-1F3FB-200D-1F91D-200D-1F468-1F3FE",sheet:[20,45],hidden:["facebook"]},{unified:"1F468-1F3FB-200D-1F91D-200D-1F468-1F3FF",sheet:[20,46],hidden:["facebook"]},{unified:"1F468-1F3FC-200D-1F91D-200D-1F468-1F3FB",sheet:[20,47]},{unified:"1F468-1F3FC-200D-1F91D-200D-1F468-1F3FD",sheet:[20,48],hidden:["facebook"]},{unified:"1F468-1F3FC-200D-1F91D-200D-1F468-1F3FE",sheet:[20,49],hidden:["facebook"]},{unified:"1F468-1F3FC-200D-1F91D-200D-1F468-1F3FF",sheet:[20,50],hidden:["facebook"]},{unified:"1F468-1F3FD-200D-1F91D-200D-1F468-1F3FB",sheet:[20,51]},{unified:"1F468-1F3FD-200D-1F91D-200D-1F468-1F3FC",sheet:[20,52]},{unified:"1F468-1F3FD-200D-1F91D-200D-1F468-1F3FE",sheet:[20,53],hidden:["facebook"]},{unified:"1F468-1F3FD-200D-1F91D-200D-1F468-1F3FF",sheet:[20,54],hidden:["facebook"]},{unified:"1F468-1F3FE-200D-1F91D-200D-1F468-1F3FB",sheet:[20,55]},{unified:"1F468-1F3FE-200D-1F91D-200D-1F468-1F3FC",sheet:[20,56]},{unified:"1F468-1F3FE-200D-1F91D-200D-1F468-1F3FD",sheet:[20,57]},{unified:"1F468-1F3FE-200D-1F91D-200D-1F468-1F3FF",sheet:[21,0],hidden:["facebook"]},{unified:"1F468-1F3FF-200D-1F91D-200D-1F468-1F3FB",sheet:[21,1]},{unified:"1F468-1F3FF-200D-1F91D-200D-1F468-1F3FC",sheet:[21,2]},{unified:"1F468-1F3FF-200D-1F91D-200D-1F468-1F3FD",sheet:[21,3]},{unified:"1F468-1F3FF-200D-1F91D-200D-1F468-1F3FE",sheet:[21,4]}],shortNames:["men_holding_hands"],shortName:"two_men_holding_hands"},{name:"Kiss",unified:"1F48F",keywords:["kiss","pair","valentines","love","like","dating","marriage"],sheet:[25,27],shortName:"couplekiss",obsoletedBy:"1F469-200D-2764-FE0F-200D-1F48B-200D-1F468"},{name:"Kiss: Woman, Man",unified:"1F469-200D-2764-FE0F-200D-1F48B-200D-1F468",obsoletes:"1F48F",keywords:["kiss_woman_man","love"],sheet:[20,2],shortName:"woman-kiss-man"},{name:"Kiss: Man, Man",unified:"1F468-200D-2764-FE0F-200D-1F48B-200D-1F468",keywords:["kiss_man_man","pair","valentines","love","like","dating","marriage"],sheet:[17,13],shortName:"man-kiss-man"},{name:"Kiss: Woman, Woman",unified:"1F469-200D-2764-FE0F-200D-1F48B-200D-1F469",keywords:["kiss_woman_woman","pair","valentines","love","like","dating","marriage"],sheet:[20,3],shortName:"woman-kiss-woman"},{name:"Couple with Heart",unified:"1F491",keywords:["couple_with_heart","pair","love","like","affection","human","dating","valentines","marriage"],sheet:[25,29],shortName:"couple_with_heart",obsoletedBy:"1F469-200D-2764-FE0F-200D-1F468"},{name:"Couple with Heart: Woman, Man",unified:"1F469-200D-2764-FE0F-200D-1F468",obsoletes:"1F491",keywords:["couple_with_heart_woman_man","love"],sheet:[20,0],shortName:"woman-heart-man"},{name:"Couple with Heart: Man, Man",unified:"1F468-200D-2764-FE0F-200D-1F468",keywords:["couple_with_heart_man_man","pair","love","like","affection","human","dating","valentines","marriage"],sheet:[17,12],shortName:"man-heart-man"},{name:"Couple with Heart: Woman, Woman",unified:"1F469-200D-2764-FE0F-200D-1F469",keywords:["couple_with_heart_woman_woman","pair","love","like","affection","human","dating","valentines","marriage"],sheet:[20,1],shortName:"woman-heart-woman"},{name:"Family",unified:"1F46A",keywords:["family","home","parents","child","mom","dad","father","mother","people","human"],sheet:[20,10],shortName:"family",obsoletedBy:"1F468-200D-1F469-200D-1F466"},{name:"Family: Man, Woman, Boy",unified:"1F468-200D-1F469-200D-1F466",obsoletes:"1F46A",keywords:["family_man_woman_boy","love"],sheet:[15,27],shortName:"man-woman-boy"},{name:"Family: Man, Woman, Girl",unified:"1F468-200D-1F469-200D-1F467",keywords:["family_man_woman_girl","home","parents","people","human","child"],sheet:[15,29],shortName:"man-woman-girl"},{name:"Family: Man, Woman, Girl, Boy",unified:"1F468-200D-1F469-200D-1F467-200D-1F466",keywords:["family_man_woman_girl_boy","home","parents","people","human","children"],sheet:[15,30],shortName:"man-woman-girl-boy"},{name:"Family: Man, Woman, Boy, Boy",unified:"1F468-200D-1F469-200D-1F466-200D-1F466",keywords:["family_man_woman_boy_boy","home","parents","people","human","children"],sheet:[15,28],shortName:"man-woman-boy-boy"},{name:"Family: Man, Woman, Girl, Girl",unified:"1F468-200D-1F469-200D-1F467-200D-1F467",keywords:["family_man_woman_girl_girl","home","parents","people","human","children"],sheet:[15,31],shortName:"man-woman-girl-girl"},{name:"Family: Man, Man, Boy",unified:"1F468-200D-1F468-200D-1F466",keywords:["family_man_man_boy","home","parents","people","human","children"],sheet:[15,22],shortName:"man-man-boy"},{name:"Family: Man, Man, Girl",unified:"1F468-200D-1F468-200D-1F467",keywords:["family_man_man_girl","home","parents","people","human","children"],sheet:[15,24],shortName:"man-man-girl"},{name:"Family: Man, Man, Girl, Boy",unified:"1F468-200D-1F468-200D-1F467-200D-1F466",keywords:["family_man_man_girl_boy","home","parents","people","human","children"],sheet:[15,25],shortName:"man-man-girl-boy"},{name:"Family: Man, Man, Boy, Boy",unified:"1F468-200D-1F468-200D-1F466-200D-1F466",keywords:["family_man_man_boy_boy","home","parents","people","human","children"],sheet:[15,23],shortName:"man-man-boy-boy"},{name:"Family: Man, Man, Girl, Girl",unified:"1F468-200D-1F468-200D-1F467-200D-1F467",keywords:["family_man_man_girl_girl","home","parents","people","human","children"],sheet:[15,26],shortName:"man-man-girl-girl"},{name:"Family: Woman, Woman, Boy",unified:"1F469-200D-1F469-200D-1F466",keywords:["family_woman_woman_boy","home","parents","people","human","children"],sheet:[18,15],shortName:"woman-woman-boy"},{name:"Family: Woman, Woman, Girl",unified:"1F469-200D-1F469-200D-1F467",keywords:["family_woman_woman_girl","home","parents","people","human","children"],sheet:[18,17],shortName:"woman-woman-girl"},{name:"Family: Woman, Woman, Girl, Boy",unified:"1F469-200D-1F469-200D-1F467-200D-1F466",keywords:["family_woman_woman_girl_boy","home","parents","people","human","children"],sheet:[18,18],shortName:"woman-woman-girl-boy"},{name:"Family: Woman, Woman, Boy, Boy",unified:"1F469-200D-1F469-200D-1F466-200D-1F466",keywords:["family_woman_woman_boy_boy","home","parents","people","human","children"],sheet:[18,16],shortName:"woman-woman-boy-boy"},{name:"Family: Woman, Woman, Girl, Girl",unified:"1F469-200D-1F469-200D-1F467-200D-1F467",keywords:["family_woman_woman_girl_girl","home","parents","people","human","children"],sheet:[18,19],shortName:"woman-woman-girl-girl"},{name:"Family: Man, Boy",unified:"1F468-200D-1F466",keywords:["family_man_boy","home","parent","people","human","child"],sheet:[15,18],shortName:"man-boy"},{name:"Family: Man, Boy, Boy",unified:"1F468-200D-1F466-200D-1F466",keywords:["family_man_boy_boy","home","parent","people","human","children"],sheet:[15,17],shortName:"man-boy-boy"},{name:"Family: Man, Girl",unified:"1F468-200D-1F467",keywords:["family_man_girl","home","parent","people","human","child"],sheet:[15,21],shortName:"man-girl"},{name:"Family: Man, Girl, Boy",unified:"1F468-200D-1F467-200D-1F466",keywords:["family_man_girl_boy","home","parent","people","human","children"],sheet:[15,19],shortName:"man-girl-boy"},{name:"Family: Man, Girl, Girl",unified:"1F468-200D-1F467-200D-1F467",keywords:["family_man_girl_girl","home","parent","people","human","children"],sheet:[15,20],shortName:"man-girl-girl"},{name:"Family: Woman, Boy",unified:"1F469-200D-1F466",keywords:["family_woman_boy","home","parent","people","human","child"],sheet:[18,11],shortName:"woman-boy"},{name:"Family: Woman, Boy, Boy",unified:"1F469-200D-1F466-200D-1F466",keywords:["family_woman_boy_boy","home","parent","people","human","children"],sheet:[18,10],shortName:"woman-boy-boy"},{name:"Family: Woman, Girl",unified:"1F469-200D-1F467",keywords:["family_woman_girl","home","parent","people","human","child"],sheet:[18,14],shortName:"woman-girl"},{name:"Family: Woman, Girl, Boy",unified:"1F469-200D-1F467-200D-1F466",keywords:["family_woman_girl_boy","home","parent","people","human","children"],sheet:[18,12],shortName:"woman-girl-boy"},{name:"Family: Woman, Girl, Girl",unified:"1F469-200D-1F467-200D-1F467",keywords:["family_woman_girl_girl","home","parent","people","human","children"],sheet:[18,13],shortName:"woman-girl-girl"},{name:"Speaking Head",unified:"1F5E3-FE0F",keywords:["speaking_head","user","person","human","sing","say","talk"],sheet:[30,22],shortName:"speaking_head_in_silhouette"},{name:"Bust in Silhouette",unified:"1F464",keywords:["bust_in_silhouette","user","person","human"],sheet:[14,13],shortName:"bust_in_silhouette"},{name:"Busts in Silhouette",unified:"1F465",keywords:["busts_in_silhouette","user","person","human","group","team"],sheet:[14,14],shortName:"busts_in_silhouette"},{name:"People Hugging",unified:"1FAC2",keywords:["people hugging","care"],sheet:[53,8],shortName:"people_hugging"},{name:"Footprints",unified:"1F463",keywords:["footprints","feet","tracking","walking","beach"],sheet:[14,12],shortName:"footprints"},{name:"Emoji Modifier Fitzpatrick Type-1-2",unified:"1F3FB",sheet:[11,13],shortName:"skin-tone-2"},{name:"Emoji Modifier Fitzpatrick Type-3",unified:"1F3FC",sheet:[11,14],shortName:"skin-tone-3"},{name:"Emoji Modifier Fitzpatrick Type-4",unified:"1F3FD",sheet:[11,15],shortName:"skin-tone-4"},{name:"Emoji Modifier Fitzpatrick Type-5",unified:"1F3FE",sheet:[11,16],shortName:"skin-tone-5"},{name:"Emoji Modifier Fitzpatrick Type-6",unified:"1F3FF",sheet:[11,17],shortName:"skin-tone-6"},{name:"Monkey Face",unified:"1F435",emoticons:[":o)"],keywords:["monkey_face","animal","nature","circus"],sheet:[12,15],shortName:"monkey_face"},{name:"Monkey",unified:"1F412",keywords:["monkey","animal","nature","banana","circus"],sheet:[11,37],shortName:"monkey"},{name:"Gorilla",unified:"1F98D",keywords:["gorilla","animal","nature","circus"],sheet:[42,46],shortName:"gorilla"},{name:"Orangutan",unified:"1F9A7",keywords:["orangutan","animal"],sheet:[43,14],shortName:"orangutan"},{name:"Dog Face",unified:"1F436",keywords:["dog_face","animal","friend","nature","woof","puppy","pet","faithful"],sheet:[12,16],shortName:"dog"},{name:"Dog",unified:"1F415",keywords:["dog","animal","nature","friend","doge","pet","faithful"],sheet:[11,41],shortName:"dog2"},{name:"Guide Dog",unified:"1F9AE",keywords:["guide_dog","animal","blind"],sheet:[43,21],shortName:"guide_dog"},{name:"Service Dog",unified:"1F415-200D-1F9BA",keywords:["service_dog","blind","animal"],sheet:[11,40],shortName:"service_dog"},{name:"Poodle",unified:"1F429",keywords:["poodle","dog","animal","101","nature","pet"],sheet:[12,3],shortName:"poodle"},{name:"Wolf Face",unified:"1F43A",keywords:["wolf","animal","nature","wild"],sheet:[12,20],shortName:"wolf"},{name:"Fox Face",unified:"1F98A",keywords:["fox","animal","nature","face"],sheet:[42,43],shortName:"fox_face"},{name:"Raccoon",unified:"1F99D",keywords:["raccoon","animal","nature"],sheet:[43,4],shortName:"raccoon"},{name:"Cat Face",unified:"1F431",keywords:["cat_face","animal","meow","nature","pet","kitten"],sheet:[12,11],shortName:"cat"},{name:"Cat",unified:"1F408",keywords:["cat","animal","meow","pet","cats"],sheet:[11,27],shortName:"cat2"},{name:"Black Cat",unified:"1F408-200D-2B1B",keywords:["black cat","superstition","luck"],sheet:[11,26],shortName:"black_cat"},{name:"Lion Face",unified:"1F981",keywords:["lion","animal","nature"],sheet:[42,34],shortName:"lion_face"},{name:"Tiger Face",unified:"1F42F",keywords:["tiger_face","animal","cat","danger","wild","nature","roar"],sheet:[12,9],shortName:"tiger"},{name:"Tiger",unified:"1F405",keywords:["tiger","animal","nature","roar"],sheet:[11,23],shortName:"tiger2"},{name:"Leopard",unified:"1F406",keywords:["leopard","animal","nature"],sheet:[11,24],shortName:"leopard"},{name:"Horse Face",unified:"1F434",keywords:["horse_face","animal","brown","nature"],sheet:[12,14],shortName:"horse"},{name:"Horse",unified:"1F40E",keywords:["horse","animal","gamble","luck"],sheet:[11,33],shortName:"racehorse"},{name:"Unicorn Face",unified:"1F984",keywords:["unicorn","animal","nature","mystical"],sheet:[42,37],shortName:"unicorn_face"},{name:"Zebra Face",unified:"1F993",keywords:["zebra","animal","nature","stripes","safari"],sheet:[42,52],shortName:"zebra_face"},{name:"Deer",unified:"1F98C",keywords:["deer","animal","nature","horns","venison"],sheet:[42,45],shortName:"deer"},{name:"Bison",unified:"1F9AC",keywords:["bison","ox"],sheet:[43,19],shortName:"bison"},{name:"Cow Face",unified:"1F42E",keywords:["cow_face","beef","ox","animal","nature","moo","milk"],sheet:[12,8],shortName:"cow"},{name:"Ox",unified:"1F402",keywords:["ox","animal","cow","beef"],sheet:[11,20],shortName:"ox"},{name:"Water Buffalo",unified:"1F403",keywords:["water_buffalo","animal","nature","ox","cow"],sheet:[11,21],shortName:"water_buffalo"},{name:"Cow",unified:"1F404",keywords:["cow","beef","ox","animal","nature","moo","milk"],sheet:[11,22],shortName:"cow2"},{name:"Pig Face",unified:"1F437",keywords:["pig_face","animal","oink","nature"],sheet:[12,17],shortName:"pig"},{name:"Pig",unified:"1F416",keywords:["pig","animal","nature"],sheet:[11,42],shortName:"pig2"},{name:"Boar",unified:"1F417",keywords:["boar","animal","nature"],sheet:[11,43],shortName:"boar"},{name:"Pig Nose",unified:"1F43D",keywords:["pig_nose","animal","oink"],sheet:[12,24],shortName:"pig_nose"},{name:"Ram",unified:"1F40F",keywords:["ram","animal","sheep","nature"],sheet:[11,34],shortName:"ram"},{name:"Sheep",unified:"1F411",keywords:["ewe","animal","nature","wool","shipit"],sheet:[11,36],shortName:"sheep"},{name:"Goat",unified:"1F410",keywords:["goat","animal","nature"],sheet:[11,35],shortName:"goat"},{name:"Dromedary Camel",unified:"1F42A",keywords:["camel","animal","hot","desert","hump"],sheet:[12,4],shortName:"dromedary_camel"},{name:"Bactrian Camel",unified:"1F42B",keywords:["two_hump_camel","animal","nature","hot","desert","hump"],sheet:[12,5],shortName:"camel"},{name:"Llama",unified:"1F999",keywords:["llama","animal","nature","alpaca"],sheet:[43,0],shortName:"llama"},{name:"Giraffe Face",unified:"1F992",keywords:["giraffe","animal","nature","spots","safari"],sheet:[42,51],shortName:"giraffe_face"},{name:"Elephant",unified:"1F418",keywords:["elephant","animal","nature","nose","th","circus"],sheet:[11,44],shortName:"elephant"},{name:"Mammoth",unified:"1F9A3",keywords:["mammoth","elephant","tusks"],sheet:[43,10],shortName:"mammoth"},{name:"Rhinoceros",unified:"1F98F",keywords:["rhinoceros","animal","nature","horn"],sheet:[42,48],shortName:"rhinoceros"},{name:"Hippopotamus",unified:"1F99B",keywords:["hippopotamus","animal","nature"],sheet:[43,2],shortName:"hippopotamus"},{name:"Mouse Face",unified:"1F42D",keywords:["mouse_face","animal","nature","cheese_wedge","rodent"],sheet:[12,7],shortName:"mouse"},{name:"Mouse",unified:"1F401",keywords:["mouse","animal","nature","rodent"],sheet:[11,19],shortName:"mouse2"},{name:"Rat",unified:"1F400",keywords:["rat","animal","mouse","rodent"],sheet:[11,18],shortName:"rat"},{name:"Hamster Face",unified:"1F439",keywords:["hamster","animal","nature"],sheet:[12,19],shortName:"hamster"},{name:"Rabbit Face",unified:"1F430",keywords:["rabbit_face","animal","nature","pet","spring","magic","bunny"],sheet:[12,10],shortName:"rabbit"},{name:"Rabbit",unified:"1F407",keywords:["rabbit","animal","nature","pet","magic","spring"],sheet:[11,25],shortName:"rabbit2"},{name:"Chipmunk",unified:"1F43F-FE0F",keywords:["chipmunk","animal","nature","rodent","squirrel"],sheet:[12,26],shortName:"chipmunk"},{name:"Beaver",unified:"1F9AB",keywords:["beaver","animal","rodent"],sheet:[43,18],shortName:"beaver"},{name:"Hedgehog",unified:"1F994",keywords:["hedgehog","animal","nature","spiny"],sheet:[42,53],shortName:"hedgehog"},{name:"Bat",unified:"1F987",keywords:["bat","animal","nature","blind","vampire"],sheet:[42,40],shortName:"bat"},{name:"Bear Face",unified:"1F43B",keywords:["bear","animal","nature","wild"],sheet:[12,22],shortName:"bear"},{name:"Polar Bear",unified:"1F43B-200D-2744-FE0F",keywords:["polar bear","animal","arctic"],sheet:[12,21],shortName:"polar_bear"},{name:"Koala",unified:"1F428",keywords:["koala","animal","nature"],sheet:[12,2],shortName:"koala"},{name:"Panda Face",unified:"1F43C",keywords:["panda","animal","nature","panda"],sheet:[12,23],shortName:"panda_face"},{name:"Sloth",unified:"1F9A5",keywords:["sloth","animal"],sheet:[43,12],shortName:"sloth"},{name:"Otter",unified:"1F9A6",keywords:["otter","animal"],sheet:[43,13],shortName:"otter"},{name:"Skunk",unified:"1F9A8",keywords:["skunk","animal"],sheet:[43,15],shortName:"skunk"},{name:"Kangaroo",unified:"1F998",keywords:["kangaroo","animal","nature","australia","joey","hop","marsupial"],sheet:[42,57],shortName:"kangaroo"},{name:"Badger",unified:"1F9A1",keywords:["badger","animal","nature","honey"],sheet:[43,8],shortName:"badger"},{name:"Paw Prints",unified:"1F43E",keywords:["paw_prints","animal","tracking","footprints","dog","cat","pet","feet"],sheet:[12,25],shortNames:["paw_prints"],shortName:"feet"},{name:"Turkey",unified:"1F983",keywords:["turkey","animal","bird"],sheet:[42,36],shortName:"turkey"},{name:"Chicken",unified:"1F414",keywords:["chicken","animal","cluck","nature","bird"],sheet:[11,39],shortName:"chicken"},{name:"Rooster",unified:"1F413",keywords:["rooster","animal","nature","chicken"],sheet:[11,38],shortName:"rooster"},{name:"Hatching Chick",unified:"1F423",keywords:["hatching_chick","animal","chicken","egg","born","baby","bird"],sheet:[11,55],shortName:"hatching_chick"},{name:"Baby Chick",unified:"1F424",keywords:["baby_chick","animal","chicken","bird"],sheet:[11,56],shortName:"baby_chick"},{name:"Front-Facing Baby Chick",unified:"1F425",keywords:["front_facing_baby_chick","animal","chicken","baby","bird"],sheet:[11,57],shortName:"hatched_chick"},{name:"Bird",unified:"1F426",keywords:["bird","animal","nature","fly","tweet","spring"],sheet:[12,0],shortName:"bird"},{name:"Penguin",unified:"1F427",keywords:["penguin","animal","nature"],sheet:[12,1],shortName:"penguin"},{name:"Dove",unified:"1F54A-FE0F",keywords:["dove","animal","bird"],sheet:[28,33],shortName:"dove_of_peace"},{name:"Eagle",unified:"1F985",keywords:["eagle","animal","nature","bird"],sheet:[42,38],shortName:"eagle"},{name:"Duck",unified:"1F986",keywords:["duck","animal","nature","bird","mallard"],sheet:[42,39],shortName:"duck"},{name:"Swan",unified:"1F9A2",keywords:["swan","animal","nature","bird"],sheet:[43,9],shortName:"swan"},{name:"Owl",unified:"1F989",keywords:["owl","animal","nature","bird","hoot"],sheet:[42,42],shortName:"owl"},{name:"Dodo",unified:"1F9A4",keywords:["dodo","animal","bird"],sheet:[43,11],shortName:"dodo"},{name:"Feather",unified:"1FAB6",keywords:["feather","bird","fly"],sheet:[53,5],shortName:"feather"},{name:"Flamingo",unified:"1F9A9",keywords:["flamingo","animal"],sheet:[43,16],shortName:"flamingo"},{name:"Peacock",unified:"1F99A",keywords:["peacock","animal","nature","peahen","bird"],sheet:[43,1],shortName:"peacock"},{name:"Parrot",unified:"1F99C",keywords:["parrot","animal","nature","bird","pirate","talk"],sheet:[43,3],shortName:"parrot"},{name:"Frog Face",unified:"1F438",keywords:["frog","animal","nature","croak","toad"],sheet:[12,18],shortName:"frog"},{name:"Crocodile",unified:"1F40A",keywords:["crocodile","animal","nature","reptile","lizard","alligator"],sheet:[11,29],shortName:"crocodile"},{name:"Turtle",unified:"1F422",keywords:["turtle","animal","slow","nature","tortoise"],sheet:[11,54],shortName:"turtle"},{name:"Lizard",unified:"1F98E",keywords:["lizard","animal","nature","reptile"],sheet:[42,47],shortName:"lizard"},{name:"Snake",unified:"1F40D",keywords:["snake","animal","evil","nature","hiss","python"],sheet:[11,32],shortName:"snake"},{name:"Dragon Face",unified:"1F432",keywords:["dragon_face","animal","myth","nature","chinese","green"],sheet:[12,12],shortName:"dragon_face"},{name:"Dragon",unified:"1F409",keywords:["dragon","animal","myth","nature","chinese","green"],sheet:[11,28],shortName:"dragon"},{name:"Sauropod",unified:"1F995",keywords:["sauropod","animal","nature","dinosaur","brachiosaurus","brontosaurus","diplodocus","extinct"],sheet:[42,54],shortName:"sauropod"},{name:"T-Rex",unified:"1F996",keywords:["t_rex","animal","nature","dinosaur","tyrannosaurus","extinct"],sheet:[42,55],shortName:"t-rex"},{name:"Spouting Whale",unified:"1F433",keywords:["spouting_whale","animal","nature","sea","ocean"],sheet:[12,13],shortName:"whale"},{name:"Whale",unified:"1F40B",keywords:["whale","animal","nature","sea","ocean"],sheet:[11,30],shortName:"whale2"},{name:"Dolphin",unified:"1F42C",keywords:["dolphin","animal","nature","fish","sea","ocean","flipper","fins","beach"],sheet:[12,6],shortNames:["flipper"],shortName:"dolphin"},{name:"Seal",unified:"1F9AD",keywords:["seal","animal","creature","sea"],sheet:[43,20],shortName:"seal"},{name:"Fish",unified:"1F41F",keywords:["fish","animal","food","nature"],sheet:[11,51],shortName:"fish"},{name:"Tropical Fish",unified:"1F420",keywords:["tropical_fish","animal","swim","ocean","beach","nemo"],sheet:[11,52],shortName:"tropical_fish"},{name:"Blowfish",unified:"1F421",keywords:["blowfish","animal","nature","food","sea","ocean"],sheet:[11,53],shortName:"blowfish"},{name:"Shark",unified:"1F988",keywords:["shark","animal","nature","fish","sea","ocean","jaws","fins","beach"],sheet:[42,41],shortName:"shark"},{name:"Octopus",unified:"1F419",keywords:["octopus","animal","creature","ocean","sea","nature","beach"],sheet:[11,45],shortName:"octopus"},{name:"Spiral Shell",unified:"1F41A",keywords:["spiral_shell","nature","sea","beach"],sheet:[11,46],shortName:"shell"},{name:"Snail",unified:"1F40C",keywords:["snail","slow","animal","shell"],sheet:[11,31],shortName:"snail"},{name:"Butterfly",unified:"1F98B",keywords:["butterfly","animal","insect","nature","caterpillar"],sheet:[42,44],shortName:"butterfly"},{name:"Bug",unified:"1F41B",keywords:["bug","animal","insect","nature","worm"],sheet:[11,47],shortName:"bug"},{name:"Ant",unified:"1F41C",keywords:["ant","animal","insect","nature","bug"],sheet:[11,48],shortName:"ant"},{name:"Honeybee",unified:"1F41D",keywords:["honeybee","animal","insect","nature","bug","spring","honey"],sheet:[11,49],shortNames:["honeybee"],shortName:"bee"},{name:"Beetle",unified:"1FAB2",keywords:["beetle","insect"],sheet:[53,1],shortName:"beetle"},{name:"Lady Beetle",unified:"1F41E",keywords:["lady_beetle","animal","insect","nature","ladybug"],sheet:[11,50],shortNames:["lady_beetle"],shortName:"ladybug"},{name:"Cricket",unified:"1F997",keywords:["cricket","animal","cricket","chirp"],sheet:[42,56],shortName:"cricket"},{name:"Cockroach",unified:"1FAB3",keywords:["cockroach","insect","pests"],sheet:[53,2],shortName:"cockroach"},{name:"Spider",unified:"1F577-FE0F",keywords:["spider","animal","arachnid"],sheet:[29,32],shortName:"spider"},{name:"Spider Web",unified:"1F578-FE0F",keywords:["spider_web","animal","insect","arachnid","silk"],sheet:[29,33],shortName:"spider_web"},{name:"Scorpion",unified:"1F982",keywords:["scorpion","animal","arachnid"],sheet:[42,35],shortName:"scorpion"},{name:"Mosquito",unified:"1F99F",keywords:["mosquito","animal","nature","insect","malaria"],sheet:[43,6],shortName:"mosquito"},{name:"Fly",unified:"1FAB0",keywords:["fly","insect"],sheet:[52,57],shortName:"fly"},{name:"Worm",unified:"1FAB1",keywords:["worm","animal"],sheet:[53,0],shortName:"worm"},{name:"Microbe",unified:"1F9A0",keywords:["microbe","amoeba","bacteria","germs"],sheet:[43,7],shortName:"microbe"},{name:"Bouquet",unified:"1F490",keywords:["bouquet","flowers","nature","spring"],sheet:[25,28],shortName:"bouquet"},{name:"Cherry Blossom",unified:"1F338",keywords:["cherry_blossom","nature","plant","spring","flower"],sheet:[6,10],shortName:"cherry_blossom"},{name:"White Flower",unified:"1F4AE",keywords:["white_flower","japanese","spring"],sheet:[26,5],shortName:"white_flower"},{name:"Rosette",unified:"1F3F5-FE0F",keywords:["rosette","flower","decoration","military"],sheet:[11,8],shortName:"rosette"},{name:"Rose",unified:"1F339",keywords:["rose","flowers","valentines","love","spring"],sheet:[6,11],shortName:"rose"},{name:"Wilted Flower",unified:"1F940",keywords:["wilted_flower","plant","nature","flower"],sheet:[41,24],shortName:"wilted_flower"},{name:"Hibiscus",unified:"1F33A",keywords:["hibiscus","plant","vegetable","flowers","beach"],sheet:[6,12],shortName:"hibiscus"},{name:"Sunflower",unified:"1F33B",keywords:["sunflower","nature","plant","fall"],sheet:[6,13],shortName:"sunflower"},{name:"Blossom",unified:"1F33C",keywords:["blossom","nature","flowers","yellow"],sheet:[6,14],shortName:"blossom"},{name:"Tulip",unified:"1F337",keywords:["tulip","flowers","plant","nature","summer","spring"],sheet:[6,9],shortName:"tulip"},{name:"Seedling",unified:"1F331",keywords:["seedling","plant","nature","grass","lawn","spring"],sheet:[6,3],shortName:"seedling"},{name:"Potted Plant",unified:"1FAB4",keywords:["potted plant","greenery","house"],sheet:[53,3],shortName:"potted_plant"},{name:"Evergreen Tree",unified:"1F332",keywords:["evergreen_tree","plant","nature"],sheet:[6,4],shortName:"evergreen_tree"},{name:"Deciduous Tree",unified:"1F333",keywords:["deciduous_tree","plant","nature"],sheet:[6,5],shortName:"deciduous_tree"},{name:"Palm Tree",unified:"1F334",keywords:["palm_tree","plant","vegetable","nature","summer","beach","mojito","tropical"],sheet:[6,6],shortName:"palm_tree"},{name:"Cactus",unified:"1F335",keywords:["cactus","vegetable","plant","nature"],sheet:[6,7],shortName:"cactus"},{name:"Ear of Rice",unified:"1F33E",keywords:["sheaf_of_rice","nature","plant"],sheet:[6,16],shortName:"ear_of_rice"},{name:"Herb",unified:"1F33F",keywords:["herb","vegetable","plant","medicine","weed","grass","lawn"],sheet:[6,17],shortName:"herb"},{name:"Shamrock",unified:"2618-FE0F",keywords:["shamrock","vegetable","plant","nature","irish","clover"],sheet:[54,6],shortName:"shamrock"},{name:"Four Leaf Clover",unified:"1F340",keywords:["four_leaf_clover","vegetable","plant","nature","lucky","irish"],sheet:[6,18],shortName:"four_leaf_clover"},{name:"Maple Leaf",unified:"1F341",keywords:["maple_leaf","nature","plant","vegetable","ca","fall"],sheet:[6,19],shortName:"maple_leaf"},{name:"Fallen Leaf",unified:"1F342",keywords:["fallen_leaf","nature","plant","vegetable","leaves"],sheet:[6,20],shortName:"fallen_leaf"},{name:"Leaf Fluttering in Wind",unified:"1F343",keywords:["leaf_fluttering_in_wind","nature","plant","tree","vegetable","grass","lawn","spring"],sheet:[6,21],shortName:"leaves"},{name:"Grapes",unified:"1F347",keywords:["grapes","fruit","food","wine"],sheet:[6,25],shortName:"grapes"},{name:"Melon",unified:"1F348",keywords:["melon","fruit","nature","food"],sheet:[6,26],shortName:"melon"},{name:"Watermelon",unified:"1F349",keywords:["watermelon","fruit","food","picnic","summer"],sheet:[6,27],shortName:"watermelon"},{name:"Tangerine",unified:"1F34A",keywords:["tangerine","food","fruit","nature","orange"],sheet:[6,28],shortName:"tangerine"},{name:"Lemon",unified:"1F34B",keywords:["lemon","fruit","nature"],sheet:[6,29],shortName:"lemon"},{name:"Banana",unified:"1F34C",keywords:["banana","fruit","food","monkey"],sheet:[6,30],shortName:"banana"},{name:"Pineapple",unified:"1F34D",keywords:["pineapple","fruit","nature","food"],sheet:[6,31],shortName:"pineapple"},{name:"Mango",unified:"1F96D",keywords:["mango","fruit","food","tropical"],sheet:[42,10],shortName:"mango"},{name:"Red Apple",unified:"1F34E",keywords:["red_apple","fruit","mac","school"],sheet:[6,32],shortName:"apple"},{name:"Green Apple",unified:"1F34F",keywords:["green_apple","fruit","nature"],sheet:[6,33],shortName:"green_apple"},{name:"Pear",unified:"1F350",keywords:["pear","fruit","nature","food"],sheet:[6,34],shortName:"pear"},{name:"Peach",unified:"1F351",keywords:["peach","fruit","nature","food"],sheet:[6,35],shortName:"peach"},{name:"Cherries",unified:"1F352",keywords:["cherries","food","fruit"],sheet:[6,36],shortName:"cherries"},{name:"Strawberry",unified:"1F353",keywords:["strawberry","fruit","food","nature"],sheet:[6,37],shortName:"strawberry"},{name:"Blueberries",unified:"1FAD0",keywords:["blueberries","fruit"],sheet:[53,9],shortName:"blueberries"},{name:"Kiwifruit",unified:"1F95D",keywords:["kiwi_fruit","fruit","food"],sheet:[41,52],shortName:"kiwifruit"},{name:"Tomato",unified:"1F345",keywords:["tomato","fruit","vegetable","nature","food"],sheet:[6,23],shortName:"tomato"},{name:"Olive",unified:"1FAD2",keywords:["olive","fruit"],sheet:[53,11],shortName:"olive"},{name:"Coconut",unified:"1F965",keywords:["coconut","fruit","nature","food","palm"],sheet:[42,2],shortName:"coconut"},{name:"Avocado",unified:"1F951",keywords:["avocado","fruit","food"],sheet:[41,40],shortName:"avocado"},{name:"Aubergine",unified:"1F346",keywords:["eggplant","vegetable","nature","food","aubergine"],sheet:[6,24],shortName:"eggplant"},{name:"Potato",unified:"1F954",keywords:["potato","food","tuber","vegatable","starch"],sheet:[41,43],shortName:"potato"},{name:"Carrot",unified:"1F955",keywords:["carrot","vegetable","food","orange"],sheet:[41,44],shortName:"carrot"},{name:"Ear of Maize",unified:"1F33D",keywords:["ear_of_corn","food","vegetable","plant"],sheet:[6,15],shortName:"corn"},{name:"Hot Pepper",unified:"1F336-FE0F",keywords:["hot_pepper","food","spicy","chilli","chili"],sheet:[6,8],shortName:"hot_pepper"},{name:"Bell Pepper",unified:"1FAD1",keywords:["bell pepper","fruit","plant"],sheet:[53,10],shortName:"bell_pepper"},{name:"Cucumber",unified:"1F952",keywords:["cucumber","fruit","food","pickle"],sheet:[41,41],shortName:"cucumber"},{name:"Leafy Green",unified:"1F96C",keywords:["leafy_green","food","vegetable","plant","bok choy","cabbage","kale","lettuce"],sheet:[42,9],shortName:"leafy_green"},{name:"Broccoli",unified:"1F966",keywords:["broccoli","fruit","food","vegetable"],sheet:[42,3],shortName:"broccoli"},{name:"Garlic",unified:"1F9C4",keywords:["garlic","food","spice","cook"],sheet:[44,30],shortName:"garlic"},{name:"Onion",unified:"1F9C5",keywords:["onion","cook","food","spice"],sheet:[44,31],shortName:"onion"},{name:"Mushroom",unified:"1F344",keywords:["mushroom","plant","vegetable"],sheet:[6,22],shortName:"mushroom"},{name:"Peanuts",unified:"1F95C",keywords:["peanuts","food","nut"],sheet:[41,51],shortName:"peanuts"},{name:"Chestnut",unified:"1F330",keywords:["chestnut","food","squirrel"],sheet:[6,2],shortName:"chestnut"},{name:"Bread",unified:"1F35E",keywords:["bread","food","wheat","breakfast","toast"],sheet:[6,48],shortName:"bread"},{name:"Croissant",unified:"1F950",keywords:["croissant","food","bread","french"],sheet:[41,39],shortName:"croissant"},{name:"Baguette Bread",unified:"1F956",keywords:["baguette_bread","food","bread","french"],sheet:[41,45],shortName:"baguette_bread"},{name:"Flatbread",unified:"1FAD3",keywords:["flatbread","flour","food"],sheet:[53,12],shortName:"flatbread"},{name:"Pretzel",unified:"1F968",keywords:["pretzel","food","bread","twisted"],sheet:[42,5],shortName:"pretzel"},{name:"Bagel",unified:"1F96F",keywords:["bagel","food","bread","bakery","schmear"],sheet:[42,12],shortName:"bagel"},{name:"Pancakes",unified:"1F95E",keywords:["pancakes","food","breakfast","flapjacks","hotcakes"],sheet:[41,53],shortName:"pancakes"},{name:"Waffle",unified:"1F9C7",keywords:["waffle","food","breakfast"],sheet:[44,33],shortName:"waffle"},{name:"Cheese Wedge",unified:"1F9C0",keywords:["cheese_wedge","food","chadder"],sheet:[44,26],shortName:"cheese_wedge"},{name:"Meat on Bone",unified:"1F356",keywords:["meat_on_bone","good","food","drumstick"],sheet:[6,40],shortName:"meat_on_bone"},{name:"Poultry Leg",unified:"1F357",keywords:["poultry_leg","food","meat","drumstick","bird","chicken","turkey"],sheet:[6,41],shortName:"poultry_leg"},{name:"Cut of Meat",unified:"1F969",keywords:["cut_of_meat","food","cow","meat","cut","chop","lambchop","porkchop"],sheet:[42,6],shortName:"cut_of_meat"},{name:"Bacon",unified:"1F953",keywords:["bacon","food","breakfast","pork","pig","meat"],sheet:[41,42],shortName:"bacon"},{name:"Hamburger",unified:"1F354",keywords:["hamburger","meat","fast food","beef","cheeseburger","mcdonalds","burger king"],sheet:[6,38],shortName:"hamburger"},{name:"French Fries",unified:"1F35F",keywords:["french_fries","chips","snack","fast food"],sheet:[6,49],shortName:"fries"},{name:"Slice of Pizza",unified:"1F355",keywords:["pizza","food","party"],sheet:[6,39],shortName:"pizza"},{name:"Hot Dog",unified:"1F32D",keywords:["hot_dog","food","frankfurter"],sheet:[5,57],shortName:"hotdog"},{name:"Sandwich",unified:"1F96A",keywords:["sandwich","food","lunch","bread"],sheet:[42,7],shortName:"sandwich"},{name:"Taco",unified:"1F32E",keywords:["taco","food","mexican"],sheet:[6,0],shortName:"taco"},{name:"Burrito",unified:"1F32F",keywords:["burrito","food","mexican"],sheet:[6,1],shortName:"burrito"},{name:"Tamale",unified:"1FAD4",keywords:["tamale","food","masa"],sheet:[53,13],shortName:"tamale"},{name:"Stuffed Flatbread",unified:"1F959",keywords:["stuffed_flatbread","food","flatbread","stuffed","gyro"],sheet:[41,48],shortName:"stuffed_flatbread"},{name:"Falafel",unified:"1F9C6",keywords:["falafel","food"],sheet:[44,32],shortName:"falafel"},{name:"Egg",unified:"1F95A",keywords:["egg","food","chicken","breakfast"],sheet:[41,49],shortName:"egg"},{name:"Cooking",unified:"1F373",keywords:["cooking","food","breakfast","kitchen","egg"],sheet:[7,11],shortNames:["cooking"],shortName:"fried_egg"},{name:"Shallow Pan of Food",unified:"1F958",keywords:["shallow_pan_of_food","food","cooking","casserole","paella"],sheet:[41,47],shortName:"shallow_pan_of_food"},{name:"Pot of Food",unified:"1F372",keywords:["pot_of_food","food","meat","soup"],sheet:[7,10],shortName:"stew"},{name:"Fondue",unified:"1FAD5",keywords:["fondue","cheese","pot","food"],sheet:[53,14],shortName:"fondue"},{name:"Bowl with Spoon",unified:"1F963",keywords:["bowl_with_spoon","food","breakfast","cereal","oatmeal","porridge"],sheet:[42,0],shortName:"bowl_with_spoon"},{name:"Green Salad",unified:"1F957",keywords:["green_salad","food","healthy","lettuce"],sheet:[41,46],shortName:"green_salad"},{name:"Popcorn",unified:"1F37F",keywords:["popcorn","food","movie theater","films","snack"],sheet:[7,23],shortName:"popcorn"},{name:"Butter",unified:"1F9C8",keywords:["butter","food","cook"],sheet:[44,34],shortName:"butter"},{name:"Salt Shaker",unified:"1F9C2",keywords:["salt","condiment","shaker"],sheet:[44,28],shortName:"salt"},{name:"Canned Food",unified:"1F96B",keywords:["canned_food","food","soup"],sheet:[42,8],shortName:"canned_food"},{name:"Bento Box",unified:"1F371",keywords:["bento_box","food","japanese","box"],sheet:[7,9],shortName:"bento"},{name:"Rice Cracker",unified:"1F358",keywords:["rice_cracker","food","japanese"],sheet:[6,42],shortName:"rice_cracker"},{name:"Rice Ball",unified:"1F359",keywords:["rice_ball","food","japanese"],sheet:[6,43],shortName:"rice_ball"},{name:"Cooked Rice",unified:"1F35A",keywords:["cooked_rice","food","china","asian"],sheet:[6,44],shortName:"rice"},{name:"Curry and Rice",unified:"1F35B",keywords:["curry_rice","food","spicy","hot","indian"],sheet:[6,45],shortName:"curry"},{name:"Steaming Bowl",unified:"1F35C",keywords:["steaming_bowl","food","japanese","noodle","chopsticks"],sheet:[6,46],shortName:"ramen"},{name:"Spaghetti",unified:"1F35D",keywords:["spaghetti","food","italian","noodle"],sheet:[6,47],shortName:"spaghetti"},{name:"Roasted Sweet Potato",unified:"1F360",keywords:["roasted_sweet_potato","food","nature"],sheet:[6,50],shortName:"sweet_potato"},{name:"Oden",unified:"1F362",keywords:["oden","food","japanese"],sheet:[6,52],shortName:"oden"},{name:"Sushi",unified:"1F363",keywords:["sushi","food","fish","japanese","rice"],sheet:[6,53],shortName:"sushi"},{name:"Fried Shrimp",unified:"1F364",keywords:["fried_shrimp","food","animal","appetizer","summer"],sheet:[6,54],shortName:"fried_shrimp"},{name:"Fish Cake with Swirl Design",unified:"1F365",keywords:["fish_cake_with_swirl","food","japan","sea","beach","narutomaki","pink","swirl","kamaboko","surimi","ramen"],sheet:[6,55],shortName:"fish_cake"},{name:"Moon Cake",unified:"1F96E",keywords:["moon_cake","food","autumn"],sheet:[42,11],shortName:"moon_cake"},{name:"Dango",unified:"1F361",keywords:["dango","food","dessert","sweet","japanese","barbecue","meat"],sheet:[6,51],shortName:"dango"},{name:"Dumpling",unified:"1F95F",keywords:["dumpling","food","empanada","pierogi","potsticker"],sheet:[41,54],shortName:"dumpling"},{name:"Fortune Cookie",unified:"1F960",keywords:["fortune_cookie","food","prophecy"],sheet:[41,55],shortName:"fortune_cookie"},{name:"Takeout Box",unified:"1F961",keywords:["takeout_box","food","leftovers"],sheet:[41,56],shortName:"takeout_box"},{name:"Crab",unified:"1F980",keywords:["crab","animal","crustacean"],sheet:[42,33],shortName:"crab"},{name:"Lobster",unified:"1F99E",keywords:["lobster","animal","nature","bisque","claws","seafood"],sheet:[43,5],shortName:"lobster"},{name:"Shrimp",unified:"1F990",keywords:["shrimp","animal","ocean","nature","seafood"],sheet:[42,49],shortName:"shrimp"},{name:"Squid",unified:"1F991",keywords:["squid","animal","nature","ocean","sea"],sheet:[42,50],shortName:"squid"},{name:"Oyster",unified:"1F9AA",keywords:["oyster","food"],sheet:[43,17],shortName:"oyster"},{name:"Soft Ice Cream",unified:"1F366",keywords:["soft_ice_cream","food","hot","dessert","summer"],sheet:[6,56],shortName:"icecream"},{name:"Shaved Ice",unified:"1F367",keywords:["shaved_ice","hot","dessert","summer"],sheet:[6,57],shortName:"shaved_ice"},{name:"Ice Cream",unified:"1F368",keywords:["ice_cream","food","hot","dessert"],sheet:[7,0],shortName:"ice_cream"},{name:"Doughnut",unified:"1F369",keywords:["doughnut","food","dessert","snack","sweet","donut"],sheet:[7,1],shortName:"doughnut"},{name:"Cookie",unified:"1F36A",keywords:["cookie","food","snack","oreo","chocolate","sweet","dessert"],sheet:[7,2],shortName:"cookie"},{name:"Birthday Cake",unified:"1F382",keywords:["birthday_cake","food","dessert","cake"],sheet:[7,26],shortName:"birthday"},{name:"Shortcake",unified:"1F370",keywords:["shortcake","food","dessert"],sheet:[7,8],shortName:"cake"},{name:"Cupcake",unified:"1F9C1",keywords:["cupcake","food","dessert","bakery","sweet"],sheet:[44,27],shortName:"cupcake"},{name:"Pie",unified:"1F967",keywords:["pie","food","dessert","pastry"],sheet:[42,4],shortName:"pie"},{name:"Chocolate Bar",unified:"1F36B",keywords:["chocolate_bar","food","snack","dessert","sweet"],sheet:[7,3],shortName:"chocolate_bar"},{name:"Candy",unified:"1F36C",keywords:["candy","snack","dessert","sweet","lolly"],sheet:[7,4],shortName:"candy"},{name:"Lollipop",unified:"1F36D",keywords:["lollipop","food","snack","candy","sweet"],sheet:[7,5],shortName:"lollipop"},{name:"Custard",unified:"1F36E",keywords:["custard","dessert","food"],sheet:[7,6],shortName:"custard"},{name:"Honey Pot",unified:"1F36F",keywords:["honey_pot","bees","sweet","kitchen"],sheet:[7,7],shortName:"honey_pot"},{name:"Baby Bottle",unified:"1F37C",keywords:["baby_bottle","food","container","milk"],sheet:[7,20],shortName:"baby_bottle"},{name:"Glass of Milk",unified:"1F95B",keywords:["glass_of_milk","beverage","drink","cow"],sheet:[41,50],shortName:"glass_of_milk"},{name:"Hot Beverage",unified:"2615",keywords:["hot_beverage","beverage","caffeine","latte","espresso"],sheet:[54,5],shortName:"coffee"},{name:"Teapot",unified:"1FAD6",keywords:["teapot","drink","hot"],sheet:[53,15],shortName:"teapot"},{name:"Teacup Without Handle",unified:"1F375",keywords:["teacup_without_handle","drink","bowl","breakfast","green","british"],sheet:[7,13],shortName:"tea"},{name:"Sake Bottle and Cup",unified:"1F376",keywords:["sake","wine","drink","drunk","beverage","japanese","alcohol","booze"],sheet:[7,14],shortName:"sake"},{name:"Bottle with Popping Cork",unified:"1F37E",keywords:["bottle_with_popping_cork","drink","wine","bottle","celebration"],sheet:[7,22],shortName:"champagne"},{name:"Wine Glass",unified:"1F377",keywords:["wine_glass","drink","beverage","drunk","alcohol","booze"],sheet:[7,15],shortName:"wine_glass"},{name:"Cocktail Glass",unified:"1F378",keywords:["cocktail_glass","drink","drunk","alcohol","beverage","booze","mojito"],sheet:[7,16],shortName:"cocktail"},{name:"Tropical Drink",unified:"1F379",keywords:["tropical_drink","beverage","cocktail","summer","beach","alcohol","booze","mojito"],sheet:[7,17],shortName:"tropical_drink"},{name:"Beer Mug",unified:"1F37A",keywords:["beer_mug","relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],sheet:[7,18],shortName:"beer"},{name:"Clinking Beer Mugs",unified:"1F37B",keywords:["clinking_beer_mugs","relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],sheet:[7,19],shortName:"beers"},{name:"Clinking Glasses",unified:"1F942",keywords:["clinking_glasses","beverage","drink","party","alcohol","celebrate","cheers","wine","champagne","toast"],sheet:[41,26],shortName:"clinking_glasses"},{name:"Tumbler Glass",unified:"1F943",keywords:["tumbler_glass","drink","beverage","drunk","alcohol","liquor","booze","bourbon","scotch","whisky","glass","shot"],sheet:[41,27],shortName:"tumbler_glass"},{name:"Cup with Straw",unified:"1F964",keywords:["cup_with_straw","drink","soda"],sheet:[42,1],shortName:"cup_with_straw"},{name:"Bubble Tea",unified:"1F9CB",keywords:["bubble tea","taiwan","boba","milk tea","straw"],sheet:[44,37],shortName:"bubble_tea"},{name:"Beverage Box",unified:"1F9C3",keywords:["beverage_box","drink"],sheet:[44,29],shortName:"beverage_box"},{name:"Mate Drink",unified:"1F9C9",keywords:["mate","drink","tea","beverage"],sheet:[44,35],shortName:"mate_drink"},{name:"Ice Cube",unified:"1F9CA",keywords:["ice","water","cold"],sheet:[44,36],shortName:"ice_cube"},{name:"Chopsticks",unified:"1F962",keywords:["chopsticks","food"],sheet:[41,57],shortName:"chopsticks"},{name:"Fork and Knife with Plate",unified:"1F37D-FE0F",keywords:["fork_and_knife_with_plate","food","eat","meal","lunch","dinner","restaurant"],sheet:[7,21],shortName:"knife_fork_plate"},{name:"Fork and Knife",unified:"1F374",keywords:["fork_and_knife","cutlery","kitchen"],sheet:[7,12],shortName:"fork_and_knife"},{name:"Spoon",unified:"1F944",keywords:["spoon","cutlery","kitchen","tableware"],sheet:[41,28],shortName:"spoon"},{name:"Hocho",unified:"1F52A",keywords:["kitchen_knife","knife","blade","cutlery","kitchen","weapon"],sheet:[28,12],shortNames:["knife"],shortName:"hocho"},{name:"Amphora",unified:"1F3FA",keywords:["amphora","vase","jar"],sheet:[11,12],shortName:"amphora"},{name:"Earth Globe Europe-Africa",unified:"1F30D",keywords:["globe_showing_europe_africa","globe","world","international"],sheet:[5,27],shortName:"earth_africa"},{name:"Earth Globe Americas",unified:"1F30E",keywords:["globe_showing_americas","globe","world","USA","international"],sheet:[5,28],shortName:"earth_americas"},{name:"Earth Globe Asia-Australia",unified:"1F30F",keywords:["globe_showing_asia_australia","globe","world","east","international"],sheet:[5,29],shortName:"earth_asia"},{name:"Globe with Meridians",unified:"1F310",keywords:["globe_with_meridians","earth","international","world","internet","interweb","i18n"],sheet:[5,30],shortName:"globe_with_meridians"},{name:"World Map",unified:"1F5FA-FE0F",keywords:["world_map","location","direction"],sheet:[30,26],shortName:"world_map"},{name:"Silhouette of Japan",unified:"1F5FE",keywords:["map_of_japan","nation","country","japanese","asia"],sheet:[30,30],shortName:"japan"},{name:"Compass",unified:"1F9ED",keywords:["compass","magnetic","navigation","orienteering"],sheet:[51,56],shortName:"compass"},{name:"Snow-Capped Mountain",unified:"1F3D4-FE0F",keywords:["snow_capped_mountain","photo","nature","environment","winter","cold"],sheet:[10,29],shortName:"snow_capped_mountain"},{name:"Mountain",unified:"26F0-FE0F",keywords:["mountain","photo","nature","environment"],sheet:[55,16],shortName:"mountain"},{name:"Volcano",unified:"1F30B",keywords:["volcano","photo","nature","disaster"],sheet:[5,25],shortName:"volcano"},{name:"Mount Fuji",unified:"1F5FB",keywords:["mount_fuji","photo","mountain","nature","japanese"],sheet:[30,27],shortName:"mount_fuji"},{name:"Camping",unified:"1F3D5-FE0F",keywords:["camping","photo","outdoors","tent"],sheet:[10,30],shortName:"camping"},{name:"Beach with Umbrella",unified:"1F3D6-FE0F",keywords:["beach_with_umbrella","weather","summer","sunny","sand","mojito"],sheet:[10,31],shortName:"beach_with_umbrella"},{name:"Desert",unified:"1F3DC-FE0F",keywords:["desert","photo","warm","saharah"],sheet:[10,37],shortName:"desert"},{name:"Desert Island",unified:"1F3DD-FE0F",keywords:["desert_island","photo","tropical","mojito"],sheet:[10,38],shortName:"desert_island"},{name:"National Park",unified:"1F3DE-FE0F",keywords:["national_park","photo","environment","nature"],sheet:[10,39],shortName:"national_park"},{name:"Stadium",unified:"1F3DF-FE0F",keywords:["stadium","photo","place","sports","concert","venue"],sheet:[10,40],shortName:"stadium"},{name:"Classical Building",unified:"1F3DB-FE0F",keywords:["classical_building","art","culture","history"],sheet:[10,36],shortName:"classical_building"},{name:"Building Construction",unified:"1F3D7-FE0F",keywords:["building_construction","wip","working","progress"],sheet:[10,32],shortName:"building_construction"},{name:"Brick",unified:"1F9F1",keywords:["brick","bricks"],sheet:[52,2],shortName:"bricks"},{name:"Rock",unified:"1FAA8",keywords:["rock","stone"],sheet:[52,56],shortName:"rock"},{name:"Wood",unified:"1FAB5",keywords:["wood","nature","timber","trunk"],sheet:[53,4],shortName:"wood"},{name:"Hut",unified:"1F6D6",keywords:["hut","house","structure"],sheet:[36,33],shortName:"hut"},{name:"Houses",unified:"1F3D8-FE0F",keywords:["houses","buildings","photo"],sheet:[10,33],shortName:"house_buildings"},{name:"Derelict House",unified:"1F3DA-FE0F",keywords:["derelict_house","abandon","evict","broken","building"],sheet:[10,35],shortName:"derelict_house_building"},{name:"House Building",unified:"1F3E0",keywords:["house","building","home"],sheet:[10,41],shortName:"house"},{name:"House with Garden",unified:"1F3E1",keywords:["house_with_garden","home","plant","nature"],sheet:[10,42],shortName:"house_with_garden"},{name:"Office Building",unified:"1F3E2",keywords:["office_building","building","bureau","work"],sheet:[10,43],shortName:"office"},{name:"Japanese Post Office",unified:"1F3E3",keywords:["japanese_post_office","building","envelope","communication"],sheet:[10,44],shortName:"post_office"},{name:"European Post Office",unified:"1F3E4",keywords:["post_office","building","email"],sheet:[10,45],shortName:"european_post_office"},{name:"Hospital",unified:"1F3E5",keywords:["hospital","building","health","surgery","doctor"],sheet:[10,46],shortName:"hospital"},{name:"Bank",unified:"1F3E6",keywords:["bank","building","money","sales","cash","business","enterprise"],sheet:[10,47],shortName:"bank"},{name:"Hotel",unified:"1F3E8",keywords:["hotel","building","accomodation","checkin"],sheet:[10,49],shortName:"hotel"},{name:"Love Hotel",unified:"1F3E9",keywords:["love_hotel","like","affection","dating"],sheet:[10,50],shortName:"love_hotel"},{name:"Convenience Store",unified:"1F3EA",keywords:["convenience_store","building","shopping","groceries"],sheet:[10,51],shortName:"convenience_store"},{name:"School",unified:"1F3EB",keywords:["school","building","student","education","learn","teach"],sheet:[10,52],shortName:"school"},{name:"Department Store",unified:"1F3EC",keywords:["department_store","building","shopping","mall"],sheet:[10,53],shortName:"department_store"},{name:"Factory",unified:"1F3ED",keywords:["factory","building","industry","pollution","smoke"],sheet:[10,54],shortName:"factory"},{name:"Japanese Castle",unified:"1F3EF",keywords:["japanese_castle","photo","building"],sheet:[10,56],shortName:"japanese_castle"},{name:"European Castle",unified:"1F3F0",keywords:["castle","building","royalty","history"],sheet:[10,57],shortName:"european_castle"},{name:"Wedding",unified:"1F492",keywords:["wedding","love","like","affection","couple","marriage","bride","groom"],sheet:[25,30],shortName:"wedding"},{name:"Tokyo Tower",unified:"1F5FC",keywords:["tokyo_tower","photo","japanese"],sheet:[30,28],shortName:"tokyo_tower"},{name:"Statue of Liberty",unified:"1F5FD",keywords:["statue_of_liberty","american","newyork"],sheet:[30,29],shortName:"statue_of_liberty"},{name:"Church",unified:"26EA",keywords:["church","building","religion","christ"],sheet:[55,15],shortName:"church"},{name:"Mosque",unified:"1F54C",keywords:["mosque","islam","worship","minaret"],sheet:[28,35],shortName:"mosque"},{name:"Hindu Temple",unified:"1F6D5",keywords:["hindu_temple","religion"],sheet:[36,32],shortName:"hindu_temple"},{name:"Synagogue",unified:"1F54D",keywords:["synagogue","judaism","worship","temple","jewish"],sheet:[28,36],shortName:"synagogue"},{name:"Shinto Shrine",unified:"26E9-FE0F",keywords:["shinto_shrine","temple","japan","kyoto"],sheet:[55,14],shortName:"shinto_shrine"},{name:"Kaaba",unified:"1F54B",keywords:["kaaba","mecca","mosque","islam"],sheet:[28,34],shortName:"kaaba"},{name:"Fountain",unified:"26F2",keywords:["fountain","photo","summer","water","fresh"],sheet:[55,18],shortName:"fountain"},{name:"Tent",unified:"26FA",keywords:["tent","photo","camping","outdoors"],sheet:[55,42],shortName:"tent"},{name:"Foggy",unified:"1F301",keywords:["foggy","photo","mountain"],sheet:[5,15],shortName:"foggy"},{name:"Night with Stars",unified:"1F303",keywords:["night_with_stars","evening","city","downtown"],sheet:[5,17],shortName:"night_with_stars"},{name:"Cityscape",unified:"1F3D9-FE0F",keywords:["cityscape","photo","night life","urban"],sheet:[10,34],shortName:"cityscape"},{name:"Sunrise over Mountains",unified:"1F304",keywords:["sunrise_over_mountains","view","vacation","photo"],sheet:[5,18],shortName:"sunrise_over_mountains"},{name:"Sunrise",unified:"1F305",keywords:["sunrise","morning","view","vacation","photo"],sheet:[5,19],shortName:"sunrise"},{name:"Cityscape at Dusk",unified:"1F306",keywords:["cityscape_at_dusk","photo","evening","sky","buildings"],sheet:[5,20],shortName:"city_sunset"},{name:"Sunset over Buildings",unified:"1F307",keywords:["sunset","photo","good morning","dawn"],sheet:[5,21],shortName:"city_sunrise"},{name:"Bridge at Night",unified:"1F309",keywords:["bridge_at_night","photo","sanfrancisco"],sheet:[5,23],shortName:"bridge_at_night"},{name:"Hot Springs",unified:"2668-FE0F",keywords:["hot_springs","bath","warm","relax"],sheet:[54,42],shortName:"hotsprings"},{name:"Carousel Horse",unified:"1F3A0",keywords:["carousel_horse","photo","carnival"],sheet:[7,56],shortName:"carousel_horse"},{name:"Ferris Wheel",unified:"1F3A1",keywords:["ferris_wheel","photo","carnival","londoneye"],sheet:[7,57],shortName:"ferris_wheel"},{name:"Roller Coaster",unified:"1F3A2",keywords:["roller_coaster","carnival","playground","photo","fun"],sheet:[8,0],shortName:"roller_coaster"},{name:"Barber Pole",unified:"1F488",keywords:["barber_pole","hair","salon","style"],sheet:[25,20],shortName:"barber"},{name:"Circus Tent",unified:"1F3AA",keywords:["circus_tent","festival","carnival","party"],sheet:[8,8],shortName:"circus_tent"},{name:"Steam Locomotive",unified:"1F682",keywords:["locomotive","transportation","vehicle","train"],sheet:[33,52],shortName:"steam_locomotive"},{name:"Railway Car",unified:"1F683",keywords:["railway_car","transportation","vehicle"],sheet:[33,53],shortName:"railway_car"},{name:"High-Speed Train",unified:"1F684",keywords:["high_speed_train","transportation","vehicle"],sheet:[33,54],shortName:"bullettrain_side"},{name:"High-Speed Train with Bullet Nose",unified:"1F685",keywords:["bullet_train","transportation","vehicle","speed","fast","public","travel"],sheet:[33,55],shortName:"bullettrain_front"},{name:"Train",unified:"1F686",keywords:["train","transportation","vehicle"],sheet:[33,56],shortName:"train2"},{name:"Metro",unified:"1F687",keywords:["metro","transportation","blue-square","mrt","underground","tube"],sheet:[33,57],shortName:"metro"},{name:"Light Rail",unified:"1F688",keywords:["light_rail","transportation","vehicle"],sheet:[34,0],shortName:"light_rail"},{name:"Station",unified:"1F689",keywords:["station","transportation","vehicle","public"],sheet:[34,1],shortName:"station"},{name:"Tram",unified:"1F68A",keywords:["tram","transportation","vehicle"],sheet:[34,2],shortName:"tram"},{name:"Monorail",unified:"1F69D",keywords:["monorail","transportation","vehicle"],sheet:[34,21],shortName:"monorail"},{name:"Mountain Railway",unified:"1F69E",keywords:["mountain_railway","transportation","vehicle"],sheet:[34,22],shortName:"mountain_railway"},{name:"Tram Car",unified:"1F68B",keywords:["tram_car","transportation","vehicle","carriage","public","travel"],sheet:[34,3],shortName:"train"},{name:"Bus",unified:"1F68C",keywords:["bus","car","vehicle","transportation"],sheet:[34,4],shortName:"bus"},{name:"Oncoming Bus",unified:"1F68D",keywords:["oncoming_bus","vehicle","transportation"],sheet:[34,5],shortName:"oncoming_bus"},{name:"Trolleybus",unified:"1F68E",keywords:["trolleybus","bart","transportation","vehicle"],sheet:[34,6],shortName:"trolleybus"},{name:"Minibus",unified:"1F690",keywords:["minibus","vehicle","car","transportation"],sheet:[34,8],shortName:"minibus"},{name:"Ambulance",unified:"1F691",keywords:["ambulance","health","911","hospital"],sheet:[34,9],shortName:"ambulance"},{name:"Fire Engine",unified:"1F692",keywords:["fire_engine","transportation","cars","vehicle"],sheet:[34,10],shortName:"fire_engine"},{name:"Police Car",unified:"1F693",keywords:["police_car","vehicle","cars","transportation","law","legal","enforcement"],sheet:[34,11],shortName:"police_car"},{name:"Oncoming Police Car",unified:"1F694",keywords:["oncoming_police_car","vehicle","law","legal","enforcement","911"],sheet:[34,12],shortName:"oncoming_police_car"},{name:"Taxi",unified:"1F695",keywords:["taxi","uber","vehicle","cars","transportation"],sheet:[34,13],shortName:"taxi"},{name:"Oncoming Taxi",unified:"1F696",keywords:["oncoming_taxi","vehicle","cars","uber"],sheet:[34,14],shortName:"oncoming_taxi"},{name:"Automobile",unified:"1F697",keywords:["automobile","red","transportation","vehicle"],sheet:[34,15],shortNames:["red_car"],shortName:"car"},{name:"Oncoming Automobile",unified:"1F698",keywords:["oncoming_automobile","car","vehicle","transportation"],sheet:[34,16],shortName:"oncoming_automobile"},{name:"Recreational Vehicle",unified:"1F699",keywords:["sport_utility_vehicle","transportation","vehicle"],sheet:[34,17],shortName:"blue_car"},{name:"Pickup Truck",unified:"1F6FB",keywords:["pickup truck","car","transportation"],sheet:[36,53],shortName:"pickup_truck"},{name:"Delivery Truck",unified:"1F69A",keywords:["delivery_truck","cars","transportation"],sheet:[34,18],shortName:"truck"},{name:"Articulated Lorry",unified:"1F69B",keywords:["articulated_lorry","vehicle","cars","transportation","express"],sheet:[34,19],shortName:"articulated_lorry"},{name:"Tractor",unified:"1F69C",keywords:["tractor","vehicle","car","farming","agriculture"],sheet:[34,20],shortName:"tractor"},{name:"Racing Car",unified:"1F3CE-FE0F",keywords:["racing_car","sports","race","fast","formula","f1"],sheet:[10,23],shortName:"racing_car"},{name:"Motorcycle",unified:"1F3CD-FE0F",keywords:["motorcycle","race","sports","fast"],sheet:[10,22],shortName:"racing_motorcycle"},{name:"Motor Scooter",unified:"1F6F5",keywords:["motor_scooter","vehicle","vespa","sasha"],sheet:[36,47],shortName:"motor_scooter"},{name:"Manual Wheelchair",unified:"1F9BD",keywords:["manual_wheelchair","accessibility"],sheet:[44,23],shortName:"manual_wheelchair"},{name:"Motorized Wheelchair",unified:"1F9BC",keywords:["motorized_wheelchair","accessibility"],sheet:[44,22],shortName:"motorized_wheelchair"},{name:"Auto Rickshaw",unified:"1F6FA",keywords:["auto_rickshaw","move","transportation"],sheet:[36,52],shortName:"auto_rickshaw"},{name:"Bicycle",unified:"1F6B2",keywords:["bicycle","sports","bicycle","exercise","hipster"],sheet:[35,1],shortName:"bike"},{name:"Scooter",unified:"1F6F4",keywords:["kick_scooter","vehicle","kick","razor"],sheet:[36,46],shortName:"scooter"},{name:"Skateboard",unified:"1F6F9",keywords:["skateboard","board"],sheet:[36,51],shortName:"skateboard"},{name:"Roller Skate",unified:"1F6FC",keywords:["roller skate","footwear","sports"],sheet:[36,54],shortName:"roller_skate"},{name:"Bus Stop",unified:"1F68F",keywords:["bus_stop","transportation","wait"],sheet:[34,7],shortName:"busstop"},{name:"Motorway",unified:"1F6E3-FE0F",keywords:["motorway","road","cupertino","interstate","highway"],sheet:[36,38],shortName:"motorway"},{name:"Railway Track",unified:"1F6E4-FE0F",keywords:["railway_track","train","transportation"],sheet:[36,39],shortName:"railway_track"},{name:"Oil Drum",unified:"1F6E2-FE0F",keywords:["oil_drum","barrell"],sheet:[36,37],shortName:"oil_drum"},{name:"Fuel Pump",unified:"26FD",keywords:["fuel_pump","gas station","petroleum"],sheet:[55,43],shortName:"fuelpump"},{name:"Police Cars Revolving Light",unified:"1F6A8",keywords:["police_car_light","police","ambulance","911","emergency","alert","error","pinged","law","legal"],sheet:[34,49],shortName:"rotating_light"},{name:"Horizontal Traffic Light",unified:"1F6A5",keywords:["horizontal_traffic_light","transportation","signal"],sheet:[34,46],shortName:"traffic_light"},{name:"Vertical Traffic Light",unified:"1F6A6",keywords:["vertical_traffic_light","transportation","driving"],sheet:[34,47],shortName:"vertical_traffic_light"},{name:"Octagonal Sign",unified:"1F6D1",keywords:["stop_sign","stop"],sheet:[36,30],shortName:"octagonal_sign"},{name:"Construction Sign",unified:"1F6A7",keywords:["construction","wip","progress","caution","warning"],sheet:[34,48],shortName:"construction"},{name:"Anchor",unified:"2693",keywords:["anchor","ship","ferry","sea","boat"],sheet:[54,47],shortName:"anchor"},{name:"Sailboat",unified:"26F5",keywords:["sailboat","ship","summer","transportation","water","sailing"],sheet:[55,21],shortNames:["sailboat"],shortName:"boat"},{name:"Canoe",unified:"1F6F6",keywords:["canoe","boat","paddle","water","ship"],sheet:[36,48],shortName:"canoe"},{name:"Speedboat",unified:"1F6A4",keywords:["speedboat","ship","transportation","vehicle","summer"],sheet:[34,45],shortName:"speedboat"},{name:"Passenger Ship",unified:"1F6F3-FE0F",keywords:["passenger_ship","yacht","cruise","ferry"],sheet:[36,45],shortName:"passenger_ship"},{name:"Ferry",unified:"26F4-FE0F",keywords:["ferry","boat","ship","yacht"],sheet:[55,20],shortName:"ferry"},{name:"Motor Boat",unified:"1F6E5-FE0F",keywords:["motor_boat","ship"],sheet:[36,40],shortName:"motor_boat"},{name:"Ship",unified:"1F6A2",keywords:["ship","transportation","titanic","deploy"],sheet:[34,26],shortName:"ship"},{name:"Airplane",unified:"2708-FE0F",keywords:["airplane","vehicle","transportation","flight","fly"],sheet:[55,46],shortName:"airplane"},{name:"Small Airplane",unified:"1F6E9-FE0F",keywords:["small_airplane","flight","transportation","fly","vehicle"],sheet:[36,41],shortName:"small_airplane"},{name:"Airplane Departure",unified:"1F6EB",keywords:["airplane_departure","airport","flight","landing"],sheet:[36,42],shortName:"airplane_departure"},{name:"Airplane Arriving",unified:"1F6EC",keywords:["airplane_arrival","airport","flight","boarding"],sheet:[36,43],shortName:"airplane_arriving"},{name:"Parachute",unified:"1FA82",keywords:["parachute","fly","glide"],sheet:[52,27],shortName:"parachute"},{name:"Seat",unified:"1F4BA",keywords:["seat","sit","airplane","transport","bus","flight","fly"],sheet:[26,17],shortName:"seat"},{name:"Helicopter",unified:"1F681",keywords:["helicopter","transportation","vehicle","fly"],sheet:[33,51],shortName:"helicopter"},{name:"Suspension Railway",unified:"1F69F",keywords:["suspension_railway","vehicle","transportation"],sheet:[34,23],shortName:"suspension_railway"},{name:"Mountain Cableway",unified:"1F6A0",keywords:["mountain_cableway","transportation","vehicle","ski"],sheet:[34,24],shortName:"mountain_cableway"},{name:"Aerial Tramway",unified:"1F6A1",keywords:["aerial_tramway","transportation","vehicle","ski"],sheet:[34,25],shortName:"aerial_tramway"},{name:"Satellite",unified:"1F6F0-FE0F",keywords:["satellite","communication","gps","orbit","spaceflight","NASA","ISS"],sheet:[36,44],shortName:"satellite"},{name:"Rocket",unified:"1F680",keywords:["rocket","launch","ship","staffmode","NASA","outer space","outer_space","fly"],sheet:[33,50],shortName:"rocket"},{name:"Flying Saucer",unified:"1F6F8",keywords:["flying_saucer","transportation","vehicle","ufo"],sheet:[36,50],shortName:"flying_saucer"},{name:"Bellhop Bell",unified:"1F6CE-FE0F",keywords:["bellhop_bell","service"],sheet:[36,27],shortName:"bellhop_bell"},{name:"Luggage",unified:"1F9F3",keywords:["luggage","packing","travel"],sheet:[52,4],shortName:"luggage"},{name:"Hourglass",unified:"231B",keywords:["hourglass_done","time","clock","oldschool","limit","exam","quiz","test"],sheet:[53,29],shortName:"hourglass"},{name:"Hourglass with Flowing Sand",unified:"23F3",keywords:["hourglass_not_done","oldschool","time","countdown"],sheet:[53,42],shortName:"hourglass_flowing_sand"},{name:"Watch",unified:"231A",keywords:["watch","time","accessories"],sheet:[53,28],shortName:"watch"},{name:"Alarm Clock",unified:"23F0",keywords:["alarm_clock","time","wake"],sheet:[53,39],shortName:"alarm_clock"},{name:"Stopwatch",unified:"23F1-FE0F",keywords:["stopwatch","time","deadline"],sheet:[53,40],shortName:"stopwatch"},{name:"Timer Clock",unified:"23F2-FE0F",keywords:["timer_clock","alarm"],sheet:[53,41],shortName:"timer_clock"},{name:"Mantelpiece Clock",unified:"1F570-FE0F",keywords:["mantelpiece_clock","time"],sheet:[29,5],shortName:"mantelpiece_clock"},{name:"Clock Face Twelve Oclock",unified:"1F55B",keywords:["twelve_o_clock","time","noon","midnight","midday","late","early","schedule"],sheet:[28,49],shortName:"clock12"},{name:"Clock Face Twelve-Thirty",unified:"1F567",keywords:["twelve_thirty","time","late","early","schedule"],sheet:[29,3],shortName:"clock1230"},{name:"Clock Face One Oclock",unified:"1F550",keywords:["one_o_clock","time","late","early","schedule"],sheet:[28,38],shortName:"clock1"},{name:"Clock Face One-Thirty",unified:"1F55C",keywords:["one_thirty","time","late","early","schedule"],sheet:[28,50],shortName:"clock130"},{name:"Clock Face Two Oclock",unified:"1F551",keywords:["two_o_clock","time","late","early","schedule"],sheet:[28,39],shortName:"clock2"},{name:"Clock Face Two-Thirty",unified:"1F55D",keywords:["two_thirty","time","late","early","schedule"],sheet:[28,51],shortName:"clock230"},{name:"Clock Face Three Oclock",unified:"1F552",keywords:["three_o_clock","time","late","early","schedule"],sheet:[28,40],shortName:"clock3"},{name:"Clock Face Three-Thirty",unified:"1F55E",keywords:["three_thirty","time","late","early","schedule"],sheet:[28,52],shortName:"clock330"},{name:"Clock Face Four Oclock",unified:"1F553",keywords:["four_o_clock","time","late","early","schedule"],sheet:[28,41],shortName:"clock4"},{name:"Clock Face Four-Thirty",unified:"1F55F",keywords:["four_thirty","time","late","early","schedule"],sheet:[28,53],shortName:"clock430"},{name:"Clock Face Five Oclock",unified:"1F554",keywords:["five_o_clock","time","late","early","schedule"],sheet:[28,42],shortName:"clock5"},{name:"Clock Face Five-Thirty",unified:"1F560",keywords:["five_thirty","time","late","early","schedule"],sheet:[28,54],shortName:"clock530"},{name:"Clock Face Six Oclock",unified:"1F555",keywords:["six_o_clock","time","late","early","schedule","dawn","dusk"],sheet:[28,43],shortName:"clock6"},{name:"Clock Face Six-Thirty",unified:"1F561",keywords:["six_thirty","time","late","early","schedule"],sheet:[28,55],shortName:"clock630"},{name:"Clock Face Seven Oclock",unified:"1F556",keywords:["seven_o_clock","time","late","early","schedule"],sheet:[28,44],shortName:"clock7"},{name:"Clock Face Seven-Thirty",unified:"1F562",keywords:["seven_thirty","time","late","early","schedule"],sheet:[28,56],shortName:"clock730"},{name:"Clock Face Eight Oclock",unified:"1F557",keywords:["eight_o_clock","time","late","early","schedule"],sheet:[28,45],shortName:"clock8"},{name:"Clock Face Eight-Thirty",unified:"1F563",keywords:["eight_thirty","time","late","early","schedule"],sheet:[28,57],shortName:"clock830"},{name:"Clock Face Nine Oclock",unified:"1F558",keywords:["nine_o_clock","time","late","early","schedule"],sheet:[28,46],shortName:"clock9"},{name:"Clock Face Nine-Thirty",unified:"1F564",keywords:["nine_thirty","time","late","early","schedule"],sheet:[29,0],shortName:"clock930"},{name:"Clock Face Ten Oclock",unified:"1F559",keywords:["ten_o_clock","time","late","early","schedule"],sheet:[28,47],shortName:"clock10"},{name:"Clock Face Ten-Thirty",unified:"1F565",keywords:["ten_thirty","time","late","early","schedule"],sheet:[29,1],shortName:"clock1030"},{name:"Clock Face Eleven Oclock",unified:"1F55A",keywords:["eleven_o_clock","time","late","early","schedule"],sheet:[28,48],shortName:"clock11"},{name:"Clock Face Eleven-Thirty",unified:"1F566",keywords:["eleven_thirty","time","late","early","schedule"],sheet:[29,2],shortName:"clock1130"},{name:"New Moon Symbol",unified:"1F311",keywords:["new_moon","nature","twilight","planet","space","night","evening","sleep"],sheet:[5,31],shortName:"new_moon"},{name:"Waxing Crescent Moon Symbol",unified:"1F312",keywords:["waxing_crescent_moon","nature","twilight","planet","space","night","evening","sleep"],sheet:[5,32],shortName:"waxing_crescent_moon"},{name:"First Quarter Moon Symbol",unified:"1F313",keywords:["first_quarter_moon","nature","twilight","planet","space","night","evening","sleep"],sheet:[5,33],shortName:"first_quarter_moon"},{name:"Waxing Gibbous Moon Symbol",unified:"1F314",keywords:["waxing_gibbous_moon","nature","night","sky","gray","twilight","planet","space","evening","sleep"],sheet:[5,34],shortNames:["waxing_gibbous_moon"],shortName:"moon"},{name:"Full Moon Symbol",unified:"1F315",keywords:["full_moon","nature","yellow","twilight","planet","space","night","evening","sleep"],sheet:[5,35],shortName:"full_moon"},{name:"Waning Gibbous Moon Symbol",unified:"1F316",keywords:["waning_gibbous_moon","nature","twilight","planet","space","night","evening","sleep","waxing_gibbous_moon"],sheet:[5,36],shortName:"waning_gibbous_moon"},{name:"Last Quarter Moon Symbol",unified:"1F317",keywords:["last_quarter_moon","nature","twilight","planet","space","night","evening","sleep"],sheet:[5,37],shortName:"last_quarter_moon"},{name:"Waning Crescent Moon Symbol",unified:"1F318",keywords:["waning_crescent_moon","nature","twilight","planet","space","night","evening","sleep"],sheet:[5,38],shortName:"waning_crescent_moon"},{name:"Crescent Moon",unified:"1F319",keywords:["crescent_moon","night","sleep","sky","evening","magic"],sheet:[5,39],shortName:"crescent_moon"},{name:"New Moon with Face",unified:"1F31A",keywords:["new_moon_face","nature","twilight","planet","space","night","evening","sleep"],sheet:[5,40],shortName:"new_moon_with_face"},{name:"First Quarter Moon with Face",unified:"1F31B",keywords:["first_quarter_moon_face","nature","twilight","planet","space","night","evening","sleep"],sheet:[5,41],shortName:"first_quarter_moon_with_face"},{name:"Last Quarter Moon with Face",unified:"1F31C",keywords:["last_quarter_moon_face","nature","twilight","planet","space","night","evening","sleep"],sheet:[5,42],shortName:"last_quarter_moon_with_face"},{name:"Thermometer",unified:"1F321-FE0F",keywords:["thermometer","weather","temperature","hot","cold"],sheet:[5,47],shortName:"thermometer"},{name:"Black Sun with Rays",unified:"2600-FE0F",keywords:["sun","weather","nature","brightness","summer","beach","spring"],sheet:[53,55],shortName:"sunny"},{name:"Full Moon with Face",unified:"1F31D",keywords:["full_moon_face","nature","twilight","planet","space","night","evening","sleep"],sheet:[5,43],shortName:"full_moon_with_face"},{name:"Sun with Face",unified:"1F31E",keywords:["sun_with_face","nature","morning","sky"],sheet:[5,44],shortName:"sun_with_face"},{name:"Ringed Planet",unified:"1FA90",keywords:["ringed_planet","outerspace"],sheet:[52,32],shortName:"ringed_planet"},{name:"White Medium Star",unified:"2B50",keywords:["star","night","yellow"],sheet:[56,46],shortName:"star"},{name:"Glowing Star",unified:"1F31F",keywords:["glowing_star","night","sparkle","awesome","good","magic"],sheet:[5,45],shortName:"star2"},{name:"Shooting Star",unified:"1F320",keywords:["shooting_star","night","photo"],sheet:[5,46],shortName:"stars"},{name:"Milky Way",unified:"1F30C",keywords:["milky_way","photo","space","stars"],sheet:[5,26],shortName:"milky_way"},{name:"Cloud",unified:"2601-FE0F",keywords:["cloud","weather","sky"],sheet:[53,56],shortName:"cloud"},{name:"Sun Behind Cloud",unified:"26C5",keywords:["sun_behind_cloud","weather","nature","cloudy","morning","fall","spring"],sheet:[55,7],shortName:"partly_sunny"},{name:"Cloud with Lightning and Rain",unified:"26C8-FE0F",keywords:["cloud_with_lightning_and_rain","weather","lightning"],sheet:[55,8],shortName:"thunder_cloud_and_rain"},{name:"Sun Behind Small Cloud",unified:"1F324-FE0F",keywords:["sun_behind_small_cloud","weather"],sheet:[5,48],shortNames:["sun_small_cloud"],shortName:"mostly_sunny"},{name:"Sun Behind Large Cloud",unified:"1F325-FE0F",keywords:["sun_behind_large_cloud","weather"],sheet:[5,49],shortNames:["sun_behind_cloud"],shortName:"barely_sunny"},{name:"Sun Behind Rain Cloud",unified:"1F326-FE0F",keywords:["sun_behind_rain_cloud","weather"],sheet:[5,50],shortNames:["sun_behind_rain_cloud"],shortName:"partly_sunny_rain"},{name:"Cloud with Rain",unified:"1F327-FE0F",keywords:["cloud_with_rain","weather"],sheet:[5,51],shortName:"rain_cloud"},{name:"Cloud with Snow",unified:"1F328-FE0F",keywords:["cloud_with_snow","weather"],sheet:[5,52],shortName:"snow_cloud"},{name:"Cloud with Lightning",unified:"1F329-FE0F",keywords:["cloud_with_lightning","weather","thunder"],sheet:[5,53],shortNames:["lightning_cloud"],shortName:"lightning"},{name:"Tornado",unified:"1F32A-FE0F",keywords:["tornado","weather","cyclone","twister"],sheet:[5,54],shortNames:["tornado_cloud"],shortName:"tornado"},{name:"Fog",unified:"1F32B-FE0F",keywords:["fog","weather"],sheet:[5,55],shortName:"fog"},{name:"Wind Face",unified:"1F32C-FE0F",keywords:["wind_face","gust","air"],sheet:[5,56],shortName:"wind_blowing_face"},{name:"Cyclone",unified:"1F300",keywords:["cyclone","weather","swirl","blue","cloud","vortex","spiral","whirlpool","spin","tornado","hurricane","typhoon"],sheet:[5,14],shortName:"cyclone"},{name:"Rainbow",unified:"1F308",keywords:["rainbow","nature","happy","unicorn_face","photo","sky","spring"],sheet:[5,22],shortName:"rainbow"},{name:"Closed Umbrella",unified:"1F302",keywords:["closed_umbrella","weather","rain","drizzle"],sheet:[5,16],shortName:"closed_umbrella"},{name:"Umbrella",unified:"2602-FE0F",keywords:["umbrella","weather","spring"],sheet:[53,57],shortName:"umbrella"},{name:"Umbrella with Rain Drops",unified:"2614",keywords:["umbrella_with_rain_drops","rainy","weather","spring"],sheet:[54,4],shortName:"umbrella_with_rain_drops"},{name:"Umbrella on Ground",unified:"26F1-FE0F",keywords:["umbrella_on_ground","weather","summer"],sheet:[55,17],shortName:"umbrella_on_ground"},{name:"High Voltage Sign",unified:"26A1",keywords:["high_voltage","thunder","weather","lightning bolt","fast"],sheet:[54,56],shortName:"zap"},{name:"Snowflake",unified:"2744-FE0F",keywords:["snowflake","winter","season","cold","weather","christmas","xmas"],sheet:[56,23],shortName:"snowflake"},{name:"Snowman",unified:"2603-FE0F",keywords:["snowman","winter","season","cold","weather","christmas","xmas","frozen"],sheet:[54,0],shortName:"snowman"},{name:"Snowman Without Snow",unified:"26C4",keywords:["snowman_without_snow","winter","season","cold","weather","christmas","xmas","frozen","without_snow"],sheet:[55,6],shortName:"snowman_without_snow"},{name:"Comet",unified:"2604-FE0F",keywords:["comet","space"],sheet:[54,1],shortName:"comet"},{name:"Fire",unified:"1F525",keywords:["fire","hot","cook","flame"],sheet:[28,7],shortName:"fire"},{name:"Droplet",unified:"1F4A7",keywords:["droplet","water","drip","faucet","spring"],sheet:[25,51],shortName:"droplet"},{name:"Water Wave",unified:"1F30A",keywords:["water_wave","sea","water","wave","nature","tsunami","disaster"],sheet:[5,24],shortName:"ocean"},{name:"Jack-O-Lantern",unified:"1F383",keywords:["jack_o_lantern","halloween","light","pumpkin","creepy","fall"],sheet:[7,27],shortName:"jack_o_lantern"},{name:"Christmas Tree",unified:"1F384",keywords:["christmas_tree","festival","vacation","december","xmas","celebration"],sheet:[7,28],shortName:"christmas_tree"},{name:"Fireworks",unified:"1F386",keywords:["fireworks","photo","festival","carnival","congratulations"],sheet:[7,35],shortName:"fireworks"},{name:"Firework Sparkler",unified:"1F387",keywords:["sparkler","stars","night","shine"],sheet:[7,36],shortName:"sparkler"},{name:"Firecracker",unified:"1F9E8",keywords:["firecracker","dynamite","boom","explode","explosion","explosive"],sheet:[51,51],shortName:"firecracker"},{name:"Sparkles",unified:"2728",keywords:["sparkles","stars","shine","shiny","cool","awesome","good","magic"],sheet:[56,20],shortName:"sparkles"},{name:"Balloon",unified:"1F388",keywords:["balloon","party","celebration","birthday","circus"],sheet:[7,37],shortName:"balloon"},{name:"Party Popper",unified:"1F389",keywords:["party_popper","party","congratulations","birthday","magic","circus","celebration","tada"],sheet:[7,38],shortName:"tada"},{name:"Confetti Ball",unified:"1F38A",keywords:["confetti_ball","festival","party","birthday","circus"],sheet:[7,39],shortName:"confetti_ball"},{name:"Tanabata Tree",unified:"1F38B",keywords:["tanabata_tree","plant","nature","branch","summer"],sheet:[7,40],shortName:"tanabata_tree"},{name:"Pine Decoration",unified:"1F38D",keywords:["pine_decoration","plant","nature","vegetable","panda","pine_decoration"],sheet:[7,42],shortName:"bamboo"},{name:"Japanese Dolls",unified:"1F38E",keywords:["japanese_dolls","japanese","toy","kimono"],sheet:[7,43],shortName:"dolls"},{name:"Carp Streamer",unified:"1F38F",keywords:["carp_streamer","fish","japanese","koinobori","carp","banner"],sheet:[7,44],shortName:"flags"},{name:"Wind Chime",unified:"1F390",keywords:["wind_chime","nature","ding","spring","bell"],sheet:[7,45],shortName:"wind_chime"},{name:"Moon Viewing Ceremony",unified:"1F391",keywords:["moon_viewing_ceremony","photo","japan","asia","tsukimi"],sheet:[7,46],shortName:"rice_scene"},{name:"Red Gift Envelope",unified:"1F9E7",keywords:["red_envelope","gift"],sheet:[51,50],shortName:"red_envelope"},{name:"Ribbon",unified:"1F380",keywords:["ribbon","decoration","pink","girl","bowtie"],sheet:[7,24],shortName:"ribbon"},{name:"Wrapped Present",unified:"1F381",keywords:["wrapped_gift","present","birthday","christmas","xmas"],sheet:[7,25],shortName:"gift"},{name:"Reminder Ribbon",unified:"1F397-FE0F",keywords:["reminder_ribbon","sports","cause","support","awareness"],sheet:[7,50],shortName:"reminder_ribbon"},{name:"Admission Tickets",unified:"1F39F-FE0F",keywords:["admission_tickets","sports","concert","entrance"],sheet:[7,55],shortName:"admission_tickets"},{name:"Ticket",unified:"1F3AB",keywords:["ticket","event","concert","pass"],sheet:[8,9],shortName:"ticket"},{name:"Military Medal",unified:"1F396-FE0F",keywords:["military_medal","award","winning","army"],sheet:[7,49],shortName:"medal"},{name:"Trophy",unified:"1F3C6",keywords:["trophy","win","award","contest","place","ftw","ceremony"],sheet:[9,17],shortName:"trophy"},{name:"Sports Medal",unified:"1F3C5",keywords:["sports_medal","award","winning"],sheet:[9,16],shortName:"sports_medal"},{name:"First Place Medal",unified:"1F947",keywords:["1st_place_medal","award","winning","first"],sheet:[41,30],shortName:"first_place_medal"},{name:"Second Place Medal",unified:"1F948",keywords:["2nd_place_medal","award","second"],sheet:[41,31],shortName:"second_place_medal"},{name:"Third Place Medal",unified:"1F949",keywords:["3rd_place_medal","award","third"],sheet:[41,32],shortName:"third_place_medal"},{name:"Soccer Ball",unified:"26BD",keywords:["soccer_ball","sports","football"],sheet:[55,4],shortName:"soccer"},{name:"Baseball",unified:"26BE",keywords:["baseball","sports","balls"],sheet:[55,5],shortName:"baseball"},{name:"Softball",unified:"1F94E",keywords:["softball","sports","balls"],sheet:[41,37],shortName:"softball"},{name:"Basketball and Hoop",unified:"1F3C0",keywords:["basketball","sports","balls","NBA"],sheet:[8,30],shortName:"basketball"},{name:"Volleyball",unified:"1F3D0",keywords:["volleyball","sports","balls"],sheet:[10,25],shortName:"volleyball"},{name:"American Football",unified:"1F3C8",keywords:["american_football","sports","balls","NFL"],sheet:[9,24],shortName:"football"},{name:"Rugby Football",unified:"1F3C9",keywords:["rugby_football","sports","team"],sheet:[9,25],shortName:"rugby_football"},{name:"Tennis Racquet and Ball",unified:"1F3BE",keywords:["tennis","sports","balls","green"],sheet:[8,28],shortName:"tennis"},{name:"Flying Disc",unified:"1F94F",keywords:["flying_disc","sports","frisbee","ultimate"],sheet:[41,38],shortName:"flying_disc"},{name:"Bowling",unified:"1F3B3",keywords:["bowling","sports","fun","play"],sheet:[8,17],shortName:"bowling"},{name:"Cricket Bat and Ball",unified:"1F3CF",keywords:["cricket_game","sports"],sheet:[10,24],shortName:"cricket_bat_and_ball"},{name:"Field Hockey Stick and Ball",unified:"1F3D1",keywords:["field_hockey","sports"],sheet:[10,26],shortName:"field_hockey_stick_and_ball"},{name:"Ice Hockey Stick and Puck",unified:"1F3D2",keywords:["ice_hockey","sports"],sheet:[10,27],shortName:"ice_hockey_stick_and_puck"},{name:"Lacrosse Stick and Ball",unified:"1F94D",keywords:["lacrosse","sports","ball","stick"],sheet:[41,36],shortName:"lacrosse"},{name:"Table Tennis Paddle and Ball",unified:"1F3D3",keywords:["ping_pong","sports","pingpong"],sheet:[10,28],shortName:"table_tennis_paddle_and_ball"},{name:"Badminton Racquet and Shuttlecock",unified:"1F3F8",keywords:["badminton","sports"],sheet:[11,10],shortName:"badminton_racquet_and_shuttlecock"},{name:"Boxing Glove",unified:"1F94A",keywords:["boxing_glove","sports","fighting"],sheet:[41,33],shortName:"boxing_glove"},{name:"Martial Arts Uniform",unified:"1F94B",keywords:["martial_arts_uniform","judo","karate","taekwondo"],sheet:[41,34],shortName:"martial_arts_uniform"},{name:"Goal Net",unified:"1F945",keywords:["goal_net","sports"],sheet:[41,29],shortName:"goal_net"},{name:"Flag in Hole",unified:"26F3",keywords:["flag_in_hole","sports","business","flag","hole","summer"],sheet:[55,19],shortName:"golf"},{name:"Ice Skate",unified:"26F8-FE0F",keywords:["ice_skate","sports"],sheet:[55,23],shortName:"ice_skate"},{name:"Fishing Pole and Fish",unified:"1F3A3",keywords:["fishing_pole","food","hobby","summer"],sheet:[8,1],shortName:"fishing_pole_and_fish"},{name:"Diving Mask",unified:"1F93F",keywords:["diving_mask","sport","ocean"],sheet:[41,23],shortName:"diving_mask"},{name:"Running Shirt with Sash",unified:"1F3BD",keywords:["running_shirt","play","pageant"],sheet:[8,27],shortName:"running_shirt_with_sash"},{name:"Ski and Ski Boot",unified:"1F3BF",keywords:["skis","sports","winter","cold","snow"],sheet:[8,29],shortName:"ski"},{name:"Sled",unified:"1F6F7",keywords:["sled","sleigh","luge","toboggan"],sheet:[36,49],shortName:"sled"},{name:"Curling Stone",unified:"1F94C",keywords:["curling_stone","sports"],sheet:[41,35],shortName:"curling_stone"},{name:"Direct Hit",unified:"1F3AF",keywords:["direct_hit","game","play","bar","target","bullseye"],sheet:[8,13],shortName:"dart"},{name:"Yo-Yo",unified:"1FA80",keywords:["yo_yo","toy"],sheet:[52,25],shortName:"yo-yo"},{name:"Kite",unified:"1FA81",keywords:["kite","wind","fly"],sheet:[52,26],shortName:"kite"},{name:"Billiards",unified:"1F3B1",keywords:["pool_8_ball","pool","hobby","game","luck","magic"],sheet:[8,15],shortName:"8ball"},{name:"Crystal Ball",unified:"1F52E",keywords:["crystal_ball","disco","party","magic","circus","fortune_teller"],sheet:[28,16],shortName:"crystal_ball"},{name:"Magic Wand",unified:"1FA84",keywords:["magic wand","supernature","power"],sheet:[52,29],shortName:"magic_wand"},{name:"Nazar Amulet",unified:"1F9FF",keywords:["nazar_amulet","bead","charm"],sheet:[52,16],shortName:"nazar_amulet"},{name:"Video Game",unified:"1F3AE",keywords:["video_game","play","console","PS4","controller"],sheet:[8,12],shortName:"video_game"},{name:"Joystick",unified:"1F579-FE0F",keywords:["joystick","game","play"],sheet:[29,34],shortName:"joystick"},{name:"Slot Machine",unified:"1F3B0",keywords:["slot_machine","bet","gamble","vegas","fruit machine","luck","casino"],sheet:[8,14],shortName:"slot_machine"},{name:"Game Die",unified:"1F3B2",keywords:["game_die","dice","random","tabletop","play","luck"],sheet:[8,16],shortName:"game_die"},{name:"Jigsaw Puzzle Piece",unified:"1F9E9",keywords:["puzzle_piece","interlocking","puzzle","piece"],sheet:[51,52],shortName:"jigsaw"},{name:"Teddy Bear",unified:"1F9F8",keywords:["teddy_bear","plush","stuffed"],sheet:[52,9],shortName:"teddy_bear"},{name:"Pinata",unified:"1FA85",keywords:["pinata","mexico","candy","celebration"],sheet:[52,30],shortName:"pinata"},{name:"Nesting Dolls",unified:"1FA86",keywords:["nesting dolls","matryoshka","toy"],sheet:[52,31],shortName:"nesting_dolls"},{name:"Black Spade Suit",unified:"2660-FE0F",keywords:["spade_suit","poker","cards","suits","magic"],sheet:[54,38],shortName:"spades"},{name:"Black Heart Suit",unified:"2665-FE0F",keywords:["heart_suit","poker","cards","magic","suits"],sheet:[54,40],shortName:"hearts"},{name:"Black Diamond Suit",unified:"2666-FE0F",keywords:["diamond_suit","poker","cards","magic","suits"],sheet:[54,41],shortName:"diamonds"},{name:"Black Club Suit",unified:"2663-FE0F",keywords:["club_suit","poker","cards","magic","suits"],sheet:[54,39],shortName:"clubs"},{name:"Chess Pawn",unified:"265F-FE0F",keywords:["chess_pawn","expendable"],sheet:[54,37],shortName:"chess_pawn"},{name:"Playing Card Black Joker",unified:"1F0CF",keywords:["joker","poker","cards","game","play","magic"],sheet:[0,15],shortName:"black_joker"},{name:"Mahjong Tile Red Dragon",unified:"1F004",keywords:["mahjong_red_dragon","game","play","chinese","kanji"],sheet:[0,14],shortName:"mahjong"},{name:"Flower Playing Cards",unified:"1F3B4",keywords:["flower_playing_cards","game","sunset","red"],sheet:[8,18],shortName:"flower_playing_cards"},{name:"Performing Arts",unified:"1F3AD",keywords:["performing_arts","acting","theater","drama"],sheet:[8,11],shortName:"performing_arts"},{name:"Framed Picture",unified:"1F5BC-FE0F",keywords:["framed_picture","photography"],sheet:[30,11],shortName:"frame_with_picture"},{name:"Artist Palette",unified:"1F3A8",keywords:["artist_palette","design","paint","draw","colors"],sheet:[8,6],shortName:"art"},{name:"Spool of Thread",unified:"1F9F5",keywords:["thread","needle","sewing","spool","string"],sheet:[52,6],shortName:"thread"},{name:"Sewing Needle",unified:"1FAA1",keywords:["sewing needle","stitches"],sheet:[52,49],shortName:"sewing_needle"},{name:"Ball of Yarn",unified:"1F9F6",keywords:["yarn","ball","crochet","knit"],sheet:[52,7],shortName:"yarn"},{name:"Knot",unified:"1FAA2",keywords:["knot","rope","scout"],sheet:[52,50],shortName:"knot"},{name:"Eyeglasses",unified:"1F453",keywords:["glasses","fashion","accessories","eyesight","nerdy","dork","geek"],sheet:[13,54],shortName:"eyeglasses"},{name:"Sunglasses",unified:"1F576-FE0F",keywords:["sunglasses","face","cool","accessories"],sheet:[29,31],shortName:"dark_sunglasses"},{name:"Goggles",unified:"1F97D",keywords:["goggles","eyes","protection","safety"],sheet:[42,30],shortName:"goggles"},{name:"Lab Coat",unified:"1F97C",keywords:["lab_coat","doctor","experiment","scientist","chemist"],sheet:[42,29],shortName:"lab_coat"},{name:"Safety Vest",unified:"1F9BA",keywords:["safety_vest","protection"],sheet:[44,15],shortName:"safety_vest"},{name:"Necktie",unified:"1F454",keywords:["necktie","shirt","suitup","formal","fashion","cloth","business"],sheet:[13,55],shortName:"necktie"},{name:"T-Shirt",unified:"1F455",keywords:["t_shirt","fashion","cloth","casual","shirt","tee"],sheet:[13,56],shortNames:["tshirt"],shortName:"shirt"},{name:"Jeans",unified:"1F456",keywords:["jeans","fashion","shopping"],sheet:[13,57],shortName:"jeans"},{name:"Scarf",unified:"1F9E3",keywords:["scarf","neck","winter","clothes"],sheet:[51,46],shortName:"scarf"},{name:"Gloves",unified:"1F9E4",keywords:["gloves","hands","winter","clothes"],sheet:[51,47],shortName:"gloves"},{name:"Coat",unified:"1F9E5",keywords:["coat","jacket"],sheet:[51,48],shortName:"coat"},{name:"Socks",unified:"1F9E6",keywords:["socks","stockings","clothes"],sheet:[51,49],shortName:"socks"},{name:"Dress",unified:"1F457",keywords:["dress","clothes","fashion","shopping"],sheet:[14,0],shortName:"dress"},{name:"Kimono",unified:"1F458",keywords:["kimono","dress","fashion","women","female","japanese"],sheet:[14,1],shortName:"kimono"},{name:"Sari",unified:"1F97B",keywords:["sari","dress"],sheet:[42,28],shortName:"sari"},{name:"One-Piece Swimsuit",unified:"1FA71",keywords:["one_piece_swimsuit","fashion"],sheet:[52,18],shortName:"one-piece_swimsuit"},{name:"Briefs",unified:"1FA72",keywords:["briefs","clothing"],sheet:[52,19],shortName:"briefs"},{name:"Shorts",unified:"1FA73",keywords:["shorts","clothing"],sheet:[52,20],shortName:"shorts"},{name:"Bikini",unified:"1F459",keywords:["bikini","swimming","female","woman","girl","fashion","beach","summer"],sheet:[14,2],shortName:"bikini"},{name:"Womans Clothes",unified:"1F45A",keywords:["woman_s_clothes","fashion","shopping_bags","female"],sheet:[14,3],shortName:"womans_clothes"},{name:"Purse",unified:"1F45B",keywords:["purse","fashion","accessories","money","sales","shopping"],sheet:[14,4],shortName:"purse"},{name:"Handbag",unified:"1F45C",keywords:["handbag","fashion","accessory","accessories","shopping"],sheet:[14,5],shortName:"handbag"},{name:"Pouch",unified:"1F45D",keywords:["clutch_bag","bag","accessories","shopping"],sheet:[14,6],shortName:"pouch"},{name:"Shopping Bags",unified:"1F6CD-FE0F",keywords:["shopping_bags","mall","buy","purchase"],sheet:[36,26],shortName:"shopping_bags"},{name:"School Satchel",unified:"1F392",keywords:["backpack","student","education","bag","backpack"],sheet:[7,47],shortName:"school_satchel"},{name:"Thong Sandal",unified:"1FA74",keywords:["thong sandal","footwear","summer"],sheet:[52,21],shortName:"thong_sandal"},{name:"Mans Shoe",unified:"1F45E",keywords:["man_s_shoe","fashion","male"],sheet:[14,7],shortNames:["shoe"],shortName:"mans_shoe"},{name:"Athletic Shoe",unified:"1F45F",keywords:["running_shoe","shoes","sports","sneakers"],sheet:[14,8],shortName:"athletic_shoe"},{name:"Hiking Boot",unified:"1F97E",keywords:["hiking_boot","backpacking","camping","hiking"],sheet:[42,31],shortName:"hiking_boot"},{name:"Flat Shoe",unified:"1F97F",keywords:["flat_shoe","ballet","slip-on","slipper"],sheet:[42,32],shortName:"womans_flat_shoe"},{name:"High-Heeled Shoe",unified:"1F460",keywords:["high_heeled_shoe","fashion","shoes","female","pumps","stiletto"],sheet:[14,9],shortName:"high_heel"},{name:"Womans Sandal",unified:"1F461",keywords:["woman_s_sandal","shoes","fashion","flip flops"],sheet:[14,10],shortName:"sandal"},{name:"Ballet Shoes",unified:"1FA70",keywords:["ballet_shoes","dance"],sheet:[52,17],shortName:"ballet_shoes"},{name:"Womans Boots",unified:"1F462",keywords:["woman_s_boot","shoes","fashion"],sheet:[14,11],shortName:"boot"},{name:"Crown",unified:"1F451",keywords:["crown","king","kod","leader","royalty","lord"],sheet:[13,52],shortName:"crown"},{name:"Womans Hat",unified:"1F452",keywords:["woman_s_hat","fashion","accessories","female","lady","spring"],sheet:[13,53],shortName:"womans_hat"},{name:"Top Hat",unified:"1F3A9",keywords:["top_hat","magic","gentleman","classy","circus"],sheet:[8,7],shortName:"tophat"},{name:"Graduation Cap",unified:"1F393",keywords:["graduation_cap","school","college","degree","university","graduation","cap","hat","legal","learn","education"],sheet:[7,48],shortName:"mortar_board"},{name:"Billed Cap",unified:"1F9E2",keywords:["billed_cap","cap","baseball"],sheet:[51,45],shortName:"billed_cap"},{name:"Military Helmet",unified:"1FA96",keywords:["military helmet","army","protection"],sheet:[52,38],shortName:"military_helmet"},{name:"Rescue Worker\u2019s Helmet",unified:"26D1-FE0F",keywords:["rescue_worker_s_helmet","construction","build"],sheet:[55,11],shortName:"helmet_with_white_cross"},{name:"Prayer Beads",unified:"1F4FF",keywords:["prayer_beads","dhikr","religious"],sheet:[27,27],shortName:"prayer_beads"},{name:"Lipstick",unified:"1F484",keywords:["lipstick","female","girl","fashion","woman"],sheet:[24,35],shortName:"lipstick"},{name:"Ring",unified:"1F48D",keywords:["ring","wedding","propose","marriage","valentines","diamond","fashion","jewelry","gem","engagement"],sheet:[25,25],shortName:"ring"},{name:"Gem Stone",unified:"1F48E",keywords:["gem_stone","blue","ruby","diamond","jewelry"],sheet:[25,26],shortName:"gem"},{name:"Speaker with Cancellation Stroke",unified:"1F507",keywords:["muted_speaker","sound","volume","silence","quiet"],sheet:[27,35],shortName:"mute"},{name:"Speaker",unified:"1F508",keywords:["speaker_low_volume","sound","volume","silence","broadcast"],sheet:[27,36],shortName:"speaker"},{name:"Speaker with One Sound Wave",unified:"1F509",keywords:["speaker_medium_volume","volume","speaker","broadcast"],sheet:[27,37],shortName:"sound"},{name:"Speaker with Three Sound Waves",unified:"1F50A",keywords:["speaker_high_volume","volume","noise","noisy","speaker","broadcast"],sheet:[27,38],shortName:"loud_sound"},{name:"Public Address Loudspeaker",unified:"1F4E2",keywords:["loudspeaker","volume","sound"],sheet:[26,57],shortName:"loudspeaker"},{name:"Cheering Megaphone",unified:"1F4E3",keywords:["megaphone","sound","speaker","volume"],sheet:[27,0],shortName:"mega"},{name:"Postal Horn",unified:"1F4EF",keywords:["postal_horn","instrument","music"],sheet:[27,12],shortName:"postal_horn"},{name:"Bell",unified:"1F514",keywords:["bell","sound","notification","christmas","xmas","chime"],sheet:[27,48],shortName:"bell"},{name:"Bell with Cancellation Stroke",unified:"1F515",keywords:["bell_with_slash","sound","volume","mute","quiet","silent"],sheet:[27,49],shortName:"no_bell"},{name:"Musical Score",unified:"1F3BC",keywords:["musical_score","treble","clef","compose"],sheet:[8,26],shortName:"musical_score"},{name:"Musical Note",unified:"1F3B5",keywords:["musical_note","score","tone","sound"],sheet:[8,19],shortName:"musical_note"},{name:"Multiple Musical Notes",unified:"1F3B6",keywords:["musical_notes","music","score"],sheet:[8,20],shortName:"notes"},{name:"Studio Microphone",unified:"1F399-FE0F",keywords:["studio_microphone","sing","recording","artist","talkshow"],sheet:[7,51],shortName:"studio_microphone"},{name:"Level Slider",unified:"1F39A-FE0F",keywords:["level_slider","scale"],sheet:[7,52],shortName:"level_slider"},{name:"Control Knobs",unified:"1F39B-FE0F",keywords:["control_knobs","dial"],sheet:[7,53],shortName:"control_knobs"},{name:"Microphone",unified:"1F3A4",keywords:["microphone","sound","music","PA","sing","talkshow"],sheet:[8,2],shortName:"microphone"},{name:"Headphone",unified:"1F3A7",keywords:["headphone","music","score","gadgets"],sheet:[8,5],shortName:"headphones"},{name:"Radio",unified:"1F4FB",keywords:["radio","communication","music","podcast","program"],sheet:[27,24],shortName:"radio"},{name:"Saxophone",unified:"1F3B7",keywords:["saxophone","music","instrument","jazz","blues"],sheet:[8,21],shortName:"saxophone"},{name:"Accordion",unified:"1FA97",keywords:["accordion","music"],sheet:[52,39],shortName:"accordion"},{name:"Guitar",unified:"1F3B8",keywords:["guitar","music","instrument"],sheet:[8,22],shortName:"guitar"},{name:"Musical Keyboard",unified:"1F3B9",keywords:["musical_keyboard","piano","instrument","compose"],sheet:[8,23],shortName:"musical_keyboard"},{name:"Trumpet",unified:"1F3BA",keywords:["trumpet","music","brass"],sheet:[8,24],shortName:"trumpet"},{name:"Violin",unified:"1F3BB",keywords:["violin","music","instrument","orchestra","symphony"],sheet:[8,25],shortName:"violin"},{name:"Banjo",unified:"1FA95",keywords:["banjo","music","instructment"],sheet:[52,37],shortName:"banjo"},{name:"Drum with Drumsticks",unified:"1F941",keywords:["drum","music","instrument","drumsticks","snare"],sheet:[41,25],shortName:"drum_with_drumsticks"},{name:"Long Drum",unified:"1FA98",keywords:["long drum","music"],sheet:[52,40],shortName:"long_drum"},{name:"Mobile Phone",unified:"1F4F1",keywords:["mobile_phone","technology","apple","gadgets","dial"],sheet:[27,14],shortName:"iphone"},{name:"Mobile Phone with Rightwards Arrow at Left",unified:"1F4F2",keywords:["mobile_phone_with_arrow","iphone","incoming"],sheet:[27,15],shortName:"calling"},{name:"Black Telephone",unified:"260E-FE0F",keywords:["telephone","technology","communication","dial","telephone"],sheet:[54,2],shortNames:["telephone"],shortName:"phone"},{name:"Telephone Receiver",unified:"1F4DE",keywords:["telephone_receiver","technology","communication","dial"],sheet:[26,53],shortName:"telephone_receiver"},{name:"Pager",unified:"1F4DF",keywords:["pager","bbcall","oldschool","90s"],sheet:[26,54],shortName:"pager"},{name:"Fax Machine",unified:"1F4E0",keywords:["fax_machine","communication","technology"],sheet:[26,55],shortName:"fax"},{name:"Battery",unified:"1F50B",keywords:["battery","power","energy","sustain"],sheet:[27,39],shortName:"battery"},{name:"Electric Plug",unified:"1F50C",keywords:["electric_plug","charger","power"],sheet:[27,40],shortName:"electric_plug"},{name:"Personal Computer",unified:"1F4BB",keywords:["laptop","technology","laptop","screen","display","monitor"],sheet:[26,18],shortName:"computer"},{name:"Desktop Computer",unified:"1F5A5-FE0F",keywords:["desktop_computer","technology","computing","screen"],sheet:[30,7],shortName:"desktop_computer"},{name:"Printer",unified:"1F5A8-FE0F",keywords:["printer","paper","ink"],sheet:[30,8],shortName:"printer"},{name:"Keyboard",unified:"2328-FE0F",keywords:["keyboard","technology","computer","type","input","text"],sheet:[53,30],shortName:"keyboard"},{name:"Computer Mouse",unified:"1F5B1-FE0F",keywords:["computer_mouse","click"],sheet:[30,9],shortName:"three_button_mouse"},{name:"Trackball",unified:"1F5B2-FE0F",keywords:["trackball","technology","trackpad"],sheet:[30,10],shortName:"trackball"},{name:"Minidisc",unified:"1F4BD",keywords:["computer_disk","technology","record","data","disk","90s"],sheet:[26,20],shortName:"minidisc"},{name:"Floppy Disk",unified:"1F4BE",keywords:["floppy_disk","oldschool","technology","save","90s","80s"],sheet:[26,21],shortName:"floppy_disk"},{name:"Optical Disc",unified:"1F4BF",keywords:["optical_disk","technology","dvd","disk","disc","90s"],sheet:[26,22],shortName:"cd"},{name:"Dvd",unified:"1F4C0",keywords:["dvd","cd","disk","disc"],sheet:[26,23],shortName:"dvd"},{name:"Abacus",unified:"1F9EE",keywords:["abacus","calculation"],sheet:[51,57],shortName:"abacus"},{name:"Movie Camera",unified:"1F3A5",keywords:["movie_camera","film","record"],sheet:[8,3],shortName:"movie_camera"},{name:"Film Frames",unified:"1F39E-FE0F",keywords:["film_frames","movie"],sheet:[7,54],shortName:"film_frames"},{name:"Film Projector",unified:"1F4FD-FE0F",keywords:["film_projector","video","tape","record","movie"],sheet:[27,26],shortName:"film_projector"},{name:"Clapper Board",unified:"1F3AC",keywords:["clapper_board","movie","film","record"],sheet:[8,10],shortName:"clapper"},{name:"Television",unified:"1F4FA",keywords:["television","technology","program","oldschool","show","television"],sheet:[27,23],shortName:"tv"},{name:"Camera",unified:"1F4F7",keywords:["camera","gadgets","photography"],sheet:[27,20],shortName:"camera"},{name:"Camera with Flash",unified:"1F4F8",keywords:["camera_with_flash","photography","gadgets"],sheet:[27,21],shortName:"camera_with_flash"},{name:"Video Camera",unified:"1F4F9",keywords:["video_camera","film","record"],sheet:[27,22],shortName:"video_camera"},{name:"Videocassette",unified:"1F4FC",keywords:["videocassette","record","video","oldschool","90s","80s"],sheet:[27,25],shortName:"vhs"},{name:"Left-Pointing Magnifying Glass",unified:"1F50D",keywords:["magnifying_glass_tilted_left","search","zoom","find","detective"],sheet:[27,41],shortName:"mag"},{name:"Right-Pointing Magnifying Glass",unified:"1F50E",keywords:["magnifying_glass_tilted_right","search","zoom","find","detective"],sheet:[27,42],shortName:"mag_right"},{name:"Candle",unified:"1F56F-FE0F",keywords:["candle","fire","wax"],sheet:[29,4],shortName:"candle"},{name:"Electric Light Bulb",unified:"1F4A1",keywords:["light_bulb","light","electricity","idea"],sheet:[25,45],shortName:"bulb"},{name:"Electric Torch",unified:"1F526",keywords:["flashlight","dark","camping","sight","night"],sheet:[28,8],shortName:"flashlight"},{name:"Izakaya Lantern",unified:"1F3EE",keywords:["red_paper_lantern","light","paper","halloween","spooky"],sheet:[10,55],shortNames:["lantern"],shortName:"izakaya_lantern"},{name:"Diya Lamp",unified:"1FA94",keywords:["diya_lamp","lighting"],sheet:[52,36],shortName:"diya_lamp"},{name:"Notebook with Decorative Cover",unified:"1F4D4",keywords:["notebook_with_decorative_cover","classroom","notes","record","paper","study"],sheet:[26,43],shortName:"notebook_with_decorative_cover"},{name:"Closed Book",unified:"1F4D5",keywords:["closed_book","read","library","knowledge","textbook","learn"],sheet:[26,44],shortName:"closed_book"},{name:"Open Book",unified:"1F4D6",keywords:["open_book","book","read","library","knowledge","literature","learn","study"],sheet:[26,45],shortNames:["open_book"],shortName:"book"},{name:"Green Book",unified:"1F4D7",keywords:["green_book","read","library","knowledge","study"],sheet:[26,46],shortName:"green_book"},{name:"Blue Book",unified:"1F4D8",keywords:["blue_book","read","library","knowledge","learn","study"],sheet:[26,47],shortName:"blue_book"},{name:"Orange Book",unified:"1F4D9",keywords:["orange_book","read","library","knowledge","textbook","study"],sheet:[26,48],shortName:"orange_book"},{name:"Books",unified:"1F4DA",keywords:["books","literature","library","study"],sheet:[26,49],shortName:"books"},{name:"Notebook",unified:"1F4D3",keywords:["notebook","stationery","record","notes","paper","study"],sheet:[26,42],shortName:"notebook"},{name:"Ledger",unified:"1F4D2",keywords:["ledger","notes","paper"],sheet:[26,41],shortName:"ledger"},{name:"Page with Curl",unified:"1F4C3",keywords:["page_with_curl","documents","office","paper"],sheet:[26,26],shortName:"page_with_curl"},{name:"Scroll",unified:"1F4DC",keywords:["scroll","documents","ancient","history","paper"],sheet:[26,51],shortName:"scroll"},{name:"Page Facing Up",unified:"1F4C4",keywords:["page_facing_up","documents","office","paper","information"],sheet:[26,27],shortName:"page_facing_up"},{name:"Newspaper",unified:"1F4F0",keywords:["newspaper","press","headline"],sheet:[27,13],shortName:"newspaper"},{name:"Rolled-Up Newspaper",unified:"1F5DE-FE0F",keywords:["rolled_up_newspaper","press","headline"],sheet:[30,20],shortName:"rolled_up_newspaper"},{name:"Bookmark Tabs",unified:"1F4D1",keywords:["bookmark_tabs","favorite","save","order","tidy"],sheet:[26,40],shortName:"bookmark_tabs"},{name:"Bookmark",unified:"1F516",keywords:["bookmark","favorite","label","save"],sheet:[27,50],shortName:"bookmark"},{name:"Label",unified:"1F3F7-FE0F",keywords:["label","sale","tag"],sheet:[11,9],shortName:"label"},{name:"Money Bag",unified:"1F4B0",keywords:["money_bag","dollar","payment","coins","sale"],sheet:[26,7],shortName:"moneybag"},{name:"Coin",unified:"1FA99",keywords:["coin","money","currency"],sheet:[52,41],shortName:"coin"},{name:"Banknote with Yen Sign",unified:"1F4B4",keywords:["yen_banknote","money","sales","japanese","dollar","currency"],sheet:[26,11],shortName:"yen"},{name:"Banknote with Dollar Sign",unified:"1F4B5",keywords:["dollar_banknote","money","sales","bill","currency"],sheet:[26,12],shortName:"dollar"},{name:"Banknote with Euro Sign",unified:"1F4B6",keywords:["euro_banknote","money","sales","dollar","currency"],sheet:[26,13],shortName:"euro"},{name:"Banknote with Pound Sign",unified:"1F4B7",keywords:["pound_banknote","british","sterling","money","sales","bills","uk","england","currency"],sheet:[26,14],shortName:"pound"},{name:"Money with Wings",unified:"1F4B8",keywords:["money_with_wings","dollar","bills","payment","sale"],sheet:[26,15],shortName:"money_with_wings"},{name:"Credit Card",unified:"1F4B3",keywords:["credit_card","money","sales","dollar","bill","payment","shopping"],sheet:[26,10],shortName:"credit_card"},{name:"Receipt",unified:"1F9FE",keywords:["receipt","accounting","expenses"],sheet:[52,15],shortName:"receipt"},{name:"Chart with Upwards Trend and Yen Sign",unified:"1F4B9",keywords:["chart_increasing_with_yen","green-square","graph","presentation","stats"],sheet:[26,16],shortName:"chart"},{name:"Envelope",unified:"2709-FE0F",keywords:["envelope","letter","postal","inbox","communication"],sheet:[55,47],shortNames:["envelope"],shortName:"email"},{name:"E-Mail Symbol",unified:"1F4E7",keywords:["e_mail","communication","inbox"],sheet:[27,4],shortName:"e-mail"},{name:"Incoming Envelope",unified:"1F4E8",keywords:["incoming_envelope","email","inbox"],sheet:[27,5],shortName:"incoming_envelope"},{name:"Envelope with Downwards Arrow Above",unified:"1F4E9",keywords:["envelope_with_arrow","email","communication"],sheet:[27,6],shortName:"envelope_with_arrow"},{name:"Outbox Tray",unified:"1F4E4",keywords:["outbox_tray","inbox","email"],sheet:[27,1],shortName:"outbox_tray"},{name:"Inbox Tray",unified:"1F4E5",keywords:["inbox_tray","email","documents"],sheet:[27,2],shortName:"inbox_tray"},{name:"Package",unified:"1F4E6",keywords:["package","mail","gift","cardboard","box","moving"],sheet:[27,3],shortName:"package"},{name:"Closed Mailbox with Raised Flag",unified:"1F4EB",keywords:["closed_mailbox_with_raised_flag","email","inbox","communication"],sheet:[27,8],shortName:"mailbox"},{name:"Closed Mailbox with Lowered Flag",unified:"1F4EA",keywords:["closed_mailbox_with_lowered_flag","email","communication","inbox"],sheet:[27,7],shortName:"mailbox_closed"},{name:"Open Mailbox with Raised Flag",unified:"1F4EC",keywords:["open_mailbox_with_raised_flag","email","inbox","communication"],sheet:[27,9],shortName:"mailbox_with_mail"},{name:"Open Mailbox with Lowered Flag",unified:"1F4ED",keywords:["open_mailbox_with_lowered_flag","email","inbox"],sheet:[27,10],shortName:"mailbox_with_no_mail"},{name:"Postbox",unified:"1F4EE",keywords:["postbox","email","letter","envelope"],sheet:[27,11],shortName:"postbox"},{name:"Ballot Box with Ballot",unified:"1F5F3-FE0F",keywords:["ballot_box_with_ballot","election","vote"],sheet:[30,25],shortName:"ballot_box_with_ballot"},{name:"Pencil",unified:"270F-FE0F",keywords:["pencil","stationery","write","paper","writing","school","study"],sheet:[56,14],shortName:"pencil2"},{name:"Black Nib",unified:"2712-FE0F",keywords:["black_nib","pen","stationery","writing","write"],sheet:[56,15],shortName:"black_nib"},{name:"Fountain Pen",unified:"1F58B-FE0F",keywords:["fountain_pen","stationery","writing","write"],sheet:[29,43],shortName:"lower_left_fountain_pen"},{name:"Pen",unified:"1F58A-FE0F",keywords:["pen","stationery","writing","write"],sheet:[29,42],shortName:"lower_left_ballpoint_pen"},{name:"Paintbrush",unified:"1F58C-FE0F",keywords:["paintbrush","drawing","creativity","art"],sheet:[29,44],shortName:"lower_left_paintbrush"},{name:"Crayon",unified:"1F58D-FE0F",keywords:["crayon","drawing","creativity"],sheet:[29,45],shortName:"lower_left_crayon"},{name:"Memo",unified:"1F4DD",keywords:["memo","write","documents","stationery","pencil","paper","writing","legal","exam","quiz","test","study","compose"],sheet:[26,52],shortNames:["pencil"],shortName:"memo"},{name:"Briefcase",unified:"1F4BC",keywords:["briefcase","business","documents","work","law","legal","job","career"],sheet:[26,19],shortName:"briefcase"},{name:"File Folder",unified:"1F4C1",keywords:["file_folder","documents","business","office"],sheet:[26,24],shortName:"file_folder"},{name:"Open File Folder",unified:"1F4C2",keywords:["open_file_folder","documents","load"],sheet:[26,25],shortName:"open_file_folder"},{name:"Card Index Dividers",unified:"1F5C2-FE0F",keywords:["card_index_dividers","organizing","business","stationery"],sheet:[30,12],shortName:"card_index_dividers"},{name:"Calendar",unified:"1F4C5",keywords:["calendar","calendar","schedule"],sheet:[26,28],shortName:"date"},{name:"Tear-off Calendar",unified:"1F4C6",keywords:["tear_off_calendar","schedule","date","planning"],sheet:[26,29],shortName:"calendar"},{name:"Spiral Notepad",unified:"1F5D2-FE0F",keywords:["spiral_notepad","memo","stationery"],sheet:[30,16],shortName:"spiral_note_pad"},{name:"Spiral Calendar",unified:"1F5D3-FE0F",keywords:["spiral_calendar","date","schedule","planning"],sheet:[30,17],shortName:"spiral_calendar_pad"},{name:"Card Index",unified:"1F4C7",keywords:["card_index","business","stationery"],sheet:[26,30],shortName:"card_index"},{name:"Chart with Upwards Trend",unified:"1F4C8",keywords:["chart_increasing","graph","presentation","stats","recovery","business","economics","money","sales","good","success"],sheet:[26,31],shortName:"chart_with_upwards_trend"},{name:"Chart with Downwards Trend",unified:"1F4C9",keywords:["chart_decreasing","graph","presentation","stats","recession","business","economics","money","sales","bad","failure"],sheet:[26,32],shortName:"chart_with_downwards_trend"},{name:"Bar Chart",unified:"1F4CA",keywords:["bar_chart","graph","presentation","stats"],sheet:[26,33],shortName:"bar_chart"},{name:"Clipboard",unified:"1F4CB",keywords:["clipboard","stationery","documents"],sheet:[26,34],shortName:"clipboard"},{name:"Pushpin",unified:"1F4CC",keywords:["pushpin","stationery","mark","here"],sheet:[26,35],shortName:"pushpin"},{name:"Round Pushpin",unified:"1F4CD",keywords:["round_pushpin","stationery","location","map","here"],sheet:[26,36],shortName:"round_pushpin"},{name:"Paperclip",unified:"1F4CE",keywords:["paperclip","documents","stationery"],sheet:[26,37],shortName:"paperclip"},{name:"Linked Paperclips",unified:"1F587-FE0F",keywords:["linked_paperclips","documents","stationery"],sheet:[29,41],shortName:"linked_paperclips"},{name:"Straight Ruler",unified:"1F4CF",keywords:["straight_ruler","stationery","calculate","length","math","school","drawing","architect","sketch"],sheet:[26,38],shortName:"straight_ruler"},{name:"Triangular Ruler",unified:"1F4D0",keywords:["triangular_ruler","stationery","math","architect","sketch"],sheet:[26,39],shortName:"triangular_ruler"},{name:"Black Scissors",unified:"2702-FE0F",keywords:["scissors","stationery","cut"],sheet:[55,44],shortName:"scissors"},{name:"Card File Box",unified:"1F5C3-FE0F",keywords:["card_file_box","business","stationery"],sheet:[30,13],shortName:"card_file_box"},{name:"File Cabinet",unified:"1F5C4-FE0F",keywords:["file_cabinet","filing","organizing"],sheet:[30,14],shortName:"file_cabinet"},{name:"Wastebasket",unified:"1F5D1-FE0F",keywords:["wastebasket","bin","trash","rubbish","garbage","toss"],sheet:[30,15],shortName:"wastebasket"},{name:"Lock",unified:"1F512",keywords:["locked","security","password","padlock"],sheet:[27,46],shortName:"lock"},{name:"Open Lock",unified:"1F513",keywords:["unlocked","privacy","security"],sheet:[27,47],shortName:"unlock"},{name:"Lock with Ink Pen",unified:"1F50F",keywords:["locked_with_pen","security","secret"],sheet:[27,43],shortName:"lock_with_ink_pen"},{name:"Closed Lock with Key",unified:"1F510",keywords:["locked_with_key","security","privacy"],sheet:[27,44],shortName:"closed_lock_with_key"},{name:"Key",unified:"1F511",keywords:["key","lock","door","password"],sheet:[27,45],shortName:"key"},{name:"Old Key",unified:"1F5DD-FE0F",keywords:["old_key","lock","door","password"],sheet:[30,19],shortName:"old_key"},{name:"Hammer",unified:"1F528",keywords:["hammer","tools","build","create"],sheet:[28,10],shortName:"hammer"},{name:"Axe",unified:"1FA93",keywords:["axe","tool","chop","cut"],sheet:[52,35],shortName:"axe"},{name:"Pick",unified:"26CF-FE0F",keywords:["pick","tools","dig"],sheet:[55,10],shortName:"pick"},{name:"Hammer and Pick",unified:"2692-FE0F",keywords:["hammer_and_pick","tools","build","create"],sheet:[54,46],shortName:"hammer_and_pick"},{name:"Hammer and Wrench",unified:"1F6E0-FE0F",keywords:["hammer_and_wrench","tools","build","create"],sheet:[36,35],shortName:"hammer_and_wrench"},{name:"Dagger",unified:"1F5E1-FE0F",keywords:["dagger","weapon"],sheet:[30,21],shortName:"dagger_knife"},{name:"Crossed Swords",unified:"2694-FE0F",keywords:["crossed_swords","weapon"],sheet:[54,48],shortName:"crossed_swords"},{name:"Pistol",unified:"1F52B",keywords:["pistol","violence","weapon","pistol","revolver"],sheet:[28,13],shortName:"gun"},{name:"Boomerang",unified:"1FA83",keywords:["boomerang","weapon"],sheet:[52,28],shortName:"boomerang"},{name:"Bow and Arrow",unified:"1F3F9",keywords:["bow_and_arrow","sports"],sheet:[11,11],shortName:"bow_and_arrow"},{name:"Shield",unified:"1F6E1-FE0F",keywords:["shield","protection","security"],sheet:[36,36],shortName:"shield"},{name:"Carpentry Saw",unified:"1FA9A",keywords:["carpentry saw","cut","chop"],sheet:[52,42],shortName:"carpentry_saw"},{name:"Wrench",unified:"1F527",keywords:["wrench","tools","diy","ikea","fix","maintainer"],sheet:[28,9],shortName:"wrench"},{name:"Screwdriver",unified:"1FA9B",keywords:["screwdriver","tools"],sheet:[52,43],shortName:"screwdriver"},{name:"Nut and Bolt",unified:"1F529",keywords:["nut_and_bolt","handy","tools","fix"],sheet:[28,11],shortName:"nut_and_bolt"},{name:"Gear",unified:"2699-FE0F",keywords:["gear","cog"],sheet:[54,52],shortName:"gear"},{name:"Clamp",unified:"1F5DC-FE0F",keywords:["clamp","tool"],sheet:[30,18],shortName:"compression"},{name:"Balance Scale",unified:"2696-FE0F",keywords:["balance_scale","law","fairness","weight"],sheet:[54,50],shortName:"scales"},{name:"Probing Cane",unified:"1F9AF",keywords:["probing_cane","accessibility"],sheet:[43,22],shortName:"probing_cane"},{name:"Link Symbol",unified:"1F517",keywords:["link","rings","url"],sheet:[27,51],shortName:"link"},{name:"Chains",unified:"26D3-FE0F",keywords:["chains","lock","arrest"],sheet:[55,12],shortName:"chains"},{name:"Hook",unified:"1FA9D",keywords:["hook","tools"],sheet:[52,45],shortName:"hook"},{name:"Toolbox",unified:"1F9F0",keywords:["toolbox","tools","diy","fix","maintainer","mechanic"],sheet:[52,1],shortName:"toolbox"},{name:"Magnet",unified:"1F9F2",keywords:["magnet","attraction","magnetic"],sheet:[52,3],shortName:"magnet"},{name:"Ladder",unified:"1FA9C",keywords:["ladder","tools"],sheet:[52,44],shortName:"ladder"},{name:"Alembic",unified:"2697-FE0F",keywords:["alembic","distilling","science","experiment","chemistry"],sheet:[54,51],shortName:"alembic"},{name:"Test Tube",unified:"1F9EA",keywords:["test_tube","chemistry","experiment","lab","science"],sheet:[51,53],shortName:"test_tube"},{name:"Petri Dish",unified:"1F9EB",keywords:["petri_dish","bacteria","biology","culture","lab"],sheet:[51,54],shortName:"petri_dish"},{name:"Dna Double Helix",unified:"1F9EC",keywords:["dna","biologist","genetics","life"],sheet:[51,55],shortName:"dna"},{name:"Microscope",unified:"1F52C",keywords:["microscope","laboratory","experiment","zoomin","science","study"],sheet:[28,14],shortName:"microscope"},{name:"Telescope",unified:"1F52D",keywords:["telescope","stars","space","zoom","science","astronomy"],sheet:[28,15],shortName:"telescope"},{name:"Satellite Antenna",unified:"1F4E1",keywords:["satellite_antenna","communication","future","radio","space"],sheet:[26,56],shortName:"satellite_antenna"},{name:"Syringe",unified:"1F489",keywords:["syringe","health","hospital","drugs","blood","medicine","needle","doctor","nurse"],sheet:[25,21],shortName:"syringe"},{name:"Drop of Blood",unified:"1FA78",keywords:["drop_of_blood","period","hurt","harm","wound"],sheet:[52,22],shortName:"drop_of_blood"},{name:"Pill",unified:"1F48A",keywords:["pill","health","medicine","doctor","pharmacy","drug"],sheet:[25,22],shortName:"pill"},{name:"Adhesive Bandage",unified:"1FA79",keywords:["adhesive_bandage","heal"],sheet:[52,23],shortName:"adhesive_bandage"},{name:"Stethoscope",unified:"1FA7A",keywords:["stethoscope","health"],sheet:[52,24],shortName:"stethoscope"},{name:"Door",unified:"1F6AA",keywords:["door","house","entry","exit"],sheet:[34,51],shortName:"door"},{name:"Elevator",unified:"1F6D7",keywords:["elevator","lift"],sheet:[36,34],shortName:"elevator"},{name:"Mirror",unified:"1FA9E",keywords:["mirror","reflection"],sheet:[52,46],shortName:"mirror"},{name:"Window",unified:"1FA9F",keywords:["window","scenery"],sheet:[52,47],shortName:"window"},{name:"Bed",unified:"1F6CF-FE0F",keywords:["bed","sleep","rest"],sheet:[36,28],shortName:"bed"},{name:"Couch and Lamp",unified:"1F6CB-FE0F",keywords:["couch_and_lamp","read","chill"],sheet:[36,19],shortName:"couch_and_lamp"},{name:"Chair",unified:"1FA91",keywords:["chair","sit","furniture"],sheet:[52,33],shortName:"chair"},{name:"Toilet",unified:"1F6BD",keywords:["toilet","restroom","wc","washroom","bathroom","potty"],sheet:[36,5],shortName:"toilet"},{name:"Plunger",unified:"1FAA0",keywords:["plunger","toilet"],sheet:[52,48],shortName:"plunger"},{name:"Shower",unified:"1F6BF",keywords:["shower","clean","water","bathroom"],sheet:[36,7],shortName:"shower"},{name:"Bathtub",unified:"1F6C1",keywords:["bathtub","clean","shower","bathroom"],sheet:[36,14],shortName:"bathtub"},{name:"Mouse Trap",unified:"1FAA4",keywords:["mouse trap","cheese"],sheet:[52,52],shortName:"mouse_trap"},{name:"Razor",unified:"1FA92",keywords:["razor","cut"],sheet:[52,34],shortName:"razor"},{name:"Lotion Bottle",unified:"1F9F4",keywords:["lotion_bottle","moisturizer","sunscreen"],sheet:[52,5],shortName:"lotion_bottle"},{name:"Safety Pin",unified:"1F9F7",keywords:["safety_pin","diaper"],sheet:[52,8],shortName:"safety_pin"},{name:"Broom",unified:"1F9F9",keywords:["broom","cleaning","sweeping","witch"],sheet:[52,10],shortName:"broom"},{name:"Basket",unified:"1F9FA",keywords:["basket","laundry"],sheet:[52,11],shortName:"basket"},{name:"Roll of Paper",unified:"1F9FB",keywords:["roll_of_paper","roll"],sheet:[52,12],shortName:"roll_of_paper"},{name:"Bucket",unified:"1FAA3",keywords:["bucket","water","container"],sheet:[52,51],shortName:"bucket"},{name:"Bar of Soap",unified:"1F9FC",keywords:["soap","bar","bathing","cleaning","lather"],sheet:[52,13],shortName:"soap"},{name:"Toothbrush",unified:"1FAA5",keywords:["toothbrush","hygiene","dental"],sheet:[52,53],shortName:"toothbrush"},{name:"Sponge",unified:"1F9FD",keywords:["sponge","absorbing","cleaning","porous"],sheet:[52,14],shortName:"sponge"},{name:"Fire Extinguisher",unified:"1F9EF",keywords:["fire_extinguisher","quench"],sheet:[52,0],shortName:"fire_extinguisher"},{name:"Shopping Trolley",unified:"1F6D2",keywords:["shopping_cart","trolley"],sheet:[36,31],shortName:"shopping_trolley"},{name:"Smoking Symbol",unified:"1F6AC",keywords:["cigarette","kills","tobacco","cigarette","joint","smoke"],sheet:[34,53],shortName:"smoking"},{name:"Coffin",unified:"26B0-FE0F",keywords:["coffin","vampire","dead","die","death","rip","graveyard","cemetery","casket","funeral","box"],sheet:[55,2],shortName:"coffin"},{name:"Headstone",unified:"1FAA6",keywords:["headstone","death","rip","grave"],sheet:[52,54],shortName:"headstone"},{name:"Funeral Urn",unified:"26B1-FE0F",keywords:["funeral_urn","dead","die","death","rip","ashes"],sheet:[55,3],shortName:"funeral_urn"},{name:"Moyai",unified:"1F5FF",keywords:["moai","rock","easter island","moai"],sheet:[30,31],shortName:"moyai"},{name:"Placard",unified:"1FAA7",keywords:["placard","announcement"],sheet:[52,55],shortName:"placard"},{name:"Automated Teller Machine",unified:"1F3E7",keywords:["atm_sign","money","sales","cash","blue-square","payment","bank"],sheet:[10,48],shortName:"atm"},{name:"Put Litter in Its Place Symbol",unified:"1F6AE",keywords:["litter_in_bin_sign","blue-square","sign","human","info"],sheet:[34,55],shortName:"put_litter_in_its_place"},{name:"Potable Water Symbol",unified:"1F6B0",keywords:["potable_water","blue-square","liquid","restroom","cleaning","faucet"],sheet:[34,57],shortName:"potable_water"},{name:"Wheelchair Symbol",unified:"267F",keywords:["wheelchair_symbol","blue-square","disabled","accessibility"],sheet:[54,45],shortName:"wheelchair"},{name:"Mens Symbol",unified:"1F6B9",keywords:["men_s_room","toilet","restroom","wc","blue-square","gender","male"],sheet:[36,1],shortName:"mens"},{name:"Womens Symbol",unified:"1F6BA",keywords:["women_s_room","purple-square","woman","female","toilet","loo","restroom","gender"],sheet:[36,2],shortName:"womens"},{name:"Restroom",unified:"1F6BB",keywords:["restroom","blue-square","toilet","refresh","wc","gender"],sheet:[36,3],shortName:"restroom"},{name:"Baby Symbol",unified:"1F6BC",keywords:["baby_symbol","orange-square","child"],sheet:[36,4],shortName:"baby_symbol"},{name:"Water Closet",unified:"1F6BE",keywords:["water_closet","toilet","restroom","blue-square"],sheet:[36,6],shortName:"wc"},{name:"Passport Control",unified:"1F6C2",keywords:["passport_control","custom","blue-square"],sheet:[36,15],shortName:"passport_control"},{name:"Customs",unified:"1F6C3",keywords:["customs","passport","border","blue-square"],sheet:[36,16],shortName:"customs"},{name:"Baggage Claim",unified:"1F6C4",keywords:["baggage_claim","blue-square","airport","transport"],sheet:[36,17],shortName:"baggage_claim"},{name:"Left Luggage",unified:"1F6C5",keywords:["left_luggage","blue-square","travel"],sheet:[36,18],shortName:"left_luggage"},{name:"Warning Sign",unified:"26A0-FE0F",keywords:["warning","exclamation","wip","alert","error","problem","issue"],sheet:[54,55],shortName:"warning"},{name:"Children Crossing",unified:"1F6B8",keywords:["children_crossing","school","warning","danger","sign","driving","yellow-diamond"],sheet:[36,0],shortName:"children_crossing"},{name:"No Entry",unified:"26D4",keywords:["no_entry","limit","security","privacy","bad","denied","stop","circle"],sheet:[55,13],shortName:"no_entry"},{name:"No Entry Sign",unified:"1F6AB",keywords:["prohibited","forbid","stop","limit","denied","disallow","circle"],sheet:[34,52],shortName:"no_entry_sign"},{name:"No Bicycles",unified:"1F6B3",keywords:["no_bicycles","cyclist","prohibited","circle"],sheet:[35,2],shortName:"no_bicycles"},{name:"No Smoking Symbol",unified:"1F6AD",keywords:["no_smoking","cigarette","blue-square","smell","smoke"],sheet:[34,54],shortName:"no_smoking"},{name:"Do Not Litter Symbol",unified:"1F6AF",keywords:["no_littering","trash","bin","garbage","circle"],sheet:[34,56],shortName:"do_not_litter"},{name:"Non-Potable Water Symbol",unified:"1F6B1",keywords:["non_potable_water","drink","faucet","tap","circle"],sheet:[35,0],shortName:"non-potable_water"},{name:"No Pedestrians",unified:"1F6B7",keywords:["no_pedestrians","rules","crossing","walking","circle"],sheet:[35,57],shortName:"no_pedestrians"},{name:"No Mobile Phones",unified:"1F4F5",keywords:["no_mobile_phones","iphone","mute","circle"],sheet:[27,18],shortName:"no_mobile_phones"},{name:"No One Under Eighteen Symbol",unified:"1F51E",keywords:["no_one_under_eighteen","18","drink","pub","night","minor","circle"],sheet:[28,0],shortName:"underage"},{name:"Radioactive",unified:"2622-FE0F",keywords:["radioactive","nuclear","danger"],sheet:[54,14],shortName:"radioactive_sign"},{name:"Biohazard",unified:"2623-FE0F",keywords:["biohazard","danger"],sheet:[54,15],shortName:"biohazard_sign"},{name:"Upwards Black Arrow",unified:"2B06-FE0F",keywords:["up_arrow","blue-square","continue","top","direction"],sheet:[56,42],shortName:"arrow_up"},{name:"North East Arrow",unified:"2197-FE0F",keywords:["up_right_arrow","blue-square","point","direction","diagonal","northeast"],sheet:[53,23],shortName:"arrow_upper_right"},{name:"Black Rightwards Arrow",unified:"27A1-FE0F",keywords:["right_arrow","blue-square","next"],sheet:[56,36],shortName:"arrow_right"},{name:"South East Arrow",unified:"2198-FE0F",keywords:["down_right_arrow","blue-square","direction","diagonal","southeast"],sheet:[53,24],shortName:"arrow_lower_right"},{name:"Downwards Black Arrow",unified:"2B07-FE0F",keywords:["down_arrow","blue-square","direction","bottom"],sheet:[56,43],shortName:"arrow_down"},{name:"South West Arrow",unified:"2199-FE0F",keywords:["down_left_arrow","blue-square","direction","diagonal","southwest"],sheet:[53,25],shortName:"arrow_lower_left"},{name:"Leftwards Black Arrow",unified:"2B05-FE0F",keywords:["left_arrow","blue-square","previous","back"],sheet:[56,41],shortName:"arrow_left"},{name:"North West Arrow",unified:"2196-FE0F",keywords:["up_left_arrow","blue-square","point","direction","diagonal","northwest"],sheet:[53,22],shortName:"arrow_upper_left"},{name:"Up Down Arrow",unified:"2195-FE0F",keywords:["up_down_arrow","blue-square","direction","way","vertical"],sheet:[53,21],shortName:"arrow_up_down"},{name:"Left Right Arrow",unified:"2194-FE0F",keywords:["left_right_arrow","shape","direction","horizontal","sideways"],sheet:[53,20],shortName:"left_right_arrow"},{name:"Leftwards Arrow with Hook",unified:"21A9-FE0F",keywords:["right_arrow_curving_left","back","return","blue-square","undo","enter"],sheet:[53,26],shortName:"leftwards_arrow_with_hook"},{name:"Rightwards Arrow with Hook",unified:"21AA-FE0F",keywords:["left_arrow_curving_right","blue-square","return","rotate","direction"],sheet:[53,27],shortName:"arrow_right_hook"},{name:"Arrow Pointing Rightwards Then Curving Upwards",unified:"2934-FE0F",keywords:["right_arrow_curving_up","blue-square","direction","top"],sheet:[56,39],shortName:"arrow_heading_up"},{name:"Arrow Pointing Rightwards Then Curving Downwards",unified:"2935-FE0F",keywords:["right_arrow_curving_down","blue-square","direction","bottom"],sheet:[56,40],shortName:"arrow_heading_down"},{name:"Clockwise Downwards and Upwards Open Circle Arrows",unified:"1F503",keywords:["clockwise_vertical_arrows","sync","cycle","round","repeat"],sheet:[27,31],shortName:"arrows_clockwise"},{name:"Anticlockwise Downwards and Upwards Open Circle Arrows",unified:"1F504",keywords:["counterclockwise_arrows_button","blue-square","sync","cycle"],sheet:[27,32],shortName:"arrows_counterclockwise"},{name:"Back with Leftwards Arrow Above",unified:"1F519",keywords:["back_arrow","arrow","words","return"],sheet:[27,53],shortName:"back"},{name:"End with Leftwards Arrow Above",unified:"1F51A",keywords:["end_arrow","words","arrow"],sheet:[27,54],shortName:"end"},{name:"On with Exclamation Mark with Left Right Arrow Above",unified:"1F51B",keywords:["on_arrow","arrow","words"],sheet:[27,55],shortName:"on"},{name:"Soon with Rightwards Arrow Above",unified:"1F51C",keywords:["soon_arrow","arrow","words"],sheet:[27,56],shortName:"soon"},{name:"Top with Upwards Arrow Above",unified:"1F51D",keywords:["top_arrow","words","blue-square"],sheet:[27,57],shortName:"top"},{name:"Place of Worship",unified:"1F6D0",keywords:["place_of_worship","religion","church","temple","prayer"],sheet:[36,29],shortName:"place_of_worship"},{name:"Atom Symbol",unified:"269B-FE0F",keywords:["atom_symbol","science","physics","chemistry"],sheet:[54,53],shortName:"atom_symbol"},{name:"Om",unified:"1F549-FE0F",keywords:["om","hinduism","buddhism","sikhism","jainism"],sheet:[28,32],shortName:"om_symbol"},{name:"Star of David",unified:"2721-FE0F",keywords:["star_of_david","judaism"],sheet:[56,19],shortName:"star_of_david"},{name:"Wheel of Dharma",unified:"2638-FE0F",keywords:["wheel_of_dharma","hinduism","buddhism","sikhism","jainism"],sheet:[54,20],shortName:"wheel_of_dharma"},{name:"Yin Yang",unified:"262F-FE0F",keywords:["yin_yang","balance"],sheet:[54,19],shortName:"yin_yang"},{name:"Latin Cross",unified:"271D-FE0F",keywords:["latin_cross","christianity"],sheet:[56,18],shortName:"latin_cross"},{name:"Orthodox Cross",unified:"2626-FE0F",keywords:["orthodox_cross","suppedaneum","religion"],sheet:[54,16],shortName:"orthodox_cross"},{name:"Star and Crescent",unified:"262A-FE0F",keywords:["star_and_crescent","islam"],sheet:[54,17],shortName:"star_and_crescent"},{name:"Peace Symbol",unified:"262E-FE0F",keywords:["peace_symbol","hippie"],sheet:[54,18],shortName:"peace_symbol"},{name:"Menorah with Nine Branches",unified:"1F54E",keywords:["menorah","hanukkah","candles","jewish"],sheet:[28,37],shortName:"menorah_with_nine_branches"},{name:"Six Pointed Star with Middle Dot",unified:"1F52F",keywords:["dotted_six_pointed_star","purple-square","religion","jewish","hexagram"],sheet:[28,17],shortName:"six_pointed_star"},{name:"Aries",unified:"2648",keywords:["aries","sign","purple-square","zodiac","astrology"],sheet:[54,25],shortName:"aries"},{name:"Taurus",unified:"2649",keywords:["taurus","purple-square","sign","zodiac","astrology"],sheet:[54,26],shortName:"taurus"},{name:"Gemini",unified:"264A",keywords:["gemini","sign","zodiac","purple-square","astrology"],sheet:[54,27],shortName:"gemini"},{name:"Cancer",unified:"264B",keywords:["cancer","sign","zodiac","purple-square","astrology"],sheet:[54,28],shortName:"cancer"},{name:"Leo",unified:"264C",keywords:["leo","sign","purple-square","zodiac","astrology"],sheet:[54,29],shortName:"leo"},{name:"Virgo",unified:"264D",keywords:["virgo","sign","zodiac","purple-square","astrology"],sheet:[54,30],shortName:"virgo"},{name:"Libra",unified:"264E",keywords:["libra","sign","purple-square","zodiac","astrology"],sheet:[54,31],shortName:"libra"},{name:"Scorpius",unified:"264F",keywords:["scorpio","sign","zodiac","purple-square","astrology","scorpio"],sheet:[54,32],shortName:"scorpius"},{name:"Sagittarius",unified:"2650",keywords:["sagittarius","sign","zodiac","purple-square","astrology"],sheet:[54,33],shortName:"sagittarius"},{name:"Capricorn",unified:"2651",keywords:["capricorn","sign","zodiac","purple-square","astrology"],sheet:[54,34],shortName:"capricorn"},{name:"Aquarius",unified:"2652",keywords:["aquarius","sign","purple-square","zodiac","astrology"],sheet:[54,35],shortName:"aquarius"},{name:"Pisces",unified:"2653",keywords:["pisces","purple-square","sign","zodiac","astrology"],sheet:[54,36],shortName:"pisces"},{name:"Ophiuchus",unified:"26CE",keywords:["ophiuchus","sign","purple-square","constellation","astrology"],sheet:[55,9],shortName:"ophiuchus"},{name:"Twisted Rightwards Arrows",unified:"1F500",keywords:["shuffle_tracks_button","blue-square","shuffle","music","random"],sheet:[27,28],shortName:"twisted_rightwards_arrows"},{name:"Clockwise Rightwards and Leftwards Open Circle Arrows",unified:"1F501",keywords:["repeat_button","loop","record"],sheet:[27,29],shortName:"repeat"},{name:"Clockwise Rightwards and Leftwards Open Circle Arrows with Circled One Overlay",unified:"1F502",keywords:["repeat_single_button","blue-square","loop"],sheet:[27,30],shortName:"repeat_one"},{name:"Black Right-Pointing Triangle",unified:"25B6-FE0F",keywords:["play_button","blue-square","right","direction","play"],sheet:[53,49],shortName:"arrow_forward"},{name:"Black Right-Pointing Double Triangle",unified:"23E9",keywords:["fast_forward_button","blue-square","play","speed","continue"],sheet:[53,32],shortName:"fast_forward"},{name:"Next Track Button",unified:"23ED-FE0F",keywords:["next_track_button","forward","next","blue-square"],sheet:[53,36],shortName:"black_right_pointing_double_triangle_with_vertical_bar"},{name:"Play or Pause Button",unified:"23EF-FE0F",keywords:["play_or_pause_button","blue-square","play","pause"],sheet:[53,38],shortName:"black_right_pointing_triangle_with_double_vertical_bar"},{name:"Black Left-Pointing Triangle",unified:"25C0-FE0F",keywords:["reverse_button","blue-square","left","direction"],sheet:[53,50],shortName:"arrow_backward"},{name:"Black Left-Pointing Double Triangle",unified:"23EA",keywords:["fast_reverse_button","play","blue-square"],sheet:[53,33],shortName:"rewind"},{name:"Last Track Button",unified:"23EE-FE0F",keywords:["last_track_button","backward"],sheet:[53,37],shortName:"black_left_pointing_double_triangle_with_vertical_bar"},{name:"Up-Pointing Small Red Triangle",unified:"1F53C",keywords:["upwards_button","blue-square","triangle","direction","point","forward","top"],sheet:[28,30],shortName:"arrow_up_small"},{name:"Black Up-Pointing Double Triangle",unified:"23EB",keywords:["fast_up_button","blue-square","direction","top"],sheet:[53,34],shortName:"arrow_double_up"},{name:"Down-Pointing Small Red Triangle",unified:"1F53D",keywords:["downwards_button","blue-square","direction","bottom"],sheet:[28,31],shortName:"arrow_down_small"},{name:"Black Down-Pointing Double Triangle",unified:"23EC",keywords:["fast_down_button","blue-square","direction","bottom"],sheet:[53,35],shortName:"arrow_double_down"},{name:"Pause Button",unified:"23F8-FE0F",keywords:["pause_button","pause","blue-square"],sheet:[53,43],shortName:"double_vertical_bar"},{name:"Stop Button",unified:"23F9-FE0F",keywords:["stop_button","blue-square"],sheet:[53,44],shortName:"black_square_for_stop"},{name:"Record Button",unified:"23FA-FE0F",keywords:["record_button","blue-square"],sheet:[53,45],shortName:"black_circle_for_record"},{name:"Eject Button",unified:"23CF-FE0F",keywords:["eject_button","blue-square"],sheet:[53,31],shortName:"eject"},{name:"Cinema",unified:"1F3A6",keywords:["cinema","blue-square","record","film","movie","curtain","stage","theater"],sheet:[8,4],shortName:"cinema"},{name:"Low Brightness Symbol",unified:"1F505",keywords:["dim_button","sun","afternoon","warm","summer"],sheet:[27,33],shortName:"low_brightness"},{name:"High Brightness Symbol",unified:"1F506",keywords:["bright_button","sun","light"],sheet:[27,34],shortName:"high_brightness"},{name:"Antenna with Bars",unified:"1F4F6",keywords:["antenna_bars","blue-square","reception","phone","internet","connection","wifi","bluetooth","bars"],sheet:[27,19],shortName:"signal_strength"},{name:"Vibration Mode",unified:"1F4F3",keywords:["vibration_mode","orange-square","phone"],sheet:[27,16],shortName:"vibration_mode"},{name:"Mobile Phone off",unified:"1F4F4",keywords:["mobile_phone_off","mute","orange-square","silence","quiet"],sheet:[27,17],shortName:"mobile_phone_off"},{name:"Female Sign",unified:"2640-FE0F",keywords:["female_sign","woman","women","lady","girl"],sheet:[54,23],hidden:["apple"],shortName:"female_sign"},{name:"Male Sign",unified:"2642-FE0F",keywords:["male_sign","man","boy","men"],sheet:[54,24],hidden:["apple"],shortName:"male_sign"},{name:"Transgender Symbol",unified:"26A7-FE0F",keywords:["transgender symbol","lgbtq"],sheet:[54,57],shortName:"transgender_symbol"},{name:"Heavy Multiplication X",unified:"2716-FE0F",keywords:["multiplication_sign","math","calculation"],sheet:[56,17],shortName:"heavy_multiplication_x"},{name:"Heavy Plus Sign",unified:"2795",keywords:["plus_sign","math","calculation","addition","more","increase"],sheet:[56,33],shortName:"heavy_plus_sign"},{name:"Heavy Minus Sign",unified:"2796",keywords:["minus_sign","math","calculation","subtract","less"],sheet:[56,34],shortName:"heavy_minus_sign"},{name:"Heavy Division Sign",unified:"2797",keywords:["division_sign","divide","math","calculation"],sheet:[56,35],shortName:"heavy_division_sign"},{name:"Infinity",unified:"267E-FE0F",keywords:["infinity","forever"],sheet:[54,44],shortName:"infinity"},{name:"Double Exclamation Mark",unified:"203C-FE0F",keywords:["double_exclamation_mark","exclamation","surprise"],sheet:[53,16],shortName:"bangbang"},{name:"Exclamation Question Mark",unified:"2049-FE0F",keywords:["exclamation_question_mark","wat","punctuation","surprise"],sheet:[53,17],shortName:"interrobang"},{name:"Black Question Mark Ornament",unified:"2753",keywords:["question_mark","doubt","confused"],sheet:[56,27],shortName:"question"},{name:"White Question Mark Ornament",unified:"2754",keywords:["white_question_mark","doubts","gray","huh","confused"],sheet:[56,28],shortName:"grey_question"},{name:"White Exclamation Mark Ornament",unified:"2755",keywords:["white_exclamation_mark","surprise","punctuation","gray","wow","warning"],sheet:[56,29],shortName:"grey_exclamation"},{name:"Heavy Exclamation Mark Symbol",unified:"2757",keywords:["exclamation_mark","heavy_exclamation_mark","danger","surprise","punctuation","wow","warning"],sheet:[56,30],shortNames:["heavy_exclamation_mark"],shortName:"exclamation"},{name:"Wavy Dash",unified:"3030-FE0F",keywords:["wavy_dash","draw","line","moustache","mustache","squiggle","scribble"],sheet:[56,48],shortName:"wavy_dash"},{name:"Currency Exchange",unified:"1F4B1",keywords:["currency_exchange","money","sales","dollar","travel"],sheet:[26,8],shortName:"currency_exchange"},{name:"Heavy Dollar Sign",unified:"1F4B2",keywords:["heavy_dollar_sign","money","sales","payment","currency","buck"],sheet:[26,9],shortName:"heavy_dollar_sign"},{name:"Medical Symbol",unified:"2695-FE0F",keywords:["medical_symbol","health","hospital"],sheet:[54,49],hidden:["apple"],shortNames:["staff_of_aesculapius"],shortName:"medical_symbol"},{name:"Black Universal Recycling Symbol",unified:"267B-FE0F",keywords:["recycling_symbol","arrow","environment","garbage","trash"],sheet:[54,43],shortName:"recycle"},{name:"Fleur-De-Lis",unified:"269C-FE0F",keywords:["fleur_de_lis","decorative","scout"],sheet:[54,54],shortName:"fleur_de_lis"},{name:"Trident Emblem",unified:"1F531",keywords:["trident_emblem","weapon","spear"],sheet:[28,19],shortName:"trident"},{name:"Name Badge",unified:"1F4DB",keywords:["name_badge","fire","forbid"],sheet:[26,50],shortName:"name_badge"},{name:"Japanese Symbol for Beginner",unified:"1F530",keywords:["japanese_symbol_for_beginner","badge","shield"],sheet:[28,18],shortName:"beginner"},{name:"Heavy Large Circle",unified:"2B55",keywords:["hollow_red_circle","circle","round"],sheet:[56,47],shortName:"o"},{name:"White Heavy Check Mark",unified:"2705",keywords:["check_mark_button","green-square","ok","agree","vote","election","answer","tick"],sheet:[55,45],shortName:"white_check_mark"},{name:"Ballot Box with Check",unified:"2611-FE0F",keywords:["check_box_with_check","ok","agree","confirm","black-square","vote","election","yes","tick"],sheet:[54,3],shortName:"ballot_box_with_check"},{name:"Heavy Check Mark",unified:"2714-FE0F",keywords:["check_mark","ok","nike","answer","yes","tick"],sheet:[56,16],shortName:"heavy_check_mark"},{name:"Cross Mark",unified:"274C",keywords:["cross_mark","no","delete","remove","cancel","red"],sheet:[56,25],shortName:"x"},{name:"Negative Squared Cross Mark",unified:"274E",keywords:["cross_mark_button","x","green-square","no","deny"],sheet:[56,26],shortName:"negative_squared_cross_mark"},{name:"Curly Loop",unified:"27B0",keywords:["curly_loop","scribble","draw","shape","squiggle"],sheet:[56,37],shortName:"curly_loop"},{name:"Double Curly Loop",unified:"27BF",keywords:["double_curly_loop","tape","cassette"],sheet:[56,38],shortName:"loop"},{name:"Part Alternation Mark",unified:"303D-FE0F",keywords:["part_alternation_mark","graph","presentation","stats","business","economics","bad"],sheet:[56,49],shortName:"part_alternation_mark"},{name:"Eight Spoked Asterisk",unified:"2733-FE0F",keywords:["eight_spoked_asterisk","star","sparkle","green-square"],sheet:[56,21],shortName:"eight_spoked_asterisk"},{name:"Eight Pointed Black Star",unified:"2734-FE0F",keywords:["eight_pointed_star","orange-square","shape","polygon"],sheet:[56,22],shortName:"eight_pointed_black_star"},{name:"Sparkle",unified:"2747-FE0F",keywords:["sparkle","stars","green-square","awesome","good","fireworks"],sheet:[56,24],shortName:"sparkle"},{name:"Copyright Sign",unified:"00A9-FE0F",keywords:["copyright","ip","license","circle","law","legal"],sheet:[0,12],hidden:["facebook"],shortName:"copyright"},{name:"Registered Sign",unified:"00AE-FE0F",keywords:["registered","alphabet","circle"],sheet:[0,13],hidden:["facebook"],shortName:"registered"},{name:"Trade Mark Sign",unified:"2122-FE0F",keywords:["trade_mark","trademark","brand","law","legal"],sheet:[53,18],shortName:"tm"},{name:"Hash Key",unified:"0023-FE0F-20E3",keywords:["keycap_","symbol","blue-square","twitter"],sheet:[0,0],hidden:["facebook"],shortName:"hash"},{name:"Keycap: *",unified:"002A-FE0F-20E3",keywords:["keycap_","star","keycap"],sheet:[0,1],hidden:["facebook"],shortName:"keycap_star"},{name:"Keycap 0",unified:"0030-FE0F-20E3",keywords:["keycap_0","0","numbers","blue-square","null"],sheet:[0,2],hidden:["facebook"],shortName:"zero"},{name:"Keycap 1",unified:"0031-FE0F-20E3",keywords:["keycap_1","blue-square","numbers","1"],sheet:[0,3],hidden:["facebook"],shortName:"one"},{name:"Keycap 2",unified:"0032-FE0F-20E3",keywords:["keycap_2","numbers","2","prime","blue-square"],sheet:[0,4],hidden:["facebook"],shortName:"two"},{name:"Keycap 3",unified:"0033-FE0F-20E3",keywords:["keycap_3","3","numbers","prime","blue-square"],sheet:[0,5],hidden:["facebook"],shortName:"three"},{name:"Keycap 4",unified:"0034-FE0F-20E3",keywords:["keycap_4","4","numbers","blue-square"],sheet:[0,6],hidden:["facebook"],shortName:"four"},{name:"Keycap 5",unified:"0035-FE0F-20E3",keywords:["keycap_5","5","numbers","blue-square","prime"],sheet:[0,7],hidden:["facebook"],shortName:"five"},{name:"Keycap 6",unified:"0036-FE0F-20E3",keywords:["keycap_6","6","numbers","blue-square"],sheet:[0,8],hidden:["facebook"],shortName:"six"},{name:"Keycap 7",unified:"0037-FE0F-20E3",keywords:["keycap_7","7","numbers","blue-square","prime"],sheet:[0,9],hidden:["facebook"],shortName:"seven"},{name:"Keycap 8",unified:"0038-FE0F-20E3",keywords:["keycap_8","8","blue-square","numbers"],sheet:[0,10],hidden:["facebook"],shortName:"eight"},{name:"Keycap 9",unified:"0039-FE0F-20E3",keywords:["keycap_9","blue-square","numbers","9"],sheet:[0,11],hidden:["facebook"],shortName:"nine"},{name:"Keycap Ten",unified:"1F51F",keywords:["keycap_10","numbers","10","blue-square"],sheet:[28,1],shortName:"keycap_ten"},{name:"Input Symbol for Latin Capital Letters",unified:"1F520",keywords:["input_latin_uppercase","alphabet","words","blue-square"],sheet:[28,2],shortName:"capital_abcd"},{name:"Input Symbol for Latin Small Letters",unified:"1F521",keywords:["input_latin_lowercase","blue-square","alphabet"],sheet:[28,3],shortName:"abcd"},{name:"Input Symbol for Numbers",unified:"1F522",keywords:["input_numbers","numbers","blue-square"],sheet:[28,4],shortName:"1234"},{name:"Input Symbol for Symbols",unified:"1F523",keywords:["input_symbols","blue-square","music","note","ampersand","percent","glyphs","characters"],sheet:[28,5],shortName:"symbols"},{name:"Input Symbol for Latin Letters",unified:"1F524",keywords:["input_latin_letters","blue-square","alphabet"],sheet:[28,6],shortName:"abc"},{name:"Negative Squared Latin Capital Letter a",unified:"1F170-FE0F",keywords:["a_button","red-square","alphabet","letter"],sheet:[0,16],shortName:"a"},{name:"Negative Squared Ab",unified:"1F18E",keywords:["ab_button","red-square","alphabet"],sheet:[0,20],shortName:"ab"},{name:"Negative Squared Latin Capital Letter B",unified:"1F171-FE0F",keywords:["b_button","red-square","alphabet","letter"],sheet:[0,17],shortName:"b"},{name:"Squared Cl",unified:"1F191",keywords:["cl_button","alphabet","words","red-square"],sheet:[0,21],shortName:"cl"},{name:"Squared Cool",unified:"1F192",keywords:["cool_button","words","blue-square"],sheet:[0,22],shortName:"cool"},{name:"Squared Free",unified:"1F193",keywords:["free_button","blue-square","words"],sheet:[0,23],shortName:"free"},{name:"Information Source",unified:"2139-FE0F",keywords:["information","blue-square","alphabet","letter"],sheet:[53,19],shortName:"information_source"},{name:"Squared Id",unified:"1F194",keywords:["id_button","purple-square","words"],sheet:[0,24],shortName:"id"},{name:"Circled Latin Capital Letter M",unified:"24C2-FE0F",keywords:["circled_m","alphabet","blue-circle","letter"],sheet:[53,46],shortName:"m"},{name:"Squared New",unified:"1F195",keywords:["new_button","blue-square","words","start"],sheet:[0,25],shortName:"new"},{name:"Squared Ng",unified:"1F196",keywords:["ng_button","blue-square","words","shape","icon"],sheet:[0,26],shortName:"ng"},{name:"Negative Squared Latin Capital Letter O",unified:"1F17E-FE0F",keywords:["o_button","alphabet","red-square","letter"],sheet:[0,18],shortName:"o2"},{name:"Squared Ok",unified:"1F197",keywords:["ok_button","good","agree","yes","blue-square"],sheet:[0,27],shortName:"ok"},{name:"Negative Squared Latin Capital Letter P",unified:"1F17F-FE0F",keywords:["p_button","cars","blue-square","alphabet","letter"],sheet:[0,19],shortName:"parking"},{name:"Squared Sos",unified:"1F198",keywords:["sos_button","help","red-square","words","emergency","911"],sheet:[0,28],shortName:"sos"},{name:"Squared Up with Exclamation Mark",unified:"1F199",keywords:["up_button","blue-square","above","high"],sheet:[0,29],shortName:"up"},{name:"Squared Vs",unified:"1F19A",keywords:["vs_button","words","orange-square"],sheet:[0,30],shortName:"vs"},{name:"Squared Katakana Koko",unified:"1F201",keywords:["japanese_here_button","blue-square","here","katakana","japanese","destination"],sheet:[4,57],shortName:"koko"},{name:"Squared Katakana Sa",unified:"1F202-FE0F",keywords:["japanese_service_charge_button","japanese","blue-square","katakana"],sheet:[5,0],shortName:"sa"},{name:"Squared Cjk Unified Ideograph-6708",unified:"1F237-FE0F",keywords:["japanese_monthly_amount_button","chinese","month","moon","japanese","orange-square","kanji"],sheet:[5,8],shortName:"u6708"},{name:"Squared Cjk Unified Ideograph-6709",unified:"1F236",keywords:["japanese_not_free_of_charge_button","orange-square","chinese","have","kanji"],sheet:[5,7],shortName:"u6709"},{name:"Squared Cjk Unified Ideograph-6307",unified:"1F22F",keywords:["japanese_reserved_button","chinese","point","green-square","kanji"],sheet:[5,2],shortName:"u6307"},{name:"Circled Ideograph Advantage",unified:"1F250",keywords:["japanese_bargain_button","chinese","kanji","obtain","get","circle"],sheet:[5,12],shortName:"ideograph_advantage"},{name:"Squared Cjk Unified Ideograph-5272",unified:"1F239",keywords:["japanese_discount_button","cut","divide","chinese","kanji","pink-square"],sheet:[5,10],shortName:"u5272"},{name:"Squared Cjk Unified Ideograph-7121",unified:"1F21A",keywords:["japanese_free_of_charge_button","nothing","chinese","kanji","japanese","orange-square"],sheet:[5,1],shortName:"u7121"},{name:"Squared Cjk Unified Ideograph-7981",unified:"1F232",keywords:["japanese_prohibited_button","kanji","japanese","chinese","forbidden","limit","restricted","red-square"],sheet:[5,3],shortName:"u7981"},{name:"Circled Ideograph Accept",unified:"1F251",keywords:["japanese_acceptable_button","ok","good","chinese","kanji","agree","yes","orange-circle"],sheet:[5,13],shortName:"accept"},{name:"Squared Cjk Unified Ideograph-7533",unified:"1F238",keywords:["japanese_application_button","chinese","japanese","kanji","orange-square"],sheet:[5,9],shortName:"u7533"},{name:"Squared Cjk Unified Ideograph-5408",unified:"1F234",keywords:["japanese_passing_grade_button","japanese","chinese","join","kanji","red-square"],sheet:[5,5],shortName:"u5408"},{name:"Squared Cjk Unified Ideograph-7a7a",unified:"1F233",keywords:["japanese_vacancy_button","kanji","japanese","chinese","empty","sky","blue-square"],sheet:[5,4],shortName:"u7a7a"},{name:"Circled Ideograph Congratulation",unified:"3297-FE0F",keywords:["japanese_congratulations_button","chinese","kanji","japanese","red-circle"],sheet:[56,50],shortName:"congratulations"},{name:"Circled Ideograph Secret",unified:"3299-FE0F",keywords:["japanese_secret_button","privacy","chinese","sshh","kanji","red-circle"],sheet:[56,51],shortName:"secret"},{name:"Squared Cjk Unified Ideograph-55b6",unified:"1F23A",keywords:["japanese_open_for_business_button","japanese","opening hours","orange-square"],sheet:[5,11],shortName:"u55b6"},{name:"Squared Cjk Unified Ideograph-6e80",unified:"1F235",keywords:["japanese_no_vacancy_button","full","chinese","japanese","red-square","kanji"],sheet:[5,6],shortName:"u6e80"},{name:"Large Red Circle",unified:"1F534",keywords:["red_circle","shape","error","danger"],sheet:[28,22],shortName:"red_circle"},{name:"Large Orange Circle",unified:"1F7E0",keywords:["orange_circle","round"],sheet:[36,55],shortName:"large_orange_circle"},{name:"Large Yellow Circle",unified:"1F7E1",keywords:["yellow_circle","round"],sheet:[36,56],shortName:"large_yellow_circle"},{name:"Large Green Circle",unified:"1F7E2",keywords:["green_circle","round"],sheet:[36,57],shortName:"large_green_circle"},{name:"Large Blue Circle",unified:"1F535",keywords:["blue_circle","shape","icon","button"],sheet:[28,23],shortName:"large_blue_circle"},{name:"Large Purple Circle",unified:"1F7E3",keywords:["purple_circle","round"],sheet:[37,0],shortName:"large_purple_circle"},{name:"Large Brown Circle",unified:"1F7E4",keywords:["brown_circle","round"],sheet:[37,1],shortName:"large_brown_circle"},{name:"Medium Black Circle",unified:"26AB",keywords:["black_circle","shape","button","round"],sheet:[55,1],shortName:"black_circle"},{name:"Medium White Circle",unified:"26AA",keywords:["white_circle","shape","round"],sheet:[55,0],shortName:"white_circle"},{name:"Large Red Square",unified:"1F7E5",keywords:["red_square"],sheet:[37,2],shortName:"large_red_square"},{name:"Large Orange Square",unified:"1F7E7",keywords:["orange_square"],sheet:[37,4],shortName:"large_orange_square"},{name:"Large Yellow Square",unified:"1F7E8",keywords:["yellow_square"],sheet:[37,5],shortName:"large_yellow_square"},{name:"Large Green Square",unified:"1F7E9",keywords:["green_square"],sheet:[37,6],shortName:"large_green_square"},{name:"Large Blue Square",unified:"1F7E6",keywords:["blue_square"],sheet:[37,3],shortName:"large_blue_square"},{name:"Large Purple Square",unified:"1F7EA",keywords:["purple_square"],sheet:[37,7],shortName:"large_purple_square"},{name:"Large Brown Square",unified:"1F7EB",keywords:["brown_square"],sheet:[37,8],shortName:"large_brown_square"},{name:"Black Large Square",unified:"2B1B",keywords:["black_large_square","shape","icon","button"],sheet:[56,44],shortName:"black_large_square"},{name:"White Large Square",unified:"2B1C",keywords:["white_large_square","shape","icon","stone","button"],sheet:[56,45],shortName:"white_large_square"},{name:"Black Medium Square",unified:"25FC-FE0F",keywords:["black_medium_square","shape","button","icon"],sheet:[53,52],shortName:"black_medium_square"},{name:"White Medium Square",unified:"25FB-FE0F",keywords:["white_medium_square","shape","stone","icon"],sheet:[53,51],shortName:"white_medium_square"},{name:"Black Medium Small Square",unified:"25FE",keywords:["black_medium_small_square","icon","shape","button"],sheet:[53,54],shortName:"black_medium_small_square"},{name:"White Medium Small Square",unified:"25FD",keywords:["white_medium_small_square","shape","stone","icon","button"],sheet:[53,53],shortName:"white_medium_small_square"},{name:"Black Small Square",unified:"25AA-FE0F",keywords:["black_small_square","shape","icon"],sheet:[53,47],shortName:"black_small_square"},{name:"White Small Square",unified:"25AB-FE0F",keywords:["white_small_square","shape","icon"],sheet:[53,48],shortName:"white_small_square"},{name:"Large Orange Diamond",unified:"1F536",keywords:["large_orange_diamond","shape","jewel","gem"],sheet:[28,24],shortName:"large_orange_diamond"},{name:"Large Blue Diamond",unified:"1F537",keywords:["large_blue_diamond","shape","jewel","gem"],sheet:[28,25],shortName:"large_blue_diamond"},{name:"Small Orange Diamond",unified:"1F538",keywords:["small_orange_diamond","shape","jewel","gem"],sheet:[28,26],shortName:"small_orange_diamond"},{name:"Small Blue Diamond",unified:"1F539",keywords:["small_blue_diamond","shape","jewel","gem"],sheet:[28,27],shortName:"small_blue_diamond"},{name:"Up-Pointing Red Triangle",unified:"1F53A",keywords:["red_triangle_pointed_up","shape","direction","up","top"],sheet:[28,28],shortName:"small_red_triangle"},{name:"Down-Pointing Red Triangle",unified:"1F53B",keywords:["red_triangle_pointed_down","shape","direction","bottom"],sheet:[28,29],shortName:"small_red_triangle_down"},{name:"Diamond Shape with a Dot Inside",unified:"1F4A0",keywords:["diamond_with_a_dot","jewel","blue","gem","crystal","fancy"],sheet:[25,44],shortName:"diamond_shape_with_a_dot_inside"},{name:"Radio Button",unified:"1F518",keywords:["radio_button","input","old","music","circle"],sheet:[27,52],shortName:"radio_button"},{name:"White Square Button",unified:"1F533",keywords:["white_square_button","shape","input"],sheet:[28,21],shortName:"white_square_button"},{name:"Black Square Button",unified:"1F532",keywords:["black_square_button","shape","input","frame"],sheet:[28,20],shortName:"black_square_button"},{name:"Chequered Flag",unified:"1F3C1",keywords:["chequered_flag","contest","finishline","race","gokart"],sheet:[8,31],shortName:"checkered_flag"},{name:"Triangular Flag on Post",unified:"1F6A9",keywords:["triangular_flag","mark","milestone","place"],sheet:[34,50],shortName:"triangular_flag_on_post"},{name:"Crossed Flags",unified:"1F38C",keywords:["crossed_flags","japanese","nation","country","border"],sheet:[7,41],shortName:"crossed_flags"},{name:"Waving Black Flag",unified:"1F3F4",keywords:["black_flag","pirate"],sheet:[11,7],shortName:"waving_black_flag"},{name:"White Flag",unified:"1F3F3-FE0F",keywords:["white_flag","losing","loser","lost","surrender","give up","fail"],sheet:[11,2],shortName:"waving_white_flag"},{name:"Rainbow Flag",unified:"1F3F3-FE0F-200D-1F308",keywords:["rainbow_flag","flag","rainbow","pride","gay","lgbt","glbt","queer","homosexual","lesbian","bisexual","transgender"],sheet:[11,0],shortName:"rainbow-flag"},{name:"Transgender Flag",unified:"1F3F3-FE0F-200D-26A7-FE0F",keywords:["transgender flag","lgbtq"],sheet:[11,1],hidden:["facebook"],shortName:"transgender_flag"},{name:"Pirate Flag",unified:"1F3F4-200D-2620-FE0F",keywords:["pirate_flag","skull","crossbones","flag","banner"],sheet:[11,3],shortName:"pirate_flag"},{name:"Ascension Island Flag",unified:"1F1E6-1F1E8",keywords:["flag_ascension_island"],sheet:[0,31],shortName:"flag-ac"},{name:"Andorra Flag",unified:"1F1E6-1F1E9",keywords:["flag_andorra","ad","flag","nation","country","banner"],sheet:[0,32],shortName:"flag-ad"},{name:"United Arab Emirates Flag",unified:"1F1E6-1F1EA",keywords:["flag_united_arab_emirates","united","arab","emirates","flag","nation","country","banner"],sheet:[0,33],shortName:"flag-ae"},{name:"Afghanistan Flag",unified:"1F1E6-1F1EB",keywords:["flag_afghanistan","af","flag","nation","country","banner"],sheet:[0,34],shortName:"flag-af"},{name:"Antigua & Barbuda Flag",unified:"1F1E6-1F1EC",keywords:["flag_antigua_barbuda","antigua","barbuda","flag","nation","country","banner"],sheet:[0,35],shortName:"flag-ag"},{name:"Anguilla Flag",unified:"1F1E6-1F1EE",keywords:["flag_anguilla","ai","flag","nation","country","banner"],sheet:[0,36],shortName:"flag-ai"},{name:"Albania Flag",unified:"1F1E6-1F1F1",keywords:["flag_albania","al","flag","nation","country","banner"],sheet:[0,37],shortName:"flag-al"},{name:"Armenia Flag",unified:"1F1E6-1F1F2",keywords:["flag_armenia","am","flag","nation","country","banner"],sheet:[0,38],shortName:"flag-am"},{name:"Angola Flag",unified:"1F1E6-1F1F4",keywords:["flag_angola","ao","flag","nation","country","banner"],sheet:[0,39],shortName:"flag-ao"},{name:"Antarctica Flag",unified:"1F1E6-1F1F6",keywords:["flag_antarctica","aq","flag","nation","country","banner"],sheet:[0,40],shortName:"flag-aq"},{name:"Argentina Flag",unified:"1F1E6-1F1F7",keywords:["flag_argentina","ar","flag","nation","country","banner"],sheet:[0,41],shortName:"flag-ar"},{name:"American Samoa Flag",unified:"1F1E6-1F1F8",keywords:["flag_american_samoa","american","ws","flag","nation","country","banner"],sheet:[0,42],shortName:"flag-as"},{name:"Austria Flag",unified:"1F1E6-1F1F9",keywords:["flag_austria","at","flag","nation","country","banner"],sheet:[0,43],shortName:"flag-at"},{name:"Australia Flag",unified:"1F1E6-1F1FA",keywords:["flag_australia","au","flag","nation","country","banner"],sheet:[0,44],shortName:"flag-au"},{name:"Aruba Flag",unified:"1F1E6-1F1FC",keywords:["flag_aruba","aw","flag","nation","country","banner"],sheet:[0,45],shortName:"flag-aw"},{name:"\xc5land Islands Flag",unified:"1F1E6-1F1FD",keywords:["flag_aland_islands","\xc5land","islands","flag","nation","country","banner"],sheet:[0,46],shortName:"flag-ax"},{name:"Azerbaijan Flag",unified:"1F1E6-1F1FF",keywords:["flag_azerbaijan","az","flag","nation","country","banner"],sheet:[0,47],shortName:"flag-az"},{name:"Bosnia & Herzegovina Flag",unified:"1F1E7-1F1E6",keywords:["flag_bosnia_herzegovina","bosnia","herzegovina","flag","nation","country","banner"],sheet:[0,48],shortName:"flag-ba"},{name:"Barbados Flag",unified:"1F1E7-1F1E7",keywords:["flag_barbados","bb","flag","nation","country","banner"],sheet:[0,49],shortName:"flag-bb"},{name:"Bangladesh Flag",unified:"1F1E7-1F1E9",keywords:["flag_bangladesh","bd","flag","nation","country","banner"],sheet:[0,50],shortName:"flag-bd"},{name:"Belgium Flag",unified:"1F1E7-1F1EA",keywords:["flag_belgium","be","flag","nation","country","banner"],sheet:[0,51],shortName:"flag-be"},{name:"Burkina Faso Flag",unified:"1F1E7-1F1EB",keywords:["flag_burkina_faso","burkina","faso","flag","nation","country","banner"],sheet:[0,52],shortName:"flag-bf"},{name:"Bulgaria Flag",unified:"1F1E7-1F1EC",keywords:["flag_bulgaria","bg","flag","nation","country","banner"],sheet:[0,53],shortName:"flag-bg"},{name:"Bahrain Flag",unified:"1F1E7-1F1ED",keywords:["flag_bahrain","bh","flag","nation","country","banner"],sheet:[0,54],shortName:"flag-bh"},{name:"Burundi Flag",unified:"1F1E7-1F1EE",keywords:["flag_burundi","bi","flag","nation","country","banner"],sheet:[0,55],shortName:"flag-bi"},{name:"Benin Flag",unified:"1F1E7-1F1EF",keywords:["flag_benin","bj","flag","nation","country","banner"],sheet:[0,56],shortName:"flag-bj"},{name:"St. Barth\xe9lemy Flag",unified:"1F1E7-1F1F1",keywords:["flag_st_barthelemy","saint","barth\xe9lemy","flag","nation","country","banner"],sheet:[0,57],shortName:"flag-bl"},{name:"Bermuda Flag",unified:"1F1E7-1F1F2",keywords:["flag_bermuda","bm","flag","nation","country","banner"],sheet:[1,0],shortName:"flag-bm"},{name:"Brunei Flag",unified:"1F1E7-1F1F3",keywords:["flag_brunei","bn","darussalam","flag","nation","country","banner"],sheet:[1,1],shortName:"flag-bn"},{name:"Bolivia Flag",unified:"1F1E7-1F1F4",keywords:["flag_bolivia","bo","flag","nation","country","banner"],sheet:[1,2],shortName:"flag-bo"},{name:"Caribbean Netherlands Flag",unified:"1F1E7-1F1F6",keywords:["flag_caribbean_netherlands","bonaire","flag","nation","country","banner"],sheet:[1,3],shortName:"flag-bq"},{name:"Brazil Flag",unified:"1F1E7-1F1F7",keywords:["flag_brazil","br","flag","nation","country","banner"],sheet:[1,4],shortName:"flag-br"},{name:"Bahamas Flag",unified:"1F1E7-1F1F8",keywords:["flag_bahamas","bs","flag","nation","country","banner"],sheet:[1,5],shortName:"flag-bs"},{name:"Bhutan Flag",unified:"1F1E7-1F1F9",keywords:["flag_bhutan","bt","flag","nation","country","banner"],sheet:[1,6],shortName:"flag-bt"},{name:"Bouvet Island Flag",unified:"1F1E7-1F1FB",keywords:["flag_bouvet_island","norway"],sheet:[1,7],shortName:"flag-bv"},{name:"Botswana Flag",unified:"1F1E7-1F1FC",keywords:["flag_botswana","bw","flag","nation","country","banner"],sheet:[1,8],shortName:"flag-bw"},{name:"Belarus Flag",unified:"1F1E7-1F1FE",keywords:["flag_belarus","by","flag","nation","country","banner"],sheet:[1,9],shortName:"flag-by"},{name:"Belize Flag",unified:"1F1E7-1F1FF",keywords:["flag_belize","bz","flag","nation","country","banner"],sheet:[1,10],shortName:"flag-bz"},{name:"Canada Flag",unified:"1F1E8-1F1E6",keywords:["flag_canada","ca","flag","nation","country","banner"],sheet:[1,11],shortName:"flag-ca"},{name:"Cocos (keeling) Islands Flag",unified:"1F1E8-1F1E8",keywords:["flag_cocos_islands","cocos","keeling","islands","flag","nation","country","banner"],sheet:[1,12],shortName:"flag-cc"},{name:"Congo - Kinshasa Flag",unified:"1F1E8-1F1E9",keywords:["flag_congo_kinshasa","congo","democratic","republic","flag","nation","country","banner"],sheet:[1,13],shortName:"flag-cd"},{name:"Central African Republic Flag",unified:"1F1E8-1F1EB",keywords:["flag_central_african_republic","central","african","republic","flag","nation","country","banner"],sheet:[1,14],shortName:"flag-cf"},{name:"Congo - Brazzaville Flag",unified:"1F1E8-1F1EC",keywords:["flag_congo_brazzaville","congo","flag","nation","country","banner"],sheet:[1,15],shortName:"flag-cg"},{name:"Switzerland Flag",unified:"1F1E8-1F1ED",keywords:["flag_switzerland","ch","flag","nation","country","banner"],sheet:[1,16],shortName:"flag-ch"},{name:"C\xf4te D\u2019ivoire Flag",unified:"1F1E8-1F1EE",keywords:["flag_cote_d_ivoire","ivory","coast","flag","nation","country","banner"],sheet:[1,17],shortName:"flag-ci"},{name:"Cook Islands Flag",unified:"1F1E8-1F1F0",keywords:["flag_cook_islands","cook","islands","flag","nation","country","banner"],sheet:[1,18],shortName:"flag-ck"},{name:"Chile Flag",unified:"1F1E8-1F1F1",keywords:["flag_chile","flag","nation","country","banner"],sheet:[1,19],shortName:"flag-cl"},{name:"Cameroon Flag",unified:"1F1E8-1F1F2",keywords:["flag_cameroon","cm","flag","nation","country","banner"],sheet:[1,20],shortName:"flag-cm"},{name:"China Flag",unified:"1F1E8-1F1F3",keywords:["flag_china","china","chinese","prc","flag","country","nation","banner"],sheet:[1,21],shortNames:["flag-cn"],shortName:"cn"},{name:"Colombia Flag",unified:"1F1E8-1F1F4",keywords:["flag_colombia","co","flag","nation","country","banner"],sheet:[1,22],shortName:"flag-co"},{name:"Clipperton Island Flag",unified:"1F1E8-1F1F5",keywords:["flag_clipperton_island"],sheet:[1,23],shortName:"flag-cp"},{name:"Costa Rica Flag",unified:"1F1E8-1F1F7",keywords:["flag_costa_rica","costa","rica","flag","nation","country","banner"],sheet:[1,24],shortName:"flag-cr"},{name:"Cuba Flag",unified:"1F1E8-1F1FA",keywords:["flag_cuba","cu","flag","nation","country","banner"],sheet:[1,25],shortName:"flag-cu"},{name:"Cape Verde Flag",unified:"1F1E8-1F1FB",keywords:["flag_cape_verde","cabo","verde","flag","nation","country","banner"],sheet:[1,26],shortName:"flag-cv"},{name:"Cura\xe7ao Flag",unified:"1F1E8-1F1FC",keywords:["flag_curacao","cura\xe7ao","flag","nation","country","banner"],sheet:[1,27],shortName:"flag-cw"},{name:"Christmas Island Flag",unified:"1F1E8-1F1FD",keywords:["flag_christmas_island","christmas","island","flag","nation","country","banner"],sheet:[1,28],shortName:"flag-cx"},{name:"Cyprus Flag",unified:"1F1E8-1F1FE",keywords:["flag_cyprus","cy","flag","nation","country","banner"],sheet:[1,29],shortName:"flag-cy"},{name:"Czechia Flag",unified:"1F1E8-1F1FF",keywords:["flag_czechia","cz","flag","nation","country","banner"],sheet:[1,30],shortName:"flag-cz"},{name:"Germany Flag",unified:"1F1E9-1F1EA",keywords:["flag_germany","german","nation","flag","country","banner"],sheet:[1,31],shortNames:["flag-de"],shortName:"de"},{name:"Diego Garcia Flag",unified:"1F1E9-1F1EC",keywords:["flag_diego_garcia"],sheet:[1,32],shortName:"flag-dg"},{name:"Djibouti Flag",unified:"1F1E9-1F1EF",keywords:["flag_djibouti","dj","flag","nation","country","banner"],sheet:[1,33],shortName:"flag-dj"},{name:"Denmark Flag",unified:"1F1E9-1F1F0",keywords:["flag_denmark","dk","flag","nation","country","banner"],sheet:[1,34],shortName:"flag-dk"},{name:"Dominica Flag",unified:"1F1E9-1F1F2",keywords:["flag_dominica","dm","flag","nation","country","banner"],sheet:[1,35],shortName:"flag-dm"},{name:"Dominican Republic Flag",unified:"1F1E9-1F1F4",keywords:["flag_dominican_republic","dominican","republic","flag","nation","country","banner"],sheet:[1,36],shortName:"flag-do"},{name:"Algeria Flag",unified:"1F1E9-1F1FF",keywords:["flag_algeria","dz","flag","nation","country","banner"],sheet:[1,37],shortName:"flag-dz"},{name:"Ceuta & Melilla Flag",unified:"1F1EA-1F1E6",keywords:["flag_ceuta_melilla"],sheet:[1,38],shortName:"flag-ea"},{name:"Ecuador Flag",unified:"1F1EA-1F1E8",keywords:["flag_ecuador","ec","flag","nation","country","banner"],sheet:[1,39],shortName:"flag-ec"},{name:"Estonia Flag",unified:"1F1EA-1F1EA",keywords:["flag_estonia","ee","flag","nation","country","banner"],sheet:[1,40],shortName:"flag-ee"},{name:"Egypt Flag",unified:"1F1EA-1F1EC",keywords:["flag_egypt","eg","flag","nation","country","banner"],sheet:[1,41],shortName:"flag-eg"},{name:"Western Sahara Flag",unified:"1F1EA-1F1ED",keywords:["flag_western_sahara","western","sahara","flag","nation","country","banner"],sheet:[1,42],shortName:"flag-eh"},{name:"Eritrea Flag",unified:"1F1EA-1F1F7",keywords:["flag_eritrea","er","flag","nation","country","banner"],sheet:[1,43],shortName:"flag-er"},{name:"Spain Flag",unified:"1F1EA-1F1F8",keywords:["flag_spain","spain","flag","nation","country","banner"],sheet:[1,44],shortNames:["flag-es"],shortName:"es"},{name:"Ethiopia Flag",unified:"1F1EA-1F1F9",keywords:["flag_ethiopia","et","flag","nation","country","banner"],sheet:[1,45],shortName:"flag-et"},{name:"European Union Flag",unified:"1F1EA-1F1FA",keywords:["flag_european_union","european","union","flag","banner"],sheet:[1,46],shortName:"flag-eu"},{name:"Finland Flag",unified:"1F1EB-1F1EE",keywords:["flag_finland","fi","flag","nation","country","banner"],sheet:[1,47],shortName:"flag-fi"},{name:"Fiji Flag",unified:"1F1EB-1F1EF",keywords:["flag_fiji","fj","flag","nation","country","banner"],sheet:[1,48],shortName:"flag-fj"},{name:"Falkland Islands Flag",unified:"1F1EB-1F1F0",keywords:["flag_falkland_islands","falkland","islands","malvinas","flag","nation","country","banner"],sheet:[1,49],shortName:"flag-fk"},{name:"Micronesia Flag",unified:"1F1EB-1F1F2",keywords:["flag_micronesia","micronesia","federated","states","flag","nation","country","banner"],sheet:[1,50],shortName:"flag-fm"},{name:"Faroe Islands Flag",unified:"1F1EB-1F1F4",keywords:["flag_faroe_islands","faroe","islands","flag","nation","country","banner"],sheet:[1,51],shortName:"flag-fo"},{name:"France Flag",unified:"1F1EB-1F1F7",keywords:["flag_france","banner","flag","nation","france","french","country"],sheet:[1,52],shortNames:["flag-fr"],shortName:"fr"},{name:"Gabon Flag",unified:"1F1EC-1F1E6",keywords:["flag_gabon","ga","flag","nation","country","banner"],sheet:[1,53],shortName:"flag-ga"},{name:"United Kingdom Flag",unified:"1F1EC-1F1E7",keywords:["flag_united_kingdom","united","kingdom","great","britain","northern","ireland","flag","nation","country","banner","british","UK","english","england","union jack"],sheet:[1,54],shortNames:["uk","flag-gb"],shortName:"gb"},{name:"Grenada Flag",unified:"1F1EC-1F1E9",keywords:["flag_grenada","gd","flag","nation","country","banner"],sheet:[1,55],shortName:"flag-gd"},{name:"Georgia Flag",unified:"1F1EC-1F1EA",keywords:["flag_georgia","ge","flag","nation","country","banner"],sheet:[1,56],shortName:"flag-ge"},{name:"French Guiana Flag",unified:"1F1EC-1F1EB",keywords:["flag_french_guiana","french","guiana","flag","nation","country","banner"],sheet:[1,57],shortName:"flag-gf"},{name:"Guernsey Flag",unified:"1F1EC-1F1EC",keywords:["flag_guernsey","gg","flag","nation","country","banner"],sheet:[2,0],shortName:"flag-gg"},{name:"Ghana Flag",unified:"1F1EC-1F1ED",keywords:["flag_ghana","gh","flag","nation","country","banner"],sheet:[2,1],shortName:"flag-gh"},{name:"Gibraltar Flag",unified:"1F1EC-1F1EE",keywords:["flag_gibraltar","gi","flag","nation","country","banner"],sheet:[2,2],shortName:"flag-gi"},{name:"Greenland Flag",unified:"1F1EC-1F1F1",keywords:["flag_greenland","gl","flag","nation","country","banner"],sheet:[2,3],shortName:"flag-gl"},{name:"Gambia Flag",unified:"1F1EC-1F1F2",keywords:["flag_gambia","gm","flag","nation","country","banner"],sheet:[2,4],shortName:"flag-gm"},{name:"Guinea Flag",unified:"1F1EC-1F1F3",keywords:["flag_guinea","gn","flag","nation","country","banner"],sheet:[2,5],shortName:"flag-gn"},{name:"Guadeloupe Flag",unified:"1F1EC-1F1F5",keywords:["flag_guadeloupe","gp","flag","nation","country","banner"],sheet:[2,6],shortName:"flag-gp"},{name:"Equatorial Guinea Flag",unified:"1F1EC-1F1F6",keywords:["flag_equatorial_guinea","equatorial","gn","flag","nation","country","banner"],sheet:[2,7],shortName:"flag-gq"},{name:"Greece Flag",unified:"1F1EC-1F1F7",keywords:["flag_greece","gr","flag","nation","country","banner"],sheet:[2,8],shortName:"flag-gr"},{name:"South Georgia & South Sandwich Islands Flag",unified:"1F1EC-1F1F8",keywords:["flag_south_georgia_south_sandwich_islands","south","georgia","sandwich","islands","flag","nation","country","banner"],sheet:[2,9],shortName:"flag-gs"},{name:"Guatemala Flag",unified:"1F1EC-1F1F9",keywords:["flag_guatemala","gt","flag","nation","country","banner"],sheet:[2,10],shortName:"flag-gt"},{name:"Guam Flag",unified:"1F1EC-1F1FA",keywords:["flag_guam","gu","flag","nation","country","banner"],sheet:[2,11],shortName:"flag-gu"},{name:"Guinea-Bissau Flag",unified:"1F1EC-1F1FC",keywords:["flag_guinea_bissau","gw","bissau","flag","nation","country","banner"],sheet:[2,12],shortName:"flag-gw"},{name:"Guyana Flag",unified:"1F1EC-1F1FE",keywords:["flag_guyana","gy","flag","nation","country","banner"],sheet:[2,13],shortName:"flag-gy"},{name:"Hong Kong Sar China Flag",unified:"1F1ED-1F1F0",keywords:["flag_hong_kong_sar_china","hong","kong","flag","nation","country","banner"],sheet:[2,14],shortName:"flag-hk"},{name:"Heard & Mcdonald Islands Flag",unified:"1F1ED-1F1F2",keywords:["flag_heard_mcdonald_islands"],sheet:[2,15],shortName:"flag-hm"},{name:"Honduras Flag",unified:"1F1ED-1F1F3",keywords:["flag_honduras","hn","flag","nation","country","banner"],sheet:[2,16],shortName:"flag-hn"},{name:"Croatia Flag",unified:"1F1ED-1F1F7",keywords:["flag_croatia","hr","flag","nation","country","banner"],sheet:[2,17],shortName:"flag-hr"},{name:"Haiti Flag",unified:"1F1ED-1F1F9",keywords:["flag_haiti","ht","flag","nation","country","banner"],sheet:[2,18],shortName:"flag-ht"},{name:"Hungary Flag",unified:"1F1ED-1F1FA",keywords:["flag_hungary","hu","flag","nation","country","banner"],sheet:[2,19],shortName:"flag-hu"},{name:"Canary Islands Flag",unified:"1F1EE-1F1E8",keywords:["flag_canary_islands","canary","islands","flag","nation","country","banner"],sheet:[2,20],shortName:"flag-ic"},{name:"Indonesia Flag",unified:"1F1EE-1F1E9",keywords:["flag_indonesia","flag","nation","country","banner"],sheet:[2,21],shortName:"flag-id"},{name:"Ireland Flag",unified:"1F1EE-1F1EA",keywords:["flag_ireland","ie","flag","nation","country","banner"],sheet:[2,22],shortName:"flag-ie"},{name:"Israel Flag",unified:"1F1EE-1F1F1",keywords:["flag_israel","il","flag","nation","country","banner"],sheet:[2,23],shortName:"flag-il"},{name:"Isle of Man Flag",unified:"1F1EE-1F1F2",keywords:["flag_isle_of_man","isle","man","flag","nation","country","banner"],sheet:[2,24],shortName:"flag-im"},{name:"India Flag",unified:"1F1EE-1F1F3",keywords:["flag_india","in","flag","nation","country","banner"],sheet:[2,25],shortName:"flag-in"},{name:"British Indian Ocean Territory Flag",unified:"1F1EE-1F1F4",keywords:["flag_british_indian_ocean_territory","british","indian","ocean","territory","flag","nation","country","banner"],sheet:[2,26],shortName:"flag-io"},{name:"Iraq Flag",unified:"1F1EE-1F1F6",keywords:["flag_iraq","iq","flag","nation","country","banner"],sheet:[2,27],shortName:"flag-iq"},{name:"Iran Flag",unified:"1F1EE-1F1F7",keywords:["flag_iran","iran","islamic","republic","flag","nation","country","banner"],sheet:[2,28],shortName:"flag-ir"},{name:"Iceland Flag",unified:"1F1EE-1F1F8",keywords:["flag_iceland","is","flag","nation","country","banner"],sheet:[2,29],shortName:"flag-is"},{name:"Italy Flag",unified:"1F1EE-1F1F9",keywords:["flag_italy","italy","flag","nation","country","banner"],sheet:[2,30],shortNames:["flag-it"],shortName:"it"},{name:"Jersey Flag",unified:"1F1EF-1F1EA",keywords:["flag_jersey","je","flag","nation","country","banner"],sheet:[2,31],shortName:"flag-je"},{name:"Jamaica Flag",unified:"1F1EF-1F1F2",keywords:["flag_jamaica","jm","flag","nation","country","banner"],sheet:[2,32],shortName:"flag-jm"},{name:"Jordan Flag",unified:"1F1EF-1F1F4",keywords:["flag_jordan","jo","flag","nation","country","banner"],sheet:[2,33],shortName:"flag-jo"},{name:"Japan Flag",unified:"1F1EF-1F1F5",keywords:["flag_japan","japanese","nation","flag","country","banner"],sheet:[2,34],shortNames:["flag-jp"],shortName:"jp"},{name:"Kenya Flag",unified:"1F1F0-1F1EA",keywords:["flag_kenya","ke","flag","nation","country","banner"],sheet:[2,35],shortName:"flag-ke"},{name:"Kyrgyzstan Flag",unified:"1F1F0-1F1EC",keywords:["flag_kyrgyzstan","kg","flag","nation","country","banner"],sheet:[2,36],shortName:"flag-kg"},{name:"Cambodia Flag",unified:"1F1F0-1F1ED",keywords:["flag_cambodia","kh","flag","nation","country","banner"],sheet:[2,37],shortName:"flag-kh"},{name:"Kiribati Flag",unified:"1F1F0-1F1EE",keywords:["flag_kiribati","ki","flag","nation","country","banner"],sheet:[2,38],shortName:"flag-ki"},{name:"Comoros Flag",unified:"1F1F0-1F1F2",keywords:["flag_comoros","km","flag","nation","country","banner"],sheet:[2,39],shortName:"flag-km"},{name:"St. Kitts & Nevis Flag",unified:"1F1F0-1F1F3",keywords:["flag_st_kitts_nevis","saint","kitts","nevis","flag","nation","country","banner"],sheet:[2,40],shortName:"flag-kn"},{name:"North Korea Flag",unified:"1F1F0-1F1F5",keywords:["flag_north_korea","north","korea","nation","flag","country","banner"],sheet:[2,41],shortName:"flag-kp"},{name:"South Korea Flag",unified:"1F1F0-1F1F7",keywords:["flag_south_korea","south","korea","nation","flag","country","banner"],sheet:[2,42],shortNames:["flag-kr"],shortName:"kr"},{name:"Kuwait Flag",unified:"1F1F0-1F1FC",keywords:["flag_kuwait","kw","flag","nation","country","banner"],sheet:[2,43],shortName:"flag-kw"},{name:"Cayman Islands Flag",unified:"1F1F0-1F1FE",keywords:["flag_cayman_islands","cayman","islands","flag","nation","country","banner"],sheet:[2,44],shortName:"flag-ky"},{name:"Kazakhstan Flag",unified:"1F1F0-1F1FF",keywords:["flag_kazakhstan","kz","flag","nation","country","banner"],sheet:[2,45],shortName:"flag-kz"},{name:"Laos Flag",unified:"1F1F1-1F1E6",keywords:["flag_laos","lao","democratic","republic","flag","nation","country","banner"],sheet:[2,46],shortName:"flag-la"},{name:"Lebanon Flag",unified:"1F1F1-1F1E7",keywords:["flag_lebanon","lb","flag","nation","country","banner"],sheet:[2,47],shortName:"flag-lb"},{name:"St. Lucia Flag",unified:"1F1F1-1F1E8",keywords:["flag_st_lucia","saint","lucia","flag","nation","country","banner"],sheet:[2,48],shortName:"flag-lc"},{name:"Liechtenstein Flag",unified:"1F1F1-1F1EE",keywords:["flag_liechtenstein","li","flag","nation","country","banner"],sheet:[2,49],shortName:"flag-li"},{name:"Sri Lanka Flag",unified:"1F1F1-1F1F0",keywords:["flag_sri_lanka","sri","lanka","flag","nation","country","banner"],sheet:[2,50],shortName:"flag-lk"},{name:"Liberia Flag",unified:"1F1F1-1F1F7",keywords:["flag_liberia","lr","flag","nation","country","banner"],sheet:[2,51],shortName:"flag-lr"},{name:"Lesotho Flag",unified:"1F1F1-1F1F8",keywords:["flag_lesotho","ls","flag","nation","country","banner"],sheet:[2,52],shortName:"flag-ls"},{name:"Lithuania Flag",unified:"1F1F1-1F1F9",keywords:["flag_lithuania","lt","flag","nation","country","banner"],sheet:[2,53],shortName:"flag-lt"},{name:"Luxembourg Flag",unified:"1F1F1-1F1FA",keywords:["flag_luxembourg","lu","flag","nation","country","banner"],sheet:[2,54],shortName:"flag-lu"},{name:"Latvia Flag",unified:"1F1F1-1F1FB",keywords:["flag_latvia","lv","flag","nation","country","banner"],sheet:[2,55],shortName:"flag-lv"},{name:"Libya Flag",unified:"1F1F1-1F1FE",keywords:["flag_libya","ly","flag","nation","country","banner"],sheet:[2,56],shortName:"flag-ly"},{name:"Morocco Flag",unified:"1F1F2-1F1E6",keywords:["flag_morocco","ma","flag","nation","country","banner"],sheet:[2,57],shortName:"flag-ma"},{name:"Monaco Flag",unified:"1F1F2-1F1E8",keywords:["flag_monaco","mc","flag","nation","country","banner"],sheet:[3,0],shortName:"flag-mc"},{name:"Moldova Flag",unified:"1F1F2-1F1E9",keywords:["flag_moldova","moldova","republic","flag","nation","country","banner"],sheet:[3,1],shortName:"flag-md"},{name:"Montenegro Flag",unified:"1F1F2-1F1EA",keywords:["flag_montenegro","me","flag","nation","country","banner"],sheet:[3,2],shortName:"flag-me"},{name:"St. Martin Flag",unified:"1F1F2-1F1EB",keywords:["flag_st_martin"],sheet:[3,3],shortName:"flag-mf"},{name:"Madagascar Flag",unified:"1F1F2-1F1EC",keywords:["flag_madagascar","mg","flag","nation","country","banner"],sheet:[3,4],shortName:"flag-mg"},{name:"Marshall Islands Flag",unified:"1F1F2-1F1ED",keywords:["flag_marshall_islands","marshall","islands","flag","nation","country","banner"],sheet:[3,5],shortName:"flag-mh"},{name:"North Macedonia Flag",unified:"1F1F2-1F1F0",keywords:["flag_north_macedonia","macedonia","flag","nation","country","banner"],sheet:[3,6],shortName:"flag-mk"},{name:"Mali Flag",unified:"1F1F2-1F1F1",keywords:["flag_mali","ml","flag","nation","country","banner"],sheet:[3,7],shortName:"flag-ml"},{name:"Myanmar (burma) Flag",unified:"1F1F2-1F1F2",keywords:["flag_myanmar","mm","flag","nation","country","banner"],sheet:[3,8],shortName:"flag-mm"},{name:"Mongolia Flag",unified:"1F1F2-1F1F3",keywords:["flag_mongolia","mn","flag","nation","country","banner"],sheet:[3,9],shortName:"flag-mn"},{name:"Macao Sar China Flag",unified:"1F1F2-1F1F4",keywords:["flag_macao_sar_china","macao","flag","nation","country","banner"],sheet:[3,10],shortName:"flag-mo"},{name:"Northern Mariana Islands Flag",unified:"1F1F2-1F1F5",keywords:["flag_northern_mariana_islands","northern","mariana","islands","flag","nation","country","banner"],sheet:[3,11],shortName:"flag-mp"},{name:"Martinique Flag",unified:"1F1F2-1F1F6",keywords:["flag_martinique","mq","flag","nation","country","banner"],sheet:[3,12],shortName:"flag-mq"},{name:"Mauritania Flag",unified:"1F1F2-1F1F7",keywords:["flag_mauritania","mr","flag","nation","country","banner"],sheet:[3,13],shortName:"flag-mr"},{name:"Montserrat Flag",unified:"1F1F2-1F1F8",keywords:["flag_montserrat","ms","flag","nation","country","banner"],sheet:[3,14],shortName:"flag-ms"},{name:"Malta Flag",unified:"1F1F2-1F1F9",keywords:["flag_malta","mt","flag","nation","country","banner"],sheet:[3,15],shortName:"flag-mt"},{name:"Mauritius Flag",unified:"1F1F2-1F1FA",keywords:["flag_mauritius","mu","flag","nation","country","banner"],sheet:[3,16],shortName:"flag-mu"},{name:"Maldives Flag",unified:"1F1F2-1F1FB",keywords:["flag_maldives","mv","flag","nation","country","banner"],sheet:[3,17],shortName:"flag-mv"},{name:"Malawi Flag",unified:"1F1F2-1F1FC",keywords:["flag_malawi","mw","flag","nation","country","banner"],sheet:[3,18],shortName:"flag-mw"},{name:"Mexico Flag",unified:"1F1F2-1F1FD",keywords:["flag_mexico","mx","flag","nation","country","banner"],sheet:[3,19],shortName:"flag-mx"},{name:"Malaysia Flag",unified:"1F1F2-1F1FE",keywords:["flag_malaysia","my","flag","nation","country","banner"],sheet:[3,20],shortName:"flag-my"},{name:"Mozambique Flag",unified:"1F1F2-1F1FF",keywords:["flag_mozambique","mz","flag","nation","country","banner"],sheet:[3,21],shortName:"flag-mz"},{name:"Namibia Flag",unified:"1F1F3-1F1E6",keywords:["flag_namibia","na","flag","nation","country","banner"],sheet:[3,22],shortName:"flag-na"},{name:"New Caledonia Flag",unified:"1F1F3-1F1E8",keywords:["flag_new_caledonia","new","caledonia","flag","nation","country","banner"],sheet:[3,23],shortName:"flag-nc"},{name:"Niger Flag",unified:"1F1F3-1F1EA",keywords:["flag_niger","ne","flag","nation","country","banner"],sheet:[3,24],shortName:"flag-ne"},{name:"Norfolk Island Flag",unified:"1F1F3-1F1EB",keywords:["flag_norfolk_island","norfolk","island","flag","nation","country","banner"],sheet:[3,25],shortName:"flag-nf"},{name:"Nigeria Flag",unified:"1F1F3-1F1EC",keywords:["flag_nigeria","flag","nation","country","banner"],sheet:[3,26],shortName:"flag-ng"},{name:"Nicaragua Flag",unified:"1F1F3-1F1EE",keywords:["flag_nicaragua","ni","flag","nation","country","banner"],sheet:[3,27],shortName:"flag-ni"},{name:"Netherlands Flag",unified:"1F1F3-1F1F1",keywords:["flag_netherlands","nl","flag","nation","country","banner"],sheet:[3,28],shortName:"flag-nl"},{name:"Norway Flag",unified:"1F1F3-1F1F4",keywords:["flag_norway","no","flag","nation","country","banner"],sheet:[3,29],shortName:"flag-no"},{name:"Nepal Flag",unified:"1F1F3-1F1F5",keywords:["flag_nepal","np","flag","nation","country","banner"],sheet:[3,30],shortName:"flag-np"},{name:"Nauru Flag",unified:"1F1F3-1F1F7",keywords:["flag_nauru","nr","flag","nation","country","banner"],sheet:[3,31],shortName:"flag-nr"},{name:"Niue Flag",unified:"1F1F3-1F1FA",keywords:["flag_niue","nu","flag","nation","country","banner"],sheet:[3,32],shortName:"flag-nu"},{name:"New Zealand Flag",unified:"1F1F3-1F1FF",keywords:["flag_new_zealand","new","zealand","flag","nation","country","banner"],sheet:[3,33],shortName:"flag-nz"},{name:"Oman Flag",unified:"1F1F4-1F1F2",keywords:["flag_oman","om_symbol","flag","nation","country","banner"],sheet:[3,34],shortName:"flag-om"},{name:"Panama Flag",unified:"1F1F5-1F1E6",keywords:["flag_panama","pa","flag","nation","country","banner"],sheet:[3,35],shortName:"flag-pa"},{name:"Peru Flag",unified:"1F1F5-1F1EA",keywords:["flag_peru","pe","flag","nation","country","banner"],sheet:[3,36],shortName:"flag-pe"},{name:"French Polynesia Flag",unified:"1F1F5-1F1EB",keywords:["flag_french_polynesia","french","polynesia","flag","nation","country","banner"],sheet:[3,37],shortName:"flag-pf"},{name:"Papua New Guinea Flag",unified:"1F1F5-1F1EC",keywords:["flag_papua_new_guinea","papua","new","guinea","flag","nation","country","banner"],sheet:[3,38],shortName:"flag-pg"},{name:"Philippines Flag",unified:"1F1F5-1F1ED",keywords:["flag_philippines","ph","flag","nation","country","banner"],sheet:[3,39],shortName:"flag-ph"},{name:"Pakistan Flag",unified:"1F1F5-1F1F0",keywords:["flag_pakistan","pk","flag","nation","country","banner"],sheet:[3,40],shortName:"flag-pk"},{name:"Poland Flag",unified:"1F1F5-1F1F1",keywords:["flag_poland","pl","flag","nation","country","banner"],sheet:[3,41],shortName:"flag-pl"},{name:"St. Pierre & Miquelon Flag",unified:"1F1F5-1F1F2",keywords:["flag_st_pierre_miquelon","saint","pierre","miquelon","flag","nation","country","banner"],sheet:[3,42],shortName:"flag-pm"},{name:"Pitcairn Islands Flag",unified:"1F1F5-1F1F3",keywords:["flag_pitcairn_islands","pitcairn","flag","nation","country","banner"],sheet:[3,43],shortName:"flag-pn"},{name:"Puerto Rico Flag",unified:"1F1F5-1F1F7",keywords:["flag_puerto_rico","puerto","rico","flag","nation","country","banner"],sheet:[3,44],shortName:"flag-pr"},{name:"Palestinian Territories Flag",unified:"1F1F5-1F1F8",keywords:["flag_palestinian_territories","palestine","palestinian","territories","flag","nation","country","banner"],sheet:[3,45],shortName:"flag-ps"},{name:"Portugal Flag",unified:"1F1F5-1F1F9",keywords:["flag_portugal","pt","flag","nation","country","banner"],sheet:[3,46],shortName:"flag-pt"},{name:"Palau Flag",unified:"1F1F5-1F1FC",keywords:["flag_palau","pw","flag","nation","country","banner"],sheet:[3,47],shortName:"flag-pw"},{name:"Paraguay Flag",unified:"1F1F5-1F1FE",keywords:["flag_paraguay","py","flag","nation","country","banner"],sheet:[3,48],shortName:"flag-py"},{name:"Qatar Flag",unified:"1F1F6-1F1E6",keywords:["flag_qatar","qa","flag","nation","country","banner"],sheet:[3,49],shortName:"flag-qa"},{name:"R\xe9union Flag",unified:"1F1F7-1F1EA",keywords:["flag_reunion","r\xe9union","flag","nation","country","banner"],sheet:[3,50],shortName:"flag-re"},{name:"Romania Flag",unified:"1F1F7-1F1F4",keywords:["flag_romania","ro","flag","nation","country","banner"],sheet:[3,51],shortName:"flag-ro"},{name:"Serbia Flag",unified:"1F1F7-1F1F8",keywords:["flag_serbia","rs","flag","nation","country","banner"],sheet:[3,52],shortName:"flag-rs"},{name:"Russia Flag",unified:"1F1F7-1F1FA",keywords:["flag_russia","russian","federation","flag","nation","country","banner"],sheet:[3,53],shortNames:["flag-ru"],shortName:"ru"},{name:"Rwanda Flag",unified:"1F1F7-1F1FC",keywords:["flag_rwanda","rw","flag","nation","country","banner"],sheet:[3,54],shortName:"flag-rw"},{name:"Saudi Arabia Flag",unified:"1F1F8-1F1E6",keywords:["flag_saudi_arabia","flag","nation","country","banner"],sheet:[3,55],shortName:"flag-sa"},{name:"Solomon Islands Flag",unified:"1F1F8-1F1E7",keywords:["flag_solomon_islands","solomon","islands","flag","nation","country","banner"],sheet:[3,56],shortName:"flag-sb"},{name:"Seychelles Flag",unified:"1F1F8-1F1E8",keywords:["flag_seychelles","sc","flag","nation","country","banner"],sheet:[3,57],shortName:"flag-sc"},{name:"Sudan Flag",unified:"1F1F8-1F1E9",keywords:["flag_sudan","sd","flag","nation","country","banner"],sheet:[4,0],shortName:"flag-sd"},{name:"Sweden Flag",unified:"1F1F8-1F1EA",keywords:["flag_sweden","se","flag","nation","country","banner"],sheet:[4,1],shortName:"flag-se"},{name:"Singapore Flag",unified:"1F1F8-1F1EC",keywords:["flag_singapore","sg","flag","nation","country","banner"],sheet:[4,2],shortName:"flag-sg"},{name:"St. Helena Flag",unified:"1F1F8-1F1ED",keywords:["flag_st_helena","saint","helena","ascension","tristan","cunha","flag","nation","country","banner"],sheet:[4,3],shortName:"flag-sh"},{name:"Slovenia Flag",unified:"1F1F8-1F1EE",keywords:["flag_slovenia","si","flag","nation","country","banner"],sheet:[4,4],shortName:"flag-si"},{name:"Svalbard & Jan Mayen Flag",unified:"1F1F8-1F1EF",keywords:["flag_svalbard_jan_mayen"],sheet:[4,5],shortName:"flag-sj"},{name:"Slovakia Flag",unified:"1F1F8-1F1F0",keywords:["flag_slovakia","sk","flag","nation","country","banner"],sheet:[4,6],shortName:"flag-sk"},{name:"Sierra Leone Flag",unified:"1F1F8-1F1F1",keywords:["flag_sierra_leone","sierra","leone","flag","nation","country","banner"],sheet:[4,7],shortName:"flag-sl"},{name:"San Marino Flag",unified:"1F1F8-1F1F2",keywords:["flag_san_marino","san","marino","flag","nation","country","banner"],sheet:[4,8],shortName:"flag-sm"},{name:"Senegal Flag",unified:"1F1F8-1F1F3",keywords:["flag_senegal","sn","flag","nation","country","banner"],sheet:[4,9],shortName:"flag-sn"},{name:"Somalia Flag",unified:"1F1F8-1F1F4",keywords:["flag_somalia","so","flag","nation","country","banner"],sheet:[4,10],shortName:"flag-so"},{name:"Suriname Flag",unified:"1F1F8-1F1F7",keywords:["flag_suriname","sr","flag","nation","country","banner"],sheet:[4,11],shortName:"flag-sr"},{name:"South Sudan Flag",unified:"1F1F8-1F1F8",keywords:["flag_south_sudan","south","sd","flag","nation","country","banner"],sheet:[4,12],shortName:"flag-ss"},{name:"S\xe3o Tom\xe9 & Pr\xedncipe Flag",unified:"1F1F8-1F1F9",keywords:["flag_sao_tome_principe","sao","tome","principe","flag","nation","country","banner"],sheet:[4,13],shortName:"flag-st"},{name:"El Salvador Flag",unified:"1F1F8-1F1FB",keywords:["flag_el_salvador","el","salvador","flag","nation","country","banner"],sheet:[4,14],shortName:"flag-sv"},{name:"Sint Maarten Flag",unified:"1F1F8-1F1FD",keywords:["flag_sint_maarten","sint","maarten","dutch","flag","nation","country","banner"],sheet:[4,15],shortName:"flag-sx"},{name:"Syria Flag",unified:"1F1F8-1F1FE",keywords:["flag_syria","syrian","arab","republic","flag","nation","country","banner"],sheet:[4,16],shortName:"flag-sy"},{name:"Eswatini Flag",unified:"1F1F8-1F1FF",keywords:["flag_eswatini","sz","flag","nation","country","banner"],sheet:[4,17],shortName:"flag-sz"},{name:"Tristan Da Cunha Flag",unified:"1F1F9-1F1E6",keywords:["flag_tristan_da_cunha"],sheet:[4,18],shortName:"flag-ta"},{name:"Turks & Caicos Islands Flag",unified:"1F1F9-1F1E8",keywords:["flag_turks_caicos_islands","turks","caicos","islands","flag","nation","country","banner"],sheet:[4,19],shortName:"flag-tc"},{name:"Chad Flag",unified:"1F1F9-1F1E9",keywords:["flag_chad","td","flag","nation","country","banner"],sheet:[4,20],shortName:"flag-td"},{name:"French Southern Territories Flag",unified:"1F1F9-1F1EB",keywords:["flag_french_southern_territories","french","southern","territories","flag","nation","country","banner"],sheet:[4,21],shortName:"flag-tf"},{name:"Togo Flag",unified:"1F1F9-1F1EC",keywords:["flag_togo","tg","flag","nation","country","banner"],sheet:[4,22],shortName:"flag-tg"},{name:"Thailand Flag",unified:"1F1F9-1F1ED",keywords:["flag_thailand","th","flag","nation","country","banner"],sheet:[4,23],shortName:"flag-th"},{name:"Tajikistan Flag",unified:"1F1F9-1F1EF",keywords:["flag_tajikistan","tj","flag","nation","country","banner"],sheet:[4,24],shortName:"flag-tj"},{name:"Tokelau Flag",unified:"1F1F9-1F1F0",keywords:["flag_tokelau","tk","flag","nation","country","banner"],sheet:[4,25],shortName:"flag-tk"},{name:"Timor-Leste Flag",unified:"1F1F9-1F1F1",keywords:["flag_timor_leste","timor","leste","flag","nation","country","banner"],sheet:[4,26],shortName:"flag-tl"},{name:"Turkmenistan Flag",unified:"1F1F9-1F1F2",keywords:["flag_turkmenistan","flag","nation","country","banner"],sheet:[4,27],shortName:"flag-tm"},{name:"Tunisia Flag",unified:"1F1F9-1F1F3",keywords:["flag_tunisia","tn","flag","nation","country","banner"],sheet:[4,28],shortName:"flag-tn"},{name:"Tonga Flag",unified:"1F1F9-1F1F4",keywords:["flag_tonga","to","flag","nation","country","banner"],sheet:[4,29],shortName:"flag-to"},{name:"Turkey Flag",unified:"1F1F9-1F1F7",keywords:["flag_turkey","turkey","flag","nation","country","banner"],sheet:[4,30],shortName:"flag-tr"},{name:"Trinidad & Tobago Flag",unified:"1F1F9-1F1F9",keywords:["flag_trinidad_tobago","trinidad","tobago","flag","nation","country","banner"],sheet:[4,31],shortName:"flag-tt"},{name:"Tuvalu Flag",unified:"1F1F9-1F1FB",keywords:["flag_tuvalu","flag","nation","country","banner"],sheet:[4,32],shortName:"flag-tv"},{name:"Taiwan Flag",unified:"1F1F9-1F1FC",keywords:["flag_taiwan","tw","flag","nation","country","banner"],sheet:[4,33],shortName:"flag-tw"},{name:"Tanzania Flag",unified:"1F1F9-1F1FF",keywords:["flag_tanzania","tanzania","united","republic","flag","nation","country","banner"],sheet:[4,34],shortName:"flag-tz"},{name:"Ukraine Flag",unified:"1F1FA-1F1E6",keywords:["flag_ukraine","ua","flag","nation","country","banner"],sheet:[4,35],shortName:"flag-ua"},{name:"Uganda Flag",unified:"1F1FA-1F1EC",keywords:["flag_uganda","ug","flag","nation","country","banner"],sheet:[4,36],shortName:"flag-ug"},{name:"U.s. Outlying Islands Flag",unified:"1F1FA-1F1F2",keywords:["flag_u_s_outlying_islands"],sheet:[4,37],shortName:"flag-um"},{name:"United Nations Flag",unified:"1F1FA-1F1F3",keywords:["flag_united_nations","un","flag","banner"],sheet:[4,38],shortName:"flag-un"},{name:"United States Flag",unified:"1F1FA-1F1F8",keywords:["flag_united_states","united","states","america","flag","nation","country","banner"],sheet:[4,39],shortNames:["flag-us"],shortName:"us"},{name:"Uruguay Flag",unified:"1F1FA-1F1FE",keywords:["flag_uruguay","uy","flag","nation","country","banner"],sheet:[4,40],shortName:"flag-uy"},{name:"Uzbekistan Flag",unified:"1F1FA-1F1FF",keywords:["flag_uzbekistan","uz","flag","nation","country","banner"],sheet:[4,41],shortName:"flag-uz"},{name:"Vatican City Flag",unified:"1F1FB-1F1E6",keywords:["flag_vatican_city","vatican","city","flag","nation","country","banner"],sheet:[4,42],shortName:"flag-va"},{name:"St. Vincent & Grenadines Flag",unified:"1F1FB-1F1E8",keywords:["flag_st_vincent_grenadines","saint","vincent","grenadines","flag","nation","country","banner"],sheet:[4,43],shortName:"flag-vc"},{name:"Venezuela Flag",unified:"1F1FB-1F1EA",keywords:["flag_venezuela","ve","bolivarian","republic","flag","nation","country","banner"],sheet:[4,44],shortName:"flag-ve"},{name:"British Virgin Islands Flag",unified:"1F1FB-1F1EC",keywords:["flag_british_virgin_islands","british","virgin","islands","bvi","flag","nation","country","banner"],sheet:[4,45],shortName:"flag-vg"},{name:"U.s. Virgin Islands Flag",unified:"1F1FB-1F1EE",keywords:["flag_u_s_virgin_islands","virgin","islands","us","flag","nation","country","banner"],sheet:[4,46],shortName:"flag-vi"},{name:"Vietnam Flag",unified:"1F1FB-1F1F3",keywords:["flag_vietnam","viet","nam","flag","nation","country","banner"],sheet:[4,47],shortName:"flag-vn"},{name:"Vanuatu Flag",unified:"1F1FB-1F1FA",keywords:["flag_vanuatu","vu","flag","nation","country","banner"],sheet:[4,48],shortName:"flag-vu"},{name:"Wallis & Futuna Flag",unified:"1F1FC-1F1EB",keywords:["flag_wallis_futuna","wallis","futuna","flag","nation","country","banner"],sheet:[4,49],shortName:"flag-wf"},{name:"Samoa Flag",unified:"1F1FC-1F1F8",keywords:["flag_samoa","ws","flag","nation","country","banner"],sheet:[4,50],shortName:"flag-ws"},{name:"Kosovo Flag",unified:"1F1FD-1F1F0",keywords:["flag_kosovo","xk","flag","nation","country","banner"],sheet:[4,51],shortName:"flag-xk"},{name:"Yemen Flag",unified:"1F1FE-1F1EA",keywords:["flag_yemen","ye","flag","nation","country","banner"],sheet:[4,52],shortName:"flag-ye"},{name:"Mayotte Flag",unified:"1F1FE-1F1F9",keywords:["flag_mayotte","yt","flag","nation","country","banner"],sheet:[4,53],shortName:"flag-yt"},{name:"South Africa Flag",unified:"1F1FF-1F1E6",keywords:["flag_south_africa","south","africa","flag","nation","country","banner"],sheet:[4,54],shortName:"flag-za"},{name:"Zambia Flag",unified:"1F1FF-1F1F2",keywords:["flag_zambia","zm","flag","nation","country","banner"],sheet:[4,55],shortName:"flag-zm"},{name:"Zimbabwe Flag",unified:"1F1FF-1F1FC",keywords:["flag_zimbabwe","zw","flag","nation","country","banner"],sheet:[4,56],shortName:"flag-zw"},{name:"England Flag",unified:"1F3F4-E0067-E0062-E0065-E006E-E0067-E007F",keywords:["flag_england","flag","english"],sheet:[11,4],shortName:"flag-england"},{name:"Scotland Flag",unified:"1F3F4-E0067-E0062-E0073-E0063-E0074-E007F",keywords:["flag_scotland","flag","scottish"],sheet:[11,5],shortName:"flag-scotland"},{name:"Wales Flag",unified:"1F3F4-E0067-E0062-E0077-E006C-E0073-E007F",keywords:["flag_wales","flag","welsh"],sheet:[11,6],shortName:"flag-wales"}],Gue=/^(?:\:([^\:]+)\:)(?:\:skin-tone-(\d)\:)?$/,que=["1F3FA","1F3FB","1F3FC","1F3FD","1F3FE","1F3FF"],vR=(i,t)=>`https://unpkg.com/emoji-datasource-${i}@6.0.1/img/${i}/sheets-256/${t}.png`;let ow=(()=>{class i{constructor(){this.uncompressed=!1,this.names={},this.emojis=[],this.uncompressed||(this.uncompress(Wue),this.uncompressed=!0)}uncompress(e){this.emojis=e.map(n=>{const r={...n};if(r.shortNames||(r.shortNames=[]),r.shortNames.unshift(r.shortName),r.id=r.shortName,r.native=this.unifiedToNative(r.unified),r.skinVariations||(r.skinVariations=[]),r.keywords||(r.keywords=[]),r.emoticons||(r.emoticons=[]),r.hidden||(r.hidden=[]),r.text||(r.text=""),r.obsoletes){const a=e.find(o=>o.unified===r.obsoletes);a&&(r.keywords=a.keywords?[...r.keywords,...a.keywords,a.shortName]:[...r.keywords,a.shortName])}this.names[r.unified]=r;for(const a of r.shortNames)this.names[a]=r;return r})}getData(e,n,r){let a;if("string"==typeof e){const c=e.match(Gue);if(c&&(e=c[1],c[2]&&(n=parseInt(c[2],10))),!this.names.hasOwnProperty(e))return null;a=this.names[e]}else e.id?a=this.names[e.id]:e.unified&&(a=this.names[e.unified.toUpperCase()]);if(a||(a=e,a.custom=!0),a.skinVariations&&a.skinVariations.length&&n&&n>1&&r){a={...a};const c=que[n-1],h=a.skinVariations.find(f=>f.unified.includes(c));(!h.hidden||!h.hidden.includes(r))&&(a.skinTone=n,a={...a,...h}),a.native=this.unifiedToNative(a.unified)}return a.set=r||"",a}unifiedToNative(e){const n=e.split("-").map(r=>parseInt(`0x${r}`,16));return String.fromCodePoint(...n)}emojiSpriteStyles(e,n="apple",r=24,a=64,o=57,c=vR,h=58,f){const x=!!f;return{width:`${r}px`,height:`${r}px`,display:"inline-block","background-image":`url(${f=f||c(n,a)})`,"background-size":x?"100% 100%":`${100*h}% ${100*o}%`,"background-position":x?void 0:this.getSpritePosition(e,h)}}getSpritePosition(e,n){const[r,a]=e,o=100/(n-1);return`${o*r}% ${o*a}%`}sanitize(e){if(null===e)return null;let r=`:${e.id||e.shortNames[0]}:`;return e.skinTone&&(r+=`:skin-tone-${e.skinTone}:`),e.colons=r,{...e}}getSanitizedData(e,n,r){return this.sanitize(this.getData(e,n,r))}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),wR=(()=>{class i{constructor(e){this.emojiService=e,this.skin=1,this.set="apple",this.sheetSize=64,this.isNative=!1,this.forceSize=!1,this.tooltip=!1,this.size=24,this.emoji="",this.hideObsolete=!1,this.emojiOver=new lt,this.emojiLeave=new lt,this.emojiClick=new lt,this.title=void 0,this.label="",this.custom=!1,this.isVisible=!0,this.backgroundImageFn=vR}ngOnChanges(){if(!this.emoji)return this.isVisible=!1;const e=this.getData();if(!e)return this.isVisible=!1;if(this.unified=e.native||null,e.custom&&(this.custom=e.custom),!e.unified&&!e.custom)return this.isVisible=!1;if(this.tooltip&&(this.title=e.shortNames[0]),e.obsoletedBy&&this.hideObsolete)return this.isVisible=!1;if(this.label=[e.native].concat(e.shortNames).filter(Boolean).join(", "),this.isNative&&e.unified&&e.native)this.style={fontSize:`${this.size}px`},this.forceSize&&(this.style.display="inline-block",this.style.width=`${this.size}px`,this.style.height=`${this.size}px`,this.style["word-break"]="keep-all");else if(e.custom)this.style={width:`${this.size}px`,height:`${this.size}px`,display:"inline-block"},this.style=e.spriteUrl&&this.sheetRows&&this.sheetColumns?{...this.style,backgroundImage:`url(${e.spriteUrl})`,backgroundSize:`${100*this.sheetColumns}% ${100*this.sheetRows}%`,backgroundPosition:this.emojiService.getSpritePosition(e.sheet,this.sheetColumns)}:{...this.style,backgroundImage:`url(${e.imageUrl})`,backgroundSize:"contain"};else if(e.hidden.length&&e.hidden.includes(this.set)){if(!this.fallback)return this.isVisible=!1;this.style={fontSize:`${this.size}px`},this.unified=this.fallback(e,this)}else this.style=this.emojiService.emojiSpriteStyles(e.sheet,this.set,this.size,this.sheetSize,this.sheetRows,this.backgroundImageFn,this.sheetColumns,this.imageUrlFn?.(this.getData()));return this.isVisible=!0}getData(){return this.emojiService.getData(this.emoji,this.skin,this.set)}getSanitizedData(){return this.emojiService.getSanitizedData(this.emoji,this.skin,this.set)}handleClick(e){const n=this.getSanitizedData();this.emojiClick.emit({emoji:n,$event:e})}handleOver(e){const n=this.getSanitizedData();this.emojiOver.emit({emoji:n,$event:e})}handleLeave(e){const n=this.getSanitizedData();this.emojiLeave.emit({emoji:n,$event:e})}}return i.\u0275fac=function(e){return new(e||i)(k(ow))},i.\u0275cmp=qe({type:i,selectors:[["ngx-emoji"]],inputs:{skin:"skin",set:"set",sheetSize:"sheetSize",isNative:"isNative",forceSize:"forceSize",tooltip:"tooltip",size:"size",emoji:"emoji",fallback:"fallback",hideObsolete:"hideObsolete",sheetRows:"sheetRows",sheetColumns:"sheetColumns",useButton:"useButton",backgroundImageFn:"backgroundImageFn",imageUrlFn:"imageUrlFn"},outputs:{emojiOver:"emojiOver",emojiLeave:"emojiLeave",emojiClick:"emojiClick"},features:[or],ngContentSelectors:bR,decls:2,vars:2,consts:[["type","button","class","emoji-mart-emoji",3,"emoji-mart-emoji-native","emoji-mart-emoji-custom","click","mouseenter","mouseleave",4,"ngIf"],["class","emoji-mart-emoji",3,"emoji-mart-emoji-native","emoji-mart-emoji-custom","click","mouseenter","mouseleave",4,"ngIf"],["type","button",1,"emoji-mart-emoji",3,"click","mouseenter","mouseleave"],[3,"ngStyle"],[3,"ngIf"],[1,"emoji-mart-emoji",3,"click","mouseenter","mouseleave"]],template:function(e,n){1&e&&(Bi(bR),ee(0,jue,4,8,"button",0),ee(1,Uue,4,8,"span",1)),2&e&&(S("ngIf",n.useButton&&n.isVisible),E(1),S("ngIf",!n.useButton&&n.isVisible))},dependencies:[ri,Mf],encapsulation:2,changeDetection:0}),i})(),$ue=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Dr]}),i})();function Kue(i,t){if(1&i){const e=Je();_(0,"span",3),pe("click",function(r){Te(e);const a=Q().index;return Ae(Q().handleClick(r,a))}),_(1,"div"),mo(),_(2,"svg",4),Ce(3,"path"),F()(),ml(),Ce(4,"span",5),F()}if(2&i){const e=Q().$implicit,n=Q();sr("color",e.name===n.selected?n.color:null),Mt("emoji-mart-anchor-selected",e.name===n.selected),It("title",n.i18n.categories[e.id]),E(3),It("d",n.icons[e.id]),E(1),sr("background-color",n.color)}}function Que(i,t){1&i&&ee(0,Kue,5,8,"span",2),2&i&&S("ngIf",!1!==t.$implicit.anchor)}const Zue=["container"],Xue=["label"];function Jue(i,t){if(1&i){const e=Je();_(0,"ngx-emoji",9),pe("emojiOver",function(r){return Te(e),Ae(Q(3).emojiOver.emit(r))})("emojiLeave",function(r){return Te(e),Ae(Q(3).emojiLeave.emit(r))})("emojiClick",function(r){return Te(e),Ae(Q(3).emojiClick.emit(r))}),F()}if(2&i){const e=t.$implicit,n=Q(3);S("emoji",e)("size",n.emojiSize)("skin",n.emojiSkin)("isNative",n.emojiIsNative)("set",n.emojiSet)("sheetSize",n.emojiSheetSize)("forceSize",n.emojiForceSize)("tooltip",n.emojiTooltip)("backgroundImageFn",n.emojiBackgroundImageFn)("imageUrlFn",n.emojiImageUrlFn)("hideObsolete",n.hideObsolete)("useButton",n.emojiUseButton)}}function ehe(i,t){if(1&i&&(_(0,"div"),ee(1,Jue,1,12,"ngx-emoji",8),F()),2&i){const e=t.ngIf,n=Q(2);E(1),S("ngForOf",e)("ngForTrackBy",n.trackById)}}function the(i,t){if(1&i&&(_(0,"div"),ee(1,ehe,2,2,"div",6),mi(2,"async"),F()),2&i){const e=Q();E(1),S("ngIf",gi(2,1,e.filteredEmojis$))}}function ihe(i,t){if(1&i&&(_(0,"div")(1,"div"),Ce(2,"ngx-emoji",10),F(),_(3,"div",11),N(4),F()()),2&i){const e=Q();E(2),S("emoji",e.notFoundEmoji)("size",38)("skin",e.emojiSkin)("isNative",e.emojiIsNative)("set",e.emojiSet)("sheetSize",e.emojiSheetSize)("forceSize",e.emojiForceSize)("tooltip",e.emojiTooltip)("backgroundImageFn",e.emojiBackgroundImageFn)("useButton",e.emojiUseButton),E(2),Gt(" ",e.i18n.notfound," ")}}function nhe(i,t){if(1&i){const e=Je();_(0,"ngx-emoji",9),pe("emojiOver",function(r){return Te(e),Ae(Q(2).emojiOver.emit(r))})("emojiLeave",function(r){return Te(e),Ae(Q(2).emojiLeave.emit(r))})("emojiClick",function(r){return Te(e),Ae(Q(2).emojiClick.emit(r))}),F()}if(2&i){const e=t.$implicit,n=Q(2);S("emoji",e)("size",n.emojiSize)("skin",n.emojiSkin)("isNative",n.emojiIsNative)("set",n.emojiSet)("sheetSize",n.emojiSheetSize)("forceSize",n.emojiForceSize)("tooltip",n.emojiTooltip)("backgroundImageFn",n.emojiBackgroundImageFn)("imageUrlFn",n.emojiImageUrlFn)("hideObsolete",n.hideObsolete)("useButton",n.emojiUseButton)}}function rhe(i,t){if(1&i&&ee(0,nhe,1,12,"ngx-emoji",8),2&i){const e=Q();S("ngForOf",e.emojisToDisplay)("ngForTrackBy",e.trackById)}}function ahe(i,t){if(1&i){const e=Je();_(0,"span",2)(1,"span",3),pe("click",function(){const a=Te(e).$implicit;return Ae(Q().handleClick(a))})("keyup.enter",function(){const a=Te(e).$implicit;return Ae(Q().handleClick(a))})("keyup.space",function(){const a=Te(e).$implicit;return Ae(Q().handleClick(a))}),F()()}if(2&i){const e=t.$implicit,n=Q();Mt("selected",e===n.skin),E(1),db("emoji-mart-skin emoji-mart-skin-tone-",e,""),S("tabIndex",n.tabIndex(e)),It("aria-hidden",!n.isVisible(e))("aria-pressed",n.pressed(e))("aria-haspopup",!!n.isSelected(e))("aria-expanded",n.expanded(e))("aria-label",n.i18n.skintones[e])("title",n.i18n.skintones[e])}}function ohe(i,t){if(1&i&&(_(0,"span",11),N(1),F()),2&i){const e=t.$implicit;E(1),Gt(" :",e,": ")}}function she(i,t){if(1&i&&(_(0,"span",15),N(1),F()),2&i){const e=t.$implicit;E(1),Gt(" ",e," ")}}function lhe(i,t){if(1&i&&(_(0,"div",8)(1,"div",2),Ce(2,"ngx-emoji",9),F(),_(3,"div",4)(4,"div",10),N(5),F(),_(6,"div",11),ee(7,ohe,2,1,"span",12),F(),_(8,"div",13),ee(9,she,2,1,"span",14),F()()()),2&i){const e=Q();E(2),S("emoji",e.emoji)("size",38)("isNative",e.emojiIsNative)("skin",e.emojiSkin)("size",e.emojiSize)("set",e.emojiSet)("sheetSize",e.emojiSheetSize)("backgroundImageFn",e.emojiBackgroundImageFn)("imageUrlFn",e.emojiImageUrlFn),E(3),yt(e.emojiData.name),E(2),S("ngForOf",e.emojiData.shortNames),E(2),S("ngForOf",e.listedEmoticons)}}function che(i,t){if(1&i&&Ce(0,"ngx-emoji",16),2&i){const e=Q();S("isNative",e.emojiIsNative)("skin",e.emojiSkin)("set",e.emojiSet)("emoji",e.idleEmoji)("backgroundImageFn",e.emojiBackgroundImageFn)("size",38)("imageUrlFn",e.emojiImageUrlFn)}}const dhe=["inputRef"],uhe=["scrollRef"];function hhe(i,t){if(1&i){const e=Je();_(0,"emoji-search",8),pe("searchResults",function(r){return Te(e),Ae(Q().handleSearch(r))})("enterKey",function(r){return Te(e),Ae(Q().handleEnterKey(r))}),F()}if(2&i){const e=Q();S("i18n",e.i18n)("include",e.include)("exclude",e.exclude)("custom",e.custom)("autoFocus",e.autoFocus)("icons",e.searchIcons)("emojisToShowFilter",e.emojisToShowFilter)}}function mhe(i,t){if(1&i){const e=Je();_(0,"emoji-category",9),pe("emojiOver",function(r){return Te(e),Ae(Q().handleEmojiOver(r))})("emojiLeave",function(){return Te(e),Ae(Q().handleEmojiLeave())})("emojiClick",function(r){return Te(e),Ae(Q().handleEmojiClick(r))}),F()}if(2&i){const e=t.$implicit,n=Q();S("id",e.id)("name",e.name)("emojis",e.emojis)("perLine",n.perLine)("totalFrequentLines",n.totalFrequentLines)("hasStickyPosition",n.isNative)("i18n",n.i18n)("hideObsolete",n.hideObsolete)("notFoundEmoji",n.notFoundEmoji)("custom",e.id===n.RECENT_CATEGORY.id?n.CUSTOM_CATEGORY.emojis:void 0)("recent",e.id===n.RECENT_CATEGORY.id?n.recent:void 0)("virtualize",n.virtualize)("virtualizeOffset",n.virtualizeOffset)("emojiIsNative",n.isNative)("emojiSkin",n.skin)("emojiSize",n.emojiSize)("emojiSet",n.set)("emojiSheetSize",n.sheetSize)("emojiForceSize",n.isNative)("emojiTooltip",n.emojiTooltip)("emojiBackgroundImageFn",n.backgroundImageFn)("emojiImageUrlFn",n.imageUrlFn)("emojiUseButton",n.useButton)}}function fhe(i,t){if(1&i){const e=Je();_(0,"div",1)(1,"emoji-preview",10),pe("skinChange",function(r){return Te(e),Ae(Q().handleSkinChange(r))}),F()()}if(2&i){const e=Q();E(1),S("emoji",e.previewEmoji)("idleEmoji",e.emoji)("emojiIsNative",e.isNative)("emojiSize",38)("emojiSkin",e.skin)("emojiSet",e.set)("i18n",e.i18n)("emojiSheetSize",e.sheetSize)("emojiBackgroundImageFn",e.backgroundImageFn)("emojiImageUrlFn",e.imageUrlFn),It("title",e.title)}}let phe=(()=>{class i{constructor(){this.categories=[],this.icons={},this.anchorClick=new lt}trackByFn(e,n){return n.id}handleClick(e,n){this.anchorClick.emit({category:this.categories[n],index:n})}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=qe({type:i,selectors:[["emoji-mart-anchors"]],inputs:{categories:"categories",color:"color",selected:"selected",i18n:"i18n",icons:"icons"},outputs:{anchorClick:"anchorClick"},decls:2,vars:2,consts:[[1,"emoji-mart-anchors"],["ngFor","",3,"ngForOf","ngForTrackBy"],["class","emoji-mart-anchor",3,"emoji-mart-anchor-selected","color","click",4,"ngIf"],[1,"emoji-mart-anchor",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","width","24","height","24"],[1,"emoji-mart-anchor-bar"]],template:function(e,n){1&e&&(_(0,"div",0),ee(1,Que,1,1,"ng-template",1),F()),2&e&&(E(1),S("ngForOf",n.categories)("ngForTrackBy",n.trackByFn))},dependencies:[vn,ri],encapsulation:2,changeDetection:0}),i})(),FR=(()=>{class i{constructor(e){this.platformId=e,this.NAMESPACE="emoji-mart",this.frequently=null,this.defaults={},this.initialized=!1,this.DEFAULTS=["+1","grinning","kissing_heart","heart_eyes","laughing","stuck_out_tongue_winking_eye","sweat_smile","joy","scream","disappointed","unamused","weary","sob","sunglasses","heart","poop"]}init(){this.frequently=JSON.parse(kd(this.platformId)&&localStorage.getItem(`${this.NAMESPACE}.frequently`)||"null"),this.initialized=!0}add(e){this.initialized||this.init(),this.frequently||(this.frequently=this.defaults),this.frequently[e.id]||(this.frequently[e.id]=0),this.frequently[e.id]+=1,kd(this.platformId)&&(localStorage.setItem(`${this.NAMESPACE}.last`,e.id),localStorage.setItem(`${this.NAMESPACE}.frequently`,JSON.stringify(this.frequently)))}get(e,n){if(this.initialized||this.init(),null===this.frequently){this.defaults={};const f=[];for(let x=0;x<e;x++)this.defaults[this.DEFAULTS[x]]=e-x,f.push(this.DEFAULTS[x]);return f}const r=e*n,c=Object.keys(this.frequently).sort((f,x)=>this.frequently[f]-this.frequently[x]).reverse().slice(0,r),h=kd(this.platformId)&&localStorage.getItem(`${this.NAMESPACE}.last`);return h&&!c.includes(h)&&(c.pop(),c.push(h)),c}}return i.\u0275fac=function(e){return new(e||i)(Fe(Ec))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),xR=(()=>{class i{constructor(e,n,r){this.ref=e,this.emojiService=n,this.frequently=r,this.emojis=null,this.hasStickyPosition=!0,this.name="",this.perLine=9,this.totalFrequentLines=4,this.recent=[],this.custom=[],this.hideObsolete=!0,this.virtualize=!1,this.virtualizeOffset=0,this.emojiOver=new lt,this.emojiLeave=new lt,this.emojiClick=new lt,this.containerStyles={},this.emojisToDisplay=[],this.filteredEmojisSubject=new He,this.filteredEmojis$=this.filteredEmojisSubject.asObservable(),this.labelStyles={},this.labelSpanStyles={},this.margin=0,this.minMargin=0,this.maxMargin=0,this.top=0,this.rows=0}ngOnInit(){this.updateRecentEmojis(),this.emojisToDisplay=this.filterEmojis(),this.noEmojiToDisplay&&(this.containerStyles={display:"none"}),this.hasStickyPosition||(this.labelStyles={height:28})}ngOnChanges(e){e.emojis?.currentValue?.length!==e.emojis?.previousValue?.length&&(this.emojisToDisplay=this.filterEmojis(),this.ngAfterViewInit())}ngAfterViewInit(){if(!this.virtualize)return;const{width:e}=this.container.nativeElement.getBoundingClientRect(),n=Math.floor(e/(this.emojiSize+12));this.rows=Math.ceil(this.emojisToDisplay.length/n),this.containerStyles={...this.containerStyles,minHeight:this.rows*(this.emojiSize+12)+28+"px"},this.ref?.detectChanges(),this.handleScroll(this.container.nativeElement.parentNode.parentNode.scrollTop)}get noEmojiToDisplay(){return 0===this.emojisToDisplay.length}memoizeSize(){const e=this.container.nativeElement.parentNode.parentNode,{top:n,height:r}=this.container.nativeElement.getBoundingClientRect(),a=e.getBoundingClientRect().top,o=this.label.nativeElement.getBoundingClientRect().height;this.top=n-a+e.scrollTop,this.maxMargin=0===r?0:r-o}handleScroll(e){let n=e-this.top;if(n=n<this.minMargin?this.minMargin:n,n=n>this.maxMargin?this.maxMargin:n,this.virtualize){const{top:r,height:a}=this.container.nativeElement.getBoundingClientRect(),o=this.container.nativeElement.parentNode.parentNode.clientHeight;this.filteredEmojisSubject.next(o+(o+this.virtualizeOffset)>=r&&-a-(o+this.virtualizeOffset)<=r?this.emojisToDisplay:[])}return n===this.margin?(this.ref.detectChanges(),!1):(this.hasStickyPosition||(this.label.nativeElement.style.top=`${n}px`),this.margin=n,this.ref.detectChanges(),!0)}updateRecentEmojis(){if("Recent"!==this.name)return;let e=this.recent||this.frequently.get(this.perLine,this.totalFrequentLines);(!e||!e.length)&&(e=this.frequently.get(this.perLine,this.totalFrequentLines)),e.length&&(this.emojis=e.map(n=>this.custom.filter(a=>a.id===n)[0]||n).filter(n=>!!this.emojiService.getData(n)))}updateDisplay(e){this.containerStyles.display=e,this.updateRecentEmojis(),this.ref.detectChanges()}trackById(e,n){return n}filterEmojis(){const e=[];for(const n of this.emojis||[]){if(!n)continue;const r=this.emojiService.getData(n);!r||r.obsoletedBy&&this.hideObsolete||!r.unified&&!r.custom||e.push(n)}return e}}return i.\u0275fac=function(e){return new(e||i)(k(ni),k(ow),k(FR))},i.\u0275cmp=qe({type:i,selectors:[["emoji-category"]],viewQuery:function(e,n){if(1&e&&(Lt(Zue,7),Lt(Xue,7)),2&e){let r;Ze(r=Xe())&&(n.container=r.first),Ze(r=Xe())&&(n.label=r.first)}},inputs:{emojis:"emojis",hasStickyPosition:"hasStickyPosition",name:"name",perLine:"perLine",totalFrequentLines:"totalFrequentLines",recent:"recent",custom:"custom",i18n:"i18n",id:"id",hideObsolete:"hideObsolete",notFoundEmoji:"notFoundEmoji",virtualize:"virtualize",virtualizeOffset:"virtualizeOffset",emojiIsNative:"emojiIsNative",emojiSkin:"emojiSkin",emojiSize:"emojiSize",emojiSet:"emojiSet",emojiSheetSize:"emojiSheetSize",emojiForceSize:"emojiForceSize",emojiTooltip:"emojiTooltip",emojiBackgroundImageFn:"emojiBackgroundImageFn",emojiImageUrlFn:"emojiImageUrlFn",emojiUseButton:"emojiUseButton"},outputs:{emojiOver:"emojiOver",emojiLeave:"emojiLeave",emojiClick:"emojiClick"},features:[or],decls:10,vars:11,consts:[[1,"emoji-mart-category",3,"ngStyle"],["container",""],[1,"emoji-mart-category-label",3,"ngStyle"],["aria-hidden","true",3,"ngStyle"],["label",""],[4,"ngIf","ngIfElse"],[4,"ngIf"],["normalRenderTemplate",""],[3,"emoji","size","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","imageUrlFn","hideObsolete","useButton","emojiOver","emojiLeave","emojiClick",4,"ngFor","ngForOf","ngForTrackBy"],[3,"emoji","size","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","imageUrlFn","hideObsolete","useButton","emojiOver","emojiLeave","emojiClick"],[3,"emoji","size","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","useButton"],[1,"emoji-mart-no-results-label"]],template:function(e,n){if(1&e&&(_(0,"section",0,1)(2,"div",2)(3,"span",3,4),N(5),F()(),ee(6,the,3,3,"div",5),ee(7,ihe,5,11,"div",6),F(),ee(8,rhe,1,2,"ng-template",null,7,ko)),2&e){const r=Li(9);Mt("emoji-mart-no-results",n.noEmojiToDisplay),S("ngStyle",n.containerStyles),It("aria-label",n.i18n.categories[n.id]),E(2),S("ngStyle",n.labelStyles),It("data-name",n.name),E(1),S("ngStyle",n.labelSpanStyles),E(2),Gt(" ",n.i18n.categories[n.id]," "),E(1),S("ngIf",n.virtualize)("ngIfElse",r),E(1),S("ngIf",n.noEmojiToDisplay)}},dependencies:[vn,ri,Mf,wR,Es],encapsulation:2,changeDetection:0}),i})();function CR(i){return i.reduce((t,e)=>(t.includes(e)||t.push(e),t),[])}function ghe(i,t){const e=CR(i),n=CR(t);return e.filter(r=>n.indexOf(r)>=0)}let bhe=(()=>{class i{constructor(e){this.emojiService=e,this.originalPool={},this.index={},this.emojisList={},this.emoticonsList={},this.emojiSearch={};for(const n of this.emojiService.emojis){const{shortNames:r,emoticons:a}=n,o=r[0];for(const c of a)this.emoticonsList[c]||(this.emoticonsList[c]=o);this.emojisList[o]=this.emojiService.getSanitizedData(o),this.originalPool[o]=n}}addCustomToPool(e,n){for(const r of e){const a=r.id||r.shortNames[0];a&&!n[a]&&(n[a]=this.emojiService.getData(r),this.emojisList[a]=this.emojiService.getSanitizedData(r))}}search(e,n,r=75,a=[],o=[],c=[]){this.addCustomToPool(c,this.originalPool);let h,f=this.originalPool;if(e.length){if("-"===e||"-1"===e)return[this.emojisList[-1]];if("+"===e||"+1"===e)return[this.emojisList["+1"]];let x=e.toLowerCase().split(/[\s|,|\-|_]+/),P=[];if(x.length>2&&(x=[x[0],x[1]]),a.length||o.length){f={};for(const $ of yR||[]){const te=!a||!a.length||a.indexOf($.id)>-1,fe=!(!o||!o.length)&&o.indexOf($.id)>-1;if(te&&!fe)for(const ye of $.emojis||[]){const Ie=this.emojiService.getData(ye);f[Ie?.id??""]=Ie}}if(c.length){const $=!a||!a.length||a.indexOf("custom")>-1,te=!(!o||!o.length)&&o.indexOf("custom")>-1;$&&!te&&this.addCustomToPool(c,f)}}P=x.map($=>{let te=f,fe=this.index,ye=0;for(let Ie=0;Ie<$.length;Ie++){const Le=$[Ie];if(ye++,fe[Le]||(fe[Le]={}),fe=fe[Le],!fe.results){const it={};fe.results=[],fe.pool={};for(const Be of Object.keys(te)){const ut=te[Be];this.emojiSearch[Be]||(this.emojiSearch[Be]=this.buildSearch(ut.short_names,ut.name,ut.id,ut.keywords,ut.emoticons));const Tt=this.emojiSearch[Be],qt=$.substr(0,ye),Vn=Tt.indexOf(qt);if(-1!==Vn){let Mn=Vn+1;qt===Be&&(Mn=0),fe.results.push(this.emojisList[Be]),fe.pool[Be]=ut,it[Be]=Mn}}fe.results.sort((Be,ut)=>it[Be.id]-it[ut.id])}te=fe.pool}return fe.results}).filter($=>$),h=P.length>1?ghe.apply(null,P):P.length?P[0]:[]}return h&&(n&&(h=h.filter(x=>!(!x||!x.id)&&n(this.emojiService.names[x.id]))),h&&h.length>r&&(h=h.slice(0,r))),h||null}buildSearch(e,n,r,a,o){const c=[],h=(f,x)=>{if(!f)return;const P=Array.isArray(f)?f:[f];for(const $ of P){const te=x?$.split(/[-|_|\s]+/):[$];for(let fe of te)fe=fe.toLowerCase(),c.includes(fe)||c.push(fe)}};return h(e,!0),h(n,!0),h(r,!0),h(a,!0),h(o,!1),c.join(",")}}return i.\u0275fac=function(e){return new(e||i)(Fe(ow))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),yhe=(()=>{class i{constructor(){this.changeSkin=new lt,this.opened=!1,this.skinTones=[1,2,3,4,5,6]}toggleOpen(){this.opened=!this.opened}isSelected(e){return e===this.skin}isVisible(e){return this.opened||this.isSelected(e)}pressed(e){return this.opened?!!this.isSelected(e):""}tabIndex(e){return this.isVisible(e)?"0":""}expanded(e){return this.isSelected(e)?this.opened:""}handleClick(e){this.opened?(this.opened=!1,e!==this.skin&&this.changeSkin.emit(e)):this.opened=!0}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=qe({type:i,selectors:[["emoji-skins"]],inputs:{skin:"skin",i18n:"i18n"},outputs:{changeSkin:"changeSkin"},decls:2,vars:3,consts:[[1,"emoji-mart-skin-swatches"],["class","emoji-mart-skin-swatch",3,"selected",4,"ngFor","ngForOf"],[1,"emoji-mart-skin-swatch"],["role","button",3,"tabIndex","click","keyup.enter","keyup.space"]],template:function(e,n){1&e&&(_(0,"section",0),ee(1,ahe,2,12,"span",1),F()),2&e&&(Mt("opened",n.opened),E(1),S("ngForOf",n.skinTones))},dependencies:[vn],encapsulation:2,changeDetection:0}),i})(),kR=(()=>{class i{constructor(e,n){this.ref=e,this.emojiService=n,this.skinChange=new lt,this.emojiData={}}ngOnChanges(){if(!this.emoji)return;this.emojiData=this.emojiService.getData(this.emoji,this.emojiSkin,this.emojiSet);const e=[],n=[];(this.emojiData.emoticons||[]).forEach(a=>{e.indexOf(a.toLowerCase())>=0||(e.push(a.toLowerCase()),n.push(a))}),this.listedEmoticons=n,this.ref?.detectChanges()}}return i.\u0275fac=function(e){return new(e||i)(k(ni),k(ow))},i.\u0275cmp=qe({type:i,selectors:[["emoji-preview"]],inputs:{title:"title",emoji:"emoji",idleEmoji:"idleEmoji",i18n:"i18n",emojiIsNative:"emojiIsNative",emojiSkin:"emojiSkin",emojiSize:"emojiSize",emojiSet:"emojiSet",emojiSheetSize:"emojiSheetSize",emojiBackgroundImageFn:"emojiBackgroundImageFn",emojiImageUrlFn:"emojiImageUrlFn"},outputs:{skinChange:"skinChange"},features:[or],decls:9,vars:6,consts:[["class","emoji-mart-preview",4,"ngIf"],[1,"emoji-mart-preview",3,"hidden"],[1,"emoji-mart-preview-emoji"],[3,"isNative","skin","set","emoji","backgroundImageFn","size","imageUrlFn",4,"ngIf"],[1,"emoji-mart-preview-data"],[1,"emoji-mart-title-label"],[1,"emoji-mart-preview-skins"],[3,"skin","i18n","changeSkin"],[1,"emoji-mart-preview"],[3,"emoji","size","isNative","skin","set","sheetSize","backgroundImageFn","imageUrlFn"],[1,"emoji-mart-preview-name"],[1,"emoji-mart-preview-shortname"],["class","emoji-mart-preview-shortname",4,"ngFor","ngForOf"],[1,"emoji-mart-preview-emoticons"],["class","emoji-mart-preview-emoticon",4,"ngFor","ngForOf"],[1,"emoji-mart-preview-emoticon"],[3,"isNative","skin","set","emoji","backgroundImageFn","size","imageUrlFn"]],template:function(e,n){1&e&&(ee(0,lhe,10,12,"div",0),_(1,"div",1)(2,"div",2),ee(3,che,1,7,"ngx-emoji",3),F(),_(4,"div",4)(5,"span",5),N(6),F()(),_(7,"div",6)(8,"emoji-skins",7),pe("changeSkin",function(a){return n.skinChange.emit(a)}),F()()()),2&e&&(S("ngIf",n.emoji&&n.emojiData),E(1),S("hidden",n.emoji),E(2),S("ngIf",n.idleEmoji&&n.idleEmoji.length),E(3),yt(n.title),E(2),S("skin",n.emojiSkin)("i18n",n.i18n))},dependencies:[vn,ri,wR,yhe],encapsulation:2,changeDetection:0}),i})(),vhe=0,DR=(()=>{class i{constructor(e){this.emojiSearch=e,this.maxResults=75,this.autoFocus=!1,this.include=[],this.exclude=[],this.custom=[],this.searchResults=new lt,this.enterKey=new lt,this.isSearching=!1,this.query="",this.inputId="emoji-mart-search-"+ ++vhe}ngOnInit(){this.icon=this.icons.search}ngAfterViewInit(){this.autoFocus&&this.inputRef.nativeElement.focus()}clear(){this.query="",this.handleSearch(""),this.inputRef.nativeElement.focus()}handleEnterKey(e){this.query&&(this.enterKey.emit(e),e.preventDefault())}handleSearch(e){""===e?(this.icon=this.icons.search,this.isSearching=!1):(this.icon=this.icons.delete,this.isSearching=!0);const n=this.emojiSearch.search(this.query,this.emojisToShowFilter,this.maxResults,this.include,this.exclude,this.custom);this.searchResults.emit(n)}handleChange(){this.handleSearch(this.query)}}return i.\u0275fac=function(e){return new(e||i)(k(bhe))},i.\u0275cmp=qe({type:i,selectors:[["emoji-search"]],viewQuery:function(e,n){if(1&e&&Lt(dhe,7),2&e){let r;Ze(r=Xe())&&(n.inputRef=r.first)}},inputs:{maxResults:"maxResults",autoFocus:"autoFocus",i18n:"i18n",include:"include",exclude:"exclude",custom:"custom",icons:"icons",emojisToShowFilter:"emojisToShowFilter"},outputs:{searchResults:"searchResults",enterKey:"enterKey"},decls:8,vars:9,consts:[[1,"emoji-mart-search"],["type","search",3,"id","placeholder","autofocus","ngModel","keyup.enter","ngModelChange"],["inputRef",""],[1,"emoji-mart-sr-only",3,"htmlFor"],["type","button",1,"emoji-mart-search-icon",3,"disabled","click","keyup.enter"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 20 20","width","13","height","13","opacity","0.5"]],template:function(e,n){1&e&&(_(0,"div",0)(1,"input",1,2),pe("keyup.enter",function(a){return n.handleEnterKey(a)})("ngModelChange",function(a){return n.query=a})("ngModelChange",function(){return n.handleChange()}),F(),_(3,"label",3),N(4),F(),_(5,"button",4),pe("click",function(){return n.clear()})("keyup.enter",function(){return n.clear()}),mo(),_(6,"svg",5),Ce(7,"path"),F()()()),2&e&&(E(1),S("id",n.inputId)("placeholder",n.i18n.search)("autofocus",n.autoFocus)("ngModel",n.query),E(2),S("htmlFor",n.inputId),E(1),Gt(" ",n.i18n.search," "),E(1),S("disabled",!n.isSearching),It("aria-label",n.i18n.clear),E(2),It("d",n.icon))},dependencies:[xa,ua,Ca],encapsulation:2}),i})();const MR={activity:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24m10 11h-5c.3-2.5 1.3-4.8 2-6.1a10 10 0 0 1 3 6.1m-9 0V2a10 10 0 0 1 4.4 1.6A18 18 0 0 0 15 11h-2zm-2 0H9a18 18 0 0 0-2.4-7.4A10 10 0 0 1 11 2.1V11zm0 2v9a10 10 0 0 1-4.4-1.6A18 18 0 0 0 9 13h2zm4 0a18 18 0 0 0 2.4 7.4 10 10 0 0 1-4.4 1.5V13h2zM5 4.9c.7 1.3 1.7 3.6 2 6.1H2a10 10 0 0 1 3-6.1M2 13h5c-.3 2.5-1.3 4.8-2 6.1A10 10 0 0 1 2 13m17 6.1c-.7-1.3-1.7-3.6-2-6.1h5a10 10 0 0 1-3 6.1",custom:"M10 1h3v21h-3zm10.186 4l1.5 2.598L3.5 18.098 2 15.5zM2 7.598L3.5 5l18.186 10.5-1.5 2.598z",flags:"M0 0l6 24h2L2 0zm21 5h-4l-1-4H4l3 12h3l1 4h13L21 5zM6.6 3h7.8l2 8H8.6l-2-8zm8.8 10l-2.9 1.9-.4-1.9h3.3zm3.6 0l-1.5-6h2l2 8H16l3-2z",foods:"M17 5c-1.8 0-2.9.4-3.7 1 .5-1.3 1.8-3 4.7-3a1 1 0 0 0 0-2c-3 0-4.6 1.3-5.5 2.5l-.2.2c-.6-1.9-1.5-3.7-3-3.7C8.5 0 7.7.3 7 1c-2 1.5-1.7 2.9-.5 4C3.6 5.2 0 7.4 0 13c0 4.6 5 11 9 11 2 0 2.4-.5 3-1 .6.5 1 1 3 1 4 0 9-6.4 9-11 0-6-4-8-7-8M8.2 2.5c.7-.5 1-.5 1-.5.4.2 1 1.4 1.4 3-1.6-.6-2.8-1.3-3-1.8l.6-.7M15 22c-1 0-1.2-.1-1.6-.4l-.1-.2a2 2 0 0 0-2.6 0l-.1.2c-.4.3-.5.4-1.6.4-2.8 0-7-5.4-7-9 0-6 4.5-6 5-6 2 0 2.5.4 3.4 1.2l.3.3a2 2 0 0 0 2.6 0l.3-.3c1-.8 1.5-1.2 3.4-1.2.5 0 5 .1 5 6 0 3.6-4.2 9-7 9",nature:"M15.5 8a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m-7 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m10.43-8h-.02c-.97 0-2.14.79-3.02 1.5A13.88 13.88 0 0 0 12 .99c-1.28 0-2.62.13-3.87.51C7.24.8 6.07 0 5.09 0h-.02C3.35 0 .07 2.67 0 7.03c-.04 2.47.28 4.23 1.04 5 .26.27.88.69 1.3.9.19 3.17.92 5.23 2.53 6.37.9.64 2.19.95 3.2 1.1-.03.2-.07.4-.07.6 0 1.77 2.35 3 4 3s4-1.23 4-3c0-.2-.04-.4-.07-.59 2.57-.38 5.43-1.87 5.92-7.58.4-.22.89-.57 1.1-.8.77-.76 1.09-2.52 1.05-5C23.93 2.67 20.65 0 18.93 0M3.23 9.13c-.24.29-.84 1.16-.9 1.24A9.67 9.67 0 0 1 2 7.08c.05-3.28 2.48-4.97 3.1-5.03.25.02.72.27 1.26.65A7.95 7.95 0 0 0 4 7.82c-.14.55-.4.86-.79 1.31M12 22c-.9 0-1.95-.7-2-1 0-.65.47-1.24 1-1.6v.6a1 1 0 1 0 2 0v-.6c.52.36 1 .95 1 1.6-.05.3-1.1 1-2 1m3-3.48v.02a4.75 4.75 0 0 0-1.26-1.02c1.09-.52 2.24-1.33 2.24-2.22 0-1.84-1.78-2.2-3.98-2.2s-3.98.36-3.98 2.2c0 .89 1.15 1.7 2.24 2.22A4.8 4.8 0 0 0 9 18.54v-.03a6.1 6.1 0 0 1-2.97-.84c-1.3-.92-1.84-3.04-1.86-6.48l.03-.04c.5-.82 1.49-1.45 1.8-3.1C6 6 7.36 4.42 8.36 3.53c1.01-.35 2.2-.53 3.59-.53 1.45 0 2.68.2 3.73.57 1 .9 2.32 2.46 2.32 4.48.31 1.65 1.3 2.27 1.8 3.1l.1.18c-.06 5.97-1.95 7.01-4.9 7.19m6.63-8.2l-.11-.2a7.59 7.59 0 0 0-.74-.98 3.02 3.02 0 0 1-.79-1.32 7.93 7.93 0 0 0-2.35-5.12c.53-.38 1-.63 1.26-.65.64.07 3.05 1.77 3.1 5.03.02 1.81-.35 3.22-.37 3.24",objects:"M12 0a9 9 0 0 0-5 16.5V21s2 3 5 3 5-3 5-3v-4.5A9 9 0 0 0 12 0zm0 2a7 7 0 1 1 0 14 7 7 0 0 1 0-14zM9 17.5a9 9 0 0 0 6 0v.8a7 7 0 0 1-3 .7 7 7 0 0 1-3-.7v-.8zm.2 3a8.9 8.9 0 0 0 2.8.5c1 0 1.9-.2 2.8-.5-.6.7-1.6 1.5-2.8 1.5-1.1 0-2.1-.8-2.8-1.5zm5.5-8.1c-.8 0-1.1-.8-1.5-1.8-.5-1-.7-1.5-1.2-1.5s-.8.5-1.3 1.5c-.4 1-.8 1.8-1.6 1.8h-.3c-.5-.2-.8-.7-1.3-1.8l-.2-1A3 3 0 0 0 7 9a1 1 0 0 1 0-2c1.7 0 2 1.4 2.2 2.1.5-1 1.3-2 2.8-2 1.5 0 2.3 1.1 2.7 2.1.2-.8.6-2.2 2.3-2.2a1 1 0 1 1 0 2c-.2 0-.3.5-.3.7a6.5 6.5 0 0 1-.3 1c-.5 1-.8 1.7-1.7 1.7",people:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24m0 22a10 10 0 1 1 0-20 10 10 0 0 1 0 20M8 7a2 2 0 1 0 0 4 2 2 0 0 0 0-4m8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4m-.8 8c-.7 1.2-1.8 2-3.3 2-1.5 0-2.7-.8-3.4-2H15m3-2H6a6 6 0 1 0 12 0",places:"M6.5 12a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 3c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5m11-3a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 3c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5m5-5.5l-1-.4-.1-.1h.6c.6 0 1-.4 1-1 0-1-.9-2-2-2h-.6l-.8-1.7A3 3 0 0 0 16.8 2H7.2a3 3 0 0 0-2.8 2.3L3.6 6H3a2 2 0 0 0-2 2c0 .6.4 1 1 1h.6v.1l-1 .4a2 2 0 0 0-1.4 2l.7 7.6a1 1 0 0 0 1 .9H3v1c0 1.1.9 2 2 2h2a2 2 0 0 0 2-2v-1h6v1c0 1.1.9 2 2 2h2a2 2 0 0 0 2-2v-1h1.1a1 1 0 0 0 1-.9l.7-7.5a2 2 0 0 0-1.3-2.1M6.3 4.9c.1-.5.5-.9 1-.9h9.5c.4 0 .8.4 1 .9L19.2 9H4.7l1.6-4.1zM7 21H5v-1h2v1zm12 0h-2v-1h2v1zm2.2-3H2.8l-.7-6.6.9-.4h18l.9.4-.7 6.6z",recent:"M13 4h-2v7H9v2h2v2h2v-2h4v-2h-4zm-1-4a12 12 0 1 0 0 24 12 12 0 0 0 0-24m0 22a10 10 0 1 1 0-20 10 10 0 0 1 0 20",symbols:"M0 0h11v2H0zm4 11h3V6h4V4H0v2h4zm11.5 6a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5m0-2.99a.5.5 0 0 1 0 .99c-.28 0-.5-.22-.5-.5s.22-.49.5-.49m6 5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 2.99a.5.5 0 0 1-.5-.5.5.5 0 0 1 1 .01.5.5 0 0 1-.5.49m.5-9l-9 9 1.51 1.5 9-9zm-5-2c2.2 0 4-1.12 4-2.5V2s.98-.16 1.5.95C23 4.05 23 6 23 6s1-1.12 1-3.13C24-.02 21 0 21 0h-2v6.35A5.85 5.85 0 0 0 17 6c-2.2 0-4 1.12-4 2.5s1.8 2.5 4 2.5m-6.7 9.48L8.82 18.9a47.54 47.54 0 0 1-1.44 1.13c-.3-.3-.99-1.02-2.04-2.19.9-.83 1.47-1.46 1.72-1.89s.38-.87.38-1.33c0-.6-.27-1.18-.82-1.76-.54-.58-1.33-.87-2.35-.87-1 0-1.79.29-2.34.87-.56.6-.83 1.18-.83 1.79 0 .81.42 1.75 1.25 2.8a6.57 6.57 0 0 0-1.8 1.79 3.46 3.46 0 0 0-.51 1.83c0 .86.3 1.56.92 2.1a3.5 3.5 0 0 0 2.42.83c1.17 0 2.44-.38 3.81-1.14L8.23 24h2.82l-2.09-2.38 1.34-1.14zM3.56 14.1a1.02 1.02 0 0 1 .73-.28c.31 0 .56.08.75.25a.85.85 0 0 1 .28.66c0 .52-.42 1.11-1.26 1.78-.53-.65-.8-1.23-.8-1.74a.9.9 0 0 1 .3-.67m.18 7.9c-.43 0-.78-.12-1.06-.35-.28-.23-.41-.49-.41-.76 0-.6.5-1.3 1.52-2.09a31.23 31.23 0 0 0 2.25 2.44c-.92.5-1.69.76-2.3.76"},ER={search:"M12.9 14.32a8 8 0 1 1 1.41-1.41l5.35 5.33-1.42 1.42-5.33-5.34zM8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12z",delete:"M10 8.586L2.929 1.515 1.515 2.929 8.586 10l-7.071 7.071 1.414 1.414L10 11.414l7.071 7.071 1.414-1.414L11.414 10l7.071-7.071-1.414-1.414L10 8.586z"},SR={search:"Search",emojilist:"List of emoji",notfound:"No Emoji Found",clear:"Clear",categories:{search:"Search Results",recent:"Frequently Used",people:"Smileys & People",nature:"Animals & Nature",foods:"Food & Drink",activity:"Activity",places:"Travel & Places",objects:"Objects",symbols:"Symbols",flags:"Flags",custom:"Custom"},skintones:{1:"Default Skin Tone",2:"Light Skin Tone",3:"Medium-Light Skin Tone",4:"Medium Skin Tone",5:"Medium-Dark Skin Tone",6:"Dark Skin Tone"}};let uM=(()=>{class i{constructor(e,n,r,a,o){this.ngZone=e,this.renderer=n,this.ref=r,this.frequently=a,this.platformId=o,this.perLine=9,this.totalFrequentLines=4,this.i18n={},this.style={},this.title="Emoji Mart\u2122",this.emoji="department_store",this.darkMode=!("function"!=typeof matchMedia||!matchMedia("(prefers-color-scheme: dark)").matches),this.color="#ae65c5",this.hideObsolete=!0,this.categories=[],this.activeCategories=[],this.set="apple",this.skin=1,this.isNative=!1,this.emojiSize=24,this.sheetSize=64,this.showPreview=!0,this.emojiTooltip=!1,this.autoFocus=!1,this.custom=[],this.hideRecent=!0,this.notFoundEmoji="sleuth_or_spy",this.categoriesIcons=MR,this.searchIcons=ER,this.useButton=!1,this.enableFrequentEmojiSort=!1,this.enableSearch=!0,this.showSingleCategory=!1,this.virtualize=!1,this.virtualizeOffset=0,this.emojiClick=new lt,this.emojiSelect=new lt,this.skinChange=new lt,this.scrollHeight=0,this.clientHeight=0,this.clientWidth=0,this.firstRender=!0,this.animationFrameRequestId=null,this.NAMESPACE="emoji-mart",this.measureScrollbar=0,this.RECENT_CATEGORY={id:"recent",name:"Recent",emojis:null},this.SEARCH_CATEGORY={id:"search",name:"Search",emojis:null,anchor:!1},this.CUSTOM_CATEGORY={id:"custom",name:"Custom",emojis:[]},this.backgroundImageFn=(c,h)=>`https://unpkg.com/emoji-datasource-${this.set}@6.0.1/img/${this.set}/sheets-256/${this.sheetSize}.png`}ngOnInit(){this.measureScrollbar=function _he(){if(typeof document>"u")return 0;const i=document.createElement("div");i.style.width="100px",i.style.height="100px",i.style.overflow="scroll",i.style.position="absolute",i.style.top="-9999px",document.body.appendChild(i);const t=i.offsetWidth-i.clientWidth;return document.body.removeChild(i),t}(),this.i18n={...SR,...this.i18n},this.i18n.categories={...SR.categories,...this.i18n.categories},this.skin=JSON.parse(kd(this.platformId)&&localStorage.getItem(`${this.NAMESPACE}.skin`)||"null")||this.skin;const e=[...yR];this.custom.length>0&&(this.CUSTOM_CATEGORY.emojis=this.custom.map(c=>({...c,id:c.shortNames[0],custom:!0})),e.push(this.CUSTOM_CATEGORY)),void 0!==this.include&&e.sort((c,h)=>this.include.indexOf(c.id)>this.include.indexOf(h.id)?1:-1);for(const c of e){const h=!this.include||!this.include.length||this.include.indexOf(c.id)>-1,f=!(!this.exclude||!this.exclude.length)&&this.exclude.indexOf(c.id)>-1;if(h&&!f){if(this.emojisToShowFilter){const x=[],{emojis:P}=c;for(let $=0;$<P.length;$++){const te=P[$];this.emojisToShowFilter(te)&&x.push(te)}x.length&&this.categories.push({emojis:x,name:c.name,id:c.id})}else this.categories.push(c);this.categoriesIcons={...MR,...this.categoriesIcons},this.searchIcons={...ER,...this.searchIcons}}}const n=!this.include||!this.include.length||this.include.indexOf(this.RECENT_CATEGORY.id)>-1,r=!(!this.exclude||!this.exclude.length)&&this.exclude.indexOf(this.RECENT_CATEGORY.id)>-1;n&&!r&&(this.hideRecent=!1,this.categories.unshift(this.RECENT_CATEGORY)),this.categories[0]&&(this.categories[0].first=!0),this.categories.unshift(this.SEARCH_CATEGORY),this.selected=this.categories.filter(c=>c.first)[0].name;const a=Math.min(this.categories.length,3);this.setActiveCategories(this.activeCategories=this.categories.slice(0,a));const o=this.categories[a-1].emojis.slice();this.categories[a-1].emojis=o.slice(0,60),setTimeout(()=>{this.categories[a-1].emojis=o,this.setActiveCategories(this.categories),this.ref.detectChanges(),kd(this.platformId)&&this.ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this.updateCategoriesSize()})})}),this.ngZone.runOutsideAngular(()=>{this.scrollListener=this.renderer.listen(this.scrollRef.nativeElement,"scroll",()=>{this.handleScroll()})})}ngOnDestroy(){this.scrollListener?.(),this.cancelAnimationFrame()}setActiveCategories(e){this.activeCategories=this.showSingleCategory?e.filter(n=>n.name===this.selected||n===this.SEARCH_CATEGORY):e}updateCategoriesSize(){if(this.categoryRefs.forEach(e=>e.memoizeSize()),this.scrollRef){const e=this.scrollRef.nativeElement;this.scrollHeight=e.scrollHeight,this.clientHeight=e.clientHeight,this.clientWidth=e.clientWidth}}handleAnchorClick(e){if(this.updateCategoriesSize(),this.selected=e.category.name,this.setActiveCategories(this.categories),this.SEARCH_CATEGORY.emojis)return this.handleSearch(null),this.searchRef?.clear(),void this.handleAnchorClick(e);const n=this.categoryRefs.find(r=>r.id===e.category.id);if(n){let{top:r}=n;e.category.first?r=0:r+=1,this.scrollRef.nativeElement.scrollTop=r}this.nextScroll=e.category.name;for(const r of this.categories)this.categoryRefs.find(({id:o})=>o===r.id)?.handleScroll(this.scrollRef.nativeElement.scrollTop)}categoryTrack(e,n){return n.id}handleScroll(e=!1){if(this.nextScroll)return this.selected=this.nextScroll,this.nextScroll=void 0,void this.ref.detectChanges();if(!this.scrollRef||this.showSingleCategory)return;let n;if(this.SEARCH_CATEGORY.emojis)n=this.SEARCH_CATEGORY;else{const r=this.scrollRef.nativeElement;if(0===r.scrollTop)n=this.categories.find(a=>!0===a.first);else if(r.scrollHeight-r.scrollTop===this.clientHeight)n=this.categories[this.categories.length-1];else for(const a of this.categories)this.categoryRefs.find(({id:h})=>h===a.id)?.handleScroll(r.scrollTop)&&(n=a);this.scrollTop=r.scrollTop}!e&&n&&n.name!==this.selected?(this.selected=n.name,this.ref.detectChanges()):e&&this.ref.detectChanges()}handleSearch(e){this.SEARCH_CATEGORY.emojis=e;for(const n of this.categoryRefs.toArray())"Search"===n.name?(n.emojis=e,n.updateDisplay(e?"block":"none")):n.updateDisplay(e?"none":"block");this.scrollRef.nativeElement.scrollTop=0,this.handleScroll()}handleEnterKey(e,n){if(!n&&null!==this.SEARCH_CATEGORY.emojis&&this.SEARCH_CATEGORY.emojis.length){if(!(n=this.SEARCH_CATEGORY.emojis[0]))return;this.emojiSelect.emit({$event:e,emoji:n})}!this.hideRecent&&!this.recent&&n&&this.frequently.add(n);const r=this.categoryRefs.toArray()[1];r&&this.enableFrequentEmojiSort&&(r.updateRecentEmojis(),r.ref.markForCheck())}handleEmojiOver(e){if(!this.showPreview||!this.previewRef)return;const n=this.CUSTOM_CATEGORY.emojis.find(r=>r.id===e.emoji.id);n&&(e.emoji={...n}),this.previewEmoji=e.emoji,this.cancelAnimationFrame(),this.ref?.detectChanges()}handleEmojiLeave(){!this.showPreview||!this.previewRef||this.ngZone.runOutsideAngular(()=>{this.animationFrameRequestId=requestAnimationFrame(()=>{this.previewEmoji=null,this.ref.detectChanges()})})}handleEmojiClick(e){this.emojiClick.emit(e),this.emojiSelect.emit(e),this.handleEnterKey(e.$event,e.emoji)}handleSkinChange(e){this.skin=e,localStorage.setItem(`${this.NAMESPACE}.skin`,String(e)),this.skinChange.emit(e)}getWidth(){return this.style&&this.style.width?this.style.width:this.perLine*(this.emojiSize+12)+12+2+this.measureScrollbar+"px"}cancelAnimationFrame(){null!==this.animationFrameRequestId&&(cancelAnimationFrame(this.animationFrameRequestId),this.animationFrameRequestId=null)}}return i.\u0275fac=function(e){return new(e||i)(k(Rt),k(gl),k(ni),k(FR),k(Ec))},i.\u0275cmp=qe({type:i,selectors:[["emoji-mart"]],viewQuery:function(e,n){if(1&e&&(Lt(uhe,7),Lt(kR,5),Lt(DR,5),Lt(xR,5)),2&e){let r;Ze(r=Xe())&&(n.scrollRef=r.first),Ze(r=Xe())&&(n.previewRef=r.first),Ze(r=Xe())&&(n.searchRef=r.first),Ze(r=Xe())&&(n.categoryRefs=r)}},inputs:{perLine:"perLine",totalFrequentLines:"totalFrequentLines",i18n:"i18n",style:"style",title:"title",emoji:"emoji",darkMode:"darkMode",color:"color",hideObsolete:"hideObsolete",categories:"categories",activeCategories:"activeCategories",set:"set",skin:"skin",isNative:"isNative",emojiSize:"emojiSize",sheetSize:"sheetSize",emojisToShowFilter:"emojisToShowFilter",showPreview:"showPreview",emojiTooltip:"emojiTooltip",autoFocus:"autoFocus",custom:"custom",hideRecent:"hideRecent",imageUrlFn:"imageUrlFn",include:"include",exclude:"exclude",notFoundEmoji:"notFoundEmoji",categoriesIcons:"categoriesIcons",searchIcons:"searchIcons",useButton:"useButton",enableFrequentEmojiSort:"enableFrequentEmojiSort",enableSearch:"enableSearch",showSingleCategory:"showSingleCategory",virtualize:"virtualize",virtualizeOffset:"virtualizeOffset",recent:"recent",backgroundImageFn:"backgroundImageFn"},outputs:{emojiClick:"emojiClick",emojiSelect:"emojiSelect",skinChange:"skinChange"},decls:8,vars:16,consts:[[3,"ngStyle"],[1,"emoji-mart-bar"],[3,"categories","color","selected","i18n","icons","anchorClick"],[3,"i18n","include","exclude","custom","autoFocus","icons","emojisToShowFilter","searchResults","enterKey",4,"ngIf"],[1,"emoji-mart-scroll"],["scrollRef",""],[3,"id","name","emojis","perLine","totalFrequentLines","hasStickyPosition","i18n","hideObsolete","notFoundEmoji","custom","recent","virtualize","virtualizeOffset","emojiIsNative","emojiSkin","emojiSize","emojiSet","emojiSheetSize","emojiForceSize","emojiTooltip","emojiBackgroundImageFn","emojiImageUrlFn","emojiUseButton","emojiOver","emojiLeave","emojiClick",4,"ngFor","ngForOf","ngForTrackBy"],["class","emoji-mart-bar",4,"ngIf"],[3,"i18n","include","exclude","custom","autoFocus","icons","emojisToShowFilter","searchResults","enterKey"],[3,"id","name","emojis","perLine","totalFrequentLines","hasStickyPosition","i18n","hideObsolete","notFoundEmoji","custom","recent","virtualize","virtualizeOffset","emojiIsNative","emojiSkin","emojiSize","emojiSet","emojiSheetSize","emojiForceSize","emojiTooltip","emojiBackgroundImageFn","emojiImageUrlFn","emojiUseButton","emojiOver","emojiLeave","emojiClick"],[3,"emoji","idleEmoji","emojiIsNative","emojiSize","emojiSkin","emojiSet","i18n","emojiSheetSize","emojiBackgroundImageFn","emojiImageUrlFn","skinChange"]],template:function(e,n){1&e&&(_(0,"section",0)(1,"div",1)(2,"emoji-mart-anchors",2),pe("anchorClick",function(a){return n.handleAnchorClick(a)}),F()(),ee(3,hhe,1,7,"emoji-search",3),_(4,"section",4,5),ee(6,mhe,1,23,"emoji-category",6),F(),ee(7,fhe,2,11,"div",7),F()),2&e&&(db("emoji-mart ",n.darkMode?"emoji-mart-dark":"",""),sr("width",n.getWidth()),S("ngStyle",n.style),E(2),S("categories",n.categories)("color",n.color)("selected",n.selected)("i18n",n.i18n)("icons",n.categoriesIcons),E(1),S("ngIf",n.enableSearch),E(1),It("aria-label",n.i18n.emojilist),E(2),S("ngForOf",n.activeCategories)("ngForTrackBy",n.categoryTrack),E(1),S("ngIf",n.showPreview))},dependencies:[vn,ri,Mf,phe,xR,DR,kR],encapsulation:2,changeDetection:0}),i})(),whe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Dr,Cv,$ue]}),i})(),TR=(()=>{class i{constructor(){this.hideText=!1,this.loading=!1,this.textHidden=!1}set mtBasicSpinner(e){this.loading=e,this.hideText&&(this.textHidden=e)}get disabled(){return this.mtBasicSpinner}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","mtBasicSpinner",""]],hostVars:5,hostBindings:function(e,n){2&e&&(Ua("disabled",n.disabled),Mt("mat-spinner",n.loading)("hide-btn-text",n.textHidden))},inputs:{hideText:"hideText",mtBasicSpinner:"mtBasicSpinner"}}),i})(),Fhe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})();const xhe=["replyInput"];function Che(i,t){if(1&i){const e=Je();_(0,"emoji-mart",6),pe("emojiSelect",function(r){return Te(e),Ae(Q(2).addEmoji(r))}),F()}2&i&&S("isNative",!0)("showPreview",!0)}function khe(i,t){if(1&i){const e=Je();_(0,"mat-icon",3),pe("click",function(){Te(e);const r=Q();return Ae(r.isEmojiPickerVisible=!r.isEmojiPickerVisible)}),N(1,"sentiment_satisfied"),F(),ee(2,Che,1,2,"emoji-mart",4),_(3,"button",5),pe("click",function(){return Te(e),Ae(Q().openReply())}),N(4,"Reply"),F()}if(2&i){const e=Q();E(2),S("ngIf",e.isEmojiPickerVisible)}}function Dhe(i,t){if(1&i){const e=Je();_(0,"emoji-mart",19),pe("emojiSelect",function(r){return Te(e),Ae(Q(2).addEmojiInText(r))}),F()}2&i&&S("isNative",!0)("showPreview",!1)}function Mhe(i,t){if(1&i&&(_(0,"small",20),N(1),F()),2&i){const e=Q(2);E(1),yt(e.error)}}function Ehe(i,t){1&i&&Ce(0,"button",21),2&i&&S("mtBasicSpinner",!0)}function She(i,t){if(1&i){const e=Je();_(0,"button",22),pe("click",function(){return Te(e),Ae(Q(2).addReply())}),N(1,"Reply"),F()}if(2&i){const e=Q(2);S("disabled",0==(null==e.note?null:e.note.length))}}function The(i,t){if(1&i){const e=Je();_(0,"div",7)(1,"mat-form-field",8)(2,"mat-label"),N(3,"Note"),F(),_(4,"textarea",9,10),pe("ngModelChange",function(r){return Te(e),Ae(Q().note=r)}),F()(),_(6,"div",11)(7,"mat-icon",12),pe("click",function(){Te(e);const r=Q();return Ae(r.isEmojiPickerTextVisible=!r.isEmojiPickerTextVisible)}),N(8,"sentiment_satisfied"),F(),ee(9,Dhe,1,2,"emoji-mart",13),Ce(10,"div",14),ee(11,Mhe,2,1,"small",15),_(12,"button",16),pe("click",function(){return Te(e),Ae(Q().hideReply())}),N(13,"Cancel"),F(),ee(14,Ehe,1,1,"button",17),ee(15,She,2,1,"button",18),F()()}if(2&i){const e=Q();E(4),S("tabIndex",0)("ngModel",e.note),E(5),S("ngIf",e.isEmojiPickerTextVisible),E(2),S("ngIf",e.error),E(3),S("ngIf",e.publishing),E(1),S("ngIf",!e.publishing)}}const Ahe=function(i,t){return{"no-lines":i,lines:t}};class ah{onKeydownHandler(t){this.hideReply()}constructor(t,e,n,r,a,o){this.eventService=t,this.dataService=e,this.optionsService=n,this.profileService=r,this.utilities=a,this.dialog=o,this.replyOpen=!1,this.publishing=!1,this.error=""}openReply(){this.replyOpen=!0,this.publishing=!1,this.note="",this.error="",setTimeout(()=>{console.log(this.replyInput),this.replyInput?.nativeElement.focus()})}hideReply(){this.replyOpen=!1,this.publishing=!1,this.note="",this.error=""}addEmojiInText(t){var e=this;return Se(function*(){e.isEmojiPickerTextVisible=!1,e.note=`${e.note}${t.emoji.native}`})()}addEmoji(t){var e=this;return Se(function*(){e.isEmojiPickerVisible=!1;let n=e.dataService.createEvent($n.Reaction,t.emoji.native);if(!e.event)return void console.warn("Event is empty on reaction.");n.tags=Object.assign([],e.event.tags),n.tags.push(["p",e.event.pubkey]),n.tags.push(["e",e.event.id]);const r=yield e.dataService.signEvent(n);console.log(r),yield e.dataService.publishEvent(r),e.event.tags=n.tags})()}addReply(){var t=this;return Se(function*(){t.publishing=!0;let e=t.dataService.createEvent($n.Text,t.note);if(t.event){e.tags=Object.assign([],t.eventService.getPublicKeyAndEventTags(t.event.tags)),e.tags.push(["p",t.event.pubkey]),e.tags.push(["e",t.event.id]);try{const n=yield t.dataService.signEvent(e);console.log(n),yield t.dataService.publishEvent(n),t.hideReply()}catch(n){t.error=n.toString(),console.log(n),t.publishing=!1}}else console.warn("Event is empty on reply.")})()}}function Ihe(i,t){if(1&i){const e=Je();_(0,"span",1),pe("click",function(){return Te(e),Ae(Q().toggle())}),N(1),mi(2,"ago"),F()}if(2&i){const e=Q();E(1),yt(gi(2,1,e.date))}}function Lhe(i,t){if(1&i){const e=Je();_(0,"span",1),pe("click",function(){return Te(e),Ae(Q().toggle())}),N(1),mi(2,"date"),F()}if(2&i){const e=Q();E(1),yt(ex(2,1,1e3*e.date,"yyyy-MM-dd HH:mm:ss"))}}ah.\u0275fac=function(t){return new(t||ah)(k(Jo),k(Ba),k(Sr),k(Hn),k(an),k(Ia))},ah.\u0275cmp=qe({type:ah,selectors:[["app-event-buttons"]],viewQuery:function(t,e){if(1&t&&Lt(xhe,5),2&t){let n;Ze(n=Xe())&&(e.replyInput=n.first)}},hostBindings:function(t,e){1&t&&pe("keydown.escape",function(r){return e.onKeydownHandler(r)},0,Q1)},inputs:{event:"event"},decls:3,vars:6,consts:[[1,"thread-actions",3,"ngClass"],[3,"ngIf"],["class","reply-widget",4,"ngIf"],["matTooltip","Reaction to post",1,"reaction-icon","toolbar-icon",3,"click"],["class","picker","emoji","point_up","title","Choose your reaction",3,"isNative","showPreview","emojiSelect",4,"ngIf"],["mat-button","",3,"click"],["emoji","point_up","title","Choose your reaction",1,"picker",3,"isNative","showPreview","emojiSelect"],[1,"reply-widget"],[1,"input-full-width"],["matInput","","type","text","rows","6",1,"note-input",3,"tabIndex","ngModel","ngModelChange"],["replyInput",""],[1,"reply-widget-buttons"],["matTooltip","Insert emoji in text",1,"toolbar-icon","margin-right",3,"click"],["class","picker","emoji","point_up","title","Choose your emoji",3,"isNative","showPreview","emojiSelect",4,"ngIf"],[1,"reply-widget-middle"],["class","error",4,"ngIf"],["mat-stroked-button","","color","primary",3,"click"],["mat-icon-button","",3,"mtBasicSpinner",4,"ngIf"],["mat-flat-button","","color","primary",3,"disabled","click",4,"ngIf"],["emoji","point_up","title","Choose your emoji",1,"picker",3,"isNative","showPreview","emojiSelect"],[1,"error"],["mat-icon-button","",3,"mtBasicSpinner"],["mat-flat-button","","color","primary",3,"disabled","click"]],template:function(t,e){1&t&&(_(0,"div",0),ee(1,khe,5,1,"ng-template",1),ee(2,The,16,6,"div",2),F()),2&t&&(S("ngClass",Ws(3,Ahe,!e.optionsService.values.showLines,e.optionsService.values.showLines)),E(1),S("ngIf",!e.replyOpen),E(1),S("ngIf",e.replyOpen))},dependencies:[qa,ri,Do,Oa,eo,ur,bo,Qn,As,uM,xa,ua,Ca,TR],styles:[".picker[_ngcontent-%COMP%]{display:block;z-index:3}.thread-actions[_ngcontent-%COMP%]{padding-left:1em;margin-left:27px;padding-bottom:.3em}.toolbar-icon[_ngcontent-%COMP%]{cursor:pointer}.toolbar-icon[_ngcontent-%COMP%]:hover{color:#9c27b0}.reaction-icon[_ngcontent-%COMP%]{font-size:1.4em}.reply-widget[_ngcontent-%COMP%]{padding-top:1em;padding-bottom:1em}.reply-widget-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:row}.reply-widget-middle[_ngcontent-%COMP%]{flex:1 2 auto}.thread-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:.4em}"]});class id{toggle(){this.isoDate=!this.isoDate}}id.\u0275fac=function(t){return new(t||id)},id.\u0275cmp=qe({type:id,selectors:[["app-date"]],inputs:{date:"date"},decls:2,vars:2,consts:[["class","event-date",3,"click",4,"ngIf"],[1,"event-date",3,"click"]],template:function(t,e){1&t&&(ee(0,Ihe,3,3,"span",0),ee(1,Lhe,3,4,"span",0)),2&t&&(S("ngIf",!e.isoDate),E(1),S("ngIf",e.isoDate))},dependencies:[ri,Vx,Js],styles:[".event-date[_ngcontent-%COMP%]{margin-right:.1em;cursor:pointer}"]});const AR=function(i,t){return{"no-lines":i,lines:t}};function Nhe(i,t){if(1&i&&(_(0,"div",1)(1,"span")(2,"div",2)(3,"app-event-header",3),Ce(4,"app-date",4)(5,"app-directory-icon",3),F(),Ce(6,"app-event-actions",5),F(),Ce(7,"app-content",6)(8,"app-event-reactions",7)(9,"app-event-buttons",7)(10,"app-event-thread",7),F()()),2&i){const e=t.$implicit,n=Q();S("ngClass",Ws(12,AR,!n.optionsService.values.showLines,n.optionsService.values.showLines)),E(3),S("pubkey",e.pubkey),E(1),S("date",e.created_at),E(1),S("pubkey",e.pubkey),E(1),S("event",e)("pubkey",e.pubkey),E(1),S("ngClass",Ws(15,AR,!n.optionsService.values.showLines,n.optionsService.values.showLines))("displayRepliesTo",!0)("event",e),E(1),S("event",e),E(1),S("event",e),E(1),S("event",e)}}class vm{constructor(t,e,n){this.ui=t,this.thread=e,this.optionsService=n,this.imagePath="/assets/profile.png",this.tooltip="",this.tooltipName="",this.profileName=""}ngAfterViewInit(){}ngOnInit(){return Se(function*(){})()}}vm.\u0275fac=function(t){return new(t||vm)(k($r),k(td),k(Sr))},vm.\u0275cmp=qe({type:vm,selectors:[["app-event-thread"]],inputs:{event:"event"},decls:1,vars:1,consts:[["class","thread-event",3,"ngClass",4,"ngFor","ngForOf"],[1,"thread-event",3,"ngClass"],[1,"events-header"],[3,"pubkey"],[3,"date"],[3,"event","pubkey"],[1,"thread-content",3,"ngClass","displayRepliesTo","event"],[3,"event"]],template:function(t,e){1&t&&ee(0,Nhe,11,18,"div",0),2&t&&S("ngForOf",e.ui.children(e.event.id))},dependencies:[qa,vn,Tl,ms,Al,Xs,vm,rh,ah,id],styles:[".thread-event[_ngcontent-%COMP%]{margin-left:27px;padding-top:0;padding-left:1em}.thread-content[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em;display:block}"]});const Ohe=function(i,t){return{"no-lines2":i,lines2:t}},Rhe=function(i,t){return{"no-lines":i,lines:t}};function Phe(i,t){if(1&i&&(_(0,"div",1)(1,"span")(2,"div",2)(3,"app-event-header",3)(4,"span",4),N(5),mi(6,"ago"),F(),Ce(7,"app-directory-icon",3),F(),Ce(8,"app-event-actions",5),F(),Ce(9,"app-content",6)(10,"app-event-reactions",7)(11,"app-event-buttons",7),F()()),2&i){const e=Q();S("ngClass",Ws(13,Ohe,!e.optionsService.values.showLines,e.optionsService.values.showLines)),E(3),S("pubkey",e.event.pubkey),E(2),yt(gi(6,11,e.event.created_at)),E(2),S("pubkey",e.event.pubkey),E(1),S("event",e.event)("pubkey",e.event.pubkey),E(1),S("ngClass",Ws(16,Rhe,!e.optionsService.values.showLines,e.optionsService.values.showLines))("displayRepliesTo",!1)("event",e.event),E(1),S("event",e.event),E(1),S("event",e.event)}}class Mp{constructor(t,e,n){this.ui=t,this.thread=e,this.optionsService=n,this.imagePath="/assets/profile.png",this.tooltip="",this.tooltipName="",this.profileName=""}ngAfterViewInit(){}ngOnInit(){return Se(function*(){})()}}function Bhe(i,t){if(1&i){const e=Je();_(0,"mat-card",14)(1,"button",15),pe("click",function(){Te(e);const r=Q().ngIf;return Ae(Q().open(r.rootEventId))}),_(2,"mat-icon"),N(3,"keyboard_double_arrow_up"),F(),N(4,"View Thread"),F()()}}function Hhe(i,t){if(1&i&&(_(0,"div",16),Ce(1,"app-event",13),F()),2&i){const e=t.ngIf;E(1),S("event",e)}}function Vhe(i,t){if(1&i){const e=Je();_(0,"mat-card",14)(1,"button",15),pe("click",function(){Te(e);const r=Q().ngIf;return Ae(Q().open(r.parentEventId))}),_(2,"mat-icon"),N(3,"keyboard_arrow_up"),F(),N(4,"View Parent"),F()()}}Mp.\u0275fac=function(t){return new(t||Mp)(k($r),k(td),k(Sr))},Mp.\u0275cmp=qe({type:Mp,selectors:[["app-event"]],inputs:{threadEntry:"threadEntry",event:"event"},decls:1,vars:1,consts:[["class","thread-event2",3,"ngClass",4,"ngIf"],[1,"thread-event2",3,"ngClass"],[1,"events-header"],[3,"pubkey"],[1,"event-date"],[3,"event","pubkey"],[1,"thread-content",3,"ngClass","displayRepliesTo","event"],[3,"event"]],template:function(t,e){1&t&&ee(0,Phe,12,19,"div",0),2&t&&S("ngIf",e.event)},dependencies:[qa,ri,Tl,ms,Al,Xs,rh,ah,Js],styles:[".thread-event[_ngcontent-%COMP%]{margin-left:27px;padding-top:0;padding-left:1em}.thread-content[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em;display:block}"]});const Yhe=function(i,t,e,n){return{"is-root":i,"has-root":t,"no-lines":e,lines:n}},jhe=function(i,t){return{"no-lines":i,lines:t}};function zhe(i,t){if(1&i){const e=Je();_(0,"div",1)(1,"div",2)(2,"mat-accordion",3)(3,"mat-expansion-panel")(4,"mat-expansion-panel-header")(5,"mat-panel-title"),N(6,"Options"),F(),Ce(7,"mat-panel-description"),F(),_(8,"p")(9,"mat-slide-toggle",4),pe("change",function(){return Te(e),Ae(Q().optionsService.save())})("ngModelChange",function(r){return Te(e),Ae(Q().optionsService.values.showLines=r)}),N(10,"Show lines"),F()()()()(),ee(11,Bhe,5,0,"mat-card",5),ee(12,Hhe,2,1,"div",6),mi(13,"async"),_(14,"div",7),ee(15,Vhe,5,0,"mat-card",5),_(16,"div",8)(17,"app-event-header",9),Ce(18,"app-date",10)(19,"app-directory-icon",9),F(),Ce(20,"app-event-actions",11),F(),Ce(21,"app-content",12)(22,"app-event-reactions",13)(23,"app-event-buttons",13)(24,"app-event-thread",13),F()()}if(2&i){const e=t.ngIf,n=Q();E(9),S("ngModel",n.optionsService.values.showLines),E(2),S("ngIf",e.rootEventId),E(1),S("ngIf",gi(13,15,n.ui.parentEvent$)),E(2),S("ngClass",JF(17,Yhe,!e.parentEventId,e.parentEventId,!n.optionsService.values.showLines,n.optionsService.values.showLines)),E(1),S("ngIf",e.parentEventId),E(2),S("pubkey",e.pubkey),E(1),S("date",e.created_at),E(1),S("pubkey",e.pubkey),E(1),S("event",e)("pubkey",e.pubkey),E(1),S("ngClass",Ws(22,jhe,!n.optionsService.values.showLines,n.optionsService.values.showLines))("event",e),E(1),S("event",e),E(1),S("event",e),E(1),S("event",e)}}class Ep{constructor(t,e,n,r,a,o,c,h,f,x,P){this.appState=t,this.activatedRoute=e,this.cd=n,this.optionsService=r,this.navigation=a,this.profiles=o,this.thread=c,this.validator=h,this.utilities=f,this.router=x,this.ui=P,this.initialLoad=!0}open(t){this.router.navigate(["/e",t])}likes(t){}dislikes(t){}replies(t){}filteredThread(){}repliesTo(t){if(!t)return;let e=t.tags.filter(n=>"p"===n[0]).map(n=>n[1]);return e=e.filter(n=>n!==t.pubkey),e}ngOnInit(){var t=this;console.log("CURRENT EVENT:",this.navigation.currentEvent),this.ui.setPubKey(void 0,!1),this.ui.clearViewPositions(),this.navigation.currentEvent&&this.ui.setEvent(this.navigation.currentEvent),this.appState.updateTitle("Thread"),this.appState.showBackButton=!0,this.activatedRoute.paramMap.subscribe(function(){var e=Se(function*(n){const r=n.get("id");if(r)if(r.startsWith("note")){const a=t.utilities.convertFromBech32ToHex(r);t.router.navigate(["/e",a])}else t.navigation.currentEvent?.id!=r&&t.ui.setEventId(r);else t.router.navigateByUrl("/")});return function(n){return e.apply(this,arguments)}}())}trackByFn(t,e){return e.id}ngOnDestroy(){this.sub&&this.sub.unsub(),this.ui.clear()}}Ep.\u0275fac=function(t){return new(t||Ep)(k(Zi),k(ds),k(ni),k(Sr),k(yo),k(Hn),k(td),k(Xo),k(an),k(qn),k($r))},Ep.\u0275cmp=qe({type:Ep,selectors:[["app-note"]],decls:3,vars:3,consts:[["class","feed-page",4,"ngIf"],[1,"feed-page"],[1,"options-container"],[1,"options"],[1,"options-slider",3,"ngModel","change","ngModelChange"],["class","button-card",4,"ngIf"],["class","parent-event",4,"ngIf"],[1,"current-event","events2","noclick",3,"ngClass"],[1,"events-header"],[3,"pubkey"],[3,"date"],[3,"event","pubkey"],[1,"thread-content",3,"ngClass","event"],[3,"event"],[1,"button-card"],["mat-flat-button","",3,"click"],[1,"parent-event"]],template:function(t,e){1&t&&(ee(0,zhe,25,25,"div",0),mi(1,"async"),Ce(2,"mat-divider")),2&t&&S("ngIf",gi(1,1,e.ui.event$))},dependencies:[qa,ri,ur,Pa,Qn,D0,sc,Xc,Jc,Zd,Qd,b0,ua,Ca,Tl,ms,Al,Xs,vm,rh,ah,id,Mp,Es],styles:[".thread-event[_ngcontent-%COMP%]{margin-left:27px;padding-top:0;padding-left:1em}.thread-content[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em;display:block}.events[_ngcontent-%COMP%]{padding:0!important}.thread-actions[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em;padding-bottom:.3em}.button-card[_ngcontent-%COMP%]{margin-bottom:.4em}.has-root[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em}.is-root[_ngcontent-%COMP%]{margin-left:0;padding-left:0;border-left:2px solid transparent!important}.options-container[_ngcontent-%COMP%]{margin-bottom:1em}"]});class I0{constructor(t,e,n){this.cd=t,this.appState=e,this.http=n}ngOnInit(){this.appState.showBackButton=!0,this.appState.updateTitle("Licenses"),this.appState.actions=[],this.showContent("3rdpartylicenses.txt",e=>`<pre>${e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}</pre>`)}showContent(t,e=(n=>n)){this.http.get(t,{responseType:"text"}).pipe(ta(n=>{this.licenses=n,this.cd.markForCheck()},n=>{this.licenses=`Unable to get content (${n.statusText})`,this.cd.markForCheck()})).subscribe()}}I0.\u0275fac=function(t){return new(t||I0)(k(ni),k(Zi),k(D_))},I0.\u0275cmp=qe({type:I0,selectors:[["app-licenses"]],decls:9,vars:1,consts:[[1,"page"],["href","https://github.com/block-core/blockcore-notes","target","_blank"],[1,"marginless","heading"],[1,"linebreaks"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"p"),N(2,"Blockcore Note is an open source project published under the MIT license. You can view the source code on "),_(3,"a",1),N(4,"GitHub"),F()(),_(5,"h1",2),N(6,"Third Party Licenses"),F(),_(7,"div",3),N(8),F()()),2&t&&(E(8),yt(e.licenses))},styles:[".mascot[_ngcontent-%COMP%]{width:100%;max-width:1024px}.logo[_ngcontent-%COMP%]{float:left;margin-bottom:1em;margin-right:1em;max-width:128px;margin-left:-8em}.help[_ngcontent-%COMP%]{padding-left:10em}@media only screen and (max-width: 599px){.help[_ngcontent-%COMP%]{font-size:.8em;padding-left:8em}.logo[_ngcontent-%COMP%]{max-width:64px;margin-left:-6em}}"]});const Uhe=["*",[["mat-toolbar-row"]]],Whe=["*","mat-toolbar-row"],Ghe=ec(class{constructor(i){this._elementRef=i}});let IR=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),i})(),LR=(()=>{class i extends Ghe{constructor(e,n,r){super(e),this._platform=n,this._document=r}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Bn),k(Mi))},i.\u0275cmp=qe({type:i,selectors:[["mat-toolbar"]],contentQueries:function(e,n,r){if(1&e&&ui(r,IR,5),2&e){let a;Ze(a=Xe())&&(n._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,n){2&e&&Mt("mat-toolbar-multiple-rows",n._toolbarRows.length>0)("mat-toolbar-single-row",0===n._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[ot],ngContentSelectors:Whe,decls:2,vars:0,template:function(e,n){1&e&&(Bi(Uhe),Ft(0),Ft(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}"],encapsulation:2,changeDetection:0}),i})(),qhe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Qt,Qt]}),i})();const sw=["*"],$he=["content"];function Khe(i,t){if(1&i){const e=Je();_(0,"div",2),pe("click",function(){return Te(e),Ae(Q()._onBackdropClicked())}),F()}2&i&&Mt("mat-drawer-shown",Q()._isShowingBackdrop())}function Qhe(i,t){1&i&&(_(0,"mat-drawer-content"),Ft(1,2),F())}const Zhe=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Xhe=["mat-drawer","mat-drawer-content","*"];function Jhe(i,t){if(1&i){const e=Je();_(0,"div",2),pe("click",function(){return Te(e),Ae(Q()._onBackdropClicked())}),F()}2&i&&Mt("mat-drawer-shown",Q()._isShowingBackdrop())}function eme(i,t){1&i&&(_(0,"mat-sidenav-content"),Ft(1,2),F())}const tme=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],ime=["mat-sidenav","mat-sidenav-content","*"],NR={transformDrawer:Qa("transform",[_r("open, open-instant",pi({transform:"none",visibility:"visible"})),_r("void",pi({"box-shadow":"none",visibility:"hidden"})),cr("void => open-instant",lr("0ms")),cr("void <=> open, open-instant => void",lr("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},rme=new Ke("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function ame(){return!1}}),hM=new Ke("MAT_DRAWER_CONTAINER");let lw=(()=>{class i extends Bh{constructor(e,n,r,a,o){super(r,a,o),this._changeDetectorRef=e,this._container=n}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return i.\u0275fac=function(e){return new(e||i)(k(ni),k(di(()=>fM)),k(gt),k(Cu),k(Rt))},i.\u0275cmp=qe({type:i,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,n){2&e&&sr("margin-left",n._container._contentMargins.left,"px")("margin-right",n._container._contentMargins.right,"px")},features:[Nt([{provide:Bh,useExisting:i}]),ot],ngContentSelectors:sw,decls:1,vars:0,template:function(e,n){1&e&&(Bi(),Ft(0))},encapsulation:2,changeDetection:0}),i})(),mM=(()=>{class i{get position(){return this._position}set position(e){(e="end"===e?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=Ct(e)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(e){("true"===e||"false"===e||null==e)&&(e=Ct(e)),this._autoFocus=e}get opened(){return this._opened}set opened(e){this.toggle(Ct(e))}constructor(e,n,r,a,o,c,h,f){this._elementRef=e,this._focusTrapFactory=n,this._focusMonitor=r,this._platform=a,this._ngZone=o,this._interactivityChecker=c,this._doc=h,this._container=f,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new He,this._animationEnd=new He,this._animationState="void",this.openedChange=new lt(!0),this._openedStream=this.openedChange.pipe(qi(x=>x),_t(()=>{})),this.openedStart=this._animationStarted.pipe(qi(x=>x.fromState!==x.toState&&0===x.toState.indexOf("open")),ry(void 0)),this._closedStream=this.openedChange.pipe(qi(x=>!x),_t(()=>{})),this.closedStart=this._animationStarted.pipe(qi(x=>x.fromState!==x.toState&&"void"===x.toState),ry(void 0)),this._destroyed=new He,this.onPositionChanged=new lt,this._modeChanged=new He,this.openedChange.subscribe(x=>{x?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{Ss(this._elementRef.nativeElement,"keydown").pipe(qi(x=>27===x.keyCode&&!this.disableClose&&!ba(x)),ii(this._destroyed)).subscribe(x=>this._ngZone.run(()=>{this.close(),x.stopPropagation(),x.preventDefault()}))}),this._animationEnd.pipe(Bg((x,P)=>x.fromState===P.fromState&&x.toState===P.toState)).subscribe(x=>{const{fromState:P,toState:$}=x;(0===$.indexOf("open")&&"void"===P||"void"===$&&0===P.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(e,n){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(n)}_focusByCssSelector(e,n){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,n)}_takeFocus(){if(!this._focusTrap)return;const e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(n=>{!n&&"function"==typeof this._elementRef.nativeElement.focus&&e.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(e){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,n){e&&n&&(this._openedVia=n);const r=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),r}_setOpen(e,n,r){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",n&&this._restoreFocus(r)),this._updateFocusTrapState(),new Promise(a=>{this.openedChange.pipe(nn(1)).subscribe(o=>a(o?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(e){const n=this._elementRef.nativeElement,r=n.parentNode;"end"===e?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),r.insertBefore(this._anchor,n)),r.appendChild(n)):this._anchor&&this._anchor.parentNode.insertBefore(n,this._anchor)}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Of),k(Ka),k(Bn),k(Rt),k(Ph),k(Mi,8),k(hM,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-drawer"]],viewQuery:function(e,n){if(1&e&&Lt($he,5),2&e){let r;Ze(r=Xe())&&(n._content=r.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,n){1&e&&gf("@transform.start",function(a){return n._animationStarted.next(a)})("@transform.done",function(a){return n._animationEnd.next(a)}),2&e&&(It("align",null),bf("@transform",n._animationState),Mt("mat-drawer-end","end"===n.position)("mat-drawer-over","over"===n.mode)("mat-drawer-push","push"===n.mode)("mat-drawer-side","side"===n.mode)("mat-drawer-opened",n.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:sw,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,n){1&e&&(Bi(),_(0,"div",0,1),Ft(2),F())},dependencies:[Bh],encapsulation:2,data:{animation:[NR.transformDrawer]},changeDetection:0}),i})(),fM=(()=>{class i{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=Ct(e)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(e){this._backdropOverride=null==e?null:Ct(e)}get scrollable(){return this._userContent||this._content}constructor(e,n,r,a,o,c=!1,h){this._dir=e,this._element=n,this._ngZone=r,this._changeDetectorRef=a,this._animationMode=h,this._drawers=new Mc,this.backdropClick=new lt,this._destroyed=new He,this._doCheckSubject=new He,this._contentMargins={left:null,right:null},this._contentMarginChanges=new He,e&&e.change.pipe(ii(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),o.change().pipe(ii(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=c}ngAfterContentInit(){this._allDrawers.changes.pipe(jr(this._allDrawers),ii(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(n=>!n._container||n._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(jr(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe(Wb(10),ii(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,n=0;if(this._left&&this._left.opened)if("side"==this._left.mode)e+=this._left._getWidth();else if("push"==this._left.mode){const r=this._left._getWidth();e+=r,n-=r}if(this._right&&this._right.opened)if("side"==this._right.mode)n+=this._right._getWidth();else if("push"==this._right.mode){const r=this._right._getWidth();n+=r,e-=r}e=e||null,n=n||null,(e!==this._contentMargins.left||n!==this._contentMargins.right)&&(this._contentMargins={left:e,right:n},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe(qi(n=>n.fromState!==n.toState),ii(this._drawers.changes)).subscribe(n=>{"open-instant"!==n.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe(ii(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){e&&e.onPositionChanged.pipe(ii(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe(nn(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(e){e&&e._modeChanged.pipe(ii(Pn(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){const n=this._element.nativeElement.classList,r="mat-drawer-container-has-open";e?n.add(r):n.remove(r)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{"end"==e.position?this._end=e:this._start=e}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._canHaveBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(e){return"side"!==e.mode||!!this._backdropOverride}_isDrawerOpen(e){return null!=e&&e.opened}}return i.\u0275fac=function(e){return new(e||i)(k(Or,8),k(gt),k(Rt),k(ni),k(wl),k(rme),k(Ln,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-drawer-container"]],contentQueries:function(e,n,r){if(1&e&&(ui(r,lw,5),ui(r,mM,5)),2&e){let a;Ze(a=Xe())&&(n._content=a.first),Ze(a=Xe())&&(n._allDrawers=a)}},viewQuery:function(e,n){if(1&e&&Lt(lw,5),2&e){let r;Ze(r=Xe())&&(n._userContent=r.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,n){2&e&&Mt("mat-drawer-container-explicit-backdrop",n._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[Nt([{provide:hM,useExisting:i}])],ngContentSelectors:Xhe,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,n){1&e&&(Bi(Zhe),ee(0,Khe,1,2,"div",0),Ft(1),Ft(2,1),ee(3,Qhe,2,0,"mat-drawer-content",1)),2&e&&(S("ngIf",n.hasBackdrop),E(3),S("ngIf",!n._content))},dependencies:[ri,lw],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),i})(),pM=(()=>{class i extends lw{constructor(e,n,r,a,o){super(e,n,r,a,o)}}return i.\u0275fac=function(e){return new(e||i)(k(ni),k(di(()=>_M)),k(gt),k(Cu),k(Rt))},i.\u0275cmp=qe({type:i,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,n){2&e&&sr("margin-left",n._container._contentMargins.left,"px")("margin-right",n._container._contentMargins.right,"px")},features:[Nt([{provide:Bh,useExisting:i}]),ot],ngContentSelectors:sw,decls:1,vars:0,template:function(e,n){1&e&&(Bi(),Ft(0))},encapsulation:2,changeDetection:0}),i})(),gM=(()=>{class i extends mM{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=Ct(e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=wr(e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=wr(e)}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275cmp=qe({type:i,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,n){2&e&&(It("align",null),sr("top",n.fixedInViewport?n.fixedTopGap:null,"px")("bottom",n.fixedInViewport?n.fixedBottomGap:null,"px"),Mt("mat-drawer-end","end"===n.position)("mat-drawer-over","over"===n.mode)("mat-drawer-push","push"===n.mode)("mat-drawer-side","side"===n.mode)("mat-drawer-opened",n.opened)("mat-sidenav-fixed",n.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[ot],ngContentSelectors:sw,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,n){1&e&&(Bi(),_(0,"div",0,1),Ft(2),F())},dependencies:[Bh],encapsulation:2,data:{animation:[NR.transformDrawer]},changeDetection:0}),i})(),_M=(()=>{class i extends fM{}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275cmp=qe({type:i,selectors:[["mat-sidenav-container"]],contentQueries:function(e,n,r){if(1&e&&(ui(r,pM,5),ui(r,gM,5)),2&e){let a;Ze(a=Xe())&&(n._content=a.first),Ze(a=Xe())&&(n._allDrawers=a)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,n){2&e&&Mt("mat-drawer-container-explicit-backdrop",n._backdropOverride)},exportAs:["matSidenavContainer"],features:[Nt([{provide:hM,useExisting:i}]),ot],ngContentSelectors:ime,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,n){1&e&&(Bi(tme),ee(0,Jhe,1,2,"div",0),Ft(1),Ft(2,1),ee(3,eme,2,0,"mat-sidenav-content",1)),2&e&&(S("ngIf",n.hasBackdrop),E(3),S("ngIf",!n._content))},dependencies:[ri,pM],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),i})(),ome=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Dr,Qt,Lc,Lc,Qt]}),i})();var cw=new WeakMap,oh=new WeakMap;class cc{get chats$(){return Pe(this,cw).asObservable().pipe()}get chats2$(){return Ht(Pe(this,oh))}get uniqueChats$(){return this.chats2$.pipe(_t(t=>{const e=t.sort((r,a)=>r.created_at<a.created_at?-1:1);return e.filter((r,a)=>e.findIndex(o=>o.pubkey==r.pubkey)===a)}))}constructor(t,e,n,r){mn(this,cw,{writable:!0,value:void 0}),mn(this,oh,{writable:!0,value:void 0}),this.nostr=t,this.queueService=e,this.dataService=n,this.appState=r,this.chats=[],hi(this,cw,new Hi(this.chats)),hi(this,oh,[]),this.chats3=[],this.subscriptions=[],this.data={users:[{id:0,username:"Milad",name:"Milad Raeisi",cover:"https://avatars.githubusercontent.com/u/6504337",status:"Online",bio:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. "},{id:1,username:"SondreB",name:"Sondre",cover:"https://avatars.githubusercontent.com/u/309938",status:"Online",bio:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, "}],chats:[{id:0,targetUserId:0,username:"Blockcore Channel",cover:"https://avatars.githubusercontent.com/u/53176002",lastMessage:"The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested.",lastMessageLength:0,chat:[{id:"1",cover:"https://avatars.githubusercontent.com/u/6504337",message:"Hi"},{id:"1",cover:"https://avatars.githubusercontent.com/u/6504337",message:"How are you?"},{id:"0",cover:"https://avatars.githubusercontent.com/u/6504337",message:"Hi, I am good, you?"},{id:"1",cover:"https://avatars.githubusercontent.com/u/6504337",message:"Thank you."}]},{id:1,targetUserId:0,username:"Milad",cover:"https://avatars.githubusercontent.com/u/6504337",lastMessage:"All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary,",lastMessageLength:2,chat:[{id:"4",cover:"https://avatars.githubusercontent.com/u/6504337",message:"Lorem Ipsum is simply dummy text of the printing and typesetting industry."},{id:"4",cover:"https://avatars.githubusercontent.com/u/6504337",message:"Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy."}]},{id:2,targetUserId:1,username:"SondreB",cover:"https://avatars.githubusercontent.com/u/309938",lastMessage:" Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.",lastMessageLength:0,chat:[{id:"0",cover:"https://avatars.githubusercontent.com/u/309938",message:"Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc."},{id:"0",cover:"https://avatars.githubusercontent.com/u/309938",message:"Lorem ipsum dolor sit amet."},{id:"0",cover:"https://avatars.githubusercontent.com/u/309938",message:"There is no one who loves pain itself, who seeks after it and wants to have it, simply because it is pain..."}]}],saveMessage:{id:0,chatId:2,cover:"https://avatars.githubusercontent.com/u/53176002",message:"Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc."},createChat:{id:0,targetUserId:1,username:"Milad",cover:"https://avatars.githubusercontent.com/u/6504337",lastMessage:"",lastMessageLength:0,chat:[]}},this.chats=this.data.chats,Pe(this,cw).next(this.chats),console.log(this.data.chats)}download(){var t=this;hi(this,oh,[]),this.dataService.downloadEventsByQuery([{kinds:[4],"#p":[this.appState.getPublicKey()]}],3e3).pipe(Qg(Se(function*(){for(let e=0;e<Pe(t,oh).length;e++){const n=Pe(t,oh)[e],r=yield t.nostr.decrypt(n.pubkey,n.content);n.content=r,console.log("DECRYPTED EVENT:",n)}}))).subscribe(function(){var e=Se(function*(n){Pe(t,oh).findIndex(r=>r.id===n.id)>-1||Pe(t,oh).unshift(n)});return function(n){return e.apply(this,arguments)}}())}saveMessage(t,e){}createChat(t){}getChats(){return this.data.chats}}cc.\u0275fac=function(t){return new(t||cc)(Fe(El),Fe(es),Fe(Ba),Fe(Zi))},cc.\u0275prov=Qe({token:cc,factory:cc.\u0275fac,providedIn:"root"});class nu{constructor(t){this.chatService=t,this.users=new Hi(null),this.active=new Hi(null)}getUsers(){return this.chatService.data.users}}nu.\u0275fac=function(t){return new(t||nu)(Fe(cc))},nu.\u0275prov=Qe({token:nu,factory:nu.\u0275fac,providedIn:"root"});class Sp{constructor(){this.type="online"}}function sme(i,t){if(1&i){const e=Je();_(0,"div",1)(1,"div",2),Ce(2,"img",3),F(),_(3,"div",4)(4,"button",5),pe("click",function(){return Te(e),Ae(Q().openNewChat())}),N(5,"Write Message"),F()(),_(6,"h1",6),N(7),F(),_(8,"div",7),Ce(9,"app-status",8),F(),_(10,"h2",9),N(11,"Biography"),F(),_(12,"p",10),N(13),F()()}if(2&i){const e=Q();E(2),S("src",e.user.cover,hn),E(5),yt(e.user.username),E(2),S("text",e.user.status),E(4),yt(e.user.bio)}}Sp.\u0275fac=function(t){return new(t||Sp)},Sp.\u0275cmp=qe({type:Sp,selectors:[["app-status"]],inputs:{type:"type",text:"text"},decls:2,vars:3,template:function(t,e){1&t&&(_(0,"span"),N(1),F()),2&t&&(lb("mat-caption status status--"+e.type),E(1),Gt(" ",e.text,"\n"))},styles:['.status[_ngcontent-%COMP%]:before{content:"";display:inline-block;width:4px;height:4px;border-radius:4px;position:relative;top:-4px;margin-right:3px}.status--online[_ngcontent-%COMP%]{color:#27f32f}.status--online[_ngcontent-%COMP%]:before{background-color:#27f32f}.status--offline[_ngcontent-%COMP%]{color:#acacac}.status--offline[_ngcontent-%COMP%]:before{background-color:#acacac}.status--busy[_ngcontent-%COMP%]{color:#ff451e}.status--busy[_ngcontent-%COMP%]:before{background-color:#ff451e}']});class L0{constructor(t,e){this.service=t,this.messageService=e,this.openChatWindow=new lt}openNewChat(){this.messageService.createChat(this.user),this.openChatWindow.emit(this.user.username)}ngOnInit(){this.subscription=this.service.active.subscribe(t=>this.user=t)}ngOnDestroy(){this.subscription.unsubscribe()}}L0.\u0275fac=function(t){return new(t||L0)(k(nu),k(cc))},L0.\u0275cmp=qe({type:L0,selectors:[["app-user-profile"]],outputs:{openChatWindow:"openChatWindow"},decls:1,vars:1,consts:[["class","profile",4,"ngIf"],[1,"profile"],[1,"profile__picture-container"],["alt","",1,"profile__picture",3,"src"],[1,"profile__button"],["mat-flat-button","","color","primary",3,"click"],[1,"mat-h1","profile__username"],["mat-line","",1,"profile__status"],[1,"mat-line",3,"text"],[1,"mat-h2"],[1,"mat-body"]],template:function(t,e){1&t&&ee(0,sme,14,4,"div",0),2&t&&S("ngIf",e.user)},dependencies:[ri,ur,TC,Sp],styles:[".profile[_ngcontent-%COMP%]{padding:16px}.profile__picture-container[_ngcontent-%COMP%]{width:180px;height:180px;border-radius:120px;overflow:hidden;margin:0 auto 12px}.profile__picture[_ngcontent-%COMP%]{width:100%;height:auto}.profile__username[_ngcontent-%COMP%]{margin:0}.profile__status[_ngcontent-%COMP%]{margin-bottom:16px}.profile__button[_ngcontent-%COMP%]{margin:8px auto 16px;display:flex;justify-content:center}"]});class N0{constructor(t){this.service=t,this.openSidebar=new lt}showProfile(){this.service.active.next(this.user),this.openSidebar.emit(this.user.name)}}function lme(i,t){1&i&&Ce(0,"mat-divider")}function cme(i,t){if(1&i){const e=Je();kn(0),_(1,"app-user-item",1),pe("openSidebar",function(r){return Te(e),Ae(Q().openSidebar.emit(r))}),F(),ee(2,lme,1,0,"mat-divider",2),Dn()}if(2&i){const e=t.$implicit,n=t.last;E(1),S("user",e),E(1),S("ngIf",!n)}}N0.\u0275fac=function(t){return new(t||N0)(k(nu))},N0.\u0275cmp=qe({type:N0,selectors:[["app-user-item"]],inputs:{user:"user"},outputs:{openSidebar:"openSidebar"},decls:6,vars:3,consts:[[3,"click"],["loading","lazy","matListItemAvatar","",3,"src"],["mat-line",""],[1,"mat-line",3,"text"]],template:function(t,e){1&t&&(_(0,"mat-list-item",0),pe("click",function(){return e.showProfile()}),Ce(1,"img",1),_(2,"h4",2),N(3),F(),_(4,"p",2),Ce(5,"app-status",3),F()()),2&t&&(E(1),S("src",e.user.cover,hn),E(2),yt(e.user.name),E(2),S("text",e.user.status))},dependencies:[cM,aw,TC,Sp],styles:["mat-list-item[_ngcontent-%COMP%]{height:90px!important}"]});class O0{constructor(t){this.service=t,this.openSidebar=new lt,this.data=[],this.service.getUsers()}ngOnInit(){this.service.users.subscribe(t=>this.data=t)}}O0.\u0275fac=function(t){return new(t||O0)(k(nu))},O0.\u0275cmp=qe({type:O0,selectors:[["app-user-list"]],outputs:{openSidebar:"openUserSidebar"},decls:2,vars:1,consts:[[4,"ngFor","ngForOf"],[3,"user","openSidebar"],[4,"ngIf"]],template:function(t,e){1&t&&(_(0,"mat-nav-list"),ee(1,cme,3,2,"ng-container",0),F()),2&t&&(E(1),S("ngForOf",e.data))},dependencies:[vn,ri,dM,D0,N0]});class Tp{isSendable(t){return""!==t&&""!==t.trim()}}Tp.\u0275fac=function(t){return new(t||Tp)},Tp.\u0275prov=Qe({token:Tp,factory:Tp.\u0275fac,providedIn:"root"});let dme=0;const ume=Jl(class{}),OR="mat-badge-content";let RR=(()=>{class i extends ume{get color(){return this._color}set color(e){this._setColor(e),this._color=e}get overlap(){return this._overlap}set overlap(e){this._overlap=Ct(e)}get content(){return this._content}set content(e){this._updateRenderedContent(e)}get description(){return this._description}set description(e){this._updateHostAriaDescription(e)}get hidden(){return this._hidden}set hidden(e){this._hidden=Ct(e)}constructor(e,n,r,a,o){super(),this._ngZone=e,this._elementRef=n,this._ariaDescriber=r,this._renderer=a,this._animationMode=o,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=dme++,this._isInitialized=!1}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&this._renderer.destroyNode(this._badgeElement),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_createBadgeElement(){const e=this._renderer.createElement("span"),n="mat-badge-active";return e.setAttribute("id",`mat-badge-content-${this._id}`),e.setAttribute("aria-hidden","true"),e.classList.add(OR),"NoopAnimations"===this._animationMode&&e.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(e),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{e.classList.add(n)})}):e.classList.add(n),e}_updateRenderedContent(e){const n=`${e??""}`.trim();this._isInitialized&&n&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=n),this._content=n}_updateHostAriaDescription(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),e&&this._ariaDescriber.describe(this._elementRef.nativeElement,e),this._description=e}_setColor(e){const n=this._elementRef.nativeElement.classList;n.remove(`mat-badge-${this._color}`),e&&n.add(`mat-badge-${e}`)}_clearExistingBadges(){const e=this._elementRef.nativeElement.querySelectorAll(`:scope > .${OR}`);for(const n of Array.from(e))n!==this._badgeElement&&n.remove()}}return i.\u0275fac=function(e){return new(e||i)(k(Rt),k(gt),k(hC),k(gl),k(Ln,8))},i.\u0275dir=Oe({type:i,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(e,n){2&e&&Mt("mat-badge-overlap",n.overlap)("mat-badge-above",n.isAbove())("mat-badge-below",!n.isAbove())("mat-badge-before",!n.isAfter())("mat-badge-after",n.isAfter())("mat-badge-small","small"===n.size)("mat-badge-medium","medium"===n.size)("mat-badge-large","large"===n.size)("mat-badge-hidden",n.hidden||!n.content)("mat-badge-disabled",n.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden"]},features:[ot]}),i})(),hme=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Pf,Qt,Qt]}),i})();function mme(i,t){1&i&&Ce(0,"span",5),2&i&&S("matBadge",Q().chat.lastMessageLength)}class R0{constructor(t){this.service=t,this.openChatSidebar=new lt}showMessageDetail(){this.openChatSidebar.emit(this.chat.username)}}function fme(i,t){1&i&&Ce(0,"mat-divider")}R0.\u0275fac=function(t){return new(t||R0)(k(cc))},R0.\u0275cmp=qe({type:R0,selectors:[["app-chat-item"]],inputs:{chat:"chat",event:"event"},outputs:{openChatSidebar:"openChatSidebar"},decls:7,vars:4,consts:[[3,"click"],["alt","","matListItemAvatar","",3,"src"],["mat-line",""],["mat-line","",1,"last-message"],["matBadgeOverlap","false","matBadgePosition","above before","matBadgeColor","warn",3,"matBadge",4,"ngIf"],["matBadgeOverlap","false","matBadgePosition","above before","matBadgeColor","warn",3,"matBadge"]],template:function(t,e){1&t&&(_(0,"mat-list-item",0),pe("click",function(){return e.showMessageDetail()}),Ce(1,"img",1),_(2,"h4",2),N(3),F(),_(4,"p",3),N(5),F(),ee(6,mme,1,1,"span",4),F()),2&t&&(E(1),S("src",e.chat.cover,hn),E(2),yt(e.chat.username),E(2),yt(e.chat.lastMessage),E(1),S("ngIf",e.chat.lastMessageLength))},dependencies:[ri,cM,aw,TC,RR],styles:[".last-message[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;width:90%;white-space:nowrap}.user-avatar[_ngcontent-%COMP%]{height:50px;width:50px}mat-list-item[_ngcontent-%COMP%]{height:90px!important}"]});const pme=function(i){return["/m",i]};function gme(i,t){if(1&i&&(kn(0),Ce(1,"app-chat-item",6),ee(2,fme,1,0,"mat-divider",7),Dn()),2&i){const e=t.$implicit,n=t.last;E(1),S("routerLink",yn(3,pme,e.id))("chat",e),E(1),S("ngIf",!n)}}function _me(i,t){if(1&i&&(_(0,"div"),N(1),F()),2&i){const e=t.$implicit;E(1),yd("",e.pubkey," : ",e.content,"")}}class wm{constructor(t){this.chatService=t,this.openChatSidebar=new lt}ngOnInit(){this.chatService.download()}add(){}reset(){}}wm.\u0275fac=function(t){return new(t||wm)(k(cc))},wm.\u0275cmp=qe({type:wm,selectors:[["app-chat-list"]],outputs:{openChatSidebar:"openChatSidebar"},decls:15,vars:4,consts:[[1,"search"],["appearance","fill",1,"input-full-width"],["matInput","","type","text","placeholder","Search..."],["matSuffix",""],[4,"ngFor","ngForOf"],[3,"click"],[3,"routerLink","chat"],[4,"ngIf"]],template:function(t,e){1&t&&(_(0,"mat-nav-list")(1,"div",0)(2,"mat-form-field",1),Ce(3,"input",2),_(4,"mat-icon",3),N(5,"search"),F()()(),ee(6,gme,3,5,"ng-container",4),mi(7,"async"),F(),ee(8,_me,2,2,"div",4),_(9,"button",5),pe("click",function(){return e.add()}),N(10,"Add"),F(),_(11,"button",5),pe("click",function(){return e.reset()}),N(12,"Reset"),F(),_(13,"button",5),pe("click",function(){return e.chatService.download()}),N(14,"Download"),F()),2&t&&(E(6),S("ngForOf",gi(7,2,e.chatService.chats$)),E(2),S("ngForOf",e.chatService.chats3))},dependencies:[vn,ri,va,Do,Oa,SN,Qn,dM,D0,R0,Es],styles:[".form[_ngcontent-%COMP%]{padding:16px 16px 0}.input-full-width[_ngcontent-%COMP%]{position:relative;margin:auto}.search[_ngcontent-%COMP%]{position:sticky;top:0;padding:10px;z-index:999}"]});class P0{}P0.\u0275fac=function(t){return new(t||P0)},P0.\u0275cmp=qe({type:P0,selectors:[["app-message-bubble"]],inputs:{message:"message",cover:"cover"},decls:6,vars:4,consts:[[1,"bubble"],[1,"bubble","cover"],["alt","",1,"bubble","picture",3,"src"],[1,"bubble","container"],[1,"bubble","card"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"div",1),Ce(2,"img",2),F(),_(3,"div",3)(4,"mat-card",4),N(5),F()()()),2&t&&(Mt("me",0==e.message.id),E(2),S("src",e.message.cover,hn),E(3),Gt(" ",e.message.message," "))},dependencies:[Pa],styles:[".bubble[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-bottom:12px}.bubble.cover[_ngcontent-%COMP%]{width:36px;height:36px;margin-right:16px;border-radius:18px;overflow:hidden}.bubble.picture[_ngcontent-%COMP%]{display:block;max-width:100%;margin-bottom:0}.bubble.container[_ngcontent-%COMP%]{flex:1}.bubble.card[_ngcontent-%COMP%]{display:inline-block!important;padding:12px}.bubble.me[_ngcontent-%COMP%]{flex-direction:row-reverse}.bubble.me[_ngcontent-%COMP%] .bubble.picture[_ngcontent-%COMP%]{display:block;max-width:100%}.bubble.me[_ngcontent-%COMP%] .bubble.container[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.bubble.me[_ngcontent-%COMP%] .bubble.container[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{background-color:#ffffff8c}.bubble.me[_ngcontent-%COMP%] .bubble.cover[_ngcontent-%COMP%]{margin-right:0;margin-left:16px}"]});const bme=["scrollable"],yme=["picker"],vme=["drawer"];function wme(i,t){if(1&i&&(kn(0),Ce(1,"app-message-bubble",23),Dn()),2&i){const e=t.$implicit;E(1),S("message",e)}}function Fme(i,t){if(1&i&&(kn(0),ee(1,wme,2,1,"ng-container",22),Dn()),2&i){const e=Q();E(1),S("ngForOf",e.chat.chat)}}function xme(i,t){1&i&&Ce(0,"mat-spinner",24)}function Cme(i,t){if(1&i){const e=Je();_(0,"emoji-mart",25),pe("emojiSelect",function(r){return Te(e),Ae(Q().addEmoji(r))}),F()}2&i&&S("isNative",!0)("showPreview",!1)}function kme(i,t){1&i&&(_(0,"mat-icon"),N(1,"chevron_left"),F())}function Dme(i,t){1&i&&(_(0,"mat-icon"),N(1,"chevron_right"),F())}class Ap{constructor(t,e,n){this.service=t,this.control=e,this.appState=n,this.sending=!1,this.displayList=!0}ngOnInit(){}scrollToBottom(){setTimeout(()=>{this.scrollable.nativeElement.scrollTop=this.scrollable.nativeElement.scrollHeight},100)}saveMessage(t){this.message=t.target.value,"Enter"==t.key&&this.control.isSendable(this.message)&&(this.scrollToBottom(),this.service.saveMessage(this.chat.id,this.message),this.sending=!0,t.target.value="")}send(t){this.message=t,this.control.isSendable(this.message)&&(this.scrollToBottom(),this.service.saveMessage(this.chat.id,this.message),this.sending=!0,this.message="")}addEmoji(t){this.message=`${this.message}${t.emoji.native}`,this.isEmojiPickerVisible=!1}toggle(){this.displayList=!this.displayList,this.drawer.toggle()}ngOnDestroy(){this.subscription?.unsubscribe()}}Ap.\u0275fac=function(t){return new(t||Ap)(k(cc),k(Tp),k(Zi))},Ap.\u0275cmp=qe({type:Ap,selectors:[["app-chat-detail"]],viewQuery:function(t,e){if(1&t&&(Lt(bme,5),Lt(yme,5),Lt(vme,5)),2&t){let n;Ze(n=Xe())&&(e.scrollable=n.first),Ze(n=Xe())&&(e.picker=n.first),Ze(n=Xe())&&(e.drawer=n.first)}},decls:44,vars:8,consts:[["autosize","",1,"chat-detail-container"],["opened","","mode","side",1,"chat-detail-sidenav","list-hide-small"],["drawer",""],[1,"chat-detail-sidenav-content"],[1,"messages-list-container"],[1,"scrollable"],["scrollable",""],[4,"ngIf"],["diameter","24","color","warn",4,"ngIf"],[1,"message-send"],["class","emoji-picker","emoji","point_up","title","Choose your emoji",3,"isNative","showPreview","emojiSelect",4,"ngIf"],["type","button","mat-icon-button","",1,"list-hide-small",2,"margin","5px",3,"click"],[1,"input-full-width"],["matPrefix","",1,"toolbar-icon",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item",""],["mat-menu-item","","disabled",""],["type","text","matInput","","placeholder","Write a message",3,"ngModel","ngModelChange","keypress"],["align","end",1,"hint"],["matSuffix","","matTooltip","Insert emoji",1,"toolbar-icon",3,"click"],["matSuffix","",1,"toolbar-icon"],["matSuffix","",1,"toolbar-icon",3,"click"],[4,"ngFor","ngForOf"],[3,"message"],["diameter","24","color","warn"],["emoji","point_up","title","Choose your emoji",1,"emoji-picker",3,"isNative","showPreview","emojiSelect"]],template:function(t,e){if(1&t&&(_(0,"mat-drawer-container",0)(1,"mat-drawer",1,2),Ce(3,"app-chat-list"),F(),_(4,"div",3)(5,"div",4)(6,"div",5,6),ee(8,Fme,2,1,"ng-container",7),ee(9,xme,1,0,"mat-spinner",8),F(),_(10,"div",9),ee(11,Cme,1,2,"emoji-mart",10),_(12,"button",11),pe("click",function(){return e.toggle()}),ee(13,kme,2,0,"mat-icon",7),ee(14,Dme,2,0,"mat-icon",7),F(),_(15,"mat-form-field",12)(16,"mat-icon",13),N(17,"attach_file_add"),F(),_(18,"mat-menu",null,14)(20,"button",15)(21,"mat-icon"),N(22,"imagesmode"),F(),_(23,"span"),N(24,"Image"),F()(),_(25,"button",15)(26,"mat-icon"),N(27,"videocam"),F(),_(28,"span"),N(29,"Video"),F()(),_(30,"button",16)(31,"mat-icon"),N(32,"file_present"),F(),_(33,"span"),N(34,"Document"),F()()(),_(35,"input",17),pe("ngModelChange",function(r){return e.message=r})("keypress",function(r){return e.saveMessage(r)}),F(),_(36,"mat-hint",18),N(37),F(),_(38,"mat-icon",19),pe("click",function(){return e.isEmojiPickerVisible=!e.isEmojiPickerVisible}),N(39,"sentiment_satisfied"),F(),_(40,"mat-icon",20),N(41,"mic"),F(),_(42,"mat-icon",21),pe("click",function(){return e.send(e.message)}),N(43,"send"),F()()()()()()),2&t){const n=Li(19);E(8),S("ngIf",e.chat),E(1),S("ngIf",e.sending),E(2),S("ngIf",e.isEmojiPickerVisible),E(2),S("ngIf",e.displayList),E(1),S("ngIf",!e.displayList),E(2),S("matMenuTriggerFor",n),E(19),S("ngModel",e.message),E(2),Gt("Length : ",null==e.message?null:e.message.length,"")}},dependencies:[vn,ri,Do,Oa,DD,Kc,SN,bo,mM,fM,Qn,pm,ed,c0,As,jv,uM,xa,ua,Ca,wm,P0],styles:[".chat-detail-container[_ngcontent-%COMP%]{height:100%;width:100%}.chat-detail-sidenav-content[_ngcontent-%COMP%]{display:flex;height:100%;align-items:center;justify-content:center}.chat-detail-sidenav[_ngcontent-%COMP%]{width:275px}[_nghost-%COMP%]{display:flex;height:100%}.messages-list-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;justify-content:space-between;width:100%;height:100%}.scrollable[_ngcontent-%COMP%]{flex:1;overflow-y:auto;padding:16px;background-color:#ffffff8c;background-image:url(/assets/chat-bg.png)}.scrollable[_ngcontent-%COMP%]::-webkit-scrollbar{width:6px}.scrollable[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#ddd}.scrollable[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#bdbdbd}.message-send[_ngcontent-%COMP%]{display:flex;padding:10px}.toolbar-icon[_ngcontent-%COMP%]{cursor:pointer}.toolbar-icon[_ngcontent-%COMP%]:hover{color:#9c27b0}.bubble[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-bottom:12px}.bubble[_ngcontent-%COMP%] .cover[_ngcontent-%COMP%]{width:36px;height:36px;margin-right:16px;border-radius:18px;overflow:hidden}.bubble[_ngcontent-%COMP%] .picture[_ngcontent-%COMP%]{display:block;max-width:100%}.bubble[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{flex:1}.bubble[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{display:inline-block!important}.bubble[_ngcontent-%COMP%] .me[_ngcontent-%COMP%]{flex-direction:row-reverse}.bubble[_ngcontent-%COMP%] .me[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.bubble[_ngcontent-%COMP%] .me[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{background-color:#ffffff8c}.bubble[_ngcontent-%COMP%] .me[_ngcontent-%COMP%] .cover[_ngcontent-%COMP%]{margin-right:0;margin-left:16px}.emoji-picker[_ngcontent-%COMP%]{display:block;position:absolute;z-index:3;bottom:90px;right:10px}@media only screen and (max-width: 960px){.list-hide-small[_ngcontent-%COMP%]{display:none!important}}"]});const Mme=["chatSidebar"],Eme=["userSidebar"];class B0{constructor(t){this.appState=t,this.sidebarTitles={user:"",chat:""},this.open={me:this,userSideBar:function(e=""){this.me.userSidebar.open(),this.me.sidebarTitles.user=e},chatSideBar:function(e=""){this.me.chatSidebar.open(),this.me.userSidebar.close(),this.me.sidebarTitles.chat=e}}}ngOnInit(){var t=this;return Se(function*(){t.appState.updateTitle("Chat"),t.appState.goBack=!0,t.appState.actions=[]})()}}B0.\u0275fac=function(t){return new(t||B0)(k(Zi))},B0.\u0275cmp=qe({type:B0,selectors:[["app-chat"]],viewQuery:function(t,e){if(1&t&&(Lt(Mme,5),Lt(Eme,5)),2&t){let n;Ze(n=Xe())&&(e.chatSidebar=n.first),Ze(n=Xe())&&(e.userSidebar=n.first)}},decls:24,vars:2,consts:[["autosize","",1,"drawer-container"],["mat-align-tabs","center"],["label","Messages"],[3,"openChatSidebar"],["label","Users"],[3,"openUserSidebar"],["mode","side","position","start",1,"sidebar","sidebar--message"],["chatSidebar",""],["color","primary",1,"zIndexTop"],["aria-hidden","false",1,"button",3,"click"],[1,"spacer"],["mode","over","position","end",1,"sidebar","sidebar--user"],["userSidebar",""],[3,"openChatWindow"]],template:function(t,e){if(1&t){const n=Je();_(0,"mat-sidenav-container",0)(1,"mat-tab-group",1)(2,"mat-tab",2)(3,"app-chat-list",3),pe("openChatSidebar",function(a){return e.open.chatSideBar(a)}),F()(),_(4,"mat-tab",4)(5,"app-user-list",5),pe("openUserSidebar",function(a){return e.open.userSideBar(a)}),F()()(),_(6,"mat-sidenav",6,7)(8,"mat-toolbar",8)(9,"mat-toolbar-row")(10,"mat-icon",9),pe("click",function(){return Te(n),Ae(Li(7).close())}),N(11,"arrow_back_ios"),F(),_(12,"span",10),N(13),F()()(),Ce(14,"app-chat-detail"),F(),_(15,"mat-sidenav",11,12)(17,"mat-toolbar",8)(18,"mat-toolbar-row")(19,"span",10),N(20),F(),_(21,"mat-icon",9),pe("click",function(){return Te(n),Ae(Li(16).close())}),N(22,"close"),F()()(),_(23,"app-user-profile",13),pe("openChatWindow",function(a){return e.open.chatSideBar(a)}),F()()()}2&t&&(E(13),Gt(" ",e.sidebarTitles.chat," "),E(7),Gt(" ",e.sidebarTitles.user," "))},dependencies:[LR,IR,gM,_M,Qn,w0,ew,L0,O0,Ap,wm],styles:[".drawer-container{height:100%;z-index:9999;overflow:visible!important}.sidebar--message{width:100%}.sidebar--user{max-width:360px;width:100%}.sidebar .mat-drawer-inner-container{display:flex;flex-direction:column;flex:1;z-index:9999}.zIndexTop{z-index:10}.spacer{flex:1}\n"],encapsulation:2});class H0{constructor(t,e){this.profiles=t,this.utilities=e,this.pubkey="",this.profileName="",this.tooltip=""}ngOnInit(){}}function Sme(i,t){if(1&i&&(_(0,"div",8),Ce(1,"app-profile-widget",9),F()),2&i){const e=t.$implicit;E(1),S("pubkey",e)}}function Tme(i,t){if(1&i&&(kn(0),_(1,"div",6),ee(2,Sme,2,1,"div",7),F(),Dn()),2&i){const e=t.ngIf;E(2),S("ngForOf",e.following)}}H0.\u0275fac=function(t){return new(t||H0)(k(Hn),k(an))},H0.\u0275cmp=qe({type:H0,selectors:[["app-profile-widget"]],inputs:{pubkey:"pubkey"},decls:3,vars:2,consts:[[1,"profile-widget"],[3,"pubkey"]],template:function(t,e){1&t&&(_(0,"div",0),Ce(1,"app-event-header",1)(2,"app-profile-actions",1),F()),2&t&&(E(1),S("pubkey",e.pubkey),E(1),S("pubkey",e.pubkey))},dependencies:[ms,ym],styles:[".profile-widget[_ngcontent-%COMP%]{gap:.4em;display:flex;flex-direction:row;height:200px}.profile-widget[_ngcontent-%COMP%] app-event-header[_ngcontent-%COMP%]{flex-grow:2}.profile-widget[_ngcontent-%COMP%] app-profile-actions[_ngcontent-%COMP%]{width:48px}"]});const Ame=function(i){return["/followers",i]},Ime=function(i){return["/following",i]};class V0{constructor(t,e,n,r,a,o){this.ui=t,this.appState=e,this.dataService=n,this.profileService=r,this.activatedRoute=a,this.router=o,this.subscriptions=[]}ngOnInit(){var t=this;this.appState.showBackButton=!0,this.appState.backUrl=void 0,this.subscriptions.push(this.ui.profile$.subscribe(e=>{e&&(this.appState.updateTitle(e.name),this.dataService.enque({type:"Contacts",identifier:e.pubkey}))})),this.subscriptions.push(this.activatedRoute.paramMap.subscribe(function(){var e=Se(function*(n){const r=n.get("id");t.ui.setPubKey(r)});return function(n){return e.apply(this,arguments)}}()))}ngOnDestroy(){for(let t=0;t<this.subscriptions.length;t++)this.subscriptions[t].unsubscribe()}}V0.\u0275fac=function(t){return new(t||V0)(k($r),k(Zi),k(Ba),k(Hn),k(ds),k(qn))},V0.\u0275cmp=qe({type:V0,selectors:[["app-following"]],decls:10,vars:12,consts:[[1,"full-page-flex"],["mat-tab-nav-bar","",3,"tabPanel"],["mat-tab-link","",3,"routerLink","active"],[1,"tab-panel","full-page-flex-expand"],["tabPanel",""],[4,"ngIf"],[1,"tab-panel-viewport"],["class","following-item",4,"ngFor","ngForOf"],[1,"following-item"],[3,"pubkey"]],template:function(t,e){if(1&t&&(_(0,"div",0)(1,"nav",1)(2,"a",2),N(3,"Followers"),F(),_(4,"a",2),N(5,"Following"),F()(),_(6,"mat-tab-nav-panel",3,4),ee(8,Tme,3,1,"ng-container",5),mi(9,"async"),F()()),2&t){const n=Li(7);E(1),S("tabPanel",n),E(1),S("routerLink",yn(8,Ame,e.ui.pubkey))("active",!1),E(2),S("routerLink",yn(10,Ime,e.ui.pubkey))("active",!0),E(4),S("ngIf",gi(9,6,e.ui.profile$))}},dependencies:[vn,ri,va,iM,JO,nM,H0,Es],styles:[".following-item[_ngcontent-%COMP%]{height:64px}.example-header[_ngcontent-%COMP%], .example-footer[_ngcontent-%COMP%]{height:100px;background:lightgray}"]});const Lme=function(i){return["/followers",i]},Nme=function(i){return["/following",i]};class Y0{constructor(t,e,n,r,a){this.ui=t,this.appState=e,this.profileService=n,this.activatedRoute=r,this.router=a,this.subscriptions=[]}ngOnInit(){var t=this;this.appState.showBackButton=!0,this.appState.backUrl=void 0,this.subscriptions.push(this.ui.profile$.subscribe(e=>{this.appState.updateTitle(`@${e?.name}`)})),this.subscriptions.push(this.activatedRoute.paramMap.subscribe(function(){var e=Se(function*(n){const r=n.get("id");t.ui.setPubKey(r)});return function(n){return e.apply(this,arguments)}}()))}ngOnDestroy(){for(let t=0;t<this.subscriptions.length;t++)this.subscriptions[t].unsubscribe()}}Y0.\u0275fac=function(t){return new(t||Y0)(k($r),k(Zi),k(Hn),k(ds),k(qn))},Y0.\u0275cmp=qe({type:Y0,selectors:[["app-followers"]],decls:9,vars:9,consts:[["mat-tab-nav-bar","",3,"tabPanel"],["mat-tab-link","",3,"routerLink","active"],["tabPanel",""],[1,"page"]],template:function(t,e){1&t&&(_(0,"nav",0)(1,"a",1),N(2,"Followers"),F(),_(3,"a",1),N(4,"Following"),F()(),_(5,"mat-tab-nav-panel",null,2)(7,"div",3),N(8,'NOT IMPLEMENTED. Check "Following".'),F()()),2&t&&(S("tabPanel",Li(6)),E(1),S("routerLink",yn(5,Lme,e.ui.pubkey))("active",!0),E(2),S("routerLink",yn(7,Nme,e.ui.pubkey))("active",!1))},dependencies:[va,iM,JO,nM]});class j0{constructor(t,e){this.dialogRef=t,this.data=e}onNoClick(){this.data.url="",this.dialogRef.close()}}function Ome(i,t){if(1&i){const e=Je();_(0,"mat-list-item"),Ce(1,"img",3),_(2,"span",4),N(3),F(),_(4,"span",5),N(5),F(),_(6,"span",6)(7,"button",7),pe("click",function(){const a=Te(e).$implicit;return Ae(Q().remove(a))}),_(8,"mat-icon"),N(9,"delete"),F()()()()}if(2&i){const e=t.$implicit,n=t.index,r=Q();E(1),S("src",r.utilities.sanitizeImageUrl(e.artwork),hn),E(2),yd("",n+1,". ",e.title,""),E(2),yt(e.artist)}}j0.\u0275fac=function(t){return new(t||j0)(k(Ts),k(kl))},j0.\u0275cmp=qe({type:j0,selectors:[["add-media-dialog"]],decls:15,vars:2,consts:[[1,"dialog"],["mat-dialog-title",""],["mat-dialog-content","",1,"mat-dialog-content"],["appearance","fill",1,"input-full-width"],["matPrefix","",1,"circle"],["matInput","","type","text",3,"ngModel","ngModelChange"],["mat-dialog-actions","","align","end"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"h1",1),N(2,"Add media to queue"),F(),_(3,"div",2)(4,"mat-form-field",3)(5,"mat-icon",4),N(6,"dns"),F(),_(7,"mat-label"),N(8,"URL"),F(),_(9,"input",5),pe("ngModelChange",function(r){return e.data.url=r}),F()()(),_(10,"div",6)(11,"button",7),pe("click",function(){return e.onNoClick()}),N(12,"Cancel"),F(),_(13,"button",8),N(14,"Add"),F()()()),2&t&&(E(9),S("ngModel",e.data.url),E(4),S("mat-dialog-close",e.data))},dependencies:[Do,Oa,eo,Kc,ur,Qn,xa,ua,Ca,Wh,Gh,tc,Vc],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}"]});class z0{constructor(t,e,n,r,a,o){this.contentService=t,this.dialog=e,this.appState=n,this.optionsService=r,this.media=a,this.utilities=o}ngOnInit(){this.appState.showBackButton=!0,this.appState.updateTitle("Media Queue"),this.appState.actions=[{icon:"queue",tooltip:"Add Media to Queue",click:()=>{this.addQueue()}}]}addQueue(){var t=this;this.dialog.open(j0,{data:{},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=Se(function*(r){if(r&&r.url)if(r.url.indexOf("youtu.be")>-1||r.url.indexOf("youtube.com")>-1){let o=[...r.url.matchAll(t.contentService.regexpYouTube)].map(c=>({url:`https://www.youtube.com/embed/${c[1]}`}));for(let c=0;c<o.length;c++){const h=o[c].url;t.media.enque({artist:"",artwork:"/assets/logos/youtube.png",title:h,source:h,type:"YouTube"})}}else r.url.indexOf(".mp4")>-1||r.url.indexOf(".webm")>-1?t.media.enque({artist:"",artwork:"/assets/logos/youtube.png",title:r.url,source:r.url,type:"Video"}):t.media.enque({artist:"",artwork:"",title:r.url,source:r.url,type:"Music"})});return function(r){return n.apply(this,arguments)}}())}remove(t){this.media.dequeue(t)}}z0.\u0275fac=function(t){return new(t||z0)(k(fm),k(Ia),k(Zi),k(Sr),k(Jd),k(an))},z0.\u0275cmp=qe({type:z0,selectors:[["app-queue"]],decls:4,vars:1,consts:[[1,"page"],[1,"media-list"],[4,"ngFor","ngForOf"],["matListItemAvatar","",1,"queue-artwork",3,"src"],["matListItemTitle",""],["matListItemLine",""],["matListItemMeta","",1,"delete-button"],["mat-icon-button","","matTooltip","Remove from queue","color","grey",3,"click"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"div",1)(2,"mat-list"),ee(3,Ome,10,4,"mat-list-item",2),F()()()),2&t&&(E(3),S("ngForOf",e.media.media))},dependencies:[vn,bo,Qn,uue,cM,aw,rw,nw,mR,As],styles:[".queue-artwork[_ngcontent-%COMP%]{border-radius:0!important}"]});const Rme=["chatSidebar"],Pme=["userSidebar"];function Bme(i,t){if(1&i&&(_(0,"div"),N(1),mi(2,"json"),F()),2&i){const e=t.$implicit;E(1),yt(gi(2,1,e))}}class U0{constructor(t,e,n){this.appState=t,this.queueService=e,this.relayService=n,this.sidebarTitles={user:"",chat:""},this.open={me:this,userSideBar:function(r=""){this.me.userSidebar.open(),this.me.sidebarTitles.user=r},chatSideBar:function(r=""){this.me.chatSidebar.open(),this.me.userSidebar.close(),this.me.sidebarTitles.chat=r}}}ngOnDestroy(){this.relayService.unsubscribe(this.sub.id)}ngOnInit(){var t=this;return Se(function*(){t.appState.updateTitle("Messages"),t.appState.goBack=!0,t.appState.showBackButton=!1,t.appState.actions=[],t.sub=t.relayService.subscribe([{"#p":[t.appState.getPublicKey()],kinds:[$n.EncryptedDirectMessage]}],"messages")})()}}U0.\u0275fac=function(t){return new(t||U0)(k(Zi),k(es),k(Mo))},U0.\u0275cmp=qe({type:U0,selectors:[["app-messages"]],viewQuery:function(t,e){if(1&t&&(Lt(Rme,5),Lt(Pme,5)),2&t){let n;Ze(n=Xe())&&(e.chatSidebar=n.first),Ze(n=Xe())&&(e.userSidebar=n.first)}},decls:2,vars:1,consts:[[4,"ngFor","ngForOf"]],template:function(t,e){1&t&&(Ce(0,"app-chat-list"),ee(1,Bme,3,3,"div",0)),2&t&&(E(1),S("ngForOf",e.sub.events))},dependencies:[vn,wm,Yx],styles:[".drawer-container{height:100%;z-index:9999;overflow:visible!important}.sidebar--message{width:100%}.sidebar--user{max-width:360px;width:100%}.zIndexTop{z-index:10}.spacer{flex:1}\n"],encapsulation:2});const Hme=["chatSidebar"],Vme=["userSidebar"];class W0{constructor(t){this.appState=t,this.sidebarTitles={user:"",chat:""},this.open={me:this,userSideBar:function(e=""){this.me.userSidebar.open(),this.me.sidebarTitles.user=e},chatSideBar:function(e=""){this.me.chatSidebar.open(),this.me.userSidebar.close(),this.me.sidebarTitles.chat=e}}}ngOnInit(){var t=this;return Se(function*(){t.appState.updateTitle("@Milad"),t.appState.goBack=!0,t.appState.showBackButton=!0,t.appState.actions=[]})()}}function Yme(i,t){if(1&i&&(_(0,"span"),N(1),F()),2&i){const e=Q();E(1),yt(e.relay.nip11.name)}}function jme(i,t){if(1&i&&(_(0,"span"),N(1),F()),2&i){const e=Q();E(1),yt(e.relay.url.substring(6))}}function zme(i,t){1&i&&(_(0,"mat-icon",15),N(1,"edit_note"),F())}function Ume(i,t){1&i&&(_(0,"mat-icon",15),N(1,"edit_off"),F())}function Wme(i,t){1&i&&(_(0,"mat-icon",15),N(1,"edit"),F())}function Gme(i,t){1&i&&(_(0,"mat-icon",16),N(1,"cloud_off"),F())}W0.\u0275fac=function(t){return new(t||W0)(k(Zi))},W0.\u0275cmp=qe({type:W0,selectors:[["app-message"]],viewQuery:function(t,e){if(1&t&&(Lt(Hme,5),Lt(Vme,5)),2&t){let n;Ze(n=Xe())&&(e.chatSidebar=n.first),Ze(n=Xe())&&(e.userSidebar=n.first)}},decls:1,vars:0,template:function(t,e){1&t&&Ce(0,"app-chat-detail")},dependencies:[Ap],styles:[".drawer-container{height:100%;z-index:9999;overflow:visible!important}.sidebar--message{width:100%}.sidebar--user{max-width:360px;width:100%}.zIndexTop{z-index:10}.spacer{flex:1}\n"],encapsulation:2});const PR=function(i){return[i]};function qme(i,t){if(1&i&&(_(0,"mat-icon",17),N(1,"cloud_done"),F()),2&i){const e=Q();S("ngClass",yn(1,PR,"relay-status-"+e.relay.status))}}function $me(i,t){if(1&i&&(_(0,"mat-icon",17),N(1,"cloud"),F()),2&i){const e=Q();S("ngClass",yn(1,PR,"relay-status-"+e.relay.status))}}function Kme(i,t){1&i&&(_(0,"mat-icon",15),N(1,"public"),F())}function Qme(i,t){1&i&&(_(0,"mat-icon",15),N(1,"public_off"),F())}function Zme(i,t){if(1&i&&(_(0,"div",18),N(1),F()),2&i){const e=Q();E(1),yt(e.relay.error)}}function Xme(i,t){if(1&i&&(_(0,"h2"),N(1),F()),2&i){const e=Q(2);E(1),yt(null==e.relay.nip11?null:e.relay.nip11.name)}}const Jme=function(i){return["/p",i]};function efe(i,t){if(1&i&&(_(0,"span")(1,"a",20),N(2,"Administrator"),F(),Ce(3,"br"),F()),2&i){const e=Q(2);E(1),S("routerLink",yn(1,Jme,e.relay.nip11.pubkey))}}function tfe(i,t){if(1&i&&(_(0,"span"),N(1),Ce(2,"br"),F()),2&i){const e=Q(2);E(1),Gt("Contact: ",e.relay.nip11.contact,"")}}function ife(i,t){if(1&i&&(_(0,"div"),ee(1,Xme,2,1,"h2",2),N(2),Ce(3,"br")(4,"br"),_(5,"span",9),ee(6,efe,4,3,"span",2),ee(7,tfe,3,1,"span",2),N(8),Ce(9,"br"),N(10),Ce(11,"br"),_(12,"span",19),N(13),F()()()),2&i){const e=Q();E(1),S("ngIf",null==e.relay.nip11?null:e.relay.nip11.name),E(1),Gt(" ",e.relay.nip11.description,""),E(4),S("ngIf",e.relay.nip11.pubkey),E(1),S("ngIf",e.relay.nip11.contact),E(1),Gt(" NIPs: ",e.relay.nip11.supported_nips,""),E(2),yd(" Software: ",e.relay.nip11.software," (",e.relay.nip11.version,")"),E(3),Gt(" ID: ",e.relay.nip11.pubkey,"")}}function nfe(i,t){if(1&i&&(_(0,"div",9),N(1),F()),2&i){const e=Q();E(1),Gt("Timeouts: ",e.relay.timeouts,"")}}function rfe(i,t){if(1&i&&(_(0,"div",9),N(1),F()),2&i){const e=Q();E(1),Gt("Events: ",e.relay.eventcount,"")}}function afe(i,t){if(1&i&&(_(0,"mat-list-option",21)(1,"mat-icon",22),N(2),F(),_(3,"span",23),N(4),F(),_(5,"span",24),N(6),F()()),2&i){const e=t.$implicit;S("selected",Q().relay.type==e.type)("value",e.type),E(2),yt(e.icon),E(2),yt(e.title),E(2),yt(e.description)}}function ofe(i,t){if(1&i&&(_(0,"mat-list-option",21)(1,"mat-icon",22),N(2),F(),_(3,"span",23),N(4),F(),_(5,"span",24),N(6),F()()),2&i){const e=t.$implicit;S("selected",Q().relay.enabled==e.type)("value",e.type),E(2),yt(e.icon),E(2),yt(e.title),E(2),yt(e.description)}}function sfe(i,t){if(1&i&&(_(0,"mat-list-option",21)(1,"mat-icon",22),N(2),F(),_(3,"span",23),N(4),F(),_(5,"span",24),N(6),F()()),2&i){const e=t.$implicit;S("selected",Q().relay.public==e.type)("value",e.type),E(2),yt(e.icon),E(2),yt(e.title),E(2),yt(e.description)}}const BR=function(i){return{"primary-relay":i}};class G0{constructor(t,e){this.optionsService=t,this.relayService=e,this.typesOfRelays=[{type:1,title:"Read and Write",description:"Reads and writes events, profiles and other metadata. Always connected.",icon:"edit_note"},{type:2,title:"Read",description:"Reads only, does not write, unless explicit specified on publish action.",icon:"edit_off"},{type:3,title:"Write",description:"Writes your events, profile and other metadata updates. Connects on-demand.",icon:"edit"}],this.typesOfPrivacy=[{type:!0,title:"Public",description:"This relay is included in your public relay list.",icon:"public"},{type:!1,title:"Private",description:"This relay is not published as part of your public relay list.",icon:"public_off"}],this.typesOfStatus=[{type:!0,title:"Enabled",description:"This relay is enabled and Notes will connect to it.",icon:"cloud_done"},{type:!1,title:"Disabled",description:"Disables this relay (locally) until activated again.",icon:"cloud_off"}]}ngOnInit(){}onRelayTypeChange(t){var e=this;return Se(function*(){console.log("onRelayTypeChange",t.options[0].value),e.relay.type=t.options[0].value,console.log("SAVING:",e.relay),yield e.relayService.setRelayType(e.relay.url,e.relay.type),!e.relay.enabled||e.relay.type>2?e.relayService.terminate(e.relay.url):e.relayService.createRelayWorker(e.relay.url)})()}onRelayPublicChange(t){var e=this;return Se(function*(){console.log("onRelayPublicChange",t.options[0].value),e.relay.public=t.options[0].value,console.log("SAVING:",e.relay),yield e.relayService.setRelayPublic(e.relay.url,e.relay.public)})()}onRelayStatusChange(t){var e=this;return Se(function*(){console.log("onRelayStatusChange",t.options[0].value),e.relay.enabled=t.options[0].value,console.log("SAVING:",e.relay),yield e.relayService.setRelayEnabled(e.relay.url,e.relay.enabled),e.relay.enabled||e.relay.type>2?e.relayService.createRelayWorker(e.relay.url):e.relayService.terminate(e.relay.url)})()}onRelayChanged(t){return Se(function*(){})()}primaryRelay(t){var e=this;return Se(function*(){e.optionsService.values.primaryRelay=t.url,e.optionsService.save()})()}deleteRelay(t){var e=this;return Se(function*(){yield e.relayService.deleteRelay(t.url)})()}relayFavIcon(t){return t.replace("wss://","https://")+"/favicon.ico"}}function lfe(i,t){1&i&&Ce(0,"app-relay",2),2&i&&S("relay",t.$implicit)}G0.\u0275fac=function(t){return new(t||G0)(k(Sr),k(Mo))},G0.\u0275cmp=qe({type:G0,selectors:[["app-relay"]],inputs:{relay:"relay"},decls:53,vars:30,consts:[[3,"ngClass"],["onerror","this.src='/assets/blank.png'","width","32","height","32",1,"relay-favicon",3,"src"],[4,"ngIf"],[1,"hide-small",3,"ngClass"],["class","relay-status-icon hide-small",4,"ngIf"],["class","relay-status-icon",4,"ngIf"],["class","relay-status-icon",3,"ngClass",4,"ngIf"],["class","error",4,"ngIf"],["class","dimmed",4,"ngIf"],[1,"dimmed"],[1,"relay-options","mat-elevation-z8"],[3,"multiple","selectionChange"],[3,"selected","value",4,"ngFor","ngForOf"],["mat-raised-button","","color","primary",1,"relay-button",3,"disabled","click"],["mat-raised-button","","color","warn",1,"relay-button",3,"click"],[1,"relay-status-icon","hide-small"],[1,"relay-status-icon"],[1,"relay-status-icon",3,"ngClass"],[1,"error"],[1,"wrap"],[3,"routerLink"],[3,"selected","value"],["matListItemIcon",""],["matListItemTitle",""],["matListItemLine",""]],template:function(t,e){1&t&&(_(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-panel-title",0),Ce(3,"img",1),ee(4,Yme,2,1,"span",2),ee(5,jme,2,1,"span",2),F(),_(6,"mat-panel-description")(7,"span",3),N(8),F(),_(9,"div"),ee(10,zme,2,0,"mat-icon",4),ee(11,Ume,2,0,"mat-icon",4),ee(12,Wme,2,0,"mat-icon",4),ee(13,Gme,2,0,"mat-icon",5),ee(14,qme,2,3,"mat-icon",6),ee(15,$me,2,3,"mat-icon",6),ee(16,Kme,2,0,"mat-icon",4),ee(17,Qme,2,0,"mat-icon",4),F()()(),ee(18,Zme,2,1,"div",7),ee(19,ife,14,8,"div",2),Ce(20,"br"),ee(21,nfe,2,1,"div",8),ee(22,rfe,2,1,"div",8),_(23,"div",9),N(24),F(),_(25,"mat-card",10)(26,"mat-card-header")(27,"mat-card-title"),N(28,"Relay Options"),F()(),_(29,"mat-card-content")(30,"mat-selection-list",11),pe("selectionChange",function(r){return e.onRelayTypeChange(r)}),ee(31,afe,7,5,"mat-list-option",12),F()()(),_(32,"mat-card",10)(33,"mat-card-header")(34,"mat-card-title"),N(35,"Relay Status"),F(),_(36,"mat-card-subtitle"),N(37,"Allows you to disable a relay locally."),F()(),_(38,"mat-card-content")(39,"mat-selection-list",11),pe("selectionChange",function(r){return e.onRelayStatusChange(r)}),ee(40,ofe,7,5,"mat-list-option",12),F()()(),_(41,"mat-card",10)(42,"mat-card-header")(43,"mat-card-title"),N(44,"Relay Privacy"),F()(),_(45,"mat-card-content")(46,"mat-selection-list",11),pe("selectionChange",function(r){return e.onRelayPublicChange(r)}),ee(47,sfe,7,5,"mat-list-option",12),F()()(),_(48,"button",13),pe("click",function(){return e.primaryRelay(e.relay)}),N(49,"Primary Relay"),F(),N(50,"\xa0 "),_(51,"button",14),pe("click",function(){return e.deleteRelay(e.relay)}),N(52,"Delete"),F()()),2&t&&(E(2),S("ngClass",yn(26,BR,e.optionsService.values.primaryRelay==e.relay.url)),E(1),S("src",e.relayFavIcon(e.relay.url),hn),E(1),S("ngIf",e.relay.nip11),E(1),S("ngIf",!e.relay.nip11),E(2),S("ngClass",yn(28,BR,e.optionsService.values.primaryRelay==e.relay.url)),E(1),yt(e.relay.url),E(2),S("ngIf",1===e.relay.type),E(1),S("ngIf",2===e.relay.type),E(1),S("ngIf",3===e.relay.type),E(1),S("ngIf",!e.relay.enabled),E(1),S("ngIf",e.relay.enabled&&1==e.relay.status),E(1),S("ngIf",e.relay.enabled&&1!==e.relay.status),E(1),S("ngIf",!0===e.relay.public),E(1),S("ngIf",!1===e.relay.public),E(1),S("ngIf",e.relay.error),E(1),S("ngIf",e.relay.nip11),E(2),S("ngIf",e.relay.timeouts),E(1),S("ngIf",e.relay.eventcount),E(2),Gt("Status: ",e.relay.status,""),E(6),S("multiple",!1),E(1),S("ngForOf",e.typesOfRelays),E(8),S("multiple",!1),E(1),S("ngForOf",e.typesOfStatus),E(6),S("multiple",!1),E(1),S("ngForOf",e.typesOfPrivacy),E(1),S("disabled",!e.relay.public||e.optionsService.values.primaryRelay==e.relay.url))},dependencies:[qa,vn,ri,va,ur,Pa,oc,X_,Z_,Q_,Qn,_R,gR,sM,rw,nw,Xc,Jc,Zd,Qd],styles:[".mat-expansion-panel-header-description[_ngcontent-%COMP%]{justify-content:space-between;align-items:center}.mat-expansion-panel[_ngcontent-%COMP%]{margin-bottom:.4em}.relay-status--1[_ngcontent-%COMP%]{color:#3131d2}.relay-status-0[_ngcontent-%COMP%]{color:gray}.relay-status-1[_ngcontent-%COMP%]{color:#22b322}.relay-status-2[_ngcontent-%COMP%]{color:orange}.relay-status-3[_ngcontent-%COMP%]{color:red}.relay-status-4[_ngcontent-%COMP%]{color:#3131d2}.relay-status-icon[_ngcontent-%COMP%]{margin-left:.2em}.primary-relay[_ngcontent-%COMP%]{color:#c603b5}.relay-options[_ngcontent-%COMP%]{margin-top:1em;margin-bottom:.6em;background-color:#ffffff1a}.settings-action-buttons[_ngcontent-%COMP%]{padding-top:.8em;padding-bottom:1em}.settings-action-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-bottom:1em;margin-right:1em}@media only screen and (max-width: 599px){.settings-action-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%;margin-right:0}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{flex-grow:3!important}.mat-expansion-panel-header-description[_ngcontent-%COMP%]{flex-grow:1!important}}.relay-button[_ngcontent-%COMP%]{margin-top:.8em}.options-slider[_ngcontent-%COMP%]{margin-left:1em}.relay-favicon[_ngcontent-%COMP%]{margin-right:1em}"]});class Ip{constructor(){}ngOnInit(){}trackByFn(t,e){return`${e.url}${e.modified}`}}Ip.\u0275fac=function(t){return new(t||Ip)},Ip.\u0275cmp=qe({type:Ip,selectors:[["app-relays"]],inputs:{relays:"relays"},decls:2,vars:2,consts:[["multi",""],["ngFor","",3,"ngForOf","ngForTrackBy"],[3,"relay"]],template:function(t,e){1&t&&(_(0,"mat-accordion",0),ee(1,lfe,1,1,"ng-template",1),F()),2&t&&(E(1),S("ngForOf",e.relays)("ngForTrackBy",e.trackByFn))},dependencies:[vn,sc,G0]});class q0{constructor(t,e,n,r){this.nostr=t,this.dataService=e,this.appState=n,this.relayService=r}ngOnInit(){this.appState.updateTitle("Development & Debug")}database(){return Se(function*(){})()}databaseWorker(){console.log("Creating Worker...")}addRelays(){var t=this;return Se(function*(){t.relayService.appendRelays(t.nostr.defaultRelays)})()}downloadProfile(){this.relayService.enque({identifier:this.appState.getPublicKey(),type:"Profile"})}subscription(){this.sub=this.relayService.subscribe([{authors:[this.appState.getPublicKey()],kinds:[1]}]).id}unsubscribe(){this.relayService.unsubscribe(this.sub)}terminate(){this.relayService.workers[0].terminate()}ngOnDestroy(){this.worker?.terminate()}}q0.\u0275fac=function(t){return new(t||q0)(k(El),k(Ba),k(Zi),k(Mo))},q0.\u0275cmp=qe({type:q0,selectors:[["app-development"]],decls:20,vars:1,consts:[[1,"page"],["mat-stroked-button","",3,"click"],[3,"relays"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"p"),N(2,"This page act as examples for more specialized implementation details of the app."),F(),_(3,"button",1),pe("click",function(){return e.downloadProfile()}),N(4,"Enque Profile Download"),F(),_(5,"button",1),pe("click",function(){return e.database()}),N(6,"Create Database"),F(),_(7,"button",1),pe("click",function(){return e.databaseWorker()}),N(8,"Create Database in Worker"),F(),_(9,"button",1),pe("click",function(){return e.addRelays()}),N(10,"Add Relays"),F(),_(11,"button",1),pe("click",function(){return e.subscription()}),N(12,"Create Subscription"),F(),_(13,"button",1),pe("click",function(){return e.unsubscribe()}),N(14,"Remove Subscription"),F(),_(15,"button",1),pe("click",function(){return e.terminate()}),N(16,"Terminate a single Web Worker"),F(),Ce(17,"br")(18,"br")(19,"app-relays",2),F()),2&t&&(E(19),S("relays",e.relayService.items))},dependencies:[ur,Ip],styles:["button[_ngcontent-%COMP%]{margin-right:.2em;margin-top:.2em}"]});class tr{constructor(t,e){this.appState=t,this.router=e}resolve(t,e){return this.appState.initialized$.pipe(qi(n=>n))}}tr.\u0275fac=function(t){return new(t||tr)(Fe(Zi),Fe(qn))},tr.\u0275prov=Qe({token:tr,factory:tr.\u0275fac,providedIn:"root"});const cfe=function(i){return{"notification-message-seen":i}};function dfe(i,t){if(1&i&&(_(0,"mat-card",7)(1,"mat-card-content")(2,"div",8)(3,"div",9),Ce(4,"app-notification-label",10),F(),_(5,"div",11),Ce(6,"app-date",12),F()()()()),2&i){const e=t.$implicit;E(3),S("ngClass",yn(3,cfe,e.seen)),E(1),S("notification",e),E(2),S("date",e.created)}}class $0{constructor(t,e,n,r,a,o){this.navigation=t,this.utilities=e,this.db=n,this.relayService=r,this.ui=a,this.appState=o,this.subscriptions=[],this.offset=0,this.pageSize=12}ngOnInit(){var t=this;return Se(function*(){t.appState.updateTitle("Notifications"),t.appState.showBackButton=!1,t.appState.actions=[];const e=yield t.db.storage.getNotifications(100);t.ui.putNotifications(e),t.subscriptions.push(t.navigation.showMore$.subscribe(()=>{t.showMore()}))})()}showMore(){var t=this;return Se(function*(){let e=yield t.db.storage.db.transaction("notifications").store.index("created").openCursor(void 0,"prev");t.offset>0&&(e=yield e?.advance(t.offset));for(let n=0;n<t.pageSize&&e;n++)e.value&&t.ui.putNotification(e.value),e&&(e=yield e.continue());0===t.offset&&(t.pageSize=Math.floor(t.pageSize/2)),t.offset+=t.pageSize})()}clearNotifications(){var t=this;return Se(function*(){yield t.db.storage.deleteNotifications(),t.ui.putNotifications([])})()}ngOnDestroy(){var t=this;return Se(function*(){for(let e=0;e<t.ui.notifications.length;e++){const n=t.ui.notifications[e];n.seen=!0,yield t.db.storage.putNotification(n)}t.ui.triggerUnreadNotifications(),t.utilities.unsubscribe(t.subscriptions),t.subscriptionId&&t.relayService.unsubscribe(t.subscriptionId)})()}}function ufe(i,t){if(1&i){const e=Je();_(0,"mat-card",7),pe("click",function(r){const o=Te(e).$implicit;return Ae(Q(2).navigation.openEvent(r,o))}),_(1,"div",8)(2,"app-event-header",9)(3,"span",10),N(4),mi(5,"ago"),F(),Ce(6,"app-directory-icon",9),F(),Ce(7,"app-event-actions",11),F(),Ce(8,"app-content",11),F()}if(2&i){const e=t.$implicit;E(2),S("pubkey",e.pubkey),E(2),yt(gi(5,5,e.created_at)),E(2),S("pubkey",e.pubkey),E(1),S("event",e),E(1),S("event",e)}}function hfe(i,t){if(1&i){const e=Je();_(0,"div",1),pe("scrollAction",function(){return Te(e),Ae(Q().navigation.showMore())}),_(1,"div",2)(2,"mat-accordion",3)(3,"mat-expansion-panel")(4,"mat-expansion-panel-header")(5,"mat-panel-title"),N(6,"Options"),F(),_(7,"mat-panel-description"),N(8),F()()()(),ee(9,ufe,9,7,"mat-card",4),_(10,"div",5)(11,"button",6),pe("click",function(){return Te(e),Ae(Q().showMore())}),N(12,"Show more..."),F()()()()}if(2&i){const e=t.ngIf,n=Q();E(8),yt(n.activeOptions()),E(1),S("ngForOf",e)("ngForTrackBy",n.trackByFn)}}$0.\u0275fac=function(t){return new(t||$0)(k(yo),k(an),k(Ra),k(Mo),k($r),k(Zi))},$0.\u0275cmp=qe({type:$0,selectors:[["app-notifications"]],decls:15,vars:1,consts:[["infiniteScroll","",1,"feed-page","scrolling-content",3,"scrollAction"],[1,"options"],[1,"people-actions"],["mat-stroked-button","",3,"click"],["class","notification-card",4,"ngFor","ngForOf"],[1,"show-more","centered"],["mat-button","",3,"click"],[1,"notification-card"],[1,"notification-entry"],[1,"notification-message",3,"ngClass"],[3,"notification"],[1,"notification-date"],[3,"date"]],template:function(t,e){1&t&&(_(0,"div",0),pe("scrollAction",function(){return e.navigation.showMore()}),_(1,"div",1)(2,"mat-accordion")(3,"mat-expansion-panel")(4,"mat-expansion-panel-header")(5,"mat-panel-title"),N(6,"Options"),F(),Ce(7,"mat-panel-description"),F(),_(8,"p",2)(9,"button",3),pe("click",function(){return e.clearNotifications()}),N(10,"Reset Notifications"),F()()()()(),ee(11,dfe,7,5,"mat-card",4),_(12,"div",5)(13,"button",6),pe("click",function(){return e.showMore()}),N(14,"Show more..."),F()()()),2&t&&(E(11),S("ngForOf",e.ui.notifications))},dependencies:[qa,vn,ur,Pa,oc,sc,Xc,Jc,Zd,Qd,_m,id,Cp],styles:[".notification-card[_ngcontent-%COMP%]{margin-bottom:.2em}.notification-entry[_ngcontent-%COMP%]{display:flex;flex-direction:row}.notification-mesage[_ngcontent-%COMP%]{flex-grow:2}.notification-date[_ngcontent-%COMP%]{text-align:right;flex-grow:1;color:#ffffff80}.notification-message-seen[_ngcontent-%COMP%]{font-style:italic;color:#ffffff80}"]});class Lp{constructor(t,e,n,r,a,o,c,h,f,x,P,$,te,fe){this.ui=t,this.activatedRoute=e,this.db=n,this.navigation=r,this.appState=a,this.cd=o,this.options=c,this.profileService=h,this.validator=f,this.utilities=x,this.router=P,this.breakpointObserver=$,this.snackBar=te,this.ngZone=fe,this.offset=0,this.pageSize=12,this.currentItems=[],this.details=!1,this.subscriptions=[],this.hasFollowers=!1,this.circle=-1}ngAfterViewInit(){console.log("ngAfterViewInit")}ngAfterContentInit(){console.log("ngAfterContentInit")}showMore(){var t=this;return Se(function*(){t.ui.updateFeedEventsView(0,t.ui.viewCounts.feedEventsViewCount+t.pageSize)})()}optionsUpdated(){}activeOptions(){return""}trackByFn(t,e){return e.id}trackByNoteId(t,e){return e.id}toggleDetails(){this.details=!this.details}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}feedChanged(t,e){"public"===e?this.options.values.privateFeed=!this.options.values.publicFeed:this.options.values.publicFeed=!this.options.values.privateFeed}ngOnInit(){var t=this;return Se(function*(){t.appState.updateTitle("Feed"),t.appState.showBackButton=!1,t.appState.actions=[],t.options.values.privateFeed=!0,t.subscriptions.push(t.activatedRoute.paramMap.subscribe(function(){var e=Se(function*(n){const r=n.get("circle");t.ui.clearFeed(),null!=r?(t.circle=Number(r),t.ui.setFeedCircle(t.circle)):(t.circle=-1,t.ui.setFeedCircle(t.circle)),t.subscriptions.push(t.navigation.showMore$.subscribe(()=>{t.showMore()}))});return function(n){return e.apply(this,arguments)}}()))})()}}Lp.\u0275fac=function(t){return new(t||Lp)(k($r),k(ds),k(Ra),k(yo),k(Zi),k(ni),k(Sr),k(Hn),k(Xo),k(an),k(qn),k(Td),k(us),k(Rt))},Lp.\u0275cmp=qe({type:Lp,selectors:[["app-feed-private"]],decls:2,vars:3,consts:[["class","scrolling-content","infiniteScroll","",3,"scrollAction",4,"ngIf"],["infiniteScroll","",1,"scrolling-content",3,"scrollAction"],[1,"feed-page"],[1,"options"],["class","events clickable",3,"click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"show-more","centered"],["mat-button","",3,"click"],[1,"events","clickable",3,"click"],[1,"events-header"],[3,"pubkey"],["matTooltipPosition","below",1,"event-date"],[3,"event"]],template:function(t,e){1&t&&(ee(0,hfe,13,3,"div",0),mi(1,"async")),2&t&&S("ngIf",gi(1,1,e.ui.feedEventsView$))},dependencies:[vn,ri,ur,Pa,sc,Xc,Jc,Zd,Qd,Tl,ms,Al,_m,Xs,Es,Js],styles:[".loading-container[_ngcontent-%COMP%]{text-align:center}.loading[_ngcontent-%COMP%]{margin:auto}"]});var si=(()=>(function(i){i[i.QR_CODE=0]="QR_CODE",i[i.AZTEC=1]="AZTEC",i[i.CODABAR=2]="CODABAR",i[i.CODE_39=3]="CODE_39",i[i.CODE_93=4]="CODE_93",i[i.CODE_128=5]="CODE_128",i[i.DATA_MATRIX=6]="DATA_MATRIX",i[i.MAXICODE=7]="MAXICODE",i[i.ITF=8]="ITF",i[i.EAN_13=9]="EAN_13",i[i.EAN_8=10]="EAN_8",i[i.PDF_417=11]="PDF_417",i[i.RSS_14=12]="RSS_14",i[i.RSS_EXPANDED=13]="RSS_EXPANDED",i[i.UPC_A=14]="UPC_A",i[i.UPC_E=15]="UPC_E",i[i.UPC_EAN_EXTENSION=16]="UPC_EAN_EXTENSION"}(si||(si={})),si))(),HR=new Map([[si.QR_CODE,"QR_CODE"],[si.AZTEC,"AZTEC"],[si.CODABAR,"CODABAR"],[si.CODE_39,"CODE_39"],[si.CODE_93,"CODE_93"],[si.CODE_128,"CODE_128"],[si.DATA_MATRIX,"DATA_MATRIX"],[si.MAXICODE,"MAXICODE"],[si.ITF,"ITF"],[si.EAN_13,"EAN_13"],[si.EAN_8,"EAN_8"],[si.PDF_417,"PDF_417"],[si.RSS_14,"RSS_14"],[si.RSS_EXPANDED,"RSS_EXPANDED"],[si.UPC_A,"UPC_A"],[si.UPC_E,"UPC_E"],[si.UPC_EAN_EXTENSION,"UPC_EAN_EXTENSION"]]);function mfe(i){return Object.values(si).includes(i)}var ru=(()=>(function(i){i[i.SCAN_TYPE_CAMERA=0]="SCAN_TYPE_CAMERA",i[i.SCAN_TYPE_FILE=1]="SCAN_TYPE_FILE"}(ru||(ru={})),ru))(),dc=function(){function i(){}return i.GITHUB_PROJECT_URL="https://github.com/mebjas/html5-qrcode",i.SCAN_DEFAULT_FPS=2,i.DEFAULT_DISABLE_FLIP=!1,i.DEFAULT_REMEMBER_LAST_CAMERA_USED=!0,i.DEFAULT_SUPPORTED_SCAN_TYPE=[ru.SCAN_TYPE_CAMERA,ru.SCAN_TYPE_FILE],i}(),VR=function(){function i(t,e){this.format=t,this.formatName=e}return i.prototype.toString=function(){return this.formatName},i.create=function(t){if(!HR.has(t))throw t+" not in html5QrcodeSupportedFormatsTextMap";return new i(t,HR.get(t))},i}(),YR=function(){function i(){}return i.createFromText=function(t){return{decodedText:t,result:{text:t}}},i.createFromQrcodeResult=function(t){return{decodedText:t.text,result:t}},i}(),dw=(()=>(function(i){i[i.UNKWOWN_ERROR=0]="UNKWOWN_ERROR",i[i.IMPLEMENTATION_ERROR=1]="IMPLEMENTATION_ERROR",i[i.NO_CODE_FOUND_ERROR=2]="NO_CODE_FOUND_ERROR"}(dw||(dw={})),dw))(),jR=function(){function i(){}return i.createFrom=function(t){return{errorMessage:t,type:dw.UNKWOWN_ERROR}},i}(),zR=function(){function i(t){this.verbose=t}return i.prototype.log=function(t){this.verbose&&console.log(t)},i.prototype.warn=function(t){this.verbose&&console.warn(t)},i.prototype.logError=function(t,e){(this.verbose||!0===e)&&console.error(t)},i.prototype.logErrors=function(t){if(0===t.length)throw"Logger#logError called without arguments";this.verbose&&console.error(t)},i}();function nd(i){return typeof i>"u"||null===i}var K0=function(){function i(){}return i.codeParseError=function(t){return"QR code parse error, error = "+t},i.errorGettingUserMedia=function(t){return"Error getting userMedia, error = "+t},i.onlyDeviceSupportedError=function(){return"The device doesn't support navigator.mediaDevices , only supported cameraIdOrConfig in this case is deviceId parameter (string)."},i.cameraStreamingNotSupported=function(){return"Camera streaming not supported by the browser."},i.unableToQuerySupportedDevices=function(){return"Unable to query supported devices, unknown error."},i.insecureContextCameraQueryError=function(){return"Camera access is only supported in secure context like https or localhost."},i}(),Tr=function(){function i(){}return i.scanningStatus=function(){return"Scanning"},i.idleStatus=function(){return"Idle"},i.errorStatus=function(){return"Error"},i.permissionStatus=function(){return"Permission"},i.noCameraFoundErrorStatus=function(){return"No Cameras"},i.lastMatch=function(t){return"Last Match: "+t},i.codeScannerTitle=function(){return"Code Scanner"},i.cameraPermissionTitle=function(){return"Request Camera Permissions"},i.cameraPermissionRequesting=function(){return"Requesting camera permissions..."},i.noCameraFound=function(){return"No camera found"},i.scanButtonStopScanningText=function(){return"Stop Scanning"},i.scanButtonStartScanningText=function(){return"Start Scanning"},i.torchOnButton=function(){return"Switch On Torch"},i.torchOffButton=function(){return"Switch Off Torch"},i.torchOnFailedMessage=function(){return"Failed to turn on torch"},i.torchOffFailedMessage=function(){return"Failed to turn off torch"},i.scanButtonScanningStarting=function(){return"Launching Camera..."},i.textIfCameraScanSelected=function(){return"Scan an Image File"},i.textIfFileScanSelected=function(){return"Scan using camera directly"},i.selectCamera=function(){return"Select Camera"},i.fileSelectionChooseImage=function(){return"Choose Image"},i.fileSelectionChooseAnother=function(){return"Choose Another"},i.fileSelectionNoImageSelected=function(){return"No image choosen"},i.anonymousCameraPrefix=function(){return"Anonymous Camera"},i.dragAndDropMessage=function(){return"Or drop an image to scan"},i.dragAndDropMessageOnlyImages=function(){return"Or drop an image to scan (other files not supported)"},i.zoom=function(){return"zoom"},i.loadingImage=function(){return"Loading image..."},i.cameraScanAltText=function(){return"Camera based scan"},i.fileScanAltText=function(){return"Fule based scan"},i}(),UR=function(){function i(){}return i.poweredBy=function(){return"Powered by "},i.reportIssues=function(){return"Report issues"},i}(),WR=function(){function i(){}return i.isMediaStreamConstraintsValid=function(t,e){if("object"!=typeof t)return e.logError("videoConstraints should be of type object, the object passed is of type "+typeof t+".",!0),!1;for(var a=new Set(["autoGainControl","channelCount","echoCancellation","latency","noiseSuppression","sampleRate","sampleSize","volume"]),c=0,h=Object.keys(t);c<h.length;c++){var f=h[c];if(a.has(f))return e.logError(f+" is not supported videoConstaints.",!0),!1}return!0},i}(),oa=I(9140),GR=function(){function i(t,e,n){if(this.formatMap=new Map([[si.QR_CODE,oa.BarcodeFormat.QR_CODE],[si.AZTEC,oa.BarcodeFormat.AZTEC],[si.CODABAR,oa.BarcodeFormat.CODABAR],[si.CODE_39,oa.BarcodeFormat.CODE_39],[si.CODE_93,oa.BarcodeFormat.CODE_93],[si.CODE_128,oa.BarcodeFormat.CODE_128],[si.DATA_MATRIX,oa.BarcodeFormat.DATA_MATRIX],[si.MAXICODE,oa.BarcodeFormat.MAXICODE],[si.ITF,oa.BarcodeFormat.ITF],[si.EAN_13,oa.BarcodeFormat.EAN_13],[si.EAN_8,oa.BarcodeFormat.EAN_8],[si.PDF_417,oa.BarcodeFormat.PDF_417],[si.RSS_14,oa.BarcodeFormat.RSS_14],[si.RSS_EXPANDED,oa.BarcodeFormat.RSS_EXPANDED],[si.UPC_A,oa.BarcodeFormat.UPC_A],[si.UPC_E,oa.BarcodeFormat.UPC_E],[si.UPC_EAN_EXTENSION,oa.BarcodeFormat.UPC_EAN_EXTENSION]]),this.reverseFormatMap=this.createReverseFormatMap(),!oa)throw"Use html5qrcode.min.js without edit, ZXing not found.";this.verbose=e,this.logger=n;var r=this.createZXingFormats(t),a=new Map;a.set(oa.DecodeHintType.POSSIBLE_FORMATS,r),a.set(oa.DecodeHintType.TRY_HARDER,!1),this.hints=a}return i.prototype.decodeAsync=function(t){var e=this;return new Promise(function(n,r){try{n(e.decode(t))}catch(a){r(a)}})},i.prototype.decode=function(t){var e=new oa.MultiFormatReader(this.verbose,this.hints),n=new oa.HTMLCanvasElementLuminanceSource(t),r=new oa.BinaryBitmap(new oa.HybridBinarizer(n)),a=e.decode(r);return{text:a.text,format:VR.create(this.toHtml5QrcodeSupportedFormats(a.format)),debugData:this.createDebugData()}},i.prototype.createReverseFormatMap=function(){var t=new Map;return this.formatMap.forEach(function(e,n,r){t.set(e,n)}),t},i.prototype.toHtml5QrcodeSupportedFormats=function(t){if(!this.reverseFormatMap.has(t))throw"reverseFormatMap doesn't have "+t;return this.reverseFormatMap.get(t)},i.prototype.createZXingFormats=function(t){for(var e=[],n=0,r=t;n<r.length;n++){var a=r[n];this.formatMap.has(a)?e.push(this.formatMap.get(a)):this.logger.logError(a+" is not supported byZXingHtml5QrcodeShim")}return e},i.prototype.createDebugData=function(){return{decoderName:"zxing-js"}},i}(),qR=function(){function i(t,e,n){if(this.formatMap=new Map([[si.QR_CODE,"qr_code"],[si.AZTEC,"aztec"],[si.CODABAR,"codabar"],[si.CODE_39,"code_39"],[si.CODE_93,"code_93"],[si.CODE_128,"code_128"],[si.DATA_MATRIX,"data_matrix"],[si.ITF,"itf"],[si.EAN_13,"ean_13"],[si.EAN_8,"ean_8"],[si.PDF_417,"pdf417"],[si.UPC_A,"upc_a"],[si.UPC_E,"upc_e"]]),this.reverseFormatMap=this.createReverseFormatMap(),!i.isSupported())throw"Use html5qrcode.min.js without edit, Use BarcodeDetectorDelegate only if it isSupported();";this.verbose=e,this.logger=n;var r=this.createBarcodeDetectorFormats(t);if(this.detector=new BarcodeDetector(r),!this.detector)throw"BarcodeDetector detector not supported"}return i.isSupported=function(){return"BarcodeDetector"in window&&typeof new BarcodeDetector({formats:["qr_code"]})<"u"},i.prototype.decodeAsync=function(t){return function(i,t,e,n){return new(e||(e=Promise))(function(a,o){function c(x){try{f(n.next(x))}catch(P){o(P)}}function h(x){try{f(n.throw(x))}catch(P){o(P)}}function f(x){x.done?a(x.value):function r(a){return a instanceof e?a:new e(function(o){o(a)})}(x.value).then(c,h)}f((n=n.apply(i,t||[])).next())})}(this,void 0,void 0,function(){var e,n;return function(i,t){var n,r,a,o,e={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(f){return function(x){return function h(f){if(n)throw new TypeError("Generator is already executing.");for(;e;)try{if(n=1,r&&(a=2&f[0]?r.return:f[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,f[1])).done)return a;switch(r=0,a&&(f=[2&f[0],a.value]),f[0]){case 0:case 1:a=f;break;case 4:return e.label++,{value:f[1],done:!1};case 5:e.label++,r=f[1],f=[0];continue;case 7:f=e.ops.pop(),e.trys.pop();continue;default:if(!(a=(a=e.trys).length>0&&a[a.length-1])&&(6===f[0]||2===f[0])){e=0;continue}if(3===f[0]&&(!a||f[1]>a[0]&&f[1]<a[3])){e.label=f[1];break}if(6===f[0]&&e.label<a[1]){e.label=a[1],a=f;break}if(a&&e.label<a[2]){e.label=a[2],e.ops.push(f);break}a[2]&&e.ops.pop(),e.trys.pop();continue}f=t.call(i,e)}catch(x){f=[6,x],r=0}finally{n=a=0}if(5&f[0])throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}([f,x])}}}(this,function(r){switch(r.label){case 0:return[4,this.detector.detect(t)];case 1:if(!(e=r.sent())||0===e.length)throw"No barcode or QR code detected.";return[2,{text:(n=this.selectLargestBarcode(e)).rawValue,format:VR.create(this.toHtml5QrcodeSupportedFormats(n.format)),debugData:this.createDebugData()}]}})})},i.prototype.selectLargestBarcode=function(t){for(var e=null,n=0,r=0,a=t;r<a.length;r++){var o=a[r],c=o.boundingBox.width*o.boundingBox.height;c>n&&(n=c,e=o)}if(!e)throw"No largest barcode found";return e},i.prototype.createBarcodeDetectorFormats=function(t){for(var e=[],n=0,r=t;n<r.length;n++){var a=r[n];this.formatMap.has(a)?e.push(this.formatMap.get(a)):this.logger.warn(a+" is not supported byBarcodeDetectorDelegate")}return{formats:e}},i.prototype.toHtml5QrcodeSupportedFormats=function(t){if(!this.reverseFormatMap.has(t))throw"reverseFormatMap doesn't have "+t;return this.reverseFormatMap.get(t)},i.prototype.createReverseFormatMap=function(){var t=new Map;return this.formatMap.forEach(function(e,n,r){t.set(e,n)}),t},i.prototype.createDebugData=function(){return{decoderName:"BarcodeDetector"}},i}(),$R=function(i,t,e,n){return new(e||(e=Promise))(function(a,o){function c(x){try{f(n.next(x))}catch(P){o(P)}}function h(x){try{f(n.throw(x))}catch(P){o(P)}}function f(x){x.done?a(x.value):function r(a){return a instanceof e?a:new e(function(o){o(a)})}(x.value).then(c,h)}f((n=n.apply(i,t||[])).next())})},KR=function(i,t){var n,r,a,o,e={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(f){return function(x){return function h(f){if(n)throw new TypeError("Generator is already executing.");for(;e;)try{if(n=1,r&&(a=2&f[0]?r.return:f[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,f[1])).done)return a;switch(r=0,a&&(f=[2&f[0],a.value]),f[0]){case 0:case 1:a=f;break;case 4:return e.label++,{value:f[1],done:!1};case 5:e.label++,r=f[1],f=[0];continue;case 7:f=e.ops.pop(),e.trys.pop();continue;default:if(!(a=(a=e.trys).length>0&&a[a.length-1])&&(6===f[0]||2===f[0])){e=0;continue}if(3===f[0]&&(!a||f[1]>a[0]&&f[1]<a[3])){e.label=f[1];break}if(6===f[0]&&e.label<a[1]){e.label=a[1],a=f;break}if(a&&e.label<a[2]){e.label=a[2],e.ops.push(f);break}a[2]&&e.ops.pop(),e.trys.pop();continue}f=t.call(i,e)}catch(x){f=[6,x],r=0}finally{n=a=0}if(5&f[0])throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}([f,x])}}},_fe=function(){function i(t,e,n,r){this.EXECUTIONS_TO_REPORT_PERFORMANCE=100,this.executions=0,this.executionResults=[],this.wasPrimaryDecoderUsedInLastDecode=!1,this.verbose=n,e&&qR.isSupported()?(this.primaryDecoder=new qR(t,n,r),this.secondaryDecoder=new GR(t,n,r)):this.primaryDecoder=new GR(t,n,r)}return i.prototype.decodeAsync=function(t){return $R(this,void 0,void 0,function(){var e;return KR(this,function(n){switch(n.label){case 0:e=performance.now(),n.label=1;case 1:return n.trys.push([1,,3,4]),[4,this.getDecoder().decodeAsync(t)];case 2:return[2,n.sent()];case 3:return this.possiblyLogPerformance(e),[7];case 4:return[2]}})})},i.prototype.decodeRobustlyAsync=function(t){return $R(this,void 0,void 0,function(){var e,n;return KR(this,function(r){switch(r.label){case 0:e=performance.now(),r.label=1;case 1:return r.trys.push([1,3,4,5]),[4,this.primaryDecoder.decodeAsync(t)];case 2:return[2,r.sent()];case 3:if(n=r.sent(),this.secondaryDecoder)return[2,this.secondaryDecoder.decodeAsync(t)];throw n;case 4:return this.possiblyLogPerformance(e),[7];case 5:return[2]}})})},i.prototype.getDecoder=function(){return this.secondaryDecoder?!1===this.wasPrimaryDecoderUsedInLastDecode?(this.wasPrimaryDecoderUsedInLastDecode=!0,this.primaryDecoder):(this.wasPrimaryDecoderUsedInLastDecode=!1,this.secondaryDecoder):this.primaryDecoder},i.prototype.possiblyLogPerformance=function(t){if(this.verbose){var e=performance.now()-t;this.executionResults.push(e),this.executions++,this.possiblyFlushPerformanceReport()}},i.prototype.possiblyFlushPerformanceReport=function(){if(!(this.executions<this.EXECUTIONS_TO_REPORT_PERFORMANCE)){for(var t=0,e=0,n=this.executionResults;e<n.length;e++)t+=n[e];console.log(t/this.executionResults.length+" ms for "+this.executionResults.length+" last runs."),this.executions=0,this.executionResults=[]}},i}(),bM=function(){var i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(n[a]=r[a])})(t,e)};return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}}(),uw=function(i,t,e,n){return new(e||(e=Promise))(function(a,o){function c(x){try{f(n.next(x))}catch(P){o(P)}}function h(x){try{f(n.throw(x))}catch(P){o(P)}}function f(x){x.done?a(x.value):function r(a){return a instanceof e?a:new e(function(o){o(a)})}(x.value).then(c,h)}f((n=n.apply(i,t||[])).next())})},hw=function(i,t){var n,r,a,o,e={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(f){return function(x){return function h(f){if(n)throw new TypeError("Generator is already executing.");for(;e;)try{if(n=1,r&&(a=2&f[0]?r.return:f[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,f[1])).done)return a;switch(r=0,a&&(f=[2&f[0],a.value]),f[0]){case 0:case 1:a=f;break;case 4:return e.label++,{value:f[1],done:!1};case 5:e.label++,r=f[1],f=[0];continue;case 7:f=e.ops.pop(),e.trys.pop();continue;default:if(!(a=(a=e.trys).length>0&&a[a.length-1])&&(6===f[0]||2===f[0])){e=0;continue}if(3===f[0]&&(!a||f[1]>a[0]&&f[1]<a[3])){e.label=f[1];break}if(6===f[0]&&e.label<a[1]){e.label=a[1],a=f;break}if(a&&e.label<a[2]){e.label=a[2],e.ops.push(f);break}a[2]&&e.ops.pop(),e.trys.pop();continue}f=t.call(i,e)}catch(x){f=[6,x],r=0}finally{n=a=0}if(5&f[0])throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}([f,x])}}},QR=function(){function i(t,e){this.name=t,this.track=e}return i.prototype.isSupported=function(){return!!this.track.getCapabilities&&this.name in this.track.getCapabilities()},i.prototype.apply=function(t){var e={};return e[this.name]=t,this.track.applyConstraints({advanced:[e]})},i.prototype.value=function(){var t=this.track.getSettings();return this.name in t?t[this.name]:null},i}(),bfe=function(i){function t(e,n){return i.call(this,e,n)||this}return bM(t,i),t.prototype.min=function(){return this.getCapabilities().min},t.prototype.max=function(){return this.getCapabilities().max},t.prototype.step=function(){return this.getCapabilities().step},t.prototype.apply=function(e){var n={};return n[this.name]=e,this.track.applyConstraints({advanced:[n]})},t.prototype.getCapabilities=function(){this.failIfNotSupported();var n=this.track.getCapabilities()[this.name];return{min:n.min,max:n.max,step:n.step}},t.prototype.failIfNotSupported=function(){if(!this.isSupported())throw new Error(this.name+" capability not supported")},t}(QR),yfe=function(i){function t(e){return i.call(this,"zoom",e)||this}return bM(t,i),t}(bfe),vfe=function(i){function t(e){return i.call(this,"torch",e)||this}return bM(t,i),t}(QR),wfe=function(){function i(t){this.track=t}return i.prototype.zoomFeature=function(){return new yfe(this.track)},i.prototype.torchFeature=function(){return new vfe(this.track)},i}(),Ffe=function(){function i(t,e,n){this.isClosed=!1,this.parentElement=t,this.mediaStream=e,this.callbacks=n,this.surface=this.createVideoElement(this.parentElement.clientWidth),t.append(this.surface)}return i.prototype.createVideoElement=function(t){var e=document.createElement("video");return e.style.width=t+"px",e.style.display="block",e.muted=!0,e.setAttribute("muted","true"),e.playsInline=!0,e},i.prototype.setupSurface=function(){var t=this;this.surface.onabort=function(){throw"RenderedCameraImpl video surface onabort() called"},this.surface.onerror=function(){throw"RenderedCameraImpl video surface onerror() called"};var e=function(){t.callbacks.onRenderSurfaceReady(t.surface.clientWidth,t.surface.clientHeight),t.surface.removeEventListener("playing",e)};this.surface.addEventListener("playing",e),this.surface.srcObject=this.mediaStream,this.surface.play()},i.create=function(t,e,n,r){return uw(this,void 0,void 0,function(){var a,o;return hw(this,function(c){switch(c.label){case 0:return a=new i(t,e,r),n.aspectRatio?(o={aspectRatio:n.aspectRatio},[4,a.getFirstTrackOrFail().applyConstraints(o)]):[3,2];case 1:c.sent(),c.label=2;case 2:return a.setupSurface(),[2,a]}})})},i.prototype.failIfClosed=function(){if(this.isClosed)throw"The RenderedCamera has already been closed."},i.prototype.getFirstTrackOrFail=function(){if(this.failIfClosed(),0===this.mediaStream.getVideoTracks().length)throw"No video tracks found";return this.mediaStream.getVideoTracks()[0]},i.prototype.pause=function(){this.failIfClosed(),this.surface.pause()},i.prototype.resume=function(t){this.failIfClosed();var e=this,n=function(){setTimeout(t,200),e.surface.removeEventListener("playing",n)};this.surface.addEventListener("playing",n),this.surface.play()},i.prototype.isPaused=function(){return this.failIfClosed(),this.surface.paused},i.prototype.getSurface=function(){return this.failIfClosed(),this.surface},i.prototype.getRunningTrackCapabilities=function(){return this.getFirstTrackOrFail().getCapabilities()},i.prototype.getRunningTrackSettings=function(){return this.getFirstTrackOrFail().getSettings()},i.prototype.applyVideoConstraints=function(t){return uw(this,void 0,void 0,function(){return hw(this,function(e){if("aspectRatio"in t)throw"Changing 'aspectRatio' in run-time is not yet supported.";return[2,this.getFirstTrackOrFail().applyConstraints(t)]})})},i.prototype.close=function(){if(this.isClosed)return Promise.resolve();var t=this;return new Promise(function(e,n){var a=t.mediaStream.getVideoTracks().length,o=0;t.mediaStream.getVideoTracks().forEach(function(c){t.mediaStream.removeTrack(c),c.stop(),++o>=a&&(t.isClosed=!0,t.parentElement.removeChild(t.surface),e())})})},i.prototype.getCapabilities=function(){return new wfe(this.getFirstTrackOrFail())},i}(),xfe=function(){function i(t){this.mediaStream=t}return i.prototype.render=function(t,e,n){return uw(this,void 0,void 0,function(){return hw(this,function(r){return[2,Ffe.create(t,this.mediaStream,e,n)]})})},i.create=function(t){return uw(this,void 0,void 0,function(){return hw(this,function(r){switch(r.label){case 0:if(!navigator.mediaDevices)throw"navigator.mediaDevices not supported";return[4,navigator.mediaDevices.getUserMedia({audio:!1,video:t})];case 1:return[2,new i(r.sent())]}})})},i}(),ZR=function(i,t,e,n){return new(e||(e=Promise))(function(a,o){function c(x){try{f(n.next(x))}catch(P){o(P)}}function h(x){try{f(n.throw(x))}catch(P){o(P)}}function f(x){x.done?a(x.value):function r(a){return a instanceof e?a:new e(function(o){o(a)})}(x.value).then(c,h)}f((n=n.apply(i,t||[])).next())})},XR=function(i,t){var n,r,a,o,e={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(f){return function(x){return function h(f){if(n)throw new TypeError("Generator is already executing.");for(;e;)try{if(n=1,r&&(a=2&f[0]?r.return:f[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,f[1])).done)return a;switch(r=0,a&&(f=[2&f[0],a.value]),f[0]){case 0:case 1:a=f;break;case 4:return e.label++,{value:f[1],done:!1};case 5:e.label++,r=f[1],f=[0];continue;case 7:f=e.ops.pop(),e.trys.pop();continue;default:if(!(a=(a=e.trys).length>0&&a[a.length-1])&&(6===f[0]||2===f[0])){e=0;continue}if(3===f[0]&&(!a||f[1]>a[0]&&f[1]<a[3])){e.label=f[1];break}if(6===f[0]&&e.label<a[1]){e.label=a[1],a=f;break}if(a&&e.label<a[2]){e.label=a[2],e.ops.push(f);break}a[2]&&e.ops.pop(),e.trys.pop();continue}f=t.call(i,e)}catch(x){f=[6,x],r=0}finally{n=a=0}if(5&f[0])throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}([f,x])}}},Cfe=function(){function i(){}return i.failIfNotSupported=function(){return ZR(this,void 0,void 0,function(){return XR(this,function(t){if(!navigator.mediaDevices)throw"navigator.mediaDevices not supported";return[2,new i]})})},i.prototype.create=function(t){return ZR(this,void 0,void 0,function(){return XR(this,function(e){return[2,xfe.create(t)]})})},i}(),Mfe=function(){function i(){}return i.retrieve=function(){if(navigator.mediaDevices)return i.getCamerasFromMediaDevices();var t=MediaStreamTrack;return MediaStreamTrack&&t.getSources?i.getCamerasFromMediaStreamTrack():i.rejectWithError()},i.rejectWithError=function(){var t=K0.unableToQuerySupportedDevices();return i.isHttpsOrLocalhost()||(t=K0.insecureContextCameraQueryError()),Promise.reject(t)},i.isHttpsOrLocalhost=function(){if("https:"===location.protocol)return!0;var t=location.host.split(":")[0];return"127.0.0.1"===t||"localhost"===t},i.getCamerasFromMediaDevices=function(){return function(i,t,e,n){return new(e||(e=Promise))(function(a,o){function c(x){try{f(n.next(x))}catch(P){o(P)}}function h(x){try{f(n.throw(x))}catch(P){o(P)}}function f(x){x.done?a(x.value):function r(a){return a instanceof e?a:new e(function(o){o(a)})}(x.value).then(c,h)}f((n=n.apply(i,t||[])).next())})}(this,void 0,void 0,function(){var t,e,n,r,a,o,c;return function(i,t){var n,r,a,o,e={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(f){return function(x){return function h(f){if(n)throw new TypeError("Generator is already executing.");for(;e;)try{if(n=1,r&&(a=2&f[0]?r.return:f[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,f[1])).done)return a;switch(r=0,a&&(f=[2&f[0],a.value]),f[0]){case 0:case 1:a=f;break;case 4:return e.label++,{value:f[1],done:!1};case 5:e.label++,r=f[1],f=[0];continue;case 7:f=e.ops.pop(),e.trys.pop();continue;default:if(!(a=(a=e.trys).length>0&&a[a.length-1])&&(6===f[0]||2===f[0])){e=0;continue}if(3===f[0]&&(!a||f[1]>a[0]&&f[1]<a[3])){e.label=f[1];break}if(6===f[0]&&e.label<a[1]){e.label=a[1],a=f;break}if(a&&e.label<a[2]){e.label=a[2],e.ops.push(f);break}a[2]&&e.ops.pop(),e.trys.pop();continue}f=t.call(i,e)}catch(x){f=[6,x],r=0}finally{n=a=0}if(5&f[0])throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}([f,x])}}}(this,function(h){switch(h.label){case 0:return t=function(f){for(var P=0,$=f.getVideoTracks();P<$.length;P++){var te=$[P];te.enabled=!1,te.stop(),f.removeTrack(te)}},[4,navigator.mediaDevices.getUserMedia({audio:!1,video:!0})];case 1:return e=h.sent(),[4,navigator.mediaDevices.enumerateDevices()];case 2:for(n=h.sent(),r=[],a=0,o=n;a<o.length;a++)"videoinput"===(c=o[a]).kind&&r.push({id:c.deviceId,label:c.label});return t(e),[2,r]}})})},i.getCamerasFromMediaStreamTrack=function(){return new Promise(function(t,e){MediaStreamTrack.getSources(function(a){for(var o=[],c=0,h=a;c<h.length;c++){var f=h[c];"video"===f.kind&&o.push({id:f.id,label:f.label})}t(o)})})},i}(),ha=(()=>(function(i){i[i.UNKNOWN=0]="UNKNOWN",i[i.NOT_STARTED=1]="NOT_STARTED",i[i.SCANNING=2]="SCANNING",i[i.PAUSED=3]="PAUSED"}(ha||(ha={})),ha))(),Efe=function(){function i(){this.state=ha.NOT_STARTED,this.onGoingTransactionNewState=ha.UNKNOWN}return i.prototype.directTransition=function(t){this.failIfTransitionOngoing(),this.validateTransition(t),this.state=t},i.prototype.startTransition=function(t){return this.failIfTransitionOngoing(),this.validateTransition(t),this.onGoingTransactionNewState=t,this},i.prototype.execute=function(){if(this.onGoingTransactionNewState===ha.UNKNOWN)throw"Transaction is already cancelled, cannot execute().";var t=this.onGoingTransactionNewState;this.onGoingTransactionNewState=ha.UNKNOWN,this.directTransition(t)},i.prototype.cancel=function(){if(this.onGoingTransactionNewState===ha.UNKNOWN)throw"Transaction is already cancelled, cannot cancel().";this.onGoingTransactionNewState=ha.UNKNOWN},i.prototype.getState=function(){return this.state},i.prototype.failIfTransitionOngoing=function(){if(this.onGoingTransactionNewState!==ha.UNKNOWN)throw"Cannot transition to a new state, already under transition"},i.prototype.validateTransition=function(t){switch(this.state){case ha.UNKNOWN:throw"Transition from unknown is not allowed";case ha.NOT_STARTED:this.failIfNewStateIs(t,[ha.PAUSED])}},i.prototype.failIfNewStateIs=function(t,e){for(var n=0,r=e;n<r.length;n++)if(t===r[n])throw"Cannot transition from "+this.state+" to "+t},i}(),Sfe=function(){function i(t){this.stateManager=t}return i.prototype.startTransition=function(t){return this.stateManager.startTransition(t)},i.prototype.directTransition=function(t){this.stateManager.directTransition(t)},i.prototype.getState=function(){return this.stateManager.getState()},i.prototype.canScanFile=function(){return this.stateManager.getState()===ha.NOT_STARTED},i.prototype.isScanning=function(){return this.stateManager.getState()!==ha.NOT_STARTED},i.prototype.isStrictlyScanning=function(){return this.stateManager.getState()===ha.SCANNING},i.prototype.isPaused=function(){return this.stateManager.getState()===ha.PAUSED},i}(),Tfe=function(){function i(){}return i.create=function(){return new Sfe(new Efe)},i}(),Afe=function(){var i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(n[a]=r[a])})(t,e)};return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}}(),el=function(i){function t(){return null!==i&&i.apply(this,arguments)||this}return Afe(t,i),t.DEFAULT_WIDTH=300,t.DEFAULT_WIDTH_OFFSET=2,t.FILE_SCAN_MIN_HEIGHT=300,t.FILE_SCAN_HIDDEN_CANVAS_PADDING=100,t.MIN_QR_BOX_SIZE=50,t.SHADED_LEFT=1,t.SHADED_RIGHT=2,t.SHADED_TOP=3,t.SHADED_BOTTOM=4,t.SHADED_REGION_ELEMENT_ID="qr-shaded-region",t.VERBOSE=!1,t.BORDER_SHADER_DEFAULT_COLOR="#ffffff",t.BORDER_SHADER_MATCH_COLOR="rgb(90, 193, 56)",t}(dc),Ife=function(){function i(t,e){this.logger=e,this.fps=el.SCAN_DEFAULT_FPS,t?(t.fps&&(this.fps=t.fps),this.disableFlip=!0===t.disableFlip,this.qrbox=t.qrbox,this.aspectRatio=t.aspectRatio,this.videoConstraints=t.videoConstraints):this.disableFlip=el.DEFAULT_DISABLE_FLIP}return i.prototype.isMediaStreamConstraintsValid=function(){return this.videoConstraints?WR.isMediaStreamConstraintsValid(this.videoConstraints,this.logger):(this.logger.logError("Empty videoConstraints",!0),!1)},i.prototype.isShadedBoxEnabled=function(){return!nd(this.qrbox)},i.create=function(t,e){return new i(t,e)},i}(),mw=function(){function i(t,e){if(this.element=null,this.canvasElement=null,this.scannerPausedUiElement=null,this.hasBorderShaders=null,this.borderShaders=null,this.qrMatch=null,this.renderedCamera=null,this.qrRegion=null,this.context=null,this.lastScanImageFile=null,this.isScanning=!1,!document.getElementById(t))throw"HTML Element with id="+t+" not found";var r;this.elementId=t,this.verbose=!1,"boolean"==typeof e?this.verbose=!0===e:e&&(this.verbose=!0===(r=e).verbose),this.logger=new zR(this.verbose),this.qrcode=new _fe(this.getSupportedFormats(e),this.getUseBarCodeDetectorIfSupported(r),this.verbose,this.logger),this.shouldScan=!0,this.stateManagerProxy=Tfe.create()}return i.prototype.start=function(t,e,n,r){var o,a=this;if(!t)throw"cameraIdOrConfig is required";if(!n||"function"!=typeof n)throw"qrCodeSuccessCallback is required and should be a function.";o=r||(this.verbose?this.logger.log:function(){});var c=Ife.create(e,this.logger);this.clearElement();var h=!1;c.videoConstraints&&(c.isMediaStreamConstraintsValid()?h=!0:this.logger.logError("'videoConstraints' is not valid 'MediaStreamConstraints, it will be ignored.'",!0));var f=h,x=document.getElementById(this.elementId);x.style.position="relative",this.shouldScan=!0,this.element=x;var $=this,te=this.stateManagerProxy.startTransition(ha.SCANNING);return new Promise(function(fe,ye){var Ie=f?c.videoConstraints:$.createVideoConstraints(t);if(!Ie)return te.cancel(),void ye("videoConstraints should be defined");var Le={};(!f||c.aspectRatio)&&(Le.aspectRatio=c.aspectRatio);var it={onRenderSurfaceReady:function(Be,ut){$.setupUi(Be,ut,c),$.isScanning=!0,$.foreverScan(c,n,o)}};Cfe.failIfNotSupported().then(function(Be){Be.create(Ie).then(function(ut){return ut.render(a.element,Le,it).then(function(Tt){$.renderedCamera=Tt,te.execute(),fe(null)}).catch(function(Tt){te.cancel(),ye(Tt)})}).catch(function(ut){te.cancel(),ye(K0.errorGettingUserMedia(ut))})}).catch(function(Be){te.cancel(),ye(K0.cameraStreamingNotSupported())})})},i.prototype.pause=function(t){if(!this.stateManagerProxy.isStrictlyScanning())throw"Cannot pause, scanner is not scanning.";this.stateManagerProxy.directTransition(ha.PAUSED),this.showPausedState(),(nd(t)||!0!==t)&&(t=!1),t&&this.renderedCamera&&this.renderedCamera.pause()},i.prototype.resume=function(){if(!this.stateManagerProxy.isPaused())throw"Cannot result, scanner is not paused.";if(!this.renderedCamera)throw"renderedCamera doesn't exist while trying resume()";var t=this,e=function(){t.stateManagerProxy.directTransition(ha.SCANNING),t.hidePausedState()};this.renderedCamera.isPaused()?this.renderedCamera.resume(function(){e()}):e()},i.prototype.getState=function(){return this.stateManagerProxy.getState()},i.prototype.stop=function(){var t=this;if(!this.stateManagerProxy.isScanning())throw"Cannot stop, scanner is not running or paused.";var e=this.stateManagerProxy.startTransition(ha.NOT_STARTED);this.shouldScan=!1,this.foreverScanTimeout&&clearTimeout(this.foreverScanTimeout);var r=this;return this.renderedCamera.close().then(function(){return r.renderedCamera=null,r.element&&(r.element.removeChild(r.canvasElement),r.canvasElement=null),function(){if(t.element){var a=document.getElementById(el.SHADED_REGION_ELEMENT_ID);a&&t.element.removeChild(a)}}(),r.qrRegion&&(r.qrRegion=null),r.context&&(r.context=null),e.execute(),r.hidePausedState(),r.isScanning=!1,Promise.resolve()})},i.prototype.scanFile=function(t,e){return this.scanFileV2(t,e).then(function(n){return n.decodedText})},i.prototype.scanFileV2=function(t,e){var n=this;if(!(t&&t instanceof File))throw"imageFile argument is mandatory and should be instance of File. Use 'event.target.files[0]'.";if(nd(e)&&(e=!0),!this.stateManagerProxy.canScanFile())throw"Cannot start file scan - ongoing camera scan";return new Promise(function(r,a){n.possiblyCloseLastScanImageFile(),n.clearElement(),n.lastScanImageFile=URL.createObjectURL(t);var o=new Image;o.onload=function(){var c=o.width,h=o.height,f=document.getElementById(n.elementId),x=f.clientWidth?f.clientWidth:el.DEFAULT_WIDTH,P=Math.max(f.clientHeight?f.clientHeight:h,el.FILE_SCAN_MIN_HEIGHT),$=n.computeCanvasDrawConfig(c,h,x,P);if(e){var te=n.createCanvasElement(x,P,"qr-canvas-visible");te.style.display="inline-block",f.appendChild(te);var fe=te.getContext("2d");if(!fe)throw"Unable to get 2d context from canvas";fe.canvas.width=x,fe.canvas.height=P,fe.drawImage(o,0,0,c,h,$.x,$.y,$.width,$.height)}var ye=el.FILE_SCAN_HIDDEN_CANVAS_PADDING,Ie=Math.max(o.width,$.width),Le=Math.max(o.height,$.height),it=Ie+2*ye,Be=Le+2*ye,ut=n.createCanvasElement(it,Be);f.appendChild(ut);var Tt=ut.getContext("2d");if(!Tt)throw"Unable to get 2d context from canvas";Tt.canvas.width=it,Tt.canvas.height=Be,Tt.drawImage(o,0,0,c,h,ye,ye,Ie,Le);try{n.qrcode.decodeRobustlyAsync(ut).then(function(qt){r(YR.createFromQrcodeResult(qt))}).catch(a)}catch(qt){a("QR code parse error, error = "+qt)}},o.onerror=a,o.onabort=a,o.onstalled=a,o.onsuspend=a,o.src=URL.createObjectURL(t)})},i.prototype.clear=function(){this.clearElement()},i.getCameras=function(){return Mfe.retrieve()},i.prototype.getRunningTrackCapabilities=function(){return this.getRenderedCameraOrFail().getRunningTrackCapabilities()},i.prototype.getRunningTrackSettings=function(){return this.getRenderedCameraOrFail().getRunningTrackSettings()},i.prototype.getRunningTrackCameraCapabilities=function(){return this.getRenderedCameraOrFail().getCapabilities()},i.prototype.applyVideoConstraints=function(t){if(!t)throw"videoConstaints is required argument.";if(!WR.isMediaStreamConstraintsValid(t,this.logger))throw"invalid videoConstaints passed, check logs for more details";return this.getRenderedCameraOrFail().applyVideoConstraints(t)},i.prototype.getRenderedCameraOrFail=function(){if(null==this.renderedCamera)throw"Scanning is not in running state, call this API only when QR code scanning using camera is in running state.";return this.renderedCamera},i.prototype.getSupportedFormats=function(t){if(!t||"boolean"==typeof t||!t.formatsToSupport)return[si.QR_CODE,si.AZTEC,si.CODABAR,si.CODE_39,si.CODE_93,si.CODE_128,si.DATA_MATRIX,si.MAXICODE,si.ITF,si.EAN_13,si.EAN_8,si.PDF_417,si.RSS_14,si.RSS_EXPANDED,si.UPC_A,si.UPC_E,si.UPC_EAN_EXTENSION];if(!Array.isArray(t.formatsToSupport))throw"configOrVerbosityFlag.formatsToSupport should be undefined or an array.";if(0===t.formatsToSupport.length)throw"Atleast 1 formatsToSupport is needed.";for(var n=[],r=0,a=t.formatsToSupport;r<a.length;r++){var o=a[r];mfe(o)?n.push(o):this.logger.warn("Invalid format: "+o+" passed in config, ignoring.")}if(0===n.length)throw"None of formatsToSupport match supported values.";return n},i.prototype.getUseBarCodeDetectorIfSupported=function(t){if(nd(t))return!0;if(!nd(t.useBarCodeDetectorIfSupported))return!1!==t.useBarCodeDetectorIfSupported;if(nd(t.experimentalFeatures))return!0;var e=t.experimentalFeatures;return!!nd(e.useBarCodeDetectorIfSupported)||!1!==e.useBarCodeDetectorIfSupported},i.prototype.validateQrboxSize=function(t,e,n){var a=n.qrbox;this.validateQrboxConfig(a);var f,o=this.toQrdimensions(t,e,a),c=function(f){if(f<el.MIN_QR_BOX_SIZE)throw"minimum size of 'config.qrbox' dimension value is "+el.MIN_QR_BOX_SIZE+"px."};c(o.width),c(o.height),o.width=((f=o.width)>t&&(this.logger.warn("`qrbox.width` or `qrbox` is larger than the width of the root element. The width will be truncated to the width of root element."),f=t),f)},i.prototype.validateQrboxConfig=function(t){if("number"!=typeof t&&"function"!=typeof t&&(void 0===t.width||void 0===t.height))throw"Invalid instance of QrDimensions passed for 'config.qrbox'. Both 'width' and 'height' should be set."},i.prototype.toQrdimensions=function(t,e,n){if("number"==typeof n)return{width:n,height:n};if("function"==typeof n)try{return n(t,e)}catch(r){throw new Error("qrbox config was passed as a function but it failed with unknown error"+r)}return n},i.prototype.setupUi=function(t,e,n){n.isShadedBoxEnabled()&&this.validateQrboxSize(t,e,n);var r=nd(n.qrbox)?{width:t,height:e}:n.qrbox;this.validateQrboxConfig(r);var a=this.toQrdimensions(t,e,r);a.height>e&&this.logger.warn("[Html5Qrcode] config.qrbox has height that isgreater than the height of the video stream. Shading will be ignored");var o=n.isShadedBoxEnabled()&&a.height<=e,c={x:0,y:0,width:t,height:e},h=o?this.getShadedRegionBounds(t,e,a):c,f=this.createCanvasElement(h.width,h.height),P=f.getContext("2d",{willReadFrequently:!0});P.canvas.width=h.width,P.canvas.height=h.height,this.element.append(f),o&&this.possiblyInsertShadingElement(this.element,t,e,a),this.createScannerPausedUiElement(this.element),this.qrRegion=h,this.context=P,this.canvasElement=f},i.prototype.createScannerPausedUiElement=function(t){var e=document.createElement("div");e.innerText="Scanner paused",e.style.display="none",e.style.position="absolute",e.style.top="0px",e.style.zIndex="1",e.style.background="yellow",e.style.textAlign="center",e.style.width="100%",t.appendChild(e),this.scannerPausedUiElement=e},i.prototype.scanContext=function(t,e){var n=this;return this.stateManagerProxy.isPaused()?Promise.resolve(!1):this.qrcode.decodeAsync(this.canvasElement).then(function(r){return t(r.text,YR.createFromQrcodeResult(r)),n.possiblyUpdateShaders(!0),!0}).catch(function(r){n.possiblyUpdateShaders(!1);var a=K0.codeParseError(r);return e(a,jR.createFrom(a)),!1})},i.prototype.foreverScan=function(t,e,n){var r=this;if(this.shouldScan&&this.renderedCamera){var a=this.renderedCamera.getSurface(),o=a.videoWidth/a.clientWidth,c=a.videoHeight/a.clientHeight;if(!this.qrRegion)throw"qrRegion undefined when localMediaStream is ready.";this.context.drawImage(a,this.qrRegion.x*o,this.qrRegion.y*c,this.qrRegion.width*o,this.qrRegion.height*c,0,0,this.qrRegion.width,this.qrRegion.height);var $=function(){r.foreverScanTimeout=setTimeout(function(){r.foreverScan(t,e,n)},r.getTimeoutFps(t.fps))};this.scanContext(e,n).then(function(te){te||!0===t.disableFlip?$():(r.context.translate(r.context.canvas.width,0),r.context.scale(-1,1),r.scanContext(e,n).finally(function(){$()}))}).catch(function(te){r.logger.logError("Error happend while scanning context",te),$()})}},i.prototype.createVideoConstraints=function(t){if("string"==typeof t)return{deviceId:{exact:t}};if("object"==typeof t){var e="facingMode",n="deviceId",r={user:!0,environment:!0},a="exact",o=function(fe){if(fe in r)return!0;throw"config has invalid 'facingMode' value = '"+fe+"'"},c=Object.keys(t);if(1!==c.length)throw"'cameraIdOrConfig' object should have exactly 1 key, if passed as an object, found "+c.length+" keys";var h=Object.keys(t)[0];if(h!==e&&h!==n)throw"Only '"+e+"' and '"+n+"' are supported for 'cameraIdOrConfig'";if(h!==e){var P=t.deviceId;if("string"==typeof P)return{deviceId:P};if("object"==typeof P){if(a in P)return{deviceId:{exact:P[""+a]}};throw"'deviceId' should be string or object with exact as key."}throw"Invalid type of 'deviceId' = "+typeof P}var f=t.facingMode;if("string"==typeof f){if(o(f))return{facingMode:f}}else{if("object"!=typeof f)throw"Invalid type of 'facingMode' = "+typeof f;if(!(a in f))throw"'facingMode' should be string or object with exact as key.";if(o(f[""+a]))return{facingMode:{exact:f[""+a]}}}}throw"Invalid type of 'cameraIdOrConfig' = "+typeof t},i.prototype.computeCanvasDrawConfig=function(t,e,n,r){if(t<=n&&e<=r)return{x:(n-t)/2,y:(r-e)/2,width:t,height:e};var c=t,h=e;return t>n&&(e*=n/t,t=n),e>r&&(t*=r/e,e=r),this.logger.log("Image downsampled from "+c+"X"+h+" to "+t+"X"+e+"."),this.computeCanvasDrawConfig(t,e,n,r)},i.prototype.clearElement=function(){if(this.stateManagerProxy.isScanning())throw"Cannot clear while scan is ongoing, close it first.";var t=document.getElementById(this.elementId);t&&(t.innerHTML="")},i.prototype.possiblyUpdateShaders=function(t){this.qrMatch!==t&&(this.hasBorderShaders&&this.borderShaders&&this.borderShaders.length&&this.borderShaders.forEach(function(e){e.style.backgroundColor=t?el.BORDER_SHADER_MATCH_COLOR:el.BORDER_SHADER_DEFAULT_COLOR}),this.qrMatch=t)},i.prototype.possiblyCloseLastScanImageFile=function(){this.lastScanImageFile&&(URL.revokeObjectURL(this.lastScanImageFile),this.lastScanImageFile=null)},i.prototype.createCanvasElement=function(t,e,n){var r=t,a=e,o=document.createElement("canvas");return o.style.width=r+"px",o.style.height=a+"px",o.style.display="none",o.id=nd(n)?"qr-canvas":n,o},i.prototype.getShadedRegionBounds=function(t,e,n){if(n.width>t||n.height>e)throw"'config.qrbox' dimensions should not be greater than the dimensions of the root HTML element.";return{x:(t-n.width)/2,y:(e-n.height)/2,width:n.width,height:n.height}},i.prototype.possiblyInsertShadingElement=function(t,e,n,r){if(!(e-r.width<1||n-r.height<1)){var a=document.createElement("div");a.style.position="absolute";var o=(e-r.width)/2,c=(n-r.height)/2;if(a.style.borderLeft=o+"px solid rgba(0, 0, 0, 0.48)",a.style.borderRight=o+"px solid rgba(0, 0, 0, 0.48)",a.style.borderTop=c+"px solid rgba(0, 0, 0, 0.48)",a.style.borderBottom=c+"px solid rgba(0, 0, 0, 0.48)",a.style.boxSizing="border-box",a.style.top="0px",a.style.bottom="0px",a.style.left="0px",a.style.right="0px",a.id=""+el.SHADED_REGION_ELEMENT_ID,e-r.width<11||n-r.height<11)this.hasBorderShaders=!1;else{this.insertShaderBorders(a,40,5,-5,null,0,!0),this.insertShaderBorders(a,40,5,-5,null,0,!1),this.insertShaderBorders(a,40,5,null,-5,0,!0),this.insertShaderBorders(a,40,5,null,-5,0,!1),this.insertShaderBorders(a,5,45,-5,null,-5,!0),this.insertShaderBorders(a,5,45,null,-5,-5,!0),this.insertShaderBorders(a,5,45,-5,null,-5,!1),this.insertShaderBorders(a,5,45,null,-5,-5,!1),this.hasBorderShaders=!0}t.append(a)}},i.prototype.insertShaderBorders=function(t,e,n,r,a,o,c){var h=document.createElement("div");h.style.position="absolute",h.style.backgroundColor=el.BORDER_SHADER_DEFAULT_COLOR,h.style.width=e+"px",h.style.height=n+"px",null!==r&&(h.style.top=r+"px"),null!==a&&(h.style.bottom=a+"px"),c?h.style.left=o+"px":h.style.right=o+"px",this.borderShaders||(this.borderShaders=[]),this.borderShaders.push(h),t.appendChild(h)},i.prototype.showPausedState=function(){if(!this.scannerPausedUiElement)throw"[internal error] scanner paused UI element not found";this.scannerPausedUiElement.style.display="block"},i.prototype.hidePausedState=function(){if(!this.scannerPausedUiElement)throw"[internal error] scanner paused UI element not found";this.scannerPausedUiElement.style.display="none"},i.prototype.getTimeoutFps=function(t){return 1e3/t},i}(),yM="data:image/svg+xml;base64,",Lfe=yM+"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNzEuNjQzIDM3MS42NDMiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDM3MS42NDMgMzcxLjY0MyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZD0iTTEwNS4wODQgMzguMjcxaDE2My43Njh2MjBIMTA1LjA4NHoiLz48cGF0aCBkPSJNMzExLjU5NiAxOTAuMTg5Yy03LjQ0MS05LjM0Ny0xOC40MDMtMTYuMjA2LTMyLjc0My0yMC41MjJWMzBjMC0xNi41NDItMTMuNDU4LTMwLTMwLTMwSDEyNS4wODRjLTE2LjU0MiAwLTMwIDEzLjQ1OC0zMCAzMHYxMjAuMTQzaC04LjI5NmMtMTYuNTQyIDAtMzAgMTMuNDU4LTMwIDMwdjEuMzMzYTI5LjgwNCAyOS44MDQgMCAwIDAgNC42MDMgMTUuOTM5Yy03LjM0IDUuNDc0LTEyLjEwMyAxNC4yMjEtMTIuMTAzIDI0LjA2MXYxLjMzM2MwIDkuODQgNC43NjMgMTguNTg3IDEyLjEwMyAyNC4wNjJhMjkuODEgMjkuODEgMCAwIDAtNC42MDMgMTUuOTM4djEuMzMzYzAgMTYuNTQyIDEzLjQ1OCAzMCAzMCAzMGg4LjMyNGMuNDI3IDExLjYzMSA3LjUwMyAyMS41ODcgMTcuNTM0IDI2LjE3Ny45MzEgMTAuNTAzIDQuMDg0IDMwLjE4NyAxNC43NjggNDUuNTM3YTkuOTg4IDkuOTg4IDAgMCAwIDguMjE2IDQuMjg4IDkuOTU4IDkuOTU4IDAgMCAwIDUuNzA0LTEuNzkzYzQuNTMzLTMuMTU1IDUuNjUtOS4zODggMi40OTUtMTMuOTIxLTYuNzk4LTkuNzY3LTkuNjAyLTIyLjYwOC0xMC43Ni0zMS40aDgyLjY4NWMuMjcyLjQxNC41NDUuODE4LjgxNSAxLjIxIDMuMTQyIDQuNTQxIDkuMzcyIDUuNjc5IDEzLjkxMyAyLjUzNCA0LjU0Mi0zLjE0MiA1LjY3Ny05LjM3MSAyLjUzNS0xMy45MTMtMTEuOTE5LTE3LjIyOS04Ljc4Ny0zNS44ODQgOS41ODEtNTcuMDEyIDMuMDY3LTIuNjUyIDEyLjMwNy0xMS43MzIgMTEuMjE3LTI0LjAzMy0uODI4LTkuMzQzLTcuMTA5LTE3LjE5NC0xOC42NjktMjMuMzM3YTkuODU3IDkuODU3IDAgMCAwLTEuMDYxLS40ODZjLS40NjYtLjE4Mi0xMS40MDMtNC41NzktOS43NDEtMTUuNzA2IDEuMDA3LTYuNzM3IDE0Ljc2OC04LjI3MyAyMy43NjYtNy42NjYgMjMuMTU2IDEuNTY5IDM5LjY5OCA3LjgwMyA0Ny44MzYgMTguMDI2IDUuNzUyIDcuMjI1IDcuNjA3IDE2LjYyMyA1LjY3MyAyOC43MzMtLjQxMyAyLjU4NS0uODI0IDUuMjQxLTEuMjQ1IDcuOTU5LTUuNzU2IDM3LjE5NC0xMi45MTkgODMuNDgzLTQ5Ljg3IDExNC42NjEtNC4yMjEgMy41NjEtNC43NTYgOS44Ny0xLjE5NCAxNC4wOTJhOS45OCA5Ljk4IDAgMCAwIDcuNjQ4IDMuNTUxIDkuOTU1IDkuOTU1IDAgMCAwIDYuNDQ0LTIuMzU4YzQyLjY3Mi0zNi4wMDUgNTAuODAyLTg4LjUzMyA1Ni43MzctMTI2Ljg4OC40MTUtMi42ODQuODIxLTUuMzA5IDEuMjI5LTcuODYzIDIuODM0LTE3LjcyMS0uNDU1LTMyLjY0MS05Ljc3Mi00NC4zNDV6bS0yMzIuMzA4IDQyLjYyYy01LjUxNCAwLTEwLTQuNDg2LTEwLTEwdi0xLjMzM2MwLTUuNTE0IDQuNDg2LTEwIDEwLTEwaDE1djIxLjMzM2gtMTV6bS0yLjUtNTIuNjY2YzAtNS41MTQgNC40ODYtMTAgMTAtMTBoNy41djIxLjMzM2gtNy41Yy01LjUxNCAwLTEwLTQuNDg2LTEwLTEwdi0xLjMzM3ptMTcuNSA5My45OTloLTcuNWMtNS41MTQgMC0xMC00LjQ4Ni0xMC0xMHYtMS4zMzNjMC01LjUxNCA0LjQ4Ni0xMCAxMC0xMGg3LjV2MjEuMzMzem0zMC43OTYgMjguODg3Yy01LjUxNCAwLTEwLTQuNDg2LTEwLTEwdi04LjI3MWg5MS40NTdjLS44NTEgNi42NjgtLjQzNyAxMi43ODcuNzMxIDE4LjI3MWgtODIuMTg4em03OS40ODItMTEzLjY5OGMtMy4xMjQgMjAuOTA2IDEyLjQyNyAzMy4xODQgMjEuNjI1IDM3LjA0IDUuNDQxIDIuOTY4IDcuNTUxIDUuNjQ3IDcuNzAxIDcuMTg4LjIxIDIuMTUtMi41NTMgNS42ODQtNC40NzcgNy4yNTEtLjQ4Mi4zNzgtLjkyOS44LTEuMzM1IDEuMjYxLTYuOTg3IDcuOTM2LTExLjk4MiAxNS41Mi0xNS40MzIgMjIuNjg4aC05Ny41NjRWMzBjMC01LjUxNCA0LjQ4Ni0xMCAxMC0xMGgxMjMuNzY5YzUuNTE0IDAgMTAgNC40ODYgMTAgMTB2MTM1LjU3OWMtMy4wMzItLjM4MS02LjE1LS42OTQtOS4zODktLjkxNC0yNS4xNTktMS42OTQtNDIuMzcgNy43NDgtNDQuODk4IDI0LjY2NnoiLz48cGF0aCBkPSJNMTc5LjEyOSA4My4xNjdoLTI0LjA2YTUgNSAwIDAgMC01IDV2MjQuMDYxYTUgNSAwIDAgMCA1IDVoMjQuMDZhNSA1IDAgMCAwIDUtNVY4OC4xNjdhNSA1IDAgMCAwLTUtNXpNMTcyLjYyOSAxNDIuODZoLTEyLjU2VjEzMC44YTUgNSAwIDEgMC0xMCAwdjE3LjA2MWE1IDUgMCAwIDAgNSA1aDE3LjU2YTUgNSAwIDEgMCAwLTEwLjAwMXpNMjE2LjU2OCA4My4xNjdoLTI0LjA2YTUgNSAwIDAgMC01IDV2MjQuMDYxYTUgNSAwIDAgMCA1IDVoMjQuMDZhNSA1IDAgMCAwIDUtNVY4OC4xNjdhNSA1IDAgMCAwLTUtNXptLTUgMjQuMDYxaC0xNC4wNlY5My4xNjdoMTQuMDZ2MTQuMDYxek0yMTEuNjY5IDEyNS45MzZIMTk3LjQxYTUgNSAwIDAgMC01IDV2MTQuMjU3YTUgNSAwIDAgMCA1IDVoMTQuMjU5YTUgNSAwIDAgMCA1LTV2LTE0LjI1N2E1IDUgMCAwIDAtNS01eiIvPjwvc3ZnPg==",Nfe=yM+"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1OS4wMTggNTkuMDE4IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1OS4wMTggNTkuMDE4IiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBkPSJtNTguNzQxIDU0LjgwOS01Ljk2OS02LjI0NGExMC43NCAxMC43NCAwIDAgMCAyLjgyLTcuMjVjMC01Ljk1My00Ljg0My0xMC43OTYtMTAuNzk2LTEwLjc5NlMzNCAzNS4zNjEgMzQgNDEuMzE0IDM4Ljg0MyA1Mi4xMSA0NC43OTYgNTIuMTFjMi40NDEgMCA0LjY4OC0uODI0IDYuNDk5LTIuMTk2bDYuMDAxIDYuMjc3YS45OTguOTk4IDAgMCAwIDEuNDE0LjAzMiAxIDEgMCAwIDAgLjAzMS0xLjQxNHpNMzYgNDEuMzE0YzAtNC44NSAzLjk0Ni04Ljc5NiA4Ljc5Ni04Ljc5NnM4Ljc5NiAzLjk0NiA4Ljc5NiA4Ljc5Ni0zLjk0NiA4Ljc5Ni04Ljc5NiA4Ljc5NlMzNiA0Ni4xNjQgMzYgNDEuMzE0ek0xMC40MzEgMTYuMDg4YzAgMy4wNyAyLjQ5OCA1LjU2OCA1LjU2OSA1LjU2OHM1LjU2OS0yLjQ5OCA1LjU2OS01LjU2OGMwLTMuMDcxLTIuNDk4LTUuNTY5LTUuNTY5LTUuNTY5cy01LjU2OSAyLjQ5OC01LjU2OSA1LjU2OXptOS4xMzggMGMwIDEuOTY4LTEuNjAyIDMuNTY4LTMuNTY5IDMuNTY4cy0zLjU2OS0xLjYwMS0zLjU2OS0zLjU2OCAxLjYwMi0zLjU2OSAzLjU2OS0zLjU2OSAzLjU2OSAxLjYwMSAzLjU2OSAzLjU2OXoiLz48cGF0aCBkPSJtMzAuODgyIDI4Ljk4NyA5LjE4LTEwLjA1NCAxMS4yNjIgMTAuMzIzYTEgMSAwIDAgMCAxLjM1MS0xLjQ3NWwtMTItMTFhMSAxIDAgMCAwLTEuNDE0LjA2M2wtOS43OTQgMTAuNzI3LTQuNzQzLTQuNzQzYTEuMDAzIDEuMDAzIDAgMCAwLTEuMzY4LS4wNDRMNi4zMzkgMzcuNzY4YTEgMSAwIDEgMCAxLjMyMiAxLjUwMWwxNi4zMTMtMTQuMzYyIDcuMzE5IDcuMzE4YS45OTkuOTk5IDAgMSAwIDEuNDE0LTEuNDE0bC0xLjgyNS0xLjgyNHoiLz48cGF0aCBkPSJNMzAgNDYuNTE4SDJ2LTQyaDU0djI4YTEgMSAwIDEgMCAyIDB2LTI5YTEgMSAwIDAgMC0xLTFIMWExIDEgMCAwIDAtMSAxdjQ0YTEgMSAwIDAgMCAxIDFoMjlhMSAxIDAgMSAwIDAtMnoiLz48L3N2Zz4=",JR=yM+"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NjAgNDYwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0NjAgNDYwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBkPSJNMjMwIDBDMTAyLjk3NSAwIDAgMTAyLjk3NSAwIDIzMHMxMDIuOTc1IDIzMCAyMzAgMjMwIDIzMC0xMDIuOTc0IDIzMC0yMzBTMzU3LjAyNSAwIDIzMCAwem0zOC4zMzMgMzc3LjM2YzAgOC42NzYtNy4wMzQgMTUuNzEtMTUuNzEgMTUuNzFoLTQzLjEwMWMtOC42NzYgMC0xNS43MS03LjAzNC0xNS43MS0xNS43MVYyMDIuNDc3YzAtOC42NzYgNy4wMzMtMTUuNzEgMTUuNzEtMTUuNzFoNDMuMTAxYzguNjc2IDAgMTUuNzEgNy4wMzMgMTUuNzEgMTUuNzFWMzc3LjM2ek0yMzAgMTU3Yy0yMS41MzkgMC0zOS0xNy40NjEtMzktMzlzMTcuNDYxLTM5IDM5LTM5IDM5IDE3LjQ2MSAzOSAzOS0xNy40NjEgMzktMzkgMzl6Ii8+PC9zdmc+",eP=function(){function i(){}return i.createDefault=function(){return{hasPermission:!1,lastUsedCameraId:null}},i}(),Rfe=function(){function i(){this.data=eP.createDefault();var t=localStorage.getItem(i.LOCAL_STORAGE_KEY);t?this.data=JSON.parse(t):this.reset()}return i.prototype.hasCameraPermissions=function(){return this.data.hasPermission},i.prototype.getLastUsedCameraId=function(){return this.data.lastUsedCameraId},i.prototype.setHasPermission=function(t){this.data.hasPermission=t,this.flush()},i.prototype.setLastUsedCameraId=function(t){this.data.lastUsedCameraId=t,this.flush()},i.prototype.resetLastUsedCameraId=function(){this.data.lastUsedCameraId=null,this.flush()},i.prototype.reset=function(){this.data=eP.createDefault(),this.flush()},i.prototype.flush=function(){localStorage.setItem(i.LOCAL_STORAGE_KEY,JSON.stringify(this.data))},i.LOCAL_STORAGE_KEY="HTML5_QRCODE_DATA",i}(),Pfe=function(){function i(){this.infoDiv=document.createElement("div")}return i.prototype.renderInto=function(t){this.infoDiv.style.position="absolute",this.infoDiv.style.top="10px",this.infoDiv.style.right="10px",this.infoDiv.style.zIndex="2",this.infoDiv.style.display="none",this.infoDiv.style.padding="5pt",this.infoDiv.style.border="1px solid #171717",this.infoDiv.style.fontSize="10pt",this.infoDiv.style.background="rgb(0 0 0 / 69%)",this.infoDiv.style.borderRadius="5px",this.infoDiv.style.textAlign="center",this.infoDiv.style.fontWeight="400",this.infoDiv.style.color="white",this.infoDiv.innerText=UR.poweredBy();var e=document.createElement("a");e.innerText="ScanApp",e.href="https://scanapp.org",e.target="new",e.style.color="white",this.infoDiv.appendChild(e);var n=document.createElement("br"),r=document.createElement("br");this.infoDiv.appendChild(n),this.infoDiv.appendChild(r);var a=document.createElement("a");a.innerText=UR.reportIssues(),a.href="https://github.com/mebjas/html5-qrcode/issues",a.target="new",a.style.color="white",this.infoDiv.appendChild(a),t.appendChild(this.infoDiv)},i.prototype.show=function(){this.infoDiv.style.display="block"},i.prototype.hide=function(){this.infoDiv.style.display="none"},i}(),Bfe=function(){function i(t,e){this.isShowingInfoIcon=!0,this.onTapIn=t,this.onTapOut=e,this.infoIcon=document.createElement("img")}return i.prototype.renderInto=function(t){var e=this;this.infoIcon.alt="Info icon",this.infoIcon.src=JR,this.infoIcon.style.position="absolute",this.infoIcon.style.top="4px",this.infoIcon.style.right="4px",this.infoIcon.style.opacity="0.6",this.infoIcon.style.cursor="pointer",this.infoIcon.style.zIndex="2",this.infoIcon.style.width="16px",this.infoIcon.style.height="16px",this.infoIcon.onmouseover=function(n){return e.onHoverIn()},this.infoIcon.onmouseout=function(n){return e.onHoverOut()},this.infoIcon.onclick=function(n){return e.onClick()},t.appendChild(this.infoIcon)},i.prototype.onHoverIn=function(){this.isShowingInfoIcon&&(this.infoIcon.style.opacity="1")},i.prototype.onHoverOut=function(){this.isShowingInfoIcon&&(this.infoIcon.style.opacity="0.6")},i.prototype.onClick=function(){this.isShowingInfoIcon?(this.isShowingInfoIcon=!1,this.onTapIn(),this.infoIcon.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAQgAAAEIBarqQRAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAE1SURBVDiNfdI7S0NBEAXgLya1otFgpbYSbISAgpXYi6CmiH9KCAiChaVga6OiWPgfRDQ+0itaGVNosXtluWwcuMzePfM4M3sq8lbHBubwg1dc4m1E/J/N4ghDPOIsfk/4xiEao5KX0McFljN4C9d4QTPXuY99jP3DsIoDPGM6BY5i5yI5R7O4q+ImFkJY2DCh3cAH2klyB+9J1xUMMAG7eCh1a+Mr+k48b5diXrFVwwLuS+BJ9MfR7+G0FHOHhTHhnXNWS87VDF4pcnfQK4Ep7XScNLmPTZgURNKKYENYWDpzW1BhscS1WHS8CDgURFJQrWcoF3c13KKbgg1BYQfy8xZWEzTTw1QZbAoKu8FqJnktdu5hcVSHmchiILzzuaDQvjBzV2m8yohCE1jHfPx/xhU+y4G/D75ELlRJsSYAAAAASUVORK5CYII=",this.infoIcon.style.opacity="1"):(this.isShowingInfoIcon=!0,this.onTapOut(),this.infoIcon.src=JR,this.infoIcon.style.opacity="0.6")},i}(),Hfe=function(){function i(){var t=this;this.infoDiv=new Pfe,this.infoIcon=new Bfe(function(){t.infoDiv.show()},function(){t.infoDiv.hide()})}return i.prototype.renderInto=function(t){this.infoDiv.renderInto(t),this.infoIcon.renderInto(t)},i}(),tP=function(){function i(){}return i.hasPermissions=function(){return function(i,t,e,n){return new(e||(e=Promise))(function(a,o){function c(x){try{f(n.next(x))}catch(P){o(P)}}function h(x){try{f(n.throw(x))}catch(P){o(P)}}function f(x){x.done?a(x.value):function r(a){return a instanceof e?a:new e(function(o){o(a)})}(x.value).then(c,h)}f((n=n.apply(i,t||[])).next())})}(this,void 0,void 0,function(){var t,e,n,r;return function(i,t){var n,r,a,o,e={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(f){return function(x){return function h(f){if(n)throw new TypeError("Generator is already executing.");for(;e;)try{if(n=1,r&&(a=2&f[0]?r.return:f[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,f[1])).done)return a;switch(r=0,a&&(f=[2&f[0],a.value]),f[0]){case 0:case 1:a=f;break;case 4:return e.label++,{value:f[1],done:!1};case 5:e.label++,r=f[1],f=[0];continue;case 7:f=e.ops.pop(),e.trys.pop();continue;default:if(!(a=(a=e.trys).length>0&&a[a.length-1])&&(6===f[0]||2===f[0])){e=0;continue}if(3===f[0]&&(!a||f[1]>a[0]&&f[1]<a[3])){e.label=f[1];break}if(6===f[0]&&e.label<a[1]){e.label=a[1],a=f;break}if(a&&e.label<a[2]){e.label=a[2],e.ops.push(f);break}a[2]&&e.ops.pop(),e.trys.pop();continue}f=t.call(i,e)}catch(x){f=[6,x],r=0}finally{n=a=0}if(5&f[0])throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}([f,x])}}}(this,function(a){switch(a.label){case 0:return[4,navigator.mediaDevices.enumerateDevices()];case 1:for(t=a.sent(),e=0,n=t;e<n.length;e++)if("videoinput"===(r=n[e]).kind&&r.label)return[2,!0];return[2,!1]}})})},i}(),sh=function(){function i(t){this.supportedScanTypes=this.validateAndReturnScanTypes(t)}return i.prototype.getDefaultScanType=function(){return this.supportedScanTypes[0]},i.prototype.hasMoreThanOneScanType=function(){return this.supportedScanTypes.length>1},i.prototype.isCameraScanRequired=function(){for(var t=0,e=this.supportedScanTypes;t<e.length;t++)if(i.isCameraScanType(e[t]))return!0;return!1},i.isCameraScanType=function(t){return t===ru.SCAN_TYPE_CAMERA},i.isFileScanType=function(t){return t===ru.SCAN_TYPE_FILE},i.prototype.validateAndReturnScanTypes=function(t){if(!t||0===t.length)return dc.DEFAULT_SUPPORTED_SCAN_TYPE;var e=dc.DEFAULT_SUPPORTED_SCAN_TYPE.length;if(t.length>e)throw"Max "+e+" values expected for supportedScanTypes";for(var n=0,r=t;n<r.length;n++){var a=r[n];if(!dc.DEFAULT_SUPPORTED_SCAN_TYPE.includes(a))throw"Unsupported scan type "+a}return t},i}(),tl=function(){function i(){}return i.ALL_ELEMENT_CLASS="html5-qrcode-element",i.CAMERA_PERMISSION_BUTTON_ID="html5-qrcode-button-camera-permission",i.CAMERA_START_BUTTON_ID="html5-qrcode-button-camera-start",i.CAMERA_STOP_BUTTON_ID="html5-qrcode-button-camera-stop",i.TORCH_BUTTON_ID="html5-qrcode-button-torch",i.CAMERA_SELECTION_SELECT_ID="html5-qrcode-select-camera",i.FILE_SELECTION_BUTTON_ID="html5-qrcode-button-file-selection",i.ZOOM_SLIDER_ID="html5-qrcode-input-range-zoom",i.SCAN_TYPE_CHANGE_ANCHOR_ID="html5-qrcode-anchor-scan-type-change",i.TORCH_BUTTON_CLASS_TORCH_ON="html5-qrcode-button-torch-on",i.TORCH_BUTTON_CLASS_TORCH_OFF="html5-qrcode-button-torch-off",i}(),au=function(){function i(){}return i.createElement=function(t,e){var n=document.createElement(t);return n.id=e,n.classList.add(tl.ALL_ELEMENT_CLASS),"button"===t&&n.setAttribute("type","button"),n},i}(),iP=function(i,t,e,n){return new(e||(e=Promise))(function(a,o){function c(x){try{f(n.next(x))}catch(P){o(P)}}function h(x){try{f(n.throw(x))}catch(P){o(P)}}function f(x){x.done?a(x.value):function r(a){return a instanceof e?a:new e(function(o){o(a)})}(x.value).then(c,h)}f((n=n.apply(i,t||[])).next())})},nP=function(i,t){var n,r,a,o,e={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(f){return function(x){return function h(f){if(n)throw new TypeError("Generator is already executing.");for(;e;)try{if(n=1,r&&(a=2&f[0]?r.return:f[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,f[1])).done)return a;switch(r=0,a&&(f=[2&f[0],a.value]),f[0]){case 0:case 1:a=f;break;case 4:return e.label++,{value:f[1],done:!1};case 5:e.label++,r=f[1],f=[0];continue;case 7:f=e.ops.pop(),e.trys.pop();continue;default:if(!(a=(a=e.trys).length>0&&a[a.length-1])&&(6===f[0]||2===f[0])){e=0;continue}if(3===f[0]&&(!a||f[1]>a[0]&&f[1]<a[3])){e.label=f[1];break}if(6===f[0]&&e.label<a[1]){e.label=a[1],a=f;break}if(a&&e.label<a[2]){e.label=a[2],e.ops.push(f);break}a[2]&&e.ops.pop(),e.trys.pop();continue}f=t.call(i,e)}catch(x){f=[6,x],r=0}finally{n=a=0}if(5&f[0])throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}([f,x])}}},rP=function(){function i(t,e,n){this.isTorchOn=!1,this.torchCapability=t,this.buttonController=e,this.onTorchActionFailureCallback=n}return i.prototype.isTorchEnabled=function(){return this.isTorchOn},i.prototype.flipState=function(){return iP(this,void 0,void 0,function(){var t,e;return nP(this,function(n){switch(n.label){case 0:this.buttonController.disable(),t=!this.isTorchOn,n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.torchCapability.apply(t)];case 2:return n.sent(),this.updateUiBasedOnLatestSettings(this.torchCapability.value(),t),[3,4];case 3:return e=n.sent(),this.propagateFailure(t,e),this.buttonController.enable(),[3,4];case 4:return[2]}})})},i.prototype.updateUiBasedOnLatestSettings=function(t,e){t===e?(this.buttonController.setText(e?Tr.torchOffButton():Tr.torchOnButton()),this.isTorchOn=e):this.propagateFailure(e),this.buttonController.enable()},i.prototype.propagateFailure=function(t,e){var n=t?Tr.torchOnFailedMessage():Tr.torchOffFailedMessage();e&&(n+="; Error = "+e),this.onTorchActionFailureCallback(n)},i.prototype.reset=function(){this.isTorchOn=!1},i}(),jfe=function(){function i(t,e){this.onTorchActionFailureCallback=e,this.torchButton=au.createElement("button",tl.TORCH_BUTTON_ID),this.torchController=new rP(t,this,e)}return i.prototype.render=function(t,e){var n=this;this.torchButton.innerText=Tr.torchOnButton(),this.torchButton.style.display=e.display,this.torchButton.style.marginLeft=e.marginLeft;var r=this;this.torchButton.addEventListener("click",function(a){return iP(n,void 0,void 0,function(){return nP(this,function(o){switch(o.label){case 0:return[4,r.torchController.flipState()];case 1:return o.sent(),r.torchController.isTorchEnabled()?(r.torchButton.classList.remove(tl.TORCH_BUTTON_CLASS_TORCH_OFF),r.torchButton.classList.add(tl.TORCH_BUTTON_CLASS_TORCH_ON)):(r.torchButton.classList.remove(tl.TORCH_BUTTON_CLASS_TORCH_ON),r.torchButton.classList.add(tl.TORCH_BUTTON_CLASS_TORCH_OFF)),[2]}})})}),t.appendChild(this.torchButton)},i.prototype.updateTorchCapability=function(t){this.torchController=new rP(t,this,this.onTorchActionFailureCallback)},i.prototype.getTorchButton=function(){return this.torchButton},i.prototype.hide=function(){this.torchButton.style.display="none"},i.prototype.show=function(){this.torchButton.style.display="inline-block"},i.prototype.disable=function(){this.torchButton.disabled=!0},i.prototype.enable=function(){this.torchButton.disabled=!1},i.prototype.setText=function(t){this.torchButton.innerText=t},i.prototype.reset=function(){this.torchButton.innerText=Tr.torchOnButton(),this.torchController.reset()},i.create=function(t,e,n,r){var a=new i(e,r);return a.render(t,n),a},i}(),zfe=function(){function i(t,e,n){this.fileBasedScanRegion=this.createFileBasedScanRegion(),this.fileBasedScanRegion.style.display=e?"block":"none",t.appendChild(this.fileBasedScanRegion);var r=document.createElement("label");r.setAttribute("for",this.getFileScanInputId()),r.style.display="inline-block",this.fileBasedScanRegion.appendChild(r),this.fileSelectionButton=au.createElement("button",tl.FILE_SELECTION_BUTTON_ID),this.setInitialValueToButton(),this.fileSelectionButton.addEventListener("click",function(c){r.click()}),r.append(this.fileSelectionButton),this.fileScanInput=au.createElement("input",this.getFileScanInputId()),this.fileScanInput.type="file",this.fileScanInput.accept="image/*",this.fileScanInput.style.display="none",r.appendChild(this.fileScanInput);var a=this;this.fileScanInput.addEventListener("change",function(c){if(null!=c&&null!=c.target){var h=c.target;if(!h.files||0!==h.files.length){var x=h.files[0];a.setImageNameToButton(x.name),n(x)}}});var o=this.createDragAndDropMessage();this.fileBasedScanRegion.appendChild(o),this.fileBasedScanRegion.addEventListener("dragenter",function(c){a.fileBasedScanRegion.style.border=a.fileBasedScanRegionActiveBorder(),c.stopPropagation(),c.preventDefault()}),this.fileBasedScanRegion.addEventListener("dragleave",function(c){a.fileBasedScanRegion.style.border=a.fileBasedScanRegionDefaultBorder(),c.stopPropagation(),c.preventDefault()}),this.fileBasedScanRegion.addEventListener("dragover",function(c){a.fileBasedScanRegion.style.border=a.fileBasedScanRegionActiveBorder(),c.stopPropagation(),c.preventDefault()}),this.fileBasedScanRegion.addEventListener("drop",function(c){c.stopPropagation(),c.preventDefault(),a.fileBasedScanRegion.style.border=a.fileBasedScanRegionDefaultBorder();var h=c.dataTransfer;if(h){var f=h.files;if(!f||0===f.length)return;for(var x=!1,P=0;P<f.length;++P){var $=f.item(P);if($&&$.type.match(/image.*/)){x=!0,a.setImageNameToButton($.name),n($),o.innerText=Tr.dragAndDropMessage();break}}x||(o.innerText=Tr.dragAndDropMessageOnlyImages())}})}return i.prototype.hide=function(){this.fileBasedScanRegion.style.display="none",this.fileScanInput.disabled=!0},i.prototype.show=function(){this.fileBasedScanRegion.style.display="block",this.fileScanInput.disabled=!1},i.prototype.isShowing=function(){return"block"===this.fileBasedScanRegion.style.display},i.prototype.resetValue=function(){this.fileScanInput.value="",this.setInitialValueToButton()},i.prototype.createFileBasedScanRegion=function(){var t=document.createElement("div");return t.style.textAlign="center",t.style.margin="auto",t.style.width="80%",t.style.maxWidth="600px",t.style.border=this.fileBasedScanRegionDefaultBorder(),t.style.padding="10px",t.style.marginBottom="10px",t},i.prototype.fileBasedScanRegionDefaultBorder=function(){return"6px dashed #ebebeb"},i.prototype.fileBasedScanRegionActiveBorder=function(){return"6px dashed rgb(153 151 151)"},i.prototype.createDragAndDropMessage=function(){var t=document.createElement("div");return t.innerText=Tr.dragAndDropMessage(),t.style.fontWeight="400",t},i.prototype.setImageNameToButton=function(t){if(t.length>20){var n=t.substring(0,8),r=t.length,a=t.substring(r-8,r);t=n+"...."+a}var o=Tr.fileSelectionChooseAnother()+" - "+t;this.fileSelectionButton.innerText=o},i.prototype.setInitialValueToButton=function(){var t=Tr.fileSelectionChooseImage()+" - "+Tr.fileSelectionNoImageSelected();this.fileSelectionButton.innerText=t},i.prototype.getFileScanInputId=function(){return"html5-qrcode-private-filescan-input"},i.create=function(t,e,n){return new i(t,e,n)},i}(),Ufe=function(){function i(t){this.selectElement=au.createElement("select",tl.CAMERA_SELECTION_SELECT_ID),this.cameras=t,this.options=[]}return i.prototype.render=function(t){var e=document.createElement("span");e.style.marginRight="10px";var n=this.cameras.length;if(0===n)throw new Error("No cameras found");if(1===n)e.style.display="none";else{var r=Tr.selectCamera();e.innerText=r+" ("+this.cameras.length+") "}for(var a=1,o=0,c=this.cameras;o<c.length;o++){var h=c[o],f=h.id,x=null==h.label?f:h.label;(!x||""===x)&&(x=[Tr.anonymousCameraPrefix(),a++].join(" "));var P=document.createElement("option");P.value=f,P.innerText=x,this.options.push(P),this.selectElement.appendChild(P)}e.appendChild(this.selectElement),t.appendChild(e)},i.prototype.disable=function(){this.selectElement.disabled=!0},i.prototype.isDisabled=function(){return!0===this.selectElement.disabled},i.prototype.enable=function(){this.selectElement.disabled=!1},i.prototype.getValue=function(){return this.selectElement.value},i.prototype.hasValue=function(t){for(var e=0,n=this.options;e<n.length;e++)if(n[e].value===t)return!0;return!1},i.prototype.setValue=function(t){if(!this.hasValue(t))throw new Error(t+" is not present in the camera list.");this.selectElement.value=t},i.prototype.hasSingleItem=function(){return 1===this.cameras.length},i.prototype.numCameras=function(){return this.cameras.length},i.create=function(t,e){var n=new i(e);return n.render(t),n},i}(),Wfe=function(){function i(){this.onChangeCallback=null,this.zoomElementContainer=document.createElement("div"),this.rangeInput=au.createElement("input",tl.ZOOM_SLIDER_ID),this.rangeInput.type="range",this.rangeText=document.createElement("span"),this.rangeInput.min="1",this.rangeInput.max="5",this.rangeInput.value="1",this.rangeInput.step="0.1"}return i.prototype.render=function(t,e){this.zoomElementContainer.style.display=e?"block":"none",this.zoomElementContainer.style.padding="5px 10px",this.zoomElementContainer.style.textAlign="center",t.appendChild(this.zoomElementContainer),this.rangeInput.style.display="inline-block",this.rangeInput.style.width="50%",this.rangeInput.style.height="5px",this.rangeInput.style.background="#d3d3d3",this.rangeInput.style.outline="none",this.rangeInput.style.opacity="0.7";var n=Tr.zoom();this.rangeText.innerText=this.rangeInput.value+"x "+n,this.rangeText.style.marginRight="10px";var r=this;this.rangeInput.addEventListener("input",function(){return r.onValueChange()}),this.rangeInput.addEventListener("change",function(){return r.onValueChange()}),this.zoomElementContainer.appendChild(this.rangeInput),this.zoomElementContainer.appendChild(this.rangeText)},i.prototype.onValueChange=function(){var t=Tr.zoom();this.rangeText.innerText=this.rangeInput.value+"x "+t,this.onChangeCallback&&this.onChangeCallback(parseFloat(this.rangeInput.value))},i.prototype.setValues=function(t,e,n,r){this.rangeInput.min=t.toString(),this.rangeInput.max=e.toString(),this.rangeInput.step=r.toString(),this.rangeInput.value=n.toString(),this.onValueChange()},i.prototype.show=function(){this.zoomElementContainer.style.display="block"},i.prototype.hide=function(){this.zoomElementContainer.style.display="none"},i.prototype.setOnCameraZoomValueChangeCallback=function(t){this.onChangeCallback=t},i.prototype.removeOnCameraZoomValueChangeCallback=function(){this.onChangeCallback=null},i.create=function(t,e){var n=new i;return n.render(t,e),n},i}(),Ls=(()=>(function(i){i[i.STATUS_DEFAULT=0]="STATUS_DEFAULT",i[i.STATUS_SUCCESS=1]="STATUS_SUCCESS",i[i.STATUS_WARNING=2]="STATUS_WARNING",i[i.STATUS_REQUESTING_PERMISSION=3]="STATUS_REQUESTING_PERMISSION"}(Ls||(Ls={})),Ls))();function $fe(i,t){if(1&i&&(_(0,"div",4),N(1),F()),2&i){const e=Q();E(1),yt(e.error)}}!function(){function i(t,e,n){if(this.lastMatchFound=null,this.cameraScanImage=null,this.fileScanImage=null,this.fileSelectionUi=null,this.elementId=t,this.config=this.createConfig(e),this.verbose=!0===n,!document.getElementById(t))throw"HTML Element with id="+t+" not found";this.scanTypeSelector=new sh(this.config.supportedScanTypes),this.currentScanType=this.scanTypeSelector.getDefaultScanType(),this.sectionSwapAllowed=!0,this.logger=new zR(this.verbose),this.persistedDataManager=new Rfe,!0!==e.rememberLastUsedCamera&&this.persistedDataManager.reset()}i.prototype.render=function(t,e){var n=this;this.lastMatchFound=null,this.qrCodeSuccessCallback=function(a,o){if(t)t(a,o);else{if(n.lastMatchFound===a)return;n.lastMatchFound=a,n.setHeaderMessage(Tr.lastMatch(a),Ls.STATUS_SUCCESS)}},this.qrCodeErrorCallback=function(a,o){e&&e(a,o)};var r=document.getElementById(this.elementId);if(!r)throw"HTML Element with id="+this.elementId+" not found";r.innerHTML="",this.createBasicLayout(r),this.html5Qrcode=new mw(this.getScanRegionId(),function qfe(i,t){return{formatsToSupport:i.formatsToSupport,useBarCodeDetectorIfSupported:i.useBarCodeDetectorIfSupported,experimentalFeatures:i.experimentalFeatures,verbose:t}}(this.config,this.verbose))},i.prototype.pause=function(t){(nd(t)||!0!==t)&&(t=!1),this.getHtml5QrcodeOrFail().pause(t)},i.prototype.resume=function(){this.getHtml5QrcodeOrFail().resume()},i.prototype.getState=function(){return this.getHtml5QrcodeOrFail().getState()},i.prototype.clear=function(){var t=this,e=function(){var n=document.getElementById(t.elementId);n&&(n.innerHTML="",t.resetBasicLayout(n))};return this.html5Qrcode?new Promise(function(n,r){t.html5Qrcode?t.html5Qrcode.isScanning?t.html5Qrcode.stop().then(function(a){t.html5Qrcode?(t.html5Qrcode.clear(),e(),n()):n()}).catch(function(a){t.verbose&&t.logger.logError("Unable to stop qrcode scanner",a),r(a)}):(t.html5Qrcode.clear(),e(),n()):n()}):Promise.resolve()},i.prototype.getRunningTrackCapabilities=function(){return this.getHtml5QrcodeOrFail().getRunningTrackCapabilities()},i.prototype.getRunningTrackSettings=function(){return this.getHtml5QrcodeOrFail().getRunningTrackSettings()},i.prototype.applyVideoConstraints=function(t){return this.getHtml5QrcodeOrFail().applyVideoConstraints(t)},i.prototype.getHtml5QrcodeOrFail=function(){if(!this.html5Qrcode)throw"Code scanner not initialized.";return this.html5Qrcode},i.prototype.createConfig=function(t){return t?(t.fps||(t.fps=dc.SCAN_DEFAULT_FPS),t.rememberLastUsedCamera!==!dc.DEFAULT_REMEMBER_LAST_CAMERA_USED&&(t.rememberLastUsedCamera=dc.DEFAULT_REMEMBER_LAST_CAMERA_USED),t.supportedScanTypes||(t.supportedScanTypes=dc.DEFAULT_SUPPORTED_SCAN_TYPE),t):{fps:dc.SCAN_DEFAULT_FPS,rememberLastUsedCamera:dc.DEFAULT_REMEMBER_LAST_CAMERA_USED,supportedScanTypes:dc.DEFAULT_SUPPORTED_SCAN_TYPE}},i.prototype.createBasicLayout=function(t){t.style.position="relative",t.style.padding="0px",t.style.border="1px solid silver",this.createHeader(t);var e=document.createElement("div"),n=this.getScanRegionId();e.id=n,e.style.width="100%",e.style.minHeight="100px",e.style.textAlign="center",t.appendChild(e),sh.isCameraScanType(this.currentScanType)?this.insertCameraScanImageToScanRegion():this.insertFileScanImageToScanRegion();var r=document.createElement("div"),a=this.getDashboardId();r.id=a,r.style.width="100%",t.appendChild(r),this.setupInitialDashboard(r)},i.prototype.resetBasicLayout=function(t){t.style.border="none"},i.prototype.setupInitialDashboard=function(t){this.createSection(t),this.createSectionControlPanel(),this.scanTypeSelector.hasMoreThanOneScanType()&&this.createSectionSwap()},i.prototype.createHeader=function(t){var e=document.createElement("div");e.style.textAlign="left",e.style.margin="0px",t.appendChild(e),(new Hfe).renderInto(e);var r=document.createElement("div");r.id=this.getHeaderMessageContainerId(),r.style.display="none",r.style.textAlign="center",r.style.fontSize="14px",r.style.padding="2px 10px",r.style.margin="4px",r.style.borderTop="1px solid #f6f6f6",e.appendChild(r)},i.prototype.createSection=function(t){var e=document.createElement("div");e.id=this.getDashboardSectionId(),e.style.width="100%",e.style.padding="10px 0px 10px 0px",e.style.textAlign="left",t.appendChild(e)},i.prototype.createCameraListUi=function(t,e,n){var r=this;r.showHideScanTypeSwapLink(!1),r.setHeaderMessage(Tr.cameraPermissionRequesting());var a=function(){n||r.createPermissionButton(t,e)};mw.getCameras().then(function(o){r.persistedDataManager.setHasPermission(!0),r.showHideScanTypeSwapLink(!0),r.resetHeaderMessage(),o&&o.length>0?(t.removeChild(e),r.renderCameraSelection(o)):(r.setHeaderMessage(Tr.noCameraFound(),Ls.STATUS_WARNING),a())}).catch(function(o){r.persistedDataManager.setHasPermission(!1),n?n.disabled=!1:a(),r.setHeaderMessage(o,Ls.STATUS_WARNING),r.showHideScanTypeSwapLink(!0)})},i.prototype.createPermissionButton=function(t,e){var n=this,r=au.createElement("button",this.getCameraPermissionButtonId());r.innerText=Tr.cameraPermissionTitle(),r.addEventListener("click",function(){r.disabled=!0,n.createCameraListUi(t,e,r)}),e.appendChild(r)},i.prototype.createPermissionsUi=function(t,e){var n=this;sh.isCameraScanType(this.currentScanType)&&this.persistedDataManager.hasCameraPermissions()?tP.hasPermissions().then(function(r){r?n.createCameraListUi(t,e):(n.persistedDataManager.setHasPermission(!1),n.createPermissionButton(t,e))}).catch(function(r){n.persistedDataManager.setHasPermission(!1),n.createPermissionButton(t,e)}):this.createPermissionButton(t,e)},i.prototype.createSectionControlPanel=function(){var e=document.getElementById(this.getDashboardSectionId()),n=document.createElement("div");e.appendChild(n);var r=document.createElement("div");r.id=this.getDashboardSectionCameraScanRegionId(),r.style.display=sh.isCameraScanType(this.currentScanType)?"block":"none",n.appendChild(r);var a=document.createElement("div");a.style.textAlign="center",r.appendChild(a),this.scanTypeSelector.isCameraScanRequired()&&this.createPermissionsUi(r,a),this.renderFileScanUi(n)},i.prototype.renderFileScanUi=function(t){var e=sh.isFileScanType(this.currentScanType),n=this;this.fileSelectionUi=zfe.create(t,e,function(a){if(!n.html5Qrcode)throw"html5Qrcode not defined";sh.isFileScanType(n.currentScanType)&&(n.setHeaderMessage(Tr.loadingImage()),n.html5Qrcode.scanFileV2(a,!0).then(function(o){n.resetHeaderMessage(),n.qrCodeSuccessCallback(o.decodedText,o)}).catch(function(o){n.setHeaderMessage(o,Ls.STATUS_WARNING),n.qrCodeErrorCallback(o,jR.createFrom(o))}))})},i.prototype.renderCameraSelection=function(t){var e=this,n=this,r=document.getElementById(this.getDashboardSectionCameraScanRegionId());r.style.textAlign="center";var a=Wfe.create(r,!1),c=Ufe.create(r,t),h=document.createElement("span"),f=au.createElement("button",tl.CAMERA_START_BUTTON_ID);f.innerText=Tr.scanButtonStartScanningText(),h.appendChild(f);var P,x=au.createElement("button",tl.CAMERA_STOP_BUTTON_ID);x.innerText=Tr.scanButtonStopScanningText(),x.style.display="none",x.disabled=!0,h.appendChild(x),r.appendChild(h);var te=function(ye){ye||(f.style.display="none"),f.innerText=Tr.scanButtonStartScanningText(),f.style.opacity="1",f.disabled=!1,ye&&(f.style.display="inline-block")};if(f.addEventListener("click",function(ye){f.innerText=Tr.scanButtonScanningStarting(),c.disable(),f.disabled=!0,f.style.opacity="0.5",e.scanTypeSelector.hasMoreThanOneScanType()&&n.showHideScanTypeSwapLink(!1),n.resetHeaderMessage();var Ie=c.getValue();n.persistedDataManager.setLastUsedCameraId(Ie),n.html5Qrcode.start(Ie,function Gfe(i){return{fps:i.fps,qrbox:i.qrbox,aspectRatio:i.aspectRatio,disableFlip:i.disableFlip,videoConstraints:i.videoConstraints}}(n.config),n.qrCodeSuccessCallback,n.qrCodeErrorCallback).then(function(Le){x.disabled=!1,x.style.display="inline-block",te(!1);var it=n.html5Qrcode.getRunningTrackCameraCapabilities();!0===e.config.showTorchButtonIfSupported&&function(ye){ye.torchFeature().isSupported()?(P?P.updateTorchCapability(ye.torchFeature()):P=jfe.create(h,ye.torchFeature(),{display:"none",marginLeft:"5px"},function(Ie){n.setHeaderMessage(Ie,Ls.STATUS_WARNING)}),P.show()):P&&P.hide()}(it),!0===e.config.showZoomSliderIfSupported&&function(ye){var Ie=ye.zoomFeature();if(Ie.isSupported()){a.setOnCameraZoomValueChangeCallback(function(it){Ie.apply(it)});var Le=1;e.config.defaultZoomValueIfSupported&&(Le=e.config.defaultZoomValueIfSupported),Le=function ffe(i,t,e){return i>e?e:i<t?t:i}(Le,Ie.min(),Ie.max()),a.setValues(Ie.min(),Ie.max(),Le,Ie.step()),a.show()}}(it)}).catch(function(Le){n.showHideScanTypeSwapLink(!0),c.enable(),te(!0),n.setHeaderMessage(Le,Ls.STATUS_WARNING)})}),c.hasSingleItem()&&f.click(),x.addEventListener("click",function(ye){if(!n.html5Qrcode)throw"html5Qrcode not defined";x.disabled=!0,n.html5Qrcode.stop().then(function(Ie){e.scanTypeSelector.hasMoreThanOneScanType()&&n.showHideScanTypeSwapLink(!0),c.enable(),f.disabled=!1,x.style.display="none",f.style.display="inline-block",P&&(P.reset(),P.hide()),a.removeOnCameraZoomValueChangeCallback(),a.hide(),n.insertCameraScanImageToScanRegion()}).catch(function(Ie){x.disabled=!1,n.setHeaderMessage(Ie,Ls.STATUS_WARNING)})}),n.persistedDataManager.getLastUsedCameraId()){var fe=n.persistedDataManager.getLastUsedCameraId();c.hasValue(fe)?(c.setValue(fe),f.click()):n.persistedDataManager.resetLastUsedCameraId()}},i.prototype.createSectionSwap=function(){var t=this,e=Tr.textIfCameraScanSelected(),n=Tr.textIfFileScanSelected(),r=document.getElementById(this.getDashboardSectionId()),a=document.createElement("div");a.style.textAlign="center";var o=au.createElement("span",this.getDashboardSectionSwapLinkId());o.style.textDecoration="underline",o.style.cursor="pointer",o.innerText=sh.isCameraScanType(this.currentScanType)?e:n,o.addEventListener("click",function(){t.sectionSwapAllowed?(t.resetHeaderMessage(),t.fileSelectionUi.resetValue(),t.sectionSwapAllowed=!1,sh.isCameraScanType(t.currentScanType)?(t.clearScanRegion(),t.getCameraScanRegion().style.display="none",t.fileSelectionUi.show(),o.innerText=n,t.currentScanType=ru.SCAN_TYPE_FILE,t.insertFileScanImageToScanRegion()):(t.clearScanRegion(),t.getCameraScanRegion().style.display="block",t.fileSelectionUi.hide(),o.innerText=e,t.currentScanType=ru.SCAN_TYPE_CAMERA,t.insertCameraScanImageToScanRegion(),t.startCameraScanIfPermissionExistsOnSwap()),t.sectionSwapAllowed=!0):t.verbose&&t.logger.logError("Section swap called when not allowed")}),a.appendChild(o),r.appendChild(a)},i.prototype.startCameraScanIfPermissionExistsOnSwap=function(){var t=this,e=this;this.persistedDataManager.hasCameraPermissions()&&tP.hasPermissions().then(function(n){if(n){var r=document.getElementById(e.getCameraPermissionButtonId());if(!r)throw t.logger.logError("Permission button not found, fail;"),"Permission button not found";r.click()}else e.persistedDataManager.setHasPermission(!1)}).catch(function(n){e.persistedDataManager.setHasPermission(!1)})},i.prototype.resetHeaderMessage=function(){document.getElementById(this.getHeaderMessageContainerId()).style.display="none"},i.prototype.setHeaderMessage=function(t,e){e||(e=Ls.STATUS_DEFAULT);var n=this.getHeaderMessageDiv();switch(n.innerText=t,n.style.display="block",e){case Ls.STATUS_SUCCESS:n.style.background="rgba(106, 175, 80, 0.26)",n.style.color="#477735";break;case Ls.STATUS_WARNING:n.style.background="rgba(203, 36, 49, 0.14)",n.style.color="#cb2431";break;default:n.style.background="rgba(0, 0, 0, 0)",n.style.color="rgb(17, 17, 17)"}},i.prototype.showHideScanTypeSwapLink=function(t){this.scanTypeSelector.hasMoreThanOneScanType()&&(!0!==t&&(t=!1),this.sectionSwapAllowed=t,this.getDashboardSectionSwapLink().style.display=t?"inline-block":"none")},i.prototype.insertCameraScanImageToScanRegion=function(){var t=this,e=document.getElementById(this.getScanRegionId());if(this.cameraScanImage)return e.innerHTML="<br>",void e.appendChild(this.cameraScanImage);this.cameraScanImage=new Image,this.cameraScanImage.onload=function(n){e.innerHTML="<br>",e.appendChild(t.cameraScanImage)},this.cameraScanImage.width=64,this.cameraScanImage.style.opacity="0.8",this.cameraScanImage.src=Lfe,this.cameraScanImage.alt=Tr.cameraScanAltText()},i.prototype.insertFileScanImageToScanRegion=function(){var t=this,e=document.getElementById(this.getScanRegionId());if(this.fileScanImage)return e.innerHTML="<br>",void e.appendChild(this.fileScanImage);this.fileScanImage=new Image,this.fileScanImage.onload=function(n){e.innerHTML="<br>",e.appendChild(t.fileScanImage)},this.fileScanImage.width=64,this.fileScanImage.style.opacity="0.8",this.fileScanImage.src=Nfe,this.fileScanImage.alt=Tr.fileScanAltText()},i.prototype.clearScanRegion=function(){document.getElementById(this.getScanRegionId()).innerHTML=""},i.prototype.getDashboardSectionId=function(){return this.elementId+"__dashboard_section"},i.prototype.getDashboardSectionCameraScanRegionId=function(){return this.elementId+"__dashboard_section_csr"},i.prototype.getDashboardSectionSwapLinkId=function(){return tl.SCAN_TYPE_CHANGE_ANCHOR_ID},i.prototype.getScanRegionId=function(){return this.elementId+"__scan_region"},i.prototype.getDashboardId=function(){return this.elementId+"__dashboard"},i.prototype.getHeaderMessageContainerId=function(){return this.elementId+"__header_message"},i.prototype.getCameraPermissionButtonId=function(){return tl.CAMERA_PERMISSION_BUTTON_ID},i.prototype.getCameraScanRegion=function(){return document.getElementById(this.getDashboardSectionCameraScanRegionId())},i.prototype.getDashboardSectionSwapLink=function(){return document.getElementById(this.getDashboardSectionSwapLinkId())},i.prototype.getHeaderMessageDiv=function(){return document.getElementById(this.getHeaderMessageContainerId())}}();class Q0{constructor(t,e,n){this.options=t,this.dialogRef=e,this.data=n,this.cameras=[],this.cameraIndex=-1,this.dialogRef.afterClosed().subscribe(()=>{this.html5QrCode&&this.html5QrCode.stop()})}ngOnInit(){var t=this;return Se(function*(){t.config={fps:10,formatsToSupport:[si.QR_CODE]},t.html5QrCode=new mw("reader",t.config),yield t.requestCameras(),t.cameras.length>0&&(t.cameraIndex=t.options.values.cameraId?t.cameras.findIndex(e=>e.id==t.options.values.cameraId):t.cameras.length-1,yield t.startCamera(t.cameras[t.cameraIndex].id))})()}toggleFlash(){}openFile(){}requestCameras(){var t=this;return Se(function*(){try{t.cameras=yield mw.getCameras()}catch{t.error="Unable To Get Cameras"}})()}startCamera(t){var e=this;return Se(function*(){try{try{yield e.html5QrCode.stop()}catch(n){console.error("Failed to stop:",n)}yield e.html5QrCode.start(t,e.config,(n,r)=>{e.onScanSuccess(n,r)},n=>{}),e.options.values.cameraId=t,e.options.save()}catch(n){e.onScanFailure(n)}})()}changeCamera(){var t=this;return Se(function*(){(!t.cameras||0==t.cameras.length)&&(yield t.requestCameras()),t.cameras&&0!=t.cameras.length&&(t.cameraIndex+=1,t.cameraIndex>=t.cameras.length&&(t.cameraIndex=0),t.startCamera(t.cameras[t.cameraIndex].id))})()}onScanSuccess(t,e){console.log(`Code matched = ${t}`,e),this.data.address=t,this.dialogRef.close(this.data.address)}onScanFailure(t){console.warn(`Code scan error = ${t}`),this.error=t}onNoClick(){this.dialogRef.close()}}function Kfe(i,t){if(1&i){const e=Je();_(0,"mat-card",11)(1,"mat-card-content")(2,"h1"),N(3,"Private Key Import"),F(),_(4,"p"),N(5,"If you already have an existing private for your Nostr account, you can import it here and protect it with a password."),F(),_(6,"p"),N(7,"First choose if your backup is a secret recovery phrase or a private key."),F(),Ce(8,"br"),_(9,"button",12),pe("click",function(){return Te(e),Ae(Q().step=2)}),N(10,"Secret Recovery Phrase"),F(),Ce(11,"br")(12,"br"),_(13,"button",12),pe("click",function(){return Te(e),Ae(Q().step=3)}),N(14,"Private Key"),F(),Ce(15,"br")(16,"br"),_(17,"button",12),pe("click",function(){return Te(e),Ae(Q().scanQrCode())}),_(18,"mat-icon"),N(19,"qr_code_scanner"),F(),N(20," Scan QR Code"),F()()()}}function Qfe(i,t){if(1&i){const e=Je();_(0,"mat-card",11)(1,"mat-card-content")(2,"h1"),N(3,"Secret Recovery Phrase Import"),F(),Ce(4,"br"),_(5,"mat-form-field",13)(6,"mat-label"),N(7,"Secret Recovery Phrase"),F(),_(8,"textarea",14),pe("ngModelChange",function(r){return Te(e),Ae(Q().mnemonic=r)}),F()(),Ce(9,"br"),_(10,"button",15),pe("click",function(){Te(e);const r=Q();return r.setPrivateKey(),Ae(r.step=3)}),N(11,"Continue"),F(),Ce(12,"br")(13,"br"),F()()}if(2&i){const e=Q();E(8),S("ngModel",e.mnemonic),E(2),S("disabled",!e.mnemonic)}}function Zfe(i,t){1&i&&(_(0,"h1"),N(1,"Protect Private Key with password"),F())}function Xfe(i,t){1&i&&(_(0,"h1"),N(1,"Private Key Import"),F())}function Jfe(i,t){1&i&&(_(0,"p"),N(1,"If you already have an existing private for your Nostr account, you can import it here and protect it with a password."),F())}function epe(i,t){if(1&i&&(_(0,"p",25),N(1,"Your personal private key:"),Ce(2,"br"),N(3),F()),2&i){const e=Q(2);E(3),yt(e.privateKey)}}function tpe(i,t){if(1&i){const e=Je();_(0,"div")(1,"mat-form-field",18)(2,"mat-icon",19),N(3,"person_add"),F(),_(4,"mat-label"),N(5,"Private Key"),F(),_(6,"input",26),pe("keyup",function(){return Te(e),Ae(Q(2).updatePublicKey())})("ngModelChange",function(r){return Te(e),Ae(Q(2).privateKey=r)}),F()()()}if(2&i){const e=Q(2);E(6),S("ngModel",e.privateKey)}}function ipe(i,t){if(1&i&&(_(0,"p",27)(1,"strong"),N(2,"Public Key (hex)"),F(),N(3),F()),2&i){const e=Q(2);E(3),Gt(": ",e.publicKeyHex,"")}}function npe(i,t){if(1&i&&(_(0,"p",28),N(1),F()),2&i){const e=Q(2);E(1),Gt("Error: ",e.error,"")}}function rpe(i,t){if(1&i){const e=Je();_(0,"mat-card",11)(1,"mat-card-content"),ee(2,Zfe,2,0,"h1",16),ee(3,Xfe,2,0,"h1",16),ee(4,Jfe,2,0,"p",16),_(5,"p"),N(6,"Having a strong password (we allow empty) is adviced, as this will be used to protect your private key using encryption when you are not using Blockcore Notes."),F(),Ce(7,"br"),ee(8,epe,4,1,"p",17),ee(9,tpe,7,1,"div",16),_(10,"form")(11,"mat-form-field",18)(12,"mat-icon",19),N(13,"person_add"),F(),_(14,"mat-label"),N(15,"Public Key"),F(),_(16,"input",20),pe("ngModelChange",function(r){return Te(e),Ae(Q().publicKey=r)}),F()(),_(17,"mat-form-field",18)(18,"mat-icon",19),N(19,"password"),F(),_(20,"mat-label"),N(21,"Password (optional)"),F(),_(22,"input",21),pe("ngModelChange",function(r){return Te(e),Ae(Q().password=r)}),F()(),Ce(23,"br"),_(24,"button",15),pe("click",function(){return Te(e),Ae(Q().persistKey())}),N(25,"Connect"),F(),Ce(26,"br")(27,"br"),F(),ee(28,ipe,4,1,"p",22),ee(29,npe,2,1,"p",23),_(30,"p",24),N(31,"Remember that Blockcore cannot change or reset your password. Make sure you have a separate backup of your "),_(32,"strong"),N(33,"private key"),F(),N(34," in case you loose your password."),F(),_(35,"p",24),N(36,"You will be asked to enter password (if supplied) when Notes need to sign events on your behalf."),F()()()}if(2&i){const e=Q();E(2),S("ngIf",e.mnemonic),E(1),S("ngIf",!e.mnemonic),E(1),S("ngIf",!e.mnemonic),E(4),S("ngIf",e.mnemonic),E(1),S("ngIf",!e.mnemonic),E(7),S("readonly",!0)("ngModel",e.publicKey),E(6),S("ngModel",e.password),E(2),S("disabled",!e.publicKey),E(4),S("ngIf",!e.error),E(1),S("ngIf",e.error)}}Q0.\u0275fac=function(t){return new(t||Q0)(k(Sr),k(Ts),k(kl))},Q0.\u0275cmp=qe({type:Q0,selectors:[["qr-scan-dialog"]],decls:9,vars:1,consts:[["id","reader",1,"qr-scan"],["mat-icon-button","","matTooltip","Change Camera",1,"camera-button",3,"click"],["mat-icon-button","","matTooltip","Close",1,"camera-close-button",3,"click"],["class","camera-error",4,"ngIf"],[1,"camera-error"]],template:function(t,e){1&t&&(_(0,"div"),Ce(1,"div",0),_(2,"button",1),pe("click",function(){return e.changeCamera()}),_(3,"mat-icon"),N(4,"cameraswitch"),F()(),_(5,"button",2),pe("click",function(){return e.onNoClick()}),_(6,"mat-icon"),N(7,"close"),F()(),ee(8,$fe,2,1,"div",3),F()),2&t&&(E(8),S("ngIf",e.error))},dependencies:[ri,bo,Qn,As],styles:[".qr-scan[_ngcontent-%COMP%]{position:absolute!important;inset:0;width:100%;height:100%}.camera-button[_ngcontent-%COMP%]{margin:2em;left:2em;position:absolute}[dir=rtl][_ngcontent-%COMP%] .camera-button[_ngcontent-%COMP%]{margin:2em;right:2em;position:absolute;left:auto}.camera-close-button[_ngcontent-%COMP%]{margin:2em;position:absolute;right:2em;top:2em}[dir=rtl][_ngcontent-%COMP%] .camera-close-button[_ngcontent-%COMP%]{margin:2em;position:absolute;left:2em;right:auto;top:2em}.camera-label[_ngcontent-%COMP%]{font-size:2em;color:#01010180;margin-left:auto;margin-right:auto}.camera-error[_ngcontent-%COMP%]{color:#a83222}"]});class Z0{constructor(t,e,n,r){this.dialog=t,this.theme=e,this.router=n,this.security=r,this.privateKey="",this.privateKeyHex="",this.publicKey="",this.publicKeyHex="",this.password="",this.error="",this.step=1,this.mnemonic=""}setPrivateKey(){this.privateKeyHex=av.privateKeyFromSeedWords(this.mnemonic),this.privateKey=wa.nsecEncode(this.privateKeyHex),this.updatePublicKey()}ngOnDestroy(){this.reset()}reset(){this.privateKey="",this.privateKeyHex="",this.mnemonic="",this.password=""}persistKey(){var t=this;return Se(function*(){setTimeout(Se(function*(){if(!t.privateKeyHex||!t.publicKeyHex)return;const e=yield t.security.encryptData(t.privateKeyHex,t.password),n=yield t.security.decryptData(e,t.password);t.privateKeyHex==n?(localStorage.setItem("blockcore:notes:nostr:prvkey",e),localStorage.setItem("blockcore:notes:nostr:pubkey",t.publicKeyHex),t.reset(),t.router.navigateByUrl("/")):(t.error="Unable to encrypt and decrypt. Cannot continue.",console.error(t.error))}),10)})()}updatePublicKey(){if(this.error="",this.publicKey="",this.privateKeyHex="",this.privateKey)if(this.privateKey.startsWith("npub"))this.error='The key value must be a "nsec" value. You entered "npub", which is your public key.';else{this.privateKeyHex=this.privateKey.startsWith("nsec")?wa.decode(this.privateKey).data:this.privateKey;try{this.publicKeyHex=ap(this.privateKeyHex),this.publicKey=wa.npubEncode(this.publicKeyHex)}catch(t){this.error=t.message}}else this.publicKey=""}scanQrCode(){this.dialog.open(Q0,{maxWidth:"100vw",maxHeight:"100vh",height:"100%",width:"100%",panelClass:"full-screen-modal",data:{}}).afterClosed().subscribe(e=>{this.step=3;try{if(e.startsWith("nostr:")&&(e=e.replace("nostr:","")),e.startsWith("nsec")){const n=wa.decode(e);this.privateKeyHex=n.data,this.privateKey=e}else this.privateKeyHex=e,this.privateKey=wa.nsecEncode(e);this.updatePublicKey()}catch(n){this.error="Failed to scan."+n.toString()}})}}Z0.\u0275fac=function(t){return new(t||Z0)(k(Ia),k(Dl),k(qn),k(Qc))},Z0.\u0275cmp=qe({type:Z0,selectors:[["app-key"]],decls:16,vars:4,consts:[[1,"connect-container"],[1,"connect-menu","mat-app-background"],["routerLink","/connect"],["width","128","height","128","src","assets/icons/icon-256x256.webp",1,"connect-logo"],[1,"logo-text"],[1,"hide-tiny"],[1,"connect-spacer"],["mat-icon-button","",1,"theme-toggle",3,"click"],["aria-label","Menu",1,"material-icons"],[1,"connect-content"],["class","card",4,"ngIf"],[1,"card"],["mat-flat-button","","color","accent",1,"start-button","full-button",3,"click"],[1,"input-full-width"],["matInput","","type","text","rows","2",1,"note-input",3,"ngModel","ngModelChange"],["mat-raised-button","",1,"start-button",3,"disabled","click"],[4,"ngIf"],["class","wrap",4,"ngIf"],["appearance","fill",1,"input-full-width","connect-input"],["matPrefix","",1,"circle"],["autocomplete","username","name","email","placeholder","npub...","matInput","","type","email",3,"readonly","ngModel","ngModelChange"],["matInput","","type","password","autocomplete","current-password","name","password",3,"ngModel","ngModelChange"],["class","public-key dimmed",4,"ngIf"],["class","error",4,"ngIf"],[1,"dimmed"],[1,"wrap"],["placeholder","nsec...","matInput","","type","password",3,"ngModel","keyup","ngModelChange"],[1,"public-key","dimmed"],[1,"error"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"div",1)(2,"a",2),Ce(3,"img",3),F(),_(4,"div",4)(5,"span",5),N(6,"Blockcore"),F(),N(7," Notes"),F(),Ce(8,"div",6),_(9,"button",7),pe("click",function(){return e.theme.darkMode=!e.theme.darkMode}),_(10,"mat-icon",8),N(11),F()()(),_(12,"div",9),ee(13,Kfe,21,0,"mat-card",10),ee(14,Qfe,14,2,"mat-card",10),ee(15,rpe,37,11,"mat-card",10),F()()),2&t&&(E(11),yt(e.theme.darkMode?"dark_mode":"light_mode"),E(2),S("ngIf",1==e.step),E(1),S("ngIf",2==e.step),E(1),S("ngIf",3==e.step))},dependencies:[ri,va,Do,Oa,eo,Kc,ur,bo,Pa,oc,Qn,qu,xa,ua,Wu,Ca,$c],styles:[".connect-container[_ngcontent-%COMP%]{width:100%;height:100vh;display:flex;flex-direction:column}.connect-menu[_ngcontent-%COMP%]{position:fixed;height:80px;width:100%;padding:1em;display:flex;z-index:1000;box-sizing:border-box}.connect-logo[_ngcontent-%COMP%]{flex-grow:1}.logo-text[_ngcontent-%COMP%]{font-size:1.6em;margin-left:140px;font-weight:700}.connect-spacer[_ngcontent-%COMP%]{flex-grow:3}.connect-button[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:0;align-self:flex-end}.start-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em;margin-bottom:.2em;background-color:#9f0771!important}.start-button-consent[_ngcontent-%COMP%]{background-color:#fff!important;color:#000!important}.start-button-consent[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{color:#fff!important}.start-button-login[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{min-width:300px}.theme-toggle[_ngcontent-%COMP%]{margin-right:.2em}.skip-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em}.connect-content[_ngcontent-%COMP%]{flex-grow:2;margin-top:80px;background:transparent url(/assets/bg.jpg) no-repeat right center;background-size:cover;background-attachment:fixed}.card[_ngcontent-%COMP%]{border-radius:10px;margin:2em 2em 2em 11em;padding:4em}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:1em;margin-bottom:1em}.card[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-bottom:1.4em}.consent-card[_ngcontent-%COMP%]{margin-bottom:2em}.warn[_ngcontent-%COMP%]{background-color:#9f0771}@keyframes _ngcontent-%COMP%_float{0%{transform:perspective(400px) rotateY(0)}50%{transform:perspective(400px) rotateY(30deg)}to{transform:perspective(400px) rotateY(0)}}.consent-required[_ngcontent-%COMP%]{padding:2em}.connect-logo[_ngcontent-%COMP%]{position:fixed;width:128px;height:128px;margin-top:0;margin-left:0;transform:translate3d(-50%,-50%,0);animation:_ngcontent-%COMP%_float 6s ease-in-out infinite;z-index:10000}.card-image[_ngcontent-%COMP%]{padding:0!important}.card-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:10px;width:100%;height:auto}@media only screen and (min-width: 1360px){.card[_ngcontent-%COMP%]{max-width:944px;margin-right:auto!important;margin-left:auto!important}}@media only screen and (min-width: 1024px){.card[_ngcontent-%COMP%]{margin-right:11em}}@media only screen and (max-width: 760px){.connect-logo[_ngcontent-%COMP%]{width:96px;height:96px;margin-top:1em;margin-left:1em}.card[_ngcontent-%COMP%]{font-size:.8em;margin-left:2em;margin-right:2em;padding:2em}}@media only screen and (max-width: 700px){.hide-tiny[_ngcontent-%COMP%]{display:none}.connect-logo[_ngcontent-%COMP%]{width:64px;height:64px;margin-top:-.47em;margin-left:0}.logo-text[_ngcontent-%COMP%]{margin-left:84px;margin-top:.6em;font-size:1.2em}}@media only screen and (max-width: 600px){.card[_ngcontent-%COMP%]{margin-left:.2em;margin-right:.2em;padding:0}}@media only screen and (max-width: 400px){.connect-button[_ngcontent-%COMP%]{display:none}}.full-button[_ngcontent-%COMP%]{width:100%;border-radius:10px;padding:2em}.description[_ngcontent-%COMP%]{margin-top:.4em;text-align:center;font-size:.85em;margin-bottom:1.4em}",".public-key[_ngcontent-%COMP%]{margin-bottom:1em;word-wrap:break-word}.error[_ngcontent-%COMP%]{margin-bottom:1em;color:red}"]});const ape=["button"],ope=["*"],aP=new Ke("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),oP=new Ke("MatButtonToggleGroup"),spe={provide:Fa,useExisting:di(()=>vM),multi:!0};let sP=0;class lP{constructor(t,e){this.source=t,this.value=e}}let vM=(()=>{class i{get name(){return this._name}set name(e){this._name=e,this._markButtonsForCheck()}get vertical(){return this._vertical}set vertical(e){this._vertical=Ct(e)}get value(){const e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e.map(n=>n.value):e[0]?e[0].value:void 0}set value(e){this._setSelectionByValue(e),this.valueChange.emit(this.value)}get selected(){const e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e:e[0]||null}get multiple(){return this._multiple}set multiple(e){this._multiple=Ct(e),this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(e){this._disabled=Ct(e),this._markButtonsForCheck()}constructor(e,n){this._changeDetector=e,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name="mat-button-toggle-group-"+sP++,this.valueChange=new lt,this.change=new lt,this.appearance=n&&n.appearance?n.appearance:"standard"}ngOnInit(){this._selectionModel=new Uv(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(e=>e.checked))}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_emitChangeEvent(e){const n=new lP(e,this.value);this._controlValueAccessorChangeFn(n.value),this.change.emit(n)}_syncButtonToggle(e,n,r=!1,a=!1){!this.multiple&&this.selected&&!e.checked&&(this.selected.checked=!1),this._selectionModel?n?this._selectionModel.select(e):this._selectionModel.deselect(e):a=!0,a?Promise.resolve().then(()=>this._updateModelValue(e,r)):this._updateModelValue(e,r)}_isSelected(e){return this._selectionModel&&this._selectionModel.isSelected(e)}_isPrechecked(e){return!(typeof this._rawValue>"u")&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(n=>null!=e.value&&n===e.value):e.value===this._rawValue)}_setSelectionByValue(e){this._rawValue=e,this._buttonToggles&&(this.multiple&&e?(Array.isArray(e),this._clearSelection(),e.forEach(n=>this._selectValue(n))):(this._clearSelection(),this._selectValue(e)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(e=>e.checked=!1)}_selectValue(e){const n=this._buttonToggles.find(r=>null!=r.value&&r.value===e);n&&(n.checked=!0,this._selectionModel.select(n))}_updateModelValue(e,n){n&&this._emitChangeEvent(e),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(e=>e._markForCheck())}}return i.\u0275fac=function(e){return new(e||i)(k(ni),k(aP,8))},i.\u0275dir=Oe({type:i,selectors:[["mat-button-toggle-group"]],contentQueries:function(e,n,r){if(1&e&&ui(r,wM,5),2&e){let a;Ze(a=Xe())&&(n._buttonToggles=a)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(e,n){2&e&&(It("aria-disabled",n.disabled),Mt("mat-button-toggle-vertical",n.vertical)("mat-button-toggle-group-appearance-standard","standard"===n.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[Nt([spe,{provide:oP,useExisting:i}])]}),i})();const lpe=xl(class{});let wM=(()=>{class i extends lpe{get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(e){this._appearance=e}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(e){const n=Ct(e);n!==this._checked&&(this._checked=n,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(e){this._disabled=Ct(e)}constructor(e,n,r,a,o,c){super(),this._changeDetectorRef=n,this._elementRef=r,this._focusMonitor=a,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new lt;const h=Number(o);this.tabIndex=h||0===h?h:null,this.buttonToggleGroup=e,this.appearance=c&&c.appearance?c.appearance:"standard"}ngOnInit(){const e=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+sP++,e&&(e._isPrechecked(this)?this.checked=!0:e._isSelected(this)!==this._checked&&e._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const e=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),e&&e._isSelected(this)&&e._syncButtonToggle(this,!1,!1,!0)}focus(e){this._buttonElement.nativeElement.focus(e)}_onButtonClick(){const e=!!this._isSingleSelector()||!this._checked;e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new lP(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null}_isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}}return i.\u0275fac=function(e){return new(e||i)(k(oP,8),k(ni),k(gt),k(Ka),fo("tabindex"),k(aP,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-button-toggle"]],viewQuery:function(e,n){if(1&e&&Lt(ape,5),2&e){let r;Ze(r=Xe())&&(n._buttonElement=r.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(e,n){1&e&&pe("focus",function(){return n.focus()}),2&e&&(It("aria-label",null)("aria-labelledby",null)("id",n.id)("name",null),Mt("mat-button-toggle-standalone",!n.buttonToggleGroup)("mat-button-toggle-checked",n.checked)("mat-button-toggle-disabled",n.disabled)("mat-button-toggle-appearance-standard","standard"===n.appearance))},inputs:{disableRipple:"disableRipple",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[ot],ngContentSelectors:ope,decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(e,n){if(1&e&&(Bi(),_(0,"button",0,1),pe("click",function(){return n._onButtonClick()}),_(2,"span",2),Ft(3),F()(),Ce(4,"span",3)(5,"span",4)),2&e){const r=Li(1);S("id",n.buttonId)("disabled",n.disabled||null),It("tabindex",n.disabled?-1:n.tabIndex)("aria-pressed",n.checked)("name",n._getButtonName())("aria-label",n.ariaLabel)("aria-labelledby",n.ariaLabelledby),E(5),S("matRippleTrigger",r)("matRippleDisabled",n.disableRipple||n.disabled)}},dependencies:[da],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}"],encapsulation:2,changeDetection:0}),i})(),cpe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Qt,qs,Qt]}),i})();class X0{onInput(){const t=this.element.nativeElement;if(t instanceof HTMLDivElement)return void console.warn("Unsupported HTML element type (HTMLDivElement) for content editor.");if(!(t instanceof HTMLTextAreaElement))return void console.warn("Unsupported HTML element type for content editor.");const e=this.element.nativeElement,n=e.selectionStart,r=e.selectionEnd,a=e.value;let o;o=a.length==r?a.at(-1):a.substring(n-1,r)}constructor(t){this.element=t}}X0.\u0275fac=function(t){return new(t||X0)(k(gt))},X0.\u0275dir=Oe({type:X0,selectors:[["","appContentEditor",""]],hostBindings:function(t,e){1&t&&pe("input",function(){return e.onInput()})}});class Fm{onInput(){if(this.element.nativeElement instanceof HTMLTextAreaElement){const e=this.element.nativeElement;e.scrollHeight>e.clientHeight&&(e.style.height=`${e.scrollHeight}px`)}}constructor(t){this.element=t}}Fm.\u0275fac=function(t){return new(t||Fm)(k(gt))},Fm.\u0275dir=Oe({type:Fm,selectors:[["","appAutoInputHeight",""]],hostBindings:function(t,e){1&t&&pe("input",function(){return e.onInput()})}});const dpe=["picker"],upe=["noteContent"],hpe=["articleContent"];function mpe(i,t){if(1&i&&(_(0,"mat-option",11),N(1),F()),2&i){const e=t.$implicit;S("value",e.slug),E(1),yt(e.title)}}function fpe(i,t){if(1&i){const e=Je();_(0,"mat-form-field",8)(1,"mat-label"),N(2,"Existing articles"),F(),_(3,"mat-select",9),pe("valueChange",function(r){return Te(e),Ae(Q().selectedArticle=r)})("selectionChange",function(){return Te(e),Ae(Q().changedArticle())}),Ce(4,"mat-option"),ee(5,mpe,2,2,"mat-option",10),F()()}if(2&i){const e=Q();E(3),S("value",e.selectedArticle),E(2),S("ngForOf",e.articleService.articles)}}function ppe(i,t){if(1&i){const e=Je();_(0,"emoji-mart",29),pe("emojiSelect",function(r){return Te(e),Ae(Q(2).addEmojiArticle(r))}),F()}2&i&&S("isNative",!0)("showPreview",!1)}function gpe(i,t){if(1&i){const e=Je();_(0,"form",12),pe("ngSubmit",function(){return Te(e),Ae(Q().onSubmitArticle())}),_(1,"div",13)(2,"mat-form-field",14)(3,"mat-label"),N(4,"Title"),F(),Ce(5,"input",15,16),F(),_(7,"mat-form-field",14)(8,"mat-label"),N(9,"URL (slug)"),F(),_(10,"input",17,16),pe("blur",function(){return Te(e),Ae(Q().formatSlug())}),F()(),_(12,"mat-form-field",14)(13,"mat-label"),N(14,"Long form text that supports markdown formatting"),F(),_(15,"textarea",18,19),pe("ngModelChange",function(r){return Te(e),Ae(Q().note=r)}),F()(),_(17,"mat-form-field",14)(18,"mat-label"),N(19,"Summary (optional)"),F(),_(20,"textarea",20),pe("ngModelChange",function(r){return Te(e),Ae(Q().summary=r)}),F()(),_(21,"mat-form-field",14)(22,"mat-label"),N(23,"Banner image (optional)"),F(),Ce(24,"input",21,16),F(),_(26,"mat-form-field",14)(27,"mat-label"),N(28,"Tags (optional, comma separated)"),F(),Ce(29,"input",22,16),F(),Ce(31,"input",23),ee(32,ppe,1,2,"emoji-mart",24),_(33,"mat-icon",25),pe("click",function(){Te(e);const r=Q();return Ae(r.isEmojiPickerVisible=!r.isEmojiPickerVisible)}),N(34,"sentiment_satisfied"),F()(),_(35,"div",26)(36,"button",27),pe("click",function(){return Te(e),Ae(Q().onCancel())}),N(37,"Cancel"),F(),N(38,"\xa0 "),_(39,"button",28),N(40,"Publish Article"),F()()()}if(2&i){const e=Q();S("formGroup",e.articleForm),E(15),S("ngModel",e.note),E(5),S("ngModel",e.summary),E(12),S("ngIf",e.isEmojiPickerVisible),E(7),S("disabled",!e.articleForm.valid)}}function _pe(i,t){if(1&i){const e=Je();_(0,"emoji-mart",29),pe("emojiSelect",function(r){return Te(e),Ae(Q(2).addEmojiNote(r))}),F()}2&i&&S("isNative",!0)("showPreview",!1)}function bpe(i,t){if(1&i){const e=Je();_(0,"form",12),pe("ngSubmit",function(){return Te(e),Ae(Q().onSubmitNote())}),_(1,"div",13)(2,"mat-form-field",14)(3,"mat-label"),N(4,"What's on your mind?"),F(),Ce(5,"textarea",30,31),F(),ee(7,_pe,1,2,"emoji-mart",24),_(8,"mat-icon",25),pe("click",function(){Te(e);const r=Q();return Ae(r.isEmojiPickerVisible=!r.isEmojiPickerVisible)}),N(9,"sentiment_satisfied"),F()(),_(10,"div",26)(11,"button",27),pe("click",function(){return Te(e),Ae(Q().onCancel())}),N(12,"Cancel"),F(),N(13,"\xa0 "),_(14,"button",28),N(15,"Publish Note"),F()()()}if(2&i){const e=Q();S("formGroup",e.noteForm),E(7),S("ngIf",e.isEmojiPickerVisible),E(7),S("disabled",!e.noteForm.valid)}}class J0{constructor(t,e,n,r,a,o,c,h,f){this.snackBar=t,this.articleService=e,this.queueService=n,this.utilities=r,this.appState=a,this.location=o,this.fb=c,this.navigation=h,this.profileService=f,this.noteForm=this.fb.group({content:["",Oo.required],expiration:[""],dateControl:[]}),this.articleForm=this.fb.group({content:["",Oo.required],title:["",Oo.required],summary:[""],image:[""],slug:[""],tags:[""],published_at:[""]}),this.note="",this.blog={title:"",content:"",tags:""},this.title="",this.summary="",this.eventType="text",this.dateControl=new Gu(null),this.subscriptions=[],this.selectedArticle="",this.items=["Noah","Liam","Mason","Jacob"]}ngOnInit(){this.appState.updateTitle("Write a note"),this.appState.showBackButton=!0,this.appState.showLogo=!0,this.appState.actions=[],this.minDate=Date.now(),this.subscriptions.push(this.articleForm.controls.title.valueChanges.subscribe(t=>{t&&this.articleForm.controls.slug.setValue(this.createSlug(t))}))}changedArticle(){const t=this.articleService.get(this.selectedArticle);t?(null==t.summary&&(t.summary=""),null==t.image&&(t.image=""),null==t.title&&(t.title=""),this.articleForm.setValue({content:t.content,title:t.title,summary:t.summary,image:t.image,slug:t.slug?t.slug:"",tags:t.metatags?t.metatags.toString():"",published_at:t.published_at?t.published_at.toString():""})):this.articleForm.reset()}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}noteTypeChanged(){"article"==this.eventType&&this.queueService.enque(this.appState.getPublicKey(),"Article")}createSlug(t){return(t=(t=t.toLowerCase()).replace(/[\s\W]+/g,"-")).replace(/^-+|-+$/g,"")}addEmojiNote(t){let e=this.noteContent.nativeElement.selectionStart,n=this.noteForm.controls.content.value,r=n?.substring(0,e)+t.emoji.native+n?.substring(e,n.length);this.noteForm.controls.content.setValue(r),this.isEmojiPickerVisible=!1,this.noteContent.nativeElement.focus()}addEmojiArticle(t){let e=this.articleContent.nativeElement.selectionStart,n=this.articleForm.controls.content.value,r=n?.substring(0,e)+t.emoji.native+n?.substring(e,n.length);this.articleForm.controls.content.setValue(r),this.isEmojiPickerVisible=!1,this.articleContent.nativeElement.focus()}formatSlug(){this.articleForm.controls.slug.setValue(this.createSlug(this.articleForm.controls.slug.value))}onSubmitArticle(){var t=this;return Se(function*(){const e=t.articleForm.controls,n={content:e.content.value,title:e.title.value,summary:e.summary.value,image:e.image.value,slug:e.slug.value,tags:e.tags.value};e.published_at.value&&(n.published_at=Number(e.published_at.value)),yield t.navigation.saveArticle(n),t.snackBar.open("Article was published. Notes does not support viewing articles yet.","Hide",{duration:2e3,horizontalPosition:"center",verticalPosition:"bottom"})})()}onSubmitNote(){this.navigation.saveNote(this.noteForm.controls.content.value)}postNote(){this.navigation.saveNote(this.note)}onCancel(){this.note="",this.location.back()}}function ype(i,t){if(1&i){const e=Je();_(0,"mat-card",14)(1,"button",15),pe("click",function(){Te(e);const r=Q().ngIf;return Ae(Q().open(r.rootEventId))}),_(2,"mat-icon"),N(3,"keyboard_double_arrow_up"),F(),N(4,"View Thread"),F()()}}function vpe(i,t){if(1&i&&(_(0,"div",16),Ce(1,"app-event",13),F()),2&i){const e=t.ngIf;E(1),S("event",e)}}function wpe(i,t){if(1&i){const e=Je();_(0,"mat-card",14)(1,"button",15),pe("click",function(){Te(e);const r=Q().ngIf;return Ae(Q().open(r.parentEventId))}),_(2,"mat-icon"),N(3,"keyboard_arrow_up"),F(),N(4,"View Parent"),F()()}}J0.\u0275fac=function(t){return new(t||J0)(k(us),k(rm),k(es),k(an),k(Zi),k(Tc),k(CD),k(yo),k(Hn))},J0.\u0275cmp=qe({type:J0,selectors:[["app-editor"]],viewQuery:function(t,e){if(1&t&&(Lt(dpe,5),Lt(upe,5),Lt(hpe,5)),2&t){let n;Ze(n=Xe())&&(e.picker=n.first),Ze(n=Xe())&&(e.noteContent=n.first),Ze(n=Xe())&&(e.articleContent=n.first)}},decls:11,vars:4,consts:[[1,"page"],[1,"note-type"],["name","fontStyle","aria-label","Font Style",3,"ngModel","change","ngModelChange"],["group","matButtonToggleGroup"],["value","text"],["value","article"],["appearance","fill",4,"ngIf"],[3,"formGroup","ngSubmit",4,"ngIf"],["appearance","fill"],[3,"value","valueChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[3,"formGroup","ngSubmit"],["mat-dialog-content","",1,"mat-dialog-content"],[1,"input-full-width"],["matInput","","formControlName","title","placeholder","Ex. My favorite food..."],["message",""],["matInput","","placeholder","Can only contain - and lower case text","formControlName","slug",3,"blur"],["appAutoInputHeight","","matInput","","type","text","formControlName","content","rows","2",1,"note-input",3,"ngModel","ngModelChange"],["articleContent",""],["appAutoInputHeight","","matInput","","type","text","formControlName","summary","rows","2",1,"note-input",3,"ngModel","ngModelChange"],["matInput","","placeholder","Article banner image","formControlName","image"],["matInput","","placeholder","Tech, News, Social","formControlName","tags"],["type","hidden","formControlName","published_at"],["class","picker","emoji","point_up","title","Choose your emoji",3,"isNative","showPreview","emojiSelect",4,"ngIf"],["matTooltip","Insert emoji",1,"toolbar-icon","margin-right",3,"click"],["mat-dialog-actions","","align","end",1,"mat-dialog-actions"],["mat-stroked-button","","type","button",3,"click"],["mat-flat-button","","type","submit","color","primary",3,"disabled"],["emoji","point_up","title","Choose your emoji",1,"picker",3,"isNative","showPreview","emojiSelect"],["appContentEditor","","appAutoInputHeight","","matInput","","type","text","formControlName","content","rows","2",1,"note-input","noscrollbars"],["noteContent",""]],template:function(t,e){if(1&t&&(_(0,"div",0)(1,"div",1)(2,"mat-button-toggle-group",2,3),pe("change",function(){return e.noteTypeChanged()})("ngModelChange",function(r){return e.eventType=r}),_(4,"mat-button-toggle",4),N(5,"Note"),F(),_(6,"mat-button-toggle",5),N(7,"Article"),F()()(),ee(8,fpe,6,2,"mat-form-field",6),ee(9,gpe,41,5,"form",7),ee(10,bpe,16,3,"form",7),F()),2&t){const n=Li(3);E(2),S("ngModel",e.eventType),E(6),S("ngIf","article"==n.value),E(1),S("ngIf","article"==n.value),E(1),S("ngIf","text"==n.value)}},dependencies:[vn,ri,Do,Oa,eo,ur,y0,ku,Qn,As,uM,qu,xa,ua,Wu,Ca,Wd,H_,tc,Vc,vM,wM,X0,Fm],styles:["h1[_ngcontent-%COMP%]{margin-top:0}.input-full-width[_ngcontent-%COMP%]{width:100%!important}.toolbar[_ngcontent-%COMP%]{display:flex;margin-bottom:5px;margin-top:3px}.toolbar-icon[_ngcontent-%COMP%]{cursor:pointer}.toolbar-icon[_ngcontent-%COMP%]:hover{color:#9c27b0}.margin-right[_ngcontent-%COMP%]{margin-right:5px}.picker[_ngcontent-%COMP%]{display:block;position:fixed;z-index:3}.note-type[_ngcontent-%COMP%]{text-align:right;margin-bottom:1em}@media only screen and (max-width: 599px){h1[_ngcontent-%COMP%]{font-size:1.8em}}.text-editor[_ngcontent-%COMP%]{border:1px lightgrey solid;min-height:88px;padding:1em}"]});const Fpe=function(i,t,e,n){return{"is-root":i,"has-root":t,"no-lines":e,lines:n}},xpe=function(i,t){return{"no-lines":i,lines:t}};function Cpe(i,t){if(1&i){const e=Je();_(0,"div",1)(1,"div",2)(2,"mat-accordion",3)(3,"mat-expansion-panel")(4,"mat-expansion-panel-header")(5,"mat-panel-title"),N(6,"Options"),F(),Ce(7,"mat-panel-description"),F(),_(8,"p")(9,"mat-slide-toggle",4),pe("change",function(){return Te(e),Ae(Q().optionsService.save())})("ngModelChange",function(r){return Te(e),Ae(Q().optionsService.values.showLines=r)}),N(10,"Show lines"),F()()()()(),ee(11,ype,5,0,"mat-card",5),ee(12,vpe,2,1,"div",6),mi(13,"async"),_(14,"div",7),ee(15,wpe,5,0,"mat-card",5),_(16,"div",8)(17,"app-event-header",9),Ce(18,"app-date",10)(19,"app-directory-icon",9),F(),Ce(20,"app-event-actions",11),F(),Ce(21,"app-content",12)(22,"app-event-reactions",13)(23,"app-event-buttons",13)(24,"app-event-thread",13),F()()}if(2&i){const e=t.ngIf,n=Q();E(9),S("ngModel",n.optionsService.values.showLines),E(2),S("ngIf",e.rootEventId),E(1),S("ngIf",gi(13,15,n.ui.parentEvent$)),E(2),S("ngClass",JF(17,Fpe,!e.parentEventId,e.parentEventId,!n.optionsService.values.showLines,n.optionsService.values.showLines)),E(1),S("ngIf",e.parentEventId),E(2),S("pubkey",e.pubkey),E(1),S("date",e.created_at),E(1),S("pubkey",e.pubkey),E(1),S("event",e)("pubkey",e.pubkey),E(1),S("ngClass",Ws(22,xpe,!n.optionsService.values.showLines,n.optionsService.values.showLines))("event",e),E(1),S("event",e),E(1),S("event",e),E(1),S("event",e)}}class Np{constructor(t,e,n,r,a,o,c,h,f,x,P){this.appState=t,this.activatedRoute=e,this.cd=n,this.optionsService=r,this.navigation=a,this.profiles=o,this.thread=c,this.validator=h,this.utilities=f,this.router=x,this.ui=P,this.initialLoad=!0}open(t){this.router.navigate(["/e",t])}likes(t){}dislikes(t){}replies(t){}filteredThread(){}repliesTo(t){if(!t)return;let e=t.tags.filter(n=>"p"===n[0]).map(n=>n[1]);return e=e.filter(n=>n!==t.pubkey),e}ngOnInit(){var t=this;console.log("CURRENT EVENT:",this.navigation.currentEvent),this.ui.setPubKey(void 0,!1),this.ui.clearViewPositions(),this.appState.updateTitle("Article"),this.appState.showBackButton=!0,this.activatedRoute.paramMap.subscribe(function(){var e=Se(function*(n){const r=n.get("id");if(r){if(r.startsWith("naddr")){const a=wa.decode(r);if("naddr"==a.type){const o=a.data;if(o.kind==$n.Article)return void t.router.navigate(["/a",o.pubkey,o.identifier])}}t.navigation.currentEvent?.id!=r&&t.ui.setEventId(r)}else t.router.navigateByUrl("/")});return function(n){return e.apply(this,arguments)}}())}trackByFn(t,e){return e.id}ngOnDestroy(){this.sub&&this.sub.unsub(),this.ui.clear()}}Np.\u0275fac=function(t){return new(t||Np)(k(Zi),k(ds),k(ni),k(Sr),k(yo),k(Hn),k(td),k(Xo),k(an),k(qn),k($r))},Np.\u0275cmp=qe({type:Np,selectors:[["app-article"]],decls:3,vars:3,consts:[["class","feed-page",4,"ngIf"],[1,"feed-page"],[1,"options-container"],[1,"options"],[1,"options-slider",3,"ngModel","change","ngModelChange"],["class","button-card",4,"ngIf"],["class","parent-event",4,"ngIf"],[1,"current-event","events2","noclick",3,"ngClass"],[1,"events-header"],[3,"pubkey"],[3,"date"],[3,"event","pubkey"],[1,"thread-content",3,"ngClass","event"],[3,"event"],[1,"button-card"],["mat-flat-button","",3,"click"],[1,"parent-event"]],template:function(t,e){1&t&&(ee(0,Cpe,25,25,"div",0),mi(1,"async"),Ce(2,"mat-divider")),2&t&&S("ngIf",gi(1,1,e.ui.event$))},dependencies:[qa,ri,ur,Pa,Qn,D0,sc,Xc,Jc,Zd,Qd,b0,ua,Ca,Tl,ms,Al,Xs,vm,rh,ah,id,Mp,Es],styles:[".thread-event[_ngcontent-%COMP%]{margin-left:27px;padding-top:0;padding-left:1em}.thread-content[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em;display:block}.events[_ngcontent-%COMP%]{padding:0!important}.thread-actions[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em;padding-bottom:.3em}.button-card[_ngcontent-%COMP%]{margin-bottom:.4em}.has-root[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em}.is-root[_ngcontent-%COMP%]{margin-left:0;padding-left:0;border-left:2px solid transparent!important}.options-container[_ngcontent-%COMP%]{margin-bottom:1em}"]});class e1{constructor(t,e,n,r,a,o,c,h,f,x,P){this.uploadService=t,this.nostr=e,this.optionsService=n,this.relayService=r,this.dialog=a,this.appState=o,this.profileService=c,this.theme=h,this.db=f,this.snackBar=x,this.dataService=P,this.wiped=!1,this.wipedNonFollow=!1,this.wipedNotes=!1,this.open=!1}toggle(){this.open?(this.open=!1,this.accordion.closeAll()):(this.open=!0,this.accordion.openAll())}openMediaPlayer(){this.optionsService.values.showMediaPlayer=!0}primaryRelay(t){var e=this;return Se(function*(){e.optionsService.values.primaryRelay=t.url,e.optionsService.save()})()}deleteRelays(){var t=this;return Se(function*(){yield t.relayService.deleteRelays([])})()}clearProfileCache(){var t=this;return Se(function*(){t.wipedNonFollow=!0})()}clearNotesCache(){var t=this;return Se(function*(){t.wipedNotes=!0})()}getDefaultRelays(){var t=this;return Se(function*(){yield t.relayService.appendRelays(t.nostr.defaultRelays)})()}getRelays(){var t=this;return Se(function*(){const e=yield t.nostr.relays();yield t.relayService.appendRelays(e)})()}ngOnInit(){this.appState.updateTitle("Relays"),this.appState.showBackButton=!1,this.appState.actions=[{icon:"add_circle",tooltip:"Add Relay",click:()=>{this.addRelay()}}]}registerHandler(t,e){navigator.registerProtocolHandler(t,`/?${e}=%s`)}addRelay(){var t=this;this.dialog.open(Dp,{data:{read:!0,write:!0},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=Se(function*(r){r&&(-1===r.url.indexOf("://")&&(r.url="wss://"+r.url),yield t.relayService.appendRelay(r.url,r.read,r.write))});return function(r){return n.apply(this,arguments)}}())}}e1.\u0275fac=function(t){return new(t||e1)(k(Vd),k(El),k(Sr),k(Mo),k(Ia),k(Zi),k(Hn),k(Dl),k(Ra),k(us),k(Ba))},e1.\u0275cmp=qe({type:e1,selectors:[["app-relays-management"]],viewQuery:function(t,e){if(1&t&&Lt(sc,5),2&t){let n;Ze(n=Xe())&&(e.accordion=n.first)}},decls:23,vars:1,consts:[[1,"feed-page"],[1,"options"],[1,"settings-action-buttons"],["mat-flat-button","","color","primary",3,"click"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","warn",3,"click"],[3,"relays"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"div",1)(2,"mat-accordion")(3,"mat-expansion-panel")(4,"mat-expansion-panel-header")(5,"mat-panel-title"),N(6,"Options"),F(),Ce(7,"mat-panel-description"),F(),_(8,"div",2)(9,"button",3),pe("click",function(){return e.getRelays()}),N(10,"Append from extension"),F(),_(11,"button",3),pe("click",function(){return e.getDefaultRelays()}),N(12,"Append from app"),F(),Ce(13,"br"),_(14,"button",4),pe("click",function(){return e.dataService.publishContactsAndRelays()}),N(15,"Publish relay (and following) list"),F(),_(16,"button",4),pe("click",function(){return e.dataService.publishRelays()}),N(17,"Publish relay (NIP-65) list"),F(),Ce(18,"br")(19,"br"),_(20,"button",5),pe("click",function(){return e.deleteRelays()}),N(21,"Delete all relays"),F()()()()(),Ce(22,"app-relays",6),F()),2&t&&(E(22),S("relays",e.relayService.items))},dependencies:[ur,sc,Xc,Jc,Zd,Qd,Ip],styles:[".example-action-buttons[_ngcontent-%COMP%]{padding-bottom:20px}.example-headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%]{justify-content:space-between;align-items:center}.example-headers-align[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%] + .mat-mdc-form-field[_ngcontent-%COMP%]{margin-left:8px}.online[_ngcontent-%COMP%]{margin-left:.2em;margin-bottom:-.2em}.relay-status-0[_ngcontent-%COMP%]{color:silver}.relay-status-1[_ngcontent-%COMP%]{color:green}.relay-status-2[_ngcontent-%COMP%]{color:orange}.relay-status-3[_ngcontent-%COMP%]{color:red}.relay-status-4[_ngcontent-%COMP%]{color:#3131d2}.relay-read-disabled[_ngcontent-%COMP%]{color:#3131d2!important}.relay-disabled[_ngcontent-%COMP%]{color:#ea8809!important}.primary-relay[_ngcontent-%COMP%]{color:#c603b5}.relay-options[_ngcontent-%COMP%]{margin-top:.4em;margin-bottom:.2em}.settings-action-buttons[_ngcontent-%COMP%]{padding-top:.8em;padding-bottom:1em}.settings-action-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-bottom:1em;margin-right:1em}@media only screen and (max-width: 599px){.settings-action-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%;margin-right:0}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{flex-grow:2!important}.mat-expansion-panel-header-description[_ngcontent-%COMP%]{flex-grow:1!important}}.relay-button[_ngcontent-%COMP%]{margin-top:.8em}.options-slider[_ngcontent-%COMP%]{margin-left:1em}"]});const kpe=function(i,t){return["/b",i,t]};function Dpe(i,t){if(1&i&&(_(0,"mat-card-title")(1,"a",8),N(2),F()()),2&i){const e=Q(2);E(1),S("routerLink",Ws(2,kpe,e.badge.pubkey,e.badge.slug)),E(1),yt(e.badge.name)}}function Mpe(i,t){if(1&i&&(_(0,"mat-card-title"),N(1),F()),2&i){const e=Q(2);E(1),yt(e.badge.name)}}function Epe(i,t){if(1&i&&(_(0,"mat-chip"),N(1),F()),2&i){const e=t.$implicit;E(1),Gt("#",e,"")}}function Spe(i,t){if(1&i&&(_(0,"mat-card",1)(1,"mat-card-header",2),ee(2,Dpe,3,5,"mat-card-title",3),ee(3,Mpe,2,1,"mat-card-title",3),_(4,"mat-card-subtitle"),N(5),F()(),Ce(6,"img",4),_(7,"mat-card-content")(8,"p",5),N(9),F(),_(10,"mat-chip-set",6),ee(11,Epe,2,1,"mat-chip",7),F(),_(12,"p"),Ft(13),F()()()),2&i){const e=Q();E(2),S("ngIf",!e.preview),E(1),S("ngIf",e.preview),E(2),yt(e.badge.slug),E(1),S("src",e.thumbUrl(e.badge.thumb),hn),E(3),yt(e.badge.description),E(2),S("ngForOf",e.badge.hashtags)}}class xm{constructor(t,e){this.utilities=t,this.badgeService=e,this.preview=!1}ngOnInit(){!this.badge?.slug&&this.badge.tags&&(this.badge=this.badgeService.denormalizeBadge(this.badge))}imageUrl(t){if(t||(t=this.badge?.thumb),t)return this.utilities.sanitizeImageUrl(t)}thumbUrl(t){if(t||(t=this.badge?.image),t)return this.utilities.sanitizeImageUrl(t)}}function Ape(i,t){1&i&&(_(0,"span"),N(1,"\xa0Accepted"),F())}function Ipe(i,t){if(1&i&&(_(0,"mat-icon",8),N(1,"verified"),F(),ee(2,Ape,2,0,"span",9),mi(3,"async")),2&i){const e=Q();E(2),S("ngIf",!1===gi(3,1,e.appState.displayLabels$))}}function Lpe(i,t){if(1&i&&(_(0,"app-badge-card",13),N(1),mi(2,"json"),Ce(3,"br")(4,"br"),N(5," Created by:\xa0"),Ce(6,"app-profile-name",4)(7,"br"),N(8," Last updated: "),Ce(9,"app-date",14),F()),2&i){const e=t.$implicit;S("badge",e),E(1),Gt(" ",gi(2,4,e)," "),E(5),S("pubkey",e.pubkey),E(3),S("date",e.created_at)}}function Npe(i,t){if(1&i&&(_(0,"div",11),ee(1,Lpe,10,6,"app-badge-card",12),F()),2&i){const e=Q(2);E(1),S("ngForOf",e.profileBadgesSub.events)}}function Ope(i,t){1&i&&ee(0,Npe,2,1,"div",10),2&i&&S("ngIf",Q().profileBadgesSub.events)}function Rpe(i,t){1&i&&(_(0,"span"),N(1,"\xa0Awarded"),F())}function Ppe(i,t){if(1&i&&(_(0,"mat-icon",8),N(1,"emoji_events"),F(),ee(2,Rpe,2,0,"span",9),mi(3,"async")),2&i){const e=Q();E(2),S("ngIf",!1===gi(3,1,e.appState.displayLabels$))}}function Bpe(i,t){if(1&i&&(_(0,"app-badge-card",13),N(1),mi(2,"json"),Ce(3,"br")(4,"br"),N(5," Issued by:\xa0"),Ce(6,"app-profile-name",4)(7,"br"),N(8," Issued date: "),Ce(9,"app-date",14),F()),2&i){const e=t.$implicit;S("badge",e),E(1),Gt(" ",gi(2,4,e)," "),E(5),S("pubkey",e.pubkey),E(3),S("date",e.created_at)}}function Hpe(i,t){if(1&i&&(_(0,"div",11),ee(1,Bpe,10,6,"app-badge-card",12),F()),2&i){const e=Q(2);E(1),S("ngForOf",e.receivedBadgesSub.events)}}function Vpe(i,t){1&i&&ee(0,Hpe,2,1,"div",10),2&i&&S("ngIf",Q().receivedBadgesSub.events)}function Ype(i,t){1&i&&(_(0,"span"),N(1,"\xa0Created"),F())}function jpe(i,t){if(1&i&&(_(0,"mat-icon",8),N(1,"badge"),F(),ee(2,Ype,2,0,"span",9),mi(3,"async")),2&i){const e=Q();E(2),S("ngIf",!1===gi(3,1,e.appState.displayLabels$))}}function zpe(i,t){if(1&i){const e=Je();_(0,"app-badge-card",13)(1,"button",15),pe("click",function(){const a=Te(e).$implicit;return Ae(Q(3).edit(a))}),N(2,"EDIT"),F()()}2&i&&S("badge",t.$implicit)}function Upe(i,t){if(1&i&&(_(0,"div",11),ee(1,zpe,3,1,"app-badge-card",12),F()),2&i){const e=Q(2);E(1),S("ngForOf",e.badgeDefinitionsSub.events)}}function Wpe(i,t){1&i&&ee(0,Upe,2,1,"div",10),2&i&&S("ngIf",Q().badgeDefinitionsSub.events)}xm.\u0275fac=function(t){return new(t||xm)(k(an),k(qc))},xm.\u0275cmp=qe({type:xm,selectors:[["app-badge-card"]],inputs:{badge:"badge",preview:"preview"},ngContentSelectors:["*"],decls:1,vars:1,consts:[["class","badge-card",4,"ngIf"],[1,"badge-card"],[1,"badge-header"],[4,"ngIf"],["mat-card-image","",3,"src"],[1,"text"],[1,"hashtags"],[4,"ngFor","ngForOf"],[3,"routerLink"]],template:function(t,e){1&t&&(Bi(),ee(0,Spe,14,6,"mat-card",0)),2&t&&S("ngIf",e.badge)},dependencies:[vn,ri,va,Pa,oc,X_,jD,Z_,Q_,Zu,o0],styles:[".badge-card[_ngcontent-%COMP%]{max-width:512px}.badge-card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:auto}@media only screen and (max-width: 599px){.badge-card[_ngcontent-%COMP%]{width:100%}}"]});class t1{constructor(t,e,n,r,a,o,c,h){this.relayService=t,this.activatedRoute=e,this.utilities=n,this.router=r,this.appState=a,this.badgeService=o,this.queueService=c,this.cd=h,this.subscriptions=[],this.pubkey=""}ngOnInit(){var t=this;this.appState.updateTitle("Badges"),this.appState.showBackButton=!0,this.appState.actions=[{icon:"note_add",tooltip:"Create new badge type",click:()=>{this.createBadgeType()}},{icon:"assignment_ind",tooltip:"Assign badge to user",click:()=>{this.assignBadge()}}],this.subscriptions.push(this.activatedRoute.queryParams.subscribe(function(){var e=Se(function*(n){t.tabIndex=n.t});return function(n){return e.apply(this,arguments)}}())),this.subscriptions.push(this.activatedRoute.paramMap.subscribe(function(){var e=Se(function*(n){const r=n.get("id");r&&(t.pubkey=r,t.queueService.enque(t.pubkey,"BadgeDefinition"),t.receivedBadgesSub=t.relayService.download([{kinds:[8],"#p":[t.pubkey]}],void 0,"Event"),t.profileBadgesSub=t.relayService.download([{kinds:[30008],authors:[t.pubkey],"#d":["profile_badges"]}],void 0,"Replaceable"),t.badgeDefinitionsSub=t.relayService.download([{kinds:[30009],authors:[t.pubkey]}],void 0,"Replaceable"),t.cd.detectChanges())});return function(n){return e.apply(this,arguments)}}()))}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions),this.receivedBadgesSub&&this.relayService.unsubscribe(this.receivedBadgesSub.id),this.profileBadgesSub&&this.relayService.unsubscribe(this.profileBadgesSub.id),this.badgeDefinitionsSub&&this.relayService.unsubscribe(this.badgeDefinitionsSub.id)}onTabChanged(t){this.router.navigate([],{queryParams:{t:t.index},replaceUrl:!0})}edit(t){this.badgeService.selectedBadge=t,this.router.navigateByUrl("/editor/badges")}issue(t){this.badgeService.selectedBadge=t,this.router.navigateByUrl("/editor/badges")}createBadgeType(){}assignBadge(){}}function Gpe(i,t){if(1&i){const e=Je();_(0,"div")(1,"div")(2,"div")(3,"p"),N(4,"Just paste your (or someone else's) Nostr public key (npub) here:"),F(),_(5,"mat-form-field",18)(6,"mat-icon",19),N(7,"person_add"),F(),_(8,"mat-label"),N(9,"Public Key"),F(),_(10,"input",20),pe("ngModelChange",function(r){return Te(e),Ae(Q().readOnlyKey=r)}),F()(),_(11,"div")(12,"button",21),pe("click",function(){Te(e);const r=Q();return Ae(r.anonymous(r.readOnlyKey))}),N(13,"Connect (read-only)"),F()()()()()}if(2&i){const e=Q();E(10),S("ngModel",e.readOnlyKey)}}t1.\u0275fac=function(t){return new(t||t1)(k(Mo),k(ds),k(an),k(qn),k(Zi),k(qc),k(es),k(ni))},t1.\u0275cmp=qe({type:t1,selectors:[["app-badges"]],decls:22,vars:2,consts:[[1,"feed-page"],[1,"options"],[1,"options-buttons"],["mat-stroked-button","","routerLink","/editor/badges"],[3,"pubkey"],[3,"selectedIndex","selectedTabChange"],["mat-tab-label",""],["matTabContent",""],[1,"example-tab-icon"],[4,"ngIf"],["class","badges",4,"ngIf"],[1,"badges"],[3,"badge",4,"ngFor","ngForOf"],[3,"badge"],[3,"date"],["mat-stroked-button","",1,"badge-card-button",3,"click"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"div",1)(2,"mat-accordion")(3,"mat-expansion-panel")(4,"mat-expansion-panel-header")(5,"mat-panel-title"),N(6,"Options"),F(),Ce(7,"mat-panel-description"),F(),_(8,"div",2)(9,"button",3),N(10,"Badge Editor"),F()()()()(),Ce(11,"app-event-header",4),_(12,"mat-tab-group",5),pe("selectedTabChange",function(r){return e.onTabChanged(r)}),_(13,"mat-tab"),ee(14,Ipe,4,3,"ng-template",6),ee(15,Ope,1,1,"ng-template",7),F(),_(16,"mat-tab"),ee(17,Ppe,4,3,"ng-template",6),ee(18,Vpe,1,1,"ng-template",7),F(),_(19,"mat-tab"),ee(20,jpe,4,3,"ng-template",6),ee(21,Wpe,1,1,"ng-template",7),F()()()),2&t&&(E(11),S("pubkey",e.pubkey),E(1),S("selectedIndex",e.tabIndex))},dependencies:[vn,ri,va,ur,Qn,XD,JD,w0,ew,sc,Xc,Jc,Zd,Qd,gm,ms,id,xm,Es,Yx],styles:[".badge-card[_ngcontent-%COMP%]{max-width:512px}.badge-header[_ngcontent-%COMP%]{margin-bottom:1em}.badges[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;flex-direction:row;gap:1em;padding-top:1em}.options-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:1em;margin-bottom:1em}"]});class n1{constructor(t,e,n,r){this.authService=t,this.theme=e,this.router=n,this.security=r,this.privateKey="",this.privateKeyHex="",this.publicKey="",this.publicKeyHex="",this.password="",this.error="",this.readOnlyLogin=!1,this.readOnlyKey="npub1sg6plzptd64u62a878hep2kev88swjh3tw00gjsfl8f237lmu63q0uf63m"}connect(){var t=this;return Se(function*(){(yield t.authService.login()).authenticated()&&t.router.navigateByUrl("/")})()}anonymous(t){var e=this;return Se(function*(){(yield e.authService.anonymous(t)).authenticated()&&e.router.navigateByUrl("/")})()}persistKey(){var t=this;return Se(function*(){setTimeout(Se(function*(){if(!t.privateKeyHex||!t.publicKeyHex)return;const e=yield t.security.encryptData(t.privateKeyHex,t.password),n=yield t.security.decryptData(e,t.password);t.privateKeyHex==n?(localStorage.setItem("blockcore:notes:nostr:prvkey",e),localStorage.setItem("blockcore:notes:nostr:pubkey",t.publicKeyHex),t.router.navigateByUrl("/")):(t.error="Unable to encrypt and decrypt. Cannot continue.",console.error(t.error))}),10)})()}updatePublicKey(){if(this.error="",this.publicKey="",this.privateKeyHex="",this.privateKey)if(this.privateKey.startsWith("npub"))this.error='The key value must be a "nsec" value. You entered "npub", which is your public key.';else{this.privateKeyHex=this.privateKey.startsWith("nsec")?wa.decode(this.privateKey).data:this.privateKey;try{this.publicKeyHex=ap(this.privateKeyHex),this.publicKey=wa.npubEncode(this.publicKeyHex)}catch(t){this.error=t.message}}else this.publicKey=""}}function qpe(i,t){if(1&i){const e=Je();_(0,"mat-card",11)(1,"mat-card-content")(2,"h1"),N(3,"Who are you?"),F(),_(4,"p"),N(5,"Add some (optional) basics about yourself. This information will be public."),F(),_(6,"p")(7,"mat-form-field",12)(8,"mat-icon",13),N(9,"badge"),F(),_(10,"mat-label"),N(11,"Display Name"),F(),_(12,"input",14),pe("ngModelChange",function(r){return Te(e),Ae(Q().profile.display_name=r)}),F()()(),_(13,"p")(14,"mat-form-field",12)(15,"mat-icon",13),N(16,"alternate_email"),F(),_(17,"mat-label"),N(18,"Nickname"),F(),_(19,"input",14),pe("ngModelChange",function(r){return Te(e),Ae(Q().profile.name=r)}),F()()(),_(20,"p")(21,"mat-form-field",12)(22,"mat-icon",13),N(23,"help_outline"),F(),_(24,"mat-label"),N(25,"About"),F(),_(26,"textarea",15),pe("ngModelChange",function(r){return Te(e),Ae(Q().profile.about=r)}),F()()(),_(27,"p")(28,"mat-form-field",12)(29,"mat-icon",13),N(30,"image"),F(),_(31,"mat-label"),N(32,"Profile Image"),F(),_(33,"input",14),pe("ngModelChange",function(r){return Te(e),Ae(Q().profile.picture=r)}),F()()(),_(34,"p")(35,"mat-form-field",12)(36,"mat-icon",13),N(37,"how_to_reg"),F(),_(38,"mat-label"),N(39,"E-mail/Domain Identifier (NIP05)"),F(),_(40,"input",14),pe("ngModelChange",function(r){return Te(e),Ae(Q().profile.nip05=r)}),F()()(),_(41,"div",16)(42,"button",17),pe("click",function(){return Te(e),Ae(Q().step=2)}),N(43,"Continue"),F()()()()}if(2&i){const e=Q();E(12),S("ngModel",e.profile.display_name),E(7),S("ngModel",e.profile.name),E(7),S("ngModel",e.profile.about),E(7),S("ngModel",e.profile.picture),E(7),S("ngModel",e.profile.nip05)}}function $pe(i,t){if(1&i){const e=Je();_(0,"mat-card",11)(1,"mat-card-content")(2,"h1"),N(3,"Your secret recovery phrase"),F(),_(4,"p",18),N(5),F(),Ce(6,"br"),_(7,"button",19)(8,"mat-icon"),N(9,"content_copy"),F(),N(10," Copy "),F(),Ce(11,"br")(12,"br"),_(13,"p",20),N(14,"This is your private and secret sentence. You must store it safely, if you lose it, you will lose access to your account. Nobody can recover it for you."),F(),_(15,"p"),N(16,"Keep it safe, keep it hidden."),F(),_(17,"div",16)(18,"button",17),pe("click",function(){return Te(e),Ae(Q().step=1)}),N(19,"Back"),F(),_(20,"button",17),pe("click",function(){return Te(e),Ae(Q().step=3)}),N(21,"Continue"),F()()()()}if(2&i){const e=Q();E(5),yt(e.mnemonic),E(2),S("cdkCopyToClipboard",e.mnemonic)}}function Kpe(i,t){if(1&i){const e=Je();_(0,"mat-card",11)(1,"mat-card-content")(2,"h1"),N(3,"Private and Public Keys"),F(),N(4," Your personal private key:"),Ce(5,"br"),_(6,"p",21),N(7),F(),_(8,"form")(9,"mat-form-field",22)(10,"mat-icon",23),N(11,"person_add"),F(),_(12,"mat-label"),N(13,"Public Key"),F(),_(14,"input",24),pe("ngModelChange",function(r){return Te(e),Ae(Q().publicKey=r)}),F()(),_(15,"mat-form-field",22)(16,"mat-icon",23),N(17,"password"),F(),_(18,"mat-label"),N(19,"Password (optional)"),F(),_(20,"input",25),pe("ngModelChange",function(r){return Te(e),Ae(Q().password=r)}),F()(),Ce(21,"br"),F(),_(22,"p",20),N(23,"From your secret recovery phrase, your public key and private key are derived. Some Nostr clients require the private key to be imported."),F(),_(24,"div",16)(25,"button",17),pe("click",function(){return Te(e),Ae(Q().step=2)}),N(26,"Back"),F(),_(27,"button",17),pe("click",function(){return Te(e),Ae(Q().persistKey())}),N(28,"Save and Log In"),F()()()()}if(2&i){const e=Q();E(7),yt(e.privateKey),E(7),S("readonly",!0)("ngModel",e.publicKey),E(6),S("ngModel",e.password)}}n1.\u0275fac=function(t){return new(t||n1)(k(La),k(Dl),k(qn),k(Qc))},n1.\u0275cmp=qe({type:n1,selectors:[["app-login"]],decls:40,vars:2,consts:[[1,"connect-container"],[1,"connect-menu","mat-app-background"],["routerLink","/connect"],["width","128","height","128","src","assets/icons/icon-256x256.webp",1,"connect-logo"],[1,"logo-text"],[1,"hide-tiny"],[1,"connect-spacer"],["mat-icon-button","",1,"theme-toggle",3,"click"],["aria-label","Menu",1,"material-icons"],[1,"connect-content"],[1,"card","first-card"],["mat-flat-button","","color","accent",1,"start-button","full-button",3,"click"],[1,"description"],["href","https://chrome.google.com/webstore/detail/blockcore-wallet/peigonhbenoefaeplkpalmafieegnapj","target","_blank"],["disabled","disabled","mat-flat-button","","color","accent",1,"start-button","full-button"],["href","https://github.com/nostr-connect/nostrum","target","_blank"],["routerLink","/connect/key","mat-flat-button","","color","accent",1,"start-button","full-button"],[4,"ngIf"],["appearance","fill",1,"input-full-width"],["matPrefix","",1,"circle"],["matInput","","type","text",3,"ngModel","ngModelChange"],["color","primary","mat-raised-button","",1,"skip-button",3,"click"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"div",1)(2,"a",2),Ce(3,"img",3),F(),_(4,"div",4)(5,"span",5),N(6,"Blockcore"),F(),N(7," Notes"),F(),Ce(8,"div",6),_(9,"button",7),pe("click",function(){return e.theme.darkMode=!e.theme.darkMode}),_(10,"mat-icon",8),N(11),F()()(),_(12,"div",9)(13,"mat-card",10)(14,"mat-card-content")(15,"h1"),N(16,"Log in"),F(),_(17,"p"),N(18,"If you already have an existing Nostr profile, you can restore it on Notes with these options."),F(),_(19,"button",11),pe("click",function(){return e.connect()}),N(20,"Connect using extension"),F(),_(21,"div",12),N(22," Good security. Requires the Nostr extension to be installed, like "),_(23,"a",13),N(24,"Blockcore Wallet"),F()(),_(25,"button",14),N(26,"Nostr connect (Coming soon)"),F(),_(27,"div",12),N(28,"Great security. Use an app like "),_(29,"a",15),N(30,"Nostrum"),F()(),_(31,"button",16),N(32,"Private Key"),F(),_(33,"div",12),N(34,"Enter a private key or recovery phrase. Stored encrypted with password. Less secure option."),F(),_(35,"button",11),pe("click",function(){return e.readOnlyLogin=!e.readOnlyLogin}),N(36,"Public Key"),F(),_(37,"div",12),N(38,"Very secure. Enter a public key for read-only login."),F(),ee(39,Gpe,14,1,"div",17),F()()()()),2&t&&(E(11),yt(e.theme.darkMode?"dark_mode":"light_mode"),E(28),S("ngIf",e.readOnlyLogin))},dependencies:[ri,va,Do,Oa,eo,Kc,ur,bo,Pa,oc,Qn,xa,ua,Ca],styles:[".connect-container[_ngcontent-%COMP%]{width:100%;height:100vh;display:flex;flex-direction:column}.connect-menu[_ngcontent-%COMP%]{position:fixed;height:80px;width:100%;padding:1em;display:flex;z-index:1000;box-sizing:border-box}.connect-logo[_ngcontent-%COMP%]{flex-grow:1}.logo-text[_ngcontent-%COMP%]{font-size:1.6em;margin-left:140px;font-weight:700}.connect-spacer[_ngcontent-%COMP%]{flex-grow:3}.connect-button[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:0;align-self:flex-end}.start-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em;margin-bottom:.2em;background-color:#9f0771!important}.start-button-consent[_ngcontent-%COMP%]{background-color:#fff!important;color:#000!important}.start-button-consent[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{color:#fff!important}.start-button-login[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{min-width:300px}.theme-toggle[_ngcontent-%COMP%]{margin-right:.2em}.skip-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em}.connect-content[_ngcontent-%COMP%]{flex-grow:2;margin-top:80px;background:transparent url(/assets/bg.jpg) no-repeat right center;background-size:cover;background-attachment:fixed}.card[_ngcontent-%COMP%]{border-radius:10px;margin:2em 2em 2em 11em;padding:4em}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:1em;margin-bottom:1em}.card[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-bottom:1.4em}.consent-card[_ngcontent-%COMP%]{margin-bottom:2em}.warn[_ngcontent-%COMP%]{background-color:#9f0771}@keyframes _ngcontent-%COMP%_float{0%{transform:perspective(400px) rotateY(0)}50%{transform:perspective(400px) rotateY(30deg)}to{transform:perspective(400px) rotateY(0)}}.consent-required[_ngcontent-%COMP%]{padding:2em}.connect-logo[_ngcontent-%COMP%]{position:fixed;width:128px;height:128px;margin-top:0;margin-left:0;transform:translate3d(-50%,-50%,0);animation:_ngcontent-%COMP%_float 6s ease-in-out infinite;z-index:10000}.card-image[_ngcontent-%COMP%]{padding:0!important}.card-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:10px;width:100%;height:auto}@media only screen and (min-width: 1360px){.card[_ngcontent-%COMP%]{max-width:944px;margin-right:auto!important;margin-left:auto!important}}@media only screen and (min-width: 1024px){.card[_ngcontent-%COMP%]{margin-right:11em}}@media only screen and (max-width: 760px){.connect-logo[_ngcontent-%COMP%]{width:96px;height:96px;margin-top:1em;margin-left:1em}.card[_ngcontent-%COMP%]{font-size:.8em;margin-left:2em;margin-right:2em;padding:2em}}@media only screen and (max-width: 700px){.hide-tiny[_ngcontent-%COMP%]{display:none}.connect-logo[_ngcontent-%COMP%]{width:64px;height:64px;margin-top:-.47em;margin-left:0}.logo-text[_ngcontent-%COMP%]{margin-left:84px;margin-top:.6em;font-size:1.2em}}@media only screen and (max-width: 600px){.card[_ngcontent-%COMP%]{margin-left:.2em;margin-right:.2em;padding:0}}@media only screen and (max-width: 400px){.connect-button[_ngcontent-%COMP%]{display:none}}.full-button[_ngcontent-%COMP%]{width:100%;border-radius:10px;padding:2em}.description[_ngcontent-%COMP%]{margin-top:.4em;text-align:center;font-size:.85em;margin-bottom:1.4em}",".public-key[_ngcontent-%COMP%]{margin-bottom:1em;word-wrap:break-word}.error[_ngcontent-%COMP%]{margin-bottom:1em;color:red}"]});class r1{constructor(t,e,n,r,a,o,c){this.utilities=t,this.dataService=e,this.profileService=n,this.authService=r,this.theme=a,this.router=o,this.security=c,this.privateKey="",this.privateKeyHex="",this.publicKey="",this.publicKeyHex="",this.password="",this.error="",this.profile={},this.step=1,this.mnemonic=""}ngOnInit(){this.mnemonic=av.generateSeedWords(),this.privateKeyHex=av.privateKeyFromSeedWords(this.mnemonic),this.privateKey=wa.nsecEncode(this.privateKeyHex),this.updatePublicKey()}connect(){var t=this;return Se(function*(){(yield t.authService.login()).authenticated()&&t.router.navigateByUrl("/")})()}anonymous(t){var e=this;return Se(function*(){(yield e.authService.anonymous(t)).authenticated()&&e.router.navigateByUrl("/")})()}persistKey(){var t=this;return Se(function*(){setTimeout(Se(function*(){if(!t.privateKeyHex||!t.publicKeyHex)return;const e=yield t.security.encryptData(t.privateKeyHex,t.password),n=yield t.security.decryptData(e,t.password);if(t.privateKeyHex==n){localStorage.setItem("blockcore:notes:nostr:prvkey",e),localStorage.setItem("blockcore:notes:nostr:pubkey",t.publicKeyHex),t.profile.npub=t.publicKey,t.profile.pubkey=t.publicKeyHex;const r=t.utilities.reduceProfile(t.profile);let a=t.dataService.createEventWithPubkey($n.Metadata,JSON.stringify(r),t.publicKeyHex),o=a;o.id=yield jd(a),zd(o)||(t.error="Unable to validate the event. Cannot continue.");const c=zk(o,t.privateKeyHex);o.sig=c,t.mnemonic="",t.privateKey="",t.privateKeyHex="",t.publicKey="",t.publicKeyHex="",t.password="",t.profile=null,t.profileService.newProfileEvent=o,t.router.navigateByUrl("/")}else t.error="Unable to encrypt and decrypt. Cannot continue.",console.error(t.error)}),10)})()}updatePublicKey(){if(this.error="",this.publicKey="",this.privateKeyHex="",this.privateKey)if(this.privateKey.startsWith("npub"))this.error='The key value must be a "nsec" value. You entered "npub", which is your public key.';else{this.privateKeyHex=this.privateKey.startsWith("nsec")?wa.decode(this.privateKey).data:this.privateKey;try{this.publicKeyHex=ap(this.privateKeyHex),this.publicKey=wa.npubEncode(this.publicKeyHex)}catch(t){this.error=t.message}}else this.publicKey=""}}function Qpe(i,t){if(1&i){const e=Je();_(0,"mat-chip-row",5),pe("removed",function(){const a=Te(e).$implicit;return Ae(Q().remove(a))})("edited",function(r){const o=Te(e).$implicit;return Ae(Q().edit(o,r))}),N(1),_(2,"button",6)(3,"mat-icon"),N(4,"cancel"),F()()()}if(2&i){const e=t.$implicit;S("editable",!0)("aria-description","press enter to edit "+e),E(1),Gt(" ",e," "),E(1),It("aria-label","remove "+e)}}r1.\u0275fac=function(t){return new(t||r1)(k(an),k(Ba),k(Hn),k(La),k(Dl),k(qn),k(Qc))},r1.\u0275cmp=qe({type:r1,selectors:[["app-create"]],decls:16,vars:4,consts:[[1,"connect-container"],[1,"connect-menu","mat-app-background"],["routerLink","/connect"],["width","128","height","128","src","assets/icons/icon-256x256.webp",1,"connect-logo"],[1,"logo-text"],[1,"hide-tiny"],[1,"connect-spacer"],["mat-icon-button","",1,"theme-toggle",3,"click"],["aria-label","Menu",1,"material-icons"],[1,"connect-content"],["class","card",4,"ngIf"],[1,"card"],[1,"input-full-width"],["matPrefix",""],["matInput","","type","text",3,"ngModel","ngModelChange"],["matInput","","type","text","rows","3",3,"ngModel","ngModelChange"],[1,"connect-action"],["mat-raised-button","","color","primary",1,"start-button",3,"click"],[1,"recovery-phrase"],["color","primary","mat-fab","","extended","",3,"cdkCopyToClipboard"],[1,"dimmed"],[1,"wrap"],["appearance","fill",1,"input-full-width","connect-input"],["matPrefix","",1,"circle"],["autocomplete","username","name","email","placeholder","npub...","matInput","","type","email",3,"readonly","ngModel","ngModelChange"],["matInput","","type","password","autocomplete","current-password","name","password",3,"ngModel","ngModelChange"]],template:function(t,e){1&t&&(_(0,"div",0)(1,"div",1)(2,"a",2),Ce(3,"img",3),F(),_(4,"div",4)(5,"span",5),N(6,"Blockcore"),F(),N(7," Notes"),F(),Ce(8,"div",6),_(9,"button",7),pe("click",function(){return e.theme.darkMode=!e.theme.darkMode}),_(10,"mat-icon",8),N(11),F()()(),_(12,"div",9),ee(13,qpe,44,5,"mat-card",10),ee(14,$pe,22,2,"mat-card",10),ee(15,Kpe,29,4,"mat-card",10),F()()),2&t&&(E(11),yt(e.theme.darkMode?"dark_mode":"light_mode"),E(2),S("ngIf",1==e.step),E(1),S("ngIf",2==e.step),E(1),S("ngIf",3==e.step))},dependencies:[ri,va,Do,Oa,eo,Kc,ur,bo,K5,Pa,oc,Qn,qu,xa,ua,Wu,Ca,$c,eR],styles:[".connect-container[_ngcontent-%COMP%]{width:100%;height:100vh;display:flex;flex-direction:column}.connect-menu[_ngcontent-%COMP%]{position:fixed;height:80px;width:100%;padding:1em;display:flex;z-index:1000;box-sizing:border-box}.connect-logo[_ngcontent-%COMP%]{flex-grow:1}.logo-text[_ngcontent-%COMP%]{font-size:1.6em;margin-left:140px;font-weight:700}.connect-spacer[_ngcontent-%COMP%]{flex-grow:3}.connect-button[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:0;align-self:flex-end}.start-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em;margin-bottom:.2em;background-color:#9f0771!important}.start-button-consent[_ngcontent-%COMP%]{background-color:#fff!important;color:#000!important}.start-button-consent[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{color:#fff!important}.start-button-login[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{min-width:300px}.theme-toggle[_ngcontent-%COMP%]{margin-right:.2em}.skip-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em}.connect-content[_ngcontent-%COMP%]{flex-grow:2;margin-top:80px;background:transparent url(/assets/bg.jpg) no-repeat right center;background-size:cover;background-attachment:fixed}.card[_ngcontent-%COMP%]{border-radius:10px;margin:2em 2em 2em 11em;padding:4em}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:1em;margin-bottom:1em}.card[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-bottom:1.4em}.consent-card[_ngcontent-%COMP%]{margin-bottom:2em}.warn[_ngcontent-%COMP%]{background-color:#9f0771}@keyframes _ngcontent-%COMP%_float{0%{transform:perspective(400px) rotateY(0)}50%{transform:perspective(400px) rotateY(30deg)}to{transform:perspective(400px) rotateY(0)}}.consent-required[_ngcontent-%COMP%]{padding:2em}.connect-logo[_ngcontent-%COMP%]{position:fixed;width:128px;height:128px;margin-top:0;margin-left:0;transform:translate3d(-50%,-50%,0);animation:_ngcontent-%COMP%_float 6s ease-in-out infinite;z-index:10000}.card-image[_ngcontent-%COMP%]{padding:0!important}.card-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:10px;width:100%;height:auto}@media only screen and (min-width: 1360px){.card[_ngcontent-%COMP%]{max-width:944px;margin-right:auto!important;margin-left:auto!important}}@media only screen and (min-width: 1024px){.card[_ngcontent-%COMP%]{margin-right:11em}}@media only screen and (max-width: 760px){.connect-logo[_ngcontent-%COMP%]{width:96px;height:96px;margin-top:1em;margin-left:1em}.card[_ngcontent-%COMP%]{font-size:.8em;margin-left:2em;margin-right:2em;padding:2em}}@media only screen and (max-width: 700px){.hide-tiny[_ngcontent-%COMP%]{display:none}.connect-logo[_ngcontent-%COMP%]{width:64px;height:64px;margin-top:-.47em;margin-left:0}.logo-text[_ngcontent-%COMP%]{margin-left:84px;margin-top:.6em;font-size:1.2em}}@media only screen and (max-width: 600px){.card[_ngcontent-%COMP%]{margin-left:.2em;margin-right:.2em;padding:0}}@media only screen and (max-width: 400px){.connect-button[_ngcontent-%COMP%]{display:none}}.full-button[_ngcontent-%COMP%]{width:100%;border-radius:10px;padding:2em}.description[_ngcontent-%COMP%]{margin-top:.4em;text-align:center;font-size:.85em;margin-bottom:1.4em}",".public-key[_ngcontent-%COMP%]{margin-bottom:1em;word-wrap:break-word}.error[_ngcontent-%COMP%]{margin-bottom:1em;color:red}.full-button[_ngcontent-%COMP%]{width:100%;border-radius:10px;padding:2em}.description[_ngcontent-%COMP%]{margin-top:.4em;text-align:center;font-size:.85em;margin-bottom:1.4em}.start-button[_ngcontent-%COMP%]{margin-right:.62em}.connect-action[_ngcontent-%COMP%]{text-align:right}.recovery-phrase[_ngcontent-%COMP%]{font-size:1.4em;word-spacing:.8em}"]});class a1{constructor(){this.addOnBlur=!0,this.separatorKeysCodes=[13,188],this.tags=[]}add(t){const e=(t.value||"").trim();e&&this.tags.push(e),t.chipInput.clear()}remove(t){const e=this.tags.indexOf(t);e>=0&&this.tags.splice(e,1)}edit(t,e){const n=e.value.trim();if(!n)return void this.remove(t);const r=this.tags.indexOf(t);r>=0&&(this.tags[r]=n)}}function Zpe(i,t){if(1&i&&(_(0,"mat-option",14),N(1),F()),2&i){const e=t.$implicit;S("value",e.slug),E(1),yt(e.name)}}function Xpe(i,t){if(1&i){const e=Je();_(0,"mat-form-field",11)(1,"mat-label"),N(2,"Existing badge designs"),F(),_(3,"mat-select",12),pe("valueChange",function(r){return Te(e),Ae(Q().selectedBadge=r)})("selectionChange",function(){return Te(e),Ae(Q().changedArticle())}),Ce(4,"mat-option"),ee(5,Zpe,2,2,"mat-option",13),F()()}if(2&i){const e=Q();E(3),S("value",e.selectedBadge),E(2),S("ngForOf",e.badgeService.definitions)}}function Jpe(i,t){if(1&i){const e=Je();_(0,"form",15),pe("ngSubmit",function(){return Te(e),Ae(Q().onSubmitArticle())}),_(1,"div",16)(2,"mat-form-field",17)(3,"mat-label"),N(4,"Name"),F(),Ce(5,"input",18,19),F(),_(7,"mat-form-field",17)(8,"mat-label"),N(9,"URL (slug)"),F(),_(10,"input",20,19),pe("blur",function(){return Te(e),Ae(Q().formatSlug())}),F()(),_(12,"mat-form-field",17)(13,"mat-label"),N(14,"Description"),F(),Ce(15,"textarea",21),F(),_(16,"mat-form-field",17)(17,"mat-label"),N(18,"Badge Graphics (1024x1024)"),F(),Ce(19,"input",22,19),F(),_(21,"mat-form-field",17)(22,"mat-label"),N(23,"Badge Thumbnail"),F(),Ce(24,"input",23,19),F(),Ce(26,"app-tags",24),F(),_(27,"div",25)(28,"button",26),pe("click",function(){return Te(e),Ae(Q().onCancel())}),N(29,"Cancel"),F(),N(30,"\xa0 "),_(31,"button",27),N(32,"Publish Badge Design"),F()()()}if(2&i){const e=Q();S("formGroup",e.form),E(26),S("tags",e.badge.hashtags),E(5),S("disabled",!e.form.valid)}}a1.\u0275fac=function(t){return new(t||a1)},a1.\u0275cmp=qe({type:a1,selectors:[["app-tags"]],inputs:{tags:"tags"},decls:7,vars:4,consts:[[1,"tags-chip-list"],["aria-label","Enter tags"],["chipGrid",""],[3,"editable","aria-description","removed","edited",4,"ngFor","ngForOf"],["placeholder","New tag...",3,"matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur","matChipInputTokenEnd"],[3,"editable","aria-description","removed","edited"],["matChipRemove",""]],template:function(t,e){if(1&t&&(_(0,"mat-form-field",0)(1,"mat-label"),N(2,"Tags"),F(),_(3,"mat-chip-grid",1,2),ee(5,Qpe,5,4,"mat-chip-row",3),_(6,"input",4),pe("matChipInputTokenEnd",function(r){return e.add(r)}),F()()()),2&t){const n=Li(4);E(5),S("ngForOf",e.tags),E(1),S("matChipInputFor",n)("matChipInputSeparatorKeyCodes",e.separatorKeysCodes)("matChipInputAddOnBlur",e.addOnBlur)}},dependencies:[vn,Oa,eo,Qn,vO,wO,yO,$D],styles:[".tags-chip-list[_ngcontent-%COMP%]{width:100%}"]});class o1{constructor(t,e,n,r,a,o,c,h,f,x){this.snackBar=t,this.badgeService=e,this.queueService=n,this.utilities=r,this.appState=a,this.eventService=o,this.location=c,this.fb=h,this.navigation=f,this.profileService=x,this.form=this.fb.group({name:["",Oo.required],description:["",Oo.required],image:["",Oo.required],thumb:[""],slug:["",Oo.required]}),this.note="",this.badge={name:"",description:"",image:"",thumb:"",slug:"",hashtags:["Collectible","Membership","Recognition"]},this.title="",this.summary="",this.eventType="badge",this.dateControl=new Gu(null),this.subscriptions=[],this.selectedBadge=""}ngOnInit(){this.appState.updateTitle("Create a badge design"),this.appState.showBackButton=!0,this.appState.showLogo=!0,this.appState.actions=[],this.minDate=Date.now(),this.form.valueChanges.subscribe(t=>{this.updateBadge()}),this.queueService.enque(this.appState.getPublicKey(),"BadgeDefinition"),this.subscriptions.push(this.form.controls.name.valueChanges.subscribe(t=>{t&&this.form.controls.slug.setValue(this.createSlug(t))})),this.badgeService.selectedBadge&&(this.selectedBadge=this.badgeService.selectedBadge.slug,this.changedArticle(),this.badgeService.selectedBadge=void 0)}changedArticle(){let t=this.badgeService.selectedBadge||this.badgeService.getDefinition(this.selectedBadge);if(!t)return this.form.reset(),void(this.badge.hashtags=["Collectible","Membership","Recognition"]);null==t.name&&(t.name=""),null==t.image&&(t.image=""),null==t.thumb&&(t.thumb=""),null==t.description&&(t.description=""),this.form.setValue({name:t.name,description:t.description,image:t.image,thumb:t.thumb,slug:t.slug?t.slug:""}),this.updateBadge(t)}updateBadge(t){this.badge.name=this.form.controls.name.value,this.badge.description=this.form.controls.description.value,this.badge.slug=this.form.controls.slug.value,this.badge.image=this.form.controls.image.value,this.badge.thumb=this.form.controls.thumb.value,t&&(this.badge.hashtags=this.eventService.hashTags(t))}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}noteTypeChanged(){"badge"==this.eventType&&this.queueService.enque(this.appState.getPublicKey(),"BadgeDefinition")}createSlug(t){return(t=(t=t.toLowerCase()).replace(/[\s\W]+/g,"-")).replace(/^-+|-+$/g,"")}formatSlug(){this.form.controls.slug.setValue(this.createSlug(this.form.controls.slug.value))}onSubmitArticle(){var t=this;return Se(function*(){const e=t.form.controls,n={name:e.name.value,description:e.description.value,image:e.image.value,thumb:e.thumb.value,slug:e.slug.value,hashtags:t.badge.hashtags};yield t.navigation.saveBadgeDefinition(n),t.snackBar.open("Badge design was published. Notes does not support viewing badge designs yet.","Hide",{duration:2e3,horizontalPosition:"center",verticalPosition:"bottom"})})()}onCancel(){this.note="",this.location.back()}}function ege(i,t){if(1&i){const e=Je();_(0,"p")(1,"button",8),pe("click",function(){Te(e);const r=Q(3);return Ae(r.showIssuing=!r.showIssuing)}),N(2,"ISSUE BADGE"),F(),_(3,"button",8),pe("click",function(){Te(e);const r=Q().$implicit;return Ae(Q(2).edit(r))}),N(4,"EDIT"),F()()}}function tge(i,t){if(1&i){const e=Je();_(0,"div")(1,"mat-form-field",9)(2,"mat-label"),N(3,"Pub Key (hex format only, line separated, add relay comma separated at the end)"),F(),_(4,"textarea",10),pe("ngModelChange",function(r){return Te(e),Ae(Q(3).pubkeys=r)}),F()(),Ce(5,"br"),_(6,"button",11),pe("click",function(){Te(e);const r=Q().$implicit;return Ae(Q(2).issueBadge(r))}),N(7,"Publish Badge Reward"),F()()}if(2&i){const e=Q(3);E(4),S("ngModel",e.pubkeys),E(2),S("disabled",0==e.pubkeys.length)}}function ige(i,t){if(1&i&&(_(0,"app-badge-card",4),N(1," Created by:\xa0"),Ce(2,"app-profile-name",5)(3,"br"),N(4," Last updated: "),Ce(5,"app-date",6),ee(6,ege,5,0,"p",7),ee(7,tge,8,2,"div",7),F()),2&i){const e=t.$implicit,n=Q(2);S("badge",e),E(2),S("pubkey",e.pubkey),E(3),S("date",e.created_at),E(1),S("ngIf",n.appState.getPublicKey()==e.pubkey),E(1),S("ngIf",n.showIssuing)}}function nge(i,t){if(1&i&&(_(0,"div",2),ee(1,ige,8,5,"app-badge-card",3),F()),2&i){const e=Q();E(1),S("ngForOf",e.sub.events)}}o1.\u0275fac=function(t){return new(t||o1)(k(us),k(qc),k(es),k(an),k(Zi),k(Jo),k(Tc),k(CD),k(yo),k(Hn))},o1.\u0275cmp=qe({type:o1,selectors:[["app-editor"]],decls:14,vars:5,consts:[[1,"split-page"],[1,"primary-page"],[1,"note-type"],["name","fontStyle","aria-label","Font Style",3,"ngModel","change","ngModelChange"],["group","matButtonToggleGroup"],["value","badge"],["appearance","fill",4,"ngIf"],[3,"formGroup","ngSubmit",4,"ngIf"],[1,"secondary-page"],[1,"marginless"],[3,"badge","preview"],["appearance","fill"],[3,"value","valueChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[3,"formGroup","ngSubmit"],["mat-dialog-content","",1,"mat-dialog-content"],[1,"input-full-width"],["matInput","","formControlName","name","placeholder","Ex. Medal of Bravery..."],["message",""],["matInput","","placeholder","Ex. bravery (Can only contain - and lower case text)","formControlName","slug",3,"blur"],["appAutoInputHeight","","matInput","","type","text","formControlName","description","rows","2",1,"note-input"],["matInput","","placeholder","Article banner image","formControlName","image"],["matInput","","placeholder","Article banner image","formControlName","thumb"],[3,"tags"],["mat-dialog-actions","","align","end",1,"mat-dialog-actions"],["mat-stroked-button","","type","button",3,"click"],["mat-flat-button","","type","submit","color","primary",3,"disabled"]],template:function(t,e){if(1&t&&(_(0,"div",0)(1,"div",1)(2,"div",2)(3,"mat-button-toggle-group",3,4),pe("change",function(){return e.noteTypeChanged()})("ngModelChange",function(r){return e.eventType=r}),_(5,"mat-button-toggle",5),N(6,"Badge"),F()()(),ee(7,Xpe,6,2,"mat-form-field",6),ee(8,Jpe,33,3,"form",7),F(),_(9,"div",8)(10,"h2",9),N(11,"Badge Design Preview"),F(),Ce(12,"br")(13,"app-badge-card",10),F()()),2&t){const n=Li(4);E(3),S("ngModel",e.eventType),E(4),S("ngIf","badge"==n.value),E(1),S("ngIf","badge"==n.value),E(5),S("badge",e.badge)("preview",!0)}},dependencies:[vn,ri,Do,Oa,eo,ur,y0,ku,qu,xa,ua,Wu,Ca,Wd,H_,tc,Vc,vM,wM,Fm,xm,a1],styles:["h1[_ngcontent-%COMP%]{margin-top:0}.input-full-width[_ngcontent-%COMP%]{width:100%!important}.toolbar[_ngcontent-%COMP%]{display:flex;margin-bottom:5px;margin-top:3px}.toolbar-icon[_ngcontent-%COMP%]{cursor:pointer}.toolbar-icon[_ngcontent-%COMP%]:hover{color:#9c27b0}.margin-right[_ngcontent-%COMP%]{margin-right:5px}.picker[_ngcontent-%COMP%]{display:block;position:fixed;z-index:3}.note-type[_ngcontent-%COMP%]{text-align:right;margin-bottom:1em}@media only screen and (max-width: 599px){h1[_ngcontent-%COMP%]{font-size:1.8em}}.text-editor[_ngcontent-%COMP%]{border:1px lightgrey solid;min-height:88px;padding:1em}"]});class Op{constructor(t,e,n,r,a,o,c,h){this.snackBar=t,this.relayService=e,this.badgeService=n,this.appState=r,this.activatedRoute=a,this.router=o,this.navigation=c,this.utilities=h,this.showIssuing=!1,this.pubkeys="",this.subscriptions=[]}ngOnDestroy(){this.relayService.unsubscribe(this.sub.id),this.utilities.unsubscribe(this.subscriptions)}edit(t){this.badgeService.selectedBadge=t,this.router.navigateByUrl("/editor/badges")}issueBadge(t){var e=this;return Se(function*(){const n=e.pubkeys.split(/\r?\n/),r=[];for(let a=0;a<n.length;a++){const o=n[a];if(o.indexOf(",")){const c=o.split(",");r.push({pubkey:c[0],relay:c[1]})}else r.push({pubkey:o})}yield e.navigation.issueBadge(t.slug,r),e.showIssuing=!1,e.pubkeys="",e.snackBar.open("Badge has been issued","Hide",{duration:2500,horizontalPosition:"center",verticalPosition:"bottom"})})()}ngOnInit(){var t=this;this.appState.updateTitle("Badge"),this.appState.showBackButton=!0,this.subscriptions.push(this.activatedRoute.paramMap.subscribe(function(){var e=Se(function*(n){const r=n.get("id");if(!r)return void t.router.navigateByUrl("/");if(r.startsWith("naddr")){const c=wa.decode(r);if(console.log(c),"naddr"==c.type){const h=c.data;if(30009==h.kind)return void t.router.navigate(["/b",h.pubkey,h.identifier])}}const a=r,o=n.get("slug");o&&(console.log("pubkey",a),console.log("identifier",o),t.sub=t.relayService.download([{kinds:[30009],authors:[a],"#d":[o]}],void 0,"Replaceable"))});return function(n){return e.apply(this,arguments)}}()))}}Op.\u0275fac=function(t){return new(t||Op)(k(us),k(Mo),k(qc),k(Zi),k(ds),k(qn),k(yo),k(an))},Op.\u0275cmp=qe({type:Op,selectors:[["app-badge"]],decls:2,vars:1,consts:[[1,"page"],["class","badges",4,"ngIf"],[1,"badges"],[3,"badge",4,"ngFor","ngForOf"],[3,"badge"],[3,"pubkey"],[3,"date"],[4,"ngIf"],["mat-stroked-button","",1,"badge-card-button",3,"click"],[1,"input-full-width"],["appAutoInputHeight","","matInput","","type","text","rows","2",1,"note-input",3,"ngModel","ngModelChange"],["mat-flat-button","","type","button","color","primary",3,"disabled","click"]],template:function(t,e){1&t&&(_(0,"div",0),ee(1,nge,2,1,"div",1),F()),2&t&&(E(1),S("ngIf",e.sub.events))},dependencies:[vn,ri,Do,Oa,eo,ur,xa,ua,Ca,gm,id,Fm,xm]});const rge=[{path:"",component:d0,canActivate:[Zn],resolve:{data:tr}},{path:"connect",component:J_},{path:"connect/key",component:Z0},{path:"connect/login",component:n1},{path:"connect/create",component:r1},{path:"feed",component:Lp,canActivate:[Zn],resolve:{data:tr}},{path:"feed/:circle",component:Lp,canActivate:[Zn],resolve:{data:tr}},{path:"notes",component:p0,canActivate:[Zn],resolve:{data:tr}},{path:"circles",component:E0,canActivate:[Zn],resolve:{data:tr}},{path:"notifications",component:$0,canActivate:[Zn],resolve:{data:tr}},{path:"people",component:A0,canActivate:[Zn],resolve:{data:tr}},{path:"chat",component:B0,canActivate:[Zn],resolve:{data:tr}},{path:"m",component:U0,canActivate:[Zn],resolve:{data:tr}},{path:"m/:id",component:W0,canActivate:[Zn],resolve:{data:tr}},{path:"profile",component:_0,canActivate:[Zn],resolve:{data:tr}},{path:"badges/:id",component:t1,canActivate:[Zn],resolve:{data:tr}},{path:"user/:id",component:iu,canActivate:[Zn],resolve:{data:tr}},{path:"editor",component:J0,canActivate:[Zn],resolve:{data:tr}},{path:"editor/badges",component:o1,canActivate:[Zn],resolve:{data:tr}},{path:"note/:id",component:Ep,canActivate:[Zn],resolve:{data:tr}},{path:"p/:id",component:iu,canActivate:[Zn],resolve:{data:tr}},{path:"b/:id",component:Op,canActivate:[Zn],resolve:{data:tr}},{path:"b/:id/:slug",component:Op,canActivate:[Zn],resolve:{data:tr}},{path:"e/:id",component:Ep,canActivate:[Zn],resolve:{data:tr}},{path:"a/:id",component:Np,canActivate:[Zn],resolve:{data:tr}},{path:"a/:id/:slug",component:Np,canActivate:[Zn],resolve:{data:tr}},{path:"followers/:id",component:Y0,canActivate:[Zn],resolve:{data:tr}},{path:"following/:id",component:V0,canActivate:[Zn],resolve:{data:tr}},{path:"about",component:t0,canActivate:[Zn],resolve:{data:tr}},{path:"about/licenses",component:I0,canActivate:[Zn],resolve:{data:tr}},{path:"settings",component:F0,canActivate:[Zn],resolve:{data:tr}},{path:"relays",component:e1,canActivate:[Zn],resolve:{data:tr}},{path:"development",component:q0,canActivate:[Zn],resolve:{data:tr}},{path:"queue",component:z0,canActivate:[Zn],resolve:{data:tr}},{path:"logout",component:u0}];class Rp{}Rp.\u0275fac=function(t){return new(t||Rp)},Rp.\u0275mod=Dt({type:Rp}),Rp.\u0275inj=St({imports:[L5.forRoot(rge,{scrollOffset:[0,0],scrollPositionRestoration:"enabled",anchorScrolling:"enabled"}),L5]});var cP=I(1781);class age{constructor(){this.prefix="web+nostr:"}removeHandler(t){return t.indexOf("://")>-1?t.substring(t.indexOf("://")+3):t}decode(t){if(!t.startsWith(this.prefix))throw new Error("Invalid Nostr URI: "+t);var e=t.slice(this.prefix.length,t.indexOf(":",this.prefix.length)).toLowerCase(),r=t.slice(this.prefix.length+e.length+1).split("?"),a=r[0];let o;return a.indexOf("/")>-1&&(a=a.substring(0,a.length-1)),r.length>1&&(o=cP.parse(r[1])),{address:a,scheme:e,options:o}}transform(t){const e=t.address,n=t.scheme,r=t;return delete r.address,delete r.scheme,{address:e,scheme:n,options:r}}encode(t){var e=cP.stringify(t.options);return t.scheme+":"+t.address+(e?"?":"")+e}}const lh=new mt(j),sge={connector:()=>new He};function dP(i,t=sge){const{connector:e}=t;return Jt((n,r)=>{const a=e();sn(i(function oge(i){return new mt(t=>i.subscribe(t))}(a))).subscribe(r),r.add(n.subscribe(a))})}const s1="Service workers are disabled or not supported by this browser";class fw{constructor(t){if(this.serviceWorker=t,t){const n=Ss(t,"controllerchange").pipe(_t(()=>t.controller)),a=Sd(Oc(()=>Ht(t.controller)),n);this.worker=a.pipe(qi(x=>!!x)),this.registration=this.worker.pipe(ia(()=>t.getRegistration()));const f=Ss(t,"message").pipe(_t(x=>x.data)).pipe(qi(x=>x&&x.type)).pipe(function cge(i){return i?t=>dP(i)(t):t=>function lge(i,t){const e=T(i)?i:()=>i;return T(t)?dP(t,{connector:e}):n=>new iy(n,e)}(new He)(t)}());f.connect(),this.events=f}else this.worker=this.events=this.registration=function dge(i){return Oc(()=>Du(new Error(i)))}(s1)}postMessage(t,e){return this.worker.pipe(nn(1),ta(n=>{n.postMessage({action:t,...e})})).toPromise().then(()=>{})}postMessageWithOperation(t,e,n){const r=this.waitForOperationCompleted(n),a=this.postMessage(t,e);return Promise.all([a,r]).then(([,o])=>o)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(t){let e;return e="string"==typeof t?n=>n.type===t:n=>t.includes(n.type),this.events.pipe(qi(e))}nextEventOfType(t){return this.eventsOfType(t).pipe(nn(1))}waitForOperationCompleted(t){return this.eventsOfType("OPERATION_COMPLETED").pipe(qi(e=>e.nonce===t),nn(1),_t(e=>{if(void 0!==e.result)return e.result;throw new Error(e.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let uge=(()=>{class i{get isEnabled(){return this.sw.isEnabled}constructor(e){if(this.sw=e,this.pushManager=null,this.subscriptionChanges=new He,!e.isEnabled)return this.messages=lh,this.notificationClicks=lh,void(this.subscription=lh);this.messages=this.sw.eventsOfType("PUSH").pipe(_t(r=>r.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(_t(r=>r.data)),this.pushManager=this.sw.registration.pipe(_t(r=>r.pushManager));const n=this.pushManager.pipe(ia(r=>r.getSubscription()));this.subscription=Pn(n,this.subscriptionChanges)}requestSubscription(e){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(s1));const n={userVisibleOnly:!0};let r=this.decodeBase64(e.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),a=new Uint8Array(new ArrayBuffer(r.length));for(let o=0;o<r.length;o++)a[o]=r.charCodeAt(o);return n.applicationServerKey=a,this.pushManager.pipe(ia(o=>o.subscribe(n)),nn(1)).toPromise().then(o=>(this.subscriptionChanges.next(o),o))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe(nn(1),ia(n=>{if(null===n)throw new Error("Not subscribed to push notifications.");return n.unsubscribe().then(r=>{if(!r)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(s1))}decodeBase64(e){return atob(e)}}return i.\u0275fac=function(e){return new(e||i)(Fe(fw))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})(),FM=(()=>{class i{get isEnabled(){return this.sw.isEnabled}constructor(e){if(this.sw=e,!e.isEnabled)return this.versionUpdates=lh,this.available=lh,this.activated=lh,void(this.unrecoverable=lh);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.available=this.versionUpdates.pipe(qi(n=>"VERSION_READY"===n.type),_t(n=>({type:"UPDATE_AVAILABLE",current:n.currentVersion,available:n.latestVersion}))),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED"),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(s1));const e=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:e},e)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(s1));const e=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:e},e)}}return i.\u0275fac=function(e){return new(e||i)(Fe(fw))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})();class xM{}const uP=new Ke("NGSW_REGISTER_SCRIPT");function hge(i,t,e,n){return()=>{if(!kd(n)||!("serviceWorker"in navigator)||!1===e.enabled)return;let r;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof e.registrationStrategy)r=e.registrationStrategy();else{const[o,...c]=(e.registrationStrategy||"registerWhenStable:30000").split(":");switch(o){case"registerImmediately":r=Ht(null);break;case"registerWithDelay":r=hP(+c[0]||0);break;case"registerWhenStable":r=c[0]?Pn(mP(i),hP(+c[0])):mP(i);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${e.registrationStrategy}`)}}i.get(Rt).runOutsideAngular(()=>r.pipe(nn(1)).subscribe(()=>navigator.serviceWorker.register(t,{scope:e.scope}).catch(o=>console.error("Service worker registration failed with:",o))))}}function hP(i){return Ht(null).pipe(Zv(i))}function mP(i){return i.get(wd).isStable.pipe(qi(e=>e))}function mge(i,t){return new fw(kd(t)&&!1!==i.enabled?navigator.serviceWorker:void 0)}let fge=(()=>{class i{static register(e,n={}){return{ngModule:i,providers:[{provide:uP,useValue:e},{provide:xM,useValue:n},{provide:fw,useFactory:mge,deps:[xM,Ec]},{provide:Eg,useFactory:hge,deps:[Wr,uP,xM,Ec],multi:!0}]}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[uge,FM]}),i})();class Cm{constructor(t,e){this.updates=t,this.snackBar=e,this.updateClient()}updateClient(){this.updates.versionUpdates.subscribe(t=>{switch(t.type){case"VERSION_DETECTED":console.log(`Downloading new app version: ${t.version.hash}`);break;case"VERSION_READY":console.log(`Current app version: ${t.currentVersion.hash}`),console.log(`New app version ready for use: ${t.latestVersion.hash}`),this.doAppUpdate();break;case"VERSION_INSTALLATION_FAILED":console.log(`Failed to install app version '${t.version.hash}': ${t.error}`)}})}showAppUpdateAlert(){this.snackBar.open("App Update available!","Update",{horizontalPosition:"center",verticalPosition:"bottom"}).onAction().subscribe(()=>{this.doAppUpdate()})}doAppUpdate(){this.updates.activateUpdate().then(()=>document.location.reload())}}Cm.\u0275fac=function(t){return new(t||Cm)(Fe(FM),Fe(us))},Cm.\u0275prov=Qe({token:Cm,factory:Cm.\u0275fac,providedIn:"root"});class km{constructor(t,e){{const n=t.isStable.pipe(Rd(o=>!0===o)),r=function pge(i=0,t=If){return i<0&&(i=0),jg(i,i,t)}(216e5);Sd(n,r).subscribe(Se(function*(){try{const o=yield e.checkForUpdate();console.log(o?"A new version is available.":"Already on the latest version.")}catch(o){console.error("Failed to check for updates:",o)}}))}}}km.\u0275fac=function(t){return new(t||km)(Fe(wd),Fe(FM))},km.\u0275prov=Qe({token:km,factory:km.\u0275fac});class Pp{constructor(t,e,n){this.router=t,this.appState=e,this.profileService=n,this.resultsChanged=new Hi(null),this.results$=this.resultsChanged.asObservable()}search(t){var e=this;return Se(function*(){if(t)if(console.log("Searching for: ",t),t.startsWith("npub")){const n=wa.decode(t);e.resetSearch(),e.router.navigate(["/p",n.data])}else if(t.startsWith("nevent")){const n=wa.decode(t);e.resetSearch(),e.router.navigate(["/p",n.data])}else{const n=yield e.profileService.search(t.toLowerCase());e.updateResults(n),n||(e.resetSearch(),e.router.navigate(["/p",t]))}})()}updateResults(t){this.resultsChanged.next(t)}open(t){console.log("SELECTED:",t),t&&(this.resetSearch(),this.router.navigate(["/p",t.pubkey]))}resetSearch(){this.appState.searchText="",this.appState.showSearch=!1}}Pp.\u0275fac=function(t){return new(t||Pp)(Fe(qn),Fe(Zi),Fe(Hn))},Pp.\u0275prov=Qe({token:Pp,factory:Pp.\u0275fac,providedIn:"root"});const gge=["panel"];function _ge(i,t){if(1&i&&(_(0,"div",0,1),Ft(2),F()),2&i){const e=t.id,n=Q();S("id",n.id)("ngClass",n._classList)("@panelAnimation",n.isOpen?"visible":"hidden"),It("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby(e))}}const bge=["*"],yge=Qa("panelAnimation",[_r("void, hidden",pi({opacity:0,transform:"scaleY(0.8)"})),cr(":enter, hidden => visible",[Gg([lr("0.03s linear",pi({opacity:1})),lr("0.12s cubic-bezier(0, 0, 0.2, 1)",pi({transform:"scaleY(1)"}))])]),cr(":leave, visible => hidden",[lr("0.075s linear",pi({opacity:0}))])]);let vge=0;class wge{constructor(t,e){this.source=t,this.option=e}}const Fge=xl(class{}),fP=new Ke("mat-autocomplete-default-options",{providedIn:"root",factory:function xge(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1}}});let Cge=(()=>{class i extends Fge{get isOpen(){return this._isOpen&&this.showPanel}_setColor(e){this._color=e,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(e){this._autoActiveFirstOption=Ct(e)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(e){this._autoSelectActiveOption=Ct(e)}set classList(e){this._classList=e&&e.length?function VG(i,t=/\s+/){const e=[];if(null!=i){const n=Array.isArray(i)?i:`${i}`.split(t);for(const r of n){const a=`${r}`.trim();a&&e.push(a)}}return e}(e).reduce((n,r)=>(n[r]=!0,n),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(e,n,r,a){super(),this._changeDetectorRef=e,this._elementRef=n,this._defaults=r,this._activeOptionChanges=C.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this._autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this._autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.optionSelected=new lt,this.opened=new lt,this.closed=new lt,this.optionActivated=new lt,this._classList={},this.id="mat-autocomplete-"+vge++,this.inertGroups=a?.SAFARI||!1}ngAfterContentInit(){this._keyManager=new II(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){const n=new wge(this,e);this.optionSelected.emit(n)}_getPanelAriaLabelledby(e){return this.ariaLabel?null:this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_setVisibilityClasses(e){e[this._visibleClass]=this.showPanel,e[this._hiddenClass]=!this.showPanel}_setThemeClasses(e){e["mat-primary"]="primary"===this._color,e["mat-warn"]="warn"===this._color,e["mat-accent"]="accent"===this._color}}return i.\u0275fac=function(e){return new(e||i)(k(ni),k(gt),k(fP),k(Bn))},i.\u0275dir=Oe({type:i,viewQuery:function(e,n){if(1&e&&(Lt(vr,7),Lt(gge,5)),2&e){let r;Ze(r=Xe())&&(n.template=r.first),Ze(r=Xe())&&(n.panel=r.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[ot]}),i})(),kge=(()=>{class i extends Cge{constructor(){super(...arguments),this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=Ct(e),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const e of this.options)e._changeDetectorRef.markForCheck()}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275cmp=qe({type:i,selectors:[["mat-autocomplete"]],contentQueries:function(e,n,r){if(1&e&&(ui(r,IC,5),ui(r,ku,5)),2&e){let a;Ze(a=Xe())&&(n.optionGroups=a),Ze(a=Xe())&&(n.options=a)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{disableRipple:"disableRipple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matAutocomplete"],features:[Nt([{provide:AC,useExisting:i}]),ot],ngContentSelectors:bge,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(e,n){1&e&&(Bi(),ee(0,_ge,3,5,"ng-template"))},dependencies:[qa],styles:[".mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface.mat-mdc-autocomplete-panel{width:100%;max-height:256px;position:static;visibility:hidden;transform-origin:center top;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-autocomplete-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) .mdc-menu-surface.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above .mdc-menu-surface.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[yge]},changeDetection:0}),i})();const Dge={provide:Fa,useExisting:di(()=>gP),multi:!0},pP=new Ke("mat-autocomplete-scroll-strategy"),Ege={provide:pP,deps:[ya],useFactory:function Mge(i){return()=>i.scrollStrategies.reposition()}};let Sge=(()=>{class i{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(e){this._autocompleteDisabled=Ct(e)}constructor(e,n,r,a,o,c,h,f,x,P,$){this._element=e,this._overlay=n,this._viewContainerRef=r,this._zone=a,this._changeDetectorRef=o,this._dir=h,this._formField=f,this._document=x,this._viewportRuler=P,this._defaults=$,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=C.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new He,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=Oc(()=>{const te=this.autocomplete?this.autocomplete.options:null;return te?te.changes.pipe(jr(te),ia(()=>Pn(...te.map(fe=>fe.onSelectionChange)))):this._zone.onStable.pipe(nn(1),ia(()=>this.optionSelections))}),this._scrollStrategy=c}ngAfterViewInit(){const e=this._getWindow();typeof e<"u"&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const e=this._getWindow();typeof e<"u"&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Pn(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(qi(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(qi(()=>this._overlayAttached)):Ht()).pipe(_t(e=>e instanceof p6?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Pn(Ss(this._document,"click"),Ss(this._document,"auxclick"),Ss(this._document,"touchend")).pipe(qi(e=>{const n=Md(e),r=this._formField?this._formField._elementRef.nativeElement:null,a=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&n!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!r||!r.contains(n))&&(!a||!a.contains(n))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(n)}))}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){const n=e.keyCode,r=ba(e);if(27===n&&!r&&e.preventDefault(),this.activeOption&&13===n&&this.panelOpen&&!r)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){const a=this.autocomplete._keyManager.activeItem,o=38===n||40===n;9===n||o&&!r&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):o&&this._canOpen()&&this.openPanel(),(o||this.autocomplete._keyManager.activeItem!==a)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let n=e.target,r=n.value;"number"===n.type&&(r=""==r?null:parseFloat(r)),this._previousValue!==r&&(this._previousValue=r,this._pendingAutoselectedOption=null,this._onChange(r),this._canOpen()&&this._document.activeElement===e.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(e=!1){this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){return Pn(this._zone.onStable.pipe(nn(1)),this.autocomplete.options.changes.pipe(ta(()=>this._positionStrategy.reapplyLastPosition()),Zv(0))).pipe(ia(()=>(this._zone.run(()=>{const r=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),r!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),nn(1)).subscribe(r=>this._setValueAndClose(r))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(e){const n=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e;this._updateNativeInputValue(n??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){const n=e?e.source:this._pendingAutoselectedOption;n&&(this._clearPreviousSelectedOption(n),this._assignOptionValue(n.value),this._onChange(n.value),this.autocomplete._emitSelectEvent(n),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(e){this.autocomplete.options.forEach(n=>{n!==e&&n.selected&&n.deselect()})}_attachOverlay(){let e=this._overlayRef;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new Ad(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),e=this._overlay.create(this._getOverlayConfig()),this._overlayRef=e,this._handleOverlayEvents(e),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&e&&e.updateSize({width:this._getPanelWidth()})})),e&&!e.hasAttached()&&(e.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const n=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this.panelOpen&&n!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new Hf({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){const n=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],r=this._aboveClass,a=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:r},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:r}];let o;o="above"===this.position?a:"below"===this.position?n:[...n,...a],e.withPositions(o)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const e=this.autocomplete;e.autoActiveFirstOption?e._keyManager.setFirstItemActive():e._keyManager.setActiveItem(-1)}_canOpen(){const e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(e){const n=this.autocomplete,r=g6(e,n.options,n.optionGroups);if(0===e&&1===r)n._setScrollTop(0);else if(n.panel){const a=n.options.toArray()[e];if(a){const o=a._getHostElement(),c=_6(o.offsetTop,o.offsetHeight,n._getScrollTop(),n.panel.nativeElement.offsetHeight);n._setScrollTop(c)}}}_handleOverlayEvents(e){e.keydownEvents().subscribe(n=>{(27===n.keyCode&&!ba(n)||38===n.keyCode&&ba(n,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),n.stopPropagation(),n.preventDefault())}),e.outsidePointerEvents().subscribe()}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(ya),k(kr),k(Rt),k(ni),k(pP),k(Or,8),k(lm,9),k(Mi,8),k(wl),k(fP,8))},i.\u0275dir=Oe({type:i,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[or]}),i})(),gP=(()=>{class i extends Sge{constructor(){super(...arguments),this._aboveClass="mat-mdc-autocomplete-panel-above"}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=_i(i)))(n||i)}}(),i.\u0275dir=Oe({type:i,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(e,n){1&e&&pe("focusin",function(){return n._handleFocus()})("blur",function(){return n._onTouched()})("input",function(a){return n._handleInput(a)})("keydown",function(a){return n._handleKeydown(a)})("click",function(){return n._handleClick()}),2&e&&It("autocomplete",n.autocompleteAttribute)("role",n.autocompleteDisabled?null:"combobox")("aria-autocomplete",n.autocompleteDisabled?null:"list")("aria-activedescendant",n.panelOpen&&n.activeOption?n.activeOption.id:null)("aria-expanded",n.autocompleteDisabled?null:n.panelOpen.toString())("aria-owns",n.autocompleteDisabled||!n.panelOpen||null==n.autocomplete?null:n.autocomplete.id)("aria-haspopup",n.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[Nt([Dge]),ot]}),i})(),Tge=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[Ege],imports:[Nc,ey,Qt,Dr,Lc,ey,Qt]}),i})();class ch{constructor(t){this.utilities=t}transform(t){return t?ch.time(t):"00:00:00"}static time(t){var e=Math.floor(t/60/60),n=Math.floor(t/60)-60*e,r=t%60;return e.toString().padStart(2,"0")+":"+n.toString().padStart(2,"0")+":"+r.toString().padStart(2,"0")}}ch.\u0275fac=function(t){return new(t||ch)(k(an,16))},ch.\u0275pipe=Mr({name:"time",type:ch,pure:!0});const Age=["knob"],Ige=["valueIndicatorContainer"];function Lge(i,t){if(1&i&&(_(0,"div",4,5)(2,"div",6)(3,"span",7),N(4),F()()()),2&i){const e=Q();E(4),yt(e.valueIndicatorText)}}const Nge=["trackActive"];function Oge(i,t){if(1&i&&Ce(0,"div"),2&i){const e=t.$implicit,n=t.index,r=Q(3);lb(0===e?"mdc-slider__tick-mark--active":"mdc-slider__tick-mark--inactive"),sr("transform",r._calcTickMarkTransform(n))}}function Rge(i,t){if(1&i&&(kn(0),ee(1,Oge,1,4,"div",11),Dn()),2&i){const e=Q(2);E(1),S("ngForOf",e._tickMarks)}}function Pge(i,t){if(1&i&&(_(0,"div",8,9),ee(2,Rge,2,1,"ng-container",10),F()),2&i){const e=Q();E(2),S("ngIf",e._cachedWidth)}}function Bge(i,t){if(1&i&&Ce(0,"mat-slider-visual-thumb",7),2&i){const e=Q();S("discrete",e.discrete)("thumbPosition",1)("valueIndicatorText",e.startValueIndicatorText)}}const Hge=["*"],pw=new Ke("_MatSlider"),_P=new Ke("_MatSliderThumb"),bP=new Ke("_MatSliderRangeThumb"),yP=new Ke("_MatSliderVisualThumb");let Vge=(()=>{class i{constructor(e,n,r,a){this._cdr=e,this._ngZone=n,this._slider=a,this._isHovered=!1,this._isActive=!1,this._isValueIndicatorVisible=!1,this._onPointerMove=o=>{if(this._sliderInput._isFocused)return;const c=this._hostElement.getBoundingClientRect(),h=this._isSliderThumbHovered(o,c);this._isHovered=h,h?this._showHoverRipple():this._hideRipple(this._hoverRippleRef)},this._onMouseLeave=()=>{this._isHovered=!1,this._hideRipple(this._hoverRippleRef)},this._onFocus=()=>{this._hideRipple(this._hoverRippleRef),this._showFocusRipple(),this._hostElement.classList.add("mdc-slider__thumb--focused")},this._onBlur=()=>{this._isActive||this._hideRipple(this._focusRippleRef),this._isHovered&&this._showHoverRipple(),this._hostElement.classList.remove("mdc-slider__thumb--focused")},this._onDragStart=()=>{this._isActive=!0,this._showActiveRipple()},this._onDragEnd=()=>{this._isActive=!1,this._hideRipple(this._activeRippleRef),this._sliderInput._isFocused||this._hideRipple(this._focusRippleRef)},this._hostElement=r.nativeElement}ngAfterViewInit(){this._ripple.radius=24,this._sliderInput=this._slider._getInput(this.thumbPosition),this._sliderInputEl=this._sliderInput._hostElement;const e=this._sliderInputEl;this._ngZone.runOutsideAngular(()=>{e.addEventListener("pointermove",this._onPointerMove),e.addEventListener("pointerdown",this._onDragStart),e.addEventListener("pointerup",this._onDragEnd),e.addEventListener("pointerleave",this._onMouseLeave),e.addEventListener("focus",this._onFocus),e.addEventListener("blur",this._onBlur)})}ngOnDestroy(){const e=this._sliderInputEl;e.removeEventListener("pointermove",this._onPointerMove),e.removeEventListener("pointerdown",this._onDragStart),e.removeEventListener("pointerup",this._onDragEnd),e.removeEventListener("pointerleave",this._onMouseLeave),e.removeEventListener("focus",this._onFocus),e.removeEventListener("blur",this._onBlur)}_showHoverRipple(){this._isShowingRipple(this._hoverRippleRef)||(this._hoverRippleRef=this._showRipple({enterDuration:0,exitDuration:0}),this._hoverRippleRef?.element.classList.add("mat-mdc-slider-hover-ripple"))}_showFocusRipple(){this._isShowingRipple(this._focusRippleRef)||(this._focusRippleRef=this._showRipple({enterDuration:0,exitDuration:0},!0),this._focusRippleRef?.element.classList.add("mat-mdc-slider-focus-ripple"))}_showActiveRipple(){this._isShowingRipple(this._activeRippleRef)||(this._activeRippleRef=this._showRipple({enterDuration:225,exitDuration:400}),this._activeRippleRef?.element.classList.add("mat-mdc-slider-active-ripple"))}_isShowingRipple(e){return 0===e?.state||1===e?.state}_showRipple(e,n){if(!this._slider.disabled&&(this._showValueIndicator(),this._slider._isRange&&this._slider._getThumb(1===this.thumbPosition?2:1)._showValueIndicator(),!this._slider._globalRippleOptions?.disabled||n))return this._ripple.launch({animation:this._slider._noopAnimations?{enterDuration:0,exitDuration:0}:e,centered:!0,persistent:!0})}_hideRipple(e){if(e?.fadeOut(),this._isShowingAnyRipple())return;this._slider._isRange||this._hideValueIndicator();const n=this._getSibling();n._isShowingAnyRipple()||(this._hideValueIndicator(),n._hideValueIndicator())}_showValueIndicator(){this._hostElement.classList.add("mdc-slider__thumb--with-indicator")}_hideValueIndicator(){this._hostElement.classList.remove("mdc-slider__thumb--with-indicator")}_getSibling(){return this._slider._getThumb(1===this.thumbPosition?2:1)}_getValueIndicatorContainer(){return this._valueIndicatorContainer?.nativeElement}_getKnob(){return this._knob.nativeElement}_isShowingAnyRipple(){return this._isShowingRipple(this._hoverRippleRef)||this._isShowingRipple(this._focusRippleRef)||this._isShowingRipple(this._activeRippleRef)}_isSliderThumbHovered(e,n){const r=n.width/2,h=e.clientY-(n.y+r);return Math.pow(e.clientX-(n.x+r),2)+Math.pow(h,2)<Math.pow(r,2)}}return i.\u0275fac=function(e){return new(e||i)(k(ni),k(Rt),k(gt),k(pw))},i.\u0275cmp=qe({type:i,selectors:[["mat-slider-visual-thumb"]],viewQuery:function(e,n){if(1&e&&(Lt(da,5),Lt(Age,5),Lt(Ige,5)),2&e){let r;Ze(r=Xe())&&(n._ripple=r.first),Ze(r=Xe())&&(n._knob=r.first),Ze(r=Xe())&&(n._valueIndicatorContainer=r.first)}},hostAttrs:[1,"mdc-slider__thumb","mat-mdc-slider-visual-thumb"],inputs:{discrete:"discrete",thumbPosition:"thumbPosition",valueIndicatorText:"valueIndicatorText"},features:[Nt([{provide:yP,useExisting:i}])],decls:4,vars:2,consts:[["class","mdc-slider__value-indicator-container",4,"ngIf"],[1,"mdc-slider__thumb-knob"],["knob",""],["matRipple","",1,"mat-mdc-focus-indicator",3,"matRippleDisabled"],[1,"mdc-slider__value-indicator-container"],["valueIndicatorContainer",""],[1,"mdc-slider__value-indicator"],[1,"mdc-slider__value-indicator-text"]],template:function(e,n){1&e&&(ee(0,Lge,5,1,"div",0),Ce(1,"div",1,2)(3,"div",3)),2&e&&(S("ngIf",n.discrete),E(3),S("matRippleDisabled",!0))},dependencies:[ri,da],styles:[".mat-mdc-slider-visual-thumb .mat-ripple{height:100%;width:100%}.mat-mdc-slider .mdc-slider__tick-marks{justify-content:start}.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--inactive{position:absolute;left:2px}"],encapsulation:2,changeDetection:0}),i})();const Yge=ec(xl(class{constructor(i){this._elementRef=i}}),"primary");let jge=(()=>{class i extends Yge{get disabled(){return this._disabled}set disabled(e){this._disabled=Ct(e);const n=this._getInput(2),r=this._getInput(1);n&&(n.disabled=this._disabled),r&&(r.disabled=this._disabled)}get discrete(){return this._discrete}set discrete(e){this._discrete=Ct(e),this._updateValueIndicatorUIs()}get showTickMarks(){return this._showTickMarks}set showTickMarks(e){this._showTickMarks=Ct(e)}get min(){return this._min}set min(e){const n=wr(e,this._min);this._min!==n&&this._updateMin(n)}_updateMin(e){const n=this._min;this._min=e,this._isRange?this._updateMinRange({old:n,new:e}):this._updateMinNonRange(e),this._onMinMaxOrStepChange()}_updateMinRange(e){const n=this._getInput(2),r=this._getInput(1),a=n.value,o=r.value;r.min=e.new,n.min=Math.max(e.new,r.value),r.max=Math.min(n.max,n.value),r._updateWidthInactive(),n._updateWidthInactive(),e.new<e.old?this._onTranslateXChangeBySideEffect(n,r):this._onTranslateXChangeBySideEffect(r,n),a!==n.value&&this._onValueChange(n),o!==r.value&&this._onValueChange(r)}_updateMinNonRange(e){const n=this._getInput(2);if(n){const r=n.value;n.min=e,n._updateThumbUIByValue(),this._updateTrackUI(n),r!==n.value&&this._onValueChange(n)}}get max(){return this._max}set max(e){const n=wr(e,this._max);this._max!==n&&this._updateMax(n)}_updateMax(e){const n=this._max;this._max=e,this._isRange?this._updateMaxRange({old:n,new:e}):this._updateMaxNonRange(e),this._onMinMaxOrStepChange()}_updateMaxRange(e){const n=this._getInput(2),r=this._getInput(1),a=n.value,o=r.value;n.max=e.new,r.max=Math.min(e.new,n.value),n.min=r.value,n._updateWidthInactive(),r._updateWidthInactive(),e.new>e.old?this._onTranslateXChangeBySideEffect(r,n):this._onTranslateXChangeBySideEffect(n,r),a!==n.value&&this._onValueChange(n),o!==r.value&&this._onValueChange(r)}_updateMaxNonRange(e){const n=this._getInput(2);if(n){const r=n.value;n.max=e,n._updateThumbUIByValue(),this._updateTrackUI(n),r!==n.value&&this._onValueChange(n)}}get step(){return this._step}set step(e){const n=wr(e,this._step);this._step!==n&&this._updateStep(n)}_updateStep(e){this._step=e,this._isRange?this._updateStepRange():this._updateStepNonRange(),this._onMinMaxOrStepChange()}_updateStepRange(){const e=this._getInput(2),n=this._getInput(1),r=e.value,a=n.value,o=n.value;e.min=this._min,n.max=this._max,e.step=this._step,n.step=this._step,this._platform.SAFARI&&(e.value=e.value,n.value=n.value),e.min=Math.max(this._min,n.value),n.max=Math.min(this._max,e.value),n._updateWidthInactive(),e._updateWidthInactive(),e.value<o?this._onTranslateXChangeBySideEffect(n,e):this._onTranslateXChangeBySideEffect(e,n),r!==e.value&&this._onValueChange(e),a!==n.value&&this._onValueChange(n)}_updateStepNonRange(){const e=this._getInput(2);if(e){const n=e.value;e.step=this._step,this._platform.SAFARI&&(e.value=e.value),e._updateThumbUIByValue(),n!==e.value&&this._onValueChange(e)}}constructor(e,n,r,a,o,c,h){super(a),this._ngZone=e,this._cdr=n,this._platform=r,this._dir=o,this._globalRippleOptions=c,this._disabled=!1,this._discrete=!1,this._showTickMarks=!1,this._min=0,this._max=100,this._step=0,this.displayWith=f=>`${f}`,this._rippleRadius=24,this.startValueIndicatorText="",this.endValueIndicatorText="",this._isRange=!1,this._isRtl=!1,this._hasViewInitialized=!1,this._tickMarkTrackWidth=0,this._hasAnimation=!1,this._resizeTimer=null,this._knobRadius=8,this._thumbsOverlap=!1,this._noopAnimations="NoopAnimations"===h,this._dirChangeSubscription=this._dir.change.subscribe(()=>this._onDirChange()),this._isRtl="rtl"===this._dir.value}ngAfterViewInit(){this._platform.isBrowser&&this._updateDimensions();const e=this._getInput(2),n=this._getInput(1);this._isRange=!!e&&!!n,this._cdr.detectChanges();const r=this._getThumb(2);this._rippleRadius=r._ripple.radius,this._inputPadding=this._rippleRadius-this._knobRadius,this._inputOffset=this._knobRadius,this._isRange?this._initUIRange(e,n):this._initUINonRange(e),this._updateTrackUI(e),this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._observeHostResize(),this._cdr.detectChanges()}_initUINonRange(e){e.initProps(),e.initUI(),this._updateValueIndicatorUI(e),this._hasViewInitialized=!0,e._updateThumbUIByValue()}_initUIRange(e,n){e.initProps(),e.initUI(),n.initProps(),n.initUI(),e._updateMinMax(),n._updateMinMax(),e._updateStaticStyles(),n._updateStaticStyles(),this._updateValueIndicatorUIs(),this._hasViewInitialized=!0,e._updateThumbUIByValue(),n._updateThumbUIByValue()}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._resizeObserver?.disconnect(),this._resizeObserver=null}_onDirChange(){this._isRtl="rtl"===this._dir.value,this._isRange?this._onDirChangeRange():this._onDirChangeNonRange(),this._updateTickMarkUI()}_onDirChangeRange(){const e=this._getInput(2),n=this._getInput(1);e._setIsLeftThumb(),n._setIsLeftThumb(),e.translateX=e._calcTranslateXByValue(),n.translateX=n._calcTranslateXByValue(),e._updateStaticStyles(),n._updateStaticStyles(),e._updateWidthInactive(),n._updateWidthInactive(),e._updateThumbUIByValue(),n._updateThumbUIByValue()}_onDirChangeNonRange(){this._getInput(2)._updateThumbUIByValue()}_observeHostResize(){typeof ResizeObserver>"u"||!ResizeObserver||this._ngZone.runOutsideAngular(()=>{this._resizeObserver=new ResizeObserver(()=>{this._isActive()||(this._resizeTimer&&clearTimeout(this._resizeTimer),this._onResize())}),this._resizeObserver.observe(this._elementRef.nativeElement)})}_isActive(){return this._getThumb(1)._isActive||this._getThumb(2)._isActive}_getValue(e=2){const n=this._getInput(e);return n?n.value:this.min}_skipUpdate(){return!(!this._getInput(1)?._skipUIUpdate&&!this._getInput(2)?._skipUIUpdate)}_updateDimensions(){this._cachedWidth=this._elementRef.nativeElement.offsetWidth,this._cachedLeft=this._elementRef.nativeElement.getBoundingClientRect().left}_setTrackActiveStyles(e){const n=this._trackActive.nativeElement.style,r=e.left!==n.left&&e.right!==n.right;n.left=e.left,n.right=e.right,n.transformOrigin=e.transformOrigin,r?(this._elementRef.nativeElement.classList.add("mat-mdc-slider-disable-track-animation"),this._ngZone.onStable.pipe(nn(1)).subscribe(()=>{this._elementRef.nativeElement.classList.remove("mat-mdc-slider-disable-track-animation"),n.transform=e.transform})):n.transform=e.transform}_calcTickMarkTransform(e){return`translateX(${e*(this._tickMarkTrackWidth/(this._tickMarks.length-1))}px`}_onTranslateXChange(e){this._hasViewInitialized&&(this._updateThumbUI(e),this._updateTrackUI(e),this._updateOverlappingThumbUI(e))}_onTranslateXChangeBySideEffect(e,n){this._hasViewInitialized&&(e._updateThumbUIByValue(),n._updateThumbUIByValue())}_onValueChange(e){this._hasViewInitialized&&(this._updateValueIndicatorUI(e),this._updateTickMarkUI(),this._cdr.detectChanges())}_onMinMaxOrStepChange(){this._hasViewInitialized&&(this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.markForCheck())}_onResize(){if(this._hasViewInitialized){if(this._updateDimensions(),this._isRange){const e=this._getInput(2),n=this._getInput(1);e._updateThumbUIByValue(),n._updateThumbUIByValue(),e._updateStaticStyles(),n._updateStaticStyles(),e._updateMinMax(),n._updateMinMax(),e._updateWidthInactive(),n._updateWidthInactive()}else{const e=this._getInput(2);e&&e._updateThumbUIByValue()}this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.detectChanges()}}_areThumbsOverlapping(){const e=this._getInput(1),n=this._getInput(2);return!(!e||!n)&&n.translateX-e.translateX<20}_updateOverlappingThumbClassNames(e){const n=e.getSibling(),r=this._getThumb(e.thumbPosition);this._getThumb(n.thumbPosition)._hostElement.classList.remove("mdc-slider__thumb--top"),r._hostElement.classList.toggle("mdc-slider__thumb--top",this._thumbsOverlap)}_updateOverlappingThumbUI(e){!this._isRange||this._skipUpdate()||this._thumbsOverlap!==this._areThumbsOverlapping()&&(this._thumbsOverlap=!this._thumbsOverlap,this._updateOverlappingThumbClassNames(e))}_updateThumbUI(e){this._skipUpdate()||(this._getThumb(2===e.thumbPosition?2:1)._hostElement.style.transform=`translateX(${e.translateX}px)`)}_updateValueIndicatorUI(e){if(this._skipUpdate())return;const n=this.displayWith(e.value);if(this._hasViewInitialized?e._valuetext=n:e._hostElement.setAttribute("aria-valuetext",n),this.discrete){1===e.thumbPosition?this.startValueIndicatorText=n:this.endValueIndicatorText=n;const r=this._getThumb(e.thumbPosition);n.length<3?r._hostElement.classList.add("mdc-slider__thumb--short-value"):r._hostElement.classList.remove("mdc-slider__thumb--short-value")}}_updateValueIndicatorUIs(){const e=this._getInput(2),n=this._getInput(1);e&&this._updateValueIndicatorUI(e),n&&this._updateValueIndicatorUI(n)}_updateTickMarkTrackUI(){if(!this.showTickMarks||this._skipUpdate())return;const e=this._step&&this._step>0?this._step:1,r=(Math.floor(this.max/e)*e-this.min)/(this.max-this.min);this._tickMarkTrackWidth=this._cachedWidth*r-6}_updateTrackUI(e){this._skipUpdate()||(this._isRange?this._updateTrackUIRange(e):this._updateTrackUINonRange(e))}_updateTrackUIRange(e){const n=e.getSibling();if(!n||!this._cachedWidth)return;const r=Math.abs(n.translateX-e.translateX)/this._cachedWidth;this._setTrackActiveStyles(e._isLeftThumb&&this._cachedWidth?{left:"auto",right:this._cachedWidth-n.translateX+"px",transformOrigin:"right",transform:`scaleX(${r})`}:{left:`${n.translateX}px`,right:"auto",transformOrigin:"left",transform:`scaleX(${r})`})}_updateTrackUINonRange(e){this._setTrackActiveStyles(this._isRtl?{left:"auto",right:"0px",transformOrigin:"right",transform:`scaleX(${1-e.fillPercentage})`}:{left:"0px",right:"auto",transformOrigin:"left",transform:`scaleX(${e.fillPercentage})`})}_updateTickMarkUI(){if(!this.showTickMarks||void 0===this.step||void 0===this.min||void 0===this.max)return;const e=this.step>0?this.step:1;this._isRange?this._updateTickMarkUIRange(e):this._updateTickMarkUINonRange(e),this._isRtl&&this._tickMarks.reverse()}_updateTickMarkUINonRange(e){const n=this._getValue();let r=Math.max(Math.round((n-this.min)/e),0),a=Math.max(Math.round((this.max-n)/e),0);this._isRtl?r++:a++,this._tickMarks=Array(r).fill(0).concat(Array(a).fill(1))}_updateTickMarkUIRange(e){const n=this._getValue(),r=this._getValue(1),a=Math.max(Math.floor((r-this.min)/e),0),o=Math.max(Math.floor((n-r)/e)+1,0),c=Math.max(Math.floor((this.max-n)/e),0);this._tickMarks=Array(a).fill(1).concat(Array(o).fill(0),Array(c).fill(1))}_getInput(e){return 2===e&&this._input?this._input:this._inputs?.length?1===e?this._inputs.first:this._inputs.last:void 0}_getThumb(e){return 2===e?this._thumbs?.last:this._thumbs?.first}_setTransition(e){this._hasAnimation=e&&!this._noopAnimations,this._elementRef.nativeElement.classList.toggle("mat-mdc-slider-with-animation",this._hasAnimation)}}return i.\u0275fac=function(e){return new(e||i)(k(Rt),k(ni),k(Bn),k(gt),k(Or,8),k(Ld,8),k(Ln,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-slider"]],contentQueries:function(e,n,r){if(1&e&&(ui(r,_P,5),ui(r,bP,4)),2&e){let a;Ze(a=Xe())&&(n._input=a.first),Ze(a=Xe())&&(n._inputs=a)}},viewQuery:function(e,n){if(1&e&&(Lt(Nge,5),Lt(yP,5)),2&e){let r;Ze(r=Xe())&&(n._trackActive=r.first),Ze(r=Xe())&&(n._thumbs=r)}},hostAttrs:[1,"mat-mdc-slider","mdc-slider"],hostVars:10,hostBindings:function(e,n){2&e&&Mt("mdc-slider--range",n._isRange)("mdc-slider--disabled",n.disabled)("mdc-slider--discrete",n.discrete)("mdc-slider--tick-marks",n.showTickMarks)("_mat-animation-noopable",n._noopAnimations)},inputs:{color:"color",disableRipple:"disableRipple",disabled:"disabled",discrete:"discrete",showTickMarks:"showTickMarks",min:"min",max:"max",step:"step",displayWith:"displayWith"},exportAs:["matSlider"],features:[Nt([{provide:pw,useExisting:i}]),ot],ngContentSelectors:Hge,decls:9,vars:5,consts:[[1,"mdc-slider__track"],[1,"mdc-slider__track--inactive"],[1,"mdc-slider__track--active"],[1,"mdc-slider__track--active_fill"],["trackActive",""],["class","mdc-slider__tick-marks",4,"ngIf"],[3,"discrete","thumbPosition","valueIndicatorText",4,"ngIf"],[3,"discrete","thumbPosition","valueIndicatorText"],[1,"mdc-slider__tick-marks"],["tickMarkContainer",""],[4,"ngIf"],[3,"class","transform",4,"ngFor","ngForOf"]],template:function(e,n){1&e&&(Bi(),Ft(0),_(1,"div",0),Ce(2,"div",1),_(3,"div",2),Ce(4,"div",3,4),F(),ee(6,Pge,3,1,"div",5),F(),ee(7,Bge,1,3,"mat-slider-visual-thumb",6),Ce(8,"mat-slider-visual-thumb",7)),2&e&&(E(6),S("ngIf",n.showTickMarks),E(1),S("ngIf",n._isRange),E(1),S("discrete",n.discrete)("thumbPosition",2)("valueIndicatorText",n.endValueIndicatorText))},dependencies:[vn,ri,Vge],styles:['.mdc-slider{cursor:pointer;height:48px;margin:0 24px;position:relative;touch-action:pan-y}.mdc-slider .mdc-slider__track{position:absolute;top:50%;transform:translateY(-50%);width:100%}.mdc-slider .mdc-slider__track--active,.mdc-slider .mdc-slider__track--inactive{display:flex;height:100%;position:absolute;width:100%}.mdc-slider .mdc-slider__track--active{overflow:hidden}.mdc-slider .mdc-slider__track--active_fill{border-top-style:solid;box-sizing:border-box;height:100%;width:100%;position:relative;-webkit-transform-origin:left;transform-origin:left}[dir=rtl] .mdc-slider .mdc-slider__track--active_fill,.mdc-slider .mdc-slider__track--active_fill[dir=rtl]{-webkit-transform-origin:right;transform-origin:right}.mdc-slider .mdc-slider__track--inactive{left:0;top:0}.mdc-slider .mdc-slider__track--inactive::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-slider .mdc-slider__track--inactive::before{border-color:CanvasText}}.mdc-slider .mdc-slider__value-indicator-container{bottom:44px;left:var(--slider-value-indicator-container-left, 50%);pointer-events:none;position:absolute;right:var(--slider-value-indicator-container-right);transform:var(--slider-value-indicator-container-transform, translateX(-50%))}.mdc-slider .mdc-slider__value-indicator{transition:transform 100ms 0ms cubic-bezier(0.4, 0, 1, 1);align-items:center;border-radius:4px;display:flex;height:32px;padding:0 12px;transform:scale(0);transform-origin:bottom}.mdc-slider .mdc-slider__value-indicator::before{border-left:6px solid rgba(0,0,0,0);border-right:6px solid rgba(0,0,0,0);border-top:6px solid;bottom:-5px;content:"";height:0;left:var(--slider-value-indicator-caret-left, 50%);position:absolute;right:var(--slider-value-indicator-caret-right);transform:var(--slider-value-indicator-caret-transform, translateX(-50%));width:0}.mdc-slider .mdc-slider__value-indicator::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-slider .mdc-slider__value-indicator::after{border-color:CanvasText}}.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator-container{pointer-events:auto}.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator{transition:transform 100ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale(1)}@media(prefers-reduced-motion){.mdc-slider .mdc-slider__value-indicator,.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator{transition:none}}.mdc-slider .mdc-slider__thumb{display:flex;left:-24px;outline:none;position:absolute;user-select:none;height:48px;width:48px}.mdc-slider .mdc-slider__thumb--top{z-index:1}.mdc-slider .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-style:solid;border-width:1px;box-sizing:content-box}.mdc-slider .mdc-slider__thumb-knob{box-sizing:border-box;left:50%;position:absolute;top:50%;transform:translate(-50%, -50%)}.mdc-slider .mdc-slider__tick-marks{align-items:center;box-sizing:border-box;display:flex;height:100%;justify-content:space-between;padding:0 1px;position:absolute;width:100%}.mdc-slider--discrete .mdc-slider__thumb,.mdc-slider--discrete .mdc-slider__track--active_fill{transition:transform 80ms ease}@media(prefers-reduced-motion){.mdc-slider--discrete .mdc-slider__thumb,.mdc-slider--discrete .mdc-slider__track--active_fill{transition:none}}.mdc-slider--disabled{cursor:auto}.mdc-slider--disabled .mdc-slider__thumb{pointer-events:none}.mdc-slider__input{cursor:pointer;left:0;margin:0;height:100%;opacity:0;pointer-events:none;position:absolute;top:0;width:100%}.mat-mdc-slider{display:inline-block;box-sizing:border-box;outline:none;vertical-align:middle;margin-left:8px;margin-right:8px;width:auto;min-width:112px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-slider .mdc-slider__thumb-knob{background-color:var(--mdc-slider-handle-color, var(--mdc-theme-primary, #6200ee));border-color:var(--mdc-slider-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slider .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__thumb-knob{background-color:var(--mdc-slider-disabled-handle-color, var(--mdc-theme-on-surface, #000));border-color:var(--mdc-slider-disabled-handle-color, var(--mdc-theme-on-surface, #000))}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider.mdc-slider--disabled .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider.mdc-slider--disabled .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mat-mdc-slider .mdc-slider__thumb::before,.mat-mdc-slider .mdc-slider__thumb::after{background-color:var(--mdc-slider-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slider .mdc-slider__thumb:hover::before,.mat-mdc-slider .mdc-slider__thumb.mdc-ripple-surface--hover::before{opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mat-mdc-slider .mdc-slider__thumb.mdc-ripple-upgraded--background-focused::before,.mat-mdc-slider .mdc-slider__thumb:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mat-mdc-slider .mdc-slider__thumb:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mat-mdc-slider .mdc-slider__thumb:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mat-mdc-slider .mdc-slider__thumb.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mat-mdc-slider .mdc-slider__track--active_fill{border-color:var(--mdc-slider-active-track-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__track--active_fill{border-color:var(--mdc-slider-disabled-active-track-color, var(--mdc-theme-on-surface, #000))}.mat-mdc-slider .mdc-slider__track--inactive{background-color:var(--mdc-slider-inactive-track-color, var(--mdc-theme-primary, #6200ee));opacity:.24}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__track--inactive{background-color:var(--mdc-slider-disabled-inactive-track-color, var(--mdc-theme-on-surface, #000));opacity:.24}.mat-mdc-slider .mdc-slider__tick-mark--active{background-color:var(--mdc-slider-with-tick-marks-active-container-color, var(--mdc-theme-on-primary, #fff));opacity:var(--mdc-slider-with-tick-marks-active-container-opacity, 0.6)}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__tick-mark--active{background-color:var(--mdc-slider-with-tick-marks-active-container-color, var(--mdc-theme-on-primary, #fff));opacity:var(--mdc-slider-with-tick-marks-active-container-opacity, 0.6)}.mat-mdc-slider .mdc-slider__tick-mark--inactive{background-color:var(--mdc-slider-with-tick-marks-inactive-container-color, var(--mdc-theme-primary, #6200ee));opacity:var(--mdc-slider-with-tick-marks-inactive-container-opacity, 0.6)}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__tick-mark--inactive{background-color:var(--mdc-slider-with-tick-marks-disabled-container-color, var(--mdc-theme-on-surface, #000));opacity:var(--mdc-slider-with-tick-marks-inactive-container-opacity, 0.6)}.mat-mdc-slider .mdc-slider__value-indicator{background-color:var(--mdc-slider-label-container-color, #666666);opacity:1}.mat-mdc-slider .mdc-slider__value-indicator::before{border-top-color:var(--mdc-slider-label-container-color, #666666)}.mat-mdc-slider .mdc-slider__value-indicator{color:var(--mdc-slider-label-label-text-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slider .mdc-slider__track{height:var(--mdc-slider-inactive-track-height, 4px)}.mat-mdc-slider .mdc-slider__track--active{height:var(--mdc-slider-active-track-height, 6px);top:calc((var(--mdc-slider-inactive-track-height, 4px) - var(--mdc-slider-active-track-height, 6px)) / 2)}.mat-mdc-slider .mdc-slider__track--active_fill{border-top-width:var(--mdc-slider-active-track-height, 6px)}.mat-mdc-slider .mdc-slider__track--inactive{height:var(--mdc-slider-inactive-track-height, 4px)}.mat-mdc-slider .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-mark--inactive{height:var(--mdc-slider-with-tick-marks-container-size, 2px);width:var(--mdc-slider-with-tick-marks-container-size, 2px)}.mat-mdc-slider.mdc-slider--disabled{opacity:0.38}.mat-mdc-slider .mdc-slider__value-indicator-text{letter-spacing:var(--mdc-slider-label-label-text-tracking, 0.0071428571em);font-size:var(--mdc-slider-label-label-text-size, 0.875rem);font-family:var(--mdc-slider-label-label-text-font, Roboto, sans-serif);font-weight:var(--mdc-slider-label-label-text-weight, 500);line-height:var(--mdc-slider-label-label-text-line-height, 1.375rem)}.mat-mdc-slider .mdc-slider__track--active{border-radius:var(--mdc-slider-active-track-shape, 9999px)}.mat-mdc-slider .mdc-slider__track--inactive{border-radius:var(--mdc-slider-inactive-track-shape, 9999px)}.mat-mdc-slider .mdc-slider__thumb-knob{border-radius:var(--mdc-slider-handle-shape, 50%);width:var(--mdc-slider-handle-width, 20px);height:var(--mdc-slider-handle-height, 20px);border-style:solid;border-width:calc(var(--mdc-slider-handle-height, 20px) / 2) calc(var(--mdc-slider-handle-width, 20px) / 2)}.mat-mdc-slider .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-mark--inactive{border-radius:var(--mdc-slider-with-tick-marks-container-shape, 50%)}.mat-mdc-slider .mdc-slider__thumb-knob{box-shadow:var(--mdc-slider-handle-elevation, 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slider .mdc-slider__thumb:hover .mdc-slider__thumb-knob{background-color:var(--mdc-slider-hover-handle-color, var(--mdc-theme-primary, #6200ee));border-color:var(--mdc-slider-hover-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slider .mdc-slider__thumb:hover .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb:hover .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb:hover .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mat-mdc-slider .mdc-slider__thumb--focused .mdc-slider__thumb-knob{background-color:var(--mdc-slider-focus-handle-color, var(--mdc-theme-primary, #6200ee));border-color:var(--mdc-slider-focus-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slider .mdc-slider__thumb--focused .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--focused .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--focused .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mat-mdc-slider .mdc-slider__thumb:not(:disabled):active .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb:not(:disabled):active .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb:not(:disabled):active .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mat-mdc-slider .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:var(--mdc-slider-with-overlap-handle-outline-color, #fff);border-width:var(--mdc-slider-with-overlap-handle-outline-width, 1px)}.mat-mdc-slider .mdc-slider__input{box-sizing:content-box;pointer-events:auto}.mat-mdc-slider .mdc-slider__input.mat-mdc-slider-input-no-pointer-events{pointer-events:none}.mat-mdc-slider .mdc-slider__input.mat-slider__right-input{left:auto;right:0}.mat-mdc-slider .mdc-slider__thumb,.mat-mdc-slider .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__thumb,.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__track--active_fill{transition-duration:80ms}.mat-mdc-slider.mat-mdc-slider-with-animation.mat-mdc-slider-disable-track-animation .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider.mdc-slider--discrete .mdc-slider__thumb,.mat-mdc-slider.mdc-slider--discrete .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__thumb,.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__track--active_fill{transition-duration:80ms}.mat-mdc-slider.mat-mdc-slider-with-animation.mat-mdc-slider-disable-track-animation .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider .mdc-slider__track,.mat-mdc-slider .mdc-slider__thumb{pointer-events:none}.mat-mdc-slider .mdc-slider__value-indicator{opacity:var(--mat-mdc-slider-value-indicator-opacity, 1)}.mat-mdc-slider .mat-ripple .mat-ripple-element{background-color:var(--mat-mdc-slider-ripple-color, transparent)}.mat-mdc-slider .mat-ripple .mat-mdc-slider-hover-ripple{background-color:var(--mat-mdc-slider-hover-ripple-color, transparent)}.mat-mdc-slider .mat-ripple .mat-mdc-slider-focus-ripple,.mat-mdc-slider .mat-ripple .mat-mdc-slider-active-ripple{background-color:var(--mat-mdc-slider-focus-ripple-color, transparent)}.mat-mdc-slider._mat-animation-noopable.mdc-slider--discrete .mdc-slider__thumb,.mat-mdc-slider._mat-animation-noopable.mdc-slider--discrete .mdc-slider__track--active_fill,.mat-mdc-slider._mat-animation-noopable .mdc-slider__value-indicator{transition:none}.mat-mdc-slider .mat-mdc-focus-indicator::before{border-radius:50%}.mdc-slider__thumb--focused .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),i})();const Uge={provide:Fa,useExisting:di(()=>CM),multi:!0};let CM=(()=>{class i{get value(){return wr(this._hostElement.value)}set value(e){const n=wr(e).toString();this._hasSetInitialValue?this._isActive||(this._hostElement.value=n,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges()):this._initialValue=n}get translateX(){return this._slider.min>=this._slider.max?(this._translateX=0,this._translateX):(void 0===this._translateX&&(this._translateX=this._calcTranslateXByValue()),this._translateX)}set translateX(e){this._translateX=e}get min(){return wr(this._hostElement.min)}set min(e){this._hostElement.min=wr(e).toString(),this._cdr.detectChanges()}get max(){return wr(this._hostElement.max)}set max(e){this._hostElement.max=wr(e).toString(),this._cdr.detectChanges()}get step(){return wr(this._hostElement.step)}set step(e){this._hostElement.step=wr(e).toString(),this._cdr.detectChanges()}get disabled(){return Ct(this._hostElement.disabled)}set disabled(e){this._hostElement.disabled=Ct(e),this._cdr.detectChanges(),this._slider.disabled!==this.disabled&&(this._slider.disabled=this.disabled)}get percentage(){return this._slider.min>=this._slider.max?this._slider._isRtl?1:0:(this.value-this._slider.min)/(this._slider.max-this._slider.min)}get fillPercentage(){return this._slider._cachedWidth?0===this._translateX?0:this.translateX/this._slider._cachedWidth:this._slider._isRtl?1:0}_setIsFocused(e){this._isFocused=e}constructor(e,n,r,a){this._ngZone=e,this._elementRef=n,this._cdr=r,this._slider=a,this.valueChange=new lt,this.dragStart=new lt,this.dragEnd=new lt,this.thumbPosition=2,this._knobRadius=8,this._isActive=!1,this._isFocused=!1,this._hasSetInitialValue=!1,this._destroyed=new He,this._skipUIUpdate=!1,this._onChangeFn=()=>{},this._onTouchedFn=()=>{},this._hostElement=n.nativeElement,this._ngZone.runOutsideAngular(()=>{this._hostElement.addEventListener("pointerdown",this._onPointerDown.bind(this)),this._hostElement.addEventListener("pointermove",this._onPointerMove.bind(this)),this._hostElement.addEventListener("pointerup",this._onPointerUp.bind(this))})}ngOnDestroy(){this._hostElement.removeEventListener("pointerdown",this._onPointerDown),this._hostElement.removeEventListener("pointermove",this._onPointerMove),this._hostElement.removeEventListener("pointerup",this._onPointerUp),this._destroyed.next(),this._destroyed.complete(),this.dragStart.complete(),this.dragEnd.complete()}initProps(){this._updateWidthInactive(),this.disabled!==this._slider.disabled&&(this._slider.disabled=!0),this.step=this._slider.step,this.min=this._slider.min,this.max=this._slider.max,this._initValue()}initUI(){this._updateThumbUIByValue()}_initValue(){this._hasSetInitialValue=!0,void 0===this._initialValue?this.value=this._getDefaultValue():(this._hostElement.value=this._initialValue,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges())}_getDefaultValue(){return this.min}_onBlur(){this._setIsFocused(!1),this._onTouchedFn()}_onFocus(){this._setIsFocused(!0)}_onChange(){this.valueChange.emit(this.value),this._isActive&&this._updateThumbUIByValue({withAnimation:!0})}_onInput(){this._onChangeFn(this.value),(this._slider.step||!this._isActive)&&this._updateThumbUIByValue({withAnimation:!0}),this._slider._onValueChange(this)}_onNgControlValueChange(){(!this._isActive||!this._isFocused)&&(this._slider._onValueChange(this),this._updateThumbUIByValue()),this._slider.disabled=this._formControl.disabled}_onPointerDown(e){this.disabled||0!==e.button||(this._isActive=!0,this._setIsFocused(!0),this._updateWidthActive(),this._slider._updateDimensions(),this._slider.step||this._updateThumbUIByPointerEvent(e,{withAnimation:!0}),this.disabled||(this._handleValueCorrection(e),this.dragStart.emit({source:this,parent:this._slider,value:this.value})))}_handleValueCorrection(e){this._skipUIUpdate=!0,setTimeout(()=>{this._skipUIUpdate=!1,this._fixValue(e)},0)}_fixValue(e){const n=e.clientX-this._slider._cachedLeft,r=this._slider._cachedWidth,a=0===this._slider.step?1:this._slider.step,o=Math.floor((this._slider.max-this._slider.min)/a),f=Math.round((this._slider._isRtl?1-n/r:n/r)*o)/o*(this._slider.max-this._slider.min)+this._slider.min,x=Math.round(f/a)*a;if(x===this.value)return this._slider._onValueChange(this),void(this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(e,{withAnimation:this._slider._hasAnimation}));this.value=x,this.valueChange.emit(this.value),this._onChangeFn(this.value),this._slider._onValueChange(this),this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(e,{withAnimation:this._slider._hasAnimation})}_onPointerMove(e){!this._slider.step&&this._isActive&&this._updateThumbUIByPointerEvent(e)}_onPointerUp(){this._isActive&&(this._isActive=!1,this.dragEnd.emit({source:this,parent:this._slider,value:this.value}),setTimeout(()=>this._updateWidthInactive()))}_clamp(e){return Math.max(Math.min(e,this._slider._cachedWidth),0)}_calcTranslateXByValue(){return this._slider._isRtl?(1-this.percentage)*this._slider._cachedWidth:this.percentage*this._slider._cachedWidth}_calcTranslateXByPointerEvent(e){return e.clientX-this._slider._cachedLeft}_updateWidthActive(){this._hostElement.style.padding=`0 ${this._slider._inputPadding}px`,this._hostElement.style.width=`calc(100% + ${this._slider._inputPadding}px)`}_updateWidthInactive(){this._hostElement.style.padding="0px",this._hostElement.style.width="calc(100% + 48px)",this._hostElement.style.left="-24px"}_updateThumbUIByValue(e){this.translateX=this._clamp(this._calcTranslateXByValue()),this._updateThumbUI(e)}_updateThumbUIByPointerEvent(e,n){this.translateX=this._clamp(this._calcTranslateXByPointerEvent(e)),this._updateThumbUI(n)}_updateThumbUI(e){this._slider._setTransition(!!e?.withAnimation),this._slider._onTranslateXChange(this)}writeValue(e){this.value=e}registerOnChange(e){this._onChangeFn=e}registerOnTouched(e){this._onTouchedFn=e}setDisabledState(e){this.disabled=e}focus(){this._hostElement.focus()}blur(){this._hostElement.blur()}}return i.\u0275fac=function(e){return new(e||i)(k(Rt),k(gt),k(ni),k(pw))},i.\u0275dir=Oe({type:i,selectors:[["input","matSliderThumb",""]],hostAttrs:["type","range",1,"mdc-slider__input"],hostVars:1,hostBindings:function(e,n){1&e&&pe("change",function(){return n._onChange()})("input",function(){return n._onInput()})("blur",function(){return n._onBlur()})("focus",function(){return n._onFocus()}),2&e&&It("aria-valuetext",n._valuetext)},inputs:{value:"value"},outputs:{valueChange:"valueChange",dragStart:"dragStart",dragEnd:"dragEnd"},exportAs:["matSliderThumb"],features:[Nt([Uge,{provide:_P,useExisting:i}])]}),i})(),qge=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Qt,Dr,qs]}),i})();function $ge(i,t){if(1&i){const e=Je();_(0,"button",8),pe("click",function(){return Te(e),Ae(Q(2).media.rate())}),_(1,"mat-icon"),N(2,"speed"),F()()}}function Kge(i,t){if(1&i){const e=Je();_(0,"button",8),pe("click",function(){return Te(e),Ae(Q(2).media.rewind(10))}),_(1,"mat-icon"),N(2,"replay_10"),F()()}}function Qge(i,t){if(1&i){const e=Je();_(0,"button",8),pe("click",function(){return Te(e),Ae(Q(2).media.resume())}),_(1,"mat-icon"),N(2,"play_arrow"),F()()}}function Zge(i,t){if(1&i){const e=Je();_(0,"button",8),pe("click",function(){return Te(e),Ae(Q(2).media.pause())}),_(1,"mat-icon"),N(2,"pause"),F()()}}function Xge(i,t){if(1&i){const e=Je();_(0,"button",8),pe("click",function(){return Te(e),Ae(Q(2).media.forward(10))}),_(1,"mat-icon"),N(2,"forward_10"),F()()}}function Jge(i,t){if(1&i){const e=Je();_(0,"button",8),pe("click",function(){return Te(e),Ae(Q(2).media.mute())}),_(1,"mat-icon"),N(2,"volume_off"),F()()}}function e_e(i,t){if(1&i){const e=Je();_(0,"button",8),pe("click",function(){return Te(e),Ae(Q(2).media.mute())}),_(1,"mat-icon"),N(2,"volume_up"),F()()}}function t_e(i,t){if(1&i){const e=Je();_(0,"div",2)(1,"div",3)(2,"div",4),ee(3,$ge,3,0,"button",5),ee(4,Kge,3,0,"button",5),_(5,"button",6),pe("click",function(){return Te(e),Ae(Q().media.previous())}),_(6,"mat-icon"),N(7,"skip_previous"),F()(),ee(8,Qge,3,0,"button",5),ee(9,Zge,3,0,"button",5),_(10,"button",6),pe("click",function(){return Te(e),Ae(Q().media.next())}),_(11,"mat-icon"),N(12,"skip_next"),F()(),ee(13,Xge,3,0,"button",5),ee(14,Jge,3,0,"button",5),ee(15,e_e,3,0,"button",5),F()(),Ce(16,"div",7),F()}if(2&i){const e=Q();E(3),S("ngIf","Podcast"===(null==e.media.current?null:e.media.current.type)),E(1),S("ngIf","Podcast"===(null==e.media.current?null:e.media.current.type)),E(1),S("disabled",!e.media.canPrevious),E(3),S("ngIf",e.media.paused),E(1),S("ngIf",!e.media.paused),E(1),S("disabled",!e.media.canNext),E(3),S("ngIf","Podcast"===(null==e.media.current?null:e.media.current.type)),E(1),S("ngIf",!e.media.videoMode&&e.media.muted),E(1),S("ngIf",!e.media.videoMode&&!e.media.muted)}}function i_e(i,t){if(1&i&&(_(0,"div",13),Ce(1,"img",14),_(2,"div",15)(3,"div",16),N(4),F(),_(5,"div",17),N(6),F()()()),2&i){const e=Q(2);E(1),S("src",null==e.media.current?null:e.media.current.artwork,hn),E(3),yt(null==e.media.current?null:e.media.current.title),E(2),yt(null==e.media.current?null:e.media.current.artist)}}function n_e(i,t){1&i&&Ce(0,"iframe",19),2&i&&S("src",Q(3).media.youtubeUrl,Xm)}function r_e(i,t){if(1&i&&(_(0,"div",13),ee(1,n_e,1,1,"iframe",18),F()),2&i){const e=Q(2);E(1),S("ngIf",e.media.youtubeUrl)}}function a_e(i,t){if(1&i&&(_(0,"div",13)(1,"video",20),Ce(2,"source",21),F()()),2&i){const e=Q(2);E(2),S("src",e.media.videoUrl,hn)}}function o_e(i,t){if(1&i){const e=Je();_(0,"button",30),pe("click",function(){return Te(e),Ae(Q(3).media.rate())}),_(1,"mat-icon"),N(2,"speed"),F()()}}function s_e(i,t){if(1&i){const e=Je();_(0,"button",31),pe("click",function(){return Te(e),Ae(Q(3).media.rewind(10))}),_(1,"mat-icon"),N(2,"replay_10"),F()()}}function l_e(i,t){if(1&i){const e=Je();_(0,"button",32),pe("click",function(){return Te(e),Ae(Q(3).media.resume())}),_(1,"mat-icon"),N(2,"play_arrow"),F()()}}function c_e(i,t){if(1&i){const e=Je();_(0,"button",33),pe("click",function(){return Te(e),Ae(Q(3).media.pause())}),_(1,"mat-icon"),N(2,"pause"),F()()}}function d_e(i,t){if(1&i){const e=Je();_(0,"button",34),pe("click",function(){return Te(e),Ae(Q(3).media.forward(10))}),_(1,"mat-icon"),N(2,"forward_10"),F()()}}function u_e(i,t){if(1&i){const e=Je();_(0,"div",35)(1,"div",36),N(2),mi(3,"time"),F(),_(4,"div",37)(5,"mat-slider",38)(6,"input",39),pe("ngModelChange",function(r){return Te(e),Ae(Q(3).media.time=r)}),F()()(),_(7,"div",40),N(8),mi(9,"time"),F()()}if(2&i){const e=Q(3);E(2),yt(gi(3,7,e.media.time)),E(3),S("displayWith",e.formatLabel)("max",e.media.duration)("min",0)("step",1),E(1),S("ngModel",e.media.time),E(2),yt(gi(9,9,e.media.duration))}}function h_e(i,t){if(1&i){const e=Je();_(0,"div",3)(1,"div",4),ee(2,o_e,3,0,"button",22),ee(3,s_e,3,0,"button",23),_(4,"button",24),pe("click",function(){return Te(e),Ae(Q(2).media.previous())}),_(5,"mat-icon"),N(6,"skip_previous"),F()(),ee(7,l_e,3,0,"button",25),ee(8,c_e,3,0,"button",26),_(9,"button",27),pe("click",function(){return Te(e),Ae(Q(2).media.next())}),_(10,"mat-icon"),N(11,"skip_next"),F()(),ee(12,d_e,3,0,"button",28),F(),ee(13,u_e,10,11,"div",29),F()}if(2&i){const e=Q(2);E(2),S("ngIf","Podcast"===(null==e.media.current?null:e.media.current.type)),E(1),S("ngIf","Podcast"===(null==e.media.current?null:e.media.current.type)),E(1),S("disabled",!e.media.canPrevious),E(3),S("ngIf",e.media.paused),E(1),S("ngIf",!e.media.paused),E(1),S("disabled",!e.media.canNext),E(3),S("ngIf","Podcast"===(null==e.media.current?null:e.media.current.type)),E(1),S("ngIf",!e.media.videoMode&&!e.miniplayer)}}function m_e(i,t){if(1&i){const e=Je();_(0,"button",46),pe("click",function(){return Te(e),Ae(Q(3).expanded=!0)}),_(1,"mat-icon"),N(2,"expand_less"),F()()}}function f_e(i,t){if(1&i){const e=Je();_(0,"button",46),pe("click",function(){return Te(e),Ae(Q(3).expanded=!1)}),_(1,"mat-icon"),N(2,"expand_more"),F()()}}function p_e(i,t){if(1&i){const e=Je();_(0,"div",41)(1,"div",42),ee(2,m_e,3,0,"button",43),ee(3,f_e,3,0,"button",43),_(4,"button",44)(5,"mat-icon"),N(6,"queue_music"),F()(),_(7,"button",45),pe("click",function(){return Te(e),Ae(Q(2).media.exit())}),_(8,"mat-icon"),N(9,"close"),F()()()()}if(2&i){const e=Q(2);E(2),S("ngIf",!e.expanded),E(1),S("ngIf",e.expanded)}}function g_e(i,t){if(1&i){const e=Je();_(0,"button",51),pe("click",function(){return Te(e),Ae(Q(3).media.mute())}),_(1,"mat-icon"),N(2,"volume_off"),F()()}}function __e(i,t){if(1&i){const e=Je();_(0,"button",52),pe("click",function(){return Te(e),Ae(Q(3).media.mute())}),_(1,"mat-icon"),N(2,"volume_up"),F()()}}function b_e(i,t){1&i&&(_(0,"button",44)(1,"mat-icon"),N(2,"queue_music"),F()())}function y_e(i,t){if(1&i){const e=Je();_(0,"button",45),pe("click",function(){return Te(e),Ae(Q(3).media.exit())}),_(1,"mat-icon"),N(2,"close"),F()()}}function v_e(i,t){if(1&i&&(_(0,"div",41)(1,"div",42),ee(2,g_e,3,0,"button",47),ee(3,__e,3,0,"button",48),ee(4,b_e,3,0,"button",49),ee(5,y_e,3,0,"button",50),F()()),2&i){const e=Q(2);E(2),S("ngIf",e.media.muted),E(1),S("ngIf",!e.media.muted),E(1),S("ngIf",!e.miniplayer),E(1),S("ngIf",!e.miniplayer)}}const w_e=function(i,t){return{"media-player-large":i,"media-player-maximized":t}};function F_e(i,t){if(1&i&&(_(0,"div",9),ee(1,i_e,7,3,"div",10),ee(2,r_e,2,1,"div",10),ee(3,a_e,3,1,"div",10),ee(4,h_e,14,8,"div",11),ee(5,p_e,10,2,"div",12),ee(6,v_e,6,4,"div",12),F()),2&i){const e=Q();S("ngClass",Ws(7,w_e,e.expanded,e.maximized)),E(1),S("ngIf",!e.media.videoMode&&!e.miniplayer),E(1),S("ngIf","YouTube"===(null==e.media.current?null:e.media.current.type)&&!e.miniplayer),E(1),S("ngIf","Video"===(null==e.media.current?null:e.media.current.type)&&!e.miniplayer),E(1),S("ngIf",!e.maximized),E(1),S("ngIf",!e.maximized&&e.media.videoMode),E(1),S("ngIf",!e.maximized&&!e.media.videoMode)}}class l1{constructor(t,e,n,r,a){this.options=t,this.media=e,this.profileService=n,this.utilities=r,this.dialog=a,this.miniplayer=!1,this.expanded=!1,this.maximized=!1}ngOnInit(){console.log("miniplayer:",this.miniplayer)}formatLabel(t){return ch.time(t)}minimize(){window.resizeTo(200,5)}mediaConnect(){const t=document.querySelector("audio");t?(navigator.mediaSession.metadata=new MediaMetadata({title:"LifeLike",artist:"AlexiAction",album:"Blockcore Notes",artwork:[{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"96x96",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"128x128",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"192x192",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"256x256",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"384x384",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"512x512",type:"image/jpg"}]}),navigator.mediaSession.setActionHandler("play",Se(function*(){try{yield t.play()}catch(e){console.error(e.name,e.message)}})),navigator.mediaSession.setActionHandler("pause",()=>{t.pause()}),t.addEventListener("play",()=>{navigator.mediaSession.playbackState="playing"}),t.addEventListener("pause",()=>{navigator.mediaSession.playbackState="paused"})):console.log("Unable to find audio element")}}l1.\u0275fac=function(t){return new(t||l1)(k(Sr),k(Jd),k(Hn),k(an),k(Ia))},l1.\u0275cmp=qe({type:l1,selectors:[["app-media-player"]],inputs:{miniplayer:"miniplayer"},decls:2,vars:2,consts:[["class","media-player media-player-small",4,"ngIf"],["class","media-player",3,"ngClass",4,"ngIf"],[1,"media-player","media-player-small"],[1,"media-controls"],[1,"media-controls-container"],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"disabled","click"],[1,"draggable"],["mat-icon-button","",3,"click"],[1,"media-player",3,"ngClass"],["class","media-info",4,"ngIf"],["class","media-controls",4,"ngIf"],["class","media-audio",4,"ngIf"],[1,"media-info"],[1,"music-album",3,"src"],[1,"media-info-text","hide-small"],[1,"music-title"],[1,"music-artist"],["id","ytplayer","class","youtube-video","type","text/html","frameborder","0","allowfullscreen","","allow","autoplay",3,"src",4,"ngIf"],["id","ytplayer","type","text/html","frameborder","0","allowfullscreen","","allow","autoplay",1,"youtube-video",3,"src"],["controls","","autoplay","true","preload","none",1,"event-video"],["type","video/mp4",3,"src"],["matTooltip","Change speed","mat-icon-button","",3,"click",4,"ngIf"],["matTooltip","Skip back 10 seconds","class","hide-small","mat-icon-button","",3,"click",4,"ngIf"],["matTooltip","Previous","mat-icon-button","",3,"disabled","click"],["matTooltip","Play","mat-icon-button","",3,"click",4,"ngIf"],["matTooltip","Pause","mat-icon-button","",3,"click",4,"ngIf"],["matTooltip","Next","mat-icon-button","",3,"disabled","click"],["matTooltip","Skip forward 10 seconds","class","hide-small","mat-icon-button","",3,"click",4,"ngIf"],["class","media-timeline",4,"ngIf"],["matTooltip","Change speed","mat-icon-button","",3,"click"],["matTooltip","Skip back 10 seconds","mat-icon-button","",1,"hide-small",3,"click"],["matTooltip","Play","mat-icon-button","",3,"click"],["matTooltip","Pause","mat-icon-button","",3,"click"],["matTooltip","Skip forward 10 seconds","mat-icon-button","",1,"hide-small",3,"click"],[1,"media-timeline"],[1,"media-timeline-1","hide-small"],[1,"media-timeline-2"],["discrete","",1,"media-slider",3,"displayWith","max","min","step"],["matSliderThumb","",3,"ngModel","ngModelChange"],[1,"media-timeline-3","hide-small"],[1,"media-audio"],[1,"media-audio-container"],["class","hide-small","mat-icon-button","",3,"click",4,"ngIf"],["routerLink","/queue","mat-icon-button","",1,"hide-small"],["matTooltip","Exit Media Player","mat-icon-button","",3,"click"],["mat-icon-button","",1,"hide-small",3,"click"],["matTooltip","Mute","class","hide-small","mat-icon-button","",3,"click",4,"ngIf"],["matTooltip","Unmute","class","hide-small","mat-icon-button","",3,"click",4,"ngIf"],["routerLink","/queue","class","hide-small","mat-icon-button","",4,"ngIf"],["matTooltip","Exit Media Player","mat-icon-button","",3,"click",4,"ngIf"],["matTooltip","Mute","mat-icon-button","",1,"hide-small",3,"click"],["matTooltip","Unmute","mat-icon-button","",1,"hide-small",3,"click"]],template:function(t,e){1&t&&(ee(0,t_e,17,9,"div",0),ee(1,F_e,7,10,"div",1)),2&t&&(S("ngIf",e.miniplayer),E(1),S("ngIf",!e.miniplayer))},dependencies:[qa,ri,va,bo,Qn,As,xa,ua,Ca,jge,CM,ch],styles:[".media-player[_ngcontent-%COMP%]{display:flex;flex-direction:row;background-color:#212121;height:96px}.media-player-small[_ngcontent-%COMP%]{height:env(titlebar-area-height,33px)!important}.media-controls-container[_ngcontent-%COMP%]{align-self:center;flex:2 2 auto;-webkit-app-region:no-drag}.media-audio-container[_ngcontent-%COMP%]{align-self:center;flex:2 2 auto}.media-player-small[_ngcontent-%COMP%] .media-controls-container[_ngcontent-%COMP%]{align-self:flex-start}.media-player-small[_ngcontent-%COMP%] .media-controls[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:0;text-align:left}.media-info[_ngcontent-%COMP%]{flex:1 1 33%;display:flex;flex-direction:row}.media-controls[_ngcontent-%COMP%]{flex:2 2 auto;width:360px;text-align:center;justify-content:center;display:flex;flex-direction:column}.media-player-small[_ngcontent-%COMP%] .media-controls[_ngcontent-%COMP%]{width:auto}.media-audio[_ngcontent-%COMP%]{padding-right:1.4em;flex:1 1 33%;display:flex;text-align:right}.music-album[_ngcontent-%COMP%]{height:100%}.music-title[_ngcontent-%COMP%]{font-size:.8em;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;font-weight:700;margin-bottom:.4em}.music-artist[_ngcontent-%COMP%]{color:#ffffff80;font-size:.65em;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical}.media-info-text[_ngcontent-%COMP%]{padding:.8em;align-self:center}.media-timeline[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row;font-size:.8em;justify-content:center}.media-timeline-1[_ngcontent-%COMP%]{flex:1 1 auto;width:100px;align-self:center}.media-timeline-2[_ngcontent-%COMP%]{flex:2 2 auto;align-self:center}.media-timeline-3[_ngcontent-%COMP%]{flex:1 1 auto;width:100px;align-self:center}.youtube-video[_ngcontent-%COMP%]{width:100%;display:inline-block;margin-top:.2em;aspect-ratio:16 / 9}.media-player-large[_ngcontent-%COMP%]{height:256px}.media-player-maximized[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;right:0;z-index:1000;height:100%}.floating-maximize[_ngcontent-%COMP%]{position:absolute;right:10px;top:80px;z-index:1001}.media-player-logo[_ngcontent-%COMP%]{margin-left:6px}@media only screen and (min-height: 201px){.media-player-logo[_ngcontent-%COMP%]{display:none}}"]});const x_e=["drawer"],C_e=["draweraccount"],k_e=["searchInput"],vP=function(i){return{rightToLeft:i}};function D_e(i,t){if(1&i&&(_(0,"div",2),Ce(1,"router-outlet"),F()),2&i){const e=Q();S("ngClass",yn(2,vP,"rtl"===e.appState.documentDirection))("dir",e.appState.documentDirection)}}function M_e(i,t){1&i&&Ce(0,"app-media-player",44),2&i&&S("miniplayer",!0)}function E_e(i,t){if(1&i){const e=Je();_(0,"button",45),pe("click",function(){return Te(e),Q(),Ae(Li(20).toggle())}),_(1,"mat-icon"),N(2,"menu"),F()()}}function S_e(i,t){1&i&&Ce(0,"img",46)}function T_e(i,t){if(1&i){const e=Je();_(0,"button",47),pe("click",function(){return Te(e),Ae(Q(2).goBack())}),_(1,"mat-icon",48),N(2,"arrow_back"),F()()}}function A_e(i,t){if(1&i&&(_(0,"div",49),N(1),mi(2,"async"),F()),2&i){const e=Q(2);E(1),yt(gi(2,1,e.appState.title$))}}function I_e(i,t){if(1&i){const e=Je();_(0,"button",51),pe("click",function(){return Ae(Te(e).$implicit.click())}),_(1,"mat-icon"),N(2),F()()}if(2&i){const e=t.$implicit;S("matTooltip",e.tooltip),E(2),yt(e.icon)}}function L_e(i,t){if(1&i&&(_(0,"span"),ee(1,I_e,3,2,"button",50),F()),2&i){const e=Q(2);E(1),S("ngForOf",e.appState.actions)}}function N_e(i,t){if(1&i&&(_(0,"span"),N(1),F()),2&i){const e=Q().$implicit;E(1),yt(e.display_name)}}function O_e(i,t){if(1&i&&(_(0,"span"),N(1),F()),2&i){const e=Q().$implicit;E(1),yt(e.name)}}function R_e(i,t){if(1&i&&(_(0,"span"),N(1),F()),2&i){const e=Q().$implicit;E(1),Gt("(",e.nip05,")")}}function P_e(i,t){if(1&i){const e=Je();_(0,"mat-option",58),pe("onSelectionChange",function(){const a=Te(e).$implicit;return Ae(Q(3).searchService.open(a))}),_(1,"span"),Ce(2,"img",59),F(),ee(3,N_e,2,1,"span",12),ee(4,O_e,2,1,"span",12),ee(5,R_e,2,1,"span",12),F()}if(2&i){const e=t.$implicit;S("value",e.id),E(2),S("src",e.picture,hn),E(1),S("ngIf",e.display_name),E(1),S("ngIf",!e.display_name),E(1),S("ngIf",e.nip05)}}function B_e(i,t){if(1&i&&(_(0,"form",52)(1,"mat-form-field",53)(2,"mat-label"),N(3,"Search"),F(),Ce(4,"input",54,55),_(6,"mat-autocomplete",null,56),ee(8,P_e,6,5,"mat-option",57),mi(9,"async"),F()()()),2&i){const e=Li(7),n=Q(2);E(4),S("formControl",n.searchControl)("matAutocomplete",e),E(4),S("ngForOf",gi(9,3,n.searchService.results$))}}function H_e(i,t){if(1&i){const e=Je();_(0,"button",47),pe("click",function(){return Te(e),Ae(Q(2).searchVisibility(!1))}),_(1,"mat-icon"),N(2,"close"),F()()}}function V_e(i,t){if(1&i){const e=Je();_(0,"button",47),pe("click",function(){return Te(e),Ae(Q(2).searchVisibility(!0))}),_(1,"mat-icon"),N(2,"search"),F()()}}function Y_e(i,t){1&i&&Ce(0,"button",60),2&i&&S("mtBasicSpinner",!0)}function j_e(i,t){if(1&i){const e=Je();_(0,"img",61),pe("click",function(){return Te(e),Q(),Ae(Li(61).toggle())}),F()}if(2&i){const e=Q(2);S("src",null==e.profile?null:e.profile.picture,hn)}}function z_e(i,t){1&i&&(_(0,"span"),N(1,"Home"),F())}function U_e(i,t){1&i&&(_(0,"span"),N(1,"Feed"),F())}function W_e(i,t){1&i&&(_(0,"span"),N(1,"Notifications"),F())}function G_e(i,t){1&i&&(_(0,"span"),N(1,"People"),F())}function q_e(i,t){1&i&&(_(0,"span"),N(1,"Circles"),F())}function $_e(i,t){1&i&&(_(0,"span"),N(1,"Notes"),F())}function K_e(i,t){1&i&&(_(0,"span"),N(1,"Relays"),F())}function Q_e(i,t){1&i&&(_(0,"mat-icon"),N(1,"chevron_left"),F())}function Z_e(i,t){1&i&&(_(0,"mat-icon"),N(1,"chevron_right"),F())}function X_e(i,t){if(1&i&&Ce(0,"img",62),2&i){const e=Q(2);S("src",null==e.profile?null:e.profile.banner,hn)}}function J_e(i,t){1&i&&Ce(0,"img",62),2&i&&S("src",Q(2).bgimagePath,hn)}function e0e(i,t){1&i&&(_(0,"span"),N(1,"@"),F())}function t0e(i,t){1&i&&Ce(0,"app-media-player",63)}const i0e=function(i,t){return{"sidenav-labels":i,"sidenav-small":t}},n0e=function(){return["/"]},il=function(){return{exact:!0}},r0e=function(){return["/feed"]},a0e=function(){return["/notifications"]},o0e=function(){return["/people"]},s0e=function(){return["/circles"]},l0e=function(){return["/notes"]},c0e=function(){return["/relays"]},d0e=function(i){return{"new-post-small":i}},wP=function(){return["/profile"]},u0e=function(i){return["/following",i]},h0e=function(i){return["/p",i]},m0e=function(i){return["/badges",i]},f0e=function(){return["/settings"]},p0e=function(){return["/about"]},g0e=function(){return["/logout"]};function _0e(i,t){if(1&i){const e=Je();_(0,"div",3)(1,"div",4),Ce(2,"img",5),ee(3,M_e,1,1,"app-media-player",6),F(),_(4,"mat-toolbar",7),ee(5,E_e,3,0,"button",8),mi(6,"async"),Ce(7,"span"),ee(8,S_e,1,0,"img",9),mi(9,"async"),ee(10,T_e,3,0,"button",10),ee(11,A_e,3,3,"div",11),ee(12,L_e,2,1,"span",12),ee(13,B_e,10,5,"form",13),ee(14,H_e,3,0,"button",10),ee(15,V_e,3,0,"button",10),ee(16,Y_e,1,1,"button",14),ee(17,j_e,1,1,"img",15),F(),_(18,"mat-sidenav-container",16)(19,"mat-sidenav",17,18),mi(21,"async"),mi(22,"async"),mi(23,"async"),_(24,"mat-nav-list")(25,"a",19),pe("click",function(){return Te(e),Ae(Q().toggleMenu())}),_(26,"mat-icon"),N(27,"home"),F(),ee(28,z_e,2,0,"span",12),F(),_(29,"a",19),pe("click",function(){return Te(e),Ae(Q().toggleMenu())}),_(30,"mat-icon"),N(31,"notes"),F(),ee(32,U_e,2,0,"span",12),F(),_(33,"a",19),pe("click",function(){return Te(e),Ae(Q().toggleMenu())}),_(34,"mat-icon",20),mi(35,"async"),mi(36,"async"),N(37,"notifications"),F(),ee(38,W_e,2,0,"span",12),F(),_(39,"a",19),pe("click",function(){return Te(e),Ae(Q().toggleMenu())}),_(40,"mat-icon"),N(41,"people"),F(),ee(42,G_e,2,0,"span",12),F(),_(43,"a",19),pe("click",function(){return Te(e),Ae(Q().toggleMenu())}),_(44,"mat-icon"),N(45,"animation"),F(),ee(46,q_e,2,0,"span",12),F(),_(47,"a",19),pe("click",function(){return Te(e),Ae(Q().toggleMenu())}),_(48,"mat-icon"),N(49,"bookmarks"),F(),ee(50,$_e,2,0,"span",12),F(),_(51,"a",19),pe("click",function(){return Te(e),Ae(Q().toggleMenu())}),_(52,"mat-icon"),N(53,"dns"),F(),ee(54,K_e,2,0,"span",12),F(),_(55,"a",21),pe("click",function(){return Te(e),Ae(Q().toggleMenuSize())}),ee(56,Q_e,2,0,"mat-icon",12),ee(57,Z_e,2,0,"mat-icon",12),F()(),_(58,"div",22)(59,"img",23),pe("click",function(){return Te(e),Ae(Q().navigationService.createNote())}),F()()(),_(60,"mat-sidenav",24,25)(62,"div",26)(63,"button",27),pe("click",function(){return Te(e),Ae(Li(61).toggle())}),_(64,"mat-icon"),N(65,"close"),F()(),_(66,"button",28),pe("click",function(){Te(e);const r=Q();return Ae(r.theme.darkMode=!r.theme.darkMode)}),_(67,"mat-icon",29),N(68),F()(),_(69,"header")(70,"div",30),pe("click",function(){return Te(e),Ae(Q().openProfile())}),ee(71,X_e,1,1,"img",31),ee(72,J_e,1,1,"img",31),_(73,"div",32)(74,"h3"),ee(75,e0e,2,0,"span",12),N(76),F(),_(77,"p"),N(78),F()()(),_(79,"a",33),pe("click",function(){return Te(e),Ae(Q().toggleProfileMenu())}),_(80,"div",34),Ce(81,"img",35),F()()(),_(82,"div",36)(83,"div",37)(84,"ul")(85,"li"),N(86,"0 "),_(87,"span"),N(88,"Followers"),F()(),_(89,"li")(90,"a",38),pe("click",function(){return Te(e),Ae(Q().toggleProfileMenu())}),N(91),_(92,"span"),N(93,"Following"),F()()()()()()(),Ce(94,"mat-divider"),_(95,"mat-nav-list")(96,"a",19),pe("click",function(){return Te(e),Ae(Q().toggleProfileMenu())}),_(97,"mat-icon"),N(98,"person"),F(),_(99,"span"),N(100,"View profile"),F()(),_(101,"a",19),pe("click",function(){return Te(e),Ae(Q().toggleProfileMenu())}),_(102,"mat-icon"),N(103,"edit"),F(),_(104,"span"),N(105,"Edit profile"),F()(),_(106,"a",19),pe("click",function(){return Te(e),Ae(Q().toggleProfileMenu())}),_(107,"mat-icon"),N(108,"badge"),F(),_(109,"span"),N(110,"Badges"),F()(),_(111,"a",19),pe("click",function(){return Te(e),Ae(Q().toggleProfileMenu())}),_(112,"mat-icon"),N(113,"settings"),F(),_(114,"span"),N(115,"Settings"),F()(),_(116,"a",19),pe("click",function(){return Te(e),Ae(Q().toggleProfileMenu())}),_(117,"mat-icon"),N(118,"help_outline"),F(),_(119,"span"),N(120,"About"),F()(),_(121,"a",19),pe("click",function(){return Te(e),Ae(Q().toggleProfileMenu())}),_(122,"mat-icon"),N(123,"logout"),F(),_(124,"span"),N(125,"Logout"),F()()(),Ce(126,"mat-menu",39,40),F(),_(128,"mat-sidenav-content")(129,"div",41)(130,"div",42),Ce(131,"router-outlet"),F(),ee(132,t0e,1,0,"app-media-player",43),F()()()()}if(2&i){const e=Q();S("ngClass",yn(82,vP,"rtl"===e.appState.documentDirection))("dir",e.appState.documentDirection),E(3),S("ngIf",e.options.values.showMediaPlayer),E(2),S("ngIf",!e.appState.showSearch&&!0===gi(6,68,e.isHandset$)),E(3),S("ngIf",e.appState.showLogo&&!e.appState.showSearch&&!1===gi(9,70,e.isHandset$)),E(2),S("ngIf",!e.appState.showSearch&&e.appState.showBackButton),E(1),S("ngIf",!e.appState.showSearch),E(1),S("ngIf",!e.appState.showSearch),E(1),S("ngIf",e.appState.showSearch),E(1),S("ngIf",e.appState.showSearch),E(1),S("ngIf",!e.appState.showSearch),E(1),S("ngIf",!e.appState.connected),E(1),S("ngIf",!e.appState.showSearch),E(2),S("ngClass",Ws(84,i0e,e.displayLabels,!e.displayLabels))("mode",gi(22,74,e.isHandset$)?"over":"side")("opened",!1===gi(23,76,e.isHandset$)),It("role",gi(21,72,e.isHandset$)?"dialog":"navigation"),E(6),S("routerLink",Yr(87,n0e))("routerLinkActiveOptions",Yr(88,il)),E(3),S("ngIf",e.displayLabels),E(1),S("routerLink",Yr(89,r0e))("routerLinkActiveOptions",Yr(90,il)),E(3),S("ngIf",e.displayLabels),E(1),S("routerLink",Yr(91,a0e))("routerLinkActiveOptions",Yr(92,il)),E(1),S("matBadgeHidden",0==gi(35,78,e.ui.unreadNotifications$))("matBadge",gi(36,80,e.ui.unreadNotifications$)),E(4),S("ngIf",e.displayLabels),E(1),S("routerLink",Yr(93,o0e))("routerLinkActiveOptions",Yr(94,il)),E(3),S("ngIf",e.displayLabels),E(1),S("routerLink",Yr(95,s0e))("routerLinkActiveOptions",Yr(96,il)),E(3),S("ngIf",e.displayLabels),E(1),S("routerLink",Yr(97,l0e))("routerLinkActiveOptions",Yr(98,il)),E(3),S("ngIf",e.displayLabels),E(1),S("routerLink",Yr(99,c0e))("routerLinkActiveOptions",Yr(100,il)),E(3),S("ngIf",e.displayLabels),E(2),S("ngIf",e.displayLabels),E(1),S("ngIf",!e.displayLabels),E(1),S("ngClass",yn(101,d0e,!e.displayLabels)),E(2),S("mode","over"),It("role","navigation"),E(8),yt(e.theme.darkMode?"dark_mode":"light_mode"),E(3),S("ngIf",null==e.profile?null:e.profile.banner),E(1),S("ngIf",!(null!=e.profile&&e.profile.banner)),E(3),S("ngIf",null==e.profile?null:e.profile.name),E(1),yt(null==e.profile?null:e.profile.name),E(2),yt(null==e.profile?null:e.profile.about),E(1),S("routerLink",Yr(103,wP)),E(2),S("src",null==e.profile?null:e.profile.picture,hn),E(9),S("routerLink",yn(104,u0e,e.appState.getPublicKey())),E(1),Gt(" ",e.profileService.following.length," "),E(5),S("routerLink",yn(106,h0e,e.appState.getPublicKey()))("routerLinkActiveOptions",Yr(108,il)),E(5),S("routerLink",Yr(109,wP))("routerLinkActiveOptions",Yr(110,il)),E(5),S("routerLink",yn(111,m0e,e.appState.getPublicKey()))("routerLinkActiveOptions",Yr(113,il)),E(5),S("routerLink",Yr(114,f0e))("routerLinkActiveOptions",Yr(115,il)),E(5),S("routerLink",Yr(116,p0e))("routerLinkActiveOptions",Yr(117,il)),E(5),S("routerLink",Yr(118,g0e))("routerLinkActiveOptions",Yr(119,il)),E(11),S("ngIf",e.options.values.showMediaPlayer)}}class c1{constructor(t,e,n,r,a,o,c,h,f,x,P,$,te,fe,ye,Ie,Le,it,Be,ut,Tt,qt){var Vn=this;this.cd=t,this.options=e,this.db=n,this.appState=r,this.authService=a,this.router=o,this.appUpdateService=c,this.appUpdateCheckService=h,this.dialog=f,this.location=x,this.labelService=P,this.breakpointObserver=$,this.relayService=te,this.dataService=fe,this.circleService=ye,this.profileService=Ie,this.navigationService=Le,this.translate=it,this.ui=Be,this.bottomSheet=ut,this.searchService=Tt,this.theme=qt,this.authenticated=!1,this.bgimagePath="/assets/profile-bg.png",this.searchControl=new Gu,this.displayLabels=!0,this.isHandset$=this.breakpointObserver.observe("(max-width: 599px)").pipe(_t(Kn=>Kn.matches),qh()),this.discoveredProfileDate=0,this.visibilityHandler||(this.visibilityHandler=addEventListener("visibilitychange",Kn=>{this.appState.visibility("visible"===document.visibilityState)})),this.displayLabels=!this.options.values.hideSideLabels;const Mn=globalThis.location.search;if(Mn){const Kn=Object.fromEntries(new URLSearchParams(Mn));if(this.appState.params=Kn,this.appState.params.nostr){const Ns=(new age).decode(this.appState.params.nostr);Ns&&Ns.scheme&&Ns.address&&this.router.navigate(["nevent"===Ns.scheme?"/e":"/p",Ns.address])}}this.authService.authInfo$.subscribe(function(){var Kn=Se(function*(sa){Vn.authenticated=sa.authenticated(),Vn.authenticated&&(yield Vn.initialize())});return function(sa){return Kn.apply(this,arguments)}}()),this.profileService.profile$.subscribe(Kn=>{this.profile=Kn})}toggleMenuSize(){this.displayLabels=!this.displayLabels,this.cd.detectChanges(),setTimeout(()=>{this.options.values.hideSideLabels=!this.displayLabels,this.options.save()},250)}searchInputChanged(){this.appState.searchText&&this.searchService.search(this.appState.searchText)}searchVisibility(t){this.appState.showSearch=t,this.appState.searchText="",t&&setTimeout(()=>{this.searchInput.nativeElement.focus()})}goBack(){this.appState.backUrl?(this.router.navigateByUrl(this.appState.backUrl),this.appState.backUrl=void 0):this.appState.navigateBack()}toggleMenu(){this.breakpointObserver.isMatched("(max-width: 599px)")&&this.drawer.toggle()}openProfile(){this.router.navigateByUrl("/profile"),this.toggleProfileMenu()}toggleProfileMenu(){this.draweraccount.toggle()}initialize(){var t=this;return Se(function*(){console.log("INITIALIZE IS RUNNING...."),t.translate.addLangs(["en","no"]),t.translate.setDefaultLang("en"),t.options.values.language&&(t.appState.setLanguage(t.options.values.language),["ar","fa","he"].includes(t.options.values.language)?(t.appState.documentDirection="rtl",t.options.values.dir="rtl"):(t.appState.documentDirection="ltr",t.options.values.dir="ltr")),yield t.db.initialize("blockcore-"+t.appState.getPublicKey()),yield t.circleService.initialize(),yield t.profileService.initialize(t.appState.getPublicKey()),yield t.relayService.initialize(),yield t.dataService.initialize(),yield t.labelService.initialize(),t.appState.connected$.subscribe(()=>{console.log("Connected to relay.. this can sometimes be triggered multiple times."),t.profileService.newProfileEvent&&setTimeout(Se(function*(){const e=JSON.parse(t.profileService.newProfileEvent.content);e.id=t.profileService.newProfileEvent?.id,e.pubkey=t.profileService.newProfileEvent?.pubkey,yield t.profileService.updateProfile(e.pubkey,e),yield t.dataService.publishEvent(t.profileService.newProfileEvent),t.profileService.newProfileEvent=void 0}),1e3)}),t.appState.setInitialized()})()}ngOnInit(){var t=this;return Se(function*(){t.theme.init(),t.sharedWorker=new SharedWorker("/assets/shared.worker.js"),t.sharedWorker.port.onmessage=e=>{console.log(e.data)},t.sharedWorker.port.start(),t.searchControl.valueChanges.subscribe(function(){var e=Se(function*(n){t.appState.searchText=n,n&&(n.length<=1||(yield t.searchService.search(n)))});return function(n){return e.apply(this,arguments)}}())})()}}function FP(i){return new tt(3e3,!1)}function X0e(){return typeof window<"u"&&typeof window.document<"u"}function kM(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function dh(i){switch(i.length){case 0:return new Kg;case 1:return i[0];default:return new F6(i)}}function xP(i,t,e,n,r=new Map,a=new Map){const o=[],c=[];let h=-1,f=null;if(n.forEach(x=>{const P=x.get("offset"),$=P==h,te=$&&f||new Map;x.forEach((fe,ye)=>{let Ie=ye,Le=fe;if("offset"!==ye)switch(Ie=t.normalizePropertyName(Ie,o),Le){case LC:Le=r.get(ye);break;case Nd:Le=a.get(ye);break;default:Le=t.normalizeStyleValue(ye,Ie,Le,o)}te.set(Ie,Le)}),$||c.push(te),f=te,h=P}),o.length)throw function V0e(i){return new tt(3502,!1)}();return c}function DM(i,t,e,n){switch(t){case"start":i.onStart(()=>n(e&&MM(e,"start",i)));break;case"done":i.onDone(()=>n(e&&MM(e,"done",i)));break;case"destroy":i.onDestroy(()=>n(e&&MM(e,"destroy",i)))}}function MM(i,t,e){const a=EM(i.element,i.triggerName,i.fromState,i.toState,t||i.phaseName,e.totalTime??i.totalTime,!!e.disabled),o=i._data;return null!=o&&(a._data=o),a}function EM(i,t,e,n,r="",a=0,o){return{element:i,triggerName:t,fromState:e,toState:n,phaseName:r,totalTime:a,disabled:!!o}}function nl(i,t,e){let n=i.get(t);return n||i.set(t,n=e),n}function CP(i){const t=i.indexOf(":");return[i.substring(1,t),i.slice(t+1)]}c1.\u0275fac=function(t){return new(t||c1)(k(ni),k(Sr),k(Ra),k(Zi),k(La),k(qn),k(Cm),k(km),k(Ia),k(Tc),k(Is),k(Td),k(Mo),k(Ba),k(Ro),k(Hn),k(yo),k(Zf),k($r),k(G$),k(Pp),k(Dl))},c1.\u0275cmp=qe({type:c1,selectors:[["app-root"]],viewQuery:function(t,e){if(1&t&&(Lt(x_e,5),Lt(C_e,5),Lt(k_e,5)),2&t){let n;Ze(n=Xe())&&(e.drawer=n.first),Ze(n=Xe())&&(e.draweraccount=n.first),Ze(n=Xe())&&(e.searchInput=n.first)}},decls:2,vars:2,consts:[[3,"ngClass","dir",4,"ngIf"],["class","app-container",3,"ngClass","dir",4,"ngIf"],[3,"ngClass","dir"],[1,"app-container",3,"ngClass","dir"],["id","title-bar",1,"title-bar"],["height","24","width","24","src","assets/icons/icon-128x128.webp",1,"logo-icon-title-bar"],[3,"miniplayer",4,"ngIf"],[1,"app-toolbar"],["type","button","aria-label","Toggle sidenav","mat-icon-button","",3,"click",4,"ngIf"],["class","logo-icon","height","38","width","38","src","assets/icons/icon-128x128.webp",4,"ngIf"],["mat-icon-button","",3,"click",4,"ngIf"],["class","top-spacer",4,"ngIf"],[4,"ngIf"],["class","search-box",4,"ngIf"],["mat-icon-button","",3,"mtBasicSpinner",4,"ngIf"],["width","38","height","38","mat-icon-button","","onerror","this.src='/assets/profile.png'","alt","avatar","class","topavatar",3,"src","click",4,"ngIf"],["autosize","true"],[1,"sidenav","print-hidden",3,"ngClass","mode","opened"],["drawer",""],["mat-menu-item","","routerLinkActive","active",3,"routerLink","routerLinkActiveOptions","click"],[3,"matBadgeHidden","matBadge"],["mat-menu-item","",3,"click"],[1,"new-post",3,"ngClass"],["tabindex","10","width","92","height","92","src","/assets/post.svg",1,"new-post-button",3,"click"],["fixedInViewport","","position","end",1,"sidenav-right","print-hidden",3,"mode"],["draweraccount",""],[1,"container"],["mat-icon-button","",1,"close-sidenav-icon",3,"click"],["mat-icon-button","",1,"mat-icon-button","theme-sidenav-icon",3,"click"],["aria-label","Menu",1,"material-icons"],[1,"bio",3,"click"],["loading","lazy","alt","background","class","bg",3,"src",4,"ngIf"],[1,"desc"],[3,"routerLink","click"],[1,"avatarcontainer"],["width","96","height","96","onerror","this.src='/assets/profile.png'","alt","avatar",1,"avatar",3,"src"],[1,"content"],[1,"data"],[1,"opposite-link",3,"routerLink","click"],["hasBackdrop","true","backdropClass","menu-mode-backdrop","overlapTrigger","false"],["accounts","matMenu"],[1,"app-content"],[1,"app-outlet"],["class","app-mediaplayer",4,"ngIf"],[3,"miniplayer"],["type","button","aria-label","Toggle sidenav","mat-icon-button","",3,"click"],["height","38","width","38","src","assets/icons/icon-128x128.webp",1,"logo-icon"],["mat-icon-button","",3,"click"],[1,"arrow-back"],[1,"top-spacer"],["mat-icon-button","",3,"matTooltip","click",4,"ngFor","ngForOf"],["mat-icon-button","",3,"matTooltip","click"],[1,"search-box"],[1,"search-box-input"],["matInput","","aria-label","Search",3,"formControl","matAutocomplete"],["searchInput",""],["auto","matAutocomplete"],["class","search-result-option",3,"value","onSelectionChange",4,"ngFor","ngForOf"],[1,"search-result-option",3,"value","onSelectionChange"],["height","32",1,"search-result-image",3,"src"],["mat-icon-button","",3,"mtBasicSpinner"],["width","38","height","38","mat-icon-button","","onerror","this.src='/assets/profile.png'","alt","avatar",1,"topavatar",3,"src","click"],["loading","lazy","alt","background",1,"bg",3,"src"],[1,"app-mediaplayer"]],template:function(t,e){1&t&&(ee(0,D_e,2,4,"div",0),ee(1,_0e,133,120,"div",1)),2&t&&(S("ngIf",!e.authenticated),E(1),S("ngIf",e.authenticated))},dependencies:[qa,vn,ri,QC,va,k5,jq,Do,Oa,eo,bo,ku,LR,gM,_M,pM,Qn,dM,D0,pm,ed,RR,As,kge,gP,qu,xa,ua,Wu,$c,yD,TR,l1,Es],styles:[".logo-icon[_ngcontent-%COMP%]{cursor:pointer;-webkit-app-region:drag;margin-right:.4em}.logo-icon-title-bar[_ngcontent-%COMP%]{cursor:pointer;-webkit-app-region:drag;margin:4px;display:none;flex:0 0 24px}@media screen and (max-height: 200px){.logo-icon-title-bar[_ngcontent-%COMP%]{display:inline}.logo-icon[_ngcontent-%COMP%]{display:none}}@media screen and (max-width: 599px){.logo-icon-title-bar[_ngcontent-%COMP%]{display:inline}}.sidenav-small[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{margin-right:0!important}.sidenav-small[_ngcontent-%COMP%] .logo-icon[_ngcontent-%COMP%]{width:56px!important}.sidenav-labels[_ngcontent-%COMP%]{width:200px}.top-spacer[_ngcontent-%COMP%]{flex:1 1 auto;margin-left:.4em;overflow:hidden;text-overflow:ellipsis}.mdc-list-item.active[_ngcontent-%COMP%]{background:rgba(156,39,176,.15)}header[_ngcontent-%COMP%]{display:block;overflow:hidden;position:relative;padding-bottom:2em}.container[_ngcontent-%COMP%]{width:320px;padding-bottom:1em}.bg[_ngcontent-%COMP%]{border-bottom:3px solid #9c27b0;height:220px}.bio[_ngcontent-%COMP%]:hover > .desc[_ngcontent-%COMP%]{cursor:pointer;opacity:1}.avatarcontainer[_ngcontent-%COMP%]{position:absolute;bottom:0;right:0;left:0;margin:auto;width:102px;display:block}.avatarcontainer[_ngcontent-%COMP%]:hover > .hover[_ngcontent-%COMP%]{opacity:1}.avatar[_ngcontent-%COMP%]{width:100%;border:3px solid #9c27b0;border-radius:50%;overflow:hidden;position:relative;width:96px;height:96px}.avatar[_ngcontent-%COMP%]:hover{opacity:1;cursor:pointer}.topavatar[_ngcontent-%COMP%]{border-radius:50%;overflow:hidden;position:relative;width:38px;height:38px;margin-left:.2em}.topavatar[_ngcontent-%COMP%]:hover{opacity:.6;cursor:pointer}.data[_ngcontent-%COMP%]{margin-top:.6em;color:#81878b}.data[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:50%;text-align:center;display:inline-block}.data[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding-inline-start:0!important}.data[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border:none}.data[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;text-transform:uppercase;font-size:.5em;margin-top:.6em;font-weight:700}.desc[_ngcontent-%COMP%]{position:absolute;top:0;background-color:#0009;width:100%;height:100%;max-height:220px;color:#fff;text-align:center;opacity:.8;transition-property:all;transition-duration:.3s;transition-timing-function:ease-in}.desc[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:1.2em;margin-bottom:.5em}.desc[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:.9em;line-height:1.5em;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}.close-sidenav-icon[_ngcontent-%COMP%]{float:left;position:fixed;z-index:100000;margin:5px}.theme-sidenav-icon[_ngcontent-%COMP%]{float:right;position:fixed;z-index:100000;margin:5px;right:5px}.new-post[_ngcontent-%COMP%]{text-align:center}.new-post-button[_ngcontent-%COMP%]{width:92px;height:92px;position:fixed;bottom:2em;left:2.9em;cursor:pointer;transition:opacity .25s ease}.new-post-button[_ngcontent-%COMP%]:hover{opacity:.6}.search-box[_ngcontent-%COMP%]{padding-top:1em;top:20px;flex:1 1 auto;width:100%}.search-box-input[_ngcontent-%COMP%]{width:100%}.search-result-option[_ngcontent-%COMP%]{box-sizing:border-box;display:flex;flex-direction:row!important;align-items:center!important}.search-result-image[_ngcontent-%COMP%]{margin-right:.2em;border-radius:50%}.search-result-option[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-right:.4em}.mat-drawer-content[_ngcontent-%COMP%]{overflow:hidden}.app-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;box-sizing:border-box;overflow:hidden}.app-outlet[_ngcontent-%COMP%]{flex:2 2 auto;box-sizing:border-box;overscroll-behavior-y:contain;overflow-x:hidden;overflow-y:overlay!important}.app-mediaplayer[_ngcontent-%COMP%]{flex-basis:96px;flex-grow:0;flex-shrink:1;box-sizing:border-box}"]});let SM=(i,t)=>!1,kP=(i,t,e)=>[],DP=null;function TM(i){const t=i.parentNode||i.host;return t===DP?null:t}(kM()||typeof Element<"u")&&(X0e()?(DP=(()=>document.documentElement)(),SM=(i,t)=>{for(;t;){if(t===i)return!0;t=TM(t)}return!1}):SM=(i,t)=>i.contains(t),kP=(i,t,e)=>{if(e)return Array.from(i.querySelectorAll(t));const n=i.querySelector(t);return n?[n]:[]});let Dm=null,MP=!1;const EP=SM,SP=kP;let TP=(()=>{class i{validateStyleProperty(e){return function e1e(i){Dm||(Dm=function t1e(){return typeof document<"u"?document.body:null}()||{},MP=!!Dm.style&&"WebkitAppearance"in Dm.style);let t=!0;return Dm.style&&!function J0e(i){return"ebkit"==i.substring(1,6)}(i)&&(t=i in Dm.style,!t&&MP&&(t="Webkit"+i.charAt(0).toUpperCase()+i.slice(1)in Dm.style)),t}(e)}matchesElement(e,n){return!1}containsElement(e,n){return EP(e,n)}getParentElement(e){return TM(e)}query(e,n,r){return SP(e,n,r)}computeStyle(e,n,r){return r||""}animate(e,n,r,a,o,c=[],h){return new Kg(r,a)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})(),AM=(()=>{class i{}return i.NOOP=new TP,i})();const i1e=1e3,IM="ng-enter",gw="ng-leave",_w="ng-trigger",bw=".ng-trigger",IP="ng-animating",LM=".ng-animating";function ou(i){if("number"==typeof i)return i;const t=i.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:NM(parseFloat(t[1]),t[2])}function NM(i,t){return"s"===t?i*i1e:i}function yw(i,t,e){return i.hasOwnProperty("duration")?i:function r1e(i,t,e){let r,a=0,o="";if("string"==typeof i){const c=i.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===c)return t.push(FP()),{duration:0,delay:0,easing:""};r=NM(parseFloat(c[1]),c[2]);const h=c[3];null!=h&&(a=NM(parseFloat(h),c[4]));const f=c[5];f&&(o=f)}else r=i;if(!e){let c=!1,h=t.length;r<0&&(t.push(function b0e(){return new tt(3100,!1)}()),c=!0),a<0&&(t.push(function y0e(){return new tt(3101,!1)}()),c=!0),c&&t.splice(h,0,FP())}return{duration:r,delay:a,easing:o}}(i,t,e)}function d1(i,t={}){return Object.keys(i).forEach(e=>{t[e]=i[e]}),t}function LP(i){const t=new Map;return Object.keys(i).forEach(e=>{t.set(e,i[e])}),t}function uh(i,t=new Map,e){if(e)for(let[n,r]of e)t.set(n,r);for(let[n,r]of i)t.set(n,r);return t}function OP(i,t,e){return e?t+":"+e+";":""}function RP(i){let t="";for(let e=0;e<i.style.length;e++){const n=i.style.item(e);t+=OP(0,n,i.style.getPropertyValue(n))}for(const e in i.style)i.style.hasOwnProperty(e)&&!e.startsWith("_")&&(t+=OP(0,l1e(e),i.style[e]));i.setAttribute("style",t)}function rd(i,t,e){i.style&&(t.forEach((n,r)=>{const a=RM(r);e&&!e.has(r)&&e.set(r,i.style[a]),i.style[a]=n}),kM()&&RP(i))}function Mm(i,t){i.style&&(t.forEach((e,n)=>{const r=RM(n);i.style[r]=""}),kM()&&RP(i))}function u1(i){return Array.isArray(i)?1==i.length?i[0]:y6(i):i}const OM=new RegExp("{{\\s*(.+?)\\s*}}","g");function PP(i){let t=[];if("string"==typeof i){let e;for(;e=OM.exec(i);)t.push(e[1]);OM.lastIndex=0}return t}function h1(i,t,e){const n=i.toString(),r=n.replace(OM,(a,o)=>{let c=t[o];return null==c&&(e.push(function w0e(i){return new tt(3003,!1)}()),c=""),c.toString()});return r==n?i:r}function vw(i){const t=[];let e=i.next();for(;!e.done;)t.push(e.value),e=i.next();return t}const s1e=/-+([a-z0-9])/g;function RM(i){return i.replace(s1e,(...t)=>t[1].toUpperCase())}function l1e(i){return i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function rl(i,t,e){switch(t.type){case 7:return i.visitTrigger(t,e);case 0:return i.visitState(t,e);case 1:return i.visitTransition(t,e);case 2:return i.visitSequence(t,e);case 3:return i.visitGroup(t,e);case 4:return i.visitAnimate(t,e);case 5:return i.visitKeyframes(t,e);case 6:return i.visitStyle(t,e);case 8:return i.visitReference(t,e);case 9:return i.visitAnimateChild(t,e);case 10:return i.visitAnimateRef(t,e);case 11:return i.visitQuery(t,e);case 12:return i.visitStagger(t,e);default:throw function F0e(i){return new tt(3004,!1)}()}}function BP(i,t){return window.getComputedStyle(i)[t]}const xw="*";function f1e(i,t){const e=[];return"string"==typeof i?i.split(/\s*,\s*/).forEach(n=>function p1e(i,t,e){if(":"==i[0]){const h=function g1e(i,t){switch(i){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,n)=>parseFloat(n)>parseFloat(e);case":decrement":return(e,n)=>parseFloat(n)<parseFloat(e);default:return t.push(function R0e(i){return new tt(3016,!1)}()),"* => *"}}(i,e);if("function"==typeof h)return void t.push(h);i=h}const n=i.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==n||n.length<4)return e.push(function O0e(i){return new tt(3015,!1)}()),t;const r=n[1],a=n[2],o=n[3];t.push(HP(r,o));"<"==a[0]&&!(r==xw&&o==xw)&&t.push(HP(o,r))}(n,e,t)):e.push(i),e}const Cw=new Set(["true","1"]),kw=new Set(["false","0"]);function HP(i,t){const e=Cw.has(i)||kw.has(i),n=Cw.has(t)||kw.has(t);return(r,a)=>{let o=i==xw||i==r,c=t==xw||t==a;return!o&&e&&"boolean"==typeof r&&(o=r?Cw.has(i):kw.has(i)),!c&&n&&"boolean"==typeof a&&(c=a?Cw.has(t):kw.has(t)),o&&c}}const _1e=new RegExp("s*:selfs*,?","g");function PM(i,t,e,n){return new b1e(i).build(t,e,n)}class b1e{constructor(t){this._driver=t}build(t,e,n){const r=new w1e(e);return this._resetContextStyleTimingState(r),rl(this,u1(t),r)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,r=e.depCount=0;const a=[],o=[];return"@"==t.name.charAt(0)&&e.errors.push(function C0e(){return new tt(3006,!1)}()),t.definitions.forEach(c=>{if(this._resetContextStyleTimingState(e),0==c.type){const h=c,f=h.name;f.toString().split(/\s*,\s*/).forEach(x=>{h.name=x,a.push(this.visitState(h,e))}),h.name=f}else if(1==c.type){const h=this.visitTransition(c,e);n+=h.queryCount,r+=h.depCount,o.push(h)}else e.errors.push(function k0e(){return new tt(3007,!1)}())}),{type:7,name:t.name,states:a,transitions:o,queryCount:n,depCount:r,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(n.containsDynamicStyles){const a=new Set,o=r||{};n.styles.forEach(c=>{c instanceof Map&&c.forEach(h=>{PP(h).forEach(f=>{o.hasOwnProperty(f)||a.add(f)})})}),a.size&&(vw(a.values()),e.errors.push(function D0e(i,t){return new tt(3008,!1)}()))}return{type:0,name:t.name,style:n,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=rl(this,u1(t.animation),e);return{type:1,matchers:f1e(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:Em(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(n=>rl(this,n,e)),options:Em(t.options)}}visitGroup(t,e){const n=e.currentTime;let r=0;const a=t.steps.map(o=>{e.currentTime=n;const c=rl(this,o,e);return r=Math.max(r,e.currentTime),c});return e.currentTime=r,{type:3,steps:a,options:Em(t.options)}}visitAnimate(t,e){const n=function x1e(i,t){if(i.hasOwnProperty("duration"))return i;if("number"==typeof i)return BM(yw(i,t).duration,0,"");const e=i;if(e.split(/\s+/).some(a=>"{"==a.charAt(0)&&"{"==a.charAt(1))){const a=BM(0,0,"");return a.dynamic=!0,a.strValue=e,a}const r=yw(e,t);return BM(r.duration,r.delay,r.easing)}(t.timings,e.errors);e.currentAnimateTimings=n;let r,a=t.styles?t.styles:pi({});if(5==a.type)r=this.visitKeyframes(a,e);else{let o=t.styles,c=!1;if(!o){c=!0;const f={};n.easing&&(f.easing=n.easing),o=pi(f)}e.currentTime+=n.duration+n.delay;const h=this.visitStyle(o,e);h.isEmptyStep=c,r=h}return e.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[],r=Array.isArray(t.styles)?t.styles:[t.styles];for(let c of r)"string"==typeof c?c===Nd?n.push(c):e.errors.push(new tt(3002,!1)):n.push(LP(c));let a=!1,o=null;return n.forEach(c=>{if(c instanceof Map&&(c.has("easing")&&(o=c.get("easing"),c.delete("easing")),!a))for(let h of c.values())if(h.toString().indexOf("{{")>=0){a=!0;break}}),{type:6,styles:n,easing:o,offset:t.offset,containsDynamicStyles:a,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let r=e.currentTime,a=e.currentTime;n&&a>0&&(a-=n.duration+n.delay),t.styles.forEach(o=>{"string"!=typeof o&&o.forEach((c,h)=>{const f=e.collectedStyles.get(e.currentQuerySelector),x=f.get(h);let P=!0;x&&(a!=r&&a>=x.startTime&&r<=x.endTime&&(e.errors.push(function E0e(i,t,e,n,r){return new tt(3010,!1)}()),P=!1),a=x.startTime),P&&f.set(h,{startTime:a,endTime:r}),e.options&&function o1e(i,t,e){const n=t.params||{},r=PP(i);r.length&&r.forEach(a=>{n.hasOwnProperty(a)||e.push(function v0e(i){return new tt(3001,!1)}())})}(c,e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function S0e(){return new tt(3011,!1)}()),n;let a=0;const o=[];let c=!1,h=!1,f=0;const x=t.steps.map(Le=>{const it=this._makeStyleAst(Le,e);let Be=null!=it.offset?it.offset:function F1e(i){if("string"==typeof i)return null;let t=null;if(Array.isArray(i))i.forEach(e=>{if(e instanceof Map&&e.has("offset")){const n=e;t=parseFloat(n.get("offset")),n.delete("offset")}});else if(i instanceof Map&&i.has("offset")){const e=i;t=parseFloat(e.get("offset")),e.delete("offset")}return t}(it.styles),ut=0;return null!=Be&&(a++,ut=it.offset=Be),h=h||ut<0||ut>1,c=c||ut<f,f=ut,o.push(ut),it});h&&e.errors.push(function T0e(){return new tt(3012,!1)}()),c&&e.errors.push(function A0e(){return new tt(3200,!1)}());const P=t.steps.length;let $=0;a>0&&a<P?e.errors.push(function I0e(){return new tt(3202,!1)}()):0==a&&($=1/(P-1));const te=P-1,fe=e.currentTime,ye=e.currentAnimateTimings,Ie=ye.duration;return x.forEach((Le,it)=>{const Be=$>0?it==te?1:$*it:o[it],ut=Be*Ie;e.currentTime=fe+ye.delay+ut,ye.duration=ut,this._validateStyleAst(Le,e),Le.offset=Be,n.styles.push(Le)}),n}visitReference(t,e){return{type:8,animation:rl(this,u1(t.animation),e),options:Em(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:Em(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Em(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[a,o]=function y1e(i){const t=!!i.split(/\s*,\s*/).find(e=>":self"==e);return t&&(i=i.replace(_1e,"")),i=i.replace(/@\*/g,bw).replace(/@\w+/g,e=>bw+"-"+e.slice(1)).replace(/:animating/g,LM),[i,t]}(t.selector);e.currentQuerySelector=n.length?n+" "+a:a,nl(e.collectedStyles,e.currentQuerySelector,new Map);const c=rl(this,u1(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:a,limit:r.limit||0,optional:!!r.optional,includeSelf:o,animation:c,originalSelector:t.selector,options:Em(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(function L0e(){return new tt(3013,!1)}());const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:yw(t.timings,e.errors,!0);return{type:12,animation:rl(this,u1(t.animation),e),timings:n,options:null}}}class w1e{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Em(i){return i?(i=d1(i)).params&&(i.params=function v1e(i){return i?d1(i):null}(i.params)):i={},i}function BM(i,t,e){return{duration:i,delay:t,easing:e}}function HM(i,t,e,n,r,a,o=null,c=!1){return{type:1,element:i,keyframes:t,preStyleProps:e,postStyleProps:n,duration:r,delay:a,totalTime:r+a,easing:o,subTimeline:c}}class Dw{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const D1e=new RegExp(":enter","g"),E1e=new RegExp(":leave","g");function VM(i,t,e,n,r,a=new Map,o=new Map,c,h,f=[]){return(new S1e).buildKeyframes(i,t,e,n,r,a,o,c,h,f)}class S1e{buildKeyframes(t,e,n,r,a,o,c,h,f,x=[]){f=f||new Dw;const P=new YM(t,e,f,r,a,x,[]);P.options=h;const $=h.delay?ou(h.delay):0;P.currentTimeline.delayNextStep($),P.currentTimeline.setStyles([o],null,P.errors,h),rl(this,n,P);const te=P.timelines.filter(fe=>fe.containsAnimation());if(te.length&&c.size){let fe;for(let ye=te.length-1;ye>=0;ye--){const Ie=te[ye];if(Ie.element===e){fe=Ie;break}}fe&&!fe.allowOnlyTimelineStyles()&&fe.setStyles([c],null,P.errors,h)}return te.length?te.map(fe=>fe.buildKeyframes()):[HM(e,[],[],[],0,$,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.get(e.element);if(n){const r=e.createSubContext(t.options),a=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);a!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,n),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,n){for(const r of t){const a=r?.delay;if(a){const o="number"==typeof a?a:ou(h1(a,r?.params??{},e.errors));n.delayNextStep(o)}}}_visitSubInstructions(t,e,n){let a=e.currentTimeline.currentTime;const o=null!=n.duration?ou(n.duration):null,c=null!=n.delay?ou(n.delay):null;return 0!==o&&t.forEach(h=>{const f=e.appendInstructionToTimeline(h,o,c);a=Math.max(a,f.duration+f.delay)}),a}visitReference(t,e){e.updateOptions(t.options,!0),rl(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let r=e;const a=t.options;if(a&&(a.params||a.delay)&&(r=e.createSubContext(a),r.transformIntoNewTimeline(),null!=a.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Mw);const o=ou(a.delay);r.delayNextStep(o)}t.steps.length&&(t.steps.forEach(o=>rl(this,o,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let r=e.currentTimeline.currentTime;const a=t.options&&t.options.delay?ou(t.options.delay):0;t.steps.forEach(o=>{const c=e.createSubContext(t.options);a&&c.delayNextStep(a),rl(this,o,c),r=Math.max(r,c.currentTimeline.currentTime),n.push(c.currentTimeline)}),n.forEach(o=>e.currentTimeline.mergeTimelineCollectedStyles(o)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return yw(e.params?h1(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());const a=t.style;5==a.type?this.visitKeyframes(a,e):(e.incrementTime(n.duration),this.visitStyle(a,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.hasCurrentStyleProperties()&&n.forwardFrame();const a=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(a):n.setStyles(t.styles,a,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,r=e.currentTimeline.duration,a=n.duration,c=e.createSubContext().currentTimeline;c.easing=n.easing,t.styles.forEach(h=>{c.forwardTime((h.offset||0)*a),c.setStyles(h.styles,h.easing,e.errors,e.options),c.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(c),e.transformIntoNewTimeline(r+a),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,r=t.options||{},a=r.delay?ou(r.delay):0;a&&(6===e.previousNode.type||0==n&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Mw);let o=n;const c=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=c.length;let h=null;c.forEach((f,x)=>{e.currentQueryIndex=x;const P=e.createSubContext(t.options,f);a&&P.delayNextStep(a),f===e.element&&(h=P.currentTimeline),rl(this,t.animation,P),P.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,P.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(o),h&&(e.currentTimeline.mergeTimelineCollectedStyles(h),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,r=e.currentTimeline,a=t.timings,o=Math.abs(a.duration),c=o*(e.currentQueryTotal-1);let h=o*e.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":h=c-h;break;case"full":h=n.currentStaggerTime}const x=e.currentTimeline;h&&x.delayNextStep(h);const P=x.currentTime;rl(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-P+(r.startTime-n.currentTimeline.startTime)}}const Mw={};class YM{constructor(t,e,n,r,a,o,c,h){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=a,this.errors=o,this.timelines=c,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Mw,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=h||new Ew(this._driver,e,0),c.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let r=this.options;null!=n.duration&&(r.duration=ou(n.duration)),null!=n.delay&&(r.delay=ou(n.delay));const a=n.params;if(a){let o=r.params;o||(o=this.options.params={}),Object.keys(a).forEach(c=>{(!e||!o.hasOwnProperty(c))&&(o[c]=h1(a[c],o,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(r=>{n[r]=e[r]})}}return t}createSubContext(t=null,e,n){const r=e||this.element,a=new YM(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(t),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}transformIntoNewTimeline(t){return this.previousNode=Mw,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const r={duration:e??t.duration,delay:this.currentTimeline.currentTime+(n??0)+t.delay,easing:""},a=new T1e(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(a),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,r,a,o){let c=[];if(r&&c.push(this.element),t.length>0){t=(t=t.replace(D1e,"."+this._enterClassName)).replace(E1e,"."+this._leaveClassName);let f=this._driver.query(this.element,t,1!=n);0!==n&&(f=n<0?f.slice(f.length+n,f.length):f.slice(0,n)),c.push(...f)}return!a&&0==c.length&&o.push(function N0e(i){return new tt(3014,!1)}()),c}}class Ew{constructor(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new Ew(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,n]of this._globalTimelineStyles)this._backFill.set(e,n||Nd),this._currentKeyframe.set(e,Nd);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,r){e&&this._previousKeyframe.set("easing",e);const a=r&&r.params||{},o=function A1e(i,t){const e=new Map;let n;return i.forEach(r=>{if("*"===r){n=n||t.keys();for(let a of n)e.set(a,Nd)}else uh(r,e)}),e}(t,this._globalTimelineStyles);for(let[c,h]of o){const f=h1(h,a,n);this._pendingStyles.set(c,f),this._localTimelineStyles.has(c)||this._backFill.set(c,this._globalTimelineStyles.get(c)??Nd),this._updateStyle(c,f)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,n)=>{const r=this._styleSummary.get(n);(!r||e.time>r.time)&&this._updateStyle(n,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((c,h)=>{const f=uh(c,new Map,this._backFill);f.forEach((x,P)=>{x===LC?t.add(P):x===Nd&&e.add(P)}),n||f.set("offset",h/this.duration),r.push(f)});const a=t.size?vw(t.values()):[],o=e.size?vw(e.values()):[];if(n){const c=r[0],h=new Map(c);c.set("offset",0),h.set("offset",1),r=[c,h]}return HM(this.element,r,a,o,this.duration,this.startTime,this.easing,!1)}}class T1e extends Ew{constructor(t,e,n,r,a,o,c=!1){super(t,e,o.delay),this.keyframes=n,this.preStyleProps=r,this.postStyleProps=a,this._stretchStartingKeyframe=c,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const a=[],o=n+e,c=e/o,h=uh(t[0]);h.set("offset",0),a.push(h);const f=uh(t[0]);f.set("offset",jP(c)),a.push(f);const x=t.length-1;for(let P=1;P<=x;P++){let $=uh(t[P]);const te=$.get("offset");$.set("offset",jP((e+te*n)/o)),a.push($)}n=o,e=0,r="",t=a}return HM(this.element,t,this.preStyleProps,this.postStyleProps,n,e,r,!0)}}function jP(i,t=3){const e=Math.pow(10,t-1);return Math.round(i*e)/e}class jM{}const I1e=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class L1e extends jM{normalizePropertyName(t,e){return RM(t)}normalizeStyleValue(t,e,n,r){let a="";const o=n.toString().trim();if(I1e.has(e)&&0!==n&&"0"!==n)if("number"==typeof n)a="px";else{const c=n.match(/^[+-]?[\d\.]+([a-z]*)$/);c&&0==c[1].length&&r.push(function x0e(i,t){return new tt(3005,!1)}())}return o+a}}function zP(i,t,e,n,r,a,o,c,h,f,x,P,$){return{type:0,element:i,triggerName:t,isRemovalTransition:r,fromState:e,fromStyles:a,toState:n,toStyles:o,timelines:c,queriedElements:h,preStyleProps:f,postStyleProps:x,totalTime:P,errors:$}}const zM={};class UP{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,r){return function N1e(i,t,e,n,r){return i.some(a=>a(t,e,n,r))}(this.ast.matchers,t,e,n,r)}buildStyles(t,e,n){let r=this._stateStyles.get("*");return void 0!==t&&(r=this._stateStyles.get(t?.toString())||r),r?r.buildStyles(e,n):new Map}build(t,e,n,r,a,o,c,h,f,x){const P=[],$=this.ast.options&&this.ast.options.params||zM,fe=this.buildStyles(n,c&&c.params||zM,P),ye=h&&h.params||zM,Ie=this.buildStyles(r,ye,P),Le=new Set,it=new Map,Be=new Map,ut="void"===r,Tt={params:O1e(ye,$),delay:this.ast.options?.delay},qt=x?[]:VM(t,e,this.ast.animation,a,o,fe,Ie,Tt,f,P);let Vn=0;if(qt.forEach(Kn=>{Vn=Math.max(Kn.duration+Kn.delay,Vn)}),P.length)return zP(e,this._triggerName,n,r,ut,fe,Ie,[],[],it,Be,Vn,P);qt.forEach(Kn=>{const sa=Kn.element,Ns=nl(it,sa,new Set);Kn.preStyleProps.forEach(fs=>Ns.add(fs));const Kr=nl(Be,sa,new Set);Kn.postStyleProps.forEach(fs=>Kr.add(fs)),sa!==e&&Le.add(sa)});const Mn=vw(Le.values());return zP(e,this._triggerName,n,r,ut,fe,Ie,qt,Mn,it,Be,Vn)}}function O1e(i,t){const e=d1(t);for(const n in i)i.hasOwnProperty(n)&&null!=i[n]&&(e[n]=i[n]);return e}class R1e{constructor(t,e,n){this.styles=t,this.defaultParams=e,this.normalizer=n}buildStyles(t,e){const n=new Map,r=d1(this.defaultParams);return Object.keys(t).forEach(a=>{const o=t[a];null!==o&&(r[a]=o)}),this.styles.styles.forEach(a=>{"string"!=typeof a&&a.forEach((o,c)=>{o&&(o=h1(o,r,e));const h=this.normalizer.normalizePropertyName(c,e);o=this.normalizer.normalizeStyleValue(c,h,o,e),n.set(c,o)})}),n}}class B1e{constructor(t,e,n){this.name=t,this.ast=e,this._normalizer=n,this.transitionFactories=[],this.states=new Map,e.states.forEach(r=>{this.states.set(r.name,new R1e(r.style,r.options&&r.options.params||{},n))}),WP(this.states,"true","1"),WP(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new UP(t,r,this.states))}),this.fallbackTransition=function H1e(i,t,e){return new UP(i,{type:1,animation:{type:2,steps:[],options:null},matchers:[(o,c)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,r){return this.transitionFactories.find(o=>o.match(t,e,n,r))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function WP(i,t,e){i.has(t)?i.has(e)||i.set(e,i.get(t)):i.has(e)&&i.set(t,i.get(e))}const V1e=new Dw;class Y1e{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){const n=[],r=[],a=PM(this._driver,e,n,r);if(n.length)throw function Y0e(i){return new tt(3503,!1)}();this._animations.set(t,a)}_buildPlayer(t,e,n){const r=t.element,a=xP(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,a,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const r=[],a=this._animations.get(t);let o;const c=new Map;if(a?(o=VM(this._driver,e,a,IM,gw,new Map,new Map,n,V1e,r),o.forEach(x=>{const P=nl(c,x.element,new Map);x.postStyleProps.forEach($=>P.set($,null))})):(r.push(function j0e(){return new tt(3300,!1)}()),o=[]),r.length)throw function z0e(i){return new tt(3504,!1)}();c.forEach((x,P)=>{x.forEach(($,te)=>{x.set(te,this._driver.computeStyle(P,te,Nd))})});const f=dh(o.map(x=>{const P=c.get(x.element);return this._buildPlayer(x,new Map,P)}));return this._playersById.set(t,f),f.onDestroy(()=>this.destroy(t)),this.players.push(f),f}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw function U0e(i){return new tt(3301,!1)}();return e}listen(t,e,n,r){const a=EM(e,"","","");return DM(this._getPlayer(t),n,a,r),()=>{}}command(t,e,n,r){if("register"==n)return void this.register(t,r[0]);if("create"==n)return void this.create(t,e,r[0]||{});const a=this._getPlayer(t);switch(n){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const GP="ng-animate-queued",UM="ng-animate-disabled",G1e=[],qP={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},q1e={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Il="__ng_removed";class WM{get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=function Z1e(i){return i??null}(n?t.value:t),n){const a=d1(t);delete a.value,this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){const e=t.params;if(e){const n=this.options.params;Object.keys(e).forEach(r=>{null==n[r]&&(n[r]=e[r])})}}}const m1="void",GM=new WM(m1);class $1e{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Ll(e,this._hostClassName)}listen(t,e,n,r){if(!this._triggers.has(e))throw function W0e(i,t){return new tt(3302,!1)}();if(null==n||0==n.length)throw function G0e(i){return new tt(3303,!1)}();if(!function X1e(i){return"start"==i||"done"==i}(n))throw function q0e(i,t){return new tt(3400,!1)}();const a=nl(this._elementListeners,t,[]),o={name:e,phase:n,callback:r};a.push(o);const c=nl(this._engine.statesByElement,t,new Map);return c.has(e)||(Ll(t,_w),Ll(t,_w+"-"+e),c.set(e,GM)),()=>{this._engine.afterFlush(()=>{const h=a.indexOf(o);h>=0&&a.splice(h,1),this._triggers.has(e)||c.delete(e)})}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw function $0e(i){return new tt(3401,!1)}();return e}trigger(t,e,n,r=!0){const a=this._getTrigger(e),o=new qM(this.id,e,t);let c=this._engine.statesByElement.get(t);c||(Ll(t,_w),Ll(t,_w+"-"+e),this._engine.statesByElement.set(t,c=new Map));let h=c.get(e);const f=new WM(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&h&&f.absorbOptions(h.options),c.set(e,f),h||(h=GM),f.value!==m1&&h.value===f.value){if(!function tbe(i,t){const e=Object.keys(i),n=Object.keys(t);if(e.length!=n.length)return!1;for(let r=0;r<e.length;r++){const a=e[r];if(!t.hasOwnProperty(a)||i[a]!==t[a])return!1}return!0}(h.params,f.params)){const ye=[],Ie=a.matchStyles(h.value,h.params,ye),Le=a.matchStyles(f.value,f.params,ye);ye.length?this._engine.reportError(ye):this._engine.afterFlush(()=>{Mm(t,Ie),rd(t,Le)})}return}const $=nl(this._engine.playersByElement,t,[]);$.forEach(ye=>{ye.namespaceId==this.id&&ye.triggerName==e&&ye.queued&&ye.destroy()});let te=a.matchTransition(h.value,f.value,t,f.params),fe=!1;if(!te){if(!r)return;te=a.fallbackTransition,fe=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:te,fromState:h,toState:f,player:o,isFallbackTransition:fe}),fe||(Ll(t,GP),o.onStart(()=>{Bp(t,GP)})),o.onDone(()=>{let ye=this.players.indexOf(o);ye>=0&&this.players.splice(ye,1);const Ie=this._engine.playersByElement.get(t);if(Ie){let Le=Ie.indexOf(o);Le>=0&&Ie.splice(Le,1)}}),this.players.push(o),$.push(o),o}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(r=>r.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(n=>n.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,bw,!0);n.forEach(r=>{if(r[Il])return;const a=this._engine.fetchNamespacesByElement(r);a.size?a.forEach(o=>o.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(t,e,n,r){const a=this._engine.statesByElement.get(t),o=new Map;if(a){const c=[];if(a.forEach((h,f)=>{if(o.set(f,h.value),this._triggers.has(f)){const x=this.trigger(t,f,m1,r);x&&c.push(x)}}),c.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,o),n&&dh(c).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),n=this._engine.statesByElement.get(t);if(e&&n){const r=new Set;e.forEach(a=>{const o=a.name;if(r.has(o))return;r.add(o);const h=this._triggers.get(o).fallbackTransition,f=n.get(o)||GM,x=new WM(m1),P=new qM(this.id,o,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:o,transition:h,fromState:f,toState:x,player:P,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(n.totalAnimations){const a=n.players.length?n.playersByQueriedElement.get(t):[];if(a&&a.length)r=!0;else{let o=t;for(;o=o.parentNode;)if(n.statesByElement.get(o)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)n.markElementAsRemoved(this.id,t,!1,e);else{const a=t[Il];(!a||a===qP)&&(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Ll(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const r=n.player;if(r.destroyed)return;const a=n.element,o=this._elementListeners.get(a);o&&o.forEach(c=>{if(c.name==n.triggerName){const h=EM(a,n.triggerName,n.fromState.value,n.toState.value);h._data=t,DM(n.player,c.phase,h,c.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(n)}),this._queue=[],e.sort((n,r)=>{const a=n.transition.ast.depCount,o=r.transition.ast.depCount;return 0==a||0==o?a-o:this._engine.driver.containsElement(n.element,r.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(n=>n.element===t)||e,e}}class K1e{_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,a)=>{}}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(n=>{n.queued&&t.push(n)})}),t}createNamespace(t,e){const n=new $1e(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList,r=this.namespacesByHostElement;if(n.length-1>=0){let o=!1,c=this.driver.getParentElement(e);for(;c;){const h=r.get(c);if(h){const f=n.indexOf(h);n.splice(f+1,0,t),o=!0;break}c=this.driver.getParentElement(c)}o||n.unshift(t)}else n.push(t);return r.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const r=this._namespaceList.indexOf(n);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n)for(let r of n.values())if(r.namespaceId){const a=this._fetchNamespace(r.namespaceId);a&&e.add(a)}return e}trigger(t,e,n,r){if(Sw(e)){const a=this._fetchNamespace(t);if(a)return a.trigger(e,n,r),!0}return!1}insertNode(t,e,n,r){if(!Sw(e))return;const a=e[Il];if(a&&a.setForRemoval){a.setForRemoval=!1,a.setForMove=!0;const o=this.collectedLeaveElements.indexOf(e);o>=0&&this.collectedLeaveElements.splice(o,1)}if(t){const o=this._fetchNamespace(t);o&&o.insertNode(e,n)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Ll(t,UM)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Bp(t,UM))}removeNode(t,e,n,r){if(Sw(e)){const a=t?this._fetchNamespace(t):null;if(a?a.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),n){const o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,n,r,a){this.collectedLeaveElements.push(e),e[Il]={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:a}}listen(t,e,n,r,a){return Sw(e)?this._fetchNamespace(t).listen(e,n,r,a):()=>{}}_buildInstruction(t,e,n,r,a){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,a)}destroyInnerAnimations(t){let e=this.driver.query(t,bw,!0);e.forEach(n=>this.destroyActiveAnimationsForElement(n)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,LM,!0),e.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return dh(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[Il];if(e&&e.setForRemoval){if(t[Il]=qP,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(UM)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,r)=>this._balanceNamespaceList(n,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)Ll(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{e=this._flushAnimations(n,t)}finally{for(let r=0;r<n.length;r++)n[r]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(n=>n()),this._flushFns=[],this._whenQuietFns.length){const n=this._whenQuietFns;this._whenQuietFns=[],e.length?dh(e).onDone(()=>{n.forEach(r=>r())}):n.forEach(r=>r())}}reportError(t){throw function K0e(i){return new tt(3402,!1)}()}_flushAnimations(t,e){const n=new Dw,r=[],a=new Map,o=[],c=new Map,h=new Map,f=new Map,x=new Set;this.disabledNodes.forEach(bi=>{x.add(bi);const zi=this.driver.query(bi,".ng-animate-queued",!0);for(let Xi=0;Xi<zi.length;Xi++)x.add(zi[Xi])});const P=this.bodyNode,$=Array.from(this.statesByElement.keys()),te=QP($,this.collectedEnterElements),fe=new Map;let ye=0;te.forEach((bi,zi)=>{const Xi=IM+ye++;fe.set(zi,Xi),bi.forEach(hr=>Ll(hr,Xi))});const Ie=[],Le=new Set,it=new Set;for(let bi=0;bi<this.collectedLeaveElements.length;bi++){const zi=this.collectedLeaveElements[bi],Xi=zi[Il];Xi&&Xi.setForRemoval&&(Ie.push(zi),Le.add(zi),Xi.hasAnimation?this.driver.query(zi,".ng-star-inserted",!0).forEach(hr=>Le.add(hr)):it.add(zi))}const Be=new Map,ut=QP($,Array.from(Le));ut.forEach((bi,zi)=>{const Xi=gw+ye++;Be.set(zi,Xi),bi.forEach(hr=>Ll(hr,Xi))}),t.push(()=>{te.forEach((bi,zi)=>{const Xi=fe.get(zi);bi.forEach(hr=>Bp(hr,Xi))}),ut.forEach((bi,zi)=>{const Xi=Be.get(zi);bi.forEach(hr=>Bp(hr,Xi))}),Ie.forEach(bi=>{this.processLeaveNode(bi)})});const Tt=[],qt=[];for(let bi=this._namespaceList.length-1;bi>=0;bi--)this._namespaceList[bi].drainQueuedTransitions(e).forEach(Xi=>{const hr=Xi.player,Eo=Xi.element;if(Tt.push(hr),this.collectedEnterElements.length){const is=Eo[Il];if(is&&is.setForMove){if(is.previousTriggersValues&&is.previousTriggersValues.has(Xi.triggerName)){const Im=is.previousTriggersValues.get(Xi.triggerName),Nl=this.statesByElement.get(Xi.element);if(Nl&&Nl.has(Xi.triggerName)){const Kw=Nl.get(Xi.triggerName);Kw.value=Im,Nl.set(Xi.triggerName,Kw)}}return void hr.destroy()}}const od=!P||!this.driver.containsElement(P,Eo),al=Be.get(Eo),hh=fe.get(Eo),ma=this._buildInstruction(Xi,n,hh,al,od);if(ma.errors&&ma.errors.length)return void qt.push(ma);if(od)return hr.onStart(()=>Mm(Eo,ma.fromStyles)),hr.onDestroy(()=>rd(Eo,ma.toStyles)),void r.push(hr);if(Xi.isFallbackTransition)return hr.onStart(()=>Mm(Eo,ma.fromStyles)),hr.onDestroy(()=>rd(Eo,ma.toStyles)),void r.push(hr);const $9=[];ma.timelines.forEach(is=>{is.stretchStartingKeyframe=!0,this.disabledNodes.has(is.element)||$9.push(is)}),ma.timelines=$9,n.append(Eo,ma.timelines),o.push({instruction:ma,player:hr,element:Eo}),ma.queriedElements.forEach(is=>nl(c,is,[]).push(hr)),ma.preStyleProps.forEach((is,Im)=>{if(is.size){let Nl=h.get(Im);Nl||h.set(Im,Nl=new Set),is.forEach((Kw,p3)=>Nl.add(p3))}}),ma.postStyleProps.forEach((is,Im)=>{let Nl=f.get(Im);Nl||f.set(Im,Nl=new Set),is.forEach((Kw,p3)=>Nl.add(p3))})});if(qt.length){const bi=[];qt.forEach(zi=>{bi.push(function Q0e(i,t){return new tt(3505,!1)}())}),Tt.forEach(zi=>zi.destroy()),this.reportError(bi)}const Vn=new Map,Mn=new Map;o.forEach(bi=>{const zi=bi.element;n.has(zi)&&(Mn.set(zi,zi),this._beforeAnimationBuild(bi.player.namespaceId,bi.instruction,Vn))}),r.forEach(bi=>{const zi=bi.element;this._getPreviousPlayers(zi,!1,bi.namespaceId,bi.triggerName,null).forEach(hr=>{nl(Vn,zi,[]).push(hr),hr.destroy()})});const Kn=Ie.filter(bi=>XP(bi,h,f)),sa=new Map;KP(sa,this.driver,it,f,Nd).forEach(bi=>{XP(bi,h,f)&&Kn.push(bi)});const Kr=new Map;te.forEach((bi,zi)=>{KP(Kr,this.driver,new Set(bi),h,LC)}),Kn.forEach(bi=>{const zi=sa.get(bi),Xi=Kr.get(bi);sa.set(bi,new Map([...Array.from(zi?.entries()??[]),...Array.from(Xi?.entries()??[])]))});const fs=[],qp=[],du={};o.forEach(bi=>{const{element:zi,player:Xi,instruction:hr}=bi;if(n.has(zi)){if(x.has(zi))return Xi.onDestroy(()=>rd(zi,hr.toStyles)),Xi.disabled=!0,Xi.overrideTotalTime(hr.totalTime),void r.push(Xi);let Eo=du;if(Mn.size>1){let al=zi;const hh=[];for(;al=al.parentNode;){const ma=Mn.get(al);if(ma){Eo=ma;break}hh.push(al)}hh.forEach(ma=>Mn.set(ma,Eo))}const od=this._buildAnimation(Xi.namespaceId,hr,Vn,a,Kr,sa);if(Xi.setRealPlayer(od),Eo===du)fs.push(Xi);else{const al=this.playersByElement.get(Eo);al&&al.length&&(Xi.parentPlayer=dh(al)),r.push(Xi)}}else Mm(zi,hr.fromStyles),Xi.onDestroy(()=>rd(zi,hr.toStyles)),qp.push(Xi),x.has(zi)&&r.push(Xi)}),qp.forEach(bi=>{const zi=a.get(bi.element);if(zi&&zi.length){const Xi=dh(zi);bi.setRealPlayer(Xi)}}),r.forEach(bi=>{bi.parentPlayer?bi.syncPlayerEvents(bi.parentPlayer):bi.destroy()});for(let bi=0;bi<Ie.length;bi++){const zi=Ie[bi],Xi=zi[Il];if(Bp(zi,gw),Xi&&Xi.hasAnimation)continue;let hr=[];if(c.size){let od=c.get(zi);od&&od.length&&hr.push(...od);let al=this.driver.query(zi,LM,!0);for(let hh=0;hh<al.length;hh++){let ma=c.get(al[hh]);ma&&ma.length&&hr.push(...ma)}}const Eo=hr.filter(od=>!od.destroyed);Eo.length?J1e(this,zi,Eo):this.processLeaveNode(zi)}return Ie.length=0,fs.forEach(bi=>{this.players.push(bi),bi.onDone(()=>{bi.destroy();const zi=this.players.indexOf(bi);this.players.splice(zi,1)}),bi.play()}),fs}elementContainsData(t,e){let n=!1;const r=e[Il];return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,r,a){let o=[];if(e){const c=this.playersByQueriedElement.get(t);c&&(o=c)}else{const c=this.playersByElement.get(t);if(c){const h=!a||a==m1;c.forEach(f=>{f.queued||!h&&f.triggerName!=r||o.push(f)})}}return(n||r)&&(o=o.filter(c=>!(n&&n!=c.namespaceId||r&&r!=c.triggerName))),o}_beforeAnimationBuild(t,e,n){const a=e.element,o=e.isRemovalTransition?void 0:t,c=e.isRemovalTransition?void 0:e.triggerName;for(const h of e.timelines){const f=h.element,x=f!==a,P=nl(n,f,[]);this._getPreviousPlayers(f,x,o,c,e.toState).forEach(te=>{const fe=te.getRealPlayer();fe.beforeDestroy&&fe.beforeDestroy(),te.destroy(),P.push(te)})}Mm(a,e.fromStyles)}_buildAnimation(t,e,n,r,a,o){const c=e.triggerName,h=e.element,f=[],x=new Set,P=new Set,$=e.timelines.map(fe=>{const ye=fe.element;x.add(ye);const Ie=ye[Il];if(Ie&&Ie.removedBeforeQueried)return new Kg(fe.duration,fe.delay);const Le=ye!==h,it=function ebe(i){const t=[];return ZP(i,t),t}((n.get(ye)||G1e).map(Vn=>Vn.getRealPlayer())).filter(Vn=>!!Vn.element&&Vn.element===ye),Be=a.get(ye),ut=o.get(ye),Tt=xP(0,this._normalizer,0,fe.keyframes,Be,ut),qt=this._buildPlayer(fe,Tt,it);if(fe.subTimeline&&r&&P.add(ye),Le){const Vn=new qM(t,c,ye);Vn.setRealPlayer(qt),f.push(Vn)}return qt});f.forEach(fe=>{nl(this.playersByQueriedElement,fe.element,[]).push(fe),fe.onDone(()=>function Q1e(i,t,e){let n=i.get(t);if(n){if(n.length){const r=n.indexOf(e);n.splice(r,1)}0==n.length&&i.delete(t)}return n}(this.playersByQueriedElement,fe.element,fe))}),x.forEach(fe=>Ll(fe,IP));const te=dh($);return te.onDestroy(()=>{x.forEach(fe=>Bp(fe,IP)),rd(h,e.toStyles)}),P.forEach(fe=>{nl(r,fe,[]).push(te)}),te}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new Kg(t.duration,t.delay)}}class qM{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new Kg,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,n)=>{e.forEach(r=>DM(t,n,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){nl(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Sw(i){return i&&1===i.nodeType}function $P(i,t){const e=i.style.display;return i.style.display=t??"none",e}function KP(i,t,e,n,r){const a=[];e.forEach(h=>a.push($P(h)));const o=[];n.forEach((h,f)=>{const x=new Map;h.forEach(P=>{const $=t.computeStyle(f,P,r);x.set(P,$),(!$||0==$.length)&&(f[Il]=q1e,o.push(f))}),i.set(f,x)});let c=0;return e.forEach(h=>$P(h,a[c++])),o}function QP(i,t){const e=new Map;if(i.forEach(c=>e.set(c,[])),0==t.length)return e;const n=1,r=new Set(t),a=new Map;function o(c){if(!c)return n;let h=a.get(c);if(h)return h;const f=c.parentNode;return h=e.has(f)?f:r.has(f)?n:o(f),a.set(c,h),h}return t.forEach(c=>{const h=o(c);h!==n&&e.get(h).push(c)}),e}function Ll(i,t){i.classList?.add(t)}function Bp(i,t){i.classList?.remove(t)}function J1e(i,t,e){dh(e).onDone(()=>i.processLeaveNode(t))}function ZP(i,t){for(let e=0;e<i.length;e++){const n=i[e];n instanceof F6?ZP(n.players,t):t.push(n)}}function XP(i,t,e){const n=e.get(i);if(!n)return!1;let r=t.get(i);return r?n.forEach(a=>r.add(a)):t.set(i,n),e.delete(i),!0}class Tw{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(r,a)=>{},this._transitionEngine=new K1e(t,e,n),this._timelineEngine=new Y1e(t,e,n),this._transitionEngine.onRemovalComplete=(r,a)=>this.onRemovalComplete(r,a)}registerTrigger(t,e,n,r,a){const o=t+"-"+r;let c=this._triggerCache[o];if(!c){const h=[],f=[],x=PM(this._driver,a,h,f);if(h.length)throw function H0e(i,t){return new tt(3404,!1)}();c=function P1e(i,t,e){return new B1e(i,t,e)}(r,x,this._normalizer),this._triggerCache[o]=c}this._transitionEngine.registerTrigger(e,r,c)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)}onRemove(t,e,n,r){this._transitionEngine.removeNode(t,e,r||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,r){if("@"==n.charAt(0)){const[a,o]=CP(n);this._timelineEngine.command(a,e,o,r)}else this._transitionEngine.trigger(t,e,n,r)}listen(t,e,n,r,a){if("@"==n.charAt(0)){const[o,c]=CP(n);return this._timelineEngine.listen(o,e,c,a)}return this._transitionEngine.listen(t,e,n,r,a)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let nbe=(()=>{class i{constructor(e,n,r){this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;let a=i.initialStylesByElement.get(e);a||i.initialStylesByElement.set(e,a=new Map),this._initialStyles=a}start(){this._state<1&&(this._startStyles&&rd(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(rd(this._element,this._initialStyles),this._endStyles&&(rd(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(i.initialStylesByElement.delete(this._element),this._startStyles&&(Mm(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Mm(this._element,this._endStyles),this._endStyles=null),rd(this._element,this._initialStyles),this._state=3)}}return i.initialStylesByElement=new WeakMap,i})();function $M(i){let t=null;return i.forEach((e,n)=>{(function rbe(i){return"display"===i||"position"===i})(n)&&(t=t||new Map,t.set(n,e))}),t}class JP{constructor(t,e,n,r){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach(n=>{e.push(Object.fromEntries(n))}),e}_triggerWebAnimation(t,e,n){return t.animate(this._convertKeyframesToObject(e),n)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,r)=>{"offset"!==r&&t.set(r,this._finished?n:BP(this.element,r))}),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}}class abe{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return EP(t,e)}getParentElement(t){return TM(t)}query(t,e,n){return SP(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}animate(t,e,n,r,a,o=[]){const h={duration:n,delay:r,fill:0==r?"both":"forwards"};a&&(h.easing=a);const f=new Map,x=o.filter(te=>te instanceof JP);(function c1e(i,t){return 0===i||0===t})(n,r)&&x.forEach(te=>{te.currentSnapshot.forEach((fe,ye)=>f.set(ye,fe))});let P=function a1e(i){return i.length?i[0]instanceof Map?i:i.map(t=>LP(t)):[]}(e).map(te=>uh(te));P=function d1e(i,t,e){if(e.size&&t.length){let n=t[0],r=[];if(e.forEach((a,o)=>{n.has(o)||r.push(o),n.set(o,a)}),r.length)for(let a=1;a<t.length;a++){let o=t[a];r.forEach(c=>o.set(c,BP(i,c)))}}return t}(t,P,f);const $=function ibe(i,t){let e=null,n=null;return Array.isArray(t)&&t.length?(e=$M(t[0]),t.length>1&&(n=$M(t[t.length-1]))):t instanceof Map&&(e=$M(t)),e||n?new nbe(i,e,n):null}(t,P);return new JP(t,P,h,$)}}let obe=(()=>{class i extends b6{constructor(e,n){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(n.body,{id:"0",encapsulation:xe.None,styles:[],data:{animation:[]}})}build(e){const n=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?y6(e):e;return e9(this._renderer,null,n,"register",[r]),new sbe(n,this._renderer)}}return i.\u0275fac=function(e){return new(e||i)(Fe(tf),Fe(Mi))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})();class sbe extends H${constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new lbe(this._id,t,e||{},this._renderer)}}class lbe{constructor(t,e,n,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return e9(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function e9(i,t,e,n,r){return i.setProperty(t,`@@${e}:${n}`,r)}const t9="@.disabled";let cbe=(()=>{class i{constructor(e,n,r){this.delegate=e,this.engine=n,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),n.onRemovalComplete=(a,o)=>{const c=o?.parentNode(a);c&&o.removeChild(c,a)}}createRenderer(e,n){const a=this.delegate.createRenderer(e,n);if(!(e&&n&&n.data&&n.data.animation)){let x=this._rendererCache.get(a);return x||(x=new n9("",a,this.engine,()=>this._rendererCache.delete(a)),this._rendererCache.set(a,x)),x}const o=n.id,c=n.id+"-"+this._currentId;this._currentId++,this.engine.register(c,e);const h=x=>{Array.isArray(x)?x.forEach(h):this.engine.registerTrigger(o,c,e,x.name,x)};return n.data.animation.forEach(h),new dbe(this,c,a,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,n,r){e>=0&&e<this._microtaskId?this._zone.run(()=>n(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(a=>{const[o,c]=a;o(c)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([n,r]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return i.\u0275fac=function(e){return new(e||i)(Fe(tf),Fe(Tw),Fe(Rt))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})();class n9{constructor(t,e,n,r){this.namespaceId=t,this.delegate=e,this.engine=n,this._onDestroy=r,this.destroyNode=this.delegate.destroyNode?a=>e.destroyNode(a):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n,r=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,r)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,r){this.delegate.setAttribute(t,e,n,r)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,r){this.delegate.setStyle(t,e,n,r)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){"@"==e.charAt(0)&&e==t9?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class dbe extends n9{constructor(t,e,n,r,a){super(e,n,r,a),this.factory=t,this.namespaceId=e}setProperty(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&e==t9?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.slice(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if("@"==e.charAt(0)){const r=function ube(i){switch(i){case"body":return document.body;case"document":return document;case"window":return window;default:return i}}(t);let a=e.slice(1),o="";return"@"!=a.charAt(0)&&([a,o]=function hbe(i){const t=i.indexOf(".");return[i.substring(0,t),i.slice(t+1)]}(a)),this.engine.listen(this.namespaceId,r,a,o,c=>{this.factory.scheduleListenerCallback(c._data||-1,n,c)})}return this.delegate.listen(t,e,n)}}let mbe=(()=>{class i extends Tw{constructor(e,n,r,a){super(e.body,n,r)}ngOnDestroy(){this.flush()}}return i.\u0275fac=function(e){return new(e||i)(Fe(Mi),Fe(AM),Fe(jM),Fe(wd))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})();const r9=[{provide:b6,useClass:obe},{provide:jM,useFactory:function fbe(){return new L1e}},{provide:Tw,useClass:mbe},{provide:tf,useFactory:function pbe(i,t,e){return new cbe(i,t,e)},deps:[Bb,Tw,Rt]}],KM=[{provide:AM,useFactory:()=>new abe},{provide:Ln,useValue:"BrowserAnimations"},...r9],a9=[{provide:AM,useClass:TP},{provide:Ln,useValue:"NoopAnimations"},...r9];let o9=(()=>{class i{static withConfig(e){return{ngModule:i,providers:e.disableAnimations?a9:KM}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:KM,imports:[pI]}),i})(),Mbe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Qt,Dr,qs,Qt]}),i})(),Tbe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[l6,Qt,l6,Qt]}),i})(),Obe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})(),zbe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Obe,Qt,Qt]}),i})(),nye=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Xb]}),i})(),vye=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Qt,nye,Qt]}),i})(),x9=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({}),i})(),Nye=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Qt,qs,x9,Qt,x9]}),i})(),Oye=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Bf]}),i})(),u3=(()=>{class i{constructor(){this.changes=new He,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const Gye={provide:u3,deps:[[new Cs,new zl,u3]],useFactory:function Wye(i){return i||new u3}};let qye=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[Gye,Vf],imports:[Qt,Dr,Fl,Oye,Sv,qs,Qt]}),i})(),h3=(()=>{class i{constructor(){this.changes=new He,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,n,r)=>{if(0==r||0==n)return`0 of ${r}`;const a=e*n;return`${a+1} \u2013 ${a<(r=Math.max(r,0))?Math.min(a+n,r):a+n} of ${r}`}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const Xye={provide:h3,deps:[[new Cs,new zl,h3]],useFactory:function Zye(i){return i||new h3}};let Jye=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[Xye],imports:[Dr,Sy,OO,cO]}),i})(),tve=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Qt]}),i})(),rve=(()=>{class i{constructor(){this.changes=new He,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(e,n){return`${e} \u2013 ${n}`}formatYearRangeLabel(e,n){return`${e} to ${n}`}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Qe({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();class Tm{constructor(t,e){this.start=t,this.end=e}}const S9={provide:new Ke("mat-datepicker-scroll-strategy"),deps:[ya],useFactory:function mve(i){return()=>i.scrollStrategies.reposition()}};let I9=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[rve,S9],imports:[Dr,Sy,Nc,Pf,Fl,Qt,Lc]}),i})(),L9=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[qs,Qt,Qt]}),i})();const vve=["connectionContainer"],wve=["inputContainer"],Fve=["label"];function xve(i,t){1&i&&(kn(0),_(1,"div",14),Ce(2,"div",15)(3,"div",16)(4,"div",17),F(),_(5,"div",18),Ce(6,"div",15)(7,"div",16)(8,"div",17),F(),Dn())}function Cve(i,t){if(1&i){const e=Je();_(0,"div",19),pe("cdkObserveContent",function(){return Te(e),Ae(Q().updateOutlineGap())}),Ft(1,1),F()}2&i&&S("cdkObserveContentDisabled","outline"!=Q().appearance)}function kve(i,t){if(1&i&&(kn(0),Ft(1,2),_(2,"span"),N(3),F(),Dn()),2&i){const e=Q(2);E(3),yt(e._control.placeholder)}}function Dve(i,t){1&i&&Ft(0,3,["*ngSwitchCase","true"])}function Mve(i,t){1&i&&(_(0,"span",23),N(1," *"),F())}function Eve(i,t){if(1&i){const e=Je();_(0,"label",20,21),pe("cdkObserveContent",function(){return Te(e),Ae(Q().updateOutlineGap())}),ee(2,kve,4,1,"ng-container",12),ee(3,Dve,1,0,"ng-content",12),ee(4,Mve,2,0,"span",22),F()}if(2&i){const e=Q();Mt("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),S("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),It("for",e._control.id)("aria-owns",e._control.id),E(2),S("ngSwitchCase",!1),E(1),S("ngSwitchCase",!0),E(1),S("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function Sve(i,t){1&i&&(_(0,"div",24),Ft(1,4),F())}function Tve(i,t){if(1&i&&(_(0,"div",25),Ce(1,"span",26),F()),2&i){const e=Q();E(1),Mt("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function Ave(i,t){1&i&&(_(0,"div"),Ft(1,5),F()),2&i&&S("@transitionMessages",Q()._subscriptAnimationState)}function Ive(i,t){if(1&i&&(_(0,"div",30),N(1),F()),2&i){const e=Q(2);S("id",e._hintLabelId),E(1),yt(e.hintLabel)}}function Lve(i,t){if(1&i&&(_(0,"div",27),ee(1,Ive,2,2,"div",28),Ft(2,6),Ce(3,"div",29),Ft(4,7),F()),2&i){const e=Q();S("@transitionMessages",e._subscriptAnimationState),E(1),S("ngIf",e.hintLabel)}}const Nve=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Ove=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],Rve=new Ke("MatHint");let N9=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-label"]]}),i})(),Pve=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-placeholder"]]}),i})(),O9=0;const Hve=ec(class{constructor(i){this._elementRef=i}},"primary"),Vve=new Ke("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Yve=(()=>{class i extends Hve{get appearance(){return this._appearance}set appearance(e){const n=this._appearance;this._appearance=e||this._defaults?.appearance||"legacy","outline"===this._appearance&&n!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Ct(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}constructor(e,n,r,a,o,c,h){super(e),this._changeDetectorRef=n,this._dir=r,this._defaults=a,this._platform=o,this._ngZone=c,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new He,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+O9++,this._labelId="mat-form-field-label-"+O9++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==h,this.appearance=a?.appearance||"legacy",a&&(this._hideRequiredMarker=Boolean(a.hideRequiredMarker),a.color&&(this.color=this.defaultColor=a.color))}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(jr(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(ii(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(ii(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Pn(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(jr(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(jr(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(ii(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const n=this._control?this._control.ngControl:null;return n&&n[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Ss(this._label.nativeElement,"transitionend").pipe(nn(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const n=this._hintChildren?this._hintChildren.find(a=>"start"===a.align):null,r=this._hintChildren?this._hintChildren.find(a=>"end"===a.align):null;n?e.push(n.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(n=>n.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,n=this._connectionContainerRef.nativeElement,r=".mat-form-field-outline-start",a=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const x=n.querySelectorAll(`${r}, ${a}`);for(let P=0;P<x.length;P++)x[P].style.width="0";return}if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let o=0,c=0;const h=n.querySelectorAll(r),f=n.querySelectorAll(a);if(this._label&&this._label.nativeElement.children.length){const x=n.getBoundingClientRect();if(0===x.width&&0===x.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const P=this._getStartEnd(x),$=e.children,te=this._getStartEnd($[0].getBoundingClientRect());let fe=0;for(let ye=0;ye<$.length;ye++)fe+=$[ye].offsetWidth;o=Math.abs(te-P)-5,c=fe>0?.75*fe+10:0}for(let x=0;x<h.length;x++)h[x].style.width=`${o}px`;for(let x=0;x<f.length;x++)f[x].style.width=`${c}px`;this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(e){return this._dir&&"rtl"===this._dir.value?e.right:e.left}_isAttachedToDOM(){const e=this._elementRef.nativeElement;if(e.getRootNode){const n=e.getRootNode();return n&&n!==e}return document.documentElement.contains(e)}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(ni),k(Or,8),k(Vve,8),k(Bn),k(Rt),k(Ln,8))},i.\u0275cmp=qe({type:i,selectors:[["mat-form-field"]],contentQueries:function(e,n,r){if(1&e&&(ui(r,hp,5),ui(r,hp,7),ui(r,N9,5),ui(r,N9,7),ui(r,Pve,5),ui(r,kD,5),ui(r,Rve,5),ui(r,MD,5),ui(r,ED,5)),2&e){let a;Ze(a=Xe())&&(n._controlNonStatic=a.first),Ze(a=Xe())&&(n._controlStatic=a.first),Ze(a=Xe())&&(n._labelChildNonStatic=a.first),Ze(a=Xe())&&(n._labelChildStatic=a.first),Ze(a=Xe())&&(n._placeholderChild=a.first),Ze(a=Xe())&&(n._errorChildren=a),Ze(a=Xe())&&(n._hintChildren=a),Ze(a=Xe())&&(n._prefixChildren=a),Ze(a=Xe())&&(n._suffixChildren=a)}},viewQuery:function(e,n){if(1&e&&(Lt(vve,7),Lt(wve,5),Lt(Fve,5)),2&e){let r;Ze(r=Xe())&&(n._connectionContainerRef=r.first),Ze(r=Xe())&&(n._inputContainerRef=r.first),Ze(r=Xe())&&(n._label=r.first)}},hostAttrs:[1,"mat-form-field"],hostVars:40,hostBindings:function(e,n){2&e&&Mt("mat-form-field-appearance-standard","standard"==n.appearance)("mat-form-field-appearance-fill","fill"==n.appearance)("mat-form-field-appearance-outline","outline"==n.appearance)("mat-form-field-appearance-legacy","legacy"==n.appearance)("mat-form-field-invalid",n._control.errorState)("mat-form-field-can-float",n._canLabelFloat())("mat-form-field-should-float",n._shouldLabelFloat())("mat-form-field-has-label",n._hasFloatingLabel())("mat-form-field-hide-placeholder",n._hideControlPlaceholder())("mat-form-field-disabled",n._control.disabled)("mat-form-field-autofilled",n._control.autofilled)("mat-focused",n._control.focused)("ng-untouched",n._shouldForward("untouched"))("ng-touched",n._shouldForward("touched"))("ng-pristine",n._shouldForward("pristine"))("ng-dirty",n._shouldForward("dirty"))("ng-valid",n._shouldForward("valid"))("ng-invalid",n._shouldForward("invalid"))("ng-pending",n._shouldForward("pending"))("_mat-animation-noopable",!n._animationsEnabled)},inputs:{color:"color",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatLabel:"floatLabel"},exportAs:["matFormField"],features:[Nt([{provide:lm,useExisting:i}]),ot],ngContentSelectors:Ove,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(e,n){1&e&&(Bi(Nve),_(0,"div",0)(1,"div",1,2),pe("click",function(a){return n._control.onContainerClick&&n._control.onContainerClick(a)}),ee(3,xve,9,0,"ng-container",3),ee(4,Cve,2,1,"div",4),_(5,"div",5,6),Ft(7),_(8,"span",7),ee(9,Eve,5,16,"label",8),F()(),ee(10,Sve,2,0,"div",9),F(),ee(11,Tve,2,4,"div",10),_(12,"div",11),ee(13,Ave,2,1,"div",12),ee(14,Lve,5,2,"div",13),F()()),2&e&&(E(3),S("ngIf","outline"==n.appearance),E(1),S("ngIf",n._prefixChildren.length),E(5),S("ngIf",n._hasFloatingLabel()),E(1),S("ngIf",n._suffixChildren.length),E(1),S("ngIf","outline"!=n.appearance),E(1),S("ngSwitch",n._getDisplayedMessages()),E(1),S("ngSwitchCase","error"),E(1),S("ngSwitchCase","hint"))},dependencies:[ri,wu,Df,Lf],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.cdk-high-contrast-active .mat-form-field-disabled .mat-form-field-label{color:GrayText}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}.mat-form-field .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-button-base,.mat-form-field .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-form-field .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{font-size:1em;display:inline-block;margin:-2px 0 1px}.mat-form-field-type-mat-date-range-input .mat-form-field-infix{width:200px}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button{font-size:inherit;width:1.5em;height:1.5em;padding:0}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{line-height:1.5em;margin:0}.mat-form-field .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:baseline}",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}','.mat-input-element{font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-input-element::placeholder{transition:none}._mat-animation-noopable .mat-input-element::-moz-placeholder{transition:none}._mat-animation-noopable .mat-input-element::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-input-element:-ms-input-placeholder{transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px;border-top-color:GrayText}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:rgba(0,0,0,0)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:GrayText}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}"],encapsulation:2,data:{animation:[NN.transitionMessages]},changeDetection:0}),i})(),P9=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Dr,Qt,Hg,Qt]}),i})(),B9=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[Vf],imports:[rD,P9,Qt,rD,P9]}),i})();function jve(i,t){}const H9_params_enterAnimationDuration="150ms",H9_params_exitAnimationDuration="75ms";class V9 extends h_{constructor(){super(...arguments),this.enterAnimationDuration=ky.params.enterAnimationDuration,this.exitAnimationDuration=ky.params.exitAnimationDuration}}let zve=(()=>{class i extends B5{_onAnimationDone({toState:e,totalTime:n}){"enter"===e?this._openAnimationDone(n):"exit"===e&&this._animationStateChanged.next({state:"closed",totalTime:n})}_onAnimationStart({toState:e,totalTime:n}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:n}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:n})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}constructor(e,n,r,a,o,c,h,f,x){super(e,n,r,a,o,c,h,x),this._changeDetectorRef=f,this._state="enter"}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||H9_params_enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||H9_params_exitAnimationDuration}}}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Of),k(Mi,8),k(V9),k(Ph),k(Rt),k(Vh),k(ni),k(Ka))},i.\u0275cmp=qe({type:i,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(e,n){1&e&&gf("@dialogContainer.start",function(a){return n._onAnimationStart(a)})("@dialogContainer.done",function(a){return n._onAnimationDone(a)}),2&e&&(Ua("id",n._config.id),It("aria-modal",n._config.ariaModal)("role",n._config.role)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledBy)("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null),bf("@dialogContainer",n._getAnimationState()))},features:[ot],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,n){1&e&&ee(0,jve,0,0,"ng-template",0)},dependencies:[Xl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,data:{animation:[kZ.dialogContainer]}}),i})();class Uve extends Ts{}const Wve=new Ke("MatDialogData"),Gve=new Ke("mat-dialog-default-options"),Y9=new Ke("mat-dialog-scroll-strategy"),$ve={provide:Y9,deps:[ya],useFactory:function qve(i){return()=>i.scrollStrategies.block()}};let Kve=(()=>{class i extends z5{constructor(e,n,r,a,o,c,h,f){super(e,n,a,c,h,o,Uve,zve,Wve,f),this.dialogConfigClass=V9}}return i.\u0275fac=function(e){return new(e||i)(Fe(ya),Fe(Wr),Fe(Tc,8),Fe(Gve,8),Fe(Y9),Fe(i,12),Fe(zg),Fe(Ln,8))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})(),Qve=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[Kve,$ve],imports:[EC,Nc,Fl,Qt,Qt]}),i})();const j9=new Ke("ngx-mat-date-formats");class Ww extends Id{isSameTime(t,e){return null==t||null==e||this.getHour(t)===this.getHour(e)&&this.getMinute(t)===this.getMinute(e)&&this.getSecond(t)===this.getSecond(e)}copyTime(t,e){this.setHour(t,this.getHour(e)),this.setMinute(t,this.getMinute(e)),this.setSecond(t,this.getSecond(e))}compareDateWithTime(t,e,n){let r=super.compareDate(t,e)||this.getHour(t)-this.getHour(e)||this.getMinute(t)-this.getMinute(e);return n&&(r=r||this.getSecond(t)-this.getSecond(e)),r}setTimeByDefaultValues(t,e){if(!Array.isArray(e))throw Error("@Input DefaultTime should be an array");this.setHour(t,e[0]||0),this.setMinute(t,e[1]||0),this.setSecond(t,e[2]||0)}}const cwe=new Ke("NGX_MAT_DATE_RANGE_SELECTION_STRATEGY");let dwe=(()=>{class i{constructor(e){this._dateAdapter=e}selectionFinished(e,n){let{start:r,end:a}=n;return null==r?r=e:null==a&&e&&this._dateAdapter.compareDate(e,r)>=0?a=e:(r=e,a=null),new Tm(r,a)}createPreview(e,n){let r=null,a=null;return n.start&&!n.end&&e&&(r=n.start,a=e),new Tm(r,a)}}return i.\u0275fac=function(e){return new(e||i)(Fe(Ww))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})();function z9(i){return Error(`NgxMatDatepicker: No provider found for ${i}. You must import one of the following modules at your application root: NgxMatNativeDateModule, NgxMatMomentModule, or provide a custom implementation.`)}ec(class{constructor(i){this._elementRef=i}});const hwe={provide:Fa,useExisting:di(()=>W9),multi:!0},mwe={provide:Ja,useExisting:di(()=>W9),multi:!0};class qw{constructor(t,e){this.target=t,this.targetElement=e,this.value=this.target.value}}let Am,W9=(()=>{class i{constructor(e,n,r,a){if(this._elementRef=e,this._dateAdapter=n,this._dateFormats=r,this._formField=a,this.dateChange=new lt,this.dateInput=new lt,this._valueChange=new lt,this.stateChanges=new lt,this._onTouched=()=>{},this._cvaOnChange=()=>{},this._validatorOnChange=()=>{},this._datepickerSubscription=C.EMPTY,this._localeSubscription=C.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatetimePickerParse:{text:this._elementRef.nativeElement.value}},this._minValidator=o=>{const c=this._getValidDateOrNull(this._dateAdapter.deserialize(o.value));return!this.min||!c||this._dateAdapter.compareDateWithTime(this.min,c,this._datepicker.showSeconds)<=0?null:{matDatetimePickerMin:{min:this.min,actual:c}}},this._maxValidator=o=>{const c=this._getValidDateOrNull(this._dateAdapter.deserialize(o.value));return!this.max||!c||this._dateAdapter.compareDateWithTime(this.max,c,this._datepicker.showSeconds)>=0?null:{matDatetimePickerMax:{max:this.max,actual:c}}},this._filterValidator=o=>{const c=this._getValidDateOrNull(this._dateAdapter.deserialize(o.value));return this._dateFilter&&c&&!this._dateFilter(c)?{matDatetimePickerFilter:!0}:null},this._validator=Oo.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw z9("NgxMatDateAdapter");if(!this._dateFormats)throw z9("NGX_MAT_DATE_FORMATS");this._localeSubscription=n.localeChanges.subscribe(()=>{this.value=this.value})}set ngxMatDatetimePicker(e){e&&(this._datepicker=e,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe(n=>{this.value=n,this._cvaOnChange(n),this._onTouched(),this.dateInput.emit(new qw(this,this._elementRef.nativeElement)),this.dateChange.emit(new qw(this,this._elementRef.nativeElement))}))}set ngxMatDatetimePickerFilter(e){this._dateFilter=e,this._validatorOnChange()}get value(){return this._value}set value(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=!e||this._dateAdapter.isValid(e),e=this._getValidDateOrNull(e);const n=this.value;this._value=e,this._formatValue(e),this._dateAdapter.sameDate(n,e)||this._valueChange.emit(e)}get min(){return this._min}set min(e){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}get max(){return this._max}set max(e){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}get disabled(){return!!this._disabled}set disabled(e){const n=null!=e&&"false"!=`${e}`,r=this._elementRef.nativeElement;this._disabled!==n&&(this._disabled=n,this.stateChanges.emit(void 0)),n&&r.blur&&r.blur()}ngOnDestroy(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this.stateChanges.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}getPopupConnectionElementRef(){return this.getConnectedOverlayOrigin()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}writeValue(e){this.value=e}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){this._datepicker&&e.altKey&&40===e.keyCode&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),e.preventDefault())}_onInput(e){const n=this._lastValueValid;let r=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=!r||this._dateAdapter.isValid(r),r=this._getValidDateOrNull(r);const a=this._dateAdapter.isSameTime(r,this._value);null!=r&&(!a||!this._dateAdapter.sameDate(r,this._value))||null==r&&null!=this._value?(this._value=r,this._cvaOnChange(r),this._valueChange.emit(r),this.dateInput.emit(new qw(this,this._elementRef.nativeElement))):n!==this._lastValueValid&&this._validatorOnChange()}_onChange(){this.dateChange.emit(new qw(this,this._elementRef.nativeElement))}_getThemePalette(){return this._formField?this._formField.color:void 0}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_onFocus(){this._datepicker&&this._datepicker.opened&&this._datepicker.cancel()}_formatValue(e){this._elementRef.nativeElement.value=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_getValidDateOrNull(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}}return i.\u0275fac=function(e){return new(e||i)(k(gt),k(Ww,8),k(j9,8),k(Yve,8))},i.\u0275dir=Oe({type:i,selectors:[["input","ngxMatDatetimePicker",""]],hostVars:5,hostBindings:function(e,n){1&e&&pe("input",function(a){return n._onInput(a.target.value)})("change",function(){return n._onChange()})("blur",function(){return n._onBlur()})("focus",function(){return n._onFocus()})("keydown",function(a){return n._onKeydown(a)}),2&e&&(Ua("disabled",n.disabled),It("aria-haspopup",n._datepicker?"dialog":null)("aria-owns",(null==n._datepicker?null:n._datepicker.opened)&&n._datepicker.id||null)("min",n.min?n._dateAdapter.toIso8601(n.min):null)("max",n.max?n._dateAdapter.toIso8601(n.max):null))},inputs:{ngxMatDatetimePicker:"ngxMatDatetimePicker",ngxMatDatetimePickerFilter:"ngxMatDatetimePickerFilter",value:"value",min:"min",max:"max",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},exportAs:["ngxMatDatetimePickerInput"],features:[Nt([hwe,mwe,{provide:TD,useExisting:i}])]}),i})(),G9=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({imports:[Dr,B9,EN,Cv,Sv,L9]}),i})(),fwe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[S9,{provide:cwe,useClass:dwe}],imports:[Dr,I9,Qve,Fl,Cv,Sv,L9,B9,G9]}),i})();try{Am=typeof Intl<"u"}catch{Am=!1}const pwe={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},gwe=$w(31,i=>String(i+1)),_we={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},bwe=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function $w(i,t){const e=Array(i);for(let n=0;n<i;n++)e[n]=t(n);return e}let ywe=(()=>{class i extends Ww{constructor(e,n){super(),this.useUtcForDisplay=!0,super.setLocale(e),this.useUtcForDisplay=!n.TRIDENT,this._clampDate=n.TRIDENT||n.EDGE}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){if(Am){const n=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return $w(12,r=>this._stripDirectionalityCharacters(this._format(n,new Date(2017,r,1))))}return pwe[e]}getDateNames(){if(Am){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return $w(31,n=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,n+1))))}return gwe}getDayOfWeekNames(e){if(Am){const n=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return $w(7,r=>this._stripDirectionalityCharacters(this._format(n,new Date(2017,0,r+1))))}return _we[e]}getYearName(e){if(Am){const n=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(n,e))}return String(this.getYear(e))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,n,r){if(n<0||n>11)throw Error(`Invalid month index "${n}". Month index has to be between 0 and 11.`);if(r<1)throw Error(`Invalid date "${r}". Date has to be greater than 0.`);let a=this._createDateWithOverflow(e,n,r);if(a.getMonth()!=n)throw Error(`Invalid date "${r}" for month with index "${n}".`);return a}today(){return new Date}parse(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}format(e,n){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");if(Am){this._clampDate&&(e.getFullYear()<1||e.getFullYear()>9999)&&(e=this.clone(e)).setFullYear(Math.max(1,Math.min(9999,e.getFullYear()))),n={...n,timeZone:"utc"};const r=new Intl.DateTimeFormat(this.locale,n);return this._stripDirectionalityCharacters(this._format(r,e))}return this._stripDirectionalityCharacters(e.toDateString())}addCalendarYears(e,n){return this.addCalendarMonths(e,12*n)}addCalendarMonths(e,n){let r=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+n,this.getDate(e));return this.getMonth(r)!=((this.getMonth(e)+n)%12+12)%12&&(r=this._createDateWithOverflow(this.getYear(r),this.getMonth(r),0)),r}addCalendarDays(e,n){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+n)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if("string"==typeof e){if(!e)return null;if(bwe.test(e)){let n=new Date(e);if(this.isValid(n))return n}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}getHour(e){return e.getHours()}getMinute(e){return e.getMinutes()}getSecond(e){return e.getSeconds()}setHour(e,n){e.setHours(n)}setMinute(e,n){e.setMinutes(n)}setSecond(e,n){e.setSeconds(n)}_createDateWithOverflow(e,n,r){const a=new Date(e,n,r);return e>=0&&e<100&&a.setFullYear(this.getYear(a)-1900),a}_2digit(e){return("00"+e).slice(-2)}_stripDirectionalityCharacters(e){return e.replace(/[\u200e\u200f]/g,"")}_format(e,n){const r=new Date;return r.setUTCFullYear(n.getFullYear(),n.getMonth(),n.getDate()),r.setUTCHours(n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()),e.format(r)}}return i.\u0275fac=function(e){return new(e||i)(Fe(T$,8),Fe(Bn))},i.\u0275prov=Qe({token:i,factory:i.\u0275fac}),i})();const q9={year:"numeric",month:"numeric",day:"numeric",hour12:!1,hour:"2-digit",minute:"2-digit",second:"2-digit"},vwe={parse:{dateInput:q9},display:{dateInput:q9,monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let wwe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[{provide:Ww,useClass:ywe}],imports:[bG]}),i})(),Fwe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=St({providers:[{provide:j9,useValue:vwe}],imports:[wwe]}),i})();class zp{}zp.\u0275fac=function(t){return new(t||zp)},zp.\u0275mod=Dt({type:zp}),zp.\u0275inj=St({imports:[wL,o9,aO,Ek]});class xwe{constructor(t,e="/assets/i18n/",n=".json"){this.http=t,this.prefix=e,this.suffix=n}getTranslation(t){return this.http.get(`${this.prefix}${t}${this.suffix}`)}}class Up{constructor(){this.logs=[],this.errors=[]}}Up.\u0275fac=function(t){return new(t||Up)},Up.\u0275prov=Qe({token:Up,factory:Up.\u0275fac,providedIn:"root"});class Wp extends kL{constructor(t,e){super(t),this.platformId=t,this.debugLog=e}writeMessage(t,e){super.writeMessage(t,e),this.debugLog.logs.length>100&&this.resize(this.debugLog.logs,80,null),this.debugLog.errors.length>100&&this.resize(this.debugLog.errors,80,null),this.debugLog.logs.push(t),t.level>qr.WARN&&this.debugLog.errors.push(t)}resize(t,e,n){for(;t.length>e;)t.shift();for(;t.length<e;)t.push(n)}}Wp.\u0275fac=function(t){return new(t||Wp)(Fe(Ec),Fe(Up))},Wp.\u0275prov=Qe({token:Wp,factory:Wp.\u0275fac});class Gp{}Gp.\u0275fac=function(t){return new(t||Gp)},Gp.\u0275mod=Dt({type:Gp,bootstrap:[c1]}),Gp.\u0275inj=St({providers:[{provide:ON,useValue:{appearance:"outline"}},Zn,Cm,km,cc,nu],imports:[zp,wL,pI,HZ.forRoot({loader:{provide:p_,useFactory:function Cwe(i){return new xwe(i)},deps:[D_]}}),Kee.forRoot({level:qr.INFO,enableSourceMaps:!0,serverLogLevel:qr.OFF},{writerProvider:{provide:cp,useClass:Wp}}),Rp,o9,Nye,Die,Sy,OO,Mbe,pne,qhe,ome,Sv,fue,Tbe,Xae,zbe,hme,rce,cO,dse,aO,vye,qye,Fne,nae,Jye,sle,Tge,whe,Cv,EN,ZG,x6,Fhe,qge,Ek,tve,CZ,I9,cpe,Xb,Ece,lce,fwe,Fwe,G9,Yde,Ooe,fge.register("ngsw-worker.js",{enabled:!0,registrationStrategy:"registerWhenStable:30000"})]}),lG().bootstrapModule(Gp).catch(i=>console.error(i))},5521:(ve,A)=>{"use strict";function I(de){if(!Number.isSafeInteger(de))throw new Error(`Wrong integer: ${de}`)}function T(...de){const me=(ze,Re)=>st=>ze(Re(st));return{encode:Array.from(de).reverse().reduce((ze,Re)=>ze?me(ze,Re.encode):Re.encode,void 0),decode:de.reduce((ze,Re)=>ze?me(ze,Re.decode):Re.decode,void 0)}}function g(de){return{encode:me=>{if(!Array.isArray(me)||me.length&&"number"!=typeof me[0])throw new Error("alphabet.encode input should be an array of numbers");return me.map(ge=>{if(I(ge),ge<0||ge>=de.length)throw new Error(`Digit index outside alphabet: ${ge} (alphabet: ${de.length})`);return de[ge]})},decode:me=>{if(!Array.isArray(me)||me.length&&"string"!=typeof me[0])throw new Error("alphabet.decode input should be array of strings");return me.map(ge=>{if("string"!=typeof ge)throw new Error(`alphabet.decode: not string element=${ge}`);const we=de.indexOf(ge);if(-1===we)throw new Error(`Unknown letter: "${ge}". Allowed: ${de}`);return we})}}}function y(de=""){if("string"!=typeof de)throw new Error("join separator should be string");return{encode:me=>{if(!Array.isArray(me)||me.length&&"string"!=typeof me[0])throw new Error("join.encode input should be array of strings");for(let ge of me)if("string"!=typeof ge)throw new Error(`join.encode: non-string input=${ge}`);return me.join(de)},decode:me=>{if("string"!=typeof me)throw new Error("join.decode input should be string");return me.split(de)}}}function b(de,me="="){if(I(de),"string"!=typeof me)throw new Error("padding chr should be string");return{encode(ge){if(!Array.isArray(ge)||ge.length&&"string"!=typeof ge[0])throw new Error("padding.encode input should be array of strings");for(let we of ge)if("string"!=typeof we)throw new Error(`padding.encode: non-string input=${we}`);for(;ge.length*de%8;)ge.push(me);return ge},decode(ge){if(!Array.isArray(ge)||ge.length&&"string"!=typeof ge[0])throw new Error("padding.encode input should be array of strings");for(let ze of ge)if("string"!=typeof ze)throw new Error(`padding.decode: non-string input=${ze}`);let we=ge.length;if(we*de%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;we>0&&ge[we-1]===me;we--)if(!((we-1)*de%8))throw new Error("Invalid padding: string has too much padding");return ge.slice(0,we)}}}function C(de){if("function"!=typeof de)throw new Error("normalize fn should be function");return{encode:me=>me,decode:me=>de(me)}}function D(de,me,ge){if(me<2)throw new Error(`convertRadix: wrong from=${me}, base cannot be less than 2`);if(ge<2)throw new Error(`convertRadix: wrong to=${ge}, base cannot be less than 2`);if(!Array.isArray(de))throw new Error("convertRadix: data should be array");if(!de.length)return[];let we=0;const ze=[],Re=Array.from(de);for(Re.forEach(st=>{if(I(st),st<0||st>=me)throw new Error(`Wrong integer: ${st}`)});;){let st=0,mt=!0;for(let At=we;At<Re.length;At++){const Xt=Re[At],ft=me*st+Xt;if(!Number.isSafeInteger(ft)||me*st/me!==st||ft-Xt!=me*st)throw new Error("convertRadix: carry overflow");if(st=ft%ge,Re[At]=Math.floor(ft/ge),!Number.isSafeInteger(Re[At])||Re[At]*ge+st!==ft)throw new Error("convertRadix: carry overflow");mt&&(Re[At]?mt=!1:we=At)}if(ze.push(st),mt)break}for(let st=0;st<de.length-1&&0===de[st];st++)ze.push(0);return ze.reverse()}Object.defineProperty(A,"__esModule",{value:!0}),A.bytes=A.stringToBytes=A.str=A.bytesToString=A.hex=A.utf8=A.bech32m=A.bech32=A.base58check=A.base58xmr=A.base58xrp=A.base58flickr=A.base58=A.base64url=A.base64=A.base32crockford=A.base32hex=A.base32=A.base16=A.utils=A.assertNumber=void 0,A.assertNumber=I;const L=(de,me)=>me?L(me,de%me):de,B=(de,me)=>de+(me-L(de,me));function R(de,me,ge,we){if(!Array.isArray(de))throw new Error("convertRadix2: data should be array");if(me<=0||me>32)throw new Error(`convertRadix2: wrong from=${me}`);if(ge<=0||ge>32)throw new Error(`convertRadix2: wrong to=${ge}`);if(B(me,ge)>32)throw new Error(`convertRadix2: carry overflow from=${me} to=${ge} carryBits=${B(me,ge)}`);let ze=0,Re=0;const st=2**ge-1,mt=[];for(const At of de){if(I(At),At>=2**me)throw new Error(`convertRadix2: invalid data word=${At} from=${me}`);if(ze=ze<<me|At,Re+me>32)throw new Error(`convertRadix2: carry overflow pos=${Re} from=${me}`);for(Re+=me;Re>=ge;Re-=ge)mt.push((ze>>Re-ge&st)>>>0);ze&=2**Re-1}if(ze=ze<<ge-Re&st,!we&&Re>=me)throw new Error("Excess padding");if(!we&&ze)throw new Error(`Non-zero padding: ${ze}`);return we&&Re>0&&mt.push(ze>>>0),mt}function U(de){return I(de),{encode:me=>{if(!(me instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return D(Array.from(me),256,de)},decode:me=>{if(!Array.isArray(me)||me.length&&"number"!=typeof me[0])throw new Error("radix.decode input should be array of strings");return Uint8Array.from(D(me,de,256))}}}function Z(de,me=!1){if(I(de),de<=0||de>32)throw new Error("radix2: bits should be in (0..32]");if(B(8,de)>32||B(de,8)>32)throw new Error("radix2: carry overflow");return{encode:ge=>{if(!(ge instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return R(Array.from(ge),8,de,!me)},decode:ge=>{if(!Array.isArray(ge)||ge.length&&"number"!=typeof ge[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(R(ge,de,8,me))}}}function j(de){if("function"!=typeof de)throw new Error("unsafeWrapper fn should be function");return function(...me){try{return de.apply(null,me)}catch{}}}function V(de,me){if(I(de),"function"!=typeof me)throw new Error("checksum fn should be function");return{encode(ge){if(!(ge instanceof Uint8Array))throw new Error("checksum.encode: input should be Uint8Array");const we=me(ge).slice(0,de),ze=new Uint8Array(ge.length+de);return ze.set(ge),ze.set(we,ge.length),ze},decode(ge){if(!(ge instanceof Uint8Array))throw new Error("checksum.decode: input should be Uint8Array");const we=ge.slice(0,-de),ze=me(we).slice(0,de),Re=ge.slice(-de);for(let st=0;st<de;st++)if(ze[st]!==Re[st])throw new Error("Invalid checksum");return we}}}A.utils={alphabet:g,chain:T,checksum:V,radix:U,radix2:Z,join:y,padding:b},A.base16=T(Z(4),g("0123456789ABCDEF"),y("")),A.base32=T(Z(5),g("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),b(5),y("")),A.base32hex=T(Z(5),g("0123456789ABCDEFGHIJKLMNOPQRSTUV"),b(5),y("")),A.base32crockford=T(Z(5),g("0123456789ABCDEFGHJKMNPQRSTVWXYZ"),y(""),C(de=>de.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),A.base64=T(Z(6),g("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),b(6),y("")),A.base64url=T(Z(6),g("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),b(6),y(""));const re=de=>T(U(58),g(de),y(""));A.base58=re("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),A.base58flickr=re("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),A.base58xrp=re("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");const W=[0,2,3,5,6,7,9,10,11];A.base58xmr={encode(de){let me="";for(let ge=0;ge<de.length;ge+=8){const we=de.subarray(ge,ge+8);me+=A.base58.encode(we).padStart(W[we.length],"1")}return me},decode(de){let me=[];for(let ge=0;ge<de.length;ge+=11){const we=de.slice(ge,ge+11),ze=W.indexOf(we.length),Re=A.base58.decode(we);for(let st=0;st<Re.length-ze;st++)if(0!==Re[st])throw new Error("base58xmr: wrong padding");me=me.concat(Array.from(Re.slice(Re.length-ze)))}return Uint8Array.from(me)}},A.base58check=de=>T(V(4,me=>de(de(me))),A.base58);const G=T(g("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),y("")),z=[996825010,642813549,513874426,1027748829,705979059];function ce(de){const me=de>>25;let ge=(33554431&de)<<5;for(let we=0;we<z.length;we++)1==(me>>we&1)&&(ge^=z[we]);return ge}function le(de,me,ge=1){const we=de.length;let ze=1;for(let Re=0;Re<we;Re++){const st=de.charCodeAt(Re);if(st<33||st>126)throw new Error(`Invalid prefix (${de})`);ze=ce(ze)^st>>5}ze=ce(ze);for(let Re=0;Re<we;Re++)ze=ce(ze)^31&de.charCodeAt(Re);for(let Re of me)ze=ce(ze)^Re;for(let Re=0;Re<6;Re++)ze=ce(ze);return ze^=ge,G.encode(R([ze%2**30],30,5,!1))}function ie(de){const me="bech32"===de?1:734539939,ge=Z(5),we=ge.decode,ze=ge.encode,Re=j(we);function mt(ft,ai=90){if("string"!=typeof ft)throw new Error("bech32.decode input should be string, not "+typeof ft);if(ft.length<8||!1!==ai&&ft.length>ai)throw new TypeError(`Wrong string length: ${ft.length} (${ft}). Expected (8..${ai})`);const He=ft.toLowerCase();if(ft!==He&&ft!==ft.toUpperCase())throw new Error("String must be lowercase or uppercase");const yi=(ft=He).lastIndexOf("1");if(0===yi||-1===yi)throw new Error('Letter "1" must be present between prefix and data only');const nt=ft.slice(0,yi),Jt=ft.slice(yi+1);if(Jt.length<6)throw new Error("Data must be at least 6 characters long");const Ut=G.decode(Jt).slice(0,-6),Fn=le(nt,Ut,me);if(!Jt.endsWith(Fn))throw new Error(`Invalid checksum in ${ft}: expected "${Fn}"`);return{prefix:nt,words:Ut}}return{encode:function st(ft,ai,He=90){if("string"!=typeof ft)throw new Error("bech32.encode prefix should be string, not "+typeof ft);if(!Array.isArray(ai)||ai.length&&"number"!=typeof ai[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof ai);const yi=ft.length+7+ai.length;if(!1!==He&&yi>He)throw new TypeError(`Length ${yi} exceeds limit ${He}`);return`${ft=ft.toLowerCase()}1${G.encode(ai)}${le(ft,ai,me)}`},decode:mt,decodeToBytes:function Xt(ft){const{prefix:ai,words:He}=mt(ft,!1);return{prefix:ai,words:He,bytes:we(He)}},decodeUnsafe:j(mt),fromWords:we,fromWordsUnsafe:Re,toWords:ze}}A.bech32=ie("bech32"),A.bech32m=ie("bech32m"),A.utf8={encode:de=>(new TextDecoder).decode(de),decode:de=>(new TextEncoder).encode(de)},A.hex=T(Z(4),g("0123456789abcdef"),y(""),C(de=>{if("string"!=typeof de||de.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof de} with length ${de.length}`);return de.toLowerCase()}));const K={utf8:A.utf8,hex:A.hex,base16:A.base16,base32:A.base32,base64:A.base64,base64url:A.base64url,base58:A.base58,base58xmr:A.base58xmr},oe=`Invalid encoding type. Available types: ${Object.keys(K).join(", ")}`;A.bytesToString=(de,me)=>{if("string"!=typeof de||!K.hasOwnProperty(de))throw new TypeError(oe);if(!(me instanceof Uint8Array))throw new TypeError("bytesToString() expects Uint8Array");return K[de].encode(me)},A.str=A.bytesToString,A.stringToBytes=(de,me)=>{if(!K.hasOwnProperty(de))throw new TypeError(oe);if("string"!=typeof me)throw new TypeError("stringToBytes() expects string");return K[de].decode(me)},A.bytes=A.stringToBytes},6837:(ve,A,I)=>{"use strict";A.Z1=A._I=A.OF=void 0;const g=I(5729),y=I(9522),b=I(8519),C=I(27),D=I(7507),L=I(5521),B=ie=>"\u3042\u3044\u3053\u304f\u3057\u3093"===ie[0];function R(ie){if("string"!=typeof ie)throw new TypeError("Invalid mnemonic type: "+typeof ie);return ie.normalize("NFKD")}function U(ie){const K=R(ie),oe=K.split(" ");if(![12,15,18,21,24].includes(oe.length))throw new Error("Invalid mnemonic");return{nfkd:K,words:oe}}function Z(ie){g.default.bytes(ie,16,20,24,28,32)}A.OF=function j(ie,K=128){if(g.default.number(K),K%32!=0||K>256)throw new TypeError("Invalid entropy");return function ne(ie,K){return Z(ie),re(K).encode(ie).join(B(K)?"\u3000":" ")}((0,D.randomBytes)(K/8),ie)};const V=ie=>{const K=8-ie.length/4;return new Uint8Array([(0,b.sha256)(ie)[0]>>K<<K])};function re(ie){if(!Array.isArray(ie)||2048!==ie.length||"string"!=typeof ie[0])throw new Error("Worlist: expected array of 2048 strings");return ie.forEach(K=>{if("string"!=typeof K)throw new Error(`Wordlist: non-string element: ${K}`)}),L.utils.chain(L.utils.checksum(1,V),L.utils.radix2(11,!0),L.utils.alphabet(ie))}A._I=function G(ie,K){try{!function W(ie,K){const{words:oe}=U(ie),he=re(K).decode(oe);return Z(he),he}(ie,K)}catch{return!1}return!0};A.Z1=function le(ie,K=""){return(0,y.pbkdf2)(C.sha512,U(ie).nfkd,(ie=>R(`mnemonic${ie}`))(K),{c:2048,dkLen:64})}},5729:(ve,A)=>{"use strict";function I(L){if(!Number.isSafeInteger(L)||L<0)throw new Error(`Wrong positive integer: ${L}`)}function T(L){if("boolean"!=typeof L)throw new Error(`Expected boolean, not ${L}`)}function g(L,...B){if(!(L instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(B.length>0&&!B.includes(L.length))throw new TypeError(`Expected Uint8Array of length ${B}, not of length=${L.length}`)}function y(L){if("function"!=typeof L||"function"!=typeof L.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");I(L.outputLen),I(L.blockLen)}function b(L,B=!0){if(L.destroyed)throw new Error("Hash instance has been destroyed");if(B&&L.finished)throw new Error("Hash#digest() has already been called")}function C(L,B){g(L);const R=B.outputLen;if(L.length<R)throw new Error(`digestInto() expects output buffer of length at least ${R}`)}Object.defineProperty(A,"__esModule",{value:!0}),A.output=A.exists=A.hash=A.bytes=A.bool=A.number=void 0,A.number=I,A.bool=T,A.bytes=g,A.hash=y,A.exists=b,A.output=C,A.default={number:I,bool:T,bytes:g,hash:y,exists:b,output:C}},4206:(ve,A,I)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.SHA2=void 0;const T=I(5729),g=I(7507);A.SHA2=class b extends g.Hash{constructor(D,L,B,R){super(),this.blockLen=D,this.outputLen=L,this.padOffset=B,this.isLE=R,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(D),this.view=(0,g.createView)(this.buffer)}update(D){T.default.exists(this);const{view:L,buffer:B,blockLen:R}=this,U=(D=(0,g.toBytes)(D)).length;for(let Z=0;Z<U;){const j=Math.min(R-this.pos,U-Z);if(j!==R)B.set(D.subarray(Z,Z+j),this.pos),this.pos+=j,Z+=j,this.pos===R&&(this.process(L,0),this.pos=0);else{const V=(0,g.createView)(D);for(;R<=U-Z;Z+=R)this.process(V,Z)}}return this.length+=D.length,this.roundClean(),this}digestInto(D){T.default.exists(this),T.default.output(D,this),this.finished=!0;const{buffer:L,view:B,blockLen:R,isLE:U}=this;let{pos:Z}=this;L[Z++]=128,this.buffer.subarray(Z).fill(0),this.padOffset>R-Z&&(this.process(B,0),Z=0);for(let ne=Z;ne<R;ne++)L[ne]=0;(function y(C,D,L,B){if("function"==typeof C.setBigUint64)return C.setBigUint64(D,L,B);const R=BigInt(32),U=BigInt(4294967295),Z=Number(L>>R&U),j=Number(L&U),re=B?0:4;C.setUint32(D+(B?4:0),Z,B),C.setUint32(D+re,j,B)})(B,R-8,BigInt(8*this.length),U),this.process(B,0);const j=(0,g.createView)(D),V=this.outputLen;if(V%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const re=V/4,W=this.get();if(re>W.length)throw new Error("_sha2: outputLen bigger than state");for(let ne=0;ne<re;ne++)j.setUint32(4*ne,W[ne],U)}digest(){const{buffer:D,outputLen:L}=this;this.digestInto(D);const B=D.slice(0,L);return this.destroy(),B}_cloneInto(D){D||(D=new this.constructor),D.set(...this.get());const{blockLen:L,buffer:B,length:R,finished:U,destroyed:Z,pos:j}=this;return D.length=R,D.pos=j,D.finished=U,D.destroyed=Z,R%L&&D.buffer.set(B),D}}},9027:(ve,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.add=A.toBig=A.split=A.fromBig=void 0;const I=BigInt(2**32-1),T=BigInt(32);function g(ae,de=!1){return de?{h:Number(ae&I),l:Number(ae>>T&I)}:{h:0|Number(ae>>T&I),l:0|Number(ae&I)}}function y(ae,de=!1){let me=new Uint32Array(ae.length),ge=new Uint32Array(ae.length);for(let we=0;we<ae.length;we++){const{h:ze,l:Re}=g(ae[we],de);[me[we],ge[we]]=[ze,Re]}return[me,ge]}function G(ae,de,me,ge){const we=(de>>>0)+(ge>>>0);return{h:ae+me+(we/2**32|0)|0,l:0|we}}A.fromBig=g,A.split=y,A.toBig=(ae,de)=>BigInt(ae>>>0)<<T|BigInt(de>>>0),A.add=G,A.default={fromBig:g,split:y,toBig:A.toBig,shrSH:(ae,de,me)=>ae>>>me,shrSL:(ae,de,me)=>ae<<32-me|de>>>me,rotrSH:(ae,de,me)=>ae>>>me|de<<32-me,rotrSL:(ae,de,me)=>ae<<32-me|de>>>me,rotrBH:(ae,de,me)=>ae<<64-me|de>>>me-32,rotrBL:(ae,de,me)=>ae>>>me-32|de<<64-me,rotr32H:(ae,de)=>de,rotr32L:(ae,de)=>ae,rotlSH:(ae,de,me)=>ae<<me|de>>>32-me,rotlSL:(ae,de,me)=>de<<me|ae>>>32-me,rotlBH:(ae,de,me)=>de<<me-32|ae>>>64-me,rotlBL:(ae,de,me)=>ae<<me-32|de>>>64-me,add:G,add3L:(ae,de,me)=>(ae>>>0)+(de>>>0)+(me>>>0),add3H:(ae,de,me,ge)=>de+me+ge+(ae/2**32|0)|0,add4L:(ae,de,me,ge)=>(ae>>>0)+(de>>>0)+(me>>>0)+(ge>>>0),add4H:(ae,de,me,ge,we)=>de+me+ge+we+(ae/2**32|0)|0,add5H:(ae,de,me,ge,we,ze)=>de+me+ge+we+ze+(ae/2**32|0)|0,add5L:(ae,de,me,ge,we)=>(ae>>>0)+(de>>>0)+(me>>>0)+(ge>>>0)+(we>>>0)}},7882:(ve,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.crypto=void 0,A.crypto={node:void 0,web:"object"==typeof self&&"crypto"in self?self.crypto:void 0}},602:(ve,A,I)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.hmac=void 0;const T=I(5729),g=I(7507);class y extends g.Hash{constructor(D,L){super(),this.finished=!1,this.destroyed=!1,T.default.hash(D);const B=(0,g.toBytes)(L);if(this.iHash=D.create(),"function"!=typeof this.iHash.update)throw new TypeError("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const R=this.blockLen,U=new Uint8Array(R);U.set(B.length>R?D.create().update(B).digest():B);for(let Z=0;Z<U.length;Z++)U[Z]^=54;this.iHash.update(U),this.oHash=D.create();for(let Z=0;Z<U.length;Z++)U[Z]^=106;this.oHash.update(U),U.fill(0)}update(D){return T.default.exists(this),this.iHash.update(D),this}digestInto(D){T.default.exists(this),T.default.bytes(D,this.outputLen),this.finished=!0,this.iHash.digestInto(D),this.oHash.update(D),this.oHash.digestInto(D),this.destroy()}digest(){const D=new Uint8Array(this.oHash.outputLen);return this.digestInto(D),D}_cloneInto(D){D||(D=Object.create(Object.getPrototypeOf(this),{}));const{oHash:L,iHash:B,finished:R,destroyed:U,blockLen:Z,outputLen:j}=this;return D.finished=R,D.destroyed=U,D.blockLen=Z,D.outputLen=j,D.oHash=L._cloneInto(D.oHash),D.iHash=B._cloneInto(D.iHash),D}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}A.hmac=(C,D,L)=>new y(C,D).update(L).digest(),A.hmac.create=(C,D)=>new y(C,D)},9522:(ve,A,I)=>{"use strict";var T=I(9598).default;Object.defineProperty(A,"__esModule",{value:!0}),A.pbkdf2Async=A.pbkdf2=void 0;const g=I(5729),y=I(602),b=I(7507);function C(U,Z,j,V){g.default.hash(U);const re=(0,b.checkOpts)({dkLen:32,asyncTick:10},V),{c:W,dkLen:ne,asyncTick:G}=re;if(g.default.number(W),g.default.number(ne),g.default.number(G),W<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const z=(0,b.toBytes)(Z),ce=(0,b.toBytes)(j),le=new Uint8Array(ne),ie=y.hmac.create(U,z),K=ie._cloneInto().update(ce);return{c:W,dkLen:ne,asyncTick:G,DK:le,PRF:ie,PRFSalt:K}}function D(U,Z,j,V,re){return U.destroy(),Z.destroy(),V&&V.destroy(),re.fill(0),j}function R(){return(R=T(function*(U,Z,j,V){const{c:re,dkLen:W,asyncTick:ne,DK:G,PRF:z,PRFSalt:ce}=C(U,Z,j,V);let le;const ie=new Uint8Array(4),K=(0,b.createView)(ie),oe=new Uint8Array(z.outputLen);for(let he=1,ae=0;ae<W;he++,ae+=z.outputLen){const de=G.subarray(ae,ae+z.outputLen);K.setInt32(0,he,!1),(le=ce._cloneInto(le)).update(ie).digestInto(oe),de.set(oe.subarray(0,de.length)),yield(0,b.asyncLoop)(re-1,ne,me=>{z._cloneInto(le).update(oe).digestInto(oe);for(let ge=0;ge<de.length;ge++)de[ge]^=oe[ge]})}return D(z,ce,G,le,oe)})).apply(this,arguments)}A.pbkdf2=function L(U,Z,j,V){const{c:re,dkLen:W,DK:ne,PRF:G,PRFSalt:z}=C(U,Z,j,V);let ce;const le=new Uint8Array(4),ie=(0,b.createView)(le),K=new Uint8Array(G.outputLen);for(let oe=1,he=0;he<W;oe++,he+=G.outputLen){const ae=ne.subarray(he,he+G.outputLen);ie.setInt32(0,oe,!1),(ce=z._cloneInto(ce)).update(le).digestInto(K),ae.set(K.subarray(0,ae.length));for(let de=1;de<re;de++){G._cloneInto(ce).update(K).digestInto(K);for(let me=0;me<ae.length;me++)ae[me]^=K[me]}}return D(G,z,ne,ce,K)},A.pbkdf2Async=function B(U,Z,j,V){return R.apply(this,arguments)}},8519:(ve,A,I)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.sha224=A.sha256=void 0;const T=I(4206),g=I(7507),y=(U,Z,j)=>U&Z^~U&j,b=(U,Z,j)=>U&Z^U&j^Z&j,C=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),D=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),L=new Uint32Array(64);class B extends T.SHA2{constructor(){super(64,32,8,!1),this.A=0|D[0],this.B=0|D[1],this.C=0|D[2],this.D=0|D[3],this.E=0|D[4],this.F=0|D[5],this.G=0|D[6],this.H=0|D[7]}get(){const{A:Z,B:j,C:V,D:re,E:W,F:ne,G,H:z}=this;return[Z,j,V,re,W,ne,G,z]}set(Z,j,V,re,W,ne,G,z){this.A=0|Z,this.B=0|j,this.C=0|V,this.D=0|re,this.E=0|W,this.F=0|ne,this.G=0|G,this.H=0|z}process(Z,j){for(let ie=0;ie<16;ie++,j+=4)L[ie]=Z.getUint32(j,!1);for(let ie=16;ie<64;ie++){const K=L[ie-15],oe=L[ie-2],he=(0,g.rotr)(K,7)^(0,g.rotr)(K,18)^K>>>3,ae=(0,g.rotr)(oe,17)^(0,g.rotr)(oe,19)^oe>>>10;L[ie]=ae+L[ie-7]+he+L[ie-16]|0}let{A:V,B:re,C:W,D:ne,E:G,F:z,G:ce,H:le}=this;for(let ie=0;ie<64;ie++){const oe=le+((0,g.rotr)(G,6)^(0,g.rotr)(G,11)^(0,g.rotr)(G,25))+y(G,z,ce)+C[ie]+L[ie]|0,ae=((0,g.rotr)(V,2)^(0,g.rotr)(V,13)^(0,g.rotr)(V,22))+b(V,re,W)|0;le=ce,ce=z,z=G,G=ne+oe|0,ne=W,W=re,re=V,V=oe+ae|0}V=V+this.A|0,re=re+this.B|0,W=W+this.C|0,ne=ne+this.D|0,G=G+this.E|0,z=z+this.F|0,ce=ce+this.G|0,le=le+this.H|0,this.set(V,re,W,ne,G,z,ce,le)}roundClean(){L.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class R extends B{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}A.sha256=(0,g.wrapConstructor)(()=>new B),A.sha224=(0,g.wrapConstructor)(()=>new R)},27:(ve,A,I)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.sha384=A.sha512_256=A.sha512_224=A.sha512=A.SHA512=void 0;const T=I(4206),g=I(9027),y=I(7507),[b,C]=g.default.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(j=>BigInt(j))),D=new Uint32Array(80),L=new Uint32Array(80);class B extends T.SHA2{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:V,Al:re,Bh:W,Bl:ne,Ch:G,Cl:z,Dh:ce,Dl:le,Eh:ie,El:K,Fh:oe,Fl:he,Gh:ae,Gl:de,Hh:me,Hl:ge}=this;return[V,re,W,ne,G,z,ce,le,ie,K,oe,he,ae,de,me,ge]}set(V,re,W,ne,G,z,ce,le,ie,K,oe,he,ae,de,me,ge){this.Ah=0|V,this.Al=0|re,this.Bh=0|W,this.Bl=0|ne,this.Ch=0|G,this.Cl=0|z,this.Dh=0|ce,this.Dl=0|le,this.Eh=0|ie,this.El=0|K,this.Fh=0|oe,this.Fl=0|he,this.Gh=0|ae,this.Gl=0|de,this.Hh=0|me,this.Hl=0|ge}process(V,re){for(let Re=0;Re<16;Re++,re+=4)D[Re]=V.getUint32(re),L[Re]=V.getUint32(re+=4);for(let Re=16;Re<80;Re++){const st=0|D[Re-15],mt=0|L[Re-15],At=g.default.rotrSH(st,mt,1)^g.default.rotrSH(st,mt,8)^g.default.shrSH(st,mt,7),Xt=g.default.rotrSL(st,mt,1)^g.default.rotrSL(st,mt,8)^g.default.shrSL(st,mt,7),ft=0|D[Re-2],ai=0|L[Re-2],He=g.default.rotrSH(ft,ai,19)^g.default.rotrBH(ft,ai,61)^g.default.shrSH(ft,ai,6),yi=g.default.rotrSL(ft,ai,19)^g.default.rotrBL(ft,ai,61)^g.default.shrSL(ft,ai,6),nt=g.default.add4L(Xt,yi,L[Re-7],L[Re-16]),Jt=g.default.add4H(nt,At,He,D[Re-7],D[Re-16]);D[Re]=0|Jt,L[Re]=0|nt}let{Ah:W,Al:ne,Bh:G,Bl:z,Ch:ce,Cl:le,Dh:ie,Dl:K,Eh:oe,El:he,Fh:ae,Fl:de,Gh:me,Gl:ge,Hh:we,Hl:ze}=this;for(let Re=0;Re<80;Re++){const st=g.default.rotrSH(oe,he,14)^g.default.rotrSH(oe,he,18)^g.default.rotrBH(oe,he,41),mt=g.default.rotrSL(oe,he,14)^g.default.rotrSL(oe,he,18)^g.default.rotrBL(oe,he,41),At=oe&ae^~oe&me,ft=g.default.add5L(ze,mt,he&de^~he&ge,C[Re],L[Re]),ai=g.default.add5H(ft,we,st,At,b[Re],D[Re]),He=0|ft,yi=g.default.rotrSH(W,ne,28)^g.default.rotrBH(W,ne,34)^g.default.rotrBH(W,ne,39),nt=g.default.rotrSL(W,ne,28)^g.default.rotrBL(W,ne,34)^g.default.rotrBL(W,ne,39),Jt=W&G^W&ce^G&ce,Ut=ne&z^ne&le^z&le;we=0|me,ze=0|ge,me=0|ae,ge=0|de,ae=0|oe,de=0|he,({h:oe,l:he}=g.default.add(0|ie,0|K,0|ai,0|He)),ie=0|ce,K=0|le,ce=0|G,le=0|z,G=0|W,z=0|ne;const Fn=g.default.add3L(He,nt,Ut);W=g.default.add3H(Fn,ai,yi,Jt),ne=0|Fn}({h:W,l:ne}=g.default.add(0|this.Ah,0|this.Al,0|W,0|ne)),({h:G,l:z}=g.default.add(0|this.Bh,0|this.Bl,0|G,0|z)),({h:ce,l:le}=g.default.add(0|this.Ch,0|this.Cl,0|ce,0|le)),({h:ie,l:K}=g.default.add(0|this.Dh,0|this.Dl,0|ie,0|K)),({h:oe,l:he}=g.default.add(0|this.Eh,0|this.El,0|oe,0|he)),({h:ae,l:de}=g.default.add(0|this.Fh,0|this.Fl,0|ae,0|de)),({h:me,l:ge}=g.default.add(0|this.Gh,0|this.Gl,0|me,0|ge)),({h:we,l:ze}=g.default.add(0|this.Hh,0|this.Hl,0|we,0|ze)),this.set(W,ne,G,z,ce,le,ie,K,oe,he,ae,de,me,ge,we,ze)}roundClean(){D.fill(0),L.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}A.SHA512=B;class R extends B{constructor(){super(),this.Ah=-1942145080,this.Al=424955298,this.Bh=1944164710,this.Bl=-1982016298,this.Ch=502970286,this.Cl=855612546,this.Dh=1738396948,this.Dl=1479516111,this.Eh=258812777,this.El=2077511080,this.Fh=2011393907,this.Fl=79989058,this.Gh=1067287976,this.Gl=1780299464,this.Hh=286451373,this.Hl=-1848208735,this.outputLen=28}}class U extends B{constructor(){super(),this.Ah=573645204,this.Al=-64227540,this.Bh=-1621794909,this.Bl=-934517566,this.Ch=596883563,this.Cl=1867755857,this.Dh=-1774684391,this.Dl=1497426621,this.Eh=-1775747358,this.El=-1467023389,this.Fh=-1101128155,this.Fl=1401305490,this.Gh=721525244,this.Gl=746961066,this.Hh=246885852,this.Hl=-2117784414,this.outputLen=32}}class Z extends B{constructor(){super(),this.Ah=-876896931,this.Al=-1056596264,this.Bh=1654270250,this.Bl=914150663,this.Ch=-1856437926,this.Cl=812702999,this.Dh=355462360,this.Dl=-150054599,this.Eh=1731405415,this.El=-4191439,this.Fh=-1900787065,this.Fl=1750603025,this.Gh=-619958771,this.Gl=1694076839,this.Hh=1203062813,this.Hl=-1090891868,this.outputLen=48}}A.sha512=(0,y.wrapConstructor)(()=>new B),A.sha512_224=(0,y.wrapConstructor)(()=>new R),A.sha512_256=(0,y.wrapConstructor)(()=>new U),A.sha384=(0,y.wrapConstructor)(()=>new Z)},7507:(ve,A,I)=>{"use strict";var T=I(9598).default;Object.defineProperty(A,"__esModule",{value:!0}),A.randomBytes=A.wrapConstructorWithOpts=A.wrapConstructor=A.checkOpts=A.Hash=A.concatBytes=A.toBytes=A.utf8ToBytes=A.asyncLoop=A.nextTick=A.hexToBytes=A.bytesToHex=A.isLE=A.rotr=A.createView=A.u32=A.u8=void 0;const g=I(7882);if(A.u8=K=>new Uint8Array(K.buffer,K.byteOffset,K.byteLength),A.u32=K=>new Uint32Array(K.buffer,K.byteOffset,Math.floor(K.byteLength/4)),A.createView=K=>new DataView(K.buffer,K.byteOffset,K.byteLength),A.rotr=(K,oe)=>K<<32-oe|K>>>oe,A.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],!A.isLE)throw new Error("Non little-endian hardware is not supported");const L=Array.from({length:256},(K,oe)=>oe.toString(16).padStart(2,"0"));function j(){return(j=T(function*(K,oe,he){let ae=Date.now();for(let de=0;de<K;de++){he(de);const me=Date.now()-ae;me>=0&&me<oe||(yield(0,A.nextTick)(),ae+=me)}})).apply(this,arguments)}function V(K){if("string"!=typeof K)throw new TypeError("utf8ToBytes expected string, got "+typeof K);return(new TextEncoder).encode(K)}function re(K){if("string"==typeof K&&(K=V(K)),!(K instanceof Uint8Array))throw new TypeError(`Expected input type is Uint8Array (got ${typeof K})`);return K}A.bytesToHex=function B(K){if(!(K instanceof Uint8Array))throw new Error("Uint8Array expected");let oe="";for(let he=0;he<K.length;he++)oe+=L[K[he]];return oe},A.hexToBytes=function R(K){if("string"!=typeof K)throw new TypeError("hexToBytes: expected string, got "+typeof K);if(K.length%2)throw new Error("hexToBytes: received invalid unpadded hex");const oe=new Uint8Array(K.length/2);for(let he=0;he<oe.length;he++){const ae=2*he,de=K.slice(ae,ae+2),me=Number.parseInt(de,16);if(Number.isNaN(me)||me<0)throw new Error("Invalid byte sequence");oe[he]=me}return oe},A.nextTick=function(){var K=T(function*(){});return function(){return K.apply(this,arguments)}}(),A.asyncLoop=function Z(K,oe,he){return j.apply(this,arguments)},A.utf8ToBytes=V,A.toBytes=re,A.concatBytes=function W(...K){if(!K.every(ae=>ae instanceof Uint8Array))throw new Error("Uint8Array list expected");if(1===K.length)return K[0];const oe=K.reduce((ae,de)=>ae+de.length,0),he=new Uint8Array(oe);for(let ae=0,de=0;ae<K.length;ae++){const me=K[ae];he.set(me,de),de+=me.length}return he},A.Hash=class ne{clone(){return this._cloneInto()}};A.checkOpts=function z(K,oe){if(void 0!==oe&&("object"!=typeof oe||!(K=>"[object Object]"===Object.prototype.toString.call(K)&&K.constructor===Object)(oe)))throw new TypeError("Options should be object or undefined");return Object.assign(K,oe)},A.wrapConstructor=function ce(K){const oe=ae=>K().update(re(ae)).digest(),he=K();return oe.outputLen=he.outputLen,oe.blockLen=he.blockLen,oe.create=()=>K(),oe},A.wrapConstructorWithOpts=function le(K){const oe=(ae,de)=>K(de).update(re(ae)).digest(),he=K({});return oe.outputLen=he.outputLen,oe.blockLen=he.blockLen,oe.create=ae=>K(ae),oe},A.randomBytes=function ie(K=32){if(g.crypto.web)return g.crypto.web.getRandomValues(new Uint8Array(K));if(g.crypto.node)return new Uint8Array(g.crypto.node.randomBytes(K).buffer);throw new Error("The environment doesn't have randomBytes function")}},3439:(ve,A)=>{"use strict";A.U=void 0,A.U="abandon\nability\nable\nabout\nabove\nabsent\nabsorb\nabstract\nabsurd\nabuse\naccess\naccident\naccount\naccuse\nachieve\nacid\nacoustic\nacquire\nacross\nact\naction\nactor\nactress\nactual\nadapt\nadd\naddict\naddress\nadjust\nadmit\nadult\nadvance\nadvice\naerobic\naffair\nafford\nafraid\nagain\nage\nagent\nagree\nahead\naim\nair\nairport\naisle\nalarm\nalbum\nalcohol\nalert\nalien\nall\nalley\nallow\nalmost\nalone\nalpha\nalready\nalso\nalter\nalways\namateur\namazing\namong\namount\namused\nanalyst\nanchor\nancient\nanger\nangle\nangry\nanimal\nankle\nannounce\nannual\nanother\nanswer\nantenna\nantique\nanxiety\nany\napart\napology\nappear\napple\napprove\napril\narch\narctic\narea\narena\nargue\narm\narmed\narmor\narmy\naround\narrange\narrest\narrive\narrow\nart\nartefact\nartist\nartwork\nask\naspect\nassault\nasset\nassist\nassume\nasthma\nathlete\natom\nattack\nattend\nattitude\nattract\nauction\naudit\naugust\naunt\nauthor\nauto\nautumn\naverage\navocado\navoid\nawake\naware\naway\nawesome\nawful\nawkward\naxis\nbaby\nbachelor\nbacon\nbadge\nbag\nbalance\nbalcony\nball\nbamboo\nbanana\nbanner\nbar\nbarely\nbargain\nbarrel\nbase\nbasic\nbasket\nbattle\nbeach\nbean\nbeauty\nbecause\nbecome\nbeef\nbefore\nbegin\nbehave\nbehind\nbelieve\nbelow\nbelt\nbench\nbenefit\nbest\nbetray\nbetter\nbetween\nbeyond\nbicycle\nbid\nbike\nbind\nbiology\nbird\nbirth\nbitter\nblack\nblade\nblame\nblanket\nblast\nbleak\nbless\nblind\nblood\nblossom\nblouse\nblue\nblur\nblush\nboard\nboat\nbody\nboil\nbomb\nbone\nbonus\nbook\nboost\nborder\nboring\nborrow\nboss\nbottom\nbounce\nbox\nboy\nbracket\nbrain\nbrand\nbrass\nbrave\nbread\nbreeze\nbrick\nbridge\nbrief\nbright\nbring\nbrisk\nbroccoli\nbroken\nbronze\nbroom\nbrother\nbrown\nbrush\nbubble\nbuddy\nbudget\nbuffalo\nbuild\nbulb\nbulk\nbullet\nbundle\nbunker\nburden\nburger\nburst\nbus\nbusiness\nbusy\nbutter\nbuyer\nbuzz\ncabbage\ncabin\ncable\ncactus\ncage\ncake\ncall\ncalm\ncamera\ncamp\ncan\ncanal\ncancel\ncandy\ncannon\ncanoe\ncanvas\ncanyon\ncapable\ncapital\ncaptain\ncar\ncarbon\ncard\ncargo\ncarpet\ncarry\ncart\ncase\ncash\ncasino\ncastle\ncasual\ncat\ncatalog\ncatch\ncategory\ncattle\ncaught\ncause\ncaution\ncave\nceiling\ncelery\ncement\ncensus\ncentury\ncereal\ncertain\nchair\nchalk\nchampion\nchange\nchaos\nchapter\ncharge\nchase\nchat\ncheap\ncheck\ncheese\nchef\ncherry\nchest\nchicken\nchief\nchild\nchimney\nchoice\nchoose\nchronic\nchuckle\nchunk\nchurn\ncigar\ncinnamon\ncircle\ncitizen\ncity\ncivil\nclaim\nclap\nclarify\nclaw\nclay\nclean\nclerk\nclever\nclick\nclient\ncliff\nclimb\nclinic\nclip\nclock\nclog\nclose\ncloth\ncloud\nclown\nclub\nclump\ncluster\nclutch\ncoach\ncoast\ncoconut\ncode\ncoffee\ncoil\ncoin\ncollect\ncolor\ncolumn\ncombine\ncome\ncomfort\ncomic\ncommon\ncompany\nconcert\nconduct\nconfirm\ncongress\nconnect\nconsider\ncontrol\nconvince\ncook\ncool\ncopper\ncopy\ncoral\ncore\ncorn\ncorrect\ncost\ncotton\ncouch\ncountry\ncouple\ncourse\ncousin\ncover\ncoyote\ncrack\ncradle\ncraft\ncram\ncrane\ncrash\ncrater\ncrawl\ncrazy\ncream\ncredit\ncreek\ncrew\ncricket\ncrime\ncrisp\ncritic\ncrop\ncross\ncrouch\ncrowd\ncrucial\ncruel\ncruise\ncrumble\ncrunch\ncrush\ncry\ncrystal\ncube\nculture\ncup\ncupboard\ncurious\ncurrent\ncurtain\ncurve\ncushion\ncustom\ncute\ncycle\ndad\ndamage\ndamp\ndance\ndanger\ndaring\ndash\ndaughter\ndawn\nday\ndeal\ndebate\ndebris\ndecade\ndecember\ndecide\ndecline\ndecorate\ndecrease\ndeer\ndefense\ndefine\ndefy\ndegree\ndelay\ndeliver\ndemand\ndemise\ndenial\ndentist\ndeny\ndepart\ndepend\ndeposit\ndepth\ndeputy\nderive\ndescribe\ndesert\ndesign\ndesk\ndespair\ndestroy\ndetail\ndetect\ndevelop\ndevice\ndevote\ndiagram\ndial\ndiamond\ndiary\ndice\ndiesel\ndiet\ndiffer\ndigital\ndignity\ndilemma\ndinner\ndinosaur\ndirect\ndirt\ndisagree\ndiscover\ndisease\ndish\ndismiss\ndisorder\ndisplay\ndistance\ndivert\ndivide\ndivorce\ndizzy\ndoctor\ndocument\ndog\ndoll\ndolphin\ndomain\ndonate\ndonkey\ndonor\ndoor\ndose\ndouble\ndove\ndraft\ndragon\ndrama\ndrastic\ndraw\ndream\ndress\ndrift\ndrill\ndrink\ndrip\ndrive\ndrop\ndrum\ndry\nduck\ndumb\ndune\nduring\ndust\ndutch\nduty\ndwarf\ndynamic\neager\neagle\nearly\nearn\nearth\neasily\neast\neasy\necho\necology\neconomy\nedge\nedit\neducate\neffort\negg\neight\neither\nelbow\nelder\nelectric\nelegant\nelement\nelephant\nelevator\nelite\nelse\nembark\nembody\nembrace\nemerge\nemotion\nemploy\nempower\nempty\nenable\nenact\nend\nendless\nendorse\nenemy\nenergy\nenforce\nengage\nengine\nenhance\nenjoy\nenlist\nenough\nenrich\nenroll\nensure\nenter\nentire\nentry\nenvelope\nepisode\nequal\nequip\nera\nerase\nerode\nerosion\nerror\nerupt\nescape\nessay\nessence\nestate\neternal\nethics\nevidence\nevil\nevoke\nevolve\nexact\nexample\nexcess\nexchange\nexcite\nexclude\nexcuse\nexecute\nexercise\nexhaust\nexhibit\nexile\nexist\nexit\nexotic\nexpand\nexpect\nexpire\nexplain\nexpose\nexpress\nextend\nextra\neye\neyebrow\nfabric\nface\nfaculty\nfade\nfaint\nfaith\nfall\nfalse\nfame\nfamily\nfamous\nfan\nfancy\nfantasy\nfarm\nfashion\nfat\nfatal\nfather\nfatigue\nfault\nfavorite\nfeature\nfebruary\nfederal\nfee\nfeed\nfeel\nfemale\nfence\nfestival\nfetch\nfever\nfew\nfiber\nfiction\nfield\nfigure\nfile\nfilm\nfilter\nfinal\nfind\nfine\nfinger\nfinish\nfire\nfirm\nfirst\nfiscal\nfish\nfit\nfitness\nfix\nflag\nflame\nflash\nflat\nflavor\nflee\nflight\nflip\nfloat\nflock\nfloor\nflower\nfluid\nflush\nfly\nfoam\nfocus\nfog\nfoil\nfold\nfollow\nfood\nfoot\nforce\nforest\nforget\nfork\nfortune\nforum\nforward\nfossil\nfoster\nfound\nfox\nfragile\nframe\nfrequent\nfresh\nfriend\nfringe\nfrog\nfront\nfrost\nfrown\nfrozen\nfruit\nfuel\nfun\nfunny\nfurnace\nfury\nfuture\ngadget\ngain\ngalaxy\ngallery\ngame\ngap\ngarage\ngarbage\ngarden\ngarlic\ngarment\ngas\ngasp\ngate\ngather\ngauge\ngaze\ngeneral\ngenius\ngenre\ngentle\ngenuine\ngesture\nghost\ngiant\ngift\ngiggle\nginger\ngiraffe\ngirl\ngive\nglad\nglance\nglare\nglass\nglide\nglimpse\nglobe\ngloom\nglory\nglove\nglow\nglue\ngoat\ngoddess\ngold\ngood\ngoose\ngorilla\ngospel\ngossip\ngovern\ngown\ngrab\ngrace\ngrain\ngrant\ngrape\ngrass\ngravity\ngreat\ngreen\ngrid\ngrief\ngrit\ngrocery\ngroup\ngrow\ngrunt\nguard\nguess\nguide\nguilt\nguitar\ngun\ngym\nhabit\nhair\nhalf\nhammer\nhamster\nhand\nhappy\nharbor\nhard\nharsh\nharvest\nhat\nhave\nhawk\nhazard\nhead\nhealth\nheart\nheavy\nhedgehog\nheight\nhello\nhelmet\nhelp\nhen\nhero\nhidden\nhigh\nhill\nhint\nhip\nhire\nhistory\nhobby\nhockey\nhold\nhole\nholiday\nhollow\nhome\nhoney\nhood\nhope\nhorn\nhorror\nhorse\nhospital\nhost\nhotel\nhour\nhover\nhub\nhuge\nhuman\nhumble\nhumor\nhundred\nhungry\nhunt\nhurdle\nhurry\nhurt\nhusband\nhybrid\nice\nicon\nidea\nidentify\nidle\nignore\nill\nillegal\nillness\nimage\nimitate\nimmense\nimmune\nimpact\nimpose\nimprove\nimpulse\ninch\ninclude\nincome\nincrease\nindex\nindicate\nindoor\nindustry\ninfant\ninflict\ninform\ninhale\ninherit\ninitial\ninject\ninjury\ninmate\ninner\ninnocent\ninput\ninquiry\ninsane\ninsect\ninside\ninspire\ninstall\nintact\ninterest\ninto\ninvest\ninvite\ninvolve\niron\nisland\nisolate\nissue\nitem\nivory\njacket\njaguar\njar\njazz\njealous\njeans\njelly\njewel\njob\njoin\njoke\njourney\njoy\njudge\njuice\njump\njungle\njunior\njunk\njust\nkangaroo\nkeen\nkeep\nketchup\nkey\nkick\nkid\nkidney\nkind\nkingdom\nkiss\nkit\nkitchen\nkite\nkitten\nkiwi\nknee\nknife\nknock\nknow\nlab\nlabel\nlabor\nladder\nlady\nlake\nlamp\nlanguage\nlaptop\nlarge\nlater\nlatin\nlaugh\nlaundry\nlava\nlaw\nlawn\nlawsuit\nlayer\nlazy\nleader\nleaf\nlearn\nleave\nlecture\nleft\nleg\nlegal\nlegend\nleisure\nlemon\nlend\nlength\nlens\nleopard\nlesson\nletter\nlevel\nliar\nliberty\nlibrary\nlicense\nlife\nlift\nlight\nlike\nlimb\nlimit\nlink\nlion\nliquid\nlist\nlittle\nlive\nlizard\nload\nloan\nlobster\nlocal\nlock\nlogic\nlonely\nlong\nloop\nlottery\nloud\nlounge\nlove\nloyal\nlucky\nluggage\nlumber\nlunar\nlunch\nluxury\nlyrics\nmachine\nmad\nmagic\nmagnet\nmaid\nmail\nmain\nmajor\nmake\nmammal\nman\nmanage\nmandate\nmango\nmansion\nmanual\nmaple\nmarble\nmarch\nmargin\nmarine\nmarket\nmarriage\nmask\nmass\nmaster\nmatch\nmaterial\nmath\nmatrix\nmatter\nmaximum\nmaze\nmeadow\nmean\nmeasure\nmeat\nmechanic\nmedal\nmedia\nmelody\nmelt\nmember\nmemory\nmention\nmenu\nmercy\nmerge\nmerit\nmerry\nmesh\nmessage\nmetal\nmethod\nmiddle\nmidnight\nmilk\nmillion\nmimic\nmind\nminimum\nminor\nminute\nmiracle\nmirror\nmisery\nmiss\nmistake\nmix\nmixed\nmixture\nmobile\nmodel\nmodify\nmom\nmoment\nmonitor\nmonkey\nmonster\nmonth\nmoon\nmoral\nmore\nmorning\nmosquito\nmother\nmotion\nmotor\nmountain\nmouse\nmove\nmovie\nmuch\nmuffin\nmule\nmultiply\nmuscle\nmuseum\nmushroom\nmusic\nmust\nmutual\nmyself\nmystery\nmyth\nnaive\nname\nnapkin\nnarrow\nnasty\nnation\nnature\nnear\nneck\nneed\nnegative\nneglect\nneither\nnephew\nnerve\nnest\nnet\nnetwork\nneutral\nnever\nnews\nnext\nnice\nnight\nnoble\nnoise\nnominee\nnoodle\nnormal\nnorth\nnose\nnotable\nnote\nnothing\nnotice\nnovel\nnow\nnuclear\nnumber\nnurse\nnut\noak\nobey\nobject\noblige\nobscure\nobserve\nobtain\nobvious\noccur\nocean\noctober\nodor\noff\noffer\noffice\noften\noil\nokay\nold\nolive\nolympic\nomit\nonce\none\nonion\nonline\nonly\nopen\nopera\nopinion\noppose\noption\norange\norbit\norchard\norder\nordinary\norgan\norient\noriginal\norphan\nostrich\nother\noutdoor\nouter\noutput\noutside\noval\noven\nover\nown\nowner\noxygen\noyster\nozone\npact\npaddle\npage\npair\npalace\npalm\npanda\npanel\npanic\npanther\npaper\nparade\nparent\npark\nparrot\nparty\npass\npatch\npath\npatient\npatrol\npattern\npause\npave\npayment\npeace\npeanut\npear\npeasant\npelican\npen\npenalty\npencil\npeople\npepper\nperfect\npermit\nperson\npet\nphone\nphoto\nphrase\nphysical\npiano\npicnic\npicture\npiece\npig\npigeon\npill\npilot\npink\npioneer\npipe\npistol\npitch\npizza\nplace\nplanet\nplastic\nplate\nplay\nplease\npledge\npluck\nplug\nplunge\npoem\npoet\npoint\npolar\npole\npolice\npond\npony\npool\npopular\nportion\nposition\npossible\npost\npotato\npottery\npoverty\npowder\npower\npractice\npraise\npredict\nprefer\nprepare\npresent\npretty\nprevent\nprice\npride\nprimary\nprint\npriority\nprison\nprivate\nprize\nproblem\nprocess\nproduce\nprofit\nprogram\nproject\npromote\nproof\nproperty\nprosper\nprotect\nproud\nprovide\npublic\npudding\npull\npulp\npulse\npumpkin\npunch\npupil\npuppy\npurchase\npurity\npurpose\npurse\npush\nput\npuzzle\npyramid\nquality\nquantum\nquarter\nquestion\nquick\nquit\nquiz\nquote\nrabbit\nraccoon\nrace\nrack\nradar\nradio\nrail\nrain\nraise\nrally\nramp\nranch\nrandom\nrange\nrapid\nrare\nrate\nrather\nraven\nraw\nrazor\nready\nreal\nreason\nrebel\nrebuild\nrecall\nreceive\nrecipe\nrecord\nrecycle\nreduce\nreflect\nreform\nrefuse\nregion\nregret\nregular\nreject\nrelax\nrelease\nrelief\nrely\nremain\nremember\nremind\nremove\nrender\nrenew\nrent\nreopen\nrepair\nrepeat\nreplace\nreport\nrequire\nrescue\nresemble\nresist\nresource\nresponse\nresult\nretire\nretreat\nreturn\nreunion\nreveal\nreview\nreward\nrhythm\nrib\nribbon\nrice\nrich\nride\nridge\nrifle\nright\nrigid\nring\nriot\nripple\nrisk\nritual\nrival\nriver\nroad\nroast\nrobot\nrobust\nrocket\nromance\nroof\nrookie\nroom\nrose\nrotate\nrough\nround\nroute\nroyal\nrubber\nrude\nrug\nrule\nrun\nrunway\nrural\nsad\nsaddle\nsadness\nsafe\nsail\nsalad\nsalmon\nsalon\nsalt\nsalute\nsame\nsample\nsand\nsatisfy\nsatoshi\nsauce\nsausage\nsave\nsay\nscale\nscan\nscare\nscatter\nscene\nscheme\nschool\nscience\nscissors\nscorpion\nscout\nscrap\nscreen\nscript\nscrub\nsea\nsearch\nseason\nseat\nsecond\nsecret\nsection\nsecurity\nseed\nseek\nsegment\nselect\nsell\nseminar\nsenior\nsense\nsentence\nseries\nservice\nsession\nsettle\nsetup\nseven\nshadow\nshaft\nshallow\nshare\nshed\nshell\nsheriff\nshield\nshift\nshine\nship\nshiver\nshock\nshoe\nshoot\nshop\nshort\nshoulder\nshove\nshrimp\nshrug\nshuffle\nshy\nsibling\nsick\nside\nsiege\nsight\nsign\nsilent\nsilk\nsilly\nsilver\nsimilar\nsimple\nsince\nsing\nsiren\nsister\nsituate\nsix\nsize\nskate\nsketch\nski\nskill\nskin\nskirt\nskull\nslab\nslam\nsleep\nslender\nslice\nslide\nslight\nslim\nslogan\nslot\nslow\nslush\nsmall\nsmart\nsmile\nsmoke\nsmooth\nsnack\nsnake\nsnap\nsniff\nsnow\nsoap\nsoccer\nsocial\nsock\nsoda\nsoft\nsolar\nsoldier\nsolid\nsolution\nsolve\nsomeone\nsong\nsoon\nsorry\nsort\nsoul\nsound\nsoup\nsource\nsouth\nspace\nspare\nspatial\nspawn\nspeak\nspecial\nspeed\nspell\nspend\nsphere\nspice\nspider\nspike\nspin\nspirit\nsplit\nspoil\nsponsor\nspoon\nsport\nspot\nspray\nspread\nspring\nspy\nsquare\nsqueeze\nsquirrel\nstable\nstadium\nstaff\nstage\nstairs\nstamp\nstand\nstart\nstate\nstay\nsteak\nsteel\nstem\nstep\nstereo\nstick\nstill\nsting\nstock\nstomach\nstone\nstool\nstory\nstove\nstrategy\nstreet\nstrike\nstrong\nstruggle\nstudent\nstuff\nstumble\nstyle\nsubject\nsubmit\nsubway\nsuccess\nsuch\nsudden\nsuffer\nsugar\nsuggest\nsuit\nsummer\nsun\nsunny\nsunset\nsuper\nsupply\nsupreme\nsure\nsurface\nsurge\nsurprise\nsurround\nsurvey\nsuspect\nsustain\nswallow\nswamp\nswap\nswarm\nswear\nsweet\nswift\nswim\nswing\nswitch\nsword\nsymbol\nsymptom\nsyrup\nsystem\ntable\ntackle\ntag\ntail\ntalent\ntalk\ntank\ntape\ntarget\ntask\ntaste\ntattoo\ntaxi\nteach\nteam\ntell\nten\ntenant\ntennis\ntent\nterm\ntest\ntext\nthank\nthat\ntheme\nthen\ntheory\nthere\nthey\nthing\nthis\nthought\nthree\nthrive\nthrow\nthumb\nthunder\nticket\ntide\ntiger\ntilt\ntimber\ntime\ntiny\ntip\ntired\ntissue\ntitle\ntoast\ntobacco\ntoday\ntoddler\ntoe\ntogether\ntoilet\ntoken\ntomato\ntomorrow\ntone\ntongue\ntonight\ntool\ntooth\ntop\ntopic\ntopple\ntorch\ntornado\ntortoise\ntoss\ntotal\ntourist\ntoward\ntower\ntown\ntoy\ntrack\ntrade\ntraffic\ntragic\ntrain\ntransfer\ntrap\ntrash\ntravel\ntray\ntreat\ntree\ntrend\ntrial\ntribe\ntrick\ntrigger\ntrim\ntrip\ntrophy\ntrouble\ntruck\ntrue\ntruly\ntrumpet\ntrust\ntruth\ntry\ntube\ntuition\ntumble\ntuna\ntunnel\nturkey\nturn\nturtle\ntwelve\ntwenty\ntwice\ntwin\ntwist\ntwo\ntype\ntypical\nugly\numbrella\nunable\nunaware\nuncle\nuncover\nunder\nundo\nunfair\nunfold\nunhappy\nuniform\nunique\nunit\nuniverse\nunknown\nunlock\nuntil\nunusual\nunveil\nupdate\nupgrade\nuphold\nupon\nupper\nupset\nurban\nurge\nusage\nuse\nused\nuseful\nuseless\nusual\nutility\nvacant\nvacuum\nvague\nvalid\nvalley\nvalve\nvan\nvanish\nvapor\nvarious\nvast\nvault\nvehicle\nvelvet\nvendor\nventure\nvenue\nverb\nverify\nversion\nvery\nvessel\nveteran\nviable\nvibrant\nvicious\nvictory\nvideo\nview\nvillage\nvintage\nviolin\nvirtual\nvirus\nvisa\nvisit\nvisual\nvital\nvivid\nvocal\nvoice\nvoid\nvolcano\nvolume\nvote\nvoyage\nwage\nwagon\nwait\nwalk\nwall\nwalnut\nwant\nwarfare\nwarm\nwarrior\nwash\nwasp\nwaste\nwater\nwave\nway\nwealth\nweapon\nwear\nweasel\nweather\nweb\nwedding\nweekend\nweird\nwelcome\nwest\nwet\nwhale\nwhat\nwheat\nwheel\nwhen\nwhere\nwhip\nwhisper\nwide\nwidth\nwife\nwild\nwill\nwin\nwindow\nwine\nwing\nwink\nwinner\nwinter\nwire\nwisdom\nwise\nwish\nwitness\nwolf\nwoman\nwonder\nwood\nwool\nword\nwork\nworld\nworry\nworth\nwrap\nwreck\nwrestle\nwrist\nwrite\nwrong\nyard\nyear\nyellow\nyou\nyoung\nyouth\nzebra\nzero\nzone\nzoo".split("\n")},5834:(ve,A,I)=>{"use strict";var T=I(5203),g=I(5685),y=g(T("String.prototype.indexOf"));ve.exports=function(C,D){var L=T(C,!!D);return"function"==typeof L&&y(C,".prototype.")>-1?g(L):L}},5685:(ve,A,I)=>{"use strict";var T=I(4444),g=I(5203),y=g("%Function.prototype.apply%"),b=g("%Function.prototype.call%"),C=g("%Reflect.apply%",!0)||T.call(b,y),D=g("%Object.getOwnPropertyDescriptor%",!0),L=g("%Object.defineProperty%",!0),B=g("%Math.max%");if(L)try{L({},"a",{value:1})}catch{L=null}ve.exports=function(Z){var j=C(T,b,arguments);return D&&L&&D(j,"length").configurable&&L(j,"length",{value:1+B(0,Z.length-(arguments.length-1))}),j};var R=function(){return C(T,y,arguments)};L?L(ve.exports,"apply",{value:R}):ve.exports.apply=R},4999:ve=>{"use strict";var A=function(G){return function I(ne){return!!ne&&"object"==typeof ne}(G)&&!function T(ne){var G=Object.prototype.toString.call(ne);return"[object RegExp]"===G||"[object Date]"===G||function b(ne){return ne.$$typeof===y}(ne)}(G)},y="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function D(ne,G){return!1!==G.clone&&G.isMergeableObject(ne)?re(function C(ne){return Array.isArray(ne)?[]:{}}(ne),ne,G):ne}function L(ne,G,z){return ne.concat(G).map(function(ce){return D(ce,z)})}function U(ne){return Object.keys(ne).concat(function R(ne){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(ne).filter(function(G){return ne.propertyIsEnumerable(G)}):[]}(ne))}function Z(ne,G){try{return G in ne}catch{return!1}}function re(ne,G,z){(z=z||{}).arrayMerge=z.arrayMerge||L,z.isMergeableObject=z.isMergeableObject||A,z.cloneUnlessOtherwiseSpecified=D;var ce=Array.isArray(G);return ce===Array.isArray(ne)?ce?z.arrayMerge(ne,G,z):function V(ne,G,z){var ce={};return z.isMergeableObject(ne)&&U(ne).forEach(function(le){ce[le]=D(ne[le],z)}),U(G).forEach(function(le){(function j(ne,G){return Z(ne,G)&&!(Object.hasOwnProperty.call(ne,G)&&Object.propertyIsEnumerable.call(ne,G))})(ne,le)||(ce[le]=Z(ne,le)&&z.isMergeableObject(G[le])?function B(ne,G){if(!G.customMerge)return re;var z=G.customMerge(ne);return"function"==typeof z?z:re}(le,z)(ne[le],G[le],z):D(G[le],z))}),ce}(ne,G,z):D(G,z)}re.all=function(G,z){if(!Array.isArray(G))throw new Error("first argument should be an array");return G.reduce(function(ce,le){return re(ce,le,z)},{})},ve.exports=re},4901:ve=>{"use strict";var A={single_source_shortest_paths:function(I,T,g){var y={},b={};b[T]=0;var D,L,B,R,U,j,C=A.PriorityQueue.make();for(C.push(T,0);!C.empty();)for(B in R=(D=C.pop()).cost,U=I[L=D.value]||{})U.hasOwnProperty(B)&&(j=R+U[B],(typeof b[B]>"u"||b[B]>j)&&(b[B]=j,C.push(B,j),y[B]=L));if(typeof g<"u"&&typeof b[g]>"u"){var W=["Could not find a path from ",T," to ",g,"."].join("");throw new Error(W)}return y},extract_shortest_path_from_predecessor_list:function(I,T){for(var g=[],y=T;y;)g.push(y),y=I[y];return g.reverse(),g},find_path:function(I,T,g){var y=A.single_source_shortest_paths(I,T,g);return A.extract_shortest_path_from_predecessor_list(y,g)},PriorityQueue:{make:function(I){var y,T=A.PriorityQueue,g={};for(y in I=I||{},T)T.hasOwnProperty(y)&&(g[y]=T[y]);return g.queue=[],g.sorter=I.sorter||T.default_sorter,g},default_sorter:function(I,T){return I.cost-T.cost},push:function(I,T){this.queue.push({value:I,cost:T}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};ve.exports=A},6316:(ve,A)=>{"use strict";var I,g;Object.defineProperty(A,"__esModule",{value:!0}),A.Doctype=A.CDATA=A.Tag=A.Style=A.Script=A.Comment=A.Directive=A.Text=A.Root=A.isTag=A.ElementType=void 0,(g=I=A.ElementType||(A.ElementType={})).Root="root",g.Text="text",g.Directive="directive",g.Comment="comment",g.Script="script",g.Style="style",g.Tag="tag",g.CDATA="cdata",g.Doctype="doctype",A.isTag=function T(g){return g.type===I.Tag||g.type===I.Script||g.type===I.Style},A.Root=I.Root,A.Text=I.Text,A.Directive=I.Directive,A.Comment=I.Comment,A.Script=I.Script,A.Style=I.Style,A.Tag=I.Tag,A.CDATA=I.CDATA,A.Doctype=I.Doctype},8419:ve=>{"use strict";ve.exports=function(I){for(var T=[],g=I.length,y=0;y<g;y++){var b=I.charCodeAt(y);if(b>=55296&&b<=56319&&g>y+1){var C=I.charCodeAt(y+1);C>=56320&&C<=57343&&(b=1024*(b-55296)+C-56320+65536,y+=1)}b<128?T.push(b):b<2048?(T.push(b>>6|192),T.push(63&b|128)):b<55296||b>=57344&&b<65536?(T.push(b>>12|224),T.push(b>>6&63|128),T.push(63&b|128)):b>=65536&&b<=1114111?(T.push(b>>18|240),T.push(b>>12&63|128),T.push(b>>6&63|128),T.push(63&b|128)):T.push(239,191,189)}return new Uint8Array(T).buffer}},3457:ve=>{"use strict";var A="Function.prototype.bind called on incompatible ",I=Array.prototype.slice,T=Object.prototype.toString,g="[object Function]";ve.exports=function(b){var C=this;if("function"!=typeof C||T.call(C)!==g)throw new TypeError(A+C);for(var L,D=I.call(arguments,1),R=Math.max(0,C.length-D.length),U=[],Z=0;Z<R;Z++)U.push("$"+Z);if(L=Function("binder","return function ("+U.join(",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof L){var V=C.apply(this,D.concat(I.call(arguments)));return Object(V)===V?V:this}return C.apply(b,D.concat(I.call(arguments)))}),C.prototype){var j=function(){};j.prototype=C.prototype,L.prototype=new j,j.prototype=null}return L}},4444:(ve,A,I)=>{"use strict";var T=I(3457);ve.exports=Function.prototype.bind||T},5203:(ve,A,I)=>{"use strict";var T,g=SyntaxError,y=Function,b=TypeError,C=function(me){try{return y('"use strict"; return ('+me+").constructor;")()}catch{}},D=Object.getOwnPropertyDescriptor;if(D)try{D({},"")}catch{D=null}var L=function(){throw new b},B=D?function(){try{return L}catch{try{return D(arguments,"callee").get}catch{return L}}}():L,R=I(2969)(),U=Object.getPrototypeOf||function(me){return me.__proto__},Z={},j=typeof Uint8Array>"u"?T:U(Uint8Array),V={"%AggregateError%":typeof AggregateError>"u"?T:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?T:ArrayBuffer,"%ArrayIteratorPrototype%":R?U([][Symbol.iterator]()):T,"%AsyncFromSyncIteratorPrototype%":T,"%AsyncFunction%":Z,"%AsyncGenerator%":Z,"%AsyncGeneratorFunction%":Z,"%AsyncIteratorPrototype%":Z,"%Atomics%":typeof Atomics>"u"?T:Atomics,"%BigInt%":typeof BigInt>"u"?T:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?T:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?T:Float32Array,"%Float64Array%":typeof Float64Array>"u"?T:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?T:FinalizationRegistry,"%Function%":y,"%GeneratorFunction%":Z,"%Int8Array%":typeof Int8Array>"u"?T:Int8Array,"%Int16Array%":typeof Int16Array>"u"?T:Int16Array,"%Int32Array%":typeof Int32Array>"u"?T:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":R?U(U([][Symbol.iterator]())):T,"%JSON%":"object"==typeof JSON?JSON:T,"%Map%":typeof Map>"u"?T:Map,"%MapIteratorPrototype%":typeof Map>"u"||!R?T:U((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?T:Promise,"%Proxy%":typeof Proxy>"u"?T:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?T:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?T:Set,"%SetIteratorPrototype%":typeof Set>"u"||!R?T:U((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?T:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":R?U(""[Symbol.iterator]()):T,"%Symbol%":R?Symbol:T,"%SyntaxError%":g,"%ThrowTypeError%":B,"%TypedArray%":j,"%TypeError%":b,"%Uint8Array%":typeof Uint8Array>"u"?T:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?T:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?T:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?T:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?T:WeakMap,"%WeakRef%":typeof WeakRef>"u"?T:WeakRef,"%WeakSet%":typeof WeakSet>"u"?T:WeakSet},re=function me(ge){var we;if("%AsyncFunction%"===ge)we=C("async function () {}");else if("%GeneratorFunction%"===ge)we=C("function* () {}");else if("%AsyncGeneratorFunction%"===ge)we=C("async function* () {}");else if("%AsyncGenerator%"===ge){var ze=me("%AsyncGeneratorFunction%");ze&&(we=ze.prototype)}else if("%AsyncIteratorPrototype%"===ge){var Re=me("%AsyncGenerator%");Re&&(we=U(Re.prototype))}return V[ge]=we,we},W={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ne=I(4444),G=I(3164),z=ne.call(Function.call,Array.prototype.concat),ce=ne.call(Function.apply,Array.prototype.splice),le=ne.call(Function.call,String.prototype.replace),ie=ne.call(Function.call,String.prototype.slice),K=ne.call(Function.call,RegExp.prototype.exec),oe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,he=/\\(\\)?/g,ae=function(ge){var we=ie(ge,0,1),ze=ie(ge,-1);if("%"===we&&"%"!==ze)throw new g("invalid intrinsic syntax, expected closing `%`");if("%"===ze&&"%"!==we)throw new g("invalid intrinsic syntax, expected opening `%`");var Re=[];return le(ge,oe,function(st,mt,At,Xt){Re[Re.length]=At?le(Xt,he,"$1"):mt||st}),Re},de=function(ge,we){var Re,ze=ge;if(G(W,ze)&&(ze="%"+(Re=W[ze])[0]+"%"),G(V,ze)){var st=V[ze];if(st===Z&&(st=re(ze)),typeof st>"u"&&!we)throw new b("intrinsic "+ge+" exists, but is not available. Please file an issue!");return{alias:Re,name:ze,value:st}}throw new g("intrinsic "+ge+" does not exist!")};ve.exports=function(ge,we){if("string"!=typeof ge||0===ge.length)throw new b("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof we)throw new b('"allowMissing" argument must be a boolean');if(null===K(/^%?[^%]*%?$/,ge))throw new g("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var ze=ae(ge),Re=ze.length>0?ze[0]:"",st=de("%"+Re+"%",we),mt=st.name,At=st.value,Xt=!1,ft=st.alias;ft&&(Re=ft[0],ce(ze,z([0,1],ft)));for(var ai=1,He=!0;ai<ze.length;ai+=1){var yi=ze[ai],nt=ie(yi,0,1),Jt=ie(yi,-1);if(('"'===nt||"'"===nt||"`"===nt||'"'===Jt||"'"===Jt||"`"===Jt)&&nt!==Jt)throw new g("property names with quotes must have matching quotes");if(("constructor"===yi||!He)&&(Xt=!0),G(V,mt="%"+(Re+="."+yi)+"%"))At=V[mt];else if(null!=At){if(!(yi in At)){if(!we)throw new b("base intrinsic for "+ge+" exists, but the property is not available.");return}if(D&&ai+1>=ze.length){var Ut=D(At,yi);At=(He=!!Ut)&&"get"in Ut&&!("originalValue"in Ut.get)?Ut.get:At[yi]}else He=G(At,yi),At=At[yi];He&&!Xt&&(V[mt]=At)}}return At}},2969:(ve,A,I)=>{"use strict";var T=typeof Symbol<"u"&&Symbol,g=I(1983);ve.exports=function(){return"function"==typeof T&&"function"==typeof Symbol&&"symbol"==typeof T("foo")&&"symbol"==typeof Symbol("bar")&&g()}},1983:ve=>{"use strict";ve.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var I={},T=Symbol("test"),g=Object(T);if("string"==typeof T||"[object Symbol]"!==Object.prototype.toString.call(T)||"[object Symbol]"!==Object.prototype.toString.call(g))return!1;for(T in I[T]=42,I)return!1;if("function"==typeof Object.keys&&0!==Object.keys(I).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(I).length)return!1;var b=Object.getOwnPropertySymbols(I);if(1!==b.length||b[0]!==T||!Object.prototype.propertyIsEnumerable.call(I,T))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var C=Object.getOwnPropertyDescriptor(I,T);if(42!==C.value||!0!==C.enumerable)return!1}return!0}},3164:(ve,A,I)=>{"use strict";var T=I(4444);ve.exports=T.call(Function.call,Object.prototype.hasOwnProperty)},9140:function(ve,A){!function(I){"use strict";function T(Y){return null==Y}var g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Y,s){Y.__proto__=s}||function(Y,s){for(var l in s)s.hasOwnProperty(l)&&(Y[l]=s[l])};var D=function(Y){function s(l){var d=this.constructor,u=Y.call(this,l)||this;return Object.defineProperty(u,"name",{value:d.name,enumerable:!1}),function b(Y,s){var l=Object.setPrototypeOf;l?l(Y,s):Y.__proto__=s}(u,d.prototype),function C(Y,s){void 0===s&&(s=Y.constructor);var l=Error.captureStackTrace;l&&l(Y,s)}(u),u}return function y(Y,s){function l(){this.constructor=Y}g(Y,s),Y.prototype=null===s?Object.create(s):(l.prototype=s.prototype,new l)}(s,Y),s}(Error);let L=(()=>{class Y extends D{constructor(l){super(l),this.message=l}getKind(){return this.constructor.kind}}return Y.kind="Exception",Y})(),B=(()=>{class Y extends L{}return Y.kind="ArgumentException",Y})(),R=(()=>{class Y extends L{}return Y.kind="IllegalArgumentException",Y})();class U{constructor(s){if(this.binarizer=s,null===s)throw new R("Binarizer must be non-null.")}getWidth(){return this.binarizer.getWidth()}getHeight(){return this.binarizer.getHeight()}getBlackRow(s,l){return this.binarizer.getBlackRow(s,l)}getBlackMatrix(){return null==this.matrix&&(this.matrix=this.binarizer.getBlackMatrix()),this.matrix}isCropSupported(){return this.binarizer.getLuminanceSource().isCropSupported()}crop(s,l,d,u){const m=this.binarizer.getLuminanceSource().crop(s,l,d,u);return new U(this.binarizer.createBinarizer(m))}isRotateSupported(){return this.binarizer.getLuminanceSource().isRotateSupported()}rotateCounterClockwise(){const s=this.binarizer.getLuminanceSource().rotateCounterClockwise();return new U(this.binarizer.createBinarizer(s))}rotateCounterClockwise45(){const s=this.binarizer.getLuminanceSource().rotateCounterClockwise45();return new U(this.binarizer.createBinarizer(s))}toString(){try{return this.getBlackMatrix().toString()}catch{return""}}}let Z=(()=>{class Y extends L{static getChecksumInstance(){return new Y}}return Y.kind="ChecksumException",Y})();class j{constructor(s){this.source=s}getLuminanceSource(){return this.source}getWidth(){return this.source.getWidth()}getHeight(){return this.source.getHeight()}}class V{static arraycopy(s,l,d,u,m){for(;m--;)d[u++]=s[l++]}static currentTimeMillis(){return Date.now()}}let re=(()=>{class Y extends L{}return Y.kind="IndexOutOfBoundsException",Y})(),W=(()=>{class Y extends re{constructor(l,d){super(d),this.index=l,this.message=d}}return Y.kind="ArrayIndexOutOfBoundsException",Y})();class ne{static fill(s,l){for(let d=0,u=s.length;d<u;d++)s[d]=l}static fillWithin(s,l,d,u){ne.rangeCheck(s.length,l,d);for(let m=l;m<d;m++)s[m]=u}static rangeCheck(s,l,d){if(l>d)throw new R("fromIndex("+l+") > toIndex("+d+")");if(l<0)throw new W(l);if(d>s)throw new W(d)}static asList(...s){return s}static create(s,l,d){return Array.from({length:s}).map(m=>Array.from({length:l}).fill(d))}static createInt32Array(s,l,d){return Array.from({length:s}).map(m=>Int32Array.from({length:l}).fill(d))}static equals(s,l){if(!(s&&l&&s.length&&l.length&&s.length===l.length))return!1;for(let d=0,u=s.length;d<u;d++)if(s[d]!==l[d])return!1;return!0}static hashCode(s){if(null===s)return 0;let l=1;for(const d of s)l=31*l+d;return l}static fillUint8Array(s,l){for(let d=0;d!==s.length;d++)s[d]=l}static copyOf(s,l){return s.slice(0,l)}static copyOfUint8Array(s,l){if(s.length<=l){const d=new Uint8Array(l);return d.set(s),d}return s.slice(0,l)}static copyOfRange(s,l,d){const u=d-l,m=new Int32Array(u);return V.arraycopy(s,l,m,0,u),m}static binarySearch(s,l,d){void 0===d&&(d=ne.numberComparator);let u=0,m=s.length-1;for(;u<=m;){const p=m+u>>1,v=d(l,s[p]);if(v>0)u=p+1;else{if(!(v<0))return p;m=p-1}}return-u-1}static numberComparator(s,l){return s-l}}class G{static numberOfTrailingZeros(s){let l;if(0===s)return 32;let d=31;return l=s<<16,0!==l&&(d-=16,s=l),l=s<<8,0!==l&&(d-=8,s=l),l=s<<4,0!==l&&(d-=4,s=l),l=s<<2,0!==l&&(d-=2,s=l),d-(s<<1>>>31)}static numberOfLeadingZeros(s){if(0===s)return 32;let l=1;return s>>>16||(l+=16,s<<=16),s>>>24||(l+=8,s<<=8),s>>>28||(l+=4,s<<=4),s>>>30||(l+=2,s<<=2),l-=s>>>31,l}static toHexString(s){return s.toString(16)}static toBinaryString(s){return String(parseInt(String(s),2))}static bitCount(s){return s=(s=(858993459&(s-=s>>>1&1431655765))+(s>>>2&858993459))+(s>>>4)&252645135,63&(s+=s>>>8)+(s>>>16)}static truncDivision(s,l){return Math.trunc(s/l)}static parseInt(s,l){return parseInt(s,l)}}G.MIN_VALUE_32_BITS=-2147483648,G.MAX_VALUE=Number.MAX_SAFE_INTEGER;class z{constructor(s,l){void 0===s?(this.size=0,this.bits=new Int32Array(1)):(this.size=s,this.bits=null==l?z.makeArray(s):l)}getSize(){return this.size}getSizeInBytes(){return Math.floor((this.size+7)/8)}ensureCapacity(s){if(s>32*this.bits.length){const l=z.makeArray(s);V.arraycopy(this.bits,0,l,0,this.bits.length),this.bits=l}}get(s){return 0!=(this.bits[Math.floor(s/32)]&1<<(31&s))}set(s){this.bits[Math.floor(s/32)]|=1<<(31&s)}flip(s){this.bits[Math.floor(s/32)]^=1<<(31&s)}getNextSet(s){const l=this.size;if(s>=l)return l;const d=this.bits;let u=Math.floor(s/32),m=d[u];m&=~((1<<(31&s))-1);const p=d.length;for(;0===m;){if(++u===p)return l;m=d[u]}const v=32*u+G.numberOfTrailingZeros(m);return v>l?l:v}getNextUnset(s){const l=this.size;if(s>=l)return l;const d=this.bits;let u=Math.floor(s/32),m=~d[u];m&=~((1<<(31&s))-1);const p=d.length;for(;0===m;){if(++u===p)return l;m=~d[u]}const v=32*u+G.numberOfTrailingZeros(m);return v>l?l:v}setBulk(s,l){this.bits[Math.floor(s/32)]=l}setRange(s,l){if(l<s||s<0||l>this.size)throw new R;if(l===s)return;l--;const d=Math.floor(s/32),u=Math.floor(l/32),m=this.bits;for(let p=d;p<=u;p++)m[p]|=(2<<(p<u?31:31&l))-(1<<(p>d?0:31&s))}clear(){const s=this.bits.length,l=this.bits;for(let d=0;d<s;d++)l[d]=0}isRange(s,l,d){if(l<s||s<0||l>this.size)throw new R;if(l===s)return!0;l--;const u=Math.floor(s/32),m=Math.floor(l/32),p=this.bits;for(let v=u;v<=m;v++){const q=(2<<(v<m?31:31&l))-(1<<(v>u?0:31&s))&4294967295;if((p[v]&q)!==(d?q:0))return!1}return!0}appendBit(s){this.ensureCapacity(this.size+1),s&&(this.bits[Math.floor(this.size/32)]|=1<<(31&this.size)),this.size++}appendBits(s,l){if(l<0||l>32)throw new R("Num bits must be between 0 and 32");this.ensureCapacity(this.size+l);for(let d=l;d>0;d--)this.appendBit(1==(s>>d-1&1))}appendBitArray(s){const l=s.size;this.ensureCapacity(this.size+l);for(let d=0;d<l;d++)this.appendBit(s.get(d))}xor(s){if(this.size!==s.size)throw new R("Sizes don't match");const l=this.bits;for(let d=0,u=l.length;d<u;d++)l[d]^=s.bits[d]}toBytes(s,l,d,u){for(let m=0;m<u;m++){let p=0;for(let v=0;v<8;v++)this.get(s)&&(p|=1<<7-v),s++;l[d+m]=p}}getBitArray(){return this.bits}reverse(){const s=new Int32Array(this.bits.length),l=Math.floor((this.size-1)/32),d=l+1,u=this.bits;for(let m=0;m<d;m++){let p=u[m];p=p>>1&1431655765|(1431655765&p)<<1,p=p>>2&858993459|(858993459&p)<<2,p=p>>4&252645135|(252645135&p)<<4,p=p>>8&16711935|(16711935&p)<<8,p=p>>16&65535|(65535&p)<<16,s[l-m]=p}if(this.size!==32*d){const m=32*d-this.size;let p=s[0]>>>m;for(let v=1;v<d;v++){const M=s[v];p|=M<<32-m,s[v-1]=p,p=M>>>m}s[d-1]=p}this.bits=s}static makeArray(s){return new Int32Array(Math.floor((s+31)/32))}equals(s){return s instanceof z&&this.size===s.size&&ne.equals(this.bits,s.bits)}hashCode(){return 31*this.size+ne.hashCode(this.bits)}toString(){let s="";for(let l=0,d=this.size;l<d;l++)7&l||(s+=" "),s+=this.get(l)?"X":".";return s}clone(){return new z(this.size,this.bits.slice())}}var ce=(()=>{return(Y=ce||(ce={}))[Y.OTHER=0]="OTHER",Y[Y.PURE_BARCODE=1]="PURE_BARCODE",Y[Y.POSSIBLE_FORMATS=2]="POSSIBLE_FORMATS",Y[Y.TRY_HARDER=3]="TRY_HARDER",Y[Y.CHARACTER_SET=4]="CHARACTER_SET",Y[Y.ALLOWED_LENGTHS=5]="ALLOWED_LENGTHS",Y[Y.ASSUME_CODE_39_CHECK_DIGIT=6]="ASSUME_CODE_39_CHECK_DIGIT",Y[Y.ASSUME_GS1=7]="ASSUME_GS1",Y[Y.RETURN_CODABAR_START_END=8]="RETURN_CODABAR_START_END",Y[Y.NEED_RESULT_POINT_CALLBACK=9]="NEED_RESULT_POINT_CALLBACK",Y[Y.ALLOWED_EAN_EXTENSIONS=10]="ALLOWED_EAN_EXTENSIONS",ce;var Y})(),le=ce;let ie=(()=>{class Y extends L{static getFormatInstance(){return new Y}}return Y.kind="FormatException",Y})();var K=(()=>{return(Y=K||(K={}))[Y.Cp437=0]="Cp437",Y[Y.ISO8859_1=1]="ISO8859_1",Y[Y.ISO8859_2=2]="ISO8859_2",Y[Y.ISO8859_3=3]="ISO8859_3",Y[Y.ISO8859_4=4]="ISO8859_4",Y[Y.ISO8859_5=5]="ISO8859_5",Y[Y.ISO8859_6=6]="ISO8859_6",Y[Y.ISO8859_7=7]="ISO8859_7",Y[Y.ISO8859_8=8]="ISO8859_8",Y[Y.ISO8859_9=9]="ISO8859_9",Y[Y.ISO8859_10=10]="ISO8859_10",Y[Y.ISO8859_11=11]="ISO8859_11",Y[Y.ISO8859_13=12]="ISO8859_13",Y[Y.ISO8859_14=13]="ISO8859_14",Y[Y.ISO8859_15=14]="ISO8859_15",Y[Y.ISO8859_16=15]="ISO8859_16",Y[Y.SJIS=16]="SJIS",Y[Y.Cp1250=17]="Cp1250",Y[Y.Cp1251=18]="Cp1251",Y[Y.Cp1252=19]="Cp1252",Y[Y.Cp1256=20]="Cp1256",Y[Y.UnicodeBigUnmarked=21]="UnicodeBigUnmarked",Y[Y.UTF8=22]="UTF8",Y[Y.ASCII=23]="ASCII",Y[Y.Big5=24]="Big5",Y[Y.GB18030=25]="GB18030",Y[Y.EUC_KR=26]="EUC_KR",K;var Y})();class oe{constructor(s,l,d,...u){this.valueIdentifier=s,this.name=d,this.values="number"==typeof l?Int32Array.from([l]):l,this.otherEncodingNames=u,oe.VALUE_IDENTIFIER_TO_ECI.set(s,this),oe.NAME_TO_ECI.set(d,this);const m=this.values;for(let p=0,v=m.length;p!==v;p++)oe.VALUES_TO_ECI.set(m[p],this);for(const p of u)oe.NAME_TO_ECI.set(p,this)}getValueIdentifier(){return this.valueIdentifier}getName(){return this.name}getValue(){return this.values[0]}static getCharacterSetECIByValue(s){if(s<0||s>=900)throw new ie("incorect value");const l=oe.VALUES_TO_ECI.get(s);if(void 0===l)throw new ie("incorect value");return l}static getCharacterSetECIByName(s){const l=oe.NAME_TO_ECI.get(s);if(void 0===l)throw new ie("incorect value");return l}equals(s){if(!(s instanceof oe))return!1;const l=s;return this.getName()===l.getName()}}oe.VALUE_IDENTIFIER_TO_ECI=new Map,oe.VALUES_TO_ECI=new Map,oe.NAME_TO_ECI=new Map,oe.Cp437=new oe(K.Cp437,Int32Array.from([0,2]),"Cp437"),oe.ISO8859_1=new oe(K.ISO8859_1,Int32Array.from([1,3]),"ISO-8859-1","ISO88591","ISO8859_1"),oe.ISO8859_2=new oe(K.ISO8859_2,4,"ISO-8859-2","ISO88592","ISO8859_2"),oe.ISO8859_3=new oe(K.ISO8859_3,5,"ISO-8859-3","ISO88593","ISO8859_3"),oe.ISO8859_4=new oe(K.ISO8859_4,6,"ISO-8859-4","ISO88594","ISO8859_4"),oe.ISO8859_5=new oe(K.ISO8859_5,7,"ISO-8859-5","ISO88595","ISO8859_5"),oe.ISO8859_6=new oe(K.ISO8859_6,8,"ISO-8859-6","ISO88596","ISO8859_6"),oe.ISO8859_7=new oe(K.ISO8859_7,9,"ISO-8859-7","ISO88597","ISO8859_7"),oe.ISO8859_8=new oe(K.ISO8859_8,10,"ISO-8859-8","ISO88598","ISO8859_8"),oe.ISO8859_9=new oe(K.ISO8859_9,11,"ISO-8859-9","ISO88599","ISO8859_9"),oe.ISO8859_10=new oe(K.ISO8859_10,12,"ISO-8859-10","ISO885910","ISO8859_10"),oe.ISO8859_11=new oe(K.ISO8859_11,13,"ISO-8859-11","ISO885911","ISO8859_11"),oe.ISO8859_13=new oe(K.ISO8859_13,15,"ISO-8859-13","ISO885913","ISO8859_13"),oe.ISO8859_14=new oe(K.ISO8859_14,16,"ISO-8859-14","ISO885914","ISO8859_14"),oe.ISO8859_15=new oe(K.ISO8859_15,17,"ISO-8859-15","ISO885915","ISO8859_15"),oe.ISO8859_16=new oe(K.ISO8859_16,18,"ISO-8859-16","ISO885916","ISO8859_16"),oe.SJIS=new oe(K.SJIS,20,"SJIS","Shift_JIS"),oe.Cp1250=new oe(K.Cp1250,21,"Cp1250","windows-1250"),oe.Cp1251=new oe(K.Cp1251,22,"Cp1251","windows-1251"),oe.Cp1252=new oe(K.Cp1252,23,"Cp1252","windows-1252"),oe.Cp1256=new oe(K.Cp1256,24,"Cp1256","windows-1256"),oe.UnicodeBigUnmarked=new oe(K.UnicodeBigUnmarked,25,"UnicodeBigUnmarked","UTF-16BE","UnicodeBig"),oe.UTF8=new oe(K.UTF8,26,"UTF8","UTF-8"),oe.ASCII=new oe(K.ASCII,Int32Array.from([27,170]),"ASCII","US-ASCII"),oe.Big5=new oe(K.Big5,28,"Big5"),oe.GB18030=new oe(K.GB18030,29,"GB18030","GB2312","EUC_CN","GBK"),oe.EUC_KR=new oe(K.EUC_KR,30,"EUC_KR","EUC-KR");let he=(()=>{class Y extends L{}return Y.kind="UnsupportedOperationException",Y})();class ae{static decode(s,l){const d=this.encodingName(l);return this.customDecoder?this.customDecoder(s,d):typeof TextDecoder>"u"||this.shouldDecodeOnFallback(d)?this.decodeFallback(s,d):new TextDecoder(d).decode(s)}static shouldDecodeOnFallback(s){return!ae.isBrowser()&&"ISO-8859-1"===s}static encode(s,l){const d=this.encodingName(l);return this.customEncoder?this.customEncoder(s,d):typeof TextEncoder>"u"?this.encodeFallback(s):(new TextEncoder).encode(s)}static isBrowser(){return typeof window<"u"&&"[object Window]"==={}.toString.call(window)}static encodingName(s){return"string"==typeof s?s:s.getName()}static encodingCharacterSet(s){return s instanceof oe?s:oe.getCharacterSetECIByName(s)}static decodeFallback(s,l){const d=this.encodingCharacterSet(l);if(ae.isDecodeFallbackSupported(d)){let u="";for(let m=0,p=s.length;m<p;m++){let v=s[m].toString(16);v.length<2&&(v="0"+v),u+="%"+v}return decodeURIComponent(u)}if(d.equals(oe.UnicodeBigUnmarked))return String.fromCharCode.apply(null,new Uint16Array(s.buffer));throw new he(`Encoding ${this.encodingName(l)} not supported by fallback.`)}static isDecodeFallbackSupported(s){return s.equals(oe.UTF8)||s.equals(oe.ISO8859_1)||s.equals(oe.ASCII)}static encodeFallback(s){const d=btoa(unescape(encodeURIComponent(s))).split(""),u=[];for(let m=0;m<d.length;m++)u.push(d[m].charCodeAt(0));return new Uint8Array(u)}}class de{static castAsNonUtf8Char(s,l=null){const d=l?l.getName():this.ISO88591;return ae.decode(new Uint8Array([s]),d)}static guessEncoding(s,l){if(null!=l&&void 0!==l.get(le.CHARACTER_SET))return l.get(le.CHARACTER_SET).toString();const d=s.length;let u=!0,m=!0,p=!0,v=0,M=0,H=0,q=0,ue=0,_e=0,ke=0,Ne=0,je=0,Ye=0,et=0;const kt=s.length>3&&239===s[0]&&187===s[1]&&191===s[2];for(let Wt=0;Wt<d&&(u||m||p);Wt++){const ct=255&s[Wt];p&&(v>0?128&ct?v--:p=!1:128&ct&&(64&ct?(v++,32&ct?(v++,16&ct?(v++,8&ct?p=!1:q++):H++):M++):p=!1)),u&&(ct>127&&ct<160?u=!1:ct>159&&(ct<192||215===ct||247===ct)&&et++),m&&(ue>0?ct<64||127===ct||ct>252?m=!1:ue--:128===ct||160===ct||ct>239?m=!1:ct>160&&ct<224?(_e++,Ne=0,ke++,ke>je&&(je=ke)):ct>127?(ue++,ke=0,Ne++,Ne>Ye&&(Ye=Ne)):(ke=0,Ne=0))}return p&&v>0&&(p=!1),m&&ue>0&&(m=!1),p&&(kt||M+H+q>0)?de.UTF8:m&&(de.ASSUME_SHIFT_JIS||je>=3||Ye>=3)?de.SHIFT_JIS:u&&m?2===je&&2===_e||10*et>=d?de.SHIFT_JIS:de.ISO88591:u?de.ISO88591:m?de.SHIFT_JIS:p?de.UTF8:de.PLATFORM_DEFAULT_ENCODING}static format(s,...l){let d=-1;return s.replace(/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g,function u(p,v,M,H,q,ue){if("%%"===p)return"%";if(void 0===l[++d])return;p=H?parseInt(H.substr(1)):void 0;let ke,_e=q?parseInt(q.substr(1)):void 0;switch(ue){case"s":ke=l[d];break;case"c":ke=l[d][0];break;case"f":ke=parseFloat(l[d]).toFixed(p);break;case"p":ke=parseFloat(l[d]).toPrecision(p);break;case"e":ke=parseFloat(l[d]).toExponential(p);break;case"x":ke=parseInt(l[d]).toString(_e||16);break;case"d":ke=parseFloat(parseInt(l[d],_e||10).toPrecision(p)).toFixed(0)}ke="object"==typeof ke?JSON.stringify(ke):(+ke).toString(_e);let Ne=parseInt(M),je=M&&M[0]+""=="0"?"0":" ";for(;ke.length<Ne;)ke=void 0!==v?ke+je:je+ke;return ke})}static getBytes(s,l){return ae.encode(s,l)}static getCharCode(s,l=0){return s.charCodeAt(l)}static getCharAt(s){return String.fromCharCode(s)}}de.SHIFT_JIS=oe.SJIS.getName(),de.GB2312="GB2312",de.ISO88591=oe.ISO8859_1.getName(),de.EUC_JP="EUC_JP",de.UTF8=oe.UTF8.getName(),de.PLATFORM_DEFAULT_ENCODING=de.UTF8,de.ASSUME_SHIFT_JIS=!1;class me{constructor(s=""){this.value=s}enableDecoding(s){return this.encoding=s,this}append(s){return this.value+="string"==typeof s?s.toString():this.encoding?de.castAsNonUtf8Char(s,this.encoding):String.fromCharCode(s),this}appendChars(s,l,d){for(let u=l;l<l+d;u++)this.append(s[u]);return this}length(){return this.value.length}charAt(s){return this.value.charAt(s)}deleteCharAt(s){this.value=this.value.substr(0,s)+this.value.substring(s+1)}setCharAt(s,l){this.value=this.value.substr(0,s)+l+this.value.substr(s+1)}substring(s,l){return this.value.substring(s,l)}setLengthToZero(){this.value=""}toString(){return this.value}insert(s,l){this.value=this.value.substr(0,s)+l+this.value.substr(s+l.length)}}class ge{constructor(s,l,d,u){if(this.width=s,this.height=l,this.rowSize=d,this.bits=u,null==l&&(l=s),this.height=l,s<1||l<1)throw new R("Both dimensions must be greater than 0");null==d&&(d=Math.floor((s+31)/32)),this.rowSize=d,null==u&&(this.bits=new Int32Array(this.rowSize*this.height))}static parseFromBooleanArray(s){const l=s.length,d=s[0].length,u=new ge(d,l);for(let m=0;m<l;m++){const p=s[m];for(let v=0;v<d;v++)p[v]&&u.set(v,m)}return u}static parseFromString(s,l,d){if(null===s)throw new R("stringRepresentation cannot be null");const u=new Array(s.length);let m=0,p=0,v=-1,M=0,H=0;for(;H<s.length;)if("\n"===s.charAt(H)||"\r"===s.charAt(H)){if(m>p){if(-1===v)v=m-p;else if(m-p!==v)throw new R("row lengths do not match");p=m,M++}H++}else if(s.substring(H,H+l.length)===l)H+=l.length,u[m]=!0,m++;else{if(s.substring(H,H+d.length)!==d)throw new R("illegal character encountered: "+s.substring(H));H+=d.length,u[m]=!1,m++}if(m>p){if(-1===v)v=m-p;else if(m-p!==v)throw new R("row lengths do not match");M++}const q=new ge(v,M);for(let ue=0;ue<m;ue++)u[ue]&&q.set(Math.floor(ue%v),Math.floor(ue/v));return q}get(s,l){const d=l*this.rowSize+Math.floor(s/32);return 0!=(this.bits[d]>>>(31&s)&1)}set(s,l){const d=l*this.rowSize+Math.floor(s/32);this.bits[d]|=1<<(31&s)&4294967295}unset(s,l){const d=l*this.rowSize+Math.floor(s/32);this.bits[d]&=~(1<<(31&s)&4294967295)}flip(s,l){const d=l*this.rowSize+Math.floor(s/32);this.bits[d]^=1<<(31&s)&4294967295}xor(s){if(this.width!==s.getWidth()||this.height!==s.getHeight()||this.rowSize!==s.getRowSize())throw new R("input matrix dimensions do not match");const l=new z(Math.floor(this.width/32)+1),d=this.rowSize,u=this.bits;for(let m=0,p=this.height;m<p;m++){const v=m*d,M=s.getRow(m,l).getBitArray();for(let H=0;H<d;H++)u[v+H]^=M[H]}}clear(){const s=this.bits,l=s.length;for(let d=0;d<l;d++)s[d]=0}setRegion(s,l,d,u){if(l<0||s<0)throw new R("Left and top must be nonnegative");if(u<1||d<1)throw new R("Height and width must be at least 1");const m=s+d,p=l+u;if(p>this.height||m>this.width)throw new R("The region must fit inside the matrix");const v=this.rowSize,M=this.bits;for(let H=l;H<p;H++){const q=H*v;for(let ue=s;ue<m;ue++)M[q+Math.floor(ue/32)]|=1<<(31&ue)&4294967295}}getRow(s,l){null==l||l.getSize()<this.width?l=new z(this.width):l.clear();const d=this.rowSize,u=this.bits,m=s*d;for(let p=0;p<d;p++)l.setBulk(32*p,u[m+p]);return l}setRow(s,l){V.arraycopy(l.getBitArray(),0,this.bits,s*this.rowSize,this.rowSize)}rotate180(){const s=this.getWidth(),l=this.getHeight();let d=new z(s),u=new z(s);for(let m=0,p=Math.floor((l+1)/2);m<p;m++)d=this.getRow(m,d),u=this.getRow(l-1-m,u),d.reverse(),u.reverse(),this.setRow(m,u),this.setRow(l-1-m,d)}getEnclosingRectangle(){const l=this.height,d=this.rowSize,u=this.bits;let m=this.width,p=l,v=-1,M=-1;for(let H=0;H<l;H++)for(let q=0;q<d;q++){const ue=u[H*d+q];if(0!==ue){if(H<p&&(p=H),H>M&&(M=H),32*q<m){let _e=0;for(;!(ue<<31-_e&4294967295);)_e++;32*q+_e<m&&(m=32*q+_e)}if(32*q+31>v){let _e=31;for(;!(ue>>>_e);)_e--;32*q+_e>v&&(v=32*q+_e)}}}return v<m||M<p?null:Int32Array.from([m,p,v-m+1,M-p+1])}getTopLeftOnBit(){const s=this.rowSize,l=this.bits;let d=0;for(;d<l.length&&0===l[d];)d++;if(d===l.length)return null;const u=d/s;let m=d%s*32;const p=l[d];let v=0;for(;!(p<<31-v&4294967295);)v++;return m+=v,Int32Array.from([m,u])}getBottomRightOnBit(){const s=this.rowSize,l=this.bits;let d=l.length-1;for(;d>=0&&0===l[d];)d--;if(d<0)return null;const u=Math.floor(d/s);let m=32*Math.floor(d%s);const p=l[d];let v=31;for(;!(p>>>v);)v--;return m+=v,Int32Array.from([m,u])}getWidth(){return this.width}getHeight(){return this.height}getRowSize(){return this.rowSize}equals(s){return s instanceof ge&&this.width===s.width&&this.height===s.height&&this.rowSize===s.rowSize&&ne.equals(this.bits,s.bits)}hashCode(){let s=this.width;return s=31*s+this.width,s=31*s+this.height,s=31*s+this.rowSize,s=31*s+ne.hashCode(this.bits),s}toString(s="X ",l=" ",d="\n"){return this.buildToString(s,l,d)}buildToString(s,l,d){let u=new me;for(let m=0,p=this.height;m<p;m++){for(let v=0,M=this.width;v<M;v++)u.append(this.get(v,m)?s:l);u.append(d)}return u.toString()}clone(){return new ge(this.width,this.height,this.rowSize,this.bits.slice())}}let we=(()=>{class Y extends L{static getNotFoundInstance(){return new Y}}return Y.kind="NotFoundException",Y})();class ze extends j{constructor(s){super(s),this.luminances=ze.EMPTY,this.buckets=new Int32Array(ze.LUMINANCE_BUCKETS)}getBlackRow(s,l){const d=this.getLuminanceSource(),u=d.getWidth();null==l||l.getSize()<u?l=new z(u):l.clear(),this.initArrays(u);const m=d.getRow(s,this.luminances),p=this.buckets;for(let M=0;M<u;M++)p[(255&m[M])>>ze.LUMINANCE_SHIFT]++;const v=ze.estimateBlackPoint(p);if(u<3)for(let M=0;M<u;M++)(255&m[M])<v&&l.set(M);else{let M=255&m[0],H=255&m[1];for(let q=1;q<u-1;q++){const ue=255&m[q+1];(4*H-M-ue)/2<v&&l.set(q),M=H,H=ue}}return l}getBlackMatrix(){const s=this.getLuminanceSource(),l=s.getWidth(),d=s.getHeight(),u=new ge(l,d);this.initArrays(l);const m=this.buckets;for(let M=1;M<5;M++){const H=Math.floor(d*M/5),q=s.getRow(H,this.luminances),ue=Math.floor(4*l/5);for(let _e=Math.floor(l/5);_e<ue;_e++)m[(255&q[_e])>>ze.LUMINANCE_SHIFT]++}const p=ze.estimateBlackPoint(m),v=s.getMatrix();for(let M=0;M<d;M++){const H=M*l;for(let q=0;q<l;q++)(255&v[H+q])<p&&u.set(q,M)}return u}createBinarizer(s){return new ze(s)}initArrays(s){this.luminances.length<s&&(this.luminances=new Uint8ClampedArray(s));const l=this.buckets;for(let d=0;d<ze.LUMINANCE_BUCKETS;d++)l[d]=0}static estimateBlackPoint(s){const l=s.length;let d=0,u=0,m=0;for(let q=0;q<l;q++)s[q]>m&&(u=q,m=s[q]),s[q]>d&&(d=s[q]);let p=0,v=0;for(let q=0;q<l;q++){const ue=q-u,_e=s[q]*ue*ue;_e>v&&(p=q,v=_e)}if(u>p){const q=u;u=p,p=q}if(p-u<=l/16)throw new we;let M=p-1,H=-1;for(let q=p-1;q>u;q--){const ue=q-u,_e=ue*ue*(p-q)*(d-s[q]);_e>H&&(M=q,H=_e)}return M<<ze.LUMINANCE_SHIFT}}ze.LUMINANCE_BITS=5,ze.LUMINANCE_SHIFT=8-ze.LUMINANCE_BITS,ze.LUMINANCE_BUCKETS=1<<ze.LUMINANCE_BITS,ze.EMPTY=Uint8ClampedArray.from([0]);class Re extends ze{constructor(s){super(s),this.matrix=null}getBlackMatrix(){if(null!==this.matrix)return this.matrix;const s=this.getLuminanceSource(),l=s.getWidth(),d=s.getHeight();if(l>=Re.MINIMUM_DIMENSION&&d>=Re.MINIMUM_DIMENSION){const u=s.getMatrix();let m=l>>Re.BLOCK_SIZE_POWER;l&Re.BLOCK_SIZE_MASK&&m++;let p=d>>Re.BLOCK_SIZE_POWER;d&Re.BLOCK_SIZE_MASK&&p++;const v=Re.calculateBlackPoints(u,m,p,l,d),M=new ge(l,d);Re.calculateThresholdForBlock(u,m,p,l,d,v,M),this.matrix=M}else this.matrix=super.getBlackMatrix();return this.matrix}createBinarizer(s){return new Re(s)}static calculateThresholdForBlock(s,l,d,u,m,p,v){const M=m-Re.BLOCK_SIZE,H=u-Re.BLOCK_SIZE;for(let q=0;q<d;q++){let ue=q<<Re.BLOCK_SIZE_POWER;ue>M&&(ue=M);const _e=Re.cap(q,2,d-3);for(let ke=0;ke<l;ke++){let Ne=ke<<Re.BLOCK_SIZE_POWER;Ne>H&&(Ne=H);const je=Re.cap(ke,2,l-3);let Ye=0;for(let kt=-2;kt<=2;kt++){const Wt=p[_e+kt];Ye+=Wt[je-2]+Wt[je-1]+Wt[je]+Wt[je+1]+Wt[je+2]}Re.thresholdBlock(s,Ne,ue,Ye/25,u,v)}}}static cap(s,l,d){return s<l?l:s>d?d:s}static thresholdBlock(s,l,d,u,m,p){for(let v=0,M=d*m+l;v<Re.BLOCK_SIZE;v++,M+=m)for(let H=0;H<Re.BLOCK_SIZE;H++)(255&s[M+H])<=u&&p.set(l+H,d+v)}static calculateBlackPoints(s,l,d,u,m){const p=m-Re.BLOCK_SIZE,v=u-Re.BLOCK_SIZE,M=new Array(d);for(let H=0;H<d;H++){M[H]=new Int32Array(l);let q=H<<Re.BLOCK_SIZE_POWER;q>p&&(q=p);for(let ue=0;ue<l;ue++){let _e=ue<<Re.BLOCK_SIZE_POWER;_e>v&&(_e=v);let ke=0,Ne=255,je=0;for(let et=0,kt=q*u+_e;et<Re.BLOCK_SIZE;et++,kt+=u){for(let Wt=0;Wt<Re.BLOCK_SIZE;Wt++){const ct=255&s[kt+Wt];ke+=ct,ct<Ne&&(Ne=ct),ct>je&&(je=ct)}if(je-Ne>Re.MIN_DYNAMIC_RANGE)for(et++,kt+=u;et<Re.BLOCK_SIZE;et++,kt+=u)for(let Wt=0;Wt<Re.BLOCK_SIZE;Wt++)ke+=255&s[kt+Wt]}let Ye=ke>>2*Re.BLOCK_SIZE_POWER;if(je-Ne<=Re.MIN_DYNAMIC_RANGE&&(Ye=Ne/2,H>0&&ue>0)){const et=(M[H-1][ue]+2*M[H][ue-1]+M[H-1][ue-1])/4;Ne<et&&(Ye=et)}M[H][ue]=Ye}}return M}}Re.BLOCK_SIZE_POWER=3,Re.BLOCK_SIZE=1<<Re.BLOCK_SIZE_POWER,Re.BLOCK_SIZE_MASK=Re.BLOCK_SIZE-1,Re.MINIMUM_DIMENSION=5*Re.BLOCK_SIZE,Re.MIN_DYNAMIC_RANGE=24;class st{constructor(s,l){this.width=s,this.height=l}getWidth(){return this.width}getHeight(){return this.height}isCropSupported(){return!1}crop(s,l,d,u){throw new he("This luminance source does not support cropping.")}isRotateSupported(){return!1}rotateCounterClockwise(){throw new he("This luminance source does not support rotation by 90 degrees.")}rotateCounterClockwise45(){throw new he("This luminance source does not support rotation by 45 degrees.")}toString(){const s=new Uint8ClampedArray(this.width);let l=new me;for(let d=0;d<this.height;d++){const u=this.getRow(d,s);for(let m=0;m<this.width;m++){const p=255&u[m];let v;v=p<64?"#":p<128?"+":p<192?".":" ",l.append(v)}l.append("\n")}return l.toString()}}class mt extends st{constructor(s){super(s.getWidth(),s.getHeight()),this.delegate=s}getRow(s,l){const d=this.delegate.getRow(s,l),u=this.getWidth();for(let m=0;m<u;m++)d[m]=255-(255&d[m]);return d}getMatrix(){const s=this.delegate.getMatrix(),l=this.getWidth()*this.getHeight(),d=new Uint8ClampedArray(l);for(let u=0;u<l;u++)d[u]=255-(255&s[u]);return d}isCropSupported(){return this.delegate.isCropSupported()}crop(s,l,d,u){return new mt(this.delegate.crop(s,l,d,u))}isRotateSupported(){return this.delegate.isRotateSupported()}invert(){return this.delegate}rotateCounterClockwise(){return new mt(this.delegate.rotateCounterClockwise())}rotateCounterClockwise45(){return new mt(this.delegate.rotateCounterClockwise45())}}class At extends st{constructor(s){super(s.width,s.height),this.canvas=s,this.tempCanvasElement=null,this.buffer=At.makeBufferFromCanvasImageData(s)}static makeBufferFromCanvasImageData(s){const l=s.getContext("2d").getImageData(0,0,s.width,s.height);return At.toGrayscaleBuffer(l.data,s.width,s.height)}static toGrayscaleBuffer(s,l,d){const u=new Uint8ClampedArray(l*d);for(let m=0,p=0,v=s.length;m<v;m+=4,p++){let M;M=0===s[m+3]?255:306*s[m]+601*s[m+1]+117*s[m+2]+512>>10,u[p]=M}return u}getRow(s,l){if(s<0||s>=this.getHeight())throw new R("Requested row is outside the image: "+s);const d=this.getWidth(),u=s*d;return null===l?l=this.buffer.slice(u,u+d):(l.length<d&&(l=new Uint8ClampedArray(d)),l.set(this.buffer.slice(u,u+d))),l}getMatrix(){return this.buffer}isCropSupported(){return!0}crop(s,l,d,u){return super.crop(s,l,d,u),this}isRotateSupported(){return!0}rotateCounterClockwise(){return this.rotate(-90),this}rotateCounterClockwise45(){return this.rotate(-45),this}getTempCanvasElement(){if(null===this.tempCanvasElement){const s=this.canvas.ownerDocument.createElement("canvas");s.width=this.canvas.width,s.height=this.canvas.height,this.tempCanvasElement=s}return this.tempCanvasElement}rotate(s){const l=this.getTempCanvasElement(),d=l.getContext("2d"),u=s*At.DEGREE_TO_RADIANS,m=this.canvas.width,p=this.canvas.height,v=Math.ceil(Math.abs(Math.cos(u))*m+Math.abs(Math.sin(u))*p),M=Math.ceil(Math.abs(Math.sin(u))*m+Math.abs(Math.cos(u))*p);return l.width=v,l.height=M,d.translate(v/2,M/2),d.rotate(u),d.drawImage(this.canvas,m/-2,p/-2),this.buffer=At.makeBufferFromCanvasImageData(l),this}invert(){return new mt(this)}}At.DEGREE_TO_RADIANS=Math.PI/180;class Xt{constructor(s,l,d){this.deviceId=s,this.label=l,this.kind="videoinput",this.groupId=d||void 0}toJSON(){return{kind:this.kind,groupId:this.groupId,deviceId:this.deviceId,label:this.label}}}var ft=(globalThis||global||self||window?(globalThis||global||self||window||void 0).__awaiter:void 0)||function(Y,s,l,d){return new(l||(l=Promise))(function(m,p){function v(q){try{H(d.next(q))}catch(ue){p(ue)}}function M(q){try{H(d.throw(q))}catch(ue){p(ue)}}function H(q){q.done?m(q.value):function u(m){return m instanceof l?m:new l(function(p){p(m)})}(q.value).then(v,M)}H((d=d.apply(Y,s||[])).next())})};class ai{constructor(s,l=500,d){this.reader=s,this.timeBetweenScansMillis=l,this._hints=d,this._stopContinuousDecode=!1,this._stopAsyncDecode=!1,this._timeBetweenDecodingAttempts=0}get hasNavigator(){return typeof navigator<"u"}get isMediaDevicesSuported(){return this.hasNavigator&&!!navigator.mediaDevices}get canEnumerateDevices(){return!(!this.isMediaDevicesSuported||!navigator.mediaDevices.enumerateDevices)}get timeBetweenDecodingAttempts(){return this._timeBetweenDecodingAttempts}set timeBetweenDecodingAttempts(s){this._timeBetweenDecodingAttempts=s<0?0:s}set hints(s){this._hints=s||null}get hints(){return this._hints}listVideoInputDevices(){return ft(this,void 0,void 0,function*(){if(!this.hasNavigator)throw new Error("Can't enumerate devices, navigator is not present.");if(!this.canEnumerateDevices)throw new Error("Can't enumerate devices, method not supported.");const s=yield navigator.mediaDevices.enumerateDevices(),l=[];for(const d of s){const u="video"===d.kind?"videoinput":d.kind;"videoinput"===u&&l.push({deviceId:d.deviceId||d.id,label:d.label||`Video device ${l.length+1}`,kind:u,groupId:d.groupId})}return l})}getVideoInputDevices(){return ft(this,void 0,void 0,function*(){return(yield this.listVideoInputDevices()).map(l=>new Xt(l.deviceId,l.label))})}findDeviceById(s){return ft(this,void 0,void 0,function*(){const l=yield this.listVideoInputDevices();return l?l.find(d=>d.deviceId===s):null})}decodeFromInputVideoDevice(s,l){return ft(this,void 0,void 0,function*(){return yield this.decodeOnceFromVideoDevice(s,l)})}decodeOnceFromVideoDevice(s,l){return ft(this,void 0,void 0,function*(){let d;this.reset(),d=s?{deviceId:{exact:s}}:{facingMode:"environment"};const u={video:d};return yield this.decodeOnceFromConstraints(u,l)})}decodeOnceFromConstraints(s,l){return ft(this,void 0,void 0,function*(){const d=yield navigator.mediaDevices.getUserMedia(s);return yield this.decodeOnceFromStream(d,l)})}decodeOnceFromStream(s,l){return ft(this,void 0,void 0,function*(){this.reset();const d=yield this.attachStreamToVideo(s,l);return yield this.decodeOnce(d)})}decodeFromInputVideoDeviceContinuously(s,l,d){return ft(this,void 0,void 0,function*(){return yield this.decodeFromVideoDevice(s,l,d)})}decodeFromVideoDevice(s,l,d){return ft(this,void 0,void 0,function*(){let u;u=s?{deviceId:{exact:s}}:{facingMode:"environment"};const m={video:u};return yield this.decodeFromConstraints(m,l,d)})}decodeFromConstraints(s,l,d){return ft(this,void 0,void 0,function*(){const u=yield navigator.mediaDevices.getUserMedia(s);return yield this.decodeFromStream(u,l,d)})}decodeFromStream(s,l,d){return ft(this,void 0,void 0,function*(){this.reset();const u=yield this.attachStreamToVideo(s,l);return yield this.decodeContinuously(u,d)})}stopAsyncDecode(){this._stopAsyncDecode=!0}stopContinuousDecode(){this._stopContinuousDecode=!0}attachStreamToVideo(s,l){return ft(this,void 0,void 0,function*(){const d=this.prepareVideoElement(l);return this.addVideoSource(d,s),this.videoElement=d,this.stream=s,yield this.playVideoOnLoadAsync(d),d})}playVideoOnLoadAsync(s){return new Promise((l,d)=>this.playVideoOnLoad(s,()=>l()))}playVideoOnLoad(s,l){this.videoEndedListener=()=>this.stopStreams(),this.videoCanPlayListener=()=>this.tryPlayVideo(s),s.addEventListener("ended",this.videoEndedListener),s.addEventListener("canplay",this.videoCanPlayListener),s.addEventListener("playing",l),this.tryPlayVideo(s)}isVideoPlaying(s){return s.currentTime>0&&!s.paused&&!s.ended&&s.readyState>2}tryPlayVideo(s){return ft(this,void 0,void 0,function*(){if(this.isVideoPlaying(s))console.warn("Trying to play video that is already playing.");else try{yield s.play()}catch{console.warn("It was not possible to play the video.")}})}getMediaElement(s,l){const d=document.getElementById(s);if(!d)throw new B(`element with id '${s}' not found`);if(d.nodeName.toLowerCase()!==l.toLowerCase())throw new B(`element with id '${s}' must be an ${l} element`);return d}decodeFromImage(s,l){if(!s&&!l)throw new B("either imageElement with a src set or an url must be provided");return l&&!s?this.decodeFromImageUrl(l):this.decodeFromImageElement(s)}decodeFromVideo(s,l){if(!s&&!l)throw new B("Either an element with a src set or an URL must be provided");return l&&!s?this.decodeFromVideoUrl(l):this.decodeFromVideoElement(s)}decodeFromVideoContinuously(s,l,d){if(void 0===s&&void 0===l)throw new B("Either an element with a src set or an URL must be provided");return l&&!s?this.decodeFromVideoUrlContinuously(l,d):this.decodeFromVideoElementContinuously(s,d)}decodeFromImageElement(s){if(!s)throw new B("An image element must be provided.");this.reset();const l=this.prepareImageElement(s);let d;return this.imageElement=l,d=this.isImageLoaded(l)?this.decodeOnce(l,!1,!0):this._decodeOnLoadImage(l),d}decodeFromVideoElement(s){const l=this._decodeFromVideoElementSetup(s);return this._decodeOnLoadVideo(l)}decodeFromVideoElementContinuously(s,l){const d=this._decodeFromVideoElementSetup(s);return this._decodeOnLoadVideoContinuously(d,l)}_decodeFromVideoElementSetup(s){if(!s)throw new B("A video element must be provided.");this.reset();const l=this.prepareVideoElement(s);return this.videoElement=l,l}decodeFromImageUrl(s){if(!s)throw new B("An URL must be provided.");this.reset();const l=this.prepareImageElement();this.imageElement=l;const d=this._decodeOnLoadImage(l);return l.src=s,d}decodeFromVideoUrl(s){if(!s)throw new B("An URL must be provided.");this.reset();const l=this.prepareVideoElement(),d=this.decodeFromVideoElement(l);return l.src=s,d}decodeFromVideoUrlContinuously(s,l){if(!s)throw new B("An URL must be provided.");this.reset();const d=this.prepareVideoElement(),u=this.decodeFromVideoElementContinuously(d,l);return d.src=s,u}_decodeOnLoadImage(s){return new Promise((l,d)=>{this.imageLoadedListener=()=>this.decodeOnce(s,!1,!0).then(l,d),s.addEventListener("load",this.imageLoadedListener)})}_decodeOnLoadVideo(s){return ft(this,void 0,void 0,function*(){return yield this.playVideoOnLoadAsync(s),yield this.decodeOnce(s)})}_decodeOnLoadVideoContinuously(s,l){return ft(this,void 0,void 0,function*(){yield this.playVideoOnLoadAsync(s),this.decodeContinuously(s,l)})}isImageLoaded(s){return!(!s.complete||0===s.naturalWidth)}prepareImageElement(s){let l;return typeof s>"u"&&(l=document.createElement("img"),l.width=200,l.height=200),"string"==typeof s&&(l=this.getMediaElement(s,"img")),s instanceof HTMLImageElement&&(l=s),l}prepareVideoElement(s){let l;return!s&&typeof document<"u"&&(l=document.createElement("video"),l.width=200,l.height=200),"string"==typeof s&&(l=this.getMediaElement(s,"video")),s instanceof HTMLVideoElement&&(l=s),l.setAttribute("autoplay","true"),l.setAttribute("muted","true"),l.setAttribute("playsinline","true"),l}decodeOnce(s,l=!0,d=!0){this._stopAsyncDecode=!1;const u=(m,p)=>{if(this._stopAsyncDecode)return p(new we("Video stream has ended before any code could be detected.")),void(this._stopAsyncDecode=void 0);try{m(this.decode(s))}catch(v){if(l&&v instanceof we||(v instanceof Z||v instanceof ie)&&d)return setTimeout(u,this._timeBetweenDecodingAttempts,m,p);p(v)}};return new Promise((m,p)=>u(m,p))}decodeContinuously(s,l){this._stopContinuousDecode=!1;const d=()=>{if(this._stopContinuousDecode)this._stopContinuousDecode=void 0;else try{const u=this.decode(s);l(u,null),setTimeout(d,this.timeBetweenScansMillis)}catch(u){l(null,u),(u instanceof Z||u instanceof ie||u instanceof we)&&setTimeout(d,this._timeBetweenDecodingAttempts)}};d()}decode(s){const l=this.createBinaryBitmap(s);return this.decodeBitmap(l)}_isHTMLVideoElement(s){return 0!==s.videoWidth}drawFrameOnCanvas(s,l,d){l||(l={sx:0,sy:0,sWidth:s.videoWidth,sHeight:s.videoHeight,dx:0,dy:0,dWidth:s.videoWidth,dHeight:s.videoHeight}),d||(d=this.captureCanvasContext),d.drawImage(s,l.sx,l.sy,l.sWidth,l.sHeight,l.dx,l.dy,l.dWidth,l.dHeight)}drawImageOnCanvas(s,l,d=this.captureCanvasContext){l||(l={sx:0,sy:0,sWidth:s.naturalWidth,sHeight:s.naturalHeight,dx:0,dy:0,dWidth:s.naturalWidth,dHeight:s.naturalHeight}),d||(d=this.captureCanvasContext),d.drawImage(s,l.sx,l.sy,l.sWidth,l.sHeight,l.dx,l.dy,l.dWidth,l.dHeight)}createBinaryBitmap(s){this.getCaptureCanvasContext(s),this._isHTMLVideoElement(s)?this.drawFrameOnCanvas(s):this.drawImageOnCanvas(s);const d=this.getCaptureCanvas(s),u=new At(d),m=new Re(u);return new U(m)}getCaptureCanvasContext(s){if(!this.captureCanvasContext){const d=this.getCaptureCanvas(s).getContext("2d");this.captureCanvasContext=d}return this.captureCanvasContext}getCaptureCanvas(s){if(!this.captureCanvas){const l=this.createCaptureCanvas(s);this.captureCanvas=l}return this.captureCanvas}decodeBitmap(s){return this.reader.decode(s,this._hints)}createCaptureCanvas(s){if(typeof document>"u")return this._destroyCaptureCanvas(),null;const l=document.createElement("canvas");let d,u;return typeof s<"u"&&(s instanceof HTMLVideoElement?(d=s.videoWidth,u=s.videoHeight):s instanceof HTMLImageElement&&(d=s.naturalWidth||s.width,u=s.naturalHeight||s.height)),l.style.width=d+"px",l.style.height=u+"px",l.width=d,l.height=u,l}stopStreams(){this.stream&&(this.stream.getVideoTracks().forEach(s=>s.stop()),this.stream=void 0),!1===this._stopAsyncDecode&&this.stopAsyncDecode(),!1===this._stopContinuousDecode&&this.stopContinuousDecode()}reset(){this.stopStreams(),this._destroyVideoElement(),this._destroyImageElement(),this._destroyCaptureCanvas()}_destroyVideoElement(){this.videoElement&&(typeof this.videoEndedListener<"u"&&this.videoElement.removeEventListener("ended",this.videoEndedListener),typeof this.videoPlayingEventListener<"u"&&this.videoElement.removeEventListener("playing",this.videoPlayingEventListener),typeof this.videoCanPlayListener<"u"&&this.videoElement.removeEventListener("loadedmetadata",this.videoCanPlayListener),this.cleanVideoSource(this.videoElement),this.videoElement=void 0)}_destroyImageElement(){this.imageElement&&(void 0!==this.imageLoadedListener&&this.imageElement.removeEventListener("load",this.imageLoadedListener),this.imageElement.src=void 0,this.imageElement.removeAttribute("src"),this.imageElement=void 0)}_destroyCaptureCanvas(){this.captureCanvasContext=void 0,this.captureCanvas=void 0}addVideoSource(s,l){try{s.srcObject=l}catch{s.src=URL.createObjectURL(l)}}cleanVideoSource(s){try{s.srcObject=null}catch{s.src=""}this.videoElement.removeAttribute("src")}}class He{constructor(s,l,d=(null==l?0:8*l.length),u,m,p=V.currentTimeMillis()){this.text=s,this.rawBytes=l,this.numBits=d,this.resultPoints=u,this.format=m,this.timestamp=p,this.text=s,this.rawBytes=l,this.numBits=null==d?null==l?0:8*l.length:d,this.resultPoints=u,this.format=m,this.resultMetadata=null,this.timestamp=null==p?V.currentTimeMillis():p}getText(){return this.text}getRawBytes(){return this.rawBytes}getNumBits(){return this.numBits}getResultPoints(){return this.resultPoints}getBarcodeFormat(){return this.format}getResultMetadata(){return this.resultMetadata}putMetadata(s,l){null===this.resultMetadata&&(this.resultMetadata=new Map),this.resultMetadata.set(s,l)}putAllMetadata(s){null!==s&&(this.resultMetadata=null===this.resultMetadata?s:new Map(s))}addResultPoints(s){const l=this.resultPoints;if(null===l)this.resultPoints=s;else if(null!==s&&s.length>0){const d=new Array(l.length+s.length);V.arraycopy(l,0,d,0,l.length),V.arraycopy(s,0,d,l.length,s.length),this.resultPoints=d}}getTimestamp(){return this.timestamp}toString(){return this.text}}var yi=(()=>{return(Y=yi||(yi={}))[Y.AZTEC=0]="AZTEC",Y[Y.CODABAR=1]="CODABAR",Y[Y.CODE_39=2]="CODE_39",Y[Y.CODE_93=3]="CODE_93",Y[Y.CODE_128=4]="CODE_128",Y[Y.DATA_MATRIX=5]="DATA_MATRIX",Y[Y.EAN_8=6]="EAN_8",Y[Y.EAN_13=7]="EAN_13",Y[Y.ITF=8]="ITF",Y[Y.MAXICODE=9]="MAXICODE",Y[Y.PDF_417=10]="PDF_417",Y[Y.QR_CODE=11]="QR_CODE",Y[Y.RSS_14=12]="RSS_14",Y[Y.RSS_EXPANDED=13]="RSS_EXPANDED",Y[Y.UPC_A=14]="UPC_A",Y[Y.UPC_E=15]="UPC_E",Y[Y.UPC_EAN_EXTENSION=16]="UPC_EAN_EXTENSION",yi;var Y})(),nt=yi,Jt=(()=>{return(Y=Jt||(Jt={}))[Y.OTHER=0]="OTHER",Y[Y.ORIENTATION=1]="ORIENTATION",Y[Y.BYTE_SEGMENTS=2]="BYTE_SEGMENTS",Y[Y.ERROR_CORRECTION_LEVEL=3]="ERROR_CORRECTION_LEVEL",Y[Y.ISSUE_NUMBER=4]="ISSUE_NUMBER",Y[Y.SUGGESTED_PRICE=5]="SUGGESTED_PRICE",Y[Y.POSSIBLE_COUNTRY=6]="POSSIBLE_COUNTRY",Y[Y.UPC_EAN_EXTENSION=7]="UPC_EAN_EXTENSION",Y[Y.PDF417_EXTRA_METADATA=8]="PDF417_EXTRA_METADATA",Y[Y.STRUCTURED_APPEND_SEQUENCE=9]="STRUCTURED_APPEND_SEQUENCE",Y[Y.STRUCTURED_APPEND_PARITY=10]="STRUCTURED_APPEND_PARITY",Jt;var Y})(),Ut=Jt;class Fn{constructor(s,l,d,u,m=-1,p=-1){this.rawBytes=s,this.text=l,this.byteSegments=d,this.ecLevel=u,this.structuredAppendSequenceNumber=m,this.structuredAppendParity=p,this.numBits=null==s?0:8*s.length}getRawBytes(){return this.rawBytes}getNumBits(){return this.numBits}setNumBits(s){this.numBits=s}getText(){return this.text}getByteSegments(){return this.byteSegments}getECLevel(){return this.ecLevel}getErrorsCorrected(){return this.errorsCorrected}setErrorsCorrected(s){this.errorsCorrected=s}getErasures(){return this.erasures}setErasures(s){this.erasures=s}getOther(){return this.other}setOther(s){this.other=s}hasStructuredAppend(){return this.structuredAppendParity>=0&&this.structuredAppendSequenceNumber>=0}getStructuredAppendParity(){return this.structuredAppendParity}getStructuredAppendSequenceNumber(){return this.structuredAppendSequenceNumber}}class _t{exp(s){return this.expTable[s]}log(s){if(0===s)throw new R;return this.logTable[s]}static addOrSubtract(s,l){return s^l}}class on{constructor(s,l){if(0===l.length)throw new R;this.field=s;const d=l.length;if(d>1&&0===l[0]){let u=1;for(;u<d&&0===l[u];)u++;u===d?this.coefficients=Int32Array.from([0]):(this.coefficients=new Int32Array(d-u),V.arraycopy(l,u,this.coefficients,0,this.coefficients.length))}else this.coefficients=l}getCoefficients(){return this.coefficients}getDegree(){return this.coefficients.length-1}isZero(){return 0===this.coefficients[0]}getCoefficient(s){return this.coefficients[this.coefficients.length-1-s]}evaluateAt(s){if(0===s)return this.getCoefficient(0);const l=this.coefficients;let d;if(1===s){d=0;for(let p=0,v=l.length;p!==v;p++)d=_t.addOrSubtract(d,l[p]);return d}d=l[0];const u=l.length,m=this.field;for(let p=1;p<u;p++)d=_t.addOrSubtract(m.multiply(s,d),l[p]);return d}addOrSubtract(s){if(!this.field.equals(s.field))throw new R("GenericGFPolys do not have same GenericGF field");if(this.isZero())return s;if(s.isZero())return this;let l=this.coefficients,d=s.coefficients;if(l.length>d.length){const p=l;l=d,d=p}let u=new Int32Array(d.length);const m=d.length-l.length;V.arraycopy(d,0,u,0,m);for(let p=m;p<d.length;p++)u[p]=_t.addOrSubtract(l[p-m],d[p]);return new on(this.field,u)}multiply(s){if(!this.field.equals(s.field))throw new R("GenericGFPolys do not have same GenericGF field");if(this.isZero()||s.isZero())return this.field.getZero();const l=this.coefficients,d=l.length,u=s.coefficients,m=u.length,p=new Int32Array(d+m-1),v=this.field;for(let M=0;M<d;M++){const H=l[M];for(let q=0;q<m;q++)p[M+q]=_t.addOrSubtract(p[M+q],v.multiply(H,u[q]))}return new on(v,p)}multiplyScalar(s){if(0===s)return this.field.getZero();if(1===s)return this;const l=this.coefficients.length,d=this.field,u=new Int32Array(l),m=this.coefficients;for(let p=0;p<l;p++)u[p]=d.multiply(m[p],s);return new on(d,u)}multiplyByMonomial(s,l){if(s<0)throw new R;if(0===l)return this.field.getZero();const d=this.coefficients,u=d.length,m=new Int32Array(u+s),p=this.field;for(let v=0;v<u;v++)m[v]=p.multiply(d[v],l);return new on(p,m)}divide(s){if(!this.field.equals(s.field))throw new R("GenericGFPolys do not have same GenericGF field");if(s.isZero())throw new R("Divide by 0");const l=this.field;let d=l.getZero(),u=this;const m=s.getCoefficient(s.getDegree()),p=l.inverse(m);for(;u.getDegree()>=s.getDegree()&&!u.isZero();){const v=u.getDegree()-s.getDegree(),M=l.multiply(u.getCoefficient(u.getDegree()),p),H=s.multiplyByMonomial(v,M),q=l.buildMonomial(v,M);d=d.addOrSubtract(q),u=u.addOrSubtract(H)}return[d,u]}toString(){let s="";for(let l=this.getDegree();l>=0;l--){let d=this.getCoefficient(l);if(0!==d){if(d<0?(s+=" - ",d=-d):s.length>0&&(s+=" + "),0===l||1!==d){const u=this.field.log(d);0===u?s+="1":1===u?s+="a":(s+="a^",s+=u)}0!==l&&(1===l?s+="x":(s+="x^",s+=l))}}return s}}let Tn=(()=>{class Y extends L{}return Y.kind="ArithmeticException",Y})();class xi extends _t{constructor(s,l,d){super(),this.primitive=s,this.size=l,this.generatorBase=d;const u=new Int32Array(l);let m=1;for(let v=0;v<l;v++)u[v]=m,m*=2,m>=l&&(m^=s,m&=l-1);this.expTable=u;const p=new Int32Array(l);for(let v=0;v<l-1;v++)p[u[v]]=v;this.logTable=p,this.zero=new on(this,Int32Array.from([0])),this.one=new on(this,Int32Array.from([1]))}getZero(){return this.zero}getOne(){return this.one}buildMonomial(s,l){if(s<0)throw new R;if(0===l)return this.zero;const d=new Int32Array(s+1);return d[0]=l,new on(this,d)}inverse(s){if(0===s)throw new Tn;return this.expTable[this.size-this.logTable[s]-1]}multiply(s,l){return 0===s||0===l?0:this.expTable[(this.logTable[s]+this.logTable[l])%(this.size-1)]}getSize(){return this.size}getGeneratorBase(){return this.generatorBase}toString(){return"GF(0x"+G.toHexString(this.primitive)+","+this.size+")"}equals(s){return s===this}}xi.AZTEC_DATA_12=new xi(4201,4096,1),xi.AZTEC_DATA_10=new xi(1033,1024,1),xi.AZTEC_DATA_6=new xi(67,64,1),xi.AZTEC_PARAM=new xi(19,16,1),xi.QR_CODE_FIELD_256=new xi(285,256,0),xi.DATA_MATRIX_FIELD_256=new xi(301,256,1),xi.AZTEC_DATA_8=xi.DATA_MATRIX_FIELD_256,xi.MAXICODE_FIELD_64=xi.AZTEC_DATA_6;let ht=(()=>{class Y extends L{}return Y.kind="ReedSolomonException",Y})(),zt=(()=>{class Y extends L{}return Y.kind="IllegalStateException",Y})();class Ge{constructor(s){this.field=s}decode(s,l){const d=this.field,u=new on(d,s),m=new Int32Array(l);let p=!0;for(let ke=0;ke<l;ke++){const Ne=u.evaluateAt(d.exp(ke+d.getGeneratorBase()));m[m.length-1-ke]=Ne,0!==Ne&&(p=!1)}if(p)return;const v=new on(d,m),M=this.runEuclideanAlgorithm(d.buildMonomial(l,1),v,l),q=M[1],ue=this.findErrorLocations(M[0]),_e=this.findErrorMagnitudes(q,ue);for(let ke=0;ke<ue.length;ke++){const Ne=s.length-1-d.log(ue[ke]);if(Ne<0)throw new ht("Bad error location");s[Ne]=xi.addOrSubtract(s[Ne],_e[ke])}}runEuclideanAlgorithm(s,l,d){if(s.getDegree()<l.getDegree()){const ke=s;s=l,l=ke}const u=this.field;let m=s,p=l,v=u.getZero(),M=u.getOne();for(;p.getDegree()>=(d/2|0);){let ke=m,Ne=v;if(m=p,v=M,m.isZero())throw new ht("r_{i-1} was zero");p=ke;let je=u.getZero();const Ye=m.getCoefficient(m.getDegree()),et=u.inverse(Ye);for(;p.getDegree()>=m.getDegree()&&!p.isZero();){const kt=p.getDegree()-m.getDegree(),Wt=u.multiply(p.getCoefficient(p.getDegree()),et);je=je.addOrSubtract(u.buildMonomial(kt,Wt)),p=p.addOrSubtract(m.multiplyByMonomial(kt,Wt))}if(M=je.multiply(v).addOrSubtract(Ne),p.getDegree()>=m.getDegree())throw new zt("Division algorithm failed to reduce polynomial?")}const H=M.getCoefficient(0);if(0===H)throw new ht("sigmaTilde(0) was zero");const q=u.inverse(H);return[M.multiplyScalar(q),p.multiplyScalar(q)]}findErrorLocations(s){const l=s.getDegree();if(1===l)return Int32Array.from([s.getCoefficient(1)]);const d=new Int32Array(l);let u=0;const m=this.field;for(let p=1;p<m.getSize()&&u<l;p++)0===s.evaluateAt(p)&&(d[u]=m.inverse(p),u++);if(u!==l)throw new ht("Error locator degree does not match number of roots");return d}findErrorMagnitudes(s,l){const d=l.length,u=new Int32Array(d),m=this.field;for(let p=0;p<d;p++){const v=m.inverse(l[p]);let M=1;for(let H=0;H<d;H++)if(p!==H){const q=m.multiply(l[H],v);M=m.multiply(M,1&q?-2&q:1|q)}u[p]=m.multiply(s.evaluateAt(v),m.inverse(M)),0!==m.getGeneratorBase()&&(u[p]=m.multiply(u[p],v))}return u}}var at=(()=>{return(Y=at||(at={}))[Y.UPPER=0]="UPPER",Y[Y.LOWER=1]="LOWER",Y[Y.MIXED=2]="MIXED",Y[Y.DIGIT=3]="DIGIT",Y[Y.PUNCT=4]="PUNCT",Y[Y.BINARY=5]="BINARY",at;var Y})();let fi=(()=>{class Y{decode(l){this.ddata=l;let d=l.getBits(),u=this.extractBits(d),m=this.correctBits(u),p=Y.convertBoolArrayToByteArray(m),v=Y.getEncodedData(m),M=new Fn(p,v,null,null);return M.setNumBits(m.length),M}static highLevelDecode(l){return this.getEncodedData(l)}static getEncodedData(l){let d=l.length,u=at.UPPER,m=at.UPPER,p="",v=0;for(;v<d;)if(m===at.BINARY){if(d-v<5)break;let M=Y.readCode(l,v,5);if(v+=5,0===M){if(d-v<11)break;M=Y.readCode(l,v,11)+31,v+=11}for(let H=0;H<M;H++){if(d-v<8){v=d;break}const q=Y.readCode(l,v,8);p+=de.castAsNonUtf8Char(q),v+=8}m=u}else{let M=m===at.DIGIT?4:5;if(d-v<M)break;let H=Y.readCode(l,v,M);v+=M;let q=Y.getCharacter(m,H);q.startsWith("CTRL_")?(u=m,m=Y.getTable(q.charAt(5)),"L"===q.charAt(6)&&(u=m)):(p+=q,m=u)}return p}static getTable(l){switch(l){case"L":return at.LOWER;case"P":return at.PUNCT;case"M":return at.MIXED;case"D":return at.DIGIT;case"B":return at.BINARY;default:return at.UPPER}}static getCharacter(l,d){switch(l){case at.UPPER:return Y.UPPER_TABLE[d];case at.LOWER:return Y.LOWER_TABLE[d];case at.MIXED:return Y.MIXED_TABLE[d];case at.PUNCT:return Y.PUNCT_TABLE[d];case at.DIGIT:return Y.DIGIT_TABLE[d];default:throw new zt("Bad table")}}correctBits(l){let d,u;this.ddata.getNbLayers()<=2?(u=6,d=xi.AZTEC_DATA_6):this.ddata.getNbLayers()<=8?(u=8,d=xi.AZTEC_DATA_8):this.ddata.getNbLayers()<=22?(u=10,d=xi.AZTEC_DATA_10):(u=12,d=xi.AZTEC_DATA_12);let m=this.ddata.getNbDatablocks(),p=l.length/u;if(p<m)throw new ie;let v=l.length%u,M=new Int32Array(p);for(let ke=0;ke<p;ke++,v+=u)M[ke]=Y.readCode(l,v,u);try{new Ge(d).decode(M,p-m)}catch(ke){throw new ie(ke)}let H=(1<<u)-1,q=0;for(let ke=0;ke<m;ke++){let Ne=M[ke];if(0===Ne||Ne===H)throw new ie;(1===Ne||Ne===H-1)&&q++}let ue=new Array(m*u-q),_e=0;for(let ke=0;ke<m;ke++){let Ne=M[ke];if(1===Ne||Ne===H-1)ue.fill(Ne>1,_e,_e+u-1),_e+=u-1;else for(let je=u-1;je>=0;--je)ue[_e++]=0!=(Ne&1<<je)}return ue}extractBits(l){let d=this.ddata.isCompact(),u=this.ddata.getNbLayers(),m=(d?11:14)+4*u,p=new Int32Array(m),v=new Array(this.totalBitsInLayer(u,d));if(d)for(let M=0;M<p.length;M++)p[M]=M;else{let M=m+1+2*G.truncDivision(G.truncDivision(m,2)-1,15),H=m/2,q=G.truncDivision(M,2);for(let ue=0;ue<H;ue++){let _e=ue+G.truncDivision(ue,15);p[H-ue-1]=q-_e-1,p[H+ue]=q+_e+1}}for(let M=0,H=0;M<u;M++){let q=4*(u-M)+(d?9:12),ue=2*M,_e=m-1-ue;for(let ke=0;ke<q;ke++){let Ne=2*ke;for(let je=0;je<2;je++)v[H+Ne+je]=l.get(p[ue+je],p[ue+ke]),v[H+2*q+Ne+je]=l.get(p[ue+ke],p[_e-je]),v[H+4*q+Ne+je]=l.get(p[_e-je],p[_e-ke]),v[H+6*q+Ne+je]=l.get(p[_e-ke],p[ue+je])}H+=8*q}return v}static readCode(l,d,u){let m=0;for(let p=d;p<d+u;p++)m<<=1,l[p]&&(m|=1);return m}static readByte(l,d){let u=l.length-d;return u>=8?Y.readCode(l,d,8):Y.readCode(l,d,u)<<8-u}static convertBoolArrayToByteArray(l){let d=new Uint8Array((l.length+7)/8);for(let u=0;u<d.length;u++)d[u]=Y.readByte(l,8*u);return d}totalBitsInLayer(l,d){return((d?88:112)+16*l)*l}}return Y.UPPER_TABLE=["CTRL_PS"," ","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","CTRL_LL","CTRL_ML","CTRL_DL","CTRL_BS"],Y.LOWER_TABLE=["CTRL_PS"," ","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","CTRL_US","CTRL_ML","CTRL_DL","CTRL_BS"],Y.MIXED_TABLE=["CTRL_PS"," ","\\1","\\2","\\3","\\4","\\5","\\6","\\7","\b","\t","\n","\\13","\f","\r","\\33","\\34","\\35","\\36","\\37","@","\\","^","_","`","|","~","\\177","CTRL_LL","CTRL_UL","CTRL_PL","CTRL_BS"],Y.PUNCT_TABLE=["","\r","\r\n",". ",", ",": ","!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","[","]","{","}","CTRL_UL"],Y.DIGIT_TABLE=["CTRL_PS"," ","0","1","2","3","4","5","6","7","8","9",",",".","CTRL_UL","CTRL_US"],Y})();class $t{constructor(){}static round(s){return NaN===s?0:s<=Number.MIN_SAFE_INTEGER?Number.MIN_SAFE_INTEGER:s>=Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:s+(s<0?-.5:.5)|0}static distance(s,l,d,u){const m=s-d,p=l-u;return Math.sqrt(m*m+p*p)}static sum(s){let l=0;for(let d=0,u=s.length;d!==u;d++)l+=s[d];return l}}class oi{static floatToIntBits(s){return s}}oi.MAX_VALUE=Number.MAX_SAFE_INTEGER;class vt{constructor(s,l){this.x=s,this.y=l}getX(){return this.x}getY(){return this.y}equals(s){return s instanceof vt&&this.x===s.x&&this.y===s.y}hashCode(){return 31*oi.floatToIntBits(this.x)+oi.floatToIntBits(this.y)}toString(){return"("+this.x+","+this.y+")"}static orderBestPatterns(s){const l=this.distance(s[0],s[1]),d=this.distance(s[1],s[2]),u=this.distance(s[0],s[2]);let m,p,v;if(d>=l&&d>=u?(p=s[0],m=s[1],v=s[2]):u>=d&&u>=l?(p=s[1],m=s[0],v=s[2]):(p=s[2],m=s[0],v=s[1]),this.crossProductZ(m,p,v)<0){const M=m;m=v,v=M}s[0]=m,s[1]=p,s[2]=v}static distance(s,l){return $t.distance(s.x,s.y,l.x,l.y)}static crossProductZ(s,l,d){const u=l.x,m=l.y;return(d.x-u)*(s.y-m)-(d.y-m)*(s.x-u)}}class un{constructor(s,l){this.bits=s,this.points=l}getBits(){return this.bits}getPoints(){return this.points}}class Ni extends un{constructor(s,l,d,u,m){super(s,l),this.compact=d,this.nbDatablocks=u,this.nbLayers=m}getNbLayers(){return this.nbLayers}getNbDatablocks(){return this.nbDatablocks}isCompact(){return this.compact}}let Vi=(()=>{class Y{constructor(l,d,u,m){this.image=l,this.height=l.getHeight(),this.width=l.getWidth(),null==d&&(d=Y.INIT_SIZE),null==u&&(u=l.getWidth()/2|0),null==m&&(m=l.getHeight()/2|0);const p=d/2|0;if(this.leftInit=u-p,this.rightInit=u+p,this.upInit=m-p,this.downInit=m+p,this.upInit<0||this.leftInit<0||this.downInit>=this.height||this.rightInit>=this.width)throw new we}detect(){let l=this.leftInit,d=this.rightInit,u=this.upInit,m=this.downInit,p=!1,v=!0,M=!1,H=!1,q=!1,ue=!1,_e=!1;const ke=this.width,Ne=this.height;for(;v;){v=!1;let je=!0;for(;(je||!H)&&d<ke;)je=this.containsBlackPoint(u,m,d,!1),je?(d++,v=!0,H=!0):H||d++;if(d>=ke){p=!0;break}let Ye=!0;for(;(Ye||!q)&&m<Ne;)Ye=this.containsBlackPoint(l,d,m,!0),Ye?(m++,v=!0,q=!0):q||m++;if(m>=Ne){p=!0;break}let et=!0;for(;(et||!ue)&&l>=0;)et=this.containsBlackPoint(u,m,l,!1),et?(l--,v=!0,ue=!0):ue||l--;if(l<0){p=!0;break}let kt=!0;for(;(kt||!_e)&&u>=0;)kt=this.containsBlackPoint(l,d,u,!0),kt?(u--,v=!0,_e=!0):_e||u--;if(u<0){p=!0;break}v&&(M=!0)}if(!p&&M){const je=d-l;let Ye=null;for(let ct=1;null===Ye&&ct<je;ct++)Ye=this.getBlackPointOnSegment(l,m-ct,l+ct,m);if(null==Ye)throw new we;let et=null;for(let ct=1;null===et&&ct<je;ct++)et=this.getBlackPointOnSegment(l,u+ct,l+ct,u);if(null==et)throw new we;let kt=null;for(let ct=1;null===kt&&ct<je;ct++)kt=this.getBlackPointOnSegment(d,u+ct,d-ct,u);if(null==kt)throw new we;let Wt=null;for(let ct=1;null===Wt&&ct<je;ct++)Wt=this.getBlackPointOnSegment(d,m-ct,d-ct,m);if(null==Wt)throw new we;return this.centerEdges(Wt,Ye,kt,et)}throw new we}getBlackPointOnSegment(l,d,u,m){const p=$t.round($t.distance(l,d,u,m)),v=(u-l)/p,M=(m-d)/p,H=this.image;for(let q=0;q<p;q++){const ue=$t.round(l+q*v),_e=$t.round(d+q*M);if(H.get(ue,_e))return new vt(ue,_e)}return null}centerEdges(l,d,u,m){const p=l.getX(),v=l.getY(),M=d.getX(),H=d.getY(),q=u.getX(),ue=u.getY(),_e=m.getX(),ke=m.getY(),Ne=Y.CORR;return p<this.width/2?[new vt(_e-Ne,ke+Ne),new vt(M+Ne,H+Ne),new vt(q-Ne,ue-Ne),new vt(p+Ne,v-Ne)]:[new vt(_e+Ne,ke+Ne),new vt(M+Ne,H-Ne),new vt(q-Ne,ue+Ne),new vt(p-Ne,v-Ne)]}containsBlackPoint(l,d,u,m){const p=this.image;if(m){for(let v=l;v<=d;v++)if(p.get(v,u))return!0}else for(let v=l;v<=d;v++)if(p.get(u,v))return!0;return!1}}return Y.INIT_SIZE=10,Y.CORR=1,Y})();class fa{static checkAndNudgePoints(s,l){const d=s.getWidth(),u=s.getHeight();let m=!0;for(let p=0;p<l.length&&m;p+=2){const v=Math.floor(l[p]),M=Math.floor(l[p+1]);if(v<-1||v>d||M<-1||M>u)throw new we;m=!1,-1===v?(l[p]=0,m=!0):v===d&&(l[p]=d-1,m=!0),-1===M?(l[p+1]=0,m=!0):M===u&&(l[p+1]=u-1,m=!0)}m=!0;for(let p=l.length-2;p>=0&&m;p-=2){const v=Math.floor(l[p]),M=Math.floor(l[p+1]);if(v<-1||v>d||M<-1||M>u)throw new we;m=!1,-1===v?(l[p]=0,m=!0):v===d&&(l[p]=d-1,m=!0),-1===M?(l[p+1]=0,m=!0):M===u&&(l[p+1]=u-1,m=!0)}}}class $i{constructor(s,l,d,u,m,p,v,M,H){this.a11=s,this.a21=l,this.a31=d,this.a12=u,this.a22=m,this.a32=p,this.a13=v,this.a23=M,this.a33=H}static quadrilateralToQuadrilateral(s,l,d,u,m,p,v,M,H,q,ue,_e,ke,Ne,je,Ye){const et=$i.quadrilateralToSquare(s,l,d,u,m,p,v,M);return $i.squareToQuadrilateral(H,q,ue,_e,ke,Ne,je,Ye).times(et)}transformPoints(s){const l=s.length,d=this.a11,u=this.a12,m=this.a13,p=this.a21,v=this.a22,M=this.a23,H=this.a31,q=this.a32,ue=this.a33;for(let _e=0;_e<l;_e+=2){const ke=s[_e],Ne=s[_e+1],je=m*ke+M*Ne+ue;s[_e]=(d*ke+p*Ne+H)/je,s[_e+1]=(u*ke+v*Ne+q)/je}}transformPointsWithValues(s,l){const d=this.a11,u=this.a12,m=this.a13,p=this.a21,v=this.a22,M=this.a23,H=this.a31,q=this.a32,ue=this.a33,_e=s.length;for(let ke=0;ke<_e;ke++){const Ne=s[ke],je=l[ke],Ye=m*Ne+M*je+ue;s[ke]=(d*Ne+p*je+H)/Ye,l[ke]=(u*Ne+v*je+q)/Ye}}static squareToQuadrilateral(s,l,d,u,m,p,v,M){const H=s-d+m-v,q=l-u+p-M;if(0===H&&0===q)return new $i(d-s,m-d,s,u-l,p-u,l,0,0,1);{const ue=d-m,_e=v-m,ke=u-p,Ne=M-p,je=ue*Ne-_e*ke,Ye=(H*Ne-_e*q)/je,et=(ue*q-H*ke)/je;return new $i(d-s+Ye*d,v-s+et*v,s,u-l+Ye*u,M-l+et*M,l,Ye,et,1)}}static quadrilateralToSquare(s,l,d,u,m,p,v,M){return $i.squareToQuadrilateral(s,l,d,u,m,p,v,M).buildAdjoint()}buildAdjoint(){return new $i(this.a22*this.a33-this.a23*this.a32,this.a23*this.a31-this.a21*this.a33,this.a21*this.a32-this.a22*this.a31,this.a13*this.a32-this.a12*this.a33,this.a11*this.a33-this.a13*this.a31,this.a12*this.a31-this.a11*this.a32,this.a12*this.a23-this.a13*this.a22,this.a13*this.a21-this.a11*this.a23,this.a11*this.a22-this.a12*this.a21)}times(s){return new $i(this.a11*s.a11+this.a21*s.a12+this.a31*s.a13,this.a11*s.a21+this.a21*s.a22+this.a31*s.a23,this.a11*s.a31+this.a21*s.a32+this.a31*s.a33,this.a12*s.a11+this.a22*s.a12+this.a32*s.a13,this.a12*s.a21+this.a22*s.a22+this.a32*s.a23,this.a12*s.a31+this.a22*s.a32+this.a32*s.a33,this.a13*s.a11+this.a23*s.a12+this.a33*s.a13,this.a13*s.a21+this.a23*s.a22+this.a33*s.a23,this.a13*s.a31+this.a23*s.a32+this.a33*s.a33)}}class fn extends fa{sampleGrid(s,l,d,u,m,p,v,M,H,q,ue,_e,ke,Ne,je,Ye,et,kt,Wt){const ct=$i.quadrilateralToQuadrilateral(u,m,p,v,M,H,q,ue,_e,ke,Ne,je,Ye,et,kt,Wt);return this.sampleGridWithTransform(s,l,d,ct)}sampleGridWithTransform(s,l,d,u){if(l<=0||d<=0)throw new we;const m=new ge(l,d),p=new Float32Array(2*l);for(let v=0;v<d;v++){const M=p.length,H=v+.5;for(let q=0;q<M;q+=2)p[q]=q/2+.5,p[q+1]=H;u.transformPoints(p),fa.checkAndNudgePoints(s,p);try{for(let q=0;q<M;q+=2)s.get(Math.floor(p[q]),Math.floor(p[q+1]))&&m.set(q/2,v)}catch{throw new we}}return m}}class Oi{static setGridSampler(s){Oi.gridSampler=s}static getInstance(){return Oi.gridSampler}}Oi.gridSampler=new fn;class Ji{constructor(s,l){this.x=s,this.y=l}toResultPoint(){return new vt(this.getX(),this.getY())}getX(){return this.x}getY(){return this.y}}class Ri{constructor(s){this.EXPECTED_CORNER_BITS=new Int32Array([3808,476,2107,1799]),this.image=s}detect(){return this.detectMirror(!1)}detectMirror(s){let l=this.getMatrixCenter(),d=this.getBullsEyeCorners(l);if(s){let p=d[0];d[0]=d[2],d[2]=p}this.extractParameters(d);let u=this.sampleGrid(this.image,d[this.shift%4],d[(this.shift+1)%4],d[(this.shift+2)%4],d[(this.shift+3)%4]),m=this.getMatrixCornerPoints(d);return new Ni(u,m,this.compact,this.nbDataBlocks,this.nbLayers)}extractParameters(s){if(!(this.isValidPoint(s[0])&&this.isValidPoint(s[1])&&this.isValidPoint(s[2])&&this.isValidPoint(s[3])))throw new we;let l=2*this.nbCenterLayers,d=new Int32Array([this.sampleLine(s[0],s[1],l),this.sampleLine(s[1],s[2],l),this.sampleLine(s[2],s[3],l),this.sampleLine(s[3],s[0],l)]);this.shift=this.getRotation(d,l);let u=0;for(let p=0;p<4;p++){let v=d[(this.shift+p)%4];this.compact?(u<<=7,u+=v>>1&127):(u<<=10,u+=(v>>2&992)+(v>>1&31))}let m=this.getCorrectedParameterData(u,this.compact);this.compact?(this.nbLayers=1+(m>>6),this.nbDataBlocks=1+(63&m)):(this.nbLayers=1+(m>>11),this.nbDataBlocks=1+(2047&m))}getRotation(s,l){let d=0;s.forEach((u,m,p)=>{d=(u>>l-2<<1)+(1&u)+(d<<3)}),d=((1&d)<<11)+(d>>1);for(let u=0;u<4;u++)if(G.bitCount(d^this.EXPECTED_CORNER_BITS[u])<=2)return u;throw new we}getCorrectedParameterData(s,l){let d,u;l?(d=7,u=2):(d=10,u=4);let m=d-u,p=new Int32Array(d);for(let M=d-1;M>=0;--M)p[M]=15&s,s>>=4;try{new Ge(xi.AZTEC_PARAM).decode(p,m)}catch{throw new we}let v=0;for(let M=0;M<u;M++)v=(v<<4)+p[M];return v}getBullsEyeCorners(s){let l=s,d=s,u=s,m=s,p=!0;for(this.nbCenterLayers=1;this.nbCenterLayers<9;this.nbCenterLayers++){let ue=this.getFirstDifferent(l,p,1,-1),_e=this.getFirstDifferent(d,p,1,1),ke=this.getFirstDifferent(u,p,-1,1),Ne=this.getFirstDifferent(m,p,-1,-1);if(this.nbCenterLayers>2){let je=this.distancePoint(Ne,ue)*this.nbCenterLayers/(this.distancePoint(m,l)*(this.nbCenterLayers+2));if(je<.75||je>1.25||!this.isWhiteOrBlackRectangle(ue,_e,ke,Ne))break}l=ue,d=_e,u=ke,m=Ne,p=!p}if(5!==this.nbCenterLayers&&7!==this.nbCenterLayers)throw new we;this.compact=5===this.nbCenterLayers;let v=new vt(l.getX()+.5,l.getY()-.5),M=new vt(d.getX()+.5,d.getY()+.5),H=new vt(u.getX()-.5,u.getY()+.5),q=new vt(m.getX()-.5,m.getY()-.5);return this.expandSquare([v,M,H,q],2*this.nbCenterLayers-3,2*this.nbCenterLayers)}getMatrixCenter(){let s,l,d,u;try{let v=new Vi(this.image).detect();s=v[0],l=v[1],d=v[2],u=v[3]}catch{let M=this.image.getWidth()/2,H=this.image.getHeight()/2;s=this.getFirstDifferent(new Ji(M+7,H-7),!1,1,-1).toResultPoint(),l=this.getFirstDifferent(new Ji(M+7,H+7),!1,1,1).toResultPoint(),d=this.getFirstDifferent(new Ji(M-7,H+7),!1,-1,1).toResultPoint(),u=this.getFirstDifferent(new Ji(M-7,H-7),!1,-1,-1).toResultPoint()}let m=$t.round((s.getX()+u.getX()+l.getX()+d.getX())/4),p=$t.round((s.getY()+u.getY()+l.getY()+d.getY())/4);try{let v=new Vi(this.image,15,m,p).detect();s=v[0],l=v[1],d=v[2],u=v[3]}catch{s=this.getFirstDifferent(new Ji(m+7,p-7),!1,1,-1).toResultPoint(),l=this.getFirstDifferent(new Ji(m+7,p+7),!1,1,1).toResultPoint(),d=this.getFirstDifferent(new Ji(m-7,p+7),!1,-1,1).toResultPoint(),u=this.getFirstDifferent(new Ji(m-7,p-7),!1,-1,-1).toResultPoint()}return m=$t.round((s.getX()+u.getX()+l.getX()+d.getX())/4),p=$t.round((s.getY()+u.getY()+l.getY()+d.getY())/4),new Ji(m,p)}getMatrixCornerPoints(s){return this.expandSquare(s,2*this.nbCenterLayers,this.getDimension())}sampleGrid(s,l,d,u,m){let p=Oi.getInstance(),v=this.getDimension(),M=v/2-this.nbCenterLayers,H=v/2+this.nbCenterLayers;return p.sampleGrid(s,v,v,M,M,H,M,H,H,M,H,l.getX(),l.getY(),d.getX(),d.getY(),u.getX(),u.getY(),m.getX(),m.getY())}sampleLine(s,l,d){let u=0,m=this.distanceResultPoint(s,l),p=m/d,v=s.getX(),M=s.getY(),H=p*(l.getX()-s.getX())/m,q=p*(l.getY()-s.getY())/m;for(let ue=0;ue<d;ue++)this.image.get($t.round(v+ue*H),$t.round(M+ue*q))&&(u|=1<<d-ue-1);return u}isWhiteOrBlackRectangle(s,l,d,u){s=new Ji(s.getX()-3,s.getY()+3),l=new Ji(l.getX()-3,l.getY()-3),d=new Ji(d.getX()+3,d.getY()-3),u=new Ji(u.getX()+3,u.getY()+3);let p=this.getColor(u,s);if(0===p)return!1;let v=this.getColor(s,l);return v===p&&(v=this.getColor(l,d),v===p)&&(v=this.getColor(d,u),v===p)}getColor(s,l){let d=this.distancePoint(s,l),u=(l.getX()-s.getX())/d,m=(l.getY()-s.getY())/d,p=0,v=s.getX(),M=s.getY(),H=this.image.get(s.getX(),s.getY()),q=Math.ceil(d);for(let _e=0;_e<q;_e++)v+=u,M+=m,this.image.get($t.round(v),$t.round(M))!==H&&p++;let ue=p/d;return ue>.1&&ue<.9?0:ue<=.1===H?1:-1}getFirstDifferent(s,l,d,u){let m=s.getX()+d,p=s.getY()+u;for(;this.isValid(m,p)&&this.image.get(m,p)===l;)m+=d,p+=u;for(m-=d,p-=u;this.isValid(m,p)&&this.image.get(m,p)===l;)m+=d;for(m-=d;this.isValid(m,p)&&this.image.get(m,p)===l;)p+=u;return p-=u,new Ji(m,p)}expandSquare(s,l,d){let u=d/(2*l),m=s[0].getX()-s[2].getX(),p=s[0].getY()-s[2].getY(),v=(s[0].getX()+s[2].getX())/2,M=(s[0].getY()+s[2].getY())/2,H=new vt(v+u*m,M+u*p),q=new vt(v-u*m,M-u*p);return m=s[1].getX()-s[3].getX(),p=s[1].getY()-s[3].getY(),v=(s[1].getX()+s[3].getX())/2,M=(s[1].getY()+s[3].getY())/2,[H,new vt(v+u*m,M+u*p),q,new vt(v-u*m,M-u*p)]}isValid(s,l){return s>=0&&s<this.image.getWidth()&&l>0&&l<this.image.getHeight()}isValidPoint(s){let l=$t.round(s.getX()),d=$t.round(s.getY());return this.isValid(l,d)}distancePoint(s,l){return $t.distance(s.getX(),s.getY(),l.getX(),l.getY())}distanceResultPoint(s,l){return $t.distance(s.getX(),s.getY(),l.getX(),l.getY())}getDimension(){return this.compact?4*this.nbLayers+11:this.nbLayers<=4?4*this.nbLayers+15:4*this.nbLayers+2*(G.truncDivision(this.nbLayers-4,8)+1)+15}}class Qr{decode(s,l=null){let d=null,u=new Ri(s.getBlackMatrix()),m=null,p=null;try{let q=u.detectMirror(!1);m=q.getPoints(),this.reportFoundResultPoints(l,m),p=(new fi).decode(q)}catch(q){d=q}if(null==p)try{let q=u.detectMirror(!0);m=q.getPoints(),this.reportFoundResultPoints(l,m),p=(new fi).decode(q)}catch(q){throw d??q}let v=new He(p.getText(),p.getRawBytes(),p.getNumBits(),m,nt.AZTEC,V.currentTimeMillis()),M=p.getByteSegments();null!=M&&v.putMetadata(Ut.BYTE_SEGMENTS,M);let H=p.getECLevel();return null!=H&&v.putMetadata(Ut.ERROR_CORRECTION_LEVEL,H),v}reportFoundResultPoints(s,l){if(null!=s){let d=s.get(le.NEED_RESULT_POINT_CALLBACK);null!=d&&l.forEach((u,m,p)=>{d.foundPossibleResultPoint(u)})}}reset(){}}class mr{decode(s,l){try{return this.doDecode(s,l)}catch{if(l&&!0===l.get(le.TRY_HARDER)&&s.isRotateSupported()){const m=s.rotateCounterClockwise(),p=this.doDecode(m,l),v=p.getResultMetadata();let M=270;null!==v&&!0===v.get(Ut.ORIENTATION)&&(M+=v.get(Ut.ORIENTATION)%360),p.putMetadata(Ut.ORIENTATION,M);const H=p.getResultPoints();if(null!==H){const q=m.getHeight();for(let ue=0;ue<H.length;ue++)H[ue]=new vt(q-H[ue].getY()-1,H[ue].getX())}return p}throw new we}}reset(){}doDecode(s,l){const d=s.getWidth(),u=s.getHeight();let m=new z(d);const p=l&&!0===l.get(le.TRY_HARDER),v=Math.max(1,u>>(p?8:5));let M;M=p?u:15;const H=Math.trunc(u/2);for(let q=0;q<M;q++){const ue=Math.trunc((q+1)/2),ke=H+v*(0==(1&q)?ue:-ue);if(ke<0||ke>=u)break;try{m=s.getBlackRow(ke,m)}catch{continue}for(let Ne=0;Ne<2;Ne++){if(1===Ne&&(m.reverse(),l&&!0===l.get(le.NEED_RESULT_POINT_CALLBACK))){const je=new Map;l.forEach((Ye,et)=>je.set(et,Ye)),je.delete(le.NEED_RESULT_POINT_CALLBACK),l=je}try{const je=this.decodeRow(ke,m,l);if(1===Ne){je.putMetadata(Ut.ORIENTATION,180);const Ye=je.getResultPoints();null!==Ye&&(Ye[0]=new vt(d-Ye[0].getX()-1,Ye[0].getY()),Ye[1]=new vt(d-Ye[1].getX()-1,Ye[1].getY()))}return je}catch{}}}throw new we}static recordPattern(s,l,d){const u=d.length;for(let H=0;H<u;H++)d[H]=0;const m=s.getSize();if(l>=m)throw new we;let p=!s.get(l),v=0,M=l;for(;M<m;){if(s.get(M)!==p)d[v]++;else{if(++v===u)break;d[v]=1,p=!p}M++}if(v!==u&&(v!==u-1||M!==m))throw new we}static recordPatternInReverse(s,l,d){let u=d.length,m=s.get(l);for(;l>0&&u>=0;)s.get(--l)!==m&&(u--,m=!m);if(u>=0)throw new we;mr.recordPattern(s,l+1,d)}static patternMatchVariance(s,l,d){const u=s.length;let m=0,p=0;for(let H=0;H<u;H++)m+=s[H],p+=l[H];if(m<p)return Number.POSITIVE_INFINITY;const v=m/p;d*=v;let M=0;for(let H=0;H<u;H++){const q=s[H],ue=l[H]*v,_e=q>ue?q-ue:ue-q;if(_e>d)return Number.POSITIVE_INFINITY;M+=_e}return M/m}}class Ot extends mr{static findStartPattern(s){const l=s.getSize(),d=s.getNextSet(0);let u=0,m=Int32Array.from([0,0,0,0,0,0]),p=d,v=!1;for(let H=d;H<l;H++)if(s.get(H)!==v)m[u]++;else{if(5===u){let q=Ot.MAX_AVG_VARIANCE,ue=-1;for(let _e=Ot.CODE_START_A;_e<=Ot.CODE_START_C;_e++){const ke=mr.patternMatchVariance(m,Ot.CODE_PATTERNS[_e],Ot.MAX_INDIVIDUAL_VARIANCE);ke<q&&(q=ke,ue=_e)}if(ue>=0&&s.isRange(Math.max(0,p-(H-p)/2),p,!1))return Int32Array.from([p,H,ue]);p+=m[0]+m[1],m=m.slice(2,m.length-1),m[u-1]=0,m[u]=0,u--}else u++;m[u]=1,v=!v}throw new we}static decodeCode(s,l,d){mr.recordPattern(s,d,l);let u=Ot.MAX_AVG_VARIANCE,m=-1;for(let p=0;p<Ot.CODE_PATTERNS.length;p++){const M=this.patternMatchVariance(l,Ot.CODE_PATTERNS[p],Ot.MAX_INDIVIDUAL_VARIANCE);M<u&&(u=M,m=p)}if(m>=0)return m;throw new we}decodeRow(s,l,d){const u=d&&!0===d.get(le.ASSUME_GS1),m=Ot.findStartPattern(l),p=m[2];let v=0;const M=new Uint8Array(20);let H;switch(M[v++]=p,p){case Ot.CODE_START_A:H=Ot.CODE_CODE_A;break;case Ot.CODE_START_B:H=Ot.CODE_CODE_B;break;case Ot.CODE_START_C:H=Ot.CODE_CODE_C;break;default:throw new ie}let q=!1,ue=!1,_e="",ke=m[0],Ne=m[1];const je=Int32Array.from([0,0,0,0,0,0]);let Ye=0,et=0,kt=p,Wt=0,ct=!0,Ii=!1,Fi=!1;for(;!q;){const ul=ue;switch(ue=!1,Ye=et,et=Ot.decodeCode(l,je,Ne),M[v++]=et,et!==Ot.CODE_STOP&&(ct=!0),et!==Ot.CODE_STOP&&(Wt++,kt+=Wt*et),ke=Ne,Ne+=je.reduce((hu,mu)=>hu+mu,0),et){case Ot.CODE_START_A:case Ot.CODE_START_B:case Ot.CODE_START_C:throw new ie}switch(H){case Ot.CODE_CODE_A:if(et<64)_e+=String.fromCharCode(Fi===Ii?" ".charCodeAt(0)+et:" ".charCodeAt(0)+et+128),Fi=!1;else if(et<96)_e+=String.fromCharCode(Fi===Ii?et-64:et+64),Fi=!1;else switch(et!==Ot.CODE_STOP&&(ct=!1),et){case Ot.CODE_FNC_1:u&&(_e+=0===_e.length?"]C1":String.fromCharCode(29));break;case Ot.CODE_FNC_2:case Ot.CODE_FNC_3:break;case Ot.CODE_FNC_4_A:!Ii&&Fi?(Ii=!0,Fi=!1):Ii&&Fi?(Ii=!1,Fi=!1):Fi=!0;break;case Ot.CODE_SHIFT:ue=!0,H=Ot.CODE_CODE_B;break;case Ot.CODE_CODE_B:H=Ot.CODE_CODE_B;break;case Ot.CODE_CODE_C:H=Ot.CODE_CODE_C;break;case Ot.CODE_STOP:q=!0}break;case Ot.CODE_CODE_B:if(et<96)_e+=String.fromCharCode(Fi===Ii?" ".charCodeAt(0)+et:" ".charCodeAt(0)+et+128),Fi=!1;else switch(et!==Ot.CODE_STOP&&(ct=!1),et){case Ot.CODE_FNC_1:u&&(_e+=0===_e.length?"]C1":String.fromCharCode(29));break;case Ot.CODE_FNC_2:case Ot.CODE_FNC_3:break;case Ot.CODE_FNC_4_B:!Ii&&Fi?(Ii=!0,Fi=!1):Ii&&Fi?(Ii=!1,Fi=!1):Fi=!0;break;case Ot.CODE_SHIFT:ue=!0,H=Ot.CODE_CODE_A;break;case Ot.CODE_CODE_A:H=Ot.CODE_CODE_A;break;case Ot.CODE_CODE_C:H=Ot.CODE_CODE_C;break;case Ot.CODE_STOP:q=!0}break;case Ot.CODE_CODE_C:if(et<100)et<10&&(_e+="0"),_e+=et;else switch(et!==Ot.CODE_STOP&&(ct=!1),et){case Ot.CODE_FNC_1:u&&(_e+=0===_e.length?"]C1":String.fromCharCode(29));break;case Ot.CODE_CODE_A:H=Ot.CODE_CODE_A;break;case Ot.CODE_CODE_B:H=Ot.CODE_CODE_B;break;case Ot.CODE_STOP:q=!0}}ul&&(H=H===Ot.CODE_CODE_A?Ot.CODE_CODE_B:Ot.CODE_CODE_A)}const Er=Ne-ke;if(Ne=l.getNextUnset(Ne),!l.isRange(Ne,Math.min(l.getSize(),Ne+(Ne-ke)/2),!1))throw new we;if(kt-=Wt*Ye,kt%103!==Ye)throw new Z;const Jr=_e.length;if(0===Jr)throw new we;Jr>0&&ct&&(_e=_e.substring(0,H===Ot.CODE_CODE_C?Jr-2:Jr-1));const ga=(m[1]+m[0])/2,dr=ke+Er/2,dn=M.length,qo=new Uint8Array(dn);for(let ul=0;ul<dn;ul++)qo[ul]=M[ul];const dl=[new vt(ga,s),new vt(dr,s)];return new He(_e,qo,0,dl,nt.CODE_128,(new Date).getTime())}}Ot.CODE_PATTERNS=[Int32Array.from([2,1,2,2,2,2]),Int32Array.from([2,2,2,1,2,2]),Int32Array.from([2,2,2,2,2,1]),Int32Array.from([1,2,1,2,2,3]),Int32Array.from([1,2,1,3,2,2]),Int32Array.from([1,3,1,2,2,2]),Int32Array.from([1,2,2,2,1,3]),Int32Array.from([1,2,2,3,1,2]),Int32Array.from([1,3,2,2,1,2]),Int32Array.from([2,2,1,2,1,3]),Int32Array.from([2,2,1,3,1,2]),Int32Array.from([2,3,1,2,1,2]),Int32Array.from([1,1,2,2,3,2]),Int32Array.from([1,2,2,1,3,2]),Int32Array.from([1,2,2,2,3,1]),Int32Array.from([1,1,3,2,2,2]),Int32Array.from([1,2,3,1,2,2]),Int32Array.from([1,2,3,2,2,1]),Int32Array.from([2,2,3,2,1,1]),Int32Array.from([2,2,1,1,3,2]),Int32Array.from([2,2,1,2,3,1]),Int32Array.from([2,1,3,2,1,2]),Int32Array.from([2,2,3,1,1,2]),Int32Array.from([3,1,2,1,3,1]),Int32Array.from([3,1,1,2,2,2]),Int32Array.from([3,2,1,1,2,2]),Int32Array.from([3,2,1,2,2,1]),Int32Array.from([3,1,2,2,1,2]),Int32Array.from([3,2,2,1,1,2]),Int32Array.from([3,2,2,2,1,1]),Int32Array.from([2,1,2,1,2,3]),Int32Array.from([2,1,2,3,2,1]),Int32Array.from([2,3,2,1,2,1]),Int32Array.from([1,1,1,3,2,3]),Int32Array.from([1,3,1,1,2,3]),Int32Array.from([1,3,1,3,2,1]),Int32Array.from([1,1,2,3,1,3]),Int32Array.from([1,3,2,1,1,3]),Int32Array.from([1,3,2,3,1,1]),Int32Array.from([2,1,1,3,1,3]),Int32Array.from([2,3,1,1,1,3]),Int32Array.from([2,3,1,3,1,1]),Int32Array.from([1,1,2,1,3,3]),Int32Array.from([1,1,2,3,3,1]),Int32Array.from([1,3,2,1,3,1]),Int32Array.from([1,1,3,1,2,3]),Int32Array.from([1,1,3,3,2,1]),Int32Array.from([1,3,3,1,2,1]),Int32Array.from([3,1,3,1,2,1]),Int32Array.from([2,1,1,3,3,1]),Int32Array.from([2,3,1,1,3,1]),Int32Array.from([2,1,3,1,1,3]),Int32Array.from([2,1,3,3,1,1]),Int32Array.from([2,1,3,1,3,1]),Int32Array.from([3,1,1,1,2,3]),Int32Array.from([3,1,1,3,2,1]),Int32Array.from([3,3,1,1,2,1]),Int32Array.from([3,1,2,1,1,3]),Int32Array.from([3,1,2,3,1,1]),Int32Array.from([3,3,2,1,1,1]),Int32Array.from([3,1,4,1,1,1]),Int32Array.from([2,2,1,4,1,1]),Int32Array.from([4,3,1,1,1,1]),Int32Array.from([1,1,1,2,2,4]),Int32Array.from([1,1,1,4,2,2]),Int32Array.from([1,2,1,1,2,4]),Int32Array.from([1,2,1,4,2,1]),Int32Array.from([1,4,1,1,2,2]),Int32Array.from([1,4,1,2,2,1]),Int32Array.from([1,1,2,2,1,4]),Int32Array.from([1,1,2,4,1,2]),Int32Array.from([1,2,2,1,1,4]),Int32Array.from([1,2,2,4,1,1]),Int32Array.from([1,4,2,1,1,2]),Int32Array.from([1,4,2,2,1,1]),Int32Array.from([2,4,1,2,1,1]),Int32Array.from([2,2,1,1,1,4]),Int32Array.from([4,1,3,1,1,1]),Int32Array.from([2,4,1,1,1,2]),Int32Array.from([1,3,4,1,1,1]),Int32Array.from([1,1,1,2,4,2]),Int32Array.from([1,2,1,1,4,2]),Int32Array.from([1,2,1,2,4,1]),Int32Array.from([1,1,4,2,1,2]),Int32Array.from([1,2,4,1,1,2]),Int32Array.from([1,2,4,2,1,1]),Int32Array.from([4,1,1,2,1,2]),Int32Array.from([4,2,1,1,1,2]),Int32Array.from([4,2,1,2,1,1]),Int32Array.from([2,1,2,1,4,1]),Int32Array.from([2,1,4,1,2,1]),Int32Array.from([4,1,2,1,2,1]),Int32Array.from([1,1,1,1,4,3]),Int32Array.from([1,1,1,3,4,1]),Int32Array.from([1,3,1,1,4,1]),Int32Array.from([1,1,4,1,1,3]),Int32Array.from([1,1,4,3,1,1]),Int32Array.from([4,1,1,1,1,3]),Int32Array.from([4,1,1,3,1,1]),Int32Array.from([1,1,3,1,4,1]),Int32Array.from([1,1,4,1,3,1]),Int32Array.from([3,1,1,1,4,1]),Int32Array.from([4,1,1,1,3,1]),Int32Array.from([2,1,1,4,1,2]),Int32Array.from([2,1,1,2,1,4]),Int32Array.from([2,1,1,2,3,2]),Int32Array.from([2,3,3,1,1,1,2])],Ot.MAX_AVG_VARIANCE=.25,Ot.MAX_INDIVIDUAL_VARIANCE=.7,Ot.CODE_SHIFT=98,Ot.CODE_CODE_C=99,Ot.CODE_CODE_B=100,Ot.CODE_CODE_A=101,Ot.CODE_FNC_1=102,Ot.CODE_FNC_2=97,Ot.CODE_FNC_3=96,Ot.CODE_FNC_4_A=101,Ot.CODE_FNC_4_B=100,Ot.CODE_START_A=103,Ot.CODE_START_B=104,Ot.CODE_START_C=105,Ot.CODE_STOP=106;let Po=(()=>{class Y extends mr{constructor(l=!1,d=!1){super(),this.usingCheckDigit=l,this.extendedMode=d,this.decodeRowResult="",this.counters=new Int32Array(9)}decodeRow(l,d,u){let m=this.counters;m.fill(0),this.decodeRowResult="";let H,q,p=Y.findAsteriskPattern(d,m),v=d.getNextSet(p[1]),M=d.getSize();do{Y.recordPattern(d,v,m);let Ye=Y.toNarrowWidePattern(m);if(Ye<0)throw new we;H=Y.patternToChar(Ye),this.decodeRowResult+=H,q=v;for(let et of m)v+=et;v=d.getNextSet(v)}while("*"!==H);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);let ke,ue=0;for(let Ye of m)ue+=Ye;if(v!==M&&2*(v-q-ue)<ue)throw new we;if(this.usingCheckDigit){let Ye=this.decodeRowResult.length-1,et=0;for(let kt=0;kt<Ye;kt++)et+=Y.ALPHABET_STRING.indexOf(this.decodeRowResult.charAt(kt));if(this.decodeRowResult.charAt(Ye)!==Y.ALPHABET_STRING.charAt(et%43))throw new Z;this.decodeRowResult=this.decodeRowResult.substring(0,Ye)}if(0===this.decodeRowResult.length)throw new we;ke=this.extendedMode?Y.decodeExtended(this.decodeRowResult):this.decodeRowResult;let je=q+ue/2;return new He(ke,null,0,[new vt((p[1]+p[0])/2,l),new vt(je,l)],nt.CODE_39,(new Date).getTime())}static findAsteriskPattern(l,d){let u=l.getSize(),m=l.getNextSet(0),p=0,v=m,M=!1,H=d.length;for(let q=m;q<u;q++)if(l.get(q)!==M)d[p]++;else{if(p===H-1){if(this.toNarrowWidePattern(d)===Y.ASTERISK_ENCODING&&l.isRange(Math.max(0,v-Math.floor((q-v)/2)),v,!1))return[v,q];v+=d[0]+d[1],d.copyWithin(0,2,2+p-1),d[p-1]=0,d[p]=0,p--}else p++;d[p]=1,M=!M}throw new we}static toNarrowWidePattern(l){let m,d=l.length,u=0;do{let p=2147483647;for(let H of l)H<p&&H>u&&(p=H);u=p,m=0;let v=0,M=0;for(let H=0;H<d;H++){let q=l[H];q>u&&(M|=1<<d-1-H,m++,v+=q)}if(3===m){for(let H=0;H<d&&m>0;H++){let q=l[H];if(q>u&&(m--,2*q>=v))return-1}return M}}while(m>3);return-1}static patternToChar(l){for(let d=0;d<Y.CHARACTER_ENCODINGS.length;d++)if(Y.CHARACTER_ENCODINGS[d]===l)return Y.ALPHABET_STRING.charAt(d);if(l===Y.ASTERISK_ENCODING)return"*";throw new we}static decodeExtended(l){let d=l.length,u="";for(let m=0;m<d;m++){let p=l.charAt(m);if("+"===p||"$"===p||"%"===p||"/"===p){let v=l.charAt(m+1),M="\0";switch(p){case"+":if(!(v>="A"&&v<="Z"))throw new ie;M=String.fromCharCode(v.charCodeAt(0)+32);break;case"$":if(!(v>="A"&&v<="Z"))throw new ie;M=String.fromCharCode(v.charCodeAt(0)-64);break;case"%":if(v>="A"&&v<="E")M=String.fromCharCode(v.charCodeAt(0)-38);else if(v>="F"&&v<="J")M=String.fromCharCode(v.charCodeAt(0)-11);else if(v>="K"&&v<="O")M=String.fromCharCode(v.charCodeAt(0)+16);else if(v>="P"&&v<="T")M=String.fromCharCode(v.charCodeAt(0)+43);else if("U"===v)M="\0";else if("V"===v)M="@";else if("W"===v)M="`";else{if("X"!==v&&"Y"!==v&&"Z"!==v)throw new ie;M="\x7f"}break;case"/":if(v>="A"&&v<="O")M=String.fromCharCode(v.charCodeAt(0)-32);else{if("Z"!==v)throw new ie;M=":"}}u+=M,m++}else u+=p}return u}}return Y.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%",Y.CHARACTER_ENCODINGS=[52,289,97,352,49,304,112,37,292,100,265,73,328,25,280,88,13,268,76,28,259,67,322,19,274,82,7,262,70,22,385,193,448,145,400,208,133,388,196,168,162,138,42],Y.ASTERISK_ENCODING=148,Y})();class Ue extends mr{constructor(){super(...arguments),this.narrowLineWidth=-1}decodeRow(s,l,d){let u=this.decodeStart(l),m=this.decodeEnd(l),p=new me;Ue.decodeMiddle(l,u[1],m[0],p);let v=p.toString(),M=null;null!=d&&(M=d.get(le.ALLOWED_LENGTHS)),null==M&&(M=Ue.DEFAULT_ALLOWED_LENGTHS);let H=v.length,q=!1,ue=0;for(let Ne of M){if(H===Ne){q=!0;break}Ne>ue&&(ue=Ne)}if(!q&&H>ue&&(q=!0),!q)throw new ie;const _e=[new vt(u[1],s),new vt(m[0],s)];return new He(v,null,0,_e,nt.ITF,(new Date).getTime())}static decodeMiddle(s,l,d,u){let m=new Int32Array(10),p=new Int32Array(5),v=new Int32Array(5);for(m.fill(0),p.fill(0),v.fill(0);l<d;){mr.recordPattern(s,l,m);for(let H=0;H<5;H++){let q=2*H;p[H]=m[q],v[H]=m[q+1]}let M=Ue.decodeDigit(p);u.append(M.toString()),M=this.decodeDigit(v),u.append(M.toString()),m.forEach(function(H){l+=H})}}decodeStart(s){let l=Ue.skipWhiteSpace(s),d=Ue.findGuardPattern(s,l,Ue.START_PATTERN);return this.narrowLineWidth=(d[1]-d[0])/4,this.validateQuietZone(s,d[0]),d}validateQuietZone(s,l){let d=10*this.narrowLineWidth;d=d<l?d:l;for(let u=l-1;d>0&&u>=0&&!s.get(u);u--)d--;if(0!==d)throw new we}static skipWhiteSpace(s){const l=s.getSize(),d=s.getNextSet(0);if(d===l)throw new we;return d}decodeEnd(s){s.reverse();try{let d,l=Ue.skipWhiteSpace(s);try{d=Ue.findGuardPattern(s,l,Ue.END_PATTERN_REVERSED[0])}catch(m){m instanceof we&&(d=Ue.findGuardPattern(s,l,Ue.END_PATTERN_REVERSED[1]))}this.validateQuietZone(s,d[0]);let u=d[0];return d[0]=s.getSize()-d[1],d[1]=s.getSize()-u,d}finally{s.reverse()}}static findGuardPattern(s,l,d){let u=d.length,m=new Int32Array(u),p=s.getSize(),v=!1,M=0,H=l;m.fill(0);for(let q=l;q<p;q++)if(s.get(q)!==v)m[M]++;else{if(M===u-1){if(mr.patternMatchVariance(m,d,Ue.MAX_INDIVIDUAL_VARIANCE)<Ue.MAX_AVG_VARIANCE)return[H,q];H+=m[0]+m[1],V.arraycopy(m,2,m,0,M-1),m[M-1]=0,m[M]=0,M--}else M++;m[M]=1,v=!v}throw new we}static decodeDigit(s){let l=Ue.MAX_AVG_VARIANCE,d=-1,u=Ue.PATTERNS.length;for(let m=0;m<u;m++){let v=mr.patternMatchVariance(s,Ue.PATTERNS[m],Ue.MAX_INDIVIDUAL_VARIANCE);v<l?(l=v,d=m):v===l&&(d=-1)}if(d>=0)return d%10;throw new we}}Ue.PATTERNS=[Int32Array.from([1,1,2,2,1]),Int32Array.from([2,1,1,1,2]),Int32Array.from([1,2,1,1,2]),Int32Array.from([2,2,1,1,1]),Int32Array.from([1,1,2,1,2]),Int32Array.from([2,1,2,1,1]),Int32Array.from([1,2,2,1,1]),Int32Array.from([1,1,1,2,2]),Int32Array.from([2,1,1,2,1]),Int32Array.from([1,2,1,2,1]),Int32Array.from([1,1,3,3,1]),Int32Array.from([3,1,1,1,3]),Int32Array.from([1,3,1,1,3]),Int32Array.from([3,3,1,1,1]),Int32Array.from([1,1,3,1,3]),Int32Array.from([3,1,3,1,1]),Int32Array.from([1,3,3,1,1]),Int32Array.from([1,1,1,3,3]),Int32Array.from([3,1,1,3,1]),Int32Array.from([1,3,1,3,1])],Ue.MAX_AVG_VARIANCE=.38,Ue.MAX_INDIVIDUAL_VARIANCE=.5,Ue.DEFAULT_ALLOWED_LENGTHS=[6,8,10,12,14],Ue.START_PATTERN=Int32Array.from([1,1,1,1]),Ue.END_PATTERN_REVERSED=[Int32Array.from([1,1,2]),Int32Array.from([1,1,3])];class We extends mr{constructor(){super(...arguments),this.decodeRowStringBuffer=""}static findStartGuardPattern(s){let d,l=!1,u=0,m=Int32Array.from([0,0,0]);for(;!l;){m=Int32Array.from([0,0,0]),d=We.findGuardPattern(s,u,!1,this.START_END_PATTERN,m);let p=d[0];u=d[1];let v=p-(u-p);v>=0&&(l=s.isRange(v,p,!1))}return d}static checkChecksum(s){return We.checkStandardUPCEANChecksum(s)}static checkStandardUPCEANChecksum(s){let l=s.length;if(0===l)return!1;let d=parseInt(s.charAt(l-1),10);return We.getStandardUPCEANChecksum(s.substring(0,l-1))===d}static getStandardUPCEANChecksum(s){let l=s.length,d=0;for(let u=l-1;u>=0;u-=2){let m=s.charAt(u).charCodeAt(0)-"0".charCodeAt(0);if(m<0||m>9)throw new ie;d+=m}d*=3;for(let u=l-2;u>=0;u-=2){let m=s.charAt(u).charCodeAt(0)-"0".charCodeAt(0);if(m<0||m>9)throw new ie;d+=m}return(1e3-d)%10}static decodeEnd(s,l){return We.findGuardPattern(s,l,!1,We.START_END_PATTERN,new Int32Array(We.START_END_PATTERN.length).fill(0))}static findGuardPatternWithoutCounters(s,l,d,u){return this.findGuardPattern(s,l,d,u,new Int32Array(u.length))}static findGuardPattern(s,l,d,u,m){let p=s.getSize(),v=0,M=l=d?s.getNextUnset(l):s.getNextSet(l),H=u.length,q=d;for(let ue=l;ue<p;ue++)if(s.get(ue)!==q)m[v]++;else{if(v===H-1){if(mr.patternMatchVariance(m,u,We.MAX_INDIVIDUAL_VARIANCE)<We.MAX_AVG_VARIANCE)return Int32Array.from([M,ue]);M+=m[0]+m[1];let _e=m.slice(2,m.length-1);for(let ke=0;ke<v-1;ke++)m[ke]=_e[ke];m[v-1]=0,m[v]=0,v--}else v++;m[v]=1,q=!q}throw new we}static decodeDigit(s,l,d,u){this.recordPattern(s,d,l);let m=this.MAX_AVG_VARIANCE,p=-1,v=u.length;for(let M=0;M<v;M++){let q=mr.patternMatchVariance(l,u[M],We.MAX_INDIVIDUAL_VARIANCE);q<m&&(m=q,p=M)}if(p>=0)return p;throw new we}}We.MAX_AVG_VARIANCE=.48,We.MAX_INDIVIDUAL_VARIANCE=.7,We.START_END_PATTERN=Int32Array.from([1,1,1]),We.MIDDLE_PATTERN=Int32Array.from([1,1,1,1,1]),We.END_PATTERN=Int32Array.from([1,1,1,1,1,1]),We.L_PATTERNS=[Int32Array.from([3,2,1,1]),Int32Array.from([2,2,2,1]),Int32Array.from([2,1,2,2]),Int32Array.from([1,4,1,1]),Int32Array.from([1,1,3,2]),Int32Array.from([1,2,3,1]),Int32Array.from([1,1,1,4]),Int32Array.from([1,3,1,2]),Int32Array.from([1,2,1,3]),Int32Array.from([3,1,1,2])];class pn{constructor(){this.CHECK_DIGIT_ENCODINGS=[24,20,18,17,12,6,3,10,9,5],this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}decodeRow(s,l,d){let u=this.decodeRowStringBuffer,m=this.decodeMiddle(l,d,u),p=u.toString(),v=pn.parseExtensionString(p),M=[new vt((d[0]+d[1])/2,s),new vt(m,s)],H=new He(p,null,0,M,nt.UPC_EAN_EXTENSION,(new Date).getTime());return null!=v&&H.putAllMetadata(v),H}decodeMiddle(s,l,d){let u=this.decodeMiddleCounters;u[0]=0,u[1]=0,u[2]=0,u[3]=0;let m=s.getSize(),p=l[1],v=0;for(let H=0;H<5&&p<m;H++){let q=We.decodeDigit(s,u,p,We.L_AND_G_PATTERNS);d+=String.fromCharCode("0".charCodeAt(0)+q%10);for(let ue of u)p+=ue;q>=10&&(v|=1<<4-H),4!==H&&(p=s.getNextSet(p),p=s.getNextUnset(p))}if(5!==d.length)throw new we;let M=this.determineCheckDigit(v);if(pn.extensionChecksum(d.toString())!==M)throw new we;return p}static extensionChecksum(s){let l=s.length,d=0;for(let u=l-2;u>=0;u-=2)d+=s.charAt(u).charCodeAt(0)-"0".charCodeAt(0);d*=3;for(let u=l-1;u>=0;u-=2)d+=s.charAt(u).charCodeAt(0)-"0".charCodeAt(0);return d*=3,d%10}determineCheckDigit(s){for(let l=0;l<10;l++)if(s===this.CHECK_DIGIT_ENCODINGS[l])return l;throw new we}static parseExtensionString(s){if(5!==s.length)return null;let l=pn.parseExtension5String(s);return null==l?null:new Map([[Ut.SUGGESTED_PRICE,l]])}static parseExtension5String(s){let l;switch(s.charAt(0)){case"0":l="\xa3";break;case"5":l="$";break;case"9":switch(s){case"90000":return null;case"99991":return"0.00";case"99990":return"Used"}l="";break;default:l=""}let d=parseInt(s.substring(1)),m=d%100;return l+(d/100).toString()+"."+(m<10?"0"+m:m.toString())}}class An{constructor(){this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}decodeRow(s,l,d){let u=this.decodeRowStringBuffer,m=this.decodeMiddle(l,d,u),p=u.toString(),v=An.parseExtensionString(p),M=[new vt((d[0]+d[1])/2,s),new vt(m,s)],H=new He(p,null,0,M,nt.UPC_EAN_EXTENSION,(new Date).getTime());return null!=v&&H.putAllMetadata(v),H}decodeMiddle(s,l,d){let u=this.decodeMiddleCounters;u[0]=0,u[1]=0,u[2]=0,u[3]=0;let m=s.getSize(),p=l[1],v=0;for(let M=0;M<2&&p<m;M++){let H=We.decodeDigit(s,u,p,We.L_AND_G_PATTERNS);d+=String.fromCharCode("0".charCodeAt(0)+H%10);for(let q of u)p+=q;H>=10&&(v|=1<<1-M),1!==M&&(p=s.getNextSet(p),p=s.getNextUnset(p))}if(2!==d.length)throw new we;if(parseInt(d.toString())%4!==v)throw new we;return p}static parseExtensionString(s){return 2!==s.length?null:new Map([[Ut.ISSUE_NUMBER,parseInt(s)]])}}class ir{static decodeRow(s,l,d){let u=We.findGuardPattern(l,d,!1,this.EXTENSION_START_PATTERN,new Int32Array(this.EXTENSION_START_PATTERN.length).fill(0));try{return(new pn).decodeRow(s,l,u)}catch{return(new An).decodeRow(s,l,u)}}}ir.EXTENSION_START_PATTERN=Int32Array.from([1,1,2]);class Et extends We{constructor(){super(),this.decodeRowStringBuffer="",Et.L_AND_G_PATTERNS=Et.L_PATTERNS.map(s=>Int32Array.from(s));for(let s=10;s<20;s++){let l=Et.L_PATTERNS[s-10],d=new Int32Array(l.length);for(let u=0;u<l.length;u++)d[u]=l[l.length-u-1];Et.L_AND_G_PATTERNS[s]=d}}decodeRow(s,l,d){let u=Et.findStartGuardPattern(l),m=null==d?null:d.get(le.NEED_RESULT_POINT_CALLBACK);if(null!=m){const ct=new vt((u[0]+u[1])/2,s);m.foundPossibleResultPoint(ct)}let p=this.decodeMiddle(l,u,this.decodeRowStringBuffer),v=p.rowOffset,M=p.resultString;if(null!=m){const ct=new vt(v,s);m.foundPossibleResultPoint(ct)}let H=this.decodeEnd(l,v);if(null!=m){const ct=new vt((H[0]+H[1])/2,s);m.foundPossibleResultPoint(ct)}let q=H[1],ue=q+(q-H[0]);if(ue>=l.getSize()||!l.isRange(q,ue,!1))throw new we;let _e=M.toString();if(_e.length<8)throw new ie;if(!Et.checkChecksum(_e))throw new Z;let ke=(u[1]+u[0])/2,Ne=(H[1]+H[0])/2,je=this.getBarcodeFormat(),Ye=[new vt(ke,s),new vt(Ne,s)],et=new He(_e,null,0,Ye,je,(new Date).getTime()),kt=0;try{let ct=ir.decodeRow(s,l,H[1]);et.putMetadata(Ut.UPC_EAN_EXTENSION,ct.getText()),et.putAllMetadata(ct.getResultMetadata()),et.addResultPoints(ct.getResultPoints()),kt=ct.getText().length}catch{}let Wt=null==d?null:d.get(le.ALLOWED_EAN_EXTENSIONS);if(null!=Wt){let ct=!1;for(let Ii in Wt)if(kt.toString()===Ii){ct=!0;break}if(!ct)throw new we}return et}decodeEnd(s,l){return Et.findGuardPattern(s,l,!1,Et.START_END_PATTERN,new Int32Array(Et.START_END_PATTERN.length).fill(0))}static checkChecksum(s){return Et.checkStandardUPCEANChecksum(s)}static checkStandardUPCEANChecksum(s){let l=s.length;if(0===l)return!1;let d=parseInt(s.charAt(l-1),10);return Et.getStandardUPCEANChecksum(s.substring(0,l-1))===d}static getStandardUPCEANChecksum(s){let l=s.length,d=0;for(let u=l-1;u>=0;u-=2){let m=s.charAt(u).charCodeAt(0)-"0".charCodeAt(0);if(m<0||m>9)throw new ie;d+=m}d*=3;for(let u=l-2;u>=0;u-=2){let m=s.charAt(u).charCodeAt(0)-"0".charCodeAt(0);if(m<0||m>9)throw new ie;d+=m}return(1e3-d)%10}}let pa=(()=>{class Y extends Et{constructor(){super(),this.decodeMiddleCounters=Int32Array.from([0,0,0,0])}decodeMiddle(l,d,u){let m=this.decodeMiddleCounters;m[0]=0,m[1]=0,m[2]=0,m[3]=0;let p=l.getSize(),v=d[1],M=0;for(let q=0;q<6&&v<p;q++){let ue=Et.decodeDigit(l,m,v,Et.L_AND_G_PATTERNS);u+=String.fromCharCode("0".charCodeAt(0)+ue%10);for(let _e of m)v+=_e;ue>=10&&(M|=1<<5-q)}u=Y.determineFirstDigit(u,M),v=Et.findGuardPattern(l,v,!0,Et.MIDDLE_PATTERN,new Int32Array(Et.MIDDLE_PATTERN.length).fill(0))[1];for(let q=0;q<6&&v<p;q++){let ue=Et.decodeDigit(l,m,v,Et.L_PATTERNS);u+=String.fromCharCode("0".charCodeAt(0)+ue);for(let _e of m)v+=_e}return{rowOffset:v,resultString:u}}getBarcodeFormat(){return nt.EAN_13}static determineFirstDigit(l,d){for(let u=0;u<10;u++)if(d===this.FIRST_DIGIT_ENCODINGS[u])return String.fromCharCode("0".charCodeAt(0)+u)+l;throw new we}}return Y.FIRST_DIGIT_ENCODINGS=[0,11,13,14,19,25,28,21,22,26],Y})();class Ha extends Et{constructor(){super(),this.decodeMiddleCounters=Int32Array.from([0,0,0,0])}decodeMiddle(s,l,d){const u=this.decodeMiddleCounters;u[0]=0,u[1]=0,u[2]=0,u[3]=0;let m=s.getSize(),p=l[1];for(let M=0;M<4&&p<m;M++){let H=Et.decodeDigit(s,u,p,Et.L_PATTERNS);d+=String.fromCharCode("0".charCodeAt(0)+H);for(let q of u)p+=q}p=Et.findGuardPattern(s,p,!0,Et.MIDDLE_PATTERN,new Int32Array(Et.MIDDLE_PATTERN.length).fill(0))[1];for(let M=0;M<4&&p<m;M++){let H=Et.decodeDigit(s,u,p,Et.L_PATTERNS);d+=String.fromCharCode("0".charCodeAt(0)+H);for(let q of u)p+=q}return{rowOffset:p,resultString:d}}getBarcodeFormat(){return nt.EAN_8}}class Br extends Et{constructor(){super(...arguments),this.ean13Reader=new pa}getBarcodeFormat(){return nt.UPC_A}decode(s,l){return this.maybeReturnResult(this.ean13Reader.decode(s))}decodeRow(s,l,d){return this.maybeReturnResult(this.ean13Reader.decodeRow(s,l,d))}decodeMiddle(s,l,d){return this.ean13Reader.decodeMiddle(s,l,d)}maybeReturnResult(s){let l=s.getText();if("0"===l.charAt(0)){let d=new He(l.substring(1),null,null,s.getResultPoints(),nt.UPC_A);return null!=s.getResultMetadata()&&d.putAllMetadata(s.getResultMetadata()),d}throw new we}reset(){this.ean13Reader.reset()}}class xr extends Et{constructor(){super(),this.decodeMiddleCounters=new Int32Array(4)}decodeMiddle(s,l,d){const u=this.decodeMiddleCounters.map(H=>H);u[0]=0,u[1]=0,u[2]=0,u[3]=0;const m=s.getSize();let p=l[1],v=0;for(let H=0;H<6&&p<m;H++){const q=xr.decodeDigit(s,u,p,xr.L_AND_G_PATTERNS);d+=String.fromCharCode("0".charCodeAt(0)+q%10);for(let ue of u)p+=ue;q>=10&&(v|=1<<5-H)}return{rowOffset:p,resultString:xr.determineNumSysAndCheckDigit(d,v)}}decodeEnd(s,l){return xr.findGuardPatternWithoutCounters(s,l,!0,xr.MIDDLE_END_PATTERN)}checkChecksum(s){return Et.checkChecksum(xr.convertUPCEtoUPCA(s))}static determineNumSysAndCheckDigit(s,l){for(let d=0;d<=1;d++)for(let u=0;u<10;u++)if(l===this.NUMSYS_AND_CHECK_DIGIT_PATTERNS[d][u])return String.fromCharCode("0".charCodeAt(0)+d)+s+String.fromCharCode("0".charCodeAt(0)+u);throw we.getNotFoundInstance()}getBarcodeFormat(){return nt.UPC_E}static convertUPCEtoUPCA(s){const l=s.slice(1,7).split("").map(m=>m.charCodeAt(0)),d=new me;d.append(s.charAt(0));let u=l[5];switch(u){case 0:case 1:case 2:d.appendChars(l,0,2),d.append(u),d.append("0000"),d.appendChars(l,2,3);break;case 3:d.appendChars(l,0,3),d.append("00000"),d.appendChars(l,3,2);break;case 4:d.appendChars(l,0,4),d.append("00000"),d.append(l[4]);break;default:d.appendChars(l,0,5),d.append("0000"),d.append(u)}return s.length>=8&&d.append(s.charAt(7)),d.toString()}}xr.MIDDLE_END_PATTERN=Int32Array.from([1,1,1,1,1,1]),xr.NUMSYS_AND_CHECK_DIGIT_PATTERNS=[Int32Array.from([56,52,50,49,44,38,35,42,41,37]),Int32Array.from([7,11,13,14,19,25,28,21,22,26])];class vo extends mr{constructor(s){super();let l=null==s?null:s.get(le.POSSIBLE_FORMATS),d=[];T(l)?(d.push(new pa),d.push(new Br),d.push(new Ha),d.push(new xr)):(l.indexOf(nt.EAN_13)>-1&&d.push(new pa),l.indexOf(nt.UPC_A)>-1&&d.push(new Br),l.indexOf(nt.EAN_8)>-1&&d.push(new Ha),l.indexOf(nt.UPC_E)>-1&&d.push(new xr)),this.readers=d}decodeRow(s,l,d){for(let u of this.readers)try{const m=u.decodeRow(s,l,d),p=m.getBarcodeFormat()===nt.EAN_13&&"0"===m.getText().charAt(0),v=null==d?null:d.get(le.POSSIBLE_FORMATS),M=null==v||v.includes(nt.UPC_A);if(p&&M){const H=m.getRawBytes(),q=new He(m.getText().substring(1),H,H?H.length:null,m.getResultPoints(),nt.UPC_A);return q.putAllMetadata(m.getResultMetadata()),q}return m}catch{}throw new we}reset(){for(let s of this.readers)s.reset()}}let Zr=(()=>{class Y extends mr{constructor(){super(),this.decodeFinderCounters=new Int32Array(4),this.dataCharacterCounters=new Int32Array(8),this.oddRoundingErrors=new Array(4),this.evenRoundingErrors=new Array(4),this.oddCounts=new Array(this.dataCharacterCounters.length/2),this.evenCounts=new Array(this.dataCharacterCounters.length/2)}getDecodeFinderCounters(){return this.decodeFinderCounters}getDataCharacterCounters(){return this.dataCharacterCounters}getOddRoundingErrors(){return this.oddRoundingErrors}getEvenRoundingErrors(){return this.evenRoundingErrors}getOddCounts(){return this.oddCounts}getEvenCounts(){return this.evenCounts}parseFinderValue(l,d){for(let u=0;u<d.length;u++)if(mr.patternMatchVariance(l,d[u],Y.MAX_INDIVIDUAL_VARIANCE)<Y.MAX_AVG_VARIANCE)return u;throw new we}static count(l){return $t.sum(new Int32Array(l))}static increment(l,d){let u=0,m=d[0];for(let p=1;p<l.length;p++)d[p]>m&&(m=d[p],u=p);l[u]++}static decrement(l,d){let u=0,m=d[0];for(let p=1;p<l.length;p++)d[p]<m&&(m=d[p],u=p);l[u]--}static isFinderPattern(l){let d=l[0]+l[1],m=d/(d+l[2]+l[3]);if(m>=Y.MIN_FINDER_PATTERN_RATIO&&m<=Y.MAX_FINDER_PATTERN_RATIO){let p=Number.MAX_SAFE_INTEGER,v=Number.MIN_SAFE_INTEGER;for(let M of l)M>v&&(v=M),M<p&&(p=M);return v<10*p}return!1}}return Y.MAX_AVG_VARIANCE=.2,Y.MAX_INDIVIDUAL_VARIANCE=.45,Y.MIN_FINDER_PATTERN_RATIO=9.5/12,Y.MAX_FINDER_PATTERN_RATIO=12.5/14,Y})();class Ar{constructor(s,l){this.value=s,this.checksumPortion=l}getValue(){return this.value}getChecksumPortion(){return this.checksumPortion}toString(){return this.value+"("+this.checksumPortion+")"}equals(s){return s instanceof Ar&&this.value===s.value&&this.checksumPortion===s.checksumPortion}hashCode(){return this.value^this.checksumPortion}}class ps{constructor(s,l,d,u,m){this.value=s,this.startEnd=l,this.value=s,this.startEnd=l,this.resultPoints=new Array,this.resultPoints.push(new vt(d,m)),this.resultPoints.push(new vt(u,m))}getValue(){return this.value}getStartEnd(){return this.startEnd}getResultPoints(){return this.resultPoints}equals(s){return s instanceof ps&&this.value===s.value}hashCode(){return this.value}}class ra{constructor(){}static getRSSvalue(s,l,d){let u=0;for(let M of s)u+=M;let m=0,p=0,v=s.length;for(let M=0;M<v-1;M++){let H;for(H=1,p|=1<<M;H<s[M];H++,p&=~(1<<M)){let q=ra.combins(u-H-1,v-M-2);if(d&&0===p&&u-H-(v-M-1)>=v-M-1&&(q-=ra.combins(u-H-(v-M),v-M-2)),v-M-1>1){let ue=0;for(let _e=u-H-(v-M-2);_e>l;_e--)ue+=ra.combins(u-H-_e-1,v-M-3);q-=ue*(v-1-M)}else u-H>l&&q--;m+=q}u-=H}return m}static combins(s,l){let d,u;s-l>l?(u=l,d=s-l):(u=s-l,d=l);let m=1,p=1;for(let v=s;v>d;v--)m*=v,p<=u&&(m/=p,p++);for(;p<=u;)m/=p,p++;return m}}class la{static buildBitArray(s){let l=2*s.length-1;null==s[s.length-1].getRightChar()&&(l-=1);let u=new z(12*l),m=0,v=s[0].getRightChar().getValue();for(let M=11;M>=0;--M)v&1<<M&&u.set(m),m++;for(let M=1;M<s.length;++M){let H=s[M],q=H.getLeftChar().getValue();for(let ue=11;ue>=0;--ue)q&1<<ue&&u.set(m),m++;if(null!=H.getRightChar()){let ue=H.getRightChar().getValue();for(let _e=11;_e>=0;--_e)ue&1<<_e&&u.set(m),m++}}return u}}class sn{constructor(s,l){l?this.decodedInformation=null:(this.finished=s,this.decodedInformation=l)}getDecodedInformation(){return this.decodedInformation}isFinished(){return this.finished}}class Va{constructor(s){this.newPosition=s}getNewPosition(){return this.newPosition}}let Yt=(()=>{class Y extends Va{constructor(l,d){super(l),this.value=d}getValue(){return this.value}isFNC1(){return this.value===Y.FNC1}}return Y.FNC1="$",Y})();class ka extends Va{constructor(s,l,d){super(s),d?(this.remaining=!0,this.remainingValue=this.remainingValue):(this.remaining=!1,this.remainingValue=0),this.newString=l}getNewString(){return this.newString}isRemaining(){return this.remaining}getRemainingValue(){return this.remainingValue}}let Ya=(()=>{class Y extends Va{constructor(l,d,u){if(super(l),d<0||d>10||u<0||u>10)throw new ie;this.firstDigit=d,this.secondDigit=u}getFirstDigit(){return this.firstDigit}getSecondDigit(){return this.secondDigit}getValue(){return 10*this.firstDigit+this.secondDigit}isFirstDigitFNC1(){return this.firstDigit===Y.FNC1}isSecondDigitFNC1(){return this.secondDigit===Y.FNC1}isAnyFNC1(){return this.firstDigit===Y.FNC1||this.secondDigit===Y.FNC1}}return Y.FNC1=10,Y})();class jt{constructor(){}static parseFieldsInGeneralPurpose(s){if(!s)return null;if(s.length<2)throw new we;let l=s.substring(0,2);for(let m of jt.TWO_DIGIT_DATA_LENGTH)if(m[0]===l)return m[1]===jt.VARIABLE_LENGTH?jt.processVariableAI(2,m[2],s):jt.processFixedAI(2,m[1],s);if(s.length<3)throw new we;let d=s.substring(0,3);for(let m of jt.THREE_DIGIT_DATA_LENGTH)if(m[0]===d)return m[1]===jt.VARIABLE_LENGTH?jt.processVariableAI(3,m[2],s):jt.processFixedAI(3,m[1],s);for(let m of jt.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH)if(m[0]===d)return m[1]===jt.VARIABLE_LENGTH?jt.processVariableAI(4,m[2],s):jt.processFixedAI(4,m[1],s);if(s.length<4)throw new we;let u=s.substring(0,4);for(let m of jt.FOUR_DIGIT_DATA_LENGTH)if(m[0]===u)return m[1]===jt.VARIABLE_LENGTH?jt.processVariableAI(4,m[2],s):jt.processFixedAI(4,m[1],s);throw new we}static processFixedAI(s,l,d){if(d.length<s)throw new we;let u=d.substring(0,s);if(d.length<s+l)throw new we;let m=d.substring(s,s+l),p=d.substring(s+l),v="("+u+")"+m,M=jt.parseFieldsInGeneralPurpose(p);return null==M?v:v+M}static processVariableAI(s,l,d){let m,u=d.substring(0,s);m=d.length<s+l?d.length:s+l;let p=d.substring(s,m),v=d.substring(m),M="("+u+")"+p,H=jt.parseFieldsInGeneralPurpose(v);return null==H?M:M+H}}jt.VARIABLE_LENGTH=[],jt.TWO_DIGIT_DATA_LENGTH=[["00",18],["01",14],["02",14],["10",jt.VARIABLE_LENGTH,20],["11",6],["12",6],["13",6],["15",6],["17",6],["20",2],["21",jt.VARIABLE_LENGTH,20],["22",jt.VARIABLE_LENGTH,29],["30",jt.VARIABLE_LENGTH,8],["37",jt.VARIABLE_LENGTH,8],["90",jt.VARIABLE_LENGTH,30],["91",jt.VARIABLE_LENGTH,30],["92",jt.VARIABLE_LENGTH,30],["93",jt.VARIABLE_LENGTH,30],["94",jt.VARIABLE_LENGTH,30],["95",jt.VARIABLE_LENGTH,30],["96",jt.VARIABLE_LENGTH,30],["97",jt.VARIABLE_LENGTH,3],["98",jt.VARIABLE_LENGTH,30],["99",jt.VARIABLE_LENGTH,30]],jt.THREE_DIGIT_DATA_LENGTH=[["240",jt.VARIABLE_LENGTH,30],["241",jt.VARIABLE_LENGTH,30],["242",jt.VARIABLE_LENGTH,6],["250",jt.VARIABLE_LENGTH,30],["251",jt.VARIABLE_LENGTH,30],["253",jt.VARIABLE_LENGTH,17],["254",jt.VARIABLE_LENGTH,20],["400",jt.VARIABLE_LENGTH,30],["401",jt.VARIABLE_LENGTH,30],["402",17],["403",jt.VARIABLE_LENGTH,30],["410",13],["411",13],["412",13],["413",13],["414",13],["420",jt.VARIABLE_LENGTH,20],["421",jt.VARIABLE_LENGTH,15],["422",3],["423",jt.VARIABLE_LENGTH,15],["424",3],["425",3],["426",3]],jt.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH=[["310",6],["311",6],["312",6],["313",6],["314",6],["315",6],["316",6],["320",6],["321",6],["322",6],["323",6],["324",6],["325",6],["326",6],["327",6],["328",6],["329",6],["330",6],["331",6],["332",6],["333",6],["334",6],["335",6],["336",6],["340",6],["341",6],["342",6],["343",6],["344",6],["345",6],["346",6],["347",6],["348",6],["349",6],["350",6],["351",6],["352",6],["353",6],["354",6],["355",6],["356",6],["357",6],["360",6],["361",6],["362",6],["363",6],["364",6],["365",6],["366",6],["367",6],["368",6],["369",6],["390",jt.VARIABLE_LENGTH,15],["391",jt.VARIABLE_LENGTH,18],["392",jt.VARIABLE_LENGTH,15],["393",jt.VARIABLE_LENGTH,18],["703",jt.VARIABLE_LENGTH,30]],jt.FOUR_DIGIT_DATA_LENGTH=[["7001",13],["7002",jt.VARIABLE_LENGTH,30],["7003",10],["8001",14],["8002",jt.VARIABLE_LENGTH,20],["8003",jt.VARIABLE_LENGTH,30],["8004",jt.VARIABLE_LENGTH,30],["8005",6],["8006",18],["8007",jt.VARIABLE_LENGTH,30],["8008",jt.VARIABLE_LENGTH,12],["8018",18],["8020",jt.VARIABLE_LENGTH,25],["8100",6],["8101",10],["8102",2],["8110",jt.VARIABLE_LENGTH,70],["8200",jt.VARIABLE_LENGTH,70]];class wo{constructor(s){this.buffer=new me,this.information=s}decodeAllCodes(s,l){let d=l,u=null;for(;;){let m=this.decodeGeneralPurposeField(d,u),p=jt.parseFieldsInGeneralPurpose(m.getNewString());if(null!=p&&s.append(p),u=m.isRemaining()?""+m.getRemainingValue():null,d===m.getNewPosition())break;d=m.getNewPosition()}return s.toString()}isStillNumeric(s){if(s+7>this.information.getSize())return s+4<=this.information.getSize();for(let l=s;l<s+3;++l)if(this.information.get(l))return!0;return this.information.get(s+3)}decodeNumeric(s){if(s+7>this.information.getSize()){let m=this.extractNumericValueFromBitArray(s,4);return new Ya(this.information.getSize(),0===m?Ya.FNC1:m-1,Ya.FNC1)}let l=this.extractNumericValueFromBitArray(s,7);return new Ya(s+7,(l-8)/11,(l-8)%11)}extractNumericValueFromBitArray(s,l){return wo.extractNumericValueFromBitArray(this.information,s,l)}static extractNumericValueFromBitArray(s,l,d){let u=0;for(let m=0;m<d;++m)s.get(l+m)&&(u|=1<<d-m-1);return u}decodeGeneralPurposeField(s,l){this.buffer.setLengthToZero(),null!=l&&this.buffer.append(l),this.current.setPosition(s);let d=this.parseBlocks();return null!=d&&d.isRemaining()?new ka(this.current.getPosition(),this.buffer.toString(),d.getRemainingValue()):new ka(this.current.getPosition(),this.buffer.toString())}parseBlocks(){let s,l;do{let d=this.current.getPosition();if(this.current.isAlpha()?(l=this.parseAlphaBlock(),s=l.isFinished()):this.current.isIsoIec646()?(l=this.parseIsoIec646Block(),s=l.isFinished()):(l=this.parseNumericBlock(),s=l.isFinished()),d===this.current.getPosition()&&!s)break}while(!s);return l.getDecodedInformation()}parseNumericBlock(){for(;this.isStillNumeric(this.current.getPosition());){let s=this.decodeNumeric(this.current.getPosition());if(this.current.setPosition(s.getNewPosition()),s.isFirstDigitFNC1()){let l;return l=s.isSecondDigitFNC1()?new ka(this.current.getPosition(),this.buffer.toString()):new ka(this.current.getPosition(),this.buffer.toString(),s.getSecondDigit()),new sn(!0,l)}if(this.buffer.append(s.getFirstDigit()),s.isSecondDigitFNC1()){let l=new ka(this.current.getPosition(),this.buffer.toString());return new sn(!0,l)}this.buffer.append(s.getSecondDigit())}return this.isNumericToAlphaNumericLatch(this.current.getPosition())&&(this.current.setAlpha(),this.current.incrementPosition(4)),new sn(!1)}parseIsoIec646Block(){for(;this.isStillIsoIec646(this.current.getPosition());){let s=this.decodeIsoIec646(this.current.getPosition());if(this.current.setPosition(s.getNewPosition()),s.isFNC1()){let l=new ka(this.current.getPosition(),this.buffer.toString());return new sn(!0,l)}this.buffer.append(s.getValue())}return this.isAlphaOr646ToNumericLatch(this.current.getPosition())?(this.current.incrementPosition(3),this.current.setNumeric()):this.isAlphaTo646ToAlphaLatch(this.current.getPosition())&&(this.current.getPosition()+5<this.information.getSize()?this.current.incrementPosition(5):this.current.setPosition(this.information.getSize()),this.current.setAlpha()),new sn(!1)}parseAlphaBlock(){for(;this.isStillAlpha(this.current.getPosition());){let s=this.decodeAlphanumeric(this.current.getPosition());if(this.current.setPosition(s.getNewPosition()),s.isFNC1()){let l=new ka(this.current.getPosition(),this.buffer.toString());return new sn(!0,l)}this.buffer.append(s.getValue())}return this.isAlphaOr646ToNumericLatch(this.current.getPosition())?(this.current.incrementPosition(3),this.current.setNumeric()):this.isAlphaTo646ToAlphaLatch(this.current.getPosition())&&(this.current.getPosition()+5<this.information.getSize()?this.current.incrementPosition(5):this.current.setPosition(this.information.getSize()),this.current.setIsoIec646()),new sn(!1)}isStillIsoIec646(s){if(s+5>this.information.getSize())return!1;let l=this.extractNumericValueFromBitArray(s,5);if(l>=5&&l<16)return!0;if(s+7>this.information.getSize())return!1;let d=this.extractNumericValueFromBitArray(s,7);if(d>=64&&d<116)return!0;if(s+8>this.information.getSize())return!1;let u=this.extractNumericValueFromBitArray(s,8);return u>=232&&u<253}decodeIsoIec646(s){let l=this.extractNumericValueFromBitArray(s,5);if(15===l)return new Yt(s+5,Yt.FNC1);if(l>=5&&l<15)return new Yt(s+5,"0"+(l-5));let m,d=this.extractNumericValueFromBitArray(s,7);if(d>=64&&d<90)return new Yt(s+7,""+(d+1));if(d>=90&&d<116)return new Yt(s+7,""+(d+7));switch(this.extractNumericValueFromBitArray(s,8)){case 232:m="!";break;case 233:m='"';break;case 234:m="%";break;case 235:m="&";break;case 236:m="'";break;case 237:m="(";break;case 238:m=")";break;case 239:m="*";break;case 240:m="+";break;case 241:m=",";break;case 242:m="-";break;case 243:m=".";break;case 244:m="/";break;case 245:m=":";break;case 246:m=";";break;case 247:m="<";break;case 248:m="=";break;case 249:m=">";break;case 250:m="?";break;case 251:m="_";break;case 252:m=" ";break;default:throw new ie}return new Yt(s+8,m)}isStillAlpha(s){if(s+5>this.information.getSize())return!1;let l=this.extractNumericValueFromBitArray(s,5);if(l>=5&&l<16)return!0;if(s+6>this.information.getSize())return!1;let d=this.extractNumericValueFromBitArray(s,6);return d>=16&&d<63}decodeAlphanumeric(s){let l=this.extractNumericValueFromBitArray(s,5);if(15===l)return new Yt(s+5,Yt.FNC1);if(l>=5&&l<15)return new Yt(s+5,"0"+(l-5));let u,d=this.extractNumericValueFromBitArray(s,6);if(d>=32&&d<58)return new Yt(s+6,""+(d+33));switch(d){case 58:u="*";break;case 59:u=",";break;case 60:u="-";break;case 61:u=".";break;case 62:u="/";break;default:throw new zt("Decoding invalid alphanumeric value: "+d)}return new Yt(s+6,u)}isAlphaTo646ToAlphaLatch(s){if(s+1>this.information.getSize())return!1;for(let l=0;l<5&&l+s<this.information.getSize();++l)if(2===l){if(!this.information.get(s+2))return!1}else if(this.information.get(s+l))return!1;return!0}isAlphaOr646ToNumericLatch(s){if(s+3>this.information.getSize())return!1;for(let l=s;l<s+3;++l)if(this.information.get(l))return!1;return!0}isNumericToAlphaNumericLatch(s){if(s+1>this.information.getSize())return!1;for(let l=0;l<4&&l+s<this.information.getSize();++l)if(this.information.get(s+l))return!1;return!0}}class xn{constructor(s){this.information=s,this.generalDecoder=new wo(s)}getInformation(){return this.information}getGeneralDecoder(){return this.generalDecoder}}let nr=(()=>{class Y extends xn{constructor(l){super(l)}encodeCompressedGtin(l,d){l.append("(01)");let u=l.length();l.append("9"),this.encodeCompressedGtinWithoutAI(l,d,u)}encodeCompressedGtinWithoutAI(l,d,u){for(let m=0;m<4;++m){let p=this.getGeneralDecoder().extractNumericValueFromBitArray(d+10*m,10);p/100==0&&l.append("0"),p/10==0&&l.append("0"),l.append(p)}Y.appendCheckDigit(l,u)}static appendCheckDigit(l,d){let u=0;for(let m=0;m<13;m++){let p=l.charAt(m+d).charCodeAt(0)-"0".charCodeAt(0);u+=1&m?p:3*p}u=10-u%10,10===u&&(u=0),l.append(u)}}return Y.GTIN_SIZE=40,Y})(),gs=(()=>{class Y extends nr{constructor(l){super(l)}parseInformation(){let l=new me;l.append("(01)");let d=l.length(),u=this.getGeneralDecoder().extractNumericValueFromBitArray(Y.HEADER_SIZE,4);return l.append(u),this.encodeCompressedGtinWithoutAI(l,Y.HEADER_SIZE+4,d),this.getGeneralDecoder().decodeAllCodes(l,Y.HEADER_SIZE+44)}}return Y.HEADER_SIZE=4,Y})(),vi=(()=>{class Y extends xn{constructor(l){super(l)}parseInformation(){let l=new me;return this.getGeneralDecoder().decodeAllCodes(l,Y.HEADER_SIZE)}}return Y.HEADER_SIZE=5,Y})();class br extends nr{constructor(s){super(s)}encodeCompressedWeight(s,l,d){let u=this.getGeneralDecoder().extractNumericValueFromBitArray(l,d);this.addWeightCode(s,u);let m=this.checkWeight(u),p=1e5;for(let v=0;v<5;++v)m/p==0&&s.append("0"),p/=10;s.append(m)}}let ln=(()=>{class Y extends br{constructor(l){super(l)}parseInformation(){if(this.getInformation().getSize()!=Y.HEADER_SIZE+br.GTIN_SIZE+Y.WEIGHT_SIZE)throw new we;let l=new me;return this.encodeCompressedGtin(l,Y.HEADER_SIZE),this.encodeCompressedWeight(l,Y.HEADER_SIZE+br.GTIN_SIZE,Y.WEIGHT_SIZE),l.toString()}}return Y.HEADER_SIZE=5,Y.WEIGHT_SIZE=15,Y})();class gn extends ln{constructor(s){super(s)}addWeightCode(s,l){s.append("(3103)")}checkWeight(s){return s}}class Hr extends ln{constructor(s){super(s)}addWeightCode(s,l){s.append(l<1e4?"(3202)":"(3203)")}checkWeight(s){return s<1e4?s:s-1e4}}let Xr=(()=>{class Y extends nr{constructor(l){super(l)}parseInformation(){if(this.getInformation().getSize()<Y.HEADER_SIZE+nr.GTIN_SIZE)throw new we;let l=new me;this.encodeCompressedGtin(l,Y.HEADER_SIZE);let d=this.getGeneralDecoder().extractNumericValueFromBitArray(Y.HEADER_SIZE+nr.GTIN_SIZE,Y.LAST_DIGIT_SIZE);l.append("(392"),l.append(d),l.append(")");let u=this.getGeneralDecoder().decodeGeneralPurposeField(Y.HEADER_SIZE+nr.GTIN_SIZE+Y.LAST_DIGIT_SIZE,null);return l.append(u.getNewString()),l.toString()}}return Y.HEADER_SIZE=8,Y.LAST_DIGIT_SIZE=2,Y})(),aa=(()=>{class Y extends nr{constructor(l){super(l)}parseInformation(){if(this.getInformation().getSize()<Y.HEADER_SIZE+nr.GTIN_SIZE)throw new we;let l=new me;this.encodeCompressedGtin(l,Y.HEADER_SIZE);let d=this.getGeneralDecoder().extractNumericValueFromBitArray(Y.HEADER_SIZE+nr.GTIN_SIZE,Y.LAST_DIGIT_SIZE);l.append("(393"),l.append(d),l.append(")");let u=this.getGeneralDecoder().extractNumericValueFromBitArray(Y.HEADER_SIZE+nr.GTIN_SIZE+Y.LAST_DIGIT_SIZE,Y.FIRST_THREE_DIGITS_SIZE);u/100==0&&l.append("0"),u/10==0&&l.append("0"),l.append(u);let m=this.getGeneralDecoder().decodeGeneralPurposeField(Y.HEADER_SIZE+nr.GTIN_SIZE+Y.LAST_DIGIT_SIZE+Y.FIRST_THREE_DIGITS_SIZE,null);return l.append(m.getNewString()),l.toString()}}return Y.HEADER_SIZE=8,Y.LAST_DIGIT_SIZE=2,Y.FIRST_THREE_DIGITS_SIZE=10,Y})(),io=(()=>{class Y extends br{constructor(l,d,u){super(l),this.dateCode=u,this.firstAIdigits=d}parseInformation(){if(this.getInformation().getSize()!=Y.HEADER_SIZE+Y.GTIN_SIZE+Y.WEIGHT_SIZE+Y.DATE_SIZE)throw new we;let l=new me;return this.encodeCompressedGtin(l,Y.HEADER_SIZE),this.encodeCompressedWeight(l,Y.HEADER_SIZE+Y.GTIN_SIZE,Y.WEIGHT_SIZE),this.encodeCompressedDate(l,Y.HEADER_SIZE+Y.GTIN_SIZE+Y.WEIGHT_SIZE),l.toString()}encodeCompressedDate(l,d){let u=this.getGeneralDecoder().extractNumericValueFromBitArray(d,Y.DATE_SIZE);if(38400==u)return;l.append("("),l.append(this.dateCode),l.append(")");let m=u%32;u/=32;let p=u%12+1;u/=12;let v=u;v/10==0&&l.append("0"),l.append(v),p/10==0&&l.append("0"),l.append(p),m/10==0&&l.append("0"),l.append(m)}addWeightCode(l,d){l.append("("),l.append(this.firstAIdigits),l.append(d/1e5),l.append(")")}checkWeight(l){return l%1e5}}return Y.HEADER_SIZE=8,Y.WEIGHT_SIZE=20,Y.DATE_SIZE=16,Y})();function Fo(Y){try{if(Y.get(1))return new gs(Y);if(!Y.get(2))return new vi(Y);switch(wo.extractNumericValueFromBitArray(Y,1,4)){case 4:return new gn(Y);case 5:return new Hr(Y)}switch(wo.extractNumericValueFromBitArray(Y,1,5)){case 12:return new Xr(Y);case 13:return new aa(Y)}switch(wo.extractNumericValueFromBitArray(Y,1,7)){case 56:return new io(Y,"310","11");case 57:return new io(Y,"320","11");case 58:return new io(Y,"310","13");case 59:return new io(Y,"320","13");case 60:return new io(Y,"310","15");case 61:return new io(Y,"320","15");case 62:return new io(Y,"310","17");case 63:return new io(Y,"320","17")}}catch(s){throw console.log(s),new zt("unknown decoder: "+Y)}}class no{constructor(s,l,d,u){this.leftchar=s,this.rightchar=l,this.finderpattern=d,this.maybeLast=u}mayBeLast(){return this.maybeLast}getLeftChar(){return this.leftchar}getRightChar(){return this.rightchar}getFinderPattern(){return this.finderpattern}mustBeLast(){return null==this.rightchar}toString(){return"[ "+this.leftchar+", "+this.rightchar+" : "+(null==this.finderpattern?"null":this.finderpattern.getValue())+" ]"}static equals(s,l){return s instanceof no&&no.equalsOrNull(s.leftchar,l.leftchar)&&no.equalsOrNull(s.rightchar,l.rightchar)&&no.equalsOrNull(s.finderpattern,l.finderpattern)}static equalsOrNull(s,l){return null===s?null===l:no.equals(s,l)}hashCode(){return this.leftchar.getValue()^this.rightchar.getValue()^this.finderpattern.getValue()}}class fr{constructor(s,l,d){this.pairs=s,this.rowNumber=l,this.wasReversed=d}getPairs(){return this.pairs}getRowNumber(){return this.rowNumber}isReversed(){return this.wasReversed}isEquivalent(s){return this.checkEqualitity(this,s)}toString(){return"{ "+this.pairs+" }"}equals(s,l){return s instanceof fr&&this.checkEqualitity(s,l)&&s.wasReversed===l.wasReversed}checkEqualitity(s,l){if(!s||!l)return;let d;return s.forEach((u,m)=>{l.forEach(p=>{u.getLeftChar().getValue()===p.getLeftChar().getValue()&&u.getRightChar().getValue()===p.getRightChar().getValue()&&u.getFinderPatter().getValue()===p.getFinderPatter().getValue()&&(d=!0)})}),d}}class pt extends Zr{constructor(s){super(...arguments),this.pairs=new Array(pt.MAX_PAIRS),this.rows=new Array,this.startEnd=[2],this.verbose=!0===s}decodeRow(s,l,d){this.pairs.length=0,this.startFromEven=!1;try{return pt.constructResult(this.decodeRow2pairs(s,l))}catch(u){this.verbose&&console.log(u)}return this.pairs.length=0,this.startFromEven=!0,pt.constructResult(this.decodeRow2pairs(s,l))}reset(){this.pairs.length=0,this.rows.length=0}decodeRow2pairs(s,l){let u,d=!1;for(;!d;)try{this.pairs.push(this.retrieveNextPair(l,this.pairs,s))}catch(m){if(m instanceof we){if(!this.pairs.length)throw new we;d=!0}}if(this.checkChecksum())return this.pairs;if(u=!!this.rows.length,this.storeRow(s,!1),u){let m=this.checkRowsBoolean(!1);if(null!=m||(m=this.checkRowsBoolean(!0),null!=m))return m}throw new we}checkRowsBoolean(s){if(this.rows.length>25)return this.rows.length=0,null;this.pairs.length=0,s&&(this.rows=this.rows.reverse());let l=null;try{l=this.checkRows(new Array,0)}catch(d){this.verbose&&console.log(d)}return s&&(this.rows=this.rows.reverse()),l}checkRows(s,l){for(let d=l;d<this.rows.length;d++){let u=this.rows[d];this.pairs.length=0;for(let p of s)this.pairs.push(p.getPairs());if(this.pairs.push(u.getPairs()),!pt.isValidSequence(this.pairs))continue;if(this.checkChecksum())return this.pairs;let m=new Array(s);m.push(u);try{return this.checkRows(m,d+1)}catch(p){this.verbose&&console.log(p)}}throw new we}static isValidSequence(s){for(let l of pt.FINDER_PATTERN_SEQUENCES){if(s.length>l.length)continue;let d=!0;for(let u=0;u<s.length;u++)if(s[u].getFinderPattern().getValue()!=l[u]){d=!1;break}if(d)return!0}return!1}storeRow(s,l){let d=0,u=!1,m=!1;for(;d<this.rows.length;){let p=this.rows[d];if(p.getRowNumber()>s){m=p.isEquivalent(this.pairs);break}u=p.isEquivalent(this.pairs),d++}m||u||pt.isPartialRow(this.pairs,this.rows)||(this.rows.push(d,new fr(this.pairs,s,l)),this.removePartialRows(this.pairs,this.rows))}removePartialRows(s,l){for(let d of l)if(d.getPairs().length!==s.length)for(let u of d.getPairs())for(let m of s)if(no.equals(u,m))break}static isPartialRow(s,l){for(let d of l){let u=!0;for(let m of s){let p=!1;for(let v of d.getPairs())if(m.equals(v)){p=!0;break}if(!p){u=!1;break}}if(u)return!0}return!1}getRows(){return this.rows}static constructResult(s){let u=Fo(la.buildBitArray(s)).parseInformation(),m=s[0].getFinderPattern().getResultPoints(),p=s[s.length-1].getFinderPattern().getResultPoints();return new He(u,null,null,[m[0],m[1],p[0],p[1]],nt.RSS_EXPANDED,null)}checkChecksum(){let s=this.pairs.get(0),l=s.getLeftChar(),d=s.getRightChar();if(null==d)return!1;let u=d.getChecksumPortion(),m=2;for(let v=1;v<this.pairs.size();++v){let M=this.pairs.get(v);u+=M.getLeftChar().getChecksumPortion(),m++;let H=M.getRightChar();null!=H&&(u+=H.getChecksumPortion(),m++)}return u%=211,211*(m-4)+u==l.getValue()}static getNextSecondBar(s,l){let d;return s.get(l)?(d=s.getNextUnset(l),d=s.getNextSet(d)):(d=s.getNextSet(l),d=s.getNextUnset(d)),d}retrieveNextPair(s,l,d){let u=l.length%2==0;this.startFromEven&&(u=!u);let m,p=!0,v=-1;do{this.findNextPair(s,l,v),m=this.parseFoundFinderPattern(s,d,u),null==m?v=pt.getNextSecondBar(s,this.startEnd[0]):p=!1}while(p);let H,M=this.decodeDataCharacter(s,m,u,!0);if(!this.isEmptyPair(l)&&l[l.length-1].mustBeLast())throw new we;try{H=this.decodeDataCharacter(s,m,u,!1)}catch(q){H=null,this.verbose&&console.log(q)}return new no(M,H,m,!0)}isEmptyPair(s){return 0===s.length}findNextPair(s,l,d){let u=this.getDecodeFinderCounters();u[0]=0,u[1]=0,u[2]=0,u[3]=0;let p,m=s.getSize();p=d>=0?d:this.isEmptyPair(l)?0:l[l.length-1].getFinderPattern().getStartEnd()[1];let v=l.length%2!=0;this.startFromEven&&(v=!v);let M=!1;for(;p<m&&(M=!s.get(p),M);)p++;let H=0,q=p;for(let ue=p;ue<m;ue++)if(s.get(ue)!=M)u[H]++;else{if(3==H){if(v&&pt.reverseCounters(u),pt.isFinderPattern(u))return this.startEnd[0]=q,void(this.startEnd[1]=ue);v&&pt.reverseCounters(u),q+=u[0]+u[1],u[0]=u[2],u[1]=u[3],u[2]=0,u[3]=0,H--}else H++;u[H]=1,M=!M}throw new we}static reverseCounters(s){let l=s.length;for(let d=0;d<l/2;++d){let u=s[d];s[d]=s[l-d-1],s[l-d-1]=u}}parseFoundFinderPattern(s,l,d){let u,m,p;if(d){let H=this.startEnd[0]-1;for(;H>=0&&!s.get(H);)H--;H++,u=this.startEnd[0]-H,m=H,p=this.startEnd[1]}else m=this.startEnd[0],p=s.getNextUnset(this.startEnd[1]+1),u=p-this.startEnd[1];let M,v=this.getDecodeFinderCounters();V.arraycopy(v,0,v,1,v.length-1),v[0]=u;try{M=this.parseFinderValue(v,pt.FINDER_PATTERNS)}catch{return null}return new ps(M,[m,p],m,p,l)}decodeDataCharacter(s,l,d,u){let m=this.getDataCharacterCounters();for(let dr=0;dr<m.length;dr++)m[dr]=0;if(u)pt.recordPatternInReverse(s,l.getStartEnd()[0],m);else{pt.recordPattern(s,l.getStartEnd()[1],m);for(let dr=0,dn=m.length-1;dr<dn;dr++,dn--){let qo=m[dr];m[dr]=m[dn],m[dn]=qo}}let v=$t.sum(new Int32Array(m))/17,M=(l.getStartEnd()[1]-l.getStartEnd()[0])/15;if(Math.abs(v-M)/M>.3)throw new we;let H=this.getOddCounts(),q=this.getEvenCounts(),ue=this.getOddRoundingErrors(),_e=this.getEvenRoundingErrors();for(let dr=0;dr<m.length;dr++){let dn=1*m[dr]/v,qo=dn+.5;if(qo<1){if(dn<.3)throw new we;qo=1}else if(qo>8){if(dn>8.7)throw new we;qo=8}let dl=dr/2;1&dr?(q[dl]=qo,_e[dl]=dn-qo):(H[dl]=qo,ue[dl]=dn-qo)}this.adjustOddEvenCounts(17);let ke=4*l.getValue()+(d?0:2)+(u?0:1)-1,Ne=0,je=0;for(let dr=H.length-1;dr>=0;dr--)pt.isNotA1left(l,d,u)&&(je+=H[dr]*pt.WEIGHTS[ke][2*dr]),Ne+=H[dr];let Ye=0;for(let dr=q.length-1;dr>=0;dr--)pt.isNotA1left(l,d,u)&&(Ye+=q[dr]*pt.WEIGHTS[ke][2*dr+1]);let et=je+Ye;if(1&Ne||Ne>13||Ne<4)throw new we;let kt=(13-Ne)/2,Wt=pt.SYMBOL_WIDEST[kt],ct=9-Wt,Ii=ra.getRSSvalue(H,Wt,!0),Fi=ra.getRSSvalue(q,ct,!1);return new Ar(Ii*pt.EVEN_TOTAL_SUBSET[kt]+Fi+pt.GSUM[kt],et)}static isNotA1left(s,l,d){return!(0==s.getValue()&&l&&d)}adjustOddEvenCounts(s){let l=$t.sum(new Int32Array(this.getOddCounts())),d=$t.sum(new Int32Array(this.getEvenCounts())),u=!1,m=!1;l>13?m=!0:l<4&&(u=!0);let p=!1,v=!1;d>13?v=!0:d<4&&(p=!0);let M=l+d-s,H=1==(1&l),q=0==(1&d);if(1==M)if(H){if(q)throw new we;m=!0}else{if(!q)throw new we;v=!0}else if(-1==M)if(H){if(q)throw new we;u=!0}else{if(!q)throw new we;p=!0}else{if(0!=M)throw new we;if(H){if(!q)throw new we;l<d?(u=!0,v=!0):(m=!0,p=!0)}else if(q)throw new we}if(u){if(m)throw new we;pt.increment(this.getOddCounts(),this.getOddRoundingErrors())}if(m&&pt.decrement(this.getOddCounts(),this.getOddRoundingErrors()),p){if(v)throw new we;pt.increment(this.getEvenCounts(),this.getOddRoundingErrors())}v&&pt.decrement(this.getEvenCounts(),this.getEvenRoundingErrors())}}pt.SYMBOL_WIDEST=[7,5,4,3,1],pt.EVEN_TOTAL_SUBSET=[4,20,52,104,204],pt.GSUM=[0,348,1388,2948,3988],pt.FINDER_PATTERNS=[Int32Array.from([1,8,4,1]),Int32Array.from([3,6,4,1]),Int32Array.from([3,4,6,1]),Int32Array.from([3,2,8,1]),Int32Array.from([2,6,5,1]),Int32Array.from([2,2,9,1])],pt.WEIGHTS=[[1,3,9,27,81,32,96,77],[20,60,180,118,143,7,21,63],[189,145,13,39,117,140,209,205],[193,157,49,147,19,57,171,91],[62,186,136,197,169,85,44,132],[185,133,188,142,4,12,36,108],[113,128,173,97,80,29,87,50],[150,28,84,41,123,158,52,156],[46,138,203,187,139,206,196,166],[76,17,51,153,37,111,122,155],[43,129,176,106,107,110,119,146],[16,48,144,10,30,90,59,177],[109,116,137,200,178,112,125,164],[70,210,208,202,184,130,179,115],[134,191,151,31,93,68,204,190],[148,22,66,198,172,94,71,2],[6,18,54,162,64,192,154,40],[120,149,25,75,14,42,126,167],[79,26,78,23,69,207,199,175],[103,98,83,38,114,131,182,124],[161,61,183,127,170,88,53,159],[55,165,73,8,24,72,5,15],[45,135,194,160,58,174,100,89]],pt.FINDER_PAT_A=0,pt.FINDER_PAT_B=1,pt.FINDER_PAT_C=2,pt.FINDER_PAT_D=3,pt.FINDER_PAT_E=4,pt.FINDER_PAT_F=5,pt.FINDER_PATTERN_SEQUENCES=[[pt.FINDER_PAT_A,pt.FINDER_PAT_A],[pt.FINDER_PAT_A,pt.FINDER_PAT_B,pt.FINDER_PAT_B],[pt.FINDER_PAT_A,pt.FINDER_PAT_C,pt.FINDER_PAT_B,pt.FINDER_PAT_D],[pt.FINDER_PAT_A,pt.FINDER_PAT_E,pt.FINDER_PAT_B,pt.FINDER_PAT_D,pt.FINDER_PAT_C],[pt.FINDER_PAT_A,pt.FINDER_PAT_E,pt.FINDER_PAT_B,pt.FINDER_PAT_D,pt.FINDER_PAT_D,pt.FINDER_PAT_F],[pt.FINDER_PAT_A,pt.FINDER_PAT_E,pt.FINDER_PAT_B,pt.FINDER_PAT_D,pt.FINDER_PAT_E,pt.FINDER_PAT_F,pt.FINDER_PAT_F],[pt.FINDER_PAT_A,pt.FINDER_PAT_A,pt.FINDER_PAT_B,pt.FINDER_PAT_B,pt.FINDER_PAT_C,pt.FINDER_PAT_C,pt.FINDER_PAT_D,pt.FINDER_PAT_D],[pt.FINDER_PAT_A,pt.FINDER_PAT_A,pt.FINDER_PAT_B,pt.FINDER_PAT_B,pt.FINDER_PAT_C,pt.FINDER_PAT_C,pt.FINDER_PAT_D,pt.FINDER_PAT_E,pt.FINDER_PAT_E],[pt.FINDER_PAT_A,pt.FINDER_PAT_A,pt.FINDER_PAT_B,pt.FINDER_PAT_B,pt.FINDER_PAT_C,pt.FINDER_PAT_C,pt.FINDER_PAT_D,pt.FINDER_PAT_E,pt.FINDER_PAT_F,pt.FINDER_PAT_F],[pt.FINDER_PAT_A,pt.FINDER_PAT_A,pt.FINDER_PAT_B,pt.FINDER_PAT_B,pt.FINDER_PAT_C,pt.FINDER_PAT_D,pt.FINDER_PAT_D,pt.FINDER_PAT_E,pt.FINDER_PAT_E,pt.FINDER_PAT_F,pt.FINDER_PAT_F]],pt.MAX_PAIRS=11;class Ol extends Ar{constructor(s,l,d){super(s,l),this.count=0,this.finderPattern=d}getFinderPattern(){return this.finderPattern}getCount(){return this.count}incrementCount(){this.count++}}class pr extends Zr{constructor(){super(...arguments),this.possibleLeftPairs=[],this.possibleRightPairs=[]}decodeRow(s,l,d){const u=this.decodePair(l,!1,s,d);pr.addOrTally(this.possibleLeftPairs,u),l.reverse();let m=this.decodePair(l,!0,s,d);pr.addOrTally(this.possibleRightPairs,m),l.reverse();for(let p of this.possibleLeftPairs)if(p.getCount()>1)for(let v of this.possibleRightPairs)if(v.getCount()>1&&pr.checkChecksum(p,v))return pr.constructResult(p,v);throw new we}static addOrTally(s,l){if(null==l)return;let d=!1;for(let u of s)if(u.getValue()===l.getValue()){u.incrementCount(),d=!0;break}d||s.push(l)}reset(){this.possibleLeftPairs.length=0,this.possibleRightPairs.length=0}static constructResult(s,l){let d=4537077*s.getValue()+l.getValue(),u=new String(d).toString(),m=new me;for(let H=13-u.length;H>0;H--)m.append("0");m.append(u);let p=0;for(let H=0;H<13;H++){let q=m.charAt(H).charCodeAt(0)-"0".charCodeAt(0);p+=1&H?q:3*q}p=10-p%10,10===p&&(p=0),m.append(p.toString());let v=s.getFinderPattern().getResultPoints(),M=l.getFinderPattern().getResultPoints();return new He(m.toString(),null,0,[v[0],v[1],M[0],M[1]],nt.RSS_14,(new Date).getTime())}static checkChecksum(s,l){let d=(s.getChecksumPortion()+16*l.getChecksumPortion())%79,u=9*s.getFinderPattern().getValue()+l.getFinderPattern().getValue();return u>72&&u--,u>8&&u--,d===u}decodePair(s,l,d,u){try{let m=this.findFinderPattern(s,l),p=this.parseFoundFinderPattern(s,d,l,m),v=null==u?null:u.get(le.NEED_RESULT_POINT_CALLBACK);if(null!=v){let q=(m[0]+m[1])/2;l&&(q=s.getSize()-1-q),v.foundPossibleResultPoint(new vt(q,d))}let M=this.decodeDataCharacter(s,p,!0),H=this.decodeDataCharacter(s,p,!1);return new Ol(1597*M.getValue()+H.getValue(),M.getChecksumPortion()+4*H.getChecksumPortion(),p)}catch{return null}}decodeDataCharacter(s,l,d){let u=this.getDataCharacterCounters();for(let Ye=0;Ye<u.length;Ye++)u[Ye]=0;if(d)mr.recordPatternInReverse(s,l.getStartEnd()[0],u);else{mr.recordPattern(s,l.getStartEnd()[1]+1,u);for(let Ye=0,et=u.length-1;Ye<et;Ye++,et--){let kt=u[Ye];u[Ye]=u[et],u[et]=kt}}let m=d?16:15,p=$t.sum(new Int32Array(u))/m,v=this.getOddCounts(),M=this.getEvenCounts(),H=this.getOddRoundingErrors(),q=this.getEvenRoundingErrors();for(let Ye=0;Ye<u.length;Ye++){let et=u[Ye]/p,kt=Math.floor(et+.5);kt<1?kt=1:kt>8&&(kt=8);let Wt=Math.floor(Ye/2);1&Ye?(M[Wt]=kt,q[Wt]=et-kt):(v[Wt]=kt,H[Wt]=et-kt)}this.adjustOddEvenCounts(d,m);let ue=0,_e=0;for(let Ye=v.length-1;Ye>=0;Ye--)_e*=9,_e+=v[Ye],ue+=v[Ye];let ke=0,Ne=0;for(let Ye=M.length-1;Ye>=0;Ye--)ke*=9,ke+=M[Ye],Ne+=M[Ye];let je=_e+3*ke;if(d){if(1&ue||ue>12||ue<4)throw new we;let Ye=(12-ue)/2,et=pr.OUTSIDE_ODD_WIDEST[Ye],kt=9-et,Wt=ra.getRSSvalue(v,et,!1),ct=ra.getRSSvalue(M,kt,!0);return new Ar(Wt*pr.OUTSIDE_EVEN_TOTAL_SUBSET[Ye]+ct+pr.OUTSIDE_GSUM[Ye],je)}{if(1&Ne||Ne>10||Ne<4)throw new we;let Ye=(10-Ne)/2,et=pr.INSIDE_ODD_WIDEST[Ye],kt=9-et,Wt=ra.getRSSvalue(v,et,!0),ct=ra.getRSSvalue(M,kt,!1);return new Ar(ct*pr.INSIDE_ODD_TOTAL_SUBSET[Ye]+Wt+pr.INSIDE_GSUM[Ye],je)}}findFinderPattern(s,l){let d=this.getDecodeFinderCounters();d[0]=0,d[1]=0,d[2]=0,d[3]=0;let u=s.getSize(),m=!1,p=0;for(;p<u&&(m=!s.get(p),l!==m);)p++;let v=0,M=p;for(let H=p;H<u;H++)if(s.get(H)!==m)d[v]++;else{if(3===v){if(Zr.isFinderPattern(d))return[M,H];M+=d[0]+d[1],d[0]=d[2],d[1]=d[3],d[2]=0,d[3]=0,v--}else v++;d[v]=1,m=!m}throw new we}parseFoundFinderPattern(s,l,d,u){let m=s.get(u[0]),p=u[0]-1;for(;p>=0&&m!==s.get(p);)p--;p++;const v=u[0]-p,M=this.getDecodeFinderCounters(),H=new Int32Array(M.length);V.arraycopy(M,0,H,1,M.length-1),H[0]=v;const q=this.parseFinderValue(H,pr.FINDER_PATTERNS);let ue=p,_e=u[1];return d&&(ue=s.getSize()-1-ue,_e=s.getSize()-1-_e),new ps(q,[p,u[1]],ue,_e,l)}adjustOddEvenCounts(s,l){let d=$t.sum(new Int32Array(this.getOddCounts())),u=$t.sum(new Int32Array(this.getEvenCounts())),m=!1,p=!1,v=!1,M=!1;s?(d>12?p=!0:d<4&&(m=!0),u>12?M=!0:u<4&&(v=!0)):(d>11?p=!0:d<5&&(m=!0),u>10?M=!0:u<4&&(v=!0));let H=d+u-l,q=(1&d)==(s?1:0),ue=1==(1&u);if(1===H)if(q){if(ue)throw new we;p=!0}else{if(!ue)throw new we;M=!0}else if(-1===H)if(q){if(ue)throw new we;m=!0}else{if(!ue)throw new we;v=!0}else{if(0!==H)throw new we;if(q){if(!ue)throw new we;d<u?(m=!0,M=!0):(p=!0,v=!0)}else if(ue)throw new we}if(m){if(p)throw new we;Zr.increment(this.getOddCounts(),this.getOddRoundingErrors())}if(p&&Zr.decrement(this.getOddCounts(),this.getOddRoundingErrors()),v){if(M)throw new we;Zr.increment(this.getEvenCounts(),this.getOddRoundingErrors())}M&&Zr.decrement(this.getEvenCounts(),this.getEvenRoundingErrors())}}pr.OUTSIDE_EVEN_TOTAL_SUBSET=[1,10,34,70,126],pr.INSIDE_ODD_TOTAL_SUBSET=[4,20,48,81],pr.OUTSIDE_GSUM=[0,161,961,2015,2715],pr.INSIDE_GSUM=[0,336,1036,1516],pr.OUTSIDE_ODD_WIDEST=[8,6,4,3,1],pr.INSIDE_ODD_WIDEST=[2,4,6,8],pr.FINDER_PATTERNS=[Int32Array.from([3,8,2,1]),Int32Array.from([3,5,5,1]),Int32Array.from([3,3,7,1]),Int32Array.from([3,1,9,1]),Int32Array.from([2,7,4,1]),Int32Array.from([2,5,6,1]),Int32Array.from([2,3,8,1]),Int32Array.from([1,5,7,1]),Int32Array.from([1,3,9,1])];class Bo extends mr{constructor(s,l){super(),this.readers=[],this.verbose=!0===l;const d=s?s.get(le.POSSIBLE_FORMATS):null,u=s&&void 0!==s.get(le.ASSUME_CODE_39_CHECK_DIGIT);d?((d.includes(nt.EAN_13)||d.includes(nt.UPC_A)||d.includes(nt.EAN_8)||d.includes(nt.UPC_E))&&this.readers.push(new vo(s)),d.includes(nt.CODE_39)&&this.readers.push(new Po(u)),d.includes(nt.CODE_128)&&this.readers.push(new Ot),d.includes(nt.ITF)&&this.readers.push(new Ue),d.includes(nt.RSS_14)&&this.readers.push(new pr),d.includes(nt.RSS_EXPANDED)&&this.readers.push(new pt(this.verbose))):(this.readers.push(new vo(s)),this.readers.push(new Po),this.readers.push(new vo(s)),this.readers.push(new Ot),this.readers.push(new Ue),this.readers.push(new pr),this.readers.push(new pt(this.verbose)))}decodeRow(s,l,d){for(let u=0;u<this.readers.length;u++)try{return this.readers[u].decodeRow(s,l,d)}catch{}throw new we}reset(){this.readers.forEach(s=>s.reset())}}class cn{constructor(s,l,d){this.ecCodewords=s,this.ecBlocks=[l],d&&this.ecBlocks.push(d)}getECCodewords(){return this.ecCodewords}getECBlocks(){return this.ecBlocks}}class Rn{constructor(s,l){this.count=s,this.dataCodewords=l}getCount(){return this.count}getDataCodewords(){return this.dataCodewords}}class rn{constructor(s,l,d,u,m,p){this.versionNumber=s,this.symbolSizeRows=l,this.symbolSizeColumns=d,this.dataRegionSizeRows=u,this.dataRegionSizeColumns=m,this.ecBlocks=p;let v=0;const M=p.getECCodewords(),H=p.getECBlocks();for(let q of H)v+=q.getCount()*(q.getDataCodewords()+M);this.totalCodewords=v}getVersionNumber(){return this.versionNumber}getSymbolSizeRows(){return this.symbolSizeRows}getSymbolSizeColumns(){return this.symbolSizeColumns}getDataRegionSizeRows(){return this.dataRegionSizeRows}getDataRegionSizeColumns(){return this.dataRegionSizeColumns}getTotalCodewords(){return this.totalCodewords}getECBlocks(){return this.ecBlocks}static getVersionForDimensions(s,l){if(1&s||1&l)throw new ie;for(let d of rn.VERSIONS)if(d.symbolSizeRows===s&&d.symbolSizeColumns===l)return d;throw new ie}toString(){return""+this.versionNumber}static buildVersions(){return[new rn(1,10,10,8,8,new cn(5,new Rn(1,3))),new rn(2,12,12,10,10,new cn(7,new Rn(1,5))),new rn(3,14,14,12,12,new cn(10,new Rn(1,8))),new rn(4,16,16,14,14,new cn(12,new Rn(1,12))),new rn(5,18,18,16,16,new cn(14,new Rn(1,18))),new rn(6,20,20,18,18,new cn(18,new Rn(1,22))),new rn(7,22,22,20,20,new cn(20,new Rn(1,30))),new rn(8,24,24,22,22,new cn(24,new Rn(1,36))),new rn(9,26,26,24,24,new cn(28,new Rn(1,44))),new rn(10,32,32,14,14,new cn(36,new Rn(1,62))),new rn(11,36,36,16,16,new cn(42,new Rn(1,86))),new rn(12,40,40,18,18,new cn(48,new Rn(1,114))),new rn(13,44,44,20,20,new cn(56,new Rn(1,144))),new rn(14,48,48,22,22,new cn(68,new Rn(1,174))),new rn(15,52,52,24,24,new cn(42,new Rn(2,102))),new rn(16,64,64,14,14,new cn(56,new Rn(2,140))),new rn(17,72,72,16,16,new cn(36,new Rn(4,92))),new rn(18,80,80,18,18,new cn(48,new Rn(4,114))),new rn(19,88,88,20,20,new cn(56,new Rn(4,144))),new rn(20,96,96,22,22,new cn(68,new Rn(4,174))),new rn(21,104,104,24,24,new cn(56,new Rn(6,136))),new rn(22,120,120,18,18,new cn(68,new Rn(6,175))),new rn(23,132,132,20,20,new cn(62,new Rn(8,163))),new rn(24,144,144,22,22,new cn(62,new Rn(8,156),new Rn(2,155))),new rn(25,8,18,6,16,new cn(7,new Rn(1,5))),new rn(26,8,32,6,14,new cn(11,new Rn(1,10))),new rn(27,12,26,10,24,new cn(14,new Rn(1,16))),new rn(28,12,36,10,16,new cn(18,new Rn(1,22))),new rn(29,16,36,14,16,new cn(24,new Rn(1,32))),new rn(30,16,48,14,22,new cn(28,new Rn(1,49)))]}}rn.VERSIONS=rn.buildVersions();class rr{constructor(s){const l=s.getHeight();if(l<8||l>144||1&l)throw new ie;this.version=rr.readVersion(s),this.mappingBitMatrix=this.extractDataRegion(s),this.readMappingMatrix=new ge(this.mappingBitMatrix.getWidth(),this.mappingBitMatrix.getHeight())}getVersion(){return this.version}static readVersion(s){const l=s.getHeight(),d=s.getWidth();return rn.getVersionForDimensions(l,d)}readCodewords(){const s=new Int8Array(this.version.getTotalCodewords());let l=0,d=4,u=0;const m=this.mappingBitMatrix.getHeight(),p=this.mappingBitMatrix.getWidth();let v=!1,M=!1,H=!1,q=!1;do{if(d!==m||0!==u||v)if(d===m-2&&0===u&&3&p&&!M)s[l++]=255&this.readCorner2(m,p),d-=2,u+=2,M=!0;else if(d!==m+4||2!==u||7&p||H)if(d!==m-2||0!==u||4!=(7&p)||q){do{d<m&&u>=0&&!this.readMappingMatrix.get(u,d)&&(s[l++]=255&this.readUtah(d,u,m,p)),d-=2,u+=2}while(d>=0&&u<p);d+=1,u+=3;do{d>=0&&u<p&&!this.readMappingMatrix.get(u,d)&&(s[l++]=255&this.readUtah(d,u,m,p)),d+=2,u-=2}while(d<m&&u>=0);d+=3,u+=1}else s[l++]=255&this.readCorner4(m,p),d-=2,u+=2,q=!0;else s[l++]=255&this.readCorner3(m,p),d-=2,u+=2,H=!0;else s[l++]=255&this.readCorner1(m,p),d-=2,u+=2,v=!0}while(d<m||u<p);if(l!==this.version.getTotalCodewords())throw new ie;return s}readModule(s,l,d,u){return s<0&&(s+=d,l+=4-(d+4&7)),l<0&&(l+=u,s+=4-(u+4&7)),this.readMappingMatrix.set(l,s),this.mappingBitMatrix.get(l,s)}readUtah(s,l,d,u){let m=0;return this.readModule(s-2,l-2,d,u)&&(m|=1),m<<=1,this.readModule(s-2,l-1,d,u)&&(m|=1),m<<=1,this.readModule(s-1,l-2,d,u)&&(m|=1),m<<=1,this.readModule(s-1,l-1,d,u)&&(m|=1),m<<=1,this.readModule(s-1,l,d,u)&&(m|=1),m<<=1,this.readModule(s,l-2,d,u)&&(m|=1),m<<=1,this.readModule(s,l-1,d,u)&&(m|=1),m<<=1,this.readModule(s,l,d,u)&&(m|=1),m}readCorner1(s,l){let d=0;return this.readModule(s-1,0,s,l)&&(d|=1),d<<=1,this.readModule(s-1,1,s,l)&&(d|=1),d<<=1,this.readModule(s-1,2,s,l)&&(d|=1),d<<=1,this.readModule(0,l-2,s,l)&&(d|=1),d<<=1,this.readModule(0,l-1,s,l)&&(d|=1),d<<=1,this.readModule(1,l-1,s,l)&&(d|=1),d<<=1,this.readModule(2,l-1,s,l)&&(d|=1),d<<=1,this.readModule(3,l-1,s,l)&&(d|=1),d}readCorner2(s,l){let d=0;return this.readModule(s-3,0,s,l)&&(d|=1),d<<=1,this.readModule(s-2,0,s,l)&&(d|=1),d<<=1,this.readModule(s-1,0,s,l)&&(d|=1),d<<=1,this.readModule(0,l-4,s,l)&&(d|=1),d<<=1,this.readModule(0,l-3,s,l)&&(d|=1),d<<=1,this.readModule(0,l-2,s,l)&&(d|=1),d<<=1,this.readModule(0,l-1,s,l)&&(d|=1),d<<=1,this.readModule(1,l-1,s,l)&&(d|=1),d}readCorner3(s,l){let d=0;return this.readModule(s-1,0,s,l)&&(d|=1),d<<=1,this.readModule(s-1,l-1,s,l)&&(d|=1),d<<=1,this.readModule(0,l-3,s,l)&&(d|=1),d<<=1,this.readModule(0,l-2,s,l)&&(d|=1),d<<=1,this.readModule(0,l-1,s,l)&&(d|=1),d<<=1,this.readModule(1,l-3,s,l)&&(d|=1),d<<=1,this.readModule(1,l-2,s,l)&&(d|=1),d<<=1,this.readModule(1,l-1,s,l)&&(d|=1),d}readCorner4(s,l){let d=0;return this.readModule(s-3,0,s,l)&&(d|=1),d<<=1,this.readModule(s-2,0,s,l)&&(d|=1),d<<=1,this.readModule(s-1,0,s,l)&&(d|=1),d<<=1,this.readModule(0,l-2,s,l)&&(d|=1),d<<=1,this.readModule(0,l-1,s,l)&&(d|=1),d<<=1,this.readModule(1,l-1,s,l)&&(d|=1),d<<=1,this.readModule(2,l-1,s,l)&&(d|=1),d<<=1,this.readModule(3,l-1,s,l)&&(d|=1),d}extractDataRegion(s){const l=this.version.getSymbolSizeRows(),d=this.version.getSymbolSizeColumns();if(s.getHeight()!==l)throw new R("Dimension of bitMatrix must match the version size");const u=this.version.getDataRegionSizeRows(),m=this.version.getDataRegionSizeColumns(),p=l/u|0,v=d/m|0,q=new ge(v*m,p*u);for(let ue=0;ue<p;++ue){const _e=ue*u;for(let ke=0;ke<v;++ke){const Ne=ke*m;for(let je=0;je<u;++je){const Ye=ue*(u+2)+1+je,et=_e+je;for(let kt=0;kt<m;++kt)s.get(ke*(m+2)+1+kt,Ye)&&q.set(Ne+kt,et)}}}return q}}class Pn{constructor(s,l){this.numDataCodewords=s,this.codewords=l}static getDataBlocks(s,l){const d=l.getECBlocks();let u=0;const m=d.getECBlocks();for(let je of m)u+=je.getCount();const p=new Array(u);let v=0;for(let je of m)for(let Ye=0;Ye<je.getCount();Ye++){const et=je.getDataCodewords(),kt=d.getECCodewords()+et;p[v++]=new Pn(et,new Uint8Array(kt))}const H=p[0].codewords.length-d.getECCodewords(),q=H-1;let ue=0;for(let je=0;je<q;je++)for(let Ye=0;Ye<v;Ye++)p[Ye].codewords[je]=s[ue++];const _e=24===l.getVersionNumber(),ke=_e?8:v;for(let je=0;je<ke;je++)p[je].codewords[H-1]=s[ue++];const Ne=p[0].codewords.length;for(let je=H;je<Ne;je++)for(let Ye=0;Ye<v;Ye++){const et=_e?(Ye+8)%v:Ye;p[et].codewords[_e&&et>7?je-1:je]=s[ue++]}if(ue!==s.length)throw new R;return p}getNumDataCodewords(){return this.numDataCodewords}getCodewords(){return this.codewords}}class ro{constructor(s){this.bytes=s,this.byteOffset=0,this.bitOffset=0}getBitOffset(){return this.bitOffset}getByteOffset(){return this.byteOffset}readBits(s){if(s<1||s>32||s>this.available())throw new R(""+s);let l=0,d=this.bitOffset,u=this.byteOffset;const m=this.bytes;if(d>0){const p=8-d,v=s<p?s:p,M=p-v;l=(m[u]&255>>8-v<<M)>>M,s-=v,d+=v,8===d&&(d=0,u++)}if(s>0){for(;s>=8;)l=l<<8|255&m[u],u++,s-=8;if(s>0){const p=8-s;l=l<<s|(m[u]&255>>p<<p)>>p,d+=s}}return this.bitOffset=d,this.byteOffset=u,l}available(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset}}var In=(()=>{return(Y=In||(In={}))[Y.PAD_ENCODE=0]="PAD_ENCODE",Y[Y.ASCII_ENCODE=1]="ASCII_ENCODE",Y[Y.C40_ENCODE=2]="C40_ENCODE",Y[Y.TEXT_ENCODE=3]="TEXT_ENCODE",Y[Y.ANSIX12_ENCODE=4]="ANSIX12_ENCODE",Y[Y.EDIFACT_ENCODE=5]="EDIFACT_ENCODE",Y[Y.BASE256_ENCODE=6]="BASE256_ENCODE",In;var Y})();class en{static decode(s){const l=new ro(s),d=new me,u=new me,m=new Array;let p=In.ASCII_ENCODE;do{if(p===In.ASCII_ENCODE)p=this.decodeAsciiSegment(l,d,u);else{switch(p){case In.C40_ENCODE:this.decodeC40Segment(l,d);break;case In.TEXT_ENCODE:this.decodeTextSegment(l,d);break;case In.ANSIX12_ENCODE:this.decodeAnsiX12Segment(l,d);break;case In.EDIFACT_ENCODE:this.decodeEdifactSegment(l,d);break;case In.BASE256_ENCODE:this.decodeBase256Segment(l,d,m);break;default:throw new ie}p=In.ASCII_ENCODE}}while(p!==In.PAD_ENCODE&&l.available()>0);return u.length()>0&&d.append(u.toString()),new Fn(s,d.toString(),0===m.length?null:m,null)}static decodeAsciiSegment(s,l,d){let u=!1;do{let m=s.readBits(8);if(0===m)throw new ie;if(m<=128)return u&&(m+=128),l.append(String.fromCharCode(m-1)),In.ASCII_ENCODE;if(129===m)return In.PAD_ENCODE;if(m<=229){const p=m-130;p<10&&l.append("0"),l.append(""+p)}else switch(m){case 230:return In.C40_ENCODE;case 231:return In.BASE256_ENCODE;case 232:l.append(String.fromCharCode(29));break;case 233:case 234:case 241:break;case 235:u=!0;break;case 236:l.append("[)>\x1e05\x1d"),d.insert(0,"\x1e\x04");break;case 237:l.append("[)>\x1e06\x1d"),d.insert(0,"\x1e\x04");break;case 238:return In.ANSIX12_ENCODE;case 239:return In.TEXT_ENCODE;case 240:return In.EDIFACT_ENCODE;default:if(254!==m||0!==s.available())throw new ie}}while(s.available()>0);return In.ASCII_ENCODE}static decodeC40Segment(s,l){let d=!1;const u=[];let m=0;do{if(8===s.available())return;const p=s.readBits(8);if(254===p)return;this.parseTwoBytes(p,s.readBits(8),u);for(let v=0;v<3;v++){const M=u[v];switch(m){case 0:if(M<3)m=M+1;else{if(!(M<this.C40_BASIC_SET_CHARS.length))throw new ie;{const H=this.C40_BASIC_SET_CHARS[M];d?(l.append(String.fromCharCode(H.charCodeAt(0)+128)),d=!1):l.append(H)}}break;case 1:d?(l.append(String.fromCharCode(M+128)),d=!1):l.append(String.fromCharCode(M)),m=0;break;case 2:if(M<this.C40_SHIFT2_SET_CHARS.length){const H=this.C40_SHIFT2_SET_CHARS[M];d?(l.append(String.fromCharCode(H.charCodeAt(0)+128)),d=!1):l.append(H)}else switch(M){case 27:l.append(String.fromCharCode(29));break;case 30:d=!0;break;default:throw new ie}m=0;break;case 3:d?(l.append(String.fromCharCode(M+224)),d=!1):l.append(String.fromCharCode(M+96)),m=0;break;default:throw new ie}}}while(s.available()>0)}static decodeTextSegment(s,l){let d=!1,u=[],m=0;do{if(8===s.available())return;const p=s.readBits(8);if(254===p)return;this.parseTwoBytes(p,s.readBits(8),u);for(let v=0;v<3;v++){const M=u[v];switch(m){case 0:if(M<3)m=M+1;else{if(!(M<this.TEXT_BASIC_SET_CHARS.length))throw new ie;{const H=this.TEXT_BASIC_SET_CHARS[M];d?(l.append(String.fromCharCode(H.charCodeAt(0)+128)),d=!1):l.append(H)}}break;case 1:d?(l.append(String.fromCharCode(M+128)),d=!1):l.append(String.fromCharCode(M)),m=0;break;case 2:if(M<this.TEXT_SHIFT2_SET_CHARS.length){const H=this.TEXT_SHIFT2_SET_CHARS[M];d?(l.append(String.fromCharCode(H.charCodeAt(0)+128)),d=!1):l.append(H)}else switch(M){case 27:l.append(String.fromCharCode(29));break;case 30:d=!0;break;default:throw new ie}m=0;break;case 3:if(!(M<this.TEXT_SHIFT3_SET_CHARS.length))throw new ie;{const H=this.TEXT_SHIFT3_SET_CHARS[M];d?(l.append(String.fromCharCode(H.charCodeAt(0)+128)),d=!1):l.append(H),m=0}break;default:throw new ie}}}while(s.available()>0)}static decodeAnsiX12Segment(s,l){const d=[];do{if(8===s.available())return;const u=s.readBits(8);if(254===u)return;this.parseTwoBytes(u,s.readBits(8),d);for(let m=0;m<3;m++){const p=d[m];switch(p){case 0:l.append("\r");break;case 1:l.append("*");break;case 2:l.append(">");break;case 3:l.append(" ");break;default:if(p<14)l.append(String.fromCharCode(p+44));else{if(!(p<40))throw new ie;l.append(String.fromCharCode(p+51))}}}}while(s.available()>0)}static parseTwoBytes(s,l,d){let u=(s<<8)+l-1,m=Math.floor(u/1600);d[0]=m,u-=1600*m,m=Math.floor(u/40),d[1]=m,d[2]=u-40*m}static decodeEdifactSegment(s,l){do{if(s.available()<=16)return;for(let d=0;d<4;d++){let u=s.readBits(6);if(31===u){const m=8-s.getBitOffset();return void(8!==m&&s.readBits(m))}32&u||(u|=64),l.append(String.fromCharCode(u))}}while(s.available()>0)}static decodeBase256Segment(s,l,d){let u=1+s.getByteOffset();const m=this.unrandomize255State(s.readBits(8),u++);let p;if(p=0===m?s.available()/8|0:m<250?m:250*(m-249)+this.unrandomize255State(s.readBits(8),u++),p<0)throw new ie;const v=new Uint8Array(p);for(let M=0;M<p;M++){if(s.available()<8)throw new ie;v[M]=this.unrandomize255State(s.readBits(8),u++)}d.push(v);try{l.append(ae.decode(v,de.ISO88591))}catch(M){throw new zt("Platform does not support required encoding: "+M.message)}}static unrandomize255State(s,l){const u=s-(149*l%255+1);return u>=0?u:u+256}}en.C40_BASIC_SET_CHARS=["*","*","*"," ","0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],en.C40_SHIFT2_SET_CHARS=["!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","@","[","\\","]","^","_"],en.TEXT_BASIC_SET_CHARS=["*","*","*"," ","0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],en.TEXT_SHIFT2_SET_CHARS=en.C40_SHIFT2_SET_CHARS,en.TEXT_SHIFT3_SET_CHARS=["`","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","{","|","}","~",String.fromCharCode(127)];class uc{constructor(){this.rsDecoder=new Ge(xi.DATA_MATRIX_FIELD_256)}decode(s){const l=new rr(s),d=l.getVersion(),u=l.readCodewords(),m=Pn.getDataBlocks(u,d);let p=0;for(let H of m)p+=H.getNumDataCodewords();const v=new Uint8Array(p),M=m.length;for(let H=0;H<M;H++){const q=m[H],ue=q.getCodewords(),_e=q.getNumDataCodewords();this.correctErrors(ue,_e);for(let ke=0;ke<_e;ke++)v[ke*M+H]=ue[ke]}return en.decode(v)}correctErrors(s,l){const d=new Int32Array(s);try{this.rsDecoder.decode(d,s.length-l)}catch{throw new Z}for(let u=0;u<l;u++)s[u]=d[u]}}class Yi{constructor(s){this.image=s,this.rectangleDetector=new Vi(this.image)}detect(){const s=this.rectangleDetector.detect();let l=this.detectSolid1(s);if(l=this.detectSolid2(l),l[3]=this.correctTopRight(l),!l[3])throw new we;l=this.shiftToModuleCenter(l);const d=l[0],u=l[1],m=l[2],p=l[3];let v=this.transitionsBetween(d,p)+1,M=this.transitionsBetween(m,p)+1;1==(1&v)&&(v+=1),1==(1&M)&&(M+=1),4*v<7*M&&4*M<7*v&&(v=M=Math.max(v,M));let H=Yi.sampleGrid(this.image,d,u,m,p,v,M);return new un(H,[d,u,m,p])}static shiftPoint(s,l,d){let u=(l.getX()-s.getX())/(d+1),m=(l.getY()-s.getY())/(d+1);return new vt(s.getX()+u,s.getY()+m)}static moveAway(s,l,d){let u=s.getX(),m=s.getY();return u<l?u-=1:u+=1,m<d?m-=1:m+=1,new vt(u,m)}detectSolid1(s){let l=s[0],d=s[1],u=s[3],m=s[2],p=this.transitionsBetween(l,d),v=this.transitionsBetween(d,u),M=this.transitionsBetween(u,m),H=this.transitionsBetween(m,l),q=p,ue=[m,l,d,u];return q>v&&(q=v,ue[0]=l,ue[1]=d,ue[2]=u,ue[3]=m),q>M&&(q=M,ue[0]=d,ue[1]=u,ue[2]=m,ue[3]=l),q>H&&(ue[0]=u,ue[1]=m,ue[2]=l,ue[3]=d),ue}detectSolid2(s){let l=s[0],d=s[1],u=s[2],m=s[3],p=this.transitionsBetween(l,m),v=Yi.shiftPoint(d,u,4*(p+1)),M=Yi.shiftPoint(u,d,4*(p+1));return this.transitionsBetween(v,l)<this.transitionsBetween(M,m)?(s[0]=l,s[1]=d,s[2]=u,s[3]=m):(s[0]=d,s[1]=u,s[2]=m,s[3]=l),s}correctTopRight(s){let l=s[0],d=s[1],u=s[2],m=s[3],p=this.transitionsBetween(l,m),v=this.transitionsBetween(d,m),M=Yi.shiftPoint(l,d,4*(v+1)),H=Yi.shiftPoint(u,d,4*(p+1));p=this.transitionsBetween(M,m),v=this.transitionsBetween(H,m);let q=new vt(m.getX()+(u.getX()-d.getX())/(p+1),m.getY()+(u.getY()-d.getY())/(p+1)),ue=new vt(m.getX()+(l.getX()-d.getX())/(v+1),m.getY()+(l.getY()-d.getY())/(v+1));return this.isValid(q)?this.isValid(ue)?this.transitionsBetween(M,q)+this.transitionsBetween(H,q)>this.transitionsBetween(M,ue)+this.transitionsBetween(H,ue)?q:ue:q:this.isValid(ue)?ue:null}shiftToModuleCenter(s){let l=s[0],d=s[1],u=s[2],m=s[3],p=this.transitionsBetween(l,m)+1,v=this.transitionsBetween(u,m)+1,M=Yi.shiftPoint(l,d,4*v),H=Yi.shiftPoint(u,d,4*p);p=this.transitionsBetween(M,m)+1,v=this.transitionsBetween(H,m)+1,1==(1&p)&&(p+=1),1==(1&v)&&(v+=1);let _e,ke,q=(l.getX()+d.getX()+u.getX()+m.getX())/4,ue=(l.getY()+d.getY()+u.getY()+m.getY())/4;return l=Yi.moveAway(l,q,ue),d=Yi.moveAway(d,q,ue),u=Yi.moveAway(u,q,ue),m=Yi.moveAway(m,q,ue),M=Yi.shiftPoint(l,d,4*v),M=Yi.shiftPoint(M,m,4*p),_e=Yi.shiftPoint(d,l,4*v),_e=Yi.shiftPoint(_e,u,4*p),H=Yi.shiftPoint(u,m,4*v),H=Yi.shiftPoint(H,d,4*p),ke=Yi.shiftPoint(m,u,4*v),ke=Yi.shiftPoint(ke,l,4*p),[M,_e,H,ke]}isValid(s){return s.getX()>=0&&s.getX()<this.image.getWidth()&&s.getY()>0&&s.getY()<this.image.getHeight()}static sampleGrid(s,l,d,u,m,p,v){return Oi.getInstance().sampleGrid(s,p,v,.5,.5,p-.5,.5,p-.5,v-.5,.5,v-.5,l.getX(),l.getY(),m.getX(),m.getY(),u.getX(),u.getY(),d.getX(),d.getY())}transitionsBetween(s,l){let d=Math.trunc(s.getX()),u=Math.trunc(s.getY()),m=Math.trunc(l.getX()),p=Math.trunc(l.getY()),v=Math.abs(p-u)>Math.abs(m-d);if(v){let je=d;d=u,u=je,je=m,m=p,p=je}let M=Math.abs(m-d),H=Math.abs(p-u),q=-M/2,ue=u<p?1:-1,_e=d<m?1:-1,ke=0,Ne=this.image.get(v?u:d,v?d:u);for(let je=d,Ye=u;je!==m;je+=_e){let et=this.image.get(v?Ye:je,v?je:Ye);if(et!==Ne&&(ke++,Ne=et),q+=H,q>0){if(Ye===p)break;Ye+=ue,q-=M}}return ke}}let Ui=(()=>{class Y{constructor(){this.decoder=new uc}decode(l,d=null){let u,m;if(null!=d&&d.has(le.PURE_BARCODE)){const q=Y.extractPureBits(l.getBlackMatrix());u=this.decoder.decode(q),m=Y.NO_POINTS}else{const q=new Yi(l.getBlackMatrix()).detect();u=this.decoder.decode(q.getBits()),m=q.getPoints()}const p=u.getRawBytes(),v=new He(u.getText(),p,8*p.length,m,nt.DATA_MATRIX,V.currentTimeMillis()),M=u.getByteSegments();null!=M&&v.putMetadata(Ut.BYTE_SEGMENTS,M);const H=u.getECLevel();return null!=H&&v.putMetadata(Ut.ERROR_CORRECTION_LEVEL,H),v}reset(){}static extractPureBits(l){const d=l.getTopLeftOnBit(),u=l.getBottomRightOnBit();if(null==d||null==u)throw new we;const m=this.moduleSize(d,l);let p=d[1],M=d[0];const q=(u[0]-M+1)/m,ue=(u[1]-p+1)/m;if(q<=0||ue<=0)throw new we;const _e=m/2;p+=_e,M+=_e;const ke=new ge(q,ue);for(let Ne=0;Ne<ue;Ne++){const je=p+Ne*m;for(let Ye=0;Ye<q;Ye++)l.get(M+Ye*m,je)&&ke.set(Ye,Ne)}return ke}static moduleSize(l,d){const u=d.getWidth();let m=l[0];const p=l[1];for(;m<u&&d.get(m,p);)m++;if(m===u)throw new we;const v=m-l[0];if(0===v)throw new we;return v}}return Y.NO_POINTS=[],Y})();var di=(()=>{return(Y=di||(di={}))[Y.L=0]="L",Y[Y.M=1]="M",Y[Y.Q=2]="Q",Y[Y.H=3]="H",di;var Y})();class Pt{constructor(s,l,d){this.value=s,this.stringValue=l,this.bits=d,Pt.FOR_BITS.set(d,this),Pt.FOR_VALUE.set(s,this)}getValue(){return this.value}getBits(){return this.bits}static fromString(s){switch(s){case"L":return Pt.L;case"M":return Pt.M;case"Q":return Pt.Q;case"H":return Pt.H;default:throw new B(s+"not available")}}toString(){return this.stringValue}equals(s){return s instanceof Pt&&this.value===s.value}static forBits(s){if(s<0||s>=Pt.FOR_BITS.size)throw new R;return Pt.FOR_BITS.get(s)}}Pt.FOR_BITS=new Map,Pt.FOR_VALUE=new Map,Pt.L=new Pt(di.L,"L",1),Pt.M=new Pt(di.M,"M",0),Pt.Q=new Pt(di.Q,"Q",3),Pt.H=new Pt(di.H,"H",2);class Ir{constructor(s){this.errorCorrectionLevel=Pt.forBits(s>>3&3),this.dataMask=7&s}static numBitsDiffering(s,l){return G.bitCount(s^l)}static decodeFormatInformation(s,l){const d=Ir.doDecodeFormatInformation(s,l);return null!==d?d:Ir.doDecodeFormatInformation(s^Ir.FORMAT_INFO_MASK_QR,l^Ir.FORMAT_INFO_MASK_QR)}static doDecodeFormatInformation(s,l){let d=Number.MAX_SAFE_INTEGER,u=0;for(const m of Ir.FORMAT_INFO_DECODE_LOOKUP){const p=m[0];if(p===s||p===l)return new Ir(m[1]);let v=Ir.numBitsDiffering(s,p);v<d&&(u=m[1],d=v),s!==l&&(v=Ir.numBitsDiffering(l,p),v<d&&(u=m[1],d=v))}return d<=3?new Ir(u):null}getErrorCorrectionLevel(){return this.errorCorrectionLevel}getDataMask(){return this.dataMask}hashCode(){return this.errorCorrectionLevel.getBits()<<3|this.dataMask}equals(s){return s instanceof Ir&&this.errorCorrectionLevel===s.errorCorrectionLevel&&this.dataMask===s.dataMask}}Ir.FORMAT_INFO_MASK_QR=21522,Ir.FORMAT_INFO_DECODE_LOOKUP=[Int32Array.from([21522,0]),Int32Array.from([20773,1]),Int32Array.from([24188,2]),Int32Array.from([23371,3]),Int32Array.from([17913,4]),Int32Array.from([16590,5]),Int32Array.from([20375,6]),Int32Array.from([19104,7]),Int32Array.from([30660,8]),Int32Array.from([29427,9]),Int32Array.from([32170,10]),Int32Array.from([30877,11]),Int32Array.from([26159,12]),Int32Array.from([25368,13]),Int32Array.from([27713,14]),Int32Array.from([26998,15]),Int32Array.from([5769,16]),Int32Array.from([5054,17]),Int32Array.from([7399,18]),Int32Array.from([6608,19]),Int32Array.from([1890,20]),Int32Array.from([597,21]),Int32Array.from([3340,22]),Int32Array.from([2107,23]),Int32Array.from([13663,24]),Int32Array.from([12392,25]),Int32Array.from([16177,26]),Int32Array.from([14854,27]),Int32Array.from([9396,28]),Int32Array.from([8579,29]),Int32Array.from([11994,30]),Int32Array.from([11245,31])];class $e{constructor(s,...l){this.ecCodewordsPerBlock=s,this.ecBlocks=l}getECCodewordsPerBlock(){return this.ecCodewordsPerBlock}getNumBlocks(){let s=0;const l=this.ecBlocks;for(const d of l)s+=d.getCount();return s}getTotalECCodewords(){return this.ecCodewordsPerBlock*this.getNumBlocks()}getECBlocks(){return this.ecBlocks}}class De{constructor(s,l){this.count=s,this.dataCodewords=l}getCount(){return this.count}getDataCodewords(){return this.dataCodewords}}class li{constructor(s,l,...d){this.versionNumber=s,this.alignmentPatternCenters=l,this.ecBlocks=d;let u=0;const m=d[0].getECCodewordsPerBlock(),p=d[0].getECBlocks();for(const v of p)u+=v.getCount()*(v.getDataCodewords()+m);this.totalCodewords=u}getVersionNumber(){return this.versionNumber}getAlignmentPatternCenters(){return this.alignmentPatternCenters}getTotalCodewords(){return this.totalCodewords}getDimensionForVersion(){return 17+4*this.versionNumber}getECBlocksForLevel(s){return this.ecBlocks[s.getValue()]}static getProvisionalVersionForDimension(s){if(s%4!=1)throw new ie;try{return this.getVersionForNumber((s-17)/4)}catch{throw new ie}}static getVersionForNumber(s){if(s<1||s>40)throw new R;return li.VERSIONS[s-1]}static decodeVersionInformation(s){let l=Number.MAX_SAFE_INTEGER,d=0;for(let u=0;u<li.VERSION_DECODE_INFO.length;u++){const m=li.VERSION_DECODE_INFO[u];if(m===s)return li.getVersionForNumber(u+7);const p=Ir.numBitsDiffering(s,m);p<l&&(d=u+7,l=p)}return l<=3?li.getVersionForNumber(d):null}buildFunctionPattern(){const s=this.getDimensionForVersion(),l=new ge(s);l.setRegion(0,0,9,9),l.setRegion(s-8,0,8,9),l.setRegion(0,s-8,9,8);const d=this.alignmentPatternCenters.length;for(let u=0;u<d;u++){const m=this.alignmentPatternCenters[u]-2;for(let p=0;p<d;p++)0===u&&(0===p||p===d-1)||u===d-1&&0===p||l.setRegion(this.alignmentPatternCenters[p]-2,m,5,5)}return l.setRegion(6,9,1,s-17),l.setRegion(9,6,s-17,1),this.versionNumber>6&&(l.setRegion(s-11,0,3,6),l.setRegion(0,s-11,6,3)),l}toString(){return""+this.versionNumber}}li.VERSION_DECODE_INFO=Int32Array.from([31892,34236,39577,42195,48118,51042,55367,58893,63784,68472,70749,76311,79154,84390,87683,92361,96236,102084,102881,110507,110734,117786,119615,126325,127568,133589,136944,141498,145311,150283,152622,158308,161089,167017]),li.VERSIONS=[new li(1,new Int32Array(0),new $e(7,new De(1,19)),new $e(10,new De(1,16)),new $e(13,new De(1,13)),new $e(17,new De(1,9))),new li(2,Int32Array.from([6,18]),new $e(10,new De(1,34)),new $e(16,new De(1,28)),new $e(22,new De(1,22)),new $e(28,new De(1,16))),new li(3,Int32Array.from([6,22]),new $e(15,new De(1,55)),new $e(26,new De(1,44)),new $e(18,new De(2,17)),new $e(22,new De(2,13))),new li(4,Int32Array.from([6,26]),new $e(20,new De(1,80)),new $e(18,new De(2,32)),new $e(26,new De(2,24)),new $e(16,new De(4,9))),new li(5,Int32Array.from([6,30]),new $e(26,new De(1,108)),new $e(24,new De(2,43)),new $e(18,new De(2,15),new De(2,16)),new $e(22,new De(2,11),new De(2,12))),new li(6,Int32Array.from([6,34]),new $e(18,new De(2,68)),new $e(16,new De(4,27)),new $e(24,new De(4,19)),new $e(28,new De(4,15))),new li(7,Int32Array.from([6,22,38]),new $e(20,new De(2,78)),new $e(18,new De(4,31)),new $e(18,new De(2,14),new De(4,15)),new $e(26,new De(4,13),new De(1,14))),new li(8,Int32Array.from([6,24,42]),new $e(24,new De(2,97)),new $e(22,new De(2,38),new De(2,39)),new $e(22,new De(4,18),new De(2,19)),new $e(26,new De(4,14),new De(2,15))),new li(9,Int32Array.from([6,26,46]),new $e(30,new De(2,116)),new $e(22,new De(3,36),new De(2,37)),new $e(20,new De(4,16),new De(4,17)),new $e(24,new De(4,12),new De(4,13))),new li(10,Int32Array.from([6,28,50]),new $e(18,new De(2,68),new De(2,69)),new $e(26,new De(4,43),new De(1,44)),new $e(24,new De(6,19),new De(2,20)),new $e(28,new De(6,15),new De(2,16))),new li(11,Int32Array.from([6,30,54]),new $e(20,new De(4,81)),new $e(30,new De(1,50),new De(4,51)),new $e(28,new De(4,22),new De(4,23)),new $e(24,new De(3,12),new De(8,13))),new li(12,Int32Array.from([6,32,58]),new $e(24,new De(2,92),new De(2,93)),new $e(22,new De(6,36),new De(2,37)),new $e(26,new De(4,20),new De(6,21)),new $e(28,new De(7,14),new De(4,15))),new li(13,Int32Array.from([6,34,62]),new $e(26,new De(4,107)),new $e(22,new De(8,37),new De(1,38)),new $e(24,new De(8,20),new De(4,21)),new $e(22,new De(12,11),new De(4,12))),new li(14,Int32Array.from([6,26,46,66]),new $e(30,new De(3,115),new De(1,116)),new $e(24,new De(4,40),new De(5,41)),new $e(20,new De(11,16),new De(5,17)),new $e(24,new De(11,12),new De(5,13))),new li(15,Int32Array.from([6,26,48,70]),new $e(22,new De(5,87),new De(1,88)),new $e(24,new De(5,41),new De(5,42)),new $e(30,new De(5,24),new De(7,25)),new $e(24,new De(11,12),new De(7,13))),new li(16,Int32Array.from([6,26,50,74]),new $e(24,new De(5,98),new De(1,99)),new $e(28,new De(7,45),new De(3,46)),new $e(24,new De(15,19),new De(2,20)),new $e(30,new De(3,15),new De(13,16))),new li(17,Int32Array.from([6,30,54,78]),new $e(28,new De(1,107),new De(5,108)),new $e(28,new De(10,46),new De(1,47)),new $e(28,new De(1,22),new De(15,23)),new $e(28,new De(2,14),new De(17,15))),new li(18,Int32Array.from([6,30,56,82]),new $e(30,new De(5,120),new De(1,121)),new $e(26,new De(9,43),new De(4,44)),new $e(28,new De(17,22),new De(1,23)),new $e(28,new De(2,14),new De(19,15))),new li(19,Int32Array.from([6,30,58,86]),new $e(28,new De(3,113),new De(4,114)),new $e(26,new De(3,44),new De(11,45)),new $e(26,new De(17,21),new De(4,22)),new $e(26,new De(9,13),new De(16,14))),new li(20,Int32Array.from([6,34,62,90]),new $e(28,new De(3,107),new De(5,108)),new $e(26,new De(3,41),new De(13,42)),new $e(30,new De(15,24),new De(5,25)),new $e(28,new De(15,15),new De(10,16))),new li(21,Int32Array.from([6,28,50,72,94]),new $e(28,new De(4,116),new De(4,117)),new $e(26,new De(17,42)),new $e(28,new De(17,22),new De(6,23)),new $e(30,new De(19,16),new De(6,17))),new li(22,Int32Array.from([6,26,50,74,98]),new $e(28,new De(2,111),new De(7,112)),new $e(28,new De(17,46)),new $e(30,new De(7,24),new De(16,25)),new $e(24,new De(34,13))),new li(23,Int32Array.from([6,30,54,78,102]),new $e(30,new De(4,121),new De(5,122)),new $e(28,new De(4,47),new De(14,48)),new $e(30,new De(11,24),new De(14,25)),new $e(30,new De(16,15),new De(14,16))),new li(24,Int32Array.from([6,28,54,80,106]),new $e(30,new De(6,117),new De(4,118)),new $e(28,new De(6,45),new De(14,46)),new $e(30,new De(11,24),new De(16,25)),new $e(30,new De(30,16),new De(2,17))),new li(25,Int32Array.from([6,32,58,84,110]),new $e(26,new De(8,106),new De(4,107)),new $e(28,new De(8,47),new De(13,48)),new $e(30,new De(7,24),new De(22,25)),new $e(30,new De(22,15),new De(13,16))),new li(26,Int32Array.from([6,30,58,86,114]),new $e(28,new De(10,114),new De(2,115)),new $e(28,new De(19,46),new De(4,47)),new $e(28,new De(28,22),new De(6,23)),new $e(30,new De(33,16),new De(4,17))),new li(27,Int32Array.from([6,34,62,90,118]),new $e(30,new De(8,122),new De(4,123)),new $e(28,new De(22,45),new De(3,46)),new $e(30,new De(8,23),new De(26,24)),new $e(30,new De(12,15),new De(28,16))),new li(28,Int32Array.from([6,26,50,74,98,122]),new $e(30,new De(3,117),new De(10,118)),new $e(28,new De(3,45),new De(23,46)),new $e(30,new De(4,24),new De(31,25)),new $e(30,new De(11,15),new De(31,16))),new li(29,Int32Array.from([6,30,54,78,102,126]),new $e(30,new De(7,116),new De(7,117)),new $e(28,new De(21,45),new De(7,46)),new $e(30,new De(1,23),new De(37,24)),new $e(30,new De(19,15),new De(26,16))),new li(30,Int32Array.from([6,26,52,78,104,130]),new $e(30,new De(5,115),new De(10,116)),new $e(28,new De(19,47),new De(10,48)),new $e(30,new De(15,24),new De(25,25)),new $e(30,new De(23,15),new De(25,16))),new li(31,Int32Array.from([6,30,56,82,108,134]),new $e(30,new De(13,115),new De(3,116)),new $e(28,new De(2,46),new De(29,47)),new $e(30,new De(42,24),new De(1,25)),new $e(30,new De(23,15),new De(28,16))),new li(32,Int32Array.from([6,34,60,86,112,138]),new $e(30,new De(17,115)),new $e(28,new De(10,46),new De(23,47)),new $e(30,new De(10,24),new De(35,25)),new $e(30,new De(19,15),new De(35,16))),new li(33,Int32Array.from([6,30,58,86,114,142]),new $e(30,new De(17,115),new De(1,116)),new $e(28,new De(14,46),new De(21,47)),new $e(30,new De(29,24),new De(19,25)),new $e(30,new De(11,15),new De(46,16))),new li(34,Int32Array.from([6,34,62,90,118,146]),new $e(30,new De(13,115),new De(6,116)),new $e(28,new De(14,46),new De(23,47)),new $e(30,new De(44,24),new De(7,25)),new $e(30,new De(59,16),new De(1,17))),new li(35,Int32Array.from([6,30,54,78,102,126,150]),new $e(30,new De(12,121),new De(7,122)),new $e(28,new De(12,47),new De(26,48)),new $e(30,new De(39,24),new De(14,25)),new $e(30,new De(22,15),new De(41,16))),new li(36,Int32Array.from([6,24,50,76,102,128,154]),new $e(30,new De(6,121),new De(14,122)),new $e(28,new De(6,47),new De(34,48)),new $e(30,new De(46,24),new De(10,25)),new $e(30,new De(2,15),new De(64,16))),new li(37,Int32Array.from([6,28,54,80,106,132,158]),new $e(30,new De(17,122),new De(4,123)),new $e(28,new De(29,46),new De(14,47)),new $e(30,new De(49,24),new De(10,25)),new $e(30,new De(24,15),new De(46,16))),new li(38,Int32Array.from([6,32,58,84,110,136,162]),new $e(30,new De(4,122),new De(18,123)),new $e(28,new De(13,46),new De(32,47)),new $e(30,new De(48,24),new De(14,25)),new $e(30,new De(42,15),new De(32,16))),new li(39,Int32Array.from([6,26,54,82,110,138,166]),new $e(30,new De(20,117),new De(4,118)),new $e(28,new De(40,47),new De(7,48)),new $e(30,new De(43,24),new De(22,25)),new $e(30,new De(10,15),new De(67,16))),new li(40,Int32Array.from([6,30,58,86,114,142,170]),new $e(30,new De(19,118),new De(6,119)),new $e(28,new De(18,47),new De(31,48)),new $e(30,new De(34,24),new De(34,25)),new $e(30,new De(20,15),new De(61,16)))];var tt=(()=>{return(Y=tt||(tt={}))[Y.DATA_MASK_000=0]="DATA_MASK_000",Y[Y.DATA_MASK_001=1]="DATA_MASK_001",Y[Y.DATA_MASK_010=2]="DATA_MASK_010",Y[Y.DATA_MASK_011=3]="DATA_MASK_011",Y[Y.DATA_MASK_100=4]="DATA_MASK_100",Y[Y.DATA_MASK_101=5]="DATA_MASK_101",Y[Y.DATA_MASK_110=6]="DATA_MASK_110",Y[Y.DATA_MASK_111=7]="DATA_MASK_111",tt;var Y})();class gr{constructor(s,l){this.value=s,this.isMasked=l}unmaskBitMatrix(s,l){for(let d=0;d<l;d++)for(let u=0;u<l;u++)this.isMasked(d,u)&&s.flip(u,d)}}gr.values=new Map([[tt.DATA_MASK_000,new gr(tt.DATA_MASK_000,(Y,s)=>0==(Y+s&1))],[tt.DATA_MASK_001,new gr(tt.DATA_MASK_001,(Y,s)=>0==(1&Y))],[tt.DATA_MASK_010,new gr(tt.DATA_MASK_010,(Y,s)=>s%3==0)],[tt.DATA_MASK_011,new gr(tt.DATA_MASK_011,(Y,s)=>(Y+s)%3==0)],[tt.DATA_MASK_100,new gr(tt.DATA_MASK_100,(Y,s)=>0==(Math.floor(Y/2)+Math.floor(s/3)&1))],[tt.DATA_MASK_101,new gr(tt.DATA_MASK_101,(Y,s)=>Y*s%6==0)],[tt.DATA_MASK_110,new gr(tt.DATA_MASK_110,(Y,s)=>Y*s%6<3)],[tt.DATA_MASK_111,new gr(tt.DATA_MASK_111,(Y,s)=>0==(Y+s+Y*s%3&1))]]);class ji{constructor(s){const l=s.getHeight();if(l<21||1!=(3&l))throw new ie;this.bitMatrix=s}readFormatInformation(){if(null!=this.parsedFormatInfo)return this.parsedFormatInfo;let s=0;for(let m=0;m<6;m++)s=this.copyBit(m,8,s);s=this.copyBit(7,8,s),s=this.copyBit(8,8,s),s=this.copyBit(8,7,s);for(let m=5;m>=0;m--)s=this.copyBit(8,m,s);const l=this.bitMatrix.getHeight();let d=0;const u=l-7;for(let m=l-1;m>=u;m--)d=this.copyBit(8,m,d);for(let m=l-8;m<l;m++)d=this.copyBit(m,8,d);if(this.parsedFormatInfo=Ir.decodeFormatInformation(s,d),null!==this.parsedFormatInfo)return this.parsedFormatInfo;throw new ie}readVersion(){if(null!=this.parsedVersion)return this.parsedVersion;const s=this.bitMatrix.getHeight(),l=Math.floor((s-17)/4);if(l<=6)return li.getVersionForNumber(l);let d=0;const u=s-11;for(let p=5;p>=0;p--)for(let v=s-9;v>=u;v--)d=this.copyBit(v,p,d);let m=li.decodeVersionInformation(d);if(null!==m&&m.getDimensionForVersion()===s)return this.parsedVersion=m,m;d=0;for(let p=5;p>=0;p--)for(let v=s-9;v>=u;v--)d=this.copyBit(p,v,d);if(m=li.decodeVersionInformation(d),null!==m&&m.getDimensionForVersion()===s)return this.parsedVersion=m,m;throw new ie}copyBit(s,l,d){return(this.isMirror?this.bitMatrix.get(l,s):this.bitMatrix.get(s,l))?d<<1|1:d<<1}readCodewords(){const s=this.readFormatInformation(),l=this.readVersion(),d=gr.values.get(s.getDataMask()),u=this.bitMatrix.getHeight();d.unmaskBitMatrix(this.bitMatrix,u);const m=l.buildFunctionPattern();let p=!0;const v=new Uint8Array(l.getTotalCodewords());let M=0,H=0,q=0;for(let ue=u-1;ue>0;ue-=2){6===ue&&ue--;for(let _e=0;_e<u;_e++){const ke=p?u-1-_e:_e;for(let Ne=0;Ne<2;Ne++)m.get(ue-Ne,ke)||(q++,H<<=1,this.bitMatrix.get(ue-Ne,ke)&&(H|=1),8===q&&(v[M++]=H,q=0,H=0))}p=!p}if(M!==l.getTotalCodewords())throw new ie;return v}remask(){if(null===this.parsedFormatInfo)return;const s=gr.values[this.parsedFormatInfo.getDataMask()],l=this.bitMatrix.getHeight();s.unmaskBitMatrix(this.bitMatrix,l)}setMirror(s){this.parsedVersion=null,this.parsedFormatInfo=null,this.isMirror=s}mirror(){const s=this.bitMatrix;for(let l=0,d=s.getWidth();l<d;l++)for(let u=l+1,m=s.getHeight();u<m;u++)s.get(l,u)!==s.get(u,l)&&(s.flip(u,l),s.flip(l,u))}}class Yn{constructor(s,l){this.numDataCodewords=s,this.codewords=l}static getDataBlocks(s,l,d){if(s.length!==l.getTotalCodewords())throw new R;const u=l.getECBlocksForLevel(d);let m=0;const p=u.getECBlocks();for(const Ne of p)m+=Ne.getCount();const v=new Array(m);let M=0;for(const Ne of p)for(let je=0;je<Ne.getCount();je++){const Ye=Ne.getDataCodewords(),et=u.getECCodewordsPerBlock()+Ye;v[M++]=new Yn(Ye,new Uint8Array(et))}const H=v[0].codewords.length;let q=v.length-1;for(;q>=0&&v[q].codewords.length!==H;)q--;q++;const ue=H-u.getECCodewordsPerBlock();let _e=0;for(let Ne=0;Ne<ue;Ne++)for(let je=0;je<M;je++)v[je].codewords[Ne]=s[_e++];for(let Ne=q;Ne<M;Ne++)v[Ne].codewords[ue]=s[_e++];const ke=v[0].codewords.length;for(let Ne=ue;Ne<ke;Ne++)for(let je=0;je<M;je++)v[je].codewords[je<q?Ne:Ne+1]=s[_e++];return v}getNumDataCodewords(){return this.numDataCodewords}getCodewords(){return this.codewords}}var oo=(()=>{return(Y=oo||(oo={}))[Y.TERMINATOR=0]="TERMINATOR",Y[Y.NUMERIC=1]="NUMERIC",Y[Y.ALPHANUMERIC=2]="ALPHANUMERIC",Y[Y.STRUCTURED_APPEND=3]="STRUCTURED_APPEND",Y[Y.BYTE=4]="BYTE",Y[Y.ECI=5]="ECI",Y[Y.KANJI=6]="KANJI",Y[Y.FNC1_FIRST_POSITION=7]="FNC1_FIRST_POSITION",Y[Y.FNC1_SECOND_POSITION=8]="FNC1_SECOND_POSITION",Y[Y.HANZI=9]="HANZI",oo;var Y})();class Ci{constructor(s,l,d,u){this.value=s,this.stringValue=l,this.characterCountBitsForVersions=d,this.bits=u,Ci.FOR_BITS.set(u,this),Ci.FOR_VALUE.set(s,this)}static forBits(s){const l=Ci.FOR_BITS.get(s);if(void 0===l)throw new R;return l}getCharacterCountBits(s){const l=s.getVersionNumber();let d;return d=l<=9?0:l<=26?1:2,this.characterCountBitsForVersions[d]}getValue(){return this.value}getBits(){return this.bits}equals(s){return s instanceof Ci&&this.value===s.value}toString(){return this.stringValue}}Ci.FOR_BITS=new Map,Ci.FOR_VALUE=new Map,Ci.TERMINATOR=new Ci(oo.TERMINATOR,"TERMINATOR",Int32Array.from([0,0,0]),0),Ci.NUMERIC=new Ci(oo.NUMERIC,"NUMERIC",Int32Array.from([10,12,14]),1),Ci.ALPHANUMERIC=new Ci(oo.ALPHANUMERIC,"ALPHANUMERIC",Int32Array.from([9,11,13]),2),Ci.STRUCTURED_APPEND=new Ci(oo.STRUCTURED_APPEND,"STRUCTURED_APPEND",Int32Array.from([0,0,0]),3),Ci.BYTE=new Ci(oo.BYTE,"BYTE",Int32Array.from([8,16,16]),4),Ci.ECI=new Ci(oo.ECI,"ECI",Int32Array.from([0,0,0]),7),Ci.KANJI=new Ci(oo.KANJI,"KANJI",Int32Array.from([8,10,12]),8),Ci.FNC1_FIRST_POSITION=new Ci(oo.FNC1_FIRST_POSITION,"FNC1_FIRST_POSITION",Int32Array.from([0,0,0]),5),Ci.FNC1_SECOND_POSITION=new Ci(oo.FNC1_SECOND_POSITION,"FNC1_SECOND_POSITION",Int32Array.from([0,0,0]),9),Ci.HANZI=new Ci(oo.HANZI,"HANZI",Int32Array.from([8,10,12]),13);let hc=(()=>{class Y{static decode(l,d,u,m){const p=new ro(l);let v=new me;const M=new Array;let H=-1,q=-1;try{let ke,ue=null,_e=!1;do{if(p.available()<4)ke=Ci.TERMINATOR;else{const Ne=p.readBits(4);ke=Ci.forBits(Ne)}switch(ke){case Ci.TERMINATOR:break;case Ci.FNC1_FIRST_POSITION:case Ci.FNC1_SECOND_POSITION:_e=!0;break;case Ci.STRUCTURED_APPEND:if(p.available()<16)throw new ie;H=p.readBits(8),q=p.readBits(8);break;case Ci.ECI:const Ne=Y.parseECIValue(p);if(ue=oe.getCharacterSetECIByValue(Ne),null===ue)throw new ie;break;case Ci.HANZI:const je=p.readBits(4),Ye=p.readBits(ke.getCharacterCountBits(d));je===Y.GB2312_SUBSET&&Y.decodeHanziSegment(p,v,Ye);break;default:const et=p.readBits(ke.getCharacterCountBits(d));switch(ke){case Ci.NUMERIC:Y.decodeNumericSegment(p,v,et);break;case Ci.ALPHANUMERIC:Y.decodeAlphanumericSegment(p,v,et,_e);break;case Ci.BYTE:Y.decodeByteSegment(p,v,et,ue,M,m);break;case Ci.KANJI:Y.decodeKanjiSegment(p,v,et);break;default:throw new ie}}}while(ke!==Ci.TERMINATOR)}catch{throw new ie}return new Fn(l,v.toString(),0===M.length?null:M,null===u?null:u.toString(),H,q)}static decodeHanziSegment(l,d,u){if(13*u>l.available())throw new ie;const m=new Uint8Array(2*u);let p=0;for(;u>0;){const v=l.readBits(13);let M=v/96<<8&4294967295|v%96;M+=M<959?41377:42657,m[p]=M>>8&255,m[p+1]=255&M,p+=2,u--}try{d.append(ae.decode(m,de.GB2312))}catch(v){throw new ie(v)}}static decodeKanjiSegment(l,d,u){if(13*u>l.available())throw new ie;const m=new Uint8Array(2*u);let p=0;for(;u>0;){const v=l.readBits(13);let M=v/192<<8&4294967295|v%192;M+=M<7936?33088:49472,m[p]=M>>8,m[p+1]=M,p+=2,u--}try{d.append(ae.decode(m,de.SHIFT_JIS))}catch(v){throw new ie(v)}}static decodeByteSegment(l,d,u,m,p,v){if(8*u>l.available())throw new ie;const M=new Uint8Array(u);for(let q=0;q<u;q++)M[q]=l.readBits(8);let H;H=null===m?de.guessEncoding(M,v):m.getName();try{d.append(ae.decode(M,H))}catch(q){throw new ie(q)}p.push(M)}static toAlphaNumericChar(l){if(l>=Y.ALPHANUMERIC_CHARS.length)throw new ie;return Y.ALPHANUMERIC_CHARS[l]}static decodeAlphanumericSegment(l,d,u,m){const p=d.length();for(;u>1;){if(l.available()<11)throw new ie;const v=l.readBits(11);d.append(Y.toAlphaNumericChar(Math.floor(v/45))),d.append(Y.toAlphaNumericChar(v%45)),u-=2}if(1===u){if(l.available()<6)throw new ie;d.append(Y.toAlphaNumericChar(l.readBits(6)))}if(m)for(let v=p;v<d.length();v++)"%"===d.charAt(v)&&(v<d.length()-1&&"%"===d.charAt(v+1)?d.deleteCharAt(v+1):d.setCharAt(v,String.fromCharCode(29)))}static decodeNumericSegment(l,d,u){for(;u>=3;){if(l.available()<10)throw new ie;const m=l.readBits(10);if(m>=1e3)throw new ie;d.append(Y.toAlphaNumericChar(Math.floor(m/100))),d.append(Y.toAlphaNumericChar(Math.floor(m/10)%10)),d.append(Y.toAlphaNumericChar(m%10)),u-=3}if(2===u){if(l.available()<7)throw new ie;const m=l.readBits(7);if(m>=100)throw new ie;d.append(Y.toAlphaNumericChar(Math.floor(m/10))),d.append(Y.toAlphaNumericChar(m%10))}else if(1===u){if(l.available()<4)throw new ie;const m=l.readBits(4);if(m>=10)throw new ie;d.append(Y.toAlphaNumericChar(m))}}static parseECIValue(l){const d=l.readBits(8);if(!(128&d))return 127&d;if(128==(192&d))return(63&d)<<8&4294967295|l.readBits(8);if(192==(224&d))return(31&d)<<16&4294967295|l.readBits(16);throw new ie}}return Y.ALPHANUMERIC_CHARS="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",Y.GB2312_SUBSET=1,Y})();class ol{constructor(s){this.mirrored=s}isMirrored(){return this.mirrored}applyMirroredCorrection(s){if(!this.mirrored||null===s||s.length<3)return;const l=s[0];s[0]=s[2],s[2]=l}}class so{constructor(){this.rsDecoder=new Ge(xi.QR_CODE_FIELD_256)}decodeBooleanArray(s,l){return this.decodeBitMatrix(ge.parseFromBooleanArray(s),l)}decodeBitMatrix(s,l){const d=new ji(s);let u=null;try{return this.decodeBitMatrixParser(d,l)}catch(m){u=m}try{d.remask(),d.setMirror(!0),d.readVersion(),d.readFormatInformation(),d.mirror();const m=this.decodeBitMatrixParser(d,l);return m.setOther(new ol(!0)),m}catch(m){throw null!==u?u:m}}decodeBitMatrixParser(s,l){const d=s.readVersion(),u=s.readFormatInformation().getErrorCorrectionLevel(),m=s.readCodewords(),p=Yn.getDataBlocks(m,d,u);let v=0;for(const q of p)v+=q.getNumDataCodewords();const M=new Uint8Array(v);let H=0;for(const q of p){const ue=q.getCodewords(),_e=q.getNumDataCodewords();this.correctErrors(ue,_e);for(let ke=0;ke<_e;ke++)M[H++]=ue[ke]}return hc.decode(M,d,u,l)}correctErrors(s,l){const d=new Int32Array(s);try{this.rsDecoder.decode(d,s.length-l)}catch{throw new Z}for(let u=0;u<l;u++)s[u]=d[u]}}class ld extends vt{constructor(s,l,d){super(s,l),this.estimatedModuleSize=d}aboutEquals(s,l,d){if(Math.abs(l-this.getY())<=s&&Math.abs(d-this.getX())<=s){const u=Math.abs(s-this.estimatedModuleSize);return u<=1||u<=this.estimatedModuleSize}return!1}combineEstimate(s,l,d){const u=(this.getX()+l)/2,m=(this.getY()+s)/2;return new ld(u,m,(this.estimatedModuleSize+d)/2)}}class _s{constructor(s,l,d,u,m,p,v){this.image=s,this.startX=l,this.startY=d,this.width=u,this.height=m,this.moduleSize=p,this.resultPointCallback=v,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(3)}find(){const s=this.startX,l=this.height,u=s+this.width,m=this.startY+l/2,p=new Int32Array(3),v=this.image;for(let M=0;M<l;M++){const H=m+(1&M?-Math.floor((M+1)/2):Math.floor((M+1)/2));p[0]=0,p[1]=0,p[2]=0;let q=s;for(;q<u&&!v.get(q,H);)q++;let ue=0;for(;q<u;){if(v.get(q,H))if(1===ue)p[1]++;else if(2===ue){if(this.foundPatternCross(p)){const _e=this.handlePossibleCenter(p,H,q);if(null!==_e)return _e}p[0]=p[2],p[1]=1,p[2]=0,ue=1}else p[++ue]++;else 1===ue&&ue++,p[ue]++;q++}if(this.foundPatternCross(p)){const _e=this.handlePossibleCenter(p,H,u);if(null!==_e)return _e}}if(0!==this.possibleCenters.length)return this.possibleCenters[0];throw new we}static centerFromEnd(s,l){return l-s[2]-s[1]/2}foundPatternCross(s){const l=this.moduleSize,d=l/2;for(let u=0;u<3;u++)if(Math.abs(l-s[u])>=d)return!1;return!0}crossCheckVertical(s,l,d,u){const m=this.image,p=m.getHeight(),v=this.crossCheckStateCount;v[0]=0,v[1]=0,v[2]=0;let M=s;for(;M>=0&&m.get(l,M)&&v[1]<=d;)v[1]++,M--;if(M<0||v[1]>d)return NaN;for(;M>=0&&!m.get(l,M)&&v[0]<=d;)v[0]++,M--;if(v[0]>d)return NaN;for(M=s+1;M<p&&m.get(l,M)&&v[1]<=d;)v[1]++,M++;if(M===p||v[1]>d)return NaN;for(;M<p&&!m.get(l,M)&&v[2]<=d;)v[2]++,M++;return v[2]>d||5*Math.abs(v[0]+v[1]+v[2]-u)>=2*u?NaN:this.foundPatternCross(v)?_s.centerFromEnd(v,M):NaN}handlePossibleCenter(s,l,d){const u=s[0]+s[1]+s[2],m=_s.centerFromEnd(s,d),p=this.crossCheckVertical(l,m,2*s[1],u);if(!isNaN(p)){const v=(s[0]+s[1]+s[2])/3;for(const H of this.possibleCenters)if(H.aboutEquals(v,p,m))return H.combineEstimate(p,m,v);const M=new ld(m,p,v);this.possibleCenters.push(M),null!=this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(M)}return null}}class cd extends vt{constructor(s,l,d,u){super(s,l),this.estimatedModuleSize=d,this.count=u,void 0===u&&(this.count=1)}getEstimatedModuleSize(){return this.estimatedModuleSize}getCount(){return this.count}aboutEquals(s,l,d){if(Math.abs(l-this.getY())<=s&&Math.abs(d-this.getX())<=s){const u=Math.abs(s-this.estimatedModuleSize);return u<=1||u<=this.estimatedModuleSize}return!1}combineEstimate(s,l,d){const u=this.count+1,m=(this.count*this.getX()+l)/u,p=(this.count*this.getY()+s)/u;return new cd(m,p,(this.count*this.estimatedModuleSize+d)/u,u)}}class Ho{constructor(s){this.bottomLeft=s[0],this.topLeft=s[1],this.topRight=s[2]}getBottomLeft(){return this.bottomLeft}getTopLeft(){return this.topLeft}getTopRight(){return this.topRight}}let mh=(()=>{class Y{constructor(l,d){this.image=l,this.resultPointCallback=d,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(5),this.resultPointCallback=d}getImage(){return this.image}getPossibleCenters(){return this.possibleCenters}find(l){const d=null!=l&&void 0!==l.get(le.TRY_HARDER),u=null!=l&&void 0!==l.get(le.PURE_BARCODE),m=this.image,p=m.getHeight(),v=m.getWidth();let M=Math.floor(3*p/(4*Y.MAX_MODULES));(M<Y.MIN_SKIP||d)&&(M=Y.MIN_SKIP);let H=!1;const q=new Int32Array(5);for(let _e=M-1;_e<p&&!H;_e+=M){q[0]=0,q[1]=0,q[2]=0,q[3]=0,q[4]=0;let ke=0;for(let Ne=0;Ne<v;Ne++)if(m.get(Ne,_e))1==(1&ke)&&ke++,q[ke]++;else if(1&ke)q[ke]++;else if(4===ke)if(Y.foundPatternCross(q)){if(!0!==this.handlePossibleCenter(q,_e,Ne,u)){q[0]=q[2],q[1]=q[3],q[2]=q[4],q[3]=1,q[4]=0,ke=3;continue}if(M=2,!0===this.hasSkipped)H=this.haveMultiplyConfirmedCenters();else{const Ye=this.findRowSkip();Ye>q[2]&&(_e+=Ye-q[2]-M,Ne=v-1)}ke=0,q[0]=0,q[1]=0,q[2]=0,q[3]=0,q[4]=0}else q[0]=q[2],q[1]=q[3],q[2]=q[4],q[3]=1,q[4]=0,ke=3;else q[++ke]++;Y.foundPatternCross(q)&&!0===this.handlePossibleCenter(q,_e,v,u)&&(M=q[0],this.hasSkipped&&(H=this.haveMultiplyConfirmedCenters()))}const ue=this.selectBestPatterns();return vt.orderBestPatterns(ue),new Ho(ue)}static centerFromEnd(l,d){return d-l[4]-l[3]-l[2]/2}static foundPatternCross(l){let d=0;for(let p=0;p<5;p++){const v=l[p];if(0===v)return!1;d+=v}if(d<7)return!1;const u=d/7,m=u/2;return Math.abs(u-l[0])<m&&Math.abs(u-l[1])<m&&Math.abs(3*u-l[2])<3*m&&Math.abs(u-l[3])<m&&Math.abs(u-l[4])<m}getCrossCheckStateCount(){const l=this.crossCheckStateCount;return l[0]=0,l[1]=0,l[2]=0,l[3]=0,l[4]=0,l}crossCheckDiagonal(l,d,u,m){const p=this.getCrossCheckStateCount();let v=0;const M=this.image;for(;l>=v&&d>=v&&M.get(d-v,l-v);)p[2]++,v++;if(l<v||d<v)return!1;for(;l>=v&&d>=v&&!M.get(d-v,l-v)&&p[1]<=u;)p[1]++,v++;if(l<v||d<v||p[1]>u)return!1;for(;l>=v&&d>=v&&M.get(d-v,l-v)&&p[0]<=u;)p[0]++,v++;if(p[0]>u)return!1;const H=M.getHeight(),q=M.getWidth();for(v=1;l+v<H&&d+v<q&&M.get(d+v,l+v);)p[2]++,v++;if(l+v>=H||d+v>=q)return!1;for(;l+v<H&&d+v<q&&!M.get(d+v,l+v)&&p[3]<u;)p[3]++,v++;if(l+v>=H||d+v>=q||p[3]>=u)return!1;for(;l+v<H&&d+v<q&&M.get(d+v,l+v)&&p[4]<u;)p[4]++,v++;return!(p[4]>=u)&&Math.abs(p[0]+p[1]+p[2]+p[3]+p[4]-m)<2*m&&Y.foundPatternCross(p)}crossCheckVertical(l,d,u,m){const p=this.image,v=p.getHeight(),M=this.getCrossCheckStateCount();let H=l;for(;H>=0&&p.get(d,H);)M[2]++,H--;if(H<0)return NaN;for(;H>=0&&!p.get(d,H)&&M[1]<=u;)M[1]++,H--;if(H<0||M[1]>u)return NaN;for(;H>=0&&p.get(d,H)&&M[0]<=u;)M[0]++,H--;if(M[0]>u)return NaN;for(H=l+1;H<v&&p.get(d,H);)M[2]++,H++;if(H===v)return NaN;for(;H<v&&!p.get(d,H)&&M[3]<u;)M[3]++,H++;if(H===v||M[3]>=u)return NaN;for(;H<v&&p.get(d,H)&&M[4]<u;)M[4]++,H++;return M[4]>=u||5*Math.abs(M[0]+M[1]+M[2]+M[3]+M[4]-m)>=2*m?NaN:Y.foundPatternCross(M)?Y.centerFromEnd(M,H):NaN}crossCheckHorizontal(l,d,u,m){const p=this.image,v=p.getWidth(),M=this.getCrossCheckStateCount();let H=l;for(;H>=0&&p.get(H,d);)M[2]++,H--;if(H<0)return NaN;for(;H>=0&&!p.get(H,d)&&M[1]<=u;)M[1]++,H--;if(H<0||M[1]>u)return NaN;for(;H>=0&&p.get(H,d)&&M[0]<=u;)M[0]++,H--;if(M[0]>u)return NaN;for(H=l+1;H<v&&p.get(H,d);)M[2]++,H++;if(H===v)return NaN;for(;H<v&&!p.get(H,d)&&M[3]<u;)M[3]++,H++;if(H===v||M[3]>=u)return NaN;for(;H<v&&p.get(H,d)&&M[4]<u;)M[4]++,H++;return M[4]>=u||5*Math.abs(M[0]+M[1]+M[2]+M[3]+M[4]-m)>=m?NaN:Y.foundPatternCross(M)?Y.centerFromEnd(M,H):NaN}handlePossibleCenter(l,d,u,m){const p=l[0]+l[1]+l[2]+l[3]+l[4];let v=Y.centerFromEnd(l,u),M=this.crossCheckVertical(d,Math.floor(v),l[2],p);if(!isNaN(M)&&(v=this.crossCheckHorizontal(Math.floor(v),Math.floor(M),l[2],p),!isNaN(v)&&(!m||this.crossCheckDiagonal(Math.floor(M),Math.floor(v),l[2],p)))){const H=p/7;let q=!1;const ue=this.possibleCenters;for(let _e=0,ke=ue.length;_e<ke;_e++){const Ne=ue[_e];if(Ne.aboutEquals(H,M,v)){ue[_e]=Ne.combineEstimate(M,v,H),q=!0;break}}if(!q){const _e=new cd(v,M,H);ue.push(_e),null!=this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(_e)}return!0}return!1}findRowSkip(){if(this.possibleCenters.length<=1)return 0;let d=null;for(const u of this.possibleCenters)if(u.getCount()>=Y.CENTER_QUORUM){if(null!=d)return this.hasSkipped=!0,Math.floor((Math.abs(d.getX()-u.getX())-Math.abs(d.getY()-u.getY()))/2);d=u}return 0}haveMultiplyConfirmedCenters(){let l=0,d=0;const u=this.possibleCenters.length;for(const v of this.possibleCenters)v.getCount()>=Y.CENTER_QUORUM&&(l++,d+=v.getEstimatedModuleSize());if(l<3)return!1;const m=d/u;let p=0;for(const v of this.possibleCenters)p+=Math.abs(v.getEstimatedModuleSize()-m);return p<=.05*d}selectBestPatterns(){const l=this.possibleCenters.length;if(l<3)throw new we;const d=this.possibleCenters;let u;if(l>3){let m=0,p=0;for(const H of this.possibleCenters){const q=H.getEstimatedModuleSize();m+=q,p+=q*q}u=m/l;let v=Math.sqrt(p/l-u*u);d.sort((H,q)=>{const ue=Math.abs(q.getEstimatedModuleSize()-u),_e=Math.abs(H.getEstimatedModuleSize()-u);return ue<_e?-1:ue>_e?1:0});const M=Math.max(.2*u,v);for(let H=0;H<d.length&&d.length>3;H++)Math.abs(d[H].getEstimatedModuleSize()-u)>M&&(d.splice(H,1),H--)}if(d.length>3){let m=0;for(const p of d)m+=p.getEstimatedModuleSize();u=m/d.length,d.sort((p,v)=>{if(v.getCount()===p.getCount()){const M=Math.abs(v.getEstimatedModuleSize()-u),H=Math.abs(p.getEstimatedModuleSize()-u);return M<H?1:M>H?-1:0}return v.getCount()-p.getCount()}),d.splice(3)}return[d[0],d[1],d[2]]}}return Y.CENTER_QUORUM=2,Y.MIN_SKIP=3,Y.MAX_MODULES=57,Y})();class mc{constructor(s){this.image=s}getImage(){return this.image}getResultPointCallback(){return this.resultPointCallback}detect(s){this.resultPointCallback=null==s?null:s.get(le.NEED_RESULT_POINT_CALLBACK);const d=new mh(this.image,this.resultPointCallback).find(s);return this.processFinderPatternInfo(d)}processFinderPatternInfo(s){const l=s.getTopLeft(),d=s.getTopRight(),u=s.getBottomLeft(),m=this.calculateModuleSize(l,d,u);if(m<1)throw new we("No pattern found in proccess finder.");const p=mc.computeDimension(l,d,u,m),v=li.getProvisionalVersionForDimension(p),M=v.getDimensionForVersion()-7;let H=null;if(v.getAlignmentPatternCenters().length>0){const ke=d.getX()-l.getX()+u.getX(),Ne=d.getY()-l.getY()+u.getY(),je=1-3/M,Ye=Math.floor(l.getX()+je*(ke-l.getX())),et=Math.floor(l.getY()+je*(Ne-l.getY()));for(let kt=4;kt<=16;kt<<=1)try{H=this.findAlignmentInRegion(m,Ye,et,kt);break}catch(Wt){if(!(Wt instanceof we))throw Wt}}const q=mc.createTransform(l,d,u,H,p),ue=mc.sampleGrid(this.image,q,p);let _e;return _e=null===H?[u,l,d]:[u,l,d,H],new un(ue,_e)}static createTransform(s,l,d,u,m){const p=m-3.5;let v,M,H,q;return null!==u?(v=u.getX(),M=u.getY(),H=p-3,q=H):(v=l.getX()-s.getX()+d.getX(),M=l.getY()-s.getY()+d.getY(),H=p,q=p),$i.quadrilateralToQuadrilateral(3.5,3.5,p,3.5,H,q,3.5,p,s.getX(),s.getY(),l.getX(),l.getY(),v,M,d.getX(),d.getY())}static sampleGrid(s,l,d){return Oi.getInstance().sampleGridWithTransform(s,d,d,l)}static computeDimension(s,l,d,u){const m=$t.round(vt.distance(s,l)/u),p=$t.round(vt.distance(s,d)/u);let v=Math.floor((m+p)/2)+7;switch(3&v){case 0:v++;break;case 2:v--;break;case 3:throw new we("Dimensions could be not found.")}return v}calculateModuleSize(s,l,d){return(this.calculateModuleSizeOneWay(s,l)+this.calculateModuleSizeOneWay(s,d))/2}calculateModuleSizeOneWay(s,l){const d=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(s.getX()),Math.floor(s.getY()),Math.floor(l.getX()),Math.floor(l.getY())),u=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(l.getX()),Math.floor(l.getY()),Math.floor(s.getX()),Math.floor(s.getY()));return isNaN(d)?u/7:isNaN(u)?d/7:(d+u)/14}sizeOfBlackWhiteBlackRunBothWays(s,l,d,u){let m=this.sizeOfBlackWhiteBlackRun(s,l,d,u),p=1,v=s-(d-s);v<0?(p=s/(s-v),v=0):v>=this.image.getWidth()&&(p=(this.image.getWidth()-1-s)/(v-s),v=this.image.getWidth()-1);let M=Math.floor(l-(u-l)*p);return p=1,M<0?(p=l/(l-M),M=0):M>=this.image.getHeight()&&(p=(this.image.getHeight()-1-l)/(M-l),M=this.image.getHeight()-1),v=Math.floor(s+(v-s)*p),m+=this.sizeOfBlackWhiteBlackRun(s,l,v,M),m-1}sizeOfBlackWhiteBlackRun(s,l,d,u){const m=Math.abs(u-l)>Math.abs(d-s);if(m){let ke=s;s=l,l=ke,ke=d,d=u,u=ke}const p=Math.abs(d-s),v=Math.abs(u-l);let M=-p/2;const H=s<d?1:-1,q=l<u?1:-1;let ue=0;const _e=d+H;for(let ke=s,Ne=l;ke!==_e;ke+=H){if(1===ue===this.image.get(m?Ne:ke,m?ke:Ne)){if(2===ue)return $t.distance(ke,Ne,s,l);ue++}if(M+=v,M>0){if(Ne===u)break;Ne+=q,M-=p}}return 2===ue?$t.distance(d+H,u,s,l):NaN}findAlignmentInRegion(s,l,d,u){const m=Math.floor(u*s),p=Math.max(0,l-m),v=Math.min(this.image.getWidth()-1,l+m);if(v-p<3*s)throw new we("Alignment top exceeds estimated module size.");const M=Math.max(0,d-m),H=Math.min(this.image.getHeight()-1,d+m);if(H-M<3*s)throw new we("Alignment bottom exceeds estimated module size.");return new _s(this.image,p,M,v-p,H-M,s,this.resultPointCallback).find()}}class bs{constructor(){this.decoder=new so}getDecoder(){return this.decoder}decode(s,l){let d,u;if(null!=l&&void 0!==l.get(le.PURE_BARCODE)){const M=bs.extractPureBits(s.getBlackMatrix());d=this.decoder.decodeBitMatrix(M,l),u=bs.NO_POINTS}else{const M=new mc(s.getBlackMatrix()).detect(l);d=this.decoder.decodeBitMatrix(M.getBits(),l),u=M.getPoints()}d.getOther()instanceof ol&&d.getOther().applyMirroredCorrection(u);const m=new He(d.getText(),d.getRawBytes(),void 0,u,nt.QR_CODE,void 0),p=d.getByteSegments();null!==p&&m.putMetadata(Ut.BYTE_SEGMENTS,p);const v=d.getECLevel();return null!==v&&m.putMetadata(Ut.ERROR_CORRECTION_LEVEL,v),d.hasStructuredAppend()&&(m.putMetadata(Ut.STRUCTURED_APPEND_SEQUENCE,d.getStructuredAppendSequenceNumber()),m.putMetadata(Ut.STRUCTURED_APPEND_PARITY,d.getStructuredAppendParity())),m}reset(){}static extractPureBits(s){const l=s.getTopLeftOnBit(),d=s.getBottomRightOnBit();if(null===l||null===d)throw new we;const u=this.moduleSize(l,s);let m=l[1],p=d[1],v=l[0],M=d[0];if(v>=M||m>=p)throw new we;if(p-m!=M-v&&(M=v+(p-m),M>=s.getWidth()))throw new we;const H=Math.round((M-v+1)/u),q=Math.round((p-m+1)/u);if(H<=0||q<=0)throw new we;if(q!==H)throw new we;const ue=Math.floor(u/2);m+=ue,v+=ue;const _e=v+Math.floor((H-1)*u)-M;if(_e>0){if(_e>ue)throw new we;v-=_e}const ke=m+Math.floor((q-1)*u)-p;if(ke>0){if(ke>ue)throw new we;m-=ke}const Ne=new ge(H,q);for(let je=0;je<q;je++){const Ye=m+Math.floor(je*u);for(let et=0;et<H;et++)s.get(v+Math.floor(et*u),Ye)&&Ne.set(et,je)}return Ne}static moduleSize(s,l){const d=l.getHeight(),u=l.getWidth();let m=s[0],p=s[1],v=!0,M=0;for(;m<u&&p<d;){if(v!==l.get(m,p)){if(5==++M)break;v=!v}m++,p++}if(m===u||p===d)throw new we;return(m-s[0])/7}}bs.NO_POINTS=new Array;class Ei{PDF417Common(){}static getBitCountSum(s){return $t.sum(s)}static toIntArray(s){if(null==s||!s.length)return Ei.EMPTY_INT_ARRAY;const l=new Int32Array(s.length);let d=0;for(const u of s)l[d++]=u;return l}static getCodeword(s){const l=ne.binarySearch(Ei.SYMBOL_TABLE,262143&s);return l<0?-1:(Ei.CODEWORD_TABLE[l]-1)%Ei.NUMBER_OF_CODEWORDS}}Ei.NUMBER_OF_CODEWORDS=929,Ei.MAX_CODEWORDS_IN_BARCODE=Ei.NUMBER_OF_CODEWORDS-1,Ei.MIN_ROWS_IN_BARCODE=3,Ei.MAX_ROWS_IN_BARCODE=90,Ei.MODULES_IN_CODEWORD=17,Ei.MODULES_IN_STOP_PATTERN=18,Ei.BARS_IN_MODULE=8,Ei.EMPTY_INT_ARRAY=new Int32Array([]),Ei.SYMBOL_TABLE=Int32Array.from([66142,66170,66206,66236,66290,66292,66350,66382,66396,66454,66470,66476,66594,66600,66614,66626,66628,66632,66640,66654,66662,66668,66682,66690,66718,66720,66748,66758,66776,66798,66802,66804,66820,66824,66832,66846,66848,66876,66880,66936,66950,66956,66968,66992,67006,67022,67036,67042,67044,67048,67062,67118,67150,67164,67214,67228,67256,67294,67322,67350,67366,67372,67398,67404,67416,67438,67474,67476,67490,67492,67496,67510,67618,67624,67650,67656,67664,67678,67686,67692,67706,67714,67716,67728,67742,67744,67772,67782,67788,67800,67822,67826,67828,67842,67848,67870,67872,67900,67904,67960,67974,67992,68016,68030,68046,68060,68066,68068,68072,68086,68104,68112,68126,68128,68156,68160,68216,68336,68358,68364,68376,68400,68414,68448,68476,68494,68508,68536,68546,68548,68552,68560,68574,68582,68588,68654,68686,68700,68706,68708,68712,68726,68750,68764,68792,68802,68804,68808,68816,68830,68838,68844,68858,68878,68892,68920,68976,68990,68994,68996,69e3,69008,69022,69024,69052,69062,69068,69080,69102,69106,69108,69142,69158,69164,69190,69208,69230,69254,69260,69272,69296,69310,69326,69340,69386,69394,69396,69410,69416,69430,69442,69444,69448,69456,69470,69478,69484,69554,69556,69666,69672,69698,69704,69712,69726,69754,69762,69764,69776,69790,69792,69820,69830,69836,69848,69870,69874,69876,69890,69918,69920,69948,69952,70008,70022,70040,70064,70078,70094,70108,70114,70116,70120,70134,70152,70174,70176,70264,70384,70412,70448,70462,70496,70524,70542,70556,70584,70594,70600,70608,70622,70630,70636,70664,70672,70686,70688,70716,70720,70776,70896,71136,71180,71192,71216,71230,71264,71292,71360,71416,71452,71480,71536,71550,71554,71556,71560,71568,71582,71584,71612,71622,71628,71640,71662,71726,71732,71758,71772,71778,71780,71784,71798,71822,71836,71864,71874,71880,71888,71902,71910,71916,71930,71950,71964,71992,72048,72062,72066,72068,72080,72094,72096,72124,72134,72140,72152,72174,72178,72180,72206,72220,72248,72304,72318,72416,72444,72456,72464,72478,72480,72508,72512,72568,72588,72600,72624,72638,72654,72668,72674,72676,72680,72694,72726,72742,72748,72774,72780,72792,72814,72838,72856,72880,72894,72910,72924,72930,72932,72936,72950,72966,72972,72984,73008,73022,73056,73084,73102,73116,73144,73156,73160,73168,73182,73190,73196,73210,73226,73234,73236,73250,73252,73256,73270,73282,73284,73296,73310,73318,73324,73346,73348,73352,73360,73374,73376,73404,73414,73420,73432,73454,73498,73518,73522,73524,73550,73564,73570,73572,73576,73590,73800,73822,73858,73860,73872,73886,73888,73916,73944,73970,73972,73992,74014,74016,74044,74048,74104,74118,74136,74160,74174,74210,74212,74216,74230,74244,74256,74270,74272,74360,74480,74502,74508,74544,74558,74592,74620,74638,74652,74680,74690,74696,74704,74726,74732,74782,74784,74812,74992,75232,75288,75326,75360,75388,75456,75512,75576,75632,75646,75650,75652,75664,75678,75680,75708,75718,75724,75736,75758,75808,75836,75840,75896,76016,76256,76736,76824,76848,76862,76896,76924,76992,77048,77296,77340,77368,77424,77438,77536,77564,77572,77576,77584,77600,77628,77632,77688,77702,77708,77720,77744,77758,77774,77788,77870,77902,77916,77922,77928,77966,77980,78008,78018,78024,78032,78046,78060,78074,78094,78136,78192,78206,78210,78212,78224,78238,78240,78268,78278,78284,78296,78322,78324,78350,78364,78448,78462,78560,78588,78600,78622,78624,78652,78656,78712,78726,78744,78768,78782,78798,78812,78818,78820,78824,78838,78862,78876,78904,78960,78974,79072,79100,79296,79352,79368,79376,79390,79392,79420,79424,79480,79600,79628,79640,79664,79678,79712,79740,79772,79800,79810,79812,79816,79824,79838,79846,79852,79894,79910,79916,79942,79948,79960,79982,79988,80006,80024,80048,80062,80078,80092,80098,80100,80104,80134,80140,80176,80190,80224,80252,80270,80284,80312,80328,80336,80350,80358,80364,80378,80390,80396,80408,80432,80446,80480,80508,80576,80632,80654,80668,80696,80752,80766,80776,80784,80798,80800,80828,80844,80856,80878,80882,80884,80914,80916,80930,80932,80936,80950,80962,80968,80976,80990,80998,81004,81026,81028,81040,81054,81056,81084,81094,81100,81112,81134,81154,81156,81160,81168,81182,81184,81212,81216,81272,81286,81292,81304,81328,81342,81358,81372,81380,81384,81398,81434,81454,81458,81460,81486,81500,81506,81508,81512,81526,81550,81564,81592,81602,81604,81608,81616,81630,81638,81644,81702,81708,81722,81734,81740,81752,81774,81778,81780,82050,82078,82080,82108,82180,82184,82192,82206,82208,82236,82240,82296,82316,82328,82352,82366,82402,82404,82408,82440,82448,82462,82464,82492,82496,82552,82672,82694,82700,82712,82736,82750,82784,82812,82830,82882,82884,82888,82896,82918,82924,82952,82960,82974,82976,83004,83008,83064,83184,83424,83468,83480,83504,83518,83552,83580,83648,83704,83740,83768,83824,83838,83842,83844,83848,83856,83872,83900,83910,83916,83928,83950,83984,84e3,84028,84032,84088,84208,84448,84928,85040,85054,85088,85116,85184,85240,85488,85560,85616,85630,85728,85756,85764,85768,85776,85790,85792,85820,85824,85880,85894,85900,85912,85936,85966,85980,86048,86080,86136,86256,86496,86976,88160,88188,88256,88312,88560,89056,89200,89214,89312,89340,89536,89592,89608,89616,89632,89664,89720,89840,89868,89880,89904,89952,89980,89998,90012,90040,90190,90204,90254,90268,90296,90306,90308,90312,90334,90382,90396,90424,90480,90494,90500,90504,90512,90526,90528,90556,90566,90572,90584,90610,90612,90638,90652,90680,90736,90750,90848,90876,90884,90888,90896,90910,90912,90940,90944,91e3,91014,91020,91032,91056,91070,91086,91100,91106,91108,91112,91126,91150,91164,91192,91248,91262,91360,91388,91584,91640,91664,91678,91680,91708,91712,91768,91888,91928,91952,91966,92e3,92028,92046,92060,92088,92098,92100,92104,92112,92126,92134,92140,92188,92216,92272,92384,92412,92608,92664,93168,93200,93214,93216,93244,93248,93304,93424,93664,93720,93744,93758,93792,93820,93888,93944,93980,94008,94064,94078,94084,94088,94096,94110,94112,94140,94150,94156,94168,94246,94252,94278,94284,94296,94318,94342,94348,94360,94384,94398,94414,94428,94440,94470,94476,94488,94512,94526,94560,94588,94606,94620,94648,94658,94660,94664,94672,94686,94694,94700,94714,94726,94732,94744,94768,94782,94816,94844,94912,94968,94990,95004,95032,95088,95102,95112,95120,95134,95136,95164,95180,95192,95214,95218,95220,95244,95256,95280,95294,95328,95356,95424,95480,95728,95758,95772,95800,95856,95870,95968,95996,96008,96016,96030,96032,96060,96064,96120,96152,96176,96190,96220,96226,96228,96232,96290,96292,96296,96310,96322,96324,96328,96336,96350,96358,96364,96386,96388,96392,96400,96414,96416,96444,96454,96460,96472,96494,96498,96500,96514,96516,96520,96528,96542,96544,96572,96576,96632,96646,96652,96664,96688,96702,96718,96732,96738,96740,96744,96758,96772,96776,96784,96798,96800,96828,96832,96888,97008,97030,97036,97048,97072,97086,97120,97148,97166,97180,97208,97220,97224,97232,97246,97254,97260,97326,97330,97332,97358,97372,97378,97380,97384,97398,97422,97436,97464,97474,97476,97480,97488,97502,97510,97516,97550,97564,97592,97648,97666,97668,97672,97680,97694,97696,97724,97734,97740,97752,97774,97830,97836,97850,97862,97868,97880,97902,97906,97908,97926,97932,97944,97968,97998,98012,98018,98020,98024,98038,98618,98674,98676,98838,98854,98874,98892,98904,98926,98930,98932,98968,99006,99042,99044,99048,99062,99166,99194,99246,99286,99350,99366,99372,99386,99398,99416,99438,99442,99444,99462,99504,99518,99534,99548,99554,99556,99560,99574,99590,99596,99608,99632,99646,99680,99708,99726,99740,99768,99778,99780,99784,99792,99806,99814,99820,99834,99858,99860,99874,99880,99894,99906,99920,99934,99962,99970,99972,99976,99984,99998,1e5,100028,100038,100044,100056,100078,100082,100084,100142,100174,100188,100246,100262,100268,100306,100308,100390,100396,100410,100422,100428,100440,100462,100466,100468,100486,100504,100528,100542,100558,100572,100578,100580,100584,100598,100620,100656,100670,100704,100732,100750,100792,100802,100808,100816,100830,100838,100844,100858,100888,100912,100926,100960,100988,101056,101112,101148,101176,101232,101246,101250,101252,101256,101264,101278,101280,101308,101318,101324,101336,101358,101362,101364,101410,101412,101416,101430,101442,101448,101456,101470,101478,101498,101506,101508,101520,101534,101536,101564,101580,101618,101620,101636,101640,101648,101662,101664,101692,101696,101752,101766,101784,101838,101858,101860,101864,101934,101938,101940,101966,101980,101986,101988,101992,102030,102044,102072,102082,102084,102088,102096,102138,102166,102182,102188,102214,102220,102232,102254,102282,102290,102292,102306,102308,102312,102326,102444,102458,102470,102476,102488,102514,102516,102534,102552,102576,102590,102606,102620,102626,102632,102646,102662,102668,102704,102718,102752,102780,102798,102812,102840,102850,102856,102864,102878,102886,102892,102906,102936,102974,103008,103036,103104,103160,103224,103280,103294,103298,103300,103312,103326,103328,103356,103366,103372,103384,103406,103410,103412,103472,103486,103520,103548,103616,103672,103920,103992,104048,104062,104160,104188,104194,104196,104200,104208,104224,104252,104256,104312,104326,104332,104344,104368,104382,104398,104412,104418,104420,104424,104482,104484,104514,104520,104528,104542,104550,104570,104578,104580,104592,104606,104608,104636,104652,104690,104692,104706,104712,104734,104736,104764,104768,104824,104838,104856,104910,104930,104932,104936,104968,104976,104990,104992,105020,105024,105080,105200,105240,105278,105312,105372,105410,105412,105416,105424,105446,105518,105524,105550,105564,105570,105572,105576,105614,105628,105656,105666,105672,105680,105702,105722,105742,105756,105784,105840,105854,105858,105860,105864,105872,105888,105932,105970,105972,106006,106022,106028,106054,106060,106072,106100,106118,106124,106136,106160,106174,106190,106210,106212,106216,106250,106258,106260,106274,106276,106280,106306,106308,106312,106320,106334,106348,106394,106414,106418,106420,106566,106572,106610,106612,106630,106636,106648,106672,106686,106722,106724,106728,106742,106758,106764,106776,106800,106814,106848,106876,106894,106908,106936,106946,106948,106952,106960,106974,106982,106988,107032,107056,107070,107104,107132,107200,107256,107292,107320,107376,107390,107394,107396,107400,107408,107422,107424,107452,107462,107468,107480,107502,107506,107508,107544,107568,107582,107616,107644,107712,107768,108016,108060,108088,108144,108158,108256,108284,108290,108292,108296,108304,108318,108320,108348,108352,108408,108422,108428,108440,108464,108478,108494,108508,108514,108516,108520,108592,108640,108668,108736,108792,109040,109536,109680,109694,109792,109820,110016,110072,110084,110088,110096,110112,110140,110144,110200,110320,110342,110348,110360,110384,110398,110432,110460,110478,110492,110520,110532,110536,110544,110558,110658,110686,110714,110722,110724,110728,110736,110750,110752,110780,110796,110834,110836,110850,110852,110856,110864,110878,110880,110908,110912,110968,110982,111e3,111054,111074,111076,111080,111108,111112,111120,111134,111136,111164,111168,111224,111344,111372,111422,111456,111516,111554,111556,111560,111568,111590,111632,111646,111648,111676,111680,111736,111856,112096,112152,112224,112252,112320,112440,112514,112516,112520,112528,112542,112544,112588,112686,112718,112732,112782,112796,112824,112834,112836,112840,112848,112870,112890,112910,112924,112952,113008,113022,113026,113028,113032,113040,113054,113056,113100,113138,113140,113166,113180,113208,113264,113278,113376,113404,113416,113424,113440,113468,113472,113560,113614,113634,113636,113640,113686,113702,113708,113734,113740,113752,113778,113780,113798,113804,113816,113840,113854,113870,113890,113892,113896,113926,113932,113944,113968,113982,114016,114044,114076,114114,114116,114120,114128,114150,114170,114194,114196,114210,114212,114216,114242,114244,114248,114256,114270,114278,114306,114308,114312,114320,114334,114336,114364,114380,114420,114458,114478,114482,114484,114510,114524,114530,114532,114536,114842,114866,114868,114970,114994,114996,115042,115044,115048,115062,115130,115226,115250,115252,115278,115292,115298,115300,115304,115318,115342,115394,115396,115400,115408,115422,115430,115436,115450,115478,115494,115514,115526,115532,115570,115572,115738,115758,115762,115764,115790,115804,115810,115812,115816,115830,115854,115868,115896,115906,115912,115920,115934,115942,115948,115962,115996,116024,116080,116094,116098,116100,116104,116112,116126,116128,116156,116166,116172,116184,116206,116210,116212,116246,116262,116268,116282,116294,116300,116312,116334,116338,116340,116358,116364,116376,116400,116414,116430,116444,116450,116452,116456,116498,116500,116514,116520,116534,116546,116548,116552,116560,116574,116582,116588,116602,116654,116694,116714,116762,116782,116786,116788,116814,116828,116834,116836,116840,116854,116878,116892,116920,116930,116936,116944,116958,116966,116972,116986,117006,117048,117104,117118,117122,117124,117136,117150,117152,117180,117190,117196,117208,117230,117234,117236,117304,117360,117374,117472,117500,117506,117508,117512,117520,117536,117564,117568,117624,117638,117644,117656,117680,117694,117710,117724,117730,117732,117736,117750,117782,117798,117804,117818,117830,117848,117874,117876,117894,117936,117950,117966,117986,117988,117992,118022,118028,118040,118064,118078,118112,118140,118172,118210,118212,118216,118224,118238,118246,118266,118306,118312,118338,118352,118366,118374,118394,118402,118404,118408,118416,118430,118432,118460,118476,118514,118516,118574,118578,118580,118606,118620,118626,118628,118632,118678,118694,118700,118730,118738,118740,118830,118834,118836,118862,118876,118882,118884,118888,118902,118926,118940,118968,118978,118980,118984,118992,119006,119014,119020,119034,119068,119096,119152,119166,119170,119172,119176,119184,119198,119200,119228,119238,119244,119256,119278,119282,119284,119324,119352,119408,119422,119520,119548,119554,119556,119560,119568,119582,119584,119612,119616,119672,119686,119692,119704,119728,119742,119758,119772,119778,119780,119784,119798,119920,119934,120032,120060,120256,120312,120324,120328,120336,120352,120384,120440,120560,120582,120588,120600,120624,120638,120672,120700,120718,120732,120760,120770,120772,120776,120784,120798,120806,120812,120870,120876,120890,120902,120908,120920,120946,120948,120966,120972,120984,121008,121022,121038,121058,121060,121064,121078,121100,121112,121136,121150,121184,121212,121244,121282,121284,121288,121296,121318,121338,121356,121368,121392,121406,121440,121468,121536,121592,121656,121730,121732,121736,121744,121758,121760,121804,121842,121844,121890,121922,121924,121928,121936,121950,121958,121978,121986,121988,121992,122e3,122014,122016,122044,122060,122098,122100,122116,122120,122128,122142,122144,122172,122176,122232,122246,122264,122318,122338,122340,122344,122414,122418,122420,122446,122460,122466,122468,122472,122510,122524,122552,122562,122564,122568,122576,122598,122618,122646,122662,122668,122694,122700,122712,122738,122740,122762,122770,122772,122786,122788,122792,123018,123026,123028,123042,123044,123048,123062,123098,123146,123154,123156,123170,123172,123176,123190,123202,123204,123208,123216,123238,123244,123258,123290,123314,123316,123402,123410,123412,123426,123428,123432,123446,123458,123464,123472,123486,123494,123500,123514,123522,123524,123528,123536,123552,123580,123590,123596,123608,123630,123634,123636,123674,123698,123700,123740,123746,123748,123752,123834,123914,123922,123924,123938,123944,123958,123970,123976,123984,123998,124006,124012,124026,124034,124036,124048,124062,124064,124092,124102,124108,124120,124142,124146,124148,124162,124164,124168,124176,124190,124192,124220,124224,124280,124294,124300,124312,124336,124350,124366,124380,124386,124388,124392,124406,124442,124462,124466,124468,124494,124508,124514,124520,124558,124572,124600,124610,124612,124616,124624,124646,124666,124694,124710,124716,124730,124742,124748,124760,124786,124788,124818,124820,124834,124836,124840,124854,124946,124948,124962,124964,124968,124982,124994,124996,125e3,125008,125022,125030,125036,125050,125058,125060,125064,125072,125086,125088,125116,125126,125132,125144,125166,125170,125172,125186,125188,125192,125200,125216,125244,125248,125304,125318,125324,125336,125360,125374,125390,125404,125410,125412,125416,125430,125444,125448,125456,125472,125504,125560,125680,125702,125708,125720,125744,125758,125792,125820,125838,125852,125880,125890,125892,125896,125904,125918,125926,125932,125978,125998,126002,126004,126030,126044,126050,126052,126056,126094,126108,126136,126146,126148,126152,126160,126182,126202,126222,126236,126264,126320,126334,126338,126340,126344,126352,126366,126368,126412,126450,126452,126486,126502,126508,126522,126534,126540,126552,126574,126578,126580,126598,126604,126616,126640,126654,126670,126684,126690,126692,126696,126738,126754,126756,126760,126774,126786,126788,126792,126800,126814,126822,126828,126842,126894,126898,126900,126934,127126,127142,127148,127162,127178,127186,127188,127254,127270,127276,127290,127302,127308,127320,127342,127346,127348,127370,127378,127380,127394,127396,127400,127450,127510,127526,127532,127546,127558,127576,127598,127602,127604,127622,127628,127640,127664,127678,127694,127708,127714,127716,127720,127734,127754,127762,127764,127778,127784,127810,127812,127816,127824,127838,127846,127866,127898,127918,127922,127924,128022,128038,128044,128058,128070,128076,128088,128110,128114,128116,128134,128140,128152,128176,128190,128206,128220,128226,128228,128232,128246,128262,128268,128280,128304,128318,128352,128380,128398,128412,128440,128450,128452,128456,128464,128478,128486,128492,128506,128522,128530,128532,128546,128548,128552,128566,128578,128580,128584,128592,128606,128614,128634,128642,128644,128648,128656,128670,128672,128700,128716,128754,128756,128794,128814,128818,128820,128846,128860,128866,128868,128872,128886,128918,128934,128940,128954,128978,128980,129178,129198,129202,129204,129238,129258,129306,129326,129330,129332,129358,129372,129378,129380,129384,129398,129430,129446,129452,129466,129482,129490,129492,129562,129582,129586,129588,129614,129628,129634,129636,129640,129654,129678,129692,129720,129730,129732,129736,129744,129758,129766,129772,129814,129830,129836,129850,129862,129868,129880,129902,129906,129908,129930,129938,129940,129954,129956,129960,129974,130010]),Ei.CODEWORD_TABLE=Int32Array.from([2627,1819,2622,2621,1813,1812,2729,2724,2723,2779,2774,2773,902,896,908,868,865,861,859,2511,873,871,1780,835,2493,825,2491,842,837,844,1764,1762,811,810,809,2483,807,2482,806,2480,815,814,813,812,2484,817,816,1745,1744,1742,1746,2655,2637,2635,2626,2625,2623,2628,1820,2752,2739,2737,2728,2727,2725,2730,2785,2783,2778,2777,2775,2780,787,781,747,739,736,2413,754,752,1719,692,689,681,2371,678,2369,700,697,694,703,1688,1686,642,638,2343,631,2341,627,2338,651,646,643,2345,654,652,1652,1650,1647,1654,601,599,2322,596,2321,594,2319,2317,611,610,608,606,2324,603,2323,615,614,612,1617,1616,1614,1612,616,1619,1618,2575,2538,2536,905,901,898,909,2509,2507,2504,870,867,864,860,2512,875,872,1781,2490,2489,2487,2485,1748,836,834,832,830,2494,827,2492,843,841,839,845,1765,1763,2701,2676,2674,2653,2648,2656,2634,2633,2631,2629,1821,2638,2636,2770,2763,2761,2750,2745,2753,2736,2735,2733,2731,1848,2740,2738,2786,2784,591,588,576,569,566,2296,1590,537,534,526,2276,522,2274,545,542,539,548,1572,1570,481,2245,466,2242,462,2239,492,485,482,2249,496,494,1534,1531,1528,1538,413,2196,406,2191,2188,425,419,2202,415,2199,432,430,427,1472,1467,1464,433,1476,1474,368,367,2160,365,2159,362,2157,2155,2152,378,377,375,2166,372,2165,369,2162,383,381,379,2168,1419,1418,1416,1414,385,1411,384,1423,1422,1420,1424,2461,802,2441,2439,790,786,783,794,2409,2406,2403,750,742,738,2414,756,753,1720,2367,2365,2362,2359,1663,693,691,684,2373,680,2370,702,699,696,704,1690,1687,2337,2336,2334,2332,1624,2329,1622,640,637,2344,634,2342,630,2340,650,648,645,2346,655,653,1653,1651,1649,1655,2612,2597,2595,2571,2568,2565,2576,2534,2529,2526,1787,2540,2537,907,904,900,910,2503,2502,2500,2498,1768,2495,1767,2510,2508,2506,869,866,863,2513,876,874,1782,2720,2713,2711,2697,2694,2691,2702,2672,2670,2664,1828,2678,2675,2647,2646,2644,2642,1823,2639,1822,2654,2652,2650,2657,2771,1855,2765,2762,1850,1849,2751,2749,2747,2754,353,2148,344,342,336,2142,332,2140,345,1375,1373,306,2130,299,2128,295,2125,319,314,311,2132,1354,1352,1349,1356,262,257,2101,253,2096,2093,274,273,267,2107,263,2104,280,278,275,1316,1311,1308,1320,1318,2052,202,2050,2044,2040,219,2063,212,2060,208,2055,224,221,2066,1260,1258,1252,231,1248,229,1266,1264,1261,1268,155,1998,153,1996,1994,1991,1988,165,164,2007,162,2006,159,2003,2e3,172,171,169,2012,166,2010,1186,1184,1182,1179,175,1176,173,1192,1191,1189,1187,176,1194,1193,2313,2307,2305,592,589,2294,2292,2289,578,572,568,2297,580,1591,2272,2267,2264,1547,538,536,529,2278,525,2275,547,544,541,1574,1571,2237,2235,2229,1493,2225,1489,478,2247,470,2244,465,2241,493,488,484,2250,498,495,1536,1533,1530,1539,2187,2186,2184,2182,1432,2179,1430,2176,1427,414,412,2197,409,2195,405,2193,2190,426,424,421,2203,418,2201,431,429,1473,1471,1469,1466,434,1477,1475,2478,2472,2470,2459,2457,2454,2462,803,2437,2432,2429,1726,2443,2440,792,789,785,2401,2399,2393,1702,2389,1699,2411,2408,2405,745,741,2415,758,755,1721,2358,2357,2355,2353,1661,2350,1660,2347,1657,2368,2366,2364,2361,1666,690,687,2374,683,2372,701,698,705,1691,1689,2619,2617,2610,2608,2605,2613,2593,2588,2585,1803,2599,2596,2563,2561,2555,1797,2551,1795,2573,2570,2567,2577,2525,2524,2522,2520,1786,2517,1785,2514,1783,2535,2533,2531,2528,1788,2541,2539,906,903,911,2721,1844,2715,2712,1838,1836,2699,2696,2693,2703,1827,1826,1824,2673,2671,2669,2666,1829,2679,2677,1858,1857,2772,1854,1853,1851,1856,2766,2764,143,1987,139,1986,135,133,131,1984,128,1983,125,1981,138,137,136,1985,1133,1132,1130,112,110,1974,107,1973,104,1971,1969,122,121,119,117,1977,114,1976,124,1115,1114,1112,1110,1117,1116,84,83,1953,81,1952,78,1950,1948,1945,94,93,91,1959,88,1958,85,1955,99,97,95,1961,1086,1085,1083,1081,1078,100,1090,1089,1087,1091,49,47,1917,44,1915,1913,1910,1907,59,1926,56,1925,53,1922,1919,66,64,1931,61,1929,1042,1040,1038,71,1035,70,1032,68,1048,1047,1045,1043,1050,1049,12,10,1869,1867,1864,1861,21,1880,19,1877,1874,1871,28,1888,25,1886,22,1883,982,980,977,974,32,30,991,989,987,984,34,995,994,992,2151,2150,2147,2146,2144,356,355,354,2149,2139,2138,2136,2134,1359,343,341,338,2143,335,2141,348,347,346,1376,1374,2124,2123,2121,2119,1326,2116,1324,310,308,305,2131,302,2129,298,2127,320,318,316,313,2133,322,321,1355,1353,1351,1357,2092,2091,2089,2087,1276,2084,1274,2081,1271,259,2102,256,2100,252,2098,2095,272,269,2108,266,2106,281,279,277,1317,1315,1313,1310,282,1321,1319,2039,2037,2035,2032,1203,2029,1200,1197,207,2053,205,2051,201,2049,2046,2043,220,218,2064,215,2062,211,2059,228,226,223,2069,1259,1257,1254,232,1251,230,1267,1265,1263,2316,2315,2312,2311,2309,2314,2304,2303,2301,2299,1593,2308,2306,590,2288,2287,2285,2283,1578,2280,1577,2295,2293,2291,579,577,574,571,2298,582,581,1592,2263,2262,2260,2258,1545,2255,1544,2252,1541,2273,2271,2269,2266,1550,535,532,2279,528,2277,546,543,549,1575,1573,2224,2222,2220,1486,2217,1485,2214,1482,1479,2238,2236,2234,2231,1496,2228,1492,480,477,2248,473,2246,469,2243,490,487,2251,497,1537,1535,1532,2477,2476,2474,2479,2469,2468,2466,2464,1730,2473,2471,2453,2452,2450,2448,1729,2445,1728,2460,2458,2456,2463,805,804,2428,2427,2425,2423,1725,2420,1724,2417,1722,2438,2436,2434,2431,1727,2444,2442,793,791,788,795,2388,2386,2384,1697,2381,1696,2378,1694,1692,2402,2400,2398,2395,1703,2392,1701,2412,2410,2407,751,748,744,2416,759,757,1807,2620,2618,1806,1805,2611,2609,2607,2614,1802,1801,1799,2594,2592,2590,2587,1804,2600,2598,1794,1793,1791,1789,2564,2562,2560,2557,1798,2554,1796,2574,2572,2569,2578,1847,1846,2722,1843,1842,1840,1845,2716,2714,1835,1834,1832,1830,1839,1837,2700,2698,2695,2704,1817,1811,1810,897,862,1777,829,826,838,1760,1758,808,2481,1741,1740,1738,1743,2624,1818,2726,2776,782,740,737,1715,686,679,695,1682,1680,639,628,2339,647,644,1645,1643,1640,1648,602,600,597,595,2320,593,2318,609,607,604,1611,1610,1608,1606,613,1615,1613,2328,926,924,892,886,899,857,850,2505,1778,824,823,821,819,2488,818,2486,833,831,828,840,1761,1759,2649,2632,2630,2746,2734,2732,2782,2781,570,567,1587,531,527,523,540,1566,1564,476,467,463,2240,486,483,1524,1521,1518,1529,411,403,2192,399,2189,423,416,1462,1457,1454,428,1468,1465,2210,366,363,2158,360,2156,357,2153,376,373,370,2163,1410,1409,1407,1405,382,1402,380,1417,1415,1412,1421,2175,2174,777,774,771,784,732,725,722,2404,743,1716,676,674,668,2363,665,2360,685,1684,1681,626,624,622,2335,620,2333,617,2330,641,635,649,1646,1644,1642,2566,928,925,2530,2527,894,891,888,2501,2499,2496,858,856,854,851,1779,2692,2668,2665,2645,2643,2640,2651,2768,2759,2757,2744,2743,2741,2748,352,1382,340,337,333,1371,1369,307,300,296,2126,315,312,1347,1342,1350,261,258,250,2097,246,2094,271,268,264,1306,1301,1298,276,1312,1309,2115,203,2048,195,2045,191,2041,213,209,2056,1246,1244,1238,225,1234,222,1256,1253,1249,1262,2080,2079,154,1997,150,1995,147,1992,1989,163,160,2004,156,2001,1175,1174,1172,1170,1167,170,1164,167,1185,1183,1180,1177,174,1190,1188,2025,2024,2022,587,586,564,559,556,2290,573,1588,520,518,512,2268,508,2265,530,1568,1565,461,457,2233,450,2230,446,2226,479,471,489,1526,1523,1520,397,395,2185,392,2183,389,2180,2177,410,2194,402,422,1463,1461,1459,1456,1470,2455,799,2433,2430,779,776,773,2397,2394,2390,734,728,724,746,1717,2356,2354,2351,2348,1658,677,675,673,670,667,688,1685,1683,2606,2589,2586,2559,2556,2552,927,2523,2521,2518,2515,1784,2532,895,893,890,2718,2709,2707,2689,2687,2684,2663,2662,2660,2658,1825,2667,2769,1852,2760,2758,142,141,1139,1138,134,132,129,126,1982,1129,1128,1126,1131,113,111,108,105,1972,101,1970,120,118,115,1109,1108,1106,1104,123,1113,1111,82,79,1951,75,1949,72,1946,92,89,86,1956,1077,1076,1074,1072,98,1069,96,1084,1082,1079,1088,1968,1967,48,45,1916,42,1914,39,1911,1908,60,57,54,1923,50,1920,1031,1030,1028,1026,67,1023,65,1020,62,1041,1039,1036,1033,69,1046,1044,1944,1943,1941,11,9,1868,7,1865,1862,1859,20,1878,16,1875,13,1872,970,968,966,963,29,960,26,23,983,981,978,975,33,971,31,990,988,985,1906,1904,1902,993,351,2145,1383,331,330,328,326,2137,323,2135,339,1372,1370,294,293,291,289,2122,286,2120,283,2117,309,303,317,1348,1346,1344,245,244,242,2090,239,2088,236,2085,2082,260,2099,249,270,1307,1305,1303,1300,1314,189,2038,186,2036,183,2033,2030,2026,206,198,2047,194,216,1247,1245,1243,1240,227,1237,1255,2310,2302,2300,2286,2284,2281,565,563,561,558,575,1589,2261,2259,2256,2253,1542,521,519,517,514,2270,511,533,1569,1567,2223,2221,2218,2215,1483,2211,1480,459,456,453,2232,449,474,491,1527,1525,1522,2475,2467,2465,2451,2449,2446,801,800,2426,2424,2421,2418,1723,2435,780,778,775,2387,2385,2382,2379,1695,2375,1693,2396,735,733,730,727,749,1718,2616,2615,2604,2603,2601,2584,2583,2581,2579,1800,2591,2550,2549,2547,2545,1792,2542,1790,2558,929,2719,1841,2710,2708,1833,1831,2690,2688,2686,1815,1809,1808,1774,1756,1754,1737,1736,1734,1739,1816,1711,1676,1674,633,629,1638,1636,1633,1641,598,1605,1604,1602,1600,605,1609,1607,2327,887,853,1775,822,820,1757,1755,1584,524,1560,1558,468,464,1514,1511,1508,1519,408,404,400,1452,1447,1444,417,1458,1455,2208,364,361,358,2154,1401,1400,1398,1396,374,1393,371,1408,1406,1403,1413,2173,2172,772,726,723,1712,672,669,666,682,1678,1675,625,623,621,618,2331,636,632,1639,1637,1635,920,918,884,880,889,849,848,847,846,2497,855,852,1776,2641,2742,2787,1380,334,1367,1365,301,297,1340,1338,1335,1343,255,251,247,1296,1291,1288,265,1302,1299,2113,204,196,192,2042,1232,1230,1224,214,1220,210,1242,1239,1235,1250,2077,2075,151,148,1993,144,1990,1163,1162,1160,1158,1155,161,1152,157,1173,1171,1168,1165,168,1181,1178,2021,2020,2018,2023,585,560,557,1585,516,509,1562,1559,458,447,2227,472,1516,1513,1510,398,396,393,390,2181,386,2178,407,1453,1451,1449,1446,420,1460,2209,769,764,720,712,2391,729,1713,664,663,661,659,2352,656,2349,671,1679,1677,2553,922,919,2519,2516,885,883,881,2685,2661,2659,2767,2756,2755,140,1137,1136,130,127,1125,1124,1122,1127,109,106,102,1103,1102,1100,1098,116,1107,1105,1980,80,76,73,1947,1068,1067,1065,1063,90,1060,87,1075,1073,1070,1080,1966,1965,46,43,40,1912,36,1909,1019,1018,1016,1014,58,1011,55,1008,51,1029,1027,1024,1021,63,1037,1034,1940,1939,1937,1942,8,1866,4,1863,1,1860,956,954,952,949,946,17,14,969,967,964,961,27,957,24,979,976,972,1901,1900,1898,1896,986,1905,1903,350,349,1381,329,327,324,1368,1366,292,290,287,284,2118,304,1341,1339,1337,1345,243,240,237,2086,233,2083,254,1297,1295,1293,1290,1304,2114,190,187,184,2034,180,2031,177,2027,199,1233,1231,1229,1226,217,1223,1241,2078,2076,584,555,554,552,550,2282,562,1586,507,506,504,502,2257,499,2254,515,1563,1561,445,443,441,2219,438,2216,435,2212,460,454,475,1517,1515,1512,2447,798,797,2422,2419,770,768,766,2383,2380,2376,721,719,717,714,731,1714,2602,2582,2580,2548,2546,2543,923,921,2717,2706,2705,2683,2682,2680,1771,1752,1750,1733,1732,1731,1735,1814,1707,1670,1668,1631,1629,1626,1634,1599,1598,1596,1594,1603,1601,2326,1772,1753,1751,1581,1554,1552,1504,1501,1498,1509,1442,1437,1434,401,1448,1445,2206,1392,1391,1389,1387,1384,359,1399,1397,1394,1404,2171,2170,1708,1672,1669,619,1632,1630,1628,1773,1378,1363,1361,1333,1328,1336,1286,1281,1278,248,1292,1289,2111,1218,1216,1210,197,1206,193,1228,1225,1221,1236,2073,2071,1151,1150,1148,1146,152,1143,149,1140,145,1161,1159,1156,1153,158,1169,1166,2017,2016,2014,2019,1582,510,1556,1553,452,448,1506,1500,394,391,387,1443,1441,1439,1436,1450,2207,765,716,713,1709,662,660,657,1673,1671,916,914,879,878,877,882,1135,1134,1121,1120,1118,1123,1097,1096,1094,1092,103,1101,1099,1979,1059,1058,1056,1054,77,1051,74,1066,1064,1061,1071,1964,1963,1007,1006,1004,1002,999,41,996,37,1017,1015,1012,1009,52,1025,1022,1936,1935,1933,1938,942,940,938,935,932,5,2,955,953,950,947,18,943,15,965,962,958,1895,1894,1892,1890,973,1899,1897,1379,325,1364,1362,288,285,1334,1332,1330,241,238,234,1287,1285,1283,1280,1294,2112,188,185,181,178,2028,1219,1217,1215,1212,200,1209,1227,2074,2072,583,553,551,1583,505,503,500,513,1557,1555,444,442,439,436,2213,455,451,1507,1505,1502,796,763,762,760,767,711,710,708,706,2377,718,715,1710,2544,917,915,2681,1627,1597,1595,2325,1769,1749,1747,1499,1438,1435,2204,1390,1388,1385,1395,2169,2167,1704,1665,1662,1625,1623,1620,1770,1329,1282,1279,2109,1214,1207,1222,2068,2065,1149,1147,1144,1141,146,1157,1154,2013,2011,2008,2015,1579,1549,1546,1495,1487,1433,1431,1428,1425,388,1440,2205,1705,658,1667,1664,1119,1095,1093,1978,1057,1055,1052,1062,1962,1960,1005,1003,1e3,997,38,1013,1010,1932,1930,1927,1934,941,939,936,933,6,930,3,951,948,944,1889,1887,1884,1881,959,1893,1891,35,1377,1360,1358,1327,1325,1322,1331,1277,1275,1272,1269,235,1284,2110,1205,1204,1201,1198,182,1195,179,1213,2070,2067,1580,501,1551,1548,440,437,1497,1494,1490,1503,761,709,707,1706,913,912,2198,1386,2164,2161,1621,1766,2103,1208,2058,2054,1145,1142,2005,2002,1999,2009,1488,1429,1426,2200,1698,1659,1656,1975,1053,1957,1954,1001,998,1924,1921,1918,1928,937,934,931,1879,1876,1873,1870,945,1885,1882,1323,1273,1270,2105,1202,1199,1196,1211,2061,2057,1576,1543,1540,1484,1481,1478,1491,1700]);class fh{constructor(s,l){this.bits=s,this.points=l}getBits(){return this.bits}getPoints(){return this.points}}class Wi{static detectMultiple(s,l,d){let u=s.getBlackMatrix(),m=Wi.detect(d,u);return m.length||(u=u.clone(),u.rotate180(),m=Wi.detect(d,u)),new fh(u,m)}static detect(s,l){const d=new Array;let u=0,m=0,p=!1;for(;u<l.getHeight();){const v=Wi.findVertices(l,u,m);if(null!=v[0]||null!=v[3]){if(p=!0,d.push(v),!s)break;null!=v[2]?(m=Math.trunc(v[2].getX()),u=Math.trunc(v[2].getY())):(m=Math.trunc(v[4].getX()),u=Math.trunc(v[4].getY()))}else{if(!p)break;p=!1,m=0;for(const M of d)null!=M[1]&&(u=Math.trunc(Math.max(u,M[1].getY()))),null!=M[3]&&(u=Math.max(u,Math.trunc(M[3].getY())));u+=Wi.ROW_STEP}}return d}static findVertices(s,l,d){const u=s.getHeight(),m=s.getWidth(),p=new Array(8);return Wi.copyToResult(p,Wi.findRowsWithPattern(s,u,m,l,d,Wi.START_PATTERN),Wi.INDEXES_START_PATTERN),null!=p[4]&&(d=Math.trunc(p[4].getX()),l=Math.trunc(p[4].getY())),Wi.copyToResult(p,Wi.findRowsWithPattern(s,u,m,l,d,Wi.STOP_PATTERN),Wi.INDEXES_STOP_PATTERN),p}static copyToResult(s,l,d){for(let u=0;u<d.length;u++)s[d[u]]=l[u]}static findRowsWithPattern(s,l,d,u,m,p){const v=new Array(4);let M=!1;const H=new Int32Array(p.length);for(;u<l;u+=Wi.ROW_STEP){let ue=Wi.findGuardPattern(s,m,u,d,!1,p,H);if(null!=ue){for(;u>0;){const _e=Wi.findGuardPattern(s,m,--u,d,!1,p,H);if(null==_e){u++;break}ue=_e}v[0]=new vt(ue[0],u),v[1]=new vt(ue[1],u),M=!0;break}}let q=u+1;if(M){let ue=0,_e=Int32Array.from([Math.trunc(v[0].getX()),Math.trunc(v[1].getX())]);for(;q<l;q++){const ke=Wi.findGuardPattern(s,_e[0],q,d,!1,p,H);if(null!=ke&&Math.abs(_e[0]-ke[0])<Wi.MAX_PATTERN_DRIFT&&Math.abs(_e[1]-ke[1])<Wi.MAX_PATTERN_DRIFT)_e=ke,ue=0;else{if(ue>Wi.SKIPPED_ROW_COUNT_MAX)break;ue++}}q-=ue+1,v[2]=new vt(_e[0],q),v[3]=new vt(_e[1],q)}return q-u<Wi.BARCODE_MIN_HEIGHT&&ne.fill(v,null),v}static findGuardPattern(s,l,d,u,m,p,v){ne.fillWithin(v,0,v.length,0);let M=l,H=0;for(;s.get(M,d)&&M>0&&H++<Wi.MAX_PIXEL_DRIFT;)M--;let q=M,ue=0,_e=p.length;for(let ke=m;q<u;q++)if(s.get(q,d)!==ke)v[ue]++;else{if(ue===_e-1){if(Wi.patternMatchVariance(v,p,Wi.MAX_INDIVIDUAL_VARIANCE)<Wi.MAX_AVG_VARIANCE)return new Int32Array([M,q]);M+=v[0]+v[1],V.arraycopy(v,2,v,0,ue-1),v[ue-1]=0,v[ue]=0,ue--}else ue++;v[ue]=1,ke=!ke}return ue===_e-1&&Wi.patternMatchVariance(v,p,Wi.MAX_INDIVIDUAL_VARIANCE)<Wi.MAX_AVG_VARIANCE?new Int32Array([M,q-1]):null}static patternMatchVariance(s,l,d){let u=s.length,m=0,p=0;for(let H=0;H<u;H++)m+=s[H],p+=l[H];if(m<p)return 1/0;let v=m/p;d*=v;let M=0;for(let H=0;H<u;H++){let q=s[H],ue=l[H]*v,_e=q>ue?q-ue:ue-q;if(_e>d)return 1/0;M+=_e}return M/m}}Wi.INDEXES_START_PATTERN=Int32Array.from([0,4,1,5]),Wi.INDEXES_STOP_PATTERN=Int32Array.from([6,2,7,3]),Wi.MAX_AVG_VARIANCE=.42,Wi.MAX_INDIVIDUAL_VARIANCE=.8,Wi.START_PATTERN=Int32Array.from([8,1,1,1,1,1,1,3]),Wi.STOP_PATTERN=Int32Array.from([7,1,1,3,1,1,1,2,1]),Wi.MAX_PIXEL_DRIFT=3,Wi.MAX_PATTERN_DRIFT=5,Wi.SKIPPED_ROW_COUNT_MAX=25,Wi.ROW_STEP=5,Wi.BARCODE_MIN_HEIGHT=10;class zr{constructor(s,l){if(0===l.length)throw new R;this.field=s;let d=l.length;if(d>1&&0===l[0]){let u=1;for(;u<d&&0===l[u];)u++;u===d?this.coefficients=new Int32Array([0]):(this.coefficients=new Int32Array(d-u),V.arraycopy(l,u,this.coefficients,0,this.coefficients.length))}else this.coefficients=l}getCoefficients(){return this.coefficients}getDegree(){return this.coefficients.length-1}isZero(){return 0===this.coefficients[0]}getCoefficient(s){return this.coefficients[this.coefficients.length-1-s]}evaluateAt(s){if(0===s)return this.getCoefficient(0);if(1===s){let u=0;for(let m of this.coefficients)u=this.field.add(u,m);return u}let l=this.coefficients[0],d=this.coefficients.length;for(let u=1;u<d;u++)l=this.field.add(this.field.multiply(s,l),this.coefficients[u]);return l}add(s){if(!this.field.equals(s.field))throw new R("ModulusPolys do not have same ModulusGF field");if(this.isZero())return s;if(s.isZero())return this;let l=this.coefficients,d=s.coefficients;if(l.length>d.length){let p=l;l=d,d=p}let u=new Int32Array(d.length),m=d.length-l.length;V.arraycopy(d,0,u,0,m);for(let p=m;p<d.length;p++)u[p]=this.field.add(l[p-m],d[p]);return new zr(this.field,u)}subtract(s){if(!this.field.equals(s.field))throw new R("ModulusPolys do not have same ModulusGF field");return s.isZero()?this:this.add(s.negative())}multiply(s){return s instanceof zr?this.multiplyOther(s):this.multiplyScalar(s)}multiplyOther(s){if(!this.field.equals(s.field))throw new R("ModulusPolys do not have same ModulusGF field");if(this.isZero()||s.isZero())return new zr(this.field,new Int32Array([0]));let l=this.coefficients,d=l.length,u=s.coefficients,m=u.length,p=new Int32Array(d+m-1);for(let v=0;v<d;v++){let M=l[v];for(let H=0;H<m;H++)p[v+H]=this.field.add(p[v+H],this.field.multiply(M,u[H]))}return new zr(this.field,p)}negative(){let s=this.coefficients.length,l=new Int32Array(s);for(let d=0;d<s;d++)l[d]=this.field.subtract(0,this.coefficients[d]);return new zr(this.field,l)}multiplyScalar(s){if(0===s)return new zr(this.field,new Int32Array([0]));if(1===s)return this;let l=this.coefficients.length,d=new Int32Array(l);for(let u=0;u<l;u++)d[u]=this.field.multiply(this.coefficients[u],s);return new zr(this.field,d)}multiplyByMonomial(s,l){if(s<0)throw new R;if(0===l)return new zr(this.field,new Int32Array([0]));let d=this.coefficients.length,u=new Int32Array(d+s);for(let m=0;m<d;m++)u[m]=this.field.multiply(this.coefficients[m],l);return new zr(this.field,u)}toString(){let s=new me;for(let l=this.getDegree();l>=0;l--){let d=this.getCoefficient(l);0!==d&&(d<0?(s.append(" - "),d=-d):s.length()>0&&s.append(" + "),(0===l||1!==d)&&s.append(d),0!==l&&(1===l?s.append("x"):(s.append("x^"),s.append(l))))}return s.toString()}}class uu{add(s,l){return(s+l)%this.modulus}subtract(s,l){return(this.modulus+s-l)%this.modulus}exp(s){return this.expTable[s]}log(s){if(0===s)throw new R;return this.logTable[s]}inverse(s){if(0===s)throw new Tn;return this.expTable[this.modulus-this.logTable[s]-1]}multiply(s,l){return 0===s||0===l?0:this.expTable[(this.logTable[s]+this.logTable[l])%(this.modulus-1)]}getSize(){return this.modulus}equals(s){return s===this}}class Da extends uu{constructor(s,l){super(),this.modulus=s,this.expTable=new Int32Array(s),this.logTable=new Int32Array(s);let d=1;for(let u=0;u<s;u++)this.expTable[u]=d,d=d*l%s;for(let u=0;u<s-1;u++)this.logTable[this.expTable[u]]=u;this.zero=new zr(this,new Int32Array([0])),this.one=new zr(this,new Int32Array([1]))}getZero(){return this.zero}getOne(){return this.one}buildMonomial(s,l){if(s<0)throw new R;if(0===l)return this.zero;let d=new Int32Array(s+1);return d[0]=l,new zr(this,d)}}Da.PDF417_GF=new Da(Ei.NUMBER_OF_CODEWORDS,3);class zn{constructor(){this.field=Da.PDF417_GF}decode(s,l,d){let u=new zr(this.field,s),m=new Int32Array(l),p=!1;for(let Ne=l;Ne>0;Ne--){let je=u.evaluateAt(this.field.exp(Ne));m[l-Ne]=je,0!==je&&(p=!0)}if(!p)return 0;let v=this.field.getOne();if(null!=d)for(const Ne of d){let je=this.field.exp(s.length-1-Ne),Ye=new zr(this.field,new Int32Array([this.field.subtract(0,je),1]));v=v.multiply(Ye)}let M=new zr(this.field,m),H=this.runEuclideanAlgorithm(this.field.buildMonomial(l,1),M,l),q=H[0],ue=H[1],_e=this.findErrorLocations(q),ke=this.findErrorMagnitudes(ue,q,_e);for(let Ne=0;Ne<_e.length;Ne++){let je=s.length-1-this.field.log(_e[Ne]);if(je<0)throw Z.getChecksumInstance();s[je]=this.field.subtract(s[je],ke[Ne])}return _e.length}runEuclideanAlgorithm(s,l,d){if(s.getDegree()<l.getDegree()){let _e=s;s=l,l=_e}let u=s,m=l,p=this.field.getZero(),v=this.field.getOne();for(;m.getDegree()>=Math.round(d/2);){let _e=u,ke=p;if(u=m,p=v,u.isZero())throw Z.getChecksumInstance();m=_e;let Ne=this.field.getZero(),je=u.getCoefficient(u.getDegree()),Ye=this.field.inverse(je);for(;m.getDegree()>=u.getDegree()&&!m.isZero();){let et=m.getDegree()-u.getDegree(),kt=this.field.multiply(m.getCoefficient(m.getDegree()),Ye);Ne=Ne.add(this.field.buildMonomial(et,kt)),m=m.subtract(u.multiplyByMonomial(et,kt))}v=Ne.multiply(p).subtract(ke).negative()}let M=v.getCoefficient(0);if(0===M)throw Z.getChecksumInstance();let H=this.field.inverse(M);return[v.multiply(H),m.multiply(H)]}findErrorLocations(s){let l=s.getDegree(),d=new Int32Array(l),u=0;for(let m=1;m<this.field.getSize()&&u<l;m++)0===s.evaluateAt(m)&&(d[u]=this.field.inverse(m),u++);if(u!==l)throw Z.getChecksumInstance();return d}findErrorMagnitudes(s,l,d){let u=l.getDegree(),m=new Int32Array(u);for(let H=1;H<=u;H++)m[u-H]=this.field.multiply(H,l.getCoefficient(H));let p=new zr(this.field,m),v=d.length,M=new Int32Array(v);for(let H=0;H<v;H++){let q=this.field.inverse(d[H]),ue=this.field.subtract(0,s.evaluateAt(q)),_e=this.field.inverse(p.evaluateAt(q));M[H]=this.field.multiply(ue,_e)}return M}}class sl{constructor(s,l,d,u,m){s instanceof sl?this.constructor_2(s):this.constructor_1(s,l,d,u,m)}constructor_1(s,l,d,u,m){const p=null==l||null==d,v=null==u||null==m;if(p&&v)throw new we;p?(l=new vt(0,u.getY()),d=new vt(0,m.getY())):v&&(u=new vt(s.getWidth()-1,l.getY()),m=new vt(s.getWidth()-1,d.getY())),this.image=s,this.topLeft=l,this.bottomLeft=d,this.topRight=u,this.bottomRight=m,this.minX=Math.trunc(Math.min(l.getX(),d.getX())),this.maxX=Math.trunc(Math.max(u.getX(),m.getX())),this.minY=Math.trunc(Math.min(l.getY(),u.getY())),this.maxY=Math.trunc(Math.max(d.getY(),m.getY()))}constructor_2(s){this.image=s.image,this.topLeft=s.getTopLeft(),this.bottomLeft=s.getBottomLeft(),this.topRight=s.getTopRight(),this.bottomRight=s.getBottomRight(),this.minX=s.getMinX(),this.maxX=s.getMaxX(),this.minY=s.getMinY(),this.maxY=s.getMaxY()}static merge(s,l){return null==s?l:null==l?s:new sl(s.image,s.topLeft,s.bottomLeft,l.topRight,l.bottomRight)}addMissingRows(s,l,d){let u=this.topLeft,m=this.bottomLeft,p=this.topRight,v=this.bottomRight;if(s>0){let M=d?this.topLeft:this.topRight,H=Math.trunc(M.getY()-s);H<0&&(H=0);let q=new vt(M.getX(),H);d?u=q:p=q}if(l>0){let M=d?this.bottomLeft:this.bottomRight,H=Math.trunc(M.getY()+l);H>=this.image.getHeight()&&(H=this.image.getHeight()-1);let q=new vt(M.getX(),H);d?m=q:v=q}return new sl(this.image,u,m,p,v)}getMinX(){return this.minX}getMaxX(){return this.maxX}getMinY(){return this.minY}getMaxY(){return this.maxY}getTopLeft(){return this.topLeft}getTopRight(){return this.topRight}getBottomLeft(){return this.bottomLeft}getBottomRight(){return this.bottomRight}}class Lm{constructor(s,l,d,u){this.columnCount=s,this.errorCorrectionLevel=u,this.rowCountUpperPart=l,this.rowCountLowerPart=d,this.rowCount=l+d}getColumnCount(){return this.columnCount}getErrorCorrectionLevel(){return this.errorCorrectionLevel}getRowCount(){return this.rowCount}getRowCountUpperPart(){return this.rowCountUpperPart}getRowCountLowerPart(){return this.rowCountLowerPart}}class fc{constructor(){this.buffer=""}static form(s,l){let d=-1;return s.replace(/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g,function u(p,v,M,H,q,ue){if("%%"===p)return"%";if(void 0===l[++d])return;p=H?parseInt(H.substr(1)):void 0;let ke,_e=q?parseInt(q.substr(1)):void 0;switch(ue){case"s":ke=l[d];break;case"c":ke=l[d][0];break;case"f":ke=parseFloat(l[d]).toFixed(p);break;case"p":ke=parseFloat(l[d]).toPrecision(p);break;case"e":ke=parseFloat(l[d]).toExponential(p);break;case"x":ke=parseInt(l[d]).toString(_e||16);break;case"d":ke=parseFloat(parseInt(l[d],_e||10).toPrecision(p)).toFixed(0)}ke="object"==typeof ke?JSON.stringify(ke):(+ke).toString(_e);let Ne=parseInt(M),je=M&&M[0]+""=="0"?"0":" ";for(;ke.length<Ne;)ke=void 0!==v?ke+je:je+ke;return ke})}format(s,...l){this.buffer+=fc.form(s,l)}toString(){return this.buffer}}let Qe=(()=>{class Y{constructor(l){this.boundingBox=new sl(l),this.codewords=new Array(l.getMaxY()-l.getMinY()+1)}getCodewordNearby(l){let d=this.getCodeword(l);if(null!=d)return d;for(let u=1;u<Y.MAX_NEARBY_DISTANCE;u++){let m=this.imageRowToCodewordIndex(l)-u;if(m>=0&&(d=this.codewords[m],null!=d)||(m=this.imageRowToCodewordIndex(l)+u,m<this.codewords.length&&(d=this.codewords[m],null!=d)))return d}return null}imageRowToCodewordIndex(l){return l-this.boundingBox.getMinY()}setCodeword(l,d){this.codewords[this.imageRowToCodewordIndex(l)]=d}getCodeword(l){return this.codewords[this.imageRowToCodewordIndex(l)]}getBoundingBox(){return this.boundingBox}getCodewords(){return this.codewords}toString(){const l=new fc;let d=0;for(const u of this.codewords)null!=u?l.format("%3d: %3d|%3d%n",d++,u.getRowNumber(),u.getValue()):l.format("%3d: | %n",d++);return l.toString()}}return Y.MAX_NEARBY_DISTANCE=5,Y})();class pc{constructor(){this.values=new Map}setValue(s){s=Math.trunc(s);let l=this.values.get(s);null==l&&(l=0),l++,this.values.set(s,l)}getValue(){let s=-1,l=new Array;for(const[d,u]of this.values.entries()){const m={getKey:()=>d,getValue:()=>u};m.getValue()>s?(s=m.getValue(),l=[],l.push(m.getKey())):m.getValue()===s&&l.push(m.getKey())}return Ei.toIntArray(l)}getConfidence(s){return this.values.get(s)}}class St extends Qe{constructor(s,l){super(s),this._isLeft=l}setRowNumbers(){for(let s of this.getCodewords())s?.setRowNumberAsRowIndicatorColumn()}adjustCompleteIndicatorColumnRowNumbers(s){let l=this.getCodewords();this.setRowNumbers(),this.removeIncorrectCodewords(l,s);let d=this.getBoundingBox(),u=this._isLeft?d.getTopLeft():d.getTopRight(),m=this._isLeft?d.getBottomLeft():d.getBottomRight(),p=this.imageRowToCodewordIndex(Math.trunc(u.getY())),v=this.imageRowToCodewordIndex(Math.trunc(m.getY())),M=-1,H=1,q=0;for(let ue=p;ue<v;ue++){if(null==l[ue])continue;let _e=l[ue],ke=_e.getRowNumber()-M;if(0===ke)q++;else if(1===ke)H=Math.max(H,q),q=1,M=_e.getRowNumber();else if(ke<0||_e.getRowNumber()>=s.getRowCount()||ke>ue)l[ue]=null;else{let Ne;Ne=H>2?(H-2)*ke:ke;let je=Ne>=ue;for(let Ye=1;Ye<=Ne&&!je;Ye++)je=null!=l[ue-Ye];je?l[ue]=null:(M=_e.getRowNumber(),q=1)}}}getRowHeights(){let s=this.getBarcodeMetadata();if(null==s)return null;this.adjustIncompleteIndicatorColumnRowNumbers(s);let l=new Int32Array(s.getRowCount());for(let d of this.getCodewords())if(null!=d){let u=d.getRowNumber();if(u>=l.length)continue;l[u]++}return l}adjustIncompleteIndicatorColumnRowNumbers(s){let l=this.getBoundingBox(),d=this._isLeft?l.getTopLeft():l.getTopRight(),u=this._isLeft?l.getBottomLeft():l.getBottomRight(),m=this.imageRowToCodewordIndex(Math.trunc(d.getY())),p=this.imageRowToCodewordIndex(Math.trunc(u.getY())),v=this.getCodewords(),M=-1;for(let H=m;H<p;H++){if(null==v[H])continue;let q=v[H];q.setRowNumberAsRowIndicatorColumn();let ue=q.getRowNumber()-M;0===ue||(1===ue?M=q.getRowNumber():q.getRowNumber()>=s.getRowCount()?v[H]=null:M=q.getRowNumber())}}getBarcodeMetadata(){let s=this.getCodewords(),l=new pc,d=new pc,u=new pc,m=new pc;for(let v of s){if(null==v)continue;v.setRowNumberAsRowIndicatorColumn();let M=v.getValue()%30,H=v.getRowNumber();switch(this._isLeft||(H+=2),H%3){case 0:d.setValue(3*M+1);break;case 1:m.setValue(M/3),u.setValue(M%3);break;case 2:l.setValue(M+1)}}if(0===l.getValue().length||0===d.getValue().length||0===u.getValue().length||0===m.getValue().length||l.getValue()[0]<1||d.getValue()[0]+u.getValue()[0]<Ei.MIN_ROWS_IN_BARCODE||d.getValue()[0]+u.getValue()[0]>Ei.MAX_ROWS_IN_BARCODE)return null;let p=new Lm(l.getValue()[0],d.getValue()[0],u.getValue()[0],m.getValue()[0]);return this.removeIncorrectCodewords(s,p),p}removeIncorrectCodewords(s,l){for(let d=0;d<s.length;d++){let u=s[d];if(null==s[d])continue;let m=u.getValue()%30,p=u.getRowNumber();if(p>l.getRowCount())s[d]=null;else switch(this._isLeft||(p+=2),p%3){case 0:3*m+1!==l.getRowCountUpperPart()&&(s[d]=null);break;case 1:(Math.trunc(m/3)!==l.getErrorCorrectionLevel()||m%3!==l.getRowCountLowerPart())&&(s[d]=null);break;case 2:m+1!==l.getColumnCount()&&(s[d]=null)}}}isLeft(){return this._isLeft}toString(){return"IsLeft: "+this._isLeft+"\n"+super.toString()}}class Vo{constructor(s,l){this.ADJUST_ROW_NUMBER_SKIP=2,this.barcodeMetadata=s,this.barcodeColumnCount=s.getColumnCount(),this.boundingBox=l,this.detectionResultColumns=new Array(this.barcodeColumnCount+2)}getDetectionResultColumns(){this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[0]),this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[this.barcodeColumnCount+1]);let l,s=Ei.MAX_CODEWORDS_IN_BARCODE;do{l=s,s=this.adjustRowNumbersAndGetCount()}while(s>0&&s<l);return this.detectionResultColumns}adjustIndicatorColumnRowNumbers(s){s?.adjustCompleteIndicatorColumnRowNumbers(this.barcodeMetadata)}adjustRowNumbersAndGetCount(){let s=this.adjustRowNumbersByRow();if(0===s)return 0;for(let l=1;l<this.barcodeColumnCount+1;l++){let d=this.detectionResultColumns[l].getCodewords();for(let u=0;u<d.length;u++)null!=d[u]&&(d[u].hasValidRowNumber()||this.adjustRowNumbers(l,u,d))}return s}adjustRowNumbersByRow(){return this.adjustRowNumbersFromBothRI(),this.adjustRowNumbersFromLRI()+this.adjustRowNumbersFromRRI()}adjustRowNumbersFromBothRI(){if(null==this.detectionResultColumns[0]||null==this.detectionResultColumns[this.barcodeColumnCount+1])return;let s=this.detectionResultColumns[0].getCodewords(),l=this.detectionResultColumns[this.barcodeColumnCount+1].getCodewords();for(let d=0;d<s.length;d++)if(null!=s[d]&&null!=l[d]&&s[d].getRowNumber()===l[d].getRowNumber())for(let u=1;u<=this.barcodeColumnCount;u++){let m=this.detectionResultColumns[u].getCodewords()[d];null!=m&&(m.setRowNumber(s[d].getRowNumber()),m.hasValidRowNumber()||(this.detectionResultColumns[u].getCodewords()[d]=null))}}adjustRowNumbersFromRRI(){if(null==this.detectionResultColumns[this.barcodeColumnCount+1])return 0;let s=0,l=this.detectionResultColumns[this.barcodeColumnCount+1].getCodewords();for(let d=0;d<l.length;d++){if(null==l[d])continue;let u=l[d].getRowNumber(),m=0;for(let p=this.barcodeColumnCount+1;p>0&&m<this.ADJUST_ROW_NUMBER_SKIP;p--){let v=this.detectionResultColumns[p].getCodewords()[d];null!=v&&(m=Vo.adjustRowNumberIfValid(u,m,v),v.hasValidRowNumber()||s++)}}return s}adjustRowNumbersFromLRI(){if(null==this.detectionResultColumns[0])return 0;let s=0,l=this.detectionResultColumns[0].getCodewords();for(let d=0;d<l.length;d++){if(null==l[d])continue;let u=l[d].getRowNumber(),m=0;for(let p=1;p<this.barcodeColumnCount+1&&m<this.ADJUST_ROW_NUMBER_SKIP;p++){let v=this.detectionResultColumns[p].getCodewords()[d];null!=v&&(m=Vo.adjustRowNumberIfValid(u,m,v),v.hasValidRowNumber()||s++)}}return s}static adjustRowNumberIfValid(s,l,d){return null==d||d.hasValidRowNumber()||(d.isValidRowNumber(s)?(d.setRowNumber(s),l=0):++l),l}adjustRowNumbers(s,l,d){if(!this.detectionResultColumns[s-1])return;let u=d[l],m=this.detectionResultColumns[s-1].getCodewords(),p=m;null!=this.detectionResultColumns[s+1]&&(p=this.detectionResultColumns[s+1].getCodewords());let v=new Array(14);v[2]=m[l],v[3]=p[l],l>0&&(v[0]=d[l-1],v[4]=m[l-1],v[5]=p[l-1]),l>1&&(v[8]=d[l-2],v[10]=m[l-2],v[11]=p[l-2]),l<d.length-1&&(v[1]=d[l+1],v[6]=m[l+1],v[7]=p[l+1]),l<d.length-2&&(v[9]=d[l+2],v[12]=m[l+2],v[13]=p[l+2]);for(let M of v)if(Vo.adjustRowNumber(u,M))return}static adjustRowNumber(s,l){return!(null==l||!l.hasValidRowNumber()||l.getBucket()!==s.getBucket()||(s.setRowNumber(l.getRowNumber()),0))}getBarcodeColumnCount(){return this.barcodeColumnCount}getBarcodeRowCount(){return this.barcodeMetadata.getRowCount()}getBarcodeECLevel(){return this.barcodeMetadata.getErrorCorrectionLevel()}setBoundingBox(s){this.boundingBox=s}getBoundingBox(){return this.boundingBox}setDetectionResultColumn(s,l){this.detectionResultColumns[s]=l}getDetectionResultColumn(s){return this.detectionResultColumns[s]}toString(){let s=this.detectionResultColumns[0];null==s&&(s=this.detectionResultColumns[this.barcodeColumnCount+1]);let l=new fc;for(let d=0;d<s.getCodewords().length;d++){l.format("CW %3d:",d);for(let u=0;u<this.barcodeColumnCount+2;u++){if(null==this.detectionResultColumns[u]){l.format(" | ");continue}let m=this.detectionResultColumns[u].getCodewords()[d];null!=m?l.format(" %3d|%3d",m.getRowNumber(),m.getValue()):l.format(" | ")}l.format("%n")}return l.toString()}}let ph=(()=>{class Y{constructor(l,d,u,m){this.rowNumber=Y.BARCODE_ROW_UNKNOWN,this.startX=Math.trunc(l),this.endX=Math.trunc(d),this.bucket=Math.trunc(u),this.value=Math.trunc(m)}hasValidRowNumber(){return this.isValidRowNumber(this.rowNumber)}isValidRowNumber(l){return l!==Y.BARCODE_ROW_UNKNOWN&&this.bucket===l%3*3}setRowNumberAsRowIndicatorColumn(){this.rowNumber=Math.trunc(3*Math.trunc(this.value/30)+Math.trunc(this.bucket/3))}getWidth(){return this.endX-this.startX}getStartX(){return this.startX}getEndX(){return this.endX}getBucket(){return this.bucket}getValue(){return this.value}getRowNumber(){return this.rowNumber}setRowNumber(l){this.rowNumber=l}toString(){return this.rowNumber+"|"+this.value}}return Y.BARCODE_ROW_UNKNOWN=-1,Y})();class Lr{static initialize(){for(let s=0;s<Ei.SYMBOL_TABLE.length;s++){let l=Ei.SYMBOL_TABLE[s],d=1&l;for(let u=0;u<Ei.BARS_IN_MODULE;u++){let m=0;for(;(1&l)===d;)m+=1,l>>=1;d=1&l,Lr.RATIOS_TABLE[s]||(Lr.RATIOS_TABLE[s]=new Array(Ei.BARS_IN_MODULE)),Lr.RATIOS_TABLE[s][Ei.BARS_IN_MODULE-u-1]=Math.fround(m/Ei.MODULES_IN_CODEWORD)}}this.bSymbolTableReady=!0}static getDecodedValue(s){let l=Lr.getDecodedCodewordValue(Lr.sampleBitCounts(s));return-1!==l?l:Lr.getClosestDecodedValue(s)}static sampleBitCounts(s){let l=$t.sum(s),d=new Int32Array(Ei.BARS_IN_MODULE),u=0,m=0;for(let p=0;p<Ei.MODULES_IN_CODEWORD;p++)m+s[u]<=l/(2*Ei.MODULES_IN_CODEWORD)+p*l/Ei.MODULES_IN_CODEWORD&&(m+=s[u],u++),d[u]++;return d}static getDecodedCodewordValue(s){let l=Lr.getBitValue(s);return-1===Ei.getCodeword(l)?-1:l}static getBitValue(s){let l=0;for(let d=0;d<s.length;d++)for(let u=0;u<s[d];u++)l=l<<1|(d%2==0?1:0);return Math.trunc(l)}static getClosestDecodedValue(s){let l=$t.sum(s),d=new Array(Ei.BARS_IN_MODULE);if(l>1)for(let p=0;p<d.length;p++)d[p]=Math.fround(s[p]/l);let u=oi.MAX_VALUE,m=-1;this.bSymbolTableReady||Lr.initialize();for(let p=0;p<Lr.RATIOS_TABLE.length;p++){let v=0,M=Lr.RATIOS_TABLE[p];for(let H=0;H<Ei.BARS_IN_MODULE;H++){let q=Math.fround(M[H]-d[H]);if(v+=Math.fround(q*q),v>=u)break}v<u&&(u=v,m=Ei.SYMBOL_TABLE[p])}return m}}Lr.bSymbolTableReady=!1,Lr.RATIOS_TABLE=new Array(Ei.SYMBOL_TABLE.length).map(Y=>new Array(Ei.BARS_IN_MODULE));class gc{constructor(){this.segmentCount=-1,this.fileSize=-1,this.timestamp=-1,this.checksum=-1}getSegmentIndex(){return this.segmentIndex}setSegmentIndex(s){this.segmentIndex=s}getFileId(){return this.fileId}setFileId(s){this.fileId=s}getOptionalData(){return this.optionalData}setOptionalData(s){this.optionalData=s}isLastSegment(){return this.lastSegment}setLastSegment(s){this.lastSegment=s}getSegmentCount(){return this.segmentCount}setSegmentCount(s){this.segmentCount=s}getSender(){return this.sender||null}setSender(s){this.sender=s}getAddressee(){return this.addressee||null}setAddressee(s){this.addressee=s}getFileName(){return this.fileName}setFileName(s){this.fileName=s}getFileSize(){return this.fileSize}setFileSize(s){this.fileSize=s}getChecksum(){return this.checksum}setChecksum(s){this.checksum=s}getTimestamp(){return this.timestamp}setTimestamp(s){this.timestamp=s}}class ns{static parseLong(s,l){return parseInt(s,l)}}let lo=(()=>{class Y extends L{}return Y.kind="NullPointerException",Y})();class Yo{writeBytes(s){this.writeBytesOffset(s,0,s.length)}writeBytesOffset(s,l,d){if(null==s)throw new lo;if(l<0||l>s.length||d<0||l+d>s.length||l+d<0)throw new re;if(0!==d)for(let u=0;u<d;u++)this.write(s[l+u])}flush(){}close(){}}class Rl extends L{}class ys extends Yo{constructor(s=32){if(super(),this.count=0,s<0)throw new R("Negative initial size: "+s);this.buf=new Uint8Array(s)}ensureCapacity(s){s-this.buf.length>0&&this.grow(s)}grow(s){let d=this.buf.length<<1;if(d-s<0&&(d=s),d<0){if(s<0)throw new Rl;d=G.MAX_VALUE}this.buf=ne.copyOfUint8Array(this.buf,d)}write(s){this.ensureCapacity(this.count+1),this.buf[this.count]=s,this.count+=1}writeBytesOffset(s,l,d){if(l<0||l>s.length||d<0||l+d-s.length>0)throw new re;this.ensureCapacity(this.count+d),V.arraycopy(s,l,this.buf,this.count,d),this.count+=d}writeTo(s){s.writeBytesOffset(this.buf,0,this.count)}reset(){this.count=0}toByteArray(){return ne.copyOfUint8Array(this.buf,this.count)}size(){return this.count}toString(s){return s?"string"==typeof s?this.toString_string(s):this.toString_number(s):this.toString_void()}toString_void(){return new String(this.buf).toString()}toString_string(s){return new String(this.buf).toString()}toString_number(s){return new String(this.buf).toString()}close(){}}var Si=(()=>{return(Y=Si||(Si={}))[Y.ALPHA=0]="ALPHA",Y[Y.LOWER=1]="LOWER",Y[Y.MIXED=2]="MIXED",Y[Y.PUNCT=3]="PUNCT",Y[Y.ALPHA_SHIFT=4]="ALPHA_SHIFT",Y[Y.PUNCT_SHIFT=5]="PUNCT_SHIFT",Si;var Y})();function ci(){if(typeof window<"u")return window.BigInt||null;if(typeof global<"u")return global.BigInt||null;if(typeof self<"u")return self.BigInt||null;throw new Error("Can't search globals for BigInt!")}let Nr;function vs(Y){if(typeof Nr>"u"&&(Nr=ci()),null===Nr)throw new Error("BigInt is not supported!");return Nr(Y)}class rt{static decode(s,l){let d=new me(""),u=oe.ISO8859_1;d.enableDecoding(u);let m=1,p=s[m++],v=new gc;for(;m<s[0];){switch(p){case rt.TEXT_COMPACTION_MODE_LATCH:m=rt.textCompaction(s,m,d);break;case rt.BYTE_COMPACTION_MODE_LATCH:case rt.BYTE_COMPACTION_MODE_LATCH_6:m=rt.byteCompaction(p,s,u,m,d);break;case rt.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:d.append(s[m++]);break;case rt.NUMERIC_COMPACTION_MODE_LATCH:m=rt.numericCompaction(s,m,d);break;case rt.ECI_CHARSET:oe.getCharacterSetECIByValue(s[m++]);break;case rt.ECI_GENERAL_PURPOSE:m+=2;break;case rt.ECI_USER_DEFINED:m++;break;case rt.BEGIN_MACRO_PDF417_CONTROL_BLOCK:m=rt.decodeMacroBlock(s,m,v);break;case rt.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case rt.MACRO_PDF417_TERMINATOR:throw new ie;default:m--,m=rt.textCompaction(s,m,d)}if(!(m<s.length))throw ie.getFormatInstance();p=s[m++]}if(0===d.length())throw ie.getFormatInstance();let M=new Fn(null,d.toString(),null,l);return M.setOther(v),M}static decodeMacroBlock(s,l,d){if(l+rt.NUMBER_OF_SEQUENCE_CODEWORDS>s[0])throw ie.getFormatInstance();let u=new Int32Array(rt.NUMBER_OF_SEQUENCE_CODEWORDS);for(let v=0;v<rt.NUMBER_OF_SEQUENCE_CODEWORDS;v++,l++)u[v]=s[l];d.setSegmentIndex(G.parseInt(rt.decodeBase900toBase10(u,rt.NUMBER_OF_SEQUENCE_CODEWORDS)));let m=new me;l=rt.textCompaction(s,l,m),d.setFileId(m.toString());let p=-1;for(s[l]===rt.BEGIN_MACRO_PDF417_OPTIONAL_FIELD&&(p=l+1);l<s[0];)switch(s[l]){case rt.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:switch(s[++l]){case rt.MACRO_PDF417_OPTIONAL_FIELD_FILE_NAME:let v=new me;l=rt.textCompaction(s,l+1,v),d.setFileName(v.toString());break;case rt.MACRO_PDF417_OPTIONAL_FIELD_SENDER:let M=new me;l=rt.textCompaction(s,l+1,M),d.setSender(M.toString());break;case rt.MACRO_PDF417_OPTIONAL_FIELD_ADDRESSEE:let H=new me;l=rt.textCompaction(s,l+1,H),d.setAddressee(H.toString());break;case rt.MACRO_PDF417_OPTIONAL_FIELD_SEGMENT_COUNT:let q=new me;l=rt.numericCompaction(s,l+1,q),d.setSegmentCount(G.parseInt(q.toString()));break;case rt.MACRO_PDF417_OPTIONAL_FIELD_TIME_STAMP:let ue=new me;l=rt.numericCompaction(s,l+1,ue),d.setTimestamp(ns.parseLong(ue.toString()));break;case rt.MACRO_PDF417_OPTIONAL_FIELD_CHECKSUM:let _e=new me;l=rt.numericCompaction(s,l+1,_e),d.setChecksum(G.parseInt(_e.toString()));break;case rt.MACRO_PDF417_OPTIONAL_FIELD_FILE_SIZE:let ke=new me;l=rt.numericCompaction(s,l+1,ke),d.setFileSize(ns.parseLong(ke.toString()));break;default:throw ie.getFormatInstance()}break;case rt.MACRO_PDF417_TERMINATOR:l++,d.setLastSegment(!0);break;default:throw ie.getFormatInstance()}if(-1!==p){let v=l-p;d.isLastSegment()&&v--,d.setOptionalData(ne.copyOfRange(s,p,p+v))}return l}static textCompaction(s,l,d){let u=new Int32Array(2*(s[0]-l)),m=new Int32Array(2*(s[0]-l)),p=0,v=!1;for(;l<s[0]&&!v;){let M=s[l++];if(M<rt.TEXT_COMPACTION_MODE_LATCH)u[p]=M/30,u[p+1]=M%30,p+=2;else switch(M){case rt.TEXT_COMPACTION_MODE_LATCH:u[p++]=rt.TEXT_COMPACTION_MODE_LATCH;break;case rt.BYTE_COMPACTION_MODE_LATCH:case rt.BYTE_COMPACTION_MODE_LATCH_6:case rt.NUMERIC_COMPACTION_MODE_LATCH:case rt.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case rt.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case rt.MACRO_PDF417_TERMINATOR:l--,v=!0;break;case rt.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:u[p]=rt.MODE_SHIFT_TO_BYTE_COMPACTION_MODE,M=s[l++],m[p]=M,p++}}return rt.decodeTextCompaction(u,m,p,d),l}static decodeTextCompaction(s,l,d,u){let m=Si.ALPHA,p=Si.ALPHA,v=0;for(;v<d;){let M=s[v],H="";switch(m){case Si.ALPHA:if(M<26)H=String.fromCharCode(65+M);else switch(M){case 26:H=" ";break;case rt.LL:m=Si.LOWER;break;case rt.ML:m=Si.MIXED;break;case rt.PS:p=m,m=Si.PUNCT_SHIFT;break;case rt.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:u.append(l[v]);break;case rt.TEXT_COMPACTION_MODE_LATCH:m=Si.ALPHA}break;case Si.LOWER:if(M<26)H=String.fromCharCode(97+M);else switch(M){case 26:H=" ";break;case rt.AS:p=m,m=Si.ALPHA_SHIFT;break;case rt.ML:m=Si.MIXED;break;case rt.PS:p=m,m=Si.PUNCT_SHIFT;break;case rt.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:u.append(l[v]);break;case rt.TEXT_COMPACTION_MODE_LATCH:m=Si.ALPHA}break;case Si.MIXED:if(M<rt.PL)H=rt.MIXED_CHARS[M];else switch(M){case rt.PL:m=Si.PUNCT;break;case 26:H=" ";break;case rt.LL:m=Si.LOWER;break;case rt.AL:m=Si.ALPHA;break;case rt.PS:p=m,m=Si.PUNCT_SHIFT;break;case rt.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:u.append(l[v]);break;case rt.TEXT_COMPACTION_MODE_LATCH:m=Si.ALPHA}break;case Si.PUNCT:if(M<rt.PAL)H=rt.PUNCT_CHARS[M];else switch(M){case rt.PAL:m=Si.ALPHA;break;case rt.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:u.append(l[v]);break;case rt.TEXT_COMPACTION_MODE_LATCH:m=Si.ALPHA}break;case Si.ALPHA_SHIFT:if(m=p,M<26)H=String.fromCharCode(65+M);else switch(M){case 26:H=" ";break;case rt.TEXT_COMPACTION_MODE_LATCH:m=Si.ALPHA}break;case Si.PUNCT_SHIFT:if(m=p,M<rt.PAL)H=rt.PUNCT_CHARS[M];else switch(M){case rt.PAL:m=Si.ALPHA;break;case rt.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:u.append(l[v]);break;case rt.TEXT_COMPACTION_MODE_LATCH:m=Si.ALPHA}}""!==H&&u.append(H),v++}}static byteCompaction(s,l,d,u,m){let p=new ys,v=0,M=0,H=!1;switch(s){case rt.BYTE_COMPACTION_MODE_LATCH:let q=new Int32Array(6),ue=l[u++];for(;u<l[0]&&!H;)switch(q[v++]=ue,M=900*M+ue,ue=l[u++],ue){case rt.TEXT_COMPACTION_MODE_LATCH:case rt.BYTE_COMPACTION_MODE_LATCH:case rt.NUMERIC_COMPACTION_MODE_LATCH:case rt.BYTE_COMPACTION_MODE_LATCH_6:case rt.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case rt.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case rt.MACRO_PDF417_TERMINATOR:u--,H=!0;break;default:if(v%5==0&&v>0){for(let _e=0;_e<6;++_e)p.write(Number(vs(M)>>vs(8*(5-_e))));M=0,v=0}}u===l[0]&&ue<rt.TEXT_COMPACTION_MODE_LATCH&&(q[v++]=ue);for(let _e=0;_e<v;_e++)p.write(q[_e]);break;case rt.BYTE_COMPACTION_MODE_LATCH_6:for(;u<l[0]&&!H;){let _e=l[u++];if(_e<rt.TEXT_COMPACTION_MODE_LATCH)v++,M=900*M+_e;else switch(_e){case rt.TEXT_COMPACTION_MODE_LATCH:case rt.BYTE_COMPACTION_MODE_LATCH:case rt.NUMERIC_COMPACTION_MODE_LATCH:case rt.BYTE_COMPACTION_MODE_LATCH_6:case rt.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case rt.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case rt.MACRO_PDF417_TERMINATOR:u--,H=!0}if(v%5==0&&v>0){for(let ke=0;ke<6;++ke)p.write(Number(vs(M)>>vs(8*(5-ke))));M=0,v=0}}}return m.append(ae.decode(p.toByteArray(),d)),u}static numericCompaction(s,l,d){let u=0,m=!1,p=new Int32Array(rt.MAX_NUMERIC_CODEWORDS);for(;l<s[0]&&!m;){let v=s[l++];if(l===s[0]&&(m=!0),v<rt.TEXT_COMPACTION_MODE_LATCH)p[u]=v,u++;else switch(v){case rt.TEXT_COMPACTION_MODE_LATCH:case rt.BYTE_COMPACTION_MODE_LATCH:case rt.BYTE_COMPACTION_MODE_LATCH_6:case rt.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case rt.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case rt.MACRO_PDF417_TERMINATOR:l--,m=!0}(u%rt.MAX_NUMERIC_CODEWORDS==0||v===rt.NUMERIC_COMPACTION_MODE_LATCH||m)&&u>0&&(d.append(rt.decodeBase900toBase10(p,u)),u=0)}return l}static decodeBase900toBase10(s,l){let d=vs(0);for(let m=0;m<l;m++)d+=rt.EXP900[l-m-1]*vs(s[m]);let u=d.toString();if("1"!==u.charAt(0))throw new ie;return u.substring(1)}}rt.TEXT_COMPACTION_MODE_LATCH=900,rt.BYTE_COMPACTION_MODE_LATCH=901,rt.NUMERIC_COMPACTION_MODE_LATCH=902,rt.BYTE_COMPACTION_MODE_LATCH_6=924,rt.ECI_USER_DEFINED=925,rt.ECI_GENERAL_PURPOSE=926,rt.ECI_CHARSET=927,rt.BEGIN_MACRO_PDF417_CONTROL_BLOCK=928,rt.BEGIN_MACRO_PDF417_OPTIONAL_FIELD=923,rt.MACRO_PDF417_TERMINATOR=922,rt.MODE_SHIFT_TO_BYTE_COMPACTION_MODE=913,rt.MAX_NUMERIC_CODEWORDS=15,rt.MACRO_PDF417_OPTIONAL_FIELD_FILE_NAME=0,rt.MACRO_PDF417_OPTIONAL_FIELD_SEGMENT_COUNT=1,rt.MACRO_PDF417_OPTIONAL_FIELD_TIME_STAMP=2,rt.MACRO_PDF417_OPTIONAL_FIELD_SENDER=3,rt.MACRO_PDF417_OPTIONAL_FIELD_ADDRESSEE=4,rt.MACRO_PDF417_OPTIONAL_FIELD_FILE_SIZE=5,rt.MACRO_PDF417_OPTIONAL_FIELD_CHECKSUM=6,rt.PL=25,rt.LL=27,rt.AS=27,rt.ML=28,rt.AL=28,rt.PS=29,rt.PAL=29,rt.PUNCT_CHARS=";<>@[\\]_`~!\r\t,:\n-.$/\"|*()?{}'",rt.MIXED_CHARS="0123456789&\r\t,:#-.$/+%*=^",rt.EXP900=ci()?function ja(){let Y=[];Y[0]=vs(1);let s=vs(900);Y[1]=s;for(let l=2;l<16;l++)Y[l]=Y[l-1]*s;return Y}():[],rt.NUMBER_OF_SEQUENCE_CODEWORDS=2;class tn{constructor(){}static decode(s,l,d,u,m,p,v){let ue,M=new sl(s,l,d,u,m),H=null,q=null;for(let Ne=!0;;Ne=!1){if(null!=l&&(H=tn.getRowIndicatorColumn(s,M,l,!0,p,v)),null!=u&&(q=tn.getRowIndicatorColumn(s,M,u,!1,p,v)),ue=tn.merge(H,q),null==ue)throw we.getNotFoundInstance();let je=ue.getBoundingBox();if(!Ne||null==je||!(je.getMinY()<M.getMinY()||je.getMaxY()>M.getMaxY()))break;M=je}ue.setBoundingBox(M);let _e=ue.getBarcodeColumnCount()+1;ue.setDetectionResultColumn(0,H),ue.setDetectionResultColumn(_e,q);let ke=null!=H;for(let Ne=1;Ne<=_e;Ne++){let Ye,je=ke?Ne:_e-Ne;if(void 0!==ue.getDetectionResultColumn(je))continue;Ye=0===je||je===_e?new St(M,0===je):new Qe(M),ue.setDetectionResultColumn(je,Ye);let et=-1,kt=et;for(let Wt=M.getMinY();Wt<=M.getMaxY();Wt++){if(et=tn.getStartColumn(ue,je,Wt,ke),et<0||et>M.getMaxX()){if(-1===kt)continue;et=kt}let ct=tn.detectCodeword(s,M.getMinX(),M.getMaxX(),ke,et,Wt,p,v);null!=ct&&(Ye.setCodeword(Wt,ct),kt=et,p=Math.min(p,ct.getWidth()),v=Math.max(v,ct.getWidth()))}}return tn.createDecoderResult(ue)}static merge(s,l){if(null==s&&null==l)return null;let d=tn.getBarcodeMetadata(s,l);if(null==d)return null;let u=sl.merge(tn.adjustBoundingBox(s),tn.adjustBoundingBox(l));return new Vo(d,u)}static adjustBoundingBox(s){if(null==s)return null;let l=s.getRowHeights();if(null==l)return null;let d=tn.getMax(l),u=0;for(let v of l)if(u+=d-v,v>0)break;let m=s.getCodewords();for(let v=0;u>0&&null==m[v];v++)u--;let p=0;for(let v=l.length-1;v>=0&&(p+=d-l[v],!(l[v]>0));v--);for(let v=m.length-1;p>0&&null==m[v];v--)p--;return s.getBoundingBox().addMissingRows(u,p,s.isLeft())}static getMax(s){let l=-1;for(let d of s)l=Math.max(l,d);return l}static getBarcodeMetadata(s,l){let d,u;return null==s||null==(d=s.getBarcodeMetadata())?null==l?null:l.getBarcodeMetadata():null==l||null==(u=l.getBarcodeMetadata())?d:d.getColumnCount()!==u.getColumnCount()&&d.getErrorCorrectionLevel()!==u.getErrorCorrectionLevel()&&d.getRowCount()!==u.getRowCount()?null:d}static getRowIndicatorColumn(s,l,d,u,m,p){let v=new St(l,u);for(let M=0;M<2;M++){let H=0===M?1:-1,q=Math.trunc(Math.trunc(d.getX()));for(let ue=Math.trunc(Math.trunc(d.getY()));ue<=l.getMaxY()&&ue>=l.getMinY();ue+=H){let _e=tn.detectCodeword(s,0,s.getWidth(),u,q,ue,m,p);null!=_e&&(v.setCodeword(ue,_e),q=u?_e.getStartX():_e.getEndX())}}return v}static adjustCodewordCount(s,l){let d=l[0][1],u=d.getValue(),m=s.getBarcodeColumnCount()*s.getBarcodeRowCount()-tn.getNumberOfECCodeWords(s.getBarcodeECLevel());if(0===u.length){if(m<1||m>Ei.MAX_CODEWORDS_IN_BARCODE)throw we.getNotFoundInstance();d.setValue(m)}else u[0]!==m&&d.setValue(m)}static createDecoderResult(s){let l=tn.createBarcodeMatrix(s);tn.adjustCodewordCount(s,l);let d=new Array,u=new Int32Array(s.getBarcodeRowCount()*s.getBarcodeColumnCount()),m=[],p=new Array;for(let M=0;M<s.getBarcodeRowCount();M++)for(let H=0;H<s.getBarcodeColumnCount();H++){let q=l[M][H+1].getValue(),ue=M*s.getBarcodeColumnCount()+H;0===q.length?d.push(ue):1===q.length?u[ue]=q[0]:(p.push(ue),m.push(q))}let v=new Array(m.length);for(let M=0;M<v.length;M++)v[M]=m[M];return tn.createDecoderResultFromAmbiguousValues(s.getBarcodeECLevel(),u,Ei.toIntArray(d),Ei.toIntArray(p),v)}static createDecoderResultFromAmbiguousValues(s,l,d,u,m){let p=new Int32Array(u.length),v=100;for(;v-- >0;){for(let M=0;M<p.length;M++)l[u[M]]=m[M][p[M]];try{return tn.decodeCodewords(l,s,d)}catch(M){if(!(M instanceof Z))throw M}if(0===p.length)throw Z.getChecksumInstance();for(let M=0;M<p.length;M++){if(p[M]<m[M].length-1){p[M]++;break}if(p[M]=0,M===p.length-1)throw Z.getChecksumInstance()}}throw Z.getChecksumInstance()}static createBarcodeMatrix(s){let l=Array.from({length:s.getBarcodeRowCount()},()=>new Array(s.getBarcodeColumnCount()+2));for(let u=0;u<l.length;u++)for(let m=0;m<l[u].length;m++)l[u][m]=new pc;let d=0;for(let u of s.getDetectionResultColumns()){if(null!=u)for(let m of u.getCodewords())if(null!=m){let p=m.getRowNumber();if(p>=0){if(p>=l.length)continue;l[p][d].setValue(m.getValue())}}d++}return l}static isValidBarcodeColumn(s,l){return l>=0&&l<=s.getBarcodeColumnCount()+1}static getStartColumn(s,l,d,u){let m=u?1:-1,p=null;if(tn.isValidBarcodeColumn(s,l-m)&&(p=s.getDetectionResultColumn(l-m).getCodeword(d)),null!=p)return u?p.getEndX():p.getStartX();if(p=s.getDetectionResultColumn(l).getCodewordNearby(d),null!=p)return u?p.getStartX():p.getEndX();if(tn.isValidBarcodeColumn(s,l-m)&&(p=s.getDetectionResultColumn(l-m).getCodewordNearby(d)),null!=p)return u?p.getEndX():p.getStartX();let v=0;for(;tn.isValidBarcodeColumn(s,l-m);){l-=m;for(let M of s.getDetectionResultColumn(l).getCodewords())if(null!=M)return(u?M.getEndX():M.getStartX())+m*v*(M.getEndX()-M.getStartX());v++}return u?s.getBoundingBox().getMinX():s.getBoundingBox().getMaxX()}static detectCodeword(s,l,d,u,m,p,v,M){m=tn.adjustCodewordStartColumn(s,l,d,u,m,p);let H=tn.getModuleBitCount(s,l,d,u,m,p);if(null==H)return null;let q,ue=$t.sum(H);if(u)q=m+ue;else{for(let Ne=0;Ne<H.length/2;Ne++){let je=H[Ne];H[Ne]=H[H.length-1-Ne],H[H.length-1-Ne]=je}q=m,m=q-ue}if(!tn.checkCodewordSkew(ue,v,M))return null;let _e=Lr.getDecodedValue(H),ke=Ei.getCodeword(_e);return-1===ke?null:new ph(m,q,tn.getCodewordBucketNumber(_e),ke)}static getModuleBitCount(s,l,d,u,m,p){let v=m,M=new Int32Array(8),H=0,q=u?1:-1,ue=u;for(;(u?v<d:v>=l)&&H<M.length;)s.get(v,p)===ue?(M[H]++,v+=q):(H++,ue=!ue);return H===M.length||v===(u?d:l)&&H===M.length-1?M:null}static getNumberOfECCodeWords(s){return 2<<s}static adjustCodewordStartColumn(s,l,d,u,m,p){let v=m,M=u?-1:1;for(let H=0;H<2;H++){for(;(u?v>=l:v<d)&&u===s.get(v,p);){if(Math.abs(m-v)>tn.CODEWORD_SKEW_SIZE)return m;v+=M}M=-M,u=!u}return v}static checkCodewordSkew(s,l,d){return l-tn.CODEWORD_SKEW_SIZE<=s&&s<=d+tn.CODEWORD_SKEW_SIZE}static decodeCodewords(s,l,d){if(0===s.length)throw ie.getFormatInstance();let u=1<<l+1,m=tn.correctErrors(s,d,u);tn.verifyCodewordCount(s,u);let p=rt.decode(s,""+l);return p.setErrorsCorrected(m),p.setErasures(d.length),p}static correctErrors(s,l,d){if(null!=l&&l.length>d/2+tn.MAX_ERRORS||d<0||d>tn.MAX_EC_CODEWORDS)throw Z.getChecksumInstance();return tn.errorCorrection.decode(s,d,l)}static verifyCodewordCount(s,l){if(s.length<4)throw ie.getFormatInstance();let d=s[0];if(d>s.length)throw ie.getFormatInstance();if(0===d){if(!(l<s.length))throw ie.getFormatInstance();s[0]=s.length-l}}static getBitCountForCodeword(s){let l=new Int32Array(8),d=0,u=l.length-1;for(;!((1&s)!==d&&(d=1&s,u--,u<0));)l[u]++,s>>=1;return l}static getCodewordBucketNumber(s){return s instanceof Int32Array?this.getCodewordBucketNumber_Int32Array(s):this.getCodewordBucketNumber_number(s)}static getCodewordBucketNumber_number(s){return tn.getCodewordBucketNumber(tn.getBitCountForCodeword(s))}static getCodewordBucketNumber_Int32Array(s){return(s[0]-s[2]+s[4]-s[6]+9)%9}static toString(s){let l=new fc;for(let d=0;d<s.length;d++){l.format("Row %2d: ",d);for(let u=0;u<s[d].length;u++){let m=s[d][u];0===m.getValue().length?l.format(" ",null):l.format("%4d(%2d)",m.getValue()[0],m.getConfidence(m.getValue()[0]))}l.format("%n")}return l.toString()}}tn.CODEWORD_SKEW_SIZE=2,tn.MAX_ERRORS=3,tn.MAX_EC_CODEWORDS=512,tn.errorCorrection=new zn;class Pi{decode(s,l=null){let d=Pi.decode(s,l,!1);if(null==d||0===d.length||null==d[0])throw we.getNotFoundInstance();return d[0]}decodeMultiple(s,l=null){try{return Pi.decode(s,l,!0)}catch(d){throw d instanceof ie||d instanceof Z?we.getNotFoundInstance():d}}static decode(s,l,d){const u=new Array,m=Wi.detectMultiple(s,l,d);for(const p of m.getPoints()){const v=tn.decode(m.getBits(),p[4],p[5],p[6],p[7],Pi.getMinCodewordWidth(p),Pi.getMaxCodewordWidth(p)),M=new He(v.getText(),v.getRawBytes(),void 0,p,nt.PDF_417);M.putMetadata(Ut.ERROR_CORRECTION_LEVEL,v.getECLevel());const H=v.getOther();null!=H&&M.putMetadata(Ut.PDF417_EXTRA_METADATA,H),u.push(M)}return u.map(p=>p)}static getMaxWidth(s,l){return null==s||null==l?0:Math.trunc(Math.abs(s.getX()-l.getX()))}static getMinWidth(s,l){return null==s||null==l?G.MAX_VALUE:Math.trunc(Math.abs(s.getX()-l.getX()))}static getMaxCodewordWidth(s){return Math.floor(Math.max(Math.max(Pi.getMaxWidth(s[0],s[4]),Pi.getMaxWidth(s[6],s[2])*Ei.MODULES_IN_CODEWORD/Ei.MODULES_IN_STOP_PATTERN),Math.max(Pi.getMaxWidth(s[1],s[5]),Pi.getMaxWidth(s[7],s[3])*Ei.MODULES_IN_CODEWORD/Ei.MODULES_IN_STOP_PATTERN)))}static getMinCodewordWidth(s){return Math.floor(Math.min(Math.min(Pi.getMinWidth(s[0],s[4]),Pi.getMinWidth(s[6],s[2])*Ei.MODULES_IN_CODEWORD/Ei.MODULES_IN_STOP_PATTERN),Math.min(Pi.getMinWidth(s[1],s[5]),Pi.getMinWidth(s[7],s[3])*Ei.MODULES_IN_CODEWORD/Ei.MODULES_IN_STOP_PATTERN)))}reset(){}}let jo=(()=>{class Y extends L{}return Y.kind="ReaderException",Y})();class _c{constructor(s,l){this.verbose=!0===s,l&&this.setHints(l)}decode(s,l){return l&&this.setHints(l),this.decodeInternal(s)}decodeWithState(s){return null==this.readers&&this.setHints(null),this.decodeInternal(s)}setHints(s){this.hints=s;const l=!T(s)&&!0===s.get(le.TRY_HARDER),d=T(s)?null:s.get(le.POSSIBLE_FORMATS),u=new Array;if(!T(d)){const m=d.some(p=>p===nt.UPC_A||p===nt.UPC_E||p===nt.EAN_13||p===nt.EAN_8||p===nt.CODABAR||p===nt.CODE_39||p===nt.CODE_93||p===nt.CODE_128||p===nt.ITF||p===nt.RSS_14||p===nt.RSS_EXPANDED);m&&!l&&u.push(new Bo(s,this.verbose)),d.includes(nt.QR_CODE)&&u.push(new bs),d.includes(nt.DATA_MATRIX)&&u.push(new Ui),d.includes(nt.AZTEC)&&u.push(new Qr),d.includes(nt.PDF_417)&&u.push(new Pi),m&&l&&u.push(new Bo(s,this.verbose))}0===u.length&&(l||u.push(new Bo(s,this.verbose)),u.push(new bs),u.push(new Ui),u.push(new Qr),u.push(new Pi),l&&u.push(new Bo(s,this.verbose))),this.readers=u}reset(){if(null!==this.readers)for(const s of this.readers)s.reset()}decodeInternal(s){if(null===this.readers)throw new jo("No readers where selected, nothing can be read.");for(const l of this.readers)try{return l.decode(s,this.hints)}catch(d){if(d instanceof jo)continue}throw new we("No MultiFormat Readers were able to detect the code.")}}var So=(()=>{return(Y=So||(So={}))[Y.ERROR_CORRECTION=0]="ERROR_CORRECTION",Y[Y.CHARACTER_SET=1]="CHARACTER_SET",Y[Y.DATA_MATRIX_SHAPE=2]="DATA_MATRIX_SHAPE",Y[Y.MIN_SIZE=3]="MIN_SIZE",Y[Y.MAX_SIZE=4]="MAX_SIZE",Y[Y.MARGIN=5]="MARGIN",Y[Y.PDF417_COMPACT=6]="PDF417_COMPACT",Y[Y.PDF417_COMPACTION=7]="PDF417_COMPACTION",Y[Y.PDF417_DIMENSIONS=8]="PDF417_DIMENSIONS",Y[Y.AZTEC_LAYERS=9]="AZTEC_LAYERS",Y[Y.QR_VERSION=10]="QR_VERSION",So;var Y})(),Vr=So;class Ma{constructor(s){this.field=s,this.cachedGenerators=[],this.cachedGenerators.push(new on(s,Int32Array.from([1])))}buildGenerator(s){const l=this.cachedGenerators;if(s>=l.length){let d=l[l.length-1];const u=this.field;for(let m=l.length;m<=s;m++){const p=d.multiply(new on(u,Int32Array.from([1,u.exp(m-1+u.getGeneratorBase())])));l.push(p),d=p}}return l[s]}encode(s,l){if(0===l)throw new R("No error correction bytes");const d=s.length-l;if(d<=0)throw new R("No data bytes provided");const u=this.buildGenerator(l),m=new Int32Array(d);V.arraycopy(s,0,m,0,d);let p=new on(this.field,m);p=p.multiplyByMonomial(l,1);const M=p.divide(u)[1].getCoefficients(),H=l-M.length;for(let q=0;q<H;q++)s[d+q]=0;V.arraycopy(M,0,s,d+H,M.length)}}let cl=(()=>{class Y{constructor(){}static applyMaskPenaltyRule1(l){return Y.applyMaskPenaltyRule1Internal(l,!0)+Y.applyMaskPenaltyRule1Internal(l,!1)}static applyMaskPenaltyRule2(l){let d=0;const u=l.getArray(),m=l.getWidth(),p=l.getHeight();for(let v=0;v<p-1;v++){const M=u[v];for(let H=0;H<m-1;H++){const q=M[H];q===M[H+1]&&q===u[v+1][H]&&q===u[v+1][H+1]&&d++}}return Y.N2*d}static applyMaskPenaltyRule3(l){let d=0;const u=l.getArray(),m=l.getWidth(),p=l.getHeight();for(let v=0;v<p;v++)for(let M=0;M<m;M++){const H=u[v];M+6<m&&1===H[M]&&0===H[M+1]&&1===H[M+2]&&1===H[M+3]&&1===H[M+4]&&0===H[M+5]&&1===H[M+6]&&(Y.isWhiteHorizontal(H,M-4,M)||Y.isWhiteHorizontal(H,M+7,M+11))&&d++,v+6<p&&1===u[v][M]&&0===u[v+1][M]&&1===u[v+2][M]&&1===u[v+3][M]&&1===u[v+4][M]&&0===u[v+5][M]&&1===u[v+6][M]&&(Y.isWhiteVertical(u,M,v-4,v)||Y.isWhiteVertical(u,M,v+7,v+11))&&d++}return d*Y.N3}static isWhiteHorizontal(l,d,u){d=Math.max(d,0),u=Math.min(u,l.length);for(let m=d;m<u;m++)if(1===l[m])return!1;return!0}static isWhiteVertical(l,d,u,m){u=Math.max(u,0),m=Math.min(m,l.length);for(let p=u;p<m;p++)if(1===l[p][d])return!1;return!0}static applyMaskPenaltyRule4(l){let d=0;const u=l.getArray(),m=l.getWidth(),p=l.getHeight();for(let H=0;H<p;H++){const q=u[H];for(let ue=0;ue<m;ue++)1===q[ue]&&d++}const v=l.getHeight()*l.getWidth();return Math.floor(10*Math.abs(2*d-v)/v)*Y.N4}static getDataMaskBit(l,d,u){let m,p;switch(l){case 0:m=u+d&1;break;case 1:m=1&u;break;case 2:m=d%3;break;case 3:m=(u+d)%3;break;case 4:m=Math.floor(u/2)+Math.floor(d/3)&1;break;case 5:p=u*d,m=(1&p)+p%3;break;case 6:p=u*d,m=(1&p)+p%3&1;break;case 7:p=u*d,m=p%3+(u+d&1)&1;break;default:throw new R("Invalid mask pattern: "+l)}return 0===m}static applyMaskPenaltyRule1Internal(l,d){let u=0;const m=d?l.getHeight():l.getWidth(),p=d?l.getWidth():l.getHeight(),v=l.getArray();for(let M=0;M<m;M++){let H=0,q=-1;for(let ue=0;ue<p;ue++){const _e=d?v[M][ue]:v[ue][M];_e===q?H++:(H>=5&&(u+=Y.N1+(H-5)),H=1,q=_e)}H>=5&&(u+=Y.N1+(H-5))}return u}}return Y.N1=3,Y.N2=3,Y.N3=40,Y.N4=10,Y})();class Uo{constructor(s,l){this.width=s,this.height=l;const d=new Array(l);for(let u=0;u!==l;u++)d[u]=new Uint8Array(s);this.bytes=d}getHeight(){return this.height}getWidth(){return this.width}get(s,l){return this.bytes[l][s]}getArray(){return this.bytes}setNumber(s,l,d){this.bytes[l][s]=d}setBoolean(s,l,d){this.bytes[l][s]=d?1:0}clear(s){for(const l of this.bytes)ne.fill(l,s)}equals(s){if(!(s instanceof Uo))return!1;const l=s;if(this.width!==l.width||this.height!==l.height)return!1;for(let d=0,u=this.height;d<u;++d){const m=this.bytes[d],p=l.bytes[d];for(let v=0,M=this.width;v<M;++v)if(m[v]!==p[v])return!1}return!0}toString(){const s=new me;for(let l=0,d=this.height;l<d;++l){const u=this.bytes[l];for(let m=0,p=this.width;m<p;++m)switch(u[m]){case 0:s.append(" 0");break;case 1:s.append(" 1");break;default:s.append(" ")}s.append("\n")}return s.toString()}}let To=(()=>{class Y{constructor(){this.maskPattern=-1}getMode(){return this.mode}getECLevel(){return this.ecLevel}getVersion(){return this.version}getMaskPattern(){return this.maskPattern}getMatrix(){return this.matrix}toString(){const l=new me;return l.append("<<\n"),l.append(" mode: "),l.append(this.mode?this.mode.toString():"null"),l.append("\n ecLevel: "),l.append(this.ecLevel?this.ecLevel.toString():"null"),l.append("\n version: "),l.append(this.version?this.version.toString():"null"),l.append("\n maskPattern: "),l.append(this.maskPattern.toString()),this.matrix?(l.append("\n matrix:\n"),l.append(this.matrix.toString())):l.append("\n matrix: null\n"),l.append(">>\n"),l.toString()}setMode(l){this.mode=l}setECLevel(l){this.ecLevel=l}setVersion(l){this.version=l}setMaskPattern(l){this.maskPattern=l}setMatrix(l){this.matrix=l}static isValidMaskPattern(l){return l>=0&&l<Y.NUM_MASK_PATTERNS}}return Y.NUM_MASK_PATTERNS=8,Y})(),En=(()=>{class Y extends L{}return Y.kind="WriterException",Y})();class wi{constructor(){}static clearMatrix(s){s.clear(255)}static buildMatrix(s,l,d,u,m){wi.clearMatrix(m),wi.embedBasicPatterns(d,m),wi.embedTypeInfo(l,u,m),wi.maybeEmbedVersionInfo(d,m),wi.embedDataBits(s,u,m)}static embedBasicPatterns(s,l){wi.embedPositionDetectionPatternsAndSeparators(l),wi.embedDarkDotAtLeftBottomCorner(l),wi.maybeEmbedPositionAdjustmentPatterns(s,l),wi.embedTimingPatterns(l)}static embedTypeInfo(s,l,d){const u=new z;wi.makeTypeInfoBits(s,l,u);for(let m=0,p=u.getSize();m<p;++m){const v=u.get(u.getSize()-1-m),M=wi.TYPE_INFO_COORDINATES[m];if(d.setBoolean(M[0],M[1],v),m<8){const ue=d.getWidth()-m-1;d.setBoolean(ue,8,v)}else{const _e=d.getHeight()-7+(m-8);d.setBoolean(8,_e,v)}}}static maybeEmbedVersionInfo(s,l){if(s.getVersionNumber()<7)return;const d=new z;wi.makeVersionInfoBits(s,d);let u=17;for(let m=0;m<6;++m)for(let p=0;p<3;++p){const v=d.get(u);u--,l.setBoolean(m,l.getHeight()-11+p,v),l.setBoolean(l.getHeight()-11+p,m,v)}}static embedDataBits(s,l,d){let u=0,m=-1,p=d.getWidth()-1,v=d.getHeight()-1;for(;p>0;){for(6===p&&(p-=1);v>=0&&v<d.getHeight();){for(let M=0;M<2;++M){const H=p-M;if(!wi.isEmpty(d.get(H,v)))continue;let q;u<s.getSize()?(q=s.get(u),++u):q=!1,255!==l&&cl.getDataMaskBit(l,H,v)&&(q=!q),d.setBoolean(H,v,q)}v+=m}m=-m,v+=m,p-=2}if(u!==s.getSize())throw new En("Not all bits consumed: "+u+"/"+s.getSize())}static findMSBSet(s){return 32-G.numberOfLeadingZeros(s)}static calculateBCHCode(s,l){if(0===l)throw new R("0 polynomial");const d=wi.findMSBSet(l);for(s<<=d-1;wi.findMSBSet(s)>=d;)s^=l<<wi.findMSBSet(s)-d;return s}static makeTypeInfoBits(s,l,d){if(!To.isValidMaskPattern(l))throw new En("Invalid mask pattern");const u=s.getBits()<<3|l;d.appendBits(u,5);const m=wi.calculateBCHCode(u,wi.TYPE_INFO_POLY);d.appendBits(m,10);const p=new z;if(p.appendBits(wi.TYPE_INFO_MASK_PATTERN,15),d.xor(p),15!==d.getSize())throw new En("should not happen but we got: "+d.getSize())}static makeVersionInfoBits(s,l){l.appendBits(s.getVersionNumber(),6);const d=wi.calculateBCHCode(s.getVersionNumber(),wi.VERSION_INFO_POLY);if(l.appendBits(d,12),18!==l.getSize())throw new En("should not happen but we got: "+l.getSize())}static isEmpty(s){return 255===s}static embedTimingPatterns(s){for(let l=8;l<s.getWidth()-8;++l){const d=(l+1)%2;wi.isEmpty(s.get(l,6))&&s.setNumber(l,6,d),wi.isEmpty(s.get(6,l))&&s.setNumber(6,l,d)}}static embedDarkDotAtLeftBottomCorner(s){if(0===s.get(8,s.getHeight()-8))throw new En;s.setNumber(8,s.getHeight()-8,1)}static embedHorizontalSeparationPattern(s,l,d){for(let u=0;u<8;++u){if(!wi.isEmpty(d.get(s+u,l)))throw new En;d.setNumber(s+u,l,0)}}static embedVerticalSeparationPattern(s,l,d){for(let u=0;u<7;++u){if(!wi.isEmpty(d.get(s,l+u)))throw new En;d.setNumber(s,l+u,0)}}static embedPositionAdjustmentPattern(s,l,d){for(let u=0;u<5;++u){const m=wi.POSITION_ADJUSTMENT_PATTERN[u];for(let p=0;p<5;++p)d.setNumber(s+p,l+u,m[p])}}static embedPositionDetectionPattern(s,l,d){for(let u=0;u<7;++u){const m=wi.POSITION_DETECTION_PATTERN[u];for(let p=0;p<7;++p)d.setNumber(s+p,l+u,m[p])}}static embedPositionDetectionPatternsAndSeparators(s){const l=wi.POSITION_DETECTION_PATTERN[0].length;wi.embedPositionDetectionPattern(0,0,s),wi.embedPositionDetectionPattern(s.getWidth()-l,0,s),wi.embedPositionDetectionPattern(0,s.getWidth()-l,s);wi.embedHorizontalSeparationPattern(0,7,s),wi.embedHorizontalSeparationPattern(s.getWidth()-8,7,s),wi.embedHorizontalSeparationPattern(0,s.getWidth()-8,s);wi.embedVerticalSeparationPattern(7,0,s),wi.embedVerticalSeparationPattern(s.getHeight()-7-1,0,s),wi.embedVerticalSeparationPattern(7,s.getHeight()-7,s)}static maybeEmbedPositionAdjustmentPatterns(s,l){if(s.getVersionNumber()<2)return;const d=s.getVersionNumber()-1,u=wi.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE[d];for(let m=0,p=u.length;m!==p;m++){const v=u[m];if(v>=0)for(let M=0;M!==p;M++){const H=u[M];H>=0&&wi.isEmpty(l.get(H,v))&&wi.embedPositionAdjustmentPattern(H-2,v-2,l)}}}}wi.POSITION_DETECTION_PATTERN=Array.from([Int32Array.from([1,1,1,1,1,1,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,1,1,1,1,1,1])]),wi.POSITION_ADJUSTMENT_PATTERN=Array.from([Int32Array.from([1,1,1,1,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,0,1,0,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,1,1,1,1])]),wi.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE=Array.from([Int32Array.from([-1,-1,-1,-1,-1,-1,-1]),Int32Array.from([6,18,-1,-1,-1,-1,-1]),Int32Array.from([6,22,-1,-1,-1,-1,-1]),Int32Array.from([6,26,-1,-1,-1,-1,-1]),Int32Array.from([6,30,-1,-1,-1,-1,-1]),Int32Array.from([6,34,-1,-1,-1,-1,-1]),Int32Array.from([6,22,38,-1,-1,-1,-1]),Int32Array.from([6,24,42,-1,-1,-1,-1]),Int32Array.from([6,26,46,-1,-1,-1,-1]),Int32Array.from([6,28,50,-1,-1,-1,-1]),Int32Array.from([6,30,54,-1,-1,-1,-1]),Int32Array.from([6,32,58,-1,-1,-1,-1]),Int32Array.from([6,34,62,-1,-1,-1,-1]),Int32Array.from([6,26,46,66,-1,-1,-1]),Int32Array.from([6,26,48,70,-1,-1,-1]),Int32Array.from([6,26,50,74,-1,-1,-1]),Int32Array.from([6,30,54,78,-1,-1,-1]),Int32Array.from([6,30,56,82,-1,-1,-1]),Int32Array.from([6,30,58,86,-1,-1,-1]),Int32Array.from([6,34,62,90,-1,-1,-1]),Int32Array.from([6,28,50,72,94,-1,-1]),Int32Array.from([6,26,50,74,98,-1,-1]),Int32Array.from([6,30,54,78,102,-1,-1]),Int32Array.from([6,28,54,80,106,-1,-1]),Int32Array.from([6,32,58,84,110,-1,-1]),Int32Array.from([6,30,58,86,114,-1,-1]),Int32Array.from([6,34,62,90,118,-1,-1]),Int32Array.from([6,26,50,74,98,122,-1]),Int32Array.from([6,30,54,78,102,126,-1]),Int32Array.from([6,26,52,78,104,130,-1]),Int32Array.from([6,30,56,82,108,134,-1]),Int32Array.from([6,34,60,86,112,138,-1]),Int32Array.from([6,30,58,86,114,142,-1]),Int32Array.from([6,34,62,90,118,146,-1]),Int32Array.from([6,30,54,78,102,126,150]),Int32Array.from([6,24,50,76,102,128,154]),Int32Array.from([6,28,54,80,106,132,158]),Int32Array.from([6,32,58,84,110,136,162]),Int32Array.from([6,26,54,82,110,138,166]),Int32Array.from([6,30,58,86,114,142,170])]),wi.TYPE_INFO_COORDINATES=Array.from([Int32Array.from([8,0]),Int32Array.from([8,1]),Int32Array.from([8,2]),Int32Array.from([8,3]),Int32Array.from([8,4]),Int32Array.from([8,5]),Int32Array.from([8,7]),Int32Array.from([8,8]),Int32Array.from([7,8]),Int32Array.from([5,8]),Int32Array.from([4,8]),Int32Array.from([3,8]),Int32Array.from([2,8]),Int32Array.from([1,8]),Int32Array.from([0,8])]),wi.VERSION_INFO_POLY=7973,wi.TYPE_INFO_POLY=1335,wi.TYPE_INFO_MASK_PATTERN=21522;class Fe{constructor(s,l){this.dataBytes=s,this.errorCorrectionBytes=l}getDataBytes(){return this.dataBytes}getErrorCorrectionBytes(){return this.errorCorrectionBytes}}class ar{constructor(){}static calculateMaskPenalty(s){return cl.applyMaskPenaltyRule1(s)+cl.applyMaskPenaltyRule2(s)+cl.applyMaskPenaltyRule3(s)+cl.applyMaskPenaltyRule4(s)}static encode(s,l,d=null){let u=ar.DEFAULT_BYTE_MODE_ENCODING;const m=null!==d&&void 0!==d.get(Vr.CHARACTER_SET);m&&(u=d.get(Vr.CHARACTER_SET).toString());const p=this.chooseMode(s,u),v=new z;if(p===Ci.BYTE&&(m||ar.DEFAULT_BYTE_MODE_ENCODING!==u)){const Wt=oe.getCharacterSetECIByName(u);void 0!==Wt&&this.appendECI(Wt,v)}this.appendModeInfo(p,v);const M=new z;let H;if(this.appendBytes(s,p,M,u),null!==d&&void 0!==d.get(Vr.QR_VERSION)){const Wt=Number.parseInt(d.get(Vr.QR_VERSION).toString(),10);H=li.getVersionForNumber(Wt);const ct=this.calculateBitsNeeded(p,v,M,H);if(!this.willFit(ct,H,l))throw new En("Data too big for requested version")}else H=this.recommendVersion(l,p,v,M);const q=new z;q.appendBitArray(v);const ue=p===Ci.BYTE?M.getSizeInBytes():s.length;this.appendLengthInfo(ue,H,p,q),q.appendBitArray(M);const _e=H.getECBlocksForLevel(l),ke=H.getTotalCodewords()-_e.getTotalECCodewords();this.terminateBits(ke,q);const Ne=this.interleaveWithECBytes(q,H.getTotalCodewords(),ke,_e.getNumBlocks()),je=new To;je.setECLevel(l),je.setMode(p),je.setVersion(H);const Ye=H.getDimensionForVersion(),et=new Uo(Ye,Ye),kt=this.chooseMaskPattern(Ne,l,H,et);return je.setMaskPattern(kt),wi.buildMatrix(Ne,l,H,kt,et),je.setMatrix(et),je}static recommendVersion(s,l,d,u){const m=this.calculateBitsNeeded(l,d,u,li.getVersionForNumber(1)),p=this.chooseVersion(m,s),v=this.calculateBitsNeeded(l,d,u,p);return this.chooseVersion(v,s)}static calculateBitsNeeded(s,l,d,u){return l.getSize()+s.getCharacterCountBits(u)+d.getSize()}static getAlphanumericCode(s){return s<ar.ALPHANUMERIC_TABLE.length?ar.ALPHANUMERIC_TABLE[s]:-1}static chooseMode(s,l=null){if(oe.SJIS.getName()===l&&this.isOnlyDoubleByteKanji(s))return Ci.KANJI;let d=!1,u=!1;for(let m=0,p=s.length;m<p;++m){const v=s.charAt(m);if(ar.isDigit(v))d=!0;else{if(-1===this.getAlphanumericCode(v.charCodeAt(0)))return Ci.BYTE;u=!0}}return u?Ci.ALPHANUMERIC:d?Ci.NUMERIC:Ci.BYTE}static isOnlyDoubleByteKanji(s){let l;try{l=ae.encode(s,oe.SJIS)}catch{return!1}const d=l.length;if(d%2!=0)return!1;for(let u=0;u<d;u+=2){const m=255&l[u];if((m<129||m>159)&&(m<224||m>235))return!1}return!0}static chooseMaskPattern(s,l,d,u){let m=Number.MAX_SAFE_INTEGER,p=-1;for(let v=0;v<To.NUM_MASK_PATTERNS;v++){wi.buildMatrix(s,l,d,v,u);let M=this.calculateMaskPenalty(u);M<m&&(m=M,p=v)}return p}static chooseVersion(s,l){for(let d=1;d<=40;d++){const u=li.getVersionForNumber(d);if(ar.willFit(s,u,l))return u}throw new En("Data too big")}static willFit(s,l,d){return l.getTotalCodewords()-l.getECBlocksForLevel(d).getTotalECCodewords()>=(s+7)/8}static terminateBits(s,l){const d=8*s;if(l.getSize()>d)throw new En("data bits cannot fit in the QR Code"+l.getSize()+" > "+d);for(let p=0;p<4&&l.getSize()<d;++p)l.appendBit(!1);const u=7&l.getSize();if(u>0)for(let p=u;p<8;p++)l.appendBit(!1);const m=s-l.getSizeInBytes();for(let p=0;p<m;++p)l.appendBits(1&p?17:236,8);if(l.getSize()!==d)throw new En("Bits size does not equal capacity")}static getNumDataBytesAndNumECBytesForBlockID(s,l,d,u,m,p){if(u>=d)throw new En("Block ID too large");const v=s%d,M=d-v,H=Math.floor(s/d),q=H+1,ue=Math.floor(l/d),_e=ue+1,ke=H-ue,Ne=q-_e;if(ke!==Ne)throw new En("EC bytes mismatch");if(d!==M+v)throw new En("RS blocks mismatch");if(s!==(ue+ke)*M+(_e+Ne)*v)throw new En("Total bytes mismatch");u<M?(m[0]=ue,p[0]=ke):(m[0]=_e,p[0]=Ne)}static interleaveWithECBytes(s,l,d,u){if(s.getSizeInBytes()!==d)throw new En("Number of bits and data bytes does not match");let m=0,p=0,v=0;const M=new Array;for(let q=0;q<u;++q){const ue=new Int32Array(1),_e=new Int32Array(1);ar.getNumDataBytesAndNumECBytesForBlockID(l,d,u,q,ue,_e);const ke=ue[0],Ne=new Uint8Array(ke);s.toBytes(8*m,Ne,0,ke);const je=ar.generateECBytes(Ne,_e[0]);M.push(new Fe(Ne,je)),p=Math.max(p,ke),v=Math.max(v,je.length),m+=ue[0]}if(d!==m)throw new En("Data bytes does not match offset");const H=new z;for(let q=0;q<p;++q)for(const ue of M){const _e=ue.getDataBytes();q<_e.length&&H.appendBits(_e[q],8)}for(let q=0;q<v;++q)for(const ue of M){const _e=ue.getErrorCorrectionBytes();q<_e.length&&H.appendBits(_e[q],8)}if(l!==H.getSizeInBytes())throw new En("Interleaving error: "+l+" and "+H.getSizeInBytes()+" differ.");return H}static generateECBytes(s,l){const d=s.length,u=new Int32Array(d+l);for(let p=0;p<d;p++)u[p]=255&s[p];new Ma(xi.QR_CODE_FIELD_256).encode(u,l);const m=new Uint8Array(l);for(let p=0;p<l;p++)m[p]=u[d+p];return m}static appendModeInfo(s,l){l.appendBits(s.getBits(),4)}static appendLengthInfo(s,l,d,u){const m=d.getCharacterCountBits(l);if(s>=1<<m)throw new En(s+" is bigger than "+((1<<m)-1));u.appendBits(s,m)}static appendBytes(s,l,d,u){switch(l){case Ci.NUMERIC:ar.appendNumericBytes(s,d);break;case Ci.ALPHANUMERIC:ar.appendAlphanumericBytes(s,d);break;case Ci.BYTE:ar.append8BitBytes(s,d,u);break;case Ci.KANJI:ar.appendKanjiBytes(s,d);break;default:throw new En("Invalid mode: "+l)}}static getDigit(s){return s.charCodeAt(0)-48}static isDigit(s){const l=ar.getDigit(s);return l>=0&&l<=9}static appendNumericBytes(s,l){const d=s.length;let u=0;for(;u<d;){const m=ar.getDigit(s.charAt(u));if(u+2<d){const p=ar.getDigit(s.charAt(u+1)),v=ar.getDigit(s.charAt(u+2));l.appendBits(100*m+10*p+v,10),u+=3}else if(u+1<d){const p=ar.getDigit(s.charAt(u+1));l.appendBits(10*m+p,7),u+=2}else l.appendBits(m,4),u++}}static appendAlphanumericBytes(s,l){const d=s.length;let u=0;for(;u<d;){const m=ar.getAlphanumericCode(s.charCodeAt(u));if(-1===m)throw new En;if(u+1<d){const p=ar.getAlphanumericCode(s.charCodeAt(u+1));if(-1===p)throw new En;l.appendBits(45*m+p,11),u+=2}else l.appendBits(m,6),u++}}static append8BitBytes(s,l,d){let u;try{u=ae.encode(s,d)}catch(m){throw new En(m)}for(let m=0,p=u.length;m!==p;m++)l.appendBits(u[m],8)}static appendKanjiBytes(s,l){let d;try{d=ae.encode(s,oe.SJIS)}catch(m){throw new En(m)}const u=d.length;for(let m=0;m<u;m+=2){const M=(255&d[m])<<8&4294967295|255&d[m+1];let H=-1;if(M>=33088&&M<=40956?H=M-33088:M>=57408&&M<=60351&&(H=M-49472),-1===H)throw new En("Invalid byte sequence");l.appendBits(192*(H>>8)+(255&H),13)}}static appendECI(s,l){l.appendBits(Ci.ECI.getBits(),4),l.appendBits(s.getValue(),8)}}ar.ALPHANUMERIC_TABLE=Int32Array.from([-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,36,-1,-1,-1,37,38,-1,-1,-1,-1,39,40,-1,41,42,43,0,1,2,3,4,5,6,7,8,9,44,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,-1,-1,-1,-1,-1]),ar.DEFAULT_BYTE_MODE_ENCODING=oe.UTF8.getName();let ei=(()=>{class Y{write(l,d,u,m=null){if(0===l.length)throw new R("Found empty contents");if(d<0||u<0)throw new R("Requested dimensions are too small: "+d+"x"+u);let p=Pt.L,v=Y.QUIET_ZONE_SIZE;null!==m&&(void 0!==m.get(Vr.ERROR_CORRECTION)&&(p=Pt.fromString(m.get(Vr.ERROR_CORRECTION).toString())),void 0!==m.get(Vr.MARGIN)&&(v=Number.parseInt(m.get(Vr.MARGIN).toString(),10)));const M=ar.encode(l,p,m);return this.renderResult(M,d,u,v)}writeToDom(l,d,u,m,p=null){"string"==typeof l&&(l=document.querySelector(l));const v=this.write(d,u,m,p);l&&l.appendChild(v)}renderResult(l,d,u,m){const p=l.getMatrix();if(null===p)throw new zt;const v=p.getWidth(),M=p.getHeight(),H=v+2*m,q=M+2*m,ue=Math.max(d,H),_e=Math.max(u,q),ke=Math.min(Math.floor(ue/H),Math.floor(_e/q)),Ne=Math.floor((ue-v*ke)/2),je=Math.floor((_e-M*ke)/2),Ye=this.createSVGElement(ue,_e);for(let et=0,kt=je;et<M;et++,kt+=ke)for(let Wt=0,ct=Ne;Wt<v;Wt++,ct+=ke)if(1===p.get(Wt,et)){const Ii=this.createSvgRectElement(ct,kt,ke,ke);Ye.appendChild(Ii)}return Ye}createSVGElement(l,d){const u=document.createElementNS(Y.SVG_NS,"svg");return u.setAttributeNS(null,"height",l.toString()),u.setAttributeNS(null,"width",d.toString()),u}createSvgRectElement(l,d,u,m){const p=document.createElementNS(Y.SVG_NS,"rect");return p.setAttributeNS(null,"x",l.toString()),p.setAttributeNS(null,"y",d.toString()),p.setAttributeNS(null,"height",u.toString()),p.setAttributeNS(null,"width",m.toString()),p.setAttributeNS(null,"fill","#000000"),p}}return Y.QUIET_ZONE_SIZE=4,Y.SVG_NS="http://www.w3.org/2000/svg",Y})(),Wo=(()=>{class Y{encode(l,d,u,m,p){if(0===l.length)throw new R("Found empty contents");if(d!==nt.QR_CODE)throw new R("Can only encode QR_CODE, but got "+d);if(u<0||m<0)throw new R(`Requested dimensions are too small: ${u}x${m}`);let v=Pt.L,M=Y.QUIET_ZONE_SIZE;null!==p&&(void 0!==p.get(Vr.ERROR_CORRECTION)&&(v=Pt.fromString(p.get(Vr.ERROR_CORRECTION).toString())),void 0!==p.get(Vr.MARGIN)&&(M=Number.parseInt(p.get(Vr.MARGIN).toString(),10)));const H=ar.encode(l,v,p);return Y.renderResult(H,u,m,M)}static renderResult(l,d,u,m){const p=l.getMatrix();if(null===p)throw new zt;const v=p.getWidth(),M=p.getHeight(),H=v+2*m,q=M+2*m,ue=Math.max(d,H),_e=Math.max(u,q),ke=Math.min(Math.floor(ue/H),Math.floor(_e/q)),Ne=Math.floor((ue-v*ke)/2),je=Math.floor((_e-M*ke)/2),Ye=new ge(ue,_e);for(let et=0,kt=je;et<M;et++,kt+=ke)for(let Wt=0,ct=Ne;Wt<v;Wt++,ct+=ke)1===p.get(Wt,et)&&Ye.setRegion(ct,kt,ke,ke);return Ye}}return Y.QUIET_ZONE_SIZE=4,Y})();let Os=(()=>{class Y extends st{constructor(l,d,u,m,p,v,M,H){if(super(v,M),this.yuvData=l,this.dataWidth=d,this.dataHeight=u,this.left=m,this.top=p,m+v>d||p+M>u)throw new R("Crop rectangle does not fit within image data.");H&&this.reverseHorizontal(v,M)}getRow(l,d){if(l<0||l>=this.getHeight())throw new R("Requested row is outside the image: "+l);const u=this.getWidth();return(null==d||d.length<u)&&(d=new Uint8ClampedArray(u)),V.arraycopy(this.yuvData,(l+this.top)*this.dataWidth+this.left,d,0,u),d}getMatrix(){const l=this.getWidth(),d=this.getHeight();if(l===this.dataWidth&&d===this.dataHeight)return this.yuvData;const u=l*d,m=new Uint8ClampedArray(u);let p=this.top*this.dataWidth+this.left;if(l===this.dataWidth)return V.arraycopy(this.yuvData,p,m,0,u),m;for(let v=0;v<d;v++)V.arraycopy(this.yuvData,p,m,v*l,l),p+=this.dataWidth;return m}isCropSupported(){return!0}crop(l,d,u,m){return new Y(this.yuvData,this.dataWidth,this.dataHeight,this.left+l,this.top+d,u,m,!1)}renderThumbnail(){const l=this.getWidth()/Y.THUMBNAIL_SCALE_FACTOR,d=this.getHeight()/Y.THUMBNAIL_SCALE_FACTOR,u=new Int32Array(l*d),m=this.yuvData;let p=this.top*this.dataWidth+this.left;for(let v=0;v<d;v++){const M=v*l;for(let H=0;H<l;H++)u[M+H]=4278190080|65793*(255&m[p+H*Y.THUMBNAIL_SCALE_FACTOR]);p+=this.dataWidth*Y.THUMBNAIL_SCALE_FACTOR}return u}getThumbnailWidth(){return this.getWidth()/Y.THUMBNAIL_SCALE_FACTOR}getThumbnailHeight(){return this.getHeight()/Y.THUMBNAIL_SCALE_FACTOR}reverseHorizontal(l,d){const u=this.yuvData;for(let m=0,p=this.top*this.dataWidth+this.left;m<d;m++,p+=this.dataWidth){const v=p+l/2;for(let M=p,H=p+l-1;M<v;M++,H--){const q=u[M];u[M]=u[H],u[H]=q}}}invert(){return new mt(this)}}return Y.THUMBNAIL_SCALE_FACTOR=2,Y})();class xo extends st{constructor(s,l,d,u,m,p,v){if(super(l,d),this.dataWidth=u,this.dataHeight=m,this.left=p,this.top=v,4===s.BYTES_PER_ELEMENT){const M=l*d,H=new Uint8ClampedArray(M);for(let q=0;q<M;q++){const ue=s[q];H[q]=((ue>>16&255)+(ue>>7&510)+(255&ue))/4&255}this.luminances=H}else this.luminances=s;if(void 0===u&&(this.dataWidth=l),void 0===m&&(this.dataHeight=d),void 0===p&&(this.left=0),void 0===v&&(this.top=0),this.left+l>this.dataWidth||this.top+d>this.dataHeight)throw new R("Crop rectangle does not fit within image data.")}getRow(s,l){if(s<0||s>=this.getHeight())throw new R("Requested row is outside the image: "+s);const d=this.getWidth();return(null==l||l.length<d)&&(l=new Uint8ClampedArray(d)),V.arraycopy(this.luminances,(s+this.top)*this.dataWidth+this.left,l,0,d),l}getMatrix(){const s=this.getWidth(),l=this.getHeight();if(s===this.dataWidth&&l===this.dataHeight)return this.luminances;const d=s*l,u=new Uint8ClampedArray(d);let m=this.top*this.dataWidth+this.left;if(s===this.dataWidth)return V.arraycopy(this.luminances,m,u,0,d),u;for(let p=0;p<l;p++)V.arraycopy(this.luminances,m,u,p*s,s),m+=this.dataWidth;return u}isCropSupported(){return!0}crop(s,l,d,u){return new xo(this.luminances,d,u,this.dataWidth,this.dataHeight,this.left+s,this.top+l)}invert(){return new mt(this)}}class Bl extends oe{static forName(s){return this.getCharacterSetECIByName(s)}}class Hl{}Hl.ISO_8859_1=oe.ISO8859_1;class Ea{isCompact(){return this.compact}setCompact(s){this.compact=s}getSize(){return this.size}setSize(s){this.size=s}getLayers(){return this.layers}setLayers(s){this.layers=s}getCodeWords(){return this.codeWords}setCodeWords(s){this.codeWords=s}getMatrix(){return this.matrix}setMatrix(s){this.matrix=s}}class co{static singletonList(s){return[s]}static min(s,l){return s.sort(l)[0]}}class bc{constructor(s){this.previous=s}getPrevious(){return this.previous}}class J extends bc{constructor(s,l,d){super(s),this.value=l,this.bitCount=d}appendTo(s,l){s.appendBits(this.value,this.bitCount)}add(s,l){return new J(this,s,l)}addBinaryShift(s,l){return console.warn("addBinaryShift on SimpleToken, this simply returns a copy of this token"),new J(this,s,l)}toString(){let s=this.value&(1<<this.bitCount)-1;return s|=1<<this.bitCount,"<"+G.toBinaryString(s|1<<this.bitCount).substring(1)+">"}}class xe extends J{constructor(s,l,d){super(s,0,0),this.binaryShiftStart=l,this.binaryShiftByteCount=d}appendTo(s,l){for(let d=0;d<this.binaryShiftByteCount;d++)(0===d||31===d&&this.binaryShiftByteCount<=62)&&(s.appendBits(31,5),this.binaryShiftByteCount>62?s.appendBits(this.binaryShiftByteCount-31,16):s.appendBits(0===d?Math.min(this.binaryShiftByteCount,31):this.binaryShiftByteCount-31,5)),s.appendBits(l[this.binaryShiftStart+d],8)}addBinaryShift(s,l){return new xe(this,s,l)}toString(){return"<"+this.binaryShiftStart+"::"+(this.binaryShiftStart+this.binaryShiftByteCount-1)+">"}}function Me(Y,s,l){return new J(Y,s,l)}const bt=["UPPER","LOWER","DIGIT","MIXED","PUNCT"],wt=0,ki=1,Ai=2,Di=3,Kt=4,Xn=new J(null,0,0),qe=[Int32Array.from([0,327708,327710,327709,656318]),Int32Array.from([590318,0,327710,327709,656318]),Int32Array.from([262158,590300,0,590301,932798]),Int32Array.from([327709,327708,656318,0,327710]),Int32Array.from([327711,656380,656382,656381,0])];const ws=function Go(Y){for(let s of Y)ne.fill(s,-1);return Y[wt][Kt]=0,Y[ki][Kt]=0,Y[ki][wt]=28,Y[Di][Kt]=0,Y[Ai][Kt]=0,Y[Ai][wt]=15,Y}(ne.createInt32Array(6,6));class Sa{constructor(s,l,d,u){this.token=s,this.mode=l,this.binaryShiftByteCount=d,this.bitCount=u}getMode(){return this.mode}getToken(){return this.token}getBinaryShiftByteCount(){return this.binaryShiftByteCount}getBitCount(){return this.bitCount}latchAndAppend(s,l){let d=this.bitCount,u=this.token;if(s!==this.mode){let p=qe[this.mode][s];u=Me(u,65535&p,p>>16),d+=p>>16}let m=s===Ai?4:5;return u=Me(u,l,m),new Sa(u,s,0,d+m)}shiftAndAppend(s,l){let d=this.token,u=this.mode===Ai?4:5;return d=Me(d,ws[this.mode][s],u),d=Me(d,l,5),new Sa(d,this.mode,0,this.bitCount+u+5)}addBinaryShiftChar(s){let l=this.token,d=this.mode,u=this.bitCount;if(this.mode===Kt||this.mode===Ai){let v=qe[d][wt];l=Me(l,65535&v,v>>16),u+=v>>16,d=wt}let p=new Sa(l,d,this.binaryShiftByteCount+1,u+(0===this.binaryShiftByteCount||31===this.binaryShiftByteCount?18:62===this.binaryShiftByteCount?9:8));return 2078===p.binaryShiftByteCount&&(p=p.endBinaryShift(s+1)),p}endBinaryShift(s){if(0===this.binaryShiftByteCount)return this;let l=this.token;return l=function Ee(Y,s,l){return new xe(Y,s,l)}(l,s-this.binaryShiftByteCount,this.binaryShiftByteCount),new Sa(l,this.mode,0,this.bitCount)}isBetterThanOrEqualTo(s){let l=this.bitCount+(qe[this.mode][s.mode]>>16);return this.binaryShiftByteCount<s.binaryShiftByteCount?l+=Sa.calculateBinaryShiftCost(s)-Sa.calculateBinaryShiftCost(this):this.binaryShiftByteCount>s.binaryShiftByteCount&&s.binaryShiftByteCount>0&&(l+=10),l<=s.bitCount}toBitArray(s){let l=[];for(let u=this.endBinaryShift(s.length).token;null!==u;u=u.getPrevious())l.unshift(u);let d=new z;for(const u of l)u.appendTo(d,s);return d}toString(){return de.format("%s bits=%d bytes=%d",bt[this.mode],this.bitCount,this.binaryShiftByteCount)}static calculateBinaryShiftCost(s){return s.binaryShiftByteCount>62?21:s.binaryShiftByteCount>31?20:s.binaryShiftByteCount>0?10:0}}Sa.INITIAL_STATE=new Sa(Xn,wt,0,0);const rs=function Dt(Y){const s=de.getCharCode(" "),l=de.getCharCode("."),d=de.getCharCode(",");Y[wt][s]=1;const u=de.getCharCode("Z"),m=de.getCharCode("A");for(let _e=m;_e<=u;_e++)Y[wt][_e]=_e-m+2;Y[ki][s]=1;const p=de.getCharCode("z"),v=de.getCharCode("a");for(let _e=v;_e<=p;_e++)Y[ki][_e]=_e-v+2;Y[Ai][s]=1;const M=de.getCharCode("9"),H=de.getCharCode("0");for(let _e=H;_e<=M;_e++)Y[Ai][_e]=_e-H+2;Y[Ai][d]=12,Y[Ai][l]=13;const q=["\0"," ","\x01","\x02","\x03","\x04","\x05","\x06","\x07","\b","\t","\n","\v","\f","\r","\x1b","\x1c","\x1d","\x1e","\x1f","@","\\","^","_","`","|","~","\x7f"];for(let _e=0;_e<q.length;_e++)Y[Di][de.getCharCode(q[_e])]=_e;const ue=["\0","\r","\0","\0","\0","\0","!","'","#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","[","]","{","}"];for(let _e=0;_e<ue.length;_e++)de.getCharCode(ue[_e])>0&&(Y[Kt][de.getCharCode(ue[_e])]=_e);return Y}(ne.createInt32Array(5,256));class Fs{constructor(s){this.text=s}encode(){const s=de.getCharCode(" "),l=de.getCharCode("\n");let d=co.singletonList(Sa.INITIAL_STATE);for(let m=0;m<this.text.length;m++){let p,v=m+1<this.text.length?this.text[m+1]:0;switch(this.text[m]){case de.getCharCode("\r"):p=v===l?2:0;break;case de.getCharCode("."):p=v===s?3:0;break;case de.getCharCode(","):p=v===s?4:0;break;case de.getCharCode(":"):p=v===s?5:0;break;default:p=0}p>0?(d=Fs.updateStateListForPair(d,m,p),m++):d=this.updateStateListForChar(d,m)}return co.min(d,(m,p)=>m.getBitCount()-p.getBitCount()).toBitArray(this.text)}updateStateListForChar(s,l){const d=[];for(let u of s)this.updateStateForChar(u,l,d);return Fs.simplifyStates(d)}updateStateForChar(s,l,d){let u=255&this.text[l],m=rs[s.getMode()][u]>0,p=null;for(let v=0;v<=Kt;v++){let M=rs[v][u];if(M>0){if(null==p&&(p=s.endBinaryShift(l)),!m||v===s.getMode()||v===Ai){const H=p.latchAndAppend(v,M);d.push(H)}if(!m&&ws[s.getMode()][v]>=0){const H=p.shiftAndAppend(v,M);d.push(H)}}}if(s.getBinaryShiftByteCount()>0||0===rs[s.getMode()][u]){let v=s.addBinaryShiftChar(l);d.push(v)}}static updateStateListForPair(s,l,d){const u=[];for(let m of s)this.updateStateForPair(m,l,d,u);return this.simplifyStates(u)}static updateStateForPair(s,l,d,u){let m=s.endBinaryShift(l);if(u.push(m.latchAndAppend(Kt,d)),s.getMode()!==Kt&&u.push(m.shiftAndAppend(Kt,d)),3===d||4===d){let p=m.latchAndAppend(Ai,16-d).latchAndAppend(Ai,1);u.push(p)}if(s.getBinaryShiftByteCount()>0){let p=s.addBinaryShiftChar(l).addBinaryShiftChar(l+1);u.push(p)}}static simplifyStates(s){let l=[];for(const d of s){let u=!0;for(const m of l){if(m.isBetterThanOrEqualTo(d)){u=!1;break}d.isBetterThanOrEqualTo(m)&&(l=l.filter(p=>p!==m))}u&&l.push(d)}return l}}class Oe{constructor(){}static encodeBytes(s){return Oe.encode(s,Oe.DEFAULT_EC_PERCENT,Oe.DEFAULT_AZTEC_LAYERS)}static encode(s,l,d){let v,M,H,q,ue,u=new Fs(s).encode(),m=G.truncDivision(u.getSize()*l,100)+11,p=u.getSize()+m;if(d!==Oe.DEFAULT_AZTEC_LAYERS){if(v=d<0,M=Math.abs(d),M>(v?Oe.MAX_NB_BITS_COMPACT:Oe.MAX_NB_BITS))throw new R(de.format("Illegal value %s for layers",d));H=Oe.totalBitsInLayer(M,v),q=Oe.WORD_SIZE[M];let ct=H-H%q;if(ue=Oe.stuffBits(u,q),ue.getSize()+m>ct)throw new R("Data to large for user specified layer");if(v&&ue.getSize()>64*q)throw new R("Data to large for user specified layer")}else{q=0,ue=null;for(let ct=0;;ct++){if(ct>Oe.MAX_NB_BITS)throw new R("Data too large for an Aztec code");if(v=ct<=3,M=v?ct+1:ct,H=Oe.totalBitsInLayer(M,v),p>H)continue;(null==ue||q!==Oe.WORD_SIZE[M])&&(q=Oe.WORD_SIZE[M],ue=Oe.stuffBits(u,q));let Ii=H-H%q;if(!(v&&ue.getSize()>64*q)&&ue.getSize()+m<=Ii)break}}let et,_e=Oe.generateCheckWords(ue,H,q),ke=ue.getSize()/q,Ne=Oe.generateModeMessage(v,M,ke),je=(v?11:14)+4*M,Ye=new Int32Array(je);if(v){et=je;for(let ct=0;ct<Ye.length;ct++)Ye[ct]=ct}else{et=je+1+2*G.truncDivision(G.truncDivision(je,2)-1,15);let ct=G.truncDivision(je,2),Ii=G.truncDivision(et,2);for(let Fi=0;Fi<ct;Fi++){let Er=Fi+G.truncDivision(Fi,15);Ye[ct-Fi-1]=Ii-Er-1,Ye[ct+Fi]=Ii+Er+1}}let kt=new ge(et);for(let ct=0,Ii=0;ct<M;ct++){let Fi=4*(M-ct)+(v?9:12);for(let Er=0;Er<Fi;Er++){let Jr=2*Er;for(let ga=0;ga<2;ga++)_e.get(Ii+Jr+ga)&&kt.set(Ye[2*ct+ga],Ye[2*ct+Er]),_e.get(Ii+2*Fi+Jr+ga)&&kt.set(Ye[2*ct+Er],Ye[je-1-2*ct-ga]),_e.get(Ii+4*Fi+Jr+ga)&&kt.set(Ye[je-1-2*ct-ga],Ye[je-1-2*ct-Er]),_e.get(Ii+6*Fi+Jr+ga)&&kt.set(Ye[je-1-2*ct-Er],Ye[2*ct+ga])}Ii+=8*Fi}if(Oe.drawModeMessage(kt,v,et,Ne),v)Oe.drawBullsEye(kt,G.truncDivision(et,2),5);else{Oe.drawBullsEye(kt,G.truncDivision(et,2),7);for(let ct=0,Ii=0;ct<G.truncDivision(je,2)-1;ct+=15,Ii+=16)for(let Fi=1&G.truncDivision(et,2);Fi<et;Fi+=2)kt.set(G.truncDivision(et,2)-Ii,Fi),kt.set(G.truncDivision(et,2)+Ii,Fi),kt.set(Fi,G.truncDivision(et,2)-Ii),kt.set(Fi,G.truncDivision(et,2)+Ii)}let Wt=new Ea;return Wt.setCompact(v),Wt.setSize(et),Wt.setLayers(M),Wt.setCodeWords(ke),Wt.setMatrix(kt),Wt}static drawBullsEye(s,l,d){for(let u=0;u<d;u+=2)for(let m=l-u;m<=l+u;m++)s.set(m,l-u),s.set(m,l+u),s.set(l-u,m),s.set(l+u,m);s.set(l-d,l-d),s.set(l-d+1,l-d),s.set(l-d,l-d+1),s.set(l+d,l-d),s.set(l+d,l-d+1),s.set(l+d,l+d-1)}static generateModeMessage(s,l,d){let u=new z;return s?(u.appendBits(l-1,2),u.appendBits(d-1,6),u=Oe.generateCheckWords(u,28,4)):(u.appendBits(l-1,5),u.appendBits(d-1,11),u=Oe.generateCheckWords(u,40,4)),u}static drawModeMessage(s,l,d,u){let m=G.truncDivision(d,2);if(l)for(let p=0;p<7;p++){let v=m-3+p;u.get(p)&&s.set(v,m-5),u.get(p+7)&&s.set(m+5,v),u.get(20-p)&&s.set(v,m+5),u.get(27-p)&&s.set(m-5,v)}else for(let p=0;p<10;p++){let v=m-5+p+G.truncDivision(p,5);u.get(p)&&s.set(v,m-7),u.get(p+10)&&s.set(m+7,v),u.get(29-p)&&s.set(v,m+7),u.get(39-p)&&s.set(m-7,v)}}static generateCheckWords(s,l,d){let u=s.getSize()/d,m=new Ma(Oe.getGF(d)),p=G.truncDivision(l,d),v=Oe.bitsToWords(s,d,p);m.encode(v,p-u);let M=l%d,H=new z;H.appendBits(0,M);for(const q of Array.from(v))H.appendBits(q,d);return H}static bitsToWords(s,l,d){let m,p,u=new Int32Array(d);for(m=0,p=s.getSize()/l;m<p;m++){let v=0;for(let M=0;M<l;M++)v|=s.get(m*l+M)?1<<l-M-1:0;u[m]=v}return u}static getGF(s){switch(s){case 4:return xi.AZTEC_PARAM;case 6:return xi.AZTEC_DATA_6;case 8:return xi.AZTEC_DATA_8;case 10:return xi.AZTEC_DATA_10;case 12:return xi.AZTEC_DATA_12;default:throw new R("Unsupported word size "+s)}}static stuffBits(s,l){let d=new z,u=s.getSize(),m=(1<<l)-2;for(let p=0;p<u;p+=l){let v=0;for(let M=0;M<l;M++)(p+M>=u||s.get(p+M))&&(v|=1<<l-1-M);(v&m)===m?(d.appendBits(v&m,l),p--):v&m?d.appendBits(v,l):(d.appendBits(1|v,l),p--)}return d}static totalBitsInLayer(s,l){return((l?88:112)+16*s)*s}}Oe.DEFAULT_EC_PERCENT=33,Oe.DEFAULT_AZTEC_LAYERS=0,Oe.MAX_NB_BITS=32,Oe.MAX_NB_BITS_COMPACT=4,Oe.WORD_SIZE=Int32Array.from([4,6,6,8,8,8,8,8,8,10,10,10,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,12,12]);class Mr{encode(s,l,d,u){return this.encodeWithHints(s,l,d,u,null)}encodeWithHints(s,l,d,u,m){let p=Hl.ISO_8859_1,v=Oe.DEFAULT_EC_PERCENT,M=Oe.DEFAULT_AZTEC_LAYERS;return null!=m&&(m.has(Vr.CHARACTER_SET)&&(p=Bl.forName(m.get(Vr.CHARACTER_SET).toString())),m.has(Vr.ERROR_CORRECTION)&&(v=G.parseInt(m.get(Vr.ERROR_CORRECTION).toString())),m.has(Vr.AZTEC_LAYERS)&&(M=G.parseInt(m.get(Vr.AZTEC_LAYERS).toString()))),Mr.encodeLayers(s,l,d,u,p,v,M)}static encodeLayers(s,l,d,u,m,p,v){if(l!==nt.AZTEC)throw new R("Can only encode AZTEC, but got "+l);let M=Oe.encode(de.getBytes(s,m),p,v);return Mr.renderResult(M,d,u)}static renderResult(s,l,d){let u=s.getMatrix();if(null==u)throw new zt;let m=u.getWidth(),p=u.getHeight(),v=Math.max(l,m),M=Math.max(d,p),H=Math.min(v/m,M/p),q=(v-m*H)/2,ue=(M-p*H)/2,_e=new ge(v,M);for(let ke=0,Ne=ue;ke<p;ke++,Ne+=H)for(let je=0,Ye=q;je<m;je++,Ye+=H)u.get(je,ke)&&_e.setRegion(Ye,Ne,H,H);return _e}}I.AbstractExpandedDecoder=xn,I.ArgumentException=B,I.ArithmeticException=Tn,I.AztecCode=Ea,I.AztecCodeReader=Qr,I.AztecCodeWriter=Mr,I.AztecDecoder=fi,I.AztecDetector=Ri,I.AztecDetectorResult=Ni,I.AztecEncoder=Oe,I.AztecHighLevelEncoder=Fs,I.AztecPoint=Ji,I.BarcodeFormat=nt,I.Binarizer=j,I.BinaryBitmap=U,I.BitArray=z,I.BitMatrix=ge,I.BitSource=ro,I.BrowserAztecCodeReader=class Pr extends ai{constructor(s=500){super(new Qr,s)}},I.BrowserBarcodeReader=class sd extends ai{constructor(s=500,l){super(new Bo(l),s,l)}},I.BrowserCodeReader=ai,I.BrowserDatamatrixCodeReader=class ao extends ai{constructor(s=500){super(new Ui,s)}},I.BrowserMultiFormatReader=class ll extends ai{constructor(s=null,l=500){const d=new _c;d.setHints(s),super(d,l)}decodeBitmap(s){return this.reader.decodeWithState(s)}},I.BrowserPDF417Reader=class za extends ai{constructor(s=500){super(new Pi,s)}},I.BrowserQRCodeReader=class zo extends ai{constructor(s=500){super(new bs,s)}},I.BrowserQRCodeSvgWriter=ei,I.CharacterSetECI=oe,I.ChecksumException=Z,I.Code128Reader=Ot,I.Code39Reader=Po,I.DataMatrixDecodedBitStreamParser=en,I.DataMatrixReader=Ui,I.DecodeHintType=le,I.DecoderResult=Fn,I.DefaultGridSampler=fn,I.DetectorResult=un,I.EAN13Reader=pa,I.EncodeHintType=Vr,I.Exception=L,I.FormatException=ie,I.GenericGF=xi,I.GenericGFPoly=on,I.GlobalHistogramBinarizer=ze,I.GridSampler=fa,I.GridSamplerInstance=Oi,I.HTMLCanvasElementLuminanceSource=At,I.HybridBinarizer=Re,I.ITFReader=Ue,I.IllegalArgumentException=R,I.IllegalStateException=zt,I.InvertedLuminanceSource=mt,I.LuminanceSource=st,I.MathUtils=$t,I.MultiFormatOneDReader=Bo,I.MultiFormatReader=_c,I.MultiFormatWriter=class Pl{encode(s,l,d,u,m){let p;if(l!==nt.QR_CODE)throw new R("No encoder available for format "+l);return p=new Wo,p.encode(s,l,d,u,m)}},I.NotFoundException=we,I.OneDReader=mr,I.PDF417DecodedBitStreamParser=rt,I.PDF417DecoderErrorCorrection=zn,I.PDF417Reader=Pi,I.PDF417ResultMetadata=gc,I.PerspectiveTransform=$i,I.PlanarYUVLuminanceSource=Os,I.QRCodeByteMatrix=Uo,I.QRCodeDataMask=gr,I.QRCodeDecodedBitStreamParser=hc,I.QRCodeDecoderErrorCorrectionLevel=Pt,I.QRCodeDecoderFormatInformation=Ir,I.QRCodeEncoder=ar,I.QRCodeEncoderQRCode=To,I.QRCodeMaskUtil=cl,I.QRCodeMatrixUtil=wi,I.QRCodeMode=Ci,I.QRCodeReader=bs,I.QRCodeVersion=li,I.QRCodeWriter=Wo,I.RGBLuminanceSource=xo,I.RSS14Reader=pr,I.RSSExpandedReader=pt,I.ReaderException=jo,I.ReedSolomonDecoder=Ge,I.ReedSolomonEncoder=Ma,I.ReedSolomonException=ht,I.Result=He,I.ResultMetadataType=Ut,I.ResultPoint=vt,I.StringUtils=de,I.UnsupportedOperationException=he,I.VideoInputDevice=Xt,I.WhiteRectangleDetector=Vi,I.WriterException=En,I.ZXingArrays=ne,I.ZXingCharset=Bl,I.ZXingInteger=G,I.ZXingStandardCharsets=Hl,I.ZXingStringBuilder=me,I.ZXingStringEncoding=ae,I.ZXingSystem=V,I.createAbstractExpandedDecoder=Fo,Object.defineProperty(I,"__esModule",{value:!0})}(A)},3380:function(ve,A,I){"use strict";var T=this&&this.__createBinding||(Object.create?function(G,z,ce,le){void 0===le&&(le=ce);var ie=Object.getOwnPropertyDescriptor(z,ce);(!ie||("get"in ie?!z.__esModule:ie.writable||ie.configurable))&&(ie={enumerable:!0,get:function(){return z[ce]}}),Object.defineProperty(G,le,ie)}:function(G,z,ce,le){void 0===le&&(le=ce),G[le]=z[ce]}),g=this&&this.__setModuleDefault||(Object.create?function(G,z){Object.defineProperty(G,"default",{enumerable:!0,value:z})}:function(G,z){G.default=z}),y=this&&this.__importStar||function(G){if(G&&G.__esModule)return G;var z={};if(null!=G)for(var ce in G)"default"!==ce&&Object.prototype.hasOwnProperty.call(G,ce)&&T(z,G,ce);return g(z,G),z};Object.defineProperty(A,"__esModule",{value:!0}),A.Parser=void 0;var b=y(I(6282)),C=I(6569),D=new Set(["input","option","optgroup","select","button","datalist","textarea"]),L=new Set(["p"]),B=new Set(["thead","tbody"]),R=new Set(["dd","dt"]),U=new Set(["rt","rp"]),Z=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",L],["h1",L],["h2",L],["h3",L],["h4",L],["h5",L],["h6",L],["select",D],["input",D],["output",D],["button",D],["datalist",D],["textarea",D],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",R],["dt",R],["address",L],["article",L],["aside",L],["blockquote",L],["details",L],["div",L],["dl",L],["fieldset",L],["figcaption",L],["figure",L],["footer",L],["form",L],["header",L],["hr",L],["main",L],["nav",L],["ol",L],["pre",L],["section",L],["table",L],["ul",L],["rt",U],["rp",U],["tbody",B],["tfoot",B]]),j=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),V=new Set(["math","svg"]),re=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),W=/\s|\//,ne=function(){function G(z,ce){var le,ie,K,oe,he;void 0===ce&&(ce={}),this.options=ce,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=z??{},this.lowerCaseTagNames=null!==(le=ce.lowerCaseTags)&&void 0!==le?le:!ce.xmlMode,this.lowerCaseAttributeNames=null!==(ie=ce.lowerCaseAttributeNames)&&void 0!==ie?ie:!ce.xmlMode,this.tokenizer=new(null!==(K=ce.Tokenizer)&&void 0!==K?K:b.default)(this.options,this),null===(he=(oe=this.cbs).onparserinit)||void 0===he||he.call(oe,this)}return G.prototype.ontext=function(z,ce){var le,ie,K=this.getSlice(z,ce);this.endIndex=ce-1,null===(ie=(le=this.cbs).ontext)||void 0===ie||ie.call(le,K),this.startIndex=ce},G.prototype.ontextentity=function(z){var ce,le,ie=this.tokenizer.getSectionStart();this.endIndex=ie-1,null===(le=(ce=this.cbs).ontext)||void 0===le||le.call(ce,(0,C.fromCodePoint)(z)),this.startIndex=ie},G.prototype.isVoidElement=function(z){return!this.options.xmlMode&&j.has(z)},G.prototype.onopentagname=function(z,ce){this.endIndex=ce;var le=this.getSlice(z,ce);this.lowerCaseTagNames&&(le=le.toLowerCase()),this.emitOpenTag(le)},G.prototype.emitOpenTag=function(z){var ce,le,ie,K;this.openTagStart=this.startIndex,this.tagname=z;var oe=!this.options.xmlMode&&Z.get(z);if(oe)for(;this.stack.length>0&&oe.has(this.stack[this.stack.length-1]);){var he=this.stack.pop();null===(le=(ce=this.cbs).onclosetag)||void 0===le||le.call(ce,he,!0)}this.isVoidElement(z)||(this.stack.push(z),V.has(z)?this.foreignContext.push(!0):re.has(z)&&this.foreignContext.push(!1)),null===(K=(ie=this.cbs).onopentagname)||void 0===K||K.call(ie,z),this.cbs.onopentag&&(this.attribs={})},G.prototype.endOpenTag=function(z){var ce,le;this.startIndex=this.openTagStart,this.attribs&&(null===(le=(ce=this.cbs).onopentag)||void 0===le||le.call(ce,this.tagname,this.attribs,z),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},G.prototype.onopentagend=function(z){this.endIndex=z,this.endOpenTag(!1),this.startIndex=z+1},G.prototype.onclosetag=function(z,ce){var le,ie,K,oe,he,ae;this.endIndex=ce;var de=this.getSlice(z,ce);if(this.lowerCaseTagNames&&(de=de.toLowerCase()),(V.has(de)||re.has(de))&&this.foreignContext.pop(),this.isVoidElement(de))!this.options.xmlMode&&"br"===de&&(null===(ie=(le=this.cbs).onopentagname)||void 0===ie||ie.call(le,"br"),null===(oe=(K=this.cbs).onopentag)||void 0===oe||oe.call(K,"br",{},!0),null===(ae=(he=this.cbs).onclosetag)||void 0===ae||ae.call(he,"br",!1));else{var me=this.stack.lastIndexOf(de);if(-1!==me)if(this.cbs.onclosetag)for(var ge=this.stack.length-me;ge--;)this.cbs.onclosetag(this.stack.pop(),0!==ge);else this.stack.length=me;else!this.options.xmlMode&&"p"===de&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=ce+1},G.prototype.onselfclosingtag=function(z){this.endIndex=z,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=z+1):this.onopentagend(z)},G.prototype.closeCurrentTag=function(z){var ce,le,ie=this.tagname;this.endOpenTag(z),this.stack[this.stack.length-1]===ie&&(null===(le=(ce=this.cbs).onclosetag)||void 0===le||le.call(ce,ie,!z),this.stack.pop())},G.prototype.onattribname=function(z,ce){this.startIndex=z;var le=this.getSlice(z,ce);this.attribname=this.lowerCaseAttributeNames?le.toLowerCase():le},G.prototype.onattribdata=function(z,ce){this.attribvalue+=this.getSlice(z,ce)},G.prototype.onattribentity=function(z){this.attribvalue+=(0,C.fromCodePoint)(z)},G.prototype.onattribend=function(z,ce){var le,ie;this.endIndex=ce,null===(ie=(le=this.cbs).onattribute)||void 0===ie||ie.call(le,this.attribname,this.attribvalue,z===b.QuoteType.Double?'"':z===b.QuoteType.Single?"'":z===b.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},G.prototype.getInstructionName=function(z){var ce=z.search(W),le=ce<0?z:z.substr(0,ce);return this.lowerCaseTagNames&&(le=le.toLowerCase()),le},G.prototype.ondeclaration=function(z,ce){this.endIndex=ce;var le=this.getSlice(z,ce);if(this.cbs.onprocessinginstruction){var ie=this.getInstructionName(le);this.cbs.onprocessinginstruction("!".concat(ie),"!".concat(le))}this.startIndex=ce+1},G.prototype.onprocessinginstruction=function(z,ce){this.endIndex=ce;var le=this.getSlice(z,ce);if(this.cbs.onprocessinginstruction){var ie=this.getInstructionName(le);this.cbs.onprocessinginstruction("?".concat(ie),"?".concat(le))}this.startIndex=ce+1},G.prototype.oncomment=function(z,ce,le){var ie,K,oe,he;this.endIndex=ce,null===(K=(ie=this.cbs).oncomment)||void 0===K||K.call(ie,this.getSlice(z,ce-le)),null===(he=(oe=this.cbs).oncommentend)||void 0===he||he.call(oe),this.startIndex=ce+1},G.prototype.oncdata=function(z,ce,le){var ie,K,oe,he,ae,de,me,ge,we,ze;this.endIndex=ce;var Re=this.getSlice(z,ce-le);this.options.xmlMode||this.options.recognizeCDATA?(null===(K=(ie=this.cbs).oncdatastart)||void 0===K||K.call(ie),null===(he=(oe=this.cbs).ontext)||void 0===he||he.call(oe,Re),null===(de=(ae=this.cbs).oncdataend)||void 0===de||de.call(ae)):(null===(ge=(me=this.cbs).oncomment)||void 0===ge||ge.call(me,"[CDATA[".concat(Re,"]]")),null===(ze=(we=this.cbs).oncommentend)||void 0===ze||ze.call(we)),this.startIndex=ce+1},G.prototype.onend=function(){var z,ce;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var le=this.stack.length;le>0;this.cbs.onclosetag(this.stack[--le],!0));}null===(ce=(z=this.cbs).onend)||void 0===ce||ce.call(z)},G.prototype.reset=function(){var z,ce,le,ie;null===(ce=(z=this.cbs).onreset)||void 0===ce||ce.call(z),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,null===(ie=(le=this.cbs).onparserinit)||void 0===ie||ie.call(le,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},G.prototype.parseComplete=function(z){this.reset(),this.end(z)},G.prototype.getSlice=function(z,ce){for(;z-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var le=this.buffers[0].slice(z-this.bufferOffset,ce-this.bufferOffset);ce-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),le+=this.buffers[0].slice(0,ce-this.bufferOffset);return le},G.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},G.prototype.write=function(z){var ce,le;this.ended?null===(le=(ce=this.cbs).onerror)||void 0===le||le.call(ce,new Error(".write() after done!")):(this.buffers.push(z),this.tokenizer.running&&(this.tokenizer.write(z),this.writeIndex++))},G.prototype.end=function(z){var ce,le;this.ended?null===(le=(ce=this.cbs).onerror)||void 0===le||le.call(ce,Error(".end() after done!")):(z&&this.write(z),this.ended=!0,this.tokenizer.end())},G.prototype.pause=function(){this.tokenizer.pause()},G.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},G.prototype.parseChunk=function(z){this.write(z)},G.prototype.done=function(z){this.end(z)},G}();A.Parser=ne},6282:(ve,A,I)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.QuoteType=void 0;var R,j,T=I(6569),g=(()=>{return(j=g||(g={}))[j.Tab=9]="Tab",j[j.NewLine=10]="NewLine",j[j.FormFeed=12]="FormFeed",j[j.CarriageReturn=13]="CarriageReturn",j[j.Space=32]="Space",j[j.ExclamationMark=33]="ExclamationMark",j[j.Num=35]="Num",j[j.Amp=38]="Amp",j[j.SingleQuote=39]="SingleQuote",j[j.DoubleQuote=34]="DoubleQuote",j[j.Dash=45]="Dash",j[j.Slash=47]="Slash",j[j.Zero=48]="Zero",j[j.Nine=57]="Nine",j[j.Semi=59]="Semi",j[j.Lt=60]="Lt",j[j.Eq=61]="Eq",j[j.Gt=62]="Gt",j[j.Questionmark=63]="Questionmark",j[j.UpperA=65]="UpperA",j[j.LowerA=97]="LowerA",j[j.UpperF=70]="UpperF",j[j.LowerF=102]="LowerF",j[j.UpperZ=90]="UpperZ",j[j.LowerZ=122]="LowerZ",j[j.LowerX=120]="LowerX",j[j.OpeningSquareBracket=91]="OpeningSquareBracket",g;var j})(),y=(()=>{return(j=y||(y={}))[j.Text=1]="Text",j[j.BeforeTagName=2]="BeforeTagName",j[j.InTagName=3]="InTagName",j[j.InSelfClosingTag=4]="InSelfClosingTag",j[j.BeforeClosingTagName=5]="BeforeClosingTagName",j[j.InClosingTagName=6]="InClosingTagName",j[j.AfterClosingTagName=7]="AfterClosingTagName",j[j.BeforeAttributeName=8]="BeforeAttributeName",j[j.InAttributeName=9]="InAttributeName",j[j.AfterAttributeName=10]="AfterAttributeName",j[j.BeforeAttributeValue=11]="BeforeAttributeValue",j[j.InAttributeValueDq=12]="InAttributeValueDq",j[j.InAttributeValueSq=13]="InAttributeValueSq",j[j.InAttributeValueNq=14]="InAttributeValueNq",j[j.BeforeDeclaration=15]="BeforeDeclaration",j[j.InDeclaration=16]="InDeclaration",j[j.InProcessingInstruction=17]="InProcessingInstruction",j[j.BeforeComment=18]="BeforeComment",j[j.CDATASequence=19]="CDATASequence",j[j.InSpecialComment=20]="InSpecialComment",j[j.InCommentLike=21]="InCommentLike",j[j.BeforeSpecialS=22]="BeforeSpecialS",j[j.SpecialStartSequence=23]="SpecialStartSequence",j[j.InSpecialTag=24]="InSpecialTag",j[j.BeforeEntity=25]="BeforeEntity",j[j.BeforeNumericEntity=26]="BeforeNumericEntity",j[j.InNamedEntity=27]="InNamedEntity",j[j.InNumericEntity=28]="InNumericEntity",j[j.InHexEntity=29]="InHexEntity",y;var j})();function b(j){return j===g.Space||j===g.NewLine||j===g.Tab||j===g.FormFeed||j===g.CarriageReturn}function C(j){return j===g.Slash||j===g.Gt||b(j)}function D(j){return j>=g.Zero&&j<=g.Nine}(j=R=A.QuoteType||(A.QuoteType={}))[j.NoValue=0]="NoValue",j[j.Unquoted=1]="Unquoted",j[j.Single=2]="Single",j[j.Double=3]="Double";var U={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},Z=function(){function j(V,re){var W=V.xmlMode,ne=void 0!==W&&W,G=V.decodeEntities,z=void 0===G||G;this.cbs=re,this.state=y.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=y.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=ne,this.decodeEntities=z,this.entityTrie=ne?T.xmlDecodeTree:T.htmlDecodeTree}return j.prototype.reset=function(){this.state=y.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=y.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},j.prototype.write=function(V){this.offset+=this.buffer.length,this.buffer=V,this.parse()},j.prototype.end=function(){this.running&&this.finish()},j.prototype.pause=function(){this.running=!1},j.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},j.prototype.getIndex=function(){return this.index},j.prototype.getSectionStart=function(){return this.sectionStart},j.prototype.stateText=function(V){V===g.Lt||!this.decodeEntities&&this.fastForwardTo(g.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=y.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&V===g.Amp&&(this.state=y.BeforeEntity)},j.prototype.stateSpecialStartSequence=function(V){var re=this.sequenceIndex===this.currentSequence.length;if(re?C(V):(32|V)===this.currentSequence[this.sequenceIndex]){if(!re)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=y.InTagName,this.stateInTagName(V)},j.prototype.stateInSpecialTag=function(V){if(this.sequenceIndex===this.currentSequence.length){if(V===g.Gt||b(V)){var re=this.index-this.currentSequence.length;if(this.sectionStart<re){var W=this.index;this.index=re,this.cbs.ontext(this.sectionStart,re),this.index=W}return this.isSpecial=!1,this.sectionStart=re+2,void this.stateInClosingTagName(V)}this.sequenceIndex=0}(32|V)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===U.TitleEnd?this.decodeEntities&&V===g.Amp&&(this.state=y.BeforeEntity):this.fastForwardTo(g.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(V===g.Lt)},j.prototype.stateCDATASequence=function(V){V===U.Cdata[this.sequenceIndex]?++this.sequenceIndex===U.Cdata.length&&(this.state=y.InCommentLike,this.currentSequence=U.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=y.InDeclaration,this.stateInDeclaration(V))},j.prototype.fastForwardTo=function(V){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===V)return!0;return this.index=this.buffer.length+this.offset-1,!1},j.prototype.stateInCommentLike=function(V){V===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===U.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=y.Text):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):V!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},j.prototype.isTagStartChar=function(V){return this.xmlMode?!C(V):function L(j){return j>=g.LowerA&&j<=g.LowerZ||j>=g.UpperA&&j<=g.UpperZ}(V)},j.prototype.startSpecial=function(V,re){this.isSpecial=!0,this.currentSequence=V,this.sequenceIndex=re,this.state=y.SpecialStartSequence},j.prototype.stateBeforeTagName=function(V){if(V===g.ExclamationMark)this.state=y.BeforeDeclaration,this.sectionStart=this.index+1;else if(V===g.Questionmark)this.state=y.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(V)){var re=32|V;this.sectionStart=this.index,this.xmlMode||re!==U.TitleEnd[2]?this.state=this.xmlMode||re!==U.ScriptEnd[2]?y.InTagName:y.BeforeSpecialS:this.startSpecial(U.TitleEnd,3)}else V===g.Slash?this.state=y.BeforeClosingTagName:(this.state=y.Text,this.stateText(V))},j.prototype.stateInTagName=function(V){C(V)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=y.BeforeAttributeName,this.stateBeforeAttributeName(V))},j.prototype.stateBeforeClosingTagName=function(V){b(V)||(V===g.Gt?this.state=y.Text:(this.state=this.isTagStartChar(V)?y.InClosingTagName:y.InSpecialComment,this.sectionStart=this.index))},j.prototype.stateInClosingTagName=function(V){(V===g.Gt||b(V))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=y.AfterClosingTagName,this.stateAfterClosingTagName(V))},j.prototype.stateAfterClosingTagName=function(V){(V===g.Gt||this.fastForwardTo(g.Gt))&&(this.state=y.Text,this.sectionStart=this.index+1)},j.prototype.stateBeforeAttributeName=function(V){V===g.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=y.InSpecialTag,this.sequenceIndex=0):this.state=y.Text,this.baseState=this.state,this.sectionStart=this.index+1):V===g.Slash?this.state=y.InSelfClosingTag:b(V)||(this.state=y.InAttributeName,this.sectionStart=this.index)},j.prototype.stateInSelfClosingTag=function(V){V===g.Gt?(this.cbs.onselfclosingtag(this.index),this.state=y.Text,this.baseState=y.Text,this.sectionStart=this.index+1,this.isSpecial=!1):b(V)||(this.state=y.BeforeAttributeName,this.stateBeforeAttributeName(V))},j.prototype.stateInAttributeName=function(V){(V===g.Eq||C(V))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=y.AfterAttributeName,this.stateAfterAttributeName(V))},j.prototype.stateAfterAttributeName=function(V){V===g.Eq?this.state=y.BeforeAttributeValue:V===g.Slash||V===g.Gt?(this.cbs.onattribend(R.NoValue,this.index),this.state=y.BeforeAttributeName,this.stateBeforeAttributeName(V)):b(V)||(this.cbs.onattribend(R.NoValue,this.index),this.state=y.InAttributeName,this.sectionStart=this.index)},j.prototype.stateBeforeAttributeValue=function(V){V===g.DoubleQuote?(this.state=y.InAttributeValueDq,this.sectionStart=this.index+1):V===g.SingleQuote?(this.state=y.InAttributeValueSq,this.sectionStart=this.index+1):b(V)||(this.sectionStart=this.index,this.state=y.InAttributeValueNq,this.stateInAttributeValueNoQuotes(V))},j.prototype.handleInAttributeValue=function(V,re){V===re||!this.decodeEntities&&this.fastForwardTo(re)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(re===g.DoubleQuote?R.Double:R.Single,this.index),this.state=y.BeforeAttributeName):this.decodeEntities&&V===g.Amp&&(this.baseState=this.state,this.state=y.BeforeEntity)},j.prototype.stateInAttributeValueDoubleQuotes=function(V){this.handleInAttributeValue(V,g.DoubleQuote)},j.prototype.stateInAttributeValueSingleQuotes=function(V){this.handleInAttributeValue(V,g.SingleQuote)},j.prototype.stateInAttributeValueNoQuotes=function(V){b(V)||V===g.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(R.Unquoted,this.index),this.state=y.BeforeAttributeName,this.stateBeforeAttributeName(V)):this.decodeEntities&&V===g.Amp&&(this.baseState=this.state,this.state=y.BeforeEntity)},j.prototype.stateBeforeDeclaration=function(V){V===g.OpeningSquareBracket?(this.state=y.CDATASequence,this.sequenceIndex=0):this.state=V===g.Dash?y.BeforeComment:y.InDeclaration},j.prototype.stateInDeclaration=function(V){(V===g.Gt||this.fastForwardTo(g.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=y.Text,this.sectionStart=this.index+1)},j.prototype.stateInProcessingInstruction=function(V){(V===g.Gt||this.fastForwardTo(g.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=y.Text,this.sectionStart=this.index+1)},j.prototype.stateBeforeComment=function(V){V===g.Dash?(this.state=y.InCommentLike,this.currentSequence=U.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=y.InDeclaration},j.prototype.stateInSpecialComment=function(V){(V===g.Gt||this.fastForwardTo(g.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=y.Text,this.sectionStart=this.index+1)},j.prototype.stateBeforeSpecialS=function(V){var re=32|V;re===U.ScriptEnd[3]?this.startSpecial(U.ScriptEnd,4):re===U.StyleEnd[3]?this.startSpecial(U.StyleEnd,4):(this.state=y.InTagName,this.stateInTagName(V))},j.prototype.stateBeforeEntity=function(V){this.entityExcess=1,this.entityResult=0,V===g.Num?this.state=y.BeforeNumericEntity:V===g.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=y.InNamedEntity,this.stateInNamedEntity(V))},j.prototype.stateInNamedEntity=function(V){if(this.entityExcess+=1,this.trieIndex=(0,T.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,V),this.trieIndex<0)return this.emitNamedEntity(),void this.index--;this.trieCurrent=this.entityTrie[this.trieIndex];var re=this.trieCurrent&T.BinTrieFlags.VALUE_LENGTH;if(re){var W=(re>>14)-1;if(this.allowLegacyEntity()||V===g.Semi){var ne=this.index-this.entityExcess+1;ne>this.sectionStart&&this.emitPartial(this.sectionStart,ne),this.entityResult=this.trieIndex,this.trieIndex+=W,this.entityExcess=0,this.sectionStart=this.index+1,0===W&&this.emitNamedEntity()}else this.trieIndex+=W}},j.prototype.emitNamedEntity=function(){if(this.state=this.baseState,0!==this.entityResult)switch((this.entityTrie[this.entityResult]&T.BinTrieFlags.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~T.BinTrieFlags.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}},j.prototype.stateBeforeNumericEntity=function(V){(32|V)===g.LowerX?(this.entityExcess++,this.state=y.InHexEntity):(this.state=y.InNumericEntity,this.stateInNumericEntity(V))},j.prototype.emitNumericEntity=function(V){var re=this.index-this.entityExcess-1;re+2+Number(this.state===y.InHexEntity)!==this.index&&(re>this.sectionStart&&this.emitPartial(this.sectionStart,re),this.sectionStart=this.index+Number(V),this.emitCodePoint((0,T.replaceCodePoint)(this.entityResult))),this.state=this.baseState},j.prototype.stateInNumericEntity=function(V){V===g.Semi?this.emitNumericEntity(!0):D(V)?(this.entityResult=10*this.entityResult+(V-g.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},j.prototype.stateInHexEntity=function(V){V===g.Semi?this.emitNumericEntity(!0):D(V)?(this.entityResult=16*this.entityResult+(V-g.Zero),this.entityExcess++):function B(j){return j>=g.UpperA&&j<=g.UpperF||j>=g.LowerA&&j<=g.LowerF}(V)?(this.entityResult=16*this.entityResult+((32|V)-g.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},j.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===y.Text||this.baseState===y.InSpecialTag)},j.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===y.Text||this.state===y.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===y.InAttributeValueDq||this.state===y.InAttributeValueSq||this.state===y.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},j.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},j.prototype.parse=function(){for(;this.shouldContinue();){var V=this.buffer.charCodeAt(this.index-this.offset);this.state===y.Text?this.stateText(V):this.state===y.SpecialStartSequence?this.stateSpecialStartSequence(V):this.state===y.InSpecialTag?this.stateInSpecialTag(V):this.state===y.CDATASequence?this.stateCDATASequence(V):this.state===y.InAttributeValueDq?this.stateInAttributeValueDoubleQuotes(V):this.state===y.InAttributeName?this.stateInAttributeName(V):this.state===y.InCommentLike?this.stateInCommentLike(V):this.state===y.InSpecialComment?this.stateInSpecialComment(V):this.state===y.BeforeAttributeName?this.stateBeforeAttributeName(V):this.state===y.InTagName?this.stateInTagName(V):this.state===y.InClosingTagName?this.stateInClosingTagName(V):this.state===y.BeforeTagName?this.stateBeforeTagName(V):this.state===y.AfterAttributeName?this.stateAfterAttributeName(V):this.state===y.InAttributeValueSq?this.stateInAttributeValueSingleQuotes(V):this.state===y.BeforeAttributeValue?this.stateBeforeAttributeValue(V):this.state===y.BeforeClosingTagName?this.stateBeforeClosingTagName(V):this.state===y.AfterClosingTagName?this.stateAfterClosingTagName(V):this.state===y.BeforeSpecialS?this.stateBeforeSpecialS(V):this.state===y.InAttributeValueNq?this.stateInAttributeValueNoQuotes(V):this.state===y.InSelfClosingTag?this.stateInSelfClosingTag(V):this.state===y.InDeclaration?this.stateInDeclaration(V):this.state===y.BeforeDeclaration?this.stateBeforeDeclaration(V):this.state===y.BeforeComment?this.stateBeforeComment(V):this.state===y.InProcessingInstruction?this.stateInProcessingInstruction(V):this.state===y.InNamedEntity?this.stateInNamedEntity(V):this.state===y.BeforeEntity?this.stateBeforeEntity(V):this.state===y.InHexEntity?this.stateInHexEntity(V):this.state===y.InNumericEntity?this.stateInNumericEntity(V):this.stateBeforeNumericEntity(V),this.index++}this.cleanup()},j.prototype.finish=function(){this.state===y.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},j.prototype.handleTrailingData=function(){var V=this.buffer.length+this.offset;this.state===y.InCommentLike?this.currentSequence===U.CdataEnd?this.cbs.oncdata(this.sectionStart,V,0):this.cbs.oncomment(this.sectionStart,V,0):this.state===y.InNumericEntity&&this.allowLegacyEntity()||this.state===y.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===y.InTagName||this.state===y.BeforeAttributeName||this.state===y.BeforeAttributeValue||this.state===y.AfterAttributeName||this.state===y.InAttributeName||this.state===y.InAttributeValueSq||this.state===y.InAttributeValueDq||this.state===y.InAttributeValueNq||this.state===y.InClosingTagName||this.cbs.ontext(this.sectionStart,V)},j.prototype.emitPartial=function(V,re){this.baseState!==y.Text&&this.baseState!==y.InSpecialTag?this.cbs.onattribdata(V,re):this.cbs.ontext(V,re)},j.prototype.emitCodePoint=function(V){this.baseState!==y.Text&&this.baseState!==y.InSpecialTag?this.cbs.onattribentity(V):this.cbs.ontextentity(V)},j}();A.default=Z},534:function(ve,A,I){"use strict";var T=this&&this.__createBinding||(Object.create?function(re,W,ne,G){void 0===G&&(G=ne);var z=Object.getOwnPropertyDescriptor(W,ne);(!z||("get"in z?!W.__esModule:z.writable||z.configurable))&&(z={enumerable:!0,get:function(){return W[ne]}}),Object.defineProperty(re,G,z)}:function(re,W,ne,G){void 0===G&&(G=ne),re[G]=W[ne]}),g=this&&this.__setModuleDefault||(Object.create?function(re,W){Object.defineProperty(re,"default",{enumerable:!0,value:W})}:function(re,W){re.default=W}),y=this&&this.__importStar||function(re){if(re&&re.__esModule)return re;var W={};if(null!=re)for(var ne in re)"default"!==ne&&Object.prototype.hasOwnProperty.call(re,ne)&&T(W,re,ne);return g(W,re),W},b=this&&this.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(A,"__esModule",{value:!0}),A.DefaultHandler=A.DomUtils=A.parseFeed=A.getFeed=A.ElementType=A.Tokenizer=A.createDomStream=A.parseDOM=A.parseDocument=A.DomHandler=A.Parser=void 0;var C=I(3380);Object.defineProperty(A,"Parser",{enumerable:!0,get:function(){return C.Parser}});var D=I(3437);function L(re,W){var ne=new D.DomHandler(void 0,W);return new C.Parser(ne,W).end(re),ne.root}function B(re,W){return L(re,W).children}Object.defineProperty(A,"DomHandler",{enumerable:!0,get:function(){return D.DomHandler}}),Object.defineProperty(A,"DefaultHandler",{enumerable:!0,get:function(){return D.DomHandler}}),A.parseDocument=L,A.parseDOM=B,A.createDomStream=function R(re,W,ne){var G=new D.DomHandler(re,W,ne);return new C.Parser(G,W)};var U=I(6282);Object.defineProperty(A,"Tokenizer",{enumerable:!0,get:function(){return b(U).default}});var Z=y(I(6316));A.ElementType=Z;var j=I(5722);Object.defineProperty(A,"getFeed",{enumerable:!0,get:function(){return j.getFeed}}),A.parseFeed=function V(re,W){return void 0===W&&(W={xmlMode:!0}),(0,j.getFeed)(B(re,W))},A.DomUtils=y(I(5722))},7156:(ve,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.attributeNames=A.elementNames=void 0,A.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(function(I){return[I.toLowerCase(),I]})),A.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(function(I){return[I.toLowerCase(),I]}))},1175:function(ve,A,I){"use strict";var T=this&&this.__assign||function(){return T=Object.assign||function(ie){for(var K,oe=1,he=arguments.length;oe<he;oe++)for(var ae in K=arguments[oe])Object.prototype.hasOwnProperty.call(K,ae)&&(ie[ae]=K[ae]);return ie},T.apply(this,arguments)},g=this&&this.__createBinding||(Object.create?function(ie,K,oe,he){void 0===he&&(he=oe);var ae=Object.getOwnPropertyDescriptor(K,oe);(!ae||("get"in ae?!K.__esModule:ae.writable||ae.configurable))&&(ae={enumerable:!0,get:function(){return K[oe]}}),Object.defineProperty(ie,he,ae)}:function(ie,K,oe,he){void 0===he&&(he=oe),ie[he]=K[oe]}),y=this&&this.__setModuleDefault||(Object.create?function(ie,K){Object.defineProperty(ie,"default",{enumerable:!0,value:K})}:function(ie,K){ie.default=K}),b=this&&this.__importStar||function(ie){if(ie&&ie.__esModule)return ie;var K={};if(null!=ie)for(var oe in ie)"default"!==oe&&Object.prototype.hasOwnProperty.call(ie,oe)&&g(K,ie,oe);return y(K,ie),K};Object.defineProperty(A,"__esModule",{value:!0}),A.render=void 0;var C=b(I(6316)),D=I(4101),L=I(7156),B=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function R(ie){return ie.replace(/"/g,"&quot;")}var Z=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function j(ie,K){void 0===K&&(K={});for(var oe=("length"in ie?ie:[ie]),he="",ae=0;ae<oe.length;ae++)he+=V(oe[ae],K);return he}function V(ie,K){switch(ie.type){case C.Root:return j(ie.children,K);case C.Doctype:case C.Directive:return function G(ie){return"<".concat(ie.data,">")}(ie);case C.Comment:return function le(ie){return"\x3c!--".concat(ie.data,"--\x3e")}(ie);case C.CDATA:return function ce(ie){return"<![CDATA[".concat(ie.children[0].data,"]]>")}(ie);case C.Script:case C.Style:case C.Tag:return function ne(ie,K){var oe;"foreign"===K.xmlMode&&(ie.name=null!==(oe=L.elementNames.get(ie.name))&&void 0!==oe?oe:ie.name,ie.parent&&re.has(ie.parent.name)&&(K=T(T({},K),{xmlMode:!1}))),!K.xmlMode&&W.has(ie.name)&&(K=T(T({},K),{xmlMode:"foreign"}));var he="<".concat(ie.name),ae=function U(ie,K){var oe;if(ie){var he=!1===(null!==(oe=K.encodeEntities)&&void 0!==oe?oe:K.decodeEntities)?R:K.xmlMode||"utf8"!==K.encodeEntities?D.encodeXML:D.escapeAttribute;return Object.keys(ie).map(function(ae){var de,me,ge=null!==(de=ie[ae])&&void 0!==de?de:"";return"foreign"===K.xmlMode&&(ae=null!==(me=L.attributeNames.get(ae))&&void 0!==me?me:ae),K.emptyAttrs||K.xmlMode||""!==ge?"".concat(ae,'="').concat(he(ge),'"'):ae}).join(" ")}}(ie.attribs,K);return ae&&(he+=" ".concat(ae)),0===ie.children.length&&(K.xmlMode?!1!==K.selfClosingTags:K.selfClosingTags&&Z.has(ie.name))?(K.xmlMode||(he+=" "),he+="/>"):(he+=">",ie.children.length>0&&(he+=j(ie.children,K)),(K.xmlMode||!Z.has(ie.name))&&(he+="</".concat(ie.name,">"))),he}(ie,K);case C.Text:return function z(ie,K){var oe,he=ie.data||"";return!1!==(null!==(oe=K.encodeEntities)&&void 0!==oe?oe:K.decodeEntities)&&!(!K.xmlMode&&ie.parent&&B.has(ie.parent.name))&&(he=K.xmlMode||"utf8"!==K.encodeEntities?(0,D.encodeXML)(he):(0,D.escapeText)(he)),he}(ie,K)}}A.render=j,A.default=j;var re=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),W=new Set(["svg","math"])},3437:function(ve,A,I){"use strict";var T=this&&this.__createBinding||(Object.create?function(L,B,R,U){void 0===U&&(U=R);var Z=Object.getOwnPropertyDescriptor(B,R);(!Z||("get"in Z?!B.__esModule:Z.writable||Z.configurable))&&(Z={enumerable:!0,get:function(){return B[R]}}),Object.defineProperty(L,U,Z)}:function(L,B,R,U){void 0===U&&(U=R),L[U]=B[R]}),g=this&&this.__exportStar||function(L,B){for(var R in L)"default"!==R&&!Object.prototype.hasOwnProperty.call(B,R)&&T(B,L,R)};Object.defineProperty(A,"__esModule",{value:!0}),A.DomHandler=void 0;var y=I(6316),b=I(2105);g(I(2105),A);var C={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},D=function(){function L(B,R,U){this.dom=[],this.root=new b.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof R&&(U=R,R=C),"object"==typeof B&&(R=B,B=void 0),this.callback=B??null,this.options=R??C,this.elementCB=U??null}return L.prototype.onparserinit=function(B){this.parser=B},L.prototype.onreset=function(){this.dom=[],this.root=new b.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},L.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},L.prototype.onerror=function(B){this.handleCallback(B)},L.prototype.onclosetag=function(){this.lastNode=null;var B=this.tagStack.pop();this.options.withEndIndices&&(B.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(B)},L.prototype.onopentag=function(B,R){var Z=new b.Element(B,R,void 0,this.options.xmlMode?y.ElementType.Tag:void 0);this.addNode(Z),this.tagStack.push(Z)},L.prototype.ontext=function(B){var R=this.lastNode;if(R&&R.type===y.ElementType.Text)R.data+=B,this.options.withEndIndices&&(R.endIndex=this.parser.endIndex);else{var U=new b.Text(B);this.addNode(U),this.lastNode=U}},L.prototype.oncomment=function(B){if(this.lastNode&&this.lastNode.type===y.ElementType.Comment)this.lastNode.data+=B;else{var R=new b.Comment(B);this.addNode(R),this.lastNode=R}},L.prototype.oncommentend=function(){this.lastNode=null},L.prototype.oncdatastart=function(){var B=new b.Text(""),R=new b.CDATA([B]);this.addNode(R),B.parent=R,this.lastNode=B},L.prototype.oncdataend=function(){this.lastNode=null},L.prototype.onprocessinginstruction=function(B,R){var U=new b.ProcessingInstruction(B,R);this.addNode(U)},L.prototype.handleCallback=function(B){if("function"==typeof this.callback)this.callback(B,this.dom);else if(B)throw B},L.prototype.addNode=function(B){var R=this.tagStack[this.tagStack.length-1],U=R.children[R.children.length-1];this.options.withStartIndices&&(B.startIndex=this.parser.startIndex),this.options.withEndIndices&&(B.endIndex=this.parser.endIndex),R.children.push(B),U&&(B.prev=U,U.next=B),B.parent=R,this.lastNode=null},L}();A.DomHandler=D,A.default=D},2105:function(ve,A,I){"use strict";var K,T=this&&this.__extends||(K=function(oe,he){return(K=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ae,de){ae.__proto__=de}||function(ae,de){for(var me in de)Object.prototype.hasOwnProperty.call(de,me)&&(ae[me]=de[me])})(oe,he)},function(oe,he){if("function"!=typeof he&&null!==he)throw new TypeError("Class extends value "+String(he)+" is not a constructor or null");function ae(){this.constructor=oe}K(oe,he),oe.prototype=null===he?Object.create(he):(ae.prototype=he.prototype,new ae)}),g=this&&this.__assign||function(){return g=Object.assign||function(K){for(var oe,he=1,ae=arguments.length;he<ae;he++)for(var de in oe=arguments[he])Object.prototype.hasOwnProperty.call(oe,de)&&(K[de]=oe[de]);return K},g.apply(this,arguments)};Object.defineProperty(A,"__esModule",{value:!0}),A.cloneNode=A.hasChildren=A.isDocument=A.isDirective=A.isComment=A.isText=A.isCDATA=A.isTag=A.Element=A.Document=A.CDATA=A.NodeWithChildren=A.ProcessingInstruction=A.Comment=A.Text=A.DataNode=A.Node=void 0;var y=I(6316),b=function(){function K(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(K.prototype,"parentNode",{get:function(){return this.parent},set:function(oe){this.parent=oe},enumerable:!1,configurable:!0}),Object.defineProperty(K.prototype,"previousSibling",{get:function(){return this.prev},set:function(oe){this.prev=oe},enumerable:!1,configurable:!0}),Object.defineProperty(K.prototype,"nextSibling",{get:function(){return this.next},set:function(oe){this.next=oe},enumerable:!1,configurable:!0}),K.prototype.cloneNode=function(oe){return void 0===oe&&(oe=!1),le(this,oe)},K}();A.Node=b;var C=function(K){function oe(he){var ae=K.call(this)||this;return ae.data=he,ae}return T(oe,K),Object.defineProperty(oe.prototype,"nodeValue",{get:function(){return this.data},set:function(he){this.data=he},enumerable:!1,configurable:!0}),oe}(b);A.DataNode=C;var D=function(K){function oe(){var he=null!==K&&K.apply(this,arguments)||this;return he.type=y.ElementType.Text,he}return T(oe,K),Object.defineProperty(oe.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),oe}(C);A.Text=D;var L=function(K){function oe(){var he=null!==K&&K.apply(this,arguments)||this;return he.type=y.ElementType.Comment,he}return T(oe,K),Object.defineProperty(oe.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),oe}(C);A.Comment=L;var B=function(K){function oe(he,ae){var de=K.call(this,ae)||this;return de.name=he,de.type=y.ElementType.Directive,de}return T(oe,K),Object.defineProperty(oe.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),oe}(C);A.ProcessingInstruction=B;var R=function(K){function oe(he){var ae=K.call(this)||this;return ae.children=he,ae}return T(oe,K),Object.defineProperty(oe.prototype,"firstChild",{get:function(){var he;return null!==(he=this.children[0])&&void 0!==he?he:null},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"childNodes",{get:function(){return this.children},set:function(he){this.children=he},enumerable:!1,configurable:!0}),oe}(b);A.NodeWithChildren=R;var U=function(K){function oe(){var he=null!==K&&K.apply(this,arguments)||this;return he.type=y.ElementType.CDATA,he}return T(oe,K),Object.defineProperty(oe.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),oe}(R);A.CDATA=U;var Z=function(K){function oe(){var he=null!==K&&K.apply(this,arguments)||this;return he.type=y.ElementType.Root,he}return T(oe,K),Object.defineProperty(oe.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),oe}(R);A.Document=Z;var j=function(K){function oe(he,ae,de,me){void 0===de&&(de=[]),void 0===me&&(me="script"===he?y.ElementType.Script:"style"===he?y.ElementType.Style:y.ElementType.Tag);var ge=K.call(this,de)||this;return ge.name=he,ge.attribs=ae,ge.type=me,ge}return T(oe,K),Object.defineProperty(oe.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"tagName",{get:function(){return this.name},set:function(he){this.name=he},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"attributes",{get:function(){var he=this;return Object.keys(this.attribs).map(function(ae){var de,me;return{name:ae,value:he.attribs[ae],namespace:null===(de=he["x-attribsNamespace"])||void 0===de?void 0:de[ae],prefix:null===(me=he["x-attribsPrefix"])||void 0===me?void 0:me[ae]}})},enumerable:!1,configurable:!0}),oe}(R);function V(K){return(0,y.isTag)(K)}function re(K){return K.type===y.ElementType.CDATA}function W(K){return K.type===y.ElementType.Text}function ne(K){return K.type===y.ElementType.Comment}function G(K){return K.type===y.ElementType.Directive}function z(K){return K.type===y.ElementType.Root}function le(K,oe){var he;if(void 0===oe&&(oe=!1),W(K))he=new D(K.data);else if(ne(K))he=new L(K.data);else if(V(K)){var ae=oe?ie(K.children):[],de=new j(K.name,g({},K.attribs),ae);ae.forEach(function(ze){return ze.parent=de}),null!=K.namespace&&(de.namespace=K.namespace),K["x-attribsNamespace"]&&(de["x-attribsNamespace"]=g({},K["x-attribsNamespace"])),K["x-attribsPrefix"]&&(de["x-attribsPrefix"]=g({},K["x-attribsPrefix"])),he=de}else if(re(K)){ae=oe?ie(K.children):[];var me=new U(ae);ae.forEach(function(Re){return Re.parent=me}),he=me}else if(z(K)){ae=oe?ie(K.children):[];var ge=new Z(ae);ae.forEach(function(Re){return Re.parent=ge}),K["x-mode"]&&(ge["x-mode"]=K["x-mode"]),he=ge}else{if(!G(K))throw new Error("Not implemented yet: ".concat(K.type));var we=new B(K.name,K.data);null!=K["x-name"]&&(we["x-name"]=K["x-name"],we["x-publicId"]=K["x-publicId"],we["x-systemId"]=K["x-systemId"]),he=we}return he.startIndex=K.startIndex,he.endIndex=K.endIndex,null!=K.sourceCodeLocation&&(he.sourceCodeLocation=K.sourceCodeLocation),he}function ie(K){for(var oe=K.map(function(ae){return le(ae,!0)}),he=1;he<oe.length;he++)oe[he].prev=oe[he-1],oe[he-1].next=oe[he];return oe}A.Element=j,A.isTag=V,A.isCDATA=re,A.isText=W,A.isComment=ne,A.isDirective=G,A.isDocument=z,A.hasChildren=function ce(K){return Object.prototype.hasOwnProperty.call(K,"children")},A.cloneNode=le},4477:(ve,A,I)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.getFeed=void 0;var T=I(8149),g=I(4279);A.getFeed=function y(V){var re=R(j,V);return re?"feed"===re.name?function b(V){var re,W=V.children,ne={type:"atom",items:(0,g.getElementsByTagName)("entry",W).map(function(ce){var le,ie=ce.children,K={media:B(ie)};Z(K,"id","id",ie),Z(K,"title","title",ie);var oe=null===(le=R("link",ie))||void 0===le?void 0:le.attribs.href;oe&&(K.link=oe);var he=U("summary",ie)||U("content",ie);he&&(K.description=he);var ae=U("updated",ie);return ae&&(K.pubDate=new Date(ae)),K})};Z(ne,"id","id",W),Z(ne,"title","title",W);var G=null===(re=R("link",W))||void 0===re?void 0:re.attribs.href;G&&(ne.link=G),Z(ne,"description","subtitle",W);var z=U("updated",W);return z&&(ne.updated=new Date(z)),Z(ne,"author","email",W,!0),ne}(re):function C(V){var re,W,ne=null!==(W=null===(re=R("channel",V.children))||void 0===re?void 0:re.children)&&void 0!==W?W:[],G={type:V.name.substr(0,3),id:"",items:(0,g.getElementsByTagName)("item",V.children).map(function(ce){var le=ce.children,ie={media:B(le)};Z(ie,"id","guid",le),Z(ie,"title","title",le),Z(ie,"link","link",le),Z(ie,"description","description",le);var K=U("pubDate",le);return K&&(ie.pubDate=new Date(K)),ie})};Z(G,"title","title",ne),Z(G,"link","link",ne),Z(G,"description","description",ne);var z=U("lastBuildDate",ne);return z&&(G.updated=new Date(z)),Z(G,"author","managingEditor",ne,!0),G}(re):null};var D=["url","type","lang"],L=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function B(V){return(0,g.getElementsByTagName)("media:content",V).map(function(re){for(var W=re.attribs,ne={medium:W.medium,isDefault:!!W.isDefault},G=0,z=D;G<z.length;G++)W[ce=z[G]]&&(ne[ce]=W[ce]);for(var le=0,ie=L;le<ie.length;le++){var ce;W[ce=ie[le]]&&(ne[ce]=parseInt(W[ce],10))}return W.expression&&(ne.expression=W.expression),ne})}function R(V,re){return(0,g.getElementsByTagName)(V,re,!0,1)[0]}function U(V,re,W){return void 0===W&&(W=!1),(0,T.textContent)((0,g.getElementsByTagName)(V,re,W,1)).trim()}function Z(V,re,W,ne,G){void 0===G&&(G=!1);var z=U(W,ne,G);z&&(V[re]=z)}function j(V){return"rss"===V||"feed"===V||"rdf:RDF"===V}},863:(ve,A,I)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.uniqueSort=A.compareDocumentPosition=A.DocumentPosition=A.removeSubsets=void 0;var y,D,T=I(3437);function b(D,L){var B=[],R=[];if(D===L)return 0;for(var U=(0,T.hasChildren)(D)?D:D.parent;U;)B.unshift(U),U=U.parent;for(U=(0,T.hasChildren)(L)?L:L.parent;U;)R.unshift(U),U=U.parent;for(var Z=Math.min(B.length,R.length),j=0;j<Z&&B[j]===R[j];)j++;if(0===j)return y.DISCONNECTED;var V=B[j-1],re=V.children,ne=R[j];return re.indexOf(B[j])>re.indexOf(ne)?V===L?y.FOLLOWING|y.CONTAINED_BY:y.FOLLOWING:V===D?y.PRECEDING|y.CONTAINS:y.PRECEDING}A.removeSubsets=function g(D){for(var L=D.length;--L>=0;){var B=D[L];if(L>0&&D.lastIndexOf(B,L-1)>=0)D.splice(L,1);else for(var R=B.parent;R;R=R.parent)if(D.includes(R)){D.splice(L,1);break}}return D},(D=y=A.DocumentPosition||(A.DocumentPosition={}))[D.DISCONNECTED=1]="DISCONNECTED",D[D.PRECEDING=2]="PRECEDING",D[D.FOLLOWING=4]="FOLLOWING",D[D.CONTAINS=8]="CONTAINS",D[D.CONTAINED_BY=16]="CONTAINED_BY",A.compareDocumentPosition=b,A.uniqueSort=function C(D){return(D=D.filter(function(L,B,R){return!R.includes(L,B+1)})).sort(function(L,B){var R=b(L,B);return R&y.PRECEDING?-1:R&y.FOLLOWING?1:0}),D}},5722:function(ve,A,I){"use strict";var T=this&&this.__createBinding||(Object.create?function(b,C,D,L){void 0===L&&(L=D);var B=Object.getOwnPropertyDescriptor(C,D);(!B||("get"in B?!C.__esModule:B.writable||B.configurable))&&(B={enumerable:!0,get:function(){return C[D]}}),Object.defineProperty(b,L,B)}:function(b,C,D,L){void 0===L&&(L=D),b[L]=C[D]}),g=this&&this.__exportStar||function(b,C){for(var D in b)"default"!==D&&!Object.prototype.hasOwnProperty.call(C,D)&&T(C,b,D)};Object.defineProperty(A,"__esModule",{value:!0}),A.hasChildren=A.isDocument=A.isComment=A.isText=A.isCDATA=A.isTag=void 0,g(I(8149),A),g(I(74),A),g(I(6180),A),g(I(2206),A),g(I(4279),A),g(I(863),A),g(I(4477),A);var y=I(3437);Object.defineProperty(A,"isTag",{enumerable:!0,get:function(){return y.isTag}}),Object.defineProperty(A,"isCDATA",{enumerable:!0,get:function(){return y.isCDATA}}),Object.defineProperty(A,"isText",{enumerable:!0,get:function(){return y.isText}}),Object.defineProperty(A,"isComment",{enumerable:!0,get:function(){return y.isComment}}),Object.defineProperty(A,"isDocument",{enumerable:!0,get:function(){return y.isDocument}}),Object.defineProperty(A,"hasChildren",{enumerable:!0,get:function(){return y.hasChildren}})},4279:(ve,A,I)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.getElementsByTagType=A.getElementsByTagName=A.getElementById=A.getElements=A.testElement=void 0;var T=I(3437),g=I(2206),y={tag_name:function(j){return"function"==typeof j?function(V){return(0,T.isTag)(V)&&j(V.name)}:"*"===j?T.isTag:function(V){return(0,T.isTag)(V)&&V.name===j}},tag_type:function(j){return"function"==typeof j?function(V){return j(V.type)}:function(V){return V.type===j}},tag_contains:function(j){return"function"==typeof j?function(V){return(0,T.isText)(V)&&j(V.data)}:function(V){return(0,T.isText)(V)&&V.data===j}}};function b(j,V){return"function"==typeof V?function(re){return(0,T.isTag)(re)&&V(re.attribs[j])}:function(re){return(0,T.isTag)(re)&&re.attribs[j]===V}}function C(j,V){return function(re){return j(re)||V(re)}}function D(j){var V=Object.keys(j).map(function(re){var W=j[re];return Object.prototype.hasOwnProperty.call(y,re)?y[re](W):b(re,W)});return 0===V.length?null:V.reduce(C)}A.testElement=function L(j,V){var re=D(j);return!re||re(V)},A.getElements=function B(j,V,re,W){void 0===W&&(W=1/0);var ne=D(j);return ne?(0,g.filter)(ne,V,re,W):[]},A.getElementById=function R(j,V,re){return void 0===re&&(re=!0),Array.isArray(V)||(V=[V]),(0,g.findOne)(b("id",j),V,re)},A.getElementsByTagName=function U(j,V,re,W){return void 0===re&&(re=!0),void 0===W&&(W=1/0),(0,g.filter)(y.tag_name(j),V,re,W)},A.getElementsByTagType=function Z(j,V,re,W){return void 0===re&&(re=!0),void 0===W&&(W=1/0),(0,g.filter)(y.tag_type(j),V,re,W)}},6180:(ve,A)=>{"use strict";function I(D){if(D.prev&&(D.prev.next=D.next),D.next&&(D.next.prev=D.prev),D.parent){var L=D.parent.children;L.splice(L.lastIndexOf(D),1)}}Object.defineProperty(A,"__esModule",{value:!0}),A.prepend=A.prependChild=A.append=A.appendChild=A.replaceElement=A.removeElement=void 0,A.removeElement=I,A.replaceElement=function T(D,L){var B=L.prev=D.prev;B&&(B.next=L);var R=L.next=D.next;R&&(R.prev=L);var U=L.parent=D.parent;if(U){var Z=U.children;Z[Z.lastIndexOf(D)]=L,D.parent=null}},A.appendChild=function g(D,L){if(I(L),L.next=null,L.parent=D,D.children.push(L)>1){var B=D.children[D.children.length-2];B.next=L,L.prev=B}else L.prev=null},A.append=function y(D,L){I(L);var B=D.parent,R=D.next;if(L.next=R,L.prev=D,D.next=L,L.parent=B,R){if(R.prev=L,B){var U=B.children;U.splice(U.lastIndexOf(R),0,L)}}else B&&B.children.push(L)},A.prependChild=function b(D,L){if(I(L),L.parent=D,L.prev=null,1!==D.children.unshift(L)){var B=D.children[1];B.prev=L,L.next=B}else L.next=null},A.prepend=function C(D,L){I(L);var B=D.parent;if(B){var R=B.children;R.splice(R.indexOf(D),0,L)}D.prev&&(D.prev.next=L),L.parent=B,L.prev=D.prev,L.next=D,D.prev=L}},2206:(ve,A,I)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.findAll=A.existsOne=A.findOne=A.findOneChild=A.find=A.filter=void 0;var T=I(3437);function y(B,R,U,Z){for(var j=[],V=0,re=R;V<re.length;V++){var W=re[V];if(B(W)&&(j.push(W),--Z<=0))break;if(U&&(0,T.hasChildren)(W)&&W.children.length>0){var ne=y(B,W.children,U,Z);if(j.push.apply(j,ne),(Z-=ne.length)<=0)break}}return j}A.filter=function g(B,R,U,Z){return void 0===U&&(U=!0),void 0===Z&&(Z=1/0),Array.isArray(R)||(R=[R]),y(B,R,U,Z)},A.find=y,A.findOneChild=function b(B,R){return R.find(B)},A.findOne=function C(B,R,U){void 0===U&&(U=!0);for(var Z=null,j=0;j<R.length&&!Z;j++){var V=R[j];(0,T.isTag)(V)&&(B(V)?Z=V:U&&V.children.length>0&&(Z=C(B,V.children,!0)))}return Z},A.existsOne=function D(B,R){return R.some(function(U){return(0,T.isTag)(U)&&(B(U)||U.children.length>0&&D(B,U.children))})},A.findAll=function L(B,R){for(var U,V,Z=[],j=R.filter(T.isTag);V=j.shift();){var re=null===(U=V.children)||void 0===U?void 0:U.filter(T.isTag);re&&re.length>0&&j.unshift.apply(j,re),B(V)&&Z.push(V)}return Z}},8149:function(ve,A,I){"use strict";var T=this&&this.__importDefault||function(U){return U&&U.__esModule?U:{default:U}};Object.defineProperty(A,"__esModule",{value:!0}),A.innerText=A.textContent=A.getText=A.getInnerHTML=A.getOuterHTML=void 0;var g=I(3437),y=T(I(1175)),b=I(6316);function C(U,Z){return(0,y.default)(U,Z)}A.getOuterHTML=C,A.getInnerHTML=function D(U,Z){return(0,g.hasChildren)(U)?U.children.map(function(j){return C(j,Z)}).join(""):""},A.getText=function L(U){return Array.isArray(U)?U.map(L).join(""):(0,g.isTag)(U)?"br"===U.name?"\n":L(U.children):(0,g.isCDATA)(U)?L(U.children):(0,g.isText)(U)?U.data:""},A.textContent=function B(U){return Array.isArray(U)?U.map(B).join(""):(0,g.hasChildren)(U)&&!(0,g.isComment)(U)?B(U.children):(0,g.isText)(U)?U.data:""},A.innerText=function R(U){return Array.isArray(U)?U.map(R).join(""):(0,g.hasChildren)(U)&&(U.type===b.ElementType.Tag||(0,g.isCDATA)(U))?R(U.children):(0,g.isText)(U)?U.data:""}},74:(ve,A,I)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.prevElementSibling=A.nextElementSibling=A.getName=A.hasAttrib=A.getAttributeValue=A.getSiblings=A.getParent=A.getChildren=void 0;var T=I(3437);function g(U){return(0,T.hasChildren)(U)?U.children:[]}function y(U){return U.parent||null}A.getChildren=g,A.getParent=y,A.getSiblings=function b(U){var V=y(U);if(null!=V)return g(V);for(var re=[U],W=U.prev,ne=U.next;null!=W;)re.unshift(W),W=W.prev;for(;null!=ne;)re.push(ne),ne=ne.next;return re},A.getAttributeValue=function C(U,Z){var j;return null===(j=U.attribs)||void 0===j?void 0:j[Z]},A.hasAttrib=function D(U,Z){return null!=U.attribs&&Object.prototype.hasOwnProperty.call(U.attribs,Z)&&null!=U.attribs[Z]},A.getName=function L(U){return U.name},A.nextElementSibling=function B(U){for(var j=U.next;null!==j&&!(0,T.isTag)(j);)j=j.next;return j},A.prevElementSibling=function R(U){for(var j=U.prev;null!==j&&!(0,T.isTag)(j);)j=j.prev;return j}},6569:function(ve,A,I){"use strict";var T=this&&this.__importDefault||function(W){return W&&W.__esModule?W:{default:W}};Object.defineProperty(A,"__esModule",{value:!0}),A.decodeXML=A.decodeHTMLStrict=A.decodeHTML=A.determineBranch=A.BinTrieFlags=A.fromCodePoint=A.replaceCodePoint=A.decodeCodePoint=A.xmlDecodeTree=A.htmlDecodeTree=void 0;var g=T(I(1575));A.htmlDecodeTree=g.default;var y=T(I(9704));A.xmlDecodeTree=y.default;var b=T(I(3906));A.decodeCodePoint=b.default;var C=I(3906);Object.defineProperty(A,"replaceCodePoint",{enumerable:!0,get:function(){return C.replaceCodePoint}}),Object.defineProperty(A,"fromCodePoint",{enumerable:!0,get:function(){return C.fromCodePoint}});var L,W,D=(()=>{return(W=D||(D={}))[W.NUM=35]="NUM",W[W.SEMI=59]="SEMI",W[W.ZERO=48]="ZERO",W[W.NINE=57]="NINE",W[W.LOWER_A=97]="LOWER_A",W[W.LOWER_F=102]="LOWER_F",W[W.LOWER_X=120]="LOWER_X",W[W.To_LOWER_BIT=32]="To_LOWER_BIT",D;var W})();function B(W){return function(G,z){for(var ce="",le=0,ie=0;(ie=G.indexOf("&",ie))>=0;)if(ce+=G.slice(le,ie),le=ie,G.charCodeAt(ie+=1)!==D.NUM){for(var me=0,ge=1,we=0,ze=W[we];ie<G.length&&!((we=R(W,ze,we+1,G.charCodeAt(ie)))<0);ie++,ge++){var Re=(ze=W[we])&L.VALUE_LENGTH;if(Re){if((!z||G.charCodeAt(ie)===D.SEMI)&&(me=we,ge=0),0==(st=(Re>>14)-1))break;we+=st}}var st;0!==me&&(ce+=1==(st=(W[me]&L.VALUE_LENGTH)>>14)?String.fromCharCode(W[me]&~L.VALUE_LENGTH):2===st?String.fromCharCode(W[me+1]):String.fromCharCode(W[me+1],W[me+2]),le=ie-ge+1)}else{var K=ie+1,oe=10,he=G.charCodeAt(K);(he|D.To_LOWER_BIT)===D.LOWER_X&&(oe=16,ie+=1,K+=1);do{he=G.charCodeAt(++ie)}while(he>=D.ZERO&&he<=D.NINE||16===oe&&(he|D.To_LOWER_BIT)>=D.LOWER_A&&(he|D.To_LOWER_BIT)<=D.LOWER_F);if(K!==ie){var ae=G.substring(K,ie),de=parseInt(ae,oe);if(G.charCodeAt(ie)===D.SEMI)ie+=1;else if(z)continue;ce+=(0,b.default)(de),le=ie}}return ce+G.slice(le)}}function R(W,ne,G,z){var ce=(ne&L.BRANCH_LENGTH)>>7,le=ne&L.JUMP_TABLE;if(0===ce)return 0!==le&&z===le?G:-1;if(le){var ie=z-le;return ie<0||ie>=ce?-1:W[G+ie]-1}for(var K=G,oe=K+ce-1;K<=oe;){var he=K+oe>>>1,ae=W[he];if(ae<z)K=he+1;else{if(!(ae>z))return W[he+ce];oe=he-1}}return-1}(W=L=A.BinTrieFlags||(A.BinTrieFlags={}))[W.VALUE_LENGTH=49152]="VALUE_LENGTH",W[W.BRANCH_LENGTH=16256]="BRANCH_LENGTH",W[W.JUMP_TABLE=127]="JUMP_TABLE",A.determineBranch=R;var U=B(g.default),Z=B(y.default);A.decodeHTML=function j(W){return U(W,!1)},A.decodeHTMLStrict=function V(W){return U(W,!0)},A.decodeXML=function re(W){return Z(W,!0)}},3906:(ve,A)=>{"use strict";var I;Object.defineProperty(A,"__esModule",{value:!0}),A.replaceCodePoint=A.fromCodePoint=void 0;var T=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function g(b){var C;return b>=55296&&b<=57343||b>1114111?65533:null!==(C=T.get(b))&&void 0!==C?C:b}A.fromCodePoint=null!==(I=String.fromCodePoint)&&void 0!==I?I:function(b){var C="";return b>65535&&(b-=65536,C+=String.fromCharCode(b>>>10&1023|55296),b=56320|1023&b),C+String.fromCharCode(b)},A.replaceCodePoint=g,A.default=function y(b){return(0,A.fromCodePoint)(g(b))}},6836:function(ve,A,I){"use strict";var T=this&&this.__importDefault||function(B){return B&&B.__esModule?B:{default:B}};Object.defineProperty(A,"__esModule",{value:!0}),A.encodeNonAsciiHTML=A.encodeHTML=void 0;var g=T(I(5754)),y=I(681),b=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function L(B,R){for(var j,U="",Z=0;null!==(j=B.exec(R));){var V=j.index;U+=R.substring(Z,V);var re=R.charCodeAt(V),W=g.default.get(re);if("object"==typeof W){if(V+1<R.length){var ne=R.charCodeAt(V+1),G="number"==typeof W.n?W.n===ne?W.o:void 0:W.n.get(ne);if(void 0!==G){U+=G,Z=B.lastIndex+=1;continue}}W=W.v}if(void 0!==W)U+=W,Z=V+1;else{var z=(0,y.getCodePoint)(R,V);U+="&#x".concat(z.toString(16),";"),Z=B.lastIndex+=Number(z!==re)}}return U+R.substr(Z)}A.encodeHTML=function C(B){return L(b,B)},A.encodeNonAsciiHTML=function D(B){return L(y.xmlReplacer,B)}},681:(ve,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.escapeText=A.escapeAttribute=A.escapeUTF8=A.escape=A.encodeXML=A.getCodePoint=A.xmlReplacer=void 0,A.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var I=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]);function T(y){for(var D,b="",C=0;null!==(D=A.xmlReplacer.exec(y));){var L=D.index,B=y.charCodeAt(L),R=I.get(B);void 0!==R?(b+=y.substring(C,L)+R,C=L+1):(b+="".concat(y.substring(C,L),"&#x").concat((0,A.getCodePoint)(y,L).toString(16),";"),C=A.xmlReplacer.lastIndex+=Number(55296==(64512&B)))}return b+y.substr(C)}function g(y,b){return function(D){for(var L,B=0,R="";L=y.exec(D);)B!==L.index&&(R+=D.substring(B,L.index)),R+=b.get(L[0].charCodeAt(0)),B=L.index+1;return R+D.substring(B)}}A.getCodePoint=null!=String.prototype.codePointAt?function(y,b){return y.codePointAt(b)}:function(y,b){return 55296==(64512&y.charCodeAt(b))?1024*(y.charCodeAt(b)-55296)+y.charCodeAt(b+1)-56320+65536:y.charCodeAt(b)},A.encodeXML=T,A.escape=T,A.escapeUTF8=g(/[&<>'"]/g,I),A.escapeAttribute=g(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),A.escapeText=g(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]))},1575:(ve,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.default=new Uint16Array('\u1d41<\xd5\u0131\u028a\u049d\u057b\u05d0\u0675\u06de\u07a2\u07d6\u080f\u0a4a\u0a91\u0da1\u0e6d\u0f09\u0f26\u10ca\u1228\u12e1\u1415\u149d\u14c3\u14df\u1525\0\0\0\0\0\0\u156b\u16cd\u198d\u1c12\u1ddd\u1f7e\u2060\u21b0\u228d\u23c0\u23fb\u2442\u2824\u2912\u2d08\u2e48\u2fce\u3016\u32ba\u3639\u37ac\u38fe\u3a28\u3a71\u3ae0\u3b2e\u0800EMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcflig\u803b\xc6\u40c6P\u803b&\u4026cute\u803b\xc1\u40c1reve;\u4102\u0100iyx}rc\u803b\xc2\u40c2;\u4410r;\uc000\u{1d504}rave\u803b\xc0\u40c0pha;\u4391acr;\u4100d;\u6a53\u0100gp\x9d\xa1on;\u4104f;\uc000\u{1d538}plyFunction;\u6061ing\u803b\xc5\u40c5\u0100cs\xbe\xc3r;\uc000\u{1d49c}ign;\u6254ilde\u803b\xc3\u40c3ml\u803b\xc4\u40c4\u0400aceforsu\xe5\xfb\xfe\u0117\u011c\u0122\u0127\u012a\u0100cr\xea\xf2kslash;\u6216\u0176\xf6\xf8;\u6ae7ed;\u6306y;\u4411\u0180crt\u0105\u010b\u0114ause;\u6235noullis;\u612ca;\u4392r;\uc000\u{1d505}pf;\uc000\u{1d539}eve;\u42d8c\xf2\u0113mpeq;\u624e\u0700HOacdefhilorsu\u014d\u0151\u0156\u0180\u019e\u01a2\u01b5\u01b7\u01ba\u01dc\u0215\u0273\u0278\u027ecy;\u4427PY\u803b\xa9\u40a9\u0180cpy\u015d\u0162\u017aute;\u4106\u0100;i\u0167\u0168\u62d2talDifferentialD;\u6145leys;\u612d\u0200aeio\u0189\u018e\u0194\u0198ron;\u410cdil\u803b\xc7\u40c7rc;\u4108nint;\u6230ot;\u410a\u0100dn\u01a7\u01adilla;\u40b8terDot;\u40b7\xf2\u017fi;\u43a7rcle\u0200DMPT\u01c7\u01cb\u01d1\u01d6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01e2\u01f8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020foubleQuote;\u601duote;\u6019\u0200lnpu\u021e\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6a74\u0180git\u022f\u0236\u023aruent;\u6261nt;\u622fourIntegral;\u622e\u0100fr\u024c\u024e;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6a2fcr;\uc000\u{1d49e}p\u0100;C\u0284\u0285\u62d3ap;\u624d\u0580DJSZacefios\u02a0\u02ac\u02b0\u02b4\u02b8\u02cb\u02d7\u02e1\u02e6\u0333\u048d\u0100;o\u0179\u02a5trahd;\u6911cy;\u4402cy;\u4405cy;\u440f\u0180grs\u02bf\u02c4\u02c7ger;\u6021r;\u61a1hv;\u6ae4\u0100ay\u02d0\u02d5ron;\u410e;\u4414l\u0100;t\u02dd\u02de\u6207a;\u4394r;\uc000\u{1d507}\u0100af\u02eb\u0327\u0100cm\u02f0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031ccute;\u40b4o\u0174\u030b\u030d;\u42d9bleAcute;\u42ddrave;\u4060ilde;\u42dcond;\u62c4ferentialD;\u6146\u0470\u033d\0\0\0\u0342\u0354\0\u0405f;\uc000\u{1d53b}\u0180;DE\u0348\u0349\u034d\u40a8ot;\u60dcqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03cf\u03e2\u03f8ontourIntegra\xec\u0239o\u0274\u0379\0\0\u037b\xbb\u0349nArrow;\u61d3\u0100eo\u0387\u03a4ft\u0180ART\u0390\u0396\u03a1rrow;\u61d0ightArrow;\u61d4e\xe5\u02cang\u0100LR\u03ab\u03c4eft\u0100AR\u03b3\u03b9rrow;\u67f8ightArrow;\u67faightArrow;\u67f9ight\u0100AT\u03d8\u03derrow;\u61d2ee;\u62a8p\u0241\u03e9\0\0\u03efrrow;\u61d1ownArrow;\u61d5erticalBar;\u6225n\u0300ABLRTa\u0412\u042a\u0430\u045e\u047f\u037crrow\u0180;BU\u041d\u041e\u0422\u6193ar;\u6913pArrow;\u61f5reve;\u4311eft\u02d2\u043a\0\u0446\0\u0450ightVector;\u6950eeVector;\u695eector\u0100;B\u0459\u045a\u61bdar;\u6956ight\u01d4\u0467\0\u0471eeVector;\u695fector\u0100;B\u047a\u047b\u61c1ar;\u6957ee\u0100;A\u0486\u0487\u62a4rrow;\u61a7\u0100ct\u0492\u0497r;\uc000\u{1d49f}rok;\u4110\u0800NTacdfglmopqstux\u04bd\u04c0\u04c4\u04cb\u04de\u04e2\u04e7\u04ee\u04f5\u0521\u052f\u0536\u0552\u055d\u0560\u0565G;\u414aH\u803b\xd0\u40d0cute\u803b\xc9\u40c9\u0180aiy\u04d2\u04d7\u04dcron;\u411arc\u803b\xca\u40ca;\u442dot;\u4116r;\uc000\u{1d508}rave\u803b\xc8\u40c8ement;\u6208\u0100ap\u04fa\u04fecr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65fberySmallSquare;\u65ab\u0100gp\u0526\u052aon;\u4118f;\uc000\u{1d53c}silon;\u4395u\u0100ai\u053c\u0549l\u0100;T\u0542\u0543\u6a75ilde;\u6242librium;\u61cc\u0100ci\u0557\u055ar;\u6130m;\u6a73a;\u4397ml\u803b\xcb\u40cb\u0100ip\u056a\u056fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058d\u05b2\u05ccy;\u4424r;\uc000\u{1d509}lled\u0253\u0597\0\0\u05a3mallSquare;\u65fcerySmallSquare;\u65aa\u0370\u05ba\0\u05bf\0\0\u05c4f;\uc000\u{1d53d}All;\u6200riertrf;\u6131c\xf2\u05cb\u0600JTabcdfgorst\u05e8\u05ec\u05ef\u05fa\u0600\u0612\u0616\u061b\u061d\u0623\u066c\u0672cy;\u4403\u803b>\u403emma\u0100;d\u05f7\u05f8\u4393;\u43dcreve;\u411e\u0180eiy\u0607\u060c\u0610dil;\u4122rc;\u411c;\u4413ot;\u4120r;\uc000\u{1d50a};\u62d9pf;\uc000\u{1d53e}eater\u0300EFGLST\u0635\u0644\u064e\u0656\u065b\u0666qual\u0100;L\u063e\u063f\u6265ess;\u62dbullEqual;\u6267reater;\u6aa2ess;\u6277lantEqual;\u6a7eilde;\u6273cr;\uc000\u{1d4a2};\u626b\u0400Aacfiosu\u0685\u068b\u0696\u069b\u069e\u06aa\u06be\u06caRDcy;\u442a\u0100ct\u0690\u0694ek;\u42c7;\u405eirc;\u4124r;\u610clbertSpace;\u610b\u01f0\u06af\0\u06b2f;\u610dizontalLine;\u6500\u0100ct\u06c3\u06c5\xf2\u06a9rok;\u4126mp\u0144\u06d0\u06d8ownHum\xf0\u012fqual;\u624f\u0700EJOacdfgmnostu\u06fa\u06fe\u0703\u0707\u070e\u071a\u071e\u0721\u0728\u0744\u0778\u078b\u078f\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803b\xcd\u40cd\u0100iy\u0713\u0718rc\u803b\xce\u40ce;\u4418ot;\u4130r;\u6111rave\u803b\xcc\u40cc\u0180;ap\u0720\u072f\u073f\u0100cg\u0734\u0737r;\u412ainaryI;\u6148lie\xf3\u03dd\u01f4\u0749\0\u0762\u0100;e\u074d\u074e\u622c\u0100gr\u0753\u0758ral;\u622bsection;\u62c2isible\u0100CT\u076c\u0772omma;\u6063imes;\u6062\u0180gpt\u077f\u0783\u0788on;\u412ef;\uc000\u{1d540}a;\u4399cr;\u6110ilde;\u4128\u01eb\u079a\0\u079ecy;\u4406l\u803b\xcf\u40cf\u0280cfosu\u07ac\u07b7\u07bc\u07c2\u07d0\u0100iy\u07b1\u07b5rc;\u4134;\u4419r;\uc000\u{1d50d}pf;\uc000\u{1d541}\u01e3\u07c7\0\u07ccr;\uc000\u{1d4a5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07e4\u07e8\u07ec\u07f1\u07fd\u0802\u0808cy;\u4425cy;\u440cppa;\u439a\u0100ey\u07f6\u07fbdil;\u4136;\u441ar;\uc000\u{1d50e}pf;\uc000\u{1d542}cr;\uc000\u{1d4a6}\u0580JTaceflmost\u0825\u0829\u082c\u0850\u0863\u09b3\u09b8\u09c7\u09cd\u0a37\u0a47cy;\u4409\u803b<\u403c\u0280cmnpr\u0837\u083c\u0841\u0844\u084dute;\u4139bda;\u439bg;\u67ealacetrf;\u6112r;\u619e\u0180aey\u0857\u085c\u0861ron;\u413ddil;\u413b;\u441b\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087e\u08a9\u08b1\u08e0\u08e6\u08fc\u092f\u095b\u0390\u096a\u0100nr\u0883\u088fgleBracket;\u67e8row\u0180;BR\u0899\u089a\u089e\u6190ar;\u61e4ightArrow;\u61c6eiling;\u6308o\u01f5\u08b7\0\u08c3bleBracket;\u67e6n\u01d4\u08c8\0\u08d2eeVector;\u6961ector\u0100;B\u08db\u08dc\u61c3ar;\u6959loor;\u630aight\u0100AV\u08ef\u08f5rrow;\u6194ector;\u694e\u0100er\u0901\u0917e\u0180;AV\u0909\u090a\u0910\u62a3rrow;\u61a4ector;\u695aiangle\u0180;BE\u0924\u0925\u0929\u62b2ar;\u69cfqual;\u62b4p\u0180DTV\u0937\u0942\u094cownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61bfar;\u6958ector\u0100;B\u0965\u0966\u61bcar;\u6952ight\xe1\u039cs\u0300EFGLST\u097e\u098b\u0995\u099d\u09a2\u09adqualGreater;\u62daullEqual;\u6266reater;\u6276ess;\u6aa1lantEqual;\u6a7dilde;\u6272r;\uc000\u{1d50f}\u0100;e\u09bd\u09be\u62d8ftarrow;\u61daidot;\u413f\u0180npw\u09d4\u0a16\u0a1bg\u0200LRlr\u09de\u09f7\u0a02\u0a10eft\u0100AR\u09e6\u09ecrrow;\u67f5ightArrow;\u67f7ightArrow;\u67f6eft\u0100ar\u03b3\u0a0aight\xe1\u03bfight\xe1\u03caf;\uc000\u{1d543}er\u0100LR\u0a22\u0a2ceftArrow;\u6199ightArrow;\u6198\u0180cht\u0a3e\u0a40\u0a42\xf2\u084c;\u61b0rok;\u4141;\u626a\u0400acefiosu\u0a5a\u0a5d\u0a60\u0a77\u0a7c\u0a85\u0a8b\u0a8ep;\u6905y;\u441c\u0100dl\u0a65\u0a6fiumSpace;\u605flintrf;\u6133r;\uc000\u{1d510}nusPlus;\u6213pf;\uc000\u{1d544}c\xf2\u0a76;\u439c\u0480Jacefostu\u0aa3\u0aa7\u0aad\u0ac0\u0b14\u0b19\u0d91\u0d97\u0d9ecy;\u440acute;\u4143\u0180aey\u0ab4\u0ab9\u0aberon;\u4147dil;\u4145;\u441d\u0180gsw\u0ac7\u0af0\u0b0eative\u0180MTV\u0ad3\u0adf\u0ae8ediumSpace;\u600bhi\u0100cn\u0ae6\u0ad8\xeb\u0ad9eryThi\xee\u0ad9ted\u0100GL\u0af8\u0b06reaterGreate\xf2\u0673essLes\xf3\u0a48Line;\u400ar;\uc000\u{1d511}\u0200Bnpt\u0b22\u0b28\u0b37\u0b3areak;\u6060BreakingSpace;\u40a0f;\u6115\u0680;CDEGHLNPRSTV\u0b55\u0b56\u0b6a\u0b7c\u0ba1\u0beb\u0c04\u0c5e\u0c84\u0ca6\u0cd8\u0d61\u0d85\u6aec\u0100ou\u0b5b\u0b64ngruent;\u6262pCap;\u626doubleVerticalBar;\u6226\u0180lqx\u0b83\u0b8a\u0b9bement;\u6209ual\u0100;T\u0b92\u0b93\u6260ilde;\uc000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0bb6\u0bb7\u0bbd\u0bc9\u0bd3\u0bd8\u0be5\u626fqual;\u6271ullEqual;\uc000\u2267\u0338reater;\uc000\u226b\u0338ess;\u6279lantEqual;\uc000\u2a7e\u0338ilde;\u6275ump\u0144\u0bf2\u0bfdownHump;\uc000\u224e\u0338qual;\uc000\u224f\u0338e\u0100fs\u0c0a\u0c27tTriangle\u0180;BE\u0c1a\u0c1b\u0c21\u62eaar;\uc000\u29cf\u0338qual;\u62ecs\u0300;EGLST\u0c35\u0c36\u0c3c\u0c44\u0c4b\u0c58\u626equal;\u6270reater;\u6278ess;\uc000\u226a\u0338lantEqual;\uc000\u2a7d\u0338ilde;\u6274ested\u0100GL\u0c68\u0c79reaterGreater;\uc000\u2aa2\u0338essLess;\uc000\u2aa1\u0338recedes\u0180;ES\u0c92\u0c93\u0c9b\u6280qual;\uc000\u2aaf\u0338lantEqual;\u62e0\u0100ei\u0cab\u0cb9verseElement;\u620cghtTriangle\u0180;BE\u0ccb\u0ccc\u0cd2\u62ebar;\uc000\u29d0\u0338qual;\u62ed\u0100qu\u0cdd\u0d0cuareSu\u0100bp\u0ce8\u0cf9set\u0100;E\u0cf0\u0cf3\uc000\u228f\u0338qual;\u62e2erset\u0100;E\u0d03\u0d06\uc000\u2290\u0338qual;\u62e3\u0180bcp\u0d13\u0d24\u0d4eset\u0100;E\u0d1b\u0d1e\uc000\u2282\u20d2qual;\u6288ceeds\u0200;EST\u0d32\u0d33\u0d3b\u0d46\u6281qual;\uc000\u2ab0\u0338lantEqual;\u62e1ilde;\uc000\u227f\u0338erset\u0100;E\u0d58\u0d5b\uc000\u2283\u20d2qual;\u6289ilde\u0200;EFT\u0d6e\u0d6f\u0d75\u0d7f\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uc000\u{1d4a9}ilde\u803b\xd1\u40d1;\u439d\u0700Eacdfgmoprstuv\u0dbd\u0dc2\u0dc9\u0dd5\u0ddb\u0de0\u0de7\u0dfc\u0e02\u0e20\u0e22\u0e32\u0e3f\u0e44lig;\u4152cute\u803b\xd3\u40d3\u0100iy\u0dce\u0dd3rc\u803b\xd4\u40d4;\u441eblac;\u4150r;\uc000\u{1d512}rave\u803b\xd2\u40d2\u0180aei\u0dee\u0df2\u0df6cr;\u414cga;\u43a9cron;\u439fpf;\uc000\u{1d546}enCurly\u0100DQ\u0e0e\u0e1aoubleQuote;\u601cuote;\u6018;\u6a54\u0100cl\u0e27\u0e2cr;\uc000\u{1d4aa}ash\u803b\xd8\u40d8i\u016c\u0e37\u0e3cde\u803b\xd5\u40d5es;\u6a37ml\u803b\xd6\u40d6er\u0100BP\u0e4b\u0e60\u0100ar\u0e50\u0e53r;\u603eac\u0100ek\u0e5a\u0e5c;\u63deet;\u63b4arenthesis;\u63dc\u0480acfhilors\u0e7f\u0e87\u0e8a\u0e8f\u0e92\u0e94\u0e9d\u0eb0\u0efcrtialD;\u6202y;\u441fr;\uc000\u{1d513}i;\u43a6;\u43a0usMinus;\u40b1\u0100ip\u0ea2\u0eadncareplan\xe5\u069df;\u6119\u0200;eio\u0eb9\u0eba\u0ee0\u0ee4\u6abbcedes\u0200;EST\u0ec8\u0ec9\u0ecf\u0eda\u627aqual;\u6aaflantEqual;\u627cilde;\u627eme;\u6033\u0100dp\u0ee9\u0eeeuct;\u620fortion\u0100;a\u0225\u0ef9l;\u621d\u0100ci\u0f01\u0f06r;\uc000\u{1d4ab};\u43a8\u0200Ufos\u0f11\u0f16\u0f1b\u0f1fOT\u803b"\u4022r;\uc000\u{1d514}pf;\u611acr;\uc000\u{1d4ac}\u0600BEacefhiorsu\u0f3e\u0f43\u0f47\u0f60\u0f73\u0fa7\u0faa\u0fad\u1096\u10a9\u10b4\u10bearr;\u6910G\u803b\xae\u40ae\u0180cnr\u0f4e\u0f53\u0f56ute;\u4154g;\u67ebr\u0100;t\u0f5c\u0f5d\u61a0l;\u6916\u0180aey\u0f67\u0f6c\u0f71ron;\u4158dil;\u4156;\u4420\u0100;v\u0f78\u0f79\u611cerse\u0100EU\u0f82\u0f99\u0100lq\u0f87\u0f8eement;\u620builibrium;\u61cbpEquilibrium;\u696fr\xbb\u0f79o;\u43a1ght\u0400ACDFTUVa\u0fc1\u0feb\u0ff3\u1022\u1028\u105b\u1087\u03d8\u0100nr\u0fc6\u0fd2gleBracket;\u67e9row\u0180;BL\u0fdc\u0fdd\u0fe1\u6192ar;\u61e5eftArrow;\u61c4eiling;\u6309o\u01f5\u0ff9\0\u1005bleBracket;\u67e7n\u01d4\u100a\0\u1014eeVector;\u695dector\u0100;B\u101d\u101e\u61c2ar;\u6955loor;\u630b\u0100er\u102d\u1043e\u0180;AV\u1035\u1036\u103c\u62a2rrow;\u61a6ector;\u695biangle\u0180;BE\u1050\u1051\u1055\u62b3ar;\u69d0qual;\u62b5p\u0180DTV\u1063\u106e\u1078ownVector;\u694feeVector;\u695cector\u0100;B\u1082\u1083\u61bear;\u6954ector\u0100;B\u1091\u1092\u61c0ar;\u6953\u0100pu\u109b\u109ef;\u611dndImplies;\u6970ightarrow;\u61db\u0100ch\u10b9\u10bcr;\u611b;\u61b1leDelayed;\u69f4\u0680HOacfhimoqstu\u10e4\u10f1\u10f7\u10fd\u1119\u111e\u1151\u1156\u1161\u1167\u11b5\u11bb\u11bf\u0100Cc\u10e9\u10eeHcy;\u4429y;\u4428FTcy;\u442ccute;\u415a\u0280;aeiy\u1108\u1109\u110e\u1113\u1117\u6abcron;\u4160dil;\u415erc;\u415c;\u4421r;\uc000\u{1d516}ort\u0200DLRU\u112a\u1134\u113e\u1149ownArrow\xbb\u041eeftArrow\xbb\u089aightArrow\xbb\u0fddpArrow;\u6191gma;\u43a3allCircle;\u6218pf;\uc000\u{1d54a}\u0272\u116d\0\0\u1170t;\u621aare\u0200;ISU\u117b\u117c\u1189\u11af\u65a1ntersection;\u6293u\u0100bp\u118f\u119eset\u0100;E\u1197\u1198\u628fqual;\u6291erset\u0100;E\u11a8\u11a9\u6290qual;\u6292nion;\u6294cr;\uc000\u{1d4ae}ar;\u62c6\u0200bcmp\u11c8\u11db\u1209\u120b\u0100;s\u11cd\u11ce\u62d0et\u0100;E\u11cd\u11d5qual;\u6286\u0100ch\u11e0\u1205eeds\u0200;EST\u11ed\u11ee\u11f4\u11ff\u627bqual;\u6ab0lantEqual;\u627dilde;\u627fTh\xe1\u0f8c;\u6211\u0180;es\u1212\u1213\u1223\u62d1rset\u0100;E\u121c\u121d\u6283qual;\u6287et\xbb\u1213\u0580HRSacfhiors\u123e\u1244\u1249\u1255\u125e\u1271\u1276\u129f\u12c2\u12c8\u12d1ORN\u803b\xde\u40deADE;\u6122\u0100Hc\u124e\u1252cy;\u440by;\u4426\u0100bu\u125a\u125c;\u4009;\u43a4\u0180aey\u1265\u126a\u126fron;\u4164dil;\u4162;\u4422r;\uc000\u{1d517}\u0100ei\u127b\u1289\u01f2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128e\u1298kSpace;\uc000\u205f\u200aSpace;\u6009lde\u0200;EFT\u12ab\u12ac\u12b2\u12bc\u623cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uc000\u{1d54b}ipleDot;\u60db\u0100ct\u12d6\u12dbr;\uc000\u{1d4af}rok;\u4166\u0ae1\u12f7\u130e\u131a\u1326\0\u132c\u1331\0\0\0\0\0\u1338\u133d\u1377\u1385\0\u13ff\u1404\u140a\u1410\u0100cr\u12fb\u1301ute\u803b\xda\u40dar\u0100;o\u1307\u1308\u619fcir;\u6949r\u01e3\u1313\0\u1316y;\u440eve;\u416c\u0100iy\u131e\u1323rc\u803b\xdb\u40db;\u4423blac;\u4170r;\uc000\u{1d518}rave\u803b\xd9\u40d9acr;\u416a\u0100di\u1341\u1369er\u0100BP\u1348\u135d\u0100ar\u134d\u1350r;\u405fac\u0100ek\u1357\u1359;\u63dfet;\u63b5arenthesis;\u63ddon\u0100;P\u1370\u1371\u62c3lus;\u628e\u0100gp\u137b\u137fon;\u4172f;\uc000\u{1d54c}\u0400ADETadps\u1395\u13ae\u13b8\u13c4\u03e8\u13d2\u13d7\u13f3rrow\u0180;BD\u1150\u13a0\u13a4ar;\u6912ownArrow;\u61c5ownArrow;\u6195quilibrium;\u696eee\u0100;A\u13cb\u13cc\u62a5rrow;\u61a5own\xe1\u03f3er\u0100LR\u13de\u13e8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13f9\u13fa\u43d2on;\u43a5ing;\u416ecr;\uc000\u{1d4b0}ilde;\u4168ml\u803b\xdc\u40dc\u0480Dbcdefosv\u1427\u142c\u1430\u1433\u143e\u1485\u148a\u1490\u1496ash;\u62abar;\u6aeby;\u4412ash\u0100;l\u143b\u143c\u62a9;\u6ae6\u0100er\u1443\u1445;\u62c1\u0180bty\u144c\u1450\u147aar;\u6016\u0100;i\u144f\u1455cal\u0200BLST\u1461\u1465\u146a\u1474ar;\u6223ine;\u407ceparator;\u6758ilde;\u6240ThinSpace;\u600ar;\uc000\u{1d519}pf;\uc000\u{1d54d}cr;\uc000\u{1d4b1}dash;\u62aa\u0280cefos\u14a7\u14ac\u14b1\u14b6\u14bcirc;\u4174dge;\u62c0r;\uc000\u{1d51a}pf;\uc000\u{1d54e}cr;\uc000\u{1d4b2}\u0200fios\u14cb\u14d0\u14d2\u14d8r;\uc000\u{1d51b};\u439epf;\uc000\u{1d54f}cr;\uc000\u{1d4b3}\u0480AIUacfosu\u14f1\u14f5\u14f9\u14fd\u1504\u150f\u1514\u151a\u1520cy;\u442fcy;\u4407cy;\u442ecute\u803b\xdd\u40dd\u0100iy\u1509\u150drc;\u4176;\u442br;\uc000\u{1d51c}pf;\uc000\u{1d550}cr;\uc000\u{1d4b4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153f\u154b\u154f\u155d\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417d;\u4417ot;\u417b\u01f2\u1554\0\u155boWidt\xe8\u0ad9a;\u4396r;\u6128pf;\u6124cr;\uc000\u{1d4b5}\u0be1\u1583\u158a\u1590\0\u15b0\u15b6\u15bf\0\0\0\0\u15c6\u15db\u15eb\u165f\u166d\0\u1695\u169b\u16b2\u16b9\0\u16becute\u803b\xe1\u40e1reve;\u4103\u0300;Ediuy\u159c\u159d\u15a1\u15a3\u15a8\u15ad\u623e;\uc000\u223e\u0333;\u623frc\u803b\xe2\u40e2te\u80bb\xb4\u0306;\u4430lig\u803b\xe6\u40e6\u0100;r\xb2\u15ba;\uc000\u{1d51e}rave\u803b\xe0\u40e0\u0100ep\u15ca\u15d6\u0100fp\u15cf\u15d4sym;\u6135\xe8\u15d3ha;\u43b1\u0100ap\u15dfc\u0100cl\u15e4\u15e7r;\u4101g;\u6a3f\u0264\u15f0\0\0\u160a\u0280;adsv\u15fa\u15fb\u15ff\u1601\u1607\u6227nd;\u6a55;\u6a5clope;\u6a58;\u6a5a\u0380;elmrsz\u1618\u1619\u161b\u161e\u163f\u164f\u1659\u6220;\u69a4e\xbb\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163a\u163c\u163e;\u69a8;\u69a9;\u69aa;\u69ab;\u69ac;\u69ad;\u69ae;\u69aft\u0100;v\u1645\u1646\u621fb\u0100;d\u164c\u164d\u62be;\u699d\u0100pt\u1654\u1657h;\u6222\xbb\xb9arr;\u637c\u0100gp\u1663\u1667on;\u4105f;\uc000\u{1d552}\u0380;Eaeiop\u12c1\u167b\u167d\u1682\u1684\u1687\u168a;\u6a70cir;\u6a6f;\u624ad;\u624bs;\u4027rox\u0100;e\u12c1\u1692\xf1\u1683ing\u803b\xe5\u40e5\u0180cty\u16a1\u16a6\u16a8r;\uc000\u{1d4b6};\u402amp\u0100;e\u12c1\u16af\xf1\u0288ilde\u803b\xe3\u40e3ml\u803b\xe4\u40e4\u0100ci\u16c2\u16c8onin\xf4\u0272nt;\u6a11\u0800Nabcdefiklnoprsu\u16ed\u16f1\u1730\u173c\u1743\u1748\u1778\u177d\u17e0\u17e6\u1839\u1850\u170d\u193d\u1948\u1970ot;\u6aed\u0100cr\u16f6\u171ek\u0200ceps\u1700\u1705\u170d\u1713ong;\u624cpsilon;\u43f6rime;\u6035im\u0100;e\u171a\u171b\u623dq;\u62cd\u0176\u1722\u1726ee;\u62bded\u0100;g\u172c\u172d\u6305e\xbb\u172drk\u0100;t\u135c\u1737brk;\u63b6\u0100oy\u1701\u1741;\u4431quo;\u601e\u0280cmprt\u1753\u175b\u1761\u1764\u1768aus\u0100;e\u010a\u0109ptyv;\u69b0s\xe9\u170cno\xf5\u0113\u0180ahw\u176f\u1771\u1773;\u43b2;\u6136een;\u626cr;\uc000\u{1d51f}g\u0380costuvw\u178d\u179d\u17b3\u17c1\u17d5\u17db\u17de\u0180aiu\u1794\u1796\u179a\xf0\u0760rc;\u65efp\xbb\u1371\u0180dpt\u17a4\u17a8\u17adot;\u6a00lus;\u6a01imes;\u6a02\u0271\u17b9\0\0\u17becup;\u6a06ar;\u6605riangle\u0100du\u17cd\u17d2own;\u65bdp;\u65b3plus;\u6a04e\xe5\u1444\xe5\u14adarow;\u690d\u0180ako\u17ed\u1826\u1835\u0100cn\u17f2\u1823k\u0180lst\u17fa\u05ab\u1802ozenge;\u69ebriangle\u0200;dlr\u1812\u1813\u1818\u181d\u65b4own;\u65beeft;\u65c2ight;\u65b8k;\u6423\u01b1\u182b\0\u1833\u01b2\u182f\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183e\u184d\u0100;q\u1843\u1846\uc000=\u20e5uiv;\uc000\u2261\u20e5t;\u6310\u0200ptwx\u1859\u185e\u1867\u186cf;\uc000\u{1d553}\u0100;t\u13cb\u1863om\xbb\u13cctie;\u62c8\u0600DHUVbdhmptuv\u1885\u1896\u18aa\u18bb\u18d7\u18db\u18ec\u18ff\u1905\u190a\u1910\u1921\u0200LRlr\u188e\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18a1\u18a2\u18a4\u18a6\u18a8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18b3\u18b5\u18b7\u18b9;\u655d;\u655a;\u655c;\u6559\u0380;HLRhlr\u18ca\u18cb\u18cd\u18cf\u18d1\u18d3\u18d5\u6551;\u656c;\u6563;\u6560;\u656b;\u6562;\u655fox;\u69c9\u0200LRlr\u18e4\u18e6\u18e8\u18ea;\u6555;\u6552;\u6510;\u650c\u0280;DUdu\u06bd\u18f7\u18f9\u18fb\u18fd;\u6565;\u6568;\u652c;\u6534inus;\u629flus;\u629eimes;\u62a0\u0200LRlr\u1919\u191b\u191d\u191f;\u655b;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193b\u6502;\u656a;\u6561;\u655e;\u653c;\u6524;\u651c\u0100ev\u0123\u1942bar\u803b\xa6\u40a6\u0200ceio\u1951\u1956\u195a\u1960r;\uc000\u{1d4b7}mi;\u604fm\u0100;e\u171a\u171cl\u0180;bh\u1968\u1969\u196b\u405c;\u69c5sub;\u67c8\u016c\u1974\u197el\u0100;e\u1979\u197a\u6022t\xbb\u197ap\u0180;Ee\u012f\u1985\u1987;\u6aae\u0100;q\u06dc\u06db\u0ce1\u19a7\0\u19e8\u1a11\u1a15\u1a32\0\u1a37\u1a50\0\0\u1ab4\0\0\u1ac1\0\0\u1b21\u1b2e\u1b4d\u1b52\0\u1bfd\0\u1c0c\u0180cpr\u19ad\u19b2\u19ddute;\u4107\u0300;abcds\u19bf\u19c0\u19c4\u19ca\u19d5\u19d9\u6229nd;\u6a44rcup;\u6a49\u0100au\u19cf\u19d2p;\u6a4bp;\u6a47ot;\u6a40;\uc000\u2229\ufe00\u0100eo\u19e2\u19e5t;\u6041\xee\u0693\u0200aeiu\u19f0\u19fb\u1a01\u1a05\u01f0\u19f5\0\u19f8s;\u6a4don;\u410ddil\u803b\xe7\u40e7rc;\u4109ps\u0100;s\u1a0c\u1a0d\u6a4cm;\u6a50ot;\u410b\u0180dmn\u1a1b\u1a20\u1a26il\u80bb\xb8\u01adptyv;\u69b2t\u8100\xa2;e\u1a2d\u1a2e\u40a2r\xe4\u01b2r;\uc000\u{1d520}\u0180cei\u1a3d\u1a40\u1a4dy;\u4447ck\u0100;m\u1a47\u1a48\u6713ark\xbb\u1a48;\u43c7r\u0380;Ecefms\u1a5f\u1a60\u1a62\u1a6b\u1aa4\u1aaa\u1aae\u65cb;\u69c3\u0180;el\u1a69\u1a6a\u1a6d\u42c6q;\u6257e\u0261\u1a74\0\0\u1a88rrow\u0100lr\u1a7c\u1a81eft;\u61baight;\u61bb\u0280RSacd\u1a92\u1a94\u1a96\u1a9a\u1a9f\xbb\u0f47;\u64c8st;\u629birc;\u629aash;\u629dnint;\u6a10id;\u6aefcir;\u69c2ubs\u0100;u\u1abb\u1abc\u6663it\xbb\u1abc\u02ec\u1ac7\u1ad4\u1afa\0\u1b0aon\u0100;e\u1acd\u1ace\u403a\u0100;q\xc7\xc6\u026d\u1ad9\0\0\u1ae2a\u0100;t\u1ade\u1adf\u402c;\u4040\u0180;fl\u1ae8\u1ae9\u1aeb\u6201\xee\u1160e\u0100mx\u1af1\u1af6ent\xbb\u1ae9e\xf3\u024d\u01e7\u1afe\0\u1b07\u0100;d\u12bb\u1b02ot;\u6a6dn\xf4\u0246\u0180fry\u1b10\u1b14\u1b17;\uc000\u{1d554}o\xe4\u0254\u8100\xa9;s\u0155\u1b1dr;\u6117\u0100ao\u1b25\u1b29rr;\u61b5ss;\u6717\u0100cu\u1b32\u1b37r;\uc000\u{1d4b8}\u0100bp\u1b3c\u1b44\u0100;e\u1b41\u1b42\u6acf;\u6ad1\u0100;e\u1b49\u1b4a\u6ad0;\u6ad2dot;\u62ef\u0380delprvw\u1b60\u1b6c\u1b77\u1b82\u1bac\u1bd4\u1bf9arr\u0100lr\u1b68\u1b6a;\u6938;\u6935\u0270\u1b72\0\0\u1b75r;\u62dec;\u62dfarr\u0100;p\u1b7f\u1b80\u61b6;\u693d\u0300;bcdos\u1b8f\u1b90\u1b96\u1ba1\u1ba5\u1ba8\u622arcap;\u6a48\u0100au\u1b9b\u1b9ep;\u6a46p;\u6a4aot;\u628dr;\u6a45;\uc000\u222a\ufe00\u0200alrv\u1bb5\u1bbf\u1bde\u1be3rr\u0100;m\u1bbc\u1bbd\u61b7;\u693cy\u0180evw\u1bc7\u1bd4\u1bd8q\u0270\u1bce\0\0\u1bd2re\xe3\u1b73u\xe3\u1b75ee;\u62ceedge;\u62cfen\u803b\xa4\u40a4earrow\u0100lr\u1bee\u1bf3eft\xbb\u1b80ight\xbb\u1bbde\xe4\u1bdd\u0100ci\u1c01\u1c07onin\xf4\u01f7nt;\u6231lcty;\u632d\u0980AHabcdefhijlorstuwz\u1c38\u1c3b\u1c3f\u1c5d\u1c69\u1c75\u1c8a\u1c9e\u1cac\u1cb7\u1cfb\u1cff\u1d0d\u1d7b\u1d91\u1dab\u1dbb\u1dc6\u1dcdr\xf2\u0381ar;\u6965\u0200glrs\u1c48\u1c4d\u1c52\u1c54ger;\u6020eth;\u6138\xf2\u1133h\u0100;v\u1c5a\u1c5b\u6010\xbb\u090a\u016b\u1c61\u1c67arow;\u690fa\xe3\u0315\u0100ay\u1c6e\u1c73ron;\u410f;\u4434\u0180;ao\u0332\u1c7c\u1c84\u0100gr\u02bf\u1c81r;\u61catseq;\u6a77\u0180glm\u1c91\u1c94\u1c98\u803b\xb0\u40b0ta;\u43b4ptyv;\u69b1\u0100ir\u1ca3\u1ca8sht;\u697f;\uc000\u{1d521}ar\u0100lr\u1cb3\u1cb5\xbb\u08dc\xbb\u101e\u0280aegsv\u1cc2\u0378\u1cd6\u1cdc\u1ce0m\u0180;os\u0326\u1cca\u1cd4nd\u0100;s\u0326\u1cd1uit;\u6666amma;\u43ddin;\u62f2\u0180;io\u1ce7\u1ce8\u1cf8\u40f7de\u8100\xf7;o\u1ce7\u1cf0ntimes;\u62c7n\xf8\u1cf7cy;\u4452c\u026f\u1d06\0\0\u1d0arn;\u631eop;\u630d\u0280lptuw\u1d18\u1d1d\u1d22\u1d49\u1d55lar;\u4024f;\uc000\u{1d555}\u0280;emps\u030b\u1d2d\u1d37\u1d3d\u1d42q\u0100;d\u0352\u1d33ot;\u6251inus;\u6238lus;\u6214quare;\u62a1blebarwedg\xe5\xfan\u0180adh\u112e\u1d5d\u1d67ownarrow\xf3\u1c83arpoon\u0100lr\u1d72\u1d76ef\xf4\u1cb4igh\xf4\u1cb6\u0162\u1d7f\u1d85karo\xf7\u0f42\u026f\u1d8a\0\0\u1d8ern;\u631fop;\u630c\u0180cot\u1d98\u1da3\u1da6\u0100ry\u1d9d\u1da1;\uc000\u{1d4b9};\u4455l;\u69f6rok;\u4111\u0100dr\u1db0\u1db4ot;\u62f1i\u0100;f\u1dba\u1816\u65bf\u0100ah\u1dc0\u1dc3r\xf2\u0429a\xf2\u0fa6angle;\u69a6\u0100ci\u1dd2\u1dd5y;\u445fgrarr;\u67ff\u0900Dacdefglmnopqrstux\u1e01\u1e09\u1e19\u1e38\u0578\u1e3c\u1e49\u1e61\u1e7e\u1ea5\u1eaf\u1ebd\u1ee1\u1f2a\u1f37\u1f44\u1f4e\u1f5a\u0100Do\u1e06\u1d34o\xf4\u1c89\u0100cs\u1e0e\u1e14ute\u803b\xe9\u40e9ter;\u6a6e\u0200aioy\u1e22\u1e27\u1e31\u1e36ron;\u411br\u0100;c\u1e2d\u1e2e\u6256\u803b\xea\u40ealon;\u6255;\u444dot;\u4117\u0100Dr\u1e41\u1e45ot;\u6252;\uc000\u{1d522}\u0180;rs\u1e50\u1e51\u1e57\u6a9aave\u803b\xe8\u40e8\u0100;d\u1e5c\u1e5d\u6a96ot;\u6a98\u0200;ils\u1e6a\u1e6b\u1e72\u1e74\u6a99nters;\u63e7;\u6113\u0100;d\u1e79\u1e7a\u6a95ot;\u6a97\u0180aps\u1e85\u1e89\u1e97cr;\u4113ty\u0180;sv\u1e92\u1e93\u1e95\u6205et\xbb\u1e93p\u01001;\u1e9d\u1ea4\u0133\u1ea1\u1ea3;\u6004;\u6005\u6003\u0100gs\u1eaa\u1eac;\u414bp;\u6002\u0100gp\u1eb4\u1eb8on;\u4119f;\uc000\u{1d556}\u0180als\u1ec4\u1ece\u1ed2r\u0100;s\u1eca\u1ecb\u62d5l;\u69e3us;\u6a71i\u0180;lv\u1eda\u1edb\u1edf\u43b5on\xbb\u1edb;\u43f5\u0200csuv\u1eea\u1ef3\u1f0b\u1f23\u0100io\u1eef\u1e31rc\xbb\u1e2e\u0269\u1ef9\0\0\u1efb\xed\u0548ant\u0100gl\u1f02\u1f06tr\xbb\u1e5dess\xbb\u1e7a\u0180aei\u1f12\u1f16\u1f1als;\u403dst;\u625fv\u0100;D\u0235\u1f20D;\u6a78parsl;\u69e5\u0100Da\u1f2f\u1f33ot;\u6253rr;\u6971\u0180cdi\u1f3e\u1f41\u1ef8r;\u612fo\xf4\u0352\u0100ah\u1f49\u1f4b;\u43b7\u803b\xf0\u40f0\u0100mr\u1f53\u1f57l\u803b\xeb\u40ebo;\u60ac\u0180cip\u1f61\u1f64\u1f67l;\u4021s\xf4\u056e\u0100eo\u1f6c\u1f74ctatio\xee\u0559nential\xe5\u0579\u09e1\u1f92\0\u1f9e\0\u1fa1\u1fa7\0\0\u1fc6\u1fcc\0\u1fd3\0\u1fe6\u1fea\u2000\0\u2008\u205allingdotse\xf1\u1e44y;\u4444male;\u6640\u0180ilr\u1fad\u1fb3\u1fc1lig;\u8000\ufb03\u0269\u1fb9\0\0\u1fbdg;\u8000\ufb00ig;\u8000\ufb04;\uc000\u{1d523}lig;\u8000\ufb01lig;\uc000fj\u0180alt\u1fd9\u1fdc\u1fe1t;\u666dig;\u8000\ufb02ns;\u65b1of;\u4192\u01f0\u1fee\0\u1ff3f;\uc000\u{1d557}\u0100ak\u05bf\u1ff7\u0100;v\u1ffc\u1ffd\u62d4;\u6ad9artint;\u6a0d\u0100ao\u200c\u2055\u0100cs\u2011\u2052\u03b1\u201a\u2030\u2038\u2045\u2048\0\u2050\u03b2\u2022\u2025\u2027\u202a\u202c\0\u202e\u803b\xbd\u40bd;\u6153\u803b\xbc\u40bc;\u6155;\u6159;\u615b\u01b3\u2034\0\u2036;\u6154;\u6156\u02b4\u203e\u2041\0\0\u2043\u803b\xbe\u40be;\u6157;\u615c5;\u6158\u01b6\u204c\0\u204e;\u615a;\u615d8;\u615el;\u6044wn;\u6322cr;\uc000\u{1d4bb}\u0880Eabcdefgijlnorstv\u2082\u2089\u209f\u20a5\u20b0\u20b4\u20f0\u20f5\u20fa\u20ff\u2103\u2112\u2138\u0317\u213e\u2152\u219e\u0100;l\u064d\u2087;\u6a8c\u0180cmp\u2090\u2095\u209dute;\u41f5ma\u0100;d\u209c\u1cda\u43b3;\u6a86reve;\u411f\u0100iy\u20aa\u20aerc;\u411d;\u4433ot;\u4121\u0200;lqs\u063e\u0642\u20bd\u20c9\u0180;qs\u063e\u064c\u20c4lan\xf4\u0665\u0200;cdl\u0665\u20d2\u20d5\u20e5c;\u6aa9ot\u0100;o\u20dc\u20dd\u6a80\u0100;l\u20e2\u20e3\u6a82;\u6a84\u0100;e\u20ea\u20ed\uc000\u22db\ufe00s;\u6a94r;\uc000\u{1d524}\u0100;g\u0673\u061bmel;\u6137cy;\u4453\u0200;Eaj\u065a\u210c\u210e\u2110;\u6a92;\u6aa5;\u6aa4\u0200Eaes\u211b\u211d\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6a8arox\xbb\u2124\u0100;q\u212e\u212f\u6a88\u0100;q\u212e\u211bim;\u62e7pf;\uc000\u{1d558}\u0100ci\u2143\u2146r;\u610am\u0180;el\u066b\u214e\u2150;\u6a8e;\u6a90\u8300>;cdlqr\u05ee\u2160\u216a\u216e\u2173\u2179\u0100ci\u2165\u2167;\u6aa7r;\u6a7aot;\u62d7Par;\u6995uest;\u6a7c\u0280adels\u2184\u216a\u2190\u0656\u219b\u01f0\u2189\0\u218epro\xf8\u209er;\u6978q\u0100lq\u063f\u2196les\xf3\u2088i\xed\u066b\u0100en\u21a3\u21adrtneqq;\uc000\u2269\ufe00\xc5\u21aa\u0500Aabcefkosy\u21c4\u21c7\u21f1\u21f5\u21fa\u2218\u221d\u222f\u2268\u227dr\xf2\u03a0\u0200ilmr\u21d0\u21d4\u21d7\u21dbrs\xf0\u1484f\xbb\u2024il\xf4\u06a9\u0100dr\u21e0\u21e4cy;\u444a\u0180;cw\u08f4\u21eb\u21efir;\u6948;\u61adar;\u610firc;\u4125\u0180alr\u2201\u220e\u2213rts\u0100;u\u2209\u220a\u6665it\xbb\u220alip;\u6026con;\u62b9r;\uc000\u{1d525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223a\u223e\u2243\u225e\u2263rr;\u61fftht;\u623bk\u0100lr\u2249\u2253eftarrow;\u61a9ightarrow;\u61aaf;\uc000\u{1d559}bar;\u6015\u0180clt\u226f\u2274\u2278r;\uc000\u{1d4bd}as\xe8\u21f4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xbb\u1c5b\u0ae1\u22a3\0\u22aa\0\u22b8\u22c5\u22ce\0\u22d5\u22f3\0\0\u22f8\u2322\u2367\u2362\u237f\0\u2386\u23aa\u23b4cute\u803b\xed\u40ed\u0180;iy\u0771\u22b0\u22b5rc\u803b\xee\u40ee;\u4438\u0100cx\u22bc\u22bfy;\u4435cl\u803b\xa1\u40a1\u0100fr\u039f\u22c9;\uc000\u{1d526}rave\u803b\xec\u40ec\u0200;ino\u073e\u22dd\u22e9\u22ee\u0100in\u22e2\u22e6nt;\u6a0ct;\u622dfin;\u69dcta;\u6129lig;\u4133\u0180aop\u22fe\u231a\u231d\u0180cgt\u2305\u2308\u2317r;\u412b\u0180elp\u071f\u230f\u2313in\xe5\u078ear\xf4\u0720h;\u4131f;\u62b7ed;\u41b5\u0280;cfot\u04f4\u232c\u2331\u233d\u2341are;\u6105in\u0100;t\u2338\u2339\u621eie;\u69dddo\xf4\u2319\u0280;celp\u0757\u234c\u2350\u235b\u2361al;\u62ba\u0100gr\u2355\u2359er\xf3\u1563\xe3\u234darhk;\u6a17rod;\u6a3c\u0200cgpt\u236f\u2372\u2376\u237by;\u4451on;\u412ff;\uc000\u{1d55a}a;\u43b9uest\u803b\xbf\u40bf\u0100ci\u238a\u238fr;\uc000\u{1d4be}n\u0280;Edsv\u04f4\u239b\u239d\u23a1\u04f3;\u62f9ot;\u62f5\u0100;v\u23a6\u23a7\u62f4;\u62f3\u0100;i\u0777\u23aelde;\u4129\u01eb\u23b8\0\u23bccy;\u4456l\u803b\xef\u40ef\u0300cfmosu\u23cc\u23d7\u23dc\u23e1\u23e7\u23f5\u0100iy\u23d1\u23d5rc;\u4135;\u4439r;\uc000\u{1d527}ath;\u4237pf;\uc000\u{1d55b}\u01e3\u23ec\0\u23f1r;\uc000\u{1d4bf}rcy;\u4458kcy;\u4454\u0400acfghjos\u240b\u2416\u2422\u2427\u242d\u2431\u2435\u243bppa\u0100;v\u2413\u2414\u43ba;\u43f0\u0100ey\u241b\u2420dil;\u4137;\u443ar;\uc000\u{1d528}reen;\u4138cy;\u4445cy;\u445cpf;\uc000\u{1d55c}cr;\uc000\u{1d4c0}\u0b80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248d\u2491\u250e\u253d\u255a\u2580\u264e\u265e\u2665\u2679\u267d\u269a\u26b2\u26d8\u275d\u2768\u278b\u27c0\u2801\u2812\u0180art\u2477\u247a\u247cr\xf2\u09c6\xf2\u0395ail;\u691barr;\u690e\u0100;g\u0994\u248b;\u6a8bar;\u6962\u0963\u24a5\0\u24aa\0\u24b1\0\0\0\0\0\u24b5\u24ba\0\u24c6\u24c8\u24cd\0\u24f9ute;\u413amptyv;\u69b4ra\xee\u084cbda;\u43bbg\u0180;dl\u088e\u24c1\u24c3;\u6991\xe5\u088e;\u6a85uo\u803b\xab\u40abr\u0400;bfhlpst\u0899\u24de\u24e6\u24e9\u24eb\u24ee\u24f1\u24f5\u0100;f\u089d\u24e3s;\u691fs;\u691d\xeb\u2252p;\u61abl;\u6939im;\u6973l;\u61a2\u0180;ae\u24ff\u2500\u2504\u6aabil;\u6919\u0100;s\u2509\u250a\u6aad;\uc000\u2aad\ufe00\u0180abr\u2515\u2519\u251drr;\u690crk;\u6772\u0100ak\u2522\u252cc\u0100ek\u2528\u252a;\u407b;\u405b\u0100es\u2531\u2533;\u698bl\u0100du\u2539\u253b;\u698f;\u698d\u0200aeuy\u2546\u254b\u2556\u2558ron;\u413e\u0100di\u2550\u2554il;\u413c\xec\u08b0\xe2\u2529;\u443b\u0200cqrs\u2563\u2566\u256d\u257da;\u6936uo\u0100;r\u0e19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694bh;\u61b2\u0280;fgqs\u258b\u258c\u0989\u25f3\u25ff\u6264t\u0280ahlrt\u2598\u25a4\u25b7\u25c2\u25e8rrow\u0100;t\u0899\u25a1a\xe9\u24f6arpoon\u0100du\u25af\u25b4own\xbb\u045ap\xbb\u0966eftarrows;\u61c7ight\u0180ahs\u25cd\u25d6\u25derrow\u0100;s\u08f4\u08a7arpoon\xf3\u0f98quigarro\xf7\u21f0hreetimes;\u62cb\u0180;qs\u258b\u0993\u25falan\xf4\u09ac\u0280;cdgs\u09ac\u260a\u260d\u261d\u2628c;\u6aa8ot\u0100;o\u2614\u2615\u6a7f\u0100;r\u261a\u261b\u6a81;\u6a83\u0100;e\u2622\u2625\uc000\u22da\ufe00s;\u6a93\u0280adegs\u2633\u2639\u263d\u2649\u264bppro\xf8\u24c6ot;\u62d6q\u0100gq\u2643\u2645\xf4\u0989gt\xf2\u248c\xf4\u099bi\xed\u09b2\u0180ilr\u2655\u08e1\u265asht;\u697c;\uc000\u{1d529}\u0100;E\u099c\u2663;\u6a91\u0161\u2669\u2676r\u0100du\u25b2\u266e\u0100;l\u0965\u2673;\u696alk;\u6584cy;\u4459\u0280;acht\u0a48\u2688\u268b\u2691\u2696r\xf2\u25c1orne\xf2\u1d08ard;\u696bri;\u65fa\u0100io\u269f\u26a4dot;\u4140ust\u0100;a\u26ac\u26ad\u63b0che\xbb\u26ad\u0200Eaes\u26bb\u26bd\u26c9\u26d4;\u6268p\u0100;p\u26c3\u26c4\u6a89rox\xbb\u26c4\u0100;q\u26ce\u26cf\u6a87\u0100;q\u26ce\u26bbim;\u62e6\u0400abnoptwz\u26e9\u26f4\u26f7\u271a\u272f\u2741\u2747\u2750\u0100nr\u26ee\u26f1g;\u67ecr;\u61fdr\xeb\u08c1g\u0180lmr\u26ff\u270d\u2714eft\u0100ar\u09e6\u2707ight\xe1\u09f2apsto;\u67fcight\xe1\u09fdparrow\u0100lr\u2725\u2729ef\xf4\u24edight;\u61ac\u0180afl\u2736\u2739\u273dr;\u6985;\uc000\u{1d55d}us;\u6a2dimes;\u6a34\u0161\u274b\u274fst;\u6217\xe1\u134e\u0180;ef\u2757\u2758\u1800\u65cange\xbb\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277c\u2785\u2787r\xf2\u08a8orne\xf2\u1d8car\u0100;d\u0f98\u2783;\u696d;\u600eri;\u62bf\u0300achiqt\u2798\u279d\u0a40\u27a2\u27ae\u27bbquo;\u6039r;\uc000\u{1d4c1}m\u0180;eg\u09b2\u27aa\u27ac;\u6a8d;\u6a8f\u0100bu\u252a\u27b3o\u0100;r\u0e1f\u27b9;\u601arok;\u4142\u8400<;cdhilqr\u082b\u27d2\u2639\u27dc\u27e0\u27e5\u27ea\u27f0\u0100ci\u27d7\u27d9;\u6aa6r;\u6a79re\xe5\u25f2mes;\u62c9arr;\u6976uest;\u6a7b\u0100Pi\u27f5\u27f9ar;\u6996\u0180;ef\u2800\u092d\u181b\u65c3r\u0100du\u2807\u280dshar;\u694ahar;\u6966\u0100en\u2817\u2821rtneqq;\uc000\u2268\ufe00\xc5\u281e\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288e\u2893\u28a0\u28a5\u28a8\u28da\u28e2\u28e4\u0a83\u28f3\u2902Dot;\u623a\u0200clpr\u284e\u2852\u2863\u287dr\u803b\xaf\u40af\u0100et\u2857\u2859;\u6642\u0100;e\u285e\u285f\u6720se\xbb\u285f\u0100;s\u103b\u2868to\u0200;dlu\u103b\u2873\u2877\u287bow\xee\u048cef\xf4\u090f\xf0\u13d1ker;\u65ae\u0100oy\u2887\u288cmma;\u6a29;\u443cash;\u6014asuredangle\xbb\u1626r;\uc000\u{1d52a}o;\u6127\u0180cdn\u28af\u28b4\u28c9ro\u803b\xb5\u40b5\u0200;acd\u1464\u28bd\u28c0\u28c4s\xf4\u16a7ir;\u6af0ot\u80bb\xb7\u01b5us\u0180;bd\u28d2\u1903\u28d3\u6212\u0100;u\u1d3c\u28d8;\u6a2a\u0163\u28de\u28e1p;\u6adb\xf2\u2212\xf0\u0a81\u0100dp\u28e9\u28eeels;\u62a7f;\uc000\u{1d55e}\u0100ct\u28f8\u28fdr;\uc000\u{1d4c2}pos\xbb\u159d\u0180;lm\u2909\u290a\u290d\u43bctimap;\u62b8\u0c00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297e\u2989\u2998\u29da\u29e9\u2a15\u2a1a\u2a58\u2a5d\u2a83\u2a95\u2aa4\u2aa8\u2b04\u2b07\u2b44\u2b7f\u2bae\u2c34\u2c67\u2c7c\u2ce9\u0100gt\u2947\u294b;\uc000\u22d9\u0338\u0100;v\u2950\u0bcf\uc000\u226b\u20d2\u0180elt\u295a\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61cdightarrow;\u61ce;\uc000\u22d8\u0338\u0100;v\u297b\u0c47\uc000\u226a\u20d2ightarrow;\u61cf\u0100Dd\u298e\u2993ash;\u62afash;\u62ae\u0280bcnpt\u29a3\u29a7\u29ac\u29b1\u29ccla\xbb\u02deute;\u4144g;\uc000\u2220\u20d2\u0280;Eiop\u0d84\u29bc\u29c0\u29c5\u29c8;\uc000\u2a70\u0338d;\uc000\u224b\u0338s;\u4149ro\xf8\u0d84ur\u0100;a\u29d3\u29d4\u666el\u0100;s\u29d3\u0b38\u01f3\u29df\0\u29e3p\u80bb\xa0\u0b37mp\u0100;e\u0bf9\u0c00\u0280aeouy\u29f4\u29fe\u2a03\u2a10\u2a13\u01f0\u29f9\0\u29fb;\u6a43on;\u4148dil;\u4146ng\u0100;d\u0d7e\u2a0aot;\uc000\u2a6d\u0338p;\u6a42;\u443dash;\u6013\u0380;Aadqsx\u0b92\u2a29\u2a2d\u2a3b\u2a41\u2a45\u2a50rr;\u61d7r\u0100hr\u2a33\u2a36k;\u6924\u0100;o\u13f2\u13f0ot;\uc000\u2250\u0338ui\xf6\u0b63\u0100ei\u2a4a\u2a4ear;\u6928\xed\u0b98ist\u0100;s\u0ba0\u0b9fr;\uc000\u{1d52b}\u0200Eest\u0bc5\u2a66\u2a79\u2a7c\u0180;qs\u0bbc\u2a6d\u0be1\u0180;qs\u0bbc\u0bc5\u2a74lan\xf4\u0be2i\xed\u0bea\u0100;r\u0bb6\u2a81\xbb\u0bb7\u0180Aap\u2a8a\u2a8d\u2a91r\xf2\u2971rr;\u61aear;\u6af2\u0180;sv\u0f8d\u2a9c\u0f8c\u0100;d\u2aa1\u2aa2\u62fc;\u62facy;\u445a\u0380AEadest\u2ab7\u2aba\u2abe\u2ac2\u2ac5\u2af6\u2af9r\xf2\u2966;\uc000\u2266\u0338rr;\u619ar;\u6025\u0200;fqs\u0c3b\u2ace\u2ae3\u2aeft\u0100ar\u2ad4\u2ad9rro\xf7\u2ac1ightarro\xf7\u2a90\u0180;qs\u0c3b\u2aba\u2aealan\xf4\u0c55\u0100;s\u0c55\u2af4\xbb\u0c36i\xed\u0c5d\u0100;r\u0c35\u2afei\u0100;e\u0c1a\u0c25i\xe4\u0d90\u0100pt\u2b0c\u2b11f;\uc000\u{1d55f}\u8180\xac;in\u2b19\u2b1a\u2b36\u40acn\u0200;Edv\u0b89\u2b24\u2b28\u2b2e;\uc000\u22f9\u0338ot;\uc000\u22f5\u0338\u01e1\u0b89\u2b33\u2b35;\u62f7;\u62f6i\u0100;v\u0cb8\u2b3c\u01e1\u0cb8\u2b41\u2b43;\u62fe;\u62fd\u0180aor\u2b4b\u2b63\u2b69r\u0200;ast\u0b7b\u2b55\u2b5a\u2b5flle\xec\u0b7bl;\uc000\u2afd\u20e5;\uc000\u2202\u0338lint;\u6a14\u0180;ce\u0c92\u2b70\u2b73u\xe5\u0ca5\u0100;c\u0c98\u2b78\u0100;e\u0c92\u2b7d\xf1\u0c98\u0200Aait\u2b88\u2b8b\u2b9d\u2ba7r\xf2\u2988rr\u0180;cw\u2b94\u2b95\u2b99\u619b;\uc000\u2933\u0338;\uc000\u219d\u0338ghtarrow\xbb\u2b95ri\u0100;e\u0ccb\u0cd6\u0380chimpqu\u2bbd\u2bcd\u2bd9\u2b04\u0b78\u2be4\u2bef\u0200;cer\u0d32\u2bc6\u0d37\u2bc9u\xe5\u0d45;\uc000\u{1d4c3}ort\u026d\u2b05\0\0\u2bd6ar\xe1\u2b56m\u0100;e\u0d6e\u2bdf\u0100;q\u0d74\u0d73su\u0100bp\u2beb\u2bed\xe5\u0cf8\xe5\u0d0b\u0180bcp\u2bf6\u2c11\u2c19\u0200;Ees\u2bff\u2c00\u0d22\u2c04\u6284;\uc000\u2ac5\u0338et\u0100;e\u0d1b\u2c0bq\u0100;q\u0d23\u2c00c\u0100;e\u0d32\u2c17\xf1\u0d38\u0200;Ees\u2c22\u2c23\u0d5f\u2c27\u6285;\uc000\u2ac6\u0338et\u0100;e\u0d58\u2c2eq\u0100;q\u0d60\u2c23\u0200gilr\u2c3d\u2c3f\u2c45\u2c47\xec\u0bd7lde\u803b\xf1\u40f1\xe7\u0c43iangle\u0100lr\u2c52\u2c5ceft\u0100;e\u0c1a\u2c5a\xf1\u0c26ight\u0100;e\u0ccb\u2c65\xf1\u0cd7\u0100;m\u2c6c\u2c6d\u43bd\u0180;es\u2c74\u2c75\u2c79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2c8f\u2c94\u2c99\u2c9e\u2ca3\u2cb0\u2cb6\u2cd3\u2ce3ash;\u62adarr;\u6904p;\uc000\u224d\u20d2ash;\u62ac\u0100et\u2ca8\u2cac;\uc000\u2265\u20d2;\uc000>\u20d2nfin;\u69de\u0180Aet\u2cbd\u2cc1\u2cc5rr;\u6902;\uc000\u2264\u20d2\u0100;r\u2cca\u2ccd\uc000<\u20d2ie;\uc000\u22b4\u20d2\u0100At\u2cd8\u2cdcrr;\u6903rie;\uc000\u22b5\u20d2im;\uc000\u223c\u20d2\u0180Aan\u2cf0\u2cf4\u2d02rr;\u61d6r\u0100hr\u2cfa\u2cfdk;\u6923\u0100;o\u13e7\u13e5ear;\u6927\u1253\u1a95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2d2d\0\u2d38\u2d48\u2d60\u2d65\u2d72\u2d84\u1b07\0\0\u2d8d\u2dab\0\u2dc8\u2dce\0\u2ddc\u2e19\u2e2b\u2e3e\u2e43\u0100cs\u2d31\u1a97ute\u803b\xf3\u40f3\u0100iy\u2d3c\u2d45r\u0100;c\u1a9e\u2d42\u803b\xf4\u40f4;\u443e\u0280abios\u1aa0\u2d52\u2d57\u01c8\u2d5alac;\u4151v;\u6a38old;\u69bclig;\u4153\u0100cr\u2d69\u2d6dir;\u69bf;\uc000\u{1d52c}\u036f\u2d79\0\0\u2d7c\0\u2d82n;\u42dbave\u803b\xf2\u40f2;\u69c1\u0100bm\u2d88\u0df4ar;\u69b5\u0200acit\u2d95\u2d98\u2da5\u2da8r\xf2\u1a80\u0100ir\u2d9d\u2da0r;\u69beoss;\u69bbn\xe5\u0e52;\u69c0\u0180aei\u2db1\u2db5\u2db9cr;\u414dga;\u43c9\u0180cdn\u2dc0\u2dc5\u01cdron;\u43bf;\u69b6pf;\uc000\u{1d560}\u0180ael\u2dd4\u2dd7\u01d2r;\u69b7rp;\u69b9\u0380;adiosv\u2dea\u2deb\u2dee\u2e08\u2e0d\u2e10\u2e16\u6228r\xf2\u1a86\u0200;efm\u2df7\u2df8\u2e02\u2e05\u6a5dr\u0100;o\u2dfe\u2dff\u6134f\xbb\u2dff\u803b\xaa\u40aa\u803b\xba\u40bagof;\u62b6r;\u6a56lope;\u6a57;\u6a5b\u0180clo\u2e1f\u2e21\u2e27\xf2\u2e01ash\u803b\xf8\u40f8l;\u6298i\u016c\u2e2f\u2e34de\u803b\xf5\u40f5es\u0100;a\u01db\u2e3as;\u6a36ml\u803b\xf6\u40f6bar;\u633d\u0ae1\u2e5e\0\u2e7d\0\u2e80\u2e9d\0\u2ea2\u2eb9\0\0\u2ecb\u0e9c\0\u2f13\0\0\u2f2b\u2fbc\0\u2fc8r\u0200;ast\u0403\u2e67\u2e72\u0e85\u8100\xb6;l\u2e6d\u2e6e\u40b6le\xec\u0403\u0269\u2e78\0\0\u2e7bm;\u6af3;\u6afdy;\u443fr\u0280cimpt\u2e8b\u2e8f\u2e93\u1865\u2e97nt;\u4025od;\u402eil;\u6030enk;\u6031r;\uc000\u{1d52d}\u0180imo\u2ea8\u2eb0\u2eb4\u0100;v\u2ead\u2eae\u43c6;\u43d5ma\xf4\u0a76ne;\u660e\u0180;tv\u2ebf\u2ec0\u2ec8\u43c0chfork\xbb\u1ffd;\u43d6\u0100au\u2ecf\u2edfn\u0100ck\u2ed5\u2eddk\u0100;h\u21f4\u2edb;\u610e\xf6\u21f4s\u0480;abcdemst\u2ef3\u2ef4\u1908\u2ef9\u2efd\u2f04\u2f06\u2f0a\u2f0e\u402bcir;\u6a23ir;\u6a22\u0100ou\u1d40\u2f02;\u6a25;\u6a72n\u80bb\xb1\u0e9dim;\u6a26wo;\u6a27\u0180ipu\u2f19\u2f20\u2f25ntint;\u6a15f;\uc000\u{1d561}nd\u803b\xa3\u40a3\u0500;Eaceinosu\u0ec8\u2f3f\u2f41\u2f44\u2f47\u2f81\u2f89\u2f92\u2f7e\u2fb6;\u6ab3p;\u6ab7u\xe5\u0ed9\u0100;c\u0ece\u2f4c\u0300;acens\u0ec8\u2f59\u2f5f\u2f66\u2f68\u2f7eppro\xf8\u2f43urlye\xf1\u0ed9\xf1\u0ece\u0180aes\u2f6f\u2f76\u2f7approx;\u6ab9qq;\u6ab5im;\u62e8i\xed\u0edfme\u0100;s\u2f88\u0eae\u6032\u0180Eas\u2f78\u2f90\u2f7a\xf0\u2f75\u0180dfp\u0eec\u2f99\u2faf\u0180als\u2fa0\u2fa5\u2faalar;\u632eine;\u6312urf;\u6313\u0100;t\u0efb\u2fb4\xef\u0efbrel;\u62b0\u0100ci\u2fc0\u2fc5r;\uc000\u{1d4c5};\u43c8ncsp;\u6008\u0300fiopsu\u2fda\u22e2\u2fdf\u2fe5\u2feb\u2ff1r;\uc000\u{1d52e}pf;\uc000\u{1d562}rime;\u6057cr;\uc000\u{1d4c6}\u0180aeo\u2ff8\u3009\u3013t\u0100ei\u2ffe\u3005rnion\xf3\u06b0nt;\u6a16st\u0100;e\u3010\u3011\u403f\xf1\u1f19\xf4\u0f14\u0a80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30e0\u310e\u312b\u3147\u3162\u3172\u318e\u3206\u3215\u3224\u3229\u3258\u326e\u3272\u3290\u32b0\u32b7\u0180art\u3047\u304a\u304cr\xf2\u10b3\xf2\u03ddail;\u691car\xf2\u1c65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307f\u308f\u3094\u30cc\u0100eu\u306d\u3071;\uc000\u223d\u0331te;\u4155i\xe3\u116emptyv;\u69b3g\u0200;del\u0fd1\u3089\u308b\u308d;\u6992;\u69a5\xe5\u0fd1uo\u803b\xbb\u40bbr\u0580;abcfhlpstw\u0fdc\u30ac\u30af\u30b7\u30b9\u30bc\u30be\u30c0\u30c3\u30c7\u30cap;\u6975\u0100;f\u0fe0\u30b4s;\u6920;\u6933s;\u691e\xeb\u225d\xf0\u272el;\u6945im;\u6974l;\u61a3;\u619d\u0100ai\u30d1\u30d5il;\u691ao\u0100;n\u30db\u30dc\u6236al\xf3\u0f1e\u0180abr\u30e7\u30ea\u30eer\xf2\u17e5rk;\u6773\u0100ak\u30f3\u30fdc\u0100ek\u30f9\u30fb;\u407d;\u405d\u0100es\u3102\u3104;\u698cl\u0100du\u310a\u310c;\u698e;\u6990\u0200aeuy\u3117\u311c\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xec\u0ff2\xe2\u30fa;\u4440\u0200clqs\u3134\u3137\u313d\u3144a;\u6937dhar;\u6969uo\u0100;r\u020e\u020dh;\u61b3\u0180acg\u314e\u315f\u0f44l\u0200;ips\u0f78\u3158\u315b\u109cn\xe5\u10bbar\xf4\u0fa9t;\u65ad\u0180ilr\u3169\u1023\u316esht;\u697d;\uc000\u{1d52f}\u0100ao\u3177\u3186r\u0100du\u317d\u317f\xbb\u047b\u0100;l\u1091\u3184;\u696c\u0100;v\u318b\u318c\u43c1;\u43f1\u0180gns\u3195\u31f9\u31fcht\u0300ahlrst\u31a4\u31b0\u31c2\u31d8\u31e4\u31eerrow\u0100;t\u0fdc\u31ada\xe9\u30c8arpoon\u0100du\u31bb\u31bfow\xee\u317ep\xbb\u1092eft\u0100ah\u31ca\u31d0rrow\xf3\u0feaarpoon\xf3\u0551ightarrows;\u61c9quigarro\xf7\u30cbhreetimes;\u62ccg;\u42daingdotse\xf1\u1f32\u0180ahm\u320d\u3210\u3213r\xf2\u0feaa\xf2\u0551;\u600foust\u0100;a\u321e\u321f\u63b1che\xbb\u321fmid;\u6aee\u0200abpt\u3232\u323d\u3240\u3252\u0100nr\u3237\u323ag;\u67edr;\u61fer\xeb\u1003\u0180afl\u3247\u324a\u324er;\u6986;\uc000\u{1d563}us;\u6a2eimes;\u6a35\u0100ap\u325d\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6a12ar\xf2\u31e3\u0200achq\u327b\u3280\u10bc\u3285quo;\u603ar;\uc000\u{1d4c7}\u0100bu\u30fb\u328ao\u0100;r\u0214\u0213\u0180hir\u3297\u329b\u32a0re\xe5\u31f8mes;\u62cai\u0200;efl\u32aa\u1059\u1821\u32ab\u65b9tri;\u69celuhar;\u6968;\u611e\u0d61\u32d5\u32db\u32df\u332c\u3338\u3371\0\u337a\u33a4\0\0\u33ec\u33f0\0\u3428\u3448\u345a\u34ad\u34b1\u34ca\u34f1\0\u3616\0\0\u3633cute;\u415bqu\xef\u27ba\u0500;Eaceinpsy\u11ed\u32f3\u32f5\u32ff\u3302\u330b\u330f\u331f\u3326\u3329;\u6ab4\u01f0\u32fa\0\u32fc;\u6ab8on;\u4161u\xe5\u11fe\u0100;d\u11f3\u3307il;\u415frc;\u415d\u0180Eas\u3316\u3318\u331b;\u6ab6p;\u6abaim;\u62e9olint;\u6a13i\xed\u1204;\u4441ot\u0180;be\u3334\u1d47\u3335\u62c5;\u6a66\u0380Aacmstx\u3346\u334a\u3357\u335b\u335e\u3363\u336drr;\u61d8r\u0100hr\u3350\u3352\xeb\u2228\u0100;o\u0a36\u0a34t\u803b\xa7\u40a7i;\u403bwar;\u6929m\u0100in\u3369\xf0nu\xf3\xf1t;\u6736r\u0100;o\u3376\u2055\uc000\u{1d530}\u0200acoy\u3382\u3386\u3391\u33a0rp;\u666f\u0100hy\u338b\u338fcy;\u4449;\u4448rt\u026d\u3399\0\0\u339ci\xe4\u1464ara\xec\u2e6f\u803b\xad\u40ad\u0100gm\u33a8\u33b4ma\u0180;fv\u33b1\u33b2\u33b2\u43c3;\u43c2\u0400;deglnpr\u12ab\u33c5\u33c9\u33ce\u33d6\u33de\u33e1\u33e6ot;\u6a6a\u0100;q\u12b1\u12b0\u0100;E\u33d3\u33d4\u6a9e;\u6aa0\u0100;E\u33db\u33dc\u6a9d;\u6a9fe;\u6246lus;\u6a24arr;\u6972ar\xf2\u113d\u0200aeit\u33f8\u3408\u340f\u3417\u0100ls\u33fd\u3404lsetm\xe9\u336ahp;\u6a33parsl;\u69e4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341c\u341d\u6aaa\u0100;s\u3422\u3423\u6aac;\uc000\u2aac\ufe00\u0180flp\u342e\u3433\u3442tcy;\u444c\u0100;b\u3438\u3439\u402f\u0100;a\u343e\u343f\u69c4r;\u633ff;\uc000\u{1d564}a\u0100dr\u344d\u0402es\u0100;u\u3454\u3455\u6660it\xbb\u3455\u0180csu\u3460\u3479\u349f\u0100au\u3465\u346fp\u0100;s\u1188\u346b;\uc000\u2293\ufe00p\u0100;s\u11b4\u3475;\uc000\u2294\ufe00u\u0100bp\u347f\u348f\u0180;es\u1197\u119c\u3486et\u0100;e\u1197\u348d\xf1\u119d\u0180;es\u11a8\u11ad\u3496et\u0100;e\u11a8\u349d\xf1\u11ae\u0180;af\u117b\u34a6\u05b0r\u0165\u34ab\u05b1\xbb\u117car\xf2\u1148\u0200cemt\u34b9\u34be\u34c2\u34c5r;\uc000\u{1d4c8}tm\xee\xf1i\xec\u3415ar\xe6\u11be\u0100ar\u34ce\u34d5r\u0100;f\u34d4\u17bf\u6606\u0100an\u34da\u34edight\u0100ep\u34e3\u34eapsilo\xee\u1ee0h\xe9\u2eafs\xbb\u2852\u0280bcmnp\u34fb\u355e\u1209\u358b\u358e\u0480;Edemnprs\u350e\u350f\u3511\u3515\u351e\u3523\u352c\u3531\u3536\u6282;\u6ac5ot;\u6abd\u0100;d\u11da\u351aot;\u6ac3ult;\u6ac1\u0100Ee\u3528\u352a;\u6acb;\u628alus;\u6abfarr;\u6979\u0180eiu\u353d\u3552\u3555t\u0180;en\u350e\u3545\u354bq\u0100;q\u11da\u350feq\u0100;q\u352b\u3528m;\u6ac7\u0100bp\u355a\u355c;\u6ad5;\u6ad3c\u0300;acens\u11ed\u356c\u3572\u3579\u357b\u3326ppro\xf8\u32faurlye\xf1\u11fe\xf1\u11f3\u0180aes\u3582\u3588\u331bppro\xf8\u331aq\xf1\u3317g;\u666a\u0680123;Edehlmnps\u35a9\u35ac\u35af\u121c\u35b2\u35b4\u35c0\u35c9\u35d5\u35da\u35df\u35e8\u35ed\u803b\xb9\u40b9\u803b\xb2\u40b2\u803b\xb3\u40b3;\u6ac6\u0100os\u35b9\u35bct;\u6abeub;\u6ad8\u0100;d\u1222\u35c5ot;\u6ac4s\u0100ou\u35cf\u35d2l;\u67c9b;\u6ad7arr;\u697bult;\u6ac2\u0100Ee\u35e4\u35e6;\u6acc;\u628blus;\u6ac0\u0180eiu\u35f4\u3609\u360ct\u0180;en\u121c\u35fc\u3602q\u0100;q\u1222\u35b2eq\u0100;q\u35e7\u35e4m;\u6ac8\u0100bp\u3611\u3613;\u6ad4;\u6ad6\u0180Aan\u361c\u3620\u362drr;\u61d9r\u0100hr\u3626\u3628\xeb\u222e\u0100;o\u0a2b\u0a29war;\u692alig\u803b\xdf\u40df\u0be1\u3651\u365d\u3660\u12ce\u3673\u3679\0\u367e\u36c2\0\0\0\0\0\u36db\u3703\0\u3709\u376c\0\0\0\u3787\u0272\u3656\0\0\u365bget;\u6316;\u43c4r\xeb\u0e5f\u0180aey\u3666\u366b\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uc000\u{1d531}\u0200eiko\u3686\u369d\u36b5\u36bc\u01f2\u368b\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369b\u43b8ym;\u43d1\u0100cn\u36a2\u36b2k\u0100as\u36a8\u36aeppro\xf8\u12c1im\xbb\u12acs\xf0\u129e\u0100as\u36ba\u36ae\xf0\u12c1rn\u803b\xfe\u40fe\u01ec\u031f\u36c6\u22e7es\u8180\xd7;bd\u36cf\u36d0\u36d8\u40d7\u0100;a\u190f\u36d5r;\u6a31;\u6a30\u0180eps\u36e1\u36e3\u3700\xe1\u2a4d\u0200;bcf\u0486\u36ec\u36f0\u36f4ot;\u6336ir;\u6af1\u0100;o\u36f9\u36fc\uc000\u{1d565}rk;\u6ada\xe1\u3362rime;\u6034\u0180aip\u370f\u3712\u3764d\xe5\u1248\u0380adempst\u3721\u374d\u3740\u3751\u3757\u375c\u375fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65b5own\xbb\u1dbbeft\u0100;e\u2800\u373e\xf1\u092e;\u625cight\u0100;e\u32aa\u374b\xf1\u105aot;\u65ecinus;\u6a3alus;\u6a39b;\u69cdime;\u6a3bezium;\u63e2\u0180cht\u3772\u377d\u3781\u0100ry\u3777\u377b;\uc000\u{1d4c9};\u4446cy;\u445brok;\u4167\u0100io\u378b\u378ex\xf4\u1777head\u0100lr\u3797\u37a0eftarro\xf7\u084fightarrow\xbb\u0f5d\u0900AHabcdfghlmoprstuw\u37d0\u37d3\u37d7\u37e4\u37f0\u37fc\u380e\u381c\u3823\u3834\u3851\u385d\u386b\u38a9\u38cc\u38d2\u38ea\u38f6r\xf2\u03edar;\u6963\u0100cr\u37dc\u37e2ute\u803b\xfa\u40fa\xf2\u1150r\u01e3\u37ea\0\u37edy;\u445eve;\u416d\u0100iy\u37f5\u37farc\u803b\xfb\u40fb;\u4443\u0180abh\u3803\u3806\u380br\xf2\u13adlac;\u4171a\xf2\u13c3\u0100ir\u3813\u3818sht;\u697e;\uc000\u{1d532}rave\u803b\xf9\u40f9\u0161\u3827\u3831r\u0100lr\u382c\u382e\xbb\u0957\xbb\u1083lk;\u6580\u0100ct\u3839\u384d\u026f\u383f\0\0\u384arn\u0100;e\u3845\u3846\u631cr\xbb\u3846op;\u630fri;\u65f8\u0100al\u3856\u385acr;\u416b\u80bb\xa8\u0349\u0100gp\u3862\u3866on;\u4173f;\uc000\u{1d566}\u0300adhlsu\u114b\u3878\u387d\u1372\u3891\u38a0own\xe1\u13b3arpoon\u0100lr\u3888\u388cef\xf4\u382digh\xf4\u382fi\u0180;hl\u3899\u389a\u389c\u43c5\xbb\u13faon\xbb\u389aparrows;\u61c8\u0180cit\u38b0\u38c4\u38c8\u026f\u38b6\0\0\u38c1rn\u0100;e\u38bc\u38bd\u631dr\xbb\u38bdop;\u630eng;\u416fri;\u65f9cr;\uc000\u{1d4ca}\u0180dir\u38d9\u38dd\u38e2ot;\u62f0lde;\u4169i\u0100;f\u3730\u38e8\xbb\u1813\u0100am\u38ef\u38f2r\xf2\u38a8l\u803b\xfc\u40fcangle;\u69a7\u0780ABDacdeflnoprsz\u391c\u391f\u3929\u392d\u39b5\u39b8\u39bd\u39df\u39e4\u39e8\u39f3\u39f9\u39fd\u3a01\u3a20r\xf2\u03f7ar\u0100;v\u3926\u3927\u6ae8;\u6ae9as\xe8\u03e1\u0100nr\u3932\u3937grt;\u699c\u0380eknprst\u34e3\u3946\u394b\u3952\u395d\u3964\u3996app\xe1\u2415othin\xe7\u1e96\u0180hir\u34eb\u2ec8\u3959op\xf4\u2fb5\u0100;h\u13b7\u3962\xef\u318d\u0100iu\u3969\u396dgm\xe1\u33b3\u0100bp\u3972\u3984setneq\u0100;q\u397d\u3980\uc000\u228a\ufe00;\uc000\u2acb\ufe00setneq\u0100;q\u398f\u3992\uc000\u228b\ufe00;\uc000\u2acc\ufe00\u0100hr\u399b\u399fet\xe1\u369ciangle\u0100lr\u39aa\u39afeft\xbb\u0925ight\xbb\u1051y;\u4432ash\xbb\u1036\u0180elr\u39c4\u39d2\u39d7\u0180;be\u2dea\u39cb\u39cfar;\u62bbq;\u625alip;\u62ee\u0100bt\u39dc\u1468a\xf2\u1469r;\uc000\u{1d533}tr\xe9\u39aesu\u0100bp\u39ef\u39f1\xbb\u0d1c\xbb\u0d59pf;\uc000\u{1d567}ro\xf0\u0efbtr\xe9\u39b4\u0100cu\u3a06\u3a0br;\uc000\u{1d4cb}\u0100bp\u3a10\u3a18n\u0100Ee\u3980\u3a16\xbb\u397en\u0100Ee\u3992\u3a1e\xbb\u3990igzag;\u699a\u0380cefoprs\u3a36\u3a3b\u3a56\u3a5b\u3a54\u3a61\u3a6airc;\u4175\u0100di\u3a40\u3a51\u0100bg\u3a45\u3a49ar;\u6a5fe\u0100;q\u15fa\u3a4f;\u6259erp;\u6118r;\uc000\u{1d534}pf;\uc000\u{1d568}\u0100;e\u1479\u3a66at\xe8\u1479cr;\uc000\u{1d4cc}\u0ae3\u178e\u3a87\0\u3a8b\0\u3a90\u3a9b\0\0\u3a9d\u3aa8\u3aab\u3aaf\0\0\u3ac3\u3ace\0\u3ad8\u17dc\u17dftr\xe9\u17d1r;\uc000\u{1d535}\u0100Aa\u3a94\u3a97r\xf2\u03c3r\xf2\u09f6;\u43be\u0100Aa\u3aa1\u3aa4r\xf2\u03b8r\xf2\u09eba\xf0\u2713is;\u62fb\u0180dpt\u17a4\u3ab5\u3abe\u0100fl\u3aba\u17a9;\uc000\u{1d569}im\xe5\u17b2\u0100Aa\u3ac7\u3acar\xf2\u03cer\xf2\u0a01\u0100cq\u3ad2\u17b8r;\uc000\u{1d4cd}\u0100pt\u17d6\u3adcr\xe9\u17d4\u0400acefiosu\u3af0\u3afd\u3b08\u3b0c\u3b11\u3b15\u3b1b\u3b21c\u0100uy\u3af6\u3afbte\u803b\xfd\u40fd;\u444f\u0100iy\u3b02\u3b06rc;\u4177;\u444bn\u803b\xa5\u40a5r;\uc000\u{1d536}cy;\u4457pf;\uc000\u{1d56a}cr;\uc000\u{1d4ce}\u0100cm\u3b26\u3b29y;\u444el\u803b\xff\u40ff\u0500acdefhiosw\u3b42\u3b48\u3b54\u3b58\u3b64\u3b69\u3b6d\u3b74\u3b7a\u3b80cute;\u417a\u0100ay\u3b4d\u3b52ron;\u417e;\u4437ot;\u417c\u0100et\u3b5d\u3b61tr\xe6\u155fa;\u43b6r;\uc000\u{1d537}cy;\u4436grarr;\u61ddpf;\uc000\u{1d56b}cr;\uc000\u{1d4cf}\u0100jn\u3b85\u3b87;\u600dj;\u600c'.split("").map(function(I){return I.charCodeAt(0)}))},9704:(ve,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.default=new Uint16Array("\u0200aglq\t\x15\x18\x1b\u026d\x0f\0\0\x12p;\u4026os;\u4027t;\u403et;\u403cuot;\u4022".split("").map(function(I){return I.charCodeAt(0)}))},5754:(ve,A)=>{"use strict";function I(T){for(var g=1;g<T.length;g++)T[g][0]+=T[g-1][0]+1;return T}Object.defineProperty(A,"__esModule",{value:!0}),A.default=new Map(I([[9,"&Tab;"],[0,"&NewLine;"],[22,"&excl;"],[0,"&quot;"],[0,"&num;"],[0,"&dollar;"],[0,"&percnt;"],[0,"&amp;"],[0,"&apos;"],[0,"&lpar;"],[0,"&rpar;"],[0,"&ast;"],[0,"&plus;"],[0,"&comma;"],[1,"&period;"],[0,"&sol;"],[10,"&colon;"],[0,"&semi;"],[0,{v:"&lt;",n:8402,o:"&nvlt;"}],[0,{v:"&equals;",n:8421,o:"&bne;"}],[0,{v:"&gt;",n:8402,o:"&nvgt;"}],[0,"&quest;"],[0,"&commat;"],[26,"&lbrack;"],[0,"&bsol;"],[0,"&rbrack;"],[0,"&Hat;"],[0,"&lowbar;"],[0,"&DiacriticalGrave;"],[5,{n:106,o:"&fjlig;"}],[20,"&lbrace;"],[0,"&verbar;"],[0,"&rbrace;"],[34,"&nbsp;"],[0,"&iexcl;"],[0,"&cent;"],[0,"&pound;"],[0,"&curren;"],[0,"&yen;"],[0,"&brvbar;"],[0,"&sect;"],[0,"&die;"],[0,"&copy;"],[0,"&ordf;"],[0,"&laquo;"],[0,"&not;"],[0,"&shy;"],[0,"&circledR;"],[0,"&macr;"],[0,"&deg;"],[0,"&PlusMinus;"],[0,"&sup2;"],[0,"&sup3;"],[0,"&acute;"],[0,"&micro;"],[0,"&para;"],[0,"&centerdot;"],[0,"&cedil;"],[0,"&sup1;"],[0,"&ordm;"],[0,"&raquo;"],[0,"&frac14;"],[0,"&frac12;"],[0,"&frac34;"],[0,"&iquest;"],[0,"&Agrave;"],[0,"&Aacute;"],[0,"&Acirc;"],[0,"&Atilde;"],[0,"&Auml;"],[0,"&angst;"],[0,"&AElig;"],[0,"&Ccedil;"],[0,"&Egrave;"],[0,"&Eacute;"],[0,"&Ecirc;"],[0,"&Euml;"],[0,"&Igrave;"],[0,"&Iacute;"],[0,"&Icirc;"],[0,"&Iuml;"],[0,"&ETH;"],[0,"&Ntilde;"],[0,"&Ograve;"],[0,"&Oacute;"],[0,"&Ocirc;"],[0,"&Otilde;"],[0,"&Ouml;"],[0,"&times;"],[0,"&Oslash;"],[0,"&Ugrave;"],[0,"&Uacute;"],[0,"&Ucirc;"],[0,"&Uuml;"],[0,"&Yacute;"],[0,"&THORN;"],[0,"&szlig;"],[0,"&agrave;"],[0,"&aacute;"],[0,"&acirc;"],[0,"&atilde;"],[0,"&auml;"],[0,"&aring;"],[0,"&aelig;"],[0,"&ccedil;"],[0,"&egrave;"],[0,"&eacute;"],[0,"&ecirc;"],[0,"&euml;"],[0,"&igrave;"],[0,"&iacute;"],[0,"&icirc;"],[0,"&iuml;"],[0,"&eth;"],[0,"&ntilde;"],[0,"&ograve;"],[0,"&oacute;"],[0,"&ocirc;"],[0,"&otilde;"],[0,"&ouml;"],[0,"&div;"],[0,"&oslash;"],[0,"&ugrave;"],[0,"&uacute;"],[0,"&ucirc;"],[0,"&uuml;"],[0,"&yacute;"],[0,"&thorn;"],[0,"&yuml;"],[0,"&Amacr;"],[0,"&amacr;"],[0,"&Abreve;"],[0,"&abreve;"],[0,"&Aogon;"],[0,"&aogon;"],[0,"&Cacute;"],[0,"&cacute;"],[0,"&Ccirc;"],[0,"&ccirc;"],[0,"&Cdot;"],[0,"&cdot;"],[0,"&Ccaron;"],[0,"&ccaron;"],[0,"&Dcaron;"],[0,"&dcaron;"],[0,"&Dstrok;"],[0,"&dstrok;"],[0,"&Emacr;"],[0,"&emacr;"],[2,"&Edot;"],[0,"&edot;"],[0,"&Eogon;"],[0,"&eogon;"],[0,"&Ecaron;"],[0,"&ecaron;"],[0,"&Gcirc;"],[0,"&gcirc;"],[0,"&Gbreve;"],[0,"&gbreve;"],[0,"&Gdot;"],[0,"&gdot;"],[0,"&Gcedil;"],[1,"&Hcirc;"],[0,"&hcirc;"],[0,"&Hstrok;"],[0,"&hstrok;"],[0,"&Itilde;"],[0,"&itilde;"],[0,"&Imacr;"],[0,"&imacr;"],[2,"&Iogon;"],[0,"&iogon;"],[0,"&Idot;"],[0,"&imath;"],[0,"&IJlig;"],[0,"&ijlig;"],[0,"&Jcirc;"],[0,"&jcirc;"],[0,"&Kcedil;"],[0,"&kcedil;"],[0,"&kgreen;"],[0,"&Lacute;"],[0,"&lacute;"],[0,"&Lcedil;"],[0,"&lcedil;"],[0,"&Lcaron;"],[0,"&lcaron;"],[0,"&Lmidot;"],[0,"&lmidot;"],[0,"&Lstrok;"],[0,"&lstrok;"],[0,"&Nacute;"],[0,"&nacute;"],[0,"&Ncedil;"],[0,"&ncedil;"],[0,"&Ncaron;"],[0,"&ncaron;"],[0,"&napos;"],[0,"&ENG;"],[0,"&eng;"],[0,"&Omacr;"],[0,"&omacr;"],[2,"&Odblac;"],[0,"&odblac;"],[0,"&OElig;"],[0,"&oelig;"],[0,"&Racute;"],[0,"&racute;"],[0,"&Rcedil;"],[0,"&rcedil;"],[0,"&Rcaron;"],[0,"&rcaron;"],[0,"&Sacute;"],[0,"&sacute;"],[0,"&Scirc;"],[0,"&scirc;"],[0,"&Scedil;"],[0,"&scedil;"],[0,"&Scaron;"],[0,"&scaron;"],[0,"&Tcedil;"],[0,"&tcedil;"],[0,"&Tcaron;"],[0,"&tcaron;"],[0,"&Tstrok;"],[0,"&tstrok;"],[0,"&Utilde;"],[0,"&utilde;"],[0,"&Umacr;"],[0,"&umacr;"],[0,"&Ubreve;"],[0,"&ubreve;"],[0,"&Uring;"],[0,"&uring;"],[0,"&Udblac;"],[0,"&udblac;"],[0,"&Uogon;"],[0,"&uogon;"],[0,"&Wcirc;"],[0,"&wcirc;"],[0,"&Ycirc;"],[0,"&ycirc;"],[0,"&Yuml;"],[0,"&Zacute;"],[0,"&zacute;"],[0,"&Zdot;"],[0,"&zdot;"],[0,"&Zcaron;"],[0,"&zcaron;"],[19,"&fnof;"],[34,"&imped;"],[63,"&gacute;"],[65,"&jmath;"],[142,"&circ;"],[0,"&caron;"],[16,"&breve;"],[0,"&DiacriticalDot;"],[0,"&ring;"],[0,"&ogon;"],[0,"&DiacriticalTilde;"],[0,"&dblac;"],[51,"&DownBreve;"],[127,"&Alpha;"],[0,"&Beta;"],[0,"&Gamma;"],[0,"&Delta;"],[0,"&Epsilon;"],[0,"&Zeta;"],[0,"&Eta;"],[0,"&Theta;"],[0,"&Iota;"],[0,"&Kappa;"],[0,"&Lambda;"],[0,"&Mu;"],[0,"&Nu;"],[0,"&Xi;"],[0,"&Omicron;"],[0,"&Pi;"],[0,"&Rho;"],[1,"&Sigma;"],[0,"&Tau;"],[0,"&Upsilon;"],[0,"&Phi;"],[0,"&Chi;"],[0,"&Psi;"],[0,"&ohm;"],[7,"&alpha;"],[0,"&beta;"],[0,"&gamma;"],[0,"&delta;"],[0,"&epsi;"],[0,"&zeta;"],[0,"&eta;"],[0,"&theta;"],[0,"&iota;"],[0,"&kappa;"],[0,"&lambda;"],[0,"&mu;"],[0,"&nu;"],[0,"&xi;"],[0,"&omicron;"],[0,"&pi;"],[0,"&rho;"],[0,"&sigmaf;"],[0,"&sigma;"],[0,"&tau;"],[0,"&upsi;"],[0,"&phi;"],[0,"&chi;"],[0,"&psi;"],[0,"&omega;"],[7,"&thetasym;"],[0,"&Upsi;"],[2,"&phiv;"],[0,"&piv;"],[5,"&Gammad;"],[0,"&digamma;"],[18,"&kappav;"],[0,"&rhov;"],[3,"&epsiv;"],[0,"&backepsilon;"],[10,"&IOcy;"],[0,"&DJcy;"],[0,"&GJcy;"],[0,"&Jukcy;"],[0,"&DScy;"],[0,"&Iukcy;"],[0,"&YIcy;"],[0,"&Jsercy;"],[0,"&LJcy;"],[0,"&NJcy;"],[0,"&TSHcy;"],[0,"&KJcy;"],[1,"&Ubrcy;"],[0,"&DZcy;"],[0,"&Acy;"],[0,"&Bcy;"],[0,"&Vcy;"],[0,"&Gcy;"],[0,"&Dcy;"],[0,"&IEcy;"],[0,"&ZHcy;"],[0,"&Zcy;"],[0,"&Icy;"],[0,"&Jcy;"],[0,"&Kcy;"],[0,"&Lcy;"],[0,"&Mcy;"],[0,"&Ncy;"],[0,"&Ocy;"],[0,"&Pcy;"],[0,"&Rcy;"],[0,"&Scy;"],[0,"&Tcy;"],[0,"&Ucy;"],[0,"&Fcy;"],[0,"&KHcy;"],[0,"&TScy;"],[0,"&CHcy;"],[0,"&SHcy;"],[0,"&SHCHcy;"],[0,"&HARDcy;"],[0,"&Ycy;"],[0,"&SOFTcy;"],[0,"&Ecy;"],[0,"&YUcy;"],[0,"&YAcy;"],[0,"&acy;"],[0,"&bcy;"],[0,"&vcy;"],[0,"&gcy;"],[0,"&dcy;"],[0,"&iecy;"],[0,"&zhcy;"],[0,"&zcy;"],[0,"&icy;"],[0,"&jcy;"],[0,"&kcy;"],[0,"&lcy;"],[0,"&mcy;"],[0,"&ncy;"],[0,"&ocy;"],[0,"&pcy;"],[0,"&rcy;"],[0,"&scy;"],[0,"&tcy;"],[0,"&ucy;"],[0,"&fcy;"],[0,"&khcy;"],[0,"&tscy;"],[0,"&chcy;"],[0,"&shcy;"],[0,"&shchcy;"],[0,"&hardcy;"],[0,"&ycy;"],[0,"&softcy;"],[0,"&ecy;"],[0,"&yucy;"],[0,"&yacy;"],[1,"&iocy;"],[0,"&djcy;"],[0,"&gjcy;"],[0,"&jukcy;"],[0,"&dscy;"],[0,"&iukcy;"],[0,"&yicy;"],[0,"&jsercy;"],[0,"&ljcy;"],[0,"&njcy;"],[0,"&tshcy;"],[0,"&kjcy;"],[1,"&ubrcy;"],[0,"&dzcy;"],[7074,"&ensp;"],[0,"&emsp;"],[0,"&emsp13;"],[0,"&emsp14;"],[1,"&numsp;"],[0,"&puncsp;"],[0,"&ThinSpace;"],[0,"&hairsp;"],[0,"&NegativeMediumSpace;"],[0,"&zwnj;"],[0,"&zwj;"],[0,"&lrm;"],[0,"&rlm;"],[0,"&dash;"],[2,"&ndash;"],[0,"&mdash;"],[0,"&horbar;"],[0,"&Verbar;"],[1,"&lsquo;"],[0,"&CloseCurlyQuote;"],[0,"&lsquor;"],[1,"&ldquo;"],[0,"&CloseCurlyDoubleQuote;"],[0,"&bdquo;"],[1,"&dagger;"],[0,"&Dagger;"],[0,"&bull;"],[2,"&nldr;"],[0,"&hellip;"],[9,"&permil;"],[0,"&pertenk;"],[0,"&prime;"],[0,"&Prime;"],[0,"&tprime;"],[0,"&backprime;"],[3,"&lsaquo;"],[0,"&rsaquo;"],[3,"&oline;"],[2,"&caret;"],[1,"&hybull;"],[0,"&frasl;"],[10,"&bsemi;"],[7,"&qprime;"],[7,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[0,"&NoBreak;"],[0,"&af;"],[0,"&InvisibleTimes;"],[0,"&ic;"],[72,"&euro;"],[46,"&tdot;"],[0,"&DotDot;"],[37,"&complexes;"],[2,"&incare;"],[4,"&gscr;"],[0,"&hamilt;"],[0,"&Hfr;"],[0,"&Hopf;"],[0,"&planckh;"],[0,"&hbar;"],[0,"&imagline;"],[0,"&Ifr;"],[0,"&lagran;"],[0,"&ell;"],[1,"&naturals;"],[0,"&numero;"],[0,"&copysr;"],[0,"&weierp;"],[0,"&Popf;"],[0,"&Qopf;"],[0,"&realine;"],[0,"&real;"],[0,"&reals;"],[0,"&rx;"],[3,"&trade;"],[1,"&integers;"],[2,"&mho;"],[0,"&zeetrf;"],[0,"&iiota;"],[2,"&bernou;"],[0,"&Cayleys;"],[1,"&escr;"],[0,"&Escr;"],[0,"&Fouriertrf;"],[1,"&Mellintrf;"],[0,"&order;"],[0,"&alefsym;"],[0,"&beth;"],[0,"&gimel;"],[0,"&daleth;"],[12,"&CapitalDifferentialD;"],[0,"&dd;"],[0,"&ee;"],[0,"&ii;"],[10,"&frac13;"],[0,"&frac23;"],[0,"&frac15;"],[0,"&frac25;"],[0,"&frac35;"],[0,"&frac45;"],[0,"&frac16;"],[0,"&frac56;"],[0,"&frac18;"],[0,"&frac38;"],[0,"&frac58;"],[0,"&frac78;"],[49,"&larr;"],[0,"&ShortUpArrow;"],[0,"&rarr;"],[0,"&darr;"],[0,"&harr;"],[0,"&updownarrow;"],[0,"&nwarr;"],[0,"&nearr;"],[0,"&LowerRightArrow;"],[0,"&LowerLeftArrow;"],[0,"&nlarr;"],[0,"&nrarr;"],[1,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[0,"&Larr;"],[0,"&Uarr;"],[0,"&Rarr;"],[0,"&Darr;"],[0,"&larrtl;"],[0,"&rarrtl;"],[0,"&LeftTeeArrow;"],[0,"&mapstoup;"],[0,"&map;"],[0,"&DownTeeArrow;"],[1,"&hookleftarrow;"],[0,"&hookrightarrow;"],[0,"&larrlp;"],[0,"&looparrowright;"],[0,"&harrw;"],[0,"&nharr;"],[1,"&lsh;"],[0,"&rsh;"],[0,"&ldsh;"],[0,"&rdsh;"],[1,"&crarr;"],[0,"&cularr;"],[0,"&curarr;"],[2,"&circlearrowleft;"],[0,"&circlearrowright;"],[0,"&leftharpoonup;"],[0,"&DownLeftVector;"],[0,"&RightUpVector;"],[0,"&LeftUpVector;"],[0,"&rharu;"],[0,"&DownRightVector;"],[0,"&dharr;"],[0,"&dharl;"],[0,"&RightArrowLeftArrow;"],[0,"&udarr;"],[0,"&LeftArrowRightArrow;"],[0,"&leftleftarrows;"],[0,"&upuparrows;"],[0,"&rightrightarrows;"],[0,"&ddarr;"],[0,"&leftrightharpoons;"],[0,"&Equilibrium;"],[0,"&nlArr;"],[0,"&nhArr;"],[0,"&nrArr;"],[0,"&DoubleLeftArrow;"],[0,"&DoubleUpArrow;"],[0,"&DoubleRightArrow;"],[0,"&dArr;"],[0,"&DoubleLeftRightArrow;"],[0,"&DoubleUpDownArrow;"],[0,"&nwArr;"],[0,"&neArr;"],[0,"&seArr;"],[0,"&swArr;"],[0,"&lAarr;"],[0,"&rAarr;"],[1,"&zigrarr;"],[6,"&larrb;"],[0,"&rarrb;"],[15,"&DownArrowUpArrow;"],[7,"&loarr;"],[0,"&roarr;"],[0,"&hoarr;"],[0,"&forall;"],[0,"&comp;"],[0,{v:"&part;",n:824,o:"&npart;"}],[0,"&exist;"],[0,"&nexist;"],[0,"&empty;"],[1,"&Del;"],[0,"&Element;"],[0,"&NotElement;"],[1,"&ni;"],[0,"&notni;"],[2,"&prod;"],[0,"&coprod;"],[0,"&sum;"],[0,"&minus;"],[0,"&MinusPlus;"],[0,"&dotplus;"],[1,"&Backslash;"],[0,"&lowast;"],[0,"&compfn;"],[1,"&radic;"],[2,"&prop;"],[0,"&infin;"],[0,"&angrt;"],[0,{v:"&ang;",n:8402,o:"&nang;"}],[0,"&angmsd;"],[0,"&angsph;"],[0,"&mid;"],[0,"&nmid;"],[0,"&DoubleVerticalBar;"],[0,"&NotDoubleVerticalBar;"],[0,"&and;"],[0,"&or;"],[0,{v:"&cap;",n:65024,o:"&caps;"}],[0,{v:"&cup;",n:65024,o:"&cups;"}],[0,"&int;"],[0,"&Int;"],[0,"&iiint;"],[0,"&conint;"],[0,"&Conint;"],[0,"&Cconint;"],[0,"&cwint;"],[0,"&ClockwiseContourIntegral;"],[0,"&awconint;"],[0,"&there4;"],[0,"&becaus;"],[0,"&ratio;"],[0,"&Colon;"],[0,"&dotminus;"],[1,"&mDDot;"],[0,"&homtht;"],[0,{v:"&sim;",n:8402,o:"&nvsim;"}],[0,{v:"&backsim;",n:817,o:"&race;"}],[0,{v:"&ac;",n:819,o:"&acE;"}],[0,"&acd;"],[0,"&VerticalTilde;"],[0,"&NotTilde;"],[0,{v:"&eqsim;",n:824,o:"&nesim;"}],[0,"&sime;"],[0,"&NotTildeEqual;"],[0,"&cong;"],[0,"&simne;"],[0,"&ncong;"],[0,"&ap;"],[0,"&nap;"],[0,"&ape;"],[0,{v:"&apid;",n:824,o:"&napid;"}],[0,"&backcong;"],[0,{v:"&asympeq;",n:8402,o:"&nvap;"}],[0,{v:"&bump;",n:824,o:"&nbump;"}],[0,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[0,{v:"&doteq;",n:824,o:"&nedot;"}],[0,"&doteqdot;"],[0,"&efDot;"],[0,"&erDot;"],[0,"&Assign;"],[0,"&ecolon;"],[0,"&ecir;"],[0,"&circeq;"],[1,"&wedgeq;"],[0,"&veeeq;"],[1,"&triangleq;"],[2,"&equest;"],[0,"&ne;"],[0,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[0,"&nequiv;"],[1,{v:"&le;",n:8402,o:"&nvle;"}],[0,{v:"&ge;",n:8402,o:"&nvge;"}],[0,{v:"&lE;",n:824,o:"&nlE;"}],[0,{v:"&gE;",n:824,o:"&ngE;"}],[0,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[0,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[0,{v:"&ll;",n:new Map(I([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(I([[824,"&nGtv;"],[7577,"&nGt;"]]))}],[0,"&between;"],[0,"&NotCupCap;"],[0,"&nless;"],[0,"&ngt;"],[0,"&nle;"],[0,"&nge;"],[0,"&lesssim;"],[0,"&GreaterTilde;"],[0,"&nlsim;"],[0,"&ngsim;"],[0,"&LessGreater;"],[0,"&gl;"],[0,"&NotLessGreater;"],[0,"&NotGreaterLess;"],[0,"&pr;"],[0,"&sc;"],[0,"&prcue;"],[0,"&sccue;"],[0,"&PrecedesTilde;"],[0,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[0,"&NotPrecedes;"],[0,"&NotSucceeds;"],[0,{v:"&sub;",n:8402,o:"&NotSubset;"}],[0,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[0,"&nsub;"],[0,"&nsup;"],[0,"&sube;"],[0,"&supe;"],[0,"&NotSubsetEqual;"],[0,"&NotSupersetEqual;"],[0,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[0,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[1,"&cupdot;"],[0,"&UnionPlus;"],[0,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[0,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[0,"&sqsube;"],[0,"&sqsupe;"],[0,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[0,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[0,"&CirclePlus;"],[0,"&CircleMinus;"],[0,"&CircleTimes;"],[0,"&osol;"],[0,"&CircleDot;"],[0,"&circledcirc;"],[0,"&circledast;"],[1,"&circleddash;"],[0,"&boxplus;"],[0,"&boxminus;"],[0,"&boxtimes;"],[0,"&dotsquare;"],[0,"&RightTee;"],[0,"&dashv;"],[0,"&DownTee;"],[0,"&bot;"],[1,"&models;"],[0,"&DoubleRightTee;"],[0,"&Vdash;"],[0,"&Vvdash;"],[0,"&VDash;"],[0,"&nvdash;"],[0,"&nvDash;"],[0,"&nVdash;"],[0,"&nVDash;"],[0,"&prurel;"],[1,"&LeftTriangle;"],[0,"&RightTriangle;"],[0,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[0,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[0,"&origof;"],[0,"&imof;"],[0,"&multimap;"],[0,"&hercon;"],[0,"&intcal;"],[0,"&veebar;"],[1,"&barvee;"],[0,"&angrtvb;"],[0,"&lrtri;"],[0,"&bigwedge;"],[0,"&bigvee;"],[0,"&bigcap;"],[0,"&bigcup;"],[0,"&diam;"],[0,"&sdot;"],[0,"&sstarf;"],[0,"&divideontimes;"],[0,"&bowtie;"],[0,"&ltimes;"],[0,"&rtimes;"],[0,"&leftthreetimes;"],[0,"&rightthreetimes;"],[0,"&backsimeq;"],[0,"&curlyvee;"],[0,"&curlywedge;"],[0,"&Sub;"],[0,"&Sup;"],[0,"&Cap;"],[0,"&Cup;"],[0,"&fork;"],[0,"&epar;"],[0,"&lessdot;"],[0,"&gtdot;"],[0,{v:"&Ll;",n:824,o:"&nLl;"}],[0,{v:"&Gg;",n:824,o:"&nGg;"}],[0,{v:"&leg;",n:65024,o:"&lesg;"}],[0,{v:"&gel;",n:65024,o:"&gesl;"}],[2,"&cuepr;"],[0,"&cuesc;"],[0,"&NotPrecedesSlantEqual;"],[0,"&NotSucceedsSlantEqual;"],[0,"&NotSquareSubsetEqual;"],[0,"&NotSquareSupersetEqual;"],[2,"&lnsim;"],[0,"&gnsim;"],[0,"&precnsim;"],[0,"&scnsim;"],[0,"&nltri;"],[0,"&NotRightTriangle;"],[0,"&nltrie;"],[0,"&NotRightTriangleEqual;"],[0,"&vellip;"],[0,"&ctdot;"],[0,"&utdot;"],[0,"&dtdot;"],[0,"&disin;"],[0,"&isinsv;"],[0,"&isins;"],[0,{v:"&isindot;",n:824,o:"&notindot;"}],[0,"&notinvc;"],[0,"&notinvb;"],[1,{v:"&isinE;",n:824,o:"&notinE;"}],[0,"&nisd;"],[0,"&xnis;"],[0,"&nis;"],[0,"&notnivc;"],[0,"&notnivb;"],[6,"&barwed;"],[0,"&Barwed;"],[1,"&lceil;"],[0,"&rceil;"],[0,"&LeftFloor;"],[0,"&rfloor;"],[0,"&drcrop;"],[0,"&dlcrop;"],[0,"&urcrop;"],[0,"&ulcrop;"],[0,"&bnot;"],[1,"&profline;"],[0,"&profsurf;"],[1,"&telrec;"],[0,"&target;"],[5,"&ulcorn;"],[0,"&urcorn;"],[0,"&dlcorn;"],[0,"&drcorn;"],[2,"&frown;"],[0,"&smile;"],[9,"&cylcty;"],[0,"&profalar;"],[7,"&topbot;"],[6,"&ovbar;"],[1,"&solbar;"],[60,"&angzarr;"],[51,"&lmoustache;"],[0,"&rmoustache;"],[2,"&OverBracket;"],[0,"&bbrk;"],[0,"&bbrktbrk;"],[37,"&OverParenthesis;"],[0,"&UnderParenthesis;"],[0,"&OverBrace;"],[0,"&UnderBrace;"],[2,"&trpezium;"],[4,"&elinters;"],[59,"&blank;"],[164,"&circledS;"],[55,"&boxh;"],[1,"&boxv;"],[9,"&boxdr;"],[3,"&boxdl;"],[3,"&boxur;"],[3,"&boxul;"],[3,"&boxvr;"],[7,"&boxvl;"],[7,"&boxhd;"],[7,"&boxhu;"],[7,"&boxvh;"],[19,"&boxH;"],[0,"&boxV;"],[0,"&boxdR;"],[0,"&boxDr;"],[0,"&boxDR;"],[0,"&boxdL;"],[0,"&boxDl;"],[0,"&boxDL;"],[0,"&boxuR;"],[0,"&boxUr;"],[0,"&boxUR;"],[0,"&boxuL;"],[0,"&boxUl;"],[0,"&boxUL;"],[0,"&boxvR;"],[0,"&boxVr;"],[0,"&boxVR;"],[0,"&boxvL;"],[0,"&boxVl;"],[0,"&boxVL;"],[0,"&boxHd;"],[0,"&boxhD;"],[0,"&boxHD;"],[0,"&boxHu;"],[0,"&boxhU;"],[0,"&boxHU;"],[0,"&boxvH;"],[0,"&boxVh;"],[0,"&boxVH;"],[19,"&uhblk;"],[3,"&lhblk;"],[3,"&block;"],[8,"&blk14;"],[0,"&blk12;"],[0,"&blk34;"],[13,"&square;"],[8,"&blacksquare;"],[0,"&EmptyVerySmallSquare;"],[1,"&rect;"],[0,"&marker;"],[2,"&fltns;"],[1,"&bigtriangleup;"],[0,"&blacktriangle;"],[0,"&triangle;"],[2,"&blacktriangleright;"],[0,"&rtri;"],[3,"&bigtriangledown;"],[0,"&blacktriangledown;"],[0,"&dtri;"],[2,"&blacktriangleleft;"],[0,"&ltri;"],[6,"&loz;"],[0,"&cir;"],[32,"&tridot;"],[2,"&bigcirc;"],[8,"&ultri;"],[0,"&urtri;"],[0,"&lltri;"],[0,"&EmptySmallSquare;"],[0,"&FilledSmallSquare;"],[8,"&bigstar;"],[0,"&star;"],[7,"&phone;"],[49,"&female;"],[1,"&male;"],[29,"&spades;"],[2,"&clubs;"],[1,"&hearts;"],[0,"&diamondsuit;"],[3,"&sung;"],[2,"&flat;"],[0,"&natural;"],[0,"&sharp;"],[163,"&check;"],[3,"&cross;"],[8,"&malt;"],[21,"&sext;"],[33,"&VerticalSeparator;"],[25,"&lbbrk;"],[0,"&rbbrk;"],[84,"&bsolhsub;"],[0,"&suphsol;"],[28,"&LeftDoubleBracket;"],[0,"&RightDoubleBracket;"],[0,"&lang;"],[0,"&rang;"],[0,"&Lang;"],[0,"&Rang;"],[0,"&loang;"],[0,"&roang;"],[7,"&longleftarrow;"],[0,"&longrightarrow;"],[0,"&longleftrightarrow;"],[0,"&DoubleLongLeftArrow;"],[0,"&DoubleLongRightArrow;"],[0,"&DoubleLongLeftRightArrow;"],[1,"&longmapsto;"],[2,"&dzigrarr;"],[258,"&nvlArr;"],[0,"&nvrArr;"],[0,"&nvHarr;"],[0,"&Map;"],[6,"&lbarr;"],[0,"&bkarow;"],[0,"&lBarr;"],[0,"&dbkarow;"],[0,"&drbkarow;"],[0,"&DDotrahd;"],[0,"&UpArrowBar;"],[0,"&DownArrowBar;"],[2,"&Rarrtl;"],[2,"&latail;"],[0,"&ratail;"],[0,"&lAtail;"],[0,"&rAtail;"],[0,"&larrfs;"],[0,"&rarrfs;"],[0,"&larrbfs;"],[0,"&rarrbfs;"],[2,"&nwarhk;"],[0,"&nearhk;"],[0,"&hksearow;"],[0,"&hkswarow;"],[0,"&nwnear;"],[0,"&nesear;"],[0,"&seswar;"],[0,"&swnwar;"],[8,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[1,"&cudarrr;"],[0,"&ldca;"],[0,"&rdca;"],[0,"&cudarrl;"],[0,"&larrpl;"],[2,"&curarrm;"],[0,"&cularrp;"],[7,"&rarrpl;"],[2,"&harrcir;"],[0,"&Uarrocir;"],[0,"&lurdshar;"],[0,"&ldrushar;"],[2,"&LeftRightVector;"],[0,"&RightUpDownVector;"],[0,"&DownLeftRightVector;"],[0,"&LeftUpDownVector;"],[0,"&LeftVectorBar;"],[0,"&RightVectorBar;"],[0,"&RightUpVectorBar;"],[0,"&RightDownVectorBar;"],[0,"&DownLeftVectorBar;"],[0,"&DownRightVectorBar;"],[0,"&LeftUpVectorBar;"],[0,"&LeftDownVectorBar;"],[0,"&LeftTeeVector;"],[0,"&RightTeeVector;"],[0,"&RightUpTeeVector;"],[0,"&RightDownTeeVector;"],[0,"&DownLeftTeeVector;"],[0,"&DownRightTeeVector;"],[0,"&LeftUpTeeVector;"],[0,"&LeftDownTeeVector;"],[0,"&lHar;"],[0,"&uHar;"],[0,"&rHar;"],[0,"&dHar;"],[0,"&luruhar;"],[0,"&ldrdhar;"],[0,"&ruluhar;"],[0,"&rdldhar;"],[0,"&lharul;"],[0,"&llhard;"],[0,"&rharul;"],[0,"&lrhard;"],[0,"&udhar;"],[0,"&duhar;"],[0,"&RoundImplies;"],[0,"&erarr;"],[0,"&simrarr;"],[0,"&larrsim;"],[0,"&rarrsim;"],[0,"&rarrap;"],[0,"&ltlarr;"],[1,"&gtrarr;"],[0,"&subrarr;"],[1,"&suplarr;"],[0,"&lfisht;"],[0,"&rfisht;"],[0,"&ufisht;"],[0,"&dfisht;"],[5,"&lopar;"],[0,"&ropar;"],[4,"&lbrke;"],[0,"&rbrke;"],[0,"&lbrkslu;"],[0,"&rbrksld;"],[0,"&lbrksld;"],[0,"&rbrkslu;"],[0,"&langd;"],[0,"&rangd;"],[0,"&lparlt;"],[0,"&rpargt;"],[0,"&gtlPar;"],[0,"&ltrPar;"],[3,"&vzigzag;"],[1,"&vangrt;"],[0,"&angrtvbd;"],[6,"&ange;"],[0,"&range;"],[0,"&dwangle;"],[0,"&uwangle;"],[0,"&angmsdaa;"],[0,"&angmsdab;"],[0,"&angmsdac;"],[0,"&angmsdad;"],[0,"&angmsdae;"],[0,"&angmsdaf;"],[0,"&angmsdag;"],[0,"&angmsdah;"],[0,"&bemptyv;"],[0,"&demptyv;"],[0,"&cemptyv;"],[0,"&raemptyv;"],[0,"&laemptyv;"],[0,"&ohbar;"],[0,"&omid;"],[0,"&opar;"],[1,"&operp;"],[1,"&olcross;"],[0,"&odsold;"],[1,"&olcir;"],[0,"&ofcir;"],[0,"&olt;"],[0,"&ogt;"],[0,"&cirscir;"],[0,"&cirE;"],[0,"&solb;"],[0,"&bsolb;"],[3,"&boxbox;"],[3,"&trisb;"],[0,"&rtriltri;"],[0,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[0,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[11,"&iinfin;"],[0,"&infintie;"],[0,"&nvinfin;"],[4,"&eparsl;"],[0,"&smeparsl;"],[0,"&eqvparsl;"],[5,"&blacklozenge;"],[8,"&RuleDelayed;"],[1,"&dsol;"],[9,"&bigodot;"],[0,"&bigoplus;"],[0,"&bigotimes;"],[1,"&biguplus;"],[1,"&bigsqcup;"],[5,"&iiiint;"],[0,"&fpartint;"],[2,"&cirfnint;"],[0,"&awint;"],[0,"&rppolint;"],[0,"&scpolint;"],[0,"&npolint;"],[0,"&pointint;"],[0,"&quatint;"],[0,"&intlarhk;"],[10,"&pluscir;"],[0,"&plusacir;"],[0,"&simplus;"],[0,"&plusdu;"],[0,"&plussim;"],[0,"&plustwo;"],[1,"&mcomma;"],[0,"&minusdu;"],[2,"&loplus;"],[0,"&roplus;"],[0,"&Cross;"],[0,"&timesd;"],[0,"&timesbar;"],[1,"&smashp;"],[0,"&lotimes;"],[0,"&rotimes;"],[0,"&otimesas;"],[0,"&Otimes;"],[0,"&odiv;"],[0,"&triplus;"],[0,"&triminus;"],[0,"&tritime;"],[0,"&intprod;"],[2,"&amalg;"],[0,"&capdot;"],[1,"&ncup;"],[0,"&ncap;"],[0,"&capand;"],[0,"&cupor;"],[0,"&cupcap;"],[0,"&capcup;"],[0,"&cupbrcap;"],[0,"&capbrcup;"],[0,"&cupcup;"],[0,"&capcap;"],[0,"&ccups;"],[0,"&ccaps;"],[2,"&ccupssm;"],[2,"&And;"],[0,"&Or;"],[0,"&andand;"],[0,"&oror;"],[0,"&orslope;"],[0,"&andslope;"],[1,"&andv;"],[0,"&orv;"],[0,"&andd;"],[0,"&ord;"],[1,"&wedbar;"],[6,"&sdote;"],[3,"&simdot;"],[2,{v:"&congdot;",n:824,o:"&ncongdot;"}],[0,"&easter;"],[0,"&apacir;"],[0,{v:"&apE;",n:824,o:"&napE;"}],[0,"&eplus;"],[0,"&pluse;"],[0,"&Esim;"],[0,"&Colone;"],[0,"&Equal;"],[1,"&ddotseq;"],[0,"&equivDD;"],[0,"&ltcir;"],[0,"&gtcir;"],[0,"&ltquest;"],[0,"&gtquest;"],[0,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[0,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[0,"&lesdot;"],[0,"&gesdot;"],[0,"&lesdoto;"],[0,"&gesdoto;"],[0,"&lesdotor;"],[0,"&gesdotol;"],[0,"&lap;"],[0,"&gap;"],[0,"&lne;"],[0,"&gne;"],[0,"&lnap;"],[0,"&gnap;"],[0,"&lEg;"],[0,"&gEl;"],[0,"&lsime;"],[0,"&gsime;"],[0,"&lsimg;"],[0,"&gsiml;"],[0,"&lgE;"],[0,"&glE;"],[0,"&lesges;"],[0,"&gesles;"],[0,"&els;"],[0,"&egs;"],[0,"&elsdot;"],[0,"&egsdot;"],[0,"&el;"],[0,"&eg;"],[2,"&siml;"],[0,"&simg;"],[0,"&simlE;"],[0,"&simgE;"],[0,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[0,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[1,"&glj;"],[0,"&gla;"],[0,"&ltcc;"],[0,"&gtcc;"],[0,"&lescc;"],[0,"&gescc;"],[0,"&smt;"],[0,"&lat;"],[0,{v:"&smte;",n:65024,o:"&smtes;"}],[0,{v:"&late;",n:65024,o:"&lates;"}],[0,"&bumpE;"],[0,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[0,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[2,"&prE;"],[0,"&scE;"],[0,"&precneqq;"],[0,"&scnE;"],[0,"&prap;"],[0,"&scap;"],[0,"&precnapprox;"],[0,"&scnap;"],[0,"&Pr;"],[0,"&Sc;"],[0,"&subdot;"],[0,"&supdot;"],[0,"&subplus;"],[0,"&supplus;"],[0,"&submult;"],[0,"&supmult;"],[0,"&subedot;"],[0,"&supedot;"],[0,{v:"&subE;",n:824,o:"&nsubE;"}],[0,{v:"&supE;",n:824,o:"&nsupE;"}],[0,"&subsim;"],[0,"&supsim;"],[2,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[0,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[2,"&csub;"],[0,"&csup;"],[0,"&csube;"],[0,"&csupe;"],[0,"&subsup;"],[0,"&supsub;"],[0,"&subsub;"],[0,"&supsup;"],[0,"&suphsub;"],[0,"&supdsub;"],[0,"&forkv;"],[0,"&topfork;"],[0,"&mlcp;"],[8,"&Dashv;"],[1,"&Vdashl;"],[0,"&Barv;"],[0,"&vBar;"],[0,"&vBarv;"],[1,"&Vbar;"],[0,"&Not;"],[0,"&bNot;"],[0,"&rnmid;"],[0,"&cirmid;"],[0,"&midcir;"],[0,"&topcir;"],[0,"&nhpar;"],[0,"&parsim;"],[9,{v:"&parsl;",n:8421,o:"&nparsl;"}],[44343,{n:new Map(I([[56476,"&Ascr;"],[1,"&Cscr;"],[0,"&Dscr;"],[2,"&Gscr;"],[2,"&Jscr;"],[0,"&Kscr;"],[2,"&Nscr;"],[0,"&Oscr;"],[0,"&Pscr;"],[0,"&Qscr;"],[1,"&Sscr;"],[0,"&Tscr;"],[0,"&Uscr;"],[0,"&Vscr;"],[0,"&Wscr;"],[0,"&Xscr;"],[0,"&Yscr;"],[0,"&Zscr;"],[0,"&ascr;"],[0,"&bscr;"],[0,"&cscr;"],[0,"&dscr;"],[1,"&fscr;"],[1,"&hscr;"],[0,"&iscr;"],[0,"&jscr;"],[0,"&kscr;"],[0,"&lscr;"],[0,"&mscr;"],[0,"&nscr;"],[1,"&pscr;"],[0,"&qscr;"],[0,"&rscr;"],[0,"&sscr;"],[0,"&tscr;"],[0,"&uscr;"],[0,"&vscr;"],[0,"&wscr;"],[0,"&xscr;"],[0,"&yscr;"],[0,"&zscr;"],[52,"&Afr;"],[0,"&Bfr;"],[1,"&Dfr;"],[0,"&Efr;"],[0,"&Ffr;"],[0,"&Gfr;"],[2,"&Jfr;"],[0,"&Kfr;"],[0,"&Lfr;"],[0,"&Mfr;"],[0,"&Nfr;"],[0,"&Ofr;"],[0,"&Pfr;"],[0,"&Qfr;"],[1,"&Sfr;"],[0,"&Tfr;"],[0,"&Ufr;"],[0,"&Vfr;"],[0,"&Wfr;"],[0,"&Xfr;"],[0,"&Yfr;"],[1,"&afr;"],[0,"&bfr;"],[0,"&cfr;"],[0,"&dfr;"],[0,"&efr;"],[0,"&ffr;"],[0,"&gfr;"],[0,"&hfr;"],[0,"&ifr;"],[0,"&jfr;"],[0,"&kfr;"],[0,"&lfr;"],[0,"&mfr;"],[0,"&nfr;"],[0,"&ofr;"],[0,"&pfr;"],[0,"&qfr;"],[0,"&rfr;"],[0,"&sfr;"],[0,"&tfr;"],[0,"&ufr;"],[0,"&vfr;"],[0,"&wfr;"],[0,"&xfr;"],[0,"&yfr;"],[0,"&zfr;"],[0,"&Aopf;"],[0,"&Bopf;"],[1,"&Dopf;"],[0,"&Eopf;"],[0,"&Fopf;"],[0,"&Gopf;"],[1,"&Iopf;"],[0,"&Jopf;"],[0,"&Kopf;"],[0,"&Lopf;"],[0,"&Mopf;"],[1,"&Oopf;"],[3,"&Sopf;"],[0,"&Topf;"],[0,"&Uopf;"],[0,"&Vopf;"],[0,"&Wopf;"],[0,"&Xopf;"],[0,"&Yopf;"],[1,"&aopf;"],[0,"&bopf;"],[0,"&copf;"],[0,"&dopf;"],[0,"&eopf;"],[0,"&fopf;"],[0,"&gopf;"],[0,"&hopf;"],[0,"&iopf;"],[0,"&jopf;"],[0,"&kopf;"],[0,"&lopf;"],[0,"&mopf;"],[0,"&nopf;"],[0,"&oopf;"],[0,"&popf;"],[0,"&qopf;"],[0,"&ropf;"],[0,"&sopf;"],[0,"&topf;"],[0,"&uopf;"],[0,"&vopf;"],[0,"&wopf;"],[0,"&xopf;"],[0,"&yopf;"],[0,"&zopf;"]]))}],[8906,"&fflig;"],[0,"&filig;"],[0,"&fllig;"],[0,"&ffilig;"],[0,"&ffllig;"]]))},4101:(ve,A,I)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.decodeXMLStrict=A.decodeHTML5Strict=A.decodeHTML4Strict=A.decodeHTML5=A.decodeHTML4=A.decodeHTMLStrict=A.decodeHTML=A.decodeXML=A.encodeHTML5=A.encodeHTML4=A.encodeNonAsciiHTML=A.encodeHTML=A.escapeText=A.escapeAttribute=A.escapeUTF8=A.escape=A.encodeXML=A.encode=A.decodeStrict=A.decode=A.EncodingMode=A.DecodingMode=A.EntityLevel=void 0;var b,V,C,D,T=I(6569),g=I(6836),y=I(681);(V=b=A.EntityLevel||(A.EntityLevel={}))[V.XML=0]="XML",V[V.HTML=1]="HTML",function(V){V[V.Legacy=0]="Legacy",V[V.Strict=1]="Strict"}(C=A.DecodingMode||(A.DecodingMode={})),function(V){V[V.UTF8=0]="UTF8",V[V.ASCII=1]="ASCII",V[V.Extensive=2]="Extensive",V[V.Attribute=3]="Attribute",V[V.Text=4]="Text"}(D=A.EncodingMode||(A.EncodingMode={})),A.decode=function L(V,re){void 0===re&&(re=b.XML);var W="number"==typeof re?{level:re}:re;return W.level===b.HTML?W.mode===C.Strict?(0,T.decodeHTMLStrict)(V):(0,T.decodeHTML)(V):(0,T.decodeXML)(V)},A.decodeStrict=function B(V,re){void 0===re&&(re=b.XML);var W="number"==typeof re?{level:re}:re;return W.level===b.HTML?W.mode===C.Legacy?(0,T.decodeHTML)(V):(0,T.decodeHTMLStrict)(V):(0,T.decodeXML)(V)},A.encode=function R(V,re){void 0===re&&(re=b.XML);var W="number"==typeof re?{level:re}:re;return W.mode===D.UTF8?(0,y.escapeUTF8)(V):W.mode===D.Attribute?(0,y.escapeAttribute)(V):W.mode===D.Text?(0,y.escapeText)(V):W.level===b.HTML?W.mode===D.ASCII?(0,g.encodeNonAsciiHTML)(V):(0,g.encodeHTML)(V):(0,y.encodeXML)(V)};var U=I(681);Object.defineProperty(A,"encodeXML",{enumerable:!0,get:function(){return U.encodeXML}}),Object.defineProperty(A,"escape",{enumerable:!0,get:function(){return U.escape}}),Object.defineProperty(A,"escapeUTF8",{enumerable:!0,get:function(){return U.escapeUTF8}}),Object.defineProperty(A,"escapeAttribute",{enumerable:!0,get:function(){return U.escapeAttribute}}),Object.defineProperty(A,"escapeText",{enumerable:!0,get:function(){return U.escapeText}});var Z=I(6836);Object.defineProperty(A,"encodeHTML",{enumerable:!0,get:function(){return Z.encodeHTML}}),Object.defineProperty(A,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return Z.encodeNonAsciiHTML}}),Object.defineProperty(A,"encodeHTML4",{enumerable:!0,get:function(){return Z.encodeHTML}}),Object.defineProperty(A,"encodeHTML5",{enumerable:!0,get:function(){return Z.encodeHTML}});var j=I(6569);Object.defineProperty(A,"decodeXML",{enumerable:!0,get:function(){return j.decodeXML}}),Object.defineProperty(A,"decodeHTML",{enumerable:!0,get:function(){return j.decodeHTML}}),Object.defineProperty(A,"decodeHTMLStrict",{enumerable:!0,get:function(){return j.decodeHTMLStrict}}),Object.defineProperty(A,"decodeHTML4",{enumerable:!0,get:function(){return j.decodeHTML}}),Object.defineProperty(A,"decodeHTML5",{enumerable:!0,get:function(){return j.decodeHTML}}),Object.defineProperty(A,"decodeHTML4Strict",{enumerable:!0,get:function(){return j.decodeHTMLStrict}}),Object.defineProperty(A,"decodeHTML5Strict",{enumerable:!0,get:function(){return j.decodeHTMLStrict}}),Object.defineProperty(A,"decodeXMLStrict",{enumerable:!0,get:function(){return j.decodeXML}})},7088:function(ve,A,I){!function(T){"use strict";T.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(y){return/^nm$/i.test(y)},meridiem:function(y,b,C){return y<12?C?"vm":"VM":C?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(y){return y+(1===y||8===y||y>=20?"ste":"de")},week:{dow:1,doy:4}})}(I(5439))},2502:function(ve,A,I){!function(T){"use strict";var g=function(L){return 0===L?0:1===L?1:2===L?2:L%100>=3&&L%100<=10?3:L%100>=11?4:5},y={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},b=function(L){return function(B,R,U,Z){var j=g(B),V=y[L][g(B)];return 2===j&&(V=V[R?0:1]),V.replace(/%d/i,B)}},C=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];T.defineLocale("ar-dz",{months:C,monthsShort:C,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(L){return"\u0645"===L},meridiem:function(L,B,R){return L<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:b("s"),ss:b("s"),m:b("m"),mm:b("m"),h:b("h"),hh:b("h"),d:b("d"),dd:b("d"),M:b("M"),MM:b("M"),y:b("y"),yy:b("y")},postformat:function(L){return L.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(I(5439))},128:function(ve,A,I){!function(T){"use strict";T.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(I(5439))},4519:function(ve,A,I){!function(T){"use strict";var g={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},y=function(B){return 0===B?0:1===B?1:2===B?2:B%100>=3&&B%100<=10?3:B%100>=11?4:5},b={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},C=function(B){return function(R,U,Z,j){var V=y(R),re=b[B][y(R)];return 2===V&&(re=re[U?0:1]),re.replace(/%d/i,R)}},D=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];T.defineLocale("ar-ly",{months:D,monthsShort:D,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(B){return"\u0645"===B},meridiem:function(B,R,U){return B<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:C("s"),ss:C("s"),m:C("m"),mm:C("m"),h:C("h"),hh:C("h"),d:C("d"),dd:C("d"),M:C("M"),MM:C("M"),y:C("y"),yy:C("y")},preparse:function(B){return B.replace(/\u060c/g,",")},postformat:function(B){return B.replace(/\d/g,function(R){return g[R]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(I(5439))},5443:function(ve,A,I){!function(T){"use strict";T.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(I(5439))},7642:function(ve,A,I){!function(T){"use strict";var g={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},y={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};T.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(C){return"\u0645"===C},meridiem:function(C,D,L){return C<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(C){return C.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(D){return y[D]}).replace(/\u060c/g,",")},postformat:function(C){return C.replace(/\d/g,function(D){return g[D]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(I(5439))},8592:function(ve,A,I){!function(T){"use strict";T.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(I(5439))},7038:function(ve,A,I){!function(T){"use strict";var g={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},y={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},b=function(R){return 0===R?0:1===R?1:2===R?2:R%100>=3&&R%100<=10?3:R%100>=11?4:5},C={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},D=function(R){return function(U,Z,j,V){var re=b(U),W=C[R][b(U)];return 2===re&&(W=W[Z?0:1]),W.replace(/%d/i,U)}},L=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];T.defineLocale("ar",{months:L,monthsShort:L,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(R){return"\u0645"===R},meridiem:function(R,U,Z){return R<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:D("s"),ss:D("s"),m:D("m"),mm:D("m"),h:D("h"),hh:D("h"),d:D("d"),dd:D("d"),M:D("M"),MM:D("M"),y:D("y"),yy:D("y")},preparse:function(R){return R.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(U){return y[U]}).replace(/\u060c/g,",")},postformat:function(R){return R.replace(/\d/g,function(U){return g[U]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(I(5439))},1213:function(ve,A,I){!function(T){"use strict";var g={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};T.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(b){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(b)},meridiem:function(b,C,D){return b<4?"gec\u0259":b<12?"s\u0259h\u0259r":b<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(b){if(0===b)return b+"-\u0131nc\u0131";var C=b%10;return b+(g[C]||g[b%100-C]||g[b>=100?100:null])},week:{dow:1,doy:7}})}(I(5439))},9191:function(ve,A,I){!function(T){"use strict";function y(C,D,L){return"m"===L?D?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===L?D?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":C+" "+function g(C,D){var L=C.split("_");return D%10==1&&D%100!=11?L[0]:D%10>=2&&D%10<=4&&(D%100<10||D%100>=20)?L[1]:L[2]}({ss:D?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:D?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:D?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[L],+C)}T.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:y,mm:y,h:y,hh:y,d:"\u0434\u0437\u0435\u043d\u044c",dd:y,M:"\u043c\u0435\u0441\u044f\u0446",MM:y,y:"\u0433\u043e\u0434",yy:y},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(C){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(C)},meridiem:function(C,D,L){return C<4?"\u043d\u043e\u0447\u044b":C<12?"\u0440\u0430\u043d\u0456\u0446\u044b":C<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(C,D){switch(D){case"M":case"d":case"DDD":case"w":case"W":return C%10!=2&&C%10!=3||C%100==12||C%100==13?C+"-\u044b":C+"-\u0456";case"D":return C+"-\u0433\u0430";default:return C}},week:{dow:1,doy:7}})}(I(5439))},322:function(ve,A,I){!function(T){"use strict";T.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(y){var b=y%10,C=y%100;return 0===y?y+"-\u0435\u0432":0===C?y+"-\u0435\u043d":C>10&&C<20?y+"-\u0442\u0438":1===b?y+"-\u0432\u0438":2===b?y+"-\u0440\u0438":7===b||8===b?y+"-\u043c\u0438":y+"-\u0442\u0438"},week:{dow:1,doy:7}})}(I(5439))},8042:function(ve,A,I){!function(T){"use strict";T.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(I(5439))},5903:function(ve,A,I){!function(T){"use strict";var g={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},y={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};T.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(C){return C.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(D){return y[D]})},postformat:function(C){return C.replace(/\d/g,function(D){return g[D]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(C,D){return 12===C&&(C=0),"\u09b0\u09be\u09a4"===D?C<4?C:C+12:"\u09ad\u09cb\u09b0"===D||"\u09b8\u0995\u09be\u09b2"===D?C:"\u09a6\u09c1\u09aa\u09c1\u09b0"===D?C>=3?C:C+12:"\u09ac\u09bf\u0995\u09be\u09b2"===D||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===D?C+12:void 0},meridiem:function(C,D,L){return C<4?"\u09b0\u09be\u09a4":C<6?"\u09ad\u09cb\u09b0":C<12?"\u09b8\u0995\u09be\u09b2":C<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":C<18?"\u09ac\u09bf\u0995\u09be\u09b2":C<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(I(5439))},9620:function(ve,A,I){!function(T){"use strict";var g={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},y={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};T.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(C){return C.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(D){return y[D]})},postformat:function(C){return C.replace(/\d/g,function(D){return g[D]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(C,D){return 12===C&&(C=0),"\u09b0\u09be\u09a4"===D&&C>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===D&&C<5||"\u09ac\u09bf\u0995\u09be\u09b2"===D?C+12:C},meridiem:function(C,D,L){return C<4?"\u09b0\u09be\u09a4":C<10?"\u09b8\u0995\u09be\u09b2":C<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":C<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(I(5439))},9645:function(ve,A,I){!function(T){"use strict";var g={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},y={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};T.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(C){return C.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(D){return y[D]})},postformat:function(C){return C.replace(/\d/g,function(D){return g[D]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(C,D){return 12===C&&(C=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===D&&C>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===D&&C<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===D?C+12:C},meridiem:function(C,D,L){return C<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":C<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":C<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":C<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(I(5439))},5020:function(ve,A,I){!function(T){"use strict";function g(W,ne,G){return W+" "+function C(W,ne){return 2===ne?function D(W){var ne={m:"v",b:"v",d:"z"};return void 0===ne[W.charAt(0)]?W:ne[W.charAt(0)]+W.substring(1)}(W):W}({mm:"munutenn",MM:"miz",dd:"devezh"}[G],W)}function b(W){return W>9?b(W%10):W}var L=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],B=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,V=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];T.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:V,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:V,monthsRegex:B,monthsShortRegex:B,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:L,longMonthsParse:L,shortMonthsParse:L,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:g,h:"un eur",hh:"%d eur",d:"un devezh",dd:g,M:"ur miz",MM:g,y:"ur bloaz",yy:function y(W){switch(b(W)){case 1:case 3:case 4:case 5:case 9:return W+" bloaz";default:return W+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(W){return W+(1===W?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(W){return"g.m."===W},meridiem:function(W,ne,G){return W<12?"a.m.":"g.m."}})}(I(5439))},4792:function(ve,A,I){!function(T){"use strict";function g(b,C,D){var L=b+" ";switch(D){case"ss":return L+(1===b?"sekunda":2===b||3===b||4===b?"sekunde":"sekundi");case"m":return C?"jedna minuta":"jedne minute";case"mm":return L+(1===b?"minuta":2===b||3===b||4===b?"minute":"minuta");case"h":return C?"jedan sat":"jednog sata";case"hh":return L+(1===b?"sat":2===b||3===b||4===b?"sata":"sati");case"dd":return L+(1===b?"dan":"dana");case"MM":return L+(1===b?"mjesec":2===b||3===b||4===b?"mjeseca":"mjeseci");case"yy":return L+(1===b?"godina":2===b||3===b||4===b?"godine":"godina")}}T.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:g,m:g,mm:g,h:g,hh:g,d:"dan",dd:g,M:"mjesec",MM:g,y:"godinu",yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(I(5439))},7980:function(ve,A,I){!function(T){"use strict";T.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(y,b){var C=1===y?"r":2===y?"n":3===y?"r":4===y?"t":"\xe8";return("w"===b||"W"===b)&&(C="a"),y+C},week:{dow:1,doy:4}})}(I(5439))},7322:function(ve,A,I){!function(T){"use strict";var g={format:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),standalone:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_")},y="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),b=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],C=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function D(R){return R>1&&R<5&&1!=~~(R/10)}function L(R,U,Z,j){var V=R+" ";switch(Z){case"s":return U||j?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return U||j?V+(D(R)?"sekundy":"sekund"):V+"sekundami";case"m":return U?"minuta":j?"minutu":"minutou";case"mm":return U||j?V+(D(R)?"minuty":"minut"):V+"minutami";case"h":return U?"hodina":j?"hodinu":"hodinou";case"hh":return U||j?V+(D(R)?"hodiny":"hodin"):V+"hodinami";case"d":return U||j?"den":"dnem";case"dd":return U||j?V+(D(R)?"dny":"dn\xed"):V+"dny";case"M":return U||j?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return U||j?V+(D(R)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):V+"m\u011bs\xedci";case"y":return U||j?"rok":"rokem";case"yy":return U||j?V+(D(R)?"roky":"let"):V+"lety"}}T.defineLocale("cs",{months:g,monthsShort:y,monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:L,ss:L,m:L,mm:L,h:L,hh:L,d:L,dd:L,M:L,MM:L,y:L,yy:L},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},365:function(ve,A,I){!function(T){"use strict";T.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(y){return y+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(y)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(y)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(I(5439))},2092:function(ve,A,I){!function(T){"use strict";T.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(y){var C="";return y>20?C=40===y||50===y||60===y||80===y||100===y?"fed":"ain":y>0&&(C=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][y]),y+C},week:{dow:1,doy:4}})}(I(5439))},7387:function(ve,A,I){!function(T){"use strict";T.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},9459:function(ve,A,I){!function(T){"use strict";function g(b,C,D,L){var B={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[b+" Tage",b+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[b+" Monate",b+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[b+" Jahre",b+" Jahren"]};return C?B[D][0]:B[D][1]}T.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:g,mm:"%d Minuten",h:g,hh:"%d Stunden",d:g,dd:g,w:g,ww:"%d Wochen",M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},3694:function(ve,A,I){!function(T){"use strict";function g(b,C,D,L){var B={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[b+" Tage",b+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[b+" Monate",b+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[b+" Jahre",b+" Jahren"]};return C?B[D][0]:B[D][1]}T.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:g,mm:"%d Minuten",h:g,hh:"%d Stunden",d:g,dd:g,w:g,ww:"%d Wochen",M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},4307:function(ve,A,I){!function(T){"use strict";function g(b,C,D,L){var B={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[b+" Tage",b+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[b+" Monate",b+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[b+" Jahre",b+" Jahren"]};return C?B[D][0]:B[D][1]}T.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:g,mm:"%d Minuten",h:g,hh:"%d Stunden",d:g,dd:g,w:g,ww:"%d Wochen",M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},9659:function(ve,A,I){!function(T){"use strict";var g=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],y=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];T.defineLocale("dv",{months:g,monthsShort:g,weekdays:y,weekdaysShort:y,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(C){return"\u0789\u078a"===C},meridiem:function(C,D,L){return C<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(C){return C.replace(/\u060c/g,",")},postformat:function(C){return C.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(I(5439))},3460:function(ve,A,I){!function(T){"use strict";T.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(b,C){return b?"string"==typeof C&&/D/.test(C.substring(0,C.indexOf("MMMM")))?this._monthsGenitiveEl[b.month()]:this._monthsNominativeEl[b.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(b,C,D){return b>11?D?"\u03bc\u03bc":"\u039c\u039c":D?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(b){return"\u03bc"===(b+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(b,C){var D=this._calendarEl[b],L=C&&C.hours();return function g(b){return typeof Function<"u"&&b instanceof Function||"[object Function]"===Object.prototype.toString.call(b)}(D)&&(D=D.apply(C)),D.replace("{}",L%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(I(5439))},4369:function(ve,A,I){!function(T){"use strict";T.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(y){var b=y%10;return y+(1==~~(y%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:0,doy:4}})}(I(5439))},530:function(ve,A,I){!function(T){"use strict";T.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(y){var b=y%10;return y+(1==~~(y%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")}})}(I(5439))},9998:function(ve,A,I){!function(T){"use strict";T.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(y){var b=y%10;return y+(1==~~(y%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(I(5439))},3391:function(ve,A,I){!function(T){"use strict";T.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(y){var b=y%10;return y+(1==~~(y%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(I(5439))},5414:function(ve,A,I){!function(T){"use strict";T.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(y){var b=y%10;return y+(1==~~(y%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")}})}(I(5439))},9615:function(ve,A,I){!function(T){"use strict";T.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(y){var b=y%10;return y+(1==~~(y%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:0,doy:6}})}(I(5439))},1248:function(ve,A,I){!function(T){"use strict";T.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(y){var b=y%10;return y+(1==~~(y%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(I(5439))},3767:function(ve,A,I){!function(T){"use strict";T.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(y){var b=y%10;return y+(1==~~(y%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(I(5439))},4530:function(ve,A,I){!function(T){"use strict";T.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(y){return"p"===y.charAt(0).toLowerCase()},meridiem:function(y,b,C){return y>11?C?"p.t.m.":"P.T.M.":C?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(I(5439))},8944:function(ve,A,I){!function(T){"use strict";var g="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),y="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),b=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;T.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,B){return L?/-MMM-/.test(B)?y[L.month()]:g[L.month()]:g},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(I(5439))},9116:function(ve,A,I){!function(T){"use strict";var g="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),y="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),b=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;T.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,B){return L?/-MMM-/.test(B)?y[L.month()]:g[L.month()]:g},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(I(5439))},3609:function(ve,A,I){!function(T){"use strict";var g="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),y="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),b=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;T.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,B){return L?/-MMM-/.test(B)?y[L.month()]:g[L.month()]:g},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(I(5439))},6866:function(ve,A,I){!function(T){"use strict";var g="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),y="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),b=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;T.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,B){return L?/-MMM-/.test(B)?y[L.month()]:g[L.month()]:g},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(I(5439))},6725:function(ve,A,I){!function(T){"use strict";function g(b,C,D,L){var B={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[b+"sekundi",b+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[b+" minuti",b+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[b+" tunni",b+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[b+" kuu",b+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[b+" aasta",b+" aastat"]};return C?B[D][2]?B[D][2]:B[D][1]:L?B[D][0]:B[D][1]}T.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:g,ss:g,m:g,mm:g,h:g,hh:g,d:g,dd:"%d p\xe4eva",M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},7931:function(ve,A,I){!function(T){"use strict";T.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(I(5439))},6417:function(ve,A,I){!function(T){"use strict";var g={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},y={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};T.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(C){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(C)},meridiem:function(C,D,L){return C<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(C){return C.replace(/[\u06f0-\u06f9]/g,function(D){return y[D]}).replace(/\u060c/g,",")},postformat:function(C){return C.replace(/\d/g,function(D){return g[D]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(I(5439))},944:function(ve,A,I){!function(T){"use strict";var g="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),y=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",g[7],g[8],g[9]];function b(L,B,R,U){var Z="";switch(R){case"s":return U?"muutaman sekunnin":"muutama sekunti";case"ss":Z=U?"sekunnin":"sekuntia";break;case"m":return U?"minuutin":"minuutti";case"mm":Z=U?"minuutin":"minuuttia";break;case"h":return U?"tunnin":"tunti";case"hh":Z=U?"tunnin":"tuntia";break;case"d":return U?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":Z=U?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return U?"kuukauden":"kuukausi";case"MM":Z=U?"kuukauden":"kuukautta";break;case"y":return U?"vuoden":"vuosi";case"yy":Z=U?"vuoden":"vuotta"}return function C(L,B){return L<10?B?y[L]:g[L]:L}(L,U)+" "+Z}T.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:b,ss:b,m:b,mm:b,h:b,hh:b,d:b,dd:b,M:b,MM:b,y:b,yy:b},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},1766:function(ve,A,I){!function(T){"use strict";T.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(y){return y},week:{dow:1,doy:4}})}(I(5439))},5867:function(ve,A,I){!function(T){"use strict";T.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},6848:function(ve,A,I){!function(T){"use strict";T.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(y,b){switch(b){default:case"M":case"Q":case"D":case"DDD":case"d":return y+(1===y?"er":"e");case"w":case"W":return y+(1===y?"re":"e")}}})}(I(5439))},7773:function(ve,A,I){!function(T){"use strict";T.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(y,b){switch(b){default:case"M":case"Q":case"D":case"DDD":case"d":return y+(1===y?"er":"e");case"w":case"W":return y+(1===y?"re":"e")}},week:{dow:1,doy:4}})}(I(5439))},1636:function(ve,A,I){!function(T){"use strict";var b=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,C=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];T.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:b,monthsShortRegex:b,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:C,longMonthsParse:C,shortMonthsParse:C,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(L,B){switch(B){case"D":return L+(1===L?"er":"");default:case"M":case"Q":case"DDD":case"d":return L+(1===L?"er":"e");case"w":case"W":return L+(1===L?"re":"e")}},week:{dow:1,doy:4}})}(I(5439))},4940:function(ve,A,I){!function(T){"use strict";var g="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),y="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");T.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(C,D){return C?/-MMM-/.test(D)?y[C.month()]:g[C.month()]:g},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(C){return C+(1===C||8===C||C>=20?"ste":"de")},week:{dow:1,doy:4}})}(I(5439))},1402:function(ve,A,I){!function(T){"use strict";T.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(B){return B+(1===B?"d":B%10==2?"na":"mh")},week:{dow:1,doy:4}})}(I(5439))},6924:function(ve,A,I){!function(T){"use strict";T.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(B){return B+(1===B?"d":B%10==2?"na":"mh")},week:{dow:1,doy:4}})}(I(5439))},6398:function(ve,A,I){!function(T){"use strict";T.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(y){return 0===y.indexOf("un")?"n"+y:"en "+y},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(I(5439))},2457:function(ve,A,I){!function(T){"use strict";function g(b,C,D,L){var B={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[b+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",b+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[b+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",b+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[b+" \u0935\u0930\u093e\u0902\u0928\u0940",b+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[b+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",b+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[b+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",b+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[b+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",b+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return L?B[D][0]:B[D][1]}T.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:g,ss:g,m:g,mm:g,h:g,hh:g,d:g,dd:g,M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(b,C){return"D"===C?b+"\u0935\u0947\u0930":b},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(b,C){return 12===b&&(b=0),"\u0930\u093e\u0924\u0940"===C?b<4?b:b+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===C?b:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===C?b>12?b:b+12:"\u0938\u093e\u0902\u091c\u0947"===C?b+12:void 0},meridiem:function(b,C,D){return b<4?"\u0930\u093e\u0924\u0940":b<12?"\u0938\u0915\u093e\u0933\u0940\u0902":b<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":b<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(I(5439))},2545:function(ve,A,I){!function(T){"use strict";function g(b,C,D,L){var B={s:["thoddea sekondamni","thodde sekond"],ss:[b+" sekondamni",b+" sekond"],m:["eka mintan","ek minut"],mm:[b+" mintamni",b+" mintam"],h:["eka voran","ek vor"],hh:[b+" voramni",b+" voram"],d:["eka disan","ek dis"],dd:[b+" disamni",b+" dis"],M:["eka mhoinean","ek mhoino"],MM:[b+" mhoineamni",b+" mhoine"],y:["eka vorsan","ek voros"],yy:[b+" vorsamni",b+" vorsam"]};return L?B[D][0]:B[D][1]}T.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:g,ss:g,m:g,mm:g,h:g,hh:g,d:g,dd:g,M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(b,C){return"D"===C?b+"er":b},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(b,C){return 12===b&&(b=0),"rati"===C?b<4?b:b+12:"sokallim"===C?b:"donparam"===C?b>12?b:b+12:"sanje"===C?b+12:void 0},meridiem:function(b,C,D){return b<4?"rati":b<12?"sokallim":b<16?"donparam":b<20?"sanje":"rati"}})}(I(5439))},2641:function(ve,A,I){!function(T){"use strict";var g={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},y={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};T.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(C){return C.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(D){return y[D]})},postformat:function(C){return C.replace(/\d/g,function(D){return g[D]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(C,D){return 12===C&&(C=0),"\u0ab0\u0abe\u0aa4"===D?C<4?C:C+12:"\u0ab8\u0ab5\u0abe\u0ab0"===D?C:"\u0aac\u0aaa\u0acb\u0ab0"===D?C>=10?C:C+12:"\u0ab8\u0abe\u0a82\u0a9c"===D?C+12:void 0},meridiem:function(C,D,L){return C<4?"\u0ab0\u0abe\u0aa4":C<10?"\u0ab8\u0ab5\u0abe\u0ab0":C<17?"\u0aac\u0aaa\u0acb\u0ab0":C<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(I(5439))},7536:function(ve,A,I){!function(T){"use strict";T.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(y){return 2===y?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":y+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(y){return 2===y?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":y+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(y){return 2===y?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":y+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(y){return 2===y?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":y%10==0&&10!==y?y+" \u05e9\u05e0\u05d4":y+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(y){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(y)},meridiem:function(y,b,C){return y<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":y<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":y<12?C?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":y<18?C?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(I(5439))},6335:function(ve,A,I){!function(T){"use strict";var g={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},y={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},b=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];T.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:b,longMonthsParse:b,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(L){return L.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(B){return y[B]})},postformat:function(L){return L.replace(/\d/g,function(B){return g[B]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(L,B){return 12===L&&(L=0),"\u0930\u093e\u0924"===B?L<4?L:L+12:"\u0938\u0941\u092c\u0939"===B?L:"\u0926\u094b\u092a\u0939\u0930"===B?L>=10?L:L+12:"\u0936\u093e\u092e"===B?L+12:void 0},meridiem:function(L,B,R){return L<4?"\u0930\u093e\u0924":L<10?"\u0938\u0941\u092c\u0939":L<17?"\u0926\u094b\u092a\u0939\u0930":L<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(I(5439))},7458:function(ve,A,I){!function(T){"use strict";function g(b,C,D){var L=b+" ";switch(D){case"ss":return L+(1===b?"sekunda":2===b||3===b||4===b?"sekunde":"sekundi");case"m":return C?"jedna minuta":"jedne minute";case"mm":return L+(1===b?"minuta":2===b||3===b||4===b?"minute":"minuta");case"h":return C?"jedan sat":"jednog sata";case"hh":return L+(1===b?"sat":2===b||3===b||4===b?"sata":"sati");case"dd":return L+(1===b?"dan":"dana");case"MM":return L+(1===b?"mjesec":2===b||3===b||4===b?"mjeseca":"mjeseci");case"yy":return L+(1===b?"godina":2===b||3===b||4===b?"godine":"godina")}}T.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:g,m:g,mm:g,h:g,hh:g,d:"dan",dd:g,M:"mjesec",MM:g,y:"godinu",yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(I(5439))},6540:function(ve,A,I){!function(T){"use strict";var g="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function y(D,L,B,R){var U=D;switch(B){case"s":return R||L?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return U+(R||L)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(R||L?" perc":" perce");case"mm":return U+(R||L?" perc":" perce");case"h":return"egy"+(R||L?" \xf3ra":" \xf3r\xe1ja");case"hh":return U+(R||L?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(R||L?" nap":" napja");case"dd":return U+(R||L?" nap":" napja");case"M":return"egy"+(R||L?" h\xf3nap":" h\xf3napja");case"MM":return U+(R||L?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(R||L?" \xe9v":" \xe9ve");case"yy":return U+(R||L?" \xe9v":" \xe9ve")}return""}function b(D){return(D?"":"[m\xfalt] ")+"["+g[this.day()]+"] LT[-kor]"}T.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(D){return"u"===D.charAt(1).toLowerCase()},meridiem:function(D,L,B){return D<12?!0===B?"de":"DE":!0===B?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return b.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return b.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:y,ss:y,m:y,mm:y,h:y,hh:y,d:y,dd:y,M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},5283:function(ve,A,I){!function(T){"use strict";T.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(y){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(y)},meridiem:function(y){return y<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":y<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":y<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(y,b){switch(b){case"DDD":case"w":case"W":case"DDDo":return 1===y?y+"-\u056b\u0576":y+"-\u0580\u0564";default:return y}},week:{dow:1,doy:7}})}(I(5439))},8780:function(ve,A,I){!function(T){"use strict";T.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(y,b){return 12===y&&(y=0),"pagi"===b?y:"siang"===b?y>=11?y:y+12:"sore"===b||"malam"===b?y+12:void 0},meridiem:function(y,b,C){return y<11?"pagi":y<15?"siang":y<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(I(5439))},4205:function(ve,A,I){!function(T){"use strict";function g(C){return C%100==11||C%10!=1}function y(C,D,L,B){var R=C+" ";switch(L){case"s":return D||B?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return g(C)?R+(D||B?"sek\xfandur":"sek\xfandum"):R+"sek\xfanda";case"m":return D?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return g(C)?R+(D||B?"m\xedn\xfatur":"m\xedn\xfatum"):D?R+"m\xedn\xfata":R+"m\xedn\xfatu";case"hh":return g(C)?R+(D||B?"klukkustundir":"klukkustundum"):R+"klukkustund";case"d":return D?"dagur":B?"dag":"degi";case"dd":return g(C)?D?R+"dagar":R+(B?"daga":"d\xf6gum"):D?R+"dagur":R+(B?"dag":"degi");case"M":return D?"m\xe1nu\xf0ur":B?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return g(C)?D?R+"m\xe1nu\xf0ir":R+(B?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):D?R+"m\xe1nu\xf0ur":R+(B?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return D||B?"\xe1r":"\xe1ri";case"yy":return g(C)?R+(D||B?"\xe1r":"\xe1rum"):R+(D||B?"\xe1r":"\xe1ri")}}T.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:y,ss:y,m:y,mm:y,h:"klukkustund",hh:y,d:y,dd:y,M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},9985:function(ve,A,I){!function(T){"use strict";T.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(y){return(/^[0-9].+$/.test(y)?"tra":"in")+" "+y},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(I(5439))},4211:function(ve,A,I){!function(T){"use strict";T.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(I(5439))},1003:function(ve,A,I){!function(T){"use strict";T.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(y,b){return"\u5143"===b[1]?1:parseInt(b[1]||y,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(y){return"\u5348\u5f8c"===y},meridiem:function(y,b,C){return y<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(y){return y.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(y){return this.week()!==y.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(y,b){switch(b){case"y":return 1===y?"\u5143\u5e74":y+"\u5e74";case"d":case"D":case"DDD":return y+"\u65e5";default:return y}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(I(5439))},420:function(ve,A,I){!function(T){"use strict";T.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(y,b){return 12===y&&(y=0),"enjing"===b?y:"siyang"===b?y>=11?y:y+12:"sonten"===b||"ndalu"===b?y+12:void 0},meridiem:function(y,b,C){return y<11?"enjing":y<15?"siyang":y<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(I(5439))},851:function(ve,A,I){!function(T){"use strict";T.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(y){return y.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(b,C,D){return"\u10d8"===D?C+"\u10e8\u10d8":C+D+"\u10e8\u10d8"})},past:function(y){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(y)?y.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(y)?y.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):y},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(y){return 0===y?y:1===y?y+"-\u10da\u10d8":y<20||y<=100&&y%20==0||y%100==0?"\u10db\u10d4-"+y:y+"-\u10d4"},week:{dow:1,doy:7}})}(I(5439))},6074:function(ve,A,I){!function(T){"use strict";var g={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};T.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(b){return b+(g[b]||g[b%10]||g[b>=100?100:null])},week:{dow:1,doy:7}})}(I(5439))},3343:function(ve,A,I){!function(T){"use strict";var g={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},y={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};T.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(C){return"\u179b\u17d2\u1784\u17b6\u1785"===C},meridiem:function(C,D,L){return C<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(C){return C.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(D){return y[D]})},postformat:function(C){return C.replace(/\d/g,function(D){return g[D]})},week:{dow:1,doy:4}})}(I(5439))},4799:function(ve,A,I){!function(T){"use strict";var g={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},y={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};T.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(C){return C.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(D){return y[D]})},postformat:function(C){return C.replace(/\d/g,function(D){return g[D]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(C,D){return 12===C&&(C=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===D?C<4?C:C+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===D?C:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===D?C>=10?C:C+12:"\u0cb8\u0c82\u0c9c\u0cc6"===D?C+12:void 0},meridiem:function(C,D,L){return C<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":C<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":C<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":C<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(C){return C+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(I(5439))},3549:function(ve,A,I){!function(T){"use strict";T.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(y,b){switch(b){case"d":case"D":case"DDD":return y+"\uc77c";case"M":return y+"\uc6d4";case"w":case"W":return y+"\uc8fc";default:return y}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(y){return"\uc624\ud6c4"===y},meridiem:function(y,b,C){return y<12?"\uc624\uc804":"\uc624\ud6c4"}})}(I(5439))},1037:function(ve,A,I){!function(T){"use strict";var g={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},y={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},b=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];T.defineLocale("ku",{months:b,monthsShort:b,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(D){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(D)},meridiem:function(D,L,B){return D<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(D){return D.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(L){return y[L]}).replace(/\u060c/g,",")},postformat:function(D){return D.replace(/\d/g,function(L){return g[L]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(I(5439))},3125:function(ve,A,I){!function(T){"use strict";var g={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};T.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(b){return b+(g[b]||g[b%10]||g[b>=100?100:null])},week:{dow:1,doy:7}})}(I(5439))},9586:function(ve,A,I){!function(T){"use strict";function g(L,B,R,U){var Z={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return B?Z[R][0]:Z[R][1]}function C(L){if(L=parseInt(L,10),isNaN(L))return!1;if(L<0)return!0;if(L<10)return 4<=L&&L<=7;if(L<100){var B=L%10;return C(0===B?L/10:B)}if(L<1e4){for(;L>=10;)L/=10;return C(L)}return C(L/=1e3)}T.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function y(L){return C(L.substr(0,L.indexOf(" ")))?"a "+L:"an "+L},past:function b(L){return C(L.substr(0,L.indexOf(" ")))?"viru "+L:"virun "+L},s:"e puer Sekonnen",ss:"%d Sekonnen",m:g,mm:"%d Minutten",h:g,hh:"%d Stonnen",d:g,dd:"%d Deeg",M:g,MM:"%d M\xe9int",y:g,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},2349:function(ve,A,I){!function(T){"use strict";T.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(y){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===y},meridiem:function(y,b,C){return y<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(y){return"\u0e97\u0eb5\u0ec8"+y}})}(I(5439))},2400:function(ve,A,I){!function(T){"use strict";var g={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function b(R,U,Z,j){return U?D(Z)[0]:j?D(Z)[1]:D(Z)[2]}function C(R){return R%10==0||R>10&&R<20}function D(R){return g[R].split("_")}function L(R,U,Z,j){var V=R+" ";return 1===R?V+b(0,U,Z[0],j):U?V+(C(R)?D(Z)[1]:D(Z)[0]):j?V+D(Z)[1]:V+(C(R)?D(Z)[1]:D(Z)[2])}T.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function y(R,U,Z,j){return U?"kelios sekund\u0117s":j?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:L,m:b,mm:L,h:b,hh:L,d:b,dd:L,M:b,MM:L,y:b,yy:L},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(R){return R+"-oji"},week:{dow:1,doy:4}})}(I(5439))},9991:function(ve,A,I){!function(T){"use strict";var g={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function y(B,R,U){return U?R%10==1&&R%100!=11?B[2]:B[3]:R%10==1&&R%100!=11?B[0]:B[1]}function b(B,R,U){return B+" "+y(g[U],B,R)}function C(B,R,U){return y(g[U],B,R)}T.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function D(B,R){return R?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:b,m:C,mm:b,h:C,hh:b,d:C,dd:b,M:C,MM:b,y:C,yy:b},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},8477:function(ve,A,I){!function(T){"use strict";var g={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(b,C){return 1===b?C[0]:b>=2&&b<=4?C[1]:C[2]},translate:function(b,C,D){var L=g.words[D];return 1===D.length?C?L[0]:L[1]:b+" "+g.correctGrammaticalCase(b,L)}};T.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:g.translate,m:g.translate,mm:g.translate,h:g.translate,hh:g.translate,d:"dan",dd:g.translate,M:"mjesec",MM:g.translate,y:"godinu",yy:g.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(I(5439))},5118:function(ve,A,I){!function(T){"use strict";T.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(I(5439))},5943:function(ve,A,I){!function(T){"use strict";T.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(y){var b=y%10,C=y%100;return 0===y?y+"-\u0435\u0432":0===C?y+"-\u0435\u043d":C>10&&C<20?y+"-\u0442\u0438":1===b?y+"-\u0432\u0438":2===b?y+"-\u0440\u0438":7===b||8===b?y+"-\u043c\u0438":y+"-\u0442\u0438"},week:{dow:1,doy:7}})}(I(5439))},3849:function(ve,A,I){!function(T){"use strict";T.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(y,b){return 12===y&&(y=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===b&&y>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===b||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===b?y+12:y},meridiem:function(y,b,C){return y<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":y<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":y<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":y<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(I(5439))},1977:function(ve,A,I){!function(T){"use strict";function g(b,C,D,L){switch(D){case"s":return C?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return b+(C?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return b+(C?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return b+(C?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return b+(C?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return b+(C?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return b+(C?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return b}}T.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(b){return"\u04ae\u0425"===b},meridiem:function(b,C,D){return b<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:g,ss:g,m:g,mm:g,h:g,hh:g,d:g,dd:g,M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(b,C){switch(C){case"d":case"D":case"DDD":return b+" \u04e9\u0434\u04e9\u0440";default:return b}}})}(I(5439))},6184:function(ve,A,I){!function(T){"use strict";var g={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},y={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function b(D,L,B,R){var U="";if(L)switch(B){case"s":U="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":U="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":U="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":U="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":U="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":U="%d \u0924\u093e\u0938";break;case"d":U="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":U="%d \u0926\u093f\u0935\u0938";break;case"M":U="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":U="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":U="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":U="%d \u0935\u0930\u094d\u0937\u0947"}else switch(B){case"s":U="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":U="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":U="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":U="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":U="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":U="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":U="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":U="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":U="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":U="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":U="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":U="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return U.replace(/%d/i,D)}T.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:b,ss:b,m:b,mm:b,h:b,hh:b,d:b,dd:b,M:b,MM:b,y:b,yy:b},preparse:function(D){return D.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(L){return y[L]})},postformat:function(D){return D.replace(/\d/g,function(L){return g[L]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(D,L){return 12===D&&(D=0),"\u092a\u0939\u093e\u091f\u0947"===L||"\u0938\u0915\u093e\u0933\u0940"===L?D:"\u0926\u0941\u092a\u093e\u0930\u0940"===L||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===L||"\u0930\u093e\u0924\u094d\u0930\u0940"===L?D>=12?D:D+12:void 0},meridiem:function(D,L,B){return D>=0&&D<6?"\u092a\u0939\u093e\u091f\u0947":D<12?"\u0938\u0915\u093e\u0933\u0940":D<17?"\u0926\u0941\u092a\u093e\u0930\u0940":D<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(I(5439))},4524:function(ve,A,I){!function(T){"use strict";T.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(y,b){return 12===y&&(y=0),"pagi"===b?y:"tengahari"===b?y>=11?y:y+12:"petang"===b||"malam"===b?y+12:void 0},meridiem:function(y,b,C){return y<11?"pagi":y<15?"tengahari":y<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(I(5439))},485:function(ve,A,I){!function(T){"use strict";T.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(y,b){return 12===y&&(y=0),"pagi"===b?y:"tengahari"===b?y>=11?y:y+12:"petang"===b||"malam"===b?y+12:void 0},meridiem:function(y,b,C){return y<11?"pagi":y<15?"tengahari":y<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(I(5439))},6681:function(ve,A,I){!function(T){"use strict";T.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(I(5439))},2024:function(ve,A,I){!function(T){"use strict";var g={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},y={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};T.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(C){return C.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(D){return y[D]})},postformat:function(C){return C.replace(/\d/g,function(D){return g[D]})},week:{dow:1,doy:4}})}(I(5439))},2688:function(ve,A,I){!function(T){"use strict";T.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},8914:function(ve,A,I){!function(T){"use strict";var g={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},y={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};T.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(C){return C.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(D){return y[D]})},postformat:function(C){return C.replace(/\d/g,function(D){return g[D]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(C,D){return 12===C&&(C=0),"\u0930\u093e\u0924\u093f"===D?C<4?C:C+12:"\u092c\u093f\u0939\u093e\u0928"===D?C:"\u0926\u093f\u0909\u0901\u0938\u094b"===D?C>=10?C:C+12:"\u0938\u093e\u0901\u091d"===D?C+12:void 0},meridiem:function(C,D,L){return C<3?"\u0930\u093e\u0924\u093f":C<12?"\u092c\u093f\u0939\u093e\u0928":C<16?"\u0926\u093f\u0909\u0901\u0938\u094b":C<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(I(5439))},2272:function(ve,A,I){!function(T){"use strict";var g="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),y="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),b=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],C=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;T.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(L,B){return L?/-MMM-/.test(B)?y[L.month()]:g[L.month()]:g},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(L){return L+(1===L||8===L||L>=20?"ste":"de")},week:{dow:1,doy:4}})}(I(5439))},1758:function(ve,A,I){!function(T){"use strict";var g="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),y="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),b=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],C=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;T.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(L,B){return L?/-MMM-/.test(B)?y[L.month()]:g[L.month()]:g},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(L){return L+(1===L||8===L||L>=20?"ste":"de")},week:{dow:1,doy:4}})}(I(5439))},1510:function(ve,A,I){!function(T){"use strict";T.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},2797:function(ve,A,I){!function(T){"use strict";T.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(y,b){var C=1===y?"r":2===y?"n":3===y?"r":4===y?"t":"\xe8";return("w"===b||"W"===b)&&(C="a"),y+C},week:{dow:1,doy:4}})}(I(5439))},7944:function(ve,A,I){!function(T){"use strict";var g={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},y={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};T.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(C){return C.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(D){return y[D]})},postformat:function(C){return C.replace(/\d/g,function(D){return g[D]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(C,D){return 12===C&&(C=0),"\u0a30\u0a3e\u0a24"===D?C<4?C:C+12:"\u0a38\u0a35\u0a47\u0a30"===D?C:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===D?C>=10?C:C+12:"\u0a38\u0a3c\u0a3e\u0a2e"===D?C+12:void 0},meridiem:function(C,D,L){return C<4?"\u0a30\u0a3e\u0a24":C<10?"\u0a38\u0a35\u0a47\u0a30":C<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":C<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(I(5439))},1605:function(ve,A,I){!function(T){"use strict";var g="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),y="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),b=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function C(B){return B%10<5&&B%10>1&&~~(B/10)%10!=1}function D(B,R,U){var Z=B+" ";switch(U){case"ss":return Z+(C(B)?"sekundy":"sekund");case"m":return R?"minuta":"minut\u0119";case"mm":return Z+(C(B)?"minuty":"minut");case"h":return R?"godzina":"godzin\u0119";case"hh":return Z+(C(B)?"godziny":"godzin");case"ww":return Z+(C(B)?"tygodnie":"tygodni");case"MM":return Z+(C(B)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return Z+(C(B)?"lata":"lat")}}T.defineLocale("pl",{months:function(B,R){return B?/D MMMM/.test(R)?y[B.month()]:g[B.month()]:g},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:D,m:D,mm:D,h:D,hh:D,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:D,M:"miesi\u0105c",MM:D,y:"rok",yy:D},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},3840:function(ve,A,I){!function(T){"use strict";T.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(I(5439))},4225:function(ve,A,I){!function(T){"use strict";T.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(I(5439))},5128:function(ve,A,I){!function(T){"use strict";function g(b,C,D){var B=" ";return(b%100>=20||b>=100&&b%100==0)&&(B=" de "),b+B+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[D]}T.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:g,m:"un minut",mm:g,h:"o or\u0103",hh:g,d:"o zi",dd:g,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:g,M:"o lun\u0103",MM:g,y:"un an",yy:g},week:{dow:1,doy:7}})}(I(5439))},5127:function(ve,A,I){!function(T){"use strict";function y(D,L,B){return"m"===B?L?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":D+" "+function g(D,L){var B=D.split("_");return L%10==1&&L%100!=11?B[0]:L%10>=2&&L%10<=4&&(L%100<10||L%100>=20)?B[1]:B[2]}({ss:L?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:L?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[B],+D)}var b=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];T.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:b,longMonthsParse:b,shortMonthsParse:b,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(D){if(D.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(D){if(D.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:y,m:y,mm:y,h:"\u0447\u0430\u0441",hh:y,d:"\u0434\u0435\u043d\u044c",dd:y,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:y,M:"\u043c\u0435\u0441\u044f\u0446",MM:y,y:"\u0433\u043e\u0434",yy:y},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(D){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(D)},meridiem:function(D,L,B){return D<4?"\u043d\u043e\u0447\u0438":D<12?"\u0443\u0442\u0440\u0430":D<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(D,L){switch(L){case"M":case"d":case"DDD":return D+"-\u0439";case"D":return D+"-\u0433\u043e";case"w":case"W":return D+"-\u044f";default:return D}},week:{dow:1,doy:4}})}(I(5439))},2525:function(ve,A,I){!function(T){"use strict";var g=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],y=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];T.defineLocale("sd",{months:g,monthsShort:g,weekdays:y,weekdaysShort:y,weekdaysMin:y,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(C){return"\u0634\u0627\u0645"===C},meridiem:function(C,D,L){return C<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(C){return C.replace(/\u060c/g,",")},postformat:function(C){return C.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(I(5439))},9893:function(ve,A,I){!function(T){"use strict";T.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},3123:function(ve,A,I){!function(T){"use strict";T.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(y){return y+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(y){return"\u0db4.\u0dc0."===y||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===y},meridiem:function(y,b,C){return y>11?C?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":C?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(I(5439))},9635:function(ve,A,I){!function(T){"use strict";var g="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),y="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function b(L){return L>1&&L<5}function C(L,B,R,U){var Z=L+" ";switch(R){case"s":return B||U?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return B||U?Z+(b(L)?"sekundy":"sek\xfand"):Z+"sekundami";case"m":return B?"min\xfata":U?"min\xfatu":"min\xfatou";case"mm":return B||U?Z+(b(L)?"min\xfaty":"min\xfat"):Z+"min\xfatami";case"h":return B?"hodina":U?"hodinu":"hodinou";case"hh":return B||U?Z+(b(L)?"hodiny":"hod\xedn"):Z+"hodinami";case"d":return B||U?"de\u0148":"d\u0148om";case"dd":return B||U?Z+(b(L)?"dni":"dn\xed"):Z+"d\u0148ami";case"M":return B||U?"mesiac":"mesiacom";case"MM":return B||U?Z+(b(L)?"mesiace":"mesiacov"):Z+"mesiacmi";case"y":return B||U?"rok":"rokom";case"yy":return B||U?Z+(b(L)?"roky":"rokov"):Z+"rokmi"}}T.defineLocale("sk",{months:g,monthsShort:y,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:C,ss:C,m:C,mm:C,h:C,hh:C,d:C,dd:C,M:C,MM:C,y:C,yy:C},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},8106:function(ve,A,I){!function(T){"use strict";function g(b,C,D,L){var B=b+" ";switch(D){case"s":return C||L?"nekaj sekund":"nekaj sekundami";case"ss":return B+(1===b?C?"sekundo":"sekundi":2===b?C||L?"sekundi":"sekundah":b<5?C||L?"sekunde":"sekundah":"sekund");case"m":return C?"ena minuta":"eno minuto";case"mm":return B+(1===b?C?"minuta":"minuto":2===b?C||L?"minuti":"minutama":b<5?C||L?"minute":"minutami":C||L?"minut":"minutami");case"h":return C?"ena ura":"eno uro";case"hh":return B+(1===b?C?"ura":"uro":2===b?C||L?"uri":"urama":b<5?C||L?"ure":"urami":C||L?"ur":"urami");case"d":return C||L?"en dan":"enim dnem";case"dd":return B+(1===b?C||L?"dan":"dnem":2===b?C||L?"dni":"dnevoma":C||L?"dni":"dnevi");case"M":return C||L?"en mesec":"enim mesecem";case"MM":return B+(1===b?C||L?"mesec":"mesecem":2===b?C||L?"meseca":"mesecema":b<5?C||L?"mesece":"meseci":C||L?"mesecev":"meseci");case"y":return C||L?"eno leto":"enim letom";case"yy":return B+(1===b?C||L?"leto":"letom":2===b?C||L?"leti":"letoma":b<5?C||L?"leta":"leti":C||L?"let":"leti")}}T.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:g,ss:g,m:g,mm:g,h:g,hh:g,d:g,dd:g,M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(I(5439))},8799:function(ve,A,I){!function(T){"use strict";T.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(y){return"M"===y.charAt(0)},meridiem:function(y,b,C){return y<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},2872:function(ve,A,I){!function(T){"use strict";var g={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(b,C){return b%10>=1&&b%10<=4&&(b%100<10||b%100>=20)?b%10==1?C[0]:C[1]:C[2]},translate:function(b,C,D,L){var R,B=g.words[D];return 1===D.length?"y"===D&&C?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":L||C?B[0]:B[1]:(R=g.correctGrammaticalCase(b,B),"yy"===D&&C&&"\u0433\u043e\u0434\u0438\u043d\u0443"===R?b+" \u0433\u043e\u0434\u0438\u043d\u0430":b+" "+R)}};T.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:g.translate,m:g.translate,mm:g.translate,h:g.translate,hh:g.translate,d:g.translate,dd:g.translate,M:g.translate,MM:g.translate,y:g.translate,yy:g.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(I(5439))},7949:function(ve,A,I){!function(T){"use strict";var g={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(b,C){return b%10>=1&&b%10<=4&&(b%100<10||b%100>=20)?b%10==1?C[0]:C[1]:C[2]},translate:function(b,C,D,L){var R,B=g.words[D];return 1===D.length?"y"===D&&C?"jedna godina":L||C?B[0]:B[1]:(R=g.correctGrammaticalCase(b,B),"yy"===D&&C&&"godinu"===R?b+" godina":b+" "+R)}};T.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:g.translate,m:g.translate,mm:g.translate,h:g.translate,hh:g.translate,d:g.translate,dd:g.translate,M:g.translate,MM:g.translate,y:g.translate,yy:g.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(I(5439))},6167:function(ve,A,I){!function(T){"use strict";T.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(y,b,C){return y<11?"ekuseni":y<15?"emini":y<19?"entsambama":"ebusuku"},meridiemHour:function(y,b){return 12===y&&(y=0),"ekuseni"===b?y:"emini"===b?y>=11?y:y+12:"entsambama"===b||"ebusuku"===b?0===y?0:y+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(I(5439))},9713:function(ve,A,I){!function(T){"use strict";T.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(y){var b=y%10;return y+(1==~~(y%100/10)?":e":1===b||2===b?":a":":e")},week:{dow:1,doy:4}})}(I(5439))},1982:function(ve,A,I){!function(T){"use strict";T.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(I(5439))},2732:function(ve,A,I){!function(T){"use strict";var g={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},y={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};T.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(C){return C+"\u0bb5\u0ba4\u0bc1"},preparse:function(C){return C.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(D){return y[D]})},postformat:function(C){return C.replace(/\d/g,function(D){return g[D]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(C,D,L){return C<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":C<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":C<10?" \u0b95\u0bbe\u0bb2\u0bc8":C<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":C<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":C<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(C,D){return 12===C&&(C=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===D?C<2?C:C+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===D||"\u0b95\u0bbe\u0bb2\u0bc8"===D||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===D&&C>=10?C:C+12},week:{dow:0,doy:6}})}(I(5439))},3636:function(ve,A,I){!function(T){"use strict";T.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(y,b){return 12===y&&(y=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===b?y<4?y:y+12:"\u0c09\u0c26\u0c2f\u0c02"===b?y:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===b?y>=10?y:y+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===b?y+12:void 0},meridiem:function(y,b,C){return y<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":y<10?"\u0c09\u0c26\u0c2f\u0c02":y<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":y<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(I(5439))},2115:function(ve,A,I){!function(T){"use strict";T.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(y){var b=y%10;return y+(1==~~(y%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(I(5439))},9801:function(ve,A,I){!function(T){"use strict";var g={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};T.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(b,C){return 12===b&&(b=0),"\u0448\u0430\u0431"===C?b<4?b:b+12:"\u0441\u0443\u0431\u04b3"===C?b:"\u0440\u04ef\u0437"===C?b>=11?b:b+12:"\u0431\u0435\u0433\u043e\u04b3"===C?b+12:void 0},meridiem:function(b,C,D){return b<4?"\u0448\u0430\u0431":b<11?"\u0441\u0443\u0431\u04b3":b<16?"\u0440\u04ef\u0437":b<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(b){return b+(g[b]||g[b%10]||g[b>=100?100:null])},week:{dow:1,doy:7}})}(I(5439))},4486:function(ve,A,I){!function(T){"use strict";T.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(y){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===y},meridiem:function(y,b,C){return y<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(I(5439))},1310:function(ve,A,I){!function(T){"use strict";var g={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};T.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(b,C){switch(C){case"d":case"D":case"Do":case"DD":return b;default:if(0===b)return b+"'unjy";var D=b%10;return b+(g[D]||g[b%100-D]||g[b>=100?100:null])}},week:{dow:1,doy:7}})}(I(5439))},2360:function(ve,A,I){!function(T){"use strict";T.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(y){return y},week:{dow:1,doy:4}})}(I(5439))},6645:function(ve,A,I){!function(T){"use strict";var g="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function C(B,R,U,Z){var j=function D(B){var R=Math.floor(B%1e3/100),U=Math.floor(B%100/10),Z=B%10,j="";return R>0&&(j+=g[R]+"vatlh"),U>0&&(j+=(""!==j?" ":"")+g[U]+"maH"),Z>0&&(j+=(""!==j?" ":"")+g[Z]),""===j?"pagh":j}(B);switch(U){case"ss":return j+" lup";case"mm":return j+" tup";case"hh":return j+" rep";case"dd":return j+" jaj";case"MM":return j+" jar";case"yy":return j+" DIS"}}T.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function y(B){var R=B;return-1!==B.indexOf("jaj")?R.slice(0,-3)+"leS":-1!==B.indexOf("jar")?R.slice(0,-3)+"waQ":-1!==B.indexOf("DIS")?R.slice(0,-3)+"nem":R+" pIq"},past:function b(B){var R=B;return-1!==B.indexOf("jaj")?R.slice(0,-3)+"Hu\u2019":-1!==B.indexOf("jar")?R.slice(0,-3)+"wen":-1!==B.indexOf("DIS")?R.slice(0,-3)+"ben":R+" ret"},s:"puS lup",ss:C,m:"wa\u2019 tup",mm:C,h:"wa\u2019 rep",hh:C,d:"wa\u2019 jaj",dd:C,M:"wa\u2019 jar",MM:C,y:"wa\u2019 DIS",yy:C},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},8374:function(ve,A,I){!function(T){"use strict";var g={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};T.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(b,C,D){return b<12?D?"\xf6\xf6":"\xd6\xd6":D?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(b){return"\xf6s"===b||"\xd6S"===b},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(b,C){switch(C){case"d":case"D":case"Do":case"DD":return b;default:if(0===b)return b+"'\u0131nc\u0131";var D=b%10;return b+(g[D]||g[b%100-D]||g[b>=100?100:null])}},week:{dow:1,doy:7}})}(I(5439))},256:function(ve,A,I){!function(T){"use strict";function y(b,C,D,L){var B={s:["viensas secunds","'iensas secunds"],ss:[b+" secunds",b+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[b+" m\xeduts",b+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[b+" \xfeoras",b+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[b+" ziuas",b+" ziuas"],M:["'n mes","'iens mes"],MM:[b+" mesen",b+" mesen"],y:["'n ar","'iens ar"],yy:[b+" ars",b+" ars"]};return L||C?B[D][0]:B[D][1]}T.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(b){return"d'o"===b.toLowerCase()},meridiem:function(b,C,D){return b>11?D?"d'o":"D'O":D?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:y,ss:y,m:y,mm:y,h:y,hh:y,d:y,dd:y,M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(I(5439))},1631:function(ve,A,I){!function(T){"use strict";T.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(I(5439))},1595:function(ve,A,I){!function(T){"use strict";T.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(I(5439))},6050:function(ve,A,I){!function(T){"use strict";T.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(y,b){return 12===y&&(y=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===b||"\u0633\u06d5\u06be\u06d5\u0631"===b||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===b?y:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===b||"\u0643\u06d5\u0686"===b?y+12:y>=11?y:y+12},meridiem:function(y,b,C){var D=100*y+b;return D<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":D<900?"\u0633\u06d5\u06be\u06d5\u0631":D<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":D<1230?"\u0686\u06c8\u0634":D<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(y,b){switch(b){case"d":case"D":case"DDD":return y+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return y+"-\u06be\u06d5\u067e\u062a\u06d5";default:return y}},preparse:function(y){return y.replace(/\u060c/g,",")},postformat:function(y){return y.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(I(5439))},5610:function(ve,A,I){!function(T){"use strict";function y(L,B,R){return"m"===R?B?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===R?B?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":L+" "+function g(L,B){var R=L.split("_");return B%10==1&&B%100!=11?R[0]:B%10>=2&&B%10<=4&&(B%100<10||B%100>=20)?R[1]:R[2]}({ss:B?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:B?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:B?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[R],+L)}function C(L){return function(){return L+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}T.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function b(L,B){var R={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===L?R.nominative.slice(1,7).concat(R.nominative.slice(0,1)):L?R[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(B)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(B)?"genitive":"nominative"][L.day()]:R.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:C("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:C("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:C("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:C("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return C("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return C("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:y,m:y,mm:y,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:y,d:"\u0434\u0435\u043d\u044c",dd:y,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:y,y:"\u0440\u0456\u043a",yy:y},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(L){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(L)},meridiem:function(L,B,R){return L<4?"\u043d\u043e\u0447\u0456":L<12?"\u0440\u0430\u043d\u043a\u0443":L<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(L,B){switch(B){case"M":case"d":case"DDD":case"w":case"W":return L+"-\u0439";case"D":return L+"-\u0433\u043e";default:return L}},week:{dow:1,doy:7}})}(I(5439))},6077:function(ve,A,I){!function(T){"use strict";var g=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],y=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];T.defineLocale("ur",{months:g,monthsShort:g,weekdays:y,weekdaysShort:y,weekdaysMin:y,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(C){return"\u0634\u0627\u0645"===C},meridiem:function(C,D,L){return C<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(C){return C.replace(/\u060c/g,",")},postformat:function(C){return C.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(I(5439))},2207:function(ve,A,I){!function(T){"use strict";T.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(I(5439))},2862:function(ve,A,I){!function(T){"use strict";T.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(I(5439))},8093:function(ve,A,I){!function(T){"use strict";T.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(y){return/^ch$/i.test(y)},meridiem:function(y,b,C){return y<12?C?"sa":"SA":C?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(y){return y},week:{dow:1,doy:4}})}(I(5439))},5590:function(ve,A,I){!function(T){"use strict";T.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(y){var b=y%10;return y+(1==~~(y%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(I(5439))},9058:function(ve,A,I){!function(T){"use strict";T.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(I(5439))},7908:function(ve,A,I){!function(T){"use strict";T.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(y,b){return 12===y&&(y=0),"\u51cc\u6668"===b||"\u65e9\u4e0a"===b||"\u4e0a\u5348"===b?y:"\u4e0b\u5348"===b||"\u665a\u4e0a"===b?y+12:y>=11?y:y+12},meridiem:function(y,b,C){var D=100*y+b;return D<600?"\u51cc\u6668":D<900?"\u65e9\u4e0a":D<1130?"\u4e0a\u5348":D<1230?"\u4e2d\u5348":D<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(y){return y.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(y){return this.week()!==y.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(y,b){switch(b){case"d":case"D":case"DDD":return y+"\u65e5";case"M":return y+"\u6708";case"w":case"W":return y+"\u5468";default:return y}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(I(5439))},8867:function(ve,A,I){!function(T){"use strict";T.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(y,b){return 12===y&&(y=0),"\u51cc\u6668"===b||"\u65e9\u4e0a"===b||"\u4e0a\u5348"===b?y:"\u4e2d\u5348"===b?y>=11?y:y+12:"\u4e0b\u5348"===b||"\u665a\u4e0a"===b?y+12:void 0},meridiem:function(y,b,C){var D=100*y+b;return D<600?"\u51cc\u6668":D<900?"\u65e9\u4e0a":D<1200?"\u4e0a\u5348":1200===D?"\u4e2d\u5348":D<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(y,b){switch(b){case"d":case"D":case"DDD":return y+"\u65e5";case"M":return y+"\u6708";case"w":case"W":return y+"\u9031";default:return y}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(I(5439))},1133:function(ve,A,I){!function(T){"use strict";T.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(y,b){return 12===y&&(y=0),"\u51cc\u6668"===b||"\u65e9\u4e0a"===b||"\u4e0a\u5348"===b?y:"\u4e2d\u5348"===b?y>=11?y:y+12:"\u4e0b\u5348"===b||"\u665a\u4e0a"===b?y+12:void 0},meridiem:function(y,b,C){var D=100*y+b;return D<600?"\u51cc\u6668":D<900?"\u65e9\u4e0a":D<1130?"\u4e0a\u5348":D<1230?"\u4e2d\u5348":D<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(y,b){switch(b){case"d":case"D":case"DDD":return y+"\u65e5";case"M":return y+"\u6708";case"w":case"W":return y+"\u9031";default:return y}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(I(5439))},3291:function(ve,A,I){!function(T){"use strict";T.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(y,b){return 12===y&&(y=0),"\u51cc\u6668"===b||"\u65e9\u4e0a"===b||"\u4e0a\u5348"===b?y:"\u4e2d\u5348"===b?y>=11?y:y+12:"\u4e0b\u5348"===b||"\u665a\u4e0a"===b?y+12:void 0},meridiem:function(y,b,C){var D=100*y+b;return D<600?"\u51cc\u6668":D<900?"\u65e9\u4e0a":D<1130?"\u4e0a\u5348":D<1230?"\u4e2d\u5348":D<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(y,b){switch(b){case"d":case"D":case"DDD":return y+"\u65e5";case"M":return y+"\u6708";case"w":case"W":return y+"\u9031";default:return y}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(I(5439))},5439:function(ve,A,I){(ve=I.nmd(ve)).exports=function(){"use strict";var T,ne;function g(){return T.apply(null,arguments)}function b(w){return w instanceof Array||"[object Array]"===Object.prototype.toString.call(w)}function C(w){return null!=w&&"[object Object]"===Object.prototype.toString.call(w)}function D(w,O){return Object.prototype.hasOwnProperty.call(w,O)}function L(w){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(w).length;var O;for(O in w)if(D(w,O))return!1;return!0}function B(w){return void 0===w}function R(w){return"number"==typeof w||"[object Number]"===Object.prototype.toString.call(w)}function U(w){return w instanceof Date||"[object Date]"===Object.prototype.toString.call(w)}function Z(w,O){var se,X=[],be=w.length;for(se=0;se<be;++se)X.push(O(w[se],se));return X}function j(w,O){for(var X in O)D(O,X)&&(w[X]=O[X]);return D(O,"toString")&&(w.toString=O.toString),D(O,"valueOf")&&(w.valueOf=O.valueOf),w}function V(w,O,X,se){return Di(w,O,X,se,!0).utc()}function W(w){return null==w._pf&&(w._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),w._pf}function G(w){if(null==w._isValid){var O=W(w),X=ne.call(O.parsedDateParts,function(be){return null!=be}),se=!isNaN(w._d.getTime())&&O.overflow<0&&!O.empty&&!O.invalidEra&&!O.invalidMonth&&!O.invalidWeekday&&!O.weekdayMismatch&&!O.nullInput&&!O.invalidFormat&&!O.userInvalidated&&(!O.meridiem||O.meridiem&&X);if(w._strict&&(se=se&&0===O.charsLeftOver&&0===O.unusedTokens.length&&void 0===O.bigHour),null!=Object.isFrozen&&Object.isFrozen(w))return se;w._isValid=se}return w._isValid}function z(w){var O=V(NaN);return null!=w?j(W(O),w):W(O).userInvalidated=!0,O}ne=Array.prototype.some?Array.prototype.some:function(w){var se,O=Object(this),X=O.length>>>0;for(se=0;se<X;se++)if(se in O&&w.call(this,O[se],se,O))return!0;return!1};var ce=g.momentProperties=[],le=!1;function ie(w,O){var X,se,be,Ve=ce.length;if(B(O._isAMomentObject)||(w._isAMomentObject=O._isAMomentObject),B(O._i)||(w._i=O._i),B(O._f)||(w._f=O._f),B(O._l)||(w._l=O._l),B(O._strict)||(w._strict=O._strict),B(O._tzm)||(w._tzm=O._tzm),B(O._isUTC)||(w._isUTC=O._isUTC),B(O._offset)||(w._offset=O._offset),B(O._pf)||(w._pf=W(O)),B(O._locale)||(w._locale=O._locale),Ve>0)for(X=0;X<Ve;X++)B(be=O[se=ce[X]])||(w[se]=be);return w}function K(w){ie(this,w),this._d=new Date(null!=w._d?w._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===le&&(le=!0,g.updateOffset(this),le=!1)}function oe(w){return w instanceof K||null!=w&&null!=w._isAMomentObject}function he(w){!1===g.suppressDeprecationWarnings&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+w)}function ae(w,O){var X=!0;return j(function(){if(null!=g.deprecationHandler&&g.deprecationHandler(null,w),X){var be,Ve,dt,se=[],Ti=arguments.length;for(Ve=0;Ve<Ti;Ve++){if(be="","object"==typeof arguments[Ve]){for(dt in be+="\n["+Ve+"] ",arguments[0])D(arguments[0],dt)&&(be+=dt+": "+arguments[0][dt]+", ");be=be.slice(0,-2)}else be=arguments[Ve];se.push(be)}he(w+"\nArguments: "+Array.prototype.slice.call(se).join("")+"\n"+(new Error).stack),X=!1}return O.apply(this,arguments)},O)}var st,de={};function me(w,O){null!=g.deprecationHandler&&g.deprecationHandler(w,O),de[w]||(he(O),de[w]=!0)}function ge(w){return typeof Function<"u"&&w instanceof Function||"[object Function]"===Object.prototype.toString.call(w)}function ze(w,O){var se,X=j({},w);for(se in O)D(O,se)&&(C(w[se])&&C(O[se])?(X[se]={},j(X[se],w[se]),j(X[se],O[se])):null!=O[se]?X[se]=O[se]:delete X[se]);for(se in w)D(w,se)&&!D(O,se)&&C(w[se])&&(X[se]=j({},X[se]));return X}function Re(w){null!=w&&this.set(w)}g.suppressDeprecationWarnings=!1,g.deprecationHandler=null,st=Object.keys?Object.keys:function(w){var O,X=[];for(O in w)D(w,O)&&X.push(O);return X};function Xt(w,O,X){var se=""+Math.abs(w);return(w>=0?X?"+":"":"-")+Math.pow(10,Math.max(0,O-se.length)).toString().substr(1)+se}var ft=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ai=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,He={},yi={};function nt(w,O,X,se){var be=se;"string"==typeof se&&(be=function(){return this[se]()}),w&&(yi[w]=be),O&&(yi[O[0]]=function(){return Xt(be.apply(this,arguments),O[1],O[2])}),X&&(yi[X]=function(){return this.localeData().ordinal(be.apply(this,arguments),w)})}function Jt(w){return w.match(/\[[\s\S]/)?w.replace(/^\[|\]$/g,""):w.replace(/\\/g,"")}function Fn(w,O){return w.isValid()?(O=_t(O,w.localeData()),He[O]=He[O]||function Ut(w){var X,se,O=w.match(ft);for(X=0,se=O.length;X<se;X++)O[X]=yi[O[X]]?yi[O[X]]:Jt(O[X]);return function(be){var dt,Ve="";for(dt=0;dt<se;dt++)Ve+=ge(O[dt])?O[dt].call(be,w):O[dt];return Ve}}(O),He[O](w)):w.localeData().invalidDate()}function _t(w,O){var X=5;function se(be){return O.longDateFormat(be)||be}for(ai.lastIndex=0;X>=0&&ai.test(w);)w=w.replace(ai,se),ai.lastIndex=0,X-=1;return w}var vt={};function un(w,O){var X=w.toLowerCase();vt[X]=vt[X+"s"]=vt[O]=w}function Ni(w){return"string"==typeof w?vt[w]||vt[w.toLowerCase()]:void 0}function Vi(w){var X,se,O={};for(se in w)D(w,se)&&(X=Ni(se))&&(O[X]=w[se]);return O}var fa={};function $i(w,O){fa[w]=O}function Oi(w){return w%4==0&&w%100!=0||w%400==0}function Ji(w){return w<0?Math.ceil(w)||0:Math.floor(w)}function Ri(w){var O=+w,X=0;return 0!==O&&isFinite(O)&&(X=Ji(O)),X}function Qr(w,O){return function(X){return null!=X?(mr(this,w,X),g.updateOffset(this,O),this):Pr(this,w)}}function Pr(w,O){return w.isValid()?w._d["get"+(w._isUTC?"UTC":"")+O]():NaN}function mr(w,O,X){w.isValid()&&!isNaN(X)&&("FullYear"===O&&Oi(w.year())&&1===w.month()&&29===w.date()?(X=Ri(X),w._d["set"+(w._isUTC?"UTC":"")+O](X,w.month(),pt(X,w.month()))):w._d["set"+(w._isUTC?"UTC":"")+O](X))}var Va,Ue=/\d/,We=/\d\d/,pn=/\d{3}/,An=/\d{4}/,ir=/[+-]?\d{6}/,Et=/\d\d?/,pa=/\d\d\d\d?/,Ha=/\d\d\d\d\d\d?/,Br=/\d{1,3}/,xr=/\d{1,4}/,vo=/[+-]?\d{1,6}/,Zr=/\d+/,Ar=/[+-]?\d+/,ps=/Z|[+-]\d\d:?\d\d/gi,ra=/Z|[+-]\d\d(?::?\d\d)?/gi,sn=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Yt(w,O,X){Va[w]=ge(O)?O:function(se,be){return se&&X?X:O}}function ka(w,O){return D(Va,w)?Va[w](O._strict,O._locale):new RegExp(function Ya(w){return jt(w.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(O,X,se,be,Ve){return X||se||be||Ve}))}(w))}function jt(w){return w.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Va={};var wo={};function xn(w,O){var X,be,se=O;for("string"==typeof w&&(w=[w]),R(O)&&(se=function(Ve,dt){dt[O]=Ri(Ve)}),be=w.length,X=0;X<be;X++)wo[w[X]]=se}function nr(w,O){xn(w,function(X,se,be,Ve){be._w=be._w||{},O(X,be._w,be,Ve)})}function gs(w,O,X){null!=O&&D(wo,w)&&wo[w](O,X._a,X,w)}var fr,vi=0,br=1,ln=2,gn=3,Hr=4,Xr=5,aa=6,io=7,Fo=8;function pt(w,O){if(isNaN(w)||isNaN(O))return NaN;var X=function no(w,O){return(w%O+O)%O}(O,12);return w+=(O-X)/12,1===X?Oi(w)?29:28:31-X%7%2}fr=Array.prototype.indexOf?Array.prototype.indexOf:function(w){var O;for(O=0;O<this.length;++O)if(this[O]===w)return O;return-1},nt("M",["MM",2],"Mo",function(){return this.month()+1}),nt("MMM",0,0,function(w){return this.localeData().monthsShort(this,w)}),nt("MMMM",0,0,function(w){return this.localeData().months(this,w)}),un("month","M"),$i("month",8),Yt("M",Et),Yt("MM",Et,We),Yt("MMM",function(w,O){return O.monthsShortRegex(w)}),Yt("MMMM",function(w,O){return O.monthsRegex(w)}),xn(["M","MM"],function(w,O){O[br]=Ri(w)-1}),xn(["MMM","MMMM"],function(w,O,X,se){var be=X._locale.monthsParse(w,se,X._strict);null!=be?O[br]=be:W(X).invalidMonth=w});var Ol="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),pr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Bo=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,sd=sn,cn=sn;function rr(w,O,X){var se,be,Ve,dt=w.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],se=0;se<12;++se)Ve=V([2e3,se]),this._shortMonthsParse[se]=this.monthsShort(Ve,"").toLocaleLowerCase(),this._longMonthsParse[se]=this.months(Ve,"").toLocaleLowerCase();return X?"MMM"===O?-1!==(be=fr.call(this._shortMonthsParse,dt))?be:null:-1!==(be=fr.call(this._longMonthsParse,dt))?be:null:"MMM"===O?-1!==(be=fr.call(this._shortMonthsParse,dt))||-1!==(be=fr.call(this._longMonthsParse,dt))?be:null:-1!==(be=fr.call(this._longMonthsParse,dt))||-1!==(be=fr.call(this._shortMonthsParse,dt))?be:null}function ro(w,O){var X;if(!w.isValid())return w;if("string"==typeof O)if(/^\d+$/.test(O))O=Ri(O);else if(!R(O=w.localeData().monthsParse(O)))return w;return X=Math.min(w.date(),pt(w.year(),O)),w._d["set"+(w._isUTC?"UTC":"")+"Month"](O,X),w}function In(w){return null!=w?(ro(this,w),g.updateOffset(this,!0),this):Pr(this,"Month")}function Ui(){function w(dt,Ti){return Ti.length-dt.length}var be,Ve,O=[],X=[],se=[];for(be=0;be<12;be++)Ve=V([2e3,be]),O.push(this.monthsShort(Ve,"")),X.push(this.months(Ve,"")),se.push(this.months(Ve,"")),se.push(this.monthsShort(Ve,""));for(O.sort(w),X.sort(w),se.sort(w),be=0;be<12;be++)O[be]=jt(O[be]),X[be]=jt(X[be]);for(be=0;be<24;be++)se[be]=jt(se[be]);this._monthsRegex=new RegExp("^("+se.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+X.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+O.join("|")+")","i")}function ao(w){return Oi(w)?366:365}nt("Y",0,0,function(){var w=this.year();return w<=9999?Xt(w,4):"+"+w}),nt(0,["YY",2],0,function(){return this.year()%100}),nt(0,["YYYY",4],0,"year"),nt(0,["YYYYY",5],0,"year"),nt(0,["YYYYYY",6,!0],0,"year"),un("year","y"),$i("year",1),Yt("Y",Ar),Yt("YY",Et,We),Yt("YYYY",xr,An),Yt("YYYYY",vo,ir),Yt("YYYYYY",vo,ir),xn(["YYYYY","YYYYYY"],vi),xn("YYYY",function(w,O){O[vi]=2===w.length?g.parseTwoDigitYear(w):Ri(w)}),xn("YY",function(w,O){O[vi]=g.parseTwoDigitYear(w)}),xn("Y",function(w,O){O[vi]=parseInt(w,10)}),g.parseTwoDigitYear=function(w){return Ri(w)+(Ri(w)>68?1900:2e3)};var di=Qr("FullYear",!0);function Ir(w,O,X,se,be,Ve,dt){var Ti;return w<100&&w>=0?(Ti=new Date(w+400,O,X,se,be,Ve,dt),isFinite(Ti.getFullYear())&&Ti.setFullYear(w)):Ti=new Date(w,O,X,se,be,Ve,dt),Ti}function $e(w){var O,X;return w<100&&w>=0?((X=Array.prototype.slice.call(arguments))[0]=w+400,O=new Date(Date.UTC.apply(null,X)),isFinite(O.getUTCFullYear())&&O.setUTCFullYear(w)):O=new Date(Date.UTC.apply(null,arguments)),O}function De(w,O,X){var se=7+O-X;return-(7+$e(w,0,se).getUTCDay()-O)%7+se-1}function li(w,O,X,se,be){var bn,Cr,Ti=1+7*(O-1)+(7+X-se)%7+De(w,se,be);return Ti<=0?Cr=ao(bn=w-1)+Ti:Ti>ao(w)?(bn=w+1,Cr=Ti-ao(w)):(bn=w,Cr=Ti),{year:bn,dayOfYear:Cr}}function tt(w,O,X){var Ve,dt,se=De(w.year(),O,X),be=Math.floor((w.dayOfYear()-se-1)/7)+1;return be<1?Ve=be+gr(dt=w.year()-1,O,X):be>gr(w.year(),O,X)?(Ve=be-gr(w.year(),O,X),dt=w.year()+1):(dt=w.year(),Ve=be),{week:Ve,year:dt}}function gr(w,O,X){var se=De(w,O,X),be=De(w+1,O,X);return(ao(w)-se+be)/7}nt("w",["ww",2],"wo","week"),nt("W",["WW",2],"Wo","isoWeek"),un("week","w"),un("isoWeek","W"),$i("week",5),$i("isoWeek",5),Yt("w",Et),Yt("ww",Et,We),Yt("W",Et),Yt("WW",Et,We),nr(["w","ww","W","WW"],function(w,O,X,se){O[se.substr(0,1)]=Ri(w)});function _s(w,O){return w.slice(O,7).concat(w.slice(0,O))}nt("d",0,"do","day"),nt("dd",0,0,function(w){return this.localeData().weekdaysMin(this,w)}),nt("ddd",0,0,function(w){return this.localeData().weekdaysShort(this,w)}),nt("dddd",0,0,function(w){return this.localeData().weekdays(this,w)}),nt("e",0,0,"weekday"),nt("E",0,0,"isoWeekday"),un("day","d"),un("weekday","e"),un("isoWeekday","E"),$i("day",11),$i("weekday",11),$i("isoWeekday",11),Yt("d",Et),Yt("e",Et),Yt("E",Et),Yt("dd",function(w,O){return O.weekdaysMinRegex(w)}),Yt("ddd",function(w,O){return O.weekdaysShortRegex(w)}),Yt("dddd",function(w,O){return O.weekdaysRegex(w)}),nr(["dd","ddd","dddd"],function(w,O,X,se){var be=X._locale.weekdaysParse(w,se,X._strict);null!=be?O.d=be:W(X).invalidWeekday=w}),nr(["d","e","E"],function(w,O,X,se){O[se]=Ri(w)});var cd="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ho="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),mh="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),mc=sn,bs=sn,Ei=sn;function uu(w,O,X){var se,be,Ve,dt=w.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],se=0;se<7;++se)Ve=V([2e3,1]).day(se),this._minWeekdaysParse[se]=this.weekdaysMin(Ve,"").toLocaleLowerCase(),this._shortWeekdaysParse[se]=this.weekdaysShort(Ve,"").toLocaleLowerCase(),this._weekdaysParse[se]=this.weekdays(Ve,"").toLocaleLowerCase();return X?"dddd"===O?-1!==(be=fr.call(this._weekdaysParse,dt))?be:null:"ddd"===O?-1!==(be=fr.call(this._shortWeekdaysParse,dt))?be:null:-1!==(be=fr.call(this._minWeekdaysParse,dt))?be:null:"dddd"===O?-1!==(be=fr.call(this._weekdaysParse,dt))||-1!==(be=fr.call(this._shortWeekdaysParse,dt))||-1!==(be=fr.call(this._minWeekdaysParse,dt))?be:null:"ddd"===O?-1!==(be=fr.call(this._shortWeekdaysParse,dt))||-1!==(be=fr.call(this._weekdaysParse,dt))||-1!==(be=fr.call(this._minWeekdaysParse,dt))?be:null:-1!==(be=fr.call(this._minWeekdaysParse,dt))||-1!==(be=fr.call(this._weekdaysParse,dt))||-1!==(be=fr.call(this._shortWeekdaysParse,dt))?be:null}function St(){function w(Ur,jl){return jl.length-Ur.length}var Ve,dt,Ti,bn,Cr,O=[],X=[],se=[],be=[];for(Ve=0;Ve<7;Ve++)dt=V([2e3,1]).day(Ve),Ti=jt(this.weekdaysMin(dt,"")),bn=jt(this.weekdaysShort(dt,"")),Cr=jt(this.weekdays(dt,"")),O.push(Ti),X.push(bn),se.push(Cr),be.push(Ti),be.push(bn),be.push(Cr);O.sort(w),X.sort(w),se.sort(w),be.sort(w),this._weekdaysRegex=new RegExp("^("+be.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+se.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+X.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+O.join("|")+")","i")}function Vo(){return this.hours()%12||12}function Lr(w,O){nt(w,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),O)})}function gc(w,O){return O._meridiemParse}nt("H",["HH",2],0,"hour"),nt("h",["hh",2],0,Vo),nt("k",["kk",2],0,function ph(){return this.hours()||24}),nt("hmm",0,0,function(){return""+Vo.apply(this)+Xt(this.minutes(),2)}),nt("hmmss",0,0,function(){return""+Vo.apply(this)+Xt(this.minutes(),2)+Xt(this.seconds(),2)}),nt("Hmm",0,0,function(){return""+this.hours()+Xt(this.minutes(),2)}),nt("Hmmss",0,0,function(){return""+this.hours()+Xt(this.minutes(),2)+Xt(this.seconds(),2)}),Lr("a",!0),Lr("A",!1),un("hour","h"),$i("hour",13),Yt("a",gc),Yt("A",gc),Yt("H",Et),Yt("h",Et),Yt("k",Et),Yt("HH",Et,We),Yt("hh",Et,We),Yt("kk",Et,We),Yt("hmm",pa),Yt("hmmss",Ha),Yt("Hmm",pa),Yt("Hmmss",Ha),xn(["H","HH"],gn),xn(["k","kk"],function(w,O,X){var se=Ri(w);O[gn]=24===se?0:se}),xn(["a","A"],function(w,O,X){X._isPm=X._locale.isPM(w),X._meridiem=w}),xn(["h","hh"],function(w,O,X){O[gn]=Ri(w),W(X).bigHour=!0}),xn("hmm",function(w,O,X){var se=w.length-2;O[gn]=Ri(w.substr(0,se)),O[Hr]=Ri(w.substr(se)),W(X).bigHour=!0}),xn("hmmss",function(w,O,X){var se=w.length-4,be=w.length-2;O[gn]=Ri(w.substr(0,se)),O[Hr]=Ri(w.substr(se,2)),O[Xr]=Ri(w.substr(be)),W(X).bigHour=!0}),xn("Hmm",function(w,O,X){var se=w.length-2;O[gn]=Ri(w.substr(0,se)),O[Hr]=Ri(w.substr(se))}),xn("Hmmss",function(w,O,X){var se=w.length-4,be=w.length-2;O[gn]=Ri(w.substr(0,se)),O[Hr]=Ri(w.substr(se,2)),O[Xr]=Ri(w.substr(be))});var Yo=Qr("Hours",!0);var Nr,ys={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ol,monthsShort:pr,week:{dow:0,doy:6},weekdays:cd,weekdaysMin:mh,weekdaysShort:Ho,meridiemParse:/[ap]\.?m?\.?/i},Si={},ci={};function vs(w,O){var X,se=Math.min(w.length,O.length);for(X=0;X<se;X+=1)if(w[X]!==O[X])return X;return se}function ja(w){return w&&w.toLowerCase().replace("_","-")}function Pi(w){var O=null;if(void 0===Si[w]&&ve&&ve.exports&&function tn(w){return null!=w.match("^[^/\\\\]*$")}(w))try{O=Nr._abbr,I(6700)("./"+w),jo(O)}catch{Si[w]=null}return Si[w]}function jo(w,O){var X;return w&&((X=B(O)?za(w):_c(w,O))?Nr=X:typeof console<"u"&&console.warn&&console.warn("Locale "+w+" not found. Did you forget to load it?")),Nr._abbr}function _c(w,O){if(null!==O){var X,se=ys;if(O.abbr=w,null!=Si[w])me("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),se=Si[w]._config;else if(null!=O.parentLocale)if(null!=Si[O.parentLocale])se=Si[O.parentLocale]._config;else{if(null==(X=Pi(O.parentLocale)))return ci[O.parentLocale]||(ci[O.parentLocale]=[]),ci[O.parentLocale].push({name:w,config:O}),null;se=X._config}return Si[w]=new Re(ze(se,O)),ci[w]&&ci[w].forEach(function(be){_c(be.name,be.config)}),jo(w),Si[w]}return delete Si[w],null}function za(w){var O;if(w&&w._locale&&w._locale._abbr&&(w=w._locale._abbr),!w)return Nr;if(!b(w)){if(O=Pi(w))return O;w=[w]}return function rt(w){for(var X,se,be,Ve,O=0;O<w.length;){for(X=(Ve=ja(w[O]).split("-")).length,se=(se=ja(w[O+1]))?se.split("-"):null;X>0;){if(be=Pi(Ve.slice(0,X).join("-")))return be;if(se&&se.length>=X&&vs(Ve,se)>=X-1)break;X--}O++}return Nr}(w)}function So(w){var O,X=w._a;return X&&-2===W(w).overflow&&(O=X[br]<0||X[br]>11?br:X[ln]<1||X[ln]>pt(X[vi],X[br])?ln:X[gn]<0||X[gn]>24||24===X[gn]&&(0!==X[Hr]||0!==X[Xr]||0!==X[aa])?gn:X[Hr]<0||X[Hr]>59?Hr:X[Xr]<0||X[Xr]>59?Xr:X[aa]<0||X[aa]>999?aa:-1,W(w)._overflowDayOfYear&&(O<vi||O>ln)&&(O=ln),W(w)._overflowWeeks&&-1===O&&(O=io),W(w)._overflowWeekday&&-1===O&&(O=Fo),W(w).overflow=O),w}var Vr=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ma=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,cl=/Z|[+-]\d\d(?::?\d\d)?/,Uo=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],To=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],En=/^\/?Date\((-?\d+)/i,wi=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Fe={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ar(w){var O,X,Ve,dt,Ti,bn,se=w._i,be=Vr.exec(se)||Ma.exec(se),Cr=Uo.length,Ur=To.length;if(be){for(W(w).iso=!0,O=0,X=Cr;O<X;O++)if(Uo[O][1].exec(be[1])){dt=Uo[O][0],Ve=!1!==Uo[O][2];break}if(null==dt)return void(w._isValid=!1);if(be[3]){for(O=0,X=Ur;O<X;O++)if(To[O][1].exec(be[3])){Ti=(be[2]||" ")+To[O][0];break}if(null==Ti)return void(w._isValid=!1)}if(!Ve&&null!=Ti)return void(w._isValid=!1);if(be[4]){if(!cl.exec(be[4]))return void(w._isValid=!1);bn="Z"}w._f=dt+(Ti||"")+(bn||""),xe(w)}else w._isValid=!1}function Wo(w){var O=parseInt(w,10);return O<=49?2e3+O:O<=999?1900+O:O}function Bl(w){var X,O=wi.exec(function Pl(w){return w.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(w._i));if(O){if(X=function ei(w,O,X,se,be,Ve){var dt=[Wo(w),pr.indexOf(O),parseInt(X,10),parseInt(se,10),parseInt(be,10)];return Ve&&dt.push(parseInt(Ve,10)),dt}(O[4],O[3],O[2],O[5],O[6],O[7]),!function Os(w,O,X){return!w||Ho.indexOf(w)===new Date(O[0],O[1],O[2]).getDay()||(W(X).weekdayMismatch=!0,X._isValid=!1,!1)}(O[1],X,w))return;w._a=X,w._tzm=function xo(w,O,X){if(w)return Fe[w];if(O)return 0;var se=parseInt(X,10),be=se%100;return(se-be)/100*60+be}(O[8],O[9],O[10]),w._d=$e.apply(null,w._a),w._d.setUTCMinutes(w._d.getUTCMinutes()-w._tzm),W(w).rfc2822=!0}else w._isValid=!1}function Ea(w,O,X){return w??O??X}function bc(w){var O,X,be,Ve,dt,se=[];if(!w._d){for(be=function co(w){var O=new Date(g.now());return w._useUTC?[O.getUTCFullYear(),O.getUTCMonth(),O.getUTCDate()]:[O.getFullYear(),O.getMonth(),O.getDate()]}(w),w._w&&null==w._a[ln]&&null==w._a[br]&&function J(w){var O,X,se,be,Ve,dt,Ti,bn,Cr;null!=(O=w._w).GG||null!=O.W||null!=O.E?(Ve=1,dt=4,X=Ea(O.GG,w._a[vi],tt(Kt(),1,4).year),se=Ea(O.W,1),((be=Ea(O.E,1))<1||be>7)&&(bn=!0)):(Ve=w._locale._week.dow,dt=w._locale._week.doy,Cr=tt(Kt(),Ve,dt),X=Ea(O.gg,w._a[vi],Cr.year),se=Ea(O.w,Cr.week),null!=O.d?((be=O.d)<0||be>6)&&(bn=!0):null!=O.e?(be=O.e+Ve,(O.e<0||O.e>6)&&(bn=!0)):be=Ve),se<1||se>gr(X,Ve,dt)?W(w)._overflowWeeks=!0:null!=bn?W(w)._overflowWeekday=!0:(Ti=li(X,se,be,Ve,dt),w._a[vi]=Ti.year,w._dayOfYear=Ti.dayOfYear)}(w),null!=w._dayOfYear&&(dt=Ea(w._a[vi],be[vi]),(w._dayOfYear>ao(dt)||0===w._dayOfYear)&&(W(w)._overflowDayOfYear=!0),X=$e(dt,0,w._dayOfYear),w._a[br]=X.getUTCMonth(),w._a[ln]=X.getUTCDate()),O=0;O<3&&null==w._a[O];++O)w._a[O]=se[O]=be[O];for(;O<7;O++)w._a[O]=se[O]=null==w._a[O]?2===O?1:0:w._a[O];24===w._a[gn]&&0===w._a[Hr]&&0===w._a[Xr]&&0===w._a[aa]&&(w._nextDay=!0,w._a[gn]=0),w._d=(w._useUTC?$e:Ir).apply(null,se),Ve=w._useUTC?w._d.getUTCDay():w._d.getDay(),null!=w._tzm&&w._d.setUTCMinutes(w._d.getUTCMinutes()-w._tzm),w._nextDay&&(w._a[gn]=24),w._w&&typeof w._w.d<"u"&&w._w.d!==Ve&&(W(w).weekdayMismatch=!0)}}function xe(w){if(w._f!==g.ISO_8601)if(w._f!==g.RFC_2822){w._a=[],W(w).empty=!0;var X,se,be,Ve,dt,Cr,Ur,O=""+w._i,Ti=O.length,bn=0;for(Ur=(be=_t(w._f,w._locale).match(ft)||[]).length,X=0;X<Ur;X++)(se=(O.match(ka(Ve=be[X],w))||[])[0])&&((dt=O.substr(0,O.indexOf(se))).length>0&&W(w).unusedInput.push(dt),O=O.slice(O.indexOf(se)+se.length),bn+=se.length),yi[Ve]?(se?W(w).empty=!1:W(w).unusedTokens.push(Ve),gs(Ve,se,w)):w._strict&&!se&&W(w).unusedTokens.push(Ve);W(w).charsLeftOver=Ti-bn,O.length>0&&W(w).unusedInput.push(O),w._a[gn]<=12&&!0===W(w).bigHour&&w._a[gn]>0&&(W(w).bigHour=void 0),W(w).parsedDateParts=w._a.slice(0),W(w).meridiem=w._meridiem,w._a[gn]=function Ee(w,O,X){var se;return null==X?O:null!=w.meridiemHour?w.meridiemHour(O,X):(null!=w.isPM&&((se=w.isPM(X))&&O<12&&(O+=12),!se&&12===O&&(O=0)),O)}(w._locale,w._a[gn],w._meridiem),null!==(Cr=W(w).era)&&(w._a[vi]=w._locale.erasConvertYear(Cr,w._a[vi])),bc(w),So(w)}else Bl(w);else ar(w)}function ki(w){var O=w._i,X=w._f;return w._locale=w._locale||za(w._l),null===O||void 0===X&&""===O?z({nullInput:!0}):("string"==typeof O&&(w._i=O=w._locale.preparse(O)),oe(O)?new K(So(O)):(U(O)?w._d=O:b(X)?function Me(w){var O,X,se,be,Ve,dt,Ti=!1,bn=w._f.length;if(0===bn)return W(w).invalidFormat=!0,void(w._d=new Date(NaN));for(be=0;be<bn;be++)Ve=0,dt=!1,O=ie({},w),null!=w._useUTC&&(O._useUTC=w._useUTC),O._f=w._f[be],xe(O),G(O)&&(dt=!0),Ve+=W(O).charsLeftOver,Ve+=10*W(O).unusedTokens.length,W(O).score=Ve,Ti?Ve<se&&(se=Ve,X=O):(null==se||Ve<se||dt)&&(se=Ve,X=O,dt&&(Ti=!0));j(w,X||O)}(w):X?xe(w):function Ai(w){var O=w._i;B(O)?w._d=new Date(g.now()):U(O)?w._d=new Date(O.valueOf()):"string"==typeof O?function Hl(w){var O=En.exec(w._i);null===O?(ar(w),!1===w._isValid&&(delete w._isValid,Bl(w),!1===w._isValid&&(delete w._isValid,w._strict?w._isValid=!1:g.createFromInputFallback(w)))):w._d=new Date(+O[1])}(w):b(O)?(w._a=Z(O.slice(0),function(X){return parseInt(X,10)}),bc(w)):C(O)?function bt(w){if(!w._d){var O=Vi(w._i);w._a=Z([O.year,O.month,void 0===O.day?O.date:O.day,O.hour,O.minute,O.second,O.millisecond],function(se){return se&&parseInt(se,10)}),bc(w)}}(w):R(O)?w._d=new Date(O):g.createFromInputFallback(w)}(w),G(w)||(w._d=null),w))}function Di(w,O,X,se,be){var Ve={};return(!0===O||!1===O)&&(se=O,O=void 0),(!0===X||!1===X)&&(se=X,X=void 0),(C(w)&&L(w)||b(w)&&0===w.length)&&(w=void 0),Ve._isAMomentObject=!0,Ve._useUTC=Ve._isUTC=be,Ve._l=X,Ve._i=w,Ve._f=O,Ve._strict=se,function wt(w){var O=new K(So(ki(w)));return O._nextDay&&(O.add(1,"d"),O._nextDay=void 0),O}(Ve)}function Kt(w,O,X,se){return Di(w,O,X,se,!1)}g.createFromInputFallback=ae("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(w){w._d=new Date(w._i+(w._useUTC?" UTC":""))}),g.ISO_8601=function(){},g.RFC_2822=function(){};var Xn=ae("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var w=Kt.apply(null,arguments);return this.isValid()&&w.isValid()?w<this?this:w:z()}),qe=ae("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var w=Kt.apply(null,arguments);return this.isValid()&&w.isValid()?w>this?this:w:z()});function Go(w,O){var X,se;if(1===O.length&&b(O[0])&&(O=O[0]),!O.length)return Kt();for(X=O[0],se=1;se<O.length;++se)(!O[se].isValid()||O[se][w](X))&&(X=O[se]);return X}var rs=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Y(w){var O=Vi(w),X=O.year||0,se=O.quarter||0,be=O.month||0,Ve=O.week||O.isoWeek||0,dt=O.day||0,Ti=O.hour||0,bn=O.minute||0,Cr=O.second||0,Ur=O.millisecond||0;this._isValid=function Fs(w){var O,se,X=!1,be=rs.length;for(O in w)if(D(w,O)&&(-1===fr.call(rs,O)||null!=w[O]&&isNaN(w[O])))return!1;for(se=0;se<be;++se)if(w[rs[se]]){if(X)return!1;parseFloat(w[rs[se]])!==Ri(w[rs[se]])&&(X=!0)}return!0}(O),this._milliseconds=+Ur+1e3*Cr+6e4*bn+1e3*Ti*60*60,this._days=+dt+7*Ve,this._months=+be+3*se+12*X,this._data={},this._locale=za(),this._bubble()}function s(w){return w instanceof Y}function l(w){return w<0?-1*Math.round(-1*w):Math.round(w)}function u(w,O){nt(w,0,0,function(){var X=this.utcOffset(),se="+";return X<0&&(X=-X,se="-"),se+Xt(~~(X/60),2)+O+Xt(~~X%60,2)})}u("Z",":"),u("ZZ",""),Yt("Z",ra),Yt("ZZ",ra),xn(["Z","ZZ"],function(w,O,X){X._useUTC=!0,X._tzm=p(ra,w)});var m=/([\+\-]|\d\d)/gi;function p(w,O){var be,Ve,X=(O||"").match(w);return null===X?null:0===(Ve=60*(be=((X[X.length-1]||[])+"").match(m)||["-",0,0])[1]+Ri(be[2]))?0:"+"===be[0]?Ve:-Ve}function v(w,O){var X,se;return O._isUTC?(X=O.clone(),se=(oe(w)||U(w)?w.valueOf():Kt(w).valueOf())-X.valueOf(),X._d.setTime(X._d.valueOf()+se),g.updateOffset(X,!1),X):Kt(w).local()}function M(w){return-Math.round(w._d.getTimezoneOffset())}function Wt(){return!!this.isValid()&&this._isUTC&&0===this._offset}g.updateOffset=function(){};var ct=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ii=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Fi(w,O){var be,Ve,dt,X=w,se=null;return s(w)?X={ms:w._milliseconds,d:w._days,M:w._months}:R(w)||!isNaN(+w)?(X={},O?X[O]=+w:X.milliseconds=+w):(se=ct.exec(w))?(be="-"===se[1]?-1:1,X={y:0,d:Ri(se[ln])*be,h:Ri(se[gn])*be,m:Ri(se[Hr])*be,s:Ri(se[Xr])*be,ms:Ri(l(1e3*se[aa]))*be}):(se=Ii.exec(w))?X={y:Er(se[2],be="-"===se[1]?-1:1),M:Er(se[3],be),w:Er(se[4],be),d:Er(se[5],be),h:Er(se[6],be),m:Er(se[7],be),s:Er(se[8],be)}:null==X?X={}:"object"==typeof X&&("from"in X||"to"in X)&&(dt=function ga(w,O){var X;return w.isValid()&&O.isValid()?(O=v(O,w),w.isBefore(O)?X=Jr(w,O):((X=Jr(O,w)).milliseconds=-X.milliseconds,X.months=-X.months),X):{milliseconds:0,months:0}}(Kt(X.from),Kt(X.to)),(X={}).ms=dt.milliseconds,X.M=dt.months),Ve=new Y(X),s(w)&&D(w,"_locale")&&(Ve._locale=w._locale),s(w)&&D(w,"_isValid")&&(Ve._isValid=w._isValid),Ve}function Er(w,O){var X=w&&parseFloat(w.replace(",","."));return(isNaN(X)?0:X)*O}function Jr(w,O){var X={};return X.months=O.month()-w.month()+12*(O.year()-w.year()),w.clone().add(X.months,"M").isAfter(O)&&--X.months,X.milliseconds=+O-+w.clone().add(X.months,"M"),X}function dr(w,O){return function(X,se){var Ve;return null!==se&&!isNaN(+se)&&(me(O,"moment()."+O+"(period, number) is deprecated. Please use moment()."+O+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),Ve=X,X=se,se=Ve),dn(this,Fi(X,se),w),this}}function dn(w,O,X,se){var be=O._milliseconds,Ve=l(O._days),dt=l(O._months);w.isValid()&&(se=se??!0,dt&&ro(w,Pr(w,"Month")+dt*X),Ve&&mr(w,"Date",Pr(w,"Date")+Ve*X),be&&w._d.setTime(w._d.valueOf()+be*X),se&&g.updateOffset(w,Ve||dt))}Fi.fn=Y.prototype,Fi.invalid=function Mr(){return Fi(NaN)};var qo=dr(1,"add"),dl=dr(-1,"subtract");function ul(w){return"string"==typeof w||w instanceof String}function hu(w){return oe(w)||U(w)||ul(w)||R(w)||function fu(w){var O=b(w),X=!1;return O&&(X=0===w.filter(function(se){return!R(se)&&ul(w)}).length),O&&X}(w)||function mu(w){var be,O=C(w)&&!L(w),X=!1,se=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],dt=se.length;for(be=0;be<dt;be+=1)X=X||D(w,se[be]);return O&&X}(w)||null==w}function Om(w,O){if(w.date()<O.date())return-Om(O,w);var X=12*(O.year()-w.year())+(O.month()-w.month()),se=w.clone().add(X,"months");return-(X+(O-se<0?(O-se)/(se-w.clone().add(X-1,"months")):(O-se)/(w.clone().add(X+1,"months")-se)))||0}function Xw(w){var O;return void 0===w?this._locale._abbr:(null!=(O=za(w))&&(this._locale=O),this)}g.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",g.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Jw=ae("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(w){return void 0===w?this.localeData():this.locale(w)});function e2(){return this._locale}var Kp=1e3,dd=60*Kp,_h=60*dd,t2=3506328*_h;function bh(w,O){return(w%O+O)%O}function n2(w,O,X){return w<100&&w>=0?new Date(w+400,O,X)-t2:new Date(w,O,X).valueOf()}function yc(w,O,X){return w<100&&w>=0?Date.UTC(w+400,O,X)-t2:Date.UTC(w,O,X)}function gu(w,O){return O.erasAbbrRegex(w)}function yh(){var be,Ve,w=[],O=[],X=[],se=[],dt=this.eras();for(be=0,Ve=dt.length;be<Ve;++be)O.push(jt(dt[be].name)),w.push(jt(dt[be].abbr)),X.push(jt(dt[be].narrow)),se.push(jt(dt[be].name)),se.push(jt(dt[be].abbr)),se.push(jt(dt[be].narrow));this._erasRegex=new RegExp("^("+se.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+O.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+w.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+X.join("|")+")","i")}function Ki(w,O){nt(0,[w,w.length],0,O)}function D1(w,O,X,se,be){var Ve;return null==w?tt(this,se,be).year:(O>(Ve=gr(w,se,be))&&(O=Ve),g2.call(this,w,O,X,se,be))}function g2(w,O,X,se,be){var Ve=li(w,O,X,se,be),dt=$e(Ve.year,0,Ve.dayOfYear);return this.year(dt.getUTCFullYear()),this.month(dt.getUTCMonth()),this.date(dt.getUTCDate()),this}nt("N",0,0,"eraAbbr"),nt("NN",0,0,"eraAbbr"),nt("NNN",0,0,"eraAbbr"),nt("NNNN",0,0,"eraName"),nt("NNNNN",0,0,"eraNarrow"),nt("y",["y",1],"yo","eraYear"),nt("y",["yy",2],0,"eraYear"),nt("y",["yyy",3],0,"eraYear"),nt("y",["yyyy",4],0,"eraYear"),Yt("N",gu),Yt("NN",gu),Yt("NNN",gu),Yt("NNNN",function h2(w,O){return O.erasNameRegex(w)}),Yt("NNNNN",function vc(w,O){return O.erasNarrowRegex(w)}),xn(["N","NN","NNN","NNNN","NNNNN"],function(w,O,X,se){var be=X._locale.erasParse(w,se,X._strict);be?W(X).era=be:W(X).invalidEra=w}),Yt("y",Zr),Yt("yy",Zr),Yt("yyy",Zr),Yt("yyyy",Zr),Yt("yo",function x1(w,O){return O._eraYearOrdinalRegex||Zr}),xn(["y","yy","yyy","yyyy"],vi),xn(["yo"],function(w,O,X,se){var be;X._locale._eraYearOrdinalRegex&&(be=w.match(X._locale._eraYearOrdinalRegex)),O[vi]=X._locale.eraYearOrdinalParse?X._locale.eraYearOrdinalParse(w,be):parseInt(w,10)}),nt(0,["gg",2],0,function(){return this.weekYear()%100}),nt(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Ki("gggg","weekYear"),Ki("ggggg","weekYear"),Ki("GGGG","isoWeekYear"),Ki("GGGGG","isoWeekYear"),un("weekYear","gg"),un("isoWeekYear","GG"),$i("weekYear",1),$i("isoWeekYear",1),Yt("G",Ar),Yt("g",Ar),Yt("GG",Et,We),Yt("gg",Et,We),Yt("GGGG",xr,An),Yt("gggg",xr,An),Yt("GGGGG",vo,ir),Yt("ggggg",vo,ir),nr(["gggg","ggggg","GGGG","GGGGG"],function(w,O,X,se){O[se.substr(0,2)]=Ri(w)}),nr(["gg","GG"],function(w,O,X,se){O[se]=g.parseTwoDigitYear(w)}),nt("Q",0,"Qo","quarter"),un("quarter","Q"),$i("quarter",7),Yt("Q",Ue),xn("Q",function(w,O){O[br]=3*(Ri(w)-1)}),nt("D",["DD",2],"Do","date"),un("date","D"),$i("date",9),Yt("D",Et),Yt("DD",Et,We),Yt("Do",function(w,O){return w?O._dayOfMonthOrdinalParse||O._ordinalParse:O._dayOfMonthOrdinalParseLenient}),xn(["D","DD"],ln),xn("Do",function(w,O){O[ln]=Ri(w.match(Et)[0])});var Un=Qr("Date",!0);nt("DDD",["DDDD",3],"DDDo","dayOfYear"),un("dayOfYear","DDD"),$i("dayOfYear",4),Yt("DDD",Br),Yt("DDDD",pn),xn(["DDD","DDDD"],function(w,O,X){X._dayOfYear=Ri(w)}),nt("m",["mm",2],0,"minute"),un("minute","m"),$i("minute",14),Yt("m",Et),Yt("mm",Et,We),xn(["m","mm"],Hr);var Ae=Qr("Minutes",!1);nt("s",["ss",2],0,"second"),un("second","s"),$i("second",15),Yt("s",Et),Yt("ss",Et,We),xn(["s","ss"],Xr);var Vl,_u,ho=Qr("Seconds",!1);for(nt("S",0,0,function(){return~~(this.millisecond()/100)}),nt(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),nt(0,["SSS",3],0,"millisecond"),nt(0,["SSSS",4],0,function(){return 10*this.millisecond()}),nt(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),nt(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),nt(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),nt(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),nt(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),un("millisecond","ms"),$i("millisecond",16),Yt("S",Br,Ue),Yt("SS",Br,We),Yt("SSS",Br,pn),Vl="SSSS";Vl.length<=9;Vl+="S")Yt(Vl,Zr);function hl(w,O){O[aa]=Ri(1e3*("0."+w))}for(Vl="S";Vl.length<=9;Vl+="S")xn(Vl,hl);_u=Qr("Milliseconds",!1),nt("z",0,0,"zoneAbbr"),nt("zz",0,0,"zoneName");var Bt=K.prototype;function Co(w){return w}Bt.add=qo,Bt.calendar=function as(w,O){1===arguments.length&&(arguments[0]?hu(arguments[0])?(w=arguments[0],O=void 0):function Ao(w){var be,O=C(w)&&!L(w),X=!1,se=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(be=0;be<se.length;be+=1)X=X||D(w,se[be]);return O&&X}(arguments[0])&&(O=arguments[0],w=void 0):(w=void 0,O=void 0));var X=w||Kt(),se=v(X,this).startOf("day"),be=g.calendarFormat(this,se)||"sameElse",Ve=O&&(ge(O[be])?O[be].call(this,X):O[be]);return this.format(Ve||this.localeData().calendar(be,this,Kt(X)))},Bt.clone=function Rs(){return new K(this)},Bt.diff=function Zw(w,O,X){var se,be,Ve;if(!this.isValid())return NaN;if(!(se=v(w,this)).isValid())return NaN;switch(be=6e4*(se.utcOffset()-this.utcOffset()),O=Ni(O)){case"year":Ve=Om(this,se)/12;break;case"month":Ve=Om(this,se);break;case"quarter":Ve=Om(this,se)/3;break;case"second":Ve=(this-se)/1e3;break;case"minute":Ve=(this-se)/6e4;break;case"hour":Ve=(this-se)/36e5;break;case"day":Ve=(this-se-be)/864e5;break;case"week":Ve=(this-se-be)/6048e5;break;default:Ve=this-se}return X?Ve:Ji(Ve)},Bt.endOf=function or(w){var O,X;if(void 0===(w=Ni(w))||"millisecond"===w||!this.isValid())return this;switch(X=this._isUTC?yc:n2,w){case"year":O=X(this.year()+1,0,1)-1;break;case"quarter":O=X(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":O=X(this.year(),this.month()+1,1)-1;break;case"week":O=X(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":O=X(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":O=X(this.year(),this.month(),this.date()+1)-1;break;case"hour":O=this._d.valueOf(),O+=_h-bh(O+(this._isUTC?0:this.utcOffset()*dd),_h)-1;break;case"minute":O=this._d.valueOf(),O+=dd-bh(O,dd)-1;break;case"second":O=this._d.valueOf(),O+=Kp-bh(O,Kp)-1}return this._d.setTime(O),g.updateOffset(this,!0),this},Bt.format=function w3(w){w||(w=this.isUtc()?g.defaultFormatUtc:g.defaultFormat);var O=Fn(this,w);return this.localeData().postformat(O)},Bt.from=function F3(w,O){return this.isValid()&&(oe(w)&&w.isValid()||Kt(w).isValid())?Fi({to:this,from:w}).locale(this.locale()).humanize(!O):this.localeData().invalidDate()},Bt.fromNow=function x3(w){return this.from(Kt(),w)},Bt.to=function C3(w,O){return this.isValid()&&(oe(w)&&w.isValid()||Kt(w).isValid())?Fi({from:this,to:w}).locale(this.locale()).humanize(!O):this.localeData().invalidDate()},Bt.toNow=function k3(w){return this.to(Kt(),w)},Bt.get=function Ot(w){return ge(this[w=Ni(w)])?this[w]():this},Bt.invalidAt=function xs(){return W(this).overflow},Bt.isAfter=function $p(w,O){var X=oe(w)?w:Kt(w);return!(!this.isValid()||!X.isValid())&&("millisecond"===(O=Ni(O)||"millisecond")?this.valueOf()>X.valueOf():X.valueOf()<this.clone().startOf(O).valueOf())},Bt.isBefore=function gh(w,O){var X=oe(w)?w:Kt(w);return!(!this.isValid()||!X.isValid())&&("millisecond"===(O=Ni(O)||"millisecond")?this.valueOf()<X.valueOf():this.clone().endOf(O).valueOf()<X.valueOf())},Bt.isBetween=function Nm(w,O,X,se){var be=oe(w)?w:Kt(w),Ve=oe(O)?O:Kt(O);return!!(this.isValid()&&be.isValid()&&Ve.isValid())&&("("===(se=se||"()")[0]?this.isAfter(be,X):!this.isBefore(be,X))&&(")"===se[1]?this.isBefore(Ve,X):!this.isAfter(Ve,X))},Bt.isSame=function Ps(w,O){var se,X=oe(w)?w:Kt(w);return!(!this.isValid()||!X.isValid())&&("millisecond"===(O=Ni(O)||"millisecond")?this.valueOf()===X.valueOf():(se=X.valueOf(),this.clone().startOf(O).valueOf()<=se&&se<=this.clone().endOf(O).valueOf()))},Bt.isSameOrAfter=function Qw(w,O){return this.isSame(w,O)||this.isAfter(w,O)},Bt.isSameOrBefore=function _3(w,O){return this.isSame(w,O)||this.isBefore(w,O)},Bt.isValid=function Qp(){return G(this)},Bt.lang=Jw,Bt.locale=Xw,Bt.localeData=e2,Bt.max=qe,Bt.min=Xn,Bt.parsingFlags=function l2(){return j({},W(this))},Bt.set=function Po(w,O){if("object"==typeof w){var se,X=function fn(w){var X,O=[];for(X in w)D(w,X)&&O.push({unit:X,priority:fa[X]});return O.sort(function(se,be){return se.priority-be.priority}),O}(w=Vi(w)),be=X.length;for(se=0;se<be;se++)this[X[se].unit](w[X[se].unit])}else if(ge(this[w=Ni(w)]))return this[w](O);return this},Bt.startOf=function r2(w){var O,X;if(void 0===(w=Ni(w))||"millisecond"===w||!this.isValid())return this;switch(X=this._isUTC?yc:n2,w){case"year":O=X(this.year(),0,1);break;case"quarter":O=X(this.year(),this.month()-this.month()%3,1);break;case"month":O=X(this.year(),this.month(),1);break;case"week":O=X(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":O=X(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":O=X(this.year(),this.month(),this.date());break;case"hour":O=this._d.valueOf(),O-=bh(O+(this._isUTC?0:this.utcOffset()*dd),_h);break;case"minute":O=this._d.valueOf(),O-=bh(O,dd);break;case"second":O=this._d.valueOf(),O-=bh(O,Kp)}return this._d.setTime(O),g.updateOffset(this,!0),this},Bt.subtract=dl,Bt.toArray=function b1(){var w=this;return[w.year(),w.month(),w.date(),w.hour(),w.minute(),w.second(),w.millisecond()]},Bt.toObject=function y1(){var w=this;return{years:w.year(),months:w.month(),date:w.date(),hours:w.hours(),minutes:w.minutes(),seconds:w.seconds(),milliseconds:w.milliseconds()}},Bt.toDate=function o2(){return new Date(this.valueOf())},Bt.toISOString=function y3(w){if(!this.isValid())return null;var O=!0!==w,X=O?this.clone().utc():this;return X.year()<0||X.year()>9999?Fn(X,O?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ge(Date.prototype.toISOString)?O?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Fn(X,"Z")):Fn(X,O?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Bt.inspect=function v3(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var X,se,w="moment",O="";return this.isLocal()||(w=0===this.utcOffset()?"moment.utc":"moment.parseZone",O="Z"),X="["+w+'("]',se=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(X+se+"-MM-DD[T]HH:mm:ss.SSS"+O+'[")]')},typeof Symbol<"u"&&null!=Symbol.for&&(Bt[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Bt.toJSON=function s2(){return this.isValid()?this.toISOString():null},Bt.toString=function b3(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Bt.unix=function a2(){return Math.floor(this.valueOf()/1e3)},Bt.valueOf=function _1(){return this._d.valueOf()-6e4*(this._offset||0)},Bt.creationData=function v1(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Bt.eraName=function Rm(){var w,O,X,se=this.localeData().eras();for(w=0,O=se.length;w<O;++w)if(X=this.clone().startOf("day").valueOf(),se[w].since<=X&&X<=se[w].until||se[w].until<=X&&X<=se[w].since)return se[w].name;return""},Bt.eraNarrow=function os(){var w,O,X,se=this.localeData().eras();for(w=0,O=se.length;w<O;++w)if(X=this.clone().startOf("day").valueOf(),se[w].since<=X&&X<=se[w].until||se[w].until<=X&&X<=se[w].since)return se[w].narrow;return""},Bt.eraAbbr=function d2(){var w,O,X,se=this.localeData().eras();for(w=0,O=se.length;w<O;++w)if(X=this.clone().startOf("day").valueOf(),se[w].since<=X&&X<=se[w].until||se[w].until<=X&&X<=se[w].since)return se[w].abbr;return""},Bt.eraYear=function F1(){var w,O,X,se,be=this.localeData().eras();for(w=0,O=be.length;w<O;++w)if(X=be[w].since<=be[w].until?1:-1,se=this.clone().startOf("day").valueOf(),be[w].since<=se&&se<=be[w].until||be[w].until<=se&&se<=be[w].since)return(this.year()-g(be[w].since).year())*X+be[w].offset;return this.year()},Bt.year=di,Bt.isLeapYear=function Pt(){return Oi(this.year())},Bt.weekYear=function C1(w){return D1.call(this,w,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Bt.isoWeekYear=function D3(w){return D1.call(this,w,this.isoWeek(),this.isoWeekday(),1,4)},Bt.quarter=Bt.quarters=function xt(w){return null==w?Math.ceil((this.month()+1)/3):this.month(3*(w-1)+this.month()%3)},Bt.month=In,Bt.daysInMonth=function en(){return pt(this.year(),this.month())},Bt.week=Bt.weeks=function hc(w){var O=this.localeData().week(this);return null==w?O:this.add(7*(w-O),"d")},Bt.isoWeek=Bt.isoWeeks=function ol(w){var O=tt(this,1,4).week;return null==w?O:this.add(7*(w-O),"d")},Bt.weeksInYear=function p2(){var w=this.localeData()._week;return gr(this.year(),w.dow,w.doy)},Bt.weeksInWeekYear=function k1(){var w=this.localeData()._week;return gr(this.weekYear(),w.dow,w.doy)},Bt.isoWeeksInYear=function m2(){return gr(this.year(),1,4)},Bt.isoWeeksInISOWeekYear=function f2(){return gr(this.isoWeekYear(),1,4)},Bt.date=Un,Bt.day=Bt.days=function zn(w){if(!this.isValid())return null!=w?this:NaN;var O=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=w?(w=function so(w,O){return"string"!=typeof w?w:isNaN(w)?"number"==typeof(w=O.weekdaysParse(w))?w:null:parseInt(w,10)}(w,this.localeData()),this.add(w-O,"d")):O},Bt.weekday=function sl(w){if(!this.isValid())return null!=w?this:NaN;var O=(this.day()+7-this.localeData()._week.dow)%7;return null==w?O:this.add(w-O,"d")},Bt.isoWeekday=function Lm(w){if(!this.isValid())return null!=w?this:NaN;if(null!=w){var O=function ld(w,O){return"string"==typeof w?O.weekdaysParse(w)%7||7:isNaN(w)?null:w}(w,this.localeData());return this.day(this.day()%7?O:O-7)}return this.day()||7},Bt.dayOfYear=function Te(w){var O=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==w?O:this.add(w-O,"d")},Bt.hour=Bt.hours=Yo,Bt.minute=Bt.minutes=Ae,Bt.second=Bt.seconds=ho,Bt.millisecond=Bt.milliseconds=_u,Bt.utcOffset=function H(w,O,X){var be,se=this._offset||0;if(!this.isValid())return null!=w?this:NaN;if(null!=w){if("string"==typeof w){if(null===(w=p(ra,w)))return this}else Math.abs(w)<16&&!X&&(w*=60);return!this._isUTC&&O&&(be=M(this)),this._offset=w,this._isUTC=!0,null!=be&&this.add(be,"m"),se!==w&&(!O||this._changeInProgress?dn(this,Fi(w-se,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,g.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?se:M(this)},Bt.utc=function ue(w){return this.utcOffset(0,w)},Bt.local=function _e(w){return this._isUTC&&(this.utcOffset(0,w),this._isUTC=!1,w&&this.subtract(M(this),"m")),this},Bt.parseZone=function ke(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var w=p(ps,this._i);null!=w?this.utcOffset(w):this.utcOffset(0,!0)}return this},Bt.hasAlignedHourOffset=function Ne(w){return!!this.isValid()&&(w=w?Kt(w).utcOffset():0,(this.utcOffset()-w)%60==0)},Bt.isDST=function je(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Bt.isLocal=function et(){return!!this.isValid()&&!this._isUTC},Bt.isUtcOffset=function kt(){return!!this.isValid()&&this._isUTC},Bt.isUtc=Wt,Bt.isUTC=Wt,Bt.zoneAbbr=function Zp(){return this._isUTC?"UTC":""},Bt.zoneName=function Xp(){return this._isUTC?"Coordinated Universal Time":""},Bt.dates=ae("dates accessor is deprecated. Use date instead.",Un),Bt.months=ae("months accessor is deprecated. Use month instead",In),Bt.years=ae("years accessor is deprecated. Use year instead",di),Bt.zone=ae("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function q(w,O){return null!=w?("string"!=typeof w&&(w=-w),this.utcOffset(w,O),this):-this.utcOffset()}),Bt.isDSTShifted=ae("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function Ye(){if(!B(this._isDSTShifted))return this._isDSTShifted;var O,w={};return ie(w,this),(w=ki(w))._a?(O=w._isUTC?V(w._a):Kt(w._a),this._isDSTShifted=this.isValid()&&function d(w,O,X){var dt,se=Math.min(w.length,O.length),be=Math.abs(w.length-O.length),Ve=0;for(dt=0;dt<se;dt++)(X&&w[dt]!==O[dt]||!X&&Ri(w[dt])!==Ri(O[dt]))&&Ve++;return Ve+be}(w._a,O.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted});var Cn=Re.prototype;function vh(w,O,X,se){var be=za(),Ve=V().set(se,O);return be[X](Ve,w)}function ud(w,O,X){if(R(w)&&(O=w,w=void 0),w=w||"",null!=O)return vh(w,O,X,"month");var se,be=[];for(se=0;se<12;se++)be[se]=vh(w,se,X,"month");return be}function Bs(w,O,X,se){"boolean"==typeof w?(R(O)&&(X=O,O=void 0),O=O||""):(X=O=w,w=!1,R(O)&&(X=O,O=void 0),O=O||"");var dt,be=za(),Ve=w?be._week.dow:0,Ti=[];if(null!=X)return vh(O,(X+Ve)%7,se,"day");for(dt=0;dt<7;dt++)Ti[dt]=vh(O,(dt+Ve)%7,se,"day");return Ti}Cn.calendar=function At(w,O,X){var se=this._calendar[w]||this._calendar.sameElse;return ge(se)?se.call(O,X):se},Cn.longDateFormat=function Tn(w){var O=this._longDateFormat[w],X=this._longDateFormat[w.toUpperCase()];return O||!X?O:(this._longDateFormat[w]=X.match(ft).map(function(se){return"MMMM"===se||"MM"===se||"DD"===se||"dddd"===se?se.slice(1):se}).join(""),this._longDateFormat[w])},Cn.invalidDate=function ht(){return this._invalidDate},Cn.ordinal=function at(w){return this._ordinal.replace("%d",w)},Cn.preparse=Co,Cn.postformat=Co,Cn.relativeTime=function $t(w,O,X,se){var be=this._relativeTime[X];return ge(be)?be(w,O,X,se):be.replace(/%d/i,w)},Cn.pastFuture=function oi(w,O){var X=this._relativeTime[w>0?"future":"past"];return ge(X)?X(O):X.replace(/%s/i,O)},Cn.set=function we(w){var O,X;for(X in w)D(w,X)&&(ge(O=w[X])?this[X]=O:this["_"+X]=O);this._config=w,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Cn.eras=function w1(w,O){var X,se,be,Ve=this._eras||za("en")._eras;for(X=0,se=Ve.length;X<se;++X)switch("string"==typeof Ve[X].since&&(be=g(Ve[X].since).startOf("day"),Ve[X].since=be.valueOf()),typeof Ve[X].until){case"undefined":Ve[X].until=1/0;break;case"string":be=g(Ve[X].until).startOf("day").valueOf(),Ve[X].until=be.valueOf()}return Ve},Cn.erasParse=function uo(w,O,X){var se,be,dt,Ti,bn,Ve=this.eras();for(w=w.toUpperCase(),se=0,be=Ve.length;se<be;++se)if(dt=Ve[se].name.toUpperCase(),Ti=Ve[se].abbr.toUpperCase(),bn=Ve[se].narrow.toUpperCase(),X)switch(O){case"N":case"NN":case"NNN":if(Ti===w)return Ve[se];break;case"NNNN":if(dt===w)return Ve[se];break;case"NNNNN":if(bn===w)return Ve[se]}else if([dt,Ti,bn].indexOf(w)>=0)return Ve[se]},Cn.erasConvertYear=function c2(w,O){var X=w.since<=w.until?1:-1;return void 0===O?g(w.since).year():g(w.since).year()+(O-w.offset)*X},Cn.erasAbbrRegex=function ss(w){return D(this,"_erasAbbrRegex")||yh.call(this),w?this._erasAbbrRegex:this._erasRegex},Cn.erasNameRegex=function pu(w){return D(this,"_erasNameRegex")||yh.call(this),w?this._erasNameRegex:this._erasRegex},Cn.erasNarrowRegex=function u2(w){return D(this,"_erasNarrowRegex")||yh.call(this),w?this._erasNarrowRegex:this._erasRegex},Cn.months=function Rn(w,O){return w?b(this._months)?this._months[w.month()]:this._months[(this._months.isFormat||Bo).test(O)?"format":"standalone"][w.month()]:b(this._months)?this._months:this._months.standalone},Cn.monthsShort=function rn(w,O){return w?b(this._monthsShort)?this._monthsShort[w.month()]:this._monthsShort[Bo.test(O)?"format":"standalone"][w.month()]:b(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Cn.monthsParse=function Pn(w,O,X){var se,be,Ve;if(this._monthsParseExact)return rr.call(this,w,O,X);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),se=0;se<12;se++){if(be=V([2e3,se]),X&&!this._longMonthsParse[se]&&(this._longMonthsParse[se]=new RegExp("^"+this.months(be,"").replace(".","")+"$","i"),this._shortMonthsParse[se]=new RegExp("^"+this.monthsShort(be,"").replace(".","")+"$","i")),!X&&!this._monthsParse[se]&&(Ve="^"+this.months(be,"")+"|^"+this.monthsShort(be,""),this._monthsParse[se]=new RegExp(Ve.replace(".",""),"i")),X&&"MMMM"===O&&this._longMonthsParse[se].test(w))return se;if(X&&"MMM"===O&&this._shortMonthsParse[se].test(w))return se;if(!X&&this._monthsParse[se].test(w))return se}},Cn.monthsRegex=function Yi(w){return this._monthsParseExact?(D(this,"_monthsRegex")||Ui.call(this),w?this._monthsStrictRegex:this._monthsRegex):(D(this,"_monthsRegex")||(this._monthsRegex=cn),this._monthsStrictRegex&&w?this._monthsStrictRegex:this._monthsRegex)},Cn.monthsShortRegex=function uc(w){return this._monthsParseExact?(D(this,"_monthsRegex")||Ui.call(this),w?this._monthsShortStrictRegex:this._monthsShortRegex):(D(this,"_monthsShortRegex")||(this._monthsShortRegex=sd),this._monthsShortStrictRegex&&w?this._monthsShortStrictRegex:this._monthsShortRegex)},Cn.week=function ji(w){return tt(w,this._week.dow,this._week.doy).week},Cn.firstDayOfYear=function Ci(){return this._week.doy},Cn.firstDayOfWeek=function oo(){return this._week.dow},Cn.weekdays=function fh(w,O){var X=b(this._weekdays)?this._weekdays:this._weekdays[w&&!0!==w&&this._weekdays.isFormat.test(O)?"format":"standalone"];return!0===w?_s(X,this._week.dow):w?X[w.day()]:X},Cn.weekdaysMin=function zr(w){return!0===w?_s(this._weekdaysMin,this._week.dow):w?this._weekdaysMin[w.day()]:this._weekdaysMin},Cn.weekdaysShort=function Wi(w){return!0===w?_s(this._weekdaysShort,this._week.dow):w?this._weekdaysShort[w.day()]:this._weekdaysShort},Cn.weekdaysParse=function Da(w,O,X){var se,be,Ve;if(this._weekdaysParseExact)return uu.call(this,w,O,X);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),se=0;se<7;se++){if(be=V([2e3,1]).day(se),X&&!this._fullWeekdaysParse[se]&&(this._fullWeekdaysParse[se]=new RegExp("^"+this.weekdays(be,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[se]=new RegExp("^"+this.weekdaysShort(be,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[se]=new RegExp("^"+this.weekdaysMin(be,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[se]||(Ve="^"+this.weekdays(be,"")+"|^"+this.weekdaysShort(be,"")+"|^"+this.weekdaysMin(be,""),this._weekdaysParse[se]=new RegExp(Ve.replace(".",""),"i")),X&&"dddd"===O&&this._fullWeekdaysParse[se].test(w))return se;if(X&&"ddd"===O&&this._shortWeekdaysParse[se].test(w))return se;if(X&&"dd"===O&&this._minWeekdaysParse[se].test(w))return se;if(!X&&this._weekdaysParse[se].test(w))return se}},Cn.weekdaysRegex=function fc(w){return this._weekdaysParseExact?(D(this,"_weekdaysRegex")||St.call(this),w?this._weekdaysStrictRegex:this._weekdaysRegex):(D(this,"_weekdaysRegex")||(this._weekdaysRegex=mc),this._weekdaysStrictRegex&&w?this._weekdaysStrictRegex:this._weekdaysRegex)},Cn.weekdaysShortRegex=function Qe(w){return this._weekdaysParseExact?(D(this,"_weekdaysRegex")||St.call(this),w?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(D(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=bs),this._weekdaysShortStrictRegex&&w?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Cn.weekdaysMinRegex=function pc(w){return this._weekdaysParseExact?(D(this,"_weekdaysRegex")||St.call(this),w?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(D(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ei),this._weekdaysMinStrictRegex&&w?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Cn.isPM=function ns(w){return"p"===(w+"").toLowerCase().charAt(0)},Cn.meridiem=function Rl(w,O,X){return w>11?X?"pm":"PM":X?"am":"AM"},jo("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(w){var O=w%10;return w+(1===Ri(w%100/10)?"th":1===O?"st":2===O?"nd":3===O?"rd":"th")}}),g.lang=ae("moment.lang is deprecated. Use moment.locale instead.",jo),g.langData=ae("moment.langData is deprecated. Use moment.localeData instead.",za);var Hs=Math.abs;function Pm(w,O,X,se){var be=Fi(O,X);return w._milliseconds+=se*be._milliseconds,w._days+=se*be._days,w._months+=se*be._months,w._bubble()}function Bm(w){return w<0?Math.floor(w):Math.ceil(w)}function eg(w){return 4800*w/146097}function Hm(w){return 146097*w/4800}function Yl(w){return function(){return this.as(w)}}var w2=Yl("ms"),Io=Yl("s"),hd=Yl("m"),ea=Yl("h"),mo=Yl("d"),F2=Yl("w"),ml=Yl("M"),x2=Yl("Q"),C2=Yl("y");function fl(w){return function(){return this.isValid()?this._data[w]:NaN}}var Ym=fl("milliseconds"),ig=fl("seconds"),L1=fl("minutes"),D2=fl("hours"),bu=fl("days"),wh=fl("months"),M2=fl("years");var Vs=Math.round,Fh={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function E2(w,O,X,se,be){return be.relativeTime(O||1,!!X,w,se)}var jm=Math.abs;function md(w){return(w>0)-(w<0)||+w}function wc(){if(!this.isValid())return this.localeData().invalidDate();var se,be,Ve,dt,bn,Cr,Ur,jl,w=jm(this._milliseconds)/1e3,O=jm(this._days),X=jm(this._months),Ti=this.asSeconds();return Ti?(se=Ji(w/60),be=Ji(se/60),w%=60,se%=60,Ve=Ji(X/12),X%=12,dt=w?w.toFixed(3).replace(/\.?0+$/,""):"",bn=Ti<0?"-":"",Cr=md(this._months)!==md(Ti)?"-":"",Ur=md(this._days)!==md(Ti)?"-":"",jl=md(this._milliseconds)!==md(Ti)?"-":"",bn+"P"+(Ve?Cr+Ve+"Y":"")+(X?Cr+X+"M":"")+(O?Ur+O+"D":"")+(be||se||w?"T":"")+(be?jl+be+"H":"")+(se?jl+se+"M":"")+(w?jl+dt+"S":"")):"P0D"}var Wn=Y.prototype;return Wn.isValid=function Oe(){return this._isValid},Wn.abs=function S1(){var w=this._data;return this._milliseconds=Hs(this._milliseconds),this._days=Hs(this._days),this._months=Hs(this._months),w.milliseconds=Hs(w.milliseconds),w.seconds=Hs(w.seconds),w.minutes=Hs(w.minutes),w.hours=Hs(w.hours),w.months=Hs(w.months),w.years=Hs(w.years),this},Wn.add=function v2(w,O){return Pm(this,w,O,1)},Wn.subtract=function T1(w,O){return Pm(this,w,O,-1)},Wn.as=function I1(w){if(!this.isValid())return NaN;var O,X,se=this._milliseconds;if("month"===(w=Ni(w))||"quarter"===w||"year"===w)switch(O=this._days+se/864e5,X=this._months+eg(O),w){case"month":return X;case"quarter":return X/3;case"year":return X/12}else switch(O=this._days+Math.round(Hm(this._months)),w){case"week":return O/7+se/6048e5;case"day":return O+se/864e5;case"hour":return 24*O+se/36e5;case"minute":return 1440*O+se/6e4;case"second":return 86400*O+se/1e3;case"millisecond":return Math.floor(864e5*O)+se;default:throw new Error("Unknown unit "+w)}},Wn.asMilliseconds=w2,Wn.asSeconds=Io,Wn.asMinutes=hd,Wn.asHours=ea,Wn.asDays=mo,Wn.asWeeks=F2,Wn.asMonths=ml,Wn.asQuarters=x2,Wn.asYears=C2,Wn.valueOf=function tg(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Ri(this._months/12):NaN},Wn._bubble=function A1(){var be,Ve,dt,Ti,bn,w=this._milliseconds,O=this._days,X=this._months,se=this._data;return w>=0&&O>=0&&X>=0||w<=0&&O<=0&&X<=0||(w+=864e5*Bm(Hm(X)+O),O=0,X=0),se.milliseconds=w%1e3,be=Ji(w/1e3),se.seconds=be%60,Ve=Ji(be/60),se.minutes=Ve%60,dt=Ji(Ve/60),se.hours=dt%24,O+=Ji(dt/24),X+=bn=Ji(eg(O)),O-=Bm(Hm(bn)),Ti=Ji(X/12),X%=12,se.days=O,se.months=X,se.years=Ti,this},Wn.clone=function k2(){return Fi(this)},Wn.get=function Vm(w){return w=Ni(w),this.isValid()?this[w+"s"]():NaN},Wn.milliseconds=Ym,Wn.seconds=ig,Wn.minutes=L1,Wn.hours=D2,Wn.days=bu,Wn.weeks=function E3(){return Ji(this.days()/7)},Wn.months=wh,Wn.years=M2,Wn.humanize=function ng(w,O){if(!this.isValid())return this.localeData().invalidDate();var be,Ve,X=!1,se=Fh;return"object"==typeof w&&(O=w,w=!1),"boolean"==typeof w&&(X=w),"object"==typeof O&&(se=Object.assign({},Fh,O),null!=O.s&&null==O.ss&&(se.ss=O.s-1)),Ve=function S2(w,O,X,se){var be=Fi(w).abs(),Ve=Vs(be.as("s")),dt=Vs(be.as("m")),Ti=Vs(be.as("h")),bn=Vs(be.as("d")),Cr=Vs(be.as("M")),Ur=Vs(be.as("w")),jl=Vs(be.as("y")),Ys=Ve<=X.ss&&["s",Ve]||Ve<X.s&&["ss",Ve]||dt<=1&&["m"]||dt<X.m&&["mm",dt]||Ti<=1&&["h"]||Ti<X.h&&["hh",Ti]||bn<=1&&["d"]||bn<X.d&&["dd",bn];return null!=X.w&&(Ys=Ys||Ur<=1&&["w"]||Ur<X.w&&["ww",Ur]),(Ys=Ys||Cr<=1&&["M"]||Cr<X.M&&["MM",Cr]||jl<=1&&["y"]||["yy",jl])[2]=O,Ys[3]=+w>0,Ys[4]=se,E2.apply(null,Ys)}(this,!X,se,be=this.localeData()),X&&(Ve=be.pastFuture(+this,Ve)),be.postformat(Ve)},Wn.toISOString=wc,Wn.toString=wc,Wn.toJSON=wc,Wn.locale=Xw,Wn.localeData=e2,Wn.toIsoString=ae("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",wc),Wn.lang=Jw,nt("X",0,0,"unix"),nt("x",0,0,"valueOf"),Yt("x",Ar),Yt("X",/[+-]?\d+(\.\d{1,3})?/),xn("X",function(w,O,X){X._d=new Date(1e3*parseFloat(w))}),xn("x",function(w,O,X){X._d=new Date(Ri(w))}),g.version="2.29.4",function y(w){T=w}(Kt),g.fn=Bt,g.min=function ws(){return Go("isBefore",[].slice.call(arguments,0))},g.max=function Sa(){return Go("isAfter",[].slice.call(arguments,0))},g.now=function(){return Date.now?Date.now():+new Date},g.utc=V,g.unix=function M3(w){return Kt(1e3*w)},g.months=function _2(w,O){return ud(w,O,"months")},g.isDate=U,g.locale=jo,g.invalid=z,g.duration=Fi,g.isMoment=oe,g.weekdays=function b2(w,O,X){return Bs(w,O,X,"weekdays")},g.parseZone=function M1(){return Kt.apply(null,arguments).parseZone()},g.localeData=za,g.isDuration=s,g.monthsShort=function E1(w,O){return ud(w,O,"monthsShort")},g.weekdaysMin=function Jp(w,O,X){return Bs(w,O,X,"weekdaysMin")},g.defineLocale=_c,g.updateLocale=function ll(w,O){if(null!=O){var X,se,be=ys;null!=Si[w]&&null!=Si[w].parentLocale?Si[w].set(ze(Si[w]._config,O)):(null!=(se=Pi(w))&&(be=se._config),O=ze(be,O),null==se&&(O.abbr=w),(X=new Re(O)).parentLocale=Si[w],Si[w]=X),jo(w)}else null!=Si[w]&&(null!=Si[w].parentLocale?(Si[w]=Si[w].parentLocale,w===jo()&&jo(w)):null!=Si[w]&&delete Si[w]);return Si[w]},g.locales=function zo(){return st(Si)},g.weekdaysShort=function y2(w,O,X){return Bs(w,O,X,"weekdaysShort")},g.normalizeUnits=Ni,g.relativeTimeRounding=function S3(w){return void 0===w?Vs:"function"==typeof w&&(Vs=w,!0)},g.relativeTimeThreshold=function T3(w,O){return void 0!==Fh[w]&&(void 0===O?Fh[w]:(Fh[w]=O,"s"===w&&(Fh.ss=O-1),!0))},g.calendarFormat=function g3(w,O){var X=w.diff(O,"days",!0);return X<-6?"sameElse":X<-1?"lastWeek":X<0?"lastDay":X<1?"sameDay":X<2?"nextDay":X<7?"nextWeek":"sameElse"},g.prototype=Bt,g.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},g}()},7024:(ve,A,I)=>{var T="function"==typeof Map&&Map.prototype,g=Object.getOwnPropertyDescriptor&&T?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,y=T&&g&&"function"==typeof g.get?g.get:null,b=T&&Map.prototype.forEach,C="function"==typeof Set&&Set.prototype,D=Object.getOwnPropertyDescriptor&&C?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,L=C&&D&&"function"==typeof D.get?D.get:null,B=C&&Set.prototype.forEach,U="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,j="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,re="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,W=Boolean.prototype.valueOf,ne=Object.prototype.toString,G=Function.prototype.toString,z=String.prototype.match,ce=String.prototype.slice,le=String.prototype.replace,ie=String.prototype.toUpperCase,K=String.prototype.toLowerCase,oe=RegExp.prototype.test,he=Array.prototype.concat,ae=Array.prototype.join,de=Array.prototype.slice,me=Math.floor,ge="function"==typeof BigInt?BigInt.prototype.valueOf:null,we=Object.getOwnPropertySymbols,ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,Re="function"==typeof Symbol&&"object"==typeof Symbol.iterator,st="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol,1)?Symbol.toStringTag:null,mt=Object.prototype.propertyIsEnumerable,At=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(Ue){return Ue.__proto__}:null);function Xt(Ue,We){if(Ue===1/0||Ue===-1/0||Ue!=Ue||Ue&&Ue>-1e3&&Ue<1e3||oe.call(/e/,We))return We;var pn=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof Ue){var An=Ue<0?-me(-Ue):me(Ue);if(An!==Ue){var ir=String(An),Et=ce.call(We,ir.length+1);return le.call(ir,pn,"$&_")+"."+le.call(le.call(Et,/([0-9]{3})/g,"$&_"),/_$/,"")}}return le.call(We,pn,"$&_")}var ft=I(4654),ai=ft.custom,He=ht(ai)?ai:null;function yi(Ue,We,pn){var An="double"===(pn.quoteStyle||We)?'"':"'";return An+Ue+An}function nt(Ue){return le.call(String(Ue),/"/g,"&quot;")}function Jt(Ue){return!("[object Array]"!==fi(Ue)||st&&"object"==typeof Ue&&st in Ue)}function Fn(Ue){return!("[object RegExp]"!==fi(Ue)||st&&"object"==typeof Ue&&st in Ue)}function ht(Ue){if(Re)return Ue&&"object"==typeof Ue&&Ue instanceof Symbol;if("symbol"==typeof Ue)return!0;if(!Ue||"object"!=typeof Ue||!ze)return!1;try{return ze.call(Ue),!0}catch{}return!1}ve.exports=function Ue(We,pn,An,ir){var Et=pn||{};if(at(Et,"quoteStyle")&&"single"!==Et.quoteStyle&&"double"!==Et.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(at(Et,"maxStringLength")&&("number"==typeof Et.maxStringLength?Et.maxStringLength<0&&Et.maxStringLength!==1/0:null!==Et.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var pa=!at(Et,"customInspect")||Et.customInspect;if("boolean"!=typeof pa&&"symbol"!==pa)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(at(Et,"indent")&&null!==Et.indent&&"\t"!==Et.indent&&!(parseInt(Et.indent,10)===Et.indent&&Et.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(at(Et,"numericSeparator")&&"boolean"!=typeof Et.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Ha=Et.numericSeparator;if(typeof We>"u")return"undefined";if(null===We)return"null";if("boolean"==typeof We)return We?"true":"false";if("string"==typeof We)return fn(We,Et);if("number"==typeof We){if(0===We)return 1/0/We>0?"0":"-0";var Br=String(We);return Ha?Xt(We,Br):Br}if("bigint"==typeof We){var xr=String(We)+"n";return Ha?Xt(We,xr):xr}var vo=typeof Et.depth>"u"?5:Et.depth;if(typeof An>"u"&&(An=0),An>=vo&&vo>0&&"object"==typeof We)return Jt(We)?"[Array]":"[Object]";var Zr=function mr(Ue,We){var pn;if("\t"===Ue.indent)pn="\t";else{if(!("number"==typeof Ue.indent&&Ue.indent>0))return null;pn=ae.call(Array(Ue.indent+1)," ")}return{base:pn,prev:ae.call(Array(We+1),pn)}}(Et,An);if(typeof ir>"u")ir=[];else if(oi(ir,We)>=0)return"[Circular]";function Ar(gn,Hr,Xr){if(Hr&&(ir=de.call(ir)).push(Hr),Xr){var aa={depth:Et.depth};return at(Et,"quoteStyle")&&(aa.quoteStyle=Et.quoteStyle),Ue(gn,aa,An+1,ir)}return Ue(gn,Et,An+1,ir)}if("function"==typeof We&&!Fn(We)){var ps=function $t(Ue){if(Ue.name)return Ue.name;var We=z.call(G.call(Ue),/^function\s*([\w$]+)/);return We?We[1]:null}(We),ra=Po(We,Ar);return"[Function"+(ps?": "+ps:" (anonymous)")+"]"+(ra.length>0?" { "+ae.call(ra,", ")+" }":"")}if(ht(We)){var la=Re?le.call(String(We),/^(Symbol\(.*\))_[^)]*$/,"$1"):ze.call(We);return"object"!=typeof We||Re?la:Ji(la)}if(function $i(Ue){return!(!Ue||"object"!=typeof Ue)&&(typeof HTMLElement<"u"&&Ue instanceof HTMLElement||"string"==typeof Ue.nodeName&&"function"==typeof Ue.getAttribute)}(We)){for(var sn="<"+K.call(String(We.nodeName)),Va=We.attributes||[],Yt=0;Yt<Va.length;Yt++)sn+=" "+Va[Yt].name+"="+yi(nt(Va[Yt].value),"double",Et);return sn+=">",We.childNodes&&We.childNodes.length&&(sn+="..."),sn+"</"+K.call(String(We.nodeName))+">"}if(Jt(We)){if(0===We.length)return"[]";var ka=Po(We,Ar);return Zr&&!function Pr(Ue){for(var We=0;We<Ue.length;We++)if(oi(Ue[We],"\n")>=0)return!1;return!0}(ka)?"["+Ot(ka,Zr)+"]":"[ "+ae.call(ka,", ")+" ]"}if(function _t(Ue){return!("[object Error]"!==fi(Ue)||st&&"object"==typeof Ue&&st in Ue)}(We)){var Ya=Po(We,Ar);return"cause"in Error.prototype||!("cause"in We)||mt.call(We,"cause")?0===Ya.length?"["+String(We)+"]":"{ ["+String(We)+"] "+ae.call(Ya,", ")+" }":"{ ["+String(We)+"] "+ae.call(he.call("[cause]: "+Ar(We.cause),Ya),", ")+" }"}if("object"==typeof We&&pa){if(He&&"function"==typeof We[He]&&ft)return ft(We,{depth:vo-An});if("symbol"!==pa&&"function"==typeof We.inspect)return We.inspect()}if(function vt(Ue){if(!y||!Ue||"object"!=typeof Ue)return!1;try{y.call(Ue);try{L.call(Ue)}catch{return!0}return Ue instanceof Map}catch{}return!1}(We)){var jt=[];return b.call(We,function(gn,Hr){jt.push(Ar(Hr,We,!0)+" => "+Ar(gn,We))}),Qr("Map",y.call(We),jt,Zr)}if(function Vi(Ue){if(!L||!Ue||"object"!=typeof Ue)return!1;try{L.call(Ue);try{y.call(Ue)}catch{return!0}return Ue instanceof Set}catch{}return!1}(We)){var wo=[];return B.call(We,function(gn){wo.push(Ar(gn,We))}),Qr("Set",L.call(We),wo,Zr)}if(function un(Ue){if(!U||!Ue||"object"!=typeof Ue)return!1;try{U.call(Ue,U);try{j.call(Ue,j)}catch{return!0}return Ue instanceof WeakMap}catch{}return!1}(We))return Ri("WeakMap");if(function fa(Ue){if(!j||!Ue||"object"!=typeof Ue)return!1;try{j.call(Ue,j);try{U.call(Ue,U)}catch{return!0}return Ue instanceof WeakSet}catch{}return!1}(We))return Ri("WeakSet");if(function Ni(Ue){if(!re||!Ue||"object"!=typeof Ue)return!1;try{return re.call(Ue),!0}catch{}return!1}(We))return Ri("WeakRef");if(function Tn(Ue){return!("[object Number]"!==fi(Ue)||st&&"object"==typeof Ue&&st in Ue)}(We))return Ji(Ar(Number(We)));if(function zt(Ue){if(!Ue||"object"!=typeof Ue||!ge)return!1;try{return ge.call(Ue),!0}catch{}return!1}(We))return Ji(Ar(ge.call(We)));if(function xi(Ue){return!("[object Boolean]"!==fi(Ue)||st&&"object"==typeof Ue&&st in Ue)}(We))return Ji(W.call(We));if(function on(Ue){return!("[object String]"!==fi(Ue)||st&&"object"==typeof Ue&&st in Ue)}(We))return Ji(Ar(String(We)));if(!function Ut(Ue){return!("[object Date]"!==fi(Ue)||st&&"object"==typeof Ue&&st in Ue)}(We)&&!Fn(We)){var xn=Po(We,Ar),nr=At?At(We)===Object.prototype:We instanceof Object||We.constructor===Object,gs=We instanceof Object?"":"null prototype",vi=!nr&&st&&Object(We)===We&&st in We?ce.call(fi(We),8,-1):gs?"Object":"",ln=(nr||"function"!=typeof We.constructor?"":We.constructor.name?We.constructor.name+" ":"")+(vi||gs?"["+ae.call(he.call([],vi||[],gs||[]),": ")+"] ":"");return 0===xn.length?ln+"{}":Zr?ln+"{"+Ot(xn,Zr)+"}":ln+"{ "+ae.call(xn,", ")+" }"}return String(We)};var Ge=Object.prototype.hasOwnProperty||function(Ue){return Ue in this};function at(Ue,We){return Ge.call(Ue,We)}function fi(Ue){return ne.call(Ue)}function oi(Ue,We){if(Ue.indexOf)return Ue.indexOf(We);for(var pn=0,An=Ue.length;pn<An;pn++)if(Ue[pn]===We)return pn;return-1}function fn(Ue,We){if(Ue.length>We.maxStringLength){var pn=Ue.length-We.maxStringLength,An="... "+pn+" more character"+(pn>1?"s":"");return fn(ce.call(Ue,0,We.maxStringLength),We)+An}return yi(le.call(le.call(Ue,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Oi),"single",We)}function Oi(Ue){var We=Ue.charCodeAt(0),pn={8:"b",9:"t",10:"n",12:"f",13:"r"}[We];return pn?"\\"+pn:"\\x"+(We<16?"0":"")+ie.call(We.toString(16))}function Ji(Ue){return"Object("+Ue+")"}function Ri(Ue){return Ue+" { ? }"}function Qr(Ue,We,pn,An){return Ue+" ("+We+") {"+(An?Ot(pn,An):ae.call(pn,", "))+"}"}function Ot(Ue,We){if(0===Ue.length)return"";var pn="\n"+We.prev+We.base;return pn+ae.call(Ue,","+pn)+"\n"+We.prev}function Po(Ue,We){var pn=Jt(Ue),An=[];if(pn){An.length=Ue.length;for(var ir=0;ir<Ue.length;ir++)An[ir]=at(Ue,ir)?We(Ue[ir],Ue):""}var pa,Et="function"==typeof we?we(Ue):[];if(Re){pa={};for(var Ha=0;Ha<Et.length;Ha++)pa["$"+Et[Ha]]=Et[Ha]}for(var Br in Ue)at(Ue,Br)&&(pn&&String(Number(Br))===Br&&Br<Ue.length||Re&&pa["$"+Br]instanceof Symbol||(oe.call(/[^\w$]/,Br)?An.push(We(Br,Ue)+": "+We(Ue[Br],Ue)):An.push(Br+": "+We(Ue[Br],Ue))));if("function"==typeof we)for(var xr=0;xr<Et.length;xr++)mt.call(Ue,Et[xr])&&An.push("["+We(Et[xr])+"]: "+We(Ue[Et[xr]],Ue));return An}},8617:function(ve,A){var I,g;void 0!==(g="function"==typeof(I=function(){return function(y){function b(K){return" "===K||"\t"===K||"\n"===K||"\f"===K||"\r"===K}function C(K){var oe,he=K.exec(y.substring(z));if(he)return z+=(oe=he[0]).length,oe}for(var V,re,W,ne,G,D=y.length,L=/^[ \t\n\r\u000c]+/,B=/^[, \t\n\r\u000c]+/,R=/^[^ \t\n\r\u000c]+/,U=/[,]+$/,Z=/^\d+$/,j=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,z=0,ce=[];;){if(C(B),z>=D)return ce;V=C(R),re=[],","===V.slice(-1)?(V=V.replace(U,""),ie()):le()}function le(){for(C(L),W="",ne="in descriptor";;){if(G=y.charAt(z),"in descriptor"===ne)if(b(G))W&&(re.push(W),W="",ne="after descriptor");else{if(","===G)return z+=1,W&&re.push(W),void ie();if("("===G)W+=G,ne="in parens";else{if(""===G)return W&&re.push(W),void ie();W+=G}}else if("in parens"===ne)if(")"===G)W+=G,ne="in descriptor";else{if(""===G)return re.push(W),void ie();W+=G}else if("after descriptor"===ne&&!b(G)){if(""===G)return void ie();ne="in descriptor",z-=1}z+=1}}function ie(){var oe,he,ae,de,ge,we,ze,Re,st,K=!1,me={};for(de=0;de<re.length;de++)we=(ge=re[de])[ge.length-1],ze=ge.substring(0,ge.length-1),Re=parseInt(ze,10),st=parseFloat(ze),Z.test(ze)&&"w"===we?((oe||he)&&(K=!0),0===Re?K=!0:oe=Re):j.test(ze)&&"x"===we?((oe||he||ae)&&(K=!0),st<0?K=!0:he=st):Z.test(ze)&&"h"===we?((ae||he)&&(K=!0),0===Re?K=!0:ae=Re):K=!0;K?console&&console.log&&console.log("Invalid srcset descriptor found in '"+y+"' at '"+ge+"'."):(me.url=V,oe&&(me.w=oe),he&&(me.d=he),ae&&(me.h=ae),ce.push(me))}}})?I.apply(A,[]):I)&&(ve.exports=g)},9921:function(ve,A,I){var T,g;void 0!==(g="function"==typeof(T=function(){"use strict";return function(b,C){var R,U,Z,j,V,re,W,G,z,ce,le,ie,K,oe,he,de,ai,He,D=this,L=!1,B=!0,ne=!0,ae={barsSize:{top:44,bottom:"auto"},closeElClasses:["item","caption","zoom-wrap","ui","top-bar"],timeToIdle:4e3,timeToIdleOutside:1e3,loadingIndicatorDelay:1e3,addCaptionHTMLFn:function(Ge,at){return Ge.title?(at.children[0].innerHTML=Ge.title,!0):(at.children[0].innerHTML="",!1)},closeEl:!0,captionEl:!0,fullscreenEl:!0,zoomEl:!0,shareEl:!0,counterEl:!0,arrowEl:!0,preloaderEl:!0,tapToClose:!1,tapToToggleControls:!0,clickToCloseNonZoomable:!0,shareButtons:[{id:"facebook",label:"Share on Facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:"Tweet",url:"https://twitter.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:"Pin it",url:"http://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"},{id:"download",label:"Download image",url:"{{raw_image_url}}",download:!0}],getImageURLForShare:function(){return b.currItem.src||""},getPageURLForShare:function(){return window.location.href},getTextForShare:function(){return b.currItem.title||""},indexIndicatorSep:" / ",fitControlsWidth:1200},ge=function(Ge){if(de)return!0;Ge=Ge||window.event,he.timeToIdle&&he.mouseUsed&&!z&&nt();for(var fi,oi,$t=(Ge.target||Ge.srcElement).getAttribute("class")||"",vt=0;vt<ht.length;vt++)(fi=ht[vt]).onTap&&$t.indexOf("pswp__"+fi.name)>-1&&(fi.onTap(),oi=!0);oi&&(Ge.stopPropagation&&Ge.stopPropagation(),de=!0,setTimeout(function(){de=!1},C.features.isOldAndroid?600:30))},ze=function(Ge,at,fi){C[(fi?"add":"remove")+"Class"](Ge,"pswp__"+at)},Re=function(){var Ge=1===he.getNumItemsFn();Ge!==oe&&(ze(U,"ui--one-slide",Ge),oe=Ge)},st=function(){ze(W,"share-modal--hidden",ne)},mt=function(){return(ne=!ne)?(C.removeClass(W,"pswp__share-modal--fade-in"),setTimeout(function(){ne&&st()},300)):(st(),setTimeout(function(){ne||C.addClass(W,"pswp__share-modal--fade-in")},30)),ne||Xt(),!1},At=function(Ge){var at=(Ge=Ge||window.event).target||Ge.srcElement;return b.shout("shareLinkClick",Ge,at),!(!at.href||!at.hasAttribute("download")&&(window.open(at.href,"pswp_share","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,top=100,left="+(window.screen?Math.round(screen.width/2-275):100)),ne||mt(),1))},Xt=function(){for(var at,$t,oi,vt,Ge="",un=0;un<he.shareButtons.length;un++)$t=he.getImageURLForShare(at=he.shareButtons[un]),oi=he.getPageURLForShare(at),vt=he.getTextForShare(at),Ge+='<a href="'+at.url.replace("{{url}}",encodeURIComponent(oi)).replace("{{image_url}}",encodeURIComponent($t)).replace("{{raw_image_url}}",$t).replace("{{text}}",encodeURIComponent(vt))+'" target="_blank" class="pswp__share--'+at.id+'"'+(at.download?"download":"")+">"+at.label+"</a>",he.parseShareButtonOut&&(Ge=he.parseShareButtonOut(at,Ge));W.children[0].innerHTML=Ge,W.children[0].onclick=At},ft=function(Ge){for(var at=0;at<he.closeElClasses.length;at++)if(C.hasClass(Ge,"pswp__"+he.closeElClasses[at]))return!0},yi=0,nt=function(){clearTimeout(He),yi=0,z&&D.setIdle(!1)},Jt=function(Ge){var at=(Ge=Ge||window.event).relatedTarget||Ge.toElement;(!at||"HTML"===at.nodeName)&&(clearTimeout(He),He=setTimeout(function(){D.setIdle(!0)},he.timeToIdleOutside))},_t=function(Ge){ie!==Ge&&(ze(le,"preloader--active",!Ge),ie=Ge)},on=function(Ge){var at=Ge.vGap;if(!b.likelyTouchDevice||he.mouseUsed||screen.width>he.fitControlsWidth){var fi=he.barsSize;he.captionEl&&"auto"===fi.bottom?(j||((j=C.createEl("pswp__caption pswp__caption--fake")).appendChild(C.createEl("pswp__caption__center")),U.insertBefore(j,Z),C.addClass(U,"pswp__ui--fit")),at.bottom=he.addCaptionHTMLFn(Ge,j,!0)?parseInt(j.clientHeight,10)||44:fi.top):at.bottom="auto"===fi.bottom?0:fi.bottom,at.top=fi.top}else at.top=at.bottom=0},ht=[{name:"caption",option:"captionEl",onInit:function(Ge){Z=Ge}},{name:"share-modal",option:"shareEl",onInit:function(Ge){W=Ge},onTap:function(){mt()}},{name:"button--share",option:"shareEl",onInit:function(Ge){re=Ge},onTap:function(){mt()}},{name:"button--zoom",option:"zoomEl",onTap:b.toggleDesktopZoom},{name:"counter",option:"counterEl",onInit:function(Ge){V=Ge}},{name:"button--close",option:"closeEl",onTap:b.close},{name:"button--arrow--left",option:"arrowEl",onTap:b.prev},{name:"button--arrow--right",option:"arrowEl",onTap:b.next},{name:"button--fs",option:"fullscreenEl",onTap:function(){R.isFullscreen()?R.exit():R.enter()}},{name:"preloader",option:"preloaderEl",onInit:function(Ge){le=Ge}}];D.init=function(){var Ge;C.extend(b.options,ae,!0),he=b.options,U=C.getChildByClass(b.scrollWrap,"pswp__ui"),(ce=b.listen)("onVerticalDrag",function(at){B&&at<.95?D.hideControls():!B&&at>=.95&&D.showControls()}),ce("onPinchClose",function(at){B&&at<.9?(D.hideControls(),Ge=!0):Ge&&!B&&at>.9&&D.showControls()}),ce("zoomGestureEnded",function(){(Ge=!1)&&!B&&D.showControls()}),ce("beforeChange",D.update),ce("doubleTap",function(Ge){var at=b.currItem.initialZoomLevel;b.getZoomLevel()!==at?b.zoomTo(at,Ge,333):b.zoomTo(he.getDoubleTapZoom(!1,b.currItem),Ge,333)}),ce("preventDragEvent",function(Ge,at,fi){var $t=Ge.target||Ge.srcElement;$t&&$t.getAttribute("class")&&Ge.type.indexOf("mouse")>-1&&($t.getAttribute("class").indexOf("__caption")>0||/(SMALL|STRONG|EM)/i.test($t.tagName))&&(fi.prevent=!1)}),ce("bindEvents",function(){C.bind(U,"pswpTap click",ge),C.bind(b.scrollWrap,"pswpTap",D.onGlobalTap),b.likelyTouchDevice||C.bind(b.scrollWrap,"mouseover",D.onMouseOver)}),ce("unbindEvents",function(){ne||mt(),ai&&clearInterval(ai),C.unbind(document,"mouseout",Jt),C.unbind(document,"mousemove",nt),C.unbind(U,"pswpTap click",ge),C.unbind(b.scrollWrap,"pswpTap",D.onGlobalTap),C.unbind(b.scrollWrap,"mouseover",D.onMouseOver),R&&(C.unbind(document,R.eventK,D.updateFullscreen),R.isFullscreen()&&(he.hideAnimationDuration=0,R.exit()),R=null)}),ce("destroy",function(){he.captionEl&&(j&&U.removeChild(j),C.removeClass(Z,"pswp__caption--empty")),W&&(W.children[0].onclick=null),C.removeClass(U,"pswp__ui--over-close"),C.addClass(U,"pswp__ui--hidden"),D.setIdle(!1)}),he.showAnimationDuration||C.removeClass(U,"pswp__ui--hidden"),ce("initialZoomIn",function(){he.showAnimationDuration&&C.removeClass(U,"pswp__ui--hidden")}),ce("initialZoomOut",function(){C.addClass(U,"pswp__ui--hidden")}),ce("parseVerticalMargin",on),function(){var Ge,at,fi,$t=function(vt){if(vt)for(var un=vt.length,Ni=0;Ni<un;Ni++){at=(Ge=vt[Ni]).className;for(var Vi=0;Vi<ht.length;Vi++)at.indexOf("pswp__"+(fi=ht[Vi]).name)>-1&&(he[fi.option]?(C.removeClass(Ge,"pswp__element--disabled"),fi.onInit&&fi.onInit(Ge)):C.addClass(Ge,"pswp__element--disabled"))}};$t(U.children);var oi=C.getChildByClass(U,"pswp__top-bar");oi&&$t(oi.children)}(),he.shareEl&&re&&W&&(ne=!0),Re(),he.timeToIdle&&ce("mouseUsed",function(){C.bind(document,"mousemove",nt),C.bind(document,"mouseout",Jt),ai=setInterval(function(){2==++yi&&D.setIdle(!0)},he.timeToIdle/2)}),he.fullscreenEl&&!C.features.isOldAndroid&&(R||(R=D.getFullscreenAPI()),R?(C.bind(document,R.eventK,D.updateFullscreen),D.updateFullscreen(),C.addClass(b.template,"pswp--supports-fs")):C.removeClass(b.template,"pswp--supports-fs")),he.preloaderEl&&(_t(!0),ce("beforeChange",function(){clearTimeout(K),K=setTimeout(function(){b.currItem&&b.currItem.loading?(!b.allowProgressiveImg()||b.currItem.img&&!b.currItem.img.naturalWidth)&&_t(!1):_t(!0)},he.loadingIndicatorDelay)}),ce("imageLoadComplete",function(Ge,at){b.currItem===at&&_t(!0)}))},D.setIdle=function(Ge){z=Ge,ze(U,"ui--idle",Ge)},D.update=function(){B&&b.currItem?(D.updateIndexIndicator(),he.captionEl&&(he.addCaptionHTMLFn(b.currItem,Z),ze(Z,"caption--empty",!b.currItem.title)),L=!0):L=!1,ne||mt(),Re()},D.updateFullscreen=function(Ge){Ge&&setTimeout(function(){b.setScrollOffset(0,C.getScrollY())},50),C[(R.isFullscreen()?"add":"remove")+"Class"](b.template,"pswp--fs")},D.updateIndexIndicator=function(){he.counterEl&&(V.innerHTML=b.getCurrentIndex()+1+he.indexIndicatorSep+he.getNumItemsFn())},D.onGlobalTap=function(Ge){var at=(Ge=Ge||window.event).target||Ge.srcElement;if(!de)if(Ge.detail&&"mouse"===Ge.detail.pointerType){if(ft(at))return void b.close();C.hasClass(at,"pswp__img")&&(1===b.getZoomLevel()&&b.getZoomLevel()<=b.currItem.fitRatio?he.clickToCloseNonZoomable&&b.close():b.toggleDesktopZoom(Ge.detail.releasePoint))}else if(he.tapToToggleControls&&(B?D.hideControls():D.showControls()),he.tapToClose&&(C.hasClass(at,"pswp__img")||ft(at)))return void b.close()},D.onMouseOver=function(Ge){Ge=Ge||window.event,ze(U,"ui--over-close",ft(Ge.target||Ge.srcElement))},D.hideControls=function(){C.addClass(U,"pswp__ui--hidden"),B=!1},D.showControls=function(){B=!0,L||D.update(),C.removeClass(U,"pswp__ui--hidden")},D.supportsFullscreen=function(){var Ge=document;return!!(Ge.exitFullscreen||Ge.mozCancelFullScreen||Ge.webkitExitFullscreen||Ge.msExitFullscreen)},D.getFullscreenAPI=function(){var at,Ge=document.documentElement,fi="fullscreenchange";return Ge.requestFullscreen?at={enterK:"requestFullscreen",exitK:"exitFullscreen",elementK:"fullscreenElement",eventK:fi}:Ge.mozRequestFullScreen?at={enterK:"mozRequestFullScreen",exitK:"mozCancelFullScreen",elementK:"mozFullScreenElement",eventK:"moz"+fi}:Ge.webkitRequestFullscreen?at={enterK:"webkitRequestFullscreen",exitK:"webkitExitFullscreen",elementK:"webkitFullscreenElement",eventK:"webkit"+fi}:Ge.msRequestFullscreen&&(at={enterK:"msRequestFullscreen",exitK:"msExitFullscreen",elementK:"msFullscreenElement",eventK:"MSFullscreenChange"}),at&&(at.enter=function(){if(G=he.closeOnScroll,he.closeOnScroll=!1,"webkitRequestFullscreen"!==this.enterK)return b.template[this.enterK]();b.template[this.enterK](Element.ALLOW_KEYBOARD_INPUT)},at.exit=function(){return he.closeOnScroll=G,document[this.exitK]()},at.isFullscreen=function(){return document[this.elementK]}),at}}})?T.call(A,I,A,ve):T)&&(ve.exports=g)},6660:function(ve,A,I){var T,g;T=function(){"use strict";return function(b,C,D,L){var B={features:null,bind:function(J,xe,Ee,Me){var bt=(Me?"remove":"add")+"EventListener";xe=xe.split(" ");for(var wt=0;wt<xe.length;wt++)xe[wt]&&J[bt](xe[wt],Ee,!1)},isArray:function(J){return J instanceof Array},createEl:function(J,xe){var Ee=document.createElement(xe||"div");return J&&(Ee.className=J),Ee},getScrollY:function(){var J=window.pageYOffset;return void 0!==J?J:document.documentElement.scrollTop},unbind:function(J,xe,Ee){B.bind(J,xe,Ee,!0)},removeClass:function(J,xe){var Ee=new RegExp("(\\s|^)"+xe+"(\\s|$)");J.className=J.className.replace(Ee," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")},addClass:function(J,xe){B.hasClass(J,xe)||(J.className+=(J.className?" ":"")+xe)},hasClass:function(J,xe){return J.className&&new RegExp("(^|\\s)"+xe+"(\\s|$)").test(J.className)},getChildByClass:function(J,xe){for(var Ee=J.firstChild;Ee;){if(B.hasClass(Ee,xe))return Ee;Ee=Ee.nextSibling}},arraySearch:function(J,xe,Ee){for(var Me=J.length;Me--;)if(J[Me][Ee]===xe)return Me;return-1},extend:function(J,xe,Ee){for(var Me in xe)if(xe.hasOwnProperty(Me)){if(Ee&&J.hasOwnProperty(Me))continue;J[Me]=xe[Me]}},easing:{sine:{out:function(J){return Math.sin(J*(Math.PI/2))},inOut:function(J){return-(Math.cos(Math.PI*J)-1)/2}},cubic:{out:function(J){return--J*J*J+1}}},detectFeatures:function(){if(B.features)return B.features;var xe=B.createEl().style,Ee="",Me={};if(Me.oldIE=document.all&&!document.addEventListener,Me.touch="ontouchstart"in window,window.requestAnimationFrame&&(Me.raf=window.requestAnimationFrame,Me.caf=window.cancelAnimationFrame),Me.pointerEvent=!!window.PointerEvent||navigator.msPointerEnabled,!Me.pointerEvent){var bt=navigator.userAgent;if(/iP(hone|od)/.test(navigator.platform)){var wt=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);wt&&wt.length>0&&(wt=parseInt(wt[1],10))>=1&&wt<8&&(Me.isOldIOSPhone=!0)}var ki=bt.match(/Android\s([0-9\.]*)/),Ai=ki?ki[1]:0;(Ai=parseFloat(Ai))>=1&&(Ai<4.4&&(Me.isOldAndroid=!0),Me.androidVersion=Ai),Me.isMobileOpera=/opera mini|opera mobi/i.test(bt)}for(var Xn,qe,Di=["transform","perspective","animationName"],Kt=["","webkit","Moz","ms","O"],Go=0;Go<4;Go++){Ee=Kt[Go];for(var ws=0;ws<3;ws++)Xn=Di[ws],qe=Ee+(Ee?Xn.charAt(0).toUpperCase()+Xn.slice(1):Xn),!Me[Xn]&&qe in xe&&(Me[Xn]=qe);Ee&&!Me.raf&&(Ee=Ee.toLowerCase(),Me.raf=window[Ee+"RequestAnimationFrame"],Me.raf&&(Me.caf=window[Ee+"CancelAnimationFrame"]||window[Ee+"CancelRequestAnimationFrame"]))}if(!Me.raf){var Sa=0;Me.raf=function(Dt){var rs=(new Date).getTime(),Fs=Math.max(0,16-(rs-Sa)),Oe=window.setTimeout(function(){Dt(rs+Fs)},Fs);return Sa=rs+Fs,Oe},Me.caf=function(Dt){clearTimeout(Dt)}}return Me.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,B.features=Me,Me}};B.detectFeatures(),B.features.oldIE&&(B.bind=function(J,xe,Ee,Me){xe=xe.split(" ");for(var wt,bt=(Me?"detach":"attach")+"Event",ki=function(){Ee.handleEvent.call(Ee)},Ai=0;Ai<xe.length;Ai++)if(wt=xe[Ai])if("object"==typeof Ee&&Ee.handleEvent){if(Me){if(!Ee["oldIE"+wt])return!1}else Ee["oldIE"+wt]=ki;J[bt]("on"+wt,Ee["oldIE"+wt])}else J[bt]("on"+wt,Ee)});var R=this,j={allowPanToNext:!0,spacing:.12,bgOpacity:1,mouseUsed:!1,loop:!0,pinchToClose:!0,closeOnScroll:!0,closeOnVerticalDrag:!0,verticalDragRange:.75,hideAnimationDuration:333,showAnimationDuration:333,showHideOpacity:!1,focus:!0,escKey:!0,arrowKeys:!0,mainScrollEndFriction:.35,panEndFriction:.35,isClickableElement:function(J){return"A"===J.tagName},getDoubleTapZoom:function(J,xe){return J||xe.initialZoomLevel<.7?1:1.33},maxSpreadZoom:1.33,modal:!0,scaleMode:"fit"};B.extend(j,L);var re,W,ne,G,z,ce,oe,he,ae,me,ge,we,ze,Re,st,ft,ai,yi,nt,Jt,Ut,Fn,_t,Tn,ht,zt,Ge,at,fi,$t,oi,Ni,nr,gs,io,fr,pt,Ol,cn,Rn,rn,rr,Pn,ro,In,en,Yi,Ui,di,Pt,De,li,tt,gr,ji,zr,le={x:0,y:0},ie={x:0,y:0},K={x:0,y:0},de={},mt=0,At={},Xt={x:0,y:0},He=0,on=!0,xi=[],vt={},un=!1,Vi=function(J,xe){B.extend(R,xe.publicMethods),xi.push(J)},fa=function(J){var xe=Nr();return J>xe-1?J-xe:J<0?xe+J:J},$i={},fn=function(J,xe){return $i[J]||($i[J]=[]),$i[J].push(xe)},Oi=function(J){var xe=$i[J];if(xe){var Ee=Array.prototype.slice.call(arguments);Ee.shift();for(var Me=0;Me<xe.length;Me++)xe[Me].apply(R,Ee)}},Ji=function(){return(new Date).getTime()},Ri=function(J){gr=J,R.bg.style.opacity=J*j.bgOpacity},Qr=function(J,xe,Ee,Me,bt){(!un||bt&&bt!==R.currItem)&&(Me/=bt?bt.fitRatio:R.currItem.fitRatio),J[Fn]=we+xe+"px, "+Ee+"px"+ze+" scale("+Me+")"},Pr=function(J){di&&(J&&(me>R.currItem.fitRatio?un||(ll(R.currItem,!1,!0),un=!0):un&&(ll(R.currItem),un=!1)),Qr(di,K.x,K.y,me))},mr=function(J){J.container&&Qr(J.container.style,J.initialPosition.x,J.initialPosition.y,J.initialZoomLevel,J)},Ot=function(J,xe){xe[Fn]=we+J+"px, 0px"+ze},Po=function(J,xe){if(!j.loop&&xe){var Ee=G+(Xt.x*mt-J)/Xt.x,Me=Math.round(J-ao.x);(Ee<0&&Me>0||Ee>=Nr()-1&&Me<0)&&(J=ao.x+Me*j.mainScrollEndFriction)}ao.x=J,Ot(J,z)},Ue=function(J,xe){var Ee=Ir[J]-At[J];return ie[J]+le[J]+Ee-Ee*(xe/ge)},We=function(J,xe){J.x=xe.x,J.y=xe.y,xe.id&&(J.id=xe.id)},pn=function(J){J.x=Math.round(J.x),J.y=Math.round(J.y)},An=null,ir=function(){An&&(B.unbind(document,"mousemove",ir),B.addClass(b,"pswp--has_mouse"),j.mouseUsed=!0,Oi("mouseUsed")),An=setTimeout(function(){An=null},100)},Ha=function(J,xe){var Ee=tn(R.currItem,de,J);return xe&&(Ui=Ee),Ee},Br=function(J){return J||(J=R.currItem),J.initialZoomLevel},xr=function(J){return J||(J=R.currItem),J.w>0?j.maxSpreadZoom:1},vo=function(J,xe,Ee,Me){return Me===R.currItem.initialZoomLevel?(Ee[J]=R.currItem.initialPosition[J],!0):(Ee[J]=Ue(J,Me),Ee[J]>xe.min[J]?(Ee[J]=xe.min[J],!0):Ee[J]<xe.max[J]&&(Ee[J]=xe.max[J],!0))},Ar=function(J){var xe="";j.escKey&&27===J.keyCode?xe="close":j.arrowKeys&&(37===J.keyCode?xe="prev":39===J.keyCode&&(xe="next")),xe&&!J.ctrlKey&&!J.altKey&&!J.shiftKey&&!J.metaKey&&(J.preventDefault?J.preventDefault():J.returnValue=!1,R[xe]())},ps=function(J){J&&(rr||rn||Pt||pt)&&(J.preventDefault(),J.stopPropagation())},ra=function(){R.setScrollOffset(0,B.getScrollY())},la={},sn=0,Va=function(J){la[J]&&(la[J].raf&&zt(la[J].raf),sn--,delete la[J])},Yt=function(J){la[J]&&Va(J),la[J]||(sn++,la[J]={})},ka=function(){for(var J in la)la.hasOwnProperty(J)&&Va(J)},Ya=function(J,xe,Ee,Me,bt,wt,ki){var Di,Ai=Ji();Yt(J);var Kt=function(){if(la[J]){if((Di=Ji()-Ai)>=Me)return Va(J),wt(Ee),void(ki&&ki());wt((Ee-xe)*bt(Di/Me)+xe),la[J].raf=ht(Kt)}};Kt()},jt={shout:Oi,listen:fn,viewportSize:de,options:j,isMainScrollAnimating:function(){return Pt},getZoomLevel:function(){return me},getCurrentIndex:function(){return G},isDragging:function(){return cn},isZooming:function(){return en},setScrollOffset:function(J,xe){At.x=J,$t=At.y=xe,Oi("updateScrollOffset",At)},applyZoomPan:function(J,xe,Ee,Me){K.x=xe,K.y=Ee,me=J,Pr(Me)},init:function(){if(!re&&!W){var J;for(R.framework=B,R.template=b,R.bg=B.getChildByClass(b,"pswp__bg"),Ge=b.className,re=!0,oi=B.detectFeatures(),ht=oi.raf,zt=oi.caf,Fn=oi.transform,fi=oi.oldIE,R.scrollWrap=B.getChildByClass(b,"pswp__scroll-wrap"),R.container=B.getChildByClass(R.scrollWrap,"pswp__container"),z=R.container.style,R.itemHolders=ft=[{el:R.container.children[0],wrap:0,index:-1},{el:R.container.children[1],wrap:0,index:-1},{el:R.container.children[2],wrap:0,index:-1}],ft[0].el.style.display=ft[2].el.style.display="none",function(){if(Fn)return we="translate"+(oi.perspective&&!Tn?"3d(":"("),void(ze=oi.perspective?", 0px)":")");Fn="left",B.addClass(b,"pswp--ie"),Ot=function(xe,Ee){Ee.left=xe+"px"},mr=function(xe){var Ee=xe.fitRatio>1?1:xe.fitRatio,Me=xe.container.style,wt=Ee*xe.h;Me.width=Ee*xe.w+"px",Me.height=wt+"px",Me.left=xe.initialPosition.x+"px",Me.top=xe.initialPosition.y+"px"},Pr=function(){if(di){var xe=di,Ee=R.currItem,Me=Ee.fitRatio>1?1:Ee.fitRatio,wt=Me*Ee.h;xe.width=Me*Ee.w+"px",xe.height=wt+"px",xe.left=K.x+"px",xe.top=K.y+"px"}}}(),ae={resize:R.updateSize,orientationchange:function(){clearTimeout(Ni),Ni=setTimeout(function(){de.x!==R.scrollWrap.clientWidth&&R.updateSize()},500)},scroll:ra,keydown:Ar,click:ps},(!oi.animationName||!oi.transform||oi.isOldIOSPhone||oi.isOldAndroid||oi.isMobileOpera)&&(j.showAnimationDuration=j.hideAnimationDuration=0),J=0;J<xi.length;J++)R["init"+xi[J]]();C&&(R.ui=new C(R,B)).init(),Oi("firstUpdate"),G=G||j.index||0,(isNaN(G)||G<0||G>=Nr())&&(G=0),R.currItem=ci(G),(oi.isOldIOSPhone||oi.isOldAndroid)&&(on=!1),b.setAttribute("aria-hidden","false"),j.modal&&(on?b.style.position="fixed":(b.style.position="absolute",b.style.top=B.getScrollY()+"px")),void 0===$t&&(Oi("initialLayout"),$t=at=B.getScrollY());var Me="pswp--open ";for(j.mainClass&&(Me+=j.mainClass+" "),j.showHideOpacity&&(Me+="pswp--animate_opacity "),Me+=Tn?"pswp--touch":"pswp--notouch",Me+=oi.animationName?" pswp--css_animation":"",B.addClass(b,Me+=oi.svg?" pswp--svg":""),R.updateSize(),ce=-1,He=null,J=0;J<3;J++)Ot((J+ce)*Xt.x,ft[J].el.style);fi||B.bind(R.scrollWrap,he,R),fn("initialZoomInEnd",function(){R.setContent(ft[0],G-1),R.setContent(ft[2],G+1),ft[0].el.style.display=ft[2].el.style.display="block",j.focus&&b.focus(),B.bind(document,"keydown",R),oi.transform&&B.bind(R.scrollWrap,"click",R),j.mouseUsed||B.bind(document,"mousemove",ir),B.bind(window,"resize scroll orientationchange",R),Oi("bindEvents")}),R.setContent(ft[1],G),R.updateCurrItem(),Oi("afterInit"),on||(Re=setInterval(function(){!sn&&!cn&&!en&&me===R.currItem.initialZoomLevel&&R.updateSize()},1e3)),B.addClass(b,"pswp--visible")}},close:function(){re&&(re=!1,W=!0,Oi("close"),B.unbind(window,"resize scroll orientationchange",R),B.unbind(window,"scroll",ae.scroll),B.unbind(document,"keydown",R),B.unbind(document,"mousemove",ir),oi.transform&&B.unbind(R.scrollWrap,"click",R),cn&&B.unbind(window,oe,R),clearTimeout(Ni),Oi("unbindEvents"),gc(R.currItem,null,!0,R.destroy))},destroy:function(){Oi("destroy"),Lr&&clearTimeout(Lr),b.setAttribute("aria-hidden","true"),b.className=Ge,Re&&clearInterval(Re),B.unbind(R.scrollWrap,he,R),B.unbind(window,"scroll",R),hc(),ka(),$i=null},panTo:function(J,xe,Ee){Ee||(J>Ui.min.x?J=Ui.min.x:J<Ui.max.x&&(J=Ui.max.x),xe>Ui.min.y?xe=Ui.min.y:xe<Ui.max.y&&(xe=Ui.max.y)),K.x=J,K.y=xe,Pr()},handleEvent:function(J){J=J||window.event,ae[J.type]&&ae[J.type](J)},goTo:function(J){var xe=(J=fa(J))-G;He=xe,R.currItem=ci(G=J),Po(Xt.x*(mt-=xe)),ka(),Pt=!1,R.updateCurrItem()},next:function(){R.goTo(G+1)},prev:function(){R.goTo(G-1)},updateCurrZoomItem:function(J){if(J&&Oi("beforeChange",0),ft[1].el.children.length){var xe=ft[1].el.children[0];di=B.hasClass(xe,"pswp__zoom-wrap")?xe.style:null}else di=null;ge=me=R.currItem.initialZoomLevel,K.x=(Ui=R.currItem.bounds).center.x,K.y=Ui.center.y,J&&Oi("afterChange")},invalidateCurrItems:function(){st=!0;for(var J=0;J<3;J++)ft[J].item&&(ft[J].item.needsUpdate=!0)},updateCurrItem:function(J){if(0!==He){var Ee,xe=Math.abs(He);if(!(J&&xe<2)){R.currItem=ci(G),un=!1,Oi("beforeChange",He),xe>=3&&(ce+=He+(He>0?-3:3),xe=3);for(var Me=0;Me<xe;Me++)He>0?(Ee=ft.shift(),ft[2]=Ee,ce++,Ot((ce+2)*Xt.x,Ee.el.style),R.setContent(Ee,G-xe+Me+1+1)):(Ee=ft.pop(),ft.unshift(Ee),ce--,Ot(ce*Xt.x,Ee.el.style),R.setContent(Ee,G+xe-Me-1-1));if(di&&1===Math.abs(He)){var bt=ci(ai);bt.initialZoomLevel!==me&&(tn(bt,de),ll(bt),mr(bt))}He=0,R.updateCurrZoomItem(),ai=G,Oi("afterChange")}}},updateSize:function(J){if(!on&&j.modal){var xe=B.getScrollY();if($t!==xe&&(b.style.top=xe+"px",$t=xe),!J&&vt.x===window.innerWidth&&vt.y===window.innerHeight)return;vt.x=window.innerWidth,vt.y=window.innerHeight,b.style.height=vt.y+"px"}if(de.x=R.scrollWrap.clientWidth,de.y=R.scrollWrap.clientHeight,ra(),Xt.x=de.x+Math.round(de.x*j.spacing),Xt.y=de.y,Po(Xt.x*mt),Oi("beforeResize"),void 0!==ce){for(var Ee,Me,bt,wt=0;wt<3;wt++)Ot((wt+ce)*Xt.x,(Ee=ft[wt]).el.style),bt=G+wt-1,j.loop&&Nr()>2&&(bt=fa(bt)),(Me=ci(bt))&&(st||Me.needsUpdate||!Me.bounds)?(R.cleanSlide(Me),R.setContent(Ee,bt),1===wt&&(R.currItem=Me,R.updateCurrZoomItem(!0)),Me.needsUpdate=!1):-1===Ee.index&&bt>=0&&R.setContent(Ee,bt),Me&&Me.container&&(tn(Me,de),ll(Me),mr(Me));st=!1}ge=me=R.currItem.initialZoomLevel,(Ui=R.currItem.bounds)&&(K.x=Ui.center.x,K.y=Ui.center.y,Pr(!0)),Oi("resize")},zoomTo:function(J,xe,Ee,Me,bt){xe&&(ge=me,Ir.x=Math.abs(xe.x)-K.x,Ir.y=Math.abs(xe.y)-K.y,We(ie,K));var wt=Ha(J,!1),ki={};vo("x",wt,ki,J),vo("y",wt,ki,J);var Ai=me,Di_x=K.x,Di_y=K.y;pn(ki);var Kt=function(Xn){1===Xn?(me=J,K.x=ki.x,K.y=ki.y):(me=(J-Ai)*Xn+Ai,K.x=(ki.x-Di_x)*Xn+Di_x,K.y=(ki.y-Di_y)*Xn+Di_y),bt&&bt(Xn),Pr(1===Xn)};Ee?Ya("customZoomTo",0,1,Ee,Me||B.easing.sine.inOut,Kt):Kt(1)}},vi={},br={},ln={},gn={},Hr={},Xr=[],aa={},Fo=[],no={},pr=0,Bo={x:0,y:0},sd=0,ao={x:0,y:0},Ir={x:0,y:0},$e={x:0,y:0},Ci=function(J,xe){return no.x=Math.abs(J.x-xe.x),no.y=Math.abs(J.y-xe.y),Math.sqrt(no.x*no.x+no.y*no.y)},hc=function(){Pn&&(zt(Pn),Pn=null)},ol=function(){cn&&(Pn=ht(ol),Lm())},ld=function(J,xe){return!(!J||J===document||J.getAttribute("class")&&J.getAttribute("class").indexOf("pswp__scroll-wrap")>-1)&&(xe(J)?J:ld(J.parentNode,xe))},_s={},cd=function(J,xe){return _s.prevent=!ld(J.target,j.isClickableElement),Oi("preventDragEvent",J,xe,_s),_s.prevent},Ho=function(J,xe){return xe.x=J.pageX,xe.y=J.pageY,xe.id=J.identifier,xe},mh=function(J,xe,Ee){Ee.x=.5*(J.x+xe.x),Ee.y=.5*(J.y+xe.y)},bs=function(){return 1-Math.abs((K.y-R.currItem.initialPosition.y)/(de.y/2))},Ei={},fh={},Wi=[],uu=function(J){for(;Wi.length>0;)Wi.pop();return _t?(zr=0,Xr.forEach(function(xe){0===zr?Wi[0]=xe:1===zr&&(Wi[1]=xe),zr++})):J.type.indexOf("touch")>-1?J.touches&&J.touches.length>0&&(Wi[0]=Ho(J.touches[0],Ei),J.touches.length>1&&(Wi[1]=Ho(J.touches[1],fh))):(Ei.x=J.pageX,Ei.y=J.pageY,Ei.id="",Wi[0]=Ei),Wi},Da=function(J,xe){var Ee,wt,Kt,Xn,bt=K[J]+xe[J],Ai=ao.x+xe.x,Di=ao.x-aa.x;if(bt=K[J]+xe[J]*(Ee=bt>Ui.min[J]||bt<Ui.max[J]?j.panEndFriction:1),(j.allowPanToNext||me===R.currItem.initialZoomLevel)&&(di?"h"===De&&"x"===J&&!rn&&(xe[J]>0?(bt>Ui.min[J]&&(Ee=j.panEndFriction,wt=Ui.min[J]-ie[J]),(wt<=0||Di<0)&&Nr()>1?(Xn=Ai,Di<0&&Ai>aa.x&&(Xn=aa.x)):Ui.min.x!==Ui.max.x&&(Kt=bt)):(bt<Ui.max[J]&&(Ee=j.panEndFriction,wt=ie[J]-Ui.max[J]),(wt<=0||Di>0)&&Nr()>1?(Xn=Ai,Di>0&&Ai<aa.x&&(Xn=aa.x)):Ui.min.x!==Ui.max.x&&(Kt=bt))):Xn=Ai,"x"===J))return void 0!==Xn&&(Po(Xn,!0),ro=Xn!==aa.x),Ui.min.x!==Ui.max.x&&(void 0!==Kt?K.x=Kt:ro||(K.x+=xe.x*Ee)),void 0!==Xn;Pt||ro||me>R.currItem.fitRatio&&(K[J]+=xe[J]*Ee)},zn=function(J){if(!("mousedown"===J.type&&J.button>0)){if(ys)return void J.preventDefault();if(!Ol||"mousedown"!==J.type){if(cd(J,!0)&&J.preventDefault(),Oi("pointerDown"),_t){var xe=B.arraySearch(Xr,J.pointerId,"id");xe<0&&(xe=Xr.length),Xr[xe]={x:J.pageX,y:J.pageY,id:J.pointerId}}var Ee=uu(J),Me=Ee.length;In=null,ka(),(!cn||1===Me)&&(cn=li=!0,B.bind(window,oe,R),fr=ji=tt=pt=ro=rr=Rn=rn=!1,De=null,Oi("firstTouchStart",Ee),We(ie,K),le.x=le.y=0,We(gn,Ee[0]),We(Hr,gn),aa.x=Xt.x*mt,Fo=[{x:gn.x,y:gn.y}],gs=nr=Ji(),Ha(me,!0),hc(),ol()),!en&&Me>1&&!Pt&&!ro&&(ge=me,rn=!1,en=Rn=!0,le.y=le.x=0,We(ie,K),We(vi,Ee[0]),We(br,Ee[1]),mh(vi,br,$e),Ir.x=Math.abs($e.x)-K.x,Ir.y=Math.abs($e.y)-K.y,Yi=Ci(vi,br))}}},sl=function(J){if(J.preventDefault(),_t){var xe=B.arraySearch(Xr,J.pointerId,"id");if(xe>-1){var Ee=Xr[xe];Ee.x=J.pageX,Ee.y=J.pageY}}if(cn){var Me=uu(J);if(De||rr||en)In=Me;else if(ao.x!==Xt.x*mt)De="h";else{var bt=Math.abs(Me[0].x-gn.x)-Math.abs(Me[0].y-gn.y);Math.abs(bt)>=10&&(De=bt>0?"h":"v",In=Me)}}},Lm=function(){if(In){var J=In.length;if(0!==J)if(We(vi,In[0]),ln.x=vi.x-gn.x,ln.y=vi.y-gn.y,en&&J>1){if(gn.x=vi.x,gn.y=vi.y,!ln.x&&!ln.y&&function(J,xe){return J.x===xe.x&&J.y===xe.y}(In[1],br))return;We(br,In[1]),rn||(rn=!0,Oi("zoomGestureStarted"));var xe=Ci(vi,br),Ee=Vo(xe);Ee>R.currItem.initialZoomLevel+R.currItem.initialZoomLevel/15&&(ji=!0);var Me=1,bt=Br(),wt=xr();if(Ee<bt)if(j.pinchToClose&&!ji&&ge<=R.currItem.initialZoomLevel){var Ai=1-(bt-Ee)/(bt/1.2);Ri(Ai),Oi("onPinchClose",Ai),tt=!0}else(Me=(bt-Ee)/bt)>1&&(Me=1),Ee=bt-Me*(bt/3);else Ee>wt&&((Me=(Ee-wt)/(6*bt))>1&&(Me=1),Ee=wt+Me*bt);Me<0&&(Me=0),mh(vi,br,Bo),le.x+=Bo.x-$e.x,le.y+=Bo.y-$e.y,We($e,Bo),K.x=Ue("x",Ee),K.y=Ue("y",Ee),fr=Ee>me,me=Ee,Pr()}else{if(!De||(li&&(li=!1,Math.abs(ln.x)>=10&&(ln.x-=In[0].x-Hr.x),Math.abs(ln.y)>=10&&(ln.y-=In[0].y-Hr.y)),gn.x=vi.x,gn.y=vi.y,0===ln.x&&0===ln.y))return;if("v"===De&&j.closeOnVerticalDrag&&"fit"===j.scaleMode&&me===R.currItem.initialZoomLevel){le.y+=ln.y,K.y+=ln.y;var Di=bs();return pt=!0,Oi("onVerticalDrag",Di),Ri(Di),void Pr()}(function(J,xe,Ee){if(J-gs>50){var Me=Fo.length>2?Fo.shift():{};Me.x=xe,Me.y=Ee,Fo.push(Me),gs=J}})(Ji(),vi.x,vi.y),rr=!0,Ui=R.currItem.bounds,Da("x",ln)||(Da("y",ln),pn(K),Pr())}}},fc=function(J){if(oi.isOldAndroid){if(Ol&&"mouseup"===J.type)return;J.type.indexOf("touch")>-1&&(clearTimeout(Ol),Ol=setTimeout(function(){Ol=0},600))}var xe;if(Oi("pointerUp"),cd(J,!1)&&J.preventDefault(),_t){var Ee=B.arraySearch(Xr,J.pointerId,"id");Ee>-1&&(xe=Xr.splice(Ee,1)[0],navigator.msPointerEnabled?(xe.type={4:"mouse",2:"touch",3:"pen"}[J.pointerType],xe.type||(xe.type=J.pointerType||"mouse")):xe.type=J.pointerType||"mouse")}var wt,bt=uu(J),ki=bt.length;if("mouseup"===J.type&&(ki=0),2===ki)return In=null,!0;1===ki&&We(Hr,bt[0]),0===ki&&!De&&!Pt&&(xe||("mouseup"===J.type?xe={x:J.pageX,y:J.pageY,type:"mouse"}:J.changedTouches&&J.changedTouches[0]&&(xe={x:J.changedTouches[0].pageX,y:J.changedTouches[0].pageY,type:"touch"})),Oi("touchRelease",J,xe));var Ai=-1;if(0===ki&&(cn=!1,B.unbind(window,oe,R),hc(),en?Ai=0:-1!==sd&&(Ai=Ji()-sd)),sd=1===ki?Ji():-1,wt=-1!==Ai&&Ai<150?"zoom":"swipe",en&&ki<2&&(en=!1,1===ki&&(wt="zoomPointerUp"),Oi("zoomGestureEnded")),In=null,rr||rn||Pt||pt){if(ka(),io||(io=Qe()),io.calculateSwipeSpeed("x"),pt){if(bs()<j.verticalDragRange)R.close();else{var Kt=K.y,Xn=gr;Ya("verticalDrag",0,1,300,B.easing.cubic.out,function(Go){K.y=(R.currItem.initialPosition.y-Kt)*Go+Kt,Ri((1-Xn)*Go+Xn),Pr()}),Oi("onVerticalDrag",1)}return}if((ro||Pt)&&0===ki){if(St(wt,io))return;wt="zoomPointerUp"}if(!Pt){if("swipe"!==wt)return void ph();!ro&&me>R.currItem.fitRatio&&pc(io)}}},Qe=function(){var J,xe,Ee={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(Me){Fo.length>1?(J=Ji()-gs+50,xe=Fo[Fo.length-2][Me]):(J=Ji()-nr,xe=Hr[Me]),Ee.lastFlickOffset[Me]=gn[Me]-xe,Ee.lastFlickDist[Me]=Math.abs(Ee.lastFlickOffset[Me]),Ee.lastFlickSpeed[Me]=Ee.lastFlickDist[Me]>20?Ee.lastFlickOffset[Me]/J:0,Math.abs(Ee.lastFlickSpeed[Me])<.1&&(Ee.lastFlickSpeed[Me]=0),Ee.slowDownRatio[Me]=.95,Ee.slowDownRatioReverse[Me]=1-Ee.slowDownRatio[Me],Ee.speedDecelerationRatio[Me]=1},calculateOverBoundsAnimOffset:function(Me,bt){Ee.backAnimStarted[Me]||(K[Me]>Ui.min[Me]?Ee.backAnimDestination[Me]=Ui.min[Me]:K[Me]<Ui.max[Me]&&(Ee.backAnimDestination[Me]=Ui.max[Me]),void 0!==Ee.backAnimDestination[Me]&&(Ee.slowDownRatio[Me]=.7,Ee.slowDownRatioReverse[Me]=1-Ee.slowDownRatio[Me],Ee.speedDecelerationRatioAbs[Me]<.05&&(Ee.lastFlickSpeed[Me]=0,Ee.backAnimStarted[Me]=!0,Ya("bounceZoomPan"+Me,K[Me],Ee.backAnimDestination[Me],bt||300,B.easing.sine.out,function(wt){K[Me]=wt,Pr()}))))},calculateAnimOffset:function(Me){Ee.backAnimStarted[Me]||(Ee.speedDecelerationRatio[Me]=Ee.speedDecelerationRatio[Me]*(Ee.slowDownRatio[Me]+Ee.slowDownRatioReverse[Me]-Ee.slowDownRatioReverse[Me]*Ee.timeDiff/10),Ee.speedDecelerationRatioAbs[Me]=Math.abs(Ee.lastFlickSpeed[Me]*Ee.speedDecelerationRatio[Me]),Ee.distanceOffset[Me]=Ee.lastFlickSpeed[Me]*Ee.speedDecelerationRatio[Me]*Ee.timeDiff,K[Me]+=Ee.distanceOffset[Me])},panAnimLoop:function(){if(la.zoomPan&&(la.zoomPan.raf=ht(Ee.panAnimLoop),Ee.now=Ji(),Ee.timeDiff=Ee.now-Ee.lastNow,Ee.lastNow=Ee.now,Ee.calculateAnimOffset("x"),Ee.calculateAnimOffset("y"),Pr(),Ee.calculateOverBoundsAnimOffset("x"),Ee.calculateOverBoundsAnimOffset("y"),Ee.speedDecelerationRatioAbs.x<.05&&Ee.speedDecelerationRatioAbs.y<.05))return K.x=Math.round(K.x),K.y=Math.round(K.y),Pr(),void Va("zoomPan")}};return Ee},pc=function(J){if(J.calculateSwipeSpeed("y"),Ui=R.currItem.bounds,J.backAnimDestination={},J.backAnimStarted={},Math.abs(J.lastFlickSpeed.x)<=.05&&Math.abs(J.lastFlickSpeed.y)<=.05)return J.speedDecelerationRatioAbs.x=J.speedDecelerationRatioAbs.y=0,J.calculateOverBoundsAnimOffset("x"),J.calculateOverBoundsAnimOffset("y"),!0;Yt("zoomPan"),J.lastNow=Ji(),J.panAnimLoop()},St=function(J,xe){var Ee,Me,ki;if(Pt||(pr=G),"swipe"===J){var bt=gn.x-Hr.x,wt=xe.lastFlickDist.x<10;bt>30&&(wt||xe.lastFlickOffset.x>20)?Me=-1:bt<-30&&(wt||xe.lastFlickOffset.x<-20)&&(Me=1)}Me&&((G+=Me)<0?(G=j.loop?Nr()-1:0,ki=!0):G>=Nr()&&(G=j.loop?0:Nr()-1,ki=!0),(!ki||j.loop)&&(He+=Me,mt-=Me,Ee=!0));var Kt,Ai=Xt.x*mt,Di=Math.abs(Ai-ao.x);return Ee||Ai>ao.x==xe.lastFlickSpeed.x>0?(Kt=Math.abs(xe.lastFlickSpeed.x)>0?Di/Math.abs(xe.lastFlickSpeed.x):333,Kt=Math.min(Kt,400),Kt=Math.max(Kt,250)):Kt=333,pr===G&&(Ee=!1),Pt=!0,Oi("mainScrollAnimStart"),Ya("mainScroll",ao.x,Ai,Kt,B.easing.cubic.out,Po,function(){ka(),Pt=!1,pr=-1,(Ee||pr!==G)&&R.updateCurrItem(),Oi("mainScrollAnimComplete")}),Ee&&R.updateCurrItem(!0),Ee},Vo=function(J){return 1/Yi*J*ge},ph=function(){var J=me,xe=Br(),Ee=xr();me<xe?J=xe:me>Ee&&(J=Ee);var bt,wt=gr;return tt&&!fr&&!ji&&me<xe?(R.close(),!0):(tt&&(bt=function(ki){Ri((1-wt)*ki+wt)}),R.zoomTo(J,0,200,B.easing.cubic.out,bt),!0)};Vi("Gestures",{publicMethods:{initGestures:function(){var J=function(xe,Ee,Me,bt,wt){yi=xe+Ee,nt=xe+Me,Jt=xe+bt,Ut=wt?xe+wt:""};(_t=oi.pointerEvent)&&oi.touch&&(oi.touch=!1),_t?navigator.msPointerEnabled?J("MSPointer","Down","Move","Up","Cancel"):J("pointer","down","move","up","cancel"):oi.touch?(J("touch","start","move","end","cancel"),Tn=!0):J("mouse","down","move","up"),oe=nt+" "+Jt+" "+Ut,he=yi,_t&&!Tn&&(Tn=navigator.maxTouchPoints>1||navigator.msMaxTouchPoints>1),R.likelyTouchDevice=Tn,ae[yi]=zn,ae[nt]=sl,ae[Jt]=fc,Ut&&(ae[Ut]=ae[Jt]),oi.touch&&(he+=" mousedown",oe+=" mousemove mouseup",ae.mousedown=ae[yi],ae.mousemove=ae[nt],ae.mouseup=ae[Jt]),Tn||(j.allowPanToNext=!1)}}});var Lr,ns,Rl,ys,ci,Nr,gc=function(J,xe,Ee,Me){var bt;Lr&&clearTimeout(Lr),ys=!0,Rl=!0,J.initialLayout?(bt=J.initialLayout,J.initialLayout=null):bt=j.getThumbBoundsFn&&j.getThumbBoundsFn(G);var Di,Kt,wt=Ee?j.hideAnimationDuration:j.showAnimationDuration,ki=function(){Va("initialZoom"),Ee?(R.template.removeAttribute("style"),R.bg.removeAttribute("style")):(Ri(1),xe&&(xe.style.display="block"),B.addClass(b,"pswp--animated-in"),Oi("initialZoom"+(Ee?"OutEnd":"InEnd"))),Me&&Me(),ys=!1};if(!wt||!bt||void 0===bt.x)return Oi("initialZoom"+(Ee?"Out":"In")),me=J.initialZoomLevel,We(K,J.initialPosition),Pr(),b.style.opacity=Ee?0:1,Ri(1),void(wt?setTimeout(function(){ki()},wt):ki());Di=ne,Kt=!R.currItem.src||R.currItem.loadError||j.showHideOpacity,J.miniImg&&(J.miniImg.style.webkitBackfaceVisibility="hidden"),Ee||(me=bt.w/J.w,K.x=bt.x,K.y=bt.y-at,R[Kt?"template":"bg"].style.opacity=.001,Pr()),Yt("initialZoom"),Ee&&!Di&&B.removeClass(b,"pswp--animated-in"),Kt&&(Ee?B[(Di?"remove":"add")+"Class"](b,"pswp--animate_opacity"):setTimeout(function(){B.addClass(b,"pswp--animate_opacity")},30)),Lr=setTimeout(function(){if(Oi("initialZoom"+(Ee?"Out":"In")),Ee){var Xn=bt.w/J.w,qe={x:K.x,y:K.y},Go=me,ws=gr,Sa=function(Dt){1===Dt?(me=Xn,K.x=bt.x,K.y=bt.y-$t):(me=(Xn-Go)*Dt+Go,K.x=(bt.x-qe.x)*Dt+qe.x,K.y=(bt.y-$t-qe.y)*Dt+qe.y),Pr(),Kt?b.style.opacity=1-Dt:Ri(ws-Dt*ws)};Di?Ya("initialZoom",0,1,wt,B.easing.cubic.out,Sa,ki):(Sa(1),Lr=setTimeout(ki,wt+20))}else me=J.initialZoomLevel,We(K,J.initialPosition),Pr(),Ri(1),Kt?b.style.opacity=1:Ri(1),Lr=setTimeout(ki,wt+20)},Ee?25:90)},lo={},Yo=[],Si={index:0,errorMsg:'<div class="pswp__error-msg"><a href="%url%" target="_blank">The image</a> could not be loaded.</div>',forceProgressiveLoading:!1,preload:[1,1],getNumItemsFn:function(){return ns.length}},tn=function(J,xe,Ee){if(J.src&&!J.loadError){var Me=!Ee;if(Me&&(J.vGap||(J.vGap={top:0,bottom:0}),Oi("parseVerticalMargin",J)),lo.x=xe.x,lo.y=xe.y-J.vGap.top-J.vGap.bottom,Me){var bt=lo.x/J.w,wt=lo.y/J.h;J.fitRatio=bt<wt?bt:wt;var ki=j.scaleMode;"orig"===ki?Ee=1:"fit"===ki&&(Ee=J.fitRatio),Ee>1&&(Ee=1),J.initialZoomLevel=Ee,J.bounds||(J.bounds={center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}})}return Ee?(function(J,xe,Ee){var Me=J.bounds;Me.center.x=Math.round((lo.x-xe)/2),Me.center.y=Math.round((lo.y-Ee)/2)+J.vGap.top,Me.max.x=xe>lo.x?Math.round(lo.x-xe):Me.center.x,Me.max.y=Ee>lo.y?Math.round(lo.y-Ee)+J.vGap.top:Me.center.y,Me.min.x=xe>lo.x?0:Me.center.x,Me.min.y=Ee>lo.y?J.vGap.top:Me.center.y}(J,J.w*Ee,J.h*Ee),Me&&Ee===J.initialZoomLevel&&(J.initialPosition=J.bounds.center),J.bounds):void 0}return J.w=J.h=0,J.initialZoomLevel=J.fitRatio=1,J.bounds={center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}},J.initialPosition=J.bounds.center,J.bounds},Pi=function(J,xe,Ee,Me,bt,wt){xe.loadError||Me&&(xe.imageAppended=!0,ll(xe,Me,xe===R.currItem&&un),Ee.appendChild(Me),wt&&setTimeout(function(){xe&&xe.loaded&&xe.placeholder&&(xe.placeholder.style.display="none",xe.placeholder=null)},500))},jo=function(J){J.loading=!0,J.loaded=!1;var xe=J.img=B.createEl("pswp__img","img"),Ee=function(){J.loading=!1,J.loaded=!0,J.loadComplete?J.loadComplete(J):J.img=null,xe.onload=xe.onerror=null,xe=null};return xe.onload=Ee,xe.onerror=function(){J.loadError=!0,Ee()},xe.src=J.src,xe},_c=function(J,xe){if(J.src&&J.loadError&&J.container)return xe&&(J.container.innerHTML=""),J.container.innerHTML=j.errorMsg.replace("%url%",J.src),!0},ll=function(J,xe,Ee){if(J.src){xe||(xe=J.container.lastChild);var Me=Ee?J.w:Math.round(J.w*J.fitRatio),bt=Ee?J.h:Math.round(J.h*J.fitRatio);J.placeholder&&!J.loaded&&(J.placeholder.style.width=Me+"px",J.placeholder.style.height=bt+"px"),xe.style.width=Me+"px",xe.style.height=bt+"px"}},za=function(){if(Yo.length){for(var J,xe=0;xe<Yo.length;xe++)(J=Yo[xe]).holder.index===J.index&&Pi(0,J.item,J.baseDiv,J.img,0,J.clearPlaceholder);Yo=[]}};Vi("Controller",{publicMethods:{lazyLoadItem:function(J){J=fa(J);var xe=ci(J);!xe||(xe.loaded||xe.loading)&&!st||(Oi("gettingData",J,xe),xe.src&&jo(xe))},initController:function(){B.extend(j,Si,!0),R.items=ns=D,ci=R.getItemAt,(Nr=j.getNumItemsFn)()<3&&(j.loop=!1),fn("beforeChange",function(J){var wt,xe=j.preload,Ee=null===J||J>=0,Me=Math.min(xe[0],Nr()),bt=Math.min(xe[1],Nr());for(wt=1;wt<=(Ee?bt:Me);wt++)R.lazyLoadItem(G+wt);for(wt=1;wt<=(Ee?Me:bt);wt++)R.lazyLoadItem(G-wt)}),fn("initialLayout",function(){R.currItem.initialLayout=j.getThumbBoundsFn&&j.getThumbBoundsFn(G)}),fn("mainScrollAnimComplete",za),fn("initialZoomInEnd",za),fn("destroy",function(){for(var J,xe=0;xe<ns.length;xe++)(J=ns[xe]).container&&(J.container=null),J.placeholder&&(J.placeholder=null),J.img&&(J.img=null),J.preloader&&(J.preloader=null),J.loadError&&(J.loaded=J.loadError=!1);Yo=null})},getItemAt:function(J){return J>=0&&void 0!==ns[J]&&ns[J]},allowProgressiveImg:function(){return j.forceProgressiveLoading||!Tn||j.mouseUsed||screen.width>1200},setContent:function(J,xe){j.loop&&(xe=fa(xe));var Ee=R.getItemAt(J.index);Ee&&(Ee.container=null);var bt,Me=R.getItemAt(xe);if(Me){Oi("gettingData",xe,Me),J.index=xe,J.item=Me;var wt=Me.container=B.createEl("pswp__zoom-wrap");if(!Me.src&&Me.html&&(Me.html.tagName?wt.appendChild(Me.html):wt.innerHTML=Me.html),_c(Me),tn(Me,de),!Me.src||Me.loadError||Me.loaded)Me.src&&!Me.loadError&&((bt=B.createEl("pswp__img","img")).style.opacity=1,bt.src=Me.src,ll(Me,bt),Pi(0,Me,wt,bt));else{if(Me.loadComplete=function(Di){if(re){if(J&&J.index===xe){if(_c(Di,!0))return Di.loadComplete=Di.img=null,tn(Di,de),mr(Di),void(J.index===G&&R.updateCurrZoomItem());Di.imageAppended?!ys&&Di.placeholder&&(Di.placeholder.style.display="none",Di.placeholder=null):oi.transform&&(Pt||ys)?Yo.push({item:Di,baseDiv:wt,img:Di.img,index:xe,holder:J,clearPlaceholder:!0}):Pi(0,Di,wt,Di.img,0,!0)}Di.loadComplete=null,Di.img=null,Oi("imageLoadComplete",xe,Di)}},B.features.transform){var ki="pswp__img pswp__img--placeholder",Ai=B.createEl(ki+=Me.msrc?"":" pswp__img--placeholder--blank",Me.msrc?"img":"");Me.msrc&&(Ai.src=Me.msrc),ll(Me,Ai),wt.appendChild(Ai),Me.placeholder=Ai}Me.loading||jo(Me),R.allowProgressiveImg()&&(!Rl&&oi.transform?Yo.push({item:Me,baseDiv:wt,img:Me.img,index:xe,holder:J}):Pi(0,Me,wt,Me.img,0,!0))}Rl||xe!==G?mr(Me):(di=wt.style,gc(Me,bt||Me.img)),J.el.innerHTML="",J.el.appendChild(wt)}else J.el.innerHTML=""},cleanSlide:function(J){J.img&&(J.img.onload=J.img.onerror=null),J.loaded=J.loading=J.img=J.imageAppended=!1}}});var zo,Ma,So={},Vr=function(J,xe,Ee){var Me=document.createEvent("CustomEvent");Me.initCustomEvent("pswpTap",!0,!0,{origEvent:J,target:J.target,releasePoint:xe,pointerType:Ee||"touch"}),J.target.dispatchEvent(Me)};Vi("Tap",{publicMethods:{initTap:function(){fn("firstTouchStart",R.onTapStart),fn("touchRelease",R.onTapRelease),fn("destroy",function(){So={},zo=null})},onTapStart:function(J){J.length>1&&(clearTimeout(zo),zo=null)},onTapRelease:function(J,xe){if(xe&&!rr&&!Rn&&!sn){var Ee=xe;if(zo&&(clearTimeout(zo),zo=null,function(J,xe){return Math.abs(J.x-xe.x)<25&&Math.abs(J.y-xe.y)<25}(Ee,So)))return void Oi("doubleTap",Ee);if("mouse"===xe.type)return void Vr(J,xe,"mouse");if("BUTTON"===J.target.tagName.toUpperCase()||B.hasClass(J.target,"pswp__single-tap"))return void Vr(J,xe);We(So,Ee),zo=setTimeout(function(){Vr(J,xe),zo=null},300)}}}}),Vi("DesktopZoom",{publicMethods:{initDesktopZoom:function(){fi||(Tn?fn("mouseUsed",function(){R.setupDesktopZoom()}):R.setupDesktopZoom(!0))},setupDesktopZoom:function(J){Ma={};var xe="wheel mousewheel DOMMouseScroll";fn("bindEvents",function(){B.bind(b,xe,R.handleMouseWheel)}),fn("unbindEvents",function(){Ma&&B.unbind(b,xe,R.handleMouseWheel)}),R.mouseZoomedIn=!1;var Ee,Me=function(){R.mouseZoomedIn&&(B.removeClass(b,"pswp--zoomed-in"),R.mouseZoomedIn=!1),me<1?B.addClass(b,"pswp--zoom-allowed"):B.removeClass(b,"pswp--zoom-allowed"),bt()},bt=function(){Ee&&(B.removeClass(b,"pswp--dragging"),Ee=!1)};fn("resize",Me),fn("afterChange",Me),fn("pointerDown",function(){R.mouseZoomedIn&&(Ee=!0,B.addClass(b,"pswp--dragging"))}),fn("pointerUp",bt),J||Me()},handleMouseWheel:function(J){if(me<=R.currItem.fitRatio)return j.modal&&(!j.closeOnScroll||sn||cn?J.preventDefault():Fn&&Math.abs(J.deltaY)>2&&(ne=!0,R.close())),!0;if(J.stopPropagation(),Ma.x=0,"deltaX"in J)1===J.deltaMode?(Ma.x=18*J.deltaX,Ma.y=18*J.deltaY):(Ma.x=J.deltaX,Ma.y=J.deltaY);else if("wheelDelta"in J)J.wheelDeltaX&&(Ma.x=-.16*J.wheelDeltaX),Ma.y=J.wheelDeltaY?-.16*J.wheelDeltaY:-.16*J.wheelDelta;else{if(!("detail"in J))return;Ma.y=J.detail}Ha(me,!0);var xe=K.x-Ma.x,Ee=K.y-Ma.y;(j.modal||xe<=Ui.min.x&&xe>=Ui.max.x&&Ee<=Ui.min.y&&Ee>=Ui.max.y)&&J.preventDefault(),R.panTo(xe,Ee)},toggleDesktopZoom:function(J){J=J||{x:de.x/2+At.x,y:de.y/2+At.y};var xe=j.getDoubleTapZoom(!0,R.currItem),Ee=me===xe;R.mouseZoomedIn=!Ee,R.zoomTo(Ee?R.currItem.initialZoomLevel:xe,J,333),B[(Ee?"remove":"add")+"Class"](b,"pswp--zoomed-in")}}});var Uo,To,En,wi,Fe,ar,ei,Wo,Pl,Os,xo,Bl,cl={history:!0,galleryUID:1},Hl=function(){return xo.hash.substring(1)},Ea=function(){Uo&&clearTimeout(Uo),En&&clearTimeout(En)},co=function(){var J=Hl(),xe={};if(J.length<5)return xe;var Ee,Me=J.split("&");for(Ee=0;Ee<Me.length;Ee++)if(Me[Ee]){var bt=Me[Ee].split("=");bt.length<2||(xe[bt[0]]=bt[1])}if(j.galleryPIDs){var wt=xe.pid;for(xe.pid=0,Ee=0;Ee<ns.length;Ee++)if(ns[Ee].pid===wt){xe.pid=Ee;break}}else xe.pid=parseInt(xe.pid,10)-1;return xe.pid<0&&(xe.pid=0),xe},bc=function(){if(En&&clearTimeout(En),sn||cn)En=setTimeout(bc,500);else{wi?clearTimeout(To):wi=!0;var J=G+1,xe=ci(G);xe.hasOwnProperty("pid")&&(J=xe.pid);var Ee=ei+"&gid="+j.galleryUID+"&pid="+J;Wo||-1===xo.hash.indexOf(Ee)&&(Os=!0);var Me=xo.href.split("#")[0]+"#"+Ee;Bl?"#"+Ee!==window.location.hash&&history[Wo?"replaceState":"pushState"]("",document.title,Me):Wo?xo.replace(Me):xo.hash=Ee,Wo=!0,To=setTimeout(function(){wi=!1},60)}};Vi("History",{publicMethods:{initHistory:function(){if(B.extend(j,cl,!0),j.history){xo=window.location,Os=!1,Pl=!1,Wo=!1,ei=Hl(),Bl="pushState"in history,ei.indexOf("gid=")>-1&&(ei=(ei=ei.split("&gid=")[0]).split("?gid=")[0]),fn("afterChange",R.updateURL),fn("unbindEvents",function(){B.unbind(window,"hashchange",R.onHashChange)});var J=function(){ar=!0,Pl||(Os?history.back():ei?xo.hash=ei:Bl?history.pushState("",document.title,xo.pathname+xo.search):xo.hash=""),Ea()};fn("unbindEvents",function(){ne&&J()}),fn("destroy",function(){ar||J()}),fn("firstUpdate",function(){G=co().pid});var xe=ei.indexOf("pid=");xe>-1&&"&"===(ei=ei.substring(0,xe)).slice(-1)&&(ei=ei.slice(0,-1)),setTimeout(function(){re&&B.bind(window,"hashchange",R.onHashChange)},40)}},onHashChange:function(){if(Hl()===ei)return Pl=!0,void R.close();wi||(Fe=!0,R.goTo(co().pid),Fe=!1)},updateURL:function(){Ea(),!Fe&&(Wo?Uo=setTimeout(bc,800):bc())}}}),B.extend(R,jt)}},void 0!==(g=T.call(A,I,A,ve))&&(ve.exports=g)},2844:ve=>{var A=String,I=function(){return{isColorSupported:!1,reset:A,bold:A,dim:A,italic:A,underline:A,inverse:A,hidden:A,strikethrough:A,black:A,red:A,green:A,yellow:A,blue:A,magenta:A,cyan:A,white:A,gray:A,bgBlack:A,bgRed:A,bgGreen:A,bgYellow:A,bgBlue:A,bgMagenta:A,bgCyan:A,bgWhite:A}};ve.exports=I(),ve.exports.createColors=I},1083:(ve,A,I)=>{"use strict";let T=I(4185);class g extends T{constructor(b){super(b),this.type="atrule"}append(...b){return this.proxyOf.nodes||(this.nodes=[]),super.append(...b)}prepend(...b){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...b)}}ve.exports=g,g.default=g,T.registerAtRule(g)},94:(ve,A,I)=>{"use strict";let T=I(2491);class g extends T{constructor(b){super(b),this.type="comment"}}ve.exports=g,g.default=g},4185:(ve,A,I)=>{"use strict";let D,L,B,R,{isClean:T,my:g}=I(8842),y=I(4820),b=I(94),C=I(2491);function U(V){return V.map(re=>(re.nodes&&(re.nodes=U(re.nodes)),delete re.source,re))}function Z(V){if(V[T]=!1,V.proxyOf.nodes)for(let re of V.proxyOf.nodes)Z(re)}let j=(()=>{class V extends C{push(W){return W.parent=this,this.proxyOf.nodes.push(W),this}each(W){if(!this.proxyOf.nodes)return;let G,z,ne=this.getIterator();for(;this.indexes[ne]<this.proxyOf.nodes.length&&(G=this.indexes[ne],z=W(this.proxyOf.nodes[G],G),!1!==z);)this.indexes[ne]+=1;return delete this.indexes[ne],z}walk(W){return this.each((ne,G)=>{let z;try{z=W(ne,G)}catch(ce){throw ne.addToError(ce)}return!1!==z&&ne.walk&&(z=ne.walk(W)),z})}walkDecls(W,ne){return ne?W instanceof RegExp?this.walk((G,z)=>{if("decl"===G.type&&W.test(G.prop))return ne(G,z)}):this.walk((G,z)=>{if("decl"===G.type&&G.prop===W)return ne(G,z)}):(ne=W,this.walk((G,z)=>{if("decl"===G.type)return ne(G,z)}))}walkRules(W,ne){return ne?W instanceof RegExp?this.walk((G,z)=>{if("rule"===G.type&&W.test(G.selector))return ne(G,z)}):this.walk((G,z)=>{if("rule"===G.type&&G.selector===W)return ne(G,z)}):(ne=W,this.walk((G,z)=>{if("rule"===G.type)return ne(G,z)}))}walkAtRules(W,ne){return ne?W instanceof RegExp?this.walk((G,z)=>{if("atrule"===G.type&&W.test(G.name))return ne(G,z)}):this.walk((G,z)=>{if("atrule"===G.type&&G.name===W)return ne(G,z)}):(ne=W,this.walk((G,z)=>{if("atrule"===G.type)return ne(G,z)}))}walkComments(W){return this.walk((ne,G)=>{if("comment"===ne.type)return W(ne,G)})}append(...W){for(let ne of W){let G=this.normalize(ne,this.last);for(let z of G)this.proxyOf.nodes.push(z)}return this.markDirty(),this}prepend(...W){W=W.reverse();for(let ne of W){let G=this.normalize(ne,this.first,"prepend").reverse();for(let z of G)this.proxyOf.nodes.unshift(z);for(let z in this.indexes)this.indexes[z]=this.indexes[z]+G.length}return this.markDirty(),this}cleanRaws(W){if(super.cleanRaws(W),this.nodes)for(let ne of this.nodes)ne.cleanRaws(W)}insertBefore(W,ne){let le,G=this.index(W),ce=this.normalize(ne,this.proxyOf.nodes[G],0===G&&"prepend").reverse();G=this.index(W);for(let ie of ce)this.proxyOf.nodes.splice(G,0,ie);for(let ie in this.indexes)le=this.indexes[ie],G<=le&&(this.indexes[ie]=le+ce.length);return this.markDirty(),this}insertAfter(W,ne){let ce,G=this.index(W),z=this.normalize(ne,this.proxyOf.nodes[G]).reverse();G=this.index(W);for(let le of z)this.proxyOf.nodes.splice(G+1,0,le);for(let le in this.indexes)ce=this.indexes[le],G<ce&&(this.indexes[le]=ce+z.length);return this.markDirty(),this}removeChild(W){let ne;W=this.index(W),this.proxyOf.nodes[W].parent=void 0,this.proxyOf.nodes.splice(W,1);for(let G in this.indexes)ne=this.indexes[G],ne>=W&&(this.indexes[G]=ne-1);return this.markDirty(),this}removeAll(){for(let W of this.proxyOf.nodes)W.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(W,ne,G){return G||(G=ne,ne={}),this.walkDecls(z=>{ne.props&&!ne.props.includes(z.prop)||ne.fast&&!z.value.includes(ne.fast)||(z.value=z.value.replace(W,G))}),this.markDirty(),this}every(W){return this.nodes.every(W)}some(W){return this.nodes.some(W)}index(W){return"number"==typeof W?W:(W.proxyOf&&(W=W.proxyOf),this.proxyOf.nodes.indexOf(W))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(W,ne){if("string"==typeof W)W=U(D(W).nodes);else if(Array.isArray(W)){W=W.slice(0);for(let z of W)z.parent&&z.parent.removeChild(z,"ignore")}else if("root"===W.type&&"document"!==this.type){W=W.nodes.slice(0);for(let z of W)z.parent&&z.parent.removeChild(z,"ignore")}else if(W.type)W=[W];else if(W.prop){if(typeof W.value>"u")throw new Error("Value field is missed in node creation");"string"!=typeof W.value&&(W.value=String(W.value)),W=[new y(W)]}else if(W.selector)W=[new L(W)];else if(W.name)W=[new B(W)];else{if(!W.text)throw new Error("Unknown node type in node creation");W=[new b(W)]}return W.map(z=>(z[g]||V.rebuild(z),(z=z.proxyOf).parent&&z.parent.removeChild(z),z[T]&&Z(z),typeof z.raws.before>"u"&&ne&&typeof ne.raws.before<"u"&&(z.raws.before=ne.raws.before.replace(/\S/g,"")),z.parent=this.proxyOf,z))}getProxyProcessor(){return{set:(W,ne,G)=>(W[ne]===G||(W[ne]=G,("name"===ne||"params"===ne||"selector"===ne)&&W.markDirty()),!0),get:(W,ne)=>"proxyOf"===ne?W:W[ne]?"each"===ne||"string"==typeof ne&&ne.startsWith("walk")?(...G)=>W[ne](...G.map(z=>"function"==typeof z?(ce,le)=>z(ce.toProxy(),le):z)):"every"===ne||"some"===ne?G=>W[ne]((z,...ce)=>G(z.toProxy(),...ce)):"root"===ne?()=>W.root().toProxy():"nodes"===ne?W.nodes.map(G=>G.toProxy()):"first"===ne||"last"===ne?W[ne].toProxy():W[ne]:W[ne]}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let W=this.lastEach;return this.indexes[W]=0,W}}return V.registerParse=re=>{D=re},V.registerRule=re=>{L=re},V.registerAtRule=re=>{B=re},V.registerRoot=re=>{R=re},V})();ve.exports=j,j.default=j,j.rebuild=V=>{"atrule"===V.type?Object.setPrototypeOf(V,B.prototype):"rule"===V.type?Object.setPrototypeOf(V,L.prototype):"decl"===V.type?Object.setPrototypeOf(V,y.prototype):"comment"===V.type?Object.setPrototypeOf(V,b.prototype):"root"===V.type&&Object.setPrototypeOf(V,R.prototype),V[g]=!0,V.nodes&&V.nodes.forEach(re=>{j.rebuild(re)})}},5490:(ve,A,I)=>{"use strict";let T=I(2844),g=I(2868);class y extends Error{constructor(C,D,L,B,R,U){super(C),this.name="CssSyntaxError",this.reason=C,R&&(this.file=R),B&&(this.source=B),U&&(this.plugin=U),typeof D<"u"&&typeof L<"u"&&("number"==typeof D?(this.line=D,this.column=L):(this.line=D.line,this.column=D.column,this.endLine=L.line,this.endColumn=L.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,y)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(C){if(!this.source)return"";let D=this.source;null==C&&(C=T.isColorSupported),g&&C&&(D=g(D));let Z,j,L=D.split(/\r?\n/),B=Math.max(this.line-3,0),R=Math.min(this.line+2,L.length),U=String(R).length;if(C){let{bold:V,red:re,gray:W}=T.createColors(!0);Z=ne=>V(re(ne)),j=ne=>W(ne)}else Z=j=V=>V;return L.slice(B,R).map((V,re)=>{let W=B+1+re,ne=" "+(" "+W).slice(-U)+" | ";if(W===this.line){let G=j(ne.replace(/\d/g," "))+V.slice(0,this.column-1).replace(/[^\t]/g," ");return Z(">")+j(ne)+V+"\n "+G+Z("^")}return" "+j(ne)+V}).join("\n")}toString(){let C=this.showSourceCode();return C&&(C="\n\n"+C+"\n"),this.name+": "+this.message+C}}ve.exports=y,y.default=y},4820:(ve,A,I)=>{"use strict";let T=I(2491);class g extends T{constructor(b){b&&typeof b.value<"u"&&"string"!=typeof b.value&&(b={...b,value:String(b.value)}),super(b),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}}ve.exports=g,g.default=g},1962:(ve,A,I)=>{"use strict";let g,y,T=I(4185),b=(()=>{class C extends T{constructor(L){super({type:"document",...L}),this.nodes||(this.nodes=[])}toResult(L={}){return new g(new y,this,L).stringify()}}return C.registerLazyResult=D=>{g=D},C.registerProcessor=D=>{y=D},C})();ve.exports=b,b.default=b},4747:(ve,A,I)=>{"use strict";let T=I(4820),g=I(3604),y=I(94),b=I(1083),C=I(5938),D=I(9319),L=I(6037);function B(R,U){if(Array.isArray(R))return R.map(V=>B(V));let{inputs:Z,...j}=R;if(Z){U=[];for(let V of Z){let re={...V,__proto__:C.prototype};re.map&&(re.map={...re.map,__proto__:g.prototype}),U.push(re)}}if(j.nodes&&(j.nodes=R.nodes.map(V=>B(V,U))),j.source){let{inputId:V,...re}=j.source;j.source=re,null!=V&&(j.source.input=U[V])}if("root"===j.type)return new D(j);if("decl"===j.type)return new T(j);if("rule"===j.type)return new L(j);if("comment"===j.type)return new y(j);if("atrule"===j.type)return new b(j);throw new Error("Unknown node type: "+R.type)}ve.exports=B,B.default=B},5938:(ve,A,I)=>{"use strict";let{SourceMapConsumer:T,SourceMapGenerator:g}=I(209),{fileURLToPath:y,pathToFileURL:b}=I(7414),{resolve:C,isAbsolute:D}=I(9830),{nanoid:L}=I(9901),B=I(2868),R=I(5490),U=I(3604),Z=Symbol("fromOffsetCache"),j=Boolean(T&&g),V=Boolean(C&&D);class re{constructor(ne,G={}){if(null===ne||typeof ne>"u"||"object"==typeof ne&&!ne.toString)throw new Error(`PostCSS received ${ne} instead of CSS string`);if(this.css=ne.toString(),"\ufeff"===this.css[0]||"\ufffe"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,G.from&&(this.file=!V||/^\w+:\/\//.test(G.from)||D(G.from)?G.from:C(G.from)),V&&j){let z=new U(this.css,G);if(z.text){this.map=z;let ce=z.consumer().file;!this.file&&ce&&(this.file=this.mapResolve(ce))}}this.file||(this.id="<input css "+L(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(ne){let G,z;if(this[Z])z=this[Z];else{let le=this.css.split("\n");z=new Array(le.length);let ie=0;for(let K=0,oe=le.length;K<oe;K++)z[K]=ie,ie+=le[K].length+1;this[Z]=z}G=z[z.length-1];let ce=0;if(ne>=G)ce=z.length-1;else{let ie,le=z.length-2;for(;ce<le;)if(ie=ce+(le-ce>>1),ne<z[ie])le=ie-1;else{if(!(ne>=z[ie+1])){ce=ie;break}ce=ie+1}}return{line:ce+1,col:ne-z[ce]+1}}error(ne,G,z,ce={}){let le,ie,K;if(G&&"object"==typeof G){let he=G,ae=z;if("number"==typeof he.offset){let de=this.fromOffset(he.offset);G=de.line,z=de.col}else G=he.line,z=he.column;if("number"==typeof ae.offset){let de=this.fromOffset(ae.offset);ie=de.line,K=de.col}else ie=ae.line,K=ae.column}else if(!z){let he=this.fromOffset(G);G=he.line,z=he.col}let oe=this.origin(G,z,ie,K);return le=oe?new R(ne,void 0===oe.endLine?oe.line:{line:oe.line,column:oe.column},void 0===oe.endLine?oe.column:{line:oe.endLine,column:oe.endColumn},oe.source,oe.file,ce.plugin):new R(ne,void 0===ie?G:{line:G,column:z},void 0===ie?z:{line:ie,column:K},this.css,this.file,ce.plugin),le.input={line:G,column:z,endLine:ie,endColumn:K,source:this.css},this.file&&(b&&(le.input.url=b(this.file).toString()),le.input.file=this.file),le}origin(ne,G,z,ce){if(!this.map)return!1;let K,oe,le=this.map.consumer(),ie=le.originalPositionFor({line:ne,column:G});if(!ie.source)return!1;"number"==typeof z&&(K=le.originalPositionFor({line:z,column:ce})),oe=D(ie.source)?b(ie.source):new URL(ie.source,this.map.consumer().sourceRoot||b(this.map.mapFile));let he={url:oe.toString(),line:ie.line,column:ie.column,endLine:K&&K.line,endColumn:K&&K.column};if("file:"===oe.protocol){if(!y)throw new Error("file: protocol is not available in this PostCSS build");he.file=y(oe)}let ae=le.sourceContentFor(ie.source);return ae&&(he.source=ae),he}mapResolve(ne){return/^\w+:\/\//.test(ne)?ne:C(this.map.consumer().sourceRoot||this.map.root||".",ne)}get from(){return this.file||this.id}toJSON(){let ne={};for(let G of["hasBOM","css","file","id"])null!=this[G]&&(ne[G]=this[G]);return this.map&&(ne.map={...this.map},ne.map.consumerCache&&(ne.map.consumerCache=void 0)),ne}}ve.exports=re,re.default=re,B&&B.registerInput&&B.registerInput(re)},2744:(ve,A,I)=>{"use strict";var T=I(9598).default;let{isClean:g,my:y}=I(8842),b=I(6001),C=I(5727),D=I(4185),L=I(1962),R=(I(5675),I(7127)),U=I(654),Z=I(9319);const j={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},V={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},re={postcssPlugin:!0,prepare:!0,Once:!0},W=0;function ne(K){return"object"==typeof K&&"function"==typeof K.then}function G(K){let oe=!1,he=j[K.type];return"decl"===K.type?oe=K.prop.toLowerCase():"atrule"===K.type&&(oe=K.name.toLowerCase()),oe&&K.append?[he,he+"-"+oe,W,he+"Exit",he+"Exit-"+oe]:oe?[he,he+"-"+oe,he+"Exit",he+"Exit-"+oe]:K.append?[he,W,he+"Exit"]:[he,he+"Exit"]}function z(K){let oe;return oe="document"===K.type?["Document",W,"DocumentExit"]:"root"===K.type?["Root",W,"RootExit"]:G(K),{node:K,events:oe,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function ce(K){return K[g]=!1,K.nodes&&K.nodes.forEach(oe=>ce(oe)),K}let le={},ie=(()=>{class K{constructor(he,ae,de){let me;if(this.stringified=!1,this.processed=!1,"object"!=typeof ae||null===ae||"root"!==ae.type&&"document"!==ae.type)if(ae instanceof K||ae instanceof R)me=ce(ae.root),ae.map&&(typeof de.map>"u"&&(de.map={}),de.map.inline||(de.map.inline=!1),de.map.prev=ae.map);else{let ge=U;de.syntax&&(ge=de.syntax.parse),de.parser&&(ge=de.parser),ge.parse&&(ge=ge.parse);try{me=ge(ae,de)}catch(we){this.processed=!0,this.error=we}me&&!me[y]&&D.rebuild(me)}else me=ce(ae);this.result=new R(he,me,de),this.helpers={...le,result:this.result,postcss:le},this.plugins=this.processor.plugins.map(ge=>"object"==typeof ge&&ge.prepare?{...ge,...ge.prepare(this.result)}:ge)}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(he,ae){return this.async().then(he,ae)}catch(he){return this.async().catch(he)}finally(he){return this.async().then(he,he)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let he of this.plugins)if(ne(this.runOnRoot(he)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let he=this.result.root;for(;!he[g];)he[g]=!0,this.walkSync(he);if(this.listeners.OnceExit)if("document"===he.type)for(let ae of he.nodes)this.visitSync(this.listeners.OnceExit,ae);else this.visitSync(this.listeners.OnceExit,he)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let he=this.result.opts,ae=C;he.syntax&&(ae=he.syntax.stringify),he.stringifier&&(ae=he.stringifier),ae.stringify&&(ae=ae.stringify);let me=new b(ae,this.result.root,this.result.opts).generate();return this.result.css=me[0],this.result.map=me[1],this.result}walkSync(he){he[g]=!0;let ae=G(he);for(let de of ae)if(de===W)he.nodes&&he.each(me=>{me[g]||this.walkSync(me)});else{let me=this.listeners[de];if(me&&this.visitSync(me,he.toProxy()))return}}visitSync(he,ae){for(let[de,me]of he){let ge;this.result.lastPlugin=de;try{ge=me(ae,this.helpers)}catch(we){throw this.handleError(we,ae.proxyOf)}if("root"!==ae.type&&"document"!==ae.type&&!ae.parent)return!0;if(ne(ge))throw this.getAsyncError()}}runOnRoot(he){this.result.lastPlugin=he;try{if("object"==typeof he&&he.Once){if("document"===this.result.root.type){let ae=this.result.root.nodes.map(de=>he.Once(de,this.helpers));return ne(ae[0])?Promise.all(ae):ae}return he.Once(this.result.root,this.helpers)}if("function"==typeof he)return he(this.result.root,this.result)}catch(ae){throw this.handleError(ae)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(he,ae){let de=this.result.lastPlugin;try{ae&&ae.addToError(he),this.error=he,"CssSyntaxError"!==he.name||he.plugin||(he.plugin=de.postcssPlugin,he.setMessage())}catch(me){console&&console.error&&console.error(me)}return he}runAsync(){var he=this;return T(function*(){he.plugin=0;for(let ae=0;ae<he.plugins.length;ae++){let me=he.runOnRoot(he.plugins[ae]);if(ne(me))try{yield me}catch(ge){throw he.handleError(ge)}}if(he.prepareVisitors(),he.hasListener){let ae=he.result.root;for(;!ae[g];){ae[g]=!0;let de=[z(ae)];for(;de.length>0;){let me=he.visitTick(de);if(ne(me))try{yield me}catch(ge){throw he.handleError(ge,de[de.length-1].node)}}}if(he.listeners.OnceExit)for(let[de,me]of he.listeners.OnceExit){he.result.lastPlugin=de;try{if("document"===ae.type){let ge=ae.nodes.map(we=>me(we,he.helpers));yield Promise.all(ge)}else yield me(ae,he.helpers)}catch(ge){throw he.handleError(ge)}}}return he.processed=!0,he.stringify()})()}prepareVisitors(){this.listeners={};let he=(ae,de,me)=>{this.listeners[de]||(this.listeners[de]=[]),this.listeners[de].push([ae,me])};for(let ae of this.plugins)if("object"==typeof ae)for(let de in ae){if(!V[de]&&/^[A-Z]/.test(de))throw new Error(`Unknown event ${de} in ${ae.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!re[de])if("object"==typeof ae[de])for(let me in ae[de])he(ae,"*"===me?de:de+"-"+me.toLowerCase(),ae[de][me]);else"function"==typeof ae[de]&&he(ae,de,ae[de])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(he){let ae=he[he.length-1],{node:de,visitors:me}=ae;if("root"!==de.type&&"document"!==de.type&&!de.parent)return void he.pop();if(me.length>0&&ae.visitorIndex<me.length){let[we,ze]=me[ae.visitorIndex];ae.visitorIndex+=1,ae.visitorIndex===me.length&&(ae.visitors=[],ae.visitorIndex=0),this.result.lastPlugin=we;try{return ze(de.toProxy(),this.helpers)}catch(Re){throw this.handleError(Re,de)}}if(0!==ae.iterator){let ze,we=ae.iterator;for(;ze=de.nodes[de.indexes[we]];)if(de.indexes[we]+=1,!ze[g])return ze[g]=!0,void he.push(z(ze));ae.iterator=0,delete de.indexes[we]}let ge=ae.events;for(;ae.eventIndex<ge.length;){let we=ge[ae.eventIndex];if(ae.eventIndex+=1,we===W)return void(de.nodes&&de.nodes.length&&(de[g]=!0,ae.iterator=de.getIterator()));if(this.listeners[we])return void(ae.visitors=this.listeners[we])}he.pop()}}return K.registerPostcss=oe=>{le=oe},K})();ve.exports=ie,ie.default=ie,Z.registerLazyResult(ie),L.registerLazyResult(ie)},4762:ve=>{"use strict";let A={split(I,T,g){let y=[],b="",C=!1,D=0,L=!1,B="",R=!1;for(let U of I)R?R=!1:"\\"===U?R=!0:L?U===B&&(L=!1):'"'===U||"'"===U?(L=!0,B=U):"("===U?D+=1:")"===U?D>0&&(D-=1):0===D&&T.includes(U)&&(C=!0),C?(""!==b&&y.push(b.trim()),b="",C=!1):b+=U;return(g||""!==b)&&y.push(b.trim()),y},space:I=>A.split(I,[" ","\n","\t"]),comma:I=>A.split(I,[","],!0)};ve.exports=A,A.default=A},6001:(ve,A,I)=>{"use strict";let{SourceMapConsumer:T,SourceMapGenerator:g}=I(209),{dirname:y,resolve:b,relative:C,sep:D}=I(9830),{pathToFileURL:L}=I(7414),B=I(5938),R=Boolean(T&&g),U=Boolean(y&&b&&C&&D);ve.exports=class Z{constructor(V,re,W,ne){this.stringify=V,this.mapOpts=W.map||{},this.root=re,this.opts=W,this.css=ne,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(V=>{if(V.source&&V.source.input.map){let re=V.source.input.map;this.previousMaps.includes(re)||this.previousMaps.push(re)}});else{let V=new B(this.css,this.opts);V.map&&this.previousMaps.push(V.map)}return this.previousMaps}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let V=this.mapOpts.annotation;return!(typeof V<"u"&&!0!==V)&&(!this.previous().length||this.previous().some(re=>re.inline))}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(V=>V.withContent())}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let V;for(let re=this.root.nodes.length-1;re>=0;re--)V=this.root.nodes[re],"comment"===V.type&&0===V.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(re)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}setSourcesContent(){let V={};if(this.root)this.root.walk(re=>{if(re.source){let W=re.source.input.from;if(W&&!V[W]){V[W]=!0;let ne=this.usesFileUrls?this.toFileUrl(W):this.toUrl(this.path(W));this.map.setSourceContent(ne,re.source.input.css)}}});else if(this.css){let re=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(re,this.css)}}applyPrevMaps(){for(let V of this.previous()){let ne,re=this.toUrl(this.path(V.file)),W=V.root||y(V.file);!1===this.mapOpts.sourcesContent?(ne=new T(V.text),ne.sourcesContent&&(ne.sourcesContent=ne.sourcesContent.map(()=>null))):ne=V.consumer(),this.map.applySourceMap(ne,re,this.toUrl(this.path(W)))}}isAnnotation(){return!!this.isInline()||(typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:!this.previous().length||this.previous().some(V=>V.annotation))}toBase64(V){return Buffer?Buffer.from(V).toString("base64"):window.btoa(unescape(encodeURIComponent(V)))}addAnnotation(){let V;V=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let re="\n";this.css.includes("\r\n")&&(re="\r\n"),this.css+=re+"/*# sourceMappingURL="+V+" */"}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let V=this.previous()[0].consumer();V.file=this.outputFile(),this.map=g.fromSourceMap(V)}else this.map=new g({file:this.outputFile()}),this.map.addMapping({source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>",generated:{line:1,column:0},original:{line:1,column:0}});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}path(V){if(0===V.indexOf("<")||/^\w+:\/\//.test(V)||this.mapOpts.absolute)return V;let re=this.opts.to?y(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(re=y(b(re,this.mapOpts.annotation))),C(re,V)}toUrl(V){return"\\"===D&&(V=V.replace(/\\/g,"/")),encodeURI(V).replace(/[#?]/g,encodeURIComponent)}toFileUrl(V){if(L)return L(V).toString();throw new Error("`map.absolute` option is not available in this PostCSS build")}sourcePath(V){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(V.source.input.from):this.toUrl(this.path(V.source.input.from))}generateString(){this.css="",this.map=new g({file:this.outputFile()});let G,z,V=1,re=1,W="<no source>",ne={source:"",generated:{line:0,column:0},original:{line:0,column:0}};this.stringify(this.root,(ce,le,ie)=>{if(this.css+=ce,le&&"end"!==ie&&(ne.generated.line=V,ne.generated.column=re-1,le.source&&le.source.start?(ne.source=this.sourcePath(le),ne.original.line=le.source.start.line,ne.original.column=le.source.start.column-1,this.map.addMapping(ne)):(ne.source=W,ne.original.line=1,ne.original.column=0,this.map.addMapping(ne))),G=ce.match(/\n/g),G?(V+=G.length,z=ce.lastIndexOf("\n"),re=ce.length-z):re+=ce.length,le&&"start"!==ie){let K=le.parent||{raws:{}};("decl"!==le.type&&("atrule"!==le.type||le.nodes)||le!==K.last||K.raws.semicolon)&&(le.source&&le.source.end?(ne.source=this.sourcePath(le),ne.original.line=le.source.end.line,ne.original.column=le.source.end.column-1,ne.generated.line=V,ne.generated.column=re-2,this.map.addMapping(ne)):(ne.source=W,ne.original.line=1,ne.original.column=0,ne.generated.line=V,ne.generated.column=re-1,this.map.addMapping(ne)))}})}generate(){if(this.clearAnnotation(),U&&R&&this.isMap())return this.generateMap();{let V="";return this.stringify(this.root,re=>{V+=re}),[V]}}}},4421:(ve,A,I)=>{"use strict";let T=I(6001),g=I(5727),b=(I(5675),I(654));const C=I(7127);class D{constructor(B,R,U){R=R.toString(),this.stringified=!1,this._processor=B,this._css=R,this._opts=U,this._map=void 0;let Z,j=g;this.result=new C(this._processor,Z,this._opts),this.result.css=R;let V=this;Object.defineProperty(this.result,"root",{get:()=>V.root});let re=new T(j,Z,this._opts,R);if(re.isMap()){let[W,ne]=re.generate();W&&(this.result.css=W),ne&&(this.result.map=ne)}}get[Symbol.toStringTag](){return"NoWorkResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.result.css}get content(){return this.result.css}get map(){return this.result.map}get root(){if(this._root)return this._root;let B,R=b;try{B=R(this._css,this._opts)}catch(U){this.error=U}if(this.error)throw this.error;return this._root=B,B}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(B,R){return this.async().then(B,R)}catch(B){return this.async().catch(B)}finally(B){return this.async().then(B,B)}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}sync(){if(this.error)throw this.error;return this.result}}ve.exports=D,D.default=D},2491:(ve,A,I)=>{"use strict";let{isClean:T,my:g}=I(8842),y=I(5490),b=I(7572),C=I(5727);function D(B,R){let U=new B.constructor;for(let Z in B){if(!Object.prototype.hasOwnProperty.call(B,Z)||"proxyCache"===Z)continue;let j=B[Z],V=typeof j;"parent"===Z&&"object"===V?R&&(U[Z]=R):"source"===Z?U[Z]=j:Array.isArray(j)?U[Z]=j.map(re=>D(re,U)):("object"===V&&null!==j&&(j=D(j)),U[Z]=j)}return U}class L{constructor(R={}){this.raws={},this[T]=!1,this[g]=!0;for(let U in R)if("nodes"===U){this.nodes=[];for(let Z of R[U])this.append("function"==typeof Z.clone?Z.clone():Z)}else this[U]=R[U]}error(R,U={}){if(this.source){let{start:Z,end:j}=this.rangeBy(U);return this.source.input.error(R,{line:Z.line,column:Z.column},{line:j.line,column:j.column},U)}return new y(R)}warn(R,U,Z){let j={node:this};for(let V in Z)j[V]=Z[V];return R.warn(U,j)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(R=C){R.stringify&&(R=R.stringify);let U="";return R(this,Z=>{U+=Z}),U}assign(R={}){for(let U in R)this[U]=R[U];return this}clone(R={}){let U=D(this);for(let Z in R)U[Z]=R[Z];return U}cloneBefore(R={}){let U=this.clone(R);return this.parent.insertBefore(this,U),U}cloneAfter(R={}){let U=this.clone(R);return this.parent.insertAfter(this,U),U}replaceWith(...R){if(this.parent){let U=this,Z=!1;for(let j of R)j===this?Z=!0:Z?(this.parent.insertAfter(U,j),U=j):this.parent.insertBefore(U,j);Z||this.remove()}return this}next(){if(!this.parent)return;let R=this.parent.index(this);return this.parent.nodes[R+1]}prev(){if(!this.parent)return;let R=this.parent.index(this);return this.parent.nodes[R-1]}before(R){return this.parent.insertBefore(this,R),this}after(R){return this.parent.insertAfter(this,R),this}root(){let R=this;for(;R.parent&&"document"!==R.parent.type;)R=R.parent;return R}raw(R,U){return(new b).raw(this,R,U)}cleanRaws(R){delete this.raws.before,delete this.raws.after,R||delete this.raws.between}toJSON(R,U){let Z={},j=null==U;U=U||new Map;let V=0;for(let re in this){if(!Object.prototype.hasOwnProperty.call(this,re)||"parent"===re||"proxyCache"===re)continue;let W=this[re];if(Array.isArray(W))Z[re]=W.map(ne=>"object"==typeof ne&&ne.toJSON?ne.toJSON(null,U):ne);else if("object"==typeof W&&W.toJSON)Z[re]=W.toJSON(null,U);else if("source"===re){let ne=U.get(W.input);null==ne&&(ne=V,U.set(W.input,V),V++),Z[re]={inputId:ne,start:W.start,end:W.end}}else Z[re]=W}return j&&(Z.inputs=[...U.keys()].map(re=>re.toJSON())),Z}positionInside(R){let U=this.toString(),Z=this.source.start.column,j=this.source.start.line;for(let V=0;V<R;V++)"\n"===U[V]?(Z=1,j+=1):Z+=1;return{line:j,column:Z}}positionBy(R){let U=this.source.start;if(R.index)U=this.positionInside(R.index);else if(R.word){let Z=this.toString().indexOf(R.word);-1!==Z&&(U=this.positionInside(Z))}return U}rangeBy(R){let U={line:this.source.start.line,column:this.source.start.column},Z=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:U.line,column:U.column+1};if(R.word){let j=this.toString().indexOf(R.word);-1!==j&&(U=this.positionInside(j),Z=this.positionInside(j+R.word.length))}else R.start?U={line:R.start.line,column:R.start.column}:R.index&&(U=this.positionInside(R.index)),R.end?Z={line:R.end.line,column:R.end.column}:R.endIndex?Z=this.positionInside(R.endIndex):R.index&&(Z=this.positionInside(R.index+1));return(Z.line<U.line||Z.line===U.line&&Z.column<=U.column)&&(Z={line:U.line,column:U.column+1}),{start:U,end:Z}}getProxyProcessor(){return{set:(R,U,Z)=>(R[U]===Z||(R[U]=Z,("prop"===U||"value"===U||"name"===U||"params"===U||"important"===U||"text"===U)&&R.markDirty()),!0),get:(R,U)=>"proxyOf"===U?R:"root"===U?()=>R.root().toProxy():R[U]}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(R){if(R.postcssNode=this,R.stack&&this.source&&/\n\s{4}at /.test(R.stack)){let U=this.source;R.stack=R.stack.replace(/\n\s{4}at /,`$&${U.input.from}:${U.start.line}:${U.start.column}$&`)}return R}markDirty(){if(this[T]){this[T]=!1;let R=this;for(;R=R.parent;)R[T]=!1}}get proxyOf(){return this}}ve.exports=L,L.default=L},654:(ve,A,I)=>{"use strict";let T=I(4185),g=I(7903),y=I(5938);function b(C,D){let L=new y(C,D),B=new g(L);try{B.parse()}catch(R){throw R}return B.root}ve.exports=b,b.default=b,T.registerParse(b)},7903:(ve,A,I)=>{"use strict";let T=I(4820),g=I(4120),y=I(94),b=I(1083),C=I(9319),D=I(6037);const L={empty:!0,space:!0};ve.exports=class R{constructor(Z){this.input=Z,this.root=new C,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:Z,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=g(this.input)}parse(){let Z;for(;!this.tokenizer.endOfFile();)switch(Z=this.tokenizer.nextToken(),Z[0]){case"space":this.spaces+=Z[1];break;case";":this.freeSemicolon(Z);break;case"}":this.end(Z);break;case"comment":this.comment(Z);break;case"at-word":this.atrule(Z);break;case"{":this.emptyRule(Z);break;default:this.other(Z)}this.endFile()}comment(Z){let j=new y;this.init(j,Z[2]),j.source.end=this.getPosition(Z[3]||Z[2]);let V=Z[1].slice(2,-2);if(/^\s*$/.test(V))j.text="",j.raws.left=V,j.raws.right="";else{let re=V.match(/^(\s*)([^]*\S)(\s*)$/);j.text=re[2],j.raws.left=re[1],j.raws.right=re[3]}}emptyRule(Z){let j=new D;this.init(j,Z[2]),j.selector="",j.raws.between="",this.current=j}other(Z){let j=!1,V=null,re=!1,W=null,ne=[],G=Z[1].startsWith("--"),z=[],ce=Z;for(;ce;){if(V=ce[0],z.push(ce),"("===V||"["===V)W||(W=ce),ne.push("("===V?")":"]");else if(G&&re&&"{"===V)W||(W=ce),ne.push("}");else if(0===ne.length){if(";"===V){if(re)return void this.decl(z,G);break}if("{"===V)return void this.rule(z);if("}"===V){this.tokenizer.back(z.pop()),j=!0;break}":"===V&&(re=!0)}else V===ne[ne.length-1]&&(ne.pop(),0===ne.length&&(W=null));ce=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(j=!0),ne.length>0&&this.unclosedBracket(W),j&&re){if(!G)for(;z.length&&(ce=z[z.length-1][0],"space"===ce||"comment"===ce);)this.tokenizer.back(z.pop());this.decl(z,G)}else this.unknownWord(z)}rule(Z){Z.pop();let j=new D;this.init(j,Z[0][2]),j.raws.between=this.spacesAndCommentsFromEnd(Z),this.raw(j,"selector",Z),this.current=j}decl(Z,j){let V=new T;this.init(V,Z[0][2]);let W,re=Z[Z.length-1];for(";"===re[0]&&(this.semicolon=!0,Z.pop()),V.source.end=this.getPosition(re[3]||re[2]||function B(U){for(let Z=U.length-1;Z>=0;Z--){let j=U[Z],V=j[3]||j[2];if(V)return V}}(Z));"word"!==Z[0][0];)1===Z.length&&this.unknownWord(Z),V.raws.before+=Z.shift()[1];for(V.source.start=this.getPosition(Z[0][2]),V.prop="";Z.length;){let ce=Z[0][0];if(":"===ce||"space"===ce||"comment"===ce)break;V.prop+=Z.shift()[1]}for(V.raws.between="";Z.length;){if(W=Z.shift(),":"===W[0]){V.raws.between+=W[1];break}"word"===W[0]&&/\w/.test(W[1])&&this.unknownWord([W]),V.raws.between+=W[1]}("_"===V.prop[0]||"*"===V.prop[0])&&(V.raws.before+=V.prop[0],V.prop=V.prop.slice(1));let G,ne=[];for(;Z.length&&(G=Z[0][0],"space"===G||"comment"===G);)ne.push(Z.shift());this.precheckMissedSemicolon(Z);for(let ce=Z.length-1;ce>=0;ce--){if(W=Z[ce],"!important"===W[1].toLowerCase()){V.important=!0;let le=this.stringFrom(Z,ce);le=this.spacesFromEnd(Z)+le," !important"!==le&&(V.raws.important=le);break}if("important"===W[1].toLowerCase()){let le=Z.slice(0),ie="";for(let K=ce;K>0;K--){let oe=le[K][0];if(0===ie.trim().indexOf("!")&&"space"!==oe)break;ie=le.pop()[1]+ie}0===ie.trim().indexOf("!")&&(V.important=!0,V.raws.important=ie,Z=le)}if("space"!==W[0]&&"comment"!==W[0])break}Z.some(ce=>"space"!==ce[0]&&"comment"!==ce[0])&&(V.raws.between+=ne.map(ce=>ce[1]).join(""),ne=[]),this.raw(V,"value",ne.concat(Z),j),V.value.includes(":")&&!j&&this.checkMissedSemicolon(Z)}atrule(Z){let j=new b;j.name=Z[1].slice(1),""===j.name&&this.unnamedAtrule(j,Z),this.init(j,Z[2]);let V,re,W,ne=!1,G=!1,z=[],ce=[];for(;!this.tokenizer.endOfFile();){if(V=(Z=this.tokenizer.nextToken())[0],"("===V||"["===V?ce.push("("===V?")":"]"):"{"===V&&ce.length>0?ce.push("}"):V===ce[ce.length-1]&&ce.pop(),0===ce.length){if(";"===V){j.source.end=this.getPosition(Z[2]),this.semicolon=!0;break}if("{"===V){G=!0;break}if("}"===V){if(z.length>0){for(W=z.length-1,re=z[W];re&&"space"===re[0];)re=z[--W];re&&(j.source.end=this.getPosition(re[3]||re[2]))}this.end(Z);break}z.push(Z)}else z.push(Z);if(this.tokenizer.endOfFile()){ne=!0;break}}j.raws.between=this.spacesAndCommentsFromEnd(z),z.length?(j.raws.afterName=this.spacesAndCommentsFromStart(z),this.raw(j,"params",z),ne&&(j.source.end=this.getPosition((Z=z[z.length-1])[3]||Z[2]),this.spaces=j.raws.between,j.raws.between="")):(j.raws.afterName="",j.params=""),G&&(j.nodes=[],this.current=j)}end(Z){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(Z[2]),this.current=this.current.parent):this.unexpectedClose(Z)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(Z){if(this.spaces+=Z[1],this.current.nodes){let j=this.current.nodes[this.current.nodes.length-1];j&&"rule"===j.type&&!j.raws.ownSemicolon&&(j.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(Z){let j=this.input.fromOffset(Z);return{offset:Z,line:j.line,column:j.col}}init(Z,j){this.current.push(Z),Z.source={start:this.getPosition(j),input:this.input},Z.raws.before=this.spaces,this.spaces="","comment"!==Z.type&&(this.semicolon=!1)}raw(Z,j,V,re){let W,ne,le,ie,G=V.length,z="",ce=!0;for(let K=0;K<G;K+=1)W=V[K],ne=W[0],"space"!==ne||K!==G-1||re?"comment"===ne?(ie=V[K-1]?V[K-1][0]:"empty",le=V[K+1]?V[K+1][0]:"empty",L[ie]||L[le]||","===z.slice(-1)?ce=!1:z+=W[1]):z+=W[1]:ce=!1;if(!ce){let K=V.reduce((oe,he)=>oe+he[1],"");Z.raws[j]={value:z,raw:K}}Z[j]=z}spacesAndCommentsFromEnd(Z){let j,V="";for(;Z.length&&(j=Z[Z.length-1][0],"space"===j||"comment"===j);)V=Z.pop()[1]+V;return V}spacesAndCommentsFromStart(Z){let j,V="";for(;Z.length&&(j=Z[0][0],"space"===j||"comment"===j);)V+=Z.shift()[1];return V}spacesFromEnd(Z){let j,V="";for(;Z.length&&(j=Z[Z.length-1][0],"space"===j);)V=Z.pop()[1]+V;return V}stringFrom(Z,j){let V="";for(let re=j;re<Z.length;re++)V+=Z[re][1];return Z.splice(j,Z.length-j),V}colon(Z){let V,re,W,j=0;for(let[ne,G]of Z.entries()){if(V=G,re=V[0],"("===re&&(j+=1),")"===re&&(j-=1),0===j&&":"===re){if(W){if("word"===W[0]&&"progid"===W[1])continue;return ne}this.doubleColon(V)}W=V}return!1}unclosedBracket(Z){throw this.input.error("Unclosed bracket",{offset:Z[2]},{offset:Z[2]+1})}unknownWord(Z){throw this.input.error("Unknown word",{offset:Z[0][2]},{offset:Z[0][2]+Z[0][1].length})}unexpectedClose(Z){throw this.input.error("Unexpected }",{offset:Z[2]},{offset:Z[2]+1})}unclosedBlock(){let Z=this.current.source.start;throw this.input.error("Unclosed block",Z.line,Z.column)}doubleColon(Z){throw this.input.error("Double colon",{offset:Z[2]},{offset:Z[2]+Z[1].length})}unnamedAtrule(Z,j){throw this.input.error("At-rule without name",{offset:j[2]},{offset:j[2]+j[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(Z){let j=this.colon(Z);if(!1===j)return;let re,V=0;for(let W=j-1;W>=0&&(re=Z[W],"space"===re[0]||(V+=1,2!==V));W--);throw this.input.error("Missed semicolon","word"===re[0]?re[3]+1:re[2])}}},6820:(ve,A,I)=>{"use strict";let T=I(5490),g=I(4820),y=I(2744),b=I(4185),C=I(3813),D=I(5727),L=I(4747),B=I(1962),R=I(9947),U=I(94),Z=I(1083),j=I(7127),V=I(5938),re=I(654),W=I(4762),ne=I(6037),G=I(9319),z=I(2491);function ce(...le){return 1===le.length&&Array.isArray(le[0])&&(le=le[0]),new C(le)}ce.plugin=function(ie,K){let ae,oe=!1;function he(...de){console&&console.warn&&!oe&&(oe=!0,console.warn(ie+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(ie+": \u91cc\u9762 postcss.plugin \u88ab\u5f03\u7528. \u8fc1\u79fb\u6307\u5357:\nhttps://www.w3ctech.com/topic/2226"));let me=K(...de);return me.postcssPlugin=ie,me.postcssVersion=(new C).version,me}return Object.defineProperty(he,"postcss",{get:()=>(ae||(ae=he()),ae)}),he.process=function(de,me,ge){return ce([he(ge)]).process(de,me)},he},ce.stringify=D,ce.parse=re,ce.fromJSON=L,ce.list=W,ce.comment=le=>new U(le),ce.atRule=le=>new Z(le),ce.decl=le=>new g(le),ce.rule=le=>new ne(le),ce.root=le=>new G(le),ce.document=le=>new B(le),ce.CssSyntaxError=T,ce.Declaration=g,ce.Container=b,ce.Processor=C,ce.Document=B,ce.Comment=U,ce.Warning=R,ce.AtRule=Z,ce.Result=j,ce.Input=V,ce.Rule=ne,ce.Root=G,ce.Node=z,y.registerPostcss(ce),ve.exports=ce,ce.default=ce},3604:(ve,A,I)=>{"use strict";let{SourceMapConsumer:T,SourceMapGenerator:g}=I(209),{existsSync:y,readFileSync:b}=I(4777),{dirname:C,join:D}=I(9830);class B{constructor(U,Z){if(!1===Z.map)return;this.loadAnnotation(U),this.inline=this.startWith(this.annotation,"data:");let V=this.loadMap(Z.from,Z.map?Z.map.prev:void 0);!this.mapFile&&Z.from&&(this.mapFile=Z.from),this.mapFile&&(this.root=C(this.mapFile)),V&&(this.text=V)}consumer(){return this.consumerCache||(this.consumerCache=new T(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(U,Z){return!!U&&U.substr(0,Z.length)===Z}getAnnotationURL(U){return U.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(U){let Z=U.match(/\/\*\s*# sourceMappingURL=/gm);if(!Z)return;let j=U.lastIndexOf(Z.pop()),V=U.indexOf("*/",j);j>-1&&V>-1&&(this.annotation=this.getAnnotationURL(U.substring(j,V)))}decodeInline(U){if(/^data:application\/json;charset=utf-?8,/.test(U)||/^data:application\/json,/.test(U))return decodeURIComponent(U.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(U)||/^data:application\/json;base64,/.test(U))return function L(R){return Buffer?Buffer.from(R,"base64").toString():window.atob(R)}(U.substr(RegExp.lastMatch.length));let W=U.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+W)}loadFile(U){if(this.root=C(U),y(U))return this.mapFile=U,b(U,"utf-8").toString().trim()}loadMap(U,Z){if(!1===Z)return!1;if(Z){if("string"==typeof Z)return Z;if("function"!=typeof Z){if(Z instanceof T)return g.fromSourceMap(Z).toString();if(Z instanceof g)return Z.toString();if(this.isMap(Z))return JSON.stringify(Z);throw new Error("Unsupported previous source map format: "+Z.toString())}{let j=Z(U);if(j){let V=this.loadFile(j);if(!V)throw new Error("Unable to load previous source map: "+j.toString());return V}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let j=this.annotation;return U&&(j=D(C(U),j)),this.loadFile(j)}}}isMap(U){return"object"==typeof U&&("string"==typeof U.mappings||"string"==typeof U._mappings||Array.isArray(U.sections))}}ve.exports=B,B.default=B},3813:(ve,A,I)=>{"use strict";let T=I(4421),g=I(2744),y=I(1962),b=I(9319);class C{constructor(L=[]){this.version="8.4.21",this.plugins=this.normalize(L)}use(L){return this.plugins=this.plugins.concat(this.normalize([L])),this}process(L,B={}){return 0===this.plugins.length&&typeof B.parser>"u"&&typeof B.stringifier>"u"&&typeof B.syntax>"u"?new T(this,L,B):new g(this,L,B)}normalize(L){let B=[];for(let R of L)if(!0===R.postcss?R=R():R.postcss&&(R=R.postcss),"object"==typeof R&&Array.isArray(R.plugins))B=B.concat(R.plugins);else if("object"==typeof R&&R.postcssPlugin)B.push(R);else if("function"==typeof R)B.push(R);else if("object"!=typeof R||!R.parse&&!R.stringify)throw new Error(R+" is not a PostCSS plugin");return B}}ve.exports=C,C.default=C,b.registerProcessor(C),y.registerProcessor(C)},7127:(ve,A,I)=>{"use strict";let T=I(9947);class g{constructor(b,C,D){this.processor=b,this.messages=[],this.root=C,this.opts=D,this.css=void 0,this.map=void 0}toString(){return this.css}warn(b,C={}){C.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(C.plugin=this.lastPlugin.postcssPlugin);let D=new T(b,C);return this.messages.push(D),D}warnings(){return this.messages.filter(b=>"warning"===b.type)}get content(){return this.css}}ve.exports=g,g.default=g},9319:(ve,A,I)=>{"use strict";let g,y,T=I(4185),b=(()=>{class C extends T{constructor(L){super(L),this.type="root",this.nodes||(this.nodes=[])}removeChild(L,B){let R=this.index(L);return!B&&0===R&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[R].raws.before),super.removeChild(L)}normalize(L,B,R){let U=super.normalize(L);if(B)if("prepend"===R)this.nodes.length>1?B.raws.before=this.nodes[1].raws.before:delete B.raws.before;else if(this.first!==B)for(let Z of U)Z.raws.before=B.raws.before;return U}toResult(L={}){return new g(new y,this,L).stringify()}}return C.registerLazyResult=D=>{g=D},C.registerProcessor=D=>{y=D},C})();ve.exports=b,b.default=b,T.registerRoot(b)},6037:(ve,A,I)=>{"use strict";let T=I(4185),g=I(4762);class y extends T{constructor(C){super(C),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return g.comma(this.selector)}set selectors(C){let D=this.selector?this.selector.match(/,\s*/):null,L=D?D[0]:","+this.raw("between","beforeOpen");this.selector=C.join(L)}}ve.exports=y,y.default=y,T.registerRule(y)},7572:ve=>{"use strict";const A={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};class T{constructor(y){this.builder=y}stringify(y,b){if(!this[y.type])throw new Error("Unknown AST node type "+y.type+". Maybe you need to change PostCSS stringifier.");this[y.type](y,b)}document(y){this.body(y)}root(y){this.body(y),y.raws.after&&this.builder(y.raws.after)}comment(y){let b=this.raw(y,"left","commentLeft"),C=this.raw(y,"right","commentRight");this.builder("/*"+b+y.text+C+"*/",y)}decl(y,b){let C=this.raw(y,"between","colon"),D=y.prop+C+this.rawValue(y,"value");y.important&&(D+=y.raws.important||" !important"),b&&(D+=";"),this.builder(D,y)}rule(y){this.block(y,this.rawValue(y,"selector")),y.raws.ownSemicolon&&this.builder(y.raws.ownSemicolon,y,"end")}atrule(y,b){let C="@"+y.name,D=y.params?this.rawValue(y,"params"):"";typeof y.raws.afterName<"u"?C+=y.raws.afterName:D&&(C+=" "),y.nodes?this.block(y,C+D):this.builder(C+D+((y.raws.between||"")+(b?";":"")),y)}body(y){let b=y.nodes.length-1;for(;b>0&&"comment"===y.nodes[b].type;)b-=1;let C=this.raw(y,"semicolon");for(let D=0;D<y.nodes.length;D++){let L=y.nodes[D],B=this.raw(L,"before");B&&this.builder(B),this.stringify(L,b!==D||C)}}block(y,b){let D,C=this.raw(y,"between","beforeOpen");this.builder(b+C+"{",y,"start"),y.nodes&&y.nodes.length?(this.body(y),D=this.raw(y,"after")):D=this.raw(y,"after","emptyBody"),D&&this.builder(D),this.builder("}",y,"end")}raw(y,b,C){let D;if(C||(C=b),b&&(D=y.raws[b],typeof D<"u"))return D;let L=y.parent;if("before"===C&&(!L||"root"===L.type&&L.first===y||L&&"document"===L.type))return"";if(!L)return A[C];let B=y.root();if(B.rawCache||(B.rawCache={}),typeof B.rawCache[C]<"u")return B.rawCache[C];if("before"===C||"after"===C)return this.beforeAfter(y,C);{let R="raw"+function I(g){return g[0].toUpperCase()+g.slice(1)}(C);this[R]?D=this[R](B,y):B.walk(U=>{if(D=U.raws[b],typeof D<"u")return!1})}return typeof D>"u"&&(D=A[C]),B.rawCache[C]=D,D}rawSemicolon(y){let b;return y.walk(C=>{if(C.nodes&&C.nodes.length&&"decl"===C.last.type&&(b=C.raws.semicolon,typeof b<"u"))return!1}),b}rawEmptyBody(y){let b;return y.walk(C=>{if(C.nodes&&0===C.nodes.length&&(b=C.raws.after,typeof b<"u"))return!1}),b}rawIndent(y){if(y.raws.indent)return y.raws.indent;let b;return y.walk(C=>{let D=C.parent;if(D&&D!==y&&D.parent&&D.parent===y&&typeof C.raws.before<"u"){let L=C.raws.before.split("\n");return b=L[L.length-1],b=b.replace(/\S/g,""),!1}}),b}rawBeforeComment(y,b){let C;return y.walkComments(D=>{if(typeof D.raws.before<"u")return C=D.raws.before,C.includes("\n")&&(C=C.replace(/[^\n]+$/,"")),!1}),typeof C>"u"?C=this.raw(b,null,"beforeDecl"):C&&(C=C.replace(/\S/g,"")),C}rawBeforeDecl(y,b){let C;return y.walkDecls(D=>{if(typeof D.raws.before<"u")return C=D.raws.before,C.includes("\n")&&(C=C.replace(/[^\n]+$/,"")),!1}),typeof C>"u"?C=this.raw(b,null,"beforeRule"):C&&(C=C.replace(/\S/g,"")),C}rawBeforeRule(y){let b;return y.walk(C=>{if(C.nodes&&(C.parent!==y||y.first!==C)&&typeof C.raws.before<"u")return b=C.raws.before,b.includes("\n")&&(b=b.replace(/[^\n]+$/,"")),!1}),b&&(b=b.replace(/\S/g,"")),b}rawBeforeClose(y){let b;return y.walk(C=>{if(C.nodes&&C.nodes.length>0&&typeof C.raws.after<"u")return b=C.raws.after,b.includes("\n")&&(b=b.replace(/[^\n]+$/,"")),!1}),b&&(b=b.replace(/\S/g,"")),b}rawBeforeOpen(y){let b;return y.walk(C=>{if("decl"!==C.type&&(b=C.raws.between,typeof b<"u"))return!1}),b}rawColon(y){let b;return y.walkDecls(C=>{if(typeof C.raws.between<"u")return b=C.raws.between.replace(/[^\s:]/g,""),!1}),b}beforeAfter(y,b){let C;C=this.raw(y,null,"decl"===y.type?"beforeDecl":"comment"===y.type?"beforeComment":"before"===b?"beforeRule":"beforeClose");let D=y.parent,L=0;for(;D&&"root"!==D.type;)L+=1,D=D.parent;if(C.includes("\n")){let B=this.raw(y,null,"indent");if(B.length)for(let R=0;R<L;R++)C+=B}return C}rawValue(y,b){let C=y[b],D=y.raws[b];return D&&D.value===C?D.raw:C}}ve.exports=T,T.default=T},5727:(ve,A,I)=>{"use strict";let T=I(7572);function g(y,b){new T(b).stringify(y)}ve.exports=g,g.default=g},8842:ve=>{"use strict";ve.exports.isClean=Symbol("isClean"),ve.exports.my=Symbol("my")},4120:ve=>{"use strict";const A="'".charCodeAt(0),I='"'.charCodeAt(0),T="\\".charCodeAt(0),g="/".charCodeAt(0),y="\n".charCodeAt(0),b=" ".charCodeAt(0),C="\f".charCodeAt(0),D="\t".charCodeAt(0),L="\r".charCodeAt(0),B="[".charCodeAt(0),R="]".charCodeAt(0),U="(".charCodeAt(0),Z=")".charCodeAt(0),j="{".charCodeAt(0),V="}".charCodeAt(0),re=";".charCodeAt(0),W="*".charCodeAt(0),ne=":".charCodeAt(0),G="@".charCodeAt(0),z=/[\t\n\f\r "#'()/;[\\\]{}]/g,ce=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,le=/.[\n"'(/\\]/,ie=/[\da-f]/i;ve.exports=function(oe,he={}){let me,ge,we,ze,Re,st,mt,At,Xt,ft,ae=oe.css.valueOf(),de=he.ignoreErrors,ai=ae.length,He=0,yi=[],nt=[];function Ut(Tn){throw oe.error("Unclosed "+Tn,He)}return{back:function on(Tn){nt.push(Tn)},nextToken:function _t(Tn){if(nt.length)return nt.pop();if(He>=ai)return;let xi=!!Tn&&Tn.ignoreUnclosed;switch(me=ae.charCodeAt(He),me){case y:case b:case D:case L:case C:ge=He;do{ge+=1,me=ae.charCodeAt(ge)}while(me===b||me===y||me===D||me===L||me===C);ft=["space",ae.slice(He,ge)],He=ge-1;break;case B:case R:case j:case V:case ne:case re:case Z:{let ht=String.fromCharCode(me);ft=[ht,ht,He];break}case U:if(At=yi.length?yi.pop()[1]:"",Xt=ae.charCodeAt(He+1),"url"===At&&Xt!==A&&Xt!==I&&Xt!==b&&Xt!==y&&Xt!==D&&Xt!==C&&Xt!==L){ge=He;do{if(st=!1,ge=ae.indexOf(")",ge+1),-1===ge){if(de||xi){ge=He;break}Ut("bracket")}for(mt=ge;ae.charCodeAt(mt-1)===T;)mt-=1,st=!st}while(st);ft=["brackets",ae.slice(He,ge+1),He,ge],He=ge}else ge=ae.indexOf(")",He+1),ze=ae.slice(He,ge+1),-1===ge||le.test(ze)?ft=["(","(",He]:(ft=["brackets",ze,He,ge],He=ge);break;case A:case I:we=me===A?"'":'"',ge=He;do{if(st=!1,ge=ae.indexOf(we,ge+1),-1===ge){if(de||xi){ge=He+1;break}Ut("string")}for(mt=ge;ae.charCodeAt(mt-1)===T;)mt-=1,st=!st}while(st);ft=["string",ae.slice(He,ge+1),He,ge],He=ge;break;case G:z.lastIndex=He+1,z.test(ae),ge=0===z.lastIndex?ae.length-1:z.lastIndex-2,ft=["at-word",ae.slice(He,ge+1),He,ge],He=ge;break;case T:for(ge=He,Re=!0;ae.charCodeAt(ge+1)===T;)ge+=1,Re=!Re;if(me=ae.charCodeAt(ge+1),Re&&me!==g&&me!==b&&me!==y&&me!==D&&me!==L&&me!==C&&(ge+=1,ie.test(ae.charAt(ge)))){for(;ie.test(ae.charAt(ge+1));)ge+=1;ae.charCodeAt(ge+1)===b&&(ge+=1)}ft=["word",ae.slice(He,ge+1),He,ge],He=ge;break;default:me===g&&ae.charCodeAt(He+1)===W?(ge=ae.indexOf("*/",He+2)+1,0===ge&&(de||xi?ge=ae.length:Ut("comment")),ft=["comment",ae.slice(He,ge+1),He,ge],He=ge):(ce.lastIndex=He+1,ce.test(ae),ge=0===ce.lastIndex?ae.length-1:ce.lastIndex-2,ft=["word",ae.slice(He,ge+1),He,ge],yi.push(ft),He=ge)}return He++,ft},endOfFile:function Fn(){return 0===nt.length&&He>=ai},position:function Jt(){return He}}}},5675:ve=>{"use strict";let A={};ve.exports=function(T){A[T]||(A[T]=!0,typeof console<"u"&&console.warn&&console.warn(T))}},9947:ve=>{"use strict";class A{constructor(T,g={}){if(this.type="warning",this.text=T,g.node&&g.node.source){let y=g.node.rangeBy(g);this.line=y.start.line,this.column=y.start.column,this.endLine=y.end.line,this.endColumn=y.end.column}for(let y in g)this[y]=g[y]}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}ve.exports=A,A.default=A},3259:(ve,A,I)=>{const g=I(8695),y=I(1465),b=I(3210),C=I(2334);function D(L,B,R,U,Z){const j=[].slice.call(arguments,1),V=j.length,re="function"==typeof j[V-1];if(!re&&!g())throw new Error("Callback required as last argument");if(!re){if(V<1)throw new Error("Too few arguments provided");return 1===V?(R=B,B=U=void 0):2===V&&!B.getContext&&(U=R,R=B,B=void 0),new Promise(function(W,ne){try{const G=y.create(R,U);W(L(G,B,U))}catch(G){ne(G)}})}if(V<2)throw new Error("Too few arguments provided");2===V?(Z=R,R=B,B=U=void 0):3===V&&(B.getContext&&typeof Z>"u"?(Z=U,U=void 0):(Z=U,U=R,R=B,B=void 0));try{const W=y.create(R,U);Z(null,L(W,B,U))}catch(W){Z(W)}}A.rT=D.bind(null,b.render),A.hz=D.bind(null,b.renderToDataURL),A.toString=D.bind(null,function(L,B,R){return C.render(L,R)})},8695:ve=>{ve.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},6221:(ve,A,I)=>{const T=I(8233).getSymbolSize;A.getRowColCoords=function(y){if(1===y)return[];const b=Math.floor(y/7)+2,C=T(y),D=145===C?26:2*Math.ceil((C-13)/(2*b-2)),L=[C-7];for(let B=1;B<b-1;B++)L[B]=L[B-1]-D;return L.push(6),L.reverse()},A.getPositions=function(y){const b=[],C=A.getRowColCoords(y),D=C.length;for(let L=0;L<D;L++)for(let B=0;B<D;B++)0===L&&0===B||0===L&&B===D-1||L===D-1&&0===B||b.push([C[L],C[B]]);return b}},2424:(ve,A,I)=>{const T=I(4016),g=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function y(b){this.mode=T.ALPHANUMERIC,this.data=b}y.getBitsLength=function(C){return 11*Math.floor(C/2)+C%2*6},y.prototype.getLength=function(){return this.data.length},y.prototype.getBitsLength=function(){return y.getBitsLength(this.data.length)},y.prototype.write=function(C){let D;for(D=0;D+2<=this.data.length;D+=2){let L=45*g.indexOf(this.data[D]);L+=g.indexOf(this.data[D+1]),C.put(L,11)}this.data.length%2&&C.put(g.indexOf(this.data[D]),6)},ve.exports=y},2118:ve=>{function A(){this.buffer=[],this.length=0}A.prototype={get:function(I){const T=Math.floor(I/8);return 1==(this.buffer[T]>>>7-I%8&1)},put:function(I,T){for(let g=0;g<T;g++)this.putBit(1==(I>>>T-g-1&1))},getLengthInBits:function(){return this.length},putBit:function(I){const T=Math.floor(this.length/8);this.buffer.length<=T&&this.buffer.push(0),I&&(this.buffer[T]|=128>>>this.length%8),this.length++}},ve.exports=A},4425:ve=>{function A(I){if(!I||I<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=I,this.data=new Uint8Array(I*I),this.reservedBit=new Uint8Array(I*I)}A.prototype.set=function(I,T,g,y){const b=I*this.size+T;this.data[b]=g,y&&(this.reservedBit[b]=!0)},A.prototype.get=function(I,T){return this.data[I*this.size+T]},A.prototype.xor=function(I,T,g){this.data[I*this.size+T]^=g},A.prototype.isReserved=function(I,T){return this.reservedBit[I*this.size+T]},ve.exports=A},5663:(ve,A,I)=>{const T=I(8419),g=I(4016);function y(b){this.mode=g.BYTE,"string"==typeof b&&(b=T(b)),this.data=new Uint8Array(b)}y.getBitsLength=function(C){return 8*C},y.prototype.getLength=function(){return this.data.length},y.prototype.getBitsLength=function(){return y.getBitsLength(this.data.length)},y.prototype.write=function(b){for(let C=0,D=this.data.length;C<D;C++)b.put(this.data[C],8)},ve.exports=y},4655:(ve,A,I)=>{const T=I(2259),g=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],y=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];A.getBlocksCount=function(C,D){switch(D){case T.L:return g[4*(C-1)+0];case T.M:return g[4*(C-1)+1];case T.Q:return g[4*(C-1)+2];case T.H:return g[4*(C-1)+3];default:return}},A.getTotalCodewordsCount=function(C,D){switch(D){case T.L:return y[4*(C-1)+0];case T.M:return y[4*(C-1)+1];case T.Q:return y[4*(C-1)+2];case T.H:return y[4*(C-1)+3];default:return}}},2259:(ve,A)=>{A.L={bit:1},A.M={bit:0},A.Q={bit:3},A.H={bit:2},A.isValid=function(g){return g&&typeof g.bit<"u"&&g.bit>=0&&g.bit<4},A.from=function(g,y){if(A.isValid(g))return g;try{return function I(T){if("string"!=typeof T)throw new Error("Param is not a string");switch(T.toLowerCase()){case"l":case"low":return A.L;case"m":case"medium":return A.M;case"q":case"quartile":return A.Q;case"h":case"high":return A.H;default:throw new Error("Unknown EC Level: "+T)}}(g)}catch{return y}}},3114:(ve,A,I)=>{const T=I(8233).getSymbolSize;A.getPositions=function(b){const C=T(b);return[[0,0],[C-7,0],[0,C-7]]}},7078:(ve,A,I)=>{const T=I(8233),b=T.getBCHDigit(1335);A.getEncodedBits=function(D,L){const B=D.bit<<3|L;let R=B<<10;for(;T.getBCHDigit(R)-b>=0;)R^=1335<<T.getBCHDigit(R)-b;return 21522^(B<<10|R)}},5339:(ve,A)=>{const I=new Uint8Array(512),T=new Uint8Array(256);(function(){let y=1;for(let b=0;b<255;b++)I[b]=y,T[y]=b,y<<=1,256&y&&(y^=285);for(let b=255;b<512;b++)I[b]=I[b-255]})(),A.log=function(y){if(y<1)throw new Error("log("+y+")");return T[y]},A.exp=function(y){return I[y]},A.mul=function(y,b){return 0===y||0===b?0:I[T[y]+T[b]]}},449:(ve,A,I)=>{const T=I(4016),g=I(8233);function y(b){this.mode=T.KANJI,this.data=b}y.getBitsLength=function(C){return 13*C},y.prototype.getLength=function(){return this.data.length},y.prototype.getBitsLength=function(){return y.getBitsLength(this.data.length)},y.prototype.write=function(b){let C;for(C=0;C<this.data.length;C++){let D=g.toSJIS(this.data[C]);if(D>=33088&&D<=40956)D-=33088;else{if(!(D>=57408&&D<=60351))throw new Error("Invalid SJIS character: "+this.data[C]+"\nMake sure your charset is UTF-8");D-=49472}D=192*(D>>>8&255)+(255&D),b.put(D,13)}},ve.exports=y},3667:(ve,A)=>{A.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};function T(g,y,b){switch(g){case A.Patterns.PATTERN000:return(y+b)%2==0;case A.Patterns.PATTERN001:return y%2==0;case A.Patterns.PATTERN010:return b%3==0;case A.Patterns.PATTERN011:return(y+b)%3==0;case A.Patterns.PATTERN100:return(Math.floor(y/2)+Math.floor(b/3))%2==0;case A.Patterns.PATTERN101:return y*b%2+y*b%3==0;case A.Patterns.PATTERN110:return(y*b%2+y*b%3)%2==0;case A.Patterns.PATTERN111:return(y*b%3+(y+b)%2)%2==0;default:throw new Error("bad maskPattern:"+g)}}A.isValid=function(y){return null!=y&&""!==y&&!isNaN(y)&&y>=0&&y<=7},A.from=function(y){return A.isValid(y)?parseInt(y,10):void 0},A.getPenaltyN1=function(y){const b=y.size;let C=0,D=0,L=0,B=null,R=null;for(let U=0;U<b;U++){D=L=0,B=R=null;for(let Z=0;Z<b;Z++){let j=y.get(U,Z);j===B?D++:(D>=5&&(C+=D-5+3),B=j,D=1),j=y.get(Z,U),j===R?L++:(L>=5&&(C+=L-5+3),R=j,L=1)}D>=5&&(C+=D-5+3),L>=5&&(C+=L-5+3)}return C},A.getPenaltyN2=function(y){const b=y.size;let C=0;for(let D=0;D<b-1;D++)for(let L=0;L<b-1;L++){const B=y.get(D,L)+y.get(D,L+1)+y.get(D+1,L)+y.get(D+1,L+1);(4===B||0===B)&&C++}return 3*C},A.getPenaltyN3=function(y){const b=y.size;let C=0,D=0,L=0;for(let B=0;B<b;B++){D=L=0;for(let R=0;R<b;R++)D=D<<1&2047|y.get(B,R),R>=10&&(1488===D||93===D)&&C++,L=L<<1&2047|y.get(R,B),R>=10&&(1488===L||93===L)&&C++}return 40*C},A.getPenaltyN4=function(y){let b=0;const C=y.data.length;for(let L=0;L<C;L++)b+=y.data[L];return 10*Math.abs(Math.ceil(100*b/C/5)-10)},A.applyMask=function(y,b){const C=b.size;for(let D=0;D<C;D++)for(let L=0;L<C;L++)b.isReserved(L,D)||b.xor(L,D,T(y,L,D))},A.getBestMask=function(y,b){const C=Object.keys(A.Patterns).length;let D=0,L=1/0;for(let B=0;B<C;B++){b(B),A.applyMask(B,y);const R=A.getPenaltyN1(y)+A.getPenaltyN2(y)+A.getPenaltyN3(y)+A.getPenaltyN4(y);A.applyMask(B,y),R<L&&(L=R,D=B)}return D}},4016:(ve,A,I)=>{const T=I(4406),g=I(2699);A.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},A.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},A.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},A.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},A.MIXED={bit:-1},A.getCharCountIndicator=function(C,D){if(!C.ccBits)throw new Error("Invalid mode: "+C);if(!T.isValid(D))throw new Error("Invalid version: "+D);return D>=1&&D<10?C.ccBits[0]:D<27?C.ccBits[1]:C.ccBits[2]},A.getBestModeForData=function(C){return g.testNumeric(C)?A.NUMERIC:g.testAlphanumeric(C)?A.ALPHANUMERIC:g.testKanji(C)?A.KANJI:A.BYTE},A.toString=function(C){if(C&&C.id)return C.id;throw new Error("Invalid mode")},A.isValid=function(C){return C&&C.bit&&C.ccBits},A.from=function(C,D){if(A.isValid(C))return C;try{return function y(b){if("string"!=typeof b)throw new Error("Param is not a string");switch(b.toLowerCase()){case"numeric":return A.NUMERIC;case"alphanumeric":return A.ALPHANUMERIC;case"kanji":return A.KANJI;case"byte":return A.BYTE;default:throw new Error("Unknown mode: "+b)}}(C)}catch{return D}}},7783:(ve,A,I)=>{const T=I(4016);function g(y){this.mode=T.NUMERIC,this.data=y.toString()}g.getBitsLength=function(b){return 10*Math.floor(b/3)+(b%3?b%3*3+1:0)},g.prototype.getLength=function(){return this.data.length},g.prototype.getBitsLength=function(){return g.getBitsLength(this.data.length)},g.prototype.write=function(b){let C,D,L;for(C=0;C+3<=this.data.length;C+=3)D=this.data.substr(C,3),L=parseInt(D,10),b.put(L,10);const B=this.data.length-C;B>0&&(D=this.data.substr(C),L=parseInt(D,10),b.put(L,3*B+1))},ve.exports=g},1106:(ve,A,I)=>{const T=I(5339);A.mul=function(y,b){const C=new Uint8Array(y.length+b.length-1);for(let D=0;D<y.length;D++)for(let L=0;L<b.length;L++)C[D+L]^=T.mul(y[D],b[L]);return C},A.mod=function(y,b){let C=new Uint8Array(y);for(;C.length-b.length>=0;){const D=C[0];for(let B=0;B<b.length;B++)C[B]^=T.mul(b[B],D);let L=0;for(;L<C.length&&0===C[L];)L++;C=C.slice(L)}return C},A.generateECPolynomial=function(y){let b=new Uint8Array([1]);for(let C=0;C<y;C++)b=A.mul(b,new Uint8Array([1,T.exp(C)]));return b}},1465:(ve,A,I)=>{const T=I(8233),g=I(2259),y=I(2118),b=I(4425),C=I(6221),D=I(3114),L=I(3667),B=I(4655),R=I(2636),U=I(2088),Z=I(7078),j=I(4016),V=I(2033);function z(oe,he,ae){const de=oe.size,me=Z.getEncodedBits(he,ae);let ge,we;for(ge=0;ge<15;ge++)we=1==(me>>ge&1),oe.set(ge<6?ge:ge<8?ge+1:de-15+ge,8,we,!0),oe.set(8,ge<8?de-ge-1:ge<9?15-ge-1+1:15-ge-1,we,!0);oe.set(de-8,8,1,!0)}function K(oe,he,ae,de){let me;if(Array.isArray(oe))me=V.fromArray(oe);else{if("string"!=typeof oe)throw new Error("Invalid data");{let st=he;if(!st){const mt=V.rawSplit(oe);st=U.getBestVersionForData(mt,ae)}me=V.fromString(oe,st||40)}}const ge=U.getBestVersionForData(me,ae);if(!ge)throw new Error("The amount of data is too big to be stored in a QR Code");if(he){if(he<ge)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+ge+".\n")}else he=ge;const we=function le(oe,he,ae){const de=new y;ae.forEach(function(Re){de.put(Re.mode.bit,4),de.put(Re.getLength(),j.getCharCountIndicator(Re.mode,oe)),Re.write(de)});const we=8*(T.getSymbolTotalCodewords(oe)-B.getTotalCodewordsCount(oe,he));for(de.getLengthInBits()+4<=we&&de.put(0,4);de.getLengthInBits()%8!=0;)de.putBit(0);const ze=(we-de.getLengthInBits())/8;for(let Re=0;Re<ze;Re++)de.put(Re%2?17:236,8);return function ie(oe,he,ae){const de=T.getSymbolTotalCodewords(he),ge=de-B.getTotalCodewordsCount(he,ae),we=B.getBlocksCount(he,ae),Re=we-de%we,st=Math.floor(de/we),mt=Math.floor(ge/we),At=mt+1,Xt=st-mt,ft=new R(Xt);let ai=0;const He=new Array(we),yi=new Array(we);let nt=0;const Jt=new Uint8Array(oe.buffer);for(let Tn=0;Tn<we;Tn++){const xi=Tn<Re?mt:At;He[Tn]=Jt.slice(ai,ai+xi),yi[Tn]=ft.encode(He[Tn]),ai+=xi,nt=Math.max(nt,xi)}const Ut=new Uint8Array(de);let _t,on,Fn=0;for(_t=0;_t<nt;_t++)for(on=0;on<we;on++)_t<He[on].length&&(Ut[Fn++]=He[on][_t]);for(_t=0;_t<Xt;_t++)for(on=0;on<we;on++)Ut[Fn++]=yi[on][_t];return Ut}(de,oe,he)}(he,ae,me),ze=T.getSymbolSize(he),Re=new b(ze);return function re(oe,he){const ae=oe.size,de=D.getPositions(he);for(let me=0;me<de.length;me++){const ge=de[me][0],we=de[me][1];for(let ze=-1;ze<=7;ze++)if(!(ge+ze<=-1||ae<=ge+ze))for(let Re=-1;Re<=7;Re++)we+Re<=-1||ae<=we+Re||oe.set(ge+ze,we+Re,ze>=0&&ze<=6&&(0===Re||6===Re)||Re>=0&&Re<=6&&(0===ze||6===ze)||ze>=2&&ze<=4&&Re>=2&&Re<=4,!0)}}(Re,he),function W(oe){const he=oe.size;for(let ae=8;ae<he-8;ae++){const de=ae%2==0;oe.set(ae,6,de,!0),oe.set(6,ae,de,!0)}}(Re),function ne(oe,he){const ae=C.getPositions(he);for(let de=0;de<ae.length;de++){const me=ae[de][0],ge=ae[de][1];for(let we=-2;we<=2;we++)for(let ze=-2;ze<=2;ze++)oe.set(me+we,ge+ze,-2===we||2===we||-2===ze||2===ze||0===we&&0===ze,!0)}}(Re,he),z(Re,ae,0),he>=7&&function G(oe,he){const ae=oe.size,de=U.getEncodedBits(he);let me,ge,we;for(let ze=0;ze<18;ze++)me=Math.floor(ze/3),ge=ze%3+ae-8-3,we=1==(de>>ze&1),oe.set(me,ge,we,!0),oe.set(ge,me,we,!0)}(Re,he),function ce(oe,he){const ae=oe.size;let de=-1,me=ae-1,ge=7,we=0;for(let ze=ae-1;ze>0;ze-=2)for(6===ze&&ze--;;){for(let Re=0;Re<2;Re++)if(!oe.isReserved(me,ze-Re)){let st=!1;we<he.length&&(st=1==(he[we]>>>ge&1)),oe.set(me,ze-Re,st),ge--,-1===ge&&(we++,ge=7)}if(me+=de,me<0||ae<=me){me-=de,de=-de;break}}}(Re,we),isNaN(de)&&(de=L.getBestMask(Re,z.bind(null,Re,ae))),L.applyMask(de,Re),z(Re,ae,de),{modules:Re,version:he,errorCorrectionLevel:ae,maskPattern:de,segments:me}}A.create=function(he,ae){if(typeof he>"u"||""===he)throw new Error("No input text");let me,ge,de=g.M;return typeof ae<"u"&&(de=g.from(ae.errorCorrectionLevel,g.M),me=U.from(ae.version),ge=L.from(ae.maskPattern),ae.toSJISFunc&&T.setToSJISFunction(ae.toSJISFunc)),K(he,me,de,ge)}},2636:(ve,A,I)=>{const T=I(1106);function g(y){this.genPoly=void 0,this.degree=y,this.degree&&this.initialize(this.degree)}g.prototype.initialize=function(b){this.degree=b,this.genPoly=T.generateECPolynomial(this.degree)},g.prototype.encode=function(b){if(!this.genPoly)throw new Error("Encoder not initialized");const C=new Uint8Array(b.length+this.degree);C.set(b);const D=T.mod(C,this.genPoly),L=this.degree-D.length;if(L>0){const B=new Uint8Array(this.degree);return B.set(D,L),B}return D},ve.exports=g},2699:(ve,A)=>{const I="[0-9]+";let g="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";g=g.replace(/u/g,"\\u");const y="(?:(?![A-Z0-9 $%*+\\-./:]|"+g+")(?:.|[\r\n]))+";A.KANJI=new RegExp(g,"g"),A.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),A.BYTE=new RegExp(y,"g"),A.NUMERIC=new RegExp(I,"g"),A.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const b=new RegExp("^"+g+"$"),C=new RegExp("^"+I+"$"),D=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");A.testKanji=function(B){return b.test(B)},A.testNumeric=function(B){return C.test(B)},A.testAlphanumeric=function(B){return D.test(B)}},2033:(ve,A,I)=>{const T=I(4016),g=I(7783),y=I(2424),b=I(5663),C=I(449),D=I(2699),L=I(8233),B=I(4901);function R(G){return unescape(encodeURIComponent(G)).length}function U(G,z,ce){const le=[];let ie;for(;null!==(ie=G.exec(ce));)le.push({data:ie[0],index:ie.index,mode:z,length:ie[0].length});return le}function Z(G){const z=U(D.NUMERIC,T.NUMERIC,G),ce=U(D.ALPHANUMERIC,T.ALPHANUMERIC,G);let le,ie;return L.isKanjiModeEnabled()?(le=U(D.BYTE,T.BYTE,G),ie=U(D.KANJI,T.KANJI,G)):(le=U(D.BYTE_KANJI,T.BYTE,G),ie=[]),z.concat(ce,le,ie).sort(function(oe,he){return oe.index-he.index}).map(function(oe){return{data:oe.data,mode:oe.mode,length:oe.length}})}function j(G,z){switch(z){case T.NUMERIC:return g.getBitsLength(G);case T.ALPHANUMERIC:return y.getBitsLength(G);case T.KANJI:return C.getBitsLength(G);case T.BYTE:return b.getBitsLength(G)}}function ne(G,z){let ce;const le=T.getBestModeForData(G);if(ce=T.from(z,le),ce!==T.BYTE&&ce.bit<le.bit)throw new Error('"'+G+'" cannot be encoded with mode '+T.toString(ce)+".\n Suggested mode is: "+T.toString(le));switch(ce===T.KANJI&&!L.isKanjiModeEnabled()&&(ce=T.BYTE),ce){case T.NUMERIC:return new g(G);case T.ALPHANUMERIC:return new y(G);case T.KANJI:return new C(G);case T.BYTE:return new b(G)}}A.fromArray=function(z){return z.reduce(function(ce,le){return"string"==typeof le?ce.push(ne(le,null)):le.data&&ce.push(ne(le.data,le.mode)),ce},[])},A.fromString=function(z,ce){const ie=function re(G){const z=[];for(let ce=0;ce<G.length;ce++){const le=G[ce];switch(le.mode){case T.NUMERIC:z.push([le,{data:le.data,mode:T.ALPHANUMERIC,length:le.length},{data:le.data,mode:T.BYTE,length:le.length}]);break;case T.ALPHANUMERIC:z.push([le,{data:le.data,mode:T.BYTE,length:le.length}]);break;case T.KANJI:z.push([le,{data:le.data,mode:T.BYTE,length:R(le.data)}]);break;case T.BYTE:z.push([{data:le.data,mode:T.BYTE,length:R(le.data)}])}}return z}(Z(z,L.isKanjiModeEnabled())),K=function W(G,z){const ce={},le={start:{}};let ie=["start"];for(let K=0;K<G.length;K++){const oe=G[K],he=[];for(let ae=0;ae<oe.length;ae++){const de=oe[ae],me=""+K+ae;he.push(me),ce[me]={node:de,lastCount:0},le[me]={};for(let ge=0;ge<ie.length;ge++){const we=ie[ge];ce[we]&&ce[we].node.mode===de.mode?(le[we][me]=j(ce[we].lastCount+de.length,de.mode)-j(ce[we].lastCount,de.mode),ce[we].lastCount+=de.length):(ce[we]&&(ce[we].lastCount=de.length),le[we][me]=j(de.length,de.mode)+4+T.getCharCountIndicator(de.mode,z))}}ie=he}for(let K=0;K<ie.length;K++)le[ie[K]].end=0;return{map:le,table:ce}}(ie,ce),oe=B.find_path(K.map,"start","end"),he=[];for(let ae=1;ae<oe.length-1;ae++)he.push(K.table[oe[ae]].node);return A.fromArray(function V(G){return G.reduce(function(z,ce){const le=z.length-1>=0?z[z.length-1]:null;return le&&le.mode===ce.mode?(z[z.length-1].data+=ce.data,z):(z.push(ce),z)},[])}(he))},A.rawSplit=function(z){return A.fromArray(Z(z,L.isKanjiModeEnabled()))}},8233:(ve,A)=>{let I;const T=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];A.getSymbolSize=function(y){if(!y)throw new Error('"version" cannot be null or undefined');if(y<1||y>40)throw new Error('"version" should be in range from 1 to 40');return 4*y+17},A.getSymbolTotalCodewords=function(y){return T[y]},A.getBCHDigit=function(g){let y=0;for(;0!==g;)y++,g>>>=1;return y},A.setToSJISFunction=function(y){if("function"!=typeof y)throw new Error('"toSJISFunc" is not a valid function.');I=y},A.isKanjiModeEnabled=function(){return typeof I<"u"},A.toSJIS=function(y){return I(y)}},4406:(ve,A)=>{A.isValid=function(T){return!isNaN(T)&&T>=1&&T<=40}},2088:(ve,A,I)=>{const T=I(8233),g=I(4655),y=I(2259),b=I(4016),C=I(4406),L=T.getBCHDigit(7973);function R(j,V){return b.getCharCountIndicator(j,V)+4}function U(j,V){let re=0;return j.forEach(function(W){const ne=R(W.mode,V);re+=ne+W.getBitsLength()}),re}A.from=function(V,re){return C.isValid(V)?parseInt(V,10):re},A.getCapacity=function(V,re,W){if(!C.isValid(V))throw new Error("Invalid QR Code version");typeof W>"u"&&(W=b.BYTE);const z=8*(T.getSymbolTotalCodewords(V)-g.getTotalCodewordsCount(V,re));if(W===b.MIXED)return z;const ce=z-R(W,V);switch(W){case b.NUMERIC:return Math.floor(ce/10*3);case b.ALPHANUMERIC:return Math.floor(ce/11*2);case b.KANJI:return Math.floor(ce/13);default:return Math.floor(ce/8)}},A.getBestVersionForData=function(V,re){let W;const ne=y.from(re,y.M);if(Array.isArray(V)){if(V.length>1)return function Z(j,V){for(let re=1;re<=40;re++)if(U(j,re)<=A.getCapacity(re,V,b.MIXED))return re}(V,ne);if(0===V.length)return 1;W=V[0]}else W=V;return function B(j,V,re){for(let W=1;W<=40;W++)if(V<=A.getCapacity(W,re,j))return W}(W.mode,W.getLength(),ne)},A.getEncodedBits=function(V){if(!C.isValid(V)||V<7)throw new Error("Invalid QR Code version");let re=V<<12;for(;T.getBCHDigit(re)-L>=0;)re^=7973<<T.getBCHDigit(re)-L;return V<<12|re}},3210:(ve,A,I)=>{const T=I(6355);A.render=function(C,D,L){let B=L,R=D;typeof B>"u"&&(!D||!D.getContext)&&(B=D,D=void 0),D||(R=function y(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}()),B=T.getOptions(B);const U=T.getImageWidth(C.modules.size,B),Z=R.getContext("2d"),j=Z.createImageData(U,U);return T.qrToImageData(j.data,C,B),function g(b,C,D){b.clearRect(0,0,C.width,C.height),C.style||(C.style={}),C.height=D,C.width=D,C.style.height=D+"px",C.style.width=D+"px"}(Z,R,U),Z.putImageData(j,0,0),R},A.renderToDataURL=function(C,D,L){let B=L;return typeof B>"u"&&(!D||!D.getContext)&&(B=D,D=void 0),B||(B={}),A.render(C,D,B).toDataURL(B.type||"image/png",(B.rendererOpts||{}).quality)}},2334:(ve,A,I)=>{const T=I(6355);function g(C,D){const L=C.a/255,B=D+'="'+C.hex+'"';return L<1?B+" "+D+'-opacity="'+L.toFixed(2).slice(1)+'"':B}function y(C,D,L){let B=C+D;return typeof L<"u"&&(B+=" "+L),B}A.render=function(D,L,B){const R=T.getOptions(L),U=D.modules.size,Z=D.modules.data,j=U+2*R.margin,V=R.color.light.a?"<path "+g(R.color.light,"fill")+' d="M0 0h'+j+"v"+j+'H0z"/>':"",re="<path "+g(R.color.dark,"stroke")+' d="'+function b(C,D,L){let B="",R=0,U=!1,Z=0;for(let j=0;j<C.length;j++){const V=Math.floor(j%D),re=Math.floor(j/D);!V&&!U&&(U=!0),C[j]?(Z++,j>0&&V>0&&C[j-1]||(B+=U?y("M",V+L,.5+re+L):y("m",R,0),R=0,U=!1),V+1<D&&C[j+1]||(B+=y("h",Z),Z=0)):R++}return B}(Z,U,R.margin)+'"/>',G='<svg xmlns="http://www.w3.org/2000/svg" '+(R.width?'width="'+R.width+'" height="'+R.width+'" ':"")+'viewBox="0 0 '+j+" "+j+'" shape-rendering="crispEdges">'+V+re+"</svg>\n";return"function"==typeof B&&B(null,G),G}},6355:(ve,A)=>{function I(T){if("number"==typeof T&&(T=T.toString()),"string"!=typeof T)throw new Error("Color should be defined as hex string");let g=T.slice().replace("#","").split("");if(g.length<3||5===g.length||g.length>8)throw new Error("Invalid hex color: "+T);(3===g.length||4===g.length)&&(g=Array.prototype.concat.apply([],g.map(function(b){return[b,b]}))),6===g.length&&g.push("F","F");const y=parseInt(g.join(""),16);return{r:y>>24&255,g:y>>16&255,b:y>>8&255,a:255&y,hex:"#"+g.slice(0,6).join("")}}A.getOptions=function(g){g||(g={}),g.color||(g.color={});const b=g.width&&g.width>=21?g.width:void 0;return{width:b,scale:b?4:g.scale||4,margin:typeof g.margin>"u"||null===g.margin||g.margin<0?4:g.margin,color:{dark:I(g.color.dark||"#000000ff"),light:I(g.color.light||"#ffffffff")},type:g.type,rendererOpts:g.rendererOpts||{}}},A.getScale=function(g,y){return y.width&&y.width>=g+2*y.margin?y.width/(g+2*y.margin):y.scale},A.getImageWidth=function(g,y){const b=A.getScale(g,y);return Math.floor((g+2*y.margin)*b)},A.qrToImageData=function(g,y,b){const C=y.modules.size,D=y.modules.data,L=A.getScale(C,b),B=Math.floor((C+2*b.margin)*L),R=b.margin*L,U=[b.color.light,b.color.dark];for(let Z=0;Z<B;Z++)for(let j=0;j<B;j++){let V=4*(Z*B+j),re=b.color.light;Z>=R&&j>=R&&Z<B-R&&j<B-R&&(re=U[D[Math.floor((Z-R)/L)*C+Math.floor((j-R)/L)]?1:0]),g[V++]=re.r,g[V++]=re.g,g[V++]=re.b,g[V]=re.a}}},9165:ve=>{"use strict";var A=String.prototype.replace,I=/%20/g;ve.exports={default:"RFC3986",formatters:{RFC1738:function(g){return A.call(g,I,"+")},RFC3986:function(g){return String(g)}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},1781:(ve,A,I)=>{"use strict";var T=I(3726),g=I(6954),y=I(9165);ve.exports={formats:y,parse:g,stringify:T}},6954:(ve,A,I)=>{"use strict";var T=I(4393),g=Object.prototype.hasOwnProperty,y=Array.isArray,b={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:T.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},D=function(V,re){return V&&"string"==typeof V&&re.comma&&V.indexOf(",")>-1?V.split(","):V},Z=function(re,W,ne,G){if(re){var z=ne.allowDots?re.replace(/\.([^.[]+)/g,"[$1]"):re,le=/(\[[^[\]]*])/g,ie=ne.depth>0&&/(\[[^[\]]*])/.exec(z),K=ie?z.slice(0,ie.index):z,oe=[];if(K){if(!ne.plainObjects&&g.call(Object.prototype,K)&&!ne.allowPrototypes)return;oe.push(K)}for(var he=0;ne.depth>0&&null!==(ie=le.exec(z))&&he<ne.depth;){if(he+=1,!ne.plainObjects&&g.call(Object.prototype,ie[1].slice(1,-1))&&!ne.allowPrototypes)return;oe.push(ie[1])}return ie&&oe.push("["+z.slice(ie.index)+"]"),function(V,re,W,ne){for(var G=ne?re:D(re,W),z=V.length-1;z>=0;--z){var ce,le=V[z];if("[]"===le&&W.parseArrays)ce=[].concat(G);else{ce=W.plainObjects?Object.create(null):{};var ie="["===le.charAt(0)&&"]"===le.charAt(le.length-1)?le.slice(1,-1):le,K=parseInt(ie,10);W.parseArrays||""!==ie?!isNaN(K)&&le!==ie&&String(K)===ie&&K>=0&&W.parseArrays&&K<=W.arrayLimit?(ce=[])[K]=G:"__proto__"!==ie&&(ce[ie]=G):ce={0:G}}G=ce}return G}(oe,W,ne,G)}};ve.exports=function(V,re){var W=function(re){if(!re)return b;if(null!=re.decoder&&"function"!=typeof re.decoder)throw new TypeError("Decoder has to be a function.");if(typeof re.charset<"u"&&"utf-8"!==re.charset&&"iso-8859-1"!==re.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");return{allowDots:typeof re.allowDots>"u"?b.allowDots:!!re.allowDots,allowPrototypes:"boolean"==typeof re.allowPrototypes?re.allowPrototypes:b.allowPrototypes,allowSparse:"boolean"==typeof re.allowSparse?re.allowSparse:b.allowSparse,arrayLimit:"number"==typeof re.arrayLimit?re.arrayLimit:b.arrayLimit,charset:typeof re.charset>"u"?b.charset:re.charset,charsetSentinel:"boolean"==typeof re.charsetSentinel?re.charsetSentinel:b.charsetSentinel,comma:"boolean"==typeof re.comma?re.comma:b.comma,decoder:"function"==typeof re.decoder?re.decoder:b.decoder,delimiter:"string"==typeof re.delimiter||T.isRegExp(re.delimiter)?re.delimiter:b.delimiter,depth:"number"==typeof re.depth||!1===re.depth?+re.depth:b.depth,ignoreQueryPrefix:!0===re.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof re.interpretNumericEntities?re.interpretNumericEntities:b.interpretNumericEntities,parameterLimit:"number"==typeof re.parameterLimit?re.parameterLimit:b.parameterLimit,parseArrays:!1!==re.parseArrays,plainObjects:"boolean"==typeof re.plainObjects?re.plainObjects:b.plainObjects,strictNullHandling:"boolean"==typeof re.strictNullHandling?re.strictNullHandling:b.strictNullHandling}}(re);if(""===V||null===V||typeof V>"u")return W.plainObjects?Object.create(null):{};for(var ne="string"==typeof V?function(re,W){var ie,ne={},ce=(W.ignoreQueryPrefix?re.replace(/^\?/,""):re).split(W.delimiter,W.parameterLimit===1/0?void 0:W.parameterLimit),le=-1,K=W.charset;if(W.charsetSentinel)for(ie=0;ie<ce.length;++ie)0===ce[ie].indexOf("utf8=")&&("utf8=%E2%9C%93"===ce[ie]?K="utf-8":"utf8=%26%2310003%3B"===ce[ie]&&(K="iso-8859-1"),le=ie,ie=ce.length);for(ie=0;ie<ce.length;++ie)if(ie!==le){var de,me,oe=ce[ie],he=oe.indexOf("]="),ae=-1===he?oe.indexOf("="):he+1;-1===ae?(de=W.decoder(oe,b.decoder,K,"key"),me=W.strictNullHandling?null:""):(de=W.decoder(oe.slice(0,ae),b.decoder,K,"key"),me=T.maybeMap(D(oe.slice(ae+1),W),function(ge){return W.decoder(ge,b.decoder,K,"value")})),me&&W.interpretNumericEntities&&"iso-8859-1"===K&&(me=me.replace(/&#(\d+);/g,function(re,W){return String.fromCharCode(parseInt(W,10))})),oe.indexOf("[]=")>-1&&(me=y(me)?[me]:me),ne[de]=g.call(ne,de)?T.combine(ne[de],me):me}return ne}(V,W):V,G=W.plainObjects?Object.create(null):{},z=Object.keys(ne),ce=0;ce<z.length;++ce){var le=z[ce],ie=Z(le,ne[le],W,"string"==typeof V);G=T.merge(G,ie,W)}return!0===W.allowSparse?G:T.compact(G)}},3726:(ve,A,I)=>{"use strict";var T=I(8475),g=I(4393),y=I(9165),b=Object.prototype.hasOwnProperty,C={brackets:function(z){return z+"[]"},comma:"comma",indices:function(z,ce){return z+"["+ce+"]"},repeat:function(z){return z}},D=Array.isArray,L=String.prototype.split,B=Array.prototype.push,R=function(G,z){B.apply(G,D(z)?z:[z])},U=Date.prototype.toISOString,Z=y.default,j={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:g.encode,encodeValuesOnly:!1,format:Z,formatter:y.formatters[Z],indices:!1,serializeDate:function(z){return U.call(z)},skipNulls:!1,strictNullHandling:!1},re={},W=function G(z,ce,le,ie,K,oe,he,ae,de,me,ge,we,ze,Re,st,mt){for(var At=z,Xt=mt,ft=0,ai=!1;void 0!==(Xt=Xt.get(re))&&!ai;){var He=Xt.get(z);if(ft+=1,typeof He<"u"){if(He===ft)throw new RangeError("Cyclic object value");ai=!0}typeof Xt.get(re)>"u"&&(ft=0)}if("function"==typeof ae?At=ae(ce,At):At instanceof Date?At=ge(At):"comma"===le&&D(At)&&(At=g.maybeMap(At,function(fi){return fi instanceof Date?ge(fi):fi})),null===At){if(K)return he&&!Re?he(ce,j.encoder,st,"key",we):ce;At=""}if(function(z){return"string"==typeof z||"number"==typeof z||"boolean"==typeof z||"symbol"==typeof z||"bigint"==typeof z}(At)||g.isBuffer(At)){if(he){var yi=Re?ce:he(ce,j.encoder,st,"key",we);if("comma"===le&&Re){for(var nt=L.call(String(At),","),Jt="",Ut=0;Ut<nt.length;++Ut)Jt+=(0===Ut?"":",")+ze(he(nt[Ut],j.encoder,st,"value",we));return[ze(yi)+(ie&&D(At)&&1===nt.length?"[]":"")+"="+Jt]}return[ze(yi)+"="+ze(he(At,j.encoder,st,"value",we))]}return[ze(ce)+"="+ze(String(At))]}var _t,Fn=[];if(typeof At>"u")return Fn;if("comma"===le&&D(At))_t=[{value:At.length>0?At.join(",")||null:void 0}];else if(D(ae))_t=ae;else{var on=Object.keys(At);_t=de?on.sort(de):on}for(var Tn=ie&&D(At)&&1===At.length?ce+"[]":ce,xi=0;xi<_t.length;++xi){var ht=_t[xi],zt="object"==typeof ht&&typeof ht.value<"u"?ht.value:At[ht];if(!oe||null!==zt){var Ge=D(At)?"function"==typeof le?le(Tn,ht):Tn:Tn+(me?"."+ht:"["+ht+"]");mt.set(z,ft);var at=T();at.set(re,mt),R(Fn,G(zt,Ge,le,ie,K,oe,he,ae,de,me,ge,we,ze,Re,st,at))}}return Fn};ve.exports=function(G,z){var ie,ce=G,le=function(z){if(!z)return j;if(null!==z.encoder&&typeof z.encoder<"u"&&"function"!=typeof z.encoder)throw new TypeError("Encoder has to be a function.");var ce=z.charset||j.charset;if(typeof z.charset<"u"&&"utf-8"!==z.charset&&"iso-8859-1"!==z.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var le=y.default;if(typeof z.format<"u"){if(!b.call(y.formatters,z.format))throw new TypeError("Unknown format option provided.");le=z.format}var ie=y.formatters[le],K=j.filter;return("function"==typeof z.filter||D(z.filter))&&(K=z.filter),{addQueryPrefix:"boolean"==typeof z.addQueryPrefix?z.addQueryPrefix:j.addQueryPrefix,allowDots:typeof z.allowDots>"u"?j.allowDots:!!z.allowDots,charset:ce,charsetSentinel:"boolean"==typeof z.charsetSentinel?z.charsetSentinel:j.charsetSentinel,delimiter:typeof z.delimiter>"u"?j.delimiter:z.delimiter,encode:"boolean"==typeof z.encode?z.encode:j.encode,encoder:"function"==typeof z.encoder?z.encoder:j.encoder,encodeValuesOnly:"boolean"==typeof z.encodeValuesOnly?z.encodeValuesOnly:j.encodeValuesOnly,filter:K,format:le,formatter:ie,serializeDate:"function"==typeof z.serializeDate?z.serializeDate:j.serializeDate,skipNulls:"boolean"==typeof z.skipNulls?z.skipNulls:j.skipNulls,sort:"function"==typeof z.sort?z.sort:null,strictNullHandling:"boolean"==typeof z.strictNullHandling?z.strictNullHandling:j.strictNullHandling}}(z);"function"==typeof le.filter?ce=(0,le.filter)("",ce):D(le.filter)&&(ie=le.filter);var oe=[];if("object"!=typeof ce||null===ce)return"";var ae=C[z&&z.arrayFormat in C?z.arrayFormat:z&&"indices"in z?z.indices?"indices":"repeat":"indices"];if(z&&"commaRoundTrip"in z&&"boolean"!=typeof z.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var de="comma"===ae&&z&&z.commaRoundTrip;ie||(ie=Object.keys(ce)),le.sort&&ie.sort(le.sort);for(var me=T(),ge=0;ge<ie.length;++ge){var we=ie[ge];le.skipNulls&&null===ce[we]||R(oe,W(ce[we],we,ae,de,le.strictNullHandling,le.skipNulls,le.encode?le.encoder:null,le.filter,le.sort,le.allowDots,le.serializeDate,le.format,le.formatter,le.encodeValuesOnly,le.charset,me))}var ze=oe.join(le.delimiter),Re=!0===le.addQueryPrefix?"?":"";return le.charsetSentinel&&(Re+="iso-8859-1"===le.charset?"utf8=%26%2310003%3B&":"utf8=%E2%9C%93&"),ze.length>0?Re+ze:""}},4393:(ve,A,I)=>{"use strict";var T=I(9165),g=Object.prototype.hasOwnProperty,y=Array.isArray,b=function(){for(var ne=[],G=0;G<256;++G)ne.push("%"+((G<16?"0":"")+G.toString(16)).toUpperCase());return ne}(),D=function(G,z){for(var ce=z&&z.plainObjects?Object.create(null):{},le=0;le<G.length;++le)typeof G[le]<"u"&&(ce[le]=G[le]);return ce};ve.exports={arrayToObject:D,assign:function(G,z){return Object.keys(z).reduce(function(ce,le){return ce[le]=z[le],ce},G)},combine:function(G,z){return[].concat(G,z)},compact:function(G){for(var z=[{obj:{o:G},prop:"o"}],ce=[],le=0;le<z.length;++le)for(var ie=z[le],K=ie.obj[ie.prop],oe=Object.keys(K),he=0;he<oe.length;++he){var ae=oe[he],de=K[ae];"object"==typeof de&&null!==de&&-1===ce.indexOf(de)&&(z.push({obj:K,prop:ae}),ce.push(de))}return function(G){for(;G.length>1;){var z=G.pop(),ce=z.obj[z.prop];if(y(ce)){for(var le=[],ie=0;ie<ce.length;++ie)typeof ce[ie]<"u"&&le.push(ce[ie]);z.obj[z.prop]=le}}}(z),G},decode:function(ne,G,z){var ce=ne.replace(/\+/g," ");if("iso-8859-1"===z)return ce.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(ce)}catch{return ce}},encode:function(G,z,ce,le,ie){if(0===G.length)return G;var K=G;if("symbol"==typeof G?K=Symbol.prototype.toString.call(G):"string"!=typeof G&&(K=String(G)),"iso-8859-1"===ce)return escape(K).replace(/%u[0-9a-f]{4}/gi,function(de){return"%26%23"+parseInt(de.slice(2),16)+"%3B"});for(var oe="",he=0;he<K.length;++he){var ae=K.charCodeAt(he);45===ae||46===ae||95===ae||126===ae||ae>=48&&ae<=57||ae>=65&&ae<=90||ae>=97&&ae<=122||ie===T.RFC1738&&(40===ae||41===ae)?oe+=K.charAt(he):ae<128?oe+=b[ae]:ae<2048?oe+=b[192|ae>>6]+b[128|63&ae]:ae<55296||ae>=57344?oe+=b[224|ae>>12]+b[128|ae>>6&63]+b[128|63&ae]:(ae=65536+((1023&ae)<<10|1023&K.charCodeAt(he+=1)),oe+=b[240|ae>>18]+b[128|ae>>12&63]+b[128|ae>>6&63]+b[128|63&ae])}return oe},isBuffer:function(G){return!(!G||"object"!=typeof G||!(G.constructor&&G.constructor.isBuffer&&G.constructor.isBuffer(G)))},isRegExp:function(G){return"[object RegExp]"===Object.prototype.toString.call(G)},maybeMap:function(G,z){if(y(G)){for(var ce=[],le=0;le<G.length;le+=1)ce.push(z(G[le]));return ce}return z(G)},merge:function ne(G,z,ce){if(!z)return G;if("object"!=typeof z){if(y(G))G.push(z);else{if(!G||"object"!=typeof G)return[G,z];(ce&&(ce.plainObjects||ce.allowPrototypes)||!g.call(Object.prototype,z))&&(G[z]=!0)}return G}if(!G||"object"!=typeof G)return[G].concat(z);var le=G;return y(G)&&!y(z)&&(le=D(G,ce)),y(G)&&y(z)?(z.forEach(function(ie,K){if(g.call(G,K)){var oe=G[K];oe&&"object"==typeof oe&&ie&&"object"==typeof ie?G[K]=ne(oe,ie,ce):G.push(ie)}else G[K]=ie}),G):Object.keys(z).reduce(function(ie,K){var oe=z[K];return ie[K]=g.call(ie,K)?ne(ie[K],oe,ce):oe,ie},le)}}},1135:(ve,A,I)=>{const T=I(534),g=I(1471),{isPlainObject:y}=I(4639),b=I(4999),C=I(8617),{parse:D}=I(6820),L=["img","audio","video","picture","svg","object","map","iframe","embed"],B=["script","style"];function R(G,z){G&&Object.keys(G).forEach(function(ce){z(G[ce],ce)})}function U(G,z){return{}.hasOwnProperty.call(G,z)}function Z(G,z){const ce=[];return R(G,function(le){z(le)&&ce.push(le)}),ce}ve.exports=W;const re=/^[^\0\t\n\f\r /<=>]+$/;function W(G,z,ce){if(null==G)return"";"number"==typeof G&&(G=G.toString());let le="",ie="";function K(ht,zt){const Ge=this;this.tag=ht,this.attribs=zt||{},this.tagPosition=le.length,this.text="",this.mediaChildren=[],this.updateParentNodeText=function(){mt.length&&(mt[mt.length-1].text+=Ge.text)},this.updateParentNodeMediaChildren=function(){mt.length&&L.includes(this.tag)&&mt[mt.length-1].mediaChildren.push(this.tag)}}(z=Object.assign({},W.defaults,z)).parser=Object.assign({},ne,z.parser);const oe=function(ht){return!1===z.allowedTags||(z.allowedTags||[]).indexOf(ht)>-1};B.forEach(function(ht){oe(ht)&&!z.allowVulnerableTags&&console.warn(`\n\n\u26a0\ufe0f Your \`allowedTags\` option includes, \`${ht}\`, which is inherently\nvulnerable to XSS attacks. Please remove it from \`allowedTags\`.\nOr, to disable this warning, add the \`allowVulnerableTags\` option\nand ensure you are accounting for this risk.\n\n`)});const he=z.nonTextTags||["script","style","textarea","option"];let ae,de;z.allowedAttributes&&(ae={},de={},R(z.allowedAttributes,function(ht,zt){ae[zt]=[];const Ge=[];ht.forEach(function(at){"string"==typeof at&&at.indexOf("*")>=0?Ge.push(g(at).replace(/\\\*/g,".*")):ae[zt].push(at)}),Ge.length&&(de[zt]=new RegExp("^("+Ge.join("|")+")$"))}));const me={},ge={},we={};R(z.allowedClasses,function(ht,zt){ae&&(U(ae,zt)||(ae[zt]=[]),ae[zt].push("class")),me[zt]=[],we[zt]=[];const Ge=[];ht.forEach(function(at){"string"==typeof at&&at.indexOf("*")>=0?Ge.push(g(at).replace(/\\\*/g,".*")):at instanceof RegExp?we[zt].push(at):me[zt].push(at)}),Ge.length&&(ge[zt]=new RegExp("^("+Ge.join("|")+")$"))});const ze={};let Re;R(z.transformTags,function(ht,zt){let Ge;"function"==typeof ht?Ge=ht:"string"==typeof ht&&(Ge=W.simpleTransform(ht)),"*"===zt?Re=Ge:ze[zt]=Ge});let st,mt,At,Xt,ft,ai,He=!1;nt();const yi=new T.Parser({onopentag:function(ht,zt){if(z.enforceHtmlBoundary&&"html"===ht&&nt(),ft)return void ai++;const Ge=new K(ht,zt);mt.push(Ge);let at=!1;const fi=!!Ge.text;let $t;if(U(ze,ht)&&($t=ze[ht](ht,zt),Ge.attribs=zt=$t.attribs,void 0!==$t.text&&(Ge.innerText=$t.text),ht!==$t.tagName&&(Ge.name=ht=$t.tagName,Xt[st]=$t.tagName)),Re&&($t=Re(ht,zt),Ge.attribs=zt=$t.attribs,ht!==$t.tagName&&(Ge.name=ht=$t.tagName,Xt[st]=$t.tagName)),(!oe(ht)||"recursiveEscape"===z.disallowedTagsMode&&!function j(G){for(const z in G)if(U(G,z))return!1;return!0}(At)||null!=z.nestingLimit&&st>=z.nestingLimit)&&(at=!0,At[st]=!0,"discard"===z.disallowedTagsMode&&-1!==he.indexOf(ht)&&(ft=!0,ai=1),At[st]=!0),st++,at){if("discard"===z.disallowedTagsMode)return;ie=le,le=""}le+="<"+ht,"script"===ht&&(z.allowedScriptHostnames||z.allowedScriptDomains)&&(Ge.innerText=""),(!ae||U(ae,ht)||ae["*"])&&R(zt,function(oi,vt){if(!re.test(vt))return void delete Ge.attribs[vt];let un=!1;if(!ae||U(ae,ht)&&-1!==ae[ht].indexOf(vt)||ae["*"]&&-1!==ae["*"].indexOf(vt)||U(de,ht)&&de[ht].test(vt)||de["*"]&&de["*"].test(vt))un=!0;else if(ae&&ae[ht])for(const Ni of ae[ht])if(y(Ni)&&Ni.name&&Ni.name===vt){un=!0;let Vi="";if(!0===Ni.multiple){const fa=oi.split(" ");for(const $i of fa)-1!==Ni.values.indexOf($i)&&(""===Vi?Vi=$i:Vi+=" "+$i)}else Ni.values.indexOf(oi)>=0&&(Vi=oi);oi=Vi}if(un){if(-1!==z.allowedSchemesAppliedToAttributes.indexOf(vt)&&Ut(ht,oi))return void delete Ge.attribs[vt];if("script"===ht&&"src"===vt){let Ni=!0;try{const Vi=Fn(oi);if(z.allowedScriptHostnames||z.allowedScriptDomains){const fa=(z.allowedScriptHostnames||[]).find(function(fn){return fn===Vi.url.hostname}),$i=(z.allowedScriptDomains||[]).find(function(fn){return Vi.url.hostname===fn||Vi.url.hostname.endsWith(`.${fn}`)});Ni=fa||$i}}catch{Ni=!1}if(!Ni)return void delete Ge.attribs[vt]}if("iframe"===ht&&"src"===vt){let Ni=!0;try{const Vi=Fn(oi);if(Vi.isRelativeUrl)Ni=U(z,"allowIframeRelativeUrls")?z.allowIframeRelativeUrls:!z.allowedIframeHostnames&&!z.allowedIframeDomains;else if(z.allowedIframeHostnames||z.allowedIframeDomains){const fa=(z.allowedIframeHostnames||[]).find(function(fn){return fn===Vi.url.hostname}),$i=(z.allowedIframeDomains||[]).find(function(fn){return Vi.url.hostname===fn||Vi.url.hostname.endsWith(`.${fn}`)});Ni=fa||$i}}catch{Ni=!1}if(!Ni)return void delete Ge.attribs[vt]}if("srcset"===vt)try{let Ni=C(oi);if(Ni.forEach(function(Vi){Ut("srcset",Vi.url)&&(Vi.evil=!0)}),Ni=Z(Ni,function(Vi){return!Vi.evil}),!Ni.length)return void delete Ge.attribs[vt];oi=function V(G){return G.map(function(z){if(!z.url)throw new Error("URL missing");return z.url+(z.w?` ${z.w}w`:"")+(z.h?` ${z.h}h`:"")+(z.d?` ${z.d}x`:"")}).join(", ")}(Z(Ni,function(Vi){return!Vi.evil})),Ge.attribs[vt]=oi}catch{return void delete Ge.attribs[vt]}if("class"===vt){const Ni=me[ht],Vi=me["*"],Oi=[ge[ht],ge["*"]].concat(we[ht]).filter(function(Ji){return Ji});if(!(oi=function xi(ht,zt,Ge){return zt?(ht=ht.split(/\s+/)).filter(function(at){return-1!==zt.indexOf(at)||Ge.some(function(fi){return fi.test(at)})}).join(" "):ht}(oi,Ni&&Vi?b(Ni,Vi):Ni||Vi,Oi)).length)return void delete Ge.attribs[vt]}if("style"===vt)if(z.parseStyleAttributes)try{const Vi=function _t(ht,zt){if(!zt)return ht;const Ge=ht.nodes[0];let at;return at=zt[Ge.selector]&&zt["*"]?b(zt[Ge.selector],zt["*"]):zt[Ge.selector]||zt["*"],at&&(ht.nodes[0].nodes=Ge.nodes.reduce(function Tn(ht){return function(zt,Ge){return U(ht,Ge.prop)&&ht[Ge.prop].some(function(fi){return fi.test(Ge.value)})&&zt.push(Ge),zt}}(at),[])),ht}(D(ht+" {"+oi+"}"),z.allowedStyles);if(oi=function on(ht){return ht.nodes[0].nodes.reduce(function(zt,Ge){return zt.push(`${Ge.prop}:${Ge.value}${Ge.important?" !important":""}`),zt},[]).join(";")}(Vi),0===oi.length)return void delete Ge.attribs[vt]}catch{return console.warn('Failed to parse "'+ht+" {"+oi+"}\", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547"),void delete Ge.attribs[vt]}else if(z.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.");le+=" "+vt,oi&&oi.length&&(le+='="'+Jt(oi,!0)+'"')}else delete Ge.attribs[vt]}),-1!==z.selfClosing.indexOf(ht)?le+=" />":(le+=">",Ge.innerText&&!fi&&!z.textFilter&&(le+=Jt(Ge.innerText),He=!0)),at&&(le=ie+Jt(le),ie="")},ontext:function(ht){if(ft)return;const zt=mt[mt.length-1];let Ge;if(zt&&(Ge=zt.tag,ht=void 0!==zt.innerText?zt.innerText:ht),"discard"!==z.disallowedTagsMode||"script"!==Ge&&"style"!==Ge){const at=Jt(ht,!1);z.textFilter&&!He?le+=z.textFilter(at,Ge):He||(le+=at)}else le+=ht;mt.length&&(mt[mt.length-1].text+=ht)},onclosetag:function(ht,zt){if(ft){if(ai--,ai)return;ft=!1}const Ge=mt.pop();if(!Ge)return;if(Ge.tag!==ht)return void mt.push(Ge);ft=!!z.enforceHtmlBoundary&&"html"===ht,st--;const at=At[st];if(at){if(delete At[st],"discard"===z.disallowedTagsMode)return void Ge.updateParentNodeText();ie=le,le=""}Xt[st]&&(ht=Xt[st],delete Xt[st]),z.exclusiveFilter&&z.exclusiveFilter(Ge)?le=le.substr(0,Ge.tagPosition):(Ge.updateParentNodeMediaChildren(),Ge.updateParentNodeText(),-1!==z.selfClosing.indexOf(ht)||zt&&!oe(ht)&&["escape","recursiveEscape"].indexOf(z.disallowedTagsMode)>=0?at&&(le=ie,ie=""):(le+="</"+ht+">",at&&(le=ie+Jt(le),ie=""),He=!1))}},z.parser);return yi.write(G),yi.end(),le;function nt(){le="",st=0,mt=[],At={},Xt={},ft=!1,ai=0}function Jt(ht,zt){return"string"!=typeof ht&&(ht+=""),z.parser.decodeEntities&&(ht=ht.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),zt&&(ht=ht.replace(/"/g,"&quot;"))),ht=ht.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),zt&&(ht=ht.replace(/"/g,"&quot;")),ht}function Ut(ht,zt){for(zt=zt.replace(/[\x00-\x20]+/g,"");;){const fi=zt.indexOf("\x3c!--");if(-1===fi)break;const $t=zt.indexOf("--\x3e",fi+4);if(-1===$t)break;zt=zt.substring(0,fi)+zt.substring($t+3)}const Ge=zt.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!Ge)return!!zt.match(/^[/\\]{2}/)&&!z.allowProtocolRelative;const at=Ge[1].toLowerCase();return U(z.allowedSchemesByTag,ht)?-1===z.allowedSchemesByTag[ht].indexOf(at):!z.allowedSchemes||-1===z.allowedSchemes.indexOf(at)}function Fn(ht){if((ht=ht.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//")).startsWith("relative:"))throw new Error("relative: exploit attempt");let zt="relative://relative-site";for(let fi=0;fi<100;fi++)zt+=`/${fi}`;const Ge=new URL(ht,zt);return{isRelativeUrl:Ge&&"relative-site"===Ge.hostname&&"relative:"===Ge.protocol,url:Ge}}}const ne={decodeEntities:!0};W.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0},W.simpleTransform=function(G,z,ce){return ce=void 0===ce||ce,z=z||{},function(le,ie){let K;if(ce)for(K in z)ie[K]=z[K];else ie=z;return{tagName:G,attribs:ie}}}},1471:ve=>{"use strict";ve.exports=A=>{if("string"!=typeof A)throw new TypeError("Expected a string");return A.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},4639:(ve,A)=>{"use strict";function I(g){return"[object Object]"===Object.prototype.toString.call(g)}Object.defineProperty(A,"__esModule",{value:!0}),A.isPlainObject=function T(g){var y,b;return!1!==I(g)&&(void 0===(y=g.constructor)||!(!1===I(b=y.prototype)||!1===b.hasOwnProperty("isPrototypeOf")))}},8475:(ve,A,I)=>{"use strict";var T=I(5203),g=I(5834),y=I(7024),b=T("%TypeError%"),C=T("%WeakMap%",!0),D=T("%Map%",!0),L=g("WeakMap.prototype.get",!0),B=g("WeakMap.prototype.set",!0),R=g("WeakMap.prototype.has",!0),U=g("Map.prototype.get",!0),Z=g("Map.prototype.set",!0),j=g("Map.prototype.has",!0),V=function(G,z){for(var le,ce=G;null!==(le=ce.next);ce=le)if(le.key===z)return ce.next=le.next,le.next=G.next,G.next=le,le};ve.exports=function(){var z,ce,le,ie={assert:function(K){if(!ie.has(K))throw new b("Side channel does not contain "+y(K))},get:function(K){if(C&&K&&("object"==typeof K||"function"==typeof K)){if(z)return L(z,K)}else if(D){if(ce)return U(ce,K)}else if(le)return function(G,z){var ce=V(G,z);return ce&&ce.value}(le,K)},has:function(K){if(C&&K&&("object"==typeof K||"function"==typeof K)){if(z)return R(z,K)}else if(D){if(ce)return j(ce,K)}else if(le)return function(G,z){return!!V(G,z)}(le,K);return!1},set:function(K,oe){C&&K&&("object"==typeof K||"function"==typeof K)?(z||(z=new C),B(z,K,oe)):D?(ce||(ce=new D),Z(ce,K,oe)):(le||(le={key:{},next:null}),function(G,z,ce){var le=V(G,z);le?le.value=ce:G.next={key:z,next:G.next,value:ce}}(le,K,oe))}};return ie}},6700:(ve,A,I)=>{var T={"./af":7088,"./af.js":7088,"./ar":7038,"./ar-dz":2502,"./ar-dz.js":2502,"./ar-kw":128,"./ar-kw.js":128,"./ar-ly":4519,"./ar-ly.js":4519,"./ar-ma":5443,"./ar-ma.js":5443,"./ar-sa":7642,"./ar-sa.js":7642,"./ar-tn":8592,"./ar-tn.js":8592,"./ar.js":7038,"./az":1213,"./az.js":1213,"./be":9191,"./be.js":9191,"./bg":322,"./bg.js":322,"./bm":8042,"./bm.js":8042,"./bn":9620,"./bn-bd":5903,"./bn-bd.js":5903,"./bn.js":9620,"./bo":9645,"./bo.js":9645,"./br":5020,"./br.js":5020,"./bs":4792,"./bs.js":4792,"./ca":7980,"./ca.js":7980,"./cs":7322,"./cs.js":7322,"./cv":365,"./cv.js":365,"./cy":2092,"./cy.js":2092,"./da":7387,"./da.js":7387,"./de":4307,"./de-at":9459,"./de-at.js":9459,"./de-ch":3694,"./de-ch.js":3694,"./de.js":4307,"./dv":9659,"./dv.js":9659,"./el":3460,"./el.js":3460,"./en-au":4369,"./en-au.js":4369,"./en-ca":530,"./en-ca.js":530,"./en-gb":9998,"./en-gb.js":9998,"./en-ie":3391,"./en-ie.js":3391,"./en-il":5414,"./en-il.js":5414,"./en-in":9615,"./en-in.js":9615,"./en-nz":1248,"./en-nz.js":1248,"./en-sg":3767,"./en-sg.js":3767,"./eo":4530,"./eo.js":4530,"./es":6866,"./es-do":8944,"./es-do.js":8944,"./es-mx":9116,"./es-mx.js":9116,"./es-us":3609,"./es-us.js":3609,"./es.js":6866,"./et":6725,"./et.js":6725,"./eu":7931,"./eu.js":7931,"./fa":6417,"./fa.js":6417,"./fi":944,"./fi.js":944,"./fil":1766,"./fil.js":1766,"./fo":5867,"./fo.js":5867,"./fr":1636,"./fr-ca":6848,"./fr-ca.js":6848,"./fr-ch":7773,"./fr-ch.js":7773,"./fr.js":1636,"./fy":4940,"./fy.js":4940,"./ga":1402,"./ga.js":1402,"./gd":6924,"./gd.js":6924,"./gl":6398,"./gl.js":6398,"./gom-deva":2457,"./gom-deva.js":2457,"./gom-latn":2545,"./gom-latn.js":2545,"./gu":2641,"./gu.js":2641,"./he":7536,"./he.js":7536,"./hi":6335,"./hi.js":6335,"./hr":7458,"./hr.js":7458,"./hu":6540,"./hu.js":6540,"./hy-am":5283,"./hy-am.js":5283,"./id":8780,"./id.js":8780,"./is":4205,"./is.js":4205,"./it":4211,"./it-ch":9985,"./it-ch.js":9985,"./it.js":4211,"./ja":1003,"./ja.js":1003,"./jv":420,"./jv.js":420,"./ka":851,"./ka.js":851,"./kk":6074,"./kk.js":6074,"./km":3343,"./km.js":3343,"./kn":4799,"./kn.js":4799,"./ko":3549,"./ko.js":3549,"./ku":1037,"./ku.js":1037,"./ky":3125,"./ky.js":3125,"./lb":9586,"./lb.js":9586,"./lo":2349,"./lo.js":2349,"./lt":2400,"./lt.js":2400,"./lv":9991,"./lv.js":9991,"./me":8477,"./me.js":8477,"./mi":5118,"./mi.js":5118,"./mk":5943,"./mk.js":5943,"./ml":3849,"./ml.js":3849,"./mn":1977,"./mn.js":1977,"./mr":6184,"./mr.js":6184,"./ms":485,"./ms-my":4524,"./ms-my.js":4524,"./ms.js":485,"./mt":6681,"./mt.js":6681,"./my":2024,"./my.js":2024,"./nb":2688,"./nb.js":2688,"./ne":8914,"./ne.js":8914,"./nl":1758,"./nl-be":2272,"./nl-be.js":2272,"./nl.js":1758,"./nn":1510,"./nn.js":1510,"./oc-lnc":2797,"./oc-lnc.js":2797,"./pa-in":7944,"./pa-in.js":7944,"./pl":1605,"./pl.js":1605,"./pt":4225,"./pt-br":3840,"./pt-br.js":3840,"./pt.js":4225,"./ro":5128,"./ro.js":5128,"./ru":5127,"./ru.js":5127,"./sd":2525,"./sd.js":2525,"./se":9893,"./se.js":9893,"./si":3123,"./si.js":3123,"./sk":9635,"./sk.js":9635,"./sl":8106,"./sl.js":8106,"./sq":8799,"./sq.js":8799,"./sr":7949,"./sr-cyrl":2872,"./sr-cyrl.js":2872,"./sr.js":7949,"./ss":6167,"./ss.js":6167,"./sv":9713,"./sv.js":9713,"./sw":1982,"./sw.js":1982,"./ta":2732,"./ta.js":2732,"./te":3636,"./te.js":3636,"./tet":2115,"./tet.js":2115,"./tg":9801,"./tg.js":9801,"./th":4486,"./th.js":4486,"./tk":1310,"./tk.js":1310,"./tl-ph":2360,"./tl-ph.js":2360,"./tlh":6645,"./tlh.js":6645,"./tr":8374,"./tr.js":8374,"./tzl":256,"./tzl.js":256,"./tzm":1595,"./tzm-latn":1631,"./tzm-latn.js":1631,"./tzm.js":1595,"./ug-cn":6050,"./ug-cn.js":6050,"./uk":5610,"./uk.js":5610,"./ur":6077,"./ur.js":6077,"./uz":2862,"./uz-latn":2207,"./uz-latn.js":2207,"./uz.js":2862,"./vi":8093,"./vi.js":8093,"./x-pseudo":5590,"./x-pseudo.js":5590,"./yo":9058,"./yo.js":9058,"./zh-cn":7908,"./zh-cn.js":7908,"./zh-hk":8867,"./zh-hk.js":8867,"./zh-mo":1133,"./zh-mo.js":1133,"./zh-tw":3291,"./zh-tw.js":3291};function g(b){var C=y(b);return I(C)}function y(b){if(!I.o(T,b)){var C=new Error("Cannot find module '"+b+"'");throw C.code="MODULE_NOT_FOUND",C}return T[b]}g.keys=function(){return Object.keys(T)},g.resolve=y,ve.exports=g,g.id=6700},5856:()=>{},4654:()=>{},2868:()=>{},4777:()=>{},9830:()=>{},209:()=>{},7414:()=>{},9901:ve=>{ve.exports={nanoid:(g=21)=>{let y="",b=g;for(;b--;)y+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return y},customAlphabet:(g,y=21)=>(b=y)=>{let C="",D=b;for(;D--;)C+=g[Math.random()*g.length|0];return C}}},9598:ve=>{function A(T,g,y,b,C,D,L){try{var B=T[D](L),R=B.value}catch(U){return void y(U)}B.done?g(R):Promise.resolve(R).then(b,C)}ve.exports=function I(T){return function(){var g=this,y=arguments;return new Promise(function(b,C){var D=T.apply(g,y);function L(R){A(D,b,C,L,B,"next",R)}function B(R){A(D,b,C,L,B,"throw",R)}L(void 0)})}},ve.exports.__esModule=!0,ve.exports.default=ve.exports}},ve=>{ve(ve.s=2714)}]);