From 884bc10bc790cf0523f4de95f10d7d066159cdde Mon Sep 17 00:00:00 2001 From: sondreb Date: Fri, 24 Mar 2023 08:27:18 +0000 Subject: [PATCH] deploy: 7451f910515f42a4b17e606097fe2519bb4f464f --- 404.html | 2 +- index.html | 2 +- main.8bd204b0538b1441.js | 1 - main.9bcd5e023ebfdc62.js | 1 + ngsw.json | 8 ++++---- 5 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 main.8bd204b0538b1441.js create mode 100644 main.9bcd5e023ebfdc62.js diff --git a/404.html b/404.html index 49780cf..d6357da 100644 --- a/404.html +++ b/404.html @@ -25,6 +25,6 @@
Blockcore Notes loading...
- + \ No newline at end of file diff --git a/index.html b/index.html index 49780cf..d6357da 100644 --- a/index.html +++ b/index.html @@ -25,6 +25,6 @@
Blockcore Notes loading...
- + \ No newline at end of file diff --git a/main.8bd204b0538b1441.js b/main.8bd204b0538b1441.js deleted file mode 100644 index d99d611..0000000 --- a/main.8bd204b0538b1441.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkblockcore_notes=self.webpackChunkblockcore_notes||[]).push([[179],{7411:(Te,O,y)=>{"use strict";y.d(O,{d:()=>x});var f=y(8505),e=y(4650),g=y(6233),_=y(529);class x{constructor(F,A,D){this.cd=F,this.appState=A,this.http=D}ngOnInit(){this.appState.showBackButton=!0,this.appState.updateTitle("Licenses"),this.appState.actions=[],this.showContent("3rdpartylicenses.txt",A=>`
${A.replace(//g,">")}
`)}showContent(F,A=(D=>D)){this.http.get(F,{responseType:"text"}).pipe((0,f.b)(D=>{this.licenses=D,this.cd.markForCheck()},D=>{this.licenses=`Unable to get content (${D.statusText})`,this.cd.markForCheck()})).subscribe()}}x.\u0275fac=function(F){return new(F||x)(e.Y36(e.sBO),e.Y36(g.i),e.Y36(_.eN))},x.\u0275cmp=e.Xpm({type:x,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(F,A){1&F&&(e.TgZ(0,"div",0)(1,"p"),e._uU(2,"Blockcore Note is an open source project published under the MIT license. You can view the source code on "),e.TgZ(3,"a",1),e._uU(4,"GitHub"),e.qZA()(),e.TgZ(5,"h1",2),e._uU(6,"Third Party Licenses"),e.qZA(),e.TgZ(7,"div",3),e._uU(8),e.qZA()()),2&F&&(e.xp6(8),e.Oqu(A.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}}"]})},6233:(Te,O,y)=>{"use strict";y.d(O,{i:()=>P});var f=y(1135),e=y(4004),g=y(3151),_=y(4650),x=y(9383),k=y(2289),F=y(592),A=y(6895),D=y(1481);class P{constructor(S,N,J,Z,ne){this.translate=S,this.breakpointObserver=N,this.authService=J,this.location=Z,this.titleService=ne,this.title="Blockcore Notes",this.titleChanged=new f.X(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 f.X(this.connected),this.initializedChanged=new f.X(!1),this.visibilityChanged=new f.X(!1),this.initialized=!1,this.isSmallScreen$=this.breakpointObserver.observe("(max-width: 599px)").pipe((0,e.U)(V=>V.matches),(0,g.d)()),this.displayLabels$=this.breakpointObserver.observe("(max-width: 720px)").pipe((0,e.U)(V=>V.matches),(0,g.d)()),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(S){this.title=S,this.titleService.setTitle(S+" - Blockcore Notes"),this.titleChanged.next(this.title)}updateConnectionStatus(S){this.connected!=S&&(this.connected=S,this.connectedChanged.next(S))}visibility(S){this.visibilityChanged.next(S)}setInitialized(){this.initialized=!0,this.initializedChanged.next(this.initialized)}setLanguage(S){this.translate.use(S)}}P.\u0275fac=function(S){return new(S||P)(_.LFG(x.sK),_.LFG(k.Yg),_.LFG(F.$),_.LFG(A.Ye),_.LFG(D.Dx))},P.\u0275prov=_.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"})},5301:(Te,O,y)=>{"use strict";y.d(O,{P:()=>x});var f=y(4650),e=y(6233),g=y(592),_=y(9132);class x{constructor(F,A,D){this.appState=F,this.authService=A,this.router=D}canActivate(){return!!this.authService.authInfo$.getValue().authenticated()||this.authService.getAuthInfo().then(F=>!!F.authenticated()||(this.router.navigateByUrl("/connect"),!1))}}x.\u0275fac=function(F){return new(F||x)(f.LFG(e.i),f.LFG(g.$),f.LFG(_.F0))},x.\u0275prov=f.Yz7({token:x,factory:x.\u0275fac})},592:(Te,O,y)=>{"use strict";y.d(O,{$:()=>F});var f=y(5861),e=y(1135),g=y(4650),_=y(7949),x=y(9132);class k{authenticated(){return!!this.publicKeyHex}}class F{constructor(D,P){this.utilities=D,this.router=P,this.authInfo$=new e.X(F.UNKNOWN_USER)}login(){var D=this;return(0,f.Z)(function*(){const U=yield globalThis.nostr.getPublicKey(),S=D.createUser(U);return localStorage.setItem("blockcore:notes:nostr:pubkey",U),D.authInfo$.next(S),S})()}anonymous(D){D&&(D=this.utilities.ensureHexIdentifier(D));const P=D||"354faab36ca511a7956f0bfc2b64e06fe5395cd7208d9b65d6665270298743d8",U=this.createUser(P);return localStorage.setItem("blockcore:notes:nostr:pubkey",P),this.authInfo$.next(U),U}logout(){localStorage.removeItem("blockcore:notes:nostr:pubkey"),localStorage.removeItem("blockcore:notes:nostr:prvkey"),this.authInfo$.next(F.UNKNOWN_USER),this.router.navigateByUrl("/connect")}createUser(D){const P=new k;return P.publicKeyHex=D,P.publicKey=this.utilities.getNostrIdentifier(D),P.short=D.substring(0,10)+"...",P}getAuthInfo(){var D=this;return(0,f.Z)(function*(){let P=localStorage.getItem("blockcore:notes:nostr:pubkey");if(P){try{D.utilities.getNostrIdentifier(P)}catch{return P="",localStorage.setItem("blockcore:notes:nostr:pubkey",""),F.UNKNOWN_USER}const U=D.createUser(P);return D.authInfo$.next(U),U}return D.authInfo$.next(F.UNKNOWN_USER),F.UNKNOWN_USER})()}}F.UNKNOWN_USER=new k,F.\u0275fac=function(D){return new(D||F)(g.LFG(_.dU),g.LFG(x.F0))},F.\u0275prov=g.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"})},9784:(Te,O,y)=>{"use strict";y.d(O,{Y:()=>x});var f=y(3839),g=y(4650),_=y(7096);class x{constructor(F){this.options=F,this.contentLimit=16384,this.tagsLimit=50,this.profileLimit=16384,this.profileTagsLimit=1e3,this.contactsContentLimit=16384}sanitizeEvent(F){let A=f(F.content,{allowedTags:["b","i","em","strong","a","img"],allowedAttributes:{a:["href"],img:["src"]},allowedIframeHostnames:["www.youtube.com"]});return F.content=A,F}filterEvent(F){return this.options.values.hideInvoice&&F.content.indexOf("lnbc")>-1||this.options.values.hideSpam&&-1==F.content.substring(0,200).indexOf(" ")?null:F}filterEvents(F){return F.filter(A=>this.filterEvent(A))}validateEvent(F){return F.pubkey.length<60||F.pubkey.length>70||!F.sig||!F.id||F.sig.length<100||F.pubkey.length>150||64!==F.id.length||"number"!=typeof F.kind||"number"!=typeof F.created_at?null:(0===F.kind?F.content.length>this.profileLimit&&(F.content=F.content.substring(0,this.profileLimit),F.contentCut=!0):F.content.length>this.contentLimit&&(F.content=F.content.substring(0,this.contentLimit),F.contentCut=!0),F.tags&&F.tags.length>this.tagsLimit&&(F.tags=F.tags.splice(0,this.tagsLimit),F.tagsCut=!0),F)}validateContacts(F){return F.pubkey.length<60||F.pubkey.length>70||!F.sig||!F.id||F.sig.length<100||F.pubkey.length>150||64!==F.id.length||"number"!=typeof F.kind||"number"!=typeof F.created_at||3!==F.kind?null:(F.content.length>this.contactsContentLimit&&(F.content=F.content.substring(0,this.contactsContentLimit),F.contentCut=!0),F)}escapeNewLineChars(F){return null!=F&&""!=F?F.replace(/\n/g," "):F}sanitizeProfile(F){let A=f(F.about,{allowedTags:[],allowedAttributes:{}});return F.about=A,F}validateProfile(F){return F.picture.length>2e3||F.name.length>280||F.about.length>280||F.nip05.length>2e3?null:F}}x.\u0275fac=function(F){return new(F||x)(g.LFG(_.I))},x.\u0275prov=g.Yz7({token:x,factory:x.\u0275fac,providedIn:"root"})},6826:(Te,O,y)=>{"use strict";y.d(O,{T:()=>x});var f=y(9300),e=y(4650),g=y(6233),_=y(9132);class x{constructor(F,A){this.appState=F,this.router=A}resolve(F,A){return this.appState.initialized$.pipe((0,f.h)(D=>D))}}x.\u0275fac=function(F){return new(F||x)(e.LFG(g.i),e.LFG(_.F0))},x.\u0275prov=e.Yz7({token:x,factory:x.\u0275fac,providedIn:"root"})},7096:(Te,O,y)=>{"use strict";y.d(O,{I:()=>g});var f=y(9766),e=y(4650);class g{constructor(){this.values={mediaService:f.C.defaultService,language:"en",dir:"ltr",enableReactions:!0,enableZapping:!0,showLines:!0,peopleDisplayType:1,peopleDisplayView:0,peopleDisplaySort:"name-asc"},this.load()}load(){let x=localStorage.getItem("blockcore:notes:nostr:options");x&&(this.values=JSON.parse(x)),null==this.values.enableReactions&&(this.values.enableReactions=!0),null==this.values.enableZapping&&(this.values.enableZapping=!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=f.C.defaultService)}save(){localStorage.setItem("blockcore:notes:nostr:options",JSON.stringify(this.values))}}g.\u0275fac=function(x){return new(x||g)},g.\u0275prov=e.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"})},9766:(Te,O,y)=>{"use strict";y.d(O,{C:()=>F});var f=y(5861),e=y(5062),g=y(4650),_=y(7096);class x{upload(D,P){return(0,f.Z)(function*(){let U="",S="";U="https://void.cat",S="https://void.cat/upload";const N=D.name,J=yield D.arrayBuffer(),Z=yield crypto.subtle.digest("SHA-256",J),ne=yield fetch("https://void.cat/upload",{mode:"cors",method:"POST",headers:{"Content-Type":"application/octet-stream","V-Strip-Metadata":"true","V-Filename":N,"V-Content-Type":D.type,"V-Full-Digest":e.P6.bytesToHex(new Uint8Array(Z)),"V-Description":"Upload from https://notes.blockcore.net"},body:J});if(ne.ok){const V=yield ne.json();return V.ok?{url:V.file?.metadata?.url??`https://void.cat/d/${V.file?.id}${P?`.${P[1]}`:""}`}:{error:V.errorMessage}}return console.warn(ne),{error:"Upload failed."}})()}}class k{upload(D,P){return(0,f.Z)(function*(){const S=new FormData;S.append("fileToUpload",D),S.append("submit","Upload Image");const N=yield fetch("https://nostr.build/api/upload/snort.php",{body:S,method:"POST",headers:{accept:"application/json"}});if(N.ok){const J=yield N.json();return{url:new URL(J).toString()}}return{error:"Upload failed"}})()}}class F{constructor(D){this.options=D}extension(D){return D.substring(D.lastIndexOf(".")+1,D.length)||D}upload(D){var P=this;return(0,f.Z)(function*(){const S=P.extension(D.name);let N=null;if("void.cat"==P.options.values.mediaService)return N=new x,N.upload(D,S);if("nostr.build"==P.options.values.mediaService)return N=new k,N.upload(D,S);throw new Error("Unknown media service.")})()}}F.defaultService="nostr.build",F.\u0275fac=function(D){return new(D||F)(g.LFG(_.I))},F.\u0275prov=g.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"})},7949:(Te,O,y)=>{"use strict";y.d(O,{dU:()=>P});var f=y(5062),e=y(7494),g=y(7957),_=y(4650),x=y(7009),k=y(9784),F=y(1481);class P{constructor(S,N,J){this.snackBar=S,this.validator=N,this.sanitizer=J,this.defaultBackground="url(/assets/gradient.jpg)"}unsubscribe(S){if(S)for(let N=0;N{"use strict";function e(g){var _=document.createElement("textarea");_.style.position="fixed",_.style.top=0,_.style.left=0,_.style.width="2em",_.style.height="2em",_.style.padding=0,_.style.border="none",_.style.outline="none",_.style.boxShadow="none",_.style.background="transparent",_.value=g,document.body.appendChild(_),_.focus(),_.select();try{document.execCommand("copy")}catch{console.error("Oops, unable to copy")}document.body.removeChild(_)}y.d(O,{v:()=>e})},2561:(Te,O,y)=>{"use strict";var f=y(1481),e=y(4650),g=y(2687),_=y(8184),x=y(3353),k=y(4080),F=y(6895),A=y(9521),D=y(7579),P=y(9770),U=y(9646),S=y(445),N=y(8675);function J(r,i){}class Z{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 V=(()=>{class r extends k.en{constructor(t,n,a,l,v,I,W,G){super(),this._elementRef=t,this._focusTrapFactory=n,this._config=l,this._interactivityChecker=v,this._ngZone=I,this._overlayRef=W,this._focusMonitor=G,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=ye=>{this._portalOutlet.hasAttached();const Ge=this._portalOutlet.attachDomPortal(ye);return this._contentAttached(),Ge},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=a}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(t){this._portalOutlet.hasAttached();const n=this._portalOutlet.attachComponentPortal(t);return this._contentAttached(),n}attachTemplatePortal(t){this._portalOutlet.hasAttached();const n=this._portalOutlet.attachTemplatePortal(t);return this._contentAttached(),n}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(t,n){this._interactivityChecker.isFocusable(t)||(t.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const a=()=>{t.removeEventListener("blur",a),t.removeEventListener("mousedown",a),t.removeAttribute("tabindex")};t.addEventListener("blur",a),t.addEventListener("mousedown",a)})),t.focus(n)}_focusByCssSelector(t,n){let a=this._elementRef.nativeElement.querySelector(t);a&&this._forceFocus(a,n)}_trapFocus(){const t=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||t.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 t=this._config.restoreFocus;let n=null;if("string"==typeof t?n=this._document.querySelector(t):"boolean"==typeof t?n=t?this._elementFocusedBeforeDialogWasOpened:null:t&&(n=t),this._config.restoreFocus&&n&&"function"==typeof n.focus){const a=(0,x.ht)(),l=this._elementRef.nativeElement;(!a||a===this._document.body||a===l||l.contains(a))&&(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 t=this._elementRef.nativeElement,n=(0,x.ht)();return t===n||t.contains(n)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,x.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(g.qV),e.Y36(F.K0,8),e.Y36(Z),e.Y36(g.ic),e.Y36(e.R0b),e.Y36(_.Iu),e.Y36(g.tE))},r.\u0275cmp=e.Xpm({type:r,selectors:[["cdk-dialog-container"]],viewQuery:function(t,n){if(1&t&&e.Gf(k.Pl,7),2&t){let a;e.iGM(a=e.CRH())&&(n._portalOutlet=a.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(t,n){2&t&&e.uIk("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:[e.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,n){1&t&&e.YNc(0,J,0,0,"ng-template",0)},dependencies:[k.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),r})();class z{constructor(i,t){this.overlayRef=i,this.config=t,this.closed=new D.x,this.disableClose=t.disableClose,this.backdropClick=i.backdropClick(),this.keydownEvents=i.keydownEvents(),this.outsidePointerEvents=i.outsidePointerEvents(),this.id=t.id,this.keydownEvents.subscribe(n=>{n.keyCode===A.hY&&!this.disableClose&&!(0,A.Vb)(n)&&(n.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=i.detachments().subscribe(()=>{!1!==t.closeOnOverlayDetachments&&this.close()})}close(i,t){if(this.containerInstance){const n=this.closed;this.containerInstance._closeInteractionType=t?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),n.next(i),n.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(i="",t=""){return this.overlayRef.updateSize({width:i,height:t}),this}addPanelClass(i){return this.overlayRef.addPanelClass(i),this}removePanelClass(i){return this.overlayRef.removePanelClass(i),this}}const ue=new e.OlP("DialogScrollStrategy"),fe=new e.OlP("DialogData"),$=new e.OlP("DefaultDialogConfig"),X={provide:ue,deps:[_.aV],useFactory:function Y(r){return()=>r.scrollStrategies.block()}};let ie=0,te=(()=>{class r{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(t,n,a,l,v,I){this._overlay=t,this._injector=n,this._defaultOptions=a,this._parentDialog=l,this._overlayContainer=v,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new D.x,this._afterOpenedAtThisLevel=new D.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,P.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,N.O)(void 0))),this._scrollStrategy=I}open(t,n){(n={...this._defaultOptions||new Z,...n}).id=n.id||"cdk-dialog-"+ie++,n.id&&this.getDialogById(n.id);const l=this._getOverlayConfig(n),v=this._overlay.create(l),I=new z(v,n),W=this._attachContainer(v,I,n);return I.containerInstance=W,this._attachDialogContent(t,I,W,n),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(I),I.closed.subscribe(()=>this._removeOpenDialog(I,!0)),this.afterOpened.next(I),I}closeAll(){le(this.openDialogs,t=>t.close())}getDialogById(t){return this.openDialogs.find(n=>n.id===t)}ngOnDestroy(){le(this._openDialogsAtThisLevel,t=>{!1===t.config.closeOnDestroy&&this._removeOpenDialog(t,!1)}),le(this._openDialogsAtThisLevel,t=>t.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(t){const n=new _.X_({positionStrategy:t.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,width:t.width,height:t.height,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(n.backdropClass=t.backdropClass),n}_attachContainer(t,n,a){const l=a.injector||a.viewContainerRef?.injector,v=[{provide:Z,useValue:a},{provide:z,useValue:n},{provide:_.Iu,useValue:t}];let I;a.container?"function"==typeof a.container?I=a.container:(I=a.container.type,v.push(...a.container.providers(a))):I=V;const W=new k.C5(I,a.viewContainerRef,e.zs3.create({parent:l||this._injector,providers:v}),a.componentFactoryResolver);return t.attach(W).instance}_attachDialogContent(t,n,a,l){if(t instanceof e.Rgc){const v=this._createInjector(l,n,a,void 0);let I={$implicit:l.data,dialogRef:n};l.templateContext&&(I={...I,..."function"==typeof l.templateContext?l.templateContext():l.templateContext}),a.attachTemplatePortal(new k.UE(t,null,I,v))}else{const v=this._createInjector(l,n,a,this._injector),I=a.attachComponentPortal(new k.C5(t,l.viewContainerRef,v,l.componentFactoryResolver));n.componentInstance=I.instance}}_createInjector(t,n,a,l){const v=t.injector||t.viewContainerRef?.injector,I=[{provide:fe,useValue:t.data},{provide:z,useValue:n}];return t.providers&&("function"==typeof t.providers?I.push(...t.providers(n,t,a)):I.push(...t.providers)),t.direction&&(!v||!v.get(S.Is,null,{optional:!0}))&&I.push({provide:S.Is,useValue:{value:t.direction,change:(0,U.of)()}}),e.zs3.create({parent:v||l,providers:I})}_removeOpenDialog(t,n){const a=this.openDialogs.indexOf(t);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((l,v)=>{l?v.setAttribute("aria-hidden",l):v.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),n&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const n=t.parentElement.children;for(let a=n.length-1;a>-1;a--){const l=n[a];l!==t&&"SCRIPT"!==l.nodeName&&"STYLE"!==l.nodeName&&!l.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(l,l.getAttribute("aria-hidden")),l.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(_.aV),e.LFG(e.zs3),e.LFG($,8),e.LFG(r,12),e.LFG(_.Xj),e.LFG(ue))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})();function le(r,i){let t=r.length;for(;t--;)i(r[t])}let pe=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[te,X],imports:[_.U8,k.eL,g.rt,k.eL]}),r})();var ae=y(3238),ke=y(2289),xe=y(7340),Ye=y(6451),Qe=y(9300),Se=y(5698);function nt(r,i){}const we={bottomSheetState:(0,xe.X$)("state",[(0,xe.SB)("void, hidden",(0,xe.oB)({transform:"translateY(100%)"})),(0,xe.SB)("visible",(0,xe.oB)({transform:"translateY(0%)"})),(0,xe.eR)("visible => void, visible => hidden",(0,xe.ru)([(0,xe.jt)(`${ae.mZ.COMPLEX} ${ae.yN.ACCELERATION_CURVE}`),(0,xe.IO)("@*",(0,xe.pV)(),{optional:!0})])),(0,xe.eR)("void => visible",(0,xe.ru)([(0,xe.jt)(`${ae.mZ.EXITING} ${ae.yN.DECELERATION_CURVE}`),(0,xe.IO)("@*",(0,xe.pV)(),{optional:!0})]))])};let Ie=(()=>{class r extends V{constructor(t,n,a,l,v,I,W,G,ye,Ge){super(t,n,a,l,v,I,W,Ge),this._changeDetectorRef=ye,this._animationState="void",this._animationStateChanged=new e.vpe,this._breakpointSubscription=G.observe([ke.u3.Medium,ke.u3.Large,ke.u3.XLarge]).subscribe(()=>{this._toggleClass("mat-bottom-sheet-container-medium",G.isMatched(ke.u3.Medium)),this._toggleClass("mat-bottom-sheet-container-large",G.isMatched(ke.u3.Large)),this._toggleClass("mat-bottom-sheet-container-xlarge",G.isMatched(ke.u3.XLarge))})}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(t){"visible"===t.toState&&this._trapFocus(),this._animationStateChanged.emit(t)}_onAnimationStart(t){this._animationStateChanged.emit(t)}_captureInitialFocus(){}_toggleClass(t,n){this._elementRef.nativeElement.classList.toggle(t,n)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(g.qV),e.Y36(F.K0,8),e.Y36(Z),e.Y36(g.ic),e.Y36(e.R0b),e.Y36(_.Iu),e.Y36(ke.Yg),e.Y36(e.sBO),e.Y36(g.tE))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-bottom-sheet-container"]],hostAttrs:["tabindex","-1",1,"mat-bottom-sheet-container"],hostVars:4,hostBindings:function(t,n){1&t&&e.WFA("@state.start",function(l){return n._onAnimationStart(l)})("@state.done",function(l){return n._onAnimationDone(l)}),2&t&&(e.uIk("role",n._config.role)("aria-modal",n._config.ariaModal)("aria-label",n._config.ariaLabel),e.d8E("@state",n._animationState))},features:[e.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,n){1&t&&e.YNc(0,nt,0,0,"ng-template",0)},dependencies:[k.Pl],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:[we.bottomSheetState]}}),r})(),rt=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[pe,ae.BQ,k.eL,ae.BQ]}),r})();const Ze=new e.OlP("MatBottomSheetData");class Ft{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 lt{get instance(){return this._ref.componentInstance}constructor(i,t,n){this._ref=i,this._afterOpened=new D.x,this.containerInstance=n,this.disableClose=t.disableClose,n._animationStateChanged.pipe((0,Qe.h)(a=>"done"===a.phaseName&&"visible"===a.toState),(0,Se.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe((0,Qe.h)(a=>"done"===a.phaseName&&"hidden"===a.toState),(0,Se.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._ref.close(this._result)}),i.overlayRef.detachments().subscribe(()=>{this._ref.close(this._result)}),(0,Ye.T)(this.backdropClick(),this.keydownEvents().pipe((0,Qe.h)(a=>a.keyCode===A.hY))).subscribe(a=>{!this.disableClose&&("keydown"!==a.type||!(0,A.Vb)(a))&&(a.preventDefault(),this.dismiss())})}dismiss(i){this.containerInstance&&(this.containerInstance._animationStateChanged.pipe((0,Qe.h)(t=>"start"===t.phaseName),(0,Se.q)(1)).subscribe(t=>{this._closeFallbackTimeout=setTimeout(()=>{this._ref.close(this._result)},t.totalTime+100),this._ref.overlayRef.detachBackdrop()}),this._result=i,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 qe=new e.OlP("mat-bottom-sheet-default-options");let ei=(()=>{class r{get _openedBottomSheetRef(){const t=this._parentBottomSheet;return t?t._openedBottomSheetRef:this._bottomSheetRefAtThisLevel}set _openedBottomSheetRef(t){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=t:this._bottomSheetRefAtThisLevel=t}constructor(t,n,a,l){this._overlay=t,this._parentBottomSheet=a,this._defaultOptions=l,this._bottomSheetRefAtThisLevel=null,this._dialog=n.get(te)}open(t,n){const a={...this._defaultOptions||new Ft,...n};let l;return this._dialog.open(t,{...a,disableClose:!0,closeOnOverlayDetachments:!1,maxWidth:"100%",container:Ie,scrollStrategy:a.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0"),templateContext:()=>({bottomSheetRef:l}),providers:(v,I,W)=>(l=new lt(v,a,W),[{provide:lt,useValue:l},{provide:Ze,useValue:a.data}])}),l.afterDismissed().subscribe(()=>{this._openedBottomSheetRef===l&&(this._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(()=>l.containerInstance?.enter()),this._openedBottomSheetRef.dismiss()):l.containerInstance.enter(),this._openedBottomSheetRef=l,l}dismiss(t){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(t)}ngOnDestroy(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(_.aV),e.LFG(e.zs3),e.LFG(r,12),e.LFG(qe,8))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:rt}),r})();var Ht=y(9132),ve=y(5861),st=y(1281);function Jt(r,i){}class Et{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 Ct="mdc-dialog--open",ht="mdc-dialog--opening",at="mdc-dialog--closing";let ze=(()=>{class r extends V{constructor(t,n,a,l,v,I,W,G){super(t,n,a,l,v,I,W,G),this._animationStateChanged=new e.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(t){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(g.qV),e.Y36(F.K0,8),e.Y36(Et),e.Y36(g.ic),e.Y36(e.R0b),e.Y36(_.Iu),e.Y36(g.tE))},r.\u0275cmp=e.Xpm({type:r,selectors:[["ng-component"]],features:[e.qOj],decls:0,vars:0,template:function(t,n){},encapsulation:2}),r})();const pt="--mat-dialog-transition-duration";function kt(r){return null==r?null:"number"==typeof r?r:r.endsWith("ms")?(0,st.su)(r.substring(0,r.length-2)):r.endsWith("s")?1e3*(0,st.su)(r.substring(0,r.length-1)):"0"===r?0:null}let et=(()=>{class r extends ze{constructor(t,n,a,l,v,I,W,G,ye){super(t,n,a,l,v,I,W,ye),this._animationMode=G,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._openAnimationDuration=this._animationsEnabled?kt(this._config.enterAnimationDuration)??150:0,this._closeAnimationDuration=this._animationsEnabled?kt(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(pt,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(ht),this._hostElement.classList.add(Ct),this._waitForAnimationToComplete(this._openAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Ct),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._closeAnimationDuration}),this._hostElement.classList.remove(Ct),this._animationsEnabled?(this._hostElement.style.setProperty(pt,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(at),this._waitForAnimationToComplete(this._closeAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(ht),this._hostElement.classList.remove(at)}_waitForAnimationToComplete(t,n){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(n,t)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(g.qV),e.Y36(F.K0,8),e.Y36(Et),e.Y36(g.ic),e.Y36(e.R0b),e.Y36(_.Iu),e.Y36(e.QbO,8),e.Y36(g.tE))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(t,n){2&t&&(e.Ikx("id",n._config.id),e.uIk("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),e.ekj("_mat-animation-noopable",!n._animationsEnabled))},features:[e.qOj],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(t,n){1&t&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,Jt,0,0,"ng-template",2),e.qZA()())},dependencies:[k.Pl],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}),r})();class Ee{constructor(i,t,n){this._ref=i,this._containerInstance=n,this._afterOpened=new D.x,this._beforeClosed=new D.x,this._state=0,this.disableClose=t.disableClose,this.id=i.id,n._animationStateChanged.pipe((0,Qe.h)(a=>"opened"===a.state),(0,Se.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe((0,Qe.h)(a=>"closed"===a.state),(0,Se.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),i.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,Ye.T)(this.backdropClick(),this.keydownEvents().pipe((0,Qe.h)(a=>a.keyCode===A.hY&&!this.disableClose&&!(0,A.Vb)(a)))).subscribe(a=>{this.disableClose||(a.preventDefault(),Xe(this,"keydown"===a.type?"keyboard":"mouse"))})}close(i){this._result=i,this._containerInstance._animationStateChanged.pipe((0,Qe.h)(t=>"closing"===t.state),(0,Se.q)(1)).subscribe(t=>{this._beforeClosed.next(i),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.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(i){let t=this._ref.config.positionStrategy;return i&&(i.left||i.right)?i.left?t.left(i.left):t.right(i.right):t.centerHorizontally(),i&&(i.top||i.bottom)?i.top?t.top(i.top):t.bottom(i.bottom):t.centerVertically(),this._ref.updatePosition(),this}updateSize(i="",t=""){return this._ref.updateSize(i,t),this}addPanelClass(i){return this._ref.addPanelClass(i),this}removePanelClass(i){return this._ref.removePanelClass(i),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function Xe(r,i,t){return r._closeInteractionType=i,r.close(t)}const bt=new e.OlP("MatMdcDialogData"),At=new e.OlP("mat-mdc-dialog-default-options"),Zt=new e.OlP("mat-mdc-dialog-scroll-strategy"),Qt={provide:Zt,deps:[_.aV],useFactory:function Vt(r){return()=>r.scrollStrategies.block()}};let wi=0,Di=(()=>{class r{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(t,n,a,l,v,I,W,G,ye,Ge){this._overlay=t,this._defaultOptions=a,this._parentDialog=l,this._dialogRefConstructor=W,this._dialogContainerType=G,this._dialogDataToken=ye,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new D.x,this._afterOpenedAtThisLevel=new D.x,this._idPrefix="mat-dialog-",this.dialogConfigClass=Et,this.afterAllClosed=(0,P.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,N.O)(void 0))),this._scrollStrategy=I,this._dialog=n.get(te)}open(t,n){let a;(n={...this._defaultOptions||new Et,...n}).id=n.id||`${this._idPrefix}${wi++}`,n.scrollStrategy=n.scrollStrategy||this._scrollStrategy();const l=this._dialog.open(t,{...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:Z,useValue:n}]},templateContext:()=>({dialogRef:a}),providers:(v,I,W)=>(a=new this._dialogRefConstructor(v,n,W),a.updatePosition(n?.position),[{provide:this._dialogContainerType,useValue:W},{provide:this._dialogDataToken,useValue:I.data},{provide:this._dialogRefConstructor,useValue:a}])});return a.componentInstance=l.componentInstance,this.openDialogs.push(a),this.afterOpened.next(a),a.afterClosed().subscribe(()=>{const v=this.openDialogs.indexOf(a);v>-1&&(this.openDialogs.splice(v,1),this.openDialogs.length||this._getAfterAllClosed().next())}),a}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(n=>n.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(t){let n=t.length;for(;n--;)t[n].close()}}return r.\u0275fac=function(t){e.$Z()},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})(),vi=(()=>{class r extends Di{constructor(t,n,a,l,v,I,W,G){super(t,n,l,I,W,v,Ee,et,bt,G),this._idPrefix="mat-mdc-dialog-"}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(_.aV),e.LFG(e.zs3),e.LFG(F.Ye,8),e.LFG(At,8),e.LFG(Zt),e.LFG(r,12),e.LFG(_.Xj),e.LFG(e.QbO,8))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})(),ni=0,rn=(()=>{class r{constructor(t,n,a){this.dialogRef=t,this._elementRef=n,this._dialog=a,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Ni(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){const n=t._matDialogClose||t._matDialogCloseResult;n&&(this.dialogResult=n.currentValue)}_onButtonClick(t){Xe(this.dialogRef,0===t.screenX&&0===t.screenY?"keyboard":"mouse",this.dialogResult)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(Ee,8),e.Y36(e.SBq),e.Y36(vi))},r.\u0275dir=e.lG2({type:r,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,n){1&t&&e.NdJ("click",function(l){return n._onButtonClick(l)}),2&t&&e.uIk("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:[e.TTD]}),r})(),Dt=(()=>{class r{constructor(t,n,a){this._dialogRef=t,this._elementRef=n,this._dialog=a,this.id="mat-mdc-dialog-title-"+ni++}ngOnInit(){this._dialogRef||(this._dialogRef=Ni(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const t=this._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=this.id)})}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(Ee,8),e.Y36(e.SBq),e.Y36(vi))},r.\u0275dir=e.lG2({type:r,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(t,n){2&t&&e.Ikx("id",n.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),r})(),vt=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]}),r})(),Ui=(()=>{class r{constructor(){this.align="start"}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(t,n){2&t&&e.ekj("mat-mdc-dialog-actions-align-center","center"===n.align)("mat-mdc-dialog-actions-align-end","end"===n.align)},inputs:{align:"align"}}),r})();function Ni(r,i){let t=r.nativeElement.parentElement;for(;t&&!t.classList.contains("mat-mdc-dialog-container");)t=t.parentElement;return t?i.find(n=>n.id===t.id):null}let un=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[vi,Qt],imports:[pe,_.U8,k.eL,ae.BQ,ae.BQ]}),r})();const mi={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},hn={dialogContainer:(0,xe.X$)("dialogContainer",[(0,xe.SB)("void, exit",(0,xe.oB)({opacity:0,transform:"scale(0.7)"})),(0,xe.SB)("enter",(0,xe.oB)({transform:"none"})),(0,xe.eR)("* => enter",(0,xe.ru)([(0,xe.jt)("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",(0,xe.oB)({transform:"none",opacity:1})),(0,xe.IO)("@*",(0,xe.pV)(),{optional:!0})]),mi),(0,xe.eR)("* => void, * => exit",(0,xe.ru)([(0,xe.jt)("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",(0,xe.oB)({opacity:0})),(0,xe.IO)("@*",(0,xe.pV)(),{optional:!0})]),mi)])};var Mt=y(4859);class Ce{constructor(i,t){this.dialogRef=i,this.consent=t}onNoClick(){this.consent=!1,this.dialogRef.close()}}Ce.\u0275fac=function(i){return new(i||Ce)(e.Y36(Ee),e.Y36(bt))},Ce.\u0275cmp=e.Xpm({type:Ce,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(i,t){1&i&&(e.TgZ(0,"div",0)(1,"h1",1),e._uU(2,"Give consent"),e.qZA(),e.TgZ(3,"div",2)(4,"p"),e._uU(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. "),e.qZA(),e.TgZ(6,"p"),e._uU(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."),e.qZA(),e.TgZ(8,"p"),e._uU(9,"Blockcore has no involvement in the type of content being produced and shown to you in this app."),e.qZA(),e.TgZ(10,"p"),e._uU(11,"You accept that all usage of Blockcore Notes, Blockcore infrastructure and software must be the result of peaceful voluntary human interactions."),e.qZA(),e.TgZ(12,"p"),e._uU(13,"If you're young and still living with your parents, consider asking them for permission before you continue."),e.qZA(),e.TgZ(14,"p"),e._uU(15,"To continue you must agree with our "),e.TgZ(16,"a",3),e._uU(17,"Privacy Policy and Terms & Conditions"),e.qZA(),e._uU(18,"."),e.qZA()(),e.TgZ(19,"div",4)(20,"button",5),e.NdJ("click",function(){return t.onNoClick()}),e._uU(21,"I don't consent"),e.qZA(),e.TgZ(22,"button",6),e._uU(23,"I consent"),e.qZA()()()),2&i&&(e.xp6(22),e.Q6J("mat-dialog-close",!0))},dependencies:[Mt.lW,rn,Dt,vt,Ui],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}.dialog[_ngcontent-%COMP%]{max-width:800px}"]});class oe{constructor(i){this._renderer=i,this.renderer=i.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(i){i?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")}}oe.\u0275fac=function(i){return new(i||oe)(e.LFG(e.FYo))},oe.\u0275prov=e.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"});var ce=y(6233);function Re(r,i){if(i.has(r))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ue(r,i,t){Re(r,i),i.set(r,t)}function pi(r,i,t){if(!i.has(r))throw new TypeError("attempted to "+t+" private field on non-instance");return i.get(r)}function Kt(r,i,t){return function Wt(r,i,t){if(i.set)i.set.call(r,t);else{if(!i.writable)throw new TypeError("attempted to set read only private field");i.value=t}}(r,pi(r,i,"set"),t),t}function ot(r,i){return function Ai(r,i){return i.get?i.get.call(r):i.value}(r,pi(r,i,"get"))}var je=y(1135),Oe=y(5062);const ct={node:void 0,web:"object"==typeof self&&"crypto"in self?self.crypto:void 0},Ke=r=>new DataView(r.buffer,r.byteOffset,r.byteLength),$e=(r,i)=>r<<32-i|r>>>i;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");function An(r){if("string"==typeof r&&(r=function mn(r){if("string"!=typeof r)throw new TypeError("utf8ToBytes expected string, got "+typeof r);return(new TextEncoder).encode(r)}(r)),!(r instanceof Uint8Array))throw new TypeError(`Expected input type is Uint8Array (got ${typeof r})`);return r}function sr(r){if(!Number.isSafeInteger(r)||r<0)throw new Error(`Wrong positive integer: ${r}`)}Array.from({length:256},(r,i)=>i.toString(16).padStart(2,"0")),(()=>{const r=typeof module<"u"&&"function"==typeof module.require&&module.require.bind(module);try{if(r){const{setImmediate:i}=r("timers")}}catch{}})();class en{clone(){return this._cloneInto()}}class zn extends en{constructor(i,t,n,a){super(),this.blockLen=i,this.outputLen=t,this.padOffset=n,this.isLE=a,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(i),this.view=Ke(this.buffer)}update(i){if(this.destroyed)throw new Error("instance is destroyed");const{view:t,buffer:n,blockLen:a,finished:l}=this;if(l)throw new Error("digest() was already called");const v=(i=An(i)).length;for(let I=0;Ia-v&&(this.process(n,0),v=0);for(let W=v;W>a&l),I=Number(t&l),G=n?0:4;r.setUint32(i+(n?4:0),v,n),r.setUint32(i+G,I,n)})(n,a-8,BigInt(8*this.length),l),this.process(n,0);const I=Ke(i);this.get().forEach((W,G)=>I.setUint32(4*G,W,l))}digest(){const{buffer:i,outputLen:t}=this;this.digestInto(i);const n=i.slice(0,t);return this.destroy(),n}_cloneInto(i){i||(i=new this.constructor),i.set(...this.get());const{blockLen:t,buffer:n,length:a,finished:l,destroyed:v,pos:I}=this;return i.length=a,i.pos=I,i.finished=l,i.destroyed=v,a%t&&i.buffer.set(n),i}}const lr=(r,i,t)=>r&i^~r&t,gn=(r,i,t)=>r&i^r&t^i&t,wn=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]),Fr=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Zi=new Uint32Array(64);class tn extends zn{constructor(){super(64,32,8,!1),this.A=0|Fr[0],this.B=0|Fr[1],this.C=0|Fr[2],this.D=0|Fr[3],this.E=0|Fr[4],this.F=0|Fr[5],this.G=0|Fr[6],this.H=0|Fr[7]}get(){const{A:i,B:t,C:n,D:a,E:l,F:v,G:I,H:W}=this;return[i,t,n,a,l,v,I,W]}set(i,t,n,a,l,v,I,W){this.A=0|i,this.B=0|t,this.C=0|n,this.D=0|a,this.E=0|l,this.F=0|v,this.G=0|I,this.H=0|W}process(i,t){for(let Ge=0;Ge<16;Ge++,t+=4)Zi[Ge]=i.getUint32(t,!1);for(let Ge=16;Ge<64;Ge++){const yt=Zi[Ge-15],It=Zi[Ge-2],Yt=$e(yt,7)^$e(yt,18)^yt>>>3,Gt=$e(It,17)^$e(It,19)^It>>>10;Zi[Ge]=Gt+Zi[Ge-7]+Yt+Zi[Ge-16]|0}let{A:n,B:a,C:l,D:v,E:I,F:W,G,H:ye}=this;for(let Ge=0;Ge<64;Ge++){const It=ye+($e(I,6)^$e(I,11)^$e(I,25))+lr(I,W,G)+wn[Ge]+Zi[Ge]|0,Gt=($e(n,2)^$e(n,13)^$e(n,22))+gn(n,a,l)|0;ye=G,G=W,W=I,I=v+It|0,v=l,l=a,a=n,n=It+Gt|0}n=n+this.A|0,a=a+this.B|0,l=l+this.C|0,v=v+this.D|0,I=I+this.E|0,W=W+this.F|0,G=G+this.G|0,ye=ye+this.H|0,this.set(n,a,l,v,I,W,G,ye)}roundClean(){Zi.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const $n=function Ki(r){const i=n=>r().update(An(n)).digest(),t=r();return i.outputLen=t.outputLen,i.blockLen=t.blockLen,i.create=()=>r(),i}(()=>new tn);var Li=y(7494),yn=y(3439),Jn=y(6837);function Ut(r){if(!Number.isSafeInteger(r)||r<0)throw new Error(`Wrong positive integer: ${r}`)}function Ii(r,...i){if(!(r instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(i.length>0&&!i.includes(r.length))throw new TypeError(`Expected Uint8Array of length ${i}, not of length=${r.length}`)}const _r={number:Ut,bool:function tt(r){if("boolean"!=typeof r)throw new Error(`Expected boolean, not ${r}`)},bytes:Ii,hash:function Gn(r){if("function"!=typeof r||"function"!=typeof r.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");Ut(r.outputLen),Ut(r.blockLen)},exists:function Wn(r,i=!0){if(r.destroyed)throw new Error("Hash instance has been destroyed");if(i&&r.finished)throw new Error("Hash#digest() has already been called")},output:function aa(r,i){Ii(r);const t=i.outputLen;if(r.lengthnew DataView(r.buffer,r.byteOffset,r.byteLength)),Hr=(r,i)=>r<<32-i|r>>>i;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");const Pa=Array.from({length:256},(r,i)=>i.toString(16).padStart(2,"0"));function mo(r){if("string"!=typeof r)throw new TypeError("utf8ToBytes expected string, got "+typeof r);return(new TextEncoder).encode(r)}function Xi(r){if("string"==typeof r&&(r=mo(r)),!(r instanceof Uint8Array))throw new TypeError(`Expected input type is Uint8Array (got ${typeof r})`);return r}function Nn(...r){if(!r.every(n=>n instanceof Uint8Array))throw new Error("Uint8Array list expected");if(1===r.length)return r[0];const i=r.reduce((n,a)=>n+a.length,0),t=new Uint8Array(i);for(let n=0,a=0;nr().update(Xi(n)).digest(),t=r();return i.outputLen=t.outputLen,i.blockLen=t.blockLen,i.create=()=>r(),i}class Ho extends Ba{constructor(i,t){super(),this.finished=!1,this.destroyed=!1,_r.hash(i);const n=Xi(t);if(this.iHash=i.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 a=this.blockLen,l=new Uint8Array(a);l.set(n.length>a?i.create().update(n).digest():n);for(let v=0;vnew Ho(r,i).update(t).digest();qa.create=(r,i)=>new Ho(r,i);class io extends Ba{constructor(i,t,n,a){super(),this.blockLen=i,this.outputLen=t,this.padOffset=n,this.isLE=a,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(i),this.view=ho(this.buffer)}update(i){_r.exists(this);const{view:t,buffer:n,blockLen:a}=this,l=(i=Xi(i)).length;for(let v=0;va-v&&(this.process(n,0),v=0);for(let Ge=v;Ge>a&l),I=Number(t&l),G=n?0:4;r.setUint32(i+(n?4:0),v,n),r.setUint32(i+G,I,n)})(n,a-8,BigInt(8*this.length),l),this.process(n,0);const I=ho(i),W=this.outputLen;if(W%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const G=W/4,ye=this.get();if(G>ye.length)throw new Error("_sha2: outputLen bigger than state");for(let Ge=0;Gei),Uo=hr.map(r=>(9*r+5)%16);let wa=[hr],ta=[Uo];for(let r=0;r<4;r++)for(let i of[wa,ta])i.push(i[r].map(t=>xo[t]));const Qa=[[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(r=>new Uint8Array(r)),To=wa.map((r,i)=>r.map(t=>Qa[i][t])),Ja=ta.map((r,i)=>r.map(t=>Qa[i][t])),an=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),Ur=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]),cr=(r,i)=>r<>>32-i;function jr(r,i,t,n){return 0===r?i^t^n:1===r?i&t|~i&n:2===r?(i|~t)^n:3===r?i&n|t&~n:i^(t|~n)}const Ao=new Uint32Array(16);class Xt extends io{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:i,h1:t,h2:n,h3:a,h4:l}=this;return[i,t,n,a,l]}set(i,t,n,a,l){this.h0=0|i,this.h1=0|t,this.h2=0|n,this.h3=0|a,this.h4=0|l}process(i,t){for(let It=0;It<16;It++,t+=4)Ao[It]=i.getUint32(t,!0);let n=0|this.h0,a=n,l=0|this.h1,v=l,I=0|this.h2,W=I,G=0|this.h3,ye=G,Ge=0|this.h4,yt=Ge;for(let It=0;It<5;It++){const Yt=4-It,Gt=an[It],oi=Ur[It],ai=wa[It],Ji=ta[It],Ci=To[It],Wi=Ja[It];for(let nn=0;nn<16;nn++){const _n=cr(n+jr(It,l,I,G)+Ao[ai[nn]]+Gt,Ci[nn])+Ge|0;n=Ge,Ge=G,G=0|cr(I,10),I=l,l=_n}for(let nn=0;nn<16;nn++){const _n=cr(a+jr(Yt,v,W,ye)+Ao[Ji[nn]]+oi,Wi[nn])+yt|0;a=yt,yt=ye,ye=0|cr(W,10),W=v,v=_n}}this.set(this.h1+I+ye|0,this.h2+G+yt|0,this.h3+Ge+a|0,this.h4+n+v|0,this.h0+l+W|0)}roundClean(){Ao.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}}const pn=Or(()=>new Xt),dr=(r,i,t)=>r&i^~r&t,xa=(r,i,t)=>r&i^r&t^i&t,So=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]),sa=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Vr=new Uint32Array(64);class ha extends io{constructor(){super(64,32,8,!1),this.A=0|sa[0],this.B=0|sa[1],this.C=0|sa[2],this.D=0|sa[3],this.E=0|sa[4],this.F=0|sa[5],this.G=0|sa[6],this.H=0|sa[7]}get(){const{A:i,B:t,C:n,D:a,E:l,F:v,G:I,H:W}=this;return[i,t,n,a,l,v,I,W]}set(i,t,n,a,l,v,I,W){this.A=0|i,this.B=0|t,this.C=0|n,this.D=0|a,this.E=0|l,this.F=0|v,this.G=0|I,this.H=0|W}process(i,t){for(let Ge=0;Ge<16;Ge++,t+=4)Vr[Ge]=i.getUint32(t,!1);for(let Ge=16;Ge<64;Ge++){const yt=Vr[Ge-15],It=Vr[Ge-2],Yt=Hr(yt,7)^Hr(yt,18)^yt>>>3,Gt=Hr(It,17)^Hr(It,19)^It>>>10;Vr[Ge]=Gt+Vr[Ge-7]+Yt+Vr[Ge-16]|0}let{A:n,B:a,C:l,D:v,E:I,F:W,G,H:ye}=this;for(let Ge=0;Ge<64;Ge++){const It=ye+(Hr(I,6)^Hr(I,11)^Hr(I,25))+dr(I,W,G)+So[Ge]+Vr[Ge]|0,Gt=(Hr(n,2)^Hr(n,13)^Hr(n,22))+xa(n,a,l)|0;ye=G,G=W,W=I,I=v+It|0,v=l,l=a,a=n,n=It+Gt|0}n=n+this.A|0,a=a+this.B|0,l=l+this.C|0,v=v+this.D|0,I=I+this.E|0,W=W+this.F|0,G=G+this.G|0,ye=ye+this.H|0,this.set(n,a,l,v,I,W,G,ye)}roundClean(){Vr.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class Ya extends ha{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 Rn=Or(()=>new ha),ma=(Or(()=>new Ya),BigInt(2**32-1)),Dn=BigInt(32);function fa(r,i=!1){return i?{h:Number(r&ma),l:Number(r>>Dn&ma)}:{h:0|Number(r>>Dn&ma),l:0|Number(r&ma)}}const di_split=function Mn(r,i=!1){let t=new Uint32Array(r.length),n=new Uint32Array(r.length);for(let a=0;ar>>>t,di_shrSL=(r,i,t)=>r<<32-t|i>>>t,di_rotrSH=(r,i,t)=>r>>>t|i<<32-t,di_rotrSL=(r,i,t)=>r<<32-t|i>>>t,di_rotrBH=(r,i,t)=>r<<64-t|i>>>t-32,di_rotrBL=(r,i,t)=>r>>>t-32|i<<64-t,di_add=function _e(r,i,t,n){const a=(i>>>0)+(n>>>0);return{h:r+t+(a/2**32|0)|0,l:0|a}},di_add3L=(r,i,t)=>(r>>>0)+(i>>>0)+(t>>>0),di_add3H=(r,i,t,n)=>i+t+n+(r/2**32|0)|0,di_add4L=(r,i,t,n)=>(r>>>0)+(i>>>0)+(t>>>0)+(n>>>0),di_add4H=(r,i,t,n,a)=>i+t+n+a+(r/2**32|0)|0,di_add5H=(r,i,t,n,a,l)=>i+t+n+a+l+(r/2**32|0)|0,di_add5L=(r,i,t,n,a)=>(r>>>0)+(i>>>0)+(t>>>0)+(n>>>0)+(a>>>0),[ji,Qn]=di_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(r=>BigInt(r))),Ln=new Uint32Array(80),Nr=new Uint32Array(80);class la extends io{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:i,Al:t,Bh:n,Bl:a,Ch:l,Cl:v,Dh:I,Dl:W,Eh:G,El:ye,Fh:Ge,Fl:yt,Gh:It,Gl:Yt,Hh:Gt,Hl:oi}=this;return[i,t,n,a,l,v,I,W,G,ye,Ge,yt,It,Yt,Gt,oi]}set(i,t,n,a,l,v,I,W,G,ye,Ge,yt,It,Yt,Gt,oi){this.Ah=0|i,this.Al=0|t,this.Bh=0|n,this.Bl=0|a,this.Ch=0|l,this.Cl=0|v,this.Dh=0|I,this.Dl=0|W,this.Eh=0|G,this.El=0|ye,this.Fh=0|Ge,this.Fl=0|yt,this.Gh=0|It,this.Gl=0|Yt,this.Hh=0|Gt,this.Hl=0|oi}process(i,t){for(let Ci=0;Ci<16;Ci++,t+=4)Ln[Ci]=i.getUint32(t),Nr[Ci]=i.getUint32(t+=4);for(let Ci=16;Ci<80;Ci++){const Wi=0|Ln[Ci-15],nn=0|Nr[Ci-15],_n=di_rotrSH(Wi,nn,1)^di_rotrSH(Wi,nn,8)^di_shrSH(Wi,nn,7),ur=di_rotrSL(Wi,nn,1)^di_rotrSL(Wi,nn,8)^di_shrSL(Wi,nn,7),Vn=0|Ln[Ci-2],Er=0|Nr[Ci-2],qr=di_rotrSH(Vn,Er,19)^di_rotrBH(Vn,Er,61)^di_shrSH(Vn,Er,6),Gs=di_rotrSL(Vn,Er,19)^di_rotrBL(Vn,Er,61)^di_shrSL(Vn,Er,6),Ir=di_add4L(ur,Gs,Nr[Ci-7],Nr[Ci-16]),Po=di_add4H(Ir,_n,qr,Ln[Ci-7],Ln[Ci-16]);Ln[Ci]=0|Po,Nr[Ci]=0|Ir}let{Ah:n,Al:a,Bh:l,Bl:v,Ch:I,Cl:W,Dh:G,Dl:ye,Eh:Ge,El:yt,Fh:It,Fl:Yt,Gh:Gt,Gl:oi,Hh:ai,Hl:Ji}=this;for(let Ci=0;Ci<80;Ci++){const Wi=di_rotrSH(Ge,yt,14)^di_rotrSH(Ge,yt,18)^di_rotrBH(Ge,yt,41),nn=di_rotrSL(Ge,yt,14)^di_rotrSL(Ge,yt,18)^di_rotrBL(Ge,yt,41),_n=Ge&It^~Ge&Gt,Vn=di_add5L(Ji,nn,yt&Yt^~yt&oi,Qn[Ci],Nr[Ci]),Er=di_add5H(Vn,ai,Wi,_n,ji[Ci],Ln[Ci]),qr=0|Vn,Gs=di_rotrSH(n,a,28)^di_rotrBH(n,a,34)^di_rotrBH(n,a,39),Ir=di_rotrSL(n,a,28)^di_rotrBL(n,a,34)^di_rotrBL(n,a,39),Po=n&l^n&I^l&I,Pf=a&v^a&W^v&W;ai=0|Gt,Ji=0|oi,Gt=0|It,oi=0|Yt,It=0|Ge,Yt=0|yt,({h:Ge,l:yt}=di_add(0|G,0|ye,0|Er,0|qr)),G=0|I,ye=0|W,I=0|l,W=0|v,l=0|n,v=0|a;const pd=di_add3L(qr,Ir,Pf);n=di_add3H(pd,Er,Gs,Po),a=0|pd}({h:n,l:a}=di_add(0|this.Ah,0|this.Al,0|n,0|a)),({h:l,l:v}=di_add(0|this.Bh,0|this.Bl,0|l,0|v)),({h:I,l:W}=di_add(0|this.Ch,0|this.Cl,0|I,0|W)),({h:G,l:ye}=di_add(0|this.Dh,0|this.Dl,0|G,0|ye)),({h:Ge,l:yt}=di_add(0|this.Eh,0|this.El,0|Ge,0|yt)),({h:It,l:Yt}=di_add(0|this.Fh,0|this.Fl,0|It,0|Yt)),({h:Gt,l:oi}=di_add(0|this.Gh,0|this.Gl,0|Gt,0|oi)),({h:ai,l:Ji}=di_add(0|this.Hh,0|this.Hl,0|ai,0|Ji)),this.set(n,a,l,v,I,W,G,ye,Ge,yt,It,Yt,Gt,oi,ai,Ji)}roundClean(){Ln.fill(0),Nr.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 fr extends la{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 ka extends la{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 Ha extends la{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 fo=Or(()=>new la);Or(()=>new fr),Or(()=>new ka),Or(()=>new Ha),Oe.P6.hmacSha256Sync=(r,...i)=>qa(Rn,r,Oe.P6.concatBytes(...i));const c=(0,Li.Av)(Rn);function d(r){return BigInt(`0x${function Tr(r){if(!(r instanceof Uint8Array))throw new Error("Uint8Array expected");let i="";for(let t=0;t{if(!Number.isSafeInteger(r)||r<0||r>2**32-1)throw new Error(`Invalid number=${r}. Should be from 0 to 2 ** 32 - 1`);const i=new Uint8Array(4);return ho(i).setUint32(0,r,!1),i};class he{constructor(i){if(this.depth=0,this.index=0,this.chainCode=null,this.parentFingerprint=0,!i||"object"!=typeof i)throw new Error("HDKey.constructor must not be called directly");if(this.versions=i.versions||b,this.depth=i.depth||0,this.chainCode=i.chainCode,this.index=i.index||0,this.parentFingerprint=i.parentFingerprint||0,!this.depth&&(this.parentFingerprint||this.index))throw new Error("HDKey: zero depth with non-zero index/parent fingerprint");if(i.publicKey&&i.privateKey)throw new Error("HDKey: publicKey and privateKey at same time.");if(i.privateKey){if(!Oe.P6.isValidPrivateKey(i.privateKey))throw new Error("Invalid private key");this.privKey="bigint"==typeof i.privateKey?i.privateKey:d(i.privateKey),this.privKeyBytes=function h(r){return function Go(r){if("string"!=typeof r)throw new TypeError("hexToBytes: expected string, got "+typeof r);if(r.length%2)throw new Error("hexToBytes: received invalid unpadded hex");const i=new Uint8Array(r.length/2);for(let t=0;t512)throw new Error(`HDKey: wrong seed length=${i.length}. Should be between 128 and 512 bits; 256 bits is advised)`);const n=qa(fo,p,i);return new he({versions:t,chainCode:n.slice(32),privateKey:n.slice(0,32)})}static fromExtendedKey(i,t=b){const n=c.decode(i),a=ho(n),l=a.getUint32(0,!1),v={versions:t,depth:n[4],parentFingerprint:a.getUint32(5,!1),index:a.getUint32(9,!1),chainCode:n.slice(13,45)},I=n.slice(45),W=0===I[0];if(l!==t[W?"private":"public"])throw new Error("Version mismatch");return new he(W?{...v,privateKey:I.slice(1)}:{...v,publicKey:I})}static fromJSON(i){return he.fromExtendedKey(i.xpriv)}derive(i){if(!/^[mM]'?/.test(i))throw new Error('Path must start with "m" or "M"');if(/^[mM]'?$/.test(i))return this;const t=i.replace(/^[mM]'?\//,"").split("/");let n=this;for(const a of t){const l=/^(\d+)('?)$/.exec(a);if(!l||3!==l.length)throw new Error(`Invalid child index: ${a}`);let v=+l[1];if(!Number.isSafeInteger(v)||v>=C)throw new Error("Invalid index");"'"===l[2]&&(v+=C),n=n.deriveChild(v)}return n}deriveChild(i){if(!this.pubKey||!this.chainCode)throw new Error("No publicKey or chainCode set");let t=q(i);if(i>=C){const I=this.privateKey;if(!I)throw new Error("Could not derive hardened child key");t=Nn(new Uint8Array([0]),I,t)}else t=Nn(this.pubKey,t);const n=qa(fo,this.chainCode,t),a=d(n.slice(0,32)),l=n.slice(32);if(!Oe.P6.isValidPrivateKey(a))throw new Error("Tweak bigger than curve order");const v={versions:this.versions,chainCode:l,depth:this.depth+1,parentFingerprint:this.fingerprint,index:i};try{if(this.privateKey){const I=Oe.P6.mod(this.privKey+a,Oe.iH.n);if(!Oe.P6.isValidPrivateKey(I))throw new Error("The tweak was out of range or the resulted private key is invalid");v.privateKey=I}else{const I=Oe.E9.fromHex(this.pubKey).add(Oe.E9.fromPrivateKey(a));if(I.equals(Oe.E9.ZERO))throw new Error("The tweak was equal to negative P, which made the result key invalid");v.publicKey=I.toRawBytes(!0)}return new he(v)}catch{return this.deriveChild(i+1)}}sign(i){if(!this.privateKey)throw new Error("No privateKey set!");return Ii(i,32),Oe.kS(i,this.privKey,{canonical:!0,der:!1})}verify(i,t){if(Ii(i,32),Ii(t,64),!this.publicKey)throw new Error("No publicKey set!");let n;try{n=Oe.Pc.fromCompact(t)}catch{return!1}return Oe.T(n,i,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(i,t){if(!this.chainCode)throw new Error("No chainCode set");return Ii(t,33),Nn(q(i),new Uint8Array([this.depth]),q(this.parentFingerprint),q(this.index),this.chainCode,t)}}class Ae extends en{constructor(i,t){super(),this.finished=!1,this.destroyed=!1,function xn(r){if("function"!=typeof r||"function"!=typeof r.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");sr(r.outputLen),sr(r.blockLen)}(i);const n=An(t);if(this.iHash=i.create(),!(this.iHash instanceof en))throw new TypeError("Expected instance of class which extends utils.Hash");const a=this.blockLen=this.iHash.blockLen;this.outputLen=this.iHash.outputLen;const l=new Uint8Array(a);l.set(n.length>this.iHash.blockLen?i.create().update(n).digest():n);for(let v=0;vnew Ae(r,i).update(t).digest();He.create=(r,i)=>new Ae(r,i);var dt=Object.defineProperty,wt=(r,i)=>{for(var t in i)dt(r,t,{get:i[t],enumerable:!0})};function jt(r){return Oe.P6.bytesToHex(Oe.xW.getPublicKey(r))}wt({},{insertEventIntoAscendingList:()=>cn,insertEventIntoDescendingList:()=>Sn,normalizeURL:()=>ri,utf8Decoder:()=>bi,utf8Encoder:()=>Mi});var bi=new TextDecoder("utf-8"),Mi=new TextEncoder;function ri(r){let i=new URL(r);return i.pathname=i.pathname.replace(/\/+/g,"/"),i.pathname.endsWith("/")&&(i.pathname=i.pathname.slice(0,-1)),("80"===i.port&&"ws:"===i.protocol||"443"===i.port&&"wss:"===i.protocol)&&(i.port=""),i.searchParams.sort(),i.hash="",i.toString()}function Sn(r,i){let a,t=0,n=r.length-1,l=t;if(n<0)l=0;else if(i.created_at=r[t].created_at)l=t;else for(;;){if(n<=t+1){l=n;break}if(a=Math.floor(t+(n-t)/2),r[a].created_at>i.created_at)t=a;else{if(!(r[a].created_atr[n].created_at)l=n+1;else if(i.created_at<=r[t].created_at)l=t;else for(;;){if(n<=t+1){l=n;break}if(a=Math.floor(t+(n-t)/2),r[a].created_ati.created_at)){l=a;break}n=a}}return r[l]?.id!==i.id?[...r.slice(0,l),i,...r.slice(l)]:r}var Hi=(r=>(r[r.Metadata=0]="Metadata",r[r.Text=1]="Text",r[r.RecommendRelay=2]="RecommendRelay",r[r.Contacts=3]="Contacts",r[r.EncryptedDirectMessage=4]="EncryptedDirectMessage",r[r.EventDeletion=5]="EventDeletion",r[r.Reaction=7]="Reaction",r[r.ChannelCreation=40]="ChannelCreation",r[r.ChannelMetadata=41]="ChannelMetadata",r[r.ChannelMessage=42]="ChannelMessage",r[r.ChannelHideMessage=43]="ChannelHideMessage",r[r.ChannelMuteUser=44]="ChannelMuteUser",r[r.Report=1984]="Report",r[r.ZapRequest=9734]="ZapRequest",r[r.Zap=9735]="Zap",r[r.RelayList=10002]="RelayList",r[r.ClientAuth=22242]="ClientAuth",r[r.Article=30023]="Article",r))(Hi||{});function pr(r){let i=$n(Mi.encode(function ir(r){if(!Dr(r))throw new Error("can't serialize event with wrong or missing properties");return JSON.stringify([0,r.pubkey,r.created_at,r.kind,r.tags,r.content])}(r)));return Oe.P6.bytesToHex(i)}function Dr(r){if("object"!=typeof r||"string"!=typeof r.content||"number"!=typeof r.created_at||"string"!=typeof r.pubkey||!r.pubkey.match(/^[a-f0-9]{64}$/)||!Array.isArray(r.tags))return!1;for(let i=0;ixs,getInt:()=>re,getSubscriptionId:()=>Me,matchEventId:()=>me,matchEventKind:()=>xt,matchEventPubkey:()=>Pe}),wt({},{decrypt:()=>jn,encrypt:()=>Kn});var ro,zr={};wt(zr,{queryProfile:()=>Io,searchDomain:()=>go,useFetchImplementation:()=>ca});try{ro=fetch}catch{}function ca(r){ro=r}function go(r){return ao.apply(this,arguments)}function ao(){return(ao=(0,ve.Z)(function*(r,i=""){try{return(yield(yield ro(`https://${r}/.well-known/nostr.json?name=${i}`)).json()).names}catch{return{}}})).apply(this,arguments)}function Io(r){return hs.apply(this,arguments)}function hs(){return(hs=(0,ve.Z)(function*(r){let[i,t]=r.split("@");if(t||(t=i,i="_"),!i.match(/^[A-Za-z0-9-_]+$/))return null;let n=yield(yield ro(`https://${t}/.well-known/nostr.json?name=${i}`)).json();if(!n?.names?.[i])return null;let a=n.names[i];return{pubkey:a,relays:n.relays?.[a]||[]}})).apply(this,arguments)}var Oo={};function Js(r,i){let n=he.fromMasterSeed((0,Jn.Z1)(r,i)).derive("m/44'/1237'/0'/0/0").privateKey;if(!n)throw new Error("could not derive private key");return Oe.P6.bytesToHex(n)}function Jo(){return(0,Jn.OF)(yn.U)}function xc(r){return(0,Jn._I)(r,yn.U)}wt(Oo,{generateSeedWords:()=>Jo,privateKeyFromSeedWords:()=>Js,validateWords:()=>xc});var yr={};wt(yr,{decode:()=>gd,naddrEncode:()=>Wl,neventEncode:()=>Cc,noteEncode:()=>Fc,nprofileEncode:()=>Ua,npubEncode:()=>zl,nsecEncode:()=>Mu});var Ks,No=5e3;function gd(r){let{prefix:i,words:t}=Li.gW.decode(r,No),n=new Uint8Array(Li.gW.fromWords(t));switch(i){case"nprofile":{let a=Ka(n);if(!a[0]?.[0])throw new Error("missing TLV 0 for nprofile");if(32!==a[0][0].length)throw new Error("TLV 0 should be 32 bytes");return{type:"nprofile",data:{pubkey:Oe.P6.bytesToHex(a[0][0]),relays:a[1]?a[1].map(l=>bi.decode(l)):[]}}}case"nevent":{let a=Ka(n);if(!a[0]?.[0])throw new Error("missing TLV 0 for nevent");if(32!==a[0][0].length)throw new Error("TLV 0 should be 32 bytes");return{type:"nevent",data:{id:Oe.P6.bytesToHex(a[0][0]),relays:a[1]?a[1].map(l=>bi.decode(l)):[]}}}case"naddr":{let a=Ka(n);if(!a[0]?.[0])throw new Error("missing TLV 0 for naddr");if(!a[2]?.[0])throw new Error("missing TLV 2 for naddr");if(32!==a[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(!a[3]?.[0])throw new Error("missing TLV 3 for naddr");if(4!==a[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"naddr",data:{identifier:bi.decode(a[0][0]),pubkey:Oe.P6.bytesToHex(a[2][0]),kind:parseInt(Oe.P6.bytesToHex(a[3][0]),16),relays:a[1]?a[1].map(l=>bi.decode(l)):[]}}}case"nsec":case"npub":case"note":return{type:i,data:Oe.P6.bytesToHex(n)};default:throw new Error(`unknown prefix ${i}`)}}function Ka(r){let i={},t=r;for(;t.length>0;){let n=t[0],a=t[1],l=t.slice(2,2+a);t=t.slice(2+a),!(l.lengthMi.encode(n))}),t=Li.gW.toWords(i);return Li.gW.encode("nprofile",t,No)}function Cc(r){let i=wl({0:[Oe.P6.hexToBytes(r.id)],1:(r.relays||[]).map(n=>Mi.encode(n))}),t=Li.gW.toWords(i);return Li.gW.encode("nevent",t,No)}function Wl(r){let i=new ArrayBuffer(4);new DataView(i).setUint32(0,r.kind,!1);let t=wl({0:[Mi.encode(r.identifier)],1:(r.relays||[]).map(a=>Mi.encode(a)),2:[Oe.P6.hexToBytes(r.pubkey)],3:[new Uint8Array(i)]}),n=Li.gW.toWords(t);return Li.gW.encode("naddr",n,No)}function wl(r){let i=[];return Object.entries(r).forEach(([t,n])=>{n.forEach(a=>{let l=new Uint8Array(a.length+2);l.set([parseInt(t)],0),l.set([a.length],1),l.set(a,2),i.push(l)})}),Oe.P6.concatBytes(...i)}function kc(r,i){let t=[];(i.kind||-1)>=0&&t.push(`kind=${i.kind}`),i.until&&t.push(`created_at<${i.until}`),i.since&&t.push(`created_at>${i.since}`);let n=t.join("&");if(""===n)throw new Error("refusing to create a delegation without any conditions");let a=$n(Mi.encode(`nostr:delegation:${i.pubkey}:${n}`)),l=Oe.P6.bytesToHex(Oe.xW.signSync(a,r));return{from:jt(r),to:i.pubkey,cond:n,sig:l}}function Eu(r){let i=r.tags.find(I=>"delegation"===I[0]&&I.length>=4);if(!i)return null;let t=i[1],n=i[2],a=i[3],l=n.split("&");for(let I=0;I"===G&&r.created_at>parseInt(ye))continue;return null}}let v=$n(Mi.encode(`nostr:delegation:${r.pubkey}:${n}`));return Oe.xW.verifySync(a,v,t)?t:null}wt({},{createDelegation:()=>kc,getDelegator:()=>Eu}),wt({},{getZapEndpoint:()=>bd,makeZapReceipt:()=>Zh,makeZapRequest:()=>yd,useFetchImplementation:()=>Ko,validateZapRequest:()=>Lo});try{Ks=fetch}catch{}function Ko(r){Ks=r}function bd(r){return ja.apply(this,arguments)}function ja(){return(ja=(0,ve.Z)(function*(r){try{let i="",{lud06:t,lud16:n}=JSON.parse(r.content);if(t){let{words:v}=Li.gW.decode(t,1e3),I=Li.gW.fromWords(v);i=bi.decode(I)}else{if(!n)return null;{let[v,I]=n.split("@");i=`https://${I}/.well-known/lnurlp/${v}`}}let l=yield(yield Ks(i)).json();if(l.allowsNostr&&l.nostrPubkey)return l.callback}catch{}return null})).apply(this,arguments)}function yd({profile:r,event:i,amount:t,relays:n,comment:a=""}){if(!t)throw new Error("amount not given");if(!r)throw new Error("profile not given");let l={kind:9734,created_at:Math.round(Date.now()/1e3),content:a,tags:[["p",r],["amount",t.toString()],["relays",...n]]};return i&&l.tags.push(["e",i]),l}function Lo(r){let i;try{i=JSON.parse(r)}catch{return"Invalid zap request JSON."}if(!Dr(i))return"Zap request is not a valid Nostr event.";if(!no(i))return"Invalid signature on zap request.";let t=i.tags.find(([l,v])=>"p"===l&&v);if(!t)return"Zap request doesn't have a 'p' tag.";if(!t[1].match(/^[a-f0-9]{64}$/))return"Zap request 'p' tag is not valid hex.";let n=i.tags.find(([l,v])=>"e"===l&&v);return n&&!n[1].match(/^[a-f0-9]{64}$/)?"Zap request 'e' tag is not valid hex.":i.tags.find(([l,v])=>"relays"===l&&v)?null:"Zap request doesn't have a 'relays' tag."}function Zh({zapRequest:r,preimage:i,bolt11:t,paidAt:n}){let l=JSON.parse(r).tags.filter(([I])=>"e"===I||"p"===I||"a"===I),v={kind:9735,created_at:Math.round(n.getTime()/1e3),content:"",tags:[...l,["bolt11",t],["description",r]]};return i&&v.tags.push(["preimage",i]),v}Oe.P6.hmacSha256Sync=(r,...i)=>He($n,r,Oe.P6.concatBytes(...i)),Oe.P6.sha256Sync=(...r)=>$n(Oe.P6.concatBytes(...r));class Dc{constructor(i){this.url=i,this.status="ok"}start(){return console.log(`${this.url}: start method new Worker called.`),this.worker=new Worker(y.tu(new URL(y.p+y.u(911),y.b))),this.worker}connect(i,t){this.action("connect",{url:this.url,subscriptions:i,event:t})}disconnect(){this.action("disconnect")}terminate(){this.action("terminate")}enque(i){this.action("enque",i)}publish(i){this.action("publish",i)}download(i,t,n){this.action("download",{filters:i,id:t,type:n})}subscribe(i,t){this.action("subscribe",{filters:i,id:t})}unsubscribe(i){this.action("unsubscribe",i)}action(i,t){if("ok"!=this.status)throw new Error("The status of this relay worker is: "+this.status);this.worker?.postMessage({type:i,data:t})}}const ql={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let Fs;const vd=new Uint8Array(16);function xl(){if(!Fs&&(Fs=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Fs))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Fs(vd)}const Lr=[];for(let r=0;r<256;++r)Lr.push((r+256).toString(16).slice(1));const Mc=function Xs(r,i,t){if(ql.randomUUID&&!i&&!r)return ql.randomUUID();const n=(r=r||{}).random||(r.rng||xl)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,i){t=t||0;for(let a=0;a<16;++a)i[t+a]=n[a];return i}return function jo(r,i=0){return(Lr[r[i+0]]+Lr[r[i+1]]+Lr[r[i+2]]+Lr[r[i+3]]+"-"+Lr[r[i+4]]+Lr[r[i+5]]+"-"+Lr[r[i+6]]+Lr[r[i+7]]+"-"+Lr[r[i+8]]+Lr[r[i+9]]+"-"+Lr[r[i+10]]+Lr[r[i+11]]+Lr[r[i+12]]+Lr[r[i+13]]+Lr[r[i+14]]+Lr[r[i+15]]).toLowerCase()}(n)};var Xo=new WeakMap;class In{get queues$(){return ot(this,Xo).asObservable()}constructor(){Ue(this,Xo,{writable:!0,value:void 0}),Kt(this,Xo,new je.X(void 0))}enqueProfile(i){ot(this,Xo).next({identifier:i,type:"Profile"})}enqueEvent(i){ot(this,Xo).next({identifier:i,type:"Event"})}enqueArticle(i){ot(this,Xo).next({identifier:i,type:"Article"})}enqueBadgeDefinition(i){ot(this,Xo).next({identifier:i,type:"BadgeDefinition"})}enqueContacts(i){ot(this,Xo).next({identifier:i,type:"Contacts"})}enque(i,t){"Profile"===t?this.enqueProfile(i):"Event"===t?this.enqueEvent(i):"Contacts"===t?this.enqueContacts(i):"Article"===t?this.enqueArticle(i):"BadgeDefinition"===t&&this.enqueBadgeDefinition(i)}}In.\u0275fac=function(i){return new(i||In)},In.\u0275prov=e.Yz7({token:In,factory:In.\u0275fac,providedIn:"root"});const Bf=(r,i)=>i.some(t=>r instanceof t);let Tu,zh;const xd=new WeakMap,Fd=new WeakMap,el=new WeakMap,es=new WeakMap,Ec=new WeakMap;let Cs={get(r,i,t){if(r instanceof IDBTransaction){if("done"===i)return Fd.get(r);if("objectStoreNames"===i)return r.objectStoreNames||el.get(r);if("store"===i)return t.objectStoreNames[1]?void 0:t.objectStore(t.objectStoreNames[0])}return Vo(r[i])},set:(r,i,t)=>(r[i]=t,!0),has:(r,i)=>r instanceof IDBTransaction&&("done"===i||"store"===i)||i in r};function ks(r){return"function"==typeof r?function _o(r){return r!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function Gh(){return zh||(zh=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(r)?function(...i){return r.apply(H(this),i),Vo(xd.get(this))}:function(...i){return Vo(r.apply(H(this),i))}:function(i,...t){const n=r.call(H(this),i,...t);return el.set(n,i.sort?i.sort():[i]),Vo(n)}}(r):(r instanceof IDBTransaction&&function Tc(r){if(Fd.has(r))return;const i=new Promise((t,n)=>{const a=()=>{r.removeEventListener("complete",l),r.removeEventListener("error",v),r.removeEventListener("abort",v)},l=()=>{t(),a()},v=()=>{n(r.error||new DOMException("AbortError","AbortError")),a()};r.addEventListener("complete",l),r.addEventListener("error",v),r.addEventListener("abort",v)});Fd.set(r,i)}(r),Bf(r,function Ql(){return Tu||(Tu=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(r,Cs):r)}function Vo(r){if(r instanceof IDBRequest)return function da(r){const i=new Promise((t,n)=>{const a=()=>{r.removeEventListener("success",l),r.removeEventListener("error",v)},l=()=>{t(Vo(r.result)),a()},v=()=>{n(r.error),a()};r.addEventListener("success",l),r.addEventListener("error",v)});return i.then(t=>{t instanceof IDBCursor&&xd.set(t,r)}).catch(()=>{}),Ec.set(i,r),i}(r);if(es.has(r))return es.get(r);const i=ks(r);return i!==r&&(es.set(r,i),Ec.set(i,r)),i}const H=r=>Ec.get(r),se=["get","getKey","getAll","getAllKeys","count"],be=["put","add","delete","clear"],Le=new Map;function We(r,i){if(!(r instanceof IDBDatabase)||i in r||"string"!=typeof i)return;if(Le.get(i))return Le.get(i);const t=i.replace(/FromIndex$/,""),n=i!==t,a=be.includes(t);if(!(t in(n?IDBIndex:IDBObjectStore).prototype)||!a&&!se.includes(t))return;const l=function(){var v=(0,ve.Z)(function*(I,...W){const G=this.transaction(I,a?"readwrite":"readonly");let ye=G.store;return n&&(ye=ye.index(W.shift())),(yield Promise.all([ye[t](...W),a&&G.done]))[0]});return function(W){return v.apply(this,arguments)}}();return Le.set(i,l),l}function Rt(){return Math.floor(Date.now()/1e3)}!function ki(r){Cs=r(Cs)}(r=>({...r,get:(i,t,n)=>We(i,t)||r.get(i,t,n),has:(i,t)=>!!We(i,t)||r.has(i,t)}));class li{constructor(i){this.name=i}open(){var i=this;return(0,ve.Z)(function*(){i.db=yield function Q(r,i,{blocked:t,upgrade:n,blocking:a,terminated:l}={}){const v=indexedDB.open(r,i),I=Vo(v);return n&&v.addEventListener("upgradeneeded",W=>{n(Vo(v.result),W.oldVersion,W.newVersion,Vo(v.transaction),W)}),t&&v.addEventListener("blocked",W=>t(W.oldVersion,W.newVersion,W)),I.then(W=>{l&&W.addEventListener("close",()=>l()),a&&W.addEventListener("versionchange",G=>a(G.oldVersion,G.newVersion,G))}).catch(()=>{}),I}(i.name,2,{upgrade(t,n,a,l,v){switch(n){case 0:!function I(){t.createObjectStore("relays",{keyPath:"url"}),t.createObjectStore("notes",{keyPath:"id"}),t.createObjectStore("circles",{keyPath:"id",autoIncrement:!0}),t.createObjectStore("state",{keyPath:"id"}),t.createObjectStore("contacts",{keyPath:"pubkey"}),t.createObjectStore("labels",{keyPath:"id"}),t.createObjectStore("notifications",{keyPath:"id"}).createIndex("created","created");const ye=t.createObjectStore("events",{keyPath:"id"});ye.createIndex("pubkey","pubkey"),ye.createIndex("created","created_at"),ye.createIndex("kind","kind"),t.createObjectStore("profiles",{keyPath:"pubkey"}).createIndex("status","status")}();case 1:case 2:!function W(){t.createObjectStore("badges",{keyPath:"id"})}();break;default:console.error("Unknown database version.")}},blocked(t,n,a){},blocking(t,n,a){},terminated(){}})})()}close(){this.db.close()}getState(){var i=this;return(0,ve.Z)(function*(){return i.db.get("state",1)})()}putState(i){var t=this;return(0,ve.Z)(function*(){return i.id=1,i.modified=Rt(),t.db.put("state",i)})()}getCircle(i){var t=this;return(0,ve.Z)(function*(){return t.db.get("circles",i)})()}getCircles(){var i=this;return(0,ve.Z)(function*(){return i.db.getAll("circles")})()}putNote(i){var t=this;return(0,ve.Z)(function*(){return i.saved=Rt(),t.db.put("notes",i)})()}deleteNote(i){var t=this;return(0,ve.Z)(function*(){return t.db.delete("notes",i)})()}putCircle(i){var t=this;return(0,ve.Z)(function*(){return i.modified=Rt(),t.db.put("circles",i)})()}getContacts(i){var t=this;return(0,ve.Z)(function*(){return t.db.get("contacts",i)})()}putContacts(i){var t=this;return(0,ve.Z)(function*(){return t.db.put("contacts",i)})()}putNotification(i){var t=this;return(0,ve.Z)(function*(){return t.db.put("notifications",i)})()}deleteContacts(i){var t=this;return(0,ve.Z)(function*(){return t.db.delete("contacts",i)})()}getProfile(i){var t=this;return(0,ve.Z)(function*(){return t.db.get("profiles",i)})()}putProfile(i){var t=this;return(0,ve.Z)(function*(){return i.modified=Rt(),t.db.put("profiles",i)})()}getBadge(i){var t=this;return(0,ve.Z)(function*(){return t.db.get("badges",i)})()}putBadge(i){var t=this;return(0,ve.Z)(function*(){return i.modified=Rt(),t.db.put("badges",i)})()}getProfilesByStatus(i){var t=this;return(0,ve.Z)(function*(){return t.db.getAllFromIndex("profiles","status",i)})()}getProfilesByStatusCount(i){var t=this;return(0,ve.Z)(function*(){return t.db.countFromIndex("profiles","status",i)})()}getEvent(i){var t=this;return(0,ve.Z)(function*(){return t.db.get("events",i)})()}getNotification(i){var t=this;return(0,ve.Z)(function*(){return t.db.get("notifications",i)})()}putEvents(i){var t=this;return(0,ve.Z)(function*(){return t.db.put("events",i)})()}getEventsByPubKey(i,t){var n=this;return(0,ve.Z)(function*(){return n.db.getAllFromIndex("events","pubkey",i,t)})()}getNotifications2(i){var t=this;return(0,ve.Z)(function*(){return t.db.getAllFromIndex("notifications","created",void 0,i)})()}getNotifications(i){var t=this;return(0,ve.Z)(function*(){let n=yield t.db.transaction("notifications").store.index("created").openCursor(void 0,"prev");const a=[];let l=0;for(;n&&(a.push(n.value),l++,!(l>=i));)n=yield n.continue();return a})()}getEventsByCreated2(i,t){var n=this;return(0,ve.Z)(function*(){return n.db.getAllFromIndex("events","created",i,t)})()}getEventsByCreated(i){var t=this;return(0,ve.Z)(function*(){let n=yield t.db.transaction("events").store.index("created").openCursor(void 0,"prev");const a=[];let l=0;for(;n&&(a.push(n.value),l++,!(l>=i));)n=yield n.continue();return a})()}getEventsByCreatedAndKind(i,t){var n=this;return(0,ve.Z)(function*(){let a=yield n.db.transaction("events").store.index("created").openCursor(void 0,"prev");const l=[];let v=0;for(;a&&!(a.value.kind==t&&(l.push(a.value),v++,v>=i));)a=yield a.continue();return l})()}getRelay(i){var t=this;return(0,ve.Z)(function*(){return t.db.get("relays",i)})()}getRelays(){var i=this;return(0,ve.Z)(function*(){return i.db.getAll("relays")})()}getBadges(){var i=this;return(0,ve.Z)(function*(){return i.db.getAll("badges")})()}getNotes(){var i=this;return(0,ve.Z)(function*(){return i.db.getAll("notes")})()}putRelay(i){var t=this;return(0,ve.Z)(function*(){return i.modified=Rt(),t.db.put("relays",i)})()}deleteCircle(i){var t=this;return(0,ve.Z)(function*(){return t.db.delete("circles",i)})()}deleteProfile(i){var t=this;return(0,ve.Z)(function*(){return t.db.delete("profiles",i)})()}deleteRelay(i){var t=this;return(0,ve.Z)(function*(){return t.db.delete("relays",i)})()}deleteRelays(){var i=this;return(0,ve.Z)(function*(){return i.db.clear("relays")})()}deleteNotes(){var i=this;return(0,ve.Z)(function*(){return i.db.clear("notes")})()}deleteNotesByAuthor(i){var t=this;return(0,ve.Z)(function*(){t.db.transaction("events","readwrite").store.index("pubkey").openCursor(i).then(function(){var v=(0,ve.Z)(function*(I){for(;I;)I.delete(),I=yield I.continue()});return function(I){return v.apply(this,arguments)}}())})()}deleteNotifications(){var i=this;return(0,ve.Z)(function*(){return i.db.clear("notifications")})()}delete(){var i=this;return(0,ve.Z)(function*(){yield function R(r,{blocked:i}={}){const t=indexedDB.deleteDatabase(r);return i&&t.addEventListener("blocked",n=>i(n.oldVersion,n)),Vo(t).then(()=>{})}(i.name,{blocked(){console.log("BLOCKED...")}})})()}getLabel(i){var t=this;return(0,ve.Z)(function*(){return t.db.get("labels",i)})()}getLabels(){var i=this;return(0,ve.Z)(function*(){return i.db.getAll("labels")})()}putLabel(i){var t=this;return(0,ve.Z)(function*(){return t.db.put("labels",i)})()}deleteLabel(i){var t=this;return(0,ve.Z)(function*(){return t.db.delete("labels",i)})()}}var Oi=y(5439);class Fi{constructor(i){this.appState=i}initialize(i){var t=this;return(0,ve.Z)(function*(){t.storage=new li("blockcore-notes-"+t.appState.getPublicKey()),yield t.storage.open();let n=yield t.storage.getState();n||(n={id:1,since:Oi().subtract(2,"days").unix()}),t.state=n,setTimeout((0,ve.Z)(function*(){console.log("Persisting state...");const a=Oi().subtract(10,"minutes").unix();t.state.since=a,yield t.storage.putState(t.state)}),6e4)})()}clearAndReload(){var i=this;return(0,ve.Z)(function*(){console.log("Deleting storage..."),setTimeout(()=>{console.log("Reloading!"),location.reload()},1e3);try{yield i.delete()}catch(t){console.error(t)}})()}close(){try{this.storage.close()}catch(i){console.error("Failed to close storage.",i)}}delete(){var i=this;return(0,ve.Z)(function*(){yield i.storage.delete()})()}}Fi.\u0275fac=function(i){return new(i||Fi)(e.LFG(ce.i))},Fi.\u0275prov=e.Yz7({token:Fi,factory:Fi.\u0275fac,providedIn:"root"});var Pi=y(7949),vr=y(9784);class Ar{constructor(i){this.validator=i}processEvent(i){let t;return i?(t=i.kind==Hi.Contacts?this.validator.validateContacts(i):this.validator.validateEvent(i),t?(t=this.validator.sanitizeEvent(t),t||null):(console.log("INVALID EVENT!"),null)):null}getPublicKeyAndEventTags(i){return i?i.filter(n=>"e"===n[0]||"p"===n[0]):[]}lastETag(i){const t=this.eTags(i);if(0!=t.length)return t[t.length-1][1]}titleTag(i){const t=this.tagsOfType(i,"title");if(0!=t.length)return t[t.length-1][1]}firstATag(i){const t=this.tagsOfType(i,"a");if(0!=t.length)return t[0][1]}firstDTag(i){const t=this.tagsOfType(i,"d");if(0!=t.length)return t[0][1]}lastTagOfType(i,t){const n=this.tagsOfType(i,t);if(0!=n.length)return n[n.length-1][1]}hashTags(i){return this.tagsOfTypeValues(i,"t")}tagsOfType(i,t){return i?i.tags.filter(a=>a[0]===t):[]}tagsOfTypeValues(i,t){return i?i.tags.filter(a=>a[0]===t).map(a=>a[1]):[]}eTags(i){return i?i.tags.filter(n=>"e"===n[0]):[]}pTags(i){return i?i.tags.filter(n=>"p"===n[0]):[]}parentEventId(i){if(!i)return;const t=i.tags.filter(n=>"e"===n[0]);return 0!=t.length?t[t.length-1][1]:void 0}rootEventId(i){if(!i)return;const t=i.tags.filter(n=>"e"===n[0]);for(let n=0;n3&&"root"==a[3])return a[1]}return 0==t.length?null:t[0][1]}replyEventId(i){if(!i)return;const t=i.tags.filter(n=>"e"===n[0]);for(let n=0;n3&&"reply"==a[3])return a[1]}return t.length<2?null:t[1][1]}}Ar.\u0275fac=function(i){return new(i||Ar)(e.LFG(vr.Y))},Ar.\u0275prov=e.Yz7({token:Ar,factory:Ar.\u0275fac,providedIn:"root"});class na{get editable(){return this.definitions.filter(t=>t.pubkey==this.appState.getPublicKey())}constructor(i,t,n,a,l){this.queueService=i,this.storage=t,this.appState=n,this.utilities=a,this.eventService=l,this.definitions=[]}getDefinition(i){return this.definitions.find(t=>t.slug==i)}initialize(){var i=this;return(0,ve.Z)(function*(){const t=yield i.storage.storage.getBadges();t.length>0&&(i.definitions=i.convert(t))})()}convert(i){const t=[];for(let n=0;nl.id==n.id);if(a>-1){if(t.definitions[a].created_at>n.created_at)return;t.definitions[a]=n,yield t.saveDefinition(n)}else t.definitions.push(n),yield t.saveDefinition(n)})()}saveDefinition(i){var t=this;return(0,ve.Z)(function*(){let n={id:i.id,slug:i.slug,pubkey:i.pubkey,created:i.created_at,created_at:i.created_at,description:i.description,name:i.name,thumb:i.thumb,image:i.image,hashtags:i.hashtags};yield t.storage.storage.putBadge(n)})()}}na.\u0275fac=function(i){return new(i||na)(e.LFG(In),e.LFG(Fi),e.LFG(ce.i),e.LFG(Pi.dU),e.LFG(Ar))},na.\u0275prov=e.Yz7({token:na,factory:na.\u0275fac,providedIn:"root"});var pa=y(529),$a=y(5191),tl=y(2843),rr=y(4004),Ds=y(4482),oo=y(5403),Wh=y(4671),il=y(2805),Cd=y(8421),Fl=y(3151),ts=y(262),Qh=y(4351);let Jh={},Kh={};function Jl(r){let i=[],t=0,n=0;for(let a=0;a>>=1,i.push(I?0===n?-2147483648:-n:n),n=t=0}}return i}"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(r,i){Jh[r]=i,Kh[i]=r});const Au="TOKEN_LOGGER_CONFIG";class $h{constructor(i){this.config=this._clone(i)}get level(){return this.config.level}get serverLogLevel(){return this.config.serverLogLevel}updateConfig(i){this.config=this._clone(i)}partialUpdateConfig(i){i&&Object.keys(i).forEach(t=>{this.config[t]=i[t]})}getConfig(){return this._clone(this.config)}_clone(i){const t={level:null};return Object.keys(i).forEach(n=>{t[n]=i[n]}),t}}const Ac="TOKEN_LOGGER_CONFIG_ENGINE_FACTORY";class Q_{provideConfigEngine(i){return new $h(i)}}const Sc="TOKEN_LOGGER_MAPPER_SERVICE";let Yf=(()=>{class r{constructor(t){this.httpBackend=t,this.sourceMapCache=new Map,this.logPositionCache=new Map}getLogPosition(t,n){const a=this.getStackLine(t);if(!a)return(0,U.of)({fileName:"",lineNumber:0,columnNumber:0});const l=this.getLocalPosition(a);if(!t.enableSourceMaps)return(0,U.of)(l);const v=this.getSourceMapLocation(a);return this.getSourceMap(v,l)}getStackLine(t){const n=new Error;try{throw n}catch{try{let l=4;return n.stack.split("\n")[0].includes(".js:")||(l+=1),n.stack.split("\n")[l+(t.proxiedSteps||0)]}catch{return null}}}getLocalPosition(t){const n=t.lastIndexOf("/");let a=t.indexOf(")");a<0&&(a=void 0);const v=t.substring(n+1,a).split(":");return 3===v.length?{fileName:v[0],lineNumber:+v[1],columnNumber:+v[2]}:{fileName:"unknown",lineNumber:0,columnNumber:0}}getTranspileLocation(t){let n=t.indexOf("(");n<0&&(n=t.lastIndexOf("@"),n<0&&(n=t.lastIndexOf(" ")));let a=t.indexOf(")");return a<0&&(a=void 0),t.substring(n+1,a)}getSourceMapLocation(t){const n=this.getTranspileLocation(t),a=n.substring(0,n.lastIndexOf(":"));return a.substring(0,a.lastIndexOf(":"))+".map"}getMapping(t,n){let a=0,l=0,v=0;const I=t.mappings.split(";");for(let W=0;W=4&&(G+=yt[0],a+=yt[1],l+=yt[2],v+=yt[3]),W===n.lineNumber){if(G===n.columnNumber)return{fileName:t.sources[a],lineNumber:l,columnNumber:v};if(Ge+1===ye.length)return{fileName:t.sources[a],lineNumber:l,columnNumber:0}}}}return{fileName:"unknown",lineNumber:0,columnNumber:0}}getSourceMap(t,n){const a=new pa.aW("GET",t),l=`${n.fileName}:${n.lineNumber}:${n.columnNumber}`;if(this.logPositionCache.has(l))return this.logPositionCache.get(l);this.sourceMapCache.has(t)||(this.httpBackend?this.sourceMapCache.set(t,this.httpBackend.handle(a).pipe((0,Qe.h)(I=>I instanceof pa.Zn),(0,rr.U)(I=>I.body),function qh(r=1/0){let i;i=r&&"object"==typeof r?r:{count:r};const{count:t=1/0,delay:n,resetOnSuccess:a=!1}=i;return t<=0?Wh.y:(0,Ds.e)((l,v)=>{let W,I=0;const G=()=>{let ye=!1;W=l.subscribe((0,oo.x)(v,Ge=>{a&&(I=0),v.next(Ge)},void 0,Ge=>{if(I++{W?(W.unsubscribe(),W=null,G()):ye=!0};if(null!=n){const It="number"==typeof n?(0,il.H)(n):(0,Cd.Xf)(n(Ge,I)),Yt=(0,oo.x)(v,()=>{Yt.unsubscribe(),yt()},()=>{v.complete()});It.subscribe(Yt)}else yt()}else v.error(Ge)})),ye&&(W.unsubscribe(),W=null,G())};G()})}(3),(0,Fl.d)(1))):(console.error("NGXLogger : Can't get sourcemap because HttpBackend is not provided. You need to import HttpClientModule"),this.sourceMapCache.set(t,(0,U.of)(null))));const v=this.sourceMapCache.get(t).pipe((0,rr.U)(I=>I?this.getMapping(I,n):n),(0,ts.K)(()=>(0,U.of)(n)),(0,Fl.d)(1));return this.logPositionCache.set(l,v),v}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(pa.jN,8))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})();const Ic="TOKEN_LOGGER_METADATA_SERVICE";let Dd=(()=>{class r{constructor(t){this.datePipe=t}computeTimestamp(t){const n=()=>(new Date).toISOString();return t.timestampFormat?this.datePipe?this.datePipe.transform(new Date,t.timestampFormat):(console.error("NGXLogger : Can't use timeStampFormat because DatePipe is not provided. You need to provide DatePipe"),n()):n()}getMetadata(t,n,a,l){const v={level:t,additional:l};return v.message=a&&"function"==typeof a?a():a,v.timestamp=this.computeTimestamp(n),v}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(F.uU,8))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})();const ms="TOKEN_LOGGER_RULES_SERVICE";let Xh=(()=>{class r{shouldCallWriter(t,n,a,l){return!n.disableConsoleLogging&&t>=n.level}shouldCallServer(t,n,a,l){return!!n.serverLoggingUrl&&t>=n.serverLogLevel}shouldCallMonitor(t,n,a,l){return this.shouldCallWriter(t,n,a,l)||this.shouldCallServer(t,n,a,l)}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})();const Md="TOKEN_LOGGER_SERVER_SERVICE";let em=(()=>{class r{constructor(t){this.httpBackend=t}secureErrorObject(t){return t?.stack}secureAdditionalParameters(t){return null==t?null:t.map((n,a)=>{try{return n instanceof Error?this.secureErrorObject(n):("object"==typeof n&&JSON.stringify(n),n)}catch{return`The additional[${a}] value could not be parsed using JSON.stringify().`}})}secureMessage(t){try{if(t instanceof Error)return this.secureErrorObject(t);"string"!=typeof t&&(t=JSON.stringify(t,null,2))}catch{t='The provided "message" value could not be parsed with JSON.stringify().'}return t}alterHttpRequest(t){return t}logOnServer(t,n,a){if(!this.httpBackend)return console.error("NGXLogger : Can't log on server because HttpBackend is not provided. You need to import HttpClientModule"),(0,U.of)(null);let l=new pa.aW("POST",t,n,a||{}),v=(0,U.of)(l);const I=this.alterHttpRequest(l);return(0,$a.b)(I)?v=I:I?v=(0,U.of)(I):console.warn("NGXLogger : alterHttpRequest returned an invalid request. Using default one instead"),v.pipe((0,Qh.b)(W=>W?this.httpBackend.handle(W):(console.warn("NGXLogger : alterHttpRequest returned an invalid request (observable). Using default one instead"),this.httpBackend.handle(l))),(0,Qe.h)(W=>W instanceof pa.Zn),(0,rr.U)(W=>W.body))}customiseRequestBody(t){return t}sendToServer(t,n){const a={...t};a.additional=this.secureAdditionalParameters(a.additional),a.message=this.secureMessage(a.message);const l=this.customiseRequestBody(a),v=n.customHttpHeaders||new pa.WM;v.has("Content-Type")||v.set("Content-Type","application/json"),this.logOnServer(n.serverLoggingUrl,l,{headers:v,params:n.customHttpParams||new pa.LE,responseType:n.httpResponseType||"json",withCredentials:n.withCredentials||!1}).pipe((0,ts.K)(I=>(console.error("NGXLogger: Failed to log on server",I),(0,tl._)(I)))).subscribe()}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(pa.jN,8))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})();const Oc="TOKEN_LOGGER_WRITER_SERVICE";var Sr=(()=>{return(r=Sr||(Sr={}))[r.TRACE=0]="TRACE",r[r.DEBUG=1]="DEBUG",r[r.INFO=2]="INFO",r[r.LOG=3]="LOG",r[r.WARN=4]="WARN",r[r.ERROR=5]="ERROR",r[r.FATAL=6]="FATAL",r[r.OFF=7]="OFF",Sr;var r})();const Su=["purple","teal","gray","gray","red","red","red"];let Es=(()=>{class r{constructor(t){this.platformId=t,this.prepareMetaStringFuncs=[this.getTimestampToWrite,this.getLevelToWrite,this.getFileDetailsToWrite,this.getContextToWrite],this.isIE=(0,F.NF)(t)&&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(t,n){return t.timestamp}getLevelToWrite(t,n){return Sr[t.level]}getFileDetailsToWrite(t,n){return!0===n.disableFileDetails?"":`[${t.fileName}:${t.lineNumber}:${t.columnNumber}]`}getContextToWrite(t,n){return n.context?`{${n.context}}`:""}prepareMetaString(t,n){let a="";return this.prepareMetaStringFuncs.forEach(l=>{const v=l(t,n);v&&(a=a+" "+v)}),a.trim()}getColor(t,n){if(t.level!==Sr.OFF)return(n.colorScheme??Su)[t.level]}logIE(t,n,a){const l=t.additional||[];switch(t.level){case Sr.WARN:console.warn(`${a} `,t.message,...l);break;case Sr.ERROR:case Sr.FATAL:console.error(`${a} `,t.message,...l);break;case Sr.INFO:console.info(`${a} `,t.message,...l);break;default:console.log(`${a} `,t.message,...l)}}logModern(t,n,a){const l=this.getColor(t,n),v=t.additional||[];switch(t.level){case Sr.WARN:console.warn(`%c${a}`,`color:${l}`,t.message,...v);break;case Sr.ERROR:case Sr.FATAL:console.error(`%c${a}`,`color:${l}`,t.message,...v);break;case Sr.INFO:console.info(`%c${a}`,`color:${l}`,t.message,...v);break;case Sr.DEBUG:console.debug(`%c${a}`,`color:${l}`,t.message,...v);break;default:console.log(`%c${a}`,`color:${l}`,t.message,...v)}}writeMessage(t,n){const a=this.prepareMetaString(t,n);this.logFunc(t,n,a)}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(e.Lbi))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})(),Kl=(()=>{class r{constructor(t,n,a,l,v,I,W){this.metadataService=a,this.ruleService=l,this.mapperService=v,this.writerService=I,this.serverService=W,this.configEngine=n.provideConfigEngine(t)}get level(){return this.configEngine.level}get serverLogLevel(){return this.configEngine.serverLogLevel}trace(t,...n){this._log(Sr.TRACE,t,n)}debug(t,...n){this._log(Sr.DEBUG,t,n)}info(t,...n){this._log(Sr.INFO,t,n)}log(t,...n){this._log(Sr.LOG,t,n)}warn(t,...n){this._log(Sr.WARN,t,n)}error(t,...n){this._log(Sr.ERROR,t,n)}fatal(t,...n){this._log(Sr.FATAL,t,n)}setCustomHttpHeaders(t){const n=this.getConfigSnapshot();n.customHttpHeaders=t,this.updateConfig(n)}setCustomParams(t){const n=this.getConfigSnapshot();n.customHttpParams=t,this.updateConfig(n)}setWithCredentialsOptionValue(t){const n=this.getConfigSnapshot();n.withCredentials=t,this.updateConfig(n)}registerMonitor(t){this._loggerMonitor=t}updateConfig(t){this.configEngine.updateConfig(t)}partialUpdateConfig(t){this.configEngine.partialUpdateConfig(t)}getConfigSnapshot(){return this.configEngine.getConfig()}_log(t,n,a=[]){const l=this.configEngine.getConfig(),v=this.ruleService.shouldCallWriter(t,l,n,a),I=this.ruleService.shouldCallServer(t,l,n,a),W=this.ruleService.shouldCallMonitor(t,l,n,a);if(!v&&!I&&!W)return;const G=this.metadataService.getMetadata(t,l,n,a);this.mapperService.getLogPosition(l,G).pipe((0,Se.q)(1)).subscribe(ye=>{ye&&(G.fileName=ye.fileName,G.lineNumber=ye.lineNumber,G.columnNumber=ye.columnNumber),W&&this._loggerMonitor&&this._loggerMonitor.onLog(G,l),v&&this.writerService.writeMessage(G,l),I&&this.serverService.sendToServer(G,l)})}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(Au),e.LFG(Ac),e.LFG(Ic),e.LFG(ms),e.LFG(Sc),e.LFG(Oc),e.LFG(Md))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),or=(()=>{class r{constructor(t,n,a,l,v,I,W){this.logger=t,this.configEngineFactory=n,this.metadataService=a,this.ruleService=l,this.mapperService=v,this.writerService=I,this.serverService=W}create(t,n,a,l){return this.getNewInstance({config:t,serverService:n,logMonitor:a,mapperService:l})}getNewInstance(t){const n=new Kl(t?.config??this.logger.getConfigSnapshot(),t?.configEngineFactory??this.configEngineFactory,t?.metadataService??this.metadataService,t?.ruleService??this.ruleService,t?.mapperService??this.mapperService,t?.writerService??this.writerService,t?.serverService??this.serverService);return t?.partialConfig&&n.partialUpdateConfig(t.partialConfig),t?.logMonitor&&n.registerMonitor(t.logMonitor),n}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(Kl),e.LFG(Ac),e.LFG(Ic),e.LFG(ms),e.LFG(Sc),e.LFG(Oc),e.LFG(Md))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),E=(()=>{class r{static forRoot(t,n){if(n||(n={}),n.configProvider){if(n.configProvider.provide!==Au)throw new Error(`Wrong injection token for configProvider, it should be ${Au} and you used ${n.configProvider.provide}`)}else n.configProvider={provide:Au,useValue:t||{}};if(n.configEngineFactoryProvider){if(n.configEngineFactoryProvider.provide!==Ac)throw new Error(`Wrong injection token for configEngineFactoryProvider, it should be '${Ac}' and you used '${n.configEngineFactoryProvider.provide}'`)}else n.configEngineFactoryProvider={provide:Ac,useClass:Q_};if(n.metadataProvider){if(n.metadataProvider.provide!==Ic)throw new Error(`Wrong injection token for metadataProvider, it should be '${Ic}' and you used '${n.metadataProvider.provide}'`)}else n.metadataProvider={provide:Ic,useClass:Dd};if(n.ruleProvider){if(n.ruleProvider.provide!==ms)throw new Error(`Wrong injection token for ruleProvider, it should be '${ms}' and you used '${n.ruleProvider.provide}'`)}else n.ruleProvider={provide:ms,useClass:Xh};if(n.mapperProvider){if(n.mapperProvider.provide!==Sc)throw new Error(`Wrong injection token for mapperProvider, it should be '${Sc}' and you used '${n.mapperProvider.provide}'`)}else n.mapperProvider={provide:Sc,useClass:Yf};if(n.writerProvider){if(n.writerProvider.provide!==Oc)throw new Error(`Wrong injection token for writerProvider, it should be '${Oc}' and you used '${n.writerProvider.provide}'`)}else n.writerProvider={provide:Oc,useClass:Es};if(n.serverProvider){if(n.serverProvider.provide!==Md)throw new Error(`Wrong injection token for serverProvider, it should be '${Md}' and you used '${n.writerProvider.provide}'`)}else n.serverProvider={provide:Md,useClass:em};return{ngModule:r,providers:[Kl,n.configProvider,n.configEngineFactoryProvider,n.metadataProvider,n.ruleProvider,n.mapperProvider,n.writerProvider,n.serverProvider,or]}}static forChild(){return{ngModule:r}}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[F.ez]}),r})();class j{constructor(i){this.logger=i}enableDebug(){this.logger.updateConfig({level:Sr.TRACE})}disableDebug(){this.logger.updateConfig({level:Sr.INFO})}trace(i,...t){this.logger.trace(i,...t)}debug(i,...t){this.logger.debug(i,...t)}info(i,...t){this.logger.info(i,...t)}log(i,...t){this.logger.log(i,...t)}warn(i,...t){this.logger.warn(i,...t)}error(i,...t){this.logger.error(i,...t)}fatal(i,...t){this.logger.fatal(i,...t)}}j.\u0275fac=function(i){return new(i||j)(e.LFG(Kl))},j.\u0275prov=e.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"});class ge{constructor(i,t,n){this.appState=i,this.utilities=t,this.eventService=n,this.articles=[]}get(i){return this.articles.find(t=>t.slug==i)}put(i){const t=i;t.slug=this.eventService.firstDTag(i),t.title=this.eventService.lastTagOfType(i,"title"),t.summary=this.eventService.lastTagOfType(i,"summary"),t.image=this.eventService.lastTagOfType(i,"image"),t.metatags=this.eventService.tagsOfTypeValues(i,"t");const n=this.eventService.lastTagOfType(i,"published_at");if(n&&(t.published_at=Number(n)),t.pubkey==this.appState.getPublicKey()){const a=this.articles.findIndex(l=>l.slug==t.slug);if(a>-1){if(this.articles[a].created_at>t.created_at)return;this.articles[a]=t}else this.articles.push(t)}}}ge.\u0275fac=function(i){return new(i||ge)(e.LFG(ce.i),e.LFG(Pi.dU),e.LFG(Ar))},ge.\u0275prov=e.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"});var De=y(515);const Ve=(0,x.i$)({passive:!0});let Ot=(()=>{class r{constructor(t,n){this._platform=t,this._ngZone=n,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return De.E;const n=(0,st.fI)(t),a=this._monitoredElements.get(n);if(a)return a.subject;const l=new D.x,v="cdk-text-field-autofilled",I=W=>{"cdk-text-field-autofill-start"!==W.animationName||n.classList.contains(v)?"cdk-text-field-autofill-end"===W.animationName&&n.classList.contains(v)&&(n.classList.remove(v),this._ngZone.run(()=>l.next({target:W.target,isAutofilled:!1}))):(n.classList.add(v),this._ngZone.run(()=>l.next({target:W.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{n.addEventListener("animationstart",I,Ve),n.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(n,{subject:l,unlisten:()=>{n.removeEventListener("animationstart",I,Ve)}}),l}stopMonitoring(t){const n=(0,st.fI)(t),a=this._monitoredElements.get(n);a&&(a.unlisten(),a.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((t,n)=>this.stopMonitoring(n))}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(x.t4),e.LFG(e.R0b))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),On=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})();var gr=y(2076),Xa=y(4128);let is=(()=>{class r{constructor(t,n){this._renderer=t,this._elementRef=n,this.onChange=a=>{},this.onTouched=()=>{}}setProperty(t,n){this._renderer.setProperty(this._elementRef.nativeElement,t,n)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.Qsj),e.Y36(e.SBq))},r.\u0275dir=e.lG2({type:r}),r})(),Kr=(()=>{class r extends is{}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,features:[e.qOj]}),r})();const ga=new e.OlP("NgValueAccessor"),K_={provide:ga,useExisting:(0,e.Gpc)(()=>_a),multi:!0},Bv=new e.OlP("CompositionEventMode");let _a=(()=>{class r extends is{constructor(t,n,a){super(t,n),this._compositionMode=a,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Hf(){const r=(0,F.q)()?(0,F.q)().getUserAgent():"";return/android (\d+)/.test(r.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(Bv,8))},r.\u0275dir=e.lG2({type:r,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(t,n){1&t&&e.NdJ("input",function(l){return n._handleInput(l.target.value)})("blur",function(){return n.onTouched()})("compositionstart",function(){return n._compositionStart()})("compositionend",function(l){return n._compositionEnd(l.target.value)})},features:[e._Bn([K_]),e.qOj]}),r})();const Yv=!1;function Cl(r){return null==r||("string"==typeof r||Array.isArray(r))&&0===r.length}function $_(r){return null!=r&&"number"==typeof r.length}const Va=new e.OlP("NgValidators"),Da=new e.OlP("NgAsyncValidators"),Uf=/^(?=.{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 so{static min(i){return function tm(r){return i=>{if(Cl(i.value)||Cl(r))return null;const t=parseFloat(i.value);return!isNaN(t)&&t{if(Cl(i.value)||Cl(r))return null;const t=parseFloat(i.value);return!isNaN(t)&&t>r?{max:{max:r,actual:i.value}}:null}}(i)}static required(i){return Ed(i)}static requiredTrue(i){return function jf(r){return!0===r.value?null:{required:!0}}(i)}static email(i){return function Vf(r){return Cl(r.value)||Uf.test(r.value)?null:{email:!0}}(i)}static minLength(i){return function X_(r){return i=>Cl(i.value)||!$_(i.value)?null:i.value.length$_(i.value)&&i.value.length>r?{maxlength:{requiredLength:r,actualLength:i.value.length}}:null}(i)}static pattern(i){return function e0(r){if(!r)return Iu;let i,t;return"string"==typeof r?(t="","^"!==r.charAt(0)&&(t+="^"),t+=r,"$"!==r.charAt(r.length-1)&&(t+="$"),i=new RegExp(t)):(t=r.toString(),i=r),n=>{if(Cl(n.value))return null;const a=n.value;return i.test(a)?null:{pattern:{requiredPattern:t,actualValue:a}}}}(i)}static nullValidator(i){return null}static compose(i){return a0(i)}static composeAsync(i){return o0(i)}}function Ed(r){return Cl(r.value)?{required:!0}:null}function Iu(r){return null}function t0(r){return null!=r}function zf(r){const i=(0,e.QGY)(r)?(0,gr.D)(r):r;if(Yv&&!(0,e.CqO)(i)){let t="Expected async validator to return Promise or Observable.";throw"object"==typeof r&&(t+=" Are you using a synchronous validator where an async validator is expected?"),new e.vHH(-1101,t)}return i}function n0(r){let i={};return r.forEach(t=>{i=null!=t?{...i,...t}:i}),0===Object.keys(i).length?null:i}function r0(r,i){return i.map(t=>t(r))}function im(r){return r.map(i=>function Gf(r){return!r.validate}(i)?i:t=>i.validate(t))}function a0(r){if(!r)return null;const i=r.filter(t0);return 0==i.length?null:function(t){return n0(r0(t,i))}}function Nc(r){return null!=r?a0(im(r)):null}function o0(r){if(!r)return null;const i=r.filter(t0);return 0==i.length?null:function(t){const n=r0(t,i).map(zf);return(0,Xa.D)(n).pipe((0,rr.U)(n0))}}function Wf(r){return null!=r?o0(im(r)):null}function nm(r,i){return null===r?[i]:Array.isArray(r)?[...r,i]:[r,i]}function rm(r){return r._rawValidators}function qf(r){return r._rawAsyncValidators}function $l(r){return r?Array.isArray(r)?r:[r]:[]}function Td(r,i){return Array.isArray(r)?r.includes(i):r===i}function Qf(r,i){const t=$l(i);return $l(r).forEach(a=>{Td(t,a)||t.push(a)}),t}function s0(r,i){return $l(i).filter(t=>!Td(r,t))}class am{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(i){this._rawValidators=i||[],this._composedValidatorFn=Nc(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=Wf(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(i){this._onDestroyCallbacks.push(i)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(i=>i()),this._onDestroyCallbacks=[]}reset(i){this.control&&this.control.reset(i)}hasError(i,t){return!!this.control&&this.control.hasError(i,t)}getError(i,t){return this.control?this.control.getError(i,t):null}}class Ro extends am{get formDirective(){return null}get path(){return null}}class Ts extends am{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class l0{constructor(i){this._cd=i}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 r extends l0{constructor(t){super(t)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(Ts,2))},r.\u0275dir=e.lG2({type:r,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,n){2&t&&e.ekj("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:[e.qOj]}),r})(),kl=(()=>{class r extends l0{constructor(t){super(t)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(Ro,10))},r.\u0275dir=e.lG2({type:r,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,n){2&t&&e.ekj("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:[e.qOj]}),r})();function c0(r,i){return r?`with name: '${i}'`:`at index: ${i}`}const Lu=!1,Sd="VALID",Lc="INVALID",Dl="PENDING",Id="DISABLED";function Ru(r){return(sm(r)?r.validators:r)||null}function Pu(r,i){return(sm(i)?i.asyncValidators:r)||null}function sm(r){return null!=r&&!Array.isArray(r)&&"object"==typeof r}function Xf(r,i,t){const n=r.controls;if(!(i?Object.keys(n):n).length)throw new e.vHH(1e3,Lu?function d0(r){return`\n There are no form controls registered with this ${r?"group":"array"} yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n `}(i):"");if(!n[t])throw new e.vHH(1001,Lu?function u0(r,i){return`Cannot find form control ${c0(r,i)}`}(i,t):"")}function m0(r,i,t){r._forEachChild((n,a)=>{if(void 0===t[a])throw new e.vHH(1002,Lu?function h0(r,i){return`Must supply a value for form control ${c0(r,i)}`}(i,a):"")})}class lm{constructor(i,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(i),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(i){this._rawValidators=this._composedValidatorFn=i}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(i){this._rawAsyncValidators=this._composedAsyncValidatorFn=i}get parent(){return this._parent}get valid(){return this.status===Sd}get invalid(){return this.status===Lc}get pending(){return this.status==Dl}get disabled(){return this.status===Id}get enabled(){return this.status!==Id}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(i){this._assignValidators(i)}setAsyncValidators(i){this._assignAsyncValidators(i)}addValidators(i){this.setValidators(Qf(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators(Qf(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(s0(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(s0(i,this._rawAsyncValidators))}hasValidator(i){return Td(this._rawValidators,i)}hasAsyncValidator(i){return Td(this._rawAsyncValidators,i)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(i={}){this.touched=!0,this._parent&&!i.onlySelf&&this._parent.markAsTouched(i)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(i=>i.markAllAsTouched())}markAsUntouched(i={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!i.onlySelf&&this._parent._updateTouched(i)}markAsDirty(i={}){this.pristine=!1,this._parent&&!i.onlySelf&&this._parent.markAsDirty(i)}markAsPristine(i={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!i.onlySelf&&this._parent._updatePristine(i)}markAsPending(i={}){this.status=Dl,!1!==i.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!i.onlySelf&&this._parent.markAsPending(i)}disable(i={}){const t=this._parentMarkedDirty(i.onlySelf);this.status=Id,this.errors=null,this._forEachChild(n=>{n.disable({...i,onlySelf:!0})}),this._updateValue(),!1!==i.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...i,skipPristineCheck:t}),this._onDisabledChange.forEach(n=>n(!0))}enable(i={}){const t=this._parentMarkedDirty(i.onlySelf);this.status=Sd,this._forEachChild(n=>{n.enable({...i,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent}),this._updateAncestors({...i,skipPristineCheck:t}),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(i){this._parent&&!i.onlySelf&&(this._parent.updateValueAndValidity(i),i.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(i){this._parent=i}getRawValue(){return this.value}updateValueAndValidity(i={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Sd||this.status===Dl)&&this._runAsyncValidator(i.emitEvent)),!1!==i.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!i.onlySelf&&this._parent.updateValueAndValidity(i)}_updateTreeValidity(i={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(i)),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Id:Sd}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(i){if(this.asyncValidator){this.status=Dl,this._hasOwnPendingAsyncValidator=!0;const t=zf(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:i})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(i,t={}){this.errors=i,this._updateControlsErrors(!1!==t.emitEvent)}get(i){let t=i;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((n,a)=>n&&n._find(a),this)}getError(i,t){const n=t?this.get(t):this;return n&&n.errors?n.errors[i]:null}hasError(i,t){return!!this.getError(i,t)}get root(){let i=this;for(;i._parent;)i=i._parent;return i}_updateControlsErrors(i){this.status=this._calculateStatus(),i&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(i)}_initObservables(){this.valueChanges=new e.vpe,this.statusChanges=new e.vpe}_calculateStatus(){return this._allControlsDisabled()?Id:this.errors?Lc:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Dl)?Dl:this._anyControlsHaveStatus(Lc)?Lc:Sd}_anyControlsHaveStatus(i){return this._anyControls(t=>t.status===i)}_anyControlsDirty(){return this._anyControls(i=>i.dirty)}_anyControlsTouched(){return this._anyControls(i=>i.touched)}_updatePristine(i={}){this.pristine=!this._anyControlsDirty(),this._parent&&!i.onlySelf&&this._parent._updatePristine(i)}_updateTouched(i={}){this.touched=this._anyControlsTouched(),this._parent&&!i.onlySelf&&this._parent._updateTouched(i)}_registerOnCollectionChange(i){this._onCollectionChange=i}_setUpdateStrategy(i){sm(i)&&null!=i.updateOn&&(this._updateOn=i.updateOn)}_parentMarkedDirty(i){return!i&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(i){return null}_assignValidators(i){this._rawValidators=Array.isArray(i)?i.slice():i,this._composedValidatorFn=function $f(r){return Array.isArray(r)?Nc(r):r||null}(this._rawValidators)}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=function Bu(r){return Array.isArray(r)?Wf(r):r||null}(this._rawAsyncValidators)}}class Yu extends lm{constructor(i,t,n){super(Ru(t),Pu(n,t)),this.controls=i,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(i,t){return this.controls[i]?this.controls[i]:(this.controls[i]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(i,t,n={}){this.registerControl(i,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(i,t={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(i,t,n={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],t&&this.registerControl(i,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(i){return this.controls.hasOwnProperty(i)&&this.controls[i].enabled}setValue(i,t={}){m0(this,!0,i),Object.keys(i).forEach(n=>{Xf(this,!0,n),this.controls[n].setValue(i[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(i,t={}){null!=i&&(Object.keys(i).forEach(n=>{const a=this.controls[n];a&&a.patchValue(i[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(i={},t={}){this._forEachChild((n,a)=>{n.reset(i[a],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(i,t,n)=>(i[n]=t.getRawValue(),i))}_syncPendingControls(){let i=this._reduceChildren(!1,(t,n)=>!!n._syncPendingControls()||t);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){Object.keys(this.controls).forEach(t=>{const n=this.controls[t];n&&i(n,t)})}_setUpControls(){this._forEachChild(i=>{i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(i){for(const[t,n]of Object.entries(this.controls))if(this.contains(t)&&i(n))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,n,a)=>((n.enabled||this.disabled)&&(t[a]=n.value),t))}_reduceChildren(i,t){let n=i;return this._forEachChild((a,l)=>{n=t(n,a,l)}),n}_allControlsDisabled(){for(const i of Object.keys(this.controls))if(this.controls[i].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(i){return this.controls.hasOwnProperty(i)?this.controls[i]:null}}class Hu extends Yu{}const fs=new e.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Uu}),Uu="always";function cm(r,i){return[...i.path,r]}function dm(r,i,t=Uu){hm(r,i),i.valueAccessor.writeValue(r.value),(r.disabled||"always"===t)&&i.valueAccessor.setDisabledState?.(r.disabled),function ep(r,i){i.valueAccessor.registerOnChange(t=>{r._pendingValue=t,r._pendingChange=!0,r._pendingDirty=!0,"change"===r.updateOn&&tp(r,i)})}(r,i),function g0(r,i){const t=(n,a)=>{i.valueAccessor.writeValue(n),a&&i.viewToModelUpdate(n)};r.registerOnChange(t),i._registerOnDestroy(()=>{r._unregisterOnChange(t)})}(r,i),function p0(r,i){i.valueAccessor.registerOnTouched(()=>{r._pendingTouched=!0,"blur"===r.updateOn&&r._pendingChange&&tp(r,i),"submit"!==r.updateOn&&r.markAsTouched()})}(r,i),function Wv(r,i){if(i.valueAccessor.setDisabledState){const t=n=>{i.valueAccessor.setDisabledState(n)};r.registerOnDisabledChange(t),i._registerOnDestroy(()=>{r._unregisterOnDisabledChange(t)})}}(r,i)}function um(r,i,t=!0){const n=()=>{};i.valueAccessor&&(i.valueAccessor.registerOnChange(n),i.valueAccessor.registerOnTouched(n)),Rc(r,i),r&&(i._invokeOnDestroyCallbacks(),r._registerOnCollectionChange(()=>{}))}function Od(r,i){r.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(i)})}function hm(r,i){const t=rm(r);null!==i.validator?r.setValidators(nm(t,i.validator)):"function"==typeof t&&r.setValidators([t]);const n=qf(r);null!==i.asyncValidator?r.setAsyncValidators(nm(n,i.asyncValidator)):"function"==typeof n&&r.setAsyncValidators([n]);const a=()=>r.updateValueAndValidity();Od(i._rawValidators,a),Od(i._rawAsyncValidators,a)}function Rc(r,i){let t=!1;if(null!==r){if(null!==i.validator){const a=rm(r);if(Array.isArray(a)&&a.length>0){const l=a.filter(v=>v!==i.validator);l.length!==a.length&&(t=!0,r.setValidators(l))}}if(null!==i.asyncValidator){const a=qf(r);if(Array.isArray(a)&&a.length>0){const l=a.filter(v=>v!==i.asyncValidator);l.length!==a.length&&(t=!0,r.setAsyncValidators(l))}}}const n=()=>{};return Od(i._rawValidators,n),Od(i._rawAsyncValidators,n),t}function tp(r,i){r._pendingDirty&&r.markAsDirty(),r.setValue(r._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(r._pendingValue),r._pendingChange=!1}function Xl(r,i){hm(r,i)}function tc(r,i){if(!r.hasOwnProperty("model"))return!1;const t=r.model;return!!t.isFirstChange()||!Object.is(i,t.currentValue)}function _0(r,i){r._syncPendingControls(),i.forEach(t=>{const n=t.control;"submit"===n.updateOn&&n._pendingChange&&(t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function np(r,i){if(!i)return null;let t,n,a;return Array.isArray(i),i.forEach(l=>{l.constructor===_a?t=l:function Jv(r){return Object.getPrototypeOf(r.constructor)===Kr}(l)?n=l:a=l}),a||n||t||null}const $v={provide:Ro,useExisting:(0,e.Gpc)(()=>rl)},Nd=(()=>Promise.resolve())();let rl=(()=>{class r extends Ro{constructor(t,n,a){super(),this.callSetDisabledState=a,this.submitted=!1,this._directives=new Set,this.ngSubmit=new e.vpe,this.form=new Yu({},Nc(t),Wf(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Nd.then(()=>{const n=this._findContainer(t.path);t.control=n.registerControl(t.name,t.control),dm(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Nd.then(()=>{const n=this._findContainer(t.path);n&&n.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Nd.then(()=>{const n=this._findContainer(t.path),a=new Yu({});Xl(a,t),n.registerControl(t.name,a),a.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Nd.then(()=>{const n=this._findContainer(t.path);n&&n.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,n){Nd.then(()=>{this.form.get(t.path).setValue(n)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,_0(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(Va,10),e.Y36(Da,10),e.Y36(fs,8))},r.\u0275dir=e.lG2({type:r,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,n){1&t&&e.NdJ("submit",function(l){return n.onSubmit(l)})("reset",function(){return n.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([$v]),e.qOj]}),r})();function b0(r,i){const t=r.indexOf(i);t>-1&&r.splice(t,1)}function y0(r){return"object"==typeof r&&null!==r&&2===Object.keys(r).length&&"value"in r&&"disabled"in r}const ic=class extends lm{constructor(i=null,t,n){super(Ru(t),Pu(n,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(i),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),sm(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=y0(i)?i.value:i)}setValue(i,t={}){this.value=this._pendingValue=i,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(n=>n(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(i,t={}){this.setValue(i,t)}reset(i=this.defaultValue,t={}){this._applyFormState(i),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(i){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(i){this._onChange.push(i)}_unregisterOnChange(i){b0(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){b0(this._onDisabledChange,i)}_forEachChild(i){}_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(i){y0(i)?(this.value=this._pendingValue=i.value,i.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=i}},ap={provide:Ts,useExisting:(0,e.Gpc)(()=>Ma)},mm=(()=>Promise.resolve())();let Ma=(()=>{class r extends Ts{constructor(t,n,a,l,v,I){super(),this._changeDetectorRef=v,this.callSetDisabledState=I,this.control=new ic,this._registered=!1,this.update=new e.vpe,this._parent=t,this._setValidators(n),this._setAsyncValidators(a),this.valueAccessor=np(0,l)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const n=t.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),tc(t,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(t){this.viewModel=t,this.update.emit(t)}_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(){dm(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(t){mm.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const n=t.isDisabled.currentValue,a=0!==n&&(0,e.D6c)(n);mm.then(()=>{a&&!this.control.disabled?this.control.disable():!a&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?cm(t,this._parent):[t]}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(Ro,9),e.Y36(Va,10),e.Y36(Da,10),e.Y36(ga,10),e.Y36(e.sBO,8),e.Y36(fs,8))},r.\u0275dir=e.lG2({type:r,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[e._Bn([ap]),e.qOj,e.TTD]}),r})(),Pc=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),r})();const v0={provide:ga,useExisting:(0,e.Gpc)(()=>op),multi:!0};let op=(()=>{class r extends Kr{writeValue(t){this.setProperty("value",t??"")}registerOnChange(t){this.onChange=n=>{t(""==n?null:parseFloat(n))}}}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,n){1&t&&e.NdJ("input",function(l){return n.onChange(l.target.value)})("blur",function(){return n.onTouched()})},features:[e._Bn([v0]),e.qOj]}),r})(),w0=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})();const sp=new e.OlP("NgModelWithFormControlWarning"),Ea={provide:Ts,useExisting:(0,e.Gpc)(()=>lp)};let lp=(()=>{class r extends Ts{set isDisabled(t){}constructor(t,n,a,l,v){super(),this._ngModelWarningConfig=l,this.callSetDisabledState=v,this.update=new e.vpe,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=np(0,a)}ngOnChanges(t){if(this._isControlChanged(t)){const n=t.form.previousValue;n&&um(n,this,!1),dm(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}tc(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&um(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}}return r._ngModelWarningSentOnce=!1,r.\u0275fac=function(t){return new(t||r)(e.Y36(Va,10),e.Y36(Da,10),e.Y36(ga,10),e.Y36(sp,8),e.Y36(fs,8))},r.\u0275dir=e.lG2({type:r,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[e._Bn([Ea]),e.qOj,e.TTD]}),r})();const rw={provide:Ro,useExisting:(0,e.Gpc)(()=>As)};let As=(()=>{class r extends Ro{constructor(t,n,a){super(),this.callSetDisabledState=a,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.vpe,this._setValidators(t),this._setAsyncValidators(n)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Rc(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const n=this.form.get(t.path);return dm(n,t,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),n}getControl(t){return this.form.get(t.path)}removeControl(t){um(t.control||null,t,!1),function Kv(r,i){const t=r.indexOf(i);t>-1&&r.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,n){this.form.get(t.path).setValue(n)}onSubmit(t){return this.submitted=!0,_0(this.form,this.directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const n=t.control,a=this.form.get(t.path);n!==a&&(um(n||null,t),(r=>r instanceof ic)(a)&&(dm(a,t,this.callSetDisabledState),t.control=a))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const n=this.form.get(t.path);Xl(n,t),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const n=this.form.get(t.path);n&&function qv(r,i){return Rc(r,i)}(n,t)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){hm(this.form,this),this._oldForm&&Rc(this._oldForm,this)}_checkFormPresent(){}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(Va,10),e.Y36(Da,10),e.Y36(fs,8))},r.\u0275dir=e.lG2({type:r,selectors:[["","formGroup",""]],hostBindings:function(t,n){1&t&&e.NdJ("submit",function(l){return n.onSubmit(l)})("reset",function(){return n.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([rw]),e.qOj,e.TTD]}),r})();const k0={provide:Ts,useExisting:(0,e.Gpc)(()=>pm)};let pm=(()=>{class r extends Ts{set isDisabled(t){}constructor(t,n,a,l,v){super(),this._ngModelWarningConfig=v,this._added=!1,this.update=new e.vpe,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(n),this._setAsyncValidators(a),this.valueAccessor=np(0,l)}ngOnChanges(t){this._added||this._setUpControl(),tc(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return cm(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 r._ngModelWarningSentOnce=!1,r.\u0275fac=function(t){return new(t||r)(e.Y36(Ro,13),e.Y36(Va,10),e.Y36(Da,10),e.Y36(ga,10),e.Y36(sp,8))},r.\u0275dir=e.lG2({type:r,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[e._Bn([k0]),e.qOj,e.TTD]}),r})(),Bc=(()=>{class r{constructor(){this._validator=Iu}ngOnChanges(t){if(this.inputName in t){const n=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(n),this._validator=this._enabled?this.createValidator(n):Iu,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return null!=t}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,features:[e.TTD]}),r})();const cw={provide:Va,useExisting:(0,e.Gpc)(()=>Yc),multi:!0};let Yc=(()=>{class r extends Bc{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e.D6c,this.createValidator=t=>Ed}enabled(t){return t}}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,n){2&t&&e.uIk("required",n._enabled?"":null)},inputs:{required:"required"},features:[e._Bn([cw]),e.qOj]}),r})(),S0=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[w0]}),r})();class vm extends lm{constructor(i,t,n){super(Ru(t),Pu(n,t)),this.controls=i,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(i){return this.controls[this._adjustIndex(i)]}push(i,t={}){this.controls.push(i),this._registerControl(i),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(i,t,n={}){this.controls.splice(i,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(i,t={}){let n=this._adjustIndex(i);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(i,t,n={}){let a=this._adjustIndex(i);a<0&&(a=0),this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),this.controls.splice(a,1),t&&(this.controls.splice(a,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(i,t={}){m0(this,!1,i),i.forEach((n,a)=>{Xf(this,!1,a),this.at(a).setValue(n,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(i,t={}){null!=i&&(i.forEach((n,a)=>{this.at(a)&&this.at(a).patchValue(n,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(i=[],t={}){this._forEachChild((n,a)=>{n.reset(i[a],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(i=>i.getRawValue())}clear(i={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:i.emitEvent}))}_adjustIndex(i){return i<0?i+this.length:i}_syncPendingControls(){let i=this.controls.reduce((t,n)=>!!n._syncPendingControls()||t,!1);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){this.controls.forEach((t,n)=>{i(t,n)})}_updateValue(){this.value=this.controls.filter(i=>i.enabled||this.disabled).map(i=>i.value)}_anyControls(i){return this.controls.some(t=>t.enabled&&i(t))}_setUpControls(){this._forEachChild(i=>this._registerControl(i))}_allControlsDisabled(){for(const i of this.controls)if(i.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(i){i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)}_find(i){return this.at(i)??null}}function I0(r){return!!r&&(void 0!==r.asyncValidators||void 0!==r.validators||void 0!==r.updateOn)}let wm=(()=>{class r{constructor(){this.useNonNullable=!1}get nonNullable(){const t=new r;return t.useNonNullable=!0,t}group(t,n=null){const a=this._reduceControls(t);let l={};return I0(n)?l=n:null!==n&&(l.validators=n.validator,l.asyncValidators=n.asyncValidator),new Yu(a,l)}record(t,n=null){const a=this._reduceControls(t);return new Hu(a,n)}control(t,n,a){let l={};return this.useNonNullable?(I0(n)?l=n:(l.validators=n,l.asyncValidators=a),new ic(t,{...l,nonNullable:!0})):new ic(t,n,a)}array(t,n,a){const l=t.map(v=>this._createControl(v));return new vm(l,n,a)}_reduceControls(t){const n={};return Object.keys(t).forEach(a=>{n[a]=this._createControl(t[a])}),n}_createControl(t){return t instanceof ic||t instanceof lm?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),O0=(()=>{class r extends wm{group(t,n=null){return super.group(t,n)}control(t,n,a){return super.control(t,n,a)}array(t,n,a){return super.array(t,n,a)}}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Fm=(()=>{class r{static withConfig(t){return{ngModule:r,providers:[{provide:fs,useValue:t.callSetDisabledState??Uu}]}}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[S0]}),r})(),Uc=(()=>{class r{static withConfig(t){return{ngModule:r,providers:[{provide:sp,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:fs,useValue:t.callSetDisabledState??Uu}]}}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[S0]}),r})();var qi=y(2722),al=y(9643);const N0=["matFormFieldNotchedOutline",""],hw=["*"],mw=["textField"],fw=["iconPrefixContainer"],L0=["textPrefixContainer"];function pw(r,i){1&r&&e._UZ(0,"span",19)}function wp(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"label",17),e.NdJ("cdkObserveContent",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a._refreshOutlineNotchWidth())}),e.Hsn(1,1),e.YNc(2,pw,1,0,"span",18),e.qZA()}if(2&r){const t=e.oxw(2);e.Q6J("floating",t._shouldLabelFloat())("cdkObserveContentDisabled",!t._hasOutline())("id",t._labelId),e.uIk("for",t._control.id)("aria-owns",t._control.id),e.xp6(2),e.Q6J("ngIf",!t.hideRequiredMarker&&t._control.required)}}function xp(r,i){if(1&r&&e.YNc(0,wp,3,6,"label",16),2&r){const t=e.oxw();e.Q6J("ngIf",t._hasFloatingLabel())}}function gw(r,i){1&r&&e._UZ(0,"div",20)}function Fp(r,i){}function zu(r,i){if(1&r&&e.YNc(0,Fp,0,0,"ng-template",22),2&r){e.oxw(2);const t=e.MAs(1);e.Q6J("ngTemplateOutlet",t)}}function _w(r,i){if(1&r&&(e.TgZ(0,"div",21),e.YNc(1,zu,1,1,"ng-template",9),e.qZA()),2&r){const t=e.oxw();e.Q6J("matFormFieldNotchedOutlineOpen",t._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",t._labelWidth),e.xp6(1),e.Q6J("ngIf",!t._forceDisplayInfixLabel())}}function bw(r,i){1&r&&(e.TgZ(0,"div",23,24),e.Hsn(2,2),e.qZA())}function yw(r,i){1&r&&(e.TgZ(0,"div",25,26),e.Hsn(2,3),e.qZA())}function vw(r,i){}function R0(r,i){if(1&r&&e.YNc(0,vw,0,0,"ng-template",22),2&r){e.oxw();const t=e.MAs(1);e.Q6J("ngTemplateOutlet",t)}}function P0(r,i){1&r&&(e.TgZ(0,"div",27),e.Hsn(1,4),e.qZA())}function B0(r,i){1&r&&(e.TgZ(0,"div",28),e.Hsn(1,5),e.qZA())}function Pd(r,i){1&r&&e._UZ(0,"div",29)}function El(r,i){if(1&r&&(e.TgZ(0,"div",30),e.Hsn(1,6),e.qZA()),2&r){const t=e.oxw();e.Q6J("@transitionMessages",t._subscriptAnimationState)}}function ww(r,i){if(1&r&&(e.TgZ(0,"mat-hint",34),e._uU(1),e.qZA()),2&r){const t=e.oxw(2);e.Q6J("id",t._hintLabelId),e.xp6(1),e.Oqu(t.hintLabel)}}function xw(r,i){if(1&r&&(e.TgZ(0,"div",31),e.YNc(1,ww,2,2,"mat-hint",32),e.Hsn(2,7),e._UZ(3,"div",33),e.Hsn(4,8),e.qZA()),2&r){const t=e.oxw();e.Q6J("@transitionMessages",t._subscriptAnimationState),e.xp6(1),e.Q6J("ngIf",t.hintLabel)}}const uk=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],hk=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let Ta=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["mat-label"]]}),r})(),mk=0;const Cm=new e.OlP("MatError");let Y0=(()=>{class r{constructor(t,n){this.id="mat-mdc-error-"+mk++,t||n.nativeElement.setAttribute("aria-live","polite")}}return r.\u0275fac=function(t){return new(t||r)(e.$8M("aria-live"),e.Y36(e.SBq))},r.\u0275dir=e.lG2({type:r,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(t,n){2&t&&e.Ikx("id",n.id)},inputs:{id:"id"},features:[e._Bn([{provide:Cm,useExisting:r}])]}),r})(),Fw=0,km=(()=>{class r{constructor(){this.align="start",this.id="mat-mdc-hint-"+Fw++}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(t,n){2&t&&(e.Ikx("id",n.id),e.uIk("align",null),e.ekj("mat-mdc-form-field-hint-end","end"===n.align))},inputs:{align:"align",id:"id"}}),r})();const Cp=new e.OlP("MatPrefix");let ol=(()=>{class r{constructor(){this._isText=!1}set _isTextSelector(t){this._isText=!0}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[e._Bn([{provide:Cp,useExisting:r}])]}),r})();const ns=new e.OlP("MatSuffix");let H0=(()=>{class r{constructor(){this._isText=!1}set _isTextSelector(t){this._isText=!0}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[e._Bn([{provide:ns,useExisting:r}])]}),r})(),kp=(()=>{class r{constructor(t){this._elementRef=t,this.floating=!1}getWidth(){return function Cw(r){if(null!==r.offsetParent)return r.scrollWidth;const t=r.cloneNode(!0);t.style.setProperty("position","absolute"),t.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(t);const n=t.scrollWidth;return t.remove(),n}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq))},r.\u0275dir=e.lG2({type:r,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(t,n){2&t&&e.ekj("mdc-floating-label--float-above",n.floating)},inputs:{floating:"floating"}}),r})();const U0="mdc-line-ripple--active",Dm="mdc-line-ripple--deactivating";let j0=(()=>{class r{constructor(t,n){this._elementRef=t,this._handleTransitionEnd=a=>{const l=this._elementRef.nativeElement.classList,v=l.contains(Dm);"opacity"===a.propertyName&&v&&l.remove(U0,Dm)},n.runOutsideAngular(()=>{t.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const t=this._elementRef.nativeElement.classList;t.remove(Dm),t.add(U0)}deactivate(){this._elementRef.nativeElement.classList.add(Dm)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.R0b))},r.\u0275dir=e.lG2({type:r,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),r})(),Dp=(()=>{class r{constructor(t,n){this._elementRef=t,this._ngZone=n,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const t=this._elementRef.nativeElement.querySelector(".mdc-floating-label");t?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(t.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>t.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 r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.R0b))},r.\u0275cmp=e.Xpm({type:r,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(t,n){2&t&&e.ekj("mdc-notched-outline--notched",n.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:N0,ngContentSelectors:hw,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(t,n){1&t&&(e.F$t(),e._UZ(0,"div",0),e.TgZ(1,"div",1),e.Hsn(2),e.qZA(),e._UZ(3,"div",2)),2&t&&(e.xp6(1),e.Udp("width",n._getNotchWidth()))},encapsulation:2,changeDetection:0}),r})();const V0={transitionMessages:(0,xe.X$)("transitionMessages",[(0,xe.SB)("enter",(0,xe.oB)({opacity:1,transform:"translateY(0%)"})),(0,xe.eR)("void => enter",[(0,xe.oB)({opacity:0,transform:"translateY(-5px)"}),(0,xe.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Bd=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r}),r})();const rc=new e.OlP("MatFormField"),Mp=new e.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Z0=0,Aa=(()=>{class r{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=(0,st.Ig)(t)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(t){const n=this._appearance;this._appearance=t||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(t){this._subscriptSizing=t||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(t){this._explicitFormFieldControl=t}constructor(t,n,a,l,v,I,W,G){this._elementRef=t,this._changeDetectorRef=n,this._ngZone=a,this._dir=l,this._platform=v,this._defaults=I,this._animationMode=W,this._document=G,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-"+Z0++,this._hintLabelId="mat-mdc-hint-"+Z0++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new D.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,I&&(I.appearance&&(this.appearance=I.appearance),this._hideRequiredMarker=Boolean(I?.hideRequiredMarker),I.color&&(this.color=I.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 t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${t.controlType}`),t.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe((0,qi.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(t=>!t._isText),this._hasTextPrefix=!!this._prefixChildren.find(t=>t._isText),this._hasIconSuffix=!!this._suffixChildren.find(t=>!t._isText),this._hasTextSuffix=!!this._suffixChildren.find(t=>t._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,Ye.T)(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((0,qi.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,qi.R)(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(t){const n=this._control?this._control.ngControl:null;return n&&n[t]}_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 t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const n=this._hintChildren?this._hintChildren.find(l=>"start"===l.align):null,a=this._hintChildren?this._hintChildren.find(l=>"end"===l.align):null;n?t.push(n.id):this._hintLabel&&t.push(this._hintLabelId),a&&t.push(a.id)}else this._errorChildren&&t.push(...this._errorChildren.map(n=>n.id));this._control.setDescribedByIds(t)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const t=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(t.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const n=this._iconPrefixContainer?.nativeElement,a=this._textPrefixContainer?.nativeElement,l=n?.getBoundingClientRect().width??0,v=a?.getBoundingClientRect().width??0;t.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${l+v}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const t=this._elementRef.nativeElement;if(t.getRootNode){const n=t.getRootNode();return n&&n!==t}return document.documentElement.contains(t)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(S.Is),e.Y36(x.t4),e.Y36(Mp,8),e.Y36(e.QbO,8),e.Y36(F.K0))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-form-field"]],contentQueries:function(t,n,a){if(1&t&&(e.Suo(a,Ta,5),e.Suo(a,Ta,7),e.Suo(a,Bd,5),e.Suo(a,Cp,5),e.Suo(a,ns,5),e.Suo(a,Cm,5),e.Suo(a,km,5)),2&t){let l;e.iGM(l=e.CRH())&&(n._labelChildNonStatic=l.first),e.iGM(l=e.CRH())&&(n._labelChildStatic=l.first),e.iGM(l=e.CRH())&&(n._formFieldControl=l.first),e.iGM(l=e.CRH())&&(n._prefixChildren=l),e.iGM(l=e.CRH())&&(n._suffixChildren=l),e.iGM(l=e.CRH())&&(n._errorChildren=l),e.iGM(l=e.CRH())&&(n._hintChildren=l)}},viewQuery:function(t,n){if(1&t&&(e.Gf(mw,5),e.Gf(fw,5),e.Gf(L0,5),e.Gf(kp,5),e.Gf(Dp,5),e.Gf(j0,5)),2&t){let a;e.iGM(a=e.CRH())&&(n._textField=a.first),e.iGM(a=e.CRH())&&(n._iconPrefixContainer=a.first),e.iGM(a=e.CRH())&&(n._textPrefixContainer=a.first),e.iGM(a=e.CRH())&&(n._floatingLabel=a.first),e.iGM(a=e.CRH())&&(n._notchedOutline=a.first),e.iGM(a=e.CRH())&&(n._lineRipple=a.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(t,n){2&t&&e.ekj("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:[e._Bn([{provide:rc,useExisting:r}])],ngContentSelectors:hk,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(t,n){1&t&&(e.F$t(uk),e.YNc(0,xp,1,1,"ng-template",null,0,e.W1O),e.TgZ(2,"div",1,2),e.NdJ("click",function(l){return n._control.onContainerClick&&n._control.onContainerClick(l)}),e.YNc(4,gw,1,0,"div",3),e.TgZ(5,"div",4),e.YNc(6,_w,2,3,"div",5),e.YNc(7,bw,3,0,"div",6),e.YNc(8,yw,3,0,"div",7),e.TgZ(9,"div",8),e.YNc(10,R0,1,1,"ng-template",9),e.Hsn(11),e.qZA(),e.YNc(12,P0,2,0,"div",10),e.YNc(13,B0,2,0,"div",11),e.qZA(),e.YNc(14,Pd,1,0,"div",12),e.qZA(),e.TgZ(15,"div",13),e.YNc(16,El,2,1,"div",14),e.YNc(17,xw,5,2,"div",15),e.qZA()),2&t&&(e.xp6(2),e.ekj("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.xp6(2),e.Q6J("ngIf",!n._hasOutline()&&!n._control.disabled),e.xp6(2),e.Q6J("ngIf",n._hasOutline()),e.xp6(1),e.Q6J("ngIf",n._hasIconPrefix),e.xp6(1),e.Q6J("ngIf",n._hasTextPrefix),e.xp6(2),e.Q6J("ngIf",!n._hasOutline()||n._forceDisplayInfixLabel()),e.xp6(2),e.Q6J("ngIf",n._hasTextSuffix),e.xp6(1),e.Q6J("ngIf",n._hasIconSuffix),e.xp6(1),e.Q6J("ngIf",!n._hasOutline()),e.xp6(1),e.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===n.subscriptSizing),e.Q6J("ngSwitch",n._getDisplayedMessages()),e.xp6(1),e.Q6J("ngSwitchCase","error"),e.xp6(1),e.Q6J("ngSwitchCase","hint"))},dependencies:[F.O5,F.tP,F.RF,F.n9,al.wD,km,kp,Dp,j0],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:[V0.transitionMessages]},changeDetection:0}),r})(),Ep=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ae.BQ,F.ez,al.Q8,ae.BQ]}),r})();const Mm=new e.OlP("MAT_INPUT_VALUE_ACCESSOR"),Q0=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let jc=0;const Dw=(0,ae.FD)(class{constructor(r,i,t,n){this._defaultErrorStateMatcher=r,this._parentForm=i,this._parentFormGroup=t,this.ngControl=n,this.stateChanges=new D.x}});let Za=(()=>{class r extends Dw{get disabled(){return this._disabled}set disabled(t){this._disabled=(0,st.Ig)(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(so.required)??!1}set required(t){this._required=(0,st.Ig)(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&(0,x.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=(0,st.Ig)(t)}constructor(t,n,a,l,v,I,W,G,ye,Ge){super(I,l,v,a),this._elementRef=t,this._platform=n,this._autofillMonitor=G,this._formField=Ge,this._uid="mat-input-"+jc++,this.focused=!1,this.stateChanges=new D.x,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(Yt=>(0,x.qK)().has(Yt)),this._iOSKeyupListener=Yt=>{const Gt=Yt.target;!Gt.value&&0===Gt.selectionStart&&0===Gt.selectionEnd&&(Gt.setSelectionRange(1,1),Gt.setSelectionRange(0,0))};const yt=this._elementRef.nativeElement,It=yt.nodeName.toLowerCase();this._inputValueAccessor=W||yt,this._previousNativeValue=this.value,this.id=this.id,n.IOS&&ye.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===It,this._isTextarea="textarea"===It,this._isInFormField=!!Ge,this._isNativeSelect&&(this.controlType=yt.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.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(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t!==this.focused&&(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_dirtyCheckPlaceholder(){const t=this._getPlaceholder();if(t!==this._previousPlaceholder){const n=this._elementRef.nativeElement;this._previousPlaceholder=t,t?n.setAttribute("placeholder",t):n.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Q0.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,n=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&n&&n.label)}return this.focused||!this.empty}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const t=this._elementRef.nativeElement;return this._isNativeSelect&&(t.multiple||t.size>1)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(x.t4),e.Y36(Ts,10),e.Y36(rl,8),e.Y36(As,8),e.Y36(ae.rD),e.Y36(Mm,10),e.Y36(Ot),e.Y36(e.R0b),e.Y36(rc,8))},r.\u0275dir=e.lG2({type:r,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(t,n){1&t&&e.NdJ("focus",function(){return n._focusChanged(!0)})("blur",function(){return n._focusChanged(!1)})("input",function(){return n._onInput()}),2&t&&(e.Ikx("id",n.id)("disabled",n.disabled)("required",n.required),e.uIk("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),e.ekj("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:[e._Bn([{provide:Bd,useExisting:r}]),e.qOj,e.TTD]}),r})(),Tp=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ae.BQ,Ep,Ep,On,ae.BQ]}),r})();var yo=y(727),Yd=y(8505),Mw=y(8746),pk=y(3099);const Ew=["*"];let Gu;function Wu(r){return function gk(){if(void 0===Gu&&(Gu=null,typeof window<"u")){const r=window;void 0!==r.trustedTypes&&(Gu=r.trustedTypes.createPolicy("angular#components",{createHTML:i=>i}))}return Gu}()?.createHTML(r)||r}function Vc(r){return Error(`Unable to find icon with the name "${r}"`)}function Ap(r){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${r}".`)}function qu(r){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${r}".`)}class Zc{constructor(i,t,n){this.url=i,this.svgText=t,this.options=n}}let Qu=(()=>{class r{constructor(t,n,a,l){this._httpClient=t,this._sanitizer=n,this._errorHandler=l,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=a}addSvgIcon(t,n,a){return this.addSvgIconInNamespace("",t,n,a)}addSvgIconLiteral(t,n,a){return this.addSvgIconLiteralInNamespace("",t,n,a)}addSvgIconInNamespace(t,n,a,l){return this._addSvgIconConfig(t,n,new Zc(a,null,l))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,n,a,l){const v=this._sanitizer.sanitize(e.q3G.HTML,a);if(!v)throw qu(a);const I=Wu(v);return this._addSvgIconConfig(t,n,new Zc("",I,l))}addSvgIconSet(t,n){return this.addSvgIconSetInNamespace("",t,n)}addSvgIconSetLiteral(t,n){return this.addSvgIconSetLiteralInNamespace("",t,n)}addSvgIconSetInNamespace(t,n,a){return this._addSvgIconSetConfig(t,new Zc(n,null,a))}addSvgIconSetLiteralInNamespace(t,n,a){const l=this._sanitizer.sanitize(e.q3G.HTML,n);if(!l)throw qu(n);const v=Wu(l);return this._addSvgIconSetConfig(t,new Zc("",v,a))}registerFontClassAlias(t,n=t){return this._fontCssClassesByAlias.set(t,n),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const n=this._sanitizer.sanitize(e.q3G.RESOURCE_URL,t);if(!n)throw Ap(t);const a=this._cachedIconsByUrl.get(n);return a?(0,U.of)(Em(a)):this._loadSvgIconFromConfig(new Zc(t,null)).pipe((0,Yd.b)(l=>this._cachedIconsByUrl.set(n,l)),(0,rr.U)(l=>Em(l)))}getNamedSvgIcon(t,n=""){const a=J0(n,t);let l=this._svgIconConfigs.get(a);if(l)return this._getSvgFromConfig(l);if(l=this._getIconConfigFromResolvers(n,t),l)return this._svgIconConfigs.set(a,l),this._getSvgFromConfig(l);const v=this._iconSetConfigs.get(n);return v?this._getSvgFromIconSetConfigs(t,v):(0,tl._)(Vc(a))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?(0,U.of)(Em(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe((0,rr.U)(n=>Em(n)))}_getSvgFromIconSetConfigs(t,n){const a=this._extractIconWithNameFromAnySet(t,n);if(a)return(0,U.of)(a);const l=n.filter(v=>!v.svgText).map(v=>this._loadSvgIconSetFromConfig(v).pipe((0,ts.K)(I=>{const G=`Loading icon set URL: ${this._sanitizer.sanitize(e.q3G.RESOURCE_URL,v.url)} failed: ${I.message}`;return this._errorHandler.handleError(new Error(G)),(0,U.of)(null)})));return(0,Xa.D)(l).pipe((0,rr.U)(()=>{const v=this._extractIconWithNameFromAnySet(t,n);if(!v)throw Vc(t);return v}))}_extractIconWithNameFromAnySet(t,n){for(let a=n.length-1;a>=0;a--){const l=n[a];if(l.svgText&&l.svgText.toString().indexOf(t)>-1){const v=this._svgElementFromConfig(l),I=this._extractSvgIconFromSet(v,t,l.options);if(I)return I}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe((0,Yd.b)(n=>t.svgText=n),(0,rr.U)(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?(0,U.of)(null):this._fetchIcon(t).pipe((0,Yd.b)(n=>t.svgText=n))}_extractSvgIconFromSet(t,n,a){const l=t.querySelector(`[id="${n}"]`);if(!l)return null;const v=l.cloneNode(!0);if(v.removeAttribute("id"),"svg"===v.nodeName.toLowerCase())return this._setSvgAttributes(v,a);if("symbol"===v.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(v),a);const I=this._svgElementFromString(Wu(""));return I.appendChild(v),this._setSvgAttributes(I,a)}_svgElementFromString(t){const n=this._document.createElement("DIV");n.innerHTML=t;const a=n.querySelector("svg");if(!a)throw Error(" tag not found");return a}_toSvgElement(t){const n=this._svgElementFromString(Wu("")),a=t.attributes;for(let l=0;lWu(G)),(0,Mw.x)(()=>this._inProgressUrlFetches.delete(v)),(0,pk.B)());return this._inProgressUrlFetches.set(v,W),W}_addSvgIconConfig(t,n,a){return this._svgIconConfigs.set(J0(t,n),a),this}_addSvgIconSetConfig(t,n){const a=this._iconSetConfigs.get(t);return a?a.push(n):this._iconSetConfigs.set(t,[n]),this}_svgElementFromConfig(t){if(!t.svgElement){const n=this._svgElementFromString(t.svgText);this._setSvgAttributes(n,t.options),t.svgElement=n}return t.svgElement}_getIconConfigFromResolvers(t,n){for(let a=0;ai?i.pathname+i.search:""}}}),Tm=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],bk=Tm.map(r=>`[${r}]`).join(", "),Sp=/^url\(['"]?#(.*?)['"]?\)$/;let ar=(()=>{class r extends K0{get inline(){return this._inline}set inline(t){this._inline=(0,st.Ig)(t)}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const n=this._cleanupFontValue(t);n!==this._fontSet&&(this._fontSet=n,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const n=this._cleanupFontValue(t);n!==this._fontIcon&&(this._fontIcon=n,this._updateFontIconClasses())}constructor(t,n,a,l,v,I){super(t),this._iconRegistry=n,this._location=l,this._errorHandler=v,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=yo.w0.EMPTY,I&&(I.color&&(this.color=this.defaultColor=I.color),I.fontSet&&(this.fontSet=I.fontSet)),a||t.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(t){if(!t)return["",""];const n=t.split(":");switch(n.length){case 1:return["",n[0]];case 2:return n;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.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(t){this._clearSvgElement();const n=this._location.getPathname();this._previousPath=n,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(n),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){const t=this._elementRef.nativeElement;let n=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();n--;){const a=t.childNodes[n];(1!==a.nodeType||"svg"===a.nodeName.toLowerCase())&&a.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const t=this._elementRef.nativeElement,n=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(a=>a.length>0);this._previousFontSetClass.forEach(a=>t.classList.remove(a)),n.forEach(a=>t.classList.add(a)),this._previousFontSetClass=n,this.fontIcon!==this._previousFontIconClass&&!n.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return"string"==typeof t?t.trim().split(" ")[0]:t}_prependPathToReferences(t){const n=this._elementsWithExternalReferences;n&&n.forEach((a,l)=>{a.forEach(v=>{l.setAttribute(v.name,`url('${t}#${v.value}')`)})})}_cacheChildrenWithExternalReferences(t){const n=t.querySelectorAll(bk),a=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let l=0;l{const I=n[l],W=I.getAttribute(v),G=W?W.match(Sp):null;if(G){let ye=a.get(I);ye||(ye=[],a.set(I,ye)),ye.push({name:v,value:G[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[n,a]=this._splitIconName(t);n&&(this._svgNamespace=n),a&&(this._svgName=a),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(a,n).pipe((0,Se.q)(1)).subscribe(l=>this._setSvgElement(l),l=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${n}:${a}! ${l.message}`))})}}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(Qu),e.$8M("aria-hidden"),e.Y36($0),e.Y36(e.qLn),e.Y36(Iw,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(t,n){2&t&&(e.uIk("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),e.ekj("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:[e.qOj],ngContentSelectors:Ew,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.Hsn(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}),r})(),Ip=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ae.BQ,ae.BQ]}),r})();class Ss{constructor(i,t,n){this.appState=i,this.dialogRef=t,this.data=n,this.publicKey=this.appState.getPublicKeyDisplay()}onNoClick(){this.data.password="",this.dialogRef.close()}}Ss.\u0275fac=function(i){return new(i||Ss)(e.Y36(ce.i),e.Y36(Ee),e.Y36(bt))},Ss.\u0275cmp=e.Xpm({type:Ss,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(i,t){1&i&&(e.TgZ(0,"div",0)(1,"h1",1),e._uU(2),e.qZA(),e.TgZ(3,"div",2)(4,"p"),e._uU(5),e.qZA(),e.TgZ(6,"form")(7,"mat-form-field",3)(8,"mat-icon",4),e._uU(9,"person_add"),e.qZA(),e.TgZ(10,"mat-label"),e._uU(11,"Public Key"),e.qZA(),e.TgZ(12,"input",5),e.NdJ("ngModelChange",function(a){return t.publicKey=a}),e.qZA()(),e.TgZ(13,"mat-form-field",6)(14,"mat-icon",4),e._uU(15,"password"),e.qZA(),e.TgZ(16,"mat-label"),e._uU(17,"Password"),e.qZA(),e.TgZ(18,"input",7),e.NdJ("ngModelChange",function(a){return t.data.password=a}),e.qZA()()()(),e.TgZ(19,"div",8)(20,"button",9),e.NdJ("click",function(){return t.onNoClick()}),e._uU(21,"Cancel"),e.qZA(),e.TgZ(22,"button",10),e._uU(23,"Approve"),e.qZA()()()),2&i&&(e.xp6(2),e.hij("Approve Action: ",t.data.action,""),e.xp6(3),e.hij('Do you want to approve action "',t.data.action,'"?'),e.xp6(7),e.Q6J("readonly",!0)("ngModel",t.publicKey),e.xp6(6),e.Q6J("ngModel",t.data.password),e.xp6(4),e.Q6J("mat-dialog-close",t.data))},dependencies:[Za,Aa,Ta,ol,Mt.lW,ar,Pc,_a,ua,kl,Ma,rl,rn,Dt,vt,Ui],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}"]});var ko=y(7009);const e1=new TextEncoder,t1=new TextDecoder;class sl{getPasswordKey(i){return window.crypto.subtle.importKey("raw",e1.encode(i),"PBKDF2",!1,["deriveKey"])}deriveKey(i,t,n){return window.crypto.subtle.deriveKey({name:"PBKDF2",salt:t,iterations:25e4,hash:"SHA-256"},i,{name:"AES-GCM",length:256},!1,n)}encryptData(i,t){var n=this;return(0,ve.Z)(function*(){try{const a=window.crypto.getRandomValues(new Uint8Array(16)),l=window.crypto.getRandomValues(new Uint8Array(12)),v=yield n.getPasswordKey(t),I=yield n.deriveKey(v,a,["encrypt"]),W=yield window.crypto.subtle.encrypt({name:"AES-GCM",iv:l},I,e1.encode(i)),G=new Uint8Array(W);let ye=new Uint8Array(a.byteLength+l.byteLength+G.byteLength);return ye.set(a,0),ye.set(l,a.byteLength),ye.set(G,a.byteLength+l.byteLength),Li.US.encode(ye)}catch(a){return console.error(a),""}})()}decryptData(i,t){var n=this;return(0,ve.Z)(function*(){try{const a=Li.US.decode(i),l=a.slice(0,16),v=a.slice(16,28),I=a.slice(28),W=yield n.getPasswordKey(t.toString()),G=yield n.deriveKey(W,l,["decrypt"]),ye=yield window.crypto.subtle.decrypt({name:"AES-GCM",iv:v},G,I);return t1.decode(ye)}catch(a){return console.error(a),""}})()}}sl.\u0275fac=function(i){return new(i||sl)},sl.\u0275prov=e.Yz7({token:sl,factory:sl.\u0275fac,providedIn:"root"});class ps{constructor(i,t,n){this.dialog=i,this.snackBar=t,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(i){var t=this;return(0,ve.Z)(function*(){let n=localStorage.getItem("blockcore:notes:nostr:prvkey");return n?new Promise((a,l)=>{t.dialog.open(Ss,{data:{action:"Sign",password:""},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var I=(0,ve.Z)(function*(W){if(!W)return void l();const G=yield t.security.decryptData(n,W.password);if(!G)return t.snackBar.open("Unable to decrypt data. Probably wrong password. Try again.","Hide",{duration:3e3,horizontalPosition:"center",verticalPosition:"bottom"}),void l("Unable to decrypt data. Probably wrong password.");const ye=jt(G);i.pubkey!=ye&&l("The event public key is not correct for this private key"),i.id||(i.id=yield pr(i)),Dr(i)||l("Invalid Nostr event.");const Ge=po(i,G);i.sig=Ge,a(i)});return function(W){return I.apply(this,arguments)}}())}):globalThis.nostr.signEvent(i)})()}relays(){var i=this;return(0,ve.Z)(function*(){if(localStorage.getItem("blockcore:notes:nostr:prvkey"))return i.defaultRelays;try{return globalThis.nostr.getRelays()}catch{return i.defaultRelays}})()}decrypt(i,t){return(0,ve.Z)(function*(){if(localStorage.getItem("blockcore:notes:nostr:prvkey"))throw new Error("Private key based decrypt not implemented yet.");return yield globalThis.nostr.nip04.decrypt(i,t)})()}encrypt(i,t){return(0,ve.Z)(function*(){if(localStorage.getItem("blockcore:notes:nostr:prvkey"))throw new Error("Private key based encrypt not implemented yet.");return yield globalThis.nostr.nip04.encrypt(i,t)})()}}ps.\u0275fac=function(i){return new(i||ps)(e.LFG(vi),e.LFG(ko.ux),e.LFG(sl))},ps.\u0275prov=e.Yz7({token:ps,factory:ps.\u0275fac,providedIn:"root"});var gs=(()=>{return(r=gs||(gs={}))["\u2764\ufe0f"]="\u2764\ufe0f",r["\u{1f494}"]="\u{1f494}",gs;var r})(),$r=(()=>{return(r=$r||($r={}))[r.Public=0]="Public",r[r.Follow=1]="Follow",r[r.Mute=2]="Mute",r[r.Block=3]="Block",$r;var r})(),Rr=y(7096),Op=y(1188);class Tl{constructor(i){this.util=i}parseZap(i){const{amount:t,hash:n}=this.getInvoice(i),a=n?this.getZapper(i,n):{isValid:!1,content:""},l=this.zappedAuthor(i),v=this.zappedPost(i);return{id:i.id,e:l??void 0,p:v??"",amount:this.util.millisatoshisToSatoshis(Number(t)),zapper:a?.pubkey,content:a?.content,valid:a?.isValid,zapService:i.pubkey}}getInvoice(i){const t=this.lnInvoice(i);if(!t)return console.error("Invalid zap: No bolt11 tag found in event",i),{};try{const n=(0,Op.decode)(t),a=n.sections.find(v=>"amount"===v.name)?.value,l=n.sections.find(v=>"description_hash"===v.name)?.value;return{amount:a,hash:l}}catch{return console.error("Invalid zap: Could not decode bolt11",i),{}}}getZapper(i,t){let n=this.description(i);if(n)try{n.startsWith("%")&&(n=decodeURIComponent(n));const a=JSON.parse(n),l=this.util.arrayToHex($n(n));return{pubkey:a.pubkey,isValid:t===l,content:a.content}}catch{console.error("Invalid zap: Could not decode zap request",i)}return{isValid:!1,content:""}}lnInvoice(i){return i.tags.filter(t=>"bolt11"===t[0]).map(t=>t[1]).find(t=>null!=t)||null}zappedPost(i){return i.tags.filter(t=>"e"===t[0]).map(t=>t[1]??null).find(t=>null!=t)??null}zappedAuthor(i){return i.tags.filter(t=>"p"===t[0]).map(t=>t[1]??null).find(t=>null!=t)??null}description(i){return i.tags.filter(t=>"description"===t[0]).map(t=>t[1]??null).find(t=>null!=t)??null}}Tl.\u0275fac=function(i){return new(i||Tl)(e.LFG(Pi.dU))},Tl.\u0275prov=e.Yz7({token:Tl,factory:Tl.\u0275fac,providedIn:"root"});var Ti=new WeakMap,zc=new WeakMap,Al=new WeakMap,Hd=new WeakMap,Gc=new WeakMap,Ud=new WeakMap,ll=new WeakMap,jd=new WeakMap,Wc=new WeakMap,Am=new WeakMap,Ju=new WeakMap,cl=new WeakMap,Ku=new WeakMap,rs=new WeakMap,lo=new WeakMap,Vd=new WeakMap,Zd=new WeakMap,Np=new WeakMap,qc=new WeakMap,$u=new WeakMap,Xu=new WeakMap,Sm=new WeakMap,Im=new WeakMap,zd=new WeakMap,ac=new WeakMap,eh=new WeakMap,Zo=new WeakMap,Gd=new WeakMap,th=new WeakMap,Om=new WeakMap;class Gr{constructor(i,t,n){Ue(this,Ti,{writable:!0,value:void 0}),Ue(this,zc,{writable:!0,value:void 0}),Ue(this,Al,{writable:!0,value:void 0}),Ue(this,Hd,{writable:!0,value:void 0}),Ue(this,Gc,{writable:!0,value:void 0}),Ue(this,Ud,{writable:!0,value:void 0}),Ue(this,ll,{writable:!0,value:void 0}),Ue(this,jd,{writable:!0,value:void 0}),Ue(this,Wc,{writable:!0,value:void 0}),Ue(this,Am,{writable:!0,value:void 0}),Ue(this,Ju,{writable:!0,value:void 0}),Ue(this,cl,{writable:!0,value:void 0}),Ue(this,Ku,{writable:!0,value:void 0}),Ue(this,rs,{writable:!0,value:void 0}),Ue(this,lo,{writable:!0,value:void 0}),Ue(this,Vd,{writable:!0,value:void 0}),Ue(this,Zd,{writable:!0,value:void 0}),Ue(this,Np,{writable:!0,value:void 0}),Ue(this,qc,{writable:!0,value:void 0}),Ue(this,$u,{writable:!0,value:void 0}),Ue(this,Xu,{writable:!0,value:void 0}),Ue(this,Sm,{writable:!0,value:void 0}),Ue(this,Im,{writable:!0,value:void 0}),Ue(this,zd,{writable:!0,value:void 0}),Ue(this,ac,{writable:!0,value:void 0}),Ue(this,eh,{writable:!0,value:void 0}),Ue(this,Zo,{writable:!0,value:void 0}),Ue(this,Gd,{writable:!0,value:void 0}),Ue(this,th,{writable:!0,value:void 0}),Ue(this,Om,{writable:!0,value:void 0}),this.eventService=i,this.options=t,this.zapService=n,Kt(this,Ti,{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},Kt(this,zc,new je.X(0)),Kt(this,Al,void 0),Kt(this,Hd,new je.X(this.eventId)),Kt(this,Gc,void 0),Kt(this,Ud,new je.X(this.pubkey)),Kt(this,ll,void 0),Kt(this,jd,new je.X(this.profile)),this.viewEvents=[],Kt(this,Wc,new je.X(this.viewEvents)),Kt(this,Am,new je.X(void 0)),this.viewReplyEvents=[],Kt(this,Ju,new je.X(this.viewReplyEvents)),this.events=[],Kt(this,cl,new je.X(this.events)),Kt(this,Ku,new je.X(void 0)),this.previousProfileSinceValue=0,this.previousFeedSinceValue=0,this.exhausted=!1,Kt(this,rs,[]),Kt(this,lo,[]),this.viewEventsStart=0,this.viewEventsCount=5,Kt(this,Vd,new je.X(ot(this,Ti).feedEvents)),Kt(this,Zd,new je.X(ot(this,Ti).feedEventsView)),Kt(this,Np,new je.X(ot(this,Ti).rootEvents)),Kt(this,qc,new je.X(ot(this,Ti).rootEventsView)),Kt(this,$u,new je.X(ot(this,Ti).replyEvents)),Kt(this,Xu,new je.X(ot(this,Ti).replyEventsView)),Kt(this,Sm,new je.X(ot(this,Ti).threadEvents)),Kt(this,Im,new je.X(ot(this,Ti).followingEvents)),Kt(this,zd,new je.X(ot(this,Ti).followingEventsView)),Kt(this,eh,new je.X(ot(this,ac))),Kt(this,Gd,new je.X(ot(this,Zo))),Kt(this,Om,new je.X(ot(this,th)))}get unreadNotifications$(){return ot(this,zc).asObservable()}get eventId(){return ot(this,Al)}get eventId$(){return ot(this,Hd).asObservable()}get pubkey(){return ot(this,Gc)}get pubkey$(){return ot(this,Ud).asObservable()}setPubKey(i,t=!0){Kt(this,Gc,i),t&&(Kt(this,ll,void 0),this.events=[],this.viewEvents=[],this.previousProfileSinceValue=0,this.exhausted=!1,this.clearLists(),ot(this,cl).next(this.events),ot(this,jd).next(ot(this,ll)),ot(this,Ud).next(ot(this,Gc)))}setProfile(i,t=!1){const n=ot(this,ll);Kt(this,ll,i),(t||n?.pubkey!=i?.pubkey)&&ot(this,jd).next(ot(this,ll))}setEventId(i){console.log("setEventId:",i),Kt(this,Al,i),Kt(this,Zo,void 0),this.events=[],ot(this,Hd).next(ot(this,Al)),ot(this,Gd).next(ot(this,Zo)),ot(this,cl).next(this.events)}get profile(){return ot(this,ll)}get profile$(){return ot(this,jd).asObservable()}get viewEvents$(){return ot(this,Wc).asObservable()}get reactions$(){return ot(this,Am).asObservable()}get viewReplyEvents$(){return ot(this,Ju).asObservable()}get events$(){return ot(this,cl).asObservable()}get loadMore$(){return ot(this,Ku).asObservable()}triggerLoadMoreProfileEvents(){let i=0,t=0;ot(this,Ti).rootEvents.length>0&&(i=ot(this,Ti).rootEvents[ot(this,Ti).rootEvents.length-1].created_at),ot(this,Ti).replyEvents.length>0&&(t=ot(this,Ti).replyEvents[ot(this,Ti).replyEvents.length-1].created_at);let n=i>t?i:t;n>this.previousProfileSinceValue&&(this.previousProfileSinceValue=n,ot(this,Ku).next({until:n,type:"profile"}))}triggerLoadMoreFeedEvents(){const i=ot(this,Ti).feedEvents[ot(this,Ti).feedEvents.length-1].created_at;i>this.previousFeedSinceValue&&(this.previousFeedSinceValue=i,ot(this,Ku).next({circle:ot(this,th),until:i,type:"feed"}))}children(i){return this.events.filter(n=>n.parentEventId===i)}children$(i){return this.events$.pipe((0,Yd.b)(t=>t.filter(n=>n.replyEventId===i)))}get notifications(){return ot(this,rs)}get activityFeed$(){return(0,U.of)(ot(this,lo))}putNotifications(i){i=i.sort((t,n)=>t.created!t.seen).length;ot(this,zc).next(i)}putNotification(i){const t=ot(this,rs).findIndex(n=>n.id==i.id);-1==t?(ot(this,rs).unshift(i),Kt(this,rs,ot(this,rs).sort((n,a)=>n.created=t&&(this.viewCounts.feedEventsViewCountExhausted=t>=ot(this,Ti).feedEvents.length,ot(this,Ti).feedEvents.length>0&&this.viewCounts.feedEventsViewCountExhausted&&this.triggerLoadMoreFeedEvents())}updateRootEventsView(i,t){this.viewCounts.rootEventsViewCount=t,ot(this,Ti).rootEventsView=ot(this,Ti).rootEvents.slice(i,t),ot(this,qc).next(ot(this,Ti).rootEventsView),ot(this,Ti).rootEvents.length>=t&&(this.viewCounts.rootEventsViewCountExhausted=t>=ot(this,Ti).rootEvents.length,ot(this,Ti).rootEvents.length>0&&this.viewCounts.rootEventsViewCountExhausted&&this.triggerLoadMoreProfileEvents())}updateReplyEventsView(i,t){this.viewCounts.replyEventsViewCount=t,ot(this,Ti).replyEventsView=ot(this,Ti).replyEvents.slice(i,t),ot(this,Xu).next(ot(this,Ti).replyEventsView),ot(this,Ti).replyEvents.length>=t&&(this.viewCounts.replyEventsViewCountExhausted=t>=ot(this,Ti).replyEvents.length,ot(this,Ti).replyEvents.length>0&&this.viewCounts.replyEventsViewCountExhausted&&this.triggerLoadMoreProfileEvents())}updateFollowingEventsView(i,t){this.viewCounts.followingEventsViewCount=t,ot(this,Ti).followingEventsView=ot(this,Ti).followingEvents.slice(i,t),this.viewCounts.followingEventsViewExhausted=t>=ot(this,Ti).followingEvents.length,ot(this,zd).next(ot(this,Ti).followingEventsView),ot(this,Ti)}sortAscending(i,t){return i.created_atn.id==i.id);-1==t?(ot(this,Ti).feedEvents.push(i),ot(this,Ti).feedEvents=ot(this,Ti).feedEvents.sort(this.sortDescending),this.updateFeedEventsView(0,this.viewCounts.feedEventsViewCount)):ot(this,Ti).feedEvents[t]=i}}putEvent(i){if(i.kind==Hi.Reaction){if(!this.options.values.enableReactions)return;const t=this.eventService.lastETag(i);if(t){const n=this.getThreadEntry(t);if(n.reactionIds.includes(i.id))return;""==i.content||"+"==i.content?n.reactions[gs["\u2764\ufe0f"]]?n.reactions[gs["\u2764\ufe0f"]]++:n.reactions[gs["\u2764\ufe0f"]]=1:"-"==i.content?n.reactions[gs["\u{1f494}"]]?n.reactions[gs["\u{1f494}"]]++:n.reactions[gs["\u{1f494}"]]=1:n.reactions[i.content]?n.reactions[i.content]++:n.reactions[i.content]=1,n.reactionIds.push(i.id),this.putThreadEntry(n)}}else if(6==i.kind){const t=this.eventService.lastETag(i);if(t){const n=this.getThreadEntry(t);if(n.reactionIds.includes(i.id))return;n.boosts++,n.reactionIds.push(i.id),this.putThreadEntry(n)}}else if(i.kind==Hi.Text){if(i=this.calculateFields(i),this.pubkey)if(i.parentEventId){if(i.pubkey!=this.pubkey)return void console.log("EVENT BY OTHERS ON PROFILE:",i);const n=ot(this,Ti).replyEvents.findIndex(a=>a.id==i.id);-1==n?(ot(this,Ti).replyEvents.push(i),ot(this,Ti).replyEvents=ot(this,Ti).replyEvents.sort(this.sortDescending),this.updateReplyEventsView(0,this.viewCounts.replyEventsViewCount)):ot(this,Ti).replyEvents[n]=i}else{if(i.pubkey!=this.pubkey)return void console.log("EVENT BY OTHERS ON PROFILE:",i);const n=ot(this,Ti).rootEvents.findIndex(a=>a.id==i.id);-1==n?(ot(this,Ti).rootEvents.push(i),ot(this,Ti).rootEvents=ot(this,Ti).rootEvents.sort(this.sortDescending),this.updateRootEventsView(0,this.viewCounts.rootEventsViewCount)):ot(this,Ti).rootEvents[n]=i}else if(this.eventId){const n=ot(this,Ti).threadEvents.findIndex(a=>a.id==i.id);-1==n?(ot(this,Ti).threadEvents.push(i),ot(this,Ti).threadEvents=ot(this,Ti).threadEvents.sort(this.sortDescending)):ot(this,Ti).threadEvents[n]=i}else{const n=ot(this,Ti).followingEvents.findIndex(a=>a.id==i.id);-1==n?(ot(this,Ti).followingEvents.push(i),ot(this,Ti).followingEvents=ot(this,Ti).followingEvents.sort(this.sortDescending),this.updateFollowingEventsView(0,this.viewCounts.followingEventsViewCount)):ot(this,Ti).followingEvents[n]=i}const t=this.events.findIndex(n=>n.id==i.id);t>-1?this.events[t]=i:(this.events.unshift(i),this.pubkey?(this.events=this.events.sort((n,a)=>n.created_atn.created_att.kind==Hi.Text),this.viewEvents=[],this.events=this.events.map(t=>this.calculateFields(t)),this.events=this.events.sort(this.pubkey?(t,n)=>t.created_att.created_at"e"===n[0]);for(let n=0;n3&&("root"==a[3]&&(i.rootEventId=a[1]),"reply"==a[3]&&(i.replyEventId=a[1]))}return t.length>0&&(i.rootEventId=t[0][1],i.parentEventId=t[t.length-1][1]),t.length<2||(i.replyEventId=t[1][1]),i.rootEventId==i.parentEventId&&(i.rootEventId=void 0),i}setEvent(i){const t=ot(this,Zo)?.id;Kt(this,Al,i?.id),Kt(this,Zo,i?this.calculateFields(i):i),ot(this,Zo)?.id!=t&&(ot(this,Gd).next(ot(this,Zo)),this.parentEventId=ot(this,Zo)?.parentEventId,ot(this,eh).next(void 0))}setParentEvent(i){const t=ot(this,ac)?.id;i?(Kt(this,ac,this.calculateFields(i)),this.parentEventId=ot(this,ac).id):this.parentEventId=void 0,ot(this,ac)?.id!=t&&ot(this,eh).next(ot(this,ac))}get circle$(){return ot(this,Om).asObservable()}setFeedCircle(i){Kt(this,th,i),ot(this,Om).next(ot(this,th))}}function Wd(r,i){Re(r,i),i.add(r)}function Xr(r,i,t){if(!i.has(r))throw new TypeError("attempted to get private field on non-instance");return t}Gr.\u0275fac=function(i){return new(i||Gr)(e.LFG(Ar),e.LFG(Rr.I),e.LFG(Tl))},Gr.\u0275prov=e.Yz7({token:Gr,factory:Gr.\u0275fac,providedIn:"root"});var Qc=y(9751),Jc=new WeakMap;class Ow{constructor(i){Ue(this,Jc,{writable:!0,value:void 0}),this.maxEntries=i,Kt(this,Jc,new Map)}get(i){const t=ot(this,Jc).get(i);if(t)return ot(this,Jc).size>this.maxEntries&&Array.from(ot(this,Jc).entries()).sort(l=>l[1].accessed).slice(0,20).forEach(l=>{ot(this,Jc).delete(l[0])}),t.accessed=Date.now(),t}set(i,t){ot(this,Jc).set(i,{accessed:Date.now(),value:t})}}var oc=new WeakMap,Lp=new WeakMap,Nm=new WeakMap,qd=new WeakMap,ih=new WeakMap,Kc=new WeakSet,Lm=new WeakMap,Rm=new WeakSet,Rp=new WeakSet,nh=new WeakSet,sc=new WeakSet;class Bn{get following$(){return ot(this,qd).asObservable().pipe((0,rr.U)(i=>i.filter(n=>n.status==$r.Follow)))}get profile$(){return ot(this,Nm).asObservable()}userProfileUpdated(i){this.profile=i,ot(this,Nm).next(i)}get profiles$(){return ot(this,qd).asObservable()}get profileRequested$(){return ot(this,ih).asObservable()}updated(){Xr(this,Kc,rh).call(this)}updateItemIfSelected(i){this.ui.pubkey===i?.pubkey&&this.ui.setProfile(i)}getProfilesByStatus(i){return this.db.storage.getProfilesByStatus(i)}search(i){return(0,ve.Z)(function*(){})()}get profilesChanged$(){return ot(this,Lm).asObservable()}constructor(i,t,n,a,l){Wd(this,sc),Wd(this,nh),Wd(this,Rp),Wd(this,Rm),Wd(this,Kc),Ue(this,oc,{writable:!0,value:void 0}),Ue(this,Lp,{writable:!0,value:void 0}),Ue(this,Nm,{writable:!0,value:void 0}),Ue(this,qd,{writable:!0,value:void 0}),Ue(this,ih,{writable:!0,value:void 0}),Ue(this,Lm,{writable:!0,value:void 0}),this.db=i,this.ui=t,this.queueService=n,this.appState=a,this.utilities=l,this.initialized=!1,Kt(this,oc,new Ow(500)),this.following=[],this.followingKeys=[],this.blocked=[],this.muted=[],Kt(this,Lp,new je.X(this.following)),Kt(this,Nm,new je.X(void 0)),Kt(this,qd,new je.X(this.following)),Kt(this,ih,new je.X("")),Kt(this,Lm,new je.X(void 0))}getProfileOrDownload(i){return new Qc.y(t=>(this.db.storage.getProfile(i).then(n=>{if(n)return t.next(n),void t.complete();this.queueService.enqueProfile(i)}).catch(n=>{console.warn("FAILED TO GET PROFILE:",n)}).finally(()=>{}),()=>{})).pipe((0,Yd.b)(t=>{}))}getLocalProfile(i){var t=this;return(0,ve.Z)(function*(){return t.db.storage.getProfile(i)})()}getCachedProfile(i){let t=this.following.findIndex(a=>a.pubkey==i);if(t>-1)return this.following[t];let n=ot(this,oc).get(i);return n?n.value:void 0}getProfile(i){var t=this;return(0,ve.Z)(function*(){let n=t.following.findIndex(v=>v.pubkey==i);if(n>-1)return t.following[n];let a=ot(t,oc).get(i);if(a)return a.value;let l=yield t.db.storage.getProfile(i);if(l)return ot(t,oc).set(i,l),l;t.queueService.enqueProfile(i)})()}putProfile(i){var t=this;return(0,ve.Z)(function*(){null==i.status&&(i.status=0),i.npub=t.utilities.getNostrIdentifier(i.pubkey),ot(t,oc).set(i.pubkey,i),yield t.db.storage.putProfile(i),t.updateItemIfSelected(i);const n=t.following.findIndex(a=>a.pubkey==i.pubkey);null!=i.circle?1==i.status&&-1==n?(t.following.push(i),Xr(t,Kc,rh).call(t)):2==i.status&&n>-1?(t.following.splice(n,1),Xr(t,Kc,rh).call(t)):(t.following[n]=i,Xr(t,Kc,rh).call(t)):n>-1&&(t.following.splice(n,1),Xr(t,Kc,rh).call(t))})()}initialize(i){var t=this;return(0,ve.Z)(function*(){const n=yield t.getLocalProfile(i);t.userProfileUpdated(n);const a=yield t.db.storage.getProfilesByStatus($r.Follow);t.following=a,ot(t,qd).next(t.following);const l=yield t.db.storage.getProfilesByStatus($r.Block),v=yield t.db.storage.getProfilesByStatus($r.Mute);t.blocked=l.map(I=>I.pubkey),t.muted=v.map(I=>I.pubkey),t.followingKeys=t.following.map(I=>I.pubkey)})()}follow(i,t=0,n){var a=this;return(0,ve.Z)(function*(){if(!i)return;const l=yield a.getLocalProfile(i),v=a.utilities.now();return l?(l.status=$r.Follow,l.modified=v,l.followed=v,l.circle=t,yield a.putProfile(l),l):(n||(n=a.emptyProfile(i)),n.followed=v,n.circle=t,n.status=$r.Follow,n.npub=a.utilities.getNostrIdentifier(n.pubkey),yield a.db.storage.putProfile(n),Xr(a,nh,r1).call(a,n),a.queueService.enqueProfile(n.pubkey),n)})()}setFollowing(i,t){var n=this;return(0,ve.Z)(function*(){return Xr(n,sc,dl).call(n,i,a=>(a.following=t,a))})()}followingAndRelays(i,t,n){var a=this;return(0,ve.Z)(function*(){return Xr(a,sc,dl).call(a,i,l=>(l.following=t,l.relays=n,l))})()}setCircle(i,t){var n=this;return(0,ve.Z)(function*(){return Xr(n,sc,dl).call(n,i,a=>(a.circle=t,a))})()}unfollow(i){var t=this;return(0,ve.Z)(function*(){const n=yield Xr(t,sc,dl).call(t,i,a=>(a.status=$r.Public,a.followed=void 0,a.circle=void 0,a));return yield t.db.storage.deleteNotesByAuthor(i),n})()}block(i){var t=this;return(0,ve.Z)(function*(){const n=yield Xr(t,sc,dl).call(t,i,a=>(a.status=$r.Block,a.followed=void 0,a.circle=void 0,a));return yield t.db.storage.deleteNotesByAuthor(i),n})()}unblock(i){var t=this;return(0,ve.Z)(function*(){return Xr(t,sc,dl).call(t,i,n=>(n.status=$r.Public,n))})()}mute(i){var t=this;return(0,ve.Z)(function*(){return Xr(t,sc,dl).call(t,i,n=>(n.status=$r.Mute,n))})()}unmute(i){var t=this;return(0,ve.Z)(function*(){return Xr(t,sc,dl).call(t,i,n=>(n.status=$r.Follow,n))})()}deleteProfile(i){var t=this;return(0,ve.Z)(function*(){yield t.db.storage.deleteProfile(i)})()}isFollowing(i){const t=this.following.findIndex(a=>a.pubkey==i);if(-1===t)return!1;const n=this.following[t];return!!n&&n.status==$r.Follow}updateProfile(i,t){var n=this;return(0,ve.Z)(function*(){let a=yield n.db.storage.getProfile(i);const l=n.utilities.now();if(a){if(a.created_at&&t.created_at&&a.created_at>=t.created_at)return a;a.name=t.name,a.about=t.about,a.nip05=t.nip05,a.lud06=t.lud06,a.lud16=t.lud16,a.website=t.website,a.display_name=t.display_name,a.picture=t.picture,a.banner=t.banner,a.created_at=t.created_at}else a=t;if(a.modified=l,a.retrieved=l,console.log("START PUT PROFILE",a.name),yield n.putProfile(a),console.log("END PUT PROFILE",a.pubkey),ot(n,oc).set(a.pubkey,a),n.appState.getPublicKey()===i&&n.userProfileUpdated(a),a&&a.followed){const v=n.following.findIndex(I=>I.pubkey==a.pubkey);-1===v?n.following.push(a):n.following[v]=a}return Xr(n,Kc,rh).call(n),a})()}emptyProfile(i){return{npub:this.utilities.getNostrIdentifier(i),name:this.utilities.getShortenedIdentifier(i),about:"",picture:"/assets/profile.png",nip05:"",lud06:"",lud16:"",display_name:"",status:$r.Public,website:"",created:Math.floor(Date.now()/1e3),verifications:[],pubkey:i}}}function rh(){ot(this,qd).next(this.following),ot(this,Lp).next(this.following)}function r1(r){const i=this.following.findIndex(t=>t.pubkey==r.pubkey);-1===i?this.following.push(r):this.following[i]=r}function dl(r,i){return Is.apply(this,arguments)}function Is(){return(Is=(0,ve.Z)(function*(r,i){let t=yield this.db.storage.getProfile(r);if(t)return t.modified=this.utilities.now(),t=i(t,t.pubkey),yield this.putProfile(t),t})).apply(this,arguments)}Bn.\u0275fac=function(i){return new(i||Bn)(e.LFG(Fi),e.LFG(Gr),e.LFG(In),e.LFG(ce.i),e.LFG(Pi.dU))},Bn.\u0275prov=e.Yz7({token:Bn,factory:Bn.\u0275fac,providedIn:"root"});var Qd=new WeakMap;class Sa{get relays$(){return ot(this,Qd).asObservable()}constructor(i,t,n,a,l,v,I,W,G,ye,Ge,yt){var It=this;Ue(this,Qd,{writable:!0,value:void 0}),this.badgeService=i,this.logger=t,this.articleService=n,this.nostr=a,this.ui=l,this.queue=v,this.utilities=I,this.profileService=W,this.db=G,this.options=ye,this.eventService=Ge,this.appState=yt,this.items=[],this.subs=new Map,this.relays=[],Kt(this,Qd,new je.X(this.relays)),this.workers=[],this.appState.visibility$.subscribe(Yt=>{Yt&&this.createRelayWorkers()}),this.queue.queues$.subscribe(Yt=>{Yt&&this.enque(Yt)}),this.ui.loadMore$.subscribe(Yt=>{if(Yt&&Yt.until)if("profile"==Yt.type){if(!this.profileEventSubscription)return;this.unsubscribe(this.profileEventSubscription),this.profileEventSubscription=this.subscribe([{authors:[this.ui.profile.pubkey],kinds:this.options.values.enableReactions?[Hi.Text,Hi.Reaction,6]:[Hi.Text,6],until:Yt.until,limit:100}]).id}else if("feed"==Yt.type){if(!this.circleEventSubscription)return;this.circleEventSubscription&&(this.unsubscribe(this.circleEventSubscription),this.circleEventSubscription=void 0);let Gt=[];Gt=Yt.circle>-1?this.profileService.following.filter(ai=>ai.circle==Yt.circle).map(ai=>ai.pubkey):this.profileService.following.map(ai=>ai.pubkey),this.circleEventSubscription=this.subscribe([{authors:Gt,kinds:this.options.values.enableReactions?[Hi.Text,Hi.Reaction,6]:[Hi.Text,6],until:Yt.until,limit:100}],"feed").id}}),this.ui.circle$.subscribe(Yt=>{if(null==Yt)return;let Gt=[];Gt=Yt>-1?this.profileService.following.filter(ai=>ai.circle==Yt).map(ai=>ai.pubkey):this.profileService.following.map(ai=>ai.pubkey),this.circleEventSubscription&&(this.unsubscribe(this.circleEventSubscription),this.circleEventSubscription=void 0),this.circleEventSubscription=this.subscribe([{authors:Gt,kinds:this.options.values.enableReactions?[Hi.Text,Hi.Reaction,6]:[Hi.Text,6],limit:100}],"feed").id}),this.ui.pubkey$.subscribe(function(){var Yt=(0,ve.Z)(function*(Gt){if(!Gt)return void(It.profileEventSubscription&&(It.unsubscribe(It.profileEventSubscription),It.profileEventSubscription=void 0));const oi=yield It.profileService.getProfile(Gt);oi&&It.ui.setProfile(oi),It.profileEventSubscription=It.subscribe([{authors:[Gt],kinds:[Hi.Text,Hi.Reaction,6],limit:100}]).id});return function(Gt){return Yt.apply(this,arguments)}}()),this.ui.eventId$.subscribe(function(){var Yt=(0,ve.Z)(function*(Gt){if(!Gt)return;const oi=yield It.db.storage.getEvent(Gt);oi?It.ui.setEvent(oi):It.enque({type:"Event",identifier:Gt})});return function(Gt){return Yt.apply(this,arguments)}}()),this.ui.event$.subscribe(function(){var Yt=(0,ve.Z)(function*(Gt){if(!Gt)return It.ui.clearEvents(),void(It.threadSubscription&&(It.unsubscribe(It.threadSubscription),It.threadSubscription=void 0));if(It.threadSubscription!=Gt?.id&&(It.threadSubscription&&It.unsubscribe(It.threadSubscription),It.threadSubscription=It.subscribe([{"#e":[Gt.id]}]).id,Gt.parentEventId)){const oi=yield It.db.storage.getEvent(Gt.parentEventId);oi?It.ui.setParentEvent(oi):It.enque({type:"Event",identifier:Gt.parentEventId})}});return function(Gt){return Yt.apply(this,arguments)}}())}terminate(i){const t=this.workers.find(n=>n.url==i);t&&t.terminate()}terminateAll(){for(let i=0;iv.url==i);a&&(a.type=t,l.type=t,yield n.db.storage.putRelay(a))})()}setRelayPublic(i,t){var n=this;return(0,ve.Z)(function*(){const a=yield n.db.storage.getRelay(i),l=n.items.find(v=>v.url==i);a&&(a.public=t,l.public=t,yield n.db.storage.putRelay(a))})()}setRelayStatus(i,t){var n=this;return(0,ve.Z)(function*(){n.logger.debug("setRelayStatus:",t);const a=yield n.db.storage.getRelay(i),l=n.items.find(v=>v.url==i);a&&(a.status=t,l.status=t,yield n.db.storage.putRelay(a))})()}setRelayEnabled(i,t){var n=this;return(0,ve.Z)(function*(){n.logger.debug("setRelayEnabled:",t);const a=yield n.db.storage.getRelay(i),l=n.items.find(v=>v.url==i);a&&(a.enabled=t,l.enabled=t,yield n.db.storage.putRelay(a))})()}setRelayTimeout(i,t){const n=this.items.find(a=>a.url==i);n&&(null==n.timeouts&&(n.timeouts=0),n.timeouts++)}setRelayCounter(i){const t=this.items.find(n=>n.url==i);t&&(null==t.eventcount&&(t.eventcount=0),t.eventcount++)}setRelayNIP11(i,t){var n=this;return(0,ve.Z)(function*(){const a=yield n.db.storage.getRelay(i),l=n.items.find(v=>v.url==i);a&&(t.error?(a.error=t.error,l.error=t.error):(a.error=void 0,l.error=void 0,a.nip11=t,l.nip11=t),yield n.db.storage.putRelay(a))})()}addRelay(i,t,n){var a=this;return(0,ve.Z)(function*(){let l=a.items.find(I=>I.url==i),v=1;n&&!t?v=3:!n&&t&&(v=2),l?(null==l.enabled&&(l.enabled=!0),l.type!==v&&(l.type=v,a.db.storage.putRelay(l))):(l={enabled:!0,public:!0,url:i,type:v},a.db.storage.putRelay(l),a.items.push(l)),v<3?a.createRelayWorker(l.url):a.terminate(l.url)})()}deleteRelays(i){var t=this;return(0,ve.Z)(function*(){const n=t.items.filter(a=>-1==i.indexOf(a.url));t.logger.debug("relaysToRemove:",n);for(let a=0;aI.url==l.url);t.logger.info(`${l.url}: Terminating this Web Worker!`,v?.url),v?.terminate()}t.items=t.items.filter(a=>i.indexOf(a.url)>-1)})()}processEvent(i){var t=this;return(0,ve.Z)(function*(){const a=t.eventService.processEvent(i.data);if(a){if(t.logger.debug("SAVE EVENT?:",a),i.subscription){const l=t.subs.get(i.subscription);if(l)if("Event"==l.type)-1===l.events.findIndex(I=>I.id==a.id)&&l.events.push(a);else if("Profile"==l.type){const v=l.events.findIndex(I=>I.pubkey==a.pubkey);v>-1?a.created_at>=l.events[v].created_at&&(l.events[v]=a):l.events.push(a)}else if("Contacts"==l.type){const v=l.events.findIndex(I=>I.pubkey==a.pubkey);v>-1?a.created_at>=l.events[v].created_at&&(l.events[v]=a):l.events.push(a)}else if("Replaceable"==l.type){const v=l.events.findIndex(I=>I.pubkey==a.pubkey&&t.eventService.firstDTag(I)==t.eventService.firstDTag(a));return void(v>-1?a.created_at>l.events[v].created_at&&(l.events[v]=a,yield t.badgeService.putDefinition(a)):(l.events.push(a),yield t.badgeService.putDefinition(a)))}}if("feed"==i.subscription)t.ui.putFeedEvent(a);else if("notifications"==i.subscription){let l=yield t.db.storage.getNotification(a.id);if(!l){let v="";if(a.kind==Hi.Reaction){let W=a.content;"+"===W||""===W?W="\u2764\ufe0f":"-"===W&&(W="\u{1f494}"),v=W}else if(a.kind==Hi.Text)v="replied to your note.";else if(a.kind==Hi.Contacts){if(v="started following you.",yield t.db.storage.getNotification(a.pubkey))return;a.id=a.pubkey}else v=6==a.kind?"boosted your note.":`Event kind ${a.kind} notification.`;const I=t.eventService.lastETag(a);l={id:a.id,relatedId:I,kind:a.kind,pubkey:a.pubkey,message:v,seen:!1,created:a.created_at},yield t.db.storage.putNotification(l),t.ui.putNotification(l)}}if(30009==a.kind)yield t.badgeService.putDefinition(a);else if(a.kind==Hi.Article)t.articleService.put(a);else if(a.kind==Hi.Metadata){const l=t.utilities.mapProfileEvent(a);if(l){const v=yield t.profileService.updateProfile(l.pubkey,l);t.ui.pubkey==a.pubkey&&t.ui.setProfile(v)}}else if(a.kind==Hi.Contacts){const l=t.appState.getPublicKey();if(a.pubkey===l){let v=yield t.db.storage.getContacts(l);if(!v||v.created_atye[1]);t.profileService.followingAndRelays(a.pubkey,I,a.content),v=a;const G={pubkeys:v.tags.map(ye=>ye[1]),pubkey:l,relays:[],relaysCount:0};if(v.content&&(G.relays=JSON.parse(v.content),G.relaysCount=Object.keys(G.relays).length),G.pubkeys.length>0||G.relaysCount>0){if(G.relaysCount>0){const Ge=t.utilities.getRelayUrls(G.relays);yield t.deleteRelays(Ge),yield t.appendRelays(G.relays)}const ye=G.pubkeys;for(let Ge=0;Ge=a.created_at)return;yield t.db.storage.putContacts(a);const I=a.tags.map(G=>G[1]),W=yield t.profileService.followingAndRelays(a.pubkey,I,a.content);W&&t.ui.pubkey==W.pubkey&&t.ui.setProfile(W,!0)}}else t.ui.eventId==a.id?t.ui.setEvent(a):t.ui.parentEventId==a.id?t.ui.setParentEvent(a):(t.ui.pubkey==a.pubkey||i.subscription==t.threadSubscription)&&t.ui.putEvent(a)}})()}enque(i){this.action("enque",i)}handleRelayMessage(i,t){var n=this;return(0,ve.Z)(function*(){const a=i.data;switch(a.type){case"timeout":n.logger.debug(`Relay ${t} timeout: ${a.data}.`),n.setRelayTimeout(t,a.data);break;case"status":if(n.logger.debug(`Relay ${t} changed status to ${a.data}.`),yield n.setRelayStatus(t,a.data),1===a.data){n.appState.updateConnectionStatus(!0);const I=n.workers.findIndex(G=>G.url==t),W=n.workers[I];n.subs.forEach(G=>{W.subscribe(G.filters,G.id)})}break;case"terminated":n.logger.info(`${t}: WE HAVE TERMINATED`);const l=n.workers.findIndex(I=>I.url==t),v=n.workers[l];v.status="terminated",n.logger.debug(`${t}: Calling actually TERMINATE on Web Worker!`),v.worker?.terminate(),l>-1&&n.workers.splice(l,1),yield n.setRelayStatus(t,-1);break;case"event":n.setRelayCounter(t),yield n.processEvent(a);break;case"nip11":yield n.setRelayNIP11(t,a.data)}})()}handleRelayError(i,t){var n=this;return(0,ve.Z)(function*(){yield n.setRelayStatus(t,-1),console.warn("ERROR IN WEB WORKER FOR RELAY!",i),console.warn("ERROR IN WEB WORKER FOR RELAY22!",i.error)})()}createRelayWorker(i,t){var n=this;if(!i)return void console.warn("SUPPLIED EMPTY URL TO CREATE RELAY WORKER!");const a=this.workers.findIndex(I=>I.url==i);if(a>-1)return this.logger.debug(`${i}: This relay already exists, calling connect on it.`),void this.workers[a].connect(void 0,t);const l=new Dc(i);this.logger.info(`${i}: Creating this web worker.`),this.workers.push(l);const v=l.start();v.onmessage=function(){var I=(0,ve.Z)(function*(W){n.logger.debug(`${l.url}: onmessage`,W.data),yield n.handleRelayMessage(W,l.url)});return function(W){return I.apply(this,arguments)}}(),v.onerror=function(){var I=(0,ve.Z)(function*(W){n.logger.error(`${l.url}: onerror`,W.error),yield n.handleRelayError(W,l.url)});return function(W){return I.apply(this,arguments)}}(),l.connect(Array.from(this.subs.values()),t)}getActiveRelay(i){const t=this.relays.findIndex(n=>n.url==i);return-1==t?null:this.relays[t]}appendRelays(i){var t=this;return(0,ve.Z)(function*(){let n=i;if(Array.isArray(n)){n={};for(let v=0;vl.url==i);-1!=n&&(t.workers.find(l=>l.url==i)?.terminate(),yield t.db.storage.deleteRelay(i),t.items.splice(n,1))})()}connectedRelays(){return this.relays.filter(i=>1===i.status)}queueSubscription(i){const t=Mc();return this.subs.set(t,{id:t,filters:i,events:[],type:"Event"}),t}subscribe(i,t,n="Event"){t||(t=Mc());const a={id:t,filters:i,events:[],type:n};this.subs.set(t,a);for(let l=0;l3==a.type);for(let a=0;a{class r{constructor(t){this.appearance=t?.appearance||"raised"}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(ah,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(t,n){2&t&&e.ekj("mat-mdc-card-outlined","outlined"===n.appearance)("mdc-card--outlined","outlined"===n.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:Rw,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.Hsn(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}),r})(),Bm=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]}),r})(),Ns=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}),r})(),oh=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]}),r})(),sh=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:Bw,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(t,n){1&t&&(e.F$t(Pw),e.Hsn(0),e.TgZ(1,"div",0),e.Hsn(2,1),e.qZA(),e.Hsn(3,2))},encapsulation:2,changeDetection:0}),r})(),s1=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["mat-card-footer"]],hostAttrs:[1,"mat-mdc-card-footer"]}),r})(),Pp=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-mdc-card-image","mdc-card__media"]}),r})(),Vw=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ae.BQ,F.ez,ae.BQ]}),r})();const Zw=["determinateSpinner"];function zw(r,i){if(1&r&&(e.O4$(),e.TgZ(0,"svg",11),e._UZ(1,"circle",12),e.qZA()),2&r){const t=e.oxw();e.uIk("viewBox",t._viewBox()),e.xp6(1),e.Udp("stroke-dasharray",t._strokeCircumference(),"px")("stroke-dashoffset",t._strokeCircumference()/2,"px")("stroke-width",t._circleStrokeWidth(),"%"),e.uIk("r",t._circleRadius())}}const Gw=(0,ae.pj)(class{constructor(r){this._elementRef=r}},"primary"),Ww=new e.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function c1(){return{diameter:Hp}}}),Hp=100;let Up=(()=>{class r extends Gw{constructor(t,n,a){super(t),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=Hp,this._noopAnimations="NoopAnimations"===n&&!!a&&!a._forceAnimations,a&&(a.color&&(this.color=this.defaultColor=a.color),a.diameter&&(this.diameter=a.diameter),a.strokeWidth&&(this.strokeWidth=a.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,(0,st.su)(t)))}get diameter(){return this._diameter}set diameter(t){this._diameter=(0,st.su)(t)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(t){this._strokeWidth=(0,st.su)(t)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const t=2*this._circleRadius()+this.strokeWidth;return`0 0 ${t} ${t}`}_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 r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.QbO,8),e.Y36(Ww))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(t,n){if(1&t&&e.Gf(Zw,5),2&t){let a;e.iGM(a=e.CRH())&&(n._determinateCircle=a.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:12,hostBindings:function(t,n){2&t&&(e.uIk("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===n.mode?n.value:null)("mode",n.mode),e.Udp("width",n.diameter,"px")("height",n.diameter,"px"),e.ekj("_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:[e.qOj],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(t,n){if(1&t&&(e.YNc(0,zw,2,8,"ng-template",null,0,e.W1O),e.TgZ(2,"div",1,2),e.O4$(),e.TgZ(4,"svg",3),e._UZ(5,"circle",4),e.qZA()(),e.kcU(),e.TgZ(6,"div",5)(7,"div",6)(8,"div",7),e.GkF(9,8),e.qZA(),e.TgZ(10,"div",9),e.GkF(11,8),e.qZA(),e.TgZ(12,"div",10),e.GkF(13,8),e.qZA()()()),2&t){const a=e.MAs(1);e.xp6(4),e.uIk("viewBox",n._viewBox()),e.xp6(1),e.Udp("stroke-dasharray",n._strokeCircumference(),"px")("stroke-dashoffset",n._strokeDashOffset(),"px")("stroke-width",n._circleStrokeWidth(),"%"),e.uIk("r",n._circleRadius()),e.xp6(4),e.Q6J("ngTemplateOutlet",a),e.xp6(2),e.Q6J("ngTemplateOutlet",a),e.xp6(2),e.Q6J("ngTemplateOutlet",a)}},dependencies:[F.tP],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}),r})(),Ym=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[F.ez,ae.BQ]}),r})();function $c(r,i){1&r&&(e.TgZ(0,"div",17)(1,"button",18),e._UZ(2,"mat-spinner",19),e.qZA()())}function vk(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",17)(1,"a",20),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.connect())}),e._uU(2,"Install "),e.TgZ(3,"span",4),e._uU(4,"extension"),e.qZA()()()}}function Hm(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",22),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.connect())}),e._uU(1,"Connect "),e.TgZ(2,"span",4),e._uU(3,"using extension"),e.qZA()()}}function Jw(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",22),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.giveConsent())}),e._uU(1,"Give consent"),e.qZA()}}function Kw(r,i){if(1&r&&(e.TgZ(0,"div",17),e.YNc(1,Hm,4,0,"button",21),e.YNc(2,Jw,2,0,"button",21),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",t.consent),e.xp6(1),e.Q6J("ngIf",!t.consent)}}function jp(r,i){1&r&&(e.TgZ(0,"p",11)(1,"button",23),e._uU(2,"Create new profile"),e.qZA(),e._UZ(3,"br")(4,"br"),e.TgZ(5,"button",24),e._uU(6,"Log in"),e.qZA(),e._UZ(7,"br")(8,"br"),e.qZA())}function $w(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"p",11)(1,"button",22),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.giveConsent())}),e._uU(2,"Give consent"),e.qZA()()}}function ul(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"p",11),e._UZ(1,"br"),e.TgZ(2,"button",25),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return a.consent=!1,e.KtG(a.persist())}),e._uU(3,"Withdraw consent"),e.qZA()()}}class Sl{constructor(i,t,n,a,l,v,I,W,G){this.theme=i,this.appState=t,this.cd=n,this.relayService=a,this.authService=l,this.utilities=v,this.router=I,this.ngZone=W,this.dialog=G,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 i=this;this.dialog.open(Ce,{data:!1,maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=(0,ve.Z)(function*(a){a&&!0===a&&(i.consent=!0,i.persist())});return function(a){return n.apply(this,arguments)}}())}connect(){var i=this;return(0,ve.Z)(function*(){(yield i.authService.login()).authenticated()&&i.router.navigateByUrl("/")})()}scroll(i){const t=document.getElementById("container");t?t.scroll(0,i):console.log("NOT FOUND!")}anonymous(i){var t=this;return(0,ve.Z)(function*(){(yield t.authService.anonymous(i)).authenticated()&&t.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))}}Sl.\u0275fac=function(i){return new(i||Sl)(e.Y36(oe),e.Y36(ce.i),e.Y36(e.sBO),e.Y36(Sa),e.Y36(Os.$),e.Y36(Pi.dU),e.Y36(Ht.F0),e.Y36(e.R0b),e.Y36(vi))},Sl.\u0275cmp=e.Xpm({type:Sl,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(i,t){1&i&&(e.TgZ(0,"div",0)(1,"div",1),e._UZ(2,"img",2),e.TgZ(3,"div",3)(4,"span",4),e._uU(5,"Blockcore"),e.qZA(),e._uU(6," Notes"),e.qZA(),e._UZ(7,"div",5),e.TgZ(8,"button",6),e.NdJ("click",function(){return t.theme.darkMode=!t.theme.darkMode}),e.TgZ(9,"mat-icon",7),e._uU(10),e.qZA()(),e.YNc(11,$c,3,0,"div",8),e.YNc(12,vk,5,0,"div",8),e.YNc(13,Kw,3,2,"div",8),e.qZA(),e.TgZ(14,"div",9)(15,"mat-card",10)(16,"mat-card-content")(17,"h1",11),e._uU(18,"New ways to connect with humanity"),e.qZA(),e.YNc(19,jp,9,0,"p",12),e.YNc(20,$w,3,0,"p",12),e.qZA()(),e.TgZ(21,"mat-card",13),e._UZ(22,"img",14),e.qZA(),e.TgZ(23,"mat-card",15)(24,"mat-card-content")(25,"h1"),e._uU(26,"Freedom of expression"),e.qZA(),e.TgZ(27,"p"),e._uU(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 "),e.TgZ(29,"strong"),e._uU(30,"Nostr"),e.qZA(),e._uU(31,". Nostr is a uncensorable protocol for communication with your friends and the world. "),e.qZA(),e.TgZ(32,"p",16)(33,"strong"),e._uU(34,"PROTOTYPE:"),e.qZA(),e._uU(35," This app is currently under development and should be considered prototype-quality."),e.qZA()()(),e.TgZ(36,"mat-card",15)(37,"mat-card-content")(38,"h1"),e._uU(39,"Follow your favorite creators"),e.qZA(),e.TgZ(40,"p"),e._uU(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. "),e.qZA()()(),e.TgZ(42,"mat-card",15)(43,"mat-card-content")(44,"h1"),e._uU(45,"Be humble and kind"),e.qZA(),e.TgZ(46,"p"),e._uU(47,"Being uncensorable and uncancellable means more responsibility is on you, you are in control and you are responsible."),e.qZA(),e.TgZ(48,"p"),e._uU(49,"\u{1f49b}\u{1f5a4}"),e.qZA(),e.YNc(50,ul,4,0,"p",12),e.qZA()()()()),2&i&&(e.xp6(10),e.Oqu(t.theme.darkMode?"dark_mode":"light_mode"),e.xp6(1),e.Q6J("ngIf",t.searchingForExtension),e.xp6(1),e.Q6J("ngIf",t.showInstallLink),e.xp6(1),e.Q6J("ngIf",t.extensionDiscovered),e.xp6(6),e.Q6J("ngIf",t.consent),e.xp6(1),e.Q6J("ngIf",!t.consent),e.xp6(30),e.Q6J("ngIf",t.consent))},dependencies:[F.O5,Ht.rH,Mt.zs,Mt.lW,Mt.RK,Ia,Ns,ar,Up],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}"]});var za=y(5577),Il=y(4986),Um=y(1165),_s=y(3888),Vp=y(9672);const Jd=(0,_s.d)(r=>function(t=null){r(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t});function Ol(r,i){const{first:t,each:n,with:a=Kd,scheduler:l=i??Il.z,meta:v=null}=(0,Um.q)(r)?{first:r}:"number"==typeof r?{each:r}:r;if(null==t&&null==n)throw new TypeError("No timeout provided.");return(0,Ds.e)((I,W)=>{let G,ye,Ge=null,yt=0;const It=Yt=>{ye=(0,Vp.f)(W,l,()=>{try{G.unsubscribe(),(0,Cd.Xf)(a({meta:v,lastValue:Ge,seen:yt})).subscribe(W)}catch(Gt){W.error(Gt)}},Yt)};G=I.subscribe((0,oo.x)(W,Yt=>{ye?.unsubscribe(),yt++,W.next(Ge=Yt),n>0&&It(n)},void 0,void 0,()=>{ye?.closed||ye?.unsubscribe(),Ge=null})),!yt&&It(null!=t?"number"==typeof t?t:+t-l.now():n)})}function Kd(r){throw new Jd(r)}class ba{constructor(i,t){this.db=i,this.utilities=t,this.circles=[]}initialize(){var i=this;return(0,ve.Z)(function*(){if(!(yield i.db.storage.getCircle(0)))for(let n=0;n0)return this.circles.find(t=>t.id==i)}get(i){var t=this;return(0,ve.Z)(function*(){if(null!=i)return t.circles.length>0?t.circles.find(n=>n.id==i):yield t.db.storage.getCircle(i)})()}put(i){var t=this;return(0,ve.Z)(function*(){const n=t.utilities.now();i.created||(i.created=n),i.modified=n;const a=t.circles.findIndex(v=>v.id==i.id);a>-1?t.circles[a]=i:t.circles.push(i);const l=yield t.db.storage.putCircle(i);i.id=l})()}delete(i){var t=this;return(0,ve.Z)(function*(){const n=t.circles.findIndex(a=>a.id==i);n>-1&&t.circles.splice(n,1),yield t.db.storage.deleteCircle(i)})()}}ba.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}],ba.\u0275fac=function(i){return new(i||ba)(e.LFG(Fi),e.LFG(Pi.dU))},ba.\u0275prov=e.Yz7({token:ba,factory:ba.\u0275fac,providedIn:"root"});class Wr{constructor(i,t,n,a,l,v,I,W,G,ye,Ge){this.nostr=i,this.ui=t,this.circleService=n,this.storage=a,this.queueService=l,this.profileService=v,this.appState=I,this.utilities=W,this.validator=G,this.eventService=ye,this.relayService=Ge,this.daysToKeepProfiles=14,this.cleanProfileInterval=36e5,this.profileBatchSize=20,this.refreshUserProfile=72e5,this.connected=!1,this.connected$=this.appState.connected$.pipe((0,rr.U)(yt=>!0===yt)),this.isFetching=!1,this.profileQueue=[],this.queue=[],this.appState.connected$.subscribe(yt=>{console.log("Connection state changed: ",yt),this.connected=yt,this.connected&&this.initialDataLoad()})}publishRelays(){var i=this;return(0,ve.Z)(function*(){const t=i.getArrayFomattedRelayList();let n={kind:10002,created_at:Math.floor(Date.now()/1e3),content:"",pubkey:i.appState.getPublicKey(),tags:t};const a=yield i.createAndSignEvent(n);a&&(console.log("PUBLISH EVENT:",a),i.relayService.publish(a))})()}getArrayFomattedRelayList(){return this.relayService.items.filter(i=>!0===i.public).map(i=>{let t=["r",i.url];return 2==i.type?t.push("read"):3==i.type&&t.push("write"),t})}getJsonFormattedRelayList(){let i={};return this.relayService.items.filter(t=>t.public).map(t=>{i[t.url]={read:1===t.type||2===t.type,write:1===t.type||3===t.type}}),i}createAndSignEvent(i){var t=this;return(0,ve.Z)(function*(){let n=i;n.id=pr(i),n=yield t.nostr.sign(i);const a=t.eventService.processEvent(n);if(!a)throw new Error("The event is not valid. Cannot publish.");if(!Dr(n))throw new Error("The event is not valid. Cannot publish.");if(!(yield no(a)))throw new Error("The event signature not valid. Maybe you choose a different account than the one specified?");return a})()}getContactsAndRelays(){var i=this;return(0,ve.Z)(function*(){return yield i.storage.storage.getContacts(i.appState.getPublicKey())})()}publishContactsAndRelays(){var i=this;return(0,ve.Z)(function*(){const t=i.circleService.circles.filter(W=>!W.public).map(W=>W.id),a=i.profileService.following.filter(W=>-1==t.indexOf(W.circle)).map(W=>W.pubkey).map(W=>["p",W]),l=i.getJsonFormattedRelayList();let v={kind:Hi.Contacts,created_at:Math.floor(Date.now()/1e3),content:JSON.stringify(l),pubkey:i.appState.getPublicKey(),tags:a};const I=yield i.createAndSignEvent(v);I&&(console.log("PUBLISH EVENT:",I),i.relayService.publish(I))})()}initialDataLoad(){var i=this;return(0,ve.Z)(function*(){i.relayService.subscribe([{authors:[i.appState.getPublicKey()],kinds:[Hi.Metadata,Hi.Contacts]}],"self"),i.profileService.following.map(a=>a.pubkey).unshift(i.appState.getPublicKey()),i.relayService.subscribe([{"#p":[i.appState.getPublicKey()],limit:100,kinds:[Hi.Text,Hi.Reaction,6]}],"notifications");const n=yield i.storage.storage.getNotifications(10);i.ui.putNotifications(n)})()}initialize(){var i=this;return(0,ve.Z)(function*(){setTimeout((0,ve.Z)(function*(){yield i.cleanProfiles()}),i.cleanProfileInterval)})()}enque(i){this.relayService.action("enque",i)}processQueues(){}processEventQueue(){}processProfileQueue(){}processContactsQueue(){}downloadNewestProfiles(i,t=1e4,n=-1){return this.downloadNewestProfileEvents(i,t,n).pipe((0,rr.U)(a=>a?this.utilities.mapProfileEvent(a):void 0))}downloadNewestProfileEvents(i,t=1e4,n=-1){return this.downloadNewestProfileEventByQuery([{kinds:[0],authors:i}],t,n)}downloadNewestEvents(i,t,n=1e4,a=-1){return this.downloadNewestEventsByQuery([{kinds:t,authors:i}],n,a)}downloadEventsByTags(i,t=1e4){return this.downloadEventsByQuery(i)}downloadEvent(i,t=5e3){return this.downloadEventByQuery([{ids:[i]}],t)}downloadEventByQuery(i,t=1e4){let n;return this.connected$.pipe((0,za.z)(()=>this.relayService.connectedRelays())).pipe((0,za.z)(a=>this.downloadFromRelay(i,a,t))).pipe((0,Qe.h)(a=>!n&&(n=a,!0))).pipe(Ol(t),(0,ts.K)(a=>(console.warn("The observable was timed out."),(0,U.of)(void 0))))}downloadNewestEventsByQuery(i,t=1e4,n=-1){const a=[],l=this.relayService.connectedRelays().map(v=>this.downloadFromRelay(i,v));return(0,Ye.T)(...l).pipe((0,Qe.h)((v,I)=>{let W=!1;return a.findIndex(ye=>ye.id===v.id)>-1?W=!1:(a.push(v),W=!0),n>-1&&0!=n&&n--,W})).pipe(Ol(t),(0,ts.K)(v=>(console.warn("The observable was timed out."),(0,U.of)(void 0))))}downloadNewestProfileEventByQuery(i,t=1e4,n=-1){const a=this.relayService.connectedRelays().map(l=>this.downloadFromRelay(i,l));return(0,Ye.T)(...a).pipe(Ol(t),(0,ts.K)(l=>(console.warn("The observable was timed out."),(0,U.of)(void 0))))}downloadEventsByQuery(i,t=1e4){return this.connected$.pipe((0,za.z)(()=>this.relayService.connectedRelays())).pipe((0,za.z)(n=>this.downloadFromRelay(i,n)))}updateMetadata(i){var t=this;return(0,ve.Z)(function*(){const n=t.utilities.reduceProfile(i);let a=t.createEvent(Hi.Metadata,JSON.stringify(n));const l=yield t.signEvent(a);i.created_at=a.created_at,yield t.profileService.updateProfile(i.pubkey,i),yield t.publishEvent(l)})()}downloadFromRelay(i,t,n=1e4){return new Qc.y(a=>{const l=t.sub([...i],{});return l.on("event",v=>{const I=this.eventService.processEvent(v);I&&a.next(I)}),l.on("eose",()=>{a.complete()}),()=>{l.unsub()}}).pipe(Ol(n),(0,ts.K)(a=>(console.warn("The observable was timed out."),(0,U.of)())))}fetchProfiles(i,t){var n=this;if(!t||0===t.length)return;setTimeout(()=>{this.isFetching=!1;try{a.unsub()}catch(l){console.warn("Error during automatic failover for profile fetch.",l)}},3e4),this.isFetching=!0;let a=i.sub([{kinds:[0],authors:t}],{});a.on("event",function(){var l=(0,ve.Z)(function*(v){const I=n.eventService.processEvent(v);if(I)try{const W=JSON.parse(I.content);n.validator.sanitizeProfile(W).created_at=I.created_at}catch{console.warn("This profile event was not parsed due to errors:",I)}});return function(v){return l.apply(this,arguments)}}()),a.on("eose",()=>{a.unsub(),this.isFetching=!1})}cleanProfiles(){return(0,ve.Z)(function*(){})()}createEvent(i,t){return this.createEventWithPubkey(i,t,this.appState.getPublicKey())}createEventWithPubkey(i,t,n){return{kind:i,created_at:Math.floor(Date.now()/1e3),content:t,pubkey:n,tags:[]}}signArticle(i){var t=this;return(0,ve.Z)(function*(){let n=i;if(n=yield t.nostr.sign(i),!t.eventService.processEvent(n))throw new Error("The event is not valid. Cannot publish.");if(!Dr(n))throw new Error("The event is not valid. Cannot publish.");if(!(yield no(n)))throw new Error("The event signature not valid. Maybe you choose a different account than the one specified?");return n})()}signBadgeDefinition(i){var t=this;return(0,ve.Z)(function*(){return t.signArticle(i)})()}signEvent(i){var t=this;return(0,ve.Z)(function*(){let n=i;return n.id||(n.id=pr(i)),t.signArticle(n)})()}publishEvent(i){var t=this;return(0,ve.Z)(function*(){t.relayService.publish(i)})()}publishContacts(i){var t=this;return(0,ve.Z)(function*(){const n=i.map(G=>["p",G]);let a={kind:3,created_at:Math.floor(Date.now()/1e3),content:"",pubkey:t.appState.getPublicKey(),tags:n},l=a;l.id=pr(a),l=yield t.nostr.sign(a);const v=t.eventService.processEvent(l);if(!Dr(l))throw new Error("The event is not valid. Cannot publish.");if(!(yield no(l)))throw new Error("The event signature not valid. Maybe you choose a different account than the one specified?");if(v){console.log("PUBLISH EVENT:",l);for(let G=0;G{console.log(`${ye.url} has accepted our event`)}),Ge.on("failed",yt=>{console.log(`failed to publish to ${ye.url}: ${yt}`)})}}})()}}Wr.\u0275fac=function(i){return new(i||Wr)(e.LFG(ps),e.LFG(Gr),e.LFG(ba),e.LFG(Fi),e.LFG(In),e.LFG(Bn),e.LFG(ce.i),e.LFG(Pi.dU),e.LFG(vr.Y),e.LFG(Ar),e.LFG(Sa))},Wr.\u0275prov=e.Yz7({token:Wr,factory:Wr.\u0275fac,providedIn:"root"});var Nl=new WeakMap;class ra{constructor(i,t,n,a){Ue(this,Nl,{writable:!0,value:void 0}),this.router=i,this.dialog=t,this.appState=n,this.dataService=a,Kt(this,Nl,new je.X(void 0)),this.showMore$=ot(this,Nl).asObservable(),this.currentThread=[]}showMore(){ot(this,Nl).next()}openFeed(i,t){const n=i.composedPath();!n||0==n.length||-1!=n[0].className.indexOf("clickable")&&this.router.navigate(["/feed",t.id])}openEvent(i,t){this.currentEvent=t;const n=i.composedPath();n&&0!=n.length&&-1!=n[0].className.indexOf("clickable")&&this.router.navigate(["/e",t.id])}openProfile(i,t){this.currentProfile=t;const n=i.composedPath();!n||0==n.length||-1!=n[0].className.indexOf("clickable")&&this.router.navigate(["/p",t.pubkey])}saveNote(i){var t=this;return(0,ve.Z)(function*(){console.log("save note data:",i);let n=i;"string"!=typeof n&&(n=JSON.stringify(n));let a=t.dataService.createEvent(Hi.Text,n);const l=yield t.dataService.signEvent(a);yield t.dataService.publishEvent(l),t.router.navigate(["/e",l.id])})()}saveArticle(i){var t=this;return(0,ve.Z)(function*(){console.log("save article data:",i);let n=i.content;"string"!=typeof n&&(n=JSON.stringify(n));let a=t.dataService.createEvent(Hi.Article,n);i.slug&&a.tags.push(["d",i.slug]),i.summary&&a.tags.push(["summary",i.summary]),i.title&&a.tags.push(["title",i.title]),i.image&&a.tags.push(["image",i.image]),a.tags.push(i.published_at?["published_at",i.published_at.toString()]:["published_at",a.created_at.toString()]);const l=i.tags.split(",").filter(I=>I);for(let I=0;I{class r{constructor(t){this.display="inline-block",this._dragDisabled=!1,this._elementRef=t}get dragDisabled(){return this._dragDisabled}set dragDisabled(t){this._dragDisabled=t}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq))},r.\u0275dir=e.lG2({type:r,selectors:[["","drag-scroll-item",""]],hostVars:2,hostBindings:function(t,n){2&t&&e.Udp("display",n.display)},inputs:{dragDisabled:["drag-disabled","dragDisabled"]}}),r})(),u1=(()=>{class r{constructor(t,n,a){this._elementRef=t,this._renderer=n,this._document=a,this._index=0,this._scrollbarHidden=!1,this._disabled=!1,this._xDisabled=!1,this._xWheelEnabled=!1,this._yDisabled=!1,this._dragDisabled=!1,this._snapDisabled=!1,this._snapOffset=0,this._snapDuration=500,this._isDragging=!1,this.isPressed=!1,this.isScrolling=!1,this.scrollTimer=-1,this.scrollToTimer=-1,this.downX=0,this.downY=0,this.displayType="block",this.elWidth=null,this.elHeight=null,this._pointerEvents="auto",this.scrollbarWidth=null,this.isAnimating=!1,this.prevChildrenLength=0,this.indexBound=0,this.rtl=!1,this.dsInitialized=new e.vpe,this.indexChanged=new e.vpe,this.reachesLeftBound=new e.vpe,this.reachesRightBound=new e.vpe,this.snapAnimationFinished=new e.vpe,this.dragStart=new e.vpe,this.dragEnd=new e.vpe,this.scrollbarWidth=`${this.getScrollbarWidth()}px`}get isDragging(){return this._isDragging}get currIndex(){return this._index}set currIndex(t){t!==this._index&&(this._index=t,this.indexChanged.emit(t))}get scrollbarHidden(){return this._scrollbarHidden}set scrollbarHidden(t){this._scrollbarHidden=t}get disabled(){return this._disabled}set disabled(t){this._disabled=t}get xDisabled(){return this._xDisabled}set xDisabled(t){this._xDisabled=t}get yDisabled(){return this._yDisabled}set yDisabled(t){this._yDisabled=t}get xWheelEnabled(){return this._xWheelEnabled}set xWheelEnabled(t){this._xWheelEnabled=t}get dragDisabled(){return this._dragDisabled}set dragDisabled(t){this._dragDisabled=t}get snapDisabled(){return this._snapDisabled}set snapDisabled(t){this._snapDisabled=t}get snapOffset(){return this._snapOffset}set snapOffset(t){this._snapOffset=t}get snapDuration(){return this._snapDuration}set snapDuration(t){this._snapDuration=t}ngOnChanges(){this.setScrollBar(),this.xDisabled||this.disabled||this._scrollbarHidden?this.disableScroll("x"):this.enableScroll("x"),this.yDisabled||this.disabled?this.disableScroll("y"):this.enableScroll("y")}ngAfterViewInit(){this._renderer.setAttribute(this._contentRef.nativeElement,"drag-scroll","true"),this.displayType=typeof window<"u"?window.getComputedStyle(this._elementRef.nativeElement).display:"block",this._renderer.setStyle(this._contentRef.nativeElement,"display",this.displayType),this._renderer.setStyle(this._contentRef.nativeElement,"whiteSpace","noWrap"),this.markElDimension(),this._renderer.setStyle(this._contentRef.nativeElement,"width",this.elWidth),this._renderer.setStyle(this._contentRef.nativeElement,"height",this.elHeight),this.wrapper&&this.checkScrollbar(),this._onMouseDownListener=this._renderer.listen(this._contentRef.nativeElement,"mousedown",this.onMouseDownHandler.bind(this)),this._onScrollListener=this._renderer.listen(this._contentRef.nativeElement,"scroll",this.onScrollHandler.bind(this)),this._onDragStartListener=this._renderer.listen(this._contentRef.nativeElement,"dragstart",t=>{t.preventDefault()}),this.checkNavStatus(),this.dsInitialized.emit(),this.adjustMarginToLastChild(),this.rtl="rtl"===getComputedStyle(this._contentRef.nativeElement).getPropertyValue("direction")}ngAfterViewChecked(){this._children.length!==this.prevChildrenLength&&(this.markElDimension(),this.checkScrollbar(),this.prevChildrenLength=this._children.length,this.checkNavStatus())}ngOnDestroy(){this._renderer.setAttribute(this._contentRef.nativeElement,"drag-scroll","false"),this._onMouseDownListener&&(this._onMouseDownListener=this._onMouseDownListener()),this._onScrollListener&&(this._onScrollListener=this._onScrollListener()),this._onDragStartListener&&(this._onDragStartListener=this._onDragStartListener())}onMouseMoveHandler(t){this.onMouseMove(t)}onMouseMove(t){if((t.clientX!==this.downX||t.clientY!==this.downY)&&this.isPressed&&!this.disabled){if(!t.buttons&&!t.which)return this.onMouseUpHandler(t);if(this._pointerEvents="none",this._setIsDragging(!0),!this.xDisabled&&!this.dragDisabled){const n=t.clientX;this._contentRef.nativeElement.scrollLeft=this._contentRef.nativeElement.scrollLeft-n+this.downX,this.downX=n}if(!this.yDisabled&&!this.dragDisabled){const n=t.clientY;this._contentRef.nativeElement.scrollTop=this._contentRef.nativeElement.scrollTop-n+this.downY,this.downY=n}}}onMouseDownHandler(t){const n=this.locateDragScrollItem(t.target);if(n&&n.dragDisabled)return;this._startGlobalListening("touchstart"===t.type),this.isPressed=!0;const l=t;this.downX=l.clientX,this.downY=l.clientY,clearTimeout(this.scrollToTimer)}onScrollHandler(){this.checkNavStatus(),this.isPressed||this.isAnimating||this.snapDisabled?this.locateCurrentIndex():(this.isScrolling=!0,clearTimeout(this.scrollTimer),this.scrollTimer=setTimeout(()=>{this.isScrolling=!1,this.locateCurrentIndex(!0)},500))}onMouseUpHandler(t){this.isPressed&&(this.isPressed=!1,this._pointerEvents="auto",this._setIsDragging(!1),this.snapDisabled?this.locateCurrentIndex():this.locateCurrentIndex(!0),this._stopGlobalListening())}moveLeft(){(0!==this.currIndex||this.snapDisabled)&&(this.currIndex--,clearTimeout(this.scrollToTimer),this.scrollTo(this._contentRef.nativeElement,this.toChildrenLocation(),this.snapDuration))}moveRight(){const t=this.wrapper||this.parentNode,n=t?t.clientWidth:0;!this.isScrollReachesRightEnd()&&this.currIndex=0&&t!==this.currIndex&&this.currIndex<=this.maximumIndex(a,this._children.toArray())&&(this.currIndex=Math.min(t,this.maximumIndex(a,this._children.toArray())),clearTimeout(this.scrollToTimer),this.scrollTo(this._contentRef.nativeElement,this.toChildrenLocation(),this.snapDuration))}checkNavStatus(){setTimeout(()=>{const t=Boolean(this._children.length<=1),n=Boolean(this._contentRef.nativeElement.scrollWidth<=this._contentRef.nativeElement.clientWidth);t||n?(this.reachesLeftBound.emit(!0),this.reachesRightBound.emit(!0)):this.isScrollReachesRightEnd()?(this.reachesLeftBound.emit(!1),this.reachesRightBound.emit(!0)):0===this._contentRef.nativeElement.scrollLeft&&this._contentRef.nativeElement.scrollWidth>this._contentRef.nativeElement.clientWidth?(this.reachesLeftBound.emit(!0),this.reachesRightBound.emit(!1)):(this.reachesLeftBound.emit(!1),this.reachesRightBound.emit(!1))},0)}onWheel(t){this._xWheelEnabled&&(t.preventDefault(),this._snapDisabled?this._contentRef.nativeElement.scrollBy(t.deltaY,0):t.deltaY<0?this.moveLeft():t.deltaY>0&&this.moveRight())}onWindowResize(){this.refreshWrapperDimensions(),this.checkNavStatus()}_setIsDragging(t){this._isDragging!==t&&(this._isDragging=t,t?this.dragStart.emit():this.dragEnd.emit())}_startGlobalListening(t){this._onMouseMoveListener||(this._onMouseMoveListener=this._renderer.listen("document",t?"touchmove":"mousemove",this.onMouseMoveHandler.bind(this))),this._onMouseUpListener||(this._onMouseUpListener=this._renderer.listen("document",t?"touchend":"mouseup",this.onMouseUpHandler.bind(this)))}_stopGlobalListening(){this._onMouseMoveListener&&(this._onMouseMoveListener=this._onMouseMoveListener()),this._onMouseUpListener&&(this._onMouseUpListener=this._onMouseUpListener())}disableScroll(t){this._renderer.setStyle(this._contentRef.nativeElement,`overflow-${t}`,"hidden")}enableScroll(t){this._renderer.setStyle(this._contentRef.nativeElement,`overflow-${t}`,"auto")}hideScrollbar(){"none"!==this._contentRef.nativeElement.style.display&&!this.wrapper&&(this.parentNode=this._contentRef.nativeElement.parentNode,this.wrapper=this._renderer.createElement("div"),this._renderer.setAttribute(this.wrapper,"class","drag-scroll-wrapper"),this._renderer.addClass(this.wrapper,"drag-scroll-container"),this.refreshWrapperDimensions(),this._renderer.setStyle(this.wrapper,"overflow","hidden"),this._renderer.setStyle(this._contentRef.nativeElement,"width",`calc(100% + ${this.scrollbarWidth})`),this._renderer.setStyle(this._contentRef.nativeElement,"height",`calc(100% + ${this.scrollbarWidth})`),this._renderer.appendChild(this._elementRef.nativeElement,this.wrapper),this._renderer.appendChild(this.wrapper,this._contentRef.nativeElement),this.adjustMarginToLastChild())}showScrollbar(){this.wrapper&&(this._renderer.setStyle(this._contentRef.nativeElement,"width","100%"),this._renderer.setStyle(this._contentRef.nativeElement,"height",this.wrapper.style.height),null!==this.parentNode&&(this.parentNode.removeChild(this.wrapper),this.parentNode.appendChild(this._contentRef.nativeElement)),this.wrapper=null,this.adjustMarginToLastChild())}checkScrollbar(){this._renderer.setStyle(this._contentRef.nativeElement,"height",this._contentRef.nativeElement.scrollWidth<=this._contentRef.nativeElement.clientWidth?"100%":`calc(100% + ${this.scrollbarWidth})`),this._renderer.setStyle(this._contentRef.nativeElement,"width",this._contentRef.nativeElement.scrollHeight<=this._contentRef.nativeElement.clientHeight?"100%":`calc(100% + ${this.scrollbarWidth})`)}setScrollBar(){this.scrollbarHidden?this.hideScrollbar():this.showScrollbar()}getScrollbarWidth(){const t=this._renderer.createElement("div");this._renderer.setStyle(t,"visibility","hidden"),this._renderer.setStyle(t,"width","100px"),this._renderer.setStyle(t,"msOverflowStyle","scrollbar"),this._renderer.appendChild(this._document.body,t);const n=t.offsetWidth;this._renderer.setStyle(t,"overflow","scroll");const a=this._renderer.createElement("div");this._renderer.setStyle(a,"width","100%"),this._renderer.appendChild(t,a);const l=a.offsetWidth;return this._renderer.removeChild(this._document.body,t),n-l||20}refreshWrapperDimensions(){this.wrapper&&(this._renderer.setStyle(this.wrapper,"width","100%"),this._renderer.setStyle(this.wrapper,"height",this._elementRef.nativeElement.style.height>0||this._elementRef.nativeElement.offsetHeight>0?this._elementRef.nativeElement.style.height||this._elementRef.nativeElement.offsetHeight+"px":"100%"))}scrollTo(t,n,a){const l=this;l.isAnimating=!0;const I=t.scrollLeft,W=(this.rtl?-1:1)*n-I-this.snapOffset;let ye=0;const yt=function(){var It,Yt,Gt;ye+=20,t.scrollLeft=(It=ye,Yt=I,Gt=W,(It/=a/2)<1?Gt/2*It*It+Yt:-Gt/2*(--It*(It-2)-1)+Yt),ye{l.isAnimating=!1,l.snapAnimationFinished.emit(l.currIndex)},20)};yt()}locateCurrentIndex(t){const n=Math.abs(this._contentRef.nativeElement.scrollLeft);this.currentChildWidth((a,l,v,I,W)=>{n>=v&&n<=l?(l-n>a/2&&!this.isScrollReachesRightEnd()?(this.isAnimating||(this.currIndex=I),t&&this.scrollTo(this._contentRef.nativeElement,v,this.snapDuration)):0!==n&&(this.isAnimating||(this.currIndex=I+1),t&&this.scrollTo(this._contentRef.nativeElement,v+a,this.snapDuration)),W()):I+1===this._children.length-1&&(this.isAnimating||(this.currIndex=I+1),W())})}currentChildWidth(t){let n=0,a=!1;const l=function(){a=!0},v=this._children.toArray();for(let I=0;I1&&(this.indexBound=this.maximumIndex(t?t.clientWidth:0,this._children.toArray()))}maximumIndex(t,n){let a=0,l=0;for(let v=0;v<=n.length;v++){const I=n[n.length-1-v];if(!I)break;{const W=I._elementRef.nativeElement;let G=W.clientWidth;if(0===G&&W.firstElementChild&&(G=I._elementRef.nativeElement.firstElementChild.clientWidth),l+=G,!(l=this._contentRef.nativeElement.scrollWidth}adjustMarginToLastChild(){if(this._children&&this._children.length>0&&this.hideScrollbar){const t=this._children.toArray();this._renderer.setStyle(t[t.length-1]._elementRef.nativeElement,"margin-right",this.wrapper&&t.length>1?this.scrollbarWidth:0)}}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(F.K0))},r.\u0275cmp=e.Xpm({type:r,selectors:[["drag-scroll"]],contentQueries:function(t,n,a){if(1&t&&e.Suo(a,d1,5),2&t){let l;e.iGM(l=e.CRH())&&(n._children=l)}},viewQuery:function(t,n){if(1&t&&e.Gf($d,7),2&t){let a;e.iGM(a=e.CRH())&&(n._contentRef=a.first)}},hostVars:2,hostBindings:function(t,n){1&t&&e.NdJ("wheel",function(l){return n.onWheel(l)})("resize",function(){return n.onWindowResize()},!1,e.Jf7),2&t&&e.Udp("pointer-events",n._pointerEvents)},inputs:{scrollbarHidden:["scrollbar-hidden","scrollbarHidden"],disabled:["drag-scroll-disabled","disabled"],xDisabled:["drag-scroll-x-disabled","xDisabled"],yDisabled:["drag-scroll-y-disabled","yDisabled"],xWheelEnabled:["scroll-x-wheel-enabled","xWheelEnabled"],dragDisabled:["drag-disabled","dragDisabled"],snapDisabled:["snap-disabled","snapDisabled"],snapOffset:["snap-offset","snapOffset"],snapDuration:["snap-duration","snapDuration"]},outputs:{dsInitialized:"dsInitialized",indexChanged:"indexChanged",reachesLeftBound:"reachesLeftBound",reachesRightBound:"reachesRightBound",snapAnimationFinished:"snapAnimationFinished",dragStart:"dragStart",dragEnd:"dragEnd"},features:[e.TTD],ngContentSelectors:Xd,decls:3,vars:0,consts:[[1,"drag-scroll-content"],["contentRef",""]],template:function(t,n){1&t&&(e.F$t(),e.TgZ(0,"div",0,1),e.Hsn(2),e.qZA())},styles:["[_nghost-%COMP%]{overflow:hidden;display:block}.drag-scroll-content[_ngcontent-%COMP%]{height:100%;overflow:auto;white-space:nowrap}"]}),r})(),h1=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})();var Mr=y(5589);const m1=["tooltip"],Zp=new e.OlP("mat-tooltip-scroll-strategy"),e2={provide:Zp,deps:[_.aV],useFactory:function p1(r){return()=>r.scrollStrategies.reposition({scrollThrottle:20})}},g1=new e.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function t2(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),zp="tooltip-panel",jm=(0,x.i$)({passive:!0});let r2=(()=>{class r{get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(t){this._positionAtOrigin=(0,st.Ig)(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,st.Ig)(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=(0,st.su)(t)}get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=(0,st.su)(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=t?String(t).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(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(t,n,a,l,v,I,W,G,ye,Ge,yt,It){this._overlay=t,this._elementRef=n,this._scrollDispatcher=a,this._viewContainerRef=l,this._ngZone=v,this._platform=I,this._ariaDescriber=W,this._focusMonitor=G,this._dir=Ge,this._defaultOptions=yt,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 D.x,this._scrollStrategy=ye,this._document=It,yt&&(yt.position&&(this.position=yt.position),yt.positionAtOrigin&&(this.positionAtOrigin=yt.positionAtOrigin),yt.touchGestures&&(this.touchGestures=yt.touchGestures)),Ge.change.pipe((0,qi.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,qi.R)(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([n,a])=>{t.removeEventListener(n,a,jm)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay,n){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const a=this._createOverlay(n);this._detach(),this._portal=this._portal||new k.C5(this._tooltipComponent,this._viewContainerRef);const l=this._tooltipInstance=a.attach(this._portal).instance;l._triggerElement=this._elementRef.nativeElement,l._mouseLeaveHideDelay=this._hideDelay,l.afterHidden().pipe((0,qi.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),l.show(t)}hide(t=this.hideDelay){const n=this._tooltipInstance;n&&(n.isVisible()?n.hide(t):(n._cancelPendingAnimations(),this._detach()))}toggle(t){this._isTooltipVisible()?this.hide():this.show(void 0,t)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(t){if(this._overlayRef){const l=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!t)&&l._origin instanceof e.SBq)return this._overlayRef;this._detach()}const n=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),a=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&t||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(n);return a.positionChanges.pipe((0,qi.R)(this._destroyed)).subscribe(l=>{this._updateCurrentPositionClass(l.connectionPair),this._tooltipInstance&&l.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:a,panelClass:`${this._cssClassPrefix}-${zp}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,qi.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,qi.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,qi.R)(this._destroyed)).subscribe(l=>{this._isTooltipVisible()&&l.keyCode===A.hY&&!(0,A.Vb)(l)&&(l.preventDefault(),l.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(t){const n=t.getConfig().positionStrategy,a=this._getOrigin(),l=this._getOverlayPosition();n.withPositions([this._addOffset({...a.main,...l.main}),this._addOffset({...a.fallback,...l.fallback})])}_addOffset(t){return t}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,n=this.position;let a;"above"==n||"below"==n?a={originX:"center",originY:"above"==n?"top":"bottom"}:"before"==n||"left"==n&&t||"right"==n&&!t?a={originX:"start",originY:"center"}:("after"==n||"right"==n&&t||"left"==n&&!t)&&(a={originX:"end",originY:"center"});const{x:l,y:v}=this._invertPosition(a.originX,a.originY);return{main:a,fallback:{originX:l,originY:v}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,n=this.position;let a;"above"==n?a={overlayX:"center",overlayY:"bottom"}:"below"==n?a={overlayX:"center",overlayY:"top"}:"before"==n||"left"==n&&t||"right"==n&&!t?a={overlayX:"end",overlayY:"center"}:("after"==n||"right"==n&&t||"left"==n&&!t)&&(a={overlayX:"start",overlayY:"center"});const{x:l,y:v}=this._invertPosition(a.overlayX,a.overlayY);return{main:a,fallback:{overlayX:l,overlayY:v}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,Se.q)(1),(0,qi.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,n){return"above"===this.position||"below"===this.position?"top"===n?n="bottom":"bottom"===n&&(n="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:n}}_updateCurrentPositionClass(t){const{overlayY:n,originX:a,originY:l}=t;let v;if(v="center"===n?this._dir&&"rtl"===this._dir.value?"end"===a?"left":"right":"start"===a?"left":"right":"bottom"===n&&"top"===l?"above":"below",v!==this._currentPosition){const I=this._overlayRef;if(I){const W=`${this._cssClassPrefix}-${zp}-`;I.removePanelClass(W+this._currentPosition),I.addPanelClass(W+v)}this._currentPosition=v}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",t=>{let n;this._setupPointerExitEventsIfNeeded(),void 0!==t.x&&void 0!==t.y&&(n=t),this.show(void 0,n)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",t=>{const n=t.targetTouches?.[0],a=n?{x:n.clientX,y:n.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,a),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",n=>{const a=n.relatedTarget;(!a||!this._overlayRef?.overlayElement.contains(a))&&this.hide()}],["wheel",n=>this._wheelListener(n)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const n=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",n],["touchcancel",n])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([n,a])=>{this._elementRef.nativeElement.addEventListener(n,a,jm)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){const n=this._document.elementFromPoint(t.clientX,t.clientY),a=this._elementRef.nativeElement;n!==a&&!a.contains(n)&&this.hide()}}_disableNativeGesturesIfNecessary(){const t=this.touchGestures;if("off"!==t){const n=this._elementRef.nativeElement,a=n.style;("on"===t||"INPUT"!==n.nodeName&&"TEXTAREA"!==n.nodeName)&&(a.userSelect=a.msUserSelect=a.webkitUserSelect=a.MozUserSelect="none"),("on"===t||!n.draggable)&&(a.webkitUserDrag="none"),a.touchAction="none",a.webkitTapHighlightColor="transparent"}}}return r.\u0275fac=function(t){e.$Z()},r.\u0275dir=e.lG2({type:r,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"]}}),r})(),eo=(()=>{class r extends r2{constructor(t,n,a,l,v,I,W,G,ye,Ge,yt,It){super(t,n,a,l,v,I,W,G,ye,Ge,yt,It),this._tooltipComponent=qp,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(t){const a=!this._dir||"ltr"==this._dir.value;return"top"===t.originY?t.offsetY=-8:"bottom"===t.originY?t.offsetY=8:"start"===t.originX?t.offsetX=a?-8:8:"end"===t.originX&&(t.offsetX=a?8:-8),t}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(_.aV),e.Y36(e.SBq),e.Y36(Mr.mF),e.Y36(e.s_b),e.Y36(e.R0b),e.Y36(x.t4),e.Y36(g.$s),e.Y36(g.tE),e.Y36(Zp),e.Y36(S.Is,8),e.Y36(g1,8),e.Y36(F.K0))},r.\u0275dir=e.lG2({type:r,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],exportAs:["matTooltip"],features:[e.qOj]}),r})(),zm=(()=>{class r{constructor(t,n){this._changeDetectorRef=t,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new D.x,this._animationsDisabled="NoopAnimations"===n}show(t){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},t)}hide(t){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},t)}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:t}){(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:t}){(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(t){t?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(t){const n=this._tooltip.nativeElement,a=this._showAnimation,l=this._hideAnimation;if(n.classList.remove(t?l:a),n.classList.add(t?a:l),this._isVisible=t,t&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const v=getComputedStyle(n);("0s"===v.getPropertyValue("animation-duration")||"none"===v.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(n.classList.add("_mat-animation-noopable"),this._finalizeAnimation(t))}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.sBO),e.Y36(e.QbO,8))},r.\u0275dir=e.lG2({type:r}),r})(),qp=(()=>{class r extends zm{constructor(t,n,a){super(t,a),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 t=this._elementRef.nativeElement.getBoundingClientRect();return t.height>24&&t.width>=200}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(e.QbO,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-tooltip-component"]],viewQuery:function(t,n){if(1&t&&e.Gf(m1,7),2&t){let a;e.iGM(a=e.CRH())&&(n._tooltip=a.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,n){1&t&&e.NdJ("mouseleave",function(l){return n._handleMouseLeave(l)}),2&t&&e.Udp("zoom",n.isVisible()?1:null)},features:[e.qOj],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(t,n){1&t&&(e.TgZ(0,"div",0,1),e.NdJ("animationend",function(l){return n._handleAnimationEnd(l)}),e.TgZ(2,"div",2),e._uU(3),e.qZA()()),2&t&&(e.ekj("mdc-tooltip--multiline",n._isMultiline),e.Q6J("ngClass",n.tooltipClass),e.xp6(3),e.Oqu(n.message))},dependencies:[F.mk],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}),r})(),Gm=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[e2],imports:[g.rt,F.ez,_.U8,ae.BQ,ae.BQ,Mr.ZD]}),r})();function _1(r,i){1&r&&(e.TgZ(0,"mat-icon",1),e._uU(1,"public"),e.qZA()),2&r&&e.Q6J("matTooltip",i.$implicit)}class as{constructor(i){this.profiles=i,this.pubkey=""}ngOnInit(){var i=this;return(0,ve.Z)(function*(){i.profile||(i.profile=yield i.profiles.getLocalProfile(i.pubkey)),i.profile&&(i.verifications=i.profile.verifications)})()}}function Qp(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,", "),e.qZA())}function Jp(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.YNc(2,Qp,2,0,"span",1),e.qZA()),2&r){const t=i.$implicit,n=i.last;e.xp6(1),e.hij(" ",t,""),e.xp6(1),e.Q6J("ngIf",!n)}}as.\u0275fac=function(i){return new(i||as)(e.Y36(Bn))},as.\u0275cmp=e.Xpm({type:as,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(i,t){1&i&&e.YNc(0,_1,2,1,"mat-icon",0),2&i&&e.Q6J("ngForOf",t.verifications)},dependencies:[F.sg,ar,eo],encapsulation:2});class lh{constructor(i){this.utilities=i,this.relayNames=[]}ngOnInit(){var i=this;return(0,ve.Z)(function*(){if(i.relayNames=[],null==i.relays)return;const t=JSON.parse(i.relays);i.relayNames=i.utilities.getRelayUrls(t)})()}}lh.\u0275fac=function(i){return new(i||lh)(e.Y36(Pi.dU))},lh.\u0275cmp=e.Xpm({type:lh,selectors:[["app-relay-list"]],inputs:{relays:"relays"},decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[4,"ngIf"]],template:function(i,t){1&i&&e.YNc(0,Jp,3,2,"span",0),2&i&&e.Q6J("ngForOf",t.relayNames)},dependencies:[F.sg,F.O5],encapsulation:2});class eu{constructor(i){this.utilities=i}transform(i){return i&&(i.startsWith("npub")?i:this.utilities.getNostrIdentifier(i))}}function b1(r,i){if(1&r&&e._UZ(0,"img",8),2&r){const t=e.oxw();e.Udp("border-color",null==t.circle?null:t.circle.color),e.Q6J("matTooltip",t.tooltip)("src",t.imagePath,e.LSH)}}function y1(r,i){if(1&r&&e._UZ(0,"img",9),2&r){const t=e.oxw();e.Q6J("matTooltip",t.tooltip)("src",t.imagePath,e.LSH)}}eu.\u0275fac=function(i){return new(i||eu)(e.Y36(Pi.dU,16))},eu.\u0275pipe=e.Yjl({name:"bech32",type:eu,pure:!0});const Kp=function(r){return["/p",r]};function o2(r,i){if(1&r&&(e.TgZ(0,"div",10)(1,"a",2)(2,"span",11),e._uU(3),e.qZA()()()),2&r){const t=e.oxw();e.xp6(1),e.Q6J("routerLink",e.VKq(5,Kp,t.pubkey)),e.xp6(1),e.ekj("muted",2==(null==t.profile?null:t.profile.status)),e.Q6J("matTooltip",t.tooltipName),e.xp6(1),e.Oqu(t.profileName)}}function v1(r,i){if(1&r&&(e.TgZ(0,"div"),e._uU(1),e.qZA(),e.TgZ(2,"div"),e._uU(3),e.qZA(),e.TgZ(4,"div"),e._uU(5),e.qZA(),e.TgZ(6,"div"),e._uU(7),e.qZA(),e.TgZ(8,"div"),e._uU(9),e.qZA(),e.TgZ(10,"div"),e._uU(11),e.qZA(),e.TgZ(12,"div"),e._uU(13),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.Oqu(null==t.profile?null:t.profile.display_name),e.xp6(2),e.Oqu(null==t.profile?null:t.profile.name),e.xp6(2),e.Oqu(null==t.profile?null:t.profile.nip05),e.xp6(2),e.Oqu(null==t.profile?null:t.profile.website),e.xp6(2),e.Oqu(null==t.profile?null:t.profile.lud06),e.xp6(2),e.Oqu(null==t.profile?null:t.profile.lud16),e.xp6(2),e.Oqu(null==t.profile||null==t.profile.following?null:t.profile.following.length)}}function w1(r,i){if(1&r&&(e.TgZ(0,"div")(1,"span",16),e._uU(2,"Display Name:"),e.qZA(),e._uU(3),e.qZA()),2&r){const t=e.oxw(3);e.xp6(3),e.hij(" ",t.profile.display_name,"")}}function x1(r,i){if(1&r&&(e.TgZ(0,"div")(1,"span",16),e._uU(2,"Name:"),e.qZA(),e._uU(3),e.qZA()),2&r){const t=e.oxw(3);e.xp6(3),e.hij(" ",t.profile.name,"")}}function $p(r,i){if(1&r&&(e.TgZ(0,"div")(1,"span",16),e._uU(2,"NIP05:"),e.qZA(),e._uU(3),e.qZA()),2&r){const t=e.oxw(3);e.xp6(3),e.hij(" ",t.profile.nip05,"")}}function F1(r,i){if(1&r&&(e.TgZ(0,"div")(1,"span",16),e._uU(2,"Public Key (npub):"),e.qZA(),e._uU(3),e.ALo(4,"bech32"),e.qZA()),2&r){const t=e.oxw(3);e.xp6(3),e.hij(" ",e.lcZ(4,1,t.profile.pubkey),"")}}function C1(r,i){if(1&r&&(e.TgZ(0,"div")(1,"span",16),e._uU(2,"Public Key (hex):"),e.qZA(),e._uU(3),e.qZA()),2&r){const t=e.oxw(3);e.xp6(3),e.hij(" ",t.profile.pubkey,"")}}function k1(r,i){if(1&r&&(e.TgZ(0,"div")(1,"span",16),e._uU(2,"Website:"),e.qZA(),e._uU(3),e.qZA()),2&r){const t=e.oxw(3);e.xp6(3),e.hij(" ",t.profile.website,"")}}function D1(r,i){if(1&r&&(e.TgZ(0,"div")(1,"span",16),e._uU(2,"lud06:"),e.qZA(),e._uU(3),e.qZA()),2&r){const t=e.oxw(3);e.xp6(3),e.hij(" ",t.profile.lud06,"")}}function M1(r,i){if(1&r&&(e.TgZ(0,"div")(1,"span",16),e._uU(2,"lud16:"),e.qZA(),e._uU(3),e.qZA()),2&r){const t=e.oxw(3);e.xp6(3),e.hij(" ",t.profile.lud16,"")}}function E1(r,i){if(1&r&&(e.TgZ(0,"div")(1,"span",16),e._uU(2,"Following:"),e.qZA(),e._uU(3),e.qZA()),2&r){const t=e.oxw(3);e.xp6(3),e.hij(" ",t.profile.following.length,"")}}function T1(r,i){if(1&r&&(e.TgZ(0,"div")(1,"span",16),e._uU(2,"About:"),e.qZA(),e._uU(3),e.qZA()),2&r){const t=e.oxw(3);e.xp6(3),e.hij(" ",t.profile.about,"")}}function A1(r,i){if(1&r&&(e.TgZ(0,"div")(1,"span",16),e._uU(2,"Relays:"),e.qZA(),e._UZ(3,"app-relay-list",17),e.qZA()),2&r){const t=e.oxw(3);e.xp6(3),e.Q6J("relays",t.profile.relays)}}function Wm(r,i){if(1&r&&(e.TgZ(0,"div",14),e.YNc(1,w1,4,1,"div",15),e.YNc(2,x1,4,1,"div",15),e.YNc(3,$p,4,1,"div",15),e.YNc(4,F1,5,3,"div",15),e.YNc(5,C1,4,1,"div",15),e.YNc(6,k1,4,1,"div",15),e.YNc(7,D1,4,1,"div",15),e.YNc(8,M1,4,1,"div",15),e.YNc(9,E1,4,1,"div",15),e.YNc(10,T1,4,1,"div",15),e.YNc(11,A1,4,1,"div",15),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.profile.display_name),e.xp6(1),e.Q6J("ngIf",t.profile.name),e.xp6(1),e.Q6J("ngIf",t.profile.nip05),e.xp6(1),e.Q6J("ngIf",t.profile.pubkey),e.xp6(1),e.Q6J("ngIf",t.profile.pubkey),e.xp6(1),e.Q6J("ngIf",t.profile.website),e.xp6(1),e.Q6J("ngIf",t.profile.lud06),e.xp6(1),e.Q6J("ngIf",t.profile.lud16),e.xp6(1),e.Q6J("ngIf",t.profile.following),e.xp6(1),e.Q6J("ngIf",t.profile.about),e.xp6(1),e.Q6J("ngIf",t.profile.relays)}}function lc(r,i){if(1&r&&(e.TgZ(0,"div",12),e.Hsn(1),e.YNc(2,Wm,12,11,"div",13),e.qZA()),2&r){const t=e.oxw();e.xp6(2),e.Q6J("ngIf",t.profile&&"content"==t.listType)}}const S1=function(r){return[r]};var tu=new WeakMap,Ls=new WeakMap;class vo{set profile(i){Kt(this,tu,i),Kt(this,Ls,i.pubkey),this.updateProfileDetails()}get profile(){return ot(this,tu)}set pubkey(i){var t=this;Kt(this,Ls,i),this.profiles.getProfile(i).then(function(){var n=(0,ve.Z)(function*(a){Kt(t,tu,a),yield t.updateProfileDetails()});return function(a){return n.apply(this,arguments)}}())}get pubkey(){return ot(this,Ls)}constructor(i,t,n,a,l){Ue(this,tu,{writable:!0,value:void 0}),Ue(this,Ls,{writable:!0,value:void 0}),this.ui=i,this.queueService=t,this.profiles=n,this.circleService=a,this.utilities=l,this.displayName=!0,this.displayContent=!0,this.iconSize="small",this.listType="list",Kt(this,Ls,""),this.imagePath="/assets/profile.png",this.tooltip="",this.tooltipName="",this.profileName="",this.subscriptions=[]}ngAfterViewInit(){}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}ngOnChanges(i){}ngOnInit(){return(0,ve.Z)(function*(){})()}updateProfileDetails(){var i=this;return(0,ve.Z)(function*(){i.profile&&(i.profile.picture&&(i.imagePath=i.profile.picture),i.tooltip=i.profile.about,i.tooltipName=i.profileName,i.profileName=i.profile.display_name||i.profile.name||i.profileName,i.circle=yield i.circleService.get(i.profile.circle))})()}}vo.\u0275fac=function(i){return new(i||vo)(e.Y36(Gr),e.Y36(In),e.Y36(Bn),e.Y36(ba),e.Y36(Pi.dU))},vo.\u0275cmp=e.Xpm({type:vo,selectors:[["app-event-header"]],inputs:{displayName:"displayName",displayContent:"displayContent",iconSize:"iconSize",listType:"listType",profile:"profile",pubkey:"pubkey"},features:[e.TTD],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(i,t){1&i&&(e.F$t(),e.TgZ(0,"div",0)(1,"div",1)(2,"a",2),e.YNc(3,b1,1,4,"img",3),e.YNc(4,y1,1,2,"img",4),e.qZA()(),e.YNc(5,o2,4,7,"div",5),e.YNc(6,v1,14,7,"ng-template",6),e.YNc(7,lc,3,1,"div",7),e.qZA()),2&i&&(e.Q6J("ngClass",e.VKq(8,S1,"event-header-"+t.listType)),e.xp6(1),e.Q6J("ngClass",e.VKq(10,S1,"icon-"+t.iconSize)),e.xp6(1),e.Q6J("routerLink",e.VKq(12,Kp,t.pubkey)),e.xp6(1),e.Q6J("ngIf",1==(null==t.profile?null:t.profile.status)||2==(null==t.profile?null:t.profile.status)),e.xp6(1),e.Q6J("ngIf",1!=(null==t.profile?null:t.profile.status)&&2!=(null==t.profile?null:t.profile.status)),e.xp6(1),e.Q6J("ngIf",t.displayName),e.xp6(1),e.Q6J("ngIf","details"==t.listType),e.xp6(1),e.Q6J("ngIf",t.displayContent))},dependencies:[F.mk,F.O5,Ht.rH,eo,lh,eu],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 Ll{constructor(i,t){this.dialogRef=i,this.data=t}onNoClick(){this.data.picture="",this.dialogRef.close()}}Ll.\u0275fac=function(i){return new(i||Ll)(e.Y36(Ee),e.Y36(bt))},Ll.\u0275cmp=e.Xpm({type:Ll,selectors:[["profile-image-dialog"]],decls:1,vars:1,consts:[["loading","lazy",1,"profile-image-original",3,"src","click"]],template:function(i,t){1&i&&(e.TgZ(0,"img",0),e.NdJ("click",function(){return t.onNoClick()}),e.qZA()),2&i&&e.Q6J("src",t.data.picture,e.LSH)},styles:[".profile-image-original[_ngcontent-%COMP%]{max-width:100%;cursor:pointer}"]});class Rl{getKeyword(i){return this.keywords.get(i)}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("
",{token:"linebreak"}),this.keywords.set("
",{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 i=0;i<100;i++)this.keywords.set("#["+i+"]",{token:"username"})}}Rl.\u0275fac=function(i){return new(i||Rl)},Rl.\u0275prov=e.Yz7({token:Rl,factory:Rl.\u0275fac,providedIn:"root"});class cc{get canPrevious(){return this.index>0}get canNext(){return this.index{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(i){this.options.values.showMediaPlayer=!0,this.media=[],this.media.push(i),this.start()}enque(i){this.options.values.showMediaPlayer=!0,this.media.push(i)}dequeue(i){const t=this.media.findIndex(n=>n===i);-1!==t&&this.media.splice(t,1)}start(){var i=this;return(0,ve.Z)(function*(){-1===i.index&&(i.index=0);const t=i.media[i.index];t&&(i.current=t,i.options.values.showMediaPlayer=!0,"YouTube"===t.type?(i.videoMode=!0,i.youtubeUrl=i.utilities.sanitizeUrlAndBypassFrame(t.source+"?autoplay=1")):"Video"===t.type?(i.videoMode=!0,i.videoUrl=i.utilities.sanitizeUrlAndBypassFrame(t.source)):(i.videoMode=!1,i.audio?i.audio.src=t.source:i.audio=new Audio(t.source),yield i.audio.play()),navigator.mediaSession.metadata=new MediaMetadata({title:t.title,artist:t.artist,album:"Blockcore Notes",artwork:[{src:t.artwork}]}),navigator.mediaSession.playbackState="playing")})()}resume(){var i=this;return(0,ve.Z)(function*(){if(i.videoMode)i.youtubeUrl=i.pausedYouTubeUrl,i.pausedYouTubeUrl=void 0;else{if(!i.audio)return void i.start();console.log("RESUME!");try{yield i.audio.play()}catch(t){console.error(t)}}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(i){this.audio&&(this.audio.currentTime=i)}get duration(){return this.audio?Math.floor(this.audio.duration):100}mute(){this.audio&&(this.audio.muted=!this.audio.muted)}forward(i){this.audio&&(this.audio.currentTime+=i)}rewind(i){this.audio&&(this.audio.currentTime-=i)}rate(){this.audio&&(console.log(this.audio.playbackRate),this.audio.playbackRate=2==this.audio.playbackRate?1:2)}}cc.\u0275fac=function(i){return new(i||cc)(e.LFG(Rr.I),e.LFG(ko.ux),e.LFG(Pi.dU))},cc.\u0275prov=e.Yz7({token:cc,factory:cc.\u0275fac,providedIn:"root"});var bs=y(3900);function l2(r,i){1&r&&(e.TgZ(0,"span",8),e.Hsn(1,1),e.qZA())}function c2(r,i){1&r&&(e.TgZ(0,"span",9),e.Hsn(1,2),e.qZA())}const Xp=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],I1=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function to(r,i){1&r&&(e.TgZ(0,"span",9),e.Hsn(1,1),e.TgZ(2,"span",10),e.O4$(),e.TgZ(3,"svg",11),e._UZ(4,"path",12),e.qZA()()())}function O1(r,i){1&r&&(e.TgZ(0,"span",13),e.Hsn(1,2),e.qZA())}const N1='.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 d2(r,i){if(1&r&&(e.ynx(0),e._UZ(1,"span",9)(2,"span",10),e.BQk()),2&r){const t=e.oxw();e.xp6(1),e.Q6J("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t._isRippleCentered)("matRippleTrigger",t._elementRef.nativeElement)}}function L1(r,i){1&r&&(e.TgZ(0,"span",11),e.Hsn(1),e.qZA())}function u2(r,i){1&r&&(e.ynx(0),e.Hsn(1,1),e.BQk())}function R1(r,i){1&r&&e.Hsn(0,2,["*ngIf","contentEditInput; else defaultMatChipEditInput"])}function P1(r,i){1&r&&e._UZ(0,"span",14)}function iu(r,i){if(1&r&&(e.ynx(0),e.YNc(1,R1,1,0,"ng-content",12),e.YNc(2,P1,1,0,"ng-template",null,13,e.W1O),e.BQk()),2&r){const t=e.MAs(3),n=e.oxw();e.xp6(1),e.Q6J("ngIf",n.contentEditInput)("ngIfElse",t)}}function h2(r,i){1&r&&(e.TgZ(0,"span",15),e.Hsn(1,3),e.qZA())}const m2=[[["mat-chip-avatar"],["","matChipAvatar",""]],"*",[["","matChipEditInput",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],B1=["mat-chip-avatar, [matChipAvatar]","*","[matChipEditInput]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],eg=["*"],tg=".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}",ig=new e.OlP("mat-chips-default-options"),qm=new e.OlP("MatChipAvatar"),Qm=new e.OlP("MatChipTrailingIcon"),ys=new e.OlP("MatChipRemove"),Jm=new e.OlP("MatChip");class Y1{}const hl=(0,ae.sb)(Y1,-1);let Do=(()=>{class r extends hl{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(t){this._disabled=(0,st.Ig)(t)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(t,n){super(),this._elementRef=t,this._parentChip=n,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===t.nativeElement.nodeName&&t.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(t){!this.disabled&&this.isInteractive&&this._isPrimary&&(t.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(t){(t.keyCode===A.K5||t.keyCode===A.L_)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(t.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(Jm))},r.\u0275dir=e.lG2({type:r,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(t,n){1&t&&e.NdJ("click",function(l){return n._handleClick(l)})("keydown",function(l){return n._handleKeydown(l)}),2&t&&(e.uIk("tabindex",n._getTabindex())("disabled",n._getDisabledAttribute())("aria-disabled",n.disabled),e.ekj("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:[e.qOj]}),r})(),ng=(()=>{class r extends Do{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(t){this.disabled||(t.stopPropagation(),t.preventDefault(),this._parentChip.remove())}_handleKeydown(t){(t.keyCode===A.K5||t.keyCode===A.L_)&&!this.disabled&&(t.stopPropagation(),t.preventDefault(),this._parentChip.remove())}}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,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(t,n){2&t&&e.uIk("aria-hidden",null)},features:[e._Bn([{provide:ys,useExisting:r}]),e.qOj]}),r})(),f2=0;const p2=(0,ae.sb)((0,ae.pj)((0,ae.Kr)((0,ae.Id)(class{constructor(r){this._elementRef=r}})),"primary"),-1);let dc=(()=>{class r extends p2{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(t){this._value=t}get removable(){return this._removable}set removable(t){this._removable=(0,st.Ig)(t)}get highlighted(){return this._highlighted}set highlighted(t){this._highlighted=(0,st.Ig)(t)}constructor(t,n,a,l,v,I,W,G){super(n),this._changeDetectorRef=t,this._ngZone=a,this._focusMonitor=l,this._globalRippleOptions=W,this._isRippleCentered=!1,this._onFocus=new D.x,this._onBlur=new D.x,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+f2++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new e.vpe,this.destroyed=new e.vpe,this.basicChipAttrName="mat-basic-chip";const ye=n.nativeElement;this._document=v,this._animationsDisabled="NoopAnimations"===I,this._isBasicChip=ye.hasAttribute(this.basicChipAttrName)||ye.tagName.toLowerCase()===this.basicChipAttrName,null!=G&&(this.tabIndex=parseInt(G)??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(t){(t.keyCode===A.ZH||t.keyCode===A.yY)&&(t.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(t){return this._getActions().find(n=>{const a=n._elementRef.nativeElement;return a===t||a.contains(t)})}_getActions(){const t=[];return this.primaryAction&&t.push(this.primaryAction),this.removeIcon&&t.push(this.removeIcon),this.trailingIcon&&t.push(this.trailingIcon),t}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{const n=null!==t;n!==this._hasFocusInternal&&(this._hasFocusInternal=n,n?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe((0,Se.q)(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(g.tE),e.Y36(F.K0),e.Y36(e.QbO,8),e.Y36(ae.Y2,8),e.$8M("tabindex"))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-basic-chip"],["mat-chip"]],contentQueries:function(t,n,a){if(1&t&&(e.Suo(a,qm,5),e.Suo(a,Qm,5),e.Suo(a,ys,5)),2&t){let l;e.iGM(l=e.CRH())&&(n.leadingIcon=l.first),e.iGM(l=e.CRH())&&(n.trailingIcon=l.first),e.iGM(l=e.CRH())&&(n.removeIcon=l.first)}},viewQuery:function(t,n){if(1&t&&(e.Gf(ae.wG,5),e.Gf(Do,5)),2&t){let a;e.iGM(a=e.CRH())&&(n.ripple=a.first),e.iGM(a=e.CRH())&&(n.primaryAction=a.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(t,n){1&t&&e.NdJ("keydown",function(l){return n._handleKeydown(l)}),2&t&&(e.Ikx("id",n.id),e.uIk("role",n.role)("tabindex",n.role?n.tabIndex:null)("aria-label",n.ariaLabel),e.ekj("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:[e._Bn([{provide:Jm,useExisting:r}]),e.qOj],ngContentSelectors:I1,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(t,n){1&t&&(e.F$t(Xp),e._UZ(0,"span",0)(1,"span",1),e.TgZ(2,"span",2)(3,"span",3),e.YNc(4,l2,2,0,"span",4),e.TgZ(5,"span",5),e.Hsn(6),e._UZ(7,"span",6),e.qZA()()(),e.YNc(8,c2,2,0,"span",7)),2&t&&(e.Q6J("matRippleDisabled",n._isRippleDisabled())("matRippleCentered",n._isRippleCentered)("matRippleTrigger",n._elementRef.nativeElement),e.xp6(3),e.Q6J("isInteractive",!1),e.xp6(1),e.Q6J("ngIf",n.leadingIcon),e.xp6(4),e.Q6J("ngIf",n._hasTrailingIcon()))},dependencies:[F.O5,ae.wG,Do],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}),r})(),ch=(()=>{class r extends dc{constructor(){super(...arguments),this._defaultOptions=(0,e.f3M)(ig,{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 e.vpe}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(t){this._selectable=(0,st.Ig)(t),this._changeDetectorRef.markForCheck()}get selected(){return this._selected}set selected(t){this._setSelectedState((0,st.Ig)(t),!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(t=!1){return this._setSelectedState(!this.selected,t,!0),this.selected}_handlePrimaryActionInteraction(){this.selectable&&!this.disabled&&this.toggleSelected(!0)}_hasLeadingGraphic(){return!!this.leadingIcon||!this._chipListHideSingleSelectionIndicator||this._chipListMultiple}_setSelectedState(t,n,a){t!==this.selected&&(this._selected=t,a&&this.selectionChange.emit({source:this,isUserInput:n,selected:this.selected}),this._changeDetectorRef.markForCheck())}}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275cmp=e.Xpm({type:r,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(t,n){2&t&&(e.Ikx("id",n.id),e.uIk("tabindex",null)("aria-label",null)("aria-description",null)("role",n.role),e.ekj("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:[e._Bn([{provide:dc,useExisting:r},{provide:Jm,useExisting:r}]),e.qOj],ngContentSelectors:I1,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(t,n){1&t&&(e.F$t(Xp),e._UZ(0,"span",0)(1,"span",1),e.TgZ(2,"span",2)(3,"button",3),e.YNc(4,to,5,0,"span",4),e.TgZ(5,"span",5),e.Hsn(6),e._UZ(7,"span",6),e.qZA()()(),e.YNc(8,O1,2,0,"span",7),e.TgZ(9,"span",8),e._uU(10),e.qZA()),2&t&&(e.Q6J("matRippleDisabled",n._isRippleDisabled())("matRippleCentered",n._isRippleCentered)("matRippleTrigger",n._elementRef.nativeElement),e.xp6(3),e.Q6J("tabIndex",n.tabIndex)("_allowFocusWhenDisabled",!0),e.uIk("aria-selected",n.ariaSelected)("aria-label",n.ariaLabel)("aria-describedby",n._ariaDescriptionId),e.xp6(1),e.Q6J("ngIf",n._hasLeadingGraphic()),e.xp6(4),e.Q6J("ngIf",n._hasTrailingIcon()),e.xp6(1),e.Q6J("id",n._ariaDescriptionId),e.xp6(1),e.Oqu(n.ariaDescription))},dependencies:[F.O5,ae.wG,Do],styles:[N1],encapsulation:2,changeDetection:0}),r})(),uc=(()=>{class r{constructor(t,n){this._elementRef=t,this._document=n}initialize(t){this.getNativeElement().focus(),this.setValue(t)}getNativeElement(){return this._elementRef.nativeElement}setValue(t){this.getNativeElement().textContent=t,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){const t=this._document.createRange();t.selectNodeContents(this.getNativeElement()),t.collapse(!1);const n=window.getSelection();n.removeAllRanges(),n.addRange(t)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(F.K0))},r.\u0275dir=e.lG2({type:r,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"]}),r})(),rg=(()=>{class r extends dc{constructor(t,n,a,l,v,I,W,G){super(t,n,a,l,v,I,W,G),this.basicChipAttrName="mat-basic-chip-row",this._editStartPending=!1,this.editable=!1,this.edited=new e.vpe,this._isEditing=!1,this.role="row",this._onBlur.pipe((0,qi.R)(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_mousedown(t){this._isEditing||(this.disabled||this.focus(),t.preventDefault())}_handleKeydown(t){t.keyCode!==A.K5||this.disabled?this._isEditing?t.stopPropagation():super._handleKeydown(t):this._isEditing?(t.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(t)}_doubleclick(t){!this.disabled&&this.editable&&this._startEditing(t)}_startEditing(t){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(t.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 r.\u0275fac=function(t){return new(t||r)(e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(g.tE),e.Y36(F.K0),e.Y36(e.QbO,8),e.Y36(ae.Y2,8),e.$8M("tabindex"))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-chip-row"],["mat-basic-chip-row"]],contentQueries:function(t,n,a){if(1&t&&e.Suo(a,uc,5),2&t){let l;e.iGM(l=e.CRH())&&(n.contentEditInput=l.first)}},viewQuery:function(t,n){if(1&t&&e.Gf(uc,5),2&t){let a;e.iGM(a=e.CRH())&&(n.defaultEditInput=a.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(t,n){1&t&&e.NdJ("mousedown",function(l){return n._mousedown(l)})("dblclick",function(l){return n._doubleclick(l)}),2&t&&(e.Ikx("id",n.id),e.uIk("tabindex",null)("aria-label",null)("aria-description",null)("role",n.role),e.ekj("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:[e._Bn([{provide:dc,useExisting:r},{provide:Jm,useExisting:r}]),e.qOj],ngContentSelectors:B1,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(t,n){1&t&&(e.F$t(m2),e.YNc(0,d2,3,3,"ng-container",0),e.TgZ(1,"span",1)(2,"span",2),e.YNc(3,L1,2,0,"span",3),e.TgZ(4,"span",4),e.YNc(5,u2,2,0,"ng-container",5),e.YNc(6,iu,4,2,"ng-container",5),e._UZ(7,"span",6),e.qZA()()(),e.YNc(8,h2,2,0,"span",7),e.TgZ(9,"span",8),e._uU(10),e.qZA()),2&t&&(e.Q6J("ngIf",!n._isEditing),e.xp6(2),e.Q6J("tabIndex",n.tabIndex)("disabled",n.disabled),e.uIk("role",n.editable?"button":null)("aria-label",n.ariaLabel)("aria-describedby",n._ariaDescriptionId),e.xp6(1),e.Q6J("ngIf",n.leadingIcon),e.xp6(1),e.Q6J("ngSwitch",n._isEditing),e.xp6(1),e.Q6J("ngSwitchCase",!1),e.xp6(1),e.Q6J("ngSwitchCase",!0),e.xp6(2),e.Q6J("ngIf",n._hasTrailingIcon()),e.xp6(1),e.Q6J("id",n._ariaDescriptionId),e.xp6(1),e.Oqu(n.ariaDescription))},dependencies:[F.O5,F.RF,F.n9,ae.wG,Do,uc],styles:[N1],encapsulation:2,changeDetection:0}),r})();class U1{constructor(i){}}const g2=(0,ae.sb)(U1);let nu=(()=>{class r extends g2{get chipFocusChanges(){return this._getChipStream(t=>t._onFocus)}get chipDestroyedChanges(){return this._getChipStream(t=>t.destroyed)}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,st.Ig)(t),this._syncChipsState()}get empty(){return 0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(t){this._explicitRole=t}get focused(){return this._hasFocusedChip()}constructor(t,n,a){super(t),this._elementRef=t,this._changeDetectorRef=n,this._dir=a,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new D.x,this._defaultRole="presentation",this._disabled=!1,this._explicitRole=null,this._chipActions=new e.n_E}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(t=>t._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(t=>{t.disabled=this._disabled,t._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(t){this._originatesFromChip(t)&&this._keyManager.onKeydown(t)}_isValidIndex(t){return t>=0&&t{this.tabIndex=t,this._changeDetectorRef.markForCheck()}))}_getChipStream(t){return this._chips.changes.pipe((0,N.O)(null),(0,bs.w)(()=>(0,Ye.T)(...this._chips.map(t))))}_originatesFromChip(t){let n=t.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((0,N.O)(this._chips)).subscribe(t=>{const n=[];t.forEach(a=>a._getActions().forEach(l=>n.push(l))),this._chipActions.reset(n),this._chipActions.notifyOnChanges()}),this._keyManager=new g.Em(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(t=>this._skipPredicate(t)),this.chipFocusChanges.pipe((0,qi.R)(this._destroyed)).subscribe(({chip:t})=>{const n=t._getSourceAction(document.activeElement);n&&this._keyManager.updateActiveItem(n)}),this._dir?.change.pipe((0,qi.R)(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t))}_skipPredicate(t){return!t.isInteractive||t.disabled}_trackChipSetChanges(){this._chips.changes.pipe((0,N.O)(null),(0,qi.R)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe((0,qi.R)(this._destroyed)).subscribe(t=>{const a=this._chips.toArray().indexOf(t.chip);this._isValidIndex(a)&&t.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=a)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const t=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),n=this._chips.toArray()[t];n.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():n.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(S.Is,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-chip-set"]],contentQueries:function(t,n,a){if(1&t&&e.Suo(a,dc,5),2&t){let l;e.iGM(l=e.CRH())&&(n._chips=l)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(t,n){1&t&&e.NdJ("keydown",function(l){return n._handleKeydown(l)}),2&t&&e.uIk("role",n.role)},inputs:{disabled:"disabled",role:"role"},features:[e.qOj],ngContentSelectors:eg,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(t,n){1&t&&(e.F$t(),e.TgZ(0,"span",0),e.Hsn(1),e.qZA())},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}),r})();class j1{constructor(i,t){this.source=i,this.value=t}}const Km={provide:ga,useExisting:(0,e.Gpc)(()=>ag),multi:!0};let ag=(()=>{class r extends nu{constructor(){super(...arguments),this._onTouched=()=>{},this._onChange=()=>{},this._defaultRole="listbox",this._defaultOptions=(0,e.f3M)(ig,{optional:!0}),this._multiple=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.compareWith=(t,n)=>t===n,this._required=!1,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this.change=new e.vpe}get multiple(){return this._multiple}set multiple(t){this._multiple=(0,st.Ig)(t),this._syncListboxProperties()}get selected(){const t=this._chips.toArray().filter(n=>n.selected);return this.multiple?t:t[0]}get selectable(){return this._selectable}set selectable(t){this._selectable=(0,st.Ig)(t),this._syncListboxProperties()}get required(){return this._required}set required(t){this._required=(0,st.Ig)(t)}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=(0,st.Ig)(t),this._syncListboxProperties()}get chipSelectionChanges(){return this._getChipStream(t=>t.selectionChange)}get chipBlurChanges(){return this._getChipStream(t=>t._onBlur)}get value(){return this._value}set value(t){this.writeValue(t),this._value=t}ngAfterContentInit(){void 0!==this._pendingInitialValue&&Promise.resolve().then(()=>{this._setSelectionByValue(this._pendingInitialValue,!1),this._pendingInitialValue=void 0}),this._chips.changes.pipe((0,N.O)(null),(0,qi.R)(this._destroyed)).subscribe(()=>{this._syncListboxProperties()}),this.chipBlurChanges.pipe((0,qi.R)(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe((0,qi.R)(this._destroyed)).subscribe(t=>{this.multiple||this._chips.forEach(n=>{n!==t.source&&n._setSelectedState(!1,!1,!1)}),t.isUserInput&&this._propagateChanges()})}focus(){if(this.disabled)return;const t=this._getFirstSelectedChip();t&&!t.disabled?t.focus():this._chips.length>0?this._keyManager.setFirstItemActive():this._elementRef.nativeElement.focus()}writeValue(t){this._chips?this._setSelectionByValue(t,!1):null!=t&&(this._pendingInitialValue=t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_setSelectionByValue(t,n=!0){this._clearSelection(),Array.isArray(t)?t.forEach(a=>this._selectValue(a,n)):this._selectValue(t,n)}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_keydown(t){t.keyCode===A.Mf&&super._allowFocusEscape()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck()}_propagateChanges(){let t=null;t=Array.isArray(this.selected)?this.selected.map(n=>n.value):this.selected?this.selected.value:void 0,this._value=t,this.change.emit(new j1(this,t)),this._onChange(t),this._changeDetectorRef.markForCheck()}_clearSelection(t){this._chips.forEach(n=>{n!==t&&n.deselect()})}_selectValue(t,n){const a=this._chips.find(l=>null!=l.value&&this.compareWith(l.value,t));return a&&(n?a.selectViaInteraction():a.select()),a}_syncListboxProperties(){this._chips&&Promise.resolve().then(()=>{this._chips.forEach(t=>{t._chipListMultiple=this.multiple,t.chipListSelectable=this._selectable,t._chipListHideSingleSelectionIndicator=this.hideSingleSelectionIndicator,t._changeDetectorRef.markForCheck()})})}_getFirstSelectedChip(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected}_skipPredicate(t){return!t.isInteractive}}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-chip-listbox"]],contentQueries:function(t,n,a){if(1&t&&e.Suo(a,ch,5),2&t){let l;e.iGM(l=e.CRH())&&(n._chips=l)}},hostAttrs:[1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(t,n){1&t&&e.NdJ("focus",function(){return n.focus()})("blur",function(){return n._blur()})("keydown",function(l){return n._keydown(l)}),2&t&&(e.Ikx("tabIndex",n.empty?-1:n.tabIndex),e.uIk("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),e.ekj("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:[e._Bn([Km]),e.qOj],ngContentSelectors:eg,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(t,n){1&t&&(e.F$t(),e.TgZ(0,"span",0),e.Hsn(1),e.qZA())},styles:[tg],encapsulation:2,changeDetection:0}),r})();class V1{constructor(i,t){this.source=i,this.value=t}}class Z1 extends nu{constructor(i,t,n,a,l,v,I){super(i,t,n),this._defaultErrorStateMatcher=a,this._parentForm=l,this._parentFormGroup=v,this.ngControl=I,this.stateChanges=new D.x}}const og=(0,ae.FD)(Z1);let dh=(()=>{class r extends og{get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=(0,st.Ig)(t),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(t){this._placeholder=t,this.stateChanges.next()}get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(so.required)??!1}set required(t){this._required=(0,st.Ig)(t),this.stateChanges.next()}get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(t){this._value=t}get chipBlurChanges(){return this._getChipStream(t=>t._onBlur)}constructor(t,n,a,l,v,I,W){super(t,n,a,I,l,v,W),this.controlType="mat-chip-grid",this._defaultRole="grid",this._ariaDescribedbyIds=[],this._onTouched=()=>{},this._onChange=()=>{},this._value=[],this.change=new e.vpe,this.valueChange=new e.vpe,this.ngControl&&(this.ngControl.valueAccessor=this)}ngAfterContentInit(){this.chipBlurChanges.pipe((0,qi.R)(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),(0,Ye.T)(this.chipFocusChanges,this._chips.changes).pipe((0,qi.R)(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit()}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(t){this._chipInput=t,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(t){!this.disabled&&!this._originatesFromChip(t)&&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(t){this._ariaDescribedbyIds=t,this._chipInput?.setDescribedByIds(t)}writeValue(t){this._value=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this.stateChanges.next()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(t){t.keyCode===A.Mf?this._chipInput.focused&&(0,A.Vb)(t,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(t.preventDefault(),this._keyManager.activeItem?this._keyManager.setActiveItem(this._keyManager.activeItem):this._focusLastChip()):super._allowFocusEscape():this._chipInput.focused||super._handleKeydown(t),this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){const t=this._chips.length?this._chips.toArray().map(n=>n.value):[];this._value=t,this.change.emit(new V1(this,t)),this.valueChange.emit(t),this._onChange(t),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(S.Is,8),e.Y36(rl,8),e.Y36(As,8),e.Y36(ae.rD),e.Y36(Ts,10))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-chip-grid"]],contentQueries:function(t,n,a){if(1&t&&e.Suo(a,rg,5),2&t){let l;e.iGM(l=e.CRH())&&(n._chips=l)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(t,n){1&t&&e.NdJ("focus",function(){return n.focus()})("blur",function(){return n._blur()}),2&t&&(e.Ikx("tabIndex",n._chips&&0===n._chips.length?-1:n.tabIndex),e.uIk("role",n.role)("aria-disabled",n.disabled.toString())("aria-invalid",n.errorState),e.ekj("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:[e._Bn([{provide:Bd,useExisting:r}]),e.qOj],ngContentSelectors:eg,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(t,n){1&t&&(e.F$t(),e.TgZ(0,"span",0),e.Hsn(1),e.qZA())},styles:[tg],encapsulation:2,changeDetection:0}),r})(),sg=0,lg=(()=>{class r{set chipGrid(t){t&&(this._chipGrid=t,this._chipGrid.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(t){this._addOnBlur=(0,st.Ig)(t)}get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(t){this._disabled=(0,st.Ig)(t)}get empty(){return!this.inputElement.value}constructor(t,n,a){this._elementRef=t,this._defaultOptions=n,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new e.vpe,this.placeholder="",this.id="mat-mdc-chip-list-input-"+sg++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement,a&&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(t){if(t){if(t.keyCode===A.ZH&&this._focusLastChipOnBackspace)return this._chipGrid._focusLastChip(),void t.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(t)}_keyup(t){!this._focusLastChipOnBackspace&&t.keyCode===A.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,t.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(t){(!t||this._isSeparatorKey(t))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),t?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}setDescribedByIds(t){const n=this._elementRef.nativeElement;t.length?n.setAttribute("aria-describedby",t.join(" ")):n.removeAttribute("aria-describedby")}_isSeparatorKey(t){return!(0,A.Vb)(t)&&new Set(this.separatorKeyCodes).has(t.keyCode)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(ig),e.Y36(rc,8))},r.\u0275dir=e.lG2({type:r,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(t,n){1&t&&e.NdJ("keydown",function(l){return n._keydown(l)})("keyup",function(l){return n._keyup(l)})("blur",function(){return n._blur()})("focus",function(){return n._focus()})("input",function(){return n._onInput()}),2&t&&(e.Ikx("id",n.id),e.uIk("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:[e.TTD]}),r})(),z1=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[ae.rD,{provide:ig,useValue:{separatorKeyCodes:[A.K5]}}],imports:[ae.BQ,F.ez,ae.si,ae.BQ]}),r})();function G1(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,", "),e.qZA())}const W1=function(r){return["/p",r]};function q1(r,i){if(1&r&&(e.TgZ(0,"span")(1,"a",1),e._uU(2),e.qZA(),e.YNc(3,G1,2,0,"span",2),e.qZA()),2&r){const t=i.$implicit,n=i.last;e.xp6(1),e.Q6J("routerLink",e.VKq(3,W1,t.pubkey)),e.xp6(1),e.Oqu(t.name),e.xp6(1),e.Q6J("ngIf",!n)}}class ru{constructor(i,t){this.profileService=i,this.utilities=t,this.keys=[],this.profiles=[]}ngOnInit(){var i=this;return(0,ve.Z)(function*(){i.profiles=[];for(let t=0;t0),e.xp6(1),e.Q6J("keys",t)}}function Xc(r,i){if(1&r&&e.YNc(0,dg,3,2,"div",18),2&r){const t=e.oxw(2);e.Q6J("ngIf",t.repliesTo(t.event))}}function O2(r,i){if(1&r&&(e.TgZ(0,"mat-chip"),e._uU(1),e.qZA()),2&r){const t=i.$implicit;e.xp6(1),e.hij("#",t,"")}}const N2=function(r){return{"event-content-big":r}};function au(r,i){if(1&r&&(e.TgZ(0,"div",1)(1,"span",2),e.YNc(2,rb,4,5,"ng-container",3),e.YNc(3,ab,2,0,"span",4),e.qZA(),e.YNc(4,Xc,1,1,"ng-template",5),e.TgZ(5,"mat-chip-set",6),e.YNc(6,O2,2,1,"mat-chip",3),e.qZA()()),2&r){const t=e.oxw();e.xp6(1),e.Q6J("ngClass",e.VKq(5,N2,t.bigSize)),e.xp6(1),e.Q6J("ngForOf",t.dynamicText),e.xp6(1),e.Q6J("ngIf",t.event.contentCut),e.xp6(1),e.Q6J("ngIf",t.displayRepliesTo),e.xp6(2),e.Q6J("ngForOf",t.hashtags(t.event.tags))}}class Ps{constructor(i,t,n,a,l,v,I){this.eventService=i,this.contentService=t,this.mediaService=n,this.optionsService=a,this.profileService=l,this.utilities=v,this.dialog=I,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(i,t){this.mediaService.enque({artist:"",artwork:"/assets/logos/youtube.png",title:i,source:i,type:t})}isString(i){return"string"==typeof i}isNewline(i){return"newline"==i.token}getTooltip(i){return i.tooltip||""}getWord(i){return i.word}ngOnInit(){var i=this;return(0,ve.Z)(function*(){i.event&&(i.dynamicText=i.toDynamicText(i.event),i.isFollowing=i.profileService.isFollowing(i.event.pubkey))})()}expandImage(i){this.dialog.open(Ll,{data:{picture:i}})}expandImageUrl(i){this.dialog.open(Ll,{data:{picture:i}})}hashtags(i){const t=i.filter(n=>"t"===n[0]).map(n=>n[1]);return 0==t.length?null:t}repliesTo(i){if(!i)return null;let t=i.tags.filter(a=>"p"===a[0]).map(a=>a[1]);return t=t.filter(a=>a!==i.pubkey),0==t.length?null:t.filter((a,l)=>t.indexOf(a)===l)}getDisplayName(i){const t=this.profileService.getCachedProfile(i);return t?this.utilities.getProfileDisplayName(t):this.utilities.getShortenedIdentifier(i)}replyTo(i,t){return i?i.tags[t][1]:void 0}isImage(i){for(let t=0;t-1||i.indexOf("https://www.youtube.com")>-1||i.indexOf("https://youtube.com")>-1}isTidal(i){return!!this.optionsService.values.enableTidal&&i.indexOf("https://tidal.com")>-1}isSpotify(i){return!!this.optionsService.values.enableSpotify&&i.indexOf("https://open.spotify.com")>-1}toDynamicText(i){let t=i.content;t=t.replaceAll(/\p{Cf}/gu,""),t.length<9&&(this.bigSize=!0);const n=[],a=t.split(/\r?\n/),l=[];for(let I=0;I""!=ye),G.push("
"),l.push(...G)}let v=0;for(const I of l){let W=this.contentService.getKeyword(I.toLowerCase());if(W){if("username"==W.token){let G=Number(I.replace("#[","").replace("]","")),ye=i.tags;W.word=ye.length>G?ye[G][1]:I}v=n.push(W)}else if(I.startsWith("http://")||I.startsWith("https://"))if(this.isImage(I))v=n.push({safeWord:this.utilities.sanitizeUrlAndBypass(I),word:I,token:"image"});else if(this.isVideo(I))v=n.push({safeWord:this.utilities.sanitizeUrlAndBypass(I),word:I,token:"video"});else if(this.isAudio(I))v=n.push({safeWord:this.utilities.sanitizeUrlAndBypass(I),word:I,token:"audio"});else if(this.isYouTube(I)){const G=[...I.matchAll(this.contentService.regexpYouTube)];v=n.push(G.length>0?{safeWord:this.utilities.bypassFrameUrl(`https://www.youtube.com/embed/${G[0][1]}`),word:`https://www.youtube.com/embed/${G[0][1]}`,token:"youtube"}:{word:I,token:"link"})}else if(this.isSpotify(I))v=n.push({safeWord:this.utilities.sanitizeUrlAndBypassFrame(I.replace("open.spotify.com/","open.spotify.com/embed/")),word:I,token:"spotify"});else if(this.isTidal(I))if(I.startsWith("https://tidal.com/browse/track/")){const G=I.replace("tidal.com/browse/track/","embed.tidal.com/tracks/");v=n.push({safeWord:this.utilities.sanitizeUrlAndBypassFrame(G),word:I,token:"tidal"})}else if(I.startsWith("https://tidal.com/track/")){const G=I.replace("tidal.com/track/","embed.tidal.com/tracks/");v=n.push({safeWord:this.utilities.sanitizeUrlAndBypassFrame(G),word:I,token:"tidal"})}else v=n.push({word:I,token:"link"});else v=n.push({word:I,token:"link"});else n[v]?n[v]+=I:n[v]=I}return n}}Ps.\u0275fac=function(i){return new(i||Ps)(e.Y36(Ar),e.Y36(Rl),e.Y36(cc),e.Y36(Rr.I),e.Y36(Bn),e.Y36(Pi.dU),e.Y36(vi))},Ps.\u0275cmp=e.Xpm({type:Ps,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"],["sandbox","allow-scripts allow-same-origin","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"],["sandbox","allow-scripts allow-same-origin allow-presentation","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(i,t){1&i&&e.YNc(0,au,7,7,"div",0),2&i&&e.Q6J("ngIf",t.event)},dependencies:[F.mk,F.sg,F.O5,F.RF,F.n9,Ht.rH,Mt.RK,Pp,ar,eo,dc,nu,ru],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}"]});var uh=y(7957);class os{constructor(i){this.storage=i,this.labels=[]}getName(i){const t=this.labels.find(n=>n.id==i);return t?t.name:""}saveLabel(i){var t=this;return(0,ve.Z)(function*(){if(!i)return;let n={name:i,id:Mc()};yield t.storage.storage.putLabel(n),t.labels.push(n),t.sort()})()}sort(){this.labels=this.labels.sort((i,t)=>i.name?.toLowerCase()null!=t.labels&&t.labels.some(n=>i.includes(n)))}wipe(){var i=this;return(0,ve.Z)(function*(){yield i.db.storage.deleteNotes()})()}}Bs.\u0275fac=function(i){return new(i||Bs)(e.LFG(Fi))},Bs.\u0275prov=e.Yz7({token:Bs,factory:Bs.\u0275fac,providedIn:"root"});var ug=y(3101),ob=y(7272),vn=y(5032),hg=y(9718);function sb(r,i){return i?t=>(0,ob.z)(i.pipe((0,Se.q)(1),function L2(){return(0,Ds.e)((r,i)=>{r.subscribe((0,oo.x)(i,vn.Z))})}()),t.pipe(sb(r))):(0,za.z)((t,n)=>(0,Cd.Xf)(r(t,n)).pipe((0,Se.q)(1),(0,hg.h)(t)))}function Pl(r,i=Il.z){const t=(0,il.H)(r,i);return sb(()=>t)}const R2=["mat-menu-item",""];function $m(r,i){1&r&&(e.O4$(),e.TgZ(0,"svg",3),e._UZ(1,"polygon",4),e.qZA())}const Xm=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],ya=["mat-icon, [matMenuItemIcon]","*"];function Fk(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",0),e.NdJ("keydown",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._handleKeydown(a))})("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.closed.emit("click"))})("@transformMenu.start",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._onAnimationStart(a))})("@transformMenu.done",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._onAnimationDone(a))}),e.TgZ(1,"div",1),e.Hsn(2),e.qZA()()}if(2&r){const t=e.oxw();e.Q6J("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),e.uIk("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}const lb=["*"],ef=new e.OlP("MAT_MENU_PANEL"),P2=(0,ae.Kr)((0,ae.Id)(class{}));let Ys=(()=>{class r extends P2{constructor(t,n,a,l,v){super(),this._elementRef=t,this._document=n,this._focusMonitor=a,this._parentMenu=l,this._changeDetectorRef=v,this.role="menuitem",this._hovered=new D.x,this._focused=new D.x,this._highlighted=!1,this._triggersSubmenu=!1,l?.addItem?.(this)}focus(t,n){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,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(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const t=this._elementRef.nativeElement.cloneNode(!0),n=t.querySelectorAll("mat-icon, .material-icons");for(let a=0;a enter",(0,xe.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,xe.oB)({opacity:1,transform:"scale(1)"}))),(0,xe.eR)("* => void",(0,xe.jt)("100ms 25ms linear",(0,xe.oB)({opacity:0})))]),fadeInItems:(0,xe.X$)("fadeInItems",[(0,xe.SB)("showing",(0,xe.oB)({opacity:1})),(0,xe.eR)("void => *",[(0,xe.oB)({opacity:0}),(0,xe.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let j2=0;const hh=new e.OlP("mat-menu-default-options",{providedIn:"root",factory:function cb(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let ou=(()=>{class r{get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=(0,st.Ig)(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=(0,st.Ig)(t)}set panelClass(t){const n=this._previousPanelClass;n&&n.length&&n.split(" ").forEach(a=>{this._classList[a]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(a=>{this._classList[a]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}constructor(t,n,a,l){this._elementRef=t,this._ngZone=n,this._defaultOptions=a,this._changeDetectorRef=l,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new e.n_E,this._classList={},this._panelAnimationState="void",this._animationDone=new D.x,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new e.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+j2++}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new g.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,N.O)(this._directDescendantItems),(0,bs.w)(t=>(0,Ye.T)(...t.map(n=>n._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t)),this._directDescendantItems.changes.subscribe(t=>{const n=this._keyManager;if("enter"===this._panelAnimationState&&n.activeItem?._hasFocus()){const a=t.toArray(),l=Math.max(0,Math.min(a.length-1,n.activeItemIndex||0));a[l]&&!a[l].disabled?n.setActiveItem(l):n.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,N.O)(this._directDescendantItems),(0,bs.w)(n=>(0,Ye.T)(...n.map(a=>a._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const n=t.keyCode,a=this._keyManager;switch(n){case A.hY:(0,A.Vb)(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case A.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case A.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(n===A.LH||n===A.JH)&&a.setFocusOrigin("keyboard"),void a.onKeydown(t)}t.stopPropagation()}focusFirstItem(t="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,Se.q)(1)).subscribe(()=>{let n=null;if(this._directDescendantItems.length&&(n=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!n||!n.contains(document.activeElement)){const a=this._keyManager;a.setFocusOrigin(t).setFirstItemActive(),!a.activeItem&&n&&n.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const n=Math.min(this._baseElevation+t,24),a=`${this._elevationPrefix}${n}`,l=Object.keys(this._classList).find(v=>v.startsWith(this._elevationPrefix));(!l||l===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[a]=!0,this._previousElevation=a)}setPositionClasses(t=this.xPosition,n=this.yPosition){const a=this._classList;a["mat-menu-before"]="before"===t,a["mat-menu-after"]="after"===t,a["mat-menu-above"]="above"===n,a["mat-menu-below"]="below"===n,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,N.O)(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(n=>n._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(hh),e.Y36(e.sBO))},r.\u0275dir=e.lG2({type:r,contentQueries:function(t,n,a){if(1&t&&(e.Suo(a,U2,5),e.Suo(a,Ys,5),e.Suo(a,Ys,4)),2&t){let l;e.iGM(l=e.CRH())&&(n.lazyContent=l.first),e.iGM(l=e.CRH())&&(n._allItems=l),e.iGM(l=e.CRH())&&(n.items=l)}},viewQuery:function(t,n){if(1&t&&e.Gf(e.Rgc,5),2&t){let a;e.iGM(a=e.CRH())&&(n.templateRef=a.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"}}),r})(),fc=(()=>{class r extends ou{constructor(t,n,a,l){super(t,n,a,l),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(hh),e.Y36(e.sBO))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,n){2&t&&e.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[e._Bn([{provide:ef,useExisting:r}]),e.qOj],ngContentSelectors:lb,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(t,n){1&t&&(e.F$t(),e.YNc(0,Fk,3,6,"ng-template"))},dependencies:[F.mk],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:[mc.transformMenu,mc.fadeInItems]},changeDetection:0}),r})();const db=new e.OlP("mat-menu-scroll-strategy"),fh={provide:db,deps:[_.aV],useFactory:function mh(r){return()=>r.scrollStrategies.reposition()}},ub=(0,x.i$)({passive:!0});let V2=(()=>{class r{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.subscribe(n=>{this._destroyMenu(n),("click"===n||"tab"===n)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(n)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(t,n,a,l,v,I,W,G,ye){this._overlay=t,this._element=n,this._viewContainerRef=a,this._menuItemInstance=I,this._dir=W,this._focusMonitor=G,this._ngZone=ye,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=yo.w0.EMPTY,this._hoverSubscription=yo.w0.EMPTY,this._menuCloseSubscription=yo.w0.EMPTY,this._changeDetectorRef=(0,e.f3M)(e.sBO),this._handleTouchStart=Ge=>{(0,g.yG)(Ge)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new e.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new e.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=l,this._parentMaterialMenu=v instanceof ou?v:void 0,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,ub)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,ub),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 t=this.menu;if(this._menuOpen||!t)return;const n=this._createOverlay(t),a=n.getConfig(),l=a.positionStrategy;this._setPosition(t,l),a.hasBackdrop=null==t.hasBackdrop?!this.triggersSubmenu():t.hasBackdrop,n.attach(this._getPortal(t)),t.lazyContent&&t.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(t),t instanceof ou&&(t._startAnimation(),t._directDescendantItems.changes.pipe((0,qi.R)(t.close)).subscribe(()=>{l.withLockedPosition(!1).reapplyLastPosition(),l.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(t,n){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,n):this._element.nativeElement.focus(n)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(t){if(!this._overlayRef||!this.menuOpen)return;const n=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===t||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,n instanceof ou?(n._resetAnimation(),n.lazyContent?n._animationDone.pipe((0,Qe.h)(a=>"void"===a.toState),(0,Se.q)(1),(0,qi.R)(n.lazyContent._attached)).subscribe({next:()=>n.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),n?.lazyContent?.detach())}_initMenu(t){t.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,t.direction=this.dir,this._setMenuElevation(t),t.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(t){if(t.setElevation){let n=0,a=t.parentMenu;for(;a;)n++,a=a.parentMenu;t.setElevation(n)}}_setIsMenuOpen(t){t!==this._menuOpen&&(this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(t),this._changeDetectorRef.markForCheck())}_createOverlay(t){if(!this._overlayRef){const n=this._getOverlayConfig(t);this._subscribeToPositions(t,n.positionStrategy),this._overlayRef=this._overlay.create(n),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(t){return new _.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:t.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:t.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t,n){t.setPositionClasses&&n.positionChanges.subscribe(a=>{const l="start"===a.connectionPair.overlayX?"after":"before",v="top"===a.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>t.setPositionClasses(l,v)):t.setPositionClasses(l,v)})}_setPosition(t,n){let[a,l]="before"===t.xPosition?["end","start"]:["start","end"],[v,I]="above"===t.yPosition?["bottom","top"]:["top","bottom"],[W,G]=[v,I],[ye,Ge]=[a,l],yt=0;if(this.triggersSubmenu()){if(Ge=a="before"===t.xPosition?"start":"end",l=ye="end"===a?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const It=this._parentMaterialMenu.items.first;this._parentInnerPadding=It?It._getHostElement().offsetTop:0}yt="bottom"===v?this._parentInnerPadding:-this._parentInnerPadding}}else t.overlapTrigger||(W="top"===v?"bottom":"top",G="top"===I?"bottom":"top");n.withPositions([{originX:a,originY:W,overlayX:ye,overlayY:v,offsetY:yt},{originX:l,originY:W,overlayX:Ge,overlayY:v,offsetY:yt},{originX:a,originY:G,overlayX:ye,overlayY:I,offsetY:-yt},{originX:l,originY:G,overlayX:Ge,overlayY:I,offsetY:-yt}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),n=this._overlayRef.detachments(),a=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,U.of)(),l=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,Qe.h)(v=>v!==this._menuItemInstance),(0,Qe.h)(()=>this._menuOpen)):(0,U.of)();return(0,Ye.T)(t,a,l,n)}_handleMousedown(t){(0,g.X6)(t)||(this._openedBy=0===t.button?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const n=t.keyCode;(n===A.K5||n===A.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(n===A.SV&&"ltr"===this.dir||n===A.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,Qe.h)(t=>t===this._menuItemInstance&&!t.disabled),Pl(0,ug.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof ou&&this.menu._isAnimating?this.menu._animationDone.pipe((0,Se.q)(1),Pl(0,ug.E),(0,qi.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(t){return(!this._portal||this._portal.templateRef!==t.templateRef)&&(this._portal=new k.UE(t.templateRef,this._viewContainerRef)),this._portal}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(_.aV),e.Y36(e.SBq),e.Y36(e.s_b),e.Y36(db),e.Y36(ef,8),e.Y36(Ys,10),e.Y36(S.Is,8),e.Y36(g.tE),e.Y36(e.R0b))},r.\u0275dir=e.lG2({type:r,hostVars:3,hostBindings:function(t,n){1&t&&e.NdJ("click",function(l){return n._handleClick(l)})("mousedown",function(l){return n._handleMousedown(l)})("keydown",function(l){return n._handleKeydown(l)}),2&t&&e.uIk("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"}}),r})(),su=(()=>{class r extends V2{}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[e.qOj]}),r})(),hb=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[fh],imports:[F.ez,ae.si,ae.BQ,_.U8,Mr.ZD,ae.BQ]}),r})();function mb(r,i){if(1&r&&(e.TgZ(0,"button",13)(1,"mat-icon",14),e._uU(2,"more_vert"),e.qZA()()),2&r){e.oxw();const t=e.MAs(3);e.Q6J("matMenuTriggerFor",t)}}function Z2(r,i){if(1&r&&(e.TgZ(0,"button",15)(1,"mat-icon"),e._uU(2,"more_vert"),e.qZA()()),2&r){e.oxw();const t=e.MAs(3);e.Q6J("matMenuTriggerFor",t)}}function fb(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",6),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.saveNote())}),e.TgZ(1,"mat-icon"),e._uU(2,"bookmark_add"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Save Note"),e.qZA()()}if(2&r){e.oxw();const t=e.MAs(32);e.Q6J("matMenuTriggerFor",t)}}function z2(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.removeNote())}),e.TgZ(1,"mat-icon"),e._uU(2,"bookmark_remove"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Remove from Notes"),e.qZA()()}}function G2(r,i){if(1&r&&(e.TgZ(0,"button",7)(1,"mat-icon"),e._uU(2,"new_label"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Set Label"),e.qZA()()),2&r){e.oxw();const t=e.MAs(32);e.Q6J("matMenuTriggerFor",t)}}function Tk(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.copyNoteId(a.event.id))}),e.TgZ(1,"mat-icon"),e._uU(2,"content_copy"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Note ID (note)"),e.qZA()()}}function Ak(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.copyNoteEventId(a.event.id))}),e.TgZ(1,"mat-icon"),e._uU(2,"content_copy"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Note ID (nevent)"),e.qZA()()}}function Sk(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.copy(a.event.id))}),e.TgZ(1,"mat-icon"),e._uU(2,"content_copy"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Note ID (hex)"),e.qZA()()}}function Ik(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.copyNoteUrl(a.event.id))}),e.TgZ(1,"mat-icon"),e._uU(2,"content_copy"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Note URL (nevent)"),e.qZA()()}}function pb(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.copyEvent())}),e.TgZ(1,"mat-icon"),e._uU(2,"content_copy"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Note Data"),e.qZA()()}}function tf(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){const l=e.CHM(t).$implicit,v=e.oxw();return e.KtG(v.setLabel(l.id))}),e.TgZ(1,"mat-icon"),e._uU(2,"label"),e.qZA(),e.TgZ(3,"span"),e._uU(4),e.qZA()()}if(2&r){const t=i.$implicit;e.xp6(4),e.Oqu(t.name)}}class ss{constructor(i,t,n,a,l){this.labelService=i,this.snackBar=t,this.profileService=n,this.notesService=a,this.utilities=l,this.fab=!1,this.pubkey=""}saveNote(){var i=this;return(0,ve.Z)(function*(){if(!i.event)return;const t=i.event;t.saved=Math.floor(Date.now()/1e3),yield i.notesService.putNote(t)})()}removeNote(){var i=this;return(0,ve.Z)(function*(){i.event&&(console.log("DELETE EVENT:",i.event),yield i.notesService.deleteNote(i.event.id))})()}follow(i){var t=this;return(0,ve.Z)(function*(){console.log("FOLLOW:",t.profile),t.profile&&(1!=t.profile.status?yield t.profileService.follow(t.profile.pubkey,i):yield t.profileService.setCircle(t.profile.pubkey,i))})()}getNpub(i){return this.utilities.getNostrIdentifier(i)}copyEvent(){this.copy(JSON.stringify(this.event))}copyProfileUrl(i){this.copy(`web+nostr:npub:${yr.npubEncode(i)}`)}copyNoteId(i){this.copy(yr.noteEncode(i))}setLabel(i){var t=this;return(0,ve.Z)(function*(){if(!t.event)return;let n=t.event;n.labels=[],n.labels.push(i),yield t.notesService.putNote(t.event)})()}copyNoteEventId(i){this.copy(yr.neventEncode({id:i}))}copyNoteUrl(i){this.copy(`web+nostr:nevent:${yr.neventEncode({id:i})}`)}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(i){(0,uh.v)(i),this.snackBar.open("Copied to clipboard","Hide",{duration:2500,horizontalPosition:"center",verticalPosition:"bottom"})}unfollow(){var i=this;return(0,ve.Z)(function*(){i.profile&&(yield i.profileService.unfollow(i.profile.pubkey))})()}mute(){var i=this;return(0,ve.Z)(function*(){i.profile&&(yield i.profileService.mute(i.profile.pubkey))})()}unmute(){var i=this;return(0,ve.Z)(function*(){i.profile&&(yield i.profileService.unmute(i.profile.pubkey))})()}block(){var i=this;return(0,ve.Z)(function*(){i.profile&&(yield i.profileService.block(i.profile.pubkey))})()}unblock(){var i=this;return(0,ve.Z)(function*(){i.profile&&(yield i.profileService.unblock(i.profile.pubkey))})()}ngOnDestroy(){}ngOnInit(){var i=this;return(0,ve.Z)(function*(){i.event?i.pubkey=i.event.pubkey:i.profile&&(i.pubkey=i.profile.pubkey)})()}}function W2(r,i){if(1&r&&(e.TgZ(0,"span",3),e._uU(1),e.qZA()),2&r){const t=e.oxw();e.Q6J("matTooltip",t.tooltip),e.xp6(1),e.Oqu(t.profileName)}}function gb(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.Oqu(t.profileName)}}ss.\u0275fac=function(i){return new(i||ss)(e.Y36(os),e.Y36(ko.ux),e.Y36(Bn),e.Y36(Bs),e.Y36(Pi.dU))},ss.\u0275cmp=e.Xpm({type:ss,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(i,t){if(1&i&&(e.YNc(0,mb,3,1,"button",0),e.YNc(1,Z2,3,1,"button",1),e.TgZ(2,"mat-menu",null,2),e.YNc(4,fb,5,1,"button",3),e.YNc(5,z2,5,0,"button",4),e.YNc(6,G2,5,1,"button",5),e.TgZ(7,"button",6),e.NdJ("click",function(){return t.copyNoteId(t.event.id)}),e.TgZ(8,"mat-icon"),e._uU(9,"copy_all"),e.qZA(),e.TgZ(10,"span"),e._uU(11,"Copy"),e.qZA()(),e.TgZ(12,"button",7)(13,"mat-icon"),e._uU(14,"ios_share"),e.qZA(),e.TgZ(15,"span"),e._uU(16,"Share"),e.qZA()()(),e.TgZ(17,"mat-menu",null,8),e.YNc(19,Tk,5,0,"button",4),e.YNc(20,Ak,5,0,"button",4),e.YNc(21,Sk,5,0,"button",4),e.YNc(22,Ik,5,0,"button",4),e.YNc(23,pb,5,0,"button",4),e.qZA(),e.TgZ(24,"mat-menu",null,9)(26,"button",10),e.NdJ("click",function(){return t.copy("https://notes.blockcore.net/e/"+t.event.id)}),e.TgZ(27,"mat-icon"),e._uU(28,"content_copy"),e.qZA(),e.TgZ(29,"span"),e._uU(30,"Note URL"),e.qZA()()(),e.TgZ(31,"mat-menu",null,11),e.YNc(33,tf,5,1,"button",12),e.qZA()),2&i){const n=e.MAs(18),a=e.MAs(25);e.Q6J("ngIf",!t.fab),e.xp6(1),e.Q6J("ngIf",t.fab),e.xp6(3),e.Q6J("ngIf",t.event&&!t.event.saved),e.xp6(1),e.Q6J("ngIf",t.event&&t.event.saved),e.xp6(1),e.Q6J("ngIf",t.event&&t.event.saved),e.xp6(1),e.Q6J("matMenuTriggerFor",n),e.xp6(5),e.Q6J("matMenuTriggerFor",a),e.xp6(7),e.Q6J("ngIf",t.event),e.xp6(1),e.Q6J("ngIf",t.event),e.xp6(1),e.Q6J("ngIf",t.event),e.xp6(1),e.Q6J("ngIf",t.event),e.xp6(1),e.Q6J("ngIf",t.event),e.xp6(10),e.Q6J("ngForOf",t.labelService.labels)}},dependencies:[F.sg,F.O5,Mt.RK,Mt.nh,ar,fc,Ys,su],encapsulation:2});const ph=function(r){return["/p",r]};class ed{constructor(i,t,n){this.db=i,this.profiles=t,this.utilities=n,this.pubkey="",this.profileName="",this.tooltip=""}ngOnInit(){var i=this;return(0,ve.Z)(function*(){const t=yield i.db.storage.getProfile(i.pubkey);i.profileName=t?t.display_name?t.display_name:t.name:i.utilities.getShortenedIdentifier(i.pubkey)})()}}function q2(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.hij(" ",t.notification.message,"")}}ed.\u0275fac=function(i){return new(i||ed)(e.Y36(Fi),e.Y36(Bn),e.Y36(Pi.dU))},ed.\u0275cmp=e.Xpm({type:ed,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(i,t){1&i&&(e.TgZ(0,"a",0),e.YNc(1,W2,2,2,"span",1),e.YNc(2,gb,2,1,"span",2),e.qZA()),2&i&&(e.Q6J("routerLink",e.VKq(3,ph,t.pubkey)),e.xp6(1),e.Q6J("ngIf",t.tooltip),e.xp6(1),e.Q6J("ngIf",!t.tooltip))},dependencies:[F.O5,Ht.rH,eo],encapsulation:2});const mg=function(r){return["/e",r]};function Q2(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1," replied to your "),e.TgZ(2,"a",2),e._uU(3,"note"),e.qZA(),e._uU(4,"."),e.qZA()),2&r){const t=e.oxw();e.xp6(2),e.Q6J("routerLink",e.VKq(1,mg,t.notification.id))}}function Ok(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1," started following you."),e.qZA())}function J2(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1," boosted your "),e.TgZ(2,"a",2),e._uU(3,"note"),e.qZA()()),2&r){const t=e.oxw();e.xp6(2),e.Q6J("routerLink",e.VKq(1,mg,t.notification.relatedId))}}function _b(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.TgZ(2,"a",2),e._uU(3,"note"),e.qZA(),e._uU(4,"."),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.hij(" reacted with ",t.notification.message," to your "),e.xp6(1),e.Q6J("routerLink",e.VKq(2,mg,t.notification.relatedId))}}class lu{}lu.\u0275fac=function(i){return new(i||lu)},lu.\u0275cmp=e.Xpm({type:lu,selectors:[["app-notification-label"]],inputs:{notification:"notification"},decls:6,vars:6,consts:[[3,"pubkey"],[4,"ngIf"],[3,"routerLink"]],template:function(i,t){1&i&&(e._UZ(0,"app-profile-name",0),e.YNc(1,q2,2,1,"span",1),e.YNc(2,Q2,5,3,"span",1),e.YNc(3,Ok,2,0,"span",1),e.YNc(4,J2,4,3,"span",1),e.YNc(5,_b,5,4,"span",1)),2&i&&(e.Q6J("pubkey",t.notification.pubkey),e.xp6(1),e.Q6J("ngIf",t.notification.kind>7),e.xp6(1),e.Q6J("ngIf",1==t.notification.kind),e.xp6(1),e.Q6J("ngIf",3==t.notification.kind),e.xp6(1),e.Q6J("ngIf",6==t.notification.kind),e.xp6(1),e.Q6J("ngIf",7==t.notification.kind))},dependencies:[F.O5,Ht.rH,ed],encapsulation:2});class ls{transform(i){return i?Oi.unix(i).fromNow():""}}ls.\u0275fac=function(i){return new(i||ls)},ls.\u0275pipe=e.Yjl({name:"ago",type:ls,pure:!0});const gh=["picker"];function K2(r,i){if(1&r&&e._UZ(0,"app-event-header",17),2&r){const t=i.$implicit;e.Q6J("listType","icon")("iconSize","thumbnail")("displayName",!1)("displayContent",!1)("profile",t)}}function bb(r,i){if(1&r&&(e.TgZ(0,"p"),e._UZ(1,"app-notification-label",22),e.qZA()),2&r){const t=i.$implicit;e.xp6(1),e.Q6J("notification",t)}}function $2(r,i){1&r&&(e.TgZ(0,"p",23),e._uU(1,"No activities"),e.qZA())}function yb(r,i){if(1&r&&(e.TgZ(0,"mat-card-content",18),e.YNc(1,bb,2,1,"p",19),e.YNc(2,$2,2,0,"p",20),e.TgZ(3,"div",12)(4,"button",21),e._uU(5,"View more"),e.qZA()()()),2&r){const t=i.ngIf;e.xp6(1),e.Q6J("ngForOf",t),e.xp6(1),e.Q6J("ngIf",0==t.length)}}const X2=function(r){return["/following",r]};function vb(r,i){if(1&r&&(e.TgZ(0,"div",24),e._uU(1),e._UZ(2,"br"),e.TgZ(3,"small"),e._uU(4),e.qZA(),e._UZ(5,"br"),e.TgZ(6,"button",25),e._uU(7,"View profiles"),e.qZA()()),2&r){const t=i.$implicit;e.xp6(1),e.hij(" ",t.name,""),e.xp6(3),e.Oqu(t.about),e.xp6(2),e.Q6J("routerLink",e.VKq(3,X2,t.pubkeyhex))}}function ex(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",26),e.NdJ("click",function(a){const v=e.CHM(t).$implicit,I=e.oxw();return e.KtG(I.navigation.openEvent(a,v))}),e.TgZ(1,"div",27)(2,"app-event-header",28)(3,"span",29),e._uU(4),e.ALo(5,"ago"),e.qZA(),e._UZ(6,"app-directory-icon",28),e.qZA(),e._UZ(7,"app-event-actions",30),e.qZA(),e._UZ(8,"app-content",30),e.qZA()}if(2&r){const t=i.$implicit;e.xp6(2),e.Q6J("pubkey",t.pubkey),e.xp6(2),e.Oqu(e.lcZ(5,5,t.created_at)),e.xp6(2),e.Q6J("pubkey",t.pubkey),e.xp6(1),e.Q6J("event",t),e.xp6(1),e.Q6J("event",t)}}class td{constructor(i,t,n,a,l,v,I,W,G,ye,Ge,yt,It,Yt,Gt,oi,ai){this.ui=i,this.db=t,this.appState=n,this.cd=a,this.options=l,this.dialog=v,this.navigation=I,this.profileService=W,this.validator=G,this.authService=ye,this.utilities=Ge,this.snackBar=yt,this.dataService=It,this.router=Yt,this.breakpointObserver=Gt,this.ngZone=oi,this.formBuilder=ai,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(i){this.note=`${this.note}${i.emoji.native}`,this.isEmojiPickerVisible=!1}onCancel(){this.note=""}postNote(){this.navigation.saveNote(this.note)}follow(i){var t=this;return(0,ve.Z)(function*(){i.checked&&(yield t.profileService.follow(i.pubkey,0,i))})()}trackByFn(i,t){return t.id}trackByProfile(i,t){return`${t.pubkey}${t.checked}`}trackByNoteId(i,t){return t.id}toggleDetails(){this.details=!this.details}import(i){this.dataService.enque({identifier:i,type:"Contacts"})}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}feedChanged(i,t){"public"===t?this.options.values.privateFeed=!this.options.values.publicFeed:this.options.values.publicFeed=!this.options.values.privateFeed}ngOnInit(){var i=this;return(0,ve.Z)(function*(){i.options.values.privateFeed=!0,i.formGroup=i.formBuilder.group({note:["",so.required],expiration:[""],dateControl:[]}),i.appState.updateTitle("Blockcore Notes"),i.appState.showBackButton=!1,i.appState.showLogo=!0,i.appState.actions=[{icon:"note_add",tooltip:"Create Note",click:()=>{i.navigation.createNote()}}],i.latestItems=yield i.db.storage.getEventsByCreatedAndKind(7,1),i.subscriptions.push(i.profileService.following$.subscribe(t=>{i.profileCount=75,i.profiles=t.slice(0,i.profileCount)}))})()}}td.\u0275fac=function(i){return new(i||td)(e.Y36(Gr),e.Y36(Fi),e.Y36(ce.i),e.Y36(e.sBO),e.Y36(Rr.I),e.Y36(vi),e.Y36(ra),e.Y36(Bn),e.Y36(vr.Y),e.Y36(Os.$),e.Y36(Pi.dU),e.Y36(ko.ux),e.Y36(Wr),e.Y36(Ht.F0),e.Y36(ke.Yg),e.Y36(e.R0b),e.Y36(O0))},td.\u0275cmp=e.Xpm({type:td,selectors:[["app-home"]],viewQuery:function(i,t){if(1&i&&e.Gf(gh,5),2&i){let n;e.iGM(n=e.CRH())&&(t.picker=n.first)}},decls:49,vars:9,consts:[[1,"page"],[1,"profile-line"],[3,"scrollbar-hidden","drag-scroll-y-disabled"],[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"],["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(i,t){1&i&&(e.TgZ(0,"div",0)(1,"div",1)(2,"drag-scroll",2),e.YNc(3,K2,1,5,"app-event-header",3),e.TgZ(4,"button",4)(5,"mat-icon"),e._uU(6,"more_horiz"),e.qZA()()()(),e.TgZ(7,"div",5)(8,"div",6)(9,"mat-card",7)(10,"mat-card-header")(11,"mat-card-title"),e._uU(12,"Activity Feed"),e.qZA()(),e.YNc(13,yb,6,2,"mat-card-content",8),e.ALo(14,"async"),e.qZA(),e.TgZ(15,"mat-card",7)(16,"mat-card-header")(17,"mat-card-title"),e._uU(18,"Following Lists"),e.qZA(),e.TgZ(19,"mat-card-subtitle"),e._uU(20,"Lists of users based upon topics you can add to your following list."),e.qZA()(),e.TgZ(21,"mat-card-content"),e.YNc(22,vb,8,5,"div",9),e.qZA()(),e.TgZ(23,"mat-card",7)(24,"mat-card-header")(25,"mat-card-title"),e._uU(26,"Prototype"),e.qZA()(),e.TgZ(27,"mat-card-content")(28,"p"),e._uU(29,"Blockcore Notes is currently in prototype quality stage. Reset the database often."),e.qZA(),e.TgZ(30,"p"),e._uU(31,"Please consider donating some Bitcoin using Geyser:"),e.qZA(),e.TgZ(32,"p")(33,"a",10),e._uU(34,"geyser.fund/blockcore"),e.qZA()()()()(),e.TgZ(35,"div",11),e._UZ(36,"br")(37,"br"),e.TgZ(38,"div",12)(39,"button",13)(40,"mat-icon"),e._uU(41,"note_add"),e.qZA(),e._uU(42," Write a Note "),e.qZA()(),e._UZ(43,"br")(44,"br"),e.YNc(45,ex,9,7,"mat-card",14),e.TgZ(46,"p",15)(47,"button",16),e._uU(48,"View following notes..."),e.qZA()()()()()),2&i&&(e.xp6(2),e.Q6J("scrollbar-hidden",!0)("drag-scroll-y-disabled",!0),e.xp6(1),e.Q6J("ngForOf",t.profiles),e.xp6(10),e.Q6J("ngIf",e.lcZ(14,7,t.ui.activityFeed$)),e.xp6(9),e.Q6J("ngForOf",t.lists),e.xp6(23),e.Q6J("ngForOf",t.latestItems)("ngForTrackBy",t.trackByFn))},dependencies:[F.sg,F.O5,Ht.rH,Mt.lW,Mt.RK,Mt.cs,Ia,Ns,sh,oh,Bm,ar,u1,as,vo,Ps,ss,lu,F.Ov,ls],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}drag-scroll[_ngcontent-%COMP%]{height:90px;width:100%}"]});class _h{constructor(i,t,n,a,l,v){this.relayService=i,this.ui=t,this.appState=n,this.db=a,this.authService=l,this.router=v}ngOnInit(){this.relayService.terminateAll(),this.ui.clearAll(),this.db.close(),this.authService.logout()}}function wb(r,i){if(1&r&&(e.TgZ(0,"mat-chip-option",4),e._uU(1),e.qZA()),2&r){const t=i.$implicit;e.Q6J("value",t.id),e.xp6(1),e.Oqu(t.name)}}function xb(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div")(1,"mat-form-field",5)(2,"input",6),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.label=a)}),e.qZA()(),e.TgZ(3,"button",7),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.saveLabel())}),e.TgZ(4,"mat-icon"),e._uU(5,"done"),e.qZA()(),e.TgZ(6,"button",8),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.hideNewLabel())}),e.TgZ(7,"mat-icon"),e._uU(8,"close"),e.qZA()()()}if(2&r){const t=e.oxw();e.xp6(2),e.Q6J("ngModel",t.label),e.xp6(1),e.Q6J("disabled",!t.label)}}function tx(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",8),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.addNewLabel())}),e.TgZ(1,"mat-icon"),e._uU(2,"add"),e.qZA()()}}_h.\u0275fac=function(i){return new(i||_h)(e.Y36(Sa),e.Y36(Gr),e.Y36(ce.i),e.Y36(Fi),e.Y36(Os.$),e.Y36(Ht.F0))},_h.\u0275cmp=e.Xpm({type:_h,selectors:[["app-logout"]],decls:1,vars:0,template:function(i,t){1&i&&e._uU(0,"Loading...")},encapsulation:2});class bh{constructor(i){this.labelService=i,this.selectionChanged=new e.vpe}addNewLabel(){this.showNewLabel=!0}hideNewLabel(){this.showNewLabel=!1,this.label=""}onChange(i){console.log(i),this.selectionChanged.emit(i.value)}saveLabel(){var i=this;return(0,ve.Z)(function*(){i.label&&(i.labelService.saveLabel(i.label),i.label="",i.showNewLabel=!1)})()}}bh.\u0275fac=function(i){return new(i||bh)(e.Y36(os))},bh.\u0275cmp=e.Xpm({type:bh,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(i,t){1&i&&(e.TgZ(0,"mat-chip-listbox",0),e.NdJ("change",function(a){return t.onChange(a)}),e.YNc(1,wb,2,2,"mat-chip-option",1),e.YNc(2,xb,9,2,"div",2),e.YNc(3,tx,3,0,"button",3),e.qZA()),2&i&&(e.Q6J("selectable",!0)("multiple",!0),e.xp6(1),e.Q6J("ngForOf",t.labelService.labels),e.xp6(1),e.Q6J("ngIf",t.showNewLabel),e.xp6(1),e.Q6J("ngIf",!t.showNewLabel))},dependencies:[F.sg,F.O5,Za,Aa,Mt.RK,ar,ag,ch,_a,ua,Ma]});class yh{constructor(i){this.labelService=i}transform(i){return i?this.labelService.getName(i):""}}function fg(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,", "),e.qZA())}function ix(r,i){if(1&r&&(e.TgZ(0,"span")(1,"strong"),e._uU(2),e.ALo(3,"label"),e.qZA(),e.YNc(4,fg,2,0,"span",1),e.qZA()),2&r){const t=i.$implicit,n=i.last;e.xp6(2),e.Oqu(e.lcZ(3,2,t)),e.xp6(2),e.Q6J("ngIf",!n)}}yh.\u0275fac=function(i){return new(i||yh)(e.Y36(os,16))},yh.\u0275pipe=e.Yjl({name:"label",type:yh,pure:!0});class cu{constructor(i){this.labelService=i,this.labels=[]}}function nx(r,i){1&r&&(e.TgZ(0,"div"),e._uU(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."),e._UZ(2,"br"),e.qZA())}function rx(r,i){if(1&r&&(e.TgZ(0,"mat-card",5)(1,"div",6)(2,"app-event-header",7),e._uU(3,"Posted: "),e.TgZ(4,"span",8),e._uU(5),e.ALo(6,"ago"),e.qZA(),e._uU(7,", Saved: "),e.TgZ(8,"span",8),e._uU(9),e.ALo(10,"ago"),e.qZA()(),e._UZ(11,"app-event-actions",9),e.qZA(),e._UZ(12,"app-content",9)(13,"app-label",10),e.qZA()),2&r){const t=i.$implicit;e.xp6(2),e.Q6J("pubkey",t.pubkey),e.xp6(3),e.Oqu(e.lcZ(6,6,t.created_at)),e.xp6(4),e.Oqu(e.lcZ(10,8,t.saved)),e.xp6(2),e.Q6J("event",t),e.xp6(1),e.Q6J("event",t),e.xp6(1),e.Q6J("labels",t.labels)}}cu.\u0275fac=function(i){return new(i||cu)(e.Y36(os))},cu.\u0275cmp=e.Xpm({type:cu,selectors:[["app-label"]],inputs:{labels:"labels"},decls:2,vars:1,consts:[[4,"ngFor","ngForOf"],[4,"ngIf"]],template:function(i,t){1&i&&(e._uU(0,"Labels: "),e.YNc(1,ix,5,4,"span",0)),2&i&&(e.xp6(1),e.Q6J("ngForOf",t.labels))},dependencies:[F.sg,F.O5,yh],encapsulation:2});class vh{constructor(i,t){this.notesService=i,this.appState=t,this.details=!1}toggleDetails(){this.details=!this.details}filterNotes(i){this.notesService.filterByLabels(i)}ngOnInit(){var i=this;return(0,ve.Z)(function*(){i.appState.updateTitle("Saved Notes"),i.appState.goBack=!0,i.appState.actions=[],yield i.notesService.load()})()}}vh.\u0275fac=function(i){return new(i||vh)(e.Y36(Bs),e.Y36(ce.i))},vh.\u0275cmp=e.Xpm({type:vh,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(i,t){1&i&&(e.TgZ(0,"div",0)(1,"app-labels",1),e.NdJ("selectionChanged",function(a){return t.filterNotes(a)}),e.qZA(),e.YNc(2,nx,3,0,"div",2),e.TgZ(3,"div",3),e.YNc(4,rx,14,10,"mat-card",4),e.qZA()()),2&i&&(e.xp6(2),e.Q6J("ngIf",0===t.notesService.items.length),e.xp6(2),e.Q6J("ngForOf",t.notesService.filtered))},dependencies:[F.sg,F.O5,Ia,vo,Ps,ss,bh,cu,ls],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}"]});var pg=y(9766);class id{onElementScroll(){"self"===this.infiniteScrollContext&&this.elementEndReachedInSelfScrollbarContext()&&this.canTriggerAction&&this.triggerAction()}constructor(i){this.element=i,this.canTriggerAction=!0,this.infiniteScrollContext="self",this.scrollAction=new e.vpe,this.el=i.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(i,t){const l=t.getBoundingClientRect().top+i.pageYOffset;return i.pageYOffset+this.viewport.h>t.offsetHeight+l&&(this.canTriggerAction=!0,!0)}getViewport(i){if(null!=i.innerWidth)return{w:i.innerWidth,h:i.innerHeight};let t=i.document;return"CSS1Compat"==document.compatMode?{w:t.documentElement.clientWidth,h:t.documentElement.clientHeight}:{w:t.body.clientWidth,h:t.body.clientHeight}}}id.\u0275fac=function(i){return new(i||id)(e.Y36(e.SBq))},id.\u0275dir=e.lG2({type:id,selectors:[["","infiniteScroll",""]],hostBindings:function(i,t){1&i&&e.NdJ("scroll",function(a){return t.onElementScroll(a)})},inputs:{infiniteScrollContext:"infiniteScrollContext"},outputs:{scrollAction:"scrollAction"}});var du=y(3259);const ax=["qrcElement"];let ox=(()=>{class r{constructor(t,n){this.renderer=t,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 e.vpe,this.context=null}ngOnChanges(){var t=this;return(0,ve.Z)(function*(){yield t.createQRCode()})()}isValidQrCodeText(t){return!1===this.allowEmptyString?!(typeof t>"u"||""===t||"null"===t||null===t):!(typeof t>"u")}toDataURL(t){return new Promise((n,a)=>{(0,du.hz)(this.qrdata,t,(l,v)=>{l?a(l):n(v)})})}toCanvas(t,n){return new Promise((a,l)=>{(0,du.rT)(t,this.qrdata,n,v=>{v?l(v):a("success")})})}toSVG(t){return new Promise((n,a)=>{(0,du.toString)(this.qrdata,t,(l,v)=>{l?a(l):n(v)})})}renderElement(t){for(const n of this.qrcElement.nativeElement.childNodes)this.renderer.removeChild(this.qrcElement.nativeElement,n);this.renderer.appendChild(this.qrcElement.nativeElement,t)}createQRCode(){var t=this;return(0,ve.Z)(function*(){t.version&&t.version>40?(console.warn("[angularx-qrcode] max value for `version` is 40"),t.version=40):t.version&&t.version<1?(console.warn("[angularx-qrcode]`min value for `version` is 1"),t.version=1):void 0!==t.version&&isNaN(t.version)&&(console.warn("[angularx-qrcode] version should be a number, defaulting to auto."),t.version=void 0);try{if(!t.isValidQrCodeText(t.qrdata))throw new Error("[angularx-qrcode] Field `qrdata` is empty, set 'allowEmptyString=\"true\"' to overwrite this behaviour.");t.isValidQrCodeText(t.qrdata)&&""===t.qrdata&&(t.qrdata=" ");const n={color:{dark:t.colorDark,light:t.colorLight},errorCorrectionLevel:t.errorCorrectionLevel,margin:t.margin,scale:t.scale,version:t.version,width:t.width},a=t.imageSrc,l=t.imageHeight||40,v=t.imageWidth||40;switch(t.elementType){case"canvas":const I=t.renderer.createElement("canvas");t.context=I.getContext("2d"),t.toCanvas(I,n).then(()=>{if(t.ariaLabel&&t.renderer.setAttribute(I,"aria-label",`${t.ariaLabel}`),t.title&&t.renderer.setAttribute(I,"title",`${t.title}`),a&&t.context){t.centerImage=new Image(v,l),a!==t.centerImage.src&&(t.centerImage.src=a),l!==t.centerImage.height&&(t.centerImage.height=l),v!==t.centerImage.width&&(t.centerImage.width=v);const ye=t.centerImage;ye&&(ye.onload=()=>{t.context?.drawImage(ye,I.width/2-v/2,I.height/2-l/2,v,l)})}t.renderElement(I),t.emitQRCodeURL(I)}).catch(ye=>{console.error("[angularx-qrcode] canvas error:",ye)});break;case"svg":const W=t.renderer.createElement("div");t.toSVG(n).then(ye=>{t.renderer.setProperty(W,"innerHTML",ye);const Ge=W.firstChild;t.renderer.setAttribute(Ge,"height",`${t.width}`),t.renderer.setAttribute(Ge,"width",`${t.width}`),t.renderElement(Ge),t.emitQRCodeURL(Ge)}).catch(ye=>{console.error("[angularx-qrcode] svg error:",ye)});break;default:const G=t.renderer.createElement("img");t.toDataURL(n).then(ye=>{t.alt&&G.setAttribute("alt",t.alt),t.ariaLabel&&G.setAttribute("aria-label",t.ariaLabel),G.setAttribute("src",ye),t.title&&G.setAttribute("title",t.title),t.renderElement(G),t.emitQRCodeURL(G)}).catch(ye=>{console.error("[angularx-qrcode] img/url error:",ye)})}}catch(n){console.error("[angularx-qrcode] Error generating QR Code:",n.message)}})()}emitQRCodeURL(t){const n=t.constructor.name;if(n===SVGSVGElement.name){const v=new Blob([t.outerHTML],{type:"image/svg+xml"}),I=URL.createObjectURL(v),W=this.sanitizer.bypassSecurityTrustUrl(I);return void this.qrCodeURL.emit(W)}let a="";n===HTMLCanvasElement.name&&(a=t.toDataURL("image/png")),n===HTMLImageElement.name&&(a=t.src),fetch(a).then(l=>l.blob()).then(l=>URL.createObjectURL(l)).then(l=>this.sanitizer.bypassSecurityTrustUrl(l)).then(l=>{this.qrCodeURL.emit(l)}).catch(l=>{console.error("[angularx-qrcode] Error when fetching image/png URL: "+l)})}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.Qsj),e.Y36(f.H7))},r.\u0275cmp=e.Xpm({type:r,selectors:[["qrcode"]],viewQuery:function(t,n){if(1&t&&e.Gf(ax,7),2&t){let a;e.iGM(a=e.CRH())&&(n.qrcElement=a.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:[e.TTD],decls:2,vars:2,consts:[["qrcElement",""]],template:function(t,n){1&t&&e._UZ(0,"div",null,0),2&t&&e.Tol(n.cssClass)},encapsulation:2,changeDetection:0}),r})(),Fb=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})();function Cb(r,i){if(1&r&&e._UZ(0,"img",14),2&r){const t=e.oxw();e.Q6J("matTooltip",t.tooltip)("src",t.imagePath,e.LSH)}}function sx(r,i){if(1&r&&e._UZ(0,"img",15),2&r){const t=e.oxw();e.Q6J("matTooltip",t.tooltip)("src",t.imagePath,e.LSH)}}class wh{constructor(i,t){this.data=i,this.util=t,this.invoice={pr:""},this.imagePath="/assets/profile.png",this.tooltip="",this.tooltipName="",this.profileName=""}ngOnInit(){var i=this;return(0,ve.Z)(function*(){i.invoice=i.data.invoice,i.profile=i.data.profile,i.updateProfileDetails()})()}updateProfileDetails(){var i=this;return(0,ve.Z)(function*(){i.profile&&(i.profile.picture&&(i.imagePath=i.profile.picture),i.tooltip=i.profile.about,i.tooltipName=i.profileName,i.profileName=i.profile.display_name||i.profile.name||i.profileName)})()}copy(i){this.util.copy(i)}}function kb(r,i){if(1&r&&e._UZ(0,"img",8),2&r){const t=e.oxw();e.Q6J("matTooltip",t.tooltip)("src",t.imagePath,e.LSH)}}function lx(r,i){if(1&r&&e._UZ(0,"img",9),2&r){const t=e.oxw();e.Q6J("matTooltip",t.tooltip)("src",t.imagePath,e.LSH)}}function cx(r,i){if(1&r&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.hij(" Unable to send Zap to ",t.profileName,". Their profile does not have any lightning payment address, please let them know so you can zap them in the future. ")}}function dx(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw(3);e.xp6(1),e.AsE("Please enter an amount between ",t.minSendable," and ",t.maxSendable,".")}}function gg(r,i){if(1&r&&e._uU(0),2&r){const t=e.oxw(3);e.hij("The minimum amount you can send is ",t.minSendable,".")}}function _g(r,i){if(1&r&&e._uU(0),2&r){const t=e.oxw(3);e.hij("The maximum amount you can send is ",t.maxSendable,".")}}function Db(r,i){if(1&r&&e._uU(0),2&r){const t=e.oxw(3);e.hij("The maximum amount you can send is ",t.maxSendable,".")}}function bg(r,i){if(1&r&&e._uU(0),2&r){const t=e.oxw(3);e.hij("The maximum amount you can send is ",t.maxSendable,".")}}function ux(r,i){1&r&&e._uU(0,"Please enter a valid amount.")}function hx(r,i){if(1&r&&(e.TgZ(0,"mat-error"),e.GkF(1,28),e.YNc(2,dx,2,2,"ng-template",null,29,e.W1O),e.YNc(4,gg,1,1,"ng-template",null,30,e.W1O),e.YNc(6,_g,1,1,"ng-template",null,31,e.W1O),e.YNc(8,Db,1,1,"ng-template",null,32,e.W1O),e.YNc(10,bg,1,1,"ng-template",null,33,e.W1O),e.YNc(12,ux,1,0,"ng-template",null,34,e.W1O),e.qZA()),2&r){const t=e.MAs(3),n=e.MAs(5),a=e.MAs(7),l=e.MAs(9),v=e.MAs(11),I=e.MAs(13),W=e.oxw(2);e.xp6(1),e.Q6J("ngTemplateOutlet",W.minSendable>0&&W.maxSendable>0?t:W.minSendable>0&&0==W.maxSendable?n:0==W.minSendable&&W.maxSendable>0?a:W.maxSendable>0?l:W.maxSendable<=0?v:I)}}function yg(r,i){1&r&&(e.TgZ(0,"mat-error"),e._uU(1," Please enter a comment. "),e.qZA())}function mx(r,i){if(1&r&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.hij(" ",t.error," ")}}function Mb(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div")(1,"div",10)(2,"div",11)(3,"button",12),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.setAmount(50))}),e.TgZ(4,"mat-icon"),e._uU(5,"thumb_up"),e.qZA(),e.TgZ(6,"span",13),e._uU(7,"50"),e.qZA()()(),e.TgZ(8,"div",11)(9,"button",14),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.setAmount(100))}),e.TgZ(10,"mat-icon"),e._uU(11,"favorite"),e.qZA(),e.TgZ(12,"span",13),e._uU(13,"100"),e.qZA()()(),e.TgZ(14,"div",11)(15,"button",15),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.setAmount(500))}),e.TgZ(16,"mat-icon"),e._uU(17,"sentiment_very_satisfied"),e.qZA(),e.TgZ(18,"span",13),e._uU(19,"500"),e.qZA()()()(),e.TgZ(20,"div",10)(21,"div",11)(22,"button",12),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.setAmount(1e3))}),e.TgZ(23,"mat-icon"),e._uU(24,"star"),e.qZA(),e.TgZ(25,"span",13),e._uU(26,"1k"),e.qZA()()(),e.TgZ(27,"div",11)(28,"button",14),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.setAmount(5e3))}),e.TgZ(29,"mat-icon"),e._uU(30,"celebration"),e.qZA(),e.TgZ(31,"span",13),e._uU(32,"5k"),e.qZA()()(),e.TgZ(33,"div",11)(34,"button",15),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.setAmount(1e4))}),e.TgZ(35,"mat-icon"),e._uU(36,"rocket"),e.qZA(),e.TgZ(37,"span",13),e._uU(38,"10k"),e.qZA()()()(),e.TgZ(39,"div",10)(40,"div",11)(41,"button",12),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.setAmount(1e5))}),e.TgZ(42,"mat-icon"),e._uU(43,"whatshot"),e.qZA(),e.TgZ(44,"span",13),e._uU(45,"100k"),e.qZA()()(),e.TgZ(46,"div",11)(47,"button",14),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.setAmount(5e5))}),e.TgZ(48,"mat-icon"),e._uU(49,"flash_on"),e.qZA(),e.TgZ(50,"span",13),e._uU(51," 500k"),e.qZA()()(),e.TgZ(52,"div",11)(53,"button",15),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.setAmount(1e6))}),e.TgZ(54,"mat-icon"),e._uU(55,"diamond"),e.qZA(),e.TgZ(56,"span",13),e._uU(57,"1M"),e.qZA()()()(),e.TgZ(58,"form",16),e.NdJ("ngSubmit",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.onSubmit())}),e.TgZ(59,"div",17)(60,"div",18)(61,"mat-form-field",19)(62,"mat-label"),e._uU(63,"Zap Amount"),e.qZA(),e.TgZ(64,"input",20),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.amount=a)}),e.qZA(),e.YNc(65,hx,14,1,"mat-error",7),e.qZA()()(),e.TgZ(66,"div",17)(67,"div",18)(68,"mat-form-field",19)(69,"mat-label"),e._uU(70,"Comment"),e.qZA(),e._UZ(71,"input",21),e.YNc(72,yg,2,0,"mat-error",7),e.qZA()()(),e.TgZ(73,"div",22)(74,"div",23)(75,"button",24),e._uU(76,"Cancel"),e.qZA()(),e.TgZ(77,"div")(78,"button",25),e.O4$(),e.TgZ(79,"svg",26),e._UZ(80,"path",27),e.qZA(),e.kcU(),e.TgZ(81,"span"),e._uU(82),e.qZA()()()(),e.YNc(83,mx,2,1,"mat-error",7),e.qZA()()}if(2&r){const t=e.oxw();let n,a;e.xp6(58),e.Q6J("formGroup",t.sendZapForm),e.xp6(6),e.Q6J("ngModel",t.amount),e.xp6(1),e.Q6J("ngIf",null==(n=t.sendZapForm.get("amount"))?null:n.invalid),e.xp6(7),e.Q6J("ngIf",null==(a=t.sendZapForm.get("comment"))?null:a.invalid),e.xp6(6),e.Q6J("disabled",t.sendZapForm.invalid),e.xp6(4),e.hij(" Zap ",t.sendZapForm.value.amount,""),e.xp6(1),e.Q6J("ngIf",t.error)}}wh.\u0275fac=function(i){return new(i||wh)(e.Y36(bt),e.Y36(Pi.dU))},wh.\u0275cmp=e.Xpm({type:wh,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(i,t){1&i&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2),e.YNc(3,Cb,1,2,"img",3),e.YNc(4,sx,1,2,"img",4),e.qZA(),e.TgZ(5,"div",5)(6,"span",6),e._uU(7),e.qZA()()(),e.TgZ(8,"div",7),e._UZ(9,"qrcode",8),e.TgZ(10,"div",9),e.NdJ("click",function(){return t.copy(t.invoice.pr)}),e.TgZ(11,"div",10)(12,"a",11),e._uU(13),e.ALo(14,"slice"),e.ALo(15,"slice"),e.qZA()(),e.TgZ(16,"div",12)(17,"mat-icon",13),e._uU(18,"content_copy"),e.qZA()()()()()),2&i&&(e.xp6(3),e.Q6J("ngIf",1==(null==t.profile?null:t.profile.status)||2==(null==t.profile?null:t.profile.status)),e.xp6(1),e.Q6J("ngIf",1!=(null==t.profile?null:t.profile.status)&&2!=(null==t.profile?null:t.profile.status)),e.xp6(2),e.ekj("muted",2==t.profile.status),e.Q6J("matTooltip",t.tooltipName),e.xp6(1),e.hij("Send Zaps to ",t.profileName,""),e.xp6(2),e.Q6J("qrdata",t.invoice.pr)("width",256)("errorCorrectionLevel","M"),e.xp6(4),e.AsE("",e.Dn7(14,11,t.invoice.pr,0,10),"...",e.xi3(15,15,t.invoice.pr,-10),""))},dependencies:[F.O5,ar,eo,vt,ox,F.OU],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 cs{constructor(i,t,n,a,l,v,I,W,G,ye){this.data=i,this.formBuilder=t,this.eventService=n,this.relayService=a,this.nostr=l,this.util=v,this.db=I,this.dataService=W,this.dialog=G,this.dialogRef=ye,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="",this.canZap=!0,this.items=[]}ngOnInit(){var i=this;return(0,ve.Z)(function*(){i.profile=i.data.profile,i.event=i.data.event,i.sendZapForm=i.formBuilder.group({amount:["",[so.required]],comment:[""]}),i.fetchPayReq(),yield i.updateProfileDetails()})()}fetchPayReq(){var i=this;return(0,ve.Z)(function*(){i.payRequest=yield i.fetchZapper(),i.canZap=!!i.payRequest,i.recofigureFormValidators()})()}fetchZapper(){var i=this;return(0,ve.Z)(function*(){let t="";if(i.profile.lud16){const n=i.profile.lud16.split("@");t=`https://${n[1]}/.well-known/lnurlp/${n[0]}`}else i.profile.lud06&&i.profile.lud06.toLowerCase().startsWith("lnurl")&&(t=i.util.convertBech32ToText(i.profile.lud06).toString());if(0!==t.length)try{const n=yield fetch(t);if(n.ok){const a=yield n.json();if("ERROR"!==a.status)return a;i.error=a.reason?a.reason:"Error fetching the invoice - please try again later"}}catch{i.error="Error fetching the invoice - please try again later"}return null})()}onSubmit(){var i=this;return(0,ve.Z)(function*(){if(i.sendZapForm.valid){let t=i.sendZapForm.get("comment")?.value,n=i.sendZapForm.get("amount")?.value;if(n&&i.payRequest){const a=new URL(i.payRequest.callback),l=new Map;let v;if(l.set("amount",Math.floor(1e3*n).toString()),t&&i.payRequest?.commentAllowed&&l.set("comment",t),i.payRequest.nostrPubkey&&i.profile.pubkey){let G=i.event?.id?i.event.id:null;v=yield i.createZapEvent(i.profile.pubkey,G,t),l.set("nostr",JSON.stringify(v))}const I=`${a.protocol}//${a.host}${a.pathname}`,W=[...l.entries()].map(G=>`${G[0]}=${encodeURIComponent(G[1])}`).join("&");try{const G=yield fetch(`${I}?${W}`);if(G.ok){const ye=yield G.json();"ERROR"===ye.status?i.error=ye.reason?ye.reason:"Error fetching the invoice - please try again later":(i.invoice=ye,i.dialog.open(wh,{width:"400px",data:{invoice:i.invoice,profile:i.profile}}),i.dialogRef.close(cs))}else i.error="Error fetching the invoice - please try again later"}catch{i.error="Error fetching the invoice - please try again later"}}else console.log("error: please enter an amount and a valid pay request")}})()}createZapEvent(i,t,n){var a=this;return(0,ve.Z)(function*(){let l=a.dataService.createEvent(Hi.ZapRequest,"");l.content=n||"",Object.assign([],l.tags),t&&l.tags.push(["e",t]),l.tags.push(["p",i]),l=yield a.addRelaysTag(l);const v=yield a.createAndSignEvent(l);if(v)return v})()}addRelaysTag(i){var t=this;return(0,ve.Z)(function*(){t.items=yield t.db.storage.getRelays();const n=t.items.map(a=>a.url);return i.tags.push(["relays",...n]),i})()}createAndSignEvent(i){var t=this;return(0,ve.Z)(function*(){let n=i;n.id=pr(i),n=yield t.nostr.sign(i);const a=t.eventService.processEvent(n);if(!a)throw new Error("The event is not valid. Cannot publish.");if(!Dr(n))throw new Error("The event is not valid. Cannot publish.");if(!(yield no(a)))throw new Error("The event signature not valid. Maybe you choose a different account than the one specified?");return a})()}recofigureFormValidators(){this.minSendable=(this.payRequest?.minSendable||1e3)/1e3,this.maxSendable=(this.payRequest?.maxSendable||21e9)/1e3,this.sendZapForm.get("amount")?.setValidators([so.min((this.payRequest?.minSendable||1e3)/1e3),so.max((this.payRequest?.maxSendable||21e9)/1e3),so.required])}updateProfileDetails(){var i=this;return(0,ve.Z)(function*(){i.profile&&(i.profile.picture&&(i.imagePath=i.profile.picture),i.tooltip=i.profile.about,i.tooltipName=i.profileName,i.profileName=i.profile.display_name||i.profile.name||i.util.getNostrIdentifier(i.profile.pubkey))})()}setAmount(i){this.sendZapForm.get("amount")?.setValue(i)}}function nf(r,i){const t=Array(r);for(let n=0;nString(r)),nf(60,r=>String(r));let Ab=(()=>{class r{transform(t){return t instanceof e.Rgc}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275pipe=e.Yjl({name:"isTemplateRef",type:r,pure:!0}),r})(),Sb=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[F.ez]}),r})();function Ib(r,i){}function Ob(r,i){if(1&r&&e.YNc(0,Ib,0,0,"ng-template",3),2&r){const t=e.oxw();e.Q6J("ngTemplateOutlet",t.message)}}function _x(r,i){if(1&r&&e._uU(0),2&r){const t=e.oxw();e.Oqu(t.message)}}const bx={tooltipState:(0,xe.X$)("state",[(0,xe.SB)("initial, void, hidden",(0,xe.oB)({opacity:0,transform:"scale(0)"})),(0,xe.SB)("visible",(0,xe.oB)({transform:"scale(1)"})),(0,xe.eR)("* => visible",(0,xe.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,xe.F4)([(0,xe.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,xe.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,xe.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,xe.eR)("* => hidden",(0,xe.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,xe.oB)({opacity:0})))])},vg=(0,x.i$)({passive:!0});function wg(r){return Error(`Tooltip position "${r}" is invalid.`)}const Nb=new e.OlP("mtx-tooltip-scroll-strategy"),Bk={provide:Nb,deps:[_.aV],useFactory:function wx(r){return()=>r.scrollStrategies.reposition({scrollThrottle:20})}},xx=new e.OlP("mtx-tooltip-default-options",{providedIn:"root",factory:function Fx(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let Lb=(()=>{class r{constructor(t,n,a,l,v,I,W,G,ye,Ge,yt){this._overlay=t,this._elementRef=n,this._scrollDispatcher=a,this._viewContainerRef=l,this._ngZone=v,this._platform=I,this._ariaDescriber=W,this._focusMonitor=G,this._dir=Ge,this._defaultOptions=yt,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 D.x,this._handleKeydown=It=>{this._isTooltipVisible()&&It.keyCode===A.hY&&!(0,A.Vb)(It)&&(It.preventDefault(),It.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=ye,yt&&(yt.position&&(this.position=yt.position),yt.touchGestures&&(this.touchGestures=yt.touchGestures)),v.runOutsideAngular(()=>{n.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,st.Ig)(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=t instanceof e.Rgc?t:null!=t?`${t}`.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(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,qi.R)(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([n,a])=>{t.removeEventListener(n,a,vg)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message),this._focusMonitor.stopMonitoring(t)}show(t=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 k.C5(Rb,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,qi.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}hide(t=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(t)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mtx-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(t);return n.positionChanges.pipe((0,qi.R)(this._destroyed)).subscribe(a=>{this._tooltipInstance&&a.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((0,qi.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const t=this._overlayRef.getConfig().positionStrategy,n=this._getOrigin(),a=this._getOverlayPosition();t.withPositions([{...n.main,...a.main},{...n.fallback,...a.fallback}])}_getOrigin(){const t=!this._dir||"ltr"===this._dir.value,n=this.position;let a;if("above"===n||"below"===n)a={originX:"center",originY:"above"===n?"top":"bottom"};else if("before"===n||"left"===n&&t||"right"===n&&!t)a={originX:"start",originY:"center"};else{if(!("after"===n||"right"===n&&t||"left"===n&&!t))throw wg(n);a={originX:"end",originY:"center"}}const{x:l,y:v}=this._invertPosition(a.originX,a.originY);return{main:a,fallback:{originX:l,originY:v}}}_getOverlayPosition(){const t=!this._dir||"ltr"===this._dir.value,n=this.position;let a;if("above"===n)a={overlayX:"center",overlayY:"bottom"};else if("below"===n)a={overlayX:"center",overlayY:"top"};else if("before"===n||"left"===n&&t||"right"===n&&!t)a={overlayX:"end",overlayY:"center"};else{if(!("after"===n||"right"===n&&t||"left"===n&&!t))throw wg(n);a={overlayX:"start",overlayY:"center"}}const{x:l,y:v}=this._invertPosition(a.overlayX,a.overlayY);return{main:a,fallback:{overlayX:l,overlayY:v}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe((0,Se.q)(1),(0,qi.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,n){return"above"===this.position||"below"===this.position?"top"===n?n="bottom":"bottom"===n&&(n="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,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 t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",()=>this.hide()]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const n=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",n],["touchcancel",n])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([n,a])=>{this._elementRef.nativeElement.addEventListener(n,a,vg)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_disableNativeGesturesIfNecessary(){const t=this.touchGestures;if("off"!==t){const n=this._elementRef.nativeElement,a=n.style;("on"===t||"INPUT"!==n.nodeName&&"TEXTAREA"!==n.nodeName)&&(a.userSelect=a.msUserSelect=a.webkitUserSelect=a.MozUserSelect="none"),("on"===t||!n.draggable)&&(a.webkitUserDrag="none"),a.touchAction="none",a.webkitTapHighlightColor="transparent"}}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(_.aV),e.Y36(e.SBq),e.Y36(Mr.mF),e.Y36(e.s_b),e.Y36(e.R0b),e.Y36(x.t4),e.Y36(g.$s),e.Y36(g.tE),e.Y36(Nb),e.Y36(S.Is,8),e.Y36(xx,8))},r.\u0275dir=e.lG2({type:r,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"]}),r})(),Rb=(()=>{class r{constructor(t,n){this._changeDetectorRef=t,this._breakpointObserver=n,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new D.x,this._isHandset=this._breakpointObserver.observe(ke.u3.Handset)}show(t){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},t)}hide(t){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},t)}afterHidden(){return this._onHide.asObservable()}isVisible(){return"visible"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const n=t.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 r.\u0275fac=function(t){return new(t||r)(e.Y36(e.sBO),e.Y36(ke.Yg))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mtx-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,n){1&t&&e.NdJ("click",function(){return n._handleBodyInteraction()},!1,e.pYS),2&t&&e.Udp("zoom","visible"===n._visibility?1:null)},decls:6,vars:10,consts:[[1,"mtx-tooltip",3,"ngClass"],[3,"ngIf","ngIfElse"],["msgStrTpl",""],[3,"ngTemplateOutlet"]],template:function(t,n){if(1&t&&(e.TgZ(0,"div",0),e.NdJ("@state.start",function(){return n._animationStart()})("@state.done",function(l){return n._animationDone(l)}),e.ALo(1,"async"),e.YNc(2,Ob,1,1,"ng-template",1),e.ALo(3,"isTemplateRef"),e.YNc(4,_x,1,1,"ng-template",null,2,e.W1O),e.qZA()),2&t){const a=e.MAs(5);let l;e.ekj("mtx-tooltip-handset",null==(l=e.lcZ(1,6,n._isHandset))?null:l.matches),e.Q6J("ngClass",n.tooltipClass)("@state",n._visibility),e.xp6(2),e.Q6J("ngIf",e.lcZ(3,8,n.message))("ngIfElse",a)}},dependencies:[F.mk,F.O5,F.tP,F.Ov,Ab],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:[bx.tooltipState]},changeDetection:0}),r})(),Pb=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[Bk],imports:[g.rt,F.ez,_.U8,ae.BQ,Sb,ae.BQ,Mr.ZD]}),r})();function Cx(r,i){if(1&r&&(e.TgZ(0,"button",14)(1,"mat-icon",15),e._uU(2,"more_vert"),e.qZA()()),2&r){e.oxw();const t=e.MAs(3);e.Q6J("matMenuTriggerFor",t)}}function Bb(r,i){if(1&r&&(e.TgZ(0,"button",16)(1,"mat-icon"),e._uU(2,"more_vert"),e.qZA()()),2&r){e.oxw();const t=e.MAs(3);e.Q6J("matMenuTriggerFor",t)}}function kx(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.saveNote())}),e.TgZ(1,"mat-icon"),e._uU(2,"bookmark_add"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Save Note"),e.qZA()()}}function Dx(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.removeNote())}),e.TgZ(1,"mat-icon"),e._uU(2,"bookmark_remove"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Remove from Notes"),e.qZA()()}}function Mx(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.follow())}),e.TgZ(1,"mat-icon"),e._uU(2,"person_add"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Follow"),e.qZA()()}}function Ex(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.unfollow())}),e.TgZ(1,"mat-icon"),e._uU(2,"person_remove"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Unfollow"),e.qZA()()}}function Tx(r,i){if(1&r&&(e.TgZ(0,"button",5)(1,"mat-icon"),e._uU(2,"supervised_user_circle"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Move to Circle"),e.qZA()()),2&r){e.oxw();const t=e.MAs(29);e.Q6J("matMenuTriggerFor",t)}}function xh(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.unmute())}),e.TgZ(1,"mat-icon"),e._uU(2,"notifications"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Unmute"),e.qZA()()}}function Yb(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.mute())}),e.TgZ(1,"mat-icon"),e._uU(2,"notifications_off"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Mute"),e.qZA()()}}function Hb(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.unblock())}),e.TgZ(1,"mat-icon"),e._uU(2,"cancel"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Unblock"),e.qZA()()}}function Ub(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.block())}),e.TgZ(1,"mat-icon"),e._uU(2,"block"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Block"),e.qZA()()}}function jb(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){const l=e.CHM(t).$implicit,v=e.oxw();return e.KtG(v.follow(l.id))}),e.TgZ(1,"mat-icon"),e._uU(2,"trip_origin"),e.qZA(),e.TgZ(3,"span"),e._uU(4),e.qZA()()}if(2&r){const t=i.$implicit;e.xp6(1),e.Udp("color",t.color),e.xp6(3),e.Oqu(t.name)}}function Vb(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.copyFollowing())}),e.TgZ(1,"mat-icon"),e._uU(2,"content_copy"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Following List"),e.qZA()()}}function Zb(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.copyRelays())}),e.TgZ(1,"mat-icon"),e._uU(2,"content_copy"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Relay List"),e.qZA()()}}class nd{constructor(i,t,n,a,l,v,I,W){this.appState=i,this.ui=t,this.circleService=n,this.snackBar=a,this.profileService=l,this.notesService=v,this.utilities=I,this.router=W,this.fab=!1,this.pubkey=""}saveNote(){var i=this;return(0,ve.Z)(function*(){if(!i.event)return;const t=i.event;t.saved=Math.floor(Date.now()/1e3),yield i.notesService.putNote(t)})()}removeNote(){var i=this;return(0,ve.Z)(function*(){i.event&&(console.log("DELETE EVENT:",i.event),yield i.notesService.deleteNote(i.event.id))})()}openBadges(i){this.router.navigate(["/badges",i])}follow(i){var t=this;return(0,ve.Z)(function*(){null==i&&(i=0),t.profile?t.profile.status!==$r.Follow?(t.profile.circle=i,t.profile.status=1,t.profile=yield t.profileService.follow(t.profile.pubkey,i)):(t.profile.circle=i,t.profile=yield t.profileService.setCircle(t.profile.pubkey,i)):t.profile=yield t.profileService.follow(t.pubkey,i)})()}getNpub(i){return this.utilities.getNostrIdentifier(i)}copyEvent(){this.copy(JSON.stringify(this.event))}copyProfileUrl(i){this.copy(`web+nostr:npub:${yr.npubEncode(i)}`)}copyNoteUrl(i){this.copy(`web+nostr:nevent:${yr.neventEncode({id:i})}`)}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(i){(0,uh.v)(i),this.snackBar.open("Copied to clipboard","Hide",{duration:2500,horizontalPosition:"center",verticalPosition:"bottom"})}unfollow(){var i=this;return(0,ve.Z)(function*(){i.profile&&(i.profile.status=$r.Public,i.profile.followed=void 0,i.profile.circle=void 0,i.profile=yield i.profileService.unfollow(i.profile.pubkey))})()}mute(){var i=this;return(0,ve.Z)(function*(){i.profile&&(yield i.profileService.mute(i.profile.pubkey))})()}unmute(){var i=this;return(0,ve.Z)(function*(){i.profile&&(yield i.profileService.unmute(i.profile.pubkey))})()}block(){var i=this;return(0,ve.Z)(function*(){i.profile&&(yield i.profileService.block(i.profile.pubkey))})()}unblock(){var i=this;return(0,ve.Z)(function*(){i.profile&&(yield i.profileService.unblock(i.profile.pubkey))})()}shareProfile(i){i&&navigator.share&&navigator.share({title:i.name,text:i.about,url:"https://notes.blockcore.net/p/"+i.pubkey}).then(()=>console.log("Successful share")).catch(t=>console.log("Error sharing",t))}ngOnDestroy(){}ngOnInit(){var i=this;return(0,ve.Z)(function*(){i.event?i.pubkey=i.event.pubkey:i.profile&&(i.pubkey=i.profile.pubkey)})()}}function Yk(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"img",29),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.showProfileImage())}),e.qZA()}if(2&r){const t=e.oxw().ngIf,n=e.oxw();let a;e.Udp("border-color",null==(a=n.circleService.getSync(t.circle))?null:a.color),e.Q6J("src",n.imagePath,e.LSH)}}function zb(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"img",30),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.showProfileImage())}),e.qZA()}if(2&r){const t=e.oxw(2);e.Q6J("src",t.imagePath,e.LSH)}}function Gb(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",32),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).ngIf,l=e.oxw();return e.KtG(l.follow(a))}),e._uU(1,"Follow Back"),e.qZA()}}function Wb(r,i){if(1&r&&e.YNc(0,Gb,2,0,"button",31),2&r){const t=e.oxw().ngIf;e.Q6J("ngIf",0==(null==t?null:t.status))}}function Ax(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",34),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).ngIf,l=e.oxw();return e.KtG(l.follow(a))}),e._uU(1,"Follow"),e.qZA()}}function Sx(r,i){if(1&r&&e.YNc(0,Ax,2,0,"button",33),2&r){const t=e.oxw().ngIf;e.Q6J("ngIf",0==(null==t?null:t.status))}}function Fh(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw().ngIf;e.xp6(1),e.hij(" ",t.display_name," ")}}function Ix(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",t.name," ")}}function xg(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",t.npub," ")}}function ml(r,i){if(1&r&&(e.TgZ(0,"span"),e.YNc(1,Ix,2,1,"span",14),e.YNc(2,xg,2,1,"span",14),e.qZA()),2&r){const t=e.oxw().ngIf;e.xp6(1),e.Q6J("ngIf",t.name),e.xp6(1),e.Q6J("ngIf",!t.display_name&&!t.name)}}function Ox(r,i){1&r&&(e.TgZ(0,"span",35),e._uU(1,"Follows you"),e.qZA())}function rf(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",16)(1,"div",17)(2,"mat-icon",18),e._uU(3,"verified"),e.qZA()(),e.TgZ(4,"div",19)(5,"span",20),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().ngIf,l=e.oxw();return e.KtG(l.copy(l.getWellKnownLink(a.nip05)))}),e._uU(6),e.qZA()()()}if(2&r){const t=e.oxw().ngIf,n=e.oxw();e.xp6(6),e.Oqu(n.displayNIP05(t.nip05))}}function Ch(r,i){if(1&r&&(e.TgZ(0,"a",37),e._uU(1),e.qZA()),2&r){const t=e.oxw(2).ngIf,n=e.oxw();e.Q6J("href",n.utilities.sanitizeUrl(t.website,!0),e.LSH),e.xp6(1),e.Oqu(t.website)}}function Nx(r,i){if(1&r&&(e.TgZ(0,"div",16)(1,"div",17)(2,"mat-icon",18),e._uU(3,"link"),e.qZA()(),e.TgZ(4,"div",19),e.YNc(5,Ch,2,2,"a",36),e.qZA()()),2&r){const t=e.oxw().ngIf;e.xp6(5),e.Q6J("ngIf",t.website)}}function Lx(r,i){if(1&r&&(e.TgZ(0,"a",41),e._uU(1),e.qZA()),2&r){const t=e.oxw(2).ngIf,n=e.oxw();e.Q6J("href",n.utilities.sanitizeLUD06("lightning:"+t.lud06),e.LSH),e.xp6(1),e.Oqu(t.lud06)}}function Px(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",38),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().ngIf,l=e.oxw();return e.KtG(l.openDialog(a))}),e.TgZ(1,"div",17)(2,"mat-icon",39),e._uU(3,"\u26a1\ufe0f"),e.qZA()(),e.TgZ(4,"div",19),e.YNc(5,Lx,2,2,"a",40),e.qZA()()}if(2&r){const t=e.oxw().ngIf,n=e.MAs(29);e.Q6J("mtxTooltip",n)("mtxTooltipPosition","left"),e.xp6(5),e.Q6J("ngIf",t.lud06)}}function af(r,i){if(1&r&&(e.TgZ(0,"a",41),e._uU(1),e.qZA()),2&r){const t=e.oxw(2).ngIf,n=e.oxw();e.Q6J("href",n.utilities.sanitizeLUD06("lightning:"+t.lud16),e.LSH),e.xp6(1),e.Oqu(t.lud16)}}function sf(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",38),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().ngIf,l=e.oxw();return e.KtG(l.openDialog(a))}),e.TgZ(1,"div",17)(2,"mat-icon",39),e._uU(3,"\u26a1\ufe0f"),e.qZA()(),e.TgZ(4,"div",19),e.YNc(5,af,2,2,"a",40),e.qZA()()}if(2&r){const t=e.oxw().ngIf,n=e.MAs(31);e.Q6J("mtxTooltip",n)("mtxTooltipPosition","left"),e.xp6(5),e.Q6J("ngIf",t.lud16)}}function Bx(r,i){if(1&r&&e._UZ(0,"img",44),2&r){const t=e.oxw(3);e.Q6J("src",t.qr06,e.LSH)}}function Yx(r,i){if(1&r&&(e.TgZ(0,"div",42),e.YNc(1,Bx,1,1,"img",43),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.qr06)}}function qb(r,i){if(1&r&&e._UZ(0,"img",44),2&r){const t=e.oxw(3);e.Q6J("src",t.qr16,e.LSH)}}function Qb(r,i){if(1&r&&(e.TgZ(0,"div",42),e.YNc(1,qb,1,1,"img",43),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.qr16)}}function Fg(r,i){if(1&r&&(e.TgZ(0,"p",45),e._uU(1),e.qZA()),2&r){const t=e.oxw().ngIf;e.xp6(1),e.Oqu(t.about)}}nd.\u0275fac=function(i){return new(i||nd)(e.Y36(ce.i),e.Y36(Gr),e.Y36(ba),e.Y36(ko.ux),e.Y36(Bn),e.Y36(Bs),e.Y36(Pi.dU),e.Y36(Ht.F0))},nd.\u0275cmp=e.Xpm({type:nd,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(i,t){if(1&i&&(e.YNc(0,Cx,3,1,"button",0),e.YNc(1,Bb,3,1,"button",1),e.TgZ(2,"mat-menu",null,2),e.YNc(4,kx,5,0,"button",3),e.YNc(5,Dx,5,0,"button",3),e.YNc(6,Mx,5,0,"button",3),e.YNc(7,Ex,5,0,"button",3),e.YNc(8,Tx,5,1,"button",4),e.TgZ(9,"button",5)(10,"mat-icon"),e._uU(11,"badge"),e.qZA(),e.TgZ(12,"span"),e._uU(13,"Badge"),e.qZA()(),e.TgZ(14,"button",6),e.NdJ("click",function(){return t.copy(t.getNpub(t.profile.pubkey))}),e.TgZ(15,"mat-icon"),e._uU(16,"copy_all"),e.qZA(),e.TgZ(17,"span"),e._uU(18,"Copy"),e.qZA()(),e.TgZ(19,"button",5)(20,"mat-icon"),e._uU(21,"ios_share"),e.qZA(),e.TgZ(22,"span"),e._uU(23,"Share"),e.qZA()(),e.YNc(24,xh,5,0,"button",3),e.YNc(25,Yb,5,0,"button",3),e.YNc(26,Hb,5,0,"button",3),e.YNc(27,Ub,5,0,"button",3),e.qZA(),e.TgZ(28,"mat-menu",null,7),e.YNc(30,jb,5,3,"button",8),e.qZA(),e.TgZ(31,"mat-menu",null,9)(33,"button",10),e.NdJ("click",function(){return t.copy(t.getNpub(t.profile.pubkey))}),e.TgZ(34,"mat-icon"),e._uU(35,"content_copy"),e.qZA(),e.TgZ(36,"span"),e._uU(37,"Identifier (npub)"),e.qZA()(),e.TgZ(38,"button",10),e.NdJ("click",function(){return t.copy(t.profile.pubkey)}),e.TgZ(39,"mat-icon"),e._uU(40,"content_copy"),e.qZA(),e.TgZ(41,"span"),e._uU(42,"Identifier (hex)"),e.qZA()(),e.TgZ(43,"button",10),e.NdJ("click",function(){return t.copyProfileUrl(t.profile.pubkey)}),e.TgZ(44,"mat-icon"),e._uU(45,"content_copy"),e.qZA(),e.TgZ(46,"span"),e._uU(47,"Identifier URL (npub)"),e.qZA()(),e.TgZ(48,"button",11),e.NdJ("click",function(){return t.copyProfileUrl(t.profile.pubkey)}),e.TgZ(49,"mat-icon"),e._uU(50,"content_copy"),e.qZA(),e.TgZ(51,"span"),e._uU(52,"Profile URL (nprofile)"),e.qZA()(),e.TgZ(53,"button",10),e.NdJ("click",function(){return t.copyProfile()}),e.TgZ(54,"mat-icon"),e._uU(55,"content_copy"),e.qZA(),e.TgZ(56,"span"),e._uU(57,"Profile Data"),e.qZA()(),e.YNc(58,Vb,5,0,"button",3),e.YNc(59,Zb,5,0,"button",3),e.qZA(),e.TgZ(60,"mat-menu",null,12)(62,"button",10),e.NdJ("click",function(){return t.shareProfile(t.profile)}),e.TgZ(63,"mat-icon"),e._uU(64,"content_copy"),e.qZA(),e.TgZ(65,"span"),e._uU(66,"Profile"),e.qZA()(),e.TgZ(67,"button",10),e.NdJ("click",function(){return t.copy("https://notes.blockcore.net/p/"+t.profile.pubkey)}),e.TgZ(68,"mat-icon"),e._uU(69,"content_copy"),e.qZA(),e.TgZ(70,"span"),e._uU(71,"Profile URL"),e.qZA()()(),e.TgZ(72,"mat-menu",null,13)(74,"button",10),e.NdJ("click",function(){return t.openBadges(t.profile.pubkey)}),e.TgZ(75,"mat-icon"),e._uU(76,"badge"),e.qZA(),e.TgZ(77,"span"),e._uU(78,"View Badges"),e.qZA()()()),2&i){const n=e.MAs(32),a=e.MAs(61),l=e.MAs(73);e.Q6J("ngIf",!t.fab),e.xp6(1),e.Q6J("ngIf",t.fab),e.xp6(3),e.Q6J("ngIf",t.event&&!t.event.saved),e.xp6(1),e.Q6J("ngIf",t.event&&t.event.saved),e.xp6(1),e.Q6J("ngIf",0==(null==t.profile?null:t.profile.status)),e.xp6(1),e.Q6J("ngIf",1==(null==t.profile?null:t.profile.status)),e.xp6(1),e.Q6J("ngIf",3!=(null==t.profile?null:t.profile.status)),e.xp6(1),e.Q6J("matMenuTriggerFor",l),e.xp6(5),e.Q6J("matMenuTriggerFor",n),e.xp6(5),e.Q6J("matMenuTriggerFor",a),e.xp6(5),e.Q6J("ngIf",2==(null==t.profile?null:t.profile.status)),e.xp6(1),e.Q6J("ngIf",1==(null==t.profile?null:t.profile.status)),e.xp6(1),e.Q6J("ngIf",3==(null==t.profile?null:t.profile.status)),e.xp6(1),e.Q6J("ngIf",(null==t.profile?null:t.profile.status)<3),e.xp6(3),e.Q6J("ngForOf",t.circleService.circles),e.xp6(28),e.Q6J("ngIf",null==t.profile?null:t.profile.following),e.xp6(1),e.Q6J("ngIf",null==t.profile?null:t.profile.relays)}},dependencies:[F.sg,F.O5,Mt.RK,Mt.nh,ar,fc,Ys,su]});const Jb=function(r){return["/following",r]};function Cg(r,i){if(1&r&&(e.TgZ(0,"div",46)(1,"a",47),e._uU(2),e.TgZ(3,"span",48),e._uU(4,"Following"),e.qZA()()()),2&r){const t=e.oxw().ngIf;e.xp6(1),e.Q6J("routerLink",e.VKq(2,Jb,t.pubkey)),e.xp6(1),e.hij("",t.following.length," ")}}function kg(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",1)(1,"div",2),e._UZ(2,"img",3),e.qZA(),e.TgZ(3,"div",4)(4,"div",5)(5,"div",6),e.YNc(6,Yk,1,3,"img",7),e.YNc(7,zb,1,1,"img",8),e.qZA()(),e.TgZ(8,"div",9)(9,"div",10),e.YNc(10,Wb,1,1,"ng-template",11),e.YNc(11,Sx,1,1,"ng-template",11),e._UZ(12,"app-profile-actions",12),e.qZA(),e.TgZ(13,"h2",13),e.YNc(14,Fh,2,1,"span",14),e.YNc(15,ml,3,2,"span",14),e.YNc(16,Ox,2,0,"span",15),e.qZA(),e.TgZ(17,"div",16)(18,"div",17)(19,"mat-icon",18),e._uU(20,"key"),e.qZA()(),e.TgZ(21,"div",19)(22,"span",20),e.NdJ("click",function(){const l=e.CHM(t).ngIf,v=e.oxw();return e.KtG(v.copy(l.npub))}),e._uU(23),e.qZA()()(),e.YNc(24,rf,7,1,"div",21),e.YNc(25,Nx,6,1,"div",21),e.YNc(26,Px,6,3,"div",22),e.YNc(27,sf,6,3,"div",22),e.YNc(28,Yx,2,1,"ng-template",null,23,e.W1O),e.YNc(30,Qb,2,1,"ng-template",null,24,e.W1O),e.TgZ(32,"span"),e.YNc(33,Fg,2,1,"p",25),e.qZA(),e.YNc(34,Cg,5,4,"div",26),e.TgZ(35,"div")(36,"mat-menu",null,27)(38,"button",28)(39,"mat-icon"),e._uU(40,"notifications_off"),e.qZA(),e.TgZ(41,"span"),e._uU(42,"Mute"),e.qZA()(),e.TgZ(43,"button",28)(44,"mat-icon"),e._uU(45,"notifications_paused"),e.qZA(),e.TgZ(46,"span"),e._uU(47,"Remove from Notes"),e.qZA()(),e.TgZ(48,"button",28)(49,"mat-icon"),e._uU(50,"notifications"),e.qZA(),e.TgZ(51,"span"),e._uU(52,"Remove from Notes"),e.qZA()()()()()()()}if(2&r){const t=i.ngIf,n=e.oxw();e.xp6(2),e.Q6J("src",t.banner,e.LSH),e.xp6(4),e.Q6J("ngIf",1==(null==t?null:t.status)),e.xp6(1),e.Q6J("ngIf",1!=(null==t?null:t.status)),e.xp6(3),e.Q6J("ngIf",n.isFollowing(t)),e.xp6(1),e.Q6J("ngIf",!n.isFollowing(t)),e.xp6(1),e.Q6J("fab",!1)("profile",t),e.xp6(1),e.Q6J("matTooltip",t.name),e.xp6(1),e.Q6J("ngIf",t.display_name),e.xp6(1),e.Q6J("ngIf",!t.display_name),e.xp6(1),e.Q6J("ngIf",n.isFollowing(t)),e.xp6(7),e.Oqu(t.npub),e.xp6(1),e.Q6J("ngIf",n.isValidNip05),e.xp6(1),e.Q6J("ngIf",t.website),e.xp6(1),e.Q6J("ngIf",t.lud06),e.xp6(1),e.Q6J("ngIf",t.lud16),e.xp6(6),e.Q6J("ngIf",t.about),e.xp6(1),e.Q6J("ngIf",t.following)}}class fl{constructor(i,t,n,a,l,v){this.appState=i,this.ui=t,this.profileService=n,this.dialog=a,this.circleService=l,this.utilities=v,this.pubkey="",this.tooltip="",this.tooltipName="",this.isValidNip05=!1,this.subscriptions=[],this.userPubKey=this.appState.getPublicKey()}follow(i){var t=this;return(0,ve.Z)(function*(){i&&(i.status!==$r.Follow?(i.circle=0,i.status=1,i=yield t.profileService.follow(i.pubkey,0)):(i.circle=0,i=yield t.profileService.setCircle(i.pubkey,0)))})()}isFollowing(i){return!(!i||!i.following)&&i.following.includes(this.userPubKey)}get imagePath(){return this.ui.profile.picture?this.ui.profile.picture:fl.defaultProfileImage}showProfileImage(){this.dialog.open(Ll,{data:{picture:this.imagePath}})}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}ngOnInit(){var i=this;return(0,ve.Z)(function*(){i.subscriptions.push(i.ui.profile$.subscribe(function(){var t=(0,ve.Z)(function*(n){if(n&&(n.lud06&&(i.qr06=yield du.hz("lightning:"+n.lud06,{errorCorrectionLevel:"L",margin:2,scale:5})),n.lud16&&(i.qr16=yield du.hz("lightning:"+n.lud16,{errorCorrectionLevel:"L",margin:2,scale:5})),n.nip05)){let a=null;try{a=yield zr.queryProfile(n?.nip05),i.isValidNip05=a?.pubkey==n?.pubkey}catch{console.log("failed to fetch NIP05 identifier")}}});return function(n){return t.apply(this,arguments)}}()))})()}displayNIP05(i){return i&&i.startsWith("_@")?i.substring(2):i}copy(i){this.utilities.copy(i)}getWellKnownLink(i){if(-1===i.indexOf("@"))return"";const t=i.split("@");return`https://${t[1]}/.well-known/nostr.json?name=${t[0]}`}openDialog(i){this.dialog.open(cs,{width:"400px",data:{profile:i}})}}function Dg(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card-content")(1,"p")(2,"button",6),e.NdJ("click",function(){e.CHM(t);const a=e.MAs(5);return e.KtG(a.click())}),e._uU(3,"Pick Profile Image"),e.qZA(),e.TgZ(4,"input",7,8),e.NdJ("change",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.onProfileFileSelected(a))}),e.qZA(),e._UZ(6,"span",9),e.TgZ(7,"button",6),e.NdJ("click",function(){e.CHM(t);const a=e.MAs(10);return e.KtG(a.click())}),e._uU(8,"Pick Profile Banner"),e.qZA(),e.TgZ(9,"input",7,10),e.NdJ("change",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.onBannerFileSelected(a))}),e.qZA(),e._UZ(11,"span",9),e.qZA(),e.TgZ(12,"p")(13,"mat-form-field",11)(14,"mat-icon",12),e._uU(15,"badge"),e.qZA(),e.TgZ(16,"mat-label"),e._uU(17,"Display Name"),e.qZA(),e.TgZ(18,"input",13),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.profile.display_name=a)}),e.qZA()()(),e.TgZ(19,"p")(20,"mat-form-field",11)(21,"mat-icon",12),e._uU(22,"alternate_email"),e.qZA(),e.TgZ(23,"mat-label"),e._uU(24,"Nickname"),e.qZA(),e.TgZ(25,"input",13),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.profile.name=a)}),e.qZA()()(),e.TgZ(26,"p")(27,"mat-form-field",11)(28,"mat-icon",12),e._uU(29,"help_outline"),e.qZA(),e.TgZ(30,"mat-label"),e._uU(31,"About"),e.qZA(),e.TgZ(32,"textarea",14),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.profile.about=a)}),e.qZA()()(),e.TgZ(33,"p")(34,"mat-form-field",11)(35,"mat-icon",12),e._uU(36,"how_to_reg"),e.qZA(),e.TgZ(37,"mat-label"),e._uU(38,"E-mail/Domain Identifier (NIP05)"),e.qZA(),e.TgZ(39,"input",13),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.profile.nip05=a)}),e.qZA()()(),e.TgZ(40,"p")(41,"mat-form-field",11)(42,"mat-icon",12),e._uU(43,"public"),e.qZA(),e.TgZ(44,"mat-label"),e._uU(45,"Website"),e.qZA(),e.TgZ(46,"input",13),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.profile.website=a)}),e.qZA()()(),e.TgZ(47,"p")(48,"mat-form-field",11)(49,"mat-icon",12),e._uU(50,"currency_bitcoin"),e.qZA(),e.TgZ(51,"mat-label"),e._uU(52,"Bitcoin Payment Link (LUD06)"),e.qZA(),e.TgZ(53,"input",15),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.profile.lud06=a)}),e.qZA()()(),e.TgZ(54,"p")(55,"mat-form-field",11)(56,"mat-icon",12),e._uU(57,"currency_bitcoin"),e.qZA(),e.TgZ(58,"mat-label"),e._uU(59,"Bitcoin Payment Alias (LUD16)"),e.qZA(),e.TgZ(60,"input",16),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.profile.lud16=a)}),e.qZA()()(),e.TgZ(61,"p"),e._uU(62),e.ALo(63,"ago"),e.qZA()()}if(2&r){const t=e.oxw();e.xp6(18),e.Q6J("ngModel",t.profile.display_name),e.xp6(7),e.Q6J("ngModel",t.profile.name),e.xp6(7),e.Q6J("ngModel",t.profile.about),e.xp6(7),e.Q6J("ngModel",t.profile.nip05),e.xp6(7),e.Q6J("ngModel",t.profile.website),e.xp6(7),e.Q6J("ngModel",t.profile.lud06),e.xp6(7),e.Q6J("ngModel",t.profile.lud16),e.xp6(2),e.hij("Last updated: ",e.lcZ(63,8,t.profile.created_at),"")}}fl.defaultProfileImage="/assets/profile.png",fl.\u0275fac=function(i){return new(i||fl)(e.Y36(ce.i),e.Y36(Gr),e.Y36(Bn),e.Y36(vi),e.Y36(ba),e.Y36(Pi.dU))},fl.\u0275cmp=e.Xpm({type:fl,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-banner-image",3,"src"],[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"],["class","follows-you",4,"ngIf"],[1,"profile-labels"],[1,"profile-labels-left"],[1,"profile-icon"],[1,"profile-labels-middle","dimmed"],[1,"hoverable",3,"click"],["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(i,t){1&i&&(e.YNc(0,kg,53,18,"div",0),e.ALo(1,"async")),2&i&&e.Q6J("ngIf",e.lcZ(1,1,t.ui.profile$))},dependencies:[F.O5,Ht.rH,Mt.lW,ar,fc,Ys,eo,Lb,nd,F.Ov],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}.profile-banner-image[_ngcontent-%COMP%]{object-fit:cover;width:100%;max-height:320px}@media only screen and (max-width: 599px){.current-event[_ngcontent-%COMP%]{margin-bottom:0}}.follows-you[_ngcontent-%COMP%]{font-size:.6em;margin-left:1em;padding:.1em .4em;background-color:#0003;border-radius:10px;display:inline-block}.dark[_ngcontent-%COMP%] .follows-you[_ngcontent-%COMP%]{font-size:.6em;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 uu=new WeakMap;class kh{get profile$(){return ot(this,uu).asObservable()}constructor(i,t,n,a,l,v,I,W,G,ye,Ge,yt){Ue(this,uu,{writable:!0,value:void 0}),this.upload=i,this.navigation=t,this.ui=n,this.appState=a,this.validator=l,this.utilities=v,this.router=I,this.profiles=W,this.sanitizer=G,this.profileService=ye,this.dataService=Ge,this.activatedRoute=yt,this.imagePath="",this.profileName="",this.subscriptions=[],Kt(this,uu,new je.X(this.profile)),this.selectedProfileFile=null,this.selectedBannerFile=null}ngOnInit(){var i=this;return(0,ve.Z)(function*(){i.appState.updateTitle("Edit Profile"),i.originalProfile={name:"",pubkey:i.appState.getPublicKey()},i.subscriptions.push(i.profileService.profile$.subscribe(t=>{t||(t=i.profileService.emptyProfile(i.appState.getPublicKey())),console.log("PROFILE SERVICE:",t),i.originalProfile=t,i.originalProfile&&i.cloneProfile()}))})()}onProfileFileSelected(i){if(!this.profile)return;this.selectedProfileFile=i.target.files[0]??null;const t=(window.URL?URL:webkitURL).createObjectURL(this.selectedProfileFile);this.profile.picture=this.sanitizer.bypassSecurityTrustUrl(t)}onBannerFileSelected(i){if(!this.profile)return;this.selectedBannerFile=i.target.files[0]??null;const t=(window.URL?URL:webkitURL).createObjectURL(this.selectedBannerFile);this.profile.banner=this.sanitizer.bypassSecurityTrustUrl(t)}cloneProfile(){const i=structuredClone(this.originalProfile);this.profile=i,ot(this,uu).next(this.profile),this.ui.setProfile(this.profile)}cancelEdit(){this.cloneProfile()}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}sanitize(i){return this.sanitizer.bypassSecurityTrustUrl(i)}updateMetadata(){var i=this;return(0,ve.Z)(function*(){if(i.profile?.picture!=i.originalProfile?.picture){console.log("Upload profile image...");const t=yield i.upload.upload(i.selectedProfileFile);console.log(t),t.url&&(i.profile.picture=t.url)}if(i.profile?.banner!=i.originalProfile?.banner){console.log("Upload banner image...");const t=yield i.upload.upload(i.selectedBannerFile);console.log(t),t.url&&(i.profile.banner=t.url)}console.log(i.profile),yield i.dataService.updateMetadata(i.profile),i.router.navigate(["/p",i.profile?.pubkey])})()}}kh.\u0275fac=function(i){return new(i||kh)(e.Y36(pg.C),e.Y36(ra),e.Y36(Gr),e.Y36(ce.i),e.Y36(vr.Y),e.Y36(Pi.dU),e.Y36(Ht.F0),e.Y36(Bn),e.Y36(f.H7),e.Y36(Bn),e.Y36(Wr),e.Y36(Ht.gz))},kh.\u0275cmp=e.Xpm({type:kh,selectors:[["app-profile"]],decls:11,vars:1,consts:[["infiniteScroll","",1,"",3,"scrollAction"],[1,"page"],[4,"ngIf"],["align","end"],["mat-raised-button","",3,"click"],["mat-raised-button","","color","primary",3,"click"],["type","button","mat-stroked-button","",3,"click"],["hidden","","type","file",3,"change"],["profileImageInput",""],[1,"file-name"],["profileBannerInput",""],[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(i,t){1&i&&(e.TgZ(0,"div",0),e.NdJ("scrollAction",function(){return t.navigation.showMore()}),e._UZ(1,"app-profile-header"),e.TgZ(2,"div",1)(3,"mat-card"),e.YNc(4,Dg,64,10,"mat-card-content",2),e.TgZ(5,"mat-card-footer",3)(6,"button",4),e.NdJ("click",function(){return t.cancelEdit()}),e._uU(7,"Cancel"),e.qZA(),e._uU(8,"\xa0 "),e.TgZ(9,"button",5),e.NdJ("click",function(){return t.updateMetadata()}),e._uU(10,"Save"),e.qZA()()()()()),2&i&&(e.xp6(4),e.Q6J("ngIf",t.profile))},dependencies:[F.O5,Za,Aa,Ta,ol,Mt.lW,Ia,Ns,s1,ar,_a,ua,Ma,id,fl,ls],styles:[".example-full-width[_ngcontent-%COMP%]{width:100%}td[_ngcontent-%COMP%]{padding-right:2px}.file-name[_ngcontent-%COMP%]{margin-left:1rem}"]});var xr=y(5301),Yn=y(7084);const Hx=["switch"],Kb=["*"],Mg=new e.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})}),$b={provide:ga,useExisting:(0,e.Gpc)(()=>hu),multi:!0};class Eg{constructor(i,t){this.source=i,this.checked=t}}let Xb=0;const ey=(0,ae.sb)((0,ae.pj)((0,ae.Kr)((0,ae.Id)(class{constructor(r){this._elementRef=r}}))));let Ux=(()=>{class r extends ey{get required(){return this._required}set required(t){this._required=(0,st.Ig)(t)}get checked(){return this._checked}set checked(t){this._checked=(0,st.Ig)(t),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(t,n,a,l,v,I,W){super(t),this._focusMonitor=n,this._changeDetectorRef=a,this.defaults=v,this._onChange=G=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new e.vpe,this.toggleChange=new e.vpe,this.tabIndex=parseInt(l)||0,this.color=this.defaultColor=v.color||"accent",this._noopAnimations="NoopAnimations"===I,this.id=this._uniqueId=`${W}${++Xb}`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{"keyboard"===t||"program"===t?(this._focused=!0,this._changeDetectorRef.markForCheck()):t||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(t){this.checked=!!t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,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 r.\u0275fac=function(t){e.$Z()},r.\u0275dir=e.lG2({type:r,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:[e.qOj]}),r})(),hu=(()=>{class r extends Ux{get buttonId(){return`${this.id||this._uniqueId}-button`}constructor(t,n,a,l,v,I){super(t,n,a,l,v,I,"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 Eg(this,this.checked)))}focus(){this._switchElement.nativeElement.focus()}_createChangeEvent(t){return new Eg(this,t)}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(g.tE),e.Y36(e.sBO),e.$8M("tabindex"),e.Y36(Mg),e.Y36(e.QbO,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-slide-toggle"]],viewQuery:function(t,n){if(1&t&&e.Gf(Hx,5),2&t){let a;e.iGM(a=e.CRH())&&(n._switchElement=a.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:11,hostBindings:function(t,n){2&t&&(e.Ikx("id",n.id),e.uIk("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),e.ekj("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:[e._Bn([$b]),e.qOj],ngContentSelectors:Kb,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(t,n){if(1&t&&(e.F$t(),e.TgZ(0,"div",0)(1,"button",1,2),e.NdJ("click",function(){return n._handleClick()}),e._UZ(3,"div",3),e.TgZ(4,"div",4)(5,"div",5)(6,"div",6),e._UZ(7,"div",7),e.qZA(),e.TgZ(8,"div",8),e._UZ(9,"div",9),e.qZA(),e.TgZ(10,"div",10),e.O4$(),e.TgZ(11,"svg",11),e._UZ(12,"path",12),e.qZA(),e.TgZ(13,"svg",13),e._UZ(14,"path",14),e.qZA()()()()(),e.kcU(),e.TgZ(15,"label",15),e.NdJ("click",function(l){return l.stopPropagation()}),e.Hsn(16),e.qZA()()),2&t){const a=e.MAs(2);e.ekj("mdc-form-field--align-end","before"==n.labelPosition),e.xp6(1),e.ekj("mdc-switch--selected",n.checked)("mdc-switch--unselected",!n.checked)("mdc-switch--checked",n.checked)("mdc-switch--disabled",n.disabled),e.Q6J("tabIndex",n.tabIndex)("disabled",n.disabled),e.uIk("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.xp6(8),e.Q6J("matRippleTrigger",a)("matRippleDisabled",n.disableRipple||n.disabled)("matRippleCentered",!0),e.xp6(6),e.Q6J("for",n.buttonId),e.uIk("id",n._labelId)}},dependencies:[ae.wG],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}),r})(),Tg=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})(),iy=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[Tg,ae.BQ,ae.si,F.ez,Tg,ae.BQ]}),r})();class Ga{constructor(i,t){this.dialogRef=i,this.data=t}onNoClick(){this.data.url="",this.dialogRef.close()}}Ga.\u0275fac=function(i){return new(i||Ga)(e.Y36(Ee),e.Y36(bt))},Ga.\u0275cmp=e.Xpm({type:Ga,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(i,t){1&i&&(e.TgZ(0,"div",0)(1,"h1",1),e._uU(2,"Add a relay"),e.qZA(),e.TgZ(3,"div",2)(4,"mat-form-field",3)(5,"mat-icon",4),e._uU(6,"dns"),e.qZA(),e.TgZ(7,"mat-label"),e._uU(8,"URL"),e.qZA(),e.TgZ(9,"input",5),e.NdJ("ngModelChange",function(a){return t.data.url=a}),e.qZA()(),e.TgZ(10,"mat-slide-toggle",6),e.NdJ("ngModelChange",function(a){return t.data.read=a}),e._uU(11,"Read"),e.qZA(),e._uU(12,"\xa0 "),e.TgZ(13,"mat-slide-toggle",6),e.NdJ("ngModelChange",function(a){return t.data.write=a}),e._uU(14,"Write"),e.qZA()(),e.TgZ(15,"div",7)(16,"button",8),e.NdJ("click",function(){return t.onNoClick()}),e._uU(17,"Cancel"),e.qZA(),e.TgZ(18,"button",9),e._uU(19,"Add"),e.qZA()()()),2&i&&(e.xp6(9),e.Q6J("ngModel",t.data.url),e.xp6(1),e.Q6J("ngModel",t.data.read),e.xp6(3),e.Q6J("ngModel",t.data.write),e.xp6(5),e.Q6J("mat-dialog-close",t.data))},dependencies:[Za,Aa,Ta,ol,Mt.lW,ar,hu,_a,ua,Ma,rn,Dt,vt,Ui],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}"]});var pl=y(9383),co=y(5017),Ag=y(1884);const Hk=["trigger"],Uk=["panel"];function ny(r,i){if(1&r&&(e.TgZ(0,"span",10),e._uU(1),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.Oqu(t.placeholder)}}function ry(r,i){if(1&r&&(e.TgZ(0,"span",14),e._uU(1),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Oqu(t.triggerValue)}}function Dh(r,i){1&r&&e.Hsn(0,0,["*ngSwitchCase","true"])}function Vx(r,i){if(1&r&&(e.TgZ(0,"span",11),e.YNc(1,ry,2,1,"span",12),e.YNc(2,Dh,1,0,"ng-content",13),e.qZA()),2&r){const t=e.oxw();e.Q6J("ngSwitch",!!t.customTrigger),e.xp6(2),e.Q6J("ngSwitchCase",!0)}}function Sg(r,i){if(1&r){const t=e.EpF();e.O4$(),e.kcU(),e.TgZ(0,"div",15,16),e.NdJ("@transformPanel.done",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._panelDoneAnimatingStream.next(a.toState))})("keydown",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._handleKeydown(a))}),e.Hsn(2,1),e.qZA()}if(2&r){const t=e.oxw();e.Gre("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",t._getPanelTheme(),""),e.Q6J("ngClass",t.panelClass)("@transformPanel","showing"),e.uIk("id",t.id+"-panel")("aria-multiselectable",t.multiple)("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby())}}const Zx=[[["mat-select-trigger"]],"*"],ay=["mat-select-trigger","*"],zx={transformPanelWrap:(0,xe.X$)("transformPanelWrap",[(0,xe.eR)("* => void",(0,xe.IO)("@transformPanel",[(0,xe.pV)()],{optional:!0}))]),transformPanel:(0,xe.X$)("transformPanel",[(0,xe.SB)("void",(0,xe.oB)({opacity:0,transform:"scale(1, 0.8)"})),(0,xe.eR)("void => showing",(0,xe.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,xe.oB)({opacity:1,transform:"scale(1, 1)"}))),(0,xe.eR)("* => void",(0,xe.jt)("100ms linear",(0,xe.oB)({opacity:0})))])};let Ig=0;const Og=new e.OlP("mat-select-scroll-strategy"),Ng=new e.OlP("MAT_SELECT_CONFIG"),Zk={provide:Og,deps:[_.aV],useFactory:function lf(r){return()=>r.scrollStrategies.reposition()}},sy=new e.OlP("MatSelectTrigger");class Gx{constructor(i,t){this.source=i,this.value=t}}const ly=(0,ae.Kr)((0,ae.sb)((0,ae.Id)((0,ae.FD)(class{constructor(r,i,t,n,a){this._elementRef=r,this._defaultErrorStateMatcher=i,this._parentForm=t,this._parentFormGroup=n,this.ngControl=a,this.stateChanges=new D.x}}))));let mu=(()=>{class r extends ly{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(so.required)??!1}set required(t){this._required=(0,st.Ig)(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._multiple=(0,st.Ig)(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=(0,st.Ig)(t)}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){this._assignValue(t)&&this._onChange(t)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(t){this._typeaheadDebounceInterval=(0,st.su)(t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}constructor(t,n,a,l,v,I,W,G,ye,Ge,yt,It,Yt,Gt){super(v,l,W,G,Ge),this._viewportRuler=t,this._changeDetectorRef=n,this._ngZone=a,this._dir=I,this._parentFormField=ye,this._liveAnnouncer=Yt,this._defaultOptions=Gt,this._panelOpen=!1,this._compareWith=(oi,ai)=>oi===ai,this._uid="mat-select-"+Ig++,this._triggerAriaLabelledBy=null,this._destroy=new D.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+Ig++,this._panelDoneAnimatingStream=new D.x,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=(0,P.P)(()=>{const oi=this.options;return oi?oi.changes.pipe((0,N.O)(oi),(0,bs.w)(()=>(0,Ye.T)(...oi.map(ai=>ai.onSelectionChange)))):this._ngZone.onStable.pipe((0,Se.q)(1),(0,bs.w)(()=>this.optionSelectionChanges))}),this.openedChange=new e.vpe,this._openedStream=this.openedChange.pipe((0,Qe.h)(oi=>oi),(0,rr.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,Qe.h)(oi=>!oi),(0,rr.U)(()=>{})),this.selectionChange=new e.vpe,this.valueChange=new e.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=Gt?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=Gt.typeaheadDebounceInterval),this._scrollStrategyFactory=It,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(yt)||0,this.id=this.id}ngOnInit(){this._selectionModel=new co.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,Ag.x)(),(0,qi.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,qi.R)(this._destroy)).subscribe(t=>{t.added.forEach(n=>n.select()),t.removed.forEach(n=>n.deselect())}),this.options.changes.pipe((0,N.O)(null),(0,qi.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const t=this._getTriggerAriaLabelledby(),n=this.ngControl;if(t!==this._triggerAriaLabelledBy){const a=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?a.setAttribute("aria-labelledby",t):a.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(t){(t.disabled||t.userAriaDescribedBy)&&this.stateChanges.next(),t.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(t){this._assignValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,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 t=this._selectionModel.selected.map(n=>n.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const n=t.keyCode,a=n===A.JH||n===A.LH||n===A.oh||n===A.SV,l=n===A.K5||n===A.L_,v=this._keyManager;if(!v.isTyping()&&l&&!(0,A.Vb)(t)||(this.multiple||t.altKey)&&a)t.preventDefault(),this.open();else if(!this.multiple){const I=this.selected;v.onKeydown(t);const W=this.selected;W&&I!==W&&this._liveAnnouncer.announce(W.viewValue,1e4)}}_handleOpenKeydown(t){const n=this._keyManager,a=t.keyCode,l=a===A.JH||a===A.LH,v=n.isTyping();if(l&&t.altKey)t.preventDefault(),this.close();else if(v||a!==A.K5&&a!==A.L_||!n.activeItem||(0,A.Vb)(t))if(!v&&this._multiple&&a===A.A&&t.ctrlKey){t.preventDefault();const I=this.options.some(W=>!W.disabled&&!W.selected);this.options.forEach(W=>{W.disabled||(I?W.select():W.deselect())})}else{const I=n.activeItemIndex;n.onKeydown(t),this._multiple&&l&&t.shiftKey&&n.activeItem&&n.activeItemIndex!==I&&n.activeItem._selectViaInteraction()}else t.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((0,Se.q)(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(t){if(this.options.forEach(n=>n.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(n=>this._selectOptionByValue(n)),this._sortValues();else{const n=this._selectOptionByValue(t);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(t){const n=this.options.find(a=>{if(this._selectionModel.isSelected(a))return!1;try{return null!=a.value&&this._compareWith(a.value,t)}catch{return!1}});return n&&this._selectionModel.select(n),n}_assignValue(t){return!!(t!==this._value||this._multiple&&Array.isArray(t))&&(this.options&&this._setSelectionByValue(t),this._value=t,!0)}_initKeyManager(){this._keyManager=new g.s1(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 t=(0,Ye.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,qi.R)(t)).subscribe(n=>{this._onSelect(n.source,n.isUserInput),n.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Ye.T)(...this.options.map(n=>n._stateChanges)).pipe((0,qi.R)(t)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(t,n){const a=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(a!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),n&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),n&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),a!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((n,a)=>this.sortComparator?this.sortComparator(n,a,t):t.indexOf(n)-t.indexOf(a)),this.stateChanges.next()}}_propagateChanges(t){let n=null;n=this.multiple?this.selected.map(a=>a.value):this.selected?this.selected.value:t,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(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const t=this._parentFormField?.getLabelId();return this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const t=this._parentFormField?.getLabelId();let n=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(Mr.rL),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(ae.rD),e.Y36(e.SBq),e.Y36(S.Is,8),e.Y36(rl,8),e.Y36(As,8),e.Y36(rc,8),e.Y36(Ts,10),e.$8M("tabindex"),e.Y36(Og),e.Y36(g.Kd),e.Y36(Ng,8))},r.\u0275dir=e.lG2({type:r,viewQuery:function(t,n){if(1&t&&(e.Gf(Hk,5),e.Gf(Uk,5),e.Gf(_.pI,5)),2&t){let a;e.iGM(a=e.CRH())&&(n.trigger=a.first),e.iGM(a=e.CRH())&&(n.panel=a.first),e.iGM(a=e.CRH())&&(n._overlayDir=a.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:[e.qOj,e.TTD]}),r})(),fu=(()=>{class r extends mu{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((0,qi.R)(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(t){const n=this.options.toArray()[t];if(n){const a=this.panel.nativeElement,l=(0,ae.CB)(t,this.options,this.optionGroups),v=n._getHostElement();a.scrollTop=0===t&&1===l?0:(0,ae.jH)(v.offsetTop,v.offsetHeight,a.scrollTop,a.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(t){return new Gx(this,t)}_getOverlayWidth(){return(this._preferredOverlayOrigin instanceof _.xu?this._preferredOverlayOrigin.elementRef:this._preferredOverlayOrigin||this._elementRef).nativeElement.getBoundingClientRect().width}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=(0,st.Ig)(t),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const t of this.options)t._changeDetectorRef.markForCheck()}}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-select"]],contentQueries:function(t,n,a){if(1&t&&(e.Suo(a,sy,5),e.Suo(a,ae.ey,5),e.Suo(a,ae.K7,5)),2&t){let l;e.iGM(l=e.CRH())&&(n.customTrigger=l.first),e.iGM(l=e.CRH())&&(n.options=l),e.iGM(l=e.CRH())&&(n.optionGroups=l)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(t,n){1&t&&e.NdJ("keydown",function(l){return n._handleKeydown(l)})("focus",function(){return n._onFocus()})("blur",function(){return n._onBlur()}),2&t&&(e.uIk("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()),e.ekj("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:[e._Bn([{provide:Bd,useExisting:r},{provide:ae.HF,useExisting:r}]),e.qOj],ngContentSelectors:ay,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(t,n){if(1&t&&(e.F$t(Zx),e.TgZ(0,"div",0,1),e.NdJ("click",function(){return n.toggle()}),e.TgZ(3,"div",2),e.YNc(4,ny,2,1,"span",3),e.YNc(5,Vx,3,2,"span",4),e.qZA(),e.TgZ(6,"div",5)(7,"div",6),e.O4$(),e.TgZ(8,"svg",7),e._UZ(9,"path",8),e.qZA()()()(),e.YNc(10,Sg,3,9,"ng-template",9),e.NdJ("backdropClick",function(){return n.close()})("attach",function(){return n._onAttached()})("detach",function(){return n.close()})),2&t){const a=e.MAs(1);e.uIk("aria-owns",n.panelOpen?n.id+"-panel":null),e.xp6(3),e.Q6J("ngSwitch",n.empty),e.uIk("id",n._valueId),e.xp6(1),e.Q6J("ngSwitchCase",!0),e.xp6(1),e.Q6J("ngSwitchCase",!1),e.xp6(5),e.Q6J("cdkConnectedOverlayPanelClass",n._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",n._scrollStrategy)("cdkConnectedOverlayOrigin",n._preferredOverlayOrigin||a)("cdkConnectedOverlayOpen",n.panelOpen)("cdkConnectedOverlayPositions",n._positions)("cdkConnectedOverlayWidth",n._overlayWidth)}},dependencies:[F.mk,F.RF,F.n9,F.ED,_.pI,_.xu],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:[zx.transformPanel]},changeDetection:0}),r})(),cf=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[Zk],imports:[F.ez,_.U8,ae.Ng,ae.BQ,Mr.ZD,Ep,ae.Ng,ae.BQ]}),r})();var Bl=y(4968),Wx=y(5684);function Gk(r,i){}const qx=function(r){return{animationDuration:r}},Qx=function(r,i){return{value:r,params:i}};function Jx(r,i){1&r&&e.Hsn(0)}const pu=["*"],Lg=["tabListContainer"],cy=["tabList"],Rg=["tabListInner"],Pg=["nextPaginator"],dy=["previousPaginator"],Kx=["tabBodyWrapper"],uy=["tabHeader"];function $x(r,i){}function hy(r,i){if(1&r&&e.YNc(0,$x,0,0,"ng-template",14),2&r){const t=e.oxw().$implicit;e.Q6J("cdkPortalOutlet",t.templateLabel)}}function my(r,i){if(1&r&&e._uU(0),2&r){const t=e.oxw().$implicit;e.Oqu(t.textLabel)}}function fy(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",6,7),e.NdJ("click",function(){const a=e.CHM(t),l=a.$implicit,v=a.index,I=e.oxw(),W=e.MAs(1);return e.KtG(I._handleClick(l,W,v))})("cdkFocusChange",function(a){const v=e.CHM(t).index,I=e.oxw();return e.KtG(I._tabFocusChanged(a,v))}),e._UZ(2,"span",8)(3,"div",9),e.TgZ(4,"span",10)(5,"span",11),e.YNc(6,hy,1,1,"ng-template",12),e.YNc(7,my,1,1,"ng-template",null,13,e.W1O),e.qZA()()()}if(2&r){const t=i.$implicit,n=i.index,a=e.MAs(1),l=e.MAs(8),v=e.oxw();e.ekj("mdc-tab--active",v.selectedIndex===n),e.Q6J("id",v._getTabLabelId(n))("ngClass",t.labelClass)("disabled",t.disabled)("fitInkBarToContent",v.fitInkBarToContent),e.uIk("tabIndex",v._getTabIndex(n))("aria-posinset",n+1)("aria-setsize",v._tabs.length)("aria-controls",v._getTabContentId(n))("aria-selected",v.selectedIndex===n)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null),e.xp6(3),e.Q6J("matRippleTrigger",a)("matRippleDisabled",t.disabled||v.disableRipple),e.xp6(3),e.Q6J("ngIf",t.templateLabel)("ngIfElse",l)}}function py(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-tab-body",15),e.NdJ("_onCentered",function(){e.CHM(t);const a=e.oxw();return e.KtG(a._removeTabBodyWrapperHeight())})("_onCentering",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._setTabBodyWrapperHeight(a))}),e.qZA()}if(2&r){const t=i.$implicit,n=i.index,a=e.oxw();e.ekj("mat-mdc-tab-body-active",a.selectedIndex===n),e.Q6J("id",a._getTabContentId(n))("ngClass",t.bodyClass)("content",t.content)("position",t.position)("origin",t.origin)("animationDuration",a.animationDuration)("preserveContent",a.preserveContent),e.uIk("tabindex",null!=a.contentTabIndex&&a.selectedIndex===n?a.contentTabIndex:null)("aria-labelledby",a._getTabLabelId(n))}}const Xx=["mat-tab-nav-bar",""],eF=["mat-tab-link",""],Wk={translateTab:(0,xe.X$)("translateTab",[(0,xe.SB)("center, void, left-origin-center, right-origin-center",(0,xe.oB)({transform:"none"})),(0,xe.SB)("left",(0,xe.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,xe.SB)("right",(0,xe.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,xe.eR)("* => left, * => right, left => center, right => center",(0,xe.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,xe.eR)("void => left-origin-center",[(0,xe.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,xe.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,xe.eR)("void => right-origin-center",[(0,xe.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,xe.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let gy=(()=>{class r extends k.Pl{constructor(t,n,a,l){super(t,n,l),this._host=a,this._centeringSub=yo.w0.EMPTY,this._leavingSub=yo.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,N.O)(this._host._isCenterPosition(this._host._position))).subscribe(t=>{t&&!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 r.\u0275fac=function(t){return new(t||r)(e.Y36(e._Vd),e.Y36(e.s_b),e.Y36((0,e.Gpc)(()=>tF)),e.Y36(F.K0))},r.\u0275dir=e.lG2({type:r,selectors:[["","matTabBodyHost",""]],features:[e.qOj]}),r})(),qk=(()=>{class r{set position(t){this._positionIndex=t,this._computePositionAnimationState()}constructor(t,n,a){this._elementRef=t,this._dir=n,this._dirChangeSubscription=yo.w0.EMPTY,this._translateTabComplete=new D.x,this._onCentering=new e.vpe,this._beforeCentering=new e.vpe,this._afterLeavingCenter=new e.vpe,this._onCentered=new e.vpe(!0),this.animationDuration="500ms",this.preserveContent=!1,n&&(this._dirChangeSubscription=n.change.subscribe(l=>{this._computePositionAnimationState(l),a.markForCheck()})),this._translateTabComplete.pipe((0,Ag.x)((l,v)=>l.fromState===v.fromState&&l.toState===v.toState)).subscribe(l=>{this._isCenterPosition(l.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(l.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(t){const n=this._isCenterPosition(t.toState);this._beforeCentering.emit(n),n&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t}_computePositionAnimationState(t=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"}_computePositionFromOrigin(t){const n=this._getLayoutDirection();return"ltr"==n&&t<=0||"rtl"==n&&t>0?"left-origin-center":"right-origin-center"}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(S.Is,8),e.Y36(e.sBO))},r.\u0275dir=e.lG2({type:r,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),r})(),tF=(()=>{class r extends qk{constructor(t,n,a){super(t,n,a)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(S.Is,8),e.Y36(e.sBO))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-tab-body"]],viewQuery:function(t,n){if(1&t&&e.Gf(k.Pl,5),2&t){let a;e.iGM(a=e.CRH())&&(n._portalHost=a.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[e.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(t,n){1&t&&(e.TgZ(0,"div",0,1),e.NdJ("@translateTab.start",function(l){return n._onTranslateTabStarted(l)})("@translateTab.done",function(l){return n._translateTabComplete.next(l)}),e.YNc(2,Gk,0,0,"ng-template",2),e.qZA()),2&t&&e.Q6J("@translateTab",e.WLB(3,Qx,n._position,e.VKq(1,qx,n.animationDuration)))},dependencies:[gy],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:[Wk.translateTab]}}),r})();const Qk=new e.OlP("MatTabContent");let _y=(()=>{class r{constructor(t){this.template=t}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.Rgc))},r.\u0275dir=e.lG2({type:r,selectors:[["","matTabContent",""]],features:[e._Bn([{provide:Qk,useExisting:r}])]}),r})();const Jk=new e.OlP("MatTabLabel"),iF=new e.OlP("MAT_TAB");let by=(()=>{class r extends k.ig{constructor(t,n,a){super(t,n),this._closestTab=a}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.Rgc),e.Y36(e.s_b),e.Y36(iF,8))},r.\u0275dir=e.lG2({type:r,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[e._Bn([{provide:Jk,useExisting:r}]),e.qOj]}),r})();const yy="mdc-tab-indicator--active",Mh="mdc-tab-indicator--no-transition";class nF{constructor(i){this._items=i}hide(){this._items.forEach(i=>i.deactivateInkBar())}alignToElement(i){const t=this._items.find(a=>a.elementRef.nativeElement===i),n=this._currentItem;if(n?.deactivateInkBar(),t){const a=n?.elementRef.nativeElement.getBoundingClientRect?.();t.activateInkBar(a),this._currentItem=t}}}function Bg(r){return class extends r{constructor(...i){super(...i),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(i){const t=(0,st.Ig)(i);this._fitToContent!==t&&(this._fitToContent=t,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(i){const t=this.elementRef.nativeElement;if(!i||!t.getBoundingClientRect||!this._inkBarContentElement)return void t.classList.add(yy);const n=t.getBoundingClientRect(),a=i.width/n.width,l=i.left-n.left;t.classList.add(Mh),this._inkBarContentElement.style.setProperty("transform",`translateX(${l}px) scaleX(${a})`),t.getBoundingClientRect(),t.classList.remove(Mh),t.classList.add(yy),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(yy)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const i=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=i.createElement("span"),this._inkBarContentElement=i.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 vy=(0,ae.Id)(class{}),Yg=Bg((()=>{class r extends vy{constructor(t){super(),this.elementRef=t}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq))},r.\u0275dir=e.lG2({type:r,features:[e.qOj]}),r})());let Hg=(()=>{class r extends Yg{}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(t,n){2&t&&(e.uIk("aria-disabled",!!n.disabled),e.ekj("mat-mdc-tab-disabled",n.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[e.qOj]}),r})();const aF=(0,ae.Id)(class{}),Ug=new e.OlP("MAT_TAB_GROUP");let Kk=(()=>{class r extends aF{get content(){return this._contentPortal}constructor(t,n){super(),this._viewContainerRef=t,this._closestTabGroup=n,this.textLabel="",this._contentPortal=null,this._stateChanges=new D.x,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new k.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(t){t&&t._closestTab===this&&(this._templateLabel=t)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.s_b),e.Y36(Ug,8))},r.\u0275dir=e.lG2({type:r,viewQuery:function(t,n){if(1&t&&e.Gf(e.Rgc,7),2&t){let a;e.iGM(a=e.CRH())&&(n._implicitContent=a.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[e.qOj,e.TTD]}),r})(),Eh=(()=>{class r extends Kk{get templateLabel(){return this._templateLabel}set templateLabel(t){this._setTemplateLabelInput(t)}}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-tab"]],contentQueries:function(t,n,a){if(1&t&&(e.Suo(a,_y,7,e.Rgc),e.Suo(a,by,5)),2&t){let l;e.iGM(l=e.CRH())&&(n._explicitContent=l.first),e.iGM(l=e.CRH())&&(n.templateLabel=l.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[e._Bn([{provide:iF,useExisting:r}]),e.qOj],ngContentSelectors:pu,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.YNc(0,Jx,1,0,"ng-template"))},encapsulation:2}),r})();const wy=(0,x.i$)({passive:!0});let sF=(()=>{class r{get disablePagination(){return this._disablePagination}set disablePagination(t){this._disablePagination=(0,st.Ig)(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){t=(0,st.su)(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))}constructor(t,n,a,l,v,I,W){this._elementRef=t,this._changeDetectorRef=n,this._viewportRuler=a,this._dir=l,this._ngZone=v,this._platform=I,this._animationMode=W,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new D.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new D.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new e.vpe,this.indexFocused=new e.vpe,v.runOutsideAngular(()=>{(0,Bl.R)(t.nativeElement,"mouseleave").pipe((0,qi.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,Bl.R)(this._previousPaginator.nativeElement,"touchstart",wy).pipe((0,qi.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,Bl.R)(this._nextPaginator.nativeElement,"touchstart",wy).pipe((0,qi.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const t=this._dir?this._dir.change:(0,U.of)("ltr"),n=this._viewportRuler.change(150),a=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new g.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,Se.q)(1)).subscribe(a),(0,Ye.T)(t,n,this._items.changes,this._itemsResized()).pipe((0,qi.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),a()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(l=>{this.indexFocused.emit(l),this._setTabFocus(l)})}_itemsResized(){return"function"!=typeof ResizeObserver?De.E:this._items.changes.pipe((0,N.O)(this._items),(0,bs.w)(t=>new Qc.y(n=>this._ngZone.runOutsideAngular(()=>{const a=new ResizeObserver(l=>n.next(l));return t.forEach(l=>a.observe(l.elementRef.nativeElement)),()=>{a.disconnect()}}))),(0,Wx.T)(1),(0,Qe.h)(t=>t.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(t){if(!(0,A.Vb)(t))switch(t.keyCode){case A.K5:case A.L_:if(this.focusIndex!==this.selectedIndex){const n=this._items.get(this.focusIndex);n&&!n.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t))}break;default:this._keyManager.onKeydown(t)}}_onContentChanges(){const t=this._elementRef.nativeElement.textContent;t!==this._currentTextContent&&(this._currentTextContent=t||"",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(t){!this._isValidIndex(t)||this.focusIndex===t||!this._keyManager||this._keyManager.setActiveItem(t)}_isValidIndex(t){return!this._items||!!this._items.toArray()[t]}_setTabFocus(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].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 t=this.scrollDistance,n="ltr"===this._getLayoutDirection()?-t:t;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(t){this._scrollTo(t)}_scrollHeader(t){return this._scrollTo(this._scrollDistance+("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(t){this._stopInterval(),this._scrollHeader(t)}_scrollToLabel(t){if(this.disablePagination)return;const n=this._items?this._items.toArray()[t]:null;if(!n)return;const a=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:l,offsetWidth:v}=n.elementRef.nativeElement;let I,W;"ltr"==this._getLayoutDirection()?(I=l,W=I+v):(W=this._tabListInner.nativeElement.offsetWidth-l,I=W-v);const G=this.scrollDistance,ye=this.scrollDistance+a;Iye&&(this.scrollDistance+=W-ye+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const t=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}}_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 t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,n=t?t.elementRef.nativeElement:null;n?this._inkBar.alignToElement(n):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(t,n){n&&null!=n.button&&0!==n.button||(this._stopInterval(),(0,il.H)(650,100).pipe((0,qi.R)((0,Ye.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:a,distance:l}=this._scrollHeader(t);(0===l||l>=a)&&this._stopInterval()}))}_scrollTo(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const n=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(n,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:n,distance:this._scrollDistance}}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(Mr.rL),e.Y36(S.Is,8),e.Y36(e.R0b),e.Y36(x.t4),e.Y36(e.QbO,8))},r.\u0275dir=e.lG2({type:r,inputs:{disablePagination:"disablePagination"}}),r})(),$k=(()=>{class r extends sF{get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=(0,st.Ig)(t)}constructor(t,n,a,l,v,I,W){super(t,n,a,l,v,I,W),this._disableRipple=!1}_itemSelected(t){t.preventDefault()}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(Mr.rL),e.Y36(S.Is,8),e.Y36(e.R0b),e.Y36(x.t4),e.Y36(e.QbO,8))},r.\u0275dir=e.lG2({type:r,inputs:{disableRipple:"disableRipple"},features:[e.qOj]}),r})(),Xk=(()=>{class r extends $k{constructor(t,n,a,l,v,I,W){super(t,n,a,l,v,I,W)}ngAfterContentInit(){this._inkBar=new nF(this._items),super.ngAfterContentInit()}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(Mr.rL),e.Y36(S.Is,8),e.Y36(e.R0b),e.Y36(x.t4),e.Y36(e.QbO,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-tab-header"]],contentQueries:function(t,n,a){if(1&t&&e.Suo(a,Hg,4),2&t){let l;e.iGM(l=e.CRH())&&(n._items=l)}},viewQuery:function(t,n){if(1&t&&(e.Gf(Lg,7),e.Gf(cy,7),e.Gf(Rg,7),e.Gf(Pg,5),e.Gf(dy,5)),2&t){let a;e.iGM(a=e.CRH())&&(n._tabListContainer=a.first),e.iGM(a=e.CRH())&&(n._tabList=a.first),e.iGM(a=e.CRH())&&(n._tabListInner=a.first),e.iGM(a=e.CRH())&&(n._nextPaginator=a.first),e.iGM(a=e.CRH())&&(n._previousPaginator=a.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(t,n){2&t&&e.ekj("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:[e.qOj],ngContentSelectors:pu,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(t,n){1&t&&(e.F$t(),e.TgZ(0,"button",0,1),e.NdJ("click",function(){return n._handlePaginatorClick("before")})("mousedown",function(l){return n._handlePaginatorPress("before",l)})("touchend",function(){return n._stopInterval()}),e._UZ(2,"div",2),e.qZA(),e.TgZ(3,"div",3,4),e.NdJ("keydown",function(l){return n._handleKeydown(l)}),e.TgZ(5,"div",5,6),e.NdJ("cdkObserveContent",function(){return n._onContentChanges()}),e.TgZ(7,"div",7,8),e.Hsn(9),e.qZA()()(),e.TgZ(10,"button",9,10),e.NdJ("mousedown",function(l){return n._handlePaginatorPress("after",l)})("click",function(){return n._handlePaginatorClick("after")})("touchend",function(){return n._stopInterval()}),e._UZ(12,"div",2),e.qZA()),2&t&&(e.ekj("mat-mdc-tab-header-pagination-disabled",n._disableScrollBefore),e.Q6J("matRippleDisabled",n._disableScrollBefore||n.disableRipple)("disabled",n._disableScrollBefore||null),e.xp6(3),e.ekj("_mat-animation-noopable","NoopAnimations"===n._animationMode),e.xp6(7),e.ekj("mat-mdc-tab-header-pagination-disabled",n._disableScrollAfter),e.Q6J("matRippleDisabled",n._disableScrollAfter||n.disableRipple)("disabled",n._disableScrollAfter||null))},dependencies:[ae.wG,al.wD],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}),r})();const jg=new e.OlP("MAT_TABS_CONFIG");let lF=0;const cF=(0,ae.pj)((0,ae.Kr)(class{constructor(r){this._elementRef=r}}),"primary");let eD=(()=>{class r extends cF{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(t){this._dynamicHeight=(0,st.Ig)(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){this._indexToSelect=(0,st.su)(t,null)}get animationDuration(){return this._animationDuration}set animationDuration(t){this._animationDuration=/^\d+$/.test(t+"")?t+"ms":t}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(t){this._contentTabIndex=(0,st.su)(t,null)}get disablePagination(){return this._disablePagination}set disablePagination(t){this._disablePagination=(0,st.Ig)(t)}get preserveContent(){return this._preserveContent}set preserveContent(t){this._preserveContent=(0,st.Ig)(t)}get backgroundColor(){return this._backgroundColor}set backgroundColor(t){const n=this._elementRef.nativeElement.classList;n.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),t&&n.add("mat-tabs-with-background",`mat-background-${t}`),this._backgroundColor=t}constructor(t,n,a,l){super(t),this._changeDetectorRef=n,this._animationMode=l,this._tabs=new e.n_E,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=yo.w0.EMPTY,this._tabLabelSubscription=yo.w0.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new e.vpe,this.focusChange=new e.vpe,this.animationDone=new e.vpe,this.selectedTabChange=new e.vpe(!0),this._groupId=lF++,this.animationDuration=a&&a.animationDuration?a.animationDuration:"500ms",this.disablePagination=!(!a||null==a.disablePagination)&&a.disablePagination,this.dynamicHeight=!(!a||null==a.dynamicHeight)&&a.dynamicHeight,this.contentTabIndex=a?.contentTabIndex??null,this.preserveContent=!!a?.preserveContent}ngAfterContentChecked(){const t=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=t){const n=null==this._selectedIndex;if(!n){this.selectedTabChange.emit(this._createChangeEvent(t));const a=this._tabBodyWrapper.nativeElement;a.style.minHeight=a.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((a,l)=>a.isActive=l===t),n||(this.selectedIndexChange.emit(t),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((n,a)=>{n.position=a-t,null!=this._selectedIndex&&0==n.position&&!n.origin&&(n.origin=t-this._selectedIndex)}),this._selectedIndex!==t&&(this._selectedIndex=t,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const t=this._clampTabIndex(this._indexToSelect);if(t===this._selectedIndex){const n=this._tabs.toArray();let a;for(let l=0;l{n[t].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(t))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,N.O)(this._allTabs)).subscribe(t=>{this._tabs.reset(t.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(t){const n=this._tabHeader;n&&(n.focusIndex=t)}_focusChanged(t){this._lastFocusedTabIndex=t,this.focusChange.emit(this._createChangeEvent(t))}_createChangeEvent(t){const n=new Fy;return n.index=t,this._tabs&&this._tabs.length&&(n.tab=this._tabs.toArray()[t]),n}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,Ye.T)(...this._tabs.map(t=>t._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))}_getTabLabelId(t){return`mat-tab-label-${this._groupId}-${t}`}_getTabContentId(t){return`mat-tab-content-${this._groupId}-${t}`}_setTabBodyWrapperHeight(t){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const n=this._tabBodyWrapper.nativeElement;n.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(n.style.height=t+"px")}_removeTabBodyWrapperHeight(){const t=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=t.clientHeight,t.style.height="",this.animationDone.emit()}_handleClick(t,n,a){n.focusIndex=a,t.disabled||(this.selectedIndex=a)}_getTabIndex(t){return t===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(t,n){t&&"mouse"!==t&&"touch"!==t&&(this._tabHeader.focusIndex=n)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(jg,8),e.Y36(e.QbO,8))},r.\u0275dir=e.lG2({type:r,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:[e.qOj]}),r})(),hf=(()=>{class r extends eD{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(t){this._fitInkBarToContent=(0,st.Ig)(t),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(t){this._stretchTabs=(0,st.Ig)(t)}constructor(t,n,a,l){super(t,n,a,l),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!a||null==a.fitInkBarToContent)&&a.fitInkBarToContent}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(jg,8),e.Y36(e.QbO,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-tab-group"]],contentQueries:function(t,n,a){if(1&t&&e.Suo(a,Eh,5),2&t){let l;e.iGM(l=e.CRH())&&(n._allTabs=l)}},viewQuery:function(t,n){if(1&t&&(e.Gf(Kx,5),e.Gf(uy,5)),2&t){let a;e.iGM(a=e.CRH())&&(n._tabBodyWrapper=a.first),e.iGM(a=e.CRH())&&(n._tabHeader=a.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:6,hostBindings:function(t,n){2&t&&e.ekj("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:[e._Bn([{provide:Ug,useExisting:r}]),e.qOj],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(t,n){1&t&&(e.TgZ(0,"mat-tab-header",0,1),e.NdJ("indexFocused",function(l){return n._focusChanged(l)})("selectFocusedIndex",function(l){return n.selectedIndex=l}),e.YNc(2,fy,9,17,"div",2),e.qZA(),e.TgZ(3,"div",3,4),e.YNc(5,py,1,11,"mat-tab-body",5),e.qZA()),2&t&&(e.Q6J("selectedIndex",n.selectedIndex||0)("disableRipple",n.disableRipple)("disablePagination",n.disablePagination),e.xp6(2),e.Q6J("ngForOf",n._tabs),e.xp6(1),e.ekj("_mat-animation-noopable","NoopAnimations"===n._animationMode),e.xp6(2),e.Q6J("ngForOf",n._tabs))},dependencies:[F.mk,F.sg,F.O5,k.Pl,ae.wG,g.kH,tF,Hg,Xk],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}),r})();class Fy{}let Vg=0,dF=(()=>{class r extends sF{get backgroundColor(){return this._backgroundColor}set backgroundColor(t){const n=this._elementRef.nativeElement.classList;n.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),t&&n.add("mat-tabs-with-background",`mat-background-${t}`),this._backgroundColor=t}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=(0,st.Ig)(t)}constructor(t,n,a,l,v,I,W){super(t,l,v,n,a,I,W),this._disableRipple=!1,this.color="primary"}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,N.O)(null),(0,qi.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const t=this._items.toArray();for(let n=0;n{class r extends Hs{get active(){return this._isActive}set active(t){const n=(0,st.Ig)(t);n!==this._isActive&&(this._isActive=n,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(t,n,a,l,v,I){super(),this._tabNavBar=t,this.elementRef=n,this._focusMonitor=v,this._isActive=!1,this.id="mat-tab-link-"+Vg++,this.rippleConfig=a||{},this.tabIndex=parseInt(l)||0,"NoopAnimations"===I&&(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(t){this._tabNavBar.tabPanel&&t.keyCode===A.L_&&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 r.\u0275fac=function(t){return new(t||r)(e.Y36(dF),e.Y36(e.SBq),e.Y36(ae.Y2,8),e.$8M("tabindex"),e.Y36(g.tE),e.Y36(e.QbO,8))},r.\u0275dir=e.lG2({type:r,inputs:{active:"active",id:"id"},features:[e.qOj]}),r})());let zg=(()=>{class r extends dF{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(t){this._fitInkBarToContent.next((0,st.Ig)(t)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(t){this._stretchTabs=(0,st.Ig)(t)}constructor(t,n,a,l,v,I,W,G){super(t,n,a,l,v,I,W),this._fitInkBarToContent=new je.X(!1),this._stretchTabs=!0,this.disablePagination=!(!G||null==G.disablePagination)&&G.disablePagination,this.fitInkBarToContent=!(!G||null==G.fitInkBarToContent)&&G.fitInkBarToContent}ngAfterContentInit(){this._inkBar=new nF(this._items),super.ngAfterContentInit()}ngAfterViewInit(){super.ngAfterViewInit()}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(S.Is,8),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(Mr.rL),e.Y36(x.t4),e.Y36(e.QbO,8),e.Y36(jg,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(t,n,a){if(1&t&&e.Suo(a,Cy,5),2&t){let l;e.iGM(l=e.CRH())&&(n._items=l)}},viewQuery:function(t,n){if(1&t&&(e.Gf(Lg,7),e.Gf(cy,7),e.Gf(Rg,7),e.Gf(Pg,5),e.Gf(dy,5)),2&t){let a;e.iGM(a=e.CRH())&&(n._tabListContainer=a.first),e.iGM(a=e.CRH())&&(n._tabList=a.first),e.iGM(a=e.CRH())&&(n._tabListInner=a.first),e.iGM(a=e.CRH())&&(n._nextPaginator=a.first),e.iGM(a=e.CRH())&&(n._previousPaginator=a.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:15,hostBindings:function(t,n){2&t&&(e.uIk("role",n._getRole()),e.ekj("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:[e.qOj],attrs:Xx,ngContentSelectors:pu,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(t,n){1&t&&(e.F$t(),e.TgZ(0,"button",0,1),e.NdJ("click",function(){return n._handlePaginatorClick("before")})("mousedown",function(l){return n._handlePaginatorPress("before",l)})("touchend",function(){return n._stopInterval()}),e._UZ(2,"div",2),e.qZA(),e.TgZ(3,"div",3,4),e.NdJ("keydown",function(l){return n._handleKeydown(l)}),e.TgZ(5,"div",5,6),e.NdJ("cdkObserveContent",function(){return n._onContentChanges()}),e.TgZ(7,"div",7,8),e.Hsn(9),e.qZA()()(),e.TgZ(10,"button",9,10),e.NdJ("mousedown",function(l){return n._handlePaginatorPress("after",l)})("click",function(){return n._handlePaginatorClick("after")})("touchend",function(){return n._stopInterval()}),e._UZ(12,"div",2),e.qZA()),2&t&&(e.ekj("mat-mdc-tab-header-pagination-disabled",n._disableScrollBefore),e.Q6J("matRippleDisabled",n._disableScrollBefore||n.disableRipple)("disabled",n._disableScrollBefore||null),e.xp6(10),e.ekj("mat-mdc-tab-header-pagination-disabled",n._disableScrollAfter),e.Q6J("matRippleDisabled",n._disableScrollAfter||n.disableRipple)("disabled",n._disableScrollAfter||null))},dependencies:[ae.wG,al.wD],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}),r})(),Cy=(()=>{class r extends Zg{constructor(t,n,a,l,v,I){super(t,n,a,l,v,I),this._destroyed=new D.x,t._fitInkBarToContent.pipe((0,qi.R)(this._destroyed)).subscribe(W=>{this.fitInkBarToContent=W})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy()}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(zg),e.Y36(e.SBq),e.Y36(ae.Y2,8),e.$8M("tabindex"),e.Y36(g.tE),e.Y36(e.QbO,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(t,n){1&t&&e.NdJ("focus",function(){return n._handleFocus()})("keydown",function(l){return n._handleKeydown(l)}),2&t&&(e.uIk("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()),e.ekj("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:[e.qOj],attrs:eF,ngContentSelectors:pu,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(t,n){1&t&&(e.F$t(),e._UZ(0,"span",0)(1,"div",1),e.TgZ(2,"span",2)(3,"span",3),e.Hsn(4),e.qZA()()),2&t&&(e.xp6(1),e.Q6J("matRippleTrigger",n.elementRef.nativeElement)("matRippleDisabled",n.rippleDisabled))},dependencies:[ae.wG],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}),r})(),ds=(()=>{class r{constructor(){this.id="mat-tab-nav-panel-"+Vg++}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(t,n){2&t&&e.uIk("aria-labelledby",n._activeTabId)("id",n.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:pu,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0}),r})(),uF=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[F.ez,ae.BQ,k.eL,ae.si,al.Q8,g.rt,ae.BQ]}),r})();class Gg{constructor(i,t){this._document=t;const n=this._textarea=this._document.createElement("textarea"),a=n.style;a.position="fixed",a.top=a.opacity="0",a.left="-999em",n.setAttribute("aria-hidden","true"),n.value=i,n.readOnly=!0,this._document.body.appendChild(n)}copy(){const i=this._textarea;let t=!1;try{if(i){const n=this._document.activeElement;i.select(),i.setSelectionRange(0,i.value.length),t=this._document.execCommand("copy"),n&&n.focus()}}catch{}return t}destroy(){const i=this._textarea;i&&(i.remove(),this._textarea=void 0)}}let hF=(()=>{class r{constructor(t){this._document=t}copy(t){const n=this.beginCopy(t),a=n.copy();return n.destroy(),a}beginCopy(t){return new Gg(t,this._document)}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(F.K0))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();const mF=new e.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG");let mf=(()=>{class r{constructor(t,n,a){this._clipboard=t,this._ngZone=n,this.text="",this.attempts=1,this.copied=new e.vpe,this._pending=new Set,a&&null!=a.attempts&&(this.attempts=a.attempts)}copy(t=this.attempts){if(t>1){let n=t;const a=this._clipboard.beginCopy(this.text);this._pending.add(a);const l=()=>{const v=a.copy();v||!--n||this._destroyed?(this._currentTimeout=null,this._pending.delete(a),a.destroy(),this.copied.emit(v)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(l,1))};l()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(t=>t.destroy()),this._pending.clear(),this._destroyed=!0}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(hF),e.Y36(e.R0b),e.Y36(mF,8))},r.\u0275dir=e.lG2({type:r,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(t,n){1&t&&e.NdJ("click",function(){return n.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),r})(),ky=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})();function Dy(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,"\xa0Options"),e.qZA())}function fF(r,i){if(1&r&&(e.TgZ(0,"mat-icon",3),e._uU(1,"settings_applications"),e.qZA(),e.YNc(2,Dy,2,0,"span",4),e.ALo(3,"async")),2&r){const t=e.oxw();e.xp6(2),e.Q6J("ngIf",!1===e.lcZ(3,1,t.appState.displayLabels$))}}function My(r,i){if(1&r&&(e.TgZ(0,"mat-option",10),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r){const t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",e.lcZ(2,2,t),"")}}function Ey(r,i){1&r&&(e.TgZ(0,"p",16),e._uU(1," By uploading media using this "),e.TgZ(2,"a",17),e._uU(3,"nostr.build"),e.qZA(),e._uU(4," you agree to their Terms of Service: "),e.TgZ(5,"a",18),e._uU(6,"https://nostr.build/tos.html"),e.qZA()())}function pF(r,i){1&r&&(e.TgZ(0,"p",16),e._uU(1," By uploading media using this "),e.TgZ(2,"a",19),e._uU(3,"void.cat"),e.qZA(),e._uU(4," you agree to their Terms of Service. "),e.qZA())}function Ty(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",5)(1,"mat-card")(2,"mat-card-header")(3,"mat-card-title"),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.TgZ(6,"mat-card-subtitle"),e._uU(7),e.ALo(8,"translate"),e.qZA()(),e.TgZ(9,"mat-card-content"),e._UZ(10,"br"),e.TgZ(11,"mat-form-field",6)(12,"mat-label"),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.TgZ(15,"mat-select",7),e.NdJ("selectionChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.onLanguageChanged(a))})("valueChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.optionsService.values.language=a)}),e.YNc(16,My,3,4,"mat-option",8),e.qZA()(),e.TgZ(17,"mat-form-field",6)(18,"mat-label"),e._uU(19),e.ALo(20,"translate"),e.qZA(),e.TgZ(21,"mat-select",9),e.NdJ("selectionChange",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.theme.darkMode=!a.theme.darkMode)}),e.TgZ(22,"mat-option",10),e._uU(23),e.ALo(24,"translate"),e.qZA(),e.TgZ(25,"mat-option",10),e._uU(26),e.ALo(27,"translate"),e.qZA()()()()(),e._UZ(28,"br"),e.TgZ(29,"mat-card")(30,"mat-card-header")(31,"mat-card-title"),e._uU(32,"Media Upload Service"),e.qZA(),e.TgZ(33,"mat-card-subtitle"),e._uU(34,"Choose which service to use for uploading photos and films"),e.qZA()(),e.TgZ(35,"mat-card-content")(36,"mat-form-field",6)(37,"mat-select",11),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.optionsService.values.mediaService=a)}),e.TgZ(38,"mat-option",10),e._uU(39,"nostr.build"),e.qZA()()(),e.YNc(40,Ey,7,0,"p",12),e.YNc(41,pF,5,0,"p",12),e.qZA()(),e._UZ(42,"br"),e.TgZ(43,"mat-card")(44,"mat-card-header")(45,"mat-card-title"),e._uU(46,"Reactions"),e.qZA(),e.TgZ(47,"mat-card-subtitle"),e._uU(48,"Control if likes should be loaded and displayed"),e.qZA()(),e.TgZ(49,"mat-card-content")(50,"p"),e._uU(51,"Reactions is not for everyone and it might consider clutter by some. It also takes up additional bandwidth to download."),e.qZA(),e.TgZ(52,"mat-slide-toggle",13),e.NdJ("change",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.optionsService.save())})("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.optionsService.values.enableReactions=a)}),e._uU(53,"Enable Reactions"),e.qZA()()(),e._UZ(54,"br"),e.TgZ(55,"mat-card")(56,"mat-card-header")(57,"mat-card-title"),e._uU(58,"Zapping"),e.qZA(),e.TgZ(59,"mat-card-subtitle"),e._uU(60,"Control if zapping features should be enabled"),e.qZA()(),e.TgZ(61,"mat-card-content")(62,"mat-slide-toggle",13),e.NdJ("change",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.optionsService.save())})("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.optionsService.values.enableZapping=a)}),e._uU(63,"Enable Zapping"),e.qZA()()(),e._UZ(64,"br"),e.TgZ(65,"mat-card")(66,"mat-card-header")(67,"mat-card-title"),e._uU(68,"Media widgets"),e.qZA(),e.TgZ(69,"mat-card-subtitle"),e._uU(70,"Control how content are rendered"),e.qZA()(),e.TgZ(71,"mat-card-content")(72,"p"),e._uU(73,"Enable this to allow the app to render music widgets when URLs linked to the services is seen in notes."),e.qZA(),e.TgZ(74,"mat-slide-toggle",13),e.NdJ("change",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.optionsService.save())})("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.optionsService.values.enableSpotify=a)}),e._uU(75,"Enable Spotify"),e.qZA(),e.TgZ(76,"mat-slide-toggle",13),e.NdJ("change",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.optionsService.save())})("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.optionsService.values.enableTidal=a)}),e._uU(77,"Enable Tidal"),e.qZA(),e.TgZ(78,"p")(79,"button",14),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.openMediaPlayer())}),e._uU(80,"Open Media Player"),e.qZA()()()(),e._UZ(81,"br"),e.TgZ(82,"mat-card")(83,"mat-card-content")(84,"button",15),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.registerHandler("web+nostr","nostr"))}),e._uU(85,"Register Protocol Handler"),e.qZA(),e._UZ(86,"br")(87,"br"),e.TgZ(88,"div",16),e._uU(89,"Click the button to make Blockcore Notes handle links on websites for npub, nevent and nprofile."),e.qZA()()()()}if(2&r){const t=e.oxw();e.xp6(4),e.Oqu(e.lcZ(5,19,"Settings.OptionsTitle")),e.xp6(3),e.Oqu(e.lcZ(8,21,"Settings.OptionsDescription")),e.xp6(6),e.Oqu(e.lcZ(14,23,"Settings.DisplayLanguage")),e.xp6(2),e.Q6J("value",t.optionsService.values.language),e.xp6(1),e.Q6J("ngForOf",t.translate.getLangs()),e.xp6(3),e.Oqu(e.lcZ(20,25,"Settings.ChooseMode")),e.xp6(2),e.Q6J("value",t.theme.darkMode),e.xp6(1),e.Q6J("value",!0),e.xp6(1),e.Oqu(e.lcZ(24,27,"Settings.Dark")),e.xp6(2),e.Q6J("value",!1),e.xp6(1),e.Oqu(e.lcZ(27,29,"Settings.Light")),e.xp6(11),e.Q6J("value",t.optionsService.values.mediaService),e.xp6(1),e.Q6J("value","nostr.build"),e.xp6(2),e.Q6J("ngIf","nostr.build"==t.optionsService.values.mediaService),e.xp6(1),e.Q6J("ngIf","void.cat"==t.optionsService.values.mediaService),e.xp6(11),e.Q6J("ngModel",t.optionsService.values.enableReactions),e.xp6(10),e.Q6J("ngModel",t.optionsService.values.enableZapping),e.xp6(12),e.Q6J("ngModel",t.optionsService.values.enableSpotify),e.xp6(2),e.Q6J("ngModel",t.optionsService.values.enableTidal)}}function gF(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,"\xa0Data"),e.qZA())}function Wg(r,i){if(1&r&&(e.TgZ(0,"mat-icon",3),e._uU(1,"inventory_2"),e.qZA(),e.YNc(2,gF,2,0,"span",4),e.ALo(3,"async")),2&r){const t=e.oxw();e.xp6(2),e.Q6J("ngIf",!1===e.lcZ(3,1,t.appState.displayLabels$))}}function pc(r,i){if(1&r&&(e.TgZ(0,"div",24),e._UZ(1,"br"),e._uU(2,"Private key: "),e.TgZ(3,"p"),e._uU(4),e.TgZ(5,"button",25)(6,"mat-icon"),e._uU(7,"content_copy"),e.qZA()()(),e.TgZ(8,"p"),e._UZ(9,"img",26),e.qZA()()),2&r){const t=e.oxw(3);e.xp6(4),e.hij(" ",t.privateKey,""),e.xp6(1),e.Q6J("cdkCopyToClipboard",t.privateKey),e.xp6(4),e.Q6J("src",t.qrCodePrivateKey,e.LSH)}}function Ay(r,i){1&r&&(e.TgZ(0,"div"),e._uU(1,"Invalid Password"),e.qZA())}function qg(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",27),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.resetPrivateKey())}),e._uU(1,"Hide"),e.qZA()}}function Yl(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card")(1,"mat-card-header")(2,"mat-card-title"),e._uU(3,"Export Private Key"),e.qZA(),e.TgZ(4,"mat-card-subtitle"),e._uU(5,"Keep this private key safe, if you loose it or share it with websites, it can be stolen and misused."),e.qZA()(),e.TgZ(6,"mat-card-content")(7,"button",21),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.exportPrivateKey())}),e._uU(8,"Export Private Key"),e.qZA(),e.YNc(9,pc,10,3,"div",22),e.YNc(10,Ay,2,0,"div",4),e.YNc(11,qg,2,0,"button",23),e.qZA()()}if(2&r){const t=e.oxw(2);e.xp6(9),e.Q6J("ngIf",!0===t.verifiedWalletPassword),e.xp6(1),e.Q6J("ngIf",!1===t.verifiedWalletPassword),e.xp6(1),e.Q6J("ngIf",!0===t.verifiedWalletPassword)}}function _F(r,i){1&r&&(e.TgZ(0,"p"),e._uU(1,"All local data cache was cleared."),e.qZA())}function iD(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",5),e.YNc(1,Yl,12,3,"mat-card",4),e._UZ(2,"br"),e.TgZ(3,"p")(4,"button",20),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.db.clearAndReload())}),e._uU(5,"Wipe Local Database"),e.qZA()(),e.YNc(6,_F,2,0,"p",4),e.qZA()}if(2&r){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",t.hasPrivateKey),e.xp6(5),e.Q6J("ngIf",t.wiped)}}class Th{constructor(i,t,n,a,l,v,I,W,G,ye,Ge,yt,It){this.uploadService=i,this.nostr=t,this.optionsService=n,this.relayService=a,this.dialog=l,this.appState=v,this.profileService=I,this.theme=W,this.db=G,this.snackBar=ye,this.dataService=Ge,this.security=yt,this.translate=It,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(i){var t=this;return(0,ve.Z)(function*(){t.optionsService.values.primaryRelay=i.url,t.optionsService.save()})()}deleteRelays(){var i=this;return(0,ve.Z)(function*(){yield i.relayService.deleteRelays([])})()}clearProfileCache(){var i=this;return(0,ve.Z)(function*(){i.wipedNonFollow=!0})()}clearNotesCache(){var i=this;return(0,ve.Z)(function*(){i.wipedNotes=!0})()}getDefaultRelays(){var i=this;return(0,ve.Z)(function*(){yield i.relayService.appendRelays(i.nostr.defaultRelays)})()}getRelays(){var i=this;return(0,ve.Z)(function*(){const t=yield i.nostr.relays();yield i.relayService.appendRelays(t)})()}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(i,t){navigator.registerProtocolHandler(i,`/?${t}=%s`)}addRelay(){var i=this;this.dialog.open(Ga,{data:{read:!0,write:!0},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=(0,ve.Z)(function*(a){a&&(-1===a.url.indexOf("://")&&(a.url="wss://"+a.url),yield i.relayService.appendRelay(a.url,a.read,a.write))});return function(a){return n.apply(this,arguments)}}())}resetPrivateKey(){this.privateKey=void 0,this.qrCodePrivateKey=void 0,this.verifiedWalletPassword=void 0}ngOnDestroy(){this.resetPrivateKey()}onLanguageChanged(i){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 i=this;return(0,ve.Z)(function*(){i.dialog.open(Ss,{data:{action:"Unlock Private Key",password:""},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=(0,ve.Z)(function*(a){if(!a)return;let l=localStorage.getItem("blockcore:notes:nostr:prvkey");const v=yield i.security.decryptData(l,a.password);if(!v)return i.verifiedWalletPassword=!1,void i.snackBar.open("Unable to decrypt data. Probably wrong password. Try again.","Hide",{duration:3e3,horizontalPosition:"center",verticalPosition:"bottom"});i.verifiedWalletPassword=!0;const I=yr.nsecEncode(v);i.privateKey=I,i.qrCodePrivateKey=yield du.hz("nostr:"+i.privateKey,{errorCorrectionLevel:"L",margin:2,scale:5})});return function(a){return n.apply(this,arguments)}}())})()}}Th.\u0275fac=function(i){return new(i||Th)(e.Y36(pg.C),e.Y36(ps),e.Y36(Rr.I),e.Y36(Sa),e.Y36(vi),e.Y36(ce.i),e.Y36(Bn),e.Y36(oe),e.Y36(Fi),e.Y36(ko.ux),e.Y36(Wr),e.Y36(sl),e.Y36(pl.sK))},Th.\u0275cmp=e.Xpm({type:Th,selectors:[["app-settings"]],viewQuery:function(i,t){if(1&i&&e.Gf(Yn.pp,5),2&i){let n;e.iGM(n=e.CRH())&&(t.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"],["class","dimmed",4,"ngIf"],[1,"options-slider",3,"ngModel","change","ngModelChange"],["mat-button","",3,"click"],["mat-stroked-button","",3,"click"],[1,"dimmed"],["href","https://nostr.build","target","_blank"],["href","https://nostr.build/tos.html","target","_blank"],["href","https://void.cat","target","_blank"],["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(i,t){1&i&&(e.TgZ(0,"div",0)(1,"mat-tab-group")(2,"mat-tab"),e.YNc(3,fF,4,3,"ng-template",1),e.YNc(4,Ty,90,31,"ng-template",2),e.qZA(),e.TgZ(5,"mat-tab"),e.YNc(6,Wg,4,3,"ng-template",1),e.YNc(7,iD,7,2,"ng-template",2),e.qZA()()())},dependencies:[F.sg,F.O5,Aa,Ta,Mt.lW,Mt.RK,fu,ae.ey,Ia,Ns,sh,oh,Bm,ar,_y,by,Eh,hf,hu,ua,Ma,mf,F.Ov,pl.X$],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 bF=y(6660),yF=y(9921);const vF=["Lightbox"];let Sy=(()=>{class r{constructor(){}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275cmp=e.Xpm({type:r,selectors:[["photo-gallery-lightbox"]],viewQuery:function(t,n){if(1&t&&e.Gf(vF,7),2&t){let a;e.iGM(a=e.CRH())&&(n.element=a.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(t,n){1&t&&(e.TgZ(0,"div",0)(1,"div",1,2),e._UZ(3,"div",3),e.TgZ(4,"div",4)(5,"div",5),e._UZ(6,"div",6)(7,"div",6)(8,"div",6),e.qZA(),e.TgZ(9,"div",7)(10,"div",8),e._UZ(11,"div",9)(12,"button",10)(13,"button",11)(14,"button",12)(15,"button",13),e.TgZ(16,"div",14)(17,"div",15)(18,"div",16),e._UZ(19,"div",17),e.qZA()()()(),e.TgZ(20,"div",18),e._UZ(21,"div",19),e.qZA(),e._UZ(22,"button",20)(23,"button",21),e.TgZ(24,"div",22),e._UZ(25,"div",23),e.qZA()()()()())},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}),r})();class wF{}let Iy=(()=>{class r{constructor(){}initialize(t){this.lightbox=t.createComponent(Sy),this.lightboxElement=this.lightbox.instance.element,document.body.appendChild(this.lightbox.location.nativeElement)}getLightboxElement(){return this.lightboxElement.nativeElement}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();const xF={history:!1,closeEl:!0,captionEl:!1,fullscreenEl:!1,zoomEl:!0,shareEl:!1,counterEl:!0,arrowEl:!1,preloaderEl:!0};let Qg=(()=>{class r{constructor(t,n,a){this.photoGalleryConfig=t,this.viewContainerRef=n,this.lightboxService=a,this.onPhotoGalleryInit=new e.vpe,this.onPhotoGalleryDestroy=new e.vpe,this.galleryItems={},this.galleryItemIds=new Set,this.galleryImages=[],this.defaultOptions={...xF,...this.photoGalleryConfig?.defaultOptions},this.lightboxService.initialize(this.viewContainerRef)}registerGalleryItem(t){const n={id:t.id,src:t.imageUrl,...t.caption?{title:t.caption}:{},w:0,h:0,doGetSlideDimensions:!0};this.galleryItems[t.id]={id:t.id,element:t.element,image:n},this.galleryItemIds.add(t.id)}unregisterGalleryItem(t){this.galleryItemIds.delete(t)}openPhotoSwipe(t){var n=this;return(0,ve.Z)(function*(){if(n.galleryItems[t].image.doGetSlideDimensions){const I=yield FF(n.galleryItems[t].image.src);n.galleryItems[t].image.w=I.naturalWidth,n.galleryItems[t].image.h=I.naturalHeight,delete n.galleryItems[t].image.doGetSlideDimensions}n.galleryImages=[...n.galleryItemIds].map(I=>n.galleryItems[I].image);const a=n.galleryImages.findIndex(I=>I.id===t),l={...n.defaultOptions,...n.options};l.index=a,l.getThumbBoundsFn=I=>{const W=n.galleryImages[I].id,ye=n.galleryItems[W].image,Ge=window.pageYOffset||document.documentElement.scrollTop,yt=n.galleryItems[W].element.getBoundingClientRect();let Gt,oi,ai;return yt.height/yt.width>ye.h/ye.w?(oi=yt.top+Ge,ai=ye.w*yt.height/ye.h,Gt=yt.left-(ai-yt.width)/2):(Gt=yt.left,ai=yt.width,oi=yt.top+Ge-(ye.h*yt.width/ye.w-yt.height)/2),{x:Gt,y:oi,w:ai}};const v=n.lightboxService.getLightboxElement();n.gallery=new bF(v,yF,n.galleryImages,l),n.gallery.listen("gettingData",(I,W)=>{W.doGetSlideDimensions&&setTimeout((0,ve.Z)(function*(){yield n.getSlideDimensions(W)}),300)}),n.gallery.listen("imageLoadComplete",function(){var I=(0,ve.Z)(function*(W,G){G.doGetSlideDimensions&&(yield n.getSlideDimensions(G))});return function(W,G){return I.apply(this,arguments)}}()),n.gallery.listen("destroy",()=>{n.onPhotoGalleryDestroy.emit()}),n.onPhotoGalleryInit.emit(),n.gallery.init()})()}getSlideDimensions(t){var n=this;return(0,ve.Z)(function*(){if(!t.doGetSlideDimensions)return;const a=yield FF(t.src).catch(()=>null);t.doGetSlideDimensions=!1,t.w=a.naturalWidth,t.h=a.naturalHeight,n.gallery.invalidateCurrItems(),n.gallery.updateSize(!0)})()}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(wF,8),e.Y36(e.s_b),e.Y36(Iy))},r.\u0275dir=e.lG2({type:r,selectors:[["","photoGalleryGroup",""]],inputs:{options:["photoGalleryGroup","options"]},outputs:{onPhotoGalleryInit:"onPhotoGalleryInit",onPhotoGalleryDestroy:"onPhotoGalleryDestroy"}}),r})();function FF(r){return new Promise((i,t)=>{const n=new Image;n.onload=()=>i(n),n.onerror=a=>t(a),n.src=r})}let Jg=(()=>{class r{constructor(t,n){this.el=t,this.photoGalleryGroup=n}openPhotoSwipe(){var t=this;return(0,ve.Z)(function*(){yield t.photoGalleryGroup.openPhotoSwipe(t.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 r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(Qg))},r.\u0275dir=e.lG2({type:r,selectors:[["","photoGallery",""]],hostBindings:function(t,n){1&t&&e.NdJ("click",function(){return n.openPhotoSwipe()})},inputs:{imageUrl:["photoGallery","imageUrl"],photoGalleryTrackBy:"photoGalleryTrackBy",photoGalleryCaption:"photoGalleryCaption"}}),r})(),Oy=(()=>{class r{static forRoot(t){return{ngModule:r,providers:[{provide:wF,useValue:t}]}}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})();class Hl{constructor(i,t,n,a){this.options=i,this.profileService=t,this.utilities=n,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}mediaConnect(){const i=document.querySelector("audio");i?(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",(0,ve.Z)(function*(){try{yield i.play()}catch(t){console.error(t.name,t.message)}})),navigator.mediaSession.setActionHandler("pause",()=>{i.pause()}),i.addEventListener("play",()=>{navigator.mediaSession.playbackState="playing"}),i.addEventListener("pause",()=>{navigator.mediaSession.playbackState="paused"})):console.log("Unable to find audio element")}ngOnInit(){var i=this;return(0,ve.Z)(function*(){i.images=[]})()}expandImage(i){this.dialog.open(Ll,{data:{picture:i}})}hashtags(i){const t=i.filter(n=>"t"===n[0]).map(n=>n[1]);return 0==t.length?null:t}repliesTo(i){if(!i)return null;let t=i.tags.filter(n=>"p"===n[0]).map(n=>n[1]);return t=t.filter(n=>n!==i.pubkey),0==t.length?null:t}replyTo(i,t){return i?i.tags[t][1]:void 0}}Hl.regexpImage=/(?:(?:https?)+\:\/\/+[a-zA-Z0-9\/\._-]{1,})+(?:(?:jpe?g|png|gif|webp))/g,Hl.regexpVideo=/(?:https?:\/\/)?(?:www\.)?youtu\.?be(?:\.com)?\/?.*(?:watch|embed)?(?:.*v=|v\/|\/)([\w-_]+)/gim,Hl.regexpThisIsTheWay=/(?:thisistheway.gif)/g,Hl.\u0275fac=function(i){return new(i||Hl)(e.Y36(Rr.I),e.Y36(Bn),e.Y36(Pi.dU),e.Y36(vi))},Hl.\u0275cmp=e.Xpm({type:Hl,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(i,t){1&i&&(e.TgZ(0,"div",0)(1,"mat-card",1)(2,"div",2),e._UZ(3,"app-event-actions"),e.qZA()(),e.TgZ(4,"div",3),e._UZ(5,"img",4),e.TgZ(6,"div",5)(7,"div",6),e._uU(8,"LifeLike"),e.qZA(),e.TgZ(9,"div",7),e._uU(10,"AlexiAction"),e.qZA(),e.TgZ(11,"audio",8)(12,"a",9),e._uU(13," Download audio "),e.qZA()()()(),e.TgZ(14,"div",3),e._UZ(15,"img",4),e.TgZ(16,"div",5)(17,"div",6),e._uU(18,"EasyToLove"),e.qZA(),e.TgZ(19,"div",7),e._uU(20,"AlexiAction"),e.qZA(),e.TgZ(21,"audio",10)(22,"a",11),e._uU(23," Download audio "),e.qZA()()()(),e.TgZ(24,"div",3),e._UZ(25,"img",12),e.TgZ(26,"div",5)(27,"div",6),e._uU(28,"CINIM - Brainfluid"),e.qZA(),e.TgZ(29,"div",7),e._uU(30,"CINIM"),e.qZA(),e.TgZ(31,"audio",13)(32,"a",14),e._uU(33," Download audio "),e.qZA()()()(),e.TgZ(34,"button",15),e.NdJ("click",function(){return t.mediaConnect()}),e._uU(35,"Connect Media Events"),e.qZA(),e._UZ(36,"br")(37,"br"),e.TgZ(38,"button",15),e.NdJ("click",function(){return t.toggleMediaPlayer()}),e._uU(39,"Toggle Media Player"),e.qZA()())},dependencies:[Mt.lW,Ia,ss],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 Ul{constructor(i,t,n,a,l){this.media=i,this.options=t,this.profileService=n,this.utilities=a,this.dialog=l,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(i,t,n,a){this.media.play({title:i,artist:t,source:n,artwork:a,type:"Podcast"})}queue(i,t,n,a){this.media.enque({title:i,artist:t,source:n,artwork:a,type:"Podcast"})}mediaConnect(){const i=document.querySelector("audio");i?(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",(0,ve.Z)(function*(){try{yield i.play()}catch(t){console.error(t.name,t.message)}})),navigator.mediaSession.setActionHandler("pause",()=>{i.pause()}),i.addEventListener("play",()=>{navigator.mediaSession.playbackState="playing"}),i.addEventListener("pause",()=>{navigator.mediaSession.playbackState="paused"})):console.log("Unable to find audio element")}ngOnInit(){var i=this;return(0,ve.Z)(function*(){i.images=[]})()}expandImage(i){this.dialog.open(Ll,{data:{picture:i}})}hashtags(i){const t=i.filter(n=>"t"===n[0]).map(n=>n[1]);return 0==t.length?null:t}repliesTo(i){if(!i)return null;let t=i.tags.filter(n=>"p"===n[0]).map(n=>n[1]);return t=t.filter(n=>n!==i.pubkey),0==t.length?null:t}replyTo(i,t){return i?i.tags[t][1]:void 0}}Ul.regexpImage=/(?:(?:https?)+\:\/\/+[a-zA-Z0-9\/\._-]{1,})+(?:(?:jpe?g|png|gif|webp))/g,Ul.regexpVideo=/(?:https?:\/\/)?(?:www\.)?youtu\.?be(?:\.com)?\/?.*(?:watch|embed)?(?:.*v=|v\/|\/)([\w-_]+)/gim,Ul.regexpThisIsTheWay=/(?:thisistheway.gif)/g,Ul.\u0275fac=function(i){return new(i||Ul)(e.Y36(cc),e.Y36(Rr.I),e.Y36(Bn),e.Y36(Pi.dU),e.Y36(vi))},Ul.\u0275cmp=e.Xpm({type:Ul,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(i,t){if(1&i&&(e.TgZ(0,"div",0)(1,"mat-card",1)(2,"div",2)(3,"div",3),e._UZ(4,"img",4),e.TgZ(5,"div",5)(6,"div",6),e._uU(7,"Resolving 'Attachment Trauma', and Delivering Orange-Pills, w/ 'Honest Sharing'"),e.qZA(),e.TgZ(8,"div",7),e._uU(9,"@bennibtc"),e.qZA(),e.TgZ(10,"div",8),e._uU(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),... "),e.qZA()()(),e.TgZ(12,"div")(13,"button",9),e.NdJ("click",function(){return t.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")}),e.TgZ(14,"mat-icon",10),e._uU(15,"play_arrow"),e.qZA()(),e.TgZ(16,"button",9),e.NdJ("click",function(){return t.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")}),e.TgZ(17,"mat-icon",10),e._uU(18,"playlist_add"),e.qZA()(),e.TgZ(19,"button",11)(20,"mat-icon",10),e._uU(21,"more_vert"),e.qZA()()()()(),e.TgZ(22,"mat-card",1)(23,"div",2)(24,"div",3),e._UZ(25,"img",12),e.TgZ(26,"div",5)(27,"div",6),e._uU(28,"MADEIRA UPDATE w/ Andre, Niko, & Rob"),e.qZA(),e.TgZ(29,"div",7),e._uU(30,"Madeira Update"),e.qZA(),e.TgZ(31,"div",8),e._uU(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 ... "),e.qZA()()(),e.TgZ(33,"div")(34,"button",9),e.NdJ("click",function(){return t.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")}),e.TgZ(35,"mat-icon",10),e._uU(36,"play_arrow"),e.qZA()(),e.TgZ(37,"button",9),e.NdJ("click",function(){return t.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")}),e.TgZ(38,"mat-icon",10),e._uU(39,"playlist_add"),e.qZA()(),e.TgZ(40,"button",11)(41,"mat-icon",10),e._uU(42,"more_vert"),e.qZA()()()()(),e.TgZ(43,"mat-card",1)(44,"div",2)(45,"div",3),e._UZ(46,"img",13),e.TgZ(47,"div",5)(48,"div",6),e._uU(49,"Bitcoin is a Source of Creative Inspiration w/ @ReelRichard"),e.qZA(),e.TgZ(50,"div",7),e._uU(51,"@reelrichard"),e.qZA(),e.TgZ(52,"div",8),e._uU(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... "),e.qZA()()(),e.TgZ(54,"div")(55,"button",9),e.NdJ("click",function(){return t.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")}),e.TgZ(56,"mat-icon",10),e._uU(57,"play_arrow"),e.qZA()(),e.TgZ(58,"button",9),e.NdJ("click",function(){return t.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")}),e.TgZ(59,"mat-icon",10),e._uU(60,"playlist_add"),e.qZA()(),e.TgZ(61,"button",11)(62,"mat-icon",10),e._uU(63,"more_vert"),e.qZA()()(),e.TgZ(64,"mat-menu",null,14)(66,"button",15)(67,"mat-icon"),e._uU(68,"bookmark_add"),e.qZA(),e.TgZ(69,"span"),e._uU(70,"Add to queue"),e.qZA()(),e.TgZ(71,"button",15)(72,"mat-icon"),e._uU(73,"bookmark_remove"),e.qZA(),e.TgZ(74,"span"),e._uU(75,"Play now"),e.qZA()(),e.TgZ(76,"button",15)(77,"mat-icon"),e._uU(78,"ios_share"),e.qZA(),e.TgZ(79,"span"),e._uU(80,"Share"),e.qZA()()()()(),e._UZ(81,"br")(82,"br"),e.qZA()),2&i){const n=e.MAs(65);e.xp6(19),e.Q6J("matMenuTriggerFor",n),e.xp6(21),e.Q6J("matMenuTriggerFor",n),e.xp6(21),e.Q6J("matMenuTriggerFor",n)}},dependencies:[Mt.RK,Ia,ar,fc,Ys,su],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 Kg="Whopsidaisy, something unexpected happened.";class gu{transform(i){return i.pipe((0,rr.U)(t=>({loading:"start"===t.type,error:"error"===t.type?Kg:"",value:t.type?t.value:t})),(0,N.O)({loading:!0}),(0,ts.K)(t=>(0,U.of)({loading:!1,error:"string"==typeof t?t:Kg})))}}function ff(r,i){1&r&&e._UZ(0,"app-content-music")}function pf(r,i){1&r&&e._UZ(0,"app-content-podcast")}function Ny(r,i){}function CF(r,i){1&r&&(e.TgZ(0,"div",12),e._uU(1,"You must follow the user to automatically render photos."),e.qZA())}function kF(r,i){if(1&r&&(e.TgZ(0,"div",15),e._UZ(1,"img",16),e.qZA()),2&r){const t=i.$implicit;e.Q6J("photoGallery",t),e.xp6(1),e.Q6J("src",t,e.LSH)}}function nD(r,i){if(1&r&&e.YNc(0,kF,2,2,"div",14),2&r){const t=e.oxw().ngIf;e.Q6J("ngForOf",t)}}function rD(r,i){if(1&r&&(e.TgZ(0,"div",18),e._uU(1),e.qZA()),2&r){const t=i.$implicit;e.xp6(1),e.Oqu(t)}}function aD(r,i){if(1&r&&e.YNc(0,rD,2,1,"div",17),2&r){const t=e.oxw().ngIf;e.Q6J("ngForOf",t)}}function Ly(r,i){if(1&r&&(e.TgZ(0,"span"),e.YNc(1,nD,1,1,"ng-template",0),e.YNc(2,aD,1,1,"ng-template",0),e.qZA()),2&r){const t=e.oxw(5);e.xp6(1),e.Q6J("ngIf",t.isFollowing),e.xp6(1),e.Q6J("ngIf",!t.isFollowing)}}function DF(r,i){if(1&r&&(e.TgZ(0,"span"),e.YNc(1,Ly,3,2,"span",13),e.qZA()),2&r){const t=i.$implicit,n=e.oxw(4);e.xp6(1),e.Q6J("ngIf",n.parseToImage(t))}}gu.\u0275fac=function(i){return new(i||gu)},gu.\u0275pipe=e.Yjl({name:"withStatus",type:gu,pure:!0});const MF=function(){return{arrowEl:!0,indexIndicatorSep:" - "}};function EF(r,i){if(1&r&&(e.YNc(0,CF,2,0,"div",9),e._UZ(1,"br"),e.TgZ(2,"div",10),e.YNc(3,DF,2,1,"span",11),e.qZA()),2&r){const t=e.oxw().ngIf,n=e.oxw(2);e.Q6J("ngIf",!n.isFollowing),e.xp6(2),e.Q6J("photoGalleryGroup",e.DdM(4,MF)),e.xp6(1),e.Q6J("ngForOf",t.value)("ngForTrackBy",n.trackByFn)}}function oD(r,i){1&r&&e._UZ(0,"mat-spinner",19)}function sD(r,i){if(1&r&&e._uU(0),2&r){const t=e.oxw().ngIf;e.hij("Error ",t.error,"")}}function lD(r,i){if(1&r&&(e.TgZ(0,"div",8),e.YNc(1,EF,4,5,"ng-template",0),e.YNc(2,oD,1,0,"ng-template",0),e.YNc(3,sD,1,1,"ng-template",0),e.qZA()),2&r){const t=i.ngIf;e.xp6(1),e.Q6J("ngIf",t.value),e.xp6(1),e.Q6J("ngIf",t.loading),e.xp6(1),e.Q6J("ngIf",t.error)}}function cD(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",20),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.showMore())}),e._uU(1,"Show more..."),e.qZA()}}function dD(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",20),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.showMore())}),e._uU(1,"Loading more events... or there are nothing more to show..."),e.qZA()}}function TF(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",22),e.NdJ("click",function(a){const v=e.CHM(t).$implicit,I=e.oxw(4);return e.KtG(I.navigation.openEvent(a,v))}),e.TgZ(1,"div",23)(2,"app-event-header",24)(3,"span",25),e._uU(4),e.ALo(5,"ago"),e.qZA(),e._UZ(6,"app-directory-icon",24),e.qZA(),e._UZ(7,"app-event-actions",26),e.qZA(),e._UZ(8,"app-content",27),e.qZA()}if(2&r){const t=i.$implicit;e.xp6(2),e.Q6J("pubkey",t.pubkey),e.xp6(2),e.Oqu(e.lcZ(5,6,t.created_at)),e.xp6(2),e.Q6J("pubkey",t.pubkey),e.xp6(1),e.Q6J("event",t)("pubkey",t.pubkey),e.xp6(1),e.Q6J("event",t)}}function gf(r,i){if(1&r&&e.YNc(0,TF,9,8,"mat-card",21),2&r){const t=e.oxw().ngIf,n=e.oxw(2);e.Q6J("ngForOf",t.value)("ngForTrackBy",n.trackByFn)}}function AF(r,i){1&r&&e._UZ(0,"mat-spinner",19)}function SF(r,i){if(1&r&&e._uU(0),2&r){const t=e.oxw().ngIf;e.hij("Error ",t.error,"")}}function Ry(r,i){if(1&r&&(e.TgZ(0,"div",8),e.YNc(1,gf,1,2,"ng-template",0),e.YNc(2,AF,1,0,"ng-template",0),e.YNc(3,SF,1,1,"ng-template",0),e.qZA()),2&r){const t=i.ngIf;e.xp6(1),e.Q6J("ngIf",t.value),e.xp6(1),e.Q6J("ngIf",t.loading),e.xp6(1),e.Q6J("ngIf",t.error)}}function rd(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",20),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.showMore())}),e._uU(1,"Show more..."),e.qZA()}}function Py(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",20),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.showMore())}),e._uU(1,"Loading more events... or there are nothing more to show..."),e.qZA()}}function $g(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-tab-group",2),e.NdJ("selectedTabChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.onTabChanged(a))}),e.TgZ(1,"mat-tab",3),e.YNc(2,lD,4,3,"div",4),e.ALo(3,"async"),e.ALo(4,"withStatus"),e.TgZ(5,"div",5),e.YNc(6,cD,2,0,"button",6),e.YNc(7,dD,2,0,"button",6),e.qZA()(),e.TgZ(8,"mat-tab",7),e.YNc(9,Ry,4,3,"div",4),e.ALo(10,"async"),e.ALo(11,"withStatus"),e.TgZ(12,"div",5),e.YNc(13,rd,2,0,"button",6),e.YNc(14,Py,2,0,"button",6),e.qZA()()()}if(2&r){const t=e.oxw();e.Q6J("selectedIndex",t.tabIndex),e.xp6(2),e.Q6J("ngIf",e.lcZ(3,7,e.lcZ(4,9,t.ui.rootEventsView$))),e.xp6(4),e.Q6J("ngIf",!t.ui.viewCounts.rootEventsViewCountExhausted),e.xp6(1),e.Q6J("ngIf",t.ui.viewCounts.replyEventsViewCountExhausted),e.xp6(2),e.Q6J("ngIf",e.lcZ(10,11,e.lcZ(11,13,t.ui.replyEventsView$))),e.xp6(4),e.Q6J("ngIf",!t.ui.viewCounts.replyEventsViewCountExhausted),e.xp6(1),e.Q6J("ngIf",t.ui.viewCounts.replyEventsViewCountExhausted)}}function Xg(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",22),e.NdJ("click",function(a){const v=e.CHM(t).$implicit,I=e.oxw(4);return e.KtG(I.navigation.openEvent(a,v))}),e.TgZ(1,"div",23)(2,"app-event-header",24)(3,"span",25),e._uU(4),e.ALo(5,"ago"),e.qZA(),e._UZ(6,"app-directory-icon",24),e.qZA(),e._UZ(7,"app-event-actions",26),e.qZA(),e._UZ(8,"app-content",27),e.qZA()}if(2&r){const t=i.$implicit;e.xp6(2),e.Q6J("pubkey",t.pubkey),e.xp6(2),e.Oqu(e.lcZ(5,6,t.created_at)),e.xp6(2),e.Q6J("pubkey",t.pubkey),e.xp6(1),e.Q6J("event",t)("pubkey",t.pubkey),e.xp6(1),e.Q6J("event",t)}}function IF(r,i){if(1&r&&e.YNc(0,Xg,9,8,"mat-card",21),2&r){const t=e.oxw().ngIf,n=e.oxw(2);e.Q6J("ngForOf",t.value)("ngForTrackBy",n.trackByFn)}}function e_(r,i){1&r&&e._UZ(0,"mat-spinner",19)}function t_(r,i){if(1&r&&e._uU(0),2&r){const t=e.oxw().ngIf;e.hij("Error ",t.error,"")}}function _f(r,i){if(1&r&&(e.TgZ(0,"div",8),e.YNc(1,IF,1,2,"ng-template",0),e.YNc(2,e_,1,0,"ng-template",0),e.YNc(3,t_,1,1,"ng-template",0),e.qZA()),2&r){const t=i.ngIf;e.xp6(1),e.Q6J("ngIf",t.value),e.xp6(1),e.Q6J("ngIf",t.loading),e.xp6(1),e.Q6J("ngIf",t.error)}}function uD(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",20),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.showMore())}),e._uU(1,"Show more..."),e.qZA()}}function hD(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",20),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.showMore())}),e._uU(1,"Loading more events... or there are nothing more to show..."),e.qZA()}}function mD(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",22),e.NdJ("click",function(a){const v=e.CHM(t).$implicit,I=e.oxw(4);return e.KtG(I.navigation.openEvent(a,v))}),e.TgZ(1,"div",23)(2,"app-event-header",24)(3,"span",25),e._uU(4),e.ALo(5,"ago"),e.qZA(),e._UZ(6,"app-directory-icon",24),e.qZA(),e._UZ(7,"app-event-actions",26),e.qZA(),e._UZ(8,"app-content",27),e.qZA()}if(2&r){const t=i.$implicit;e.xp6(2),e.Q6J("pubkey",t.pubkey),e.xp6(2),e.Oqu(e.lcZ(5,6,t.created_at)),e.xp6(2),e.Q6J("pubkey",t.pubkey),e.xp6(1),e.Q6J("event",t)("pubkey",t.pubkey),e.xp6(1),e.Q6J("event",t)}}function fD(r,i){if(1&r&&e.YNc(0,mD,9,8,"mat-card",21),2&r){const t=e.oxw().ngIf,n=e.oxw(2);e.Q6J("ngForOf",t.value)("ngForTrackBy",n.trackByFn)}}function By(r,i){1&r&&e._UZ(0,"mat-spinner",19)}function OF(r,i){if(1&r&&e._uU(0),2&r){const t=e.oxw().ngIf;e.hij("Error ",t.error,"")}}function NF(r,i){if(1&r&&(e.TgZ(0,"div",8),e.YNc(1,fD,1,2,"ng-template",0),e.YNc(2,By,1,0,"ng-template",0),e.YNc(3,OF,1,1,"ng-template",0),e.qZA()),2&r){const t=i.ngIf;e.xp6(1),e.Q6J("ngIf",t.value),e.xp6(1),e.Q6J("ngIf",t.loading),e.xp6(1),e.Q6J("ngIf",t.error)}}function LF(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",20),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.showMore())}),e._uU(1,"Show more..."),e.qZA()}}function RF(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",20),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.showMore())}),e._uU(1,"Loading more events... or there are nothing more to show..."),e.qZA()}}function Yy(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-tab-group",2),e.NdJ("selectedTabChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.onTabChanged(a))}),e.TgZ(1,"mat-tab",3),e.YNc(2,_f,4,3,"div",4),e.ALo(3,"async"),e.ALo(4,"withStatus"),e.TgZ(5,"div",5),e.YNc(6,uD,2,0,"button",6),e.YNc(7,hD,2,0,"button",6),e.qZA()(),e.TgZ(8,"mat-tab",7),e.YNc(9,NF,4,3,"div",4),e.ALo(10,"async"),e.ALo(11,"withStatus"),e.TgZ(12,"div",5),e.YNc(13,LF,2,0,"button",6),e.YNc(14,RF,2,0,"button",6),e.qZA()()()}if(2&r){const t=e.oxw();e.Q6J("selectedIndex",t.tabIndex),e.xp6(2),e.Q6J("ngIf",e.lcZ(3,7,e.lcZ(4,9,t.ui.rootEventsView$))),e.xp6(4),e.Q6J("ngIf",!t.ui.viewCounts.rootEventsViewCountExhausted),e.xp6(1),e.Q6J("ngIf",t.ui.viewCounts.replyEventsViewCountExhausted),e.xp6(2),e.Q6J("ngIf",e.lcZ(10,11,e.lcZ(11,13,t.ui.replyEventsView$))),e.xp6(4),e.Q6J("ngIf",!t.ui.viewCounts.replyEventsViewCountExhausted),e.xp6(1),e.Q6J("ngIf",t.ui.viewCounts.replyEventsViewCountExhausted)}}var i_=new WeakSet;class gl{constructor(i,t,n,a,l,v,I,W,G,ye,Ge,yt,It,Yt,Gt,oi){var ai=this;Wd(this,i_),this.navigation=i,this.appState=t,this.activatedRoute=n,this.cd=a,this.queueService=l,this.options=v,this.profiles=I,this.dataService=W,this.ui=G,this.validator=ye,this.circleService=Ge,this.storage=yt,this.utilities=It,this.notesService=Yt,this.router=Gt,this.ngZone=oi,this.imagePath="/assets/profile.png",this.profileName="",this.initialLoad=!0,this.notes=[],this.userEvents$=(0,U.of)(this.notes),this.subscriptions=[],this.pageSize=5,this.layout=1,this.subscriptions.push(this.ui.profile$.subscribe(function(){var Ji=(0,ve.Z)(function*(Ci){if(!Ci)return;ai.appState.updateTitle(ai.utilities.getProfileTitle(ai.ui.profile)),ai.imagePath=ai.ui.profile.picture||"/assets/profile.png",ai.circle=yield ai.circleService.get(ai.ui.profile.circle),ai.layout=ai.style?Number(ai.style):ai.circle?ai.circle.style:1,ai.isFollowing=ai.profiles.isFollowing(Ci.pubkey);const Wi=Oi().subtract(5,"minutes").unix();(!ai.ui.profile.following||ai.ui.profile.retrieved&&ai.ui.profile.retrieved{document.getElementById("profile-image-anchor").scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"}),ai.previousPubKey=Ci.pubkey},50),ai.subscriptions.push(ai.navigation.showMore$.subscribe(()=>{ai.showMore()}))});return function(Ci){return Ji.apply(this,arguments)}}()))}follow(){var i=this;return(0,ve.Z)(function*(){i.ui.profile.status=$r.Follow,yield i.profiles.follow(i.ui.pubkey)})()}onTabChanged(i){this.router.navigate([],{queryParams:{t:i.index},replaceUrl:!0}),Xr(this,i_,PF).call(this)}parseToImage(i){return[...i.content.matchAll(gl.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 i=this;this.appState.showBackButton=!0,this.appState.actions=[],this.appState.updateTitle(""),this.subscriptions.push(this.activatedRoute.queryParams.subscribe(function(){var t=(0,ve.Z)(function*(n){i.tabIndex=n.t,i.style=n.s});return function(n){return t.apply(this,arguments)}}())),this.subscriptions.push(this.activatedRoute.paramMap.subscribe(function(){var t=(0,ve.Z)(function*(n){const a=n.get("id");if(i.ui.setPubKey(a),a.startsWith("npub")){const l=i.utilities.convertFromBech32ToHex(a);i.router.navigate(["/p",l])}else i.appState.updateTitle(i.utilities.getShortenedIdentifier(a))});return function(n){return t.apply(this,arguments)}}()))}optionsUpdated(){}activeOptions(){let i="";return i+=this.options.values.hideSpam?" Spam: Filtered":" Spam: Allowed",i+=this.options.values.hideInvoice?" Invoices: Hidden":" Invoices: Displayed",i}trackByFn(i,t){return t.id}ngOnDestroy(){this.ui.setPubKey(void 0),this.utilities.unsubscribe(this.subscriptions),this.profileSubscription&&this.profileSubscription.unsubscribe(),this.feedSubscription&&this.feedSubscription.unsubscribe()}}function PF(){}gl.regexpImage=/(?:(?:https?)+\:\/\/+[a-zA-Z0-9\/\._-]{1,})+(?:(?:jpe?g|png|gif|webp))/g,gl.\u0275fac=function(i){return new(i||gl)(e.Y36(ra),e.Y36(ce.i),e.Y36(Ht.gz),e.Y36(e.sBO),e.Y36(In),e.Y36(Rr.I),e.Y36(Bn),e.Y36(Wr),e.Y36(Gr),e.Y36(vr.Y),e.Y36(ba),e.Y36(Fi),e.Y36(Pi.dU),e.Y36(Bs),e.Y36(Ht.F0),e.Y36(e.R0b))},gl.\u0275cmp=e.Xpm({type:gl,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(i,t){1&i&&(e._UZ(0,"app-profile-header"),e.YNc(1,ff,1,0,"ng-template",0),e.YNc(2,pf,1,0,"ng-template",0),e.YNc(3,Ny,0,0,"ng-template",0),e.YNc(4,$g,15,15,"mat-tab-group",1),e.YNc(5,Yy,15,15,"mat-tab-group",1)),2&i&&(e.xp6(1),e.Q6J("ngIf",5==t.layout),e.xp6(1),e.Q6J("ngIf",6==t.layout),e.xp6(1),e.Q6J("ngIf",2==t.layout),e.xp6(1),e.Q6J("ngIf",3==t.layout),e.xp6(1),e.Q6J("ngIf",1==t.layout))},dependencies:[F.sg,F.O5,Mt.lW,Ia,Eh,hf,Up,Jg,Qg,as,vo,Ps,fl,ss,Hl,Ul,F.Ov,ls,gu],styles:[".profile-name[_ngcontent-%COMP%]{display:inline-block}.feed-page[_ngcontent-%COMP%]{min-height:1200px}"]});const Hy=[{id:1,name:"Pipe"},{id:2,name:"Text"},{id:3,name:"Photo"},{id:4,name:"Film"},{id:5,name:"Music"},{id:6,name:"Podcast"}],Uy=["hueSlider"],n_=["alphaSlider"];function pD(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",8),e.NdJ("newValue",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.onSliderChange("saturation-lightness",a))}),e.TgZ(1,"div",9),e._UZ(2,"div"),e.qZA()()}if(2&r){const t=e.oxw();e.Udp("background-color",t.hueSliderColor),e.Q6J("rgX",1)("rgY",1),e.xp6(1),e.Udp("top",null==t.slider?null:t.slider.v,"px")("left",null==t.slider?null:t.slider.s,"px")}}function jy(r,i){if(1&r&&(e.TgZ(0,"div",10),e._UZ(1,"div",11)(2,"div",12),e.qZA()),2&r){const t=e.oxw();e.xp6(2),e.Udp("background-color",t.selectedColor)}}function r_(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",13,14),e.NdJ("newValue",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.onSliderChange("hue",a))}),e.TgZ(2,"div",15)(3,"div"),e._UZ(4,"div"),e.qZA()()()}if(2&r){const t=e.oxw();e.Q6J("rgX",1),e.xp6(2),e.Udp("left",null==t.slider?null:t.slider.h,"px")}}function BF(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",16,17),e.NdJ("newValue",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.onSliderChange("alpha",a))}),e._UZ(2,"div",18),e.TgZ(3,"div",15)(4,"div"),e._UZ(5,"div"),e.qZA()()()}if(2&r){const t=e.oxw();e.Q6J("rgX",1),e.xp6(2),e.Q6J("ngStyle",t.getBackgroundColor(t.alphaSliderColor)),e.xp6(1),e.Udp("left",null==t.slider?null:t.slider.a,"px")}}const YF=["dialog"];function gD(r,i){1&r&&e._UZ(0,"div",11)}function _D(r,i){if(1&r){const t=e.EpF();e.ynx(0),e.TgZ(1,"div",8)(2,"div",9),e.NdJ("click",function(){const l=e.CHM(t).$implicit,v=e.oxw(2);return e.KtG(v.onColorClick(l))}),e.YNc(3,gD,1,0,"div",10),e.qZA()(),e.BQk()}if(2&r){const t=i.$implicit,n=i.index,a=e.oxw(2);e.xp6(2),e.ekj("colornull",!t),e.Q6J("ngStyle",a.getBackgroundColor(t)),e.xp6(1),e.Q6J("ngIf",n==a.indexSeleccionado)}}function HF(r,i){if(1&r&&e._UZ(0,"div",17),2&r){const t=e.oxw(3);e.Q6J("ngStyle",t.getBackgroundColor(t.color))}}function UF(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",12),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.addColor())}),e.YNc(1,HF,1,1,"div",13),e.O4$(),e.TgZ(2,"svg",14),e._UZ(3,"path",15)(4,"path",16),e.qZA()()}if(2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!t.indexSeleccionado)}}function jF(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"color-picker",18),e.NdJ("colorChange",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.onChangeColorPicker(a))})("onAlphaChange",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.onAlphaChange(a))}),e.qZA()}if(2&r){const t=e.oxw(2);e.Q6J("controls",t.colorPickerControls)("color",t.hsva)}}function bD(r,i){if(1&r&&(e.ynx(0),e.TgZ(1,"div",4),e.YNc(2,_D,4,4,"ng-container",5),e.YNc(3,UF,5,1,"div",6),e.YNc(4,jF,1,2,"color-picker",7),e.qZA(),e.BQk()),2&r){const t=e.oxw();e.xp6(1),e.Q6J("@colorsAnimation",t.colorsAnimationEffect),e.xp6(1),e.Q6J("ngForOf",t.palette),e.xp6(1),e.Q6J("ngIf",!t.hideColorPicker&&"only-alpha"!=t.colorPickerControls),e.xp6(1),e.Q6J("ngIf",!t.hideColorPicker&&"only-alpha"==t.colorPickerControls)}}function yD(r,i){1&r&&e._UZ(0,"div",11)}const vD=function(r){return{background:r}};function wD(r,i){if(1&r){const t=e.EpF();e.O4$(),e.kcU(),e.ynx(0),e.TgZ(1,"div",8)(2,"div",24),e.NdJ("click",function(){const l=e.CHM(t).$implicit,v=e.oxw(2);return e.KtG(v.changeColor(l))}),e.YNc(3,yD,1,0,"div",10),e.qZA()(),e.BQk()}if(2&r){const t=i.$implicit,n=e.oxw(2);e.xp6(2),e.ekj("colornull",!t),e.Q6J("ngStyle",e.VKq(4,vD,t)),e.xp6(1),e.Q6J("ngIf",n.isSelected(t))}}function xD(r,i){if(1&r){const t=e.EpF();e.ynx(0),e.TgZ(1,"div",4)(2,"div",19)(3,"div",20),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.onClickBack())}),e.O4$(),e.TgZ(4,"svg",21),e._UZ(5,"path",22)(6,"path",23),e.qZA()()(),e.YNc(7,wD,4,6,"ng-container",5),e.qZA(),e.BQk()}if(2&r){const t=e.oxw();e.xp6(1),e.Q6J("@colorsAnimation",t.colorsAnimationEffect),e.xp6(6),e.Q6J("ngForOf",t.variants)}}function VF(r,i){if(1&r){const t=e.EpF();e.ynx(0),e.TgZ(1,"div",25)(2,"div",26),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.onClickBack())}),e.O4$(),e.TgZ(3,"svg",21),e._UZ(4,"path",22)(5,"path",23),e.qZA()(),e.kcU(),e.TgZ(6,"button",27),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.emitClose("cancel"))}),e._uU(7),e.qZA(),e.TgZ(8,"button",27),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.emitClose("accept"))}),e._uU(9),e.qZA()(),e.TgZ(10,"div",28)(11,"color-picker",29),e.NdJ("sliderChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.onChangeColorPicker(a))}),e.qZA()(),e.BQk()}if(2&r){const t=e.oxw();e.xp6(7),e.hij(" ",t.cancelLabel," "),e.xp6(2),e.hij(" ",t.acceptLabel," "),e.xp6(2),e.Q6J("controls",t.colorPickerControls)("color",t.hsva)}}function FD(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",30)(1,"p",31),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.nextFormat())}),e._uU(2),e.qZA(),e.TgZ(3,"div",32)(4,"input",33,34),e.NdJ("keyup",function(){e.CHM(t);const a=e.MAs(5),l=e.oxw();return e.KtG(l.changeColorManual(a.value))})("keydown.enter",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.emitClose("accept"))}),e.qZA()()()}if(2&r){const t=e.oxw();e.xp6(2),e.Oqu(t.colorFormats[t.format]),e.xp6(2),e.Udp("font-size",t.color&&t.color.length>23?9:10,"px")("letter-spacing",t.color&&t.color.length>16?0:1.5,"px"),e.Q6J("value",t.color)}}var _l=(()=>{return(r=_l||(_l={}))[r.HEX=0]="HEX",r[r.RGBA=1]="RGBA",r[r.HSLA=2]="HSLA",r[r.CMYK=3]="CMYK",_l;var r})();const ZF=[{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"]}],a_=["hex","rgba","hsla"];class ad{constructor(i,t,n,a){this.r=i,this.g=t,this.b=n,this.a=a}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 od{constructor(i,t,n,a){this.h=i,this.s=t,this.v=n,this.a=a,this.onChange=new e.vpe(!0)}onColorChange(i){this.s=i.s/i.rgX,this.v=i.v/i.rgY}onHueChange(i){this.h=i.v/i.rgX}onValueChange(i){this.v=i.v/i.rgX}onAlphaChange(i){this.a=i.v/i.rgX}}class o{constructor(i,t,n,a){this.h=i,this.s=t,this.l=n,this.a=a}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 s{constructor(i,t,n,a,l=1){this.c=i,this.m=t,this.y=n,this.k=a,this.a=l}}class u{constructor(i){i&&(this.preview=i.preview,this.variants=i.variants)}}let m=(()=>{class r{constructor(){}toFormat(t,n){var a="";if(t)switch(n){case _l.HEX:(v=this.hsvaToRgba(t)).denormalize(),a=this.rgbaToHex(v,!0);break;case _l.HSLA:var l=this.hsva2hsla(t);l.denormalize(),a=l.toString();break;case _l.RGBA:a=(v=this.hsvaToRgba(t)).toString();break;case _l.CMYK:var v=this.hsvaToRgba(t);this.rgbaToCmyk(v)}return a}stringToFormat(t,n){var a=this.stringToHsva(t,!0);return this.toFormat(a,n)}hsva2hsla(t){const n=t.h,a=t.s,l=t.v,v=t.a;if(0===l)return new o(n,0,0,v);if(0===a&&1===l)return new o(n,1,1,v);{const I=l*(2-a)/2;return new o(n,l*a/(1-Math.abs(2*I-1)),I,v)}}hsla2hsva(t){const n=Math.min(t.h,1),a=Math.min(t.s,1),l=Math.min(t.l,1),v=Math.min(t.a,1);if(0===l)return new od(n,0,0,v);{const I=l+a*(1-Math.abs(2*l-1))/2;return new od(n,2*(I-l)/I,I,v)}}hsvaToRgba(t){let n,a,l;const v=t.h,I=t.s,W=t.v,G=t.a,ye=Math.floor(6*v),Ge=6*v-ye,yt=W*(1-I),It=W*(1-Ge*I),Yt=W*(1-(1-Ge)*I);switch(ye%6){case 0:n=W,a=Yt,l=yt;break;case 1:n=It,a=W,l=yt;break;case 2:n=yt,a=W,l=Yt;break;case 3:n=yt,a=It,l=W;break;case 4:n=Yt,a=yt,l=W;break;case 5:n=W,a=yt,l=It;break;default:n=0,a=0,l=0}return new ad(n,a,l,G)}cmykToRgb(t){return new ad((1-t.c)*(1-t.k),(1-t.m)*(1-t.k),(1-t.y)*(1-t.k),t.a)}rgbaToCmyk(t){const n=1-Math.max(t.r,t.g,t.b);return 1===n?new s(0,0,0,1,t.a):new s((1-t.r-n)/(1-n),(1-t.g-n)/(1-n),(1-t.b-n)/(1-n),n,t.a)}rgbaToHsva(t){let n,a;const l=Math.min(t.r,1),v=Math.min(t.g,1),I=Math.min(t.b,1),W=Math.min(t.a,1),G=Math.max(l,v,I),ye=Math.min(l,v,I),Ge=G,yt=G-ye;if(a=0===G?0:yt/G,G===ye)n=0;else{switch(G){case l:n=(v-I)/yt+(v{class r{mouseDown(t){this.start(t)}touchStart(t){this.start(t)}constructor(t){this.elRef=t,this.dragEnd=new e.vpe,this.dragStart=new e.vpe,this.newValue=new e.vpe,this.listenerMove=n=>this.move(n),this.listenerStop=()=>this.stop()}move(t){t.preventDefault(),this.setCursor(t)}start(t){this.setCursor(t),t.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(t){const n=this.elRef.nativeElement.getBoundingClientRect();return(void 0!==t.pageX?t.pageX:t.touches[0].pageX)-n.left-window.pageXOffset}getY(t){const n=this.elRef.nativeElement.getBoundingClientRect();return(void 0!==t.pageY?t.pageY:t.touches[0].pageY)-n.top-window.pageYOffset}setCursor(t){const n=this.elRef.nativeElement.offsetWidth,a=this.elRef.nativeElement.offsetHeight,l=Math.max(0,Math.min(this.getX(t),n)),v=Math.max(0,Math.min(this.getY(t),a));void 0!==this.rgX&&void 0!==this.rgY?this.newValue.emit({s:l/n,v:1-v/a,rgX:this.rgX,rgY:this.rgY}):void 0===this.rgX&&void 0!==this.rgY?this.newValue.emit({v:v/a,rgY:this.rgY}):void 0!==this.rgX&&void 0===this.rgY&&this.newValue.emit({v:l/n,rgX:this.rgX})}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq))},r.\u0275dir=e.lG2({type:r,selectors:[["","slider",""]],hostBindings:function(t,n){1&t&&e.NdJ("mousedown",function(l){return n.mouseDown(l)})("touchstart",function(l){return n.touchStart(l)})},inputs:{rgX:"rgX",rgY:"rgY",slider:"slider"},outputs:{dragEnd:"dragEnd",dragStart:"dragStart",newValue:"newValue"}}),r})(),ee=(()=>{class r{constructor(t,n){this.service=t,this.cdr=n,this.color=new od(0,1,1,1),this.controls="default",this.sliderChange=new e.vpe(!1),this.onAlphaChange=new e.vpe(!1),this.hsva=new od(0,1,1,1),this.selectedColor="#000000",this.fallbackColor="#000000"}ngOnInit(){this.color||(this.color=new od(0,1,1,1)),this.slider=new w(0,0,0,0),this.update()}ngOnDestroy(){}ngOnChanges(t){t.color&&this.color&&this.update()}ngAfterViewInit(){this.sliderDimMax=new M(this.hueSlider?.nativeElement.offsetWidth||140,220,130,this.alphaSlider?.nativeElement.offsetWidth||140),this.update()}onSliderChange(t,n){switch(t){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(t){this.color=t,this.sliderChange.emit(this.color)}getBackgroundColor(t){return{background:"linear-gradient(90deg, rgba(36,0,0,0) 0%, "+t+" 100%)"}}update(){if(this.hsva=this.color,this.sliderDimMax){let t=this.service.hsvaToRgba(this.hsva).denormalize(),n=this.service.hsvaToRgba(new od(this.hsva.h,1,1,1)).denormalize();this.hueSliderColor="rgb("+n.r+","+n.g+","+n.b+")",this.alphaSliderColor="rgb("+t.r+","+t.g+","+t.b+")",this.outputColor=this.hsva,this.selectedColor=this.service.hsvaToRgba(this.hsva).toString(),this.slider=new w(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 r.\u0275fac=function(t){return new(t||r)(e.Y36(m),e.Y36(e.sBO))},r.\u0275cmp=e.Xpm({type:r,selectors:[["color-picker"]],viewQuery:function(t,n){if(1&t&&(e.Gf(Uy,5),e.Gf(n_,5)),2&t){let a;e.iGM(a=e.CRH())&&(n.hueSlider=a.first),e.iGM(a=e.CRH())&&(n.alphaSlider=a.first)}},inputs:{color:"color",controls:"controls"},outputs:{sliderChange:"sliderChange",onAlphaChange:"onAlphaChange"},features:[e.TTD],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(t,n){1&t&&(e.TgZ(0,"div",0,1),e.NdJ("click",function(l){return l.stopPropagation()}),e.YNc(2,pD,3,8,"div",2),e.TgZ(3,"div",3),e.YNc(4,jy,3,2,"div",4),e.TgZ(5,"div",5),e.YNc(6,r_,5,3,"div",6),e.YNc(7,BF,6,4,"div",7),e.qZA()()()),2&t&&(e.xp6(2),e.Q6J("ngIf","only-alpha"!=n.controls),e.xp6(2),e.Q6J("ngIf","only-alpha"!=n.controls),e.xp6(2),e.Q6J("ngIf","only-alpha"!=n.controls),e.xp6(1),e.Q6J("ngIf","no-alpha"!=n.controls))},dependencies:[F.O5,F.PC,B],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}),r})(),de=(()=>{class r{click(t){this.isOutside(t)&&this.emitClose("cancel")}onScroll(){this.onScreenMovement()}onResize(){this.onScreenMovement()}constructor(t,n){this.service=t,this.cdr=n,this.color="#000000",this.previewColor="#000000",this.hsva=new od(0,1,1,1),this.colorsAnimationEffect="slide-in",this.palette=ZF,this.variants=[],this.colorFormats=a_,this.format=_l.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(t){let n;if(this.color)for(let a=0;awindow.innerWidth?n.right<250?window.innerWidth/2-125:n.right-250:n.left}}setPositionY(){const t=this.TriggerBBox.nativeElement.getBoundingClientRect(),n=this.panelRef.nativeElement.getBoundingClientRect();this.positionString=t.bottom+n.height>window.innerHeight?t.topn.toUpperCase()==this.previewColor.toUpperCase())}isSelected(t){return!!this.previewColor&&"string"==typeof t&&t.toUpperCase()==this.previewColor.toUpperCase()}getBackgroundColor(t){return"string"==typeof t?{background:t}:{background:t?.preview}}onAlphaChange(t){this.palette=this.ChangeAlphaOnPalette(t,this.palette)}ChangeAlphaOnPalette(t,n){var a=[];for(let l=0;l slide-in",[(0,xe.IO)(":enter",(0,xe.oB)({opacity:0}),{optional:!0}),(0,xe.IO)(":enter",(0,xe.EY)("10ms",[(0,xe.jt)(".3s ease-in",(0,xe.F4)([(0,xe.oB)({opacity:0,transform:"translatex(-50%)",offset:0}),(0,xe.oB)({opacity:.5,transform:"translatex(-10px) scale(1.1)",offset:.3}),(0,xe.oB)({opacity:1,transform:"translatex(0)",offset:1})]))]),{optional:!0})]),(0,xe.eR)("void => popup",[(0,xe.IO)(":enter",(0,xe.oB)({opacity:0,transform:"scale(0)"}),{optional:!0}),(0,xe.IO)(":enter",(0,xe.EY)("10ms",[(0,xe.jt)("500ms ease-out",(0,xe.F4)([(0,xe.oB)({opacity:.5,transform:"scale(.5)",offset:.3}),(0,xe.oB)({opacity:1,transform:"scale(1.1)",offset:.8}),(0,xe.oB)({opacity:1,transform:"scale(1)",offset:1})]))]),{optional:!0})])])]}}),r})();const Fe={position:"fixed",height:"100%",width:"100%","z-index":2e3,top:0,left:0};let Be=(()=>{class r{constructor(t,n,a){this.resolver=t,this.applicationRef=n,this.injector=a}createPanel(t,n){null!=this.componentRef&&this.removePanel();const a=this.resolver.resolveComponentFactory(de);this.componentRef=a.create(this.injector),this.applicationRef.attachView(this.componentRef.hostView);const l=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(Fe).forEach(v=>{this.overlay.style[v]=Fe[v]}),t?document.getElementById(t).appendChild(this.overlay):document.body.appendChild(this.overlay),this.overlay.appendChild(l),this.componentRef}removePanel(){this.applicationRef.detachView(this.componentRef.hostView),this.componentRef.destroy(),this.overlay.remove()}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(e._Vd),e.LFG(e.z2F),e.LFG(e.zs3))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})(),mt=(()=>{class r{onClick(){this.openPanel()}constructor(t,n){this.triggerRef=t,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 e.vpe,this.input=new e.vpe,this.slider=new e.vpe,this.close=new e.vpe,this.open=new e.vpe,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(t){this.isDisabled=t,this.triggerRef.nativeElement.style.opacity=t?.5:1}setColor(t){this.writeValue(t),this.input.emit(t)}sliderChange(t){this.slider.emit(t)}get value(){return this.color}set value(t){this.setColor(t),this.onChangeCallback(t)}writeValue(t){t!==this.color&&(this.color=t,this.onChange(),this.change.emit(t))}registerOnChange(t){this.onChangeCallback=t}registerOnTouched(t){this.onTouchedCallback=t}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(Be))},r.\u0275dir=e.lG2({type:r,selectors:[["","ngx-colors-trigger",""]],hostBindings:function(t,n){1&t&&e.NdJ("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:[e._Bn([{provide:ga,useExisting:(0,e.Gpc)(()=>r),multi:!0}])]}),r})(),qt=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[m,Be],imports:[F.ez]}),r})();function Si(r,i){if(1&r&&(e.TgZ(0,"mat-option",11),e._uU(1),e.qZA()),2&r){const t=i.$implicit;e.Q6J("value",t.id),e.xp6(1),e.hij(" ",t.name," ")}}class Bi{constructor(i,t,n){this.appState=i,this.dialogRef=t,this.data=n,this.styles=Hy,this.data.name="",this.data.color="#673ab7"}onNoClick(){this.data.name="",this.data.color="#673ab7",this.dialogRef.close()}}Bi.\u0275fac=function(i){return new(i||Bi)(e.Y36(ce.i),e.Y36(Ee),e.Y36(bt))},Bi.\u0275cmp=e.Xpm({type:Bi,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(i,t){1&i&&(e.TgZ(0,"div",0)(1,"h1",1),e._uU(2,"Create Circle"),e.qZA(),e.TgZ(3,"div",2)(4,"mat-form-field",3)(5,"mat-icon",4),e._uU(6,"supervised_user_circle"),e.qZA(),e.TgZ(7,"mat-label"),e._uU(8,"Circle Name"),e.qZA(),e.TgZ(9,"input",5),e.NdJ("ngModelChange",function(a){return t.data.name=a}),e.qZA()(),e.TgZ(10,"mat-form-field",6)(11,"div",7),e.NdJ("ngModelChange",function(a){return t.data.color=a}),e.qZA(),e.TgZ(12,"mat-label"),e._uU(13,"Color"),e.qZA(),e.TgZ(14,"input",8),e.NdJ("ngModelChange",function(a){return t.data.color=a}),e.qZA()(),e.TgZ(15,"mat-form-field",6)(16,"mat-label"),e._uU(17,"Type"),e.qZA(),e.TgZ(18,"mat-select",9),e.NdJ("valueChange",function(a){return t.data.style=a}),e.YNc(19,Si,2,2,"mat-option",10),e.qZA()(),e.TgZ(20,"mat-form-field",6)(21,"mat-label"),e._uU(22,"Visibility"),e.qZA(),e.TgZ(23,"mat-select",9),e.NdJ("valueChange",function(a){return t.data.public=a}),e.TgZ(24,"mat-option",11),e._uU(25," Public "),e.qZA(),e.TgZ(26,"mat-option",11),e._uU(27," Private "),e.qZA()()()(),e.TgZ(28,"div",12)(29,"button",13),e.NdJ("click",function(){return t.onNoClick()}),e._uU(30,"Cancel"),e.qZA(),e.TgZ(31,"button",14),e._uU(32,"Save"),e.qZA()()()),2&i&&(e.xp6(9),e.Q6J("ngModel",t.data.name),e.xp6(2),e.Udp("background",t.data.color),e.Q6J("ngModel",t.data.color),e.xp6(3),e.Q6J("ngModel",t.data.color),e.xp6(4),e.Q6J("value",t.data.style),e.xp6(1),e.Q6J("ngForOf",t.styles),e.xp6(4),e.Q6J("value",t.data.public),e.xp6(1),e.Q6J("value",!0),e.xp6(2),e.Q6J("value",!1),e.xp6(5),e.Q6J("mat-dialog-close",t.data))},dependencies:[F.sg,Za,Aa,Ta,ol,Mt.lW,fu,ae.ey,ar,_a,ua,Ma,rn,Dt,vt,Ui,mt],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 Qi=(()=>{class r{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(t){this._vertical=(0,st.Ig)(t)}get inset(){return this._inset}set inset(t){this._inset=(0,st.Ig)(t)}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(t,n){2&t&&(e.uIk("aria-orientation",n.vertical?"vertical":"horizontal"),e.ekj("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(t,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}),r})(),Fn=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ae.BQ,ae.BQ]}),r})();const xi=["*"],En='@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}',ea=["unscopedContent"],Oa=["text"],CD=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],fE=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"];function pE(r,i){1&r&&e.Hsn(0,4)}function gE(r,i){if(1&r&&(e.TgZ(0,"div",11),e._UZ(1,"input",12),e.TgZ(2,"div",13),e.O4$(),e.TgZ(3,"svg",14),e._UZ(4,"path",15),e.qZA(),e.kcU(),e._UZ(5,"div",16),e.qZA()()),2&r){const t=e.oxw();e.ekj("mdc-checkbox--disabled",t.disabled),e.xp6(1),e.Q6J("checked",t.selected)("disabled",t.disabled)}}function _E(r,i){if(1&r&&(e.TgZ(0,"div",17),e._UZ(1,"input",18),e.TgZ(2,"div",19),e._UZ(3,"div",20)(4,"div",21),e.qZA()()),2&r){const t=e.oxw();e.ekj("mdc-radio--disabled",t.disabled),e.xp6(1),e.Q6J("checked",t.selected)("disabled",t.disabled)}}function bE(r,i){}function yE(r,i){if(1&r&&(e.TgZ(0,"span",22),e.YNc(1,bE,0,0,"ng-template",23),e.qZA()),2&r){e.oxw();const t=e.MAs(3);e.xp6(1),e.Q6J("ngTemplateOutlet",t)}}function vE(r,i){}function wE(r,i){if(1&r&&(e.TgZ(0,"span",24),e.YNc(1,vE,0,0,"ng-template",23),e.qZA()),2&r){e.oxw();const t=e.MAs(5);e.xp6(1),e.Q6J("ngTemplateOutlet",t)}}function xE(r,i){}function FE(r,i){if(1&r&&e.YNc(0,xE,0,0,"ng-template",23),2&r){e.oxw();const t=e.MAs(1);e.Q6J("ngTemplateOutlet",t)}}function CE(r,i){}function kE(r,i){if(1&r&&(e.TgZ(0,"span",25),e.YNc(1,CE,0,0,"ng-template",23),e.qZA()),2&r){e.oxw();const t=e.MAs(3);e.xp6(1),e.Q6J("ngTemplateOutlet",t)}}function DE(r,i){}function ME(r,i){if(1&r&&(e.TgZ(0,"span",25),e.YNc(1,DE,0,0,"ng-template",23),e.qZA()),2&r){e.oxw();const t=e.MAs(5);e.xp6(1),e.Q6J("ngTemplateOutlet",t)}}function EE(r,i){}function TE(r,i){if(1&r&&e.YNc(0,EE,0,0,"ng-template",23),2&r){e.oxw();const t=e.MAs(1);e.Q6J("ngTemplateOutlet",t)}}const AE=[[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["mat-divider"]],[["","matListItemAvatar",""],["","matListItemIcon",""]]],SE=["[matListItemTitle]","[matListItemLine]","*","mat-divider","[matListItemAvatar],[matListItemIcon]"],kD=new e.OlP("ListOption");let Vy=(()=>{class r{constructor(t){this._elementRef=t}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq))},r.\u0275dir=e.lG2({type:r,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]}),r})(),Zy=(()=>{class r{constructor(t){this._elementRef=t}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq))},r.\u0275dir=e.lG2({type:r,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]}),r})(),DD=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]}),r})(),MD=(()=>{class r{constructor(t){this._listOption=t}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getTogglePosition()}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(kD,8))},r.\u0275dir=e.lG2({type:r,hostVars:4,hostBindings:function(t,n){2&t&&e.ekj("mdc-list-item__start",n._isAlignedAtStart())("mdc-list-item__end",!n._isAlignedAtStart())}}),r})(),zy=(()=>{class r extends MD{}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[e.qOj]}),r})(),zF=(()=>{class r extends MD{}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[e.qOj]}),r})();const IE=new e.OlP("MAT_LIST_CONFIG");let _u=(()=>{class r{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1,this._defaultOptions=(0,e.f3M)(IE,{optional:!0})}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=(0,st.Ig)(t)}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,st.Ig)(t)}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,hostVars:1,hostBindings:function(t,n){2&t&&e.uIk("aria-disabled",n.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}}),r})(),GF=(()=>{class r{set lines(t){this._explicitLines=(0,st.su)(t,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(t){this._disableRipple=(0,st.Ig)(t)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(t){this._disabled=(0,st.Ig)(t)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(t,n,a,l,v,I){this._elementRef=t,this._ngZone=n,this._listBase=a,this._platform=l,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new yo.w0,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=v||{},this._hostElement=this._elementRef.nativeElement,this._noopAnimations="NoopAnimations"===I,a&&!a._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 ae.IR(this,this._ngZone,this._hostElement,this._platform),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add((0,Ye.T)(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(t){if(!this._lines||!this._titles||!this._unscopedContent)return;t&&this._checkDomForUnscopedTextContent();const n=this._explicitLines??this._inferLinesFromContent(),a=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 l=0===this._titles.length&&1===n;a.classList.toggle("mdc-list-item__primary-text",l),a.classList.toggle("mdc-list-item__secondary-text",!l)}else a.classList.remove("mdc-list-item__primary-text"),a.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let t=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(t+=1),t}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(t=>t.nodeType!==t.COMMENT_NODE).some(t=>!(!t.textContent||!t.textContent.trim()))}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(_u,8),e.Y36(x.t4),e.Y36(ae.Y2,8),e.Y36(e.QbO,8))},r.\u0275dir=e.lG2({type:r,contentQueries:function(t,n,a){if(1&t&&(e.Suo(a,zy,4),e.Suo(a,zF,4)),2&t){let l;e.iGM(l=e.CRH())&&(n._avatars=l),e.iGM(l=e.CRH())&&(n._icons=l)}},hostVars:3,hostBindings:function(t,n){2&t&&(e.uIk("aria-disabled",n.disabled),e.ekj("mdc-list-item--disabled",n.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}}),r})(),OE=(()=>{class r extends _u{}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],features:[e._Bn([{provide:_u,useExisting:r}]),e.qOj],ngContentSelectors:xi,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.Hsn(0))},styles:[En],encapsulation:2,changeDetection:0}),r})(),WF=(()=>{class r extends GF{get activated(){return this._activated}set activated(t){this._activated=(0,st.Ig)(t)}constructor(t,n,a,l,v,I){super(t,n,a,l,v,I),this._activated=!1}_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(_u,8),e.Y36(x.t4),e.Y36(ae.Y2,8),e.Y36(e.QbO,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(t,n,a){if(1&t&&(e.Suo(a,Zy,5),e.Suo(a,Vy,5),e.Suo(a,DD,5)),2&t){let l;e.iGM(l=e.CRH())&&(n._lines=l),e.iGM(l=e.CRH())&&(n._titles=l),e.iGM(l=e.CRH())&&(n._meta=l)}},viewQuery:function(t,n){if(1&t&&(e.Gf(ea,5),e.Gf(Oa,5)),2&t){let a;e.iGM(a=e.CRH())&&(n._unscopedContent=a.first),e.iGM(a=e.CRH())&&(n._itemText=a.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function(t,n){2&t&&(e.uIk("aria-current",n._getAriaCurrent()),e.ekj("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:[e.qOj],ngContentSelectors:fE,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(t,n){1&t&&(e.F$t(CD),e.Hsn(0),e.TgZ(1,"span",0),e.Hsn(2,1),e.Hsn(3,2),e.TgZ(4,"span",1,2),e.NdJ("cdkObserveContent",function(){return n._updateItemLines(!0)}),e.Hsn(6,3),e.qZA()(),e.Hsn(7,4),e.Hsn(8,5),e._UZ(9,"div",3))},dependencies:[al.wD],encapsulation:2,changeDetection:0}),r})();const ED=new e.OlP("SelectionList");let TD=(()=>{class r extends GF{get checkboxPosition(){return this.togglePosition}set checkboxPosition(t){this.togglePosition=t}get color(){return this._color||this._selectionList.color}set color(t){this._color=t}get value(){return this._value}set value(t){this.selected&&t!==this.value&&this._inputsInitialized&&(this.selected=!1),this._value=t}get selected(){return this._selectionList.selectedOptions.isSelected(this)}set selected(t){const n=(0,st.Ig)(t);n!==this._selected&&(this._setSelected(n),(n||this._selectionList.multiple)&&this._selectionList._reportValueChange())}constructor(t,n,a,l,v,I,W){super(t,n,a,l,I,W),this._selectionList=a,this._changeDetectorRef=v,this.selectedChange=new e.vpe,this.togglePosition="after",this._selected=!1,this._inputsInitialized=!1}ngOnInit(){const t=this._selectionList;t._value&&t._value.some(a=>t.compareWith(this._value,a))&&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(t){return this._selectionList.multiple&&this._getTogglePosition()===t}_hasRadioAt(t){return!this._selectionList.multiple&&this._getTogglePosition()===t&&!this._selectionList.hideSingleSelectionIndicator}_hasIconsOrAvatarsAt(t){return this._hasProjected("icons",t)||this._hasProjected("avatars",t)}_hasProjected(t,n){return this._getTogglePosition()!==n&&("avatars"===t?0!==this._avatars.length:0!==this._icons.length)}_handleBlur(){this._selectionList._onTouched()}_getTogglePosition(){return this.togglePosition||"after"}_setSelected(t){return t!==this._selected&&(this._selected=t,t?this._selectionList.selectedOptions.select(this):this._selectionList.selectedOptions.deselect(this),this.selectedChange.emit(t),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(t){this._hostElement.setAttribute("tabindex",t+"")}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(ED),e.Y36(x.t4),e.Y36(e.sBO),e.Y36(ae.Y2,8),e.Y36(e.QbO,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-list-option"]],contentQueries:function(t,n,a){if(1&t&&(e.Suo(a,Zy,5),e.Suo(a,Vy,5)),2&t){let l;e.iGM(l=e.CRH())&&(n._lines=l),e.iGM(l=e.CRH())&&(n._titles=l)}},viewQuery:function(t,n){if(1&t&&e.Gf(ea,5),2&t){let a;e.iGM(a=e.CRH())&&(n._unscopedContent=a.first)}},hostAttrs:["role","option",1,"mat-mdc-list-item","mat-mdc-list-option","mdc-list-item"],hostVars:25,hostBindings:function(t,n){1&t&&e.NdJ("blur",function(){return n._handleBlur()})("click",function(){return n._toggleOnInteraction()}),2&t&&(e.uIk("aria-selected",n.selected),e.ekj("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:[e._Bn([{provide:GF,useExisting:r},{provide:kD,useExisting:r}]),e.qOj],ngContentSelectors:SE,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(t,n){1&t&&(e.F$t(AE),e.YNc(0,pE,1,0,"ng-template",null,0,e.W1O),e.YNc(2,gE,6,4,"ng-template",null,1,e.W1O),e.YNc(4,_E,5,4,"ng-template",null,2,e.W1O),e.YNc(6,yE,2,1,"span",3),e.YNc(7,wE,2,1,"span",4),e.YNc(8,FE,1,1,"ng-template",5),e.TgZ(9,"span",6),e.Hsn(10),e.Hsn(11,1),e.TgZ(12,"span",7,8),e.NdJ("cdkObserveContent",function(){return n._updateItemLines(!0)}),e.Hsn(14,2),e.qZA()(),e.YNc(15,kE,2,1,"span",9),e.YNc(16,ME,2,1,"span",9),e.YNc(17,TE,1,1,"ng-template",5),e.Hsn(18,3),e._UZ(19,"div",10)),2&t&&(e.xp6(6),e.Q6J("ngIf",n._hasCheckboxAt("before")),e.xp6(1),e.Q6J("ngIf",n._hasRadioAt("before")),e.xp6(1),e.Q6J("ngIf",n._hasIconsOrAvatarsAt("before")),e.xp6(7),e.Q6J("ngIf",n._hasCheckboxAt("after")),e.xp6(1),e.Q6J("ngIf",n._hasRadioAt("after")),e.xp6(1),e.Q6J("ngIf",n._hasIconsOrAvatarsAt("after")))},dependencies:[al.wD,F.O5,F.tP],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}),r})(),qF=(()=>{class r extends _u{constructor(){super(...arguments),this._isNonInteractive=!1}}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-mdc-nav-list","mat-mdc-list-base","mdc-list"],exportAs:["matNavList"],features:[e._Bn([{provide:_u,useExisting:r}]),e.qOj],ngContentSelectors:xi,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.Hsn(0))},styles:[En],encapsulation:2,changeDetection:0}),r})();const NE={provide:ga,useExisting:(0,e.Gpc)(()=>AD),multi:!0};class LE{constructor(i,t){this.source=i,this.options=t}}let AD=(()=>{class r extends _u{get multiple(){return this._multiple}set multiple(t){const n=(0,st.Ig)(t);n!==this._multiple&&(this._multiple=n,this.selectedOptions=new co.Ov(this._multiple,this.selectedOptions.selected))}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=(0,st.Ig)(t)}constructor(t,n){super(),this._element=t,this._ngZone=n,this._initialized=!1,this._destroyed=new D.x,this._onChange=a=>{},this.selectionChange=new e.vpe,this.color="accent",this.compareWith=(a,l)=>a===l,this._multiple=!0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this.selectedOptions=new co.Ov(this._multiple),this._onTouched=()=>{},this._selectionListDisabled=!1,this._handleFocusout=()=>{setTimeout(()=>{this._containsFocus()||this._resetActiveOption()})},this._handleFocusin=a=>{if(this.disabled)return;const l=this._items.toArray().findIndex(v=>v._elementRef.nativeElement.contains(a.target));l>-1?this._setActiveOption(l):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(t){const n=t.disabled,a=t.disableRipple,l=t.hideSingleSelectionIndicator;(a&&!a.firstChange||n&&!n.firstChange||l&&!l.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(t){this._element.nativeElement.focus(t)}selectAll(){return this._setAllOptionsSelected(!0)}deselectAll(){return this._setAllOptionsSelected(!1)}_reportValueChange(){if(this.options&&!this._isDestroyed){const t=this._getSelectedOptionValues();this._onChange(t),this._value=t}}_emitChangeEvent(t){this.selectionChange.emit(new LE(this,t))}writeValue(t){this._value=t,this.options&&this._setOptionsFromValues(t||[])}setDisabledState(t){this.disabled=t}get disabled(){return this._selectionListDisabled}set disabled(t){this._selectionListDisabled=(0,st.Ig)(t),this._selectionListDisabled&&this._keyManager?.setActiveItem(-1)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}_watchForSelectionChange(){this.selectedOptions.changed.pipe((0,qi.R)(this._destroyed)).subscribe(t=>{for(let n of t.added)n.selected=!0;for(let n of t.removed)n.selected=!1;this._containsFocus()||this._resetActiveOption()})}_setOptionsFromValues(t){this.options.forEach(n=>n._setSelected(!1)),t.forEach(n=>{const a=this.options.find(l=>!l.selected&&this.compareWith(l.value,n));a&&a._setSelected(!0)})}_getSelectedOptionValues(){return this.options.filter(t=>t.selected).map(t=>t.value)}_markOptionsForCheck(){this.options&&this.options.forEach(t=>t._markForCheck())}_setAllOptionsSelected(t,n){const a=[];return this.options.forEach(l=>{(!n||!l.disabled)&&l._setSelected(t)&&a.push(l)}),a.length&&this._reportValueChange(),a}get options(){return this._items}_handleKeydown(t){const n=this._keyManager.activeItem;if(t.keyCode!==A.K5&&t.keyCode!==A.L_||this._keyManager.isTyping()||!n||n.disabled)if(t.keyCode===A.A&&this.multiple&&!this._keyManager.isTyping()&&(0,A.Vb)(t,"ctrlKey")){const a=this.options.some(l=>!l.disabled&&!l.selected);t.preventDefault(),this._emitChangeEvent(this._setAllOptionsSelected(a,!0))}else this._keyManager.onKeydown(t);else t.preventDefault(),n._toggleOnInteraction()}_setupRovingTabindex(){this._keyManager=new g.Em(this._items).withHomeAndEnd().withTypeAhead().withWrap().skipPredicate(()=>this.disabled),this._resetActiveOption(),this._keyManager.change.subscribe(t=>this._setActiveOption(t)),this._items.changes.pipe((0,qi.R)(this._destroyed)).subscribe(()=>{const t=this._keyManager.activeItem;(!t||!this._items.toArray().indexOf(t))&&this._resetActiveOption()})}_setActiveOption(t){this._items.forEach((n,a)=>n._setTabindex(a===t?0:-1)),this._keyManager.updateActiveItem(t)}_resetActiveOption(){if(this.disabled)return void this._setActiveOption(-1);const t=this._items.find(n=>n.selected&&!n.disabled)||this._items.first;this._setActiveOption(t?this._items.toArray().indexOf(t):-1)}_containsFocus(){const t=(0,x.ht)();return t&&this._element.nativeElement.contains(t)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.R0b))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-selection-list"]],contentQueries:function(t,n,a){if(1&t&&e.Suo(a,TD,5),2&t){let l;e.iGM(l=e.CRH())&&(n._items=l)}},hostAttrs:["role","listbox",1,"mat-mdc-selection-list","mat-mdc-list-base","mdc-list"],hostVars:1,hostBindings:function(t,n){1&t&&e.NdJ("keydown",function(l){return n._handleKeydown(l)}),2&t&&e.uIk("aria-multiselectable",n.multiple)},inputs:{color:"color",compareWith:"compareWith",multiple:"multiple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",disabled:"disabled"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[e._Bn([NE,{provide:_u,useExisting:r},{provide:ED,useExisting:r}]),e.qOj,e.TTD],ngContentSelectors:xi,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.Hsn(0))},styles:[En],encapsulation:2,changeDetection:0}),r})(),RE=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[al.Q8,F.ez,ae.BQ,ae.si,ae.us,Fn]}),r})();class o_{constructor(){}transform(i){return i?Hy.find(t=>t.id==i)?.name:"Pipes"}}function PE(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,"Public"),e.qZA())}function BE(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,"Private"),e.qZA())}function YE(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",14),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().$implicit,l=e.oxw();return e.KtG(l.deleteCircle(a.id))}),e.TgZ(1,"mat-icon"),e._uU(2,"delete"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Delete Circle"),e.qZA()()}}function HE(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",2),e.NdJ("click",function(a){const v=e.CHM(t).$implicit,I=e.oxw();return e.KtG(I.navigation.openFeed(a,v))}),e.TgZ(1,"div",3)(2,"mat-icon",4),e._uU(3,"trip_origin"),e.qZA()(),e.TgZ(4,"div",5),e._uU(5),e._UZ(6,"br"),e.TgZ(7,"span",6)(8,"span"),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.TgZ(11,"span",6),e.YNc(12,PE,2,0,"span",7),e.YNc(13,BE,2,0,"span",7),e._uU(14),e.ALo(15,"circlestyle"),e.ALo(16,"ago"),e.qZA()(),e.TgZ(17,"div",5)(18,"button",8)(19,"mat-icon",9),e._uU(20,"more_vert"),e.qZA()(),e.TgZ(21,"mat-menu",null,10)(23,"button",11)(24,"mat-icon"),e._uU(25,"copy_all"),e.qZA(),e.TgZ(26,"span"),e._uU(27,"Copy"),e.qZA()(),e.YNc(28,YE,5,0,"button",12),e.qZA(),e.TgZ(29,"mat-menu",null,13)(31,"button",14),e.NdJ("click",function(){const l=e.CHM(t).$implicit,v=e.oxw();return e.KtG(v.copyPubKeys(l))}),e.TgZ(32,"mat-icon"),e._uU(33,"content_copy"),e.qZA(),e.TgZ(34,"span"),e._uU(35,"Public Keys (npub)"),e.qZA()(),e.TgZ(36,"button",14),e.NdJ("click",function(){const l=e.CHM(t).$implicit,v=e.oxw();return e.KtG(v.copyPubKeysHex(l))}),e.TgZ(37,"mat-icon"),e._uU(38,"content_copy"),e.qZA(),e.TgZ(39,"span"),e._uU(40,"Public Keys (hex)"),e.qZA()()()()()}if(2&r){const t=i.$implicit,n=e.MAs(22),a=e.MAs(30),l=e.oxw();e.xp6(2),e.Udp("color",t.color),e.xp6(3),e.hij(" ",t.name,""),e.xp6(4),e.hij("Count: ",l.countMembers(t),""),e.xp6(3),e.Q6J("ngIf",t.public),e.xp6(1),e.Q6J("ngIf",!t.public),e.xp6(1),e.AsE(" - ",e.lcZ(15,11,t.style)," - Created: ",e.lcZ(16,13,t.created),""),e.xp6(4),e.Q6J("matMenuTriggerFor",n),e.xp6(5),e.Q6J("matMenuTriggerFor",a),e.xp6(5),e.Q6J("ngIf",t.id)}}o_.\u0275fac=function(i){return new(i||o_)},o_.\u0275pipe=e.Yjl({name:"circlestyle",type:o_,pure:!0});class s_{constructor(i,t,n,a,l,v,I,W,G,ye,Ge,yt,It){this.navigation=i,this.appState=t,this.circleService=n,this.profileService=a,this.dialog=l,this.validator=v,this.utilities=I,this.authService=W,this.router=G,this.dataService=ye,this.snackBar=Ge,this.cd=yt,this.ngZone=It,this.loading=!1,this.subscriptions=[]}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}deleteCircle(i){var t=this;return(0,ve.Z)(function*(){const n=t.getFollowingInCircle(i).map(l=>l.pubkey);yield t.circleService.delete(i);for(var a=0;anull==t.circle||0==t.circle:t=>t.circle==i)}copyPubKeys(i){let t=this.getPublicKeys(i);t=t.map(n=>this.utilities.getNostrIdentifier(n)),this.copy(JSON.stringify(t))}copyPubKeysHex(i){const t=this.getPublicKeys(i);this.copy(JSON.stringify(t))}getPublicKeys(i){return this.getFollowingInCircle(i.id).map(a=>a.pubkey)}getPublicPublicKeys(){console.log(this.profileService.following);const i=[];for(let t=0;tv.pubkey);i.push(...l)}}return i}getNpub(i){return this.utilities.getNostrIdentifier(i)}createCircle(){var i=this;this.dialog.open(Bi,{data:{name:"",style:1,public:!0},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=(0,ve.Z)(function*(a){a&&i.circleService.put(a)});return function(a){return n.apply(this,arguments)}}())}ngOnInit(){var i=this;return(0,ve.Z)(function*(){i.appState.updateTitle("Circles"),i.appState.showBackButton=!1,i.appState.actions=[{icon:"add_circle",tooltip:"Create Circle",click:()=>{i.createCircle()}}]})()}}s_.\u0275fac=function(i){return new(i||s_)(e.Y36(ra),e.Y36(ce.i),e.Y36(ba),e.Y36(Bn),e.Y36(vi),e.Y36(vr.Y),e.Y36(Pi.dU),e.Y36(Os.$),e.Y36(Ht.F0),e.Y36(Wr),e.Y36(ko.ux),e.Y36(e.sBO),e.Y36(e.R0b))},s_.\u0275cmp=e.Xpm({type:s_,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(i,t){1&i&&(e.TgZ(0,"div",0),e.YNc(1,HE,41,15,"mat-card",1),e.TgZ(2,"small"),e._uU(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."),e.qZA()()),2&i&&(e.xp6(1),e.Q6J("ngForOf",t.circleService.circles))},dependencies:[F.sg,F.O5,Mt.RK,Ia,ar,zF,fc,Ys,su,ls,o_],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 l_{constructor(i,t){this.dialogRef=i,this.data=t}onNoClick(){this.data.pubkey="",this.dialogRef.close()}}l_.\u0275fac=function(i){return new(i||l_)(e.Y36(Ee),e.Y36(bt))},l_.\u0275cmp=e.Xpm({type:l_,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(i,t){1&i&&(e.TgZ(0,"div",0)(1,"h1",1),e._uU(2,"Enter Public Key or Alias (NIP-05) to Follow"),e.qZA(),e.TgZ(3,"div",2)(4,"mat-form-field",3)(5,"mat-icon",4),e._uU(6,"person_add"),e.qZA(),e.TgZ(7,"mat-label"),e._uU(8,"Public Key / Alias"),e.qZA(),e.TgZ(9,"input",5),e.NdJ("ngModelChange",function(a){return t.data.pubkey=a}),e.qZA()()(),e.TgZ(10,"div",6)(11,"button",7),e.NdJ("click",function(){return t.onNoClick()}),e._uU(12,"Cancel"),e.qZA(),e.TgZ(13,"button",8),e._uU(14,"Follow"),e.qZA()()()),2&i&&(e.xp6(9),e.Q6J("ngModel",t.data.pubkey),e.xp6(4),e.Q6J("mat-dialog-close",t.data))},dependencies:[Za,Aa,Ta,ol,Mt.lW,ar,_a,ua,Ma,rn,Dt,vt,Ui],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}"]});class c_{constructor(i,t,n){this.eventService=i,this.dialogRef=t,this.data=n}onNoClick(){this.data.pubkey="",this.dialogRef.close()}import(){this.data.import=!0,this.dialogRef.close(this.data)}onFileSelected(i){var t=i.target.files[0],n=new FileReader;n.onload=()=>{const a=JSON.parse(n.result),l=this.eventService.pTags(a).map(v=>v[1]);this.data.pubkeys=l,this.dialogRef.close(this.data)},n.readAsText(t)}}function UE(r,i){if(1&r&&(e.TgZ(0,"span",23),e._uU(1),e.ALo(2,"ago"),e.qZA()),2&r){const t=e.oxw().$implicit;e.xp6(1),e.hij("Followed ",e.lcZ(2,1,t.created),"")}}function jE(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",17),e.NdJ("click",function(a){const v=e.CHM(t).$implicit,I=e.oxw(3);return e.KtG(I.navigation.openProfile(a,v))}),e.TgZ(1,"div",18)(2,"app-event-header",19)(3,"small"),e.YNc(4,UE,3,3,"span",20),e._UZ(5,"app-directory-icon",21),e.qZA()(),e._UZ(6,"app-profile-actions",19),e.qZA(),e.TgZ(7,"div",22),e._uU(8),e.qZA()()}if(2&r){const t=i.$implicit;e.xp6(2),e.Q6J("profile",t),e.xp6(2),e.Q6J("ngIf",t.created),e.xp6(1),e.Q6J("pubkey",t.pubkey),e.xp6(1),e.Q6J("profile",t),e.xp6(2),e.Oqu(t.about)}}function VE(r,i){if(1&r&&e.YNc(0,jE,9,5,"mat-card",16),2&r){const t=e.oxw(2);e.Q6J("ngForOf",t.sortedItems)("ngForTrackBy",t.trackByFn)}}function ZE(r,i){if(1&r&&e._UZ(0,"app-event-header",25),2&r){const t=i.$implicit;e.Q6J("listType","content")("iconSize","small")("displayName",!0)("displayContent",!0)("profile",t)}}function zE(r,i){if(1&r&&e.YNc(0,ZE,1,5,"app-event-header",24),2&r){const t=e.oxw(2);e.Q6J("ngForOf",t.sortedItems)("ngForTrackBy",t.trackByFn)}}function GE(r,i){if(1&r&&e._UZ(0,"app-event-header",25),2&r){const t=i.$implicit;e.Q6J("listType","details")("iconSize","small")("displayName",!0)("displayContent",!0)("profile",t)}}function WE(r,i){if(1&r&&e.YNc(0,GE,1,5,"app-event-header",24),2&r){const t=e.oxw(2);e.Q6J("ngForOf",t.sortedItems)("ngForTrackBy",t.trackByFn)}}function qE(r,i){if(1&r&&e._UZ(0,"app-event-header",27),2&r){const t=i.$implicit;e.Q6J("iconSize","small")("displayName",!1)("displayContent",!1)("profile",t)}}function QE(r,i){if(1&r&&e.YNc(0,qE,1,4,"app-event-header",26),2&r){const t=e.oxw(2);e.Q6J("ngForOf",t.sortedItems)("ngForTrackBy",t.trackByFn)}}function JE(r,i){if(1&r&&e._UZ(0,"app-event-header",25),2&r){const t=i.$implicit;e.Q6J("listType","icon")("iconSize","small")("displayName",!1)("displayContent",!1)("profile",t)}}function KE(r,i){if(1&r&&e.YNc(0,JE,1,5,"app-event-header",24),2&r){const t=e.oxw(2);e.Q6J("ngForOf",t.sortedItems)("ngForTrackBy",t.trackByFn)}}function $E(r,i){if(1&r&&e._UZ(0,"app-event-header",25),2&r){const t=i.$implicit;e.Q6J("listType","icon")("iconSize","medium")("displayName",!1)("displayContent",!1)("profile",t)}}function XE(r,i){if(1&r&&e.YNc(0,$E,1,5,"app-event-header",24),2&r){const t=e.oxw(2);e.Q6J("ngForOf",t.sortedItems)("ngForTrackBy",t.trackByFn)}}function eT(r,i){if(1&r&&e._UZ(0,"app-event-header",25),2&r){const t=i.$implicit;e.Q6J("listType","icon")("iconSize","large")("displayName",!1)("displayContent",!1)("profile",t)}}function tT(r,i){if(1&r&&e.YNc(0,eT,1,5,"app-event-header",24),2&r){const t=e.oxw(2);e.Q6J("ngForOf",t.sortedItems)("ngForTrackBy",t.trackByFn)}}function iT(r,i){if(1&r&&(e.YNc(0,VE,1,2,"ng-template",14),e.YNc(1,zE,1,2,"ng-template",14),e.YNc(2,WE,1,2,"ng-template",14),e.YNc(3,QE,1,2,"ng-template",14),e.YNc(4,KE,1,2,"ng-template",14),e.YNc(5,XE,1,2,"ng-template",14),e.YNc(6,tT,1,2,"ng-template",14)),2&r){const t=e.oxw();e.Q6J("ngIf",0==t.optionsService.values.peopleDisplayView||null==t.optionsService.values.peopleDisplayView),e.xp6(1),e.Q6J("ngIf",1==t.optionsService.values.peopleDisplayView),e.xp6(1),e.Q6J("ngIf",2==t.optionsService.values.peopleDisplayView),e.xp6(1),e.Q6J("ngIf",3==t.optionsService.values.peopleDisplayView),e.xp6(1),e.Q6J("ngIf",4==t.optionsService.values.peopleDisplayView),e.xp6(1),e.Q6J("ngIf",5==t.optionsService.values.peopleDisplayView),e.xp6(1),e.Q6J("ngIf",6==t.optionsService.values.peopleDisplayView)}}function nT(r,i){1&r&&e._UZ(0,"mat-spinner",28)}c_.\u0275fac=function(i){return new(i||c_)(e.Y36(Ar),e.Y36(Ee),e.Y36(bt))},c_.\u0275cmp=e.Xpm({type:c_,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(i,t){1&i&&(e.TgZ(0,"h1",0),e._uU(1,"Import complete following list"),e.qZA(),e.TgZ(2,"div",1)(3,"p"),e._uU(4,"Choose if you want to import from your latest contacts event or from file (backup) on your device."),e.qZA(),e.TgZ(5,"p")(6,"button",2),e.NdJ("click",function(){return t.import()}),e._uU(7,"Import my latest contacts"),e.qZA()(),e.TgZ(8,"p"),e._uU(9," Import from file: "),e.TgZ(10,"input",3),e.NdJ("change",function(a){return t.onFileSelected(a)}),e.qZA()()(),e.TgZ(11,"div",4)(12,"button",2),e.NdJ("click",function(){return t.onNoClick()}),e._uU(13,"Cancel"),e.qZA()())},dependencies:[Mt.lW,Dt,vt,Ui],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}"]});const rT=function(r){return[r]};class d_{constructor(i,t,n,a,l,v,I,W,G,ye,Ge,yt){this.circleService=i,this.navigation=t,this.appState=n,this.cd=a,this.dialog=l,this.profileService=v,this.validator=I,this.dataService=W,this.utilities=G,this.router=ye,this.snackBar=Ge,this.optionsService=yt,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 i=this.optionsService.values.peopleDisplaySort;"name-asc"===i?this.sortedItems=this.items.sort((t,n)=>t.name?.toLowerCase()t.name?.toLowerCase()t.followedt.followedt.created_att.created_at{i.createFollow()}}],yield i.load(),i.subscriptions.push(i.profileService.following$.subscribe((0,ve.Z)(function*(){console.log("FOLLOWING CHANGED!!!"),yield i.load()}))),i.subscriptions.push(i.profileService.profilesChanged$.subscribe((0,ve.Z)(function*(){console.log("profileService.profilesChanged$!!"),yield i.load()})))})()}getFollowingInCircle(i){return this.following.filter(null==i?t=>null==t.circle||0==t.circle:t=>t.circle==i)}getPublicPublicKeys(){console.log(this.following);const i=[];for(let t=0;tv.pubkey);i.push(...l)}}return i}addFollow(i){var t=this;return(0,ve.Z)(function*(){i.startsWith("nsec")?t.snackBar.open("This is a private key, not a public key.","Hide",{horizontalPosition:"center",verticalPosition:"bottom"}):(i=t.utilities.ensureHexIdentifier(i),yield t.profileService.follow(i))})()}createFollow(){var i=this;this.dialog.open(l_,{data:{},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=(0,ve.Z)(function*(a){if(!a)return;let l=a.pubkey;l=l.replaceAll("[","").replaceAll("]","").replaceAll('"',"");const v=l.split(",");for(let I=0;I-1){v[I].startsWith("@")&&(v[I]=v[I].substring(1));const W=yield zr.queryProfile(v[I]);if(!W)return void i.snackBar.open("Unable to find the user.","Hide",{duration:2e3,horizontalPosition:"center",verticalPosition:"bottom"});v[I]=W.pubkey}yield i.addFollow(v[I])}setTimeout(()=>{i.router.navigate(["/p",v[0]])},100)});return function(a){return n.apply(this,arguments)}}())}publishFollowList(){var i=this;return(0,ve.Z)(function*(){const t=i.getPublicPublicKeys();yield i.dataService.publishContacts(t),i.snackBar.open(`A total of ${t.length} was added to your public following list`,"Hide",{duration:2e3,horizontalPosition:"center",verticalPosition:"bottom"})})()}downloadFollowing(){var i=this;return(0,ve.Z)(function*(){const t=yield i.dataService.getContactsAndRelays(),n=JSON.stringify(t),a=new Blob([n],{type:"application/json"}),l=document.createElement("a");l.href=URL.createObjectURL(a),l.download=`metadata-${i.appState.getPublicKey()}.json`,l.click()})()}importFollowList(){var i=this;return(0,ve.Z)(function*(){i.dialog.open(c_,{data:{pubkey:i.appState.getPublicKey()},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=(0,ve.Z)(function*(a){if(a)if(i.snackBar.open("Importing followers process has started","Hide",{duration:2e3,horizontalPosition:"center",verticalPosition:"bottom"}),a.import){const l=yield i.profileService.getProfile(i.appState.getPublicKey());if(!l||!l.following)return;for(let v=0;v{W&&this.buildTree(W)}),this.ui.event$.subscribe(W=>{if(null==W)return;let G=this.eventService.rootEventId(W);G||(G=W.id),this.eventService.parentEventId(W)})}getEvent(i){return this.ui.events.find(t=>t.id==i)}getTreeEntry(i){return this.ui.getThreadEntry(i)}buildTree(i){i.length>1e3&&console.log("There are more than 1000 events... likely spam!")}replyEventId(i,t){for(let n=0;n3&&"reply"==a[3])return a[1]}return null==i[1]?i[0][1]:i[1][1]}rootEventId(i){for(let t=0;t3&&"root"==n[3])return n[1]}return i[0][1]}loadEventThread(i){this.navigationService.currentThread=[]}}function aT(r,i){if(1&r&&e._UZ(0,"img",13),2&r){const t=e.oxw().$implicit;e.Q6J("matTooltip",t.profile.about)("src",t.profile.picture,e.LSH)}}function oT(r,i){if(1&r&&e._UZ(0,"img",14),2&r){const t=e.oxw().$implicit;e.Q6J("matTooltip",t.profile.about)("src",t.profile.picture,e.LSH)}}function sT(r,i){if(1&r&&(e.TgZ(0,"div",3)(1,"div",4)(2,"div",5),e.YNc(3,aT,1,2,"img",6),e.YNc(4,oT,1,2,"img",7),e.qZA(),e.TgZ(5,"div",8)(6,"div",9)(7,"span",10),e._uU(8),e.qZA()()()(),e.TgZ(9,"div",11)(10,"span",12),e._uU(11),e.qZA()()()),2&r){const t=i.$implicit,n=e.oxw();e.xp6(3),e.Q6J("ngIf",1==(null==t.profile?null:t.profile.status)||2==(null==n.profile?null:n.profile.status)),e.xp6(1),e.Q6J("ngIf",1!=(null==t.profile?null:t.profile.status)&&2!=(null==t.profile?null:t.profile.status)),e.xp6(3),e.ekj("muted",2==t.profile.status),e.Q6J("matTooltip",t.profile.display_name),e.xp6(1),e.Oqu(t.profile.display_name),e.xp6(3),e.hij(" \u26a1\ufe0f ",t.zap.amount,"")}}gc.\u0275fac=function(i){return new(i||gc)(e.LFG(Gr),e.LFG(Fi),e.LFG(In),e.LFG(Ar),e.LFG(Bn),e.LFG(Wr),e.LFG(ra))},gc.\u0275prov=e.Yz7({token:gc,factory:gc.\u0275fac,providedIn:"root"});class u_{constructor(i,t,n,a){this.data=i,this.util=t,this.profileServ=n,this.dialogRef=a,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="",this.zappers=[]}ngOnInit(){var i=this;return(0,ve.Z)(function*(){(i.data.zaps?i.data.zaps:[]).forEach(function(){var n=(0,ve.Z)(function*(a){let l=a.zapper;null!=l&&i.profileServ.getProfile(l).then(function(){var v=(0,ve.Z)(function*(I){I.display_name=I.display_name||I.name||i.util.getNostrIdentifier(I.pubkey),i.zappers.push({profile:I,zap:a})});return function(I){return v.apply(this,arguments)}}())});return function(a){return n.apply(this,arguments)}}())})()}}function lT(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"span",4),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.openDialog())}),e._uU(1),e.qZA()}if(2&r){const t=e.oxw();e.xp6(1),e.hij("\u26a1\ufe0f",t.amountZapped,"")}}function cT(r,i){if(1&r&&(e.TgZ(0,"span",5),e._uU(1),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.hij("\u{1f501} ",null==t.threadEntry?null:t.threadEntry.boosts,"")}}function dT(r,i){if(1&r&&(e.TgZ(0,"span",5),e._uU(1),e.qZA()),2&r){const t=i.$implicit;e.xp6(1),e.AsE(" ",t.key," ",t.value," ")}}u_.\u0275fac=function(i){return new(i||u_)(e.Y36(bt),e.Y36(Pi.dU),e.Y36(Bn),e.Y36(Ee))},u_.\u0275cmp=e.Xpm({type:u_,selectors:[["app-zappers-list-dialog"]],decls:4,vars:1,consts:[["mat-dialog-content",""],[2,"text-align","center","margin-bottom","25px"],["class","profile-container",4,"ngFor","ngForOf"],[1,"profile-container"],[1,"left",2,"display","flex","align-items","center","margin-right","40px"],[1,"icon","icon-small",2,"flex","0 0 auto","margin-right","8px"],["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"],[2,"flex","1 1 auto"],[1,"name","clickable"],["matTooltipPosition","above",3,"matTooltip"],[1,"right"],["matTooltipPosition","above",1,"zap-amount"],["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(i,t){1&i&&(e.TgZ(0,"div",0)(1,"h2",1),e._uU(2,"Zappers"),e.qZA(),e.YNc(3,sT,12,7,"div",2),e.qZA()),2&i&&(e.xp6(3),e.Q6J("ngForOf",t.zappers))},dependencies:[F.sg,F.O5,eo,vt],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;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:100%;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)}.profile-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.left[_ngcontent-%COMP%]{align-self:flex-start}.right[_ngcontent-%COMP%]{align-self:flex-end}.zap-amount[_ngcontent-%COMP%]{display:inline-block;border:2px solid #9c27b0;border-radius:10px;padding:10px 15px;font-weight:700;color:#fff;background-color:#9c27b0;box-shadow:2px 2px 5px #0000004d}"]});const uT=function(r,i){return{"no-lines":r,lines:i}};class bu{constructor(i,t,n,a,l){this.thread=i,this.profiles=t,this.ui=n,this.optionsService=a,this.dialog=l,this.imagePath="/assets/profile.png",this.tooltip="",this.tooltipName="",this.profileName="",this.amountZapped=0}ngAfterViewInit(){}ngOnInit(){var i=this;return(0,ve.Z)(function*(){if(!i.optionsService.values.enableReactions&&!i.optionsService.values.enableZapping)return i.event=void 0,void(i.threadEntry=void 0);i.sub=i.ui.reactions$.subscribe(t=>{i.event&&t==i.event.id&&(i.threadEntry=i.thread.getTreeEntry(i.event.id),i.amountZapped=i.threadEntry?.zaps?.reduce((n,a)=>n+a.amount,0)||0)}),i.threadEntry=i.thread.getTreeEntry(i.event?.id)})()}ngOnDestroy(){this.sub?.unsubscribe()}openDialog(){const i=this.threadEntry?.zaps;this.dialog.open(u_,{data:{zaps:i,event:this.event}})}}function hT(r,i){if(1&r&&e._uU(0),2&r){const t=e.oxw(2);e.Oqu(t.unified)}}function mT(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",2),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.handleClick(a))})("mouseenter",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.handleOver(a))})("mouseleave",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.handleLeave(a))}),e.TgZ(1,"span",3),e.YNc(2,hT,1,1,"ng-template",4),e.Hsn(3),e.qZA()()}if(2&r){const t=e.oxw();e.ekj("emoji-mart-emoji-native",t.isNative)("emoji-mart-emoji-custom",t.custom),e.uIk("title",t.title)("aria-label",t.label),e.xp6(1),e.Q6J("ngStyle",t.style),e.xp6(1),e.Q6J("ngIf",t.isNative)}}function fT(r,i){if(1&r&&e._uU(0),2&r){const t=e.oxw(2);e.Oqu(t.unified)}}function pT(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"span",5),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.handleClick(a))})("mouseenter",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.handleOver(a))})("mouseleave",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.handleLeave(a))}),e.TgZ(1,"span",3),e.YNc(2,fT,1,1,"ng-template",4),e.Hsn(3,1),e.qZA()()}if(2&r){const t=e.oxw();e.ekj("emoji-mart-emoji-native",t.isNative)("emoji-mart-emoji-custom",t.custom),e.uIk("title",t.title)("aria-label",t.label),e.xp6(1),e.Q6J("ngStyle",t.style),e.xp6(1),e.Q6J("ngIf",t.isNative)}}bu.\u0275fac=function(i){return new(i||bu)(e.Y36(gc),e.Y36(Bn),e.Y36(Gr),e.Y36(Rr.I),e.Y36(vi))},bu.\u0275cmp=e.Xpm({type:bu,selectors:[["app-event-reactions"]],inputs:{event:"event"},decls:5,vars:9,consts:[[1,"thread-reactions",3,"ngClass"],["class","thread-reaction","matTooltip","Open Zappers list","style","cursor: pointer",3,"click",4,"ngIf"],["class","thread-reaction",4,"ngIf"],["class","thread-reaction",4,"ngFor","ngForOf"],["matTooltip","Open Zappers list",1,"thread-reaction",2,"cursor","pointer",3,"click"],[1,"thread-reaction"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0),e.YNc(1,lT,2,1,"span",1),e.YNc(2,cT,2,1,"span",2),e.YNc(3,dT,2,2,"span",3),e.ALo(4,"keyvalue"),e.qZA()),2&i&&(e.Q6J("ngClass",e.WLB(6,uT,!t.optionsService.values.showLines,t.optionsService.values.showLines)),e.xp6(1),e.Q6J("ngIf",(null==t.threadEntry?null:t.threadEntry.zaps)&&t.optionsService.values.enableZapping),e.xp6(1),e.Q6J("ngIf",(null==t.threadEntry?null:t.threadEntry.boosts)&&t.optionsService.values.enableReactions),e.xp6(1),e.Q6J("ngForOf",e.lcZ(4,4,t.threadEntry.reactions)))},dependencies:[F.mk,F.sg,F.O5,eo,F.Nd],styles:[".thread-reactions[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em;padding-bottom:.4em}.thread-reaction[_ngcontent-%COMP%]{margin-right:.75em}"]});const SD=["*","*"],ID=[{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"]}],gT=[{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:"`https://unpkg.com/emoji-datasource-${r}@6.0.1/img/${r}/sheets-256/${i}.png`;let Gy=(()=>{class r{constructor(){this.uncompressed=!1,this.names={},this.emojis=[],this.uncompressed||(this.uncompress(gT),this.uncompressed=!0)}uncompress(t){this.emojis=t.map(n=>{const a={...n};if(a.shortNames||(a.shortNames=[]),a.shortNames.unshift(a.shortName),a.id=a.shortName,a.native=this.unifiedToNative(a.unified),a.skinVariations||(a.skinVariations=[]),a.keywords||(a.keywords=[]),a.emoticons||(a.emoticons=[]),a.hidden||(a.hidden=[]),a.text||(a.text=""),a.obsoletes){const l=t.find(v=>v.unified===a.obsoletes);l&&(a.keywords=l.keywords?[...a.keywords,...l.keywords,l.shortName]:[...a.keywords,l.shortName])}this.names[a.unified]=a;for(const l of a.shortNames)this.names[l]=a;return a})}getData(t,n,a){let l;if("string"==typeof t){const I=t.match(_T);if(I&&(t=I[1],I[2]&&(n=parseInt(I[2],10))),!this.names.hasOwnProperty(t))return null;l=this.names[t]}else t.id?l=this.names[t.id]:t.unified&&(l=this.names[t.unified.toUpperCase()]);if(l||(l=t,l.custom=!0),l.skinVariations&&l.skinVariations.length&&n&&n>1&&a){l={...l};const I=bT[n-1],W=l.skinVariations.find(G=>G.unified.includes(I));(!W.hidden||!W.hidden.includes(a))&&(l.skinTone=n,l={...l,...W}),l.native=this.unifiedToNative(l.unified)}return l.set=a||"",l}unifiedToNative(t){const n=t.split("-").map(a=>parseInt(`0x${a}`,16));return String.fromCodePoint(...n)}emojiSpriteStyles(t,n="apple",a=24,l=64,v=57,I=OD,W=58,G){const ye=!!G;return{width:`${a}px`,height:`${a}px`,display:"inline-block","background-image":`url(${G=G||I(n,l)})`,"background-size":ye?"100% 100%":`${100*W}% ${100*v}%`,"background-position":ye?void 0:this.getSpritePosition(t,W)}}getSpritePosition(t,n){const[a,l]=t,v=100/(n-1);return`${v*a}% ${v*l}%`}sanitize(t){if(null===t)return null;let a=`:${t.id||t.shortNames[0]}:`;return t.skinTone&&(a+=`:skin-tone-${t.skinTone}:`),t.colons=a,{...t}}getSanitizedData(t,n,a){return this.sanitize(this.getData(t,n,a))}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),ND=(()=>{class r{constructor(t){this.emojiService=t,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 e.vpe,this.emojiLeave=new e.vpe,this.emojiClick=new e.vpe,this.title=void 0,this.label="",this.custom=!1,this.isVisible=!0,this.backgroundImageFn=OD}ngOnChanges(){if(!this.emoji)return this.isVisible=!1;const t=this.getData();if(!t)return this.isVisible=!1;if(this.unified=t.native||null,t.custom&&(this.custom=t.custom),!t.unified&&!t.custom)return this.isVisible=!1;if(this.tooltip&&(this.title=t.shortNames[0]),t.obsoletedBy&&this.hideObsolete)return this.isVisible=!1;if(this.label=[t.native].concat(t.shortNames).filter(Boolean).join(", "),this.isNative&&t.unified&&t.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(t.custom)this.style={width:`${this.size}px`,height:`${this.size}px`,display:"inline-block"},this.style=t.spriteUrl&&this.sheetRows&&this.sheetColumns?{...this.style,backgroundImage:`url(${t.spriteUrl})`,backgroundSize:`${100*this.sheetColumns}% ${100*this.sheetRows}%`,backgroundPosition:this.emojiService.getSpritePosition(t.sheet,this.sheetColumns)}:{...this.style,backgroundImage:`url(${t.imageUrl})`,backgroundSize:"contain"};else if(t.hidden.length&&t.hidden.includes(this.set)){if(!this.fallback)return this.isVisible=!1;this.style={fontSize:`${this.size}px`},this.unified=this.fallback(t,this)}else this.style=this.emojiService.emojiSpriteStyles(t.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(t){const n=this.getSanitizedData();this.emojiClick.emit({emoji:n,$event:t})}handleOver(t){const n=this.getSanitizedData();this.emojiOver.emit({emoji:n,$event:t})}handleLeave(t){const n=this.getSanitizedData();this.emojiLeave.emit({emoji:n,$event:t})}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(Gy))},r.\u0275cmp=e.Xpm({type:r,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:[e.TTD],ngContentSelectors:SD,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(t,n){1&t&&(e.F$t(SD),e.YNc(0,mT,4,8,"button",0),e.YNc(1,pT,4,8,"span",1)),2&t&&(e.Q6J("ngIf",n.useButton&&n.isVisible),e.xp6(1),e.Q6J("ngIf",!n.useButton&&n.isVisible))},dependencies:[F.O5,F.PC],encapsulation:2,changeDetection:0}),r})(),yT=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[F.ez]}),r})();function vT(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"span",3),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw().index,v=e.oxw();return e.KtG(v.handleClick(a,l))}),e.TgZ(1,"div"),e.O4$(),e.TgZ(2,"svg",4),e._UZ(3,"path"),e.qZA()(),e.kcU(),e._UZ(4,"span",5),e.qZA()}if(2&r){const t=e.oxw().$implicit,n=e.oxw();e.Udp("color",t.name===n.selected?n.color:null),e.ekj("emoji-mart-anchor-selected",t.name===n.selected),e.uIk("title",n.i18n.categories[t.id]),e.xp6(3),e.uIk("d",n.icons[t.id]),e.xp6(1),e.Udp("background-color",n.color)}}function wT(r,i){1&r&&e.YNc(0,vT,5,8,"span",2),2&r&&e.Q6J("ngIf",!1!==i.$implicit.anchor)}const xT=["container"],FT=["label"];function CT(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"ngx-emoji",9),e.NdJ("emojiOver",function(a){e.CHM(t);const l=e.oxw(3);return e.KtG(l.emojiOver.emit(a))})("emojiLeave",function(a){e.CHM(t);const l=e.oxw(3);return e.KtG(l.emojiLeave.emit(a))})("emojiClick",function(a){e.CHM(t);const l=e.oxw(3);return e.KtG(l.emojiClick.emit(a))}),e.qZA()}if(2&r){const t=i.$implicit,n=e.oxw(3);e.Q6J("emoji",t)("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 kT(r,i){if(1&r&&(e.TgZ(0,"div"),e.YNc(1,CT,1,12,"ngx-emoji",8),e.qZA()),2&r){const t=i.ngIf,n=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t)("ngForTrackBy",n.trackById)}}function DT(r,i){if(1&r&&(e.TgZ(0,"div"),e.YNc(1,kT,2,2,"div",6),e.ALo(2,"async"),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",e.lcZ(2,1,t.filteredEmojis$))}}function MT(r,i){if(1&r&&(e.TgZ(0,"div")(1,"div"),e._UZ(2,"ngx-emoji",10),e.qZA(),e.TgZ(3,"div",11),e._uU(4),e.qZA()()),2&r){const t=e.oxw();e.xp6(2),e.Q6J("emoji",t.notFoundEmoji)("size",38)("skin",t.emojiSkin)("isNative",t.emojiIsNative)("set",t.emojiSet)("sheetSize",t.emojiSheetSize)("forceSize",t.emojiForceSize)("tooltip",t.emojiTooltip)("backgroundImageFn",t.emojiBackgroundImageFn)("useButton",t.emojiUseButton),e.xp6(2),e.hij(" ",t.i18n.notfound," ")}}function ET(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"ngx-emoji",9),e.NdJ("emojiOver",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.emojiOver.emit(a))})("emojiLeave",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.emojiLeave.emit(a))})("emojiClick",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.emojiClick.emit(a))}),e.qZA()}if(2&r){const t=i.$implicit,n=e.oxw(2);e.Q6J("emoji",t)("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 TT(r,i){if(1&r&&e.YNc(0,ET,1,12,"ngx-emoji",8),2&r){const t=e.oxw();e.Q6J("ngForOf",t.emojisToDisplay)("ngForTrackBy",t.trackById)}}function AT(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"span",2)(1,"span",3),e.NdJ("click",function(){const l=e.CHM(t).$implicit,v=e.oxw();return e.KtG(v.handleClick(l))})("keyup.enter",function(){const l=e.CHM(t).$implicit,v=e.oxw();return e.KtG(v.handleClick(l))})("keyup.space",function(){const l=e.CHM(t).$implicit,v=e.oxw();return e.KtG(v.handleClick(l))}),e.qZA()()}if(2&r){const t=i.$implicit,n=e.oxw();e.ekj("selected",t===n.skin),e.xp6(1),e.Gre("emoji-mart-skin emoji-mart-skin-tone-",t,""),e.Q6J("tabIndex",n.tabIndex(t)),e.uIk("aria-hidden",!n.isVisible(t))("aria-pressed",n.pressed(t))("aria-haspopup",!!n.isSelected(t))("aria-expanded",n.expanded(t))("aria-label",n.i18n.skintones[t])("title",n.i18n.skintones[t])}}function ST(r,i){if(1&r&&(e.TgZ(0,"span",11),e._uU(1),e.qZA()),2&r){const t=i.$implicit;e.xp6(1),e.hij(" :",t,": ")}}function IT(r,i){if(1&r&&(e.TgZ(0,"span",15),e._uU(1),e.qZA()),2&r){const t=i.$implicit;e.xp6(1),e.hij(" ",t," ")}}function OT(r,i){if(1&r&&(e.TgZ(0,"div",8)(1,"div",2),e._UZ(2,"ngx-emoji",9),e.qZA(),e.TgZ(3,"div",4)(4,"div",10),e._uU(5),e.qZA(),e.TgZ(6,"div",11),e.YNc(7,ST,2,1,"span",12),e.qZA(),e.TgZ(8,"div",13),e.YNc(9,IT,2,1,"span",14),e.qZA()()()),2&r){const t=e.oxw();e.xp6(2),e.Q6J("emoji",t.emoji)("size",38)("isNative",t.emojiIsNative)("skin",t.emojiSkin)("size",t.emojiSize)("set",t.emojiSet)("sheetSize",t.emojiSheetSize)("backgroundImageFn",t.emojiBackgroundImageFn)("imageUrlFn",t.emojiImageUrlFn),e.xp6(3),e.Oqu(t.emojiData.name),e.xp6(2),e.Q6J("ngForOf",t.emojiData.shortNames),e.xp6(2),e.Q6J("ngForOf",t.listedEmoticons)}}function NT(r,i){if(1&r&&e._UZ(0,"ngx-emoji",16),2&r){const t=e.oxw();e.Q6J("isNative",t.emojiIsNative)("skin",t.emojiSkin)("set",t.emojiSet)("emoji",t.idleEmoji)("backgroundImageFn",t.emojiBackgroundImageFn)("size",38)("imageUrlFn",t.emojiImageUrlFn)}}const LT=["inputRef"],RT=["scrollRef"];function PT(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"emoji-search",8),e.NdJ("searchResults",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.handleSearch(a))})("enterKey",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.handleEnterKey(a))}),e.qZA()}if(2&r){const t=e.oxw();e.Q6J("i18n",t.i18n)("include",t.include)("exclude",t.exclude)("custom",t.custom)("autoFocus",t.autoFocus)("icons",t.searchIcons)("emojisToShowFilter",t.emojisToShowFilter)}}function BT(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"emoji-category",9),e.NdJ("emojiOver",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.handleEmojiOver(a))})("emojiLeave",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.handleEmojiLeave())})("emojiClick",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.handleEmojiClick(a))}),e.qZA()}if(2&r){const t=i.$implicit,n=e.oxw();e.Q6J("id",t.id)("name",t.name)("emojis",t.emojis)("perLine",n.perLine)("totalFrequentLines",n.totalFrequentLines)("hasStickyPosition",n.isNative)("i18n",n.i18n)("hideObsolete",n.hideObsolete)("notFoundEmoji",n.notFoundEmoji)("custom",t.id===n.RECENT_CATEGORY.id?n.CUSTOM_CATEGORY.emojis:void 0)("recent",t.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 YT(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",1)(1,"emoji-preview",10),e.NdJ("skinChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.handleSkinChange(a))}),e.qZA()()}if(2&r){const t=e.oxw();e.xp6(1),e.Q6J("emoji",t.previewEmoji)("idleEmoji",t.emoji)("emojiIsNative",t.isNative)("emojiSize",38)("emojiSkin",t.skin)("emojiSet",t.set)("i18n",t.i18n)("emojiSheetSize",t.sheetSize)("emojiBackgroundImageFn",t.backgroundImageFn)("emojiImageUrlFn",t.imageUrlFn),e.uIk("title",t.title)}}let HT=(()=>{class r{constructor(){this.categories=[],this.icons={},this.anchorClick=new e.vpe}trackByFn(t,n){return n.id}handleClick(t,n){this.anchorClick.emit({category:this.categories[n],index:n})}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275cmp=e.Xpm({type:r,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(t,n){1&t&&(e.TgZ(0,"div",0),e.YNc(1,wT,1,1,"ng-template",1),e.qZA()),2&t&&(e.xp6(1),e.Q6J("ngForOf",n.categories)("ngForTrackBy",n.trackByFn))},dependencies:[F.sg,F.O5],encapsulation:2,changeDetection:0}),r})(),LD=(()=>{class r{constructor(t){this.platformId=t,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((0,F.NF)(this.platformId)&&localStorage.getItem(`${this.NAMESPACE}.frequently`)||"null"),this.initialized=!0}add(t){this.initialized||this.init(),this.frequently||(this.frequently=this.defaults),this.frequently[t.id]||(this.frequently[t.id]=0),this.frequently[t.id]+=1,(0,F.NF)(this.platformId)&&(localStorage.setItem(`${this.NAMESPACE}.last`,t.id),localStorage.setItem(`${this.NAMESPACE}.frequently`,JSON.stringify(this.frequently)))}get(t,n){if(this.initialized||this.init(),null===this.frequently){this.defaults={};const G=[];for(let ye=0;yethis.frequently[G]-this.frequently[ye]).reverse().slice(0,a),W=(0,F.NF)(this.platformId)&&localStorage.getItem(`${this.NAMESPACE}.last`);return W&&!I.includes(W)&&(I.pop(),I.push(W)),I}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(e.Lbi))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),RD=(()=>{class r{constructor(t,n,a){this.ref=t,this.emojiService=n,this.frequently=a,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 e.vpe,this.emojiLeave=new e.vpe,this.emojiClick=new e.vpe,this.containerStyles={},this.emojisToDisplay=[],this.filteredEmojisSubject=new D.x,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(t){t.emojis?.currentValue?.length!==t.emojis?.previousValue?.length&&(this.emojisToDisplay=this.filterEmojis(),this.ngAfterViewInit())}ngAfterViewInit(){if(!this.virtualize)return;const{width:t}=this.container.nativeElement.getBoundingClientRect(),n=Math.floor(t/(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 t=this.container.nativeElement.parentNode.parentNode,{top:n,height:a}=this.container.nativeElement.getBoundingClientRect(),l=t.getBoundingClientRect().top,v=this.label.nativeElement.getBoundingClientRect().height;this.top=n-l+t.scrollTop,this.maxMargin=0===a?0:a-v}handleScroll(t){let n=t-this.top;if(n=nthis.maxMargin?this.maxMargin:n,this.virtualize){const{top:a,height:l}=this.container.nativeElement.getBoundingClientRect(),v=this.container.nativeElement.parentNode.parentNode.clientHeight;this.filteredEmojisSubject.next(v+(v+this.virtualizeOffset)>=a&&-l-(v+this.virtualizeOffset)<=a?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 t=this.recent||this.frequently.get(this.perLine,this.totalFrequentLines);(!t||!t.length)&&(t=this.frequently.get(this.perLine,this.totalFrequentLines)),t.length&&(this.emojis=t.map(n=>this.custom.filter(l=>l.id===n)[0]||n).filter(n=>!!this.emojiService.getData(n)))}updateDisplay(t){this.containerStyles.display=t,this.updateRecentEmojis(),this.ref.detectChanges()}trackById(t,n){return n}filterEmojis(){const t=[];for(const n of this.emojis||[]){if(!n)continue;const a=this.emojiService.getData(n);!a||a.obsoletedBy&&this.hideObsolete||!a.unified&&!a.custom||t.push(n)}return t}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.sBO),e.Y36(Gy),e.Y36(LD))},r.\u0275cmp=e.Xpm({type:r,selectors:[["emoji-category"]],viewQuery:function(t,n){if(1&t&&(e.Gf(xT,7),e.Gf(FT,7)),2&t){let a;e.iGM(a=e.CRH())&&(n.container=a.first),e.iGM(a=e.CRH())&&(n.label=a.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:[e.TTD],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(t,n){if(1&t&&(e.TgZ(0,"section",0,1)(2,"div",2)(3,"span",3,4),e._uU(5),e.qZA()(),e.YNc(6,DT,3,3,"div",5),e.YNc(7,MT,5,11,"div",6),e.qZA(),e.YNc(8,TT,1,2,"ng-template",null,7,e.W1O)),2&t){const a=e.MAs(9);e.ekj("emoji-mart-no-results",n.noEmojiToDisplay),e.Q6J("ngStyle",n.containerStyles),e.uIk("aria-label",n.i18n.categories[n.id]),e.xp6(2),e.Q6J("ngStyle",n.labelStyles),e.uIk("data-name",n.name),e.xp6(1),e.Q6J("ngStyle",n.labelSpanStyles),e.xp6(2),e.hij(" ",n.i18n.categories[n.id]," "),e.xp6(1),e.Q6J("ngIf",n.virtualize)("ngIfElse",a),e.xp6(1),e.Q6J("ngIf",n.noEmojiToDisplay)}},dependencies:[F.sg,F.O5,F.PC,ND,F.Ov],encapsulation:2,changeDetection:0}),r})();function PD(r){return r.reduce((i,t)=>(i.includes(t)||i.push(t),i),[])}function UT(r,i){const t=PD(r),n=PD(i);return t.filter(a=>n.indexOf(a)>=0)}let VT=(()=>{class r{constructor(t){this.emojiService=t,this.originalPool={},this.index={},this.emojisList={},this.emoticonsList={},this.emojiSearch={};for(const n of this.emojiService.emojis){const{shortNames:a,emoticons:l}=n,v=a[0];for(const I of l)this.emoticonsList[I]||(this.emoticonsList[I]=v);this.emojisList[v]=this.emojiService.getSanitizedData(v),this.originalPool[v]=n}}addCustomToPool(t,n){for(const a of t){const l=a.id||a.shortNames[0];l&&!n[l]&&(n[l]=this.emojiService.getData(a),this.emojisList[l]=this.emojiService.getSanitizedData(a))}}search(t,n,a=75,l=[],v=[],I=[]){this.addCustomToPool(I,this.originalPool);let W,G=this.originalPool;if(t.length){if("-"===t||"-1"===t)return[this.emojisList[-1]];if("+"===t||"+1"===t)return[this.emojisList["+1"]];let ye=t.toLowerCase().split(/[\s|,|\-|_]+/),Ge=[];if(ye.length>2&&(ye=[ye[0],ye[1]]),l.length||v.length){G={};for(const yt of ID||[]){const It=!l||!l.length||l.indexOf(yt.id)>-1,Yt=!(!v||!v.length)&&v.indexOf(yt.id)>-1;if(It&&!Yt)for(const Gt of yt.emojis||[]){const oi=this.emojiService.getData(Gt);G[oi?.id??""]=oi}}if(I.length){const yt=!l||!l.length||l.indexOf("custom")>-1,It=!(!v||!v.length)&&v.indexOf("custom")>-1;yt&&!It&&this.addCustomToPool(I,G)}}Ge=ye.map(yt=>{let It=G,Yt=this.index,Gt=0;for(let oi=0;oiJi[Ci.id]-Ji[Wi.id])}It=Yt.pool}return Yt.results}).filter(yt=>yt),W=Ge.length>1?UT.apply(null,Ge):Ge.length?Ge[0]:[]}return W&&(n&&(W=W.filter(ye=>!(!ye||!ye.id)&&n(this.emojiService.names[ye.id]))),W&&W.length>a&&(W=W.slice(0,a))),W||null}buildSearch(t,n,a,l,v){const I=[],W=(G,ye)=>{if(!G)return;const Ge=Array.isArray(G)?G:[G];for(const yt of Ge){const It=ye?yt.split(/[-|_|\s]+/):[yt];for(let Yt of It)Yt=Yt.toLowerCase(),I.includes(Yt)||I.push(Yt)}};return W(t,!0),W(n,!0),W(a,!0),W(l,!0),W(v,!1),I.join(",")}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(Gy))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),ZT=(()=>{class r{constructor(){this.changeSkin=new e.vpe,this.opened=!1,this.skinTones=[1,2,3,4,5,6]}toggleOpen(){this.opened=!this.opened}isSelected(t){return t===this.skin}isVisible(t){return this.opened||this.isSelected(t)}pressed(t){return this.opened?!!this.isSelected(t):""}tabIndex(t){return this.isVisible(t)?"0":""}expanded(t){return this.isSelected(t)?this.opened:""}handleClick(t){this.opened?(this.opened=!1,t!==this.skin&&this.changeSkin.emit(t)):this.opened=!0}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275cmp=e.Xpm({type:r,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(t,n){1&t&&(e.TgZ(0,"section",0),e.YNc(1,AT,2,12,"span",1),e.qZA()),2&t&&(e.ekj("opened",n.opened),e.xp6(1),e.Q6J("ngForOf",n.skinTones))},dependencies:[F.sg],encapsulation:2,changeDetection:0}),r})(),BD=(()=>{class r{constructor(t,n){this.ref=t,this.emojiService=n,this.skinChange=new e.vpe,this.emojiData={}}ngOnChanges(){if(!this.emoji)return;this.emojiData=this.emojiService.getData(this.emoji,this.emojiSkin,this.emojiSet);const t=[],n=[];(this.emojiData.emoticons||[]).forEach(l=>{t.indexOf(l.toLowerCase())>=0||(t.push(l.toLowerCase()),n.push(l))}),this.listedEmoticons=n,this.ref?.detectChanges()}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.sBO),e.Y36(Gy))},r.\u0275cmp=e.Xpm({type:r,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:[e.TTD],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(t,n){1&t&&(e.YNc(0,OT,10,12,"div",0),e.TgZ(1,"div",1)(2,"div",2),e.YNc(3,NT,1,7,"ngx-emoji",3),e.qZA(),e.TgZ(4,"div",4)(5,"span",5),e._uU(6),e.qZA()(),e.TgZ(7,"div",6)(8,"emoji-skins",7),e.NdJ("changeSkin",function(l){return n.skinChange.emit(l)}),e.qZA()()()),2&t&&(e.Q6J("ngIf",n.emoji&&n.emojiData),e.xp6(1),e.Q6J("hidden",n.emoji),e.xp6(2),e.Q6J("ngIf",n.idleEmoji&&n.idleEmoji.length),e.xp6(3),e.Oqu(n.title),e.xp6(2),e.Q6J("skin",n.emojiSkin)("i18n",n.i18n))},dependencies:[F.sg,F.O5,ND,ZT],encapsulation:2,changeDetection:0}),r})(),zT=0,YD=(()=>{class r{constructor(t){this.emojiSearch=t,this.maxResults=75,this.autoFocus=!1,this.include=[],this.exclude=[],this.custom=[],this.searchResults=new e.vpe,this.enterKey=new e.vpe,this.isSearching=!1,this.query="",this.inputId="emoji-mart-search-"+ ++zT}ngOnInit(){this.icon=this.icons.search}ngAfterViewInit(){this.autoFocus&&this.inputRef.nativeElement.focus()}clear(){this.query="",this.handleSearch(""),this.inputRef.nativeElement.focus()}handleEnterKey(t){this.query&&(this.enterKey.emit(t),t.preventDefault())}handleSearch(t){""===t?(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 r.\u0275fac=function(t){return new(t||r)(e.Y36(VT))},r.\u0275cmp=e.Xpm({type:r,selectors:[["emoji-search"]],viewQuery:function(t,n){if(1&t&&e.Gf(LT,7),2&t){let a;e.iGM(a=e.CRH())&&(n.inputRef=a.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(t,n){1&t&&(e.TgZ(0,"div",0)(1,"input",1,2),e.NdJ("keyup.enter",function(l){return n.handleEnterKey(l)})("ngModelChange",function(l){return n.query=l})("ngModelChange",function(){return n.handleChange()}),e.qZA(),e.TgZ(3,"label",3),e._uU(4),e.qZA(),e.TgZ(5,"button",4),e.NdJ("click",function(){return n.clear()})("keyup.enter",function(){return n.clear()}),e.O4$(),e.TgZ(6,"svg",5),e._UZ(7,"path"),e.qZA()()()),2&t&&(e.xp6(1),e.Q6J("id",n.inputId)("placeholder",n.i18n.search)("autofocus",n.autoFocus)("ngModel",n.query),e.xp6(2),e.Q6J("htmlFor",n.inputId),e.xp6(1),e.hij(" ",n.i18n.search," "),e.xp6(1),e.Q6J("disabled",!n.isSearching),e.uIk("aria-label",n.i18n.clear),e.xp6(2),e.uIk("d",n.icon))},dependencies:[_a,ua,Ma],encapsulation:2}),r})();const HD={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"},UD={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"},jD={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 QF=(()=>{class r{constructor(t,n,a,l,v){this.ngZone=t,this.renderer=n,this.ref=a,this.frequently=l,this.platformId=v,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=HD,this.searchIcons=UD,this.useButton=!1,this.enableFrequentEmojiSort=!1,this.enableSearch=!0,this.showSingleCategory=!1,this.virtualize=!1,this.virtualizeOffset=0,this.emojiClick=new e.vpe,this.emojiSelect=new e.vpe,this.skinChange=new e.vpe,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=(I,W)=>`https://unpkg.com/emoji-datasource-${this.set}@6.0.1/img/${this.set}/sheets-256/${this.sheetSize}.png`}ngOnInit(){this.measureScrollbar=function jT(){if(typeof document>"u")return 0;const r=document.createElement("div");r.style.width="100px",r.style.height="100px",r.style.overflow="scroll",r.style.position="absolute",r.style.top="-9999px",document.body.appendChild(r);const i=r.offsetWidth-r.clientWidth;return document.body.removeChild(r),i}(),this.i18n={...jD,...this.i18n},this.i18n.categories={...jD.categories,...this.i18n.categories},this.skin=JSON.parse((0,F.NF)(this.platformId)&&localStorage.getItem(`${this.NAMESPACE}.skin`)||"null")||this.skin;const t=[...ID];this.custom.length>0&&(this.CUSTOM_CATEGORY.emojis=this.custom.map(I=>({...I,id:I.shortNames[0],custom:!0})),t.push(this.CUSTOM_CATEGORY)),void 0!==this.include&&t.sort((I,W)=>this.include.indexOf(I.id)>this.include.indexOf(W.id)?1:-1);for(const I of t){const W=!this.include||!this.include.length||this.include.indexOf(I.id)>-1,G=!(!this.exclude||!this.exclude.length)&&this.exclude.indexOf(I.id)>-1;if(W&&!G){if(this.emojisToShowFilter){const ye=[],{emojis:Ge}=I;for(let yt=0;yt-1,a=!(!this.exclude||!this.exclude.length)&&this.exclude.indexOf(this.RECENT_CATEGORY.id)>-1;n&&!a&&(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(I=>I.first)[0].name;const l=Math.min(this.categories.length,3);this.setActiveCategories(this.activeCategories=this.categories.slice(0,l));const v=this.categories[l-1].emojis.slice();this.categories[l-1].emojis=v.slice(0,60),setTimeout(()=>{this.categories[l-1].emojis=v,this.setActiveCategories(this.categories),this.ref.detectChanges(),(0,F.NF)(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(t){this.activeCategories=this.showSingleCategory?t.filter(n=>n.name===this.selected||n===this.SEARCH_CATEGORY):t}updateCategoriesSize(){if(this.categoryRefs.forEach(t=>t.memoizeSize()),this.scrollRef){const t=this.scrollRef.nativeElement;this.scrollHeight=t.scrollHeight,this.clientHeight=t.clientHeight,this.clientWidth=t.clientWidth}}handleAnchorClick(t){if(this.updateCategoriesSize(),this.selected=t.category.name,this.setActiveCategories(this.categories),this.SEARCH_CATEGORY.emojis)return this.handleSearch(null),this.searchRef?.clear(),void this.handleAnchorClick(t);const n=this.categoryRefs.find(a=>a.id===t.category.id);if(n){let{top:a}=n;t.category.first?a=0:a+=1,this.scrollRef.nativeElement.scrollTop=a}this.nextScroll=t.category.name;for(const a of this.categories)this.categoryRefs.find(({id:v})=>v===a.id)?.handleScroll(this.scrollRef.nativeElement.scrollTop)}categoryTrack(t,n){return n.id}handleScroll(t=!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 a=this.scrollRef.nativeElement;if(0===a.scrollTop)n=this.categories.find(l=>!0===l.first);else if(a.scrollHeight-a.scrollTop===this.clientHeight)n=this.categories[this.categories.length-1];else for(const l of this.categories)this.categoryRefs.find(({id:W})=>W===l.id)?.handleScroll(a.scrollTop)&&(n=l);this.scrollTop=a.scrollTop}!t&&n&&n.name!==this.selected?(this.selected=n.name,this.ref.detectChanges()):t&&this.ref.detectChanges()}handleSearch(t){this.SEARCH_CATEGORY.emojis=t;for(const n of this.categoryRefs.toArray())"Search"===n.name?(n.emojis=t,n.updateDisplay(t?"block":"none")):n.updateDisplay(t?"none":"block");this.scrollRef.nativeElement.scrollTop=0,this.handleScroll()}handleEnterKey(t,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:t,emoji:n})}!this.hideRecent&&!this.recent&&n&&this.frequently.add(n);const a=this.categoryRefs.toArray()[1];a&&this.enableFrequentEmojiSort&&(a.updateRecentEmojis(),a.ref.markForCheck())}handleEmojiOver(t){if(!this.showPreview||!this.previewRef)return;const n=this.CUSTOM_CATEGORY.emojis.find(a=>a.id===t.emoji.id);n&&(t.emoji={...n}),this.previewEmoji=t.emoji,this.cancelAnimationFrame(),this.ref?.detectChanges()}handleEmojiLeave(){!this.showPreview||!this.previewRef||this.ngZone.runOutsideAngular(()=>{this.animationFrameRequestId=requestAnimationFrame(()=>{this.previewEmoji=null,this.ref.detectChanges()})})}handleEmojiClick(t){this.emojiClick.emit(t),this.emojiSelect.emit(t),this.handleEnterKey(t.$event,t.emoji)}handleSkinChange(t){this.skin=t,localStorage.setItem(`${this.NAMESPACE}.skin`,String(t)),this.skinChange.emit(t)}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 r.\u0275fac=function(t){return new(t||r)(e.Y36(e.R0b),e.Y36(e.Qsj),e.Y36(e.sBO),e.Y36(LD),e.Y36(e.Lbi))},r.\u0275cmp=e.Xpm({type:r,selectors:[["emoji-mart"]],viewQuery:function(t,n){if(1&t&&(e.Gf(RT,7),e.Gf(BD,5),e.Gf(YD,5),e.Gf(RD,5)),2&t){let a;e.iGM(a=e.CRH())&&(n.scrollRef=a.first),e.iGM(a=e.CRH())&&(n.previewRef=a.first),e.iGM(a=e.CRH())&&(n.searchRef=a.first),e.iGM(a=e.CRH())&&(n.categoryRefs=a)}},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(t,n){1&t&&(e.TgZ(0,"section",0)(1,"div",1)(2,"emoji-mart-anchors",2),e.NdJ("anchorClick",function(l){return n.handleAnchorClick(l)}),e.qZA()(),e.YNc(3,PT,1,7,"emoji-search",3),e.TgZ(4,"section",4,5),e.YNc(6,BT,1,23,"emoji-category",6),e.qZA(),e.YNc(7,YT,2,11,"div",7),e.qZA()),2&t&&(e.Gre("emoji-mart ",n.darkMode?"emoji-mart-dark":"",""),e.Udp("width",n.getWidth()),e.Q6J("ngStyle",n.style),e.xp6(2),e.Q6J("categories",n.categories)("color",n.color)("selected",n.selected)("i18n",n.i18n)("icons",n.categoriesIcons),e.xp6(1),e.Q6J("ngIf",n.enableSearch),e.xp6(1),e.uIk("aria-label",n.i18n.emojilist),e.xp6(2),e.Q6J("ngForOf",n.activeCategories)("ngForTrackBy",n.categoryTrack),e.xp6(1),e.Q6J("ngIf",n.showPreview))},dependencies:[F.sg,F.O5,F.PC,HT,RD,YD,BD],encapsulation:2,changeDetection:0}),r})(),GT=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[F.ez,Fm,yT]}),r})(),VD=(()=>{class r{constructor(){this.hideText=!1,this.loading=!1,this.textHidden=!1}set mtBasicSpinner(t){this.loading=t,this.hideText&&(this.textHidden=t)}get disabled(){return this.mtBasicSpinner}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["","mtBasicSpinner",""]],hostVars:5,hostBindings:function(t,n){2&t&&(e.Ikx("disabled",n.disabled),e.ekj("mat-spinner",n.loading)("hide-btn-text",n.textHidden))},inputs:{hideText:"hideText",mtBasicSpinner:"mtBasicSpinner"}}),r})(),WT=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})();const qT=["replyInput"];function QT(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-icon",8),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.openDialog())}),e._uU(1,"offline_bolt"),e.qZA()}}function JT(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"emoji-mart",9),e.NdJ("emojiSelect",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.addEmoji(a))}),e.qZA()}2&r&&e.Q6J("isNative",!0)("showPreview",!0)}function KT(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-icon",3),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.isEmojiPickerVisible=!a.isEmojiPickerVisible)}),e._uU(1,"favorite_border"),e.qZA(),e.TgZ(2,"mat-icon",4),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.openReply())}),e._uU(3,"chat_bubble_outline"),e.qZA(),e.YNc(4,QT,2,0,"mat-icon",5),e.YNc(5,JT,1,2,"emoji-mart",6),e.TgZ(6,"mat-icon",7),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.saveNote())}),e._uU(7,"bookmark_border"),e.qZA()}if(2&r){const t=e.oxw();e.xp6(4),e.Q6J("ngIf",t.optionsService.values.enableZapping),e.xp6(1),e.Q6J("ngIf",t.isEmojiPickerVisible)}}function $T(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"emoji-mart",22),e.NdJ("emojiSelect",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.addEmojiInText(a))}),e.qZA()}2&r&&e.Q6J("isNative",!0)("showPreview",!1)}function XT(r,i){if(1&r&&(e.TgZ(0,"small",23),e._uU(1),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Oqu(t.error)}}function eA(r,i){1&r&&e._UZ(0,"button",24),2&r&&e.Q6J("mtBasicSpinner",!0)}function tA(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",25),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.addReply())}),e._uU(1,"Reply"),e.qZA()}if(2&r){const t=e.oxw(2);e.Q6J("disabled",0==(null==t.note?null:t.note.length))}}function iA(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",10)(1,"mat-form-field",11)(2,"mat-label"),e._uU(3,"Note"),e.qZA(),e.TgZ(4,"textarea",12,13),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.note=a)}),e.qZA()(),e.TgZ(6,"div",14)(7,"mat-icon",15),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.isEmojiPickerTextVisible=!a.isEmojiPickerTextVisible)}),e._uU(8,"sentiment_satisfied"),e.qZA(),e.YNc(9,$T,1,2,"emoji-mart",16),e._UZ(10,"div",17),e.YNc(11,XT,2,1,"small",18),e.TgZ(12,"button",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.hideReply())}),e._uU(13,"Cancel"),e.qZA(),e.YNc(14,eA,1,1,"button",20),e.YNc(15,tA,2,1,"button",21),e.qZA()()}if(2&r){const t=e.oxw();e.xp6(4),e.Q6J("tabIndex",0)("ngModel",t.note),e.xp6(5),e.Q6J("ngIf",t.isEmojiPickerTextVisible),e.xp6(2),e.Q6J("ngIf",t.error),e.xp6(3),e.Q6J("ngIf",t.publishing),e.xp6(1),e.Q6J("ngIf",!t.publishing)}}const nA=function(r,i){return{"no-lines":r,lines:i}};class yu{onKeydownHandler(i){this.hideReply()}constructor(i,t,n,a,l,v,I){this.eventService=i,this.notesService=t,this.dataService=n,this.optionsService=a,this.profileService=l,this.utilities=v,this.dialog=I,this.replyOpen=!1,this.publishing=!1,this.error=""}ngAfterViewInit(){var i=this;return(0,ve.Z)(function*(){let t=i.event?.pubkey?i.event?.pubkey:"";i.profile=yield i.profileService.getProfile(t)})()}saveNote(){var i=this;return(0,ve.Z)(function*(){if(!i.event)return;const t=i.event;t.saved=Math.floor(Date.now()/1e3),yield i.notesService.putNote(t)})()}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(i){var t=this;return(0,ve.Z)(function*(){t.isEmojiPickerTextVisible=!1,t.note=`${t.note}${i.emoji.native}`})()}addEmoji(i){var t=this;return(0,ve.Z)(function*(){t.isEmojiPickerVisible=!1;let n=t.dataService.createEvent(Hi.Reaction,i.emoji.native);if(!t.event)return void console.warn("Event is empty on reaction.");n.tags=Object.assign([],t.event.tags),n.tags.push(["p",t.event.pubkey]),n.tags.push(["e",t.event.id]);const a=yield t.dataService.signEvent(n);console.log(a),yield t.dataService.publishEvent(a),t.event.tags=n.tags})()}addReply(){var i=this;return(0,ve.Z)(function*(){i.publishing=!0;let t=i.dataService.createEvent(Hi.Text,i.note);if(i.event){t.tags=Object.assign([],i.eventService.getPublicKeyAndEventTags(i.event.tags)),t.tags.push(["p",i.event.pubkey]),t.tags.push(["e",i.event.id]);try{const n=yield i.dataService.signEvent(t);console.log(n),yield i.dataService.publishEvent(n),i.hideReply()}catch(n){i.error=n.toString(),console.log(n),i.publishing=!1}}else console.warn("Event is empty on reply.")})()}openDialog(){var i=this;return(0,ve.Z)(function*(){i.dialog.open(cs,{width:"400px",data:{profile:i.profile,event:i.event}})})()}}function rA(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"span",1),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggle())}),e._uU(1),e.ALo(2,"ago"),e.qZA()}if(2&r){const t=e.oxw();e.xp6(1),e.Oqu(e.lcZ(2,1,t.date))}}function aA(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"span",1),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggle())}),e._uU(1),e.ALo(2,"date"),e.qZA()}if(2&r){const t=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,1e3*t.date,"yyyy-MM-dd HH:mm:ss"))}}yu.\u0275fac=function(i){return new(i||yu)(e.Y36(Ar),e.Y36(Bs),e.Y36(Wr),e.Y36(Rr.I),e.Y36(Bn),e.Y36(Pi.dU),e.Y36(vi))},yu.\u0275cmp=e.Xpm({type:yu,selectors:[["app-event-buttons"]],viewQuery:function(i,t){if(1&i&&e.Gf(qT,5),2&i){let n;e.iGM(n=e.CRH())&&(t.replyInput=n.first)}},hostBindings:function(i,t){1&i&&e.NdJ("keydown.escape",function(a){return t.onKeydownHandler(a)},!1,e.evT)},inputs:{event:"event"},decls:3,vars:6,consts:[[1,"thread-buttons",3,"ngClass"],[3,"ngIf"],["class","reply-widget",4,"ngIf"],["tabindex","0","matTooltip","Reaction to note",1,"reaction-icon","toolbar-icon",3,"click"],["tabindex","0","matTooltip","Reply to note",1,"reaction-icon","toolbar-icon",3,"click"],["tabindex","0","class","reaction-icon toolbar-icon","matTooltip","Zap the note",3,"click",4,"ngIf"],["class","picker","emoji","point_up","title","Choose your reaction",3,"isNative","showPreview","emojiSelect",4,"ngIf"],["tabindex","0","matTooltip","Save Note",1,"reaction-icon","toolbar-icon","right-side",3,"click"],["tabindex","0","matTooltip","Zap the note",1,"reaction-icon","toolbar-icon",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(i,t){1&i&&(e.TgZ(0,"div",0),e.YNc(1,KT,8,2,"ng-template",1),e.YNc(2,iA,16,6,"div",2),e.qZA()),2&i&&(e.Q6J("ngClass",e.WLB(3,nA,!t.optionsService.values.showLines,t.optionsService.values.showLines)),e.xp6(1),e.Q6J("ngIf",!t.replyOpen),e.xp6(1),e.Q6J("ngIf",t.replyOpen))},dependencies:[F.mk,F.O5,Za,Aa,Ta,Mt.lW,Mt.RK,ar,eo,QF,_a,ua,Ma,VD],styles:[".picker[_ngcontent-%COMP%]{display:block;z-index:3}.thread-buttons[_ngcontent-%COMP%]{padding-left:1em;margin-left:27px;padding-bottom:.2em;padding-top:.4em}.toolbar-icon[_ngcontent-%COMP%]{cursor:pointer}.toolbar-icon[_ngcontent-%COMP%]:hover{color:#9c27b0}.reaction-icon[_ngcontent-%COMP%]{font-size:1.4em;margin-right:.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-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:.4em}.right-side[_ngcontent-%COMP%]{float:right}"]});class _c{toggle(){this.isoDate=!this.isoDate}}_c.\u0275fac=function(i){return new(i||_c)},_c.\u0275cmp=e.Xpm({type:_c,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(i,t){1&i&&(e.YNc(0,rA,3,3,"span",0),e.YNc(1,aA,3,4,"span",0)),2&i&&(e.Q6J("ngIf",!t.isoDate),e.xp6(1),e.Q6J("ngIf",t.isoDate))},dependencies:[F.O5,F.uU,ls],styles:[".event-date[_ngcontent-%COMP%]{margin-right:.1em;cursor:pointer}"]});const ZD=function(r,i){return{"no-lines":r,lines:i}};function oA(r,i){if(1&r&&(e.TgZ(0,"div",1)(1,"span")(2,"div",2)(3,"app-event-header",3),e._UZ(4,"app-date",4)(5,"app-directory-icon",3),e.qZA(),e._UZ(6,"app-event-actions",5),e.qZA(),e._UZ(7,"app-content",6)(8,"app-event-reactions",7)(9,"app-event-buttons",7)(10,"app-event-thread",7),e.qZA()()),2&r){const t=i.$implicit,n=e.oxw();e.Q6J("ngClass",e.WLB(12,ZD,!n.optionsService.values.showLines,n.optionsService.values.showLines)),e.xp6(3),e.Q6J("pubkey",t.pubkey),e.xp6(1),e.Q6J("date",t.created_at),e.xp6(1),e.Q6J("pubkey",t.pubkey),e.xp6(1),e.Q6J("event",t)("pubkey",t.pubkey),e.xp6(1),e.Q6J("ngClass",e.WLB(15,ZD,!n.optionsService.values.showLines,n.optionsService.values.showLines))("displayRepliesTo",!0)("event",t),e.xp6(1),e.Q6J("event",t),e.xp6(1),e.Q6J("event",t),e.xp6(1),e.Q6J("event",t)}}class Ah{constructor(i,t,n){this.ui=i,this.thread=t,this.optionsService=n,this.imagePath="/assets/profile.png",this.tooltip="",this.tooltipName="",this.profileName=""}ngAfterViewInit(){}ngOnInit(){return(0,ve.Z)(function*(){})()}}Ah.\u0275fac=function(i){return new(i||Ah)(e.Y36(Gr),e.Y36(gc),e.Y36(Rr.I))},Ah.\u0275cmp=e.Xpm({type:Ah,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(i,t){1&i&&e.YNc(0,oA,11,18,"div",0),2&i&&e.Q6J("ngForOf",t.ui.children(t.event.id))},dependencies:[F.mk,F.sg,as,vo,Ps,ss,Ah,bu,yu,_c],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}@media only screen and (max-width: 1150px){.thread-event[_ngcontent-%COMP%]{margin-top:1em;margin-left:0;padding-left:4px}.thread-content[_ngcontent-%COMP%]{margin-left:27px}.events-header[_ngcontent-%COMP%]{padding-left:28px}}"]});const sA=function(r,i){return{"no-lines2":r,lines2:i}},lA=function(r,i){return{"no-lines":r,lines:i}};function cA(r,i){if(1&r&&(e.TgZ(0,"div",1)(1,"span")(2,"div",2)(3,"app-event-header",3)(4,"span",4),e._uU(5),e.ALo(6,"ago"),e.qZA(),e._UZ(7,"app-directory-icon",3),e.qZA(),e._UZ(8,"app-event-actions",5),e.qZA(),e._UZ(9,"app-content",6)(10,"app-event-reactions",7)(11,"app-event-buttons",7),e.qZA()()),2&r){const t=e.oxw();e.Q6J("ngClass",e.WLB(13,sA,!t.optionsService.values.showLines,t.optionsService.values.showLines)),e.xp6(3),e.Q6J("pubkey",t.event.pubkey),e.xp6(2),e.Oqu(e.lcZ(6,11,t.event.created_at)),e.xp6(2),e.Q6J("pubkey",t.event.pubkey),e.xp6(1),e.Q6J("event",t.event)("pubkey",t.event.pubkey),e.xp6(1),e.Q6J("ngClass",e.WLB(16,lA,!t.optionsService.values.showLines,t.optionsService.values.showLines))("displayRepliesTo",!1)("event",t.event),e.xp6(1),e.Q6J("event",t.event),e.xp6(1),e.Q6J("event",t.event)}}class bf{constructor(i,t,n){this.ui=i,this.thread=t,this.optionsService=n,this.imagePath="/assets/profile.png",this.tooltip="",this.tooltipName="",this.profileName=""}ngAfterViewInit(){}ngOnInit(){return(0,ve.Z)(function*(){})()}}function dA(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",14)(1,"button",15),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().ngIf,l=e.oxw();return e.KtG(l.open(a.rootEventId))}),e.TgZ(2,"mat-icon"),e._uU(3,"keyboard_double_arrow_up"),e.qZA(),e._uU(4,"View Thread"),e.qZA()()}}function uA(r,i){if(1&r&&(e.TgZ(0,"div",16),e._UZ(1,"app-event",13),e.qZA()),2&r){const t=i.ngIf;e.xp6(1),e.Q6J("event",t)}}function hA(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",14)(1,"button",15),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().ngIf,l=e.oxw();return e.KtG(l.open(a.parentEventId))}),e.TgZ(2,"mat-icon"),e._uU(3,"keyboard_arrow_up"),e.qZA(),e._uU(4,"View Parent"),e.qZA()()}}bf.\u0275fac=function(i){return new(i||bf)(e.Y36(Gr),e.Y36(gc),e.Y36(Rr.I))},bf.\u0275cmp=e.Xpm({type:bf,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(i,t){1&i&&e.YNc(0,cA,12,19,"div",0),2&i&&e.Q6J("ngIf",t.event)},dependencies:[F.mk,F.O5,as,vo,Ps,ss,bu,yu,ls],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 mA=function(r,i,t,n){return{"is-root":r,"has-root":i,"no-lines":t,lines:n}},fA=function(r,i){return{"no-lines":r,lines:i}};function pA(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",1)(1,"div",2)(2,"mat-accordion",3)(3,"mat-expansion-panel")(4,"mat-expansion-panel-header")(5,"mat-panel-title"),e._uU(6,"Options"),e.qZA(),e._UZ(7,"mat-panel-description"),e.qZA(),e.TgZ(8,"p")(9,"mat-slide-toggle",4),e.NdJ("change",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.optionsService.save())})("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.optionsService.values.showLines=a)}),e._uU(10,"Show lines"),e.qZA()()()()(),e.YNc(11,dA,5,0,"mat-card",5),e.YNc(12,uA,2,1,"div",6),e.ALo(13,"async"),e.TgZ(14,"div",7),e.YNc(15,hA,5,0,"mat-card",5),e.TgZ(16,"div",8)(17,"app-event-header",9),e._UZ(18,"app-date",10)(19,"app-directory-icon",9),e.qZA(),e._UZ(20,"app-event-actions",11),e.qZA(),e._UZ(21,"app-content",12)(22,"app-event-reactions",13)(23,"app-event-buttons",13)(24,"app-event-thread",13),e.qZA()()}if(2&r){const t=i.ngIf,n=e.oxw();e.xp6(9),e.Q6J("ngModel",n.optionsService.values.showLines),e.xp6(2),e.Q6J("ngIf",t.rootEventId),e.xp6(1),e.Q6J("ngIf",e.lcZ(13,15,n.ui.parentEvent$)),e.xp6(2),e.Q6J("ngClass",e.l5B(17,mA,!t.parentEventId,t.parentEventId,!n.optionsService.values.showLines,n.optionsService.values.showLines)),e.xp6(1),e.Q6J("ngIf",t.parentEventId),e.xp6(2),e.Q6J("pubkey",t.pubkey),e.xp6(1),e.Q6J("date",t.created_at),e.xp6(1),e.Q6J("pubkey",t.pubkey),e.xp6(1),e.Q6J("event",t)("pubkey",t.pubkey),e.xp6(1),e.Q6J("ngClass",e.WLB(22,fA,!n.optionsService.values.showLines,n.optionsService.values.showLines))("event",t),e.xp6(1),e.Q6J("event",t),e.xp6(1),e.Q6J("event",t),e.xp6(1),e.Q6J("event",t)}}class yf{constructor(i,t,n,a,l,v,I,W,G,ye,Ge){this.appState=i,this.activatedRoute=t,this.cd=n,this.optionsService=a,this.navigation=l,this.profiles=v,this.thread=I,this.validator=W,this.utilities=G,this.router=ye,this.ui=Ge,this.initialLoad=!0}open(i){this.router.navigate(["/e",i])}likes(i){}dislikes(i){}replies(i){}filteredThread(){}repliesTo(i){if(!i)return;let t=i.tags.filter(n=>"p"===n[0]).map(n=>n[1]);return t=t.filter(n=>n!==i.pubkey),t}ngOnInit(){var i=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 t=(0,ve.Z)(function*(n){const a=n.get("id");if(a)if(a.startsWith("note")){const l=i.utilities.convertFromBech32ToHex(a);i.router.navigate(["/e",l])}else i.navigation.currentEvent?.id!=a&&i.ui.setEventId(a);else i.router.navigateByUrl("/")});return function(n){return t.apply(this,arguments)}}())}trackByFn(i,t){return t.id}ngOnDestroy(){this.sub&&this.sub.unsub(),this.ui.clear()}}yf.\u0275fac=function(i){return new(i||yf)(e.Y36(ce.i),e.Y36(Ht.gz),e.Y36(e.sBO),e.Y36(Rr.I),e.Y36(ra),e.Y36(Bn),e.Y36(gc),e.Y36(vr.Y),e.Y36(Pi.dU),e.Y36(Ht.F0),e.Y36(Gr))},yf.\u0275cmp=e.Xpm({type:yf,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(i,t){1&i&&(e.YNc(0,pA,25,25,"div",0),e.ALo(1,"async"),e._UZ(2,"mat-divider")),2&i&&e.Q6J("ngIf",e.lcZ(1,1,t.ui.event$))},dependencies:[F.mk,F.O5,Mt.lW,Ia,ar,Qi,Yn.pp,Yn.ib,Yn.yz,Yn.yK,Yn.u4,hu,ua,Ma,as,vo,Ps,ss,Ah,bu,yu,_c,bf,F.Ov],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}"]});var gA=y(7411);const _A=["*",[["mat-toolbar-row"]]],bA=["*","mat-toolbar-row"],yA=(0,ae.pj)(class{constructor(r){this._elementRef=r}});let zD=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),r})(),GD=(()=>{class r extends yA{constructor(t,n,a){super(t),this._platform=n,this._document=a}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(x.t4),e.Y36(F.K0))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-toolbar"]],contentQueries:function(t,n,a){if(1&t&&e.Suo(a,zD,5),2&t){let l;e.iGM(l=e.CRH())&&(n._toolbarRows=l)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(t,n){2&t&&e.ekj("mat-toolbar-multiple-rows",n._toolbarRows.length>0)("mat-toolbar-single-row",0===n._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[e.qOj],ngContentSelectors:bA,decls:2,vars:0,template:function(t,n){1&t&&(e.F$t(_A),e.Hsn(0),e.Hsn(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}),r})(),vA=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ae.BQ,ae.BQ]}),r})();var wA=y(8372);const Wy=["*"],xA=["content"];function FA(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",2),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a._onBackdropClicked())}),e.qZA()}if(2&r){const t=e.oxw();e.ekj("mat-drawer-shown",t._isShowingBackdrop())}}function CA(r,i){1&r&&(e.TgZ(0,"mat-drawer-content"),e.Hsn(1,2),e.qZA())}const kA=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],DA=["mat-drawer","mat-drawer-content","*"];function MA(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",2),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a._onBackdropClicked())}),e.qZA()}if(2&r){const t=e.oxw();e.ekj("mat-drawer-shown",t._isShowingBackdrop())}}function EA(r,i){1&r&&(e.TgZ(0,"mat-sidenav-content"),e.Hsn(1,2),e.qZA())}const TA=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],AA=["mat-sidenav","mat-sidenav-content","*"],WD={transformDrawer:(0,xe.X$)("transform",[(0,xe.SB)("open, open-instant",(0,xe.oB)({transform:"none",visibility:"visible"})),(0,xe.SB)("void",(0,xe.oB)({"box-shadow":"none",visibility:"hidden"})),(0,xe.eR)("void => open-instant",(0,xe.jt)("0ms")),(0,xe.eR)("void <=> open, open-instant => void",(0,xe.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},IA=new e.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function OA(){return!1}}),JF=new e.OlP("MAT_DRAWER_CONTAINER");let qy=(()=>{class r extends Mr.PQ{constructor(t,n,a,l,v){super(a,l,v),this._changeDetectorRef=t,this._container=n}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.sBO),e.Y36((0,e.Gpc)(()=>$F)),e.Y36(e.SBq),e.Y36(Mr.mF),e.Y36(e.R0b))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(t,n){2&t&&e.Udp("margin-left",n._container._contentMargins.left,"px")("margin-right",n._container._contentMargins.right,"px")},features:[e._Bn([{provide:Mr.PQ,useExisting:r}]),e.qOj],ngContentSelectors:Wy,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0}),r})(),KF=(()=>{class r{get position(){return this._position}set position(t){(t="end"===t?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(t),this._position=t,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(t){this._mode=t,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(t){this._disableClose=(0,st.Ig)(t)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(t){("true"===t||"false"===t||null==t)&&(t=(0,st.Ig)(t)),this._autoFocus=t}get opened(){return this._opened}set opened(t){this.toggle((0,st.Ig)(t))}constructor(t,n,a,l,v,I,W,G){this._elementRef=t,this._focusTrapFactory=n,this._focusMonitor=a,this._platform=l,this._ngZone=v,this._interactivityChecker=I,this._doc=W,this._container=G,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new D.x,this._animationEnd=new D.x,this._animationState="void",this.openedChange=new e.vpe(!0),this._openedStream=this.openedChange.pipe((0,Qe.h)(ye=>ye),(0,rr.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,Qe.h)(ye=>ye.fromState!==ye.toState&&0===ye.toState.indexOf("open")),(0,hg.h)(void 0)),this._closedStream=this.openedChange.pipe((0,Qe.h)(ye=>!ye),(0,rr.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,Qe.h)(ye=>ye.fromState!==ye.toState&&"void"===ye.toState),(0,hg.h)(void 0)),this._destroyed=new D.x,this.onPositionChanged=new e.vpe,this._modeChanged=new D.x,this.openedChange.subscribe(ye=>{ye?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,Bl.R)(this._elementRef.nativeElement,"keydown").pipe((0,Qe.h)(ye=>ye.keyCode===A.hY&&!this.disableClose&&!(0,A.Vb)(ye)),(0,qi.R)(this._destroyed)).subscribe(ye=>this._ngZone.run(()=>{this.close(),ye.stopPropagation(),ye.preventDefault()}))}),this._animationEnd.pipe((0,Ag.x)((ye,Ge)=>ye.fromState===Ge.fromState&&ye.toState===Ge.toState)).subscribe(ye=>{const{fromState:Ge,toState:yt}=ye;(0===yt.indexOf("open")&&"void"===Ge||"void"===yt&&0===Ge.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(t,n){this._interactivityChecker.isFocusable(t)||(t.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const a=()=>{t.removeEventListener("blur",a),t.removeEventListener("mousedown",a),t.removeAttribute("tabindex")};t.addEventListener("blur",a),t.addEventListener("mousedown",a)})),t.focus(n)}_focusByCssSelector(t,n){let a=this._elementRef.nativeElement.querySelector(t);a&&this._forceFocus(a,n)}_takeFocus(){if(!this._focusTrap)return;const t=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&&t.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(t){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,t):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const t=this._doc.activeElement;return!!t&&this._elementRef.nativeElement.contains(t)}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(t){return this.toggle(!0,t)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(t=!this.opened,n){t&&n&&(this._openedVia=n);const a=this._setOpen(t,!t&&this._isFocusWithinDrawer(),this._openedVia||"program");return t||(this._openedVia=null),a}_setOpen(t,n,a){return this._opened=t,t?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",n&&this._restoreFocus(a)),this._updateFocusTrapState(),new Promise(l=>{this.openedChange.pipe((0,Se.q)(1)).subscribe(v=>l(v?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(t){const n=this._elementRef.nativeElement,a=n.parentNode;"end"===t?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),a.insertBefore(this._anchor,n)),a.appendChild(n)):this._anchor&&this._anchor.parentNode.insertBefore(n,this._anchor)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(g.qV),e.Y36(g.tE),e.Y36(x.t4),e.Y36(e.R0b),e.Y36(g.ic),e.Y36(F.K0,8),e.Y36(JF,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-drawer"]],viewQuery:function(t,n){if(1&t&&e.Gf(xA,5),2&t){let a;e.iGM(a=e.CRH())&&(n._content=a.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,n){1&t&&e.WFA("@transform.start",function(l){return n._animationStarted.next(l)})("@transform.done",function(l){return n._animationEnd.next(l)}),2&t&&(e.uIk("align",null),e.d8E("@transform",n._animationState),e.ekj("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:Wy,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(t,n){1&t&&(e.F$t(),e.TgZ(0,"div",0,1),e.Hsn(2),e.qZA())},dependencies:[Mr.PQ],encapsulation:2,data:{animation:[WD.transformDrawer]},changeDetection:0}),r})(),$F=(()=>{class r{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(t){this._autosize=(0,st.Ig)(t)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(t){this._backdropOverride=null==t?null:(0,st.Ig)(t)}get scrollable(){return this._userContent||this._content}constructor(t,n,a,l,v,I=!1,W){this._dir=t,this._element=n,this._ngZone=a,this._changeDetectorRef=l,this._animationMode=W,this._drawers=new e.n_E,this.backdropClick=new e.vpe,this._destroyed=new D.x,this._doCheckSubject=new D.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new D.x,t&&t.change.pipe((0,qi.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),v.change().pipe((0,qi.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=I}ngAfterContentInit(){this._allDrawers.changes.pipe((0,N.O)(this._allDrawers),(0,qi.R)(this._destroyed)).subscribe(t=>{this._drawers.reset(t.filter(n=>!n._container||n._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,N.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(t=>{this._watchDrawerToggle(t),this._watchDrawerPosition(t),this._watchDrawerMode(t)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,wA.b)(10),(0,qi.R)(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(t=>t.open())}close(){this._drawers.forEach(t=>t.close())}updateContentMargins(){let t=0,n=0;if(this._left&&this._left.opened)if("side"==this._left.mode)t+=this._left._getWidth();else if("push"==this._left.mode){const a=this._left._getWidth();t+=a,n-=a}if(this._right&&this._right.opened)if("side"==this._right.mode)n+=this._right._getWidth();else if("push"==this._right.mode){const a=this._right._getWidth();n+=a,t-=a}t=t||null,n=n||null,(t!==this._contentMargins.left||n!==this._contentMargins.right)&&(this._contentMargins={left:t,right:n},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(t){t._animationStarted.pipe((0,Qe.h)(n=>n.fromState!==n.toState),(0,qi.R)(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"!==t.mode&&t.openedChange.pipe((0,qi.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(t.opened))}_watchDrawerPosition(t){t&&t.onPositionChanged.pipe((0,qi.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,Se.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(t){t&&t._modeChanged.pipe((0,qi.R)((0,Ye.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(t){const n=this._element.nativeElement.classList,a="mat-drawer-container-has-open";t?n.add(a):n.remove(a)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(t=>{"end"==t.position?this._end=t:this._start=t}),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(t=>t&&!t.disableClose&&this._canHaveBackdrop(t)).forEach(t=>t._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(t){return"side"!==t.mode||!!this._backdropOverride}_isDrawerOpen(t){return null!=t&&t.opened}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(S.Is,8),e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(Mr.rL),e.Y36(IA),e.Y36(e.QbO,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-drawer-container"]],contentQueries:function(t,n,a){if(1&t&&(e.Suo(a,qy,5),e.Suo(a,KF,5)),2&t){let l;e.iGM(l=e.CRH())&&(n._content=l.first),e.iGM(l=e.CRH())&&(n._allDrawers=l)}},viewQuery:function(t,n){if(1&t&&e.Gf(qy,5),2&t){let a;e.iGM(a=e.CRH())&&(n._userContent=a.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(t,n){2&t&&e.ekj("mat-drawer-container-explicit-backdrop",n._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[e._Bn([{provide:JF,useExisting:r}])],ngContentSelectors:DA,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(t,n){1&t&&(e.F$t(kA),e.YNc(0,FA,1,2,"div",0),e.Hsn(1),e.Hsn(2,1),e.YNc(3,CA,2,0,"mat-drawer-content",1)),2&t&&(e.Q6J("ngIf",n.hasBackdrop),e.xp6(3),e.Q6J("ngIf",!n._content))},dependencies:[F.O5,qy],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}),r})(),XF=(()=>{class r extends qy{constructor(t,n,a,l,v){super(t,n,a,l,v)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.sBO),e.Y36((0,e.Gpc)(()=>tC)),e.Y36(e.SBq),e.Y36(Mr.mF),e.Y36(e.R0b))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(t,n){2&t&&e.Udp("margin-left",n._container._contentMargins.left,"px")("margin-right",n._container._contentMargins.right,"px")},features:[e._Bn([{provide:Mr.PQ,useExisting:r}]),e.qOj],ngContentSelectors:Wy,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0}),r})(),eC=(()=>{class r extends KF{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(t){this._fixedInViewport=(0,st.Ig)(t)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(t){this._fixedTopGap=(0,st.su)(t)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(t){this._fixedBottomGap=(0,st.su)(t)}}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(t,n){2&t&&(e.uIk("align",null),e.Udp("top",n.fixedInViewport?n.fixedTopGap:null,"px")("bottom",n.fixedInViewport?n.fixedBottomGap:null,"px"),e.ekj("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:[e.qOj],ngContentSelectors:Wy,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(t,n){1&t&&(e.F$t(),e.TgZ(0,"div",0,1),e.Hsn(2),e.qZA())},dependencies:[Mr.PQ],encapsulation:2,data:{animation:[WD.transformDrawer]},changeDetection:0}),r})(),tC=(()=>{class r extends $F{}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-sidenav-container"]],contentQueries:function(t,n,a){if(1&t&&(e.Suo(a,XF,5),e.Suo(a,eC,5)),2&t){let l;e.iGM(l=e.CRH())&&(n._content=l.first),e.iGM(l=e.CRH())&&(n._allDrawers=l)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(t,n){2&t&&e.ekj("mat-drawer-container-explicit-backdrop",n._backdropOverride)},exportAs:["matSidenavContainer"],features:[e._Bn([{provide:JF,useExisting:r}]),e.qOj],ngContentSelectors:AA,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(t,n){1&t&&(e.F$t(TA),e.YNc(0,MA,1,2,"div",0),e.Hsn(1),e.Hsn(2,1),e.YNc(3,EA,2,0,"mat-sidenav-content",1)),2&t&&(e.Q6J("ngIf",n.hasBackdrop),e.xp6(3),e.Q6J("ngIf",!n._content))},dependencies:[F.O5,XF],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}),r})(),NA=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[F.ez,ae.BQ,Mr.ZD,Mr.ZD,ae.BQ]}),r})();var Qy=new WeakMap,vu=new WeakMap;class jl{get chats$(){return ot(this,Qy).asObservable().pipe()}get chats2$(){return(0,U.of)(ot(this,vu))}get uniqueChats$(){return this.chats2$.pipe((0,rr.U)(i=>{const t=i.sort((a,l)=>a.created_att.findIndex(v=>v.pubkey==a.pubkey)===l)}))}constructor(i,t,n,a){Ue(this,Qy,{writable:!0,value:void 0}),Ue(this,vu,{writable:!0,value:void 0}),this.nostr=i,this.queueService=t,this.dataService=n,this.appState=a,this.chats=[],Kt(this,Qy,new je.X(this.chats)),Kt(this,vu,[]),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,ot(this,Qy).next(this.chats),console.log(this.data.chats)}download(){var i=this;Kt(this,vu,[]),this.dataService.downloadEventsByQuery([{kinds:[4],"#p":[this.appState.getPublicKey()]}],3e3).pipe((0,Mw.x)((0,ve.Z)(function*(){for(let t=0;ta.id===n.id)>-1||ot(i,vu).unshift(n)});return function(n){return t.apply(this,arguments)}}())}saveMessage(i,t){}createChat(i){}getChats(){return this.data.chats}}jl.\u0275fac=function(i){return new(i||jl)(e.LFG(ps),e.LFG(In),e.LFG(Wr),e.LFG(ce.i))},jl.\u0275prov=e.Yz7({token:jl,factory:jl.\u0275fac,providedIn:"root"});class sd{constructor(i){this.chatService=i,this.users=new je.X(null),this.active=new je.X(null)}getUsers(){return this.chatService.data.users}}sd.\u0275fac=function(i){return new(i||sd)(e.LFG(jl))},sd.\u0275prov=e.Yz7({token:sd,factory:sd.\u0275fac,providedIn:"root"});class vf{constructor(){this.type="online"}}function LA(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",1)(1,"div",2),e._UZ(2,"img",3),e.qZA(),e.TgZ(3,"div",4)(4,"button",5),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.openNewChat())}),e._uU(5,"Write Message"),e.qZA()(),e.TgZ(6,"h1",6),e._uU(7),e.qZA(),e.TgZ(8,"div",7),e._UZ(9,"app-status",8),e.qZA(),e.TgZ(10,"h2",9),e._uU(11,"Biography"),e.qZA(),e.TgZ(12,"p",10),e._uU(13),e.qZA()()}if(2&r){const t=e.oxw();e.xp6(2),e.Q6J("src",t.user.cover,e.LSH),e.xp6(5),e.Oqu(t.user.username),e.xp6(2),e.Q6J("text",t.user.status),e.xp6(4),e.Oqu(t.user.bio)}}vf.\u0275fac=function(i){return new(i||vf)},vf.\u0275cmp=e.Xpm({type:vf,selectors:[["app-status"]],inputs:{type:"type",text:"text"},decls:2,vars:3,template:function(i,t){1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i&&(e.Tol("mat-caption status status--"+t.type),e.xp6(1),e.hij(" ",t.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 h_{constructor(i,t){this.service=i,this.messageService=t,this.openChatWindow=new e.vpe}openNewChat(){this.messageService.createChat(this.user),this.openChatWindow.emit(this.user.username)}ngOnInit(){this.subscription=this.service.active.subscribe(i=>this.user=i)}ngOnDestroy(){this.subscription.unsubscribe()}}h_.\u0275fac=function(i){return new(i||h_)(e.Y36(sd),e.Y36(jl))},h_.\u0275cmp=e.Xpm({type:h_,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(i,t){1&i&&e.YNc(0,LA,14,4,"div",0),2&i&&e.Q6J("ngIf",t.user)},dependencies:[F.O5,Mt.lW,ae.X2,vf],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 m_{constructor(i){this.service=i,this.openSidebar=new e.vpe}showProfile(){this.service.active.next(this.user),this.openSidebar.emit(this.user.name)}}function RA(r,i){1&r&&e._UZ(0,"mat-divider")}function PA(r,i){if(1&r){const t=e.EpF();e.ynx(0),e.TgZ(1,"app-user-item",1),e.NdJ("openSidebar",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.openSidebar.emit(a))}),e.qZA(),e.YNc(2,RA,1,0,"mat-divider",2),e.BQk()}if(2&r){const t=i.$implicit,n=i.last;e.xp6(1),e.Q6J("user",t),e.xp6(1),e.Q6J("ngIf",!n)}}m_.\u0275fac=function(i){return new(i||m_)(e.Y36(sd))},m_.\u0275cmp=e.Xpm({type:m_,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(i,t){1&i&&(e.TgZ(0,"mat-list-item",0),e.NdJ("click",function(){return t.showProfile()}),e._UZ(1,"img",1),e.TgZ(2,"h4",2),e._uU(3),e.qZA(),e.TgZ(4,"p",2),e._UZ(5,"app-status",3),e.qZA()()),2&i&&(e.xp6(1),e.Q6J("src",t.user.cover,e.LSH),e.xp6(2),e.Oqu(t.user.name),e.xp6(2),e.Q6J("text",t.user.status))},dependencies:[WF,zy,ae.X2,vf],styles:["mat-list-item[_ngcontent-%COMP%]{height:90px!important}"]});class f_{constructor(i){this.service=i,this.openSidebar=new e.vpe,this.data=[],this.service.getUsers()}ngOnInit(){this.service.users.subscribe(i=>this.data=i)}}f_.\u0275fac=function(i){return new(i||f_)(e.Y36(sd))},f_.\u0275cmp=e.Xpm({type:f_,selectors:[["app-user-list"]],outputs:{openSidebar:"openUserSidebar"},decls:2,vars:1,consts:[[4,"ngFor","ngForOf"],[3,"user","openSidebar"],[4,"ngIf"]],template:function(i,t){1&i&&(e.TgZ(0,"mat-nav-list"),e.YNc(1,PA,3,2,"ng-container",0),e.qZA()),2&i&&(e.xp6(1),e.Q6J("ngForOf",t.data))},dependencies:[F.sg,F.O5,qF,Qi,m_]});class wf{isSendable(i){return""!==i&&""!==i.trim()}}wf.\u0275fac=function(i){return new(i||wf)},wf.\u0275prov=e.Yz7({token:wf,factory:wf.\u0275fac,providedIn:"root"});let BA=0;const YA=(0,ae.Id)(class{}),qD="mat-badge-content";let QD=(()=>{class r extends YA{get color(){return this._color}set color(t){this._setColor(t),this._color=t}get overlap(){return this._overlap}set overlap(t){this._overlap=(0,st.Ig)(t)}get content(){return this._content}set content(t){this._updateRenderedContent(t)}get description(){return this._description}set description(t){this._updateHostAriaDescription(t)}get hidden(){return this._hidden}set hidden(t){this._hidden=(0,st.Ig)(t)}constructor(t,n,a,l,v){super(),this._ngZone=t,this._elementRef=n,this._ariaDescriber=a,this._renderer=l,this._animationMode=v,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=BA++,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 t=this._renderer.createElement("span"),n="mat-badge-active";return t.setAttribute("id",`mat-badge-content-${this._id}`),t.setAttribute("aria-hidden","true"),t.classList.add(qD),"NoopAnimations"===this._animationMode&&t.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(t),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{t.classList.add(n)})}):t.classList.add(n),t}_updateRenderedContent(t){const n=`${t??""}`.trim();this._isInitialized&&n&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=n),this._content=n}_updateHostAriaDescription(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),t&&this._ariaDescriber.describe(this._elementRef.nativeElement,t),this._description=t}_setColor(t){const n=this._elementRef.nativeElement.classList;n.remove(`mat-badge-${this._color}`),t&&n.add(`mat-badge-${t}`)}_clearExistingBadges(){const t=this._elementRef.nativeElement.querySelectorAll(`:scope > .${qD}`);for(const n of Array.from(t))n!==this._badgeElement&&n.remove()}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(g.$s),e.Y36(e.Qsj),e.Y36(e.QbO,8))},r.\u0275dir=e.lG2({type:r,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(t,n){2&t&&e.ekj("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:[e.qOj]}),r})(),HA=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[g.rt,ae.BQ,ae.BQ]}),r})();function UA(r,i){if(1&r&&e._UZ(0,"span",5),2&r){const t=e.oxw();e.Q6J("matBadge",t.chat.lastMessageLength)}}class p_{constructor(i){this.service=i,this.openChatSidebar=new e.vpe}showMessageDetail(){this.openChatSidebar.emit(this.chat.username)}}function jA(r,i){1&r&&e._UZ(0,"mat-divider")}p_.\u0275fac=function(i){return new(i||p_)(e.Y36(jl))},p_.\u0275cmp=e.Xpm({type:p_,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(i,t){1&i&&(e.TgZ(0,"mat-list-item",0),e.NdJ("click",function(){return t.showMessageDetail()}),e._UZ(1,"img",1),e.TgZ(2,"h4",2),e._uU(3),e.qZA(),e.TgZ(4,"p",3),e._uU(5),e.qZA(),e.YNc(6,UA,1,1,"span",4),e.qZA()),2&i&&(e.xp6(1),e.Q6J("src",t.chat.cover,e.LSH),e.xp6(2),e.Oqu(t.chat.username),e.xp6(2),e.Oqu(t.chat.lastMessage),e.xp6(1),e.Q6J("ngIf",t.chat.lastMessageLength))},dependencies:[F.O5,WF,zy,ae.X2,QD],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 VA=function(r){return["/m",r]};function ZA(r,i){if(1&r&&(e.ynx(0),e._UZ(1,"app-chat-item",6),e.YNc(2,jA,1,0,"mat-divider",7),e.BQk()),2&r){const t=i.$implicit,n=i.last;e.xp6(1),e.Q6J("routerLink",e.VKq(3,VA,t.id))("chat",t),e.xp6(1),e.Q6J("ngIf",!n)}}function zA(r,i){if(1&r&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&r){const t=i.$implicit;e.xp6(1),e.AsE("",t.pubkey," : ",t.content,"")}}class Sh{constructor(i){this.chatService=i,this.openChatSidebar=new e.vpe}ngOnInit(){this.chatService.download()}add(){}reset(){}}Sh.\u0275fac=function(i){return new(i||Sh)(e.Y36(jl))},Sh.\u0275cmp=e.Xpm({type:Sh,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(i,t){1&i&&(e.TgZ(0,"mat-nav-list")(1,"div",0)(2,"mat-form-field",1),e._UZ(3,"input",2),e.TgZ(4,"mat-icon",3),e._uU(5,"search"),e.qZA()()(),e.YNc(6,ZA,3,5,"ng-container",4),e.ALo(7,"async"),e.qZA(),e.YNc(8,zA,2,2,"div",4),e.TgZ(9,"button",5),e.NdJ("click",function(){return t.add()}),e._uU(10,"Add"),e.qZA(),e.TgZ(11,"button",5),e.NdJ("click",function(){return t.reset()}),e._uU(12,"Reset"),e.qZA(),e.TgZ(13,"button",5),e.NdJ("click",function(){return t.chatService.download()}),e._uU(14,"Download"),e.qZA()),2&i&&(e.xp6(6),e.Q6J("ngForOf",e.lcZ(7,2,t.chatService.chats$)),e.xp6(2),e.Q6J("ngForOf",t.chatService.chats3))},dependencies:[F.sg,F.O5,Ht.rH,Za,Aa,H0,ar,qF,Qi,p_,F.Ov],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 g_{}g_.\u0275fac=function(i){return new(i||g_)},g_.\u0275cmp=e.Xpm({type:g_,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(i,t){1&i&&(e.TgZ(0,"div",0)(1,"div",1),e._UZ(2,"img",2),e.qZA(),e.TgZ(3,"div",3)(4,"mat-card",4),e._uU(5),e.qZA()()()),2&i&&(e.ekj("me",0==t.message.id),e.xp6(2),e.Q6J("src",t.message.cover,e.LSH),e.xp6(3),e.hij(" ",t.message.message," "))},dependencies:[Ia],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 GA=["scrollable"],WA=["picker"],qA=["drawer"];function QA(r,i){if(1&r&&(e.ynx(0),e._UZ(1,"app-message-bubble",23),e.BQk()),2&r){const t=i.$implicit;e.xp6(1),e.Q6J("message",t)}}function JA(r,i){if(1&r&&(e.ynx(0),e.YNc(1,QA,2,1,"ng-container",22),e.BQk()),2&r){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.chat.chat)}}function KA(r,i){1&r&&e._UZ(0,"mat-spinner",24)}function $A(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"emoji-mart",25),e.NdJ("emojiSelect",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.addEmoji(a))}),e.qZA()}2&r&&e.Q6J("isNative",!0)("showPreview",!1)}function XA(r,i){1&r&&(e.TgZ(0,"mat-icon"),e._uU(1,"chevron_left"),e.qZA())}function e4(r,i){1&r&&(e.TgZ(0,"mat-icon"),e._uU(1,"chevron_right"),e.qZA())}class xf{constructor(i,t,n){this.service=i,this.control=t,this.appState=n,this.sending=!1,this.displayList=!0}ngOnInit(){}scrollToBottom(){setTimeout(()=>{this.scrollable.nativeElement.scrollTop=this.scrollable.nativeElement.scrollHeight},100)}saveMessage(i){this.message=i.target.value,"Enter"==i.key&&this.control.isSendable(this.message)&&(this.scrollToBottom(),this.service.saveMessage(this.chat.id,this.message),this.sending=!0,i.target.value="")}send(i){this.message=i,this.control.isSendable(this.message)&&(this.scrollToBottom(),this.service.saveMessage(this.chat.id,this.message),this.sending=!0,this.message="")}addEmoji(i){this.message=`${this.message}${i.emoji.native}`,this.isEmojiPickerVisible=!1}toggle(){this.displayList=!this.displayList,this.drawer.toggle()}ngOnDestroy(){this.subscription?.unsubscribe()}}xf.\u0275fac=function(i){return new(i||xf)(e.Y36(jl),e.Y36(wf),e.Y36(ce.i))},xf.\u0275cmp=e.Xpm({type:xf,selectors:[["app-chat-detail"]],viewQuery:function(i,t){if(1&i&&(e.Gf(GA,5),e.Gf(WA,5),e.Gf(qA,5)),2&i){let n;e.iGM(n=e.CRH())&&(t.scrollable=n.first),e.iGM(n=e.CRH())&&(t.picker=n.first),e.iGM(n=e.CRH())&&(t.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(i,t){if(1&i&&(e.TgZ(0,"mat-drawer-container",0)(1,"mat-drawer",1,2),e._UZ(3,"app-chat-list"),e.qZA(),e.TgZ(4,"div",3)(5,"div",4)(6,"div",5,6),e.YNc(8,JA,2,1,"ng-container",7),e.YNc(9,KA,1,0,"mat-spinner",8),e.qZA(),e.TgZ(10,"div",9),e.YNc(11,$A,1,2,"emoji-mart",10),e.TgZ(12,"button",11),e.NdJ("click",function(){return t.toggle()}),e.YNc(13,XA,2,0,"mat-icon",7),e.YNc(14,e4,2,0,"mat-icon",7),e.qZA(),e.TgZ(15,"mat-form-field",12)(16,"mat-icon",13),e._uU(17,"attach_file_add"),e.qZA(),e.TgZ(18,"mat-menu",null,14)(20,"button",15)(21,"mat-icon"),e._uU(22,"imagesmode"),e.qZA(),e.TgZ(23,"span"),e._uU(24,"Image"),e.qZA()(),e.TgZ(25,"button",15)(26,"mat-icon"),e._uU(27,"videocam"),e.qZA(),e.TgZ(28,"span"),e._uU(29,"Video"),e.qZA()(),e.TgZ(30,"button",16)(31,"mat-icon"),e._uU(32,"file_present"),e.qZA(),e.TgZ(33,"span"),e._uU(34,"Document"),e.qZA()()(),e.TgZ(35,"input",17),e.NdJ("ngModelChange",function(a){return t.message=a})("keypress",function(a){return t.saveMessage(a)}),e.qZA(),e.TgZ(36,"mat-hint",18),e._uU(37),e.qZA(),e.TgZ(38,"mat-icon",19),e.NdJ("click",function(){return t.isEmojiPickerVisible=!t.isEmojiPickerVisible}),e._uU(39,"sentiment_satisfied"),e.qZA(),e.TgZ(40,"mat-icon",20),e._uU(41,"mic"),e.qZA(),e.TgZ(42,"mat-icon",21),e.NdJ("click",function(){return t.send(t.message)}),e._uU(43,"send"),e.qZA()()()()()()),2&i){const n=e.MAs(19);e.xp6(8),e.Q6J("ngIf",t.chat),e.xp6(1),e.Q6J("ngIf",t.sending),e.xp6(2),e.Q6J("ngIf",t.isEmojiPickerVisible),e.xp6(2),e.Q6J("ngIf",t.displayList),e.xp6(1),e.Q6J("ngIf",!t.displayList),e.xp6(2),e.Q6J("matMenuTriggerFor",n),e.xp6(19),e.Q6J("ngModel",t.message),e.xp6(2),e.hij("Length : ",null==t.message?null:t.message.length,"")}},dependencies:[F.sg,F.O5,Za,Aa,km,ol,H0,Mt.RK,KF,$F,ar,fc,Ys,su,eo,Up,QF,_a,ua,Ma,Sh,g_],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 t4=["chatSidebar"],n4=["userSidebar"];class __{constructor(i){this.appState=i,this.sidebarTitles={user:"",chat:""},this.open={me:this,userSideBar:function(t=""){this.me.userSidebar.open(),this.me.sidebarTitles.user=t},chatSideBar:function(t=""){this.me.chatSidebar.open(),this.me.userSidebar.close(),this.me.sidebarTitles.chat=t}}}ngOnInit(){var i=this;return(0,ve.Z)(function*(){i.appState.updateTitle("Chat"),i.appState.goBack=!0,i.appState.actions=[]})()}}__.\u0275fac=function(i){return new(i||__)(e.Y36(ce.i))},__.\u0275cmp=e.Xpm({type:__,selectors:[["app-chat"]],viewQuery:function(i,t){if(1&i&&(e.Gf(t4,5),e.Gf(n4,5)),2&i){let n;e.iGM(n=e.CRH())&&(t.chatSidebar=n.first),e.iGM(n=e.CRH())&&(t.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(i,t){if(1&i){const n=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-tab-group",1)(2,"mat-tab",2)(3,"app-chat-list",3),e.NdJ("openChatSidebar",function(l){return t.open.chatSideBar(l)}),e.qZA()(),e.TgZ(4,"mat-tab",4)(5,"app-user-list",5),e.NdJ("openUserSidebar",function(l){return t.open.userSideBar(l)}),e.qZA()()(),e.TgZ(6,"mat-sidenav",6,7)(8,"mat-toolbar",8)(9,"mat-toolbar-row")(10,"mat-icon",9),e.NdJ("click",function(){e.CHM(n);const l=e.MAs(7);return e.KtG(l.close())}),e._uU(11,"arrow_back_ios"),e.qZA(),e.TgZ(12,"span",10),e._uU(13),e.qZA()()(),e._UZ(14,"app-chat-detail"),e.qZA(),e.TgZ(15,"mat-sidenav",11,12)(17,"mat-toolbar",8)(18,"mat-toolbar-row")(19,"span",10),e._uU(20),e.qZA(),e.TgZ(21,"mat-icon",9),e.NdJ("click",function(){e.CHM(n);const l=e.MAs(16);return e.KtG(l.close())}),e._uU(22,"close"),e.qZA()()(),e.TgZ(23,"app-user-profile",13),e.NdJ("openChatWindow",function(l){return t.open.chatSideBar(l)}),e.qZA()()()}2&i&&(e.xp6(13),e.hij(" ",t.sidebarTitles.chat," "),e.xp6(7),e.hij(" ",t.sidebarTitles.user," "))},dependencies:[GD,zD,eC,tC,ar,Eh,hf,h_,f_,xf,Sh],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 b_{constructor(i,t){this.profiles=i,this.utilities=t,this.pubkey="",this.profileName="",this.tooltip=""}ngOnInit(){}}function r4(r,i){if(1&r&&(e.TgZ(0,"div",8),e._UZ(1,"app-profile-widget",9),e.qZA()),2&r){const t=i.$implicit;e.xp6(1),e.Q6J("pubkey",t)}}function a4(r,i){if(1&r&&(e.ynx(0),e.TgZ(1,"div",6),e.YNc(2,r4,2,1,"div",7),e.qZA(),e.BQk()),2&r){const t=i.ngIf;e.xp6(2),e.Q6J("ngForOf",t.following)}}b_.\u0275fac=function(i){return new(i||b_)(e.Y36(Bn),e.Y36(Pi.dU))},b_.\u0275cmp=e.Xpm({type:b_,selectors:[["app-profile-widget"]],inputs:{pubkey:"pubkey"},decls:3,vars:2,consts:[[1,"profile-widget"],[3,"pubkey"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0),e._UZ(1,"app-event-header",1)(2,"app-profile-actions",1),e.qZA()),2&i&&(e.xp6(1),e.Q6J("pubkey",t.pubkey),e.xp6(1),e.Q6J("pubkey",t.pubkey))},dependencies:[vo,nd],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 o4=function(r){return["/followers",r]},s4=function(r){return["/following",r]};class y_{constructor(i,t,n,a,l,v){this.ui=i,this.appState=t,this.dataService=n,this.profileService=a,this.activatedRoute=l,this.router=v,this.subscriptions=[]}ngOnInit(){var i=this;this.appState.showBackButton=!0,this.appState.backUrl=void 0,this.subscriptions.push(this.ui.profile$.subscribe(t=>{t&&(this.appState.updateTitle(t.name),this.dataService.enque({type:"Contacts",identifier:t.pubkey}))})),this.subscriptions.push(this.activatedRoute.paramMap.subscribe(function(){var t=(0,ve.Z)(function*(n){const a=n.get("id");i.ui.setPubKey(a)});return function(n){return t.apply(this,arguments)}}()))}ngOnDestroy(){for(let i=0;i{this.appState.updateTitle(`@${t?.name}`)})),this.subscriptions.push(this.activatedRoute.paramMap.subscribe(function(){var t=(0,ve.Z)(function*(n){const a=n.get("id");i.ui.setPubKey(a)});return function(n){return t.apply(this,arguments)}}()))}ngOnDestroy(){for(let i=0;i{this.addQueue()}}]}addQueue(){var i=this;this.dialog.open(w_,{data:{},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=(0,ve.Z)(function*(a){if(a&&a.url)if(a.url.indexOf("youtu.be")>-1||a.url.indexOf("youtube.com")>-1){let v=[...a.url.matchAll(i.contentService.regexpYouTube)].map(I=>({url:`https://www.youtube.com/embed/${I[1]}`}));for(let I=0;I-1||a.url.indexOf(".webm")>-1?i.media.enque({artist:"",artwork:"/assets/logos/youtube.png",title:a.url,source:a.url,type:"Video"}):i.media.enque({artist:"",artwork:"",title:a.url,source:a.url,type:"Music"})});return function(a){return n.apply(this,arguments)}}())}remove(i){this.media.dequeue(i)}}x_.\u0275fac=function(i){return new(i||x_)(e.Y36(Rl),e.Y36(vi),e.Y36(ce.i),e.Y36(Rr.I),e.Y36(cc),e.Y36(Pi.dU))},x_.\u0275cmp=e.Xpm({type:x_,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(i,t){1&i&&(e.TgZ(0,"div",0)(1,"div",1)(2,"mat-list"),e.YNc(3,d4,10,4,"mat-list-item",2),e.qZA()()()),2&i&&(e.xp6(3),e.Q6J("ngForOf",t.media.media))},dependencies:[F.sg,Mt.RK,ar,OE,WF,zy,Zy,Vy,DD,eo],styles:[".queue-artwork[_ngcontent-%COMP%]{border-radius:0!important}"]});const u4=["chatSidebar"],h4=["userSidebar"];function m4(r,i){if(1&r&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"json"),e.qZA()),2&r){const t=i.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,t))}}class F_{constructor(i,t,n){this.appState=i,this.queueService=t,this.relayService=n,this.sidebarTitles={user:"",chat:""},this.open={me:this,userSideBar:function(a=""){this.me.userSidebar.open(),this.me.sidebarTitles.user=a},chatSideBar:function(a=""){this.me.chatSidebar.open(),this.me.userSidebar.close(),this.me.sidebarTitles.chat=a}}}ngOnDestroy(){this.relayService.unsubscribe(this.sub.id)}ngOnInit(){var i=this;return(0,ve.Z)(function*(){i.appState.updateTitle("Messages"),i.appState.goBack=!0,i.appState.showBackButton=!1,i.appState.actions=[],i.sub=i.relayService.subscribe([{"#p":[i.appState.getPublicKey()],kinds:[Hi.EncryptedDirectMessage]}],"messages")})()}}F_.\u0275fac=function(i){return new(i||F_)(e.Y36(ce.i),e.Y36(In),e.Y36(Sa))},F_.\u0275cmp=e.Xpm({type:F_,selectors:[["app-messages"]],viewQuery:function(i,t){if(1&i&&(e.Gf(u4,5),e.Gf(h4,5)),2&i){let n;e.iGM(n=e.CRH())&&(t.chatSidebar=n.first),e.iGM(n=e.CRH())&&(t.userSidebar=n.first)}},decls:2,vars:1,consts:[[4,"ngFor","ngForOf"]],template:function(i,t){1&i&&(e._UZ(0,"app-chat-list"),e.YNc(1,m4,3,3,"div",0)),2&i&&(e.xp6(1),e.Q6J("ngForOf",t.sub.events))},dependencies:[F.sg,Sh,F.Ts],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 f4=["chatSidebar"],p4=["userSidebar"];class C_{constructor(i){this.appState=i,this.sidebarTitles={user:"",chat:""},this.open={me:this,userSideBar:function(t=""){this.me.userSidebar.open(),this.me.sidebarTitles.user=t},chatSideBar:function(t=""){this.me.chatSidebar.open(),this.me.userSidebar.close(),this.me.sidebarTitles.chat=t}}}ngOnInit(){var i=this;return(0,ve.Z)(function*(){i.appState.updateTitle("@Milad"),i.appState.goBack=!0,i.appState.showBackButton=!0,i.appState.actions=[]})()}}function g4(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.Oqu(t.relay.nip11.name)}}function _4(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.Oqu(t.relay.url.substring(6))}}function b4(r,i){1&r&&(e.TgZ(0,"mat-icon",15),e._uU(1,"edit_note"),e.qZA())}function y4(r,i){1&r&&(e.TgZ(0,"mat-icon",15),e._uU(1,"edit_off"),e.qZA())}function v4(r,i){1&r&&(e.TgZ(0,"mat-icon",15),e._uU(1,"edit"),e.qZA())}function w4(r,i){1&r&&(e.TgZ(0,"mat-icon",16),e._uU(1,"cloud_off"),e.qZA())}C_.\u0275fac=function(i){return new(i||C_)(e.Y36(ce.i))},C_.\u0275cmp=e.Xpm({type:C_,selectors:[["app-message"]],viewQuery:function(i,t){if(1&i&&(e.Gf(f4,5),e.Gf(p4,5)),2&i){let n;e.iGM(n=e.CRH())&&(t.chatSidebar=n.first),e.iGM(n=e.CRH())&&(t.userSidebar=n.first)}},decls:1,vars:0,template:function(i,t){1&i&&e._UZ(0,"app-chat-detail")},dependencies:[xf],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 JD=function(r){return[r]};function x4(r,i){if(1&r&&(e.TgZ(0,"mat-icon",17),e._uU(1,"cloud_done"),e.qZA()),2&r){const t=e.oxw();e.Q6J("ngClass",e.VKq(1,JD,"relay-status-"+t.relay.status))}}function F4(r,i){if(1&r&&(e.TgZ(0,"mat-icon",17),e._uU(1,"cloud"),e.qZA()),2&r){const t=e.oxw();e.Q6J("ngClass",e.VKq(1,JD,"relay-status-"+t.relay.status))}}function C4(r,i){1&r&&(e.TgZ(0,"mat-icon",15),e._uU(1,"public"),e.qZA())}function k4(r,i){1&r&&(e.TgZ(0,"mat-icon",15),e._uU(1,"public_off"),e.qZA())}function D4(r,i){if(1&r&&(e.TgZ(0,"div",18),e._uU(1),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.Oqu(t.relay.error)}}function M4(r,i){if(1&r&&(e.TgZ(0,"h2"),e._uU(1),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Oqu(null==t.relay.nip11?null:t.relay.nip11.name)}}const E4=function(r){return["/p",r]};function T4(r,i){if(1&r&&(e.TgZ(0,"span")(1,"a",20),e._uU(2,"Administrator"),e.qZA(),e._UZ(3,"br"),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("routerLink",e.VKq(1,E4,t.relay.nip11.pubkey))}}function A4(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e._UZ(2,"br"),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.hij("Contact: ",t.relay.nip11.contact,"")}}function S4(r,i){if(1&r&&(e.TgZ(0,"div"),e.YNc(1,M4,2,1,"h2",2),e._uU(2),e._UZ(3,"br")(4,"br"),e.TgZ(5,"span",9),e.YNc(6,T4,4,3,"span",2),e.YNc(7,A4,3,1,"span",2),e._uU(8),e._UZ(9,"br"),e._uU(10),e._UZ(11,"br"),e.TgZ(12,"span",19),e._uU(13),e.qZA()()()),2&r){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",null==t.relay.nip11?null:t.relay.nip11.name),e.xp6(1),e.hij(" ",t.relay.nip11.description,""),e.xp6(4),e.Q6J("ngIf",t.relay.nip11.pubkey),e.xp6(1),e.Q6J("ngIf",t.relay.nip11.contact),e.xp6(1),e.hij(" NIPs: ",t.relay.nip11.supported_nips,""),e.xp6(2),e.AsE(" Software: ",t.relay.nip11.software," (",t.relay.nip11.version,")"),e.xp6(3),e.hij(" ID: ",t.relay.nip11.pubkey,"")}}function I4(r,i){if(1&r&&(e.TgZ(0,"div",9),e._uU(1),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.hij("Timeouts: ",t.relay.timeouts,"")}}function O4(r,i){if(1&r&&(e.TgZ(0,"div",9),e._uU(1),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.hij("Events: ",t.relay.eventcount,"")}}function N4(r,i){if(1&r&&(e.TgZ(0,"mat-list-option",21)(1,"mat-icon",22),e._uU(2),e.qZA(),e.TgZ(3,"span",23),e._uU(4),e.qZA(),e.TgZ(5,"span",24),e._uU(6),e.qZA()()),2&r){const t=i.$implicit,n=e.oxw();e.Q6J("selected",n.relay.type==t.type)("value",t.type),e.xp6(2),e.Oqu(t.icon),e.xp6(2),e.Oqu(t.title),e.xp6(2),e.Oqu(t.description)}}function L4(r,i){if(1&r&&(e.TgZ(0,"mat-list-option",21)(1,"mat-icon",22),e._uU(2),e.qZA(),e.TgZ(3,"span",23),e._uU(4),e.qZA(),e.TgZ(5,"span",24),e._uU(6),e.qZA()()),2&r){const t=i.$implicit,n=e.oxw();e.Q6J("selected",n.relay.enabled==t.type)("value",t.type),e.xp6(2),e.Oqu(t.icon),e.xp6(2),e.Oqu(t.title),e.xp6(2),e.Oqu(t.description)}}function R4(r,i){if(1&r&&(e.TgZ(0,"mat-list-option",21)(1,"mat-icon",22),e._uU(2),e.qZA(),e.TgZ(3,"span",23),e._uU(4),e.qZA(),e.TgZ(5,"span",24),e._uU(6),e.qZA()()),2&r){const t=i.$implicit,n=e.oxw();e.Q6J("selected",n.relay.public==t.type)("value",t.type),e.xp6(2),e.Oqu(t.icon),e.xp6(2),e.Oqu(t.title),e.xp6(2),e.Oqu(t.description)}}const KD=function(r){return{"primary-relay":r}};class k_{constructor(i,t){this.optionsService=i,this.relayService=t,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(i){var t=this;return(0,ve.Z)(function*(){console.log("onRelayTypeChange",i.options[0].value),t.relay.type=i.options[0].value,console.log("SAVING:",t.relay),yield t.relayService.setRelayType(t.relay.url,t.relay.type),!t.relay.enabled||t.relay.type>2?t.relayService.terminate(t.relay.url):t.relayService.createRelayWorker(t.relay.url)})()}onRelayPublicChange(i){var t=this;return(0,ve.Z)(function*(){console.log("onRelayPublicChange",i.options[0].value),t.relay.public=i.options[0].value,console.log("SAVING:",t.relay),yield t.relayService.setRelayPublic(t.relay.url,t.relay.public)})()}onRelayStatusChange(i){var t=this;return(0,ve.Z)(function*(){console.log("onRelayStatusChange",i.options[0].value),t.relay.enabled=i.options[0].value,console.log("SAVING:",t.relay),yield t.relayService.setRelayEnabled(t.relay.url,t.relay.enabled),t.relay.enabled||t.relay.type>2?t.relayService.createRelayWorker(t.relay.url):t.relayService.terminate(t.relay.url)})()}onRelayChanged(i){return(0,ve.Z)(function*(){})()}primaryRelay(i){var t=this;return(0,ve.Z)(function*(){t.optionsService.values.primaryRelay=i.url,t.optionsService.save()})()}deleteRelay(i){var t=this;return(0,ve.Z)(function*(){yield t.relayService.deleteRelay(i.url)})()}relayFavIcon(i){return i.replace("wss://","https://")+"/favicon.ico"}}function P4(r,i){1&r&&e._UZ(0,"app-relay",2),2&r&&e.Q6J("relay",i.$implicit)}k_.\u0275fac=function(i){return new(i||k_)(e.Y36(Rr.I),e.Y36(Sa))},k_.\u0275cmp=e.Xpm({type:k_,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(i,t){1&i&&(e.TgZ(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-panel-title",0),e._UZ(3,"img",1),e.YNc(4,g4,2,1,"span",2),e.YNc(5,_4,2,1,"span",2),e.qZA(),e.TgZ(6,"mat-panel-description")(7,"span",3),e._uU(8),e.qZA(),e.TgZ(9,"div"),e.YNc(10,b4,2,0,"mat-icon",4),e.YNc(11,y4,2,0,"mat-icon",4),e.YNc(12,v4,2,0,"mat-icon",4),e.YNc(13,w4,2,0,"mat-icon",5),e.YNc(14,x4,2,3,"mat-icon",6),e.YNc(15,F4,2,3,"mat-icon",6),e.YNc(16,C4,2,0,"mat-icon",4),e.YNc(17,k4,2,0,"mat-icon",4),e.qZA()()(),e.YNc(18,D4,2,1,"div",7),e.YNc(19,S4,14,8,"div",2),e._UZ(20,"br"),e.YNc(21,I4,2,1,"div",8),e.YNc(22,O4,2,1,"div",8),e.TgZ(23,"div",9),e._uU(24),e.qZA(),e.TgZ(25,"mat-card",10)(26,"mat-card-header")(27,"mat-card-title"),e._uU(28,"Relay Options"),e.qZA()(),e.TgZ(29,"mat-card-content")(30,"mat-selection-list",11),e.NdJ("selectionChange",function(a){return t.onRelayTypeChange(a)}),e.YNc(31,N4,7,5,"mat-list-option",12),e.qZA()()(),e.TgZ(32,"mat-card",10)(33,"mat-card-header")(34,"mat-card-title"),e._uU(35,"Relay Status"),e.qZA(),e.TgZ(36,"mat-card-subtitle"),e._uU(37,"Allows you to disable a relay locally."),e.qZA()(),e.TgZ(38,"mat-card-content")(39,"mat-selection-list",11),e.NdJ("selectionChange",function(a){return t.onRelayStatusChange(a)}),e.YNc(40,L4,7,5,"mat-list-option",12),e.qZA()()(),e.TgZ(41,"mat-card",10)(42,"mat-card-header")(43,"mat-card-title"),e._uU(44,"Relay Privacy"),e.qZA()(),e.TgZ(45,"mat-card-content")(46,"mat-selection-list",11),e.NdJ("selectionChange",function(a){return t.onRelayPublicChange(a)}),e.YNc(47,R4,7,5,"mat-list-option",12),e.qZA()()(),e.TgZ(48,"button",13),e.NdJ("click",function(){return t.primaryRelay(t.relay)}),e._uU(49,"Primary Relay"),e.qZA(),e._uU(50,"\xa0 "),e.TgZ(51,"button",14),e.NdJ("click",function(){return t.deleteRelay(t.relay)}),e._uU(52,"Delete"),e.qZA()()),2&i&&(e.xp6(2),e.Q6J("ngClass",e.VKq(26,KD,t.optionsService.values.primaryRelay==t.relay.url)),e.xp6(1),e.Q6J("src",t.relayFavIcon(t.relay.url),e.LSH),e.xp6(1),e.Q6J("ngIf",t.relay.nip11),e.xp6(1),e.Q6J("ngIf",!t.relay.nip11),e.xp6(2),e.Q6J("ngClass",e.VKq(28,KD,t.optionsService.values.primaryRelay==t.relay.url)),e.xp6(1),e.Oqu(t.relay.url),e.xp6(2),e.Q6J("ngIf",1===t.relay.type),e.xp6(1),e.Q6J("ngIf",2===t.relay.type),e.xp6(1),e.Q6J("ngIf",3===t.relay.type),e.xp6(1),e.Q6J("ngIf",!t.relay.enabled),e.xp6(1),e.Q6J("ngIf",t.relay.enabled&&1==t.relay.status),e.xp6(1),e.Q6J("ngIf",t.relay.enabled&&1!==t.relay.status),e.xp6(1),e.Q6J("ngIf",!0===t.relay.public),e.xp6(1),e.Q6J("ngIf",!1===t.relay.public),e.xp6(1),e.Q6J("ngIf",t.relay.error),e.xp6(1),e.Q6J("ngIf",t.relay.nip11),e.xp6(2),e.Q6J("ngIf",t.relay.timeouts),e.xp6(1),e.Q6J("ngIf",t.relay.eventcount),e.xp6(2),e.hij("Status: ",t.relay.status,""),e.xp6(6),e.Q6J("multiple",!1),e.xp6(1),e.Q6J("ngForOf",t.typesOfRelays),e.xp6(8),e.Q6J("multiple",!1),e.xp6(1),e.Q6J("ngForOf",t.typesOfStatus),e.xp6(6),e.Q6J("multiple",!1),e.xp6(1),e.Q6J("ngForOf",t.typesOfPrivacy),e.xp6(1),e.Q6J("disabled",!t.relay.public||t.optionsService.values.primaryRelay==t.relay.url))},dependencies:[F.mk,F.sg,F.O5,Ht.rH,Mt.lW,Ia,Ns,sh,oh,Bm,ar,AD,TD,zF,Zy,Vy,Yn.ib,Yn.yz,Yn.yK,Yn.u4],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 Ff{constructor(){}ngOnInit(){}trackByFn(i,t){return`${t.url}${t.modified}`}}Ff.\u0275fac=function(i){return new(i||Ff)},Ff.\u0275cmp=e.Xpm({type:Ff,selectors:[["app-relays"]],inputs:{relays:"relays"},decls:2,vars:2,consts:[["multi",""],["ngFor","",3,"ngForOf","ngForTrackBy"],[3,"relay"]],template:function(i,t){1&i&&(e.TgZ(0,"mat-accordion",0),e.YNc(1,P4,1,1,"ng-template",1),e.qZA()),2&i&&(e.xp6(1),e.Q6J("ngForOf",t.relays)("ngForTrackBy",t.trackByFn))},dependencies:[F.sg,Yn.pp,k_]});class D_{constructor(i,t,n,a){this.nostr=i,this.dataService=t,this.appState=n,this.relayService=a}ngOnInit(){this.appState.updateTitle("Development & Debug")}database(){return(0,ve.Z)(function*(){})()}databaseWorker(){console.log("Creating Worker...")}addRelays(){var i=this;return(0,ve.Z)(function*(){i.relayService.appendRelays(i.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()}}D_.\u0275fac=function(i){return new(i||D_)(e.Y36(ps),e.Y36(Wr),e.Y36(ce.i),e.Y36(Sa))},D_.\u0275cmp=e.Xpm({type:D_,selectors:[["app-development"]],decls:20,vars:1,consts:[[1,"page"],["mat-stroked-button","",3,"click"],[3,"relays"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0)(1,"p"),e._uU(2,"This page act as examples for more specialized implementation details of the app."),e.qZA(),e.TgZ(3,"button",1),e.NdJ("click",function(){return t.downloadProfile()}),e._uU(4,"Enque Profile Download"),e.qZA(),e.TgZ(5,"button",1),e.NdJ("click",function(){return t.database()}),e._uU(6,"Create Database"),e.qZA(),e.TgZ(7,"button",1),e.NdJ("click",function(){return t.databaseWorker()}),e._uU(8,"Create Database in Worker"),e.qZA(),e.TgZ(9,"button",1),e.NdJ("click",function(){return t.addRelays()}),e._uU(10,"Add Relays"),e.qZA(),e.TgZ(11,"button",1),e.NdJ("click",function(){return t.subscription()}),e._uU(12,"Create Subscription"),e.qZA(),e.TgZ(13,"button",1),e.NdJ("click",function(){return t.unsubscribe()}),e._uU(14,"Remove Subscription"),e.qZA(),e.TgZ(15,"button",1),e.NdJ("click",function(){return t.terminate()}),e._uU(16,"Terminate a single Web Worker"),e.qZA(),e._UZ(17,"br")(18,"br")(19,"app-relays",2),e.qZA()),2&i&&(e.xp6(19),e.Q6J("relays",t.relayService.items))},dependencies:[Mt.lW,Ff],styles:["button[_ngcontent-%COMP%]{margin-right:.2em;margin-top:.2em}"]});var Pr=y(6826);const B4=function(r){return{"notification-message-seen":r}};function Y4(r,i){if(1&r&&(e.TgZ(0,"mat-card",7)(1,"mat-card-content")(2,"div",8)(3,"div",9),e._UZ(4,"app-notification-label",10),e.qZA(),e.TgZ(5,"div",11),e._UZ(6,"app-date",12),e.qZA()()()()),2&r){const t=i.$implicit;e.xp6(3),e.Q6J("ngClass",e.VKq(3,B4,t.seen)),e.xp6(1),e.Q6J("notification",t),e.xp6(2),e.Q6J("date",t.created)}}class M_{constructor(i,t,n,a,l,v){this.navigation=i,this.utilities=t,this.db=n,this.relayService=a,this.ui=l,this.appState=v,this.subscriptions=[],this.offset=0,this.pageSize=12}ngOnInit(){var i=this;return(0,ve.Z)(function*(){i.appState.updateTitle("Notifications"),i.appState.showBackButton=!1,i.appState.actions=[];const t=yield i.db.storage.getNotifications(100);i.ui.putNotifications(t),i.subscriptions.push(i.navigation.showMore$.subscribe(()=>{i.showMore()}))})()}showMore(){var i=this;return(0,ve.Z)(function*(){let t=yield i.db.storage.db.transaction("notifications").store.index("created").openCursor(void 0,"prev");i.offset>0&&(t=yield t?.advance(i.offset));for(let n=0;n{i.showMore()}))});return function(n){return t.apply(this,arguments)}}()))})()}}Cf.\u0275fac=function(i){return new(i||Cf)(e.Y36(Gr),e.Y36(Ht.gz),e.Y36(Fi),e.Y36(ra),e.Y36(ce.i),e.Y36(e.sBO),e.Y36(Rr.I),e.Y36(Bn),e.Y36(vr.Y),e.Y36(Pi.dU),e.Y36(Ht.F0),e.Y36(ke.Yg),e.Y36(ko.ux),e.Y36(e.R0b))},Cf.\u0275cmp=e.Xpm({type:Cf,selectors:[["app-feed-private"]],decls:2,vars:3,consts:[["class","","infiniteScroll","",3,"scrollAction",4,"ngIf"],["infiniteScroll","",1,"",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(i,t){1&i&&(e.YNc(0,U4,13,3,"div",0),e.ALo(1,"async")),2&i&&e.Q6J("ngIf",e.lcZ(1,1,t.ui.feedEventsView$))},dependencies:[F.sg,F.O5,Mt.lW,Ia,Yn.pp,Yn.ib,Yn.yz,Yn.yK,Yn.u4,as,vo,Ps,id,ss,F.Ov,ls],styles:[".loading-container[_ngcontent-%COMP%]{text-align:center}.loading[_ngcontent-%COMP%]{margin:auto}"]});var $i=(()=>{return(r=$i||($i={}))[r.QR_CODE=0]="QR_CODE",r[r.AZTEC=1]="AZTEC",r[r.CODABAR=2]="CODABAR",r[r.CODE_39=3]="CODE_39",r[r.CODE_93=4]="CODE_93",r[r.CODE_128=5]="CODE_128",r[r.DATA_MATRIX=6]="DATA_MATRIX",r[r.MAXICODE=7]="MAXICODE",r[r.ITF=8]="ITF",r[r.EAN_13=9]="EAN_13",r[r.EAN_8=10]="EAN_8",r[r.PDF_417=11]="PDF_417",r[r.RSS_14=12]="RSS_14",r[r.RSS_EXPANDED=13]="RSS_EXPANDED",r[r.UPC_A=14]="UPC_A",r[r.UPC_E=15]="UPC_E",r[r.UPC_EAN_EXTENSION=16]="UPC_EAN_EXTENSION",$i;var r})(),$D=new Map([[$i.QR_CODE,"QR_CODE"],[$i.AZTEC,"AZTEC"],[$i.CODABAR,"CODABAR"],[$i.CODE_39,"CODE_39"],[$i.CODE_93,"CODE_93"],[$i.CODE_128,"CODE_128"],[$i.DATA_MATRIX,"DATA_MATRIX"],[$i.MAXICODE,"MAXICODE"],[$i.ITF,"ITF"],[$i.EAN_13,"EAN_13"],[$i.EAN_8,"EAN_8"],[$i.PDF_417,"PDF_417"],[$i.RSS_14,"RSS_14"],[$i.RSS_EXPANDED,"RSS_EXPANDED"],[$i.UPC_A,"UPC_A"],[$i.UPC_E,"UPC_E"],[$i.UPC_EAN_EXTENSION,"UPC_EAN_EXTENSION"]]);function j4(r){return Object.values($i).includes(r)}var ld=(()=>{return(r=ld||(ld={}))[r.SCAN_TYPE_CAMERA=0]="SCAN_TYPE_CAMERA",r[r.SCAN_TYPE_FILE=1]="SCAN_TYPE_FILE",ld;var r})(),Vl=function(){function r(){}return r.GITHUB_PROJECT_URL="https://github.com/mebjas/html5-qrcode",r.SCAN_DEFAULT_FPS=2,r.DEFAULT_DISABLE_FLIP=!1,r.DEFAULT_REMEMBER_LAST_CAMERA_USED=!0,r.DEFAULT_SUPPORTED_SCAN_TYPE=[ld.SCAN_TYPE_CAMERA,ld.SCAN_TYPE_FILE],r}(),XD=function(){function r(i,t){this.format=i,this.formatName=t}return r.prototype.toString=function(){return this.formatName},r.create=function(i){if(!$D.has(i))throw i+" not in html5QrcodeSupportedFormatsTextMap";return new r(i,$D.get(i))},r}(),eM=function(){function r(){}return r.createFromText=function(i){return{decodedText:i,result:{text:i}}},r.createFromQrcodeResult=function(i){return{decodedText:i.text,result:i}},r}(),Jy=(()=>{return(r=Jy||(Jy={}))[r.UNKWOWN_ERROR=0]="UNKWOWN_ERROR",r[r.IMPLEMENTATION_ERROR=1]="IMPLEMENTATION_ERROR",r[r.NO_CODE_FOUND_ERROR=2]="NO_CODE_FOUND_ERROR",Jy;var r})(),tM=function(){function r(){}return r.createFrom=function(i){return{errorMessage:i,type:Jy.UNKWOWN_ERROR}},r}(),iM=function(){function r(i){this.verbose=i}return r.prototype.log=function(i){this.verbose&&console.log(i)},r.prototype.warn=function(i){this.verbose&&console.warn(i)},r.prototype.logError=function(i,t){(this.verbose||!0===t)&&console.error(i)},r.prototype.logErrors=function(i){if(0===i.length)throw"Logger#logError called without arguments";this.verbose&&console.error(i)},r}();function bc(r){return typeof r>"u"||null===r}var r,E_=function(){function r(){}return r.codeParseError=function(i){return"QR code parse error, error = "+i},r.errorGettingUserMedia=function(i){return"Error getting userMedia, error = "+i},r.onlyDeviceSupportedError=function(){return"The device doesn't support navigator.mediaDevices , only supported cameraIdOrConfig in this case is deviceId parameter (string)."},r.cameraStreamingNotSupported=function(){return"Camera streaming not supported by the browser."},r.unableToQuerySupportedDevices=function(){return"Unable to query supported devices, unknown error."},r.insecureContextCameraQueryError=function(){return"Camera access is only supported in secure context like https or localhost."},r}(),Br=function(){function r(){}return r.scanningStatus=function(){return"Scanning"},r.idleStatus=function(){return"Idle"},r.errorStatus=function(){return"Error"},r.permissionStatus=function(){return"Permission"},r.noCameraFoundErrorStatus=function(){return"No Cameras"},r.lastMatch=function(i){return"Last Match: "+i},r.codeScannerTitle=function(){return"Code Scanner"},r.cameraPermissionTitle=function(){return"Request Camera Permissions"},r.cameraPermissionRequesting=function(){return"Requesting camera permissions..."},r.noCameraFound=function(){return"No camera found"},r.scanButtonStopScanningText=function(){return"Stop Scanning"},r.scanButtonStartScanningText=function(){return"Start Scanning"},r.torchOnButton=function(){return"Switch On Torch"},r.torchOffButton=function(){return"Switch Off Torch"},r.torchOnFailedMessage=function(){return"Failed to turn on torch"},r.torchOffFailedMessage=function(){return"Failed to turn off torch"},r.scanButtonScanningStarting=function(){return"Launching Camera..."},r.textIfCameraScanSelected=function(){return"Scan an Image File"},r.textIfFileScanSelected=function(){return"Scan using camera directly"},r.selectCamera=function(){return"Select Camera"},r.fileSelectionChooseImage=function(){return"Choose Image"},r.fileSelectionChooseAnother=function(){return"Choose Another"},r.fileSelectionNoImageSelected=function(){return"No image choosen"},r.anonymousCameraPrefix=function(){return"Anonymous Camera"},r.dragAndDropMessage=function(){return"Or drop an image to scan"},r.dragAndDropMessageOnlyImages=function(){return"Or drop an image to scan (other files not supported)"},r.zoom=function(){return"zoom"},r.loadingImage=function(){return"Loading image..."},r.cameraScanAltText=function(){return"Camera based scan"},r.fileScanAltText=function(){return"Fule based scan"},r}(),nM=function(){function r(){}return r.poweredBy=function(){return"Powered by "},r.reportIssues=function(){return"Report issues"},r}(),rM=function(){function r(){}return r.isMediaStreamConstraintsValid=function(i,t){if("object"!=typeof i)return t.logError("videoConstraints should be of type object, the object passed is of type "+typeof i+".",!0),!1;for(var l=new Set(["autoGainControl","channelCount","echoCancellation","latency","noiseSuppression","sampleRate","sampleSize","volume"]),I=0,W=Object.keys(i);I0&&l[l.length-1])&&(6===G[0]||2===G[0])){t=0;continue}if(3===G[0]&&(!l||G[1]>l[0]&&G[1]n&&(n=I,t=v)}if(!t)throw"No largest barcode found";return t},r.prototype.createBarcodeDetectorFormats=function(i){for(var t=[],n=0,a=i;n0&&l[l.length-1])&&(6===G[0]||2===G[0])){t=0;continue}if(3===G[0]&&(!l||G[1]>l[0]&&G[1]0&&l[l.length-1])&&(6===G[0]||2===G[0])){t=0;continue}if(3===G[0]&&(!l||G[1]>l[0]&&G[1]=l&&(i.isClosed=!0,i.parentElement.removeChild(i.surface),t())})})},r.prototype.getCapabilities=function(){return new J4(this.getFirstTrackOrFail())},r}(),$4=function(){function r(i){this.mediaStream=i}return r.prototype.render=function(i,t,n){return Ky(this,void 0,void 0,function(){return $y(this,function(a){return[2,K4.create(i,this.mediaStream,t,n)]})})},r.create=function(i){return Ky(this,void 0,void 0,function(){return $y(this,function(a){switch(a.label){case 0:if(!navigator.mediaDevices)throw"navigator.mediaDevices not supported";return[4,navigator.mediaDevices.getUserMedia({audio:!1,video:i})];case 1:return[2,new r(a.sent())]}})})},r}(),dM=function(r,i,t,n){return new(t||(t=Promise))(function(l,v){function I(ye){try{G(n.next(ye))}catch(Ge){v(Ge)}}function W(ye){try{G(n.throw(ye))}catch(Ge){v(Ge)}}function G(ye){ye.done?l(ye.value):function a(l){return l instanceof t?l:new t(function(v){v(l)})}(ye.value).then(I,W)}G((n=n.apply(r,i||[])).next())})},uM=function(r,i){var n,a,l,v,t={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]};return v={next:I(0),throw:I(1),return:I(2)},"function"==typeof Symbol&&(v[Symbol.iterator]=function(){return this}),v;function I(G){return function(ye){return function W(G){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,a&&(l=2&G[0]?a.return:G[0]?a.throw||((l=a.return)&&l.call(a),0):a.next)&&!(l=l.call(a,G[1])).done)return l;switch(a=0,l&&(G=[2&G[0],l.value]),G[0]){case 0:case 1:l=G;break;case 4:return t.label++,{value:G[1],done:!1};case 5:t.label++,a=G[1],G=[0];continue;case 7:G=t.ops.pop(),t.trys.pop();continue;default:if(!(l=(l=t.trys).length>0&&l[l.length-1])&&(6===G[0]||2===G[0])){t=0;continue}if(3===G[0]&&(!l||G[1]>l[0]&&G[1]0&&l[l.length-1])&&(6===G[0]||2===G[0])){t=0;continue}if(3===G[0]&&(!l||G[1]>l[0]&&G[1](function(r){r[r.UNKNOWN=0]="UNKNOWN",r[r.NOT_STARTED=1]="NOT_STARTED",r[r.SCANNING=2]="SCANNING",r[r.PAUSED=3]="PAUSED"}(Na||(Na={})),Na))(),nS=function(){function r(){this.state=Na.NOT_STARTED,this.onGoingTransactionNewState=Na.UNKNOWN}return r.prototype.directTransition=function(i){this.failIfTransitionOngoing(),this.validateTransition(i),this.state=i},r.prototype.startTransition=function(i){return this.failIfTransitionOngoing(),this.validateTransition(i),this.onGoingTransactionNewState=i,this},r.prototype.execute=function(){if(this.onGoingTransactionNewState===Na.UNKNOWN)throw"Transaction is already cancelled, cannot execute().";var i=this.onGoingTransactionNewState;this.onGoingTransactionNewState=Na.UNKNOWN,this.directTransition(i)},r.prototype.cancel=function(){if(this.onGoingTransactionNewState===Na.UNKNOWN)throw"Transaction is already cancelled, cannot cancel().";this.onGoingTransactionNewState=Na.UNKNOWN},r.prototype.getState=function(){return this.state},r.prototype.failIfTransitionOngoing=function(){if(this.onGoingTransactionNewState!==Na.UNKNOWN)throw"Cannot transition to a new state, already under transition"},r.prototype.validateTransition=function(i){switch(this.state){case Na.UNKNOWN:throw"Transition from unknown is not allowed";case Na.NOT_STARTED:this.failIfNewStateIs(i,[Na.PAUSED])}},r.prototype.failIfNewStateIs=function(i,t){for(var n=0,a=t;ni&&(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."),G=i),G)},r.prototype.validateQrboxConfig=function(i){if("number"!=typeof i&&"function"!=typeof i&&(void 0===i.width||void 0===i.height))throw"Invalid instance of QrDimensions passed for 'config.qrbox'. Both 'width' and 'height' should be set."},r.prototype.toQrdimensions=function(i,t,n){if("number"==typeof n)return{width:n,height:n};if("function"==typeof n)try{return n(i,t)}catch(a){throw new Error("qrbox config was passed as a function but it failed with unknown error"+a)}return n},r.prototype.setupUi=function(i,t,n){n.isShadedBoxEnabled()&&this.validateQrboxSize(i,t,n);var a=bc(n.qrbox)?{width:i,height:t}:n.qrbox;this.validateQrboxConfig(a);var l=this.toQrdimensions(i,t,a);l.height>t&&this.logger.warn("[Html5Qrcode] config.qrbox has height that isgreater than the height of the video stream. Shading will be ignored");var v=n.isShadedBoxEnabled()&&l.height<=t,I={x:0,y:0,width:i,height:t},W=v?this.getShadedRegionBounds(i,t,l):I,G=this.createCanvasElement(W.width,W.height),Ge=G.getContext("2d",{willReadFrequently:!0});Ge.canvas.width=W.width,Ge.canvas.height=W.height,this.element.append(G),v&&this.possiblyInsertShadingElement(this.element,i,t,l),this.createScannerPausedUiElement(this.element),this.qrRegion=W,this.context=Ge,this.canvasElement=G},r.prototype.createScannerPausedUiElement=function(i){var t=document.createElement("div");t.innerText="Scanner paused",t.style.display="none",t.style.position="absolute",t.style.top="0px",t.style.zIndex="1",t.style.background="yellow",t.style.textAlign="center",t.style.width="100%",i.appendChild(t),this.scannerPausedUiElement=t},r.prototype.scanContext=function(i,t){var n=this;return this.stateManagerProxy.isPaused()?Promise.resolve(!1):this.qrcode.decodeAsync(this.canvasElement).then(function(a){return i(a.text,eM.createFromQrcodeResult(a)),n.possiblyUpdateShaders(!0),!0}).catch(function(a){n.possiblyUpdateShaders(!1);var l=E_.codeParseError(a);return t(l,tM.createFrom(l)),!1})},r.prototype.foreverScan=function(i,t,n){var a=this;if(this.shouldScan&&this.renderedCamera){var l=this.renderedCamera.getSurface(),v=l.videoWidth/l.clientWidth,I=l.videoHeight/l.clientHeight;if(!this.qrRegion)throw"qrRegion undefined when localMediaStream is ready.";this.context.drawImage(l,this.qrRegion.x*v,this.qrRegion.y*I,this.qrRegion.width*v,this.qrRegion.height*I,0,0,this.qrRegion.width,this.qrRegion.height);var yt=function(){a.foreverScanTimeout=setTimeout(function(){a.foreverScan(i,t,n)},a.getTimeoutFps(i.fps))};this.scanContext(t,n).then(function(It){It||!0===i.disableFlip?yt():(a.context.translate(a.context.canvas.width,0),a.context.scale(-1,1),a.scanContext(t,n).finally(function(){yt()}))}).catch(function(It){a.logger.logError("Error happend while scanning context",It),yt()})}},r.prototype.createVideoConstraints=function(i){if("string"==typeof i)return{deviceId:{exact:i}};if("object"==typeof i){var t="facingMode",n="deviceId",a={user:!0,environment:!0},l="exact",v=function(Yt){if(Yt in a)return!0;throw"config has invalid 'facingMode' value = '"+Yt+"'"},I=Object.keys(i);if(1!==I.length)throw"'cameraIdOrConfig' object should have exactly 1 key, if passed as an object, found "+I.length+" keys";var W=Object.keys(i)[0];if(W!==t&&W!==n)throw"Only '"+t+"' and '"+n+"' are supported for 'cameraIdOrConfig'";if(W!==t){var Ge=i.deviceId;if("string"==typeof Ge)return{deviceId:Ge};if("object"==typeof Ge){if(l in Ge)return{deviceId:{exact:Ge[""+l]}};throw"'deviceId' should be string or object with exact as key."}throw"Invalid type of 'deviceId' = "+typeof Ge}var G=i.facingMode;if("string"==typeof G){if(v(G))return{facingMode:G}}else{if("object"!=typeof G)throw"Invalid type of 'facingMode' = "+typeof G;if(!(l in G))throw"'facingMode' should be string or object with exact as key.";if(v(G[""+l]))return{facingMode:{exact:G[""+l]}}}}throw"Invalid type of 'cameraIdOrConfig' = "+typeof i},r.prototype.computeCanvasDrawConfig=function(i,t,n,a){if(i<=n&&t<=a)return{x:(n-i)/2,y:(a-t)/2,width:i,height:t};var I=i,W=t;return i>n&&(t*=n/i,i=n),t>a&&(i*=a/t,t=a),this.logger.log("Image downsampled from "+I+"X"+W+" to "+i+"X"+t+"."),this.computeCanvasDrawConfig(i,t,n,a)},r.prototype.clearElement=function(){if(this.stateManagerProxy.isScanning())throw"Cannot clear while scan is ongoing, close it first.";var i=document.getElementById(this.elementId);i&&(i.innerHTML="")},r.prototype.possiblyUpdateShaders=function(i){this.qrMatch!==i&&(this.hasBorderShaders&&this.borderShaders&&this.borderShaders.length&&this.borderShaders.forEach(function(t){t.style.backgroundColor=i?Us.BORDER_SHADER_MATCH_COLOR:Us.BORDER_SHADER_DEFAULT_COLOR}),this.qrMatch=i)},r.prototype.possiblyCloseLastScanImageFile=function(){this.lastScanImageFile&&(URL.revokeObjectURL(this.lastScanImageFile),this.lastScanImageFile=null)},r.prototype.createCanvasElement=function(i,t,n){var a=i,l=t,v=document.createElement("canvas");return v.style.width=a+"px",v.style.height=l+"px",v.style.display="none",v.id=bc(n)?"qr-canvas":n,v},r.prototype.getShadedRegionBounds=function(i,t,n){if(n.width>i||n.height>t)throw"'config.qrbox' dimensions should not be greater than the dimensions of the root HTML element.";return{x:(i-n.width)/2,y:(t-n.height)/2,width:n.width,height:n.height}},r.prototype.possiblyInsertShadingElement=function(i,t,n,a){if(!(t-a.width<1||n-a.height<1)){var l=document.createElement("div");l.style.position="absolute";var v=(t-a.width)/2,I=(n-a.height)/2;if(l.style.borderLeft=v+"px solid rgba(0, 0, 0, 0.48)",l.style.borderRight=v+"px solid rgba(0, 0, 0, 0.48)",l.style.borderTop=I+"px solid rgba(0, 0, 0, 0.48)",l.style.borderBottom=I+"px solid rgba(0, 0, 0, 0.48)",l.style.boxSizing="border-box",l.style.top="0px",l.style.bottom="0px",l.style.left="0px",l.style.right="0px",l.id=""+Us.SHADED_REGION_ELEMENT_ID,t-a.width<11||n-a.height<11)this.hasBorderShaders=!1;else{this.insertShaderBorders(l,40,5,-5,null,0,!0),this.insertShaderBorders(l,40,5,-5,null,0,!1),this.insertShaderBorders(l,40,5,null,-5,0,!0),this.insertShaderBorders(l,40,5,null,-5,0,!1),this.insertShaderBorders(l,5,45,-5,null,-5,!0),this.insertShaderBorders(l,5,45,null,-5,-5,!0),this.insertShaderBorders(l,5,45,-5,null,-5,!1),this.insertShaderBorders(l,5,45,null,-5,-5,!1),this.hasBorderShaders=!0}i.append(l)}},r.prototype.insertShaderBorders=function(i,t,n,a,l,v,I){var W=document.createElement("div");W.style.position="absolute",W.style.backgroundColor=Us.BORDER_SHADER_DEFAULT_COLOR,W.style.width=t+"px",W.style.height=n+"px",null!==a&&(W.style.top=a+"px"),null!==l&&(W.style.bottom=l+"px"),I?W.style.left=v+"px":W.style.right=v+"px",this.borderShaders||(this.borderShaders=[]),this.borderShaders.push(W),i.appendChild(W)},r.prototype.showPausedState=function(){if(!this.scannerPausedUiElement)throw"[internal error] scanner paused UI element not found";this.scannerPausedUiElement.style.display="block"},r.prototype.hidePausedState=function(){if(!this.scannerPausedUiElement)throw"[internal error] scanner paused UI element not found";this.scannerPausedUiElement.style.display="none"},r.prototype.getTimeoutFps=function(i){return 1e3/i},r}(),nC="data:image/svg+xml;base64,",lS=nC+"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNzEuNjQzIDM3MS42NDMiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDM3MS42NDMgMzcxLjY0MyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZD0iTTEwNS4wODQgMzguMjcxaDE2My43Njh2MjBIMTA1LjA4NHoiLz48cGF0aCBkPSJNMzExLjU5NiAxOTAuMTg5Yy03LjQ0MS05LjM0Ny0xOC40MDMtMTYuMjA2LTMyLjc0My0yMC41MjJWMzBjMC0xNi41NDItMTMuNDU4LTMwLTMwLTMwSDEyNS4wODRjLTE2LjU0MiAwLTMwIDEzLjQ1OC0zMCAzMHYxMjAuMTQzaC04LjI5NmMtMTYuNTQyIDAtMzAgMTMuNDU4LTMwIDMwdjEuMzMzYTI5LjgwNCAyOS44MDQgMCAwIDAgNC42MDMgMTUuOTM5Yy03LjM0IDUuNDc0LTEyLjEwMyAxNC4yMjEtMTIuMTAzIDI0LjA2MXYxLjMzM2MwIDkuODQgNC43NjMgMTguNTg3IDEyLjEwMyAyNC4wNjJhMjkuODEgMjkuODEgMCAwIDAtNC42MDMgMTUuOTM4djEuMzMzYzAgMTYuNTQyIDEzLjQ1OCAzMCAzMCAzMGg4LjMyNGMuNDI3IDExLjYzMSA3LjUwMyAyMS41ODcgMTcuNTM0IDI2LjE3Ny45MzEgMTAuNTAzIDQuMDg0IDMwLjE4NyAxNC43NjggNDUuNTM3YTkuOTg4IDkuOTg4IDAgMCAwIDguMjE2IDQuMjg4IDkuOTU4IDkuOTU4IDAgMCAwIDUuNzA0LTEuNzkzYzQuNTMzLTMuMTU1IDUuNjUtOS4zODggMi40OTUtMTMuOTIxLTYuNzk4LTkuNzY3LTkuNjAyLTIyLjYwOC0xMC43Ni0zMS40aDgyLjY4NWMuMjcyLjQxNC41NDUuODE4LjgxNSAxLjIxIDMuMTQyIDQuNTQxIDkuMzcyIDUuNjc5IDEzLjkxMyAyLjUzNCA0LjU0Mi0zLjE0MiA1LjY3Ny05LjM3MSAyLjUzNS0xMy45MTMtMTEuOTE5LTE3LjIyOS04Ljc4Ny0zNS44ODQgOS41ODEtNTcuMDEyIDMuMDY3LTIuNjUyIDEyLjMwNy0xMS43MzIgMTEuMjE3LTI0LjAzMy0uODI4LTkuMzQzLTcuMTA5LTE3LjE5NC0xOC42NjktMjMuMzM3YTkuODU3IDkuODU3IDAgMCAwLTEuMDYxLS40ODZjLS40NjYtLjE4Mi0xMS40MDMtNC41NzktOS43NDEtMTUuNzA2IDEuMDA3LTYuNzM3IDE0Ljc2OC04LjI3MyAyMy43NjYtNy42NjYgMjMuMTU2IDEuNTY5IDM5LjY5OCA3LjgwMyA0Ny44MzYgMTguMDI2IDUuNzUyIDcuMjI1IDcuNjA3IDE2LjYyMyA1LjY3MyAyOC43MzMtLjQxMyAyLjU4NS0uODI0IDUuMjQxLTEuMjQ1IDcuOTU5LTUuNzU2IDM3LjE5NC0xMi45MTkgODMuNDgzLTQ5Ljg3IDExNC42NjEtNC4yMjEgMy41NjEtNC43NTYgOS44Ny0xLjE5NCAxNC4wOTJhOS45OCA5Ljk4IDAgMCAwIDcuNjQ4IDMuNTUxIDkuOTU1IDkuOTU1IDAgMCAwIDYuNDQ0LTIuMzU4YzQyLjY3Mi0zNi4wMDUgNTAuODAyLTg4LjUzMyA1Ni43MzctMTI2Ljg4OC40MTUtMi42ODQuODIxLTUuMzA5IDEuMjI5LTcuODYzIDIuODM0LTE3LjcyMS0uNDU1LTMyLjY0MS05Ljc3Mi00NC4zNDV6bS0yMzIuMzA4IDQyLjYyYy01LjUxNCAwLTEwLTQuNDg2LTEwLTEwdi0xLjMzM2MwLTUuNTE0IDQuNDg2LTEwIDEwLTEwaDE1djIxLjMzM2gtMTV6bS0yLjUtNTIuNjY2YzAtNS41MTQgNC40ODYtMTAgMTAtMTBoNy41djIxLjMzM2gtNy41Yy01LjUxNCAwLTEwLTQuNDg2LTEwLTEwdi0xLjMzM3ptMTcuNSA5My45OTloLTcuNWMtNS41MTQgMC0xMC00LjQ4Ni0xMC0xMHYtMS4zMzNjMC01LjUxNCA0LjQ4Ni0xMCAxMC0xMGg3LjV2MjEuMzMzem0zMC43OTYgMjguODg3Yy01LjUxNCAwLTEwLTQuNDg2LTEwLTEwdi04LjI3MWg5MS40NTdjLS44NTEgNi42NjgtLjQzNyAxMi43ODcuNzMxIDE4LjI3MWgtODIuMTg4em03OS40ODItMTEzLjY5OGMtMy4xMjQgMjAuOTA2IDEyLjQyNyAzMy4xODQgMjEuNjI1IDM3LjA0IDUuNDQxIDIuOTY4IDcuNTUxIDUuNjQ3IDcuNzAxIDcuMTg4LjIxIDIuMTUtMi41NTMgNS42ODQtNC40NzcgNy4yNTEtLjQ4Mi4zNzgtLjkyOS44LTEuMzM1IDEuMjYxLTYuOTg3IDcuOTM2LTExLjk4MiAxNS41Mi0xNS40MzIgMjIuNjg4aC05Ny41NjRWMzBjMC01LjUxNCA0LjQ4Ni0xMCAxMC0xMGgxMjMuNzY5YzUuNTE0IDAgMTAgNC40ODYgMTAgMTB2MTM1LjU3OWMtMy4wMzItLjM4MS02LjE1LS42OTQtOS4zODktLjkxNC0yNS4xNTktMS42OTQtNDIuMzcgNy43NDgtNDQuODk4IDI0LjY2NnoiLz48cGF0aCBkPSJNMTc5LjEyOSA4My4xNjdoLTI0LjA2YTUgNSAwIDAgMC01IDV2MjQuMDYxYTUgNSAwIDAgMCA1IDVoMjQuMDZhNSA1IDAgMCAwIDUtNVY4OC4xNjdhNSA1IDAgMCAwLTUtNXpNMTcyLjYyOSAxNDIuODZoLTEyLjU2VjEzMC44YTUgNSAwIDEgMC0xMCAwdjE3LjA2MWE1IDUgMCAwIDAgNSA1aDE3LjU2YTUgNSAwIDEgMCAwLTEwLjAwMXpNMjE2LjU2OCA4My4xNjdoLTI0LjA2YTUgNSAwIDAgMC01IDV2MjQuMDYxYTUgNSAwIDAgMCA1IDVoMjQuMDZhNSA1IDAgMCAwIDUtNVY4OC4xNjdhNSA1IDAgMCAwLTUtNXptLTUgMjQuMDYxaC0xNC4wNlY5My4xNjdoMTQuMDZ2MTQuMDYxek0yMTEuNjY5IDEyNS45MzZIMTk3LjQxYTUgNSAwIDAgMC01IDV2MTQuMjU3YTUgNSAwIDAgMCA1IDVoMTQuMjU5YTUgNSAwIDAgMCA1LTV2LTE0LjI1N2E1IDUgMCAwIDAtNS01eiIvPjwvc3ZnPg==",cS=nC+"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1OS4wMTggNTkuMDE4IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1OS4wMTggNTkuMDE4IiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBkPSJtNTguNzQxIDU0LjgwOS01Ljk2OS02LjI0NGExMC43NCAxMC43NCAwIDAgMCAyLjgyLTcuMjVjMC01Ljk1My00Ljg0My0xMC43OTYtMTAuNzk2LTEwLjc5NlMzNCAzNS4zNjEgMzQgNDEuMzE0IDM4Ljg0MyA1Mi4xMSA0NC43OTYgNTIuMTFjMi40NDEgMCA0LjY4OC0uODI0IDYuNDk5LTIuMTk2bDYuMDAxIDYuMjc3YS45OTguOTk4IDAgMCAwIDEuNDE0LjAzMiAxIDEgMCAwIDAgLjAzMS0xLjQxNHpNMzYgNDEuMzE0YzAtNC44NSAzLjk0Ni04Ljc5NiA4Ljc5Ni04Ljc5NnM4Ljc5NiAzLjk0NiA4Ljc5NiA4Ljc5Ni0zLjk0NiA4Ljc5Ni04Ljc5NiA4Ljc5NlMzNiA0Ni4xNjQgMzYgNDEuMzE0ek0xMC40MzEgMTYuMDg4YzAgMy4wNyAyLjQ5OCA1LjU2OCA1LjU2OSA1LjU2OHM1LjU2OS0yLjQ5OCA1LjU2OS01LjU2OGMwLTMuMDcxLTIuNDk4LTUuNTY5LTUuNTY5LTUuNTY5cy01LjU2OSAyLjQ5OC01LjU2OSA1LjU2OXptOS4xMzggMGMwIDEuOTY4LTEuNjAyIDMuNTY4LTMuNTY5IDMuNTY4cy0zLjU2OS0xLjYwMS0zLjU2OS0zLjU2OCAxLjYwMi0zLjU2OSAzLjU2OS0zLjU2OSAzLjU2OSAxLjYwMSAzLjU2OSAzLjU2OXoiLz48cGF0aCBkPSJtMzAuODgyIDI4Ljk4NyA5LjE4LTEwLjA1NCAxMS4yNjIgMTAuMzIzYTEgMSAwIDAgMCAxLjM1MS0xLjQ3NWwtMTItMTFhMSAxIDAgMCAwLTEuNDE0LjA2M2wtOS43OTQgMTAuNzI3LTQuNzQzLTQuNzQzYTEuMDAzIDEuMDAzIDAgMCAwLTEuMzY4LS4wNDRMNi4zMzkgMzcuNzY4YTEgMSAwIDEgMCAxLjMyMiAxLjUwMWwxNi4zMTMtMTQuMzYyIDcuMzE5IDcuMzE4YS45OTkuOTk5IDAgMSAwIDEuNDE0LTEuNDE0bC0xLjgyNS0xLjgyNHoiLz48cGF0aCBkPSJNMzAgNDYuNTE4SDJ2LTQyaDU0djI4YTEgMSAwIDEgMCAyIDB2LTI5YTEgMSAwIDAgMC0xLTFIMWExIDEgMCAwIDAtMSAxdjQ0YTEgMSAwIDAgMCAxIDFoMjlhMSAxIDAgMSAwIDAtMnoiLz48L3N2Zz4=",hM=nC+"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NjAgNDYwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0NjAgNDYwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBkPSJNMjMwIDBDMTAyLjk3NSAwIDAgMTAyLjk3NSAwIDIzMHMxMDIuOTc1IDIzMCAyMzAgMjMwIDIzMC0xMDIuOTc0IDIzMC0yMzBTMzU3LjAyNSAwIDIzMCAwem0zOC4zMzMgMzc3LjM2YzAgOC42NzYtNy4wMzQgMTUuNzEtMTUuNzEgMTUuNzFoLTQzLjEwMWMtOC42NzYgMC0xNS43MS03LjAzNC0xNS43MS0xNS43MVYyMDIuNDc3YzAtOC42NzYgNy4wMzMtMTUuNzEgMTUuNzEtMTUuNzFoNDMuMTAxYzguNjc2IDAgMTUuNzEgNy4wMzMgMTUuNzEgMTUuNzFWMzc3LjM2ek0yMzAgMTU3Yy0yMS41MzkgMC0zOS0xNy40NjEtMzktMzlzMTcuNDYxLTM5IDM5LTM5IDM5IDE3LjQ2MSAzOSAzOS0xNy40NjEgMzktMzkgMzl6Ii8+PC9zdmc+",mM=function(){function r(){}return r.createDefault=function(){return{hasPermission:!1,lastUsedCameraId:null}},r}(),uS=function(){function r(){this.data=mM.createDefault();var i=localStorage.getItem(r.LOCAL_STORAGE_KEY);i?this.data=JSON.parse(i):this.reset()}return r.prototype.hasCameraPermissions=function(){return this.data.hasPermission},r.prototype.getLastUsedCameraId=function(){return this.data.lastUsedCameraId},r.prototype.setHasPermission=function(i){this.data.hasPermission=i,this.flush()},r.prototype.setLastUsedCameraId=function(i){this.data.lastUsedCameraId=i,this.flush()},r.prototype.resetLastUsedCameraId=function(){this.data.lastUsedCameraId=null,this.flush()},r.prototype.reset=function(){this.data=mM.createDefault(),this.flush()},r.prototype.flush=function(){localStorage.setItem(r.LOCAL_STORAGE_KEY,JSON.stringify(this.data))},r.LOCAL_STORAGE_KEY="HTML5_QRCODE_DATA",r}(),hS=function(){function r(){this.infoDiv=document.createElement("div")}return r.prototype.renderInto=function(i){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=nM.poweredBy();var t=document.createElement("a");t.innerText="ScanApp",t.href="https://scanapp.org",t.target="new",t.style.color="white",this.infoDiv.appendChild(t);var n=document.createElement("br"),a=document.createElement("br");this.infoDiv.appendChild(n),this.infoDiv.appendChild(a);var l=document.createElement("a");l.innerText=nM.reportIssues(),l.href="https://github.com/mebjas/html5-qrcode/issues",l.target="new",l.style.color="white",this.infoDiv.appendChild(l),i.appendChild(this.infoDiv)},r.prototype.show=function(){this.infoDiv.style.display="block"},r.prototype.hide=function(){this.infoDiv.style.display="none"},r}(),mS=function(){function r(i,t){this.isShowingInfoIcon=!0,this.onTapIn=i,this.onTapOut=t,this.infoIcon=document.createElement("img")}return r.prototype.renderInto=function(i){var t=this;this.infoIcon.alt="Info icon",this.infoIcon.src=hM,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 t.onHoverIn()},this.infoIcon.onmouseout=function(n){return t.onHoverOut()},this.infoIcon.onclick=function(n){return t.onClick()},i.appendChild(this.infoIcon)},r.prototype.onHoverIn=function(){this.isShowingInfoIcon&&(this.infoIcon.style.opacity="1")},r.prototype.onHoverOut=function(){this.isShowingInfoIcon&&(this.infoIcon.style.opacity="0.6")},r.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=hM,this.infoIcon.style.opacity="0.6")},r}(),fS=function(){function r(){var i=this;this.infoDiv=new hS,this.infoIcon=new mS(function(){i.infoDiv.show()},function(){i.infoDiv.hide()})}return r.prototype.renderInto=function(i){this.infoDiv.renderInto(i),this.infoIcon.renderInto(i)},r}(),fM=function(){function r(){}return r.hasPermissions=function(){return function(r,i,t,n){return new(t||(t=Promise))(function(l,v){function I(ye){try{G(n.next(ye))}catch(Ge){v(Ge)}}function W(ye){try{G(n.throw(ye))}catch(Ge){v(Ge)}}function G(ye){ye.done?l(ye.value):function a(l){return l instanceof t?l:new t(function(v){v(l)})}(ye.value).then(I,W)}G((n=n.apply(r,i||[])).next())})}(this,void 0,void 0,function(){var i,t,n,a;return function(r,i){var n,a,l,v,t={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]};return v={next:I(0),throw:I(1),return:I(2)},"function"==typeof Symbol&&(v[Symbol.iterator]=function(){return this}),v;function I(G){return function(ye){return function W(G){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,a&&(l=2&G[0]?a.return:G[0]?a.throw||((l=a.return)&&l.call(a),0):a.next)&&!(l=l.call(a,G[1])).done)return l;switch(a=0,l&&(G=[2&G[0],l.value]),G[0]){case 0:case 1:l=G;break;case 4:return t.label++,{value:G[1],done:!1};case 5:t.label++,a=G[1],G=[0];continue;case 7:G=t.ops.pop(),t.trys.pop();continue;default:if(!(l=(l=t.trys).length>0&&l[l.length-1])&&(6===G[0]||2===G[0])){t=0;continue}if(3===G[0]&&(!l||G[1]>l[0]&&G[1]1},r.prototype.isCameraScanRequired=function(){for(var i=0,t=this.supportedScanTypes;it)throw"Max "+t+" values expected for supportedScanTypes";for(var n=0,a=i;n0&&l[l.length-1])&&(6===G[0]||2===G[0])){t=0;continue}if(3===G[0]&&(!l||G[1]>l[0]&&G[1]20){var n=i.substring(0,8),a=i.length,l=i.substring(a-8,a);i=n+"...."+l}var v=Br.fileSelectionChooseAnother()+" - "+i;this.fileSelectionButton.innerText=v},r.prototype.setInitialValueToButton=function(){var i=Br.fileSelectionChooseImage()+" - "+Br.fileSelectionNoImageSelected();this.fileSelectionButton.innerText=i},r.prototype.getFileScanInputId=function(){return"html5-qrcode-private-filescan-input"},r.create=function(i,t,n){return new r(i,t,n)},r}(),yS=function(){function r(i){this.selectElement=cd.createElement("select",js.CAMERA_SELECTION_SELECT_ID),this.cameras=i,this.options=[]}return r.prototype.render=function(i){var t=document.createElement("span");t.style.marginRight="10px";var n=this.cameras.length;if(0===n)throw new Error("No cameras found");if(1===n)t.style.display="none";else{var a=Br.selectCamera();t.innerText=a+" ("+this.cameras.length+") "}for(var l=1,v=0,I=this.cameras;v(function(r){r[r.STATUS_DEFAULT=0]="STATUS_DEFAULT",r[r.STATUS_SUCCESS=1]="STATUS_SUCCESS",r[r.STATUS_WARNING=2]="STATUS_WARNING",r[r.STATUS_REQUESTING_PERMISSION=3]="STATUS_REQUESTING_PERMISSION"}(vs||(vs={})),vs))();function FS(r,i){if(1&r&&(e.TgZ(0,"div",4),e._uU(1),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.Oqu(t.error)}}!function(){function r(i,t,n){if(this.lastMatchFound=null,this.cameraScanImage=null,this.fileScanImage=null,this.fileSelectionUi=null,this.elementId=i,this.config=this.createConfig(t),this.verbose=!0===n,!document.getElementById(i))throw"HTML Element with id="+i+" not found";this.scanTypeSelector=new wu(this.config.supportedScanTypes),this.currentScanType=this.scanTypeSelector.getDefaultScanType(),this.sectionSwapAllowed=!0,this.logger=new iM(this.verbose),this.persistedDataManager=new uS,!0!==t.rememberLastUsedCamera&&this.persistedDataManager.reset()}r.prototype.render=function(i,t){var n=this;this.lastMatchFound=null,this.qrCodeSuccessCallback=function(l,v){if(i)i(l,v);else{if(n.lastMatchFound===l)return;n.lastMatchFound=l,n.setHeaderMessage(Br.lastMatch(l),vs.STATUS_SUCCESS)}},this.qrCodeErrorCallback=function(l,v){t&&t(l,v)};var a=document.getElementById(this.elementId);if(!a)throw"HTML Element with id="+this.elementId+" not found";a.innerHTML="",this.createBasicLayout(a),this.html5Qrcode=new Xy(this.getScanRegionId(),function xS(r,i){return{formatsToSupport:r.formatsToSupport,useBarCodeDetectorIfSupported:r.useBarCodeDetectorIfSupported,experimentalFeatures:r.experimentalFeatures,verbose:i}}(this.config,this.verbose))},r.prototype.pause=function(i){(bc(i)||!0!==i)&&(i=!1),this.getHtml5QrcodeOrFail().pause(i)},r.prototype.resume=function(){this.getHtml5QrcodeOrFail().resume()},r.prototype.getState=function(){return this.getHtml5QrcodeOrFail().getState()},r.prototype.clear=function(){var i=this,t=function(){var n=document.getElementById(i.elementId);n&&(n.innerHTML="",i.resetBasicLayout(n))};return this.html5Qrcode?new Promise(function(n,a){i.html5Qrcode?i.html5Qrcode.isScanning?i.html5Qrcode.stop().then(function(l){i.html5Qrcode?(i.html5Qrcode.clear(),t(),n()):n()}).catch(function(l){i.verbose&&i.logger.logError("Unable to stop qrcode scanner",l),a(l)}):(i.html5Qrcode.clear(),t(),n()):n()}):Promise.resolve()},r.prototype.getRunningTrackCapabilities=function(){return this.getHtml5QrcodeOrFail().getRunningTrackCapabilities()},r.prototype.getRunningTrackSettings=function(){return this.getHtml5QrcodeOrFail().getRunningTrackSettings()},r.prototype.applyVideoConstraints=function(i){return this.getHtml5QrcodeOrFail().applyVideoConstraints(i)},r.prototype.getHtml5QrcodeOrFail=function(){if(!this.html5Qrcode)throw"Code scanner not initialized.";return this.html5Qrcode},r.prototype.createConfig=function(i){return i?(i.fps||(i.fps=Vl.SCAN_DEFAULT_FPS),i.rememberLastUsedCamera!==!Vl.DEFAULT_REMEMBER_LAST_CAMERA_USED&&(i.rememberLastUsedCamera=Vl.DEFAULT_REMEMBER_LAST_CAMERA_USED),i.supportedScanTypes||(i.supportedScanTypes=Vl.DEFAULT_SUPPORTED_SCAN_TYPE),i):{fps:Vl.SCAN_DEFAULT_FPS,rememberLastUsedCamera:Vl.DEFAULT_REMEMBER_LAST_CAMERA_USED,supportedScanTypes:Vl.DEFAULT_SUPPORTED_SCAN_TYPE}},r.prototype.createBasicLayout=function(i){i.style.position="relative",i.style.padding="0px",i.style.border="1px solid silver",this.createHeader(i);var t=document.createElement("div"),n=this.getScanRegionId();t.id=n,t.style.width="100%",t.style.minHeight="100px",t.style.textAlign="center",i.appendChild(t),wu.isCameraScanType(this.currentScanType)?this.insertCameraScanImageToScanRegion():this.insertFileScanImageToScanRegion();var a=document.createElement("div"),l=this.getDashboardId();a.id=l,a.style.width="100%",i.appendChild(a),this.setupInitialDashboard(a)},r.prototype.resetBasicLayout=function(i){i.style.border="none"},r.prototype.setupInitialDashboard=function(i){this.createSection(i),this.createSectionControlPanel(),this.scanTypeSelector.hasMoreThanOneScanType()&&this.createSectionSwap()},r.prototype.createHeader=function(i){var t=document.createElement("div");t.style.textAlign="left",t.style.margin="0px",i.appendChild(t),(new fS).renderInto(t);var a=document.createElement("div");a.id=this.getHeaderMessageContainerId(),a.style.display="none",a.style.textAlign="center",a.style.fontSize="14px",a.style.padding="2px 10px",a.style.margin="4px",a.style.borderTop="1px solid #f6f6f6",t.appendChild(a)},r.prototype.createSection=function(i){var t=document.createElement("div");t.id=this.getDashboardSectionId(),t.style.width="100%",t.style.padding="10px 0px 10px 0px",t.style.textAlign="left",i.appendChild(t)},r.prototype.createCameraListUi=function(i,t,n){var a=this;a.showHideScanTypeSwapLink(!1),a.setHeaderMessage(Br.cameraPermissionRequesting());var l=function(){n||a.createPermissionButton(i,t)};Xy.getCameras().then(function(v){a.persistedDataManager.setHasPermission(!0),a.showHideScanTypeSwapLink(!0),a.resetHeaderMessage(),v&&v.length>0?(i.removeChild(t),a.renderCameraSelection(v)):(a.setHeaderMessage(Br.noCameraFound(),vs.STATUS_WARNING),l())}).catch(function(v){a.persistedDataManager.setHasPermission(!1),n?n.disabled=!1:l(),a.setHeaderMessage(v,vs.STATUS_WARNING),a.showHideScanTypeSwapLink(!0)})},r.prototype.createPermissionButton=function(i,t){var n=this,a=cd.createElement("button",this.getCameraPermissionButtonId());a.innerText=Br.cameraPermissionTitle(),a.addEventListener("click",function(){a.disabled=!0,n.createCameraListUi(i,t,a)}),t.appendChild(a)},r.prototype.createPermissionsUi=function(i,t){var n=this;wu.isCameraScanType(this.currentScanType)&&this.persistedDataManager.hasCameraPermissions()?fM.hasPermissions().then(function(a){a?n.createCameraListUi(i,t):(n.persistedDataManager.setHasPermission(!1),n.createPermissionButton(i,t))}).catch(function(a){n.persistedDataManager.setHasPermission(!1),n.createPermissionButton(i,t)}):this.createPermissionButton(i,t)},r.prototype.createSectionControlPanel=function(){var t=document.getElementById(this.getDashboardSectionId()),n=document.createElement("div");t.appendChild(n);var a=document.createElement("div");a.id=this.getDashboardSectionCameraScanRegionId(),a.style.display=wu.isCameraScanType(this.currentScanType)?"block":"none",n.appendChild(a);var l=document.createElement("div");l.style.textAlign="center",a.appendChild(l),this.scanTypeSelector.isCameraScanRequired()&&this.createPermissionsUi(a,l),this.renderFileScanUi(n)},r.prototype.renderFileScanUi=function(i){var t=wu.isFileScanType(this.currentScanType),n=this;this.fileSelectionUi=bS.create(i,t,function(l){if(!n.html5Qrcode)throw"html5Qrcode not defined";wu.isFileScanType(n.currentScanType)&&(n.setHeaderMessage(Br.loadingImage()),n.html5Qrcode.scanFileV2(l,!0).then(function(v){n.resetHeaderMessage(),n.qrCodeSuccessCallback(v.decodedText,v)}).catch(function(v){n.setHeaderMessage(v,vs.STATUS_WARNING),n.qrCodeErrorCallback(v,tM.createFrom(v))}))})},r.prototype.renderCameraSelection=function(i){var t=this,n=this,a=document.getElementById(this.getDashboardSectionCameraScanRegionId());a.style.textAlign="center";var l=vS.create(a,!1),I=yS.create(a,i),W=document.createElement("span"),G=cd.createElement("button",js.CAMERA_START_BUTTON_ID);G.innerText=Br.scanButtonStartScanningText(),W.appendChild(G);var Ge,ye=cd.createElement("button",js.CAMERA_STOP_BUTTON_ID);ye.innerText=Br.scanButtonStopScanningText(),ye.style.display="none",ye.disabled=!0,W.appendChild(ye),a.appendChild(W);var It=function(Gt){Gt||(G.style.display="none"),G.innerText=Br.scanButtonStartScanningText(),G.style.opacity="1",G.disabled=!1,Gt&&(G.style.display="inline-block")};if(G.addEventListener("click",function(Gt){G.innerText=Br.scanButtonScanningStarting(),I.disable(),G.disabled=!0,G.style.opacity="0.5",t.scanTypeSelector.hasMoreThanOneScanType()&&n.showHideScanTypeSwapLink(!1),n.resetHeaderMessage();var oi=I.getValue();n.persistedDataManager.setLastUsedCameraId(oi),n.html5Qrcode.start(oi,function wS(r){return{fps:r.fps,qrbox:r.qrbox,aspectRatio:r.aspectRatio,disableFlip:r.disableFlip,videoConstraints:r.videoConstraints}}(n.config),n.qrCodeSuccessCallback,n.qrCodeErrorCallback).then(function(ai){ye.disabled=!1,ye.style.display="inline-block",It(!1);var Ji=n.html5Qrcode.getRunningTrackCameraCapabilities();!0===t.config.showTorchButtonIfSupported&&function(Gt){Gt.torchFeature().isSupported()?(Ge?Ge.updateTorchCapability(Gt.torchFeature()):Ge=_S.create(W,Gt.torchFeature(),{display:"none",marginLeft:"5px"},function(oi){n.setHeaderMessage(oi,vs.STATUS_WARNING)}),Ge.show()):Ge&&Ge.hide()}(Ji),!0===t.config.showZoomSliderIfSupported&&function(Gt){var oi=Gt.zoomFeature();if(oi.isSupported()){l.setOnCameraZoomValueChangeCallback(function(Ji){oi.apply(Ji)});var ai=1;t.config.defaultZoomValueIfSupported&&(ai=t.config.defaultZoomValueIfSupported),ai=function V4(r,i,t){return r>t?t:r",t.appendChild(i.cameraScanImage)},this.cameraScanImage.width=64,this.cameraScanImage.style.opacity="0.8",this.cameraScanImage.src=lS,this.cameraScanImage.alt=Br.cameraScanAltText()},r.prototype.insertFileScanImageToScanRegion=function(){var i=this,t=document.getElementById(this.getScanRegionId());if(this.fileScanImage)return t.innerHTML="
",void t.appendChild(this.fileScanImage);this.fileScanImage=new Image,this.fileScanImage.onload=function(n){t.innerHTML="
",t.appendChild(i.fileScanImage)},this.fileScanImage.width=64,this.fileScanImage.style.opacity="0.8",this.fileScanImage.src=cS,this.fileScanImage.alt=Br.fileScanAltText()},r.prototype.clearScanRegion=function(){document.getElementById(this.getScanRegionId()).innerHTML=""},r.prototype.getDashboardSectionId=function(){return this.elementId+"__dashboard_section"},r.prototype.getDashboardSectionCameraScanRegionId=function(){return this.elementId+"__dashboard_section_csr"},r.prototype.getDashboardSectionSwapLinkId=function(){return js.SCAN_TYPE_CHANGE_ANCHOR_ID},r.prototype.getScanRegionId=function(){return this.elementId+"__scan_region"},r.prototype.getDashboardId=function(){return this.elementId+"__dashboard"},r.prototype.getHeaderMessageContainerId=function(){return this.elementId+"__header_message"},r.prototype.getCameraPermissionButtonId=function(){return js.CAMERA_PERMISSION_BUTTON_ID},r.prototype.getCameraScanRegion=function(){return document.getElementById(this.getDashboardSectionCameraScanRegionId())},r.prototype.getDashboardSectionSwapLink=function(){return document.getElementById(this.getDashboardSectionSwapLinkId())},r.prototype.getHeaderMessageDiv=function(){return document.getElementById(this.getHeaderMessageContainerId())}}();class T_{constructor(i,t,n){this.options=i,this.dialogRef=t,this.data=n,this.cameras=[],this.cameraIndex=-1,this.dialogRef.afterClosed().subscribe(()=>{this.html5QrCode&&this.html5QrCode.stop()})}ngOnInit(){var i=this;return(0,ve.Z)(function*(){i.config={fps:10,formatsToSupport:[$i.QR_CODE]},i.html5QrCode=new Xy("reader",i.config),yield i.requestCameras(),i.cameras.length>0&&(i.cameraIndex=i.options.values.cameraId?i.cameras.findIndex(t=>t.id==i.options.values.cameraId):i.cameras.length-1,yield i.startCamera(i.cameras[i.cameraIndex].id))})()}toggleFlash(){}openFile(){}requestCameras(){var i=this;return(0,ve.Z)(function*(){try{i.cameras=yield Xy.getCameras()}catch{i.error="Unable To Get Cameras"}})()}startCamera(i){var t=this;return(0,ve.Z)(function*(){try{try{yield t.html5QrCode.stop()}catch(n){console.error("Failed to stop:",n)}yield t.html5QrCode.start(i,t.config,(n,a)=>{t.onScanSuccess(n,a)},n=>{}),t.options.values.cameraId=i,t.options.save()}catch(n){t.onScanFailure(n)}})()}changeCamera(){var i=this;return(0,ve.Z)(function*(){(!i.cameras||0==i.cameras.length)&&(yield i.requestCameras()),i.cameras&&0!=i.cameras.length&&(i.cameraIndex+=1,i.cameraIndex>=i.cameras.length&&(i.cameraIndex=0),i.startCamera(i.cameras[i.cameraIndex].id))})()}onScanSuccess(i,t){console.log(`Code matched = ${i}`,t),this.data.address=i,this.dialogRef.close(this.data.address)}onScanFailure(i){console.warn(`Code scan error = ${i}`),this.error=i}onNoClick(){this.dialogRef.close()}}function CS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",11)(1,"mat-card-content")(2,"h1"),e._uU(3,"Private Key Import"),e.qZA(),e.TgZ(4,"p"),e._uU(5,"If you already have an existing private for your Nostr account, you can import it here and protect it with a password."),e.qZA(),e.TgZ(6,"p"),e._uU(7,"First choose if your backup is a secret recovery phrase or a private key."),e.qZA(),e._UZ(8,"br"),e.TgZ(9,"button",12),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.step=2)}),e._uU(10,"Secret Recovery Phrase"),e.qZA(),e._UZ(11,"br")(12,"br"),e.TgZ(13,"button",12),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.step=3)}),e._uU(14,"Private Key"),e.qZA(),e._UZ(15,"br")(16,"br"),e.TgZ(17,"button",12),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.scanQrCode())}),e.TgZ(18,"mat-icon"),e._uU(19,"qr_code_scanner"),e.qZA(),e._uU(20," Scan QR Code"),e.qZA()()()}}function kS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",11)(1,"mat-card-content")(2,"h1"),e._uU(3,"Secret Recovery Phrase Import"),e.qZA(),e._UZ(4,"br"),e.TgZ(5,"mat-form-field",13)(6,"mat-label"),e._uU(7,"Secret Recovery Phrase"),e.qZA(),e.TgZ(8,"textarea",14),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.mnemonic=a)}),e.qZA()(),e._UZ(9,"br"),e.TgZ(10,"button",15),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return a.setPrivateKey(),e.KtG(a.step=3)}),e._uU(11,"Continue"),e.qZA(),e._UZ(12,"br")(13,"br"),e.qZA()()}if(2&r){const t=e.oxw();e.xp6(8),e.Q6J("ngModel",t.mnemonic),e.xp6(2),e.Q6J("disabled",!t.mnemonic)}}function DS(r,i){1&r&&(e.TgZ(0,"h1"),e._uU(1,"Protect Private Key with password"),e.qZA())}function MS(r,i){1&r&&(e.TgZ(0,"h1"),e._uU(1,"Private Key Import"),e.qZA())}function ES(r,i){1&r&&(e.TgZ(0,"p"),e._uU(1,"If you already have an existing private for your Nostr account, you can import it here and protect it with a password."),e.qZA())}function TS(r,i){if(1&r&&(e.TgZ(0,"p",25),e._uU(1,"Your personal private key:"),e._UZ(2,"br"),e._uU(3),e.qZA()),2&r){const t=e.oxw(2);e.xp6(3),e.Oqu(t.privateKey)}}function AS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div")(1,"mat-form-field",18)(2,"mat-icon",19),e._uU(3,"person_add"),e.qZA(),e.TgZ(4,"mat-label"),e._uU(5,"Private Key"),e.qZA(),e.TgZ(6,"input",26),e.NdJ("keyup",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.updatePublicKey())})("ngModelChange",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.privateKey=a)}),e.qZA()()()}if(2&r){const t=e.oxw(2);e.xp6(6),e.Q6J("ngModel",t.privateKey)}}function SS(r,i){if(1&r&&(e.TgZ(0,"p",27)(1,"strong"),e._uU(2,"Public Key (hex)"),e.qZA(),e._uU(3),e.qZA()),2&r){const t=e.oxw(2);e.xp6(3),e.hij(": ",t.publicKeyHex,"")}}function IS(r,i){if(1&r&&(e.TgZ(0,"p",28),e._uU(1),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.hij("Error: ",t.error,"")}}function OS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",11)(1,"mat-card-content"),e.YNc(2,DS,2,0,"h1",16),e.YNc(3,MS,2,0,"h1",16),e.YNc(4,ES,2,0,"p",16),e.TgZ(5,"p"),e._uU(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."),e.qZA(),e._UZ(7,"br"),e.YNc(8,TS,4,1,"p",17),e.YNc(9,AS,7,1,"div",16),e.TgZ(10,"form")(11,"mat-form-field",18)(12,"mat-icon",19),e._uU(13,"person_add"),e.qZA(),e.TgZ(14,"mat-label"),e._uU(15,"Public Key"),e.qZA(),e.TgZ(16,"input",20),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.publicKey=a)}),e.qZA()(),e.TgZ(17,"mat-form-field",18)(18,"mat-icon",19),e._uU(19,"password"),e.qZA(),e.TgZ(20,"mat-label"),e._uU(21,"Password (optional)"),e.qZA(),e.TgZ(22,"input",21),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.password=a)}),e.qZA()(),e._UZ(23,"br"),e.TgZ(24,"button",15),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.persistKey())}),e._uU(25,"Connect"),e.qZA(),e._UZ(26,"br")(27,"br"),e.qZA(),e.YNc(28,SS,4,1,"p",22),e.YNc(29,IS,2,1,"p",23),e.TgZ(30,"p",24),e._uU(31,"Remember that Blockcore cannot change or reset your password. Make sure you have a separate backup of your "),e.TgZ(32,"strong"),e._uU(33,"private key"),e.qZA(),e._uU(34," in case you loose your password."),e.qZA(),e.TgZ(35,"p",24),e._uU(36,"You will be asked to enter password (if supplied) when Notes need to sign events on your behalf."),e.qZA()()()}if(2&r){const t=e.oxw();e.xp6(2),e.Q6J("ngIf",t.mnemonic),e.xp6(1),e.Q6J("ngIf",!t.mnemonic),e.xp6(1),e.Q6J("ngIf",!t.mnemonic),e.xp6(4),e.Q6J("ngIf",t.mnemonic),e.xp6(1),e.Q6J("ngIf",!t.mnemonic),e.xp6(7),e.Q6J("readonly",!0)("ngModel",t.publicKey),e.xp6(6),e.Q6J("ngModel",t.password),e.xp6(2),e.Q6J("disabled",!t.publicKey),e.xp6(4),e.Q6J("ngIf",!t.error),e.xp6(1),e.Q6J("ngIf",t.error)}}T_.\u0275fac=function(i){return new(i||T_)(e.Y36(Rr.I),e.Y36(Ee),e.Y36(bt))},T_.\u0275cmp=e.Xpm({type:T_,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(i,t){1&i&&(e.TgZ(0,"div"),e._UZ(1,"div",0),e.TgZ(2,"button",1),e.NdJ("click",function(){return t.changeCamera()}),e.TgZ(3,"mat-icon"),e._uU(4,"cameraswitch"),e.qZA()(),e.TgZ(5,"button",2),e.NdJ("click",function(){return t.onNoClick()}),e.TgZ(6,"mat-icon"),e._uU(7,"close"),e.qZA()(),e.YNc(8,FS,2,1,"div",3),e.qZA()),2&i&&(e.xp6(8),e.Q6J("ngIf",t.error))},dependencies:[F.O5,Mt.RK,ar,eo],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 A_{constructor(i,t,n,a){this.dialog=i,this.theme=t,this.router=n,this.security=a,this.privateKey="",this.privateKeyHex="",this.publicKey="",this.publicKeyHex="",this.password="",this.error="",this.step=1,this.mnemonic=""}setPrivateKey(){this.privateKeyHex=Oo.privateKeyFromSeedWords(this.mnemonic),this.privateKey=yr.nsecEncode(this.privateKeyHex),this.updatePublicKey()}ngOnDestroy(){this.reset()}reset(){this.privateKey="",this.privateKeyHex="",this.mnemonic="",this.password=""}persistKey(){var i=this;return(0,ve.Z)(function*(){setTimeout((0,ve.Z)(function*(){if(!i.privateKeyHex||!i.publicKeyHex)return;const t=yield i.security.encryptData(i.privateKeyHex,i.password),n=yield i.security.decryptData(t,i.password);i.privateKeyHex==n?(localStorage.setItem("blockcore:notes:nostr:prvkey",t),localStorage.setItem("blockcore:notes:nostr:pubkey",i.publicKeyHex),i.reset(),i.router.navigateByUrl("/")):(i.error="Unable to encrypt and decrypt. Cannot continue.",console.error(i.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")?yr.decode(this.privateKey).data:this.privateKey;try{this.publicKeyHex=jt(this.privateKeyHex),this.publicKey=yr.npubEncode(this.publicKeyHex)}catch(i){this.error=i.message}}else this.publicKey=""}scanQrCode(){this.dialog.open(T_,{maxWidth:"100vw",maxHeight:"100vh",height:"100%",width:"100%",panelClass:"full-screen-modal",data:{}}).afterClosed().subscribe(t=>{this.step=3;try{if(t.startsWith("nostr:")&&(t=t.replace("nostr:","")),t.startsWith("nsec")){const n=yr.decode(t);this.privateKeyHex=n.data,this.privateKey=t}else this.privateKeyHex=t,this.privateKey=yr.nsecEncode(t);this.updatePublicKey()}catch(n){this.error="Failed to scan."+n.toString()}})}}A_.\u0275fac=function(i){return new(i||A_)(e.Y36(vi),e.Y36(oe),e.Y36(Ht.F0),e.Y36(sl))},A_.\u0275cmp=e.Xpm({type:A_,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(i,t){1&i&&(e.TgZ(0,"div",0)(1,"div",1)(2,"a",2),e._UZ(3,"img",3),e.qZA(),e.TgZ(4,"div",4)(5,"span",5),e._uU(6,"Blockcore"),e.qZA(),e._uU(7," Notes"),e.qZA(),e._UZ(8,"div",6),e.TgZ(9,"button",7),e.NdJ("click",function(){return t.theme.darkMode=!t.theme.darkMode}),e.TgZ(10,"mat-icon",8),e._uU(11),e.qZA()()(),e.TgZ(12,"div",9),e.YNc(13,CS,21,0,"mat-card",10),e.YNc(14,kS,14,2,"mat-card",10),e.YNc(15,OS,37,11,"mat-card",10),e.qZA()()),2&i&&(e.xp6(11),e.Oqu(t.theme.darkMode?"dark_mode":"light_mode"),e.xp6(2),e.Q6J("ngIf",1==t.step),e.xp6(1),e.Q6J("ngIf",2==t.step),e.xp6(1),e.Q6J("ngIf",3==t.step))},dependencies:[F.O5,Ht.rH,Za,Aa,Ta,ol,Mt.lW,Mt.RK,Ia,Ns,ar,Pc,_a,ua,kl,Ma,rl],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 NS=["button"],LS=["*"],bM=new e.OlP("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),yM=new e.OlP("MatButtonToggleGroup"),RS={provide:ga,useExisting:(0,e.Gpc)(()=>rC),multi:!0};let vM=0;class wM{constructor(i,t){this.source=i,this.value=t}}let rC=(()=>{class r{get name(){return this._name}set name(t){this._name=t,this._markButtonsForCheck()}get vertical(){return this._vertical}set vertical(t){this._vertical=(0,st.Ig)(t)}get value(){const t=this._selectionModel?this._selectionModel.selected:[];return this.multiple?t.map(n=>n.value):t[0]?t[0].value:void 0}set value(t){this._setSelectionByValue(t),this.valueChange.emit(this.value)}get selected(){const t=this._selectionModel?this._selectionModel.selected:[];return this.multiple?t:t[0]||null}get multiple(){return this._multiple}set multiple(t){this._multiple=(0,st.Ig)(t),this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,st.Ig)(t),this._markButtonsForCheck()}constructor(t,n){this._changeDetector=t,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name="mat-button-toggle-group-"+vM++,this.valueChange=new e.vpe,this.change=new e.vpe,this.appearance=n&&n.appearance?n.appearance:"standard"}ngOnInit(){this._selectionModel=new co.Ov(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(t=>t.checked))}writeValue(t){this.value=t,this._changeDetector.markForCheck()}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_emitChangeEvent(t){const n=new wM(t,this.value);this._controlValueAccessorChangeFn(n.value),this.change.emit(n)}_syncButtonToggle(t,n,a=!1,l=!1){!this.multiple&&this.selected&&!t.checked&&(this.selected.checked=!1),this._selectionModel?n?this._selectionModel.select(t):this._selectionModel.deselect(t):l=!0,l?Promise.resolve().then(()=>this._updateModelValue(t,a)):this._updateModelValue(t,a)}_isSelected(t){return this._selectionModel&&this._selectionModel.isSelected(t)}_isPrechecked(t){return!(typeof this._rawValue>"u")&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(n=>null!=t.value&&n===t.value):t.value===this._rawValue)}_setSelectionByValue(t){this._rawValue=t,this._buttonToggles&&(this.multiple&&t?(Array.isArray(t),this._clearSelection(),t.forEach(n=>this._selectValue(n))):(this._clearSelection(),this._selectValue(t)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(t=>t.checked=!1)}_selectValue(t){const n=this._buttonToggles.find(a=>null!=a.value&&a.value===t);n&&(n.checked=!0,this._selectionModel.select(n))}_updateModelValue(t,n){n&&this._emitChangeEvent(t),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(t=>t._markForCheck())}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.sBO),e.Y36(bM,8))},r.\u0275dir=e.lG2({type:r,selectors:[["mat-button-toggle-group"]],contentQueries:function(t,n,a){if(1&t&&e.Suo(a,aC,5),2&t){let l;e.iGM(l=e.CRH())&&(n._buttonToggles=l)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(t,n){2&t&&(e.uIk("aria-disabled",n.disabled),e.ekj("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:[e._Bn([RS,{provide:yM,useExisting:r}])]}),r})();const PS=(0,ae.Kr)(class{});let aC=(()=>{class r extends PS{get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(t){this._appearance=t}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(t){const n=(0,st.Ig)(t);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(t){this._disabled=(0,st.Ig)(t)}constructor(t,n,a,l,v,I){super(),this._changeDetectorRef=n,this._elementRef=a,this._focusMonitor=l,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new e.vpe;const W=Number(v);this.tabIndex=W||0===W?W:null,this.buttonToggleGroup=t,this.appearance=I&&I.appearance?I.appearance:"standard"}ngOnInit(){const t=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+vM++,t&&(t._isPrechecked(this)?this.checked=!0:t._isSelected(this)!==this._checked&&t._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const t=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),t&&t._isSelected(this)&&t._syncButtonToggle(this,!1,!1,!0)}focus(t){this._buttonElement.nativeElement.focus(t)}_onButtonClick(){const t=!!this._isSingleSelector()||!this._checked;t!==this._checked&&(this._checked=t,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new wM(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 r.\u0275fac=function(t){return new(t||r)(e.Y36(yM,8),e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(g.tE),e.$8M("tabindex"),e.Y36(bM,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-button-toggle"]],viewQuery:function(t,n){if(1&t&&e.Gf(NS,5),2&t){let a;e.iGM(a=e.CRH())&&(n._buttonElement=a.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(t,n){1&t&&e.NdJ("focus",function(){return n.focus()}),2&t&&(e.uIk("aria-label",null)("aria-labelledby",null)("id",n.id)("name",null),e.ekj("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:[e.qOj],ngContentSelectors:LS,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(t,n){if(1&t&&(e.F$t(),e.TgZ(0,"button",0,1),e.NdJ("click",function(){return n._onButtonClick()}),e.TgZ(2,"span",2),e.Hsn(3),e.qZA()(),e._UZ(4,"span",3)(5,"span",4)),2&t){const a=e.MAs(1);e.Q6J("id",n.buttonId)("disabled",n.disabled||null),e.uIk("tabindex",n.disabled?-1:n.tabIndex)("aria-pressed",n.checked)("name",n._getButtonName())("aria-label",n.ariaLabel)("aria-labelledby",n.ariaLabelledby),e.xp6(5),e.Q6J("matRippleTrigger",a)("matRippleDisabled",n.disableRipple||n.disabled)}},dependencies:[ae.wG],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}),r})(),BS=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ae.BQ,ae.si,ae.BQ]}),r})();class S_{onInput(){const i=this.element.nativeElement;if(i instanceof HTMLDivElement)return void console.warn("Unsupported HTML element type (HTMLDivElement) for content editor.");if(!(i instanceof HTMLTextAreaElement))return void console.warn("Unsupported HTML element type for content editor.");const t=this.element.nativeElement,n=t.selectionStart,a=t.selectionEnd,l=t.value;let v;v=l.length==a?l.at(-1):l.substring(n-1,a)}constructor(i){this.element=i}}S_.\u0275fac=function(i){return new(i||S_)(e.Y36(e.SBq))},S_.\u0275dir=e.lG2({type:S_,selectors:[["","appContentEditor",""]],hostBindings:function(i,t){1&i&&e.NdJ("input",function(){return t.onInput()})}});class Ih{onInput(){if(this.element.nativeElement instanceof HTMLTextAreaElement){const t=this.element.nativeElement;t.scrollHeight>t.clientHeight&&(t.style.height=`${t.scrollHeight}px`)}}constructor(i){this.element=i}}Ih.\u0275fac=function(i){return new(i||Ih)(e.Y36(e.SBq))},Ih.\u0275dir=e.lG2({type:Ih,selectors:[["","appAutoInputHeight",""]],hostBindings:function(i,t){1&i&&e.NdJ("input",function(){return t.onInput()})}});const YS=["picker"],HS=["noteContent"],US=["articleContent"];function jS(r,i){if(1&r&&(e.TgZ(0,"mat-option",11),e._uU(1),e.qZA()),2&r){const t=i.$implicit;e.Q6J("value",t.slug),e.xp6(1),e.Oqu(t.title)}}function VS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-form-field",8)(1,"mat-label"),e._uU(2,"Existing articles"),e.qZA(),e.TgZ(3,"mat-select",9),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.selectedArticle=a)})("selectionChange",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.changedArticle())}),e._UZ(4,"mat-option"),e.YNc(5,jS,2,2,"mat-option",10),e.qZA()()}if(2&r){const t=e.oxw();e.xp6(3),e.Q6J("value",t.selectedArticle),e.xp6(2),e.Q6J("ngForOf",t.articleService.articles)}}function ZS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"emoji-mart",29),e.NdJ("emojiSelect",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.addEmojiArticle(a))}),e.qZA()}2&r&&e.Q6J("isNative",!0)("showPreview",!1)}function zS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"form",12),e.NdJ("ngSubmit",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.onSubmitArticle())}),e.TgZ(1,"div",13)(2,"mat-form-field",14)(3,"mat-label"),e._uU(4,"Title"),e.qZA(),e._UZ(5,"input",15,16),e.qZA(),e.TgZ(7,"mat-form-field",14)(8,"mat-label"),e._uU(9,"URL (slug)"),e.qZA(),e.TgZ(10,"input",17,16),e.NdJ("blur",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.formatSlug())}),e.qZA()(),e.TgZ(12,"mat-form-field",14)(13,"mat-label"),e._uU(14,"Long form text that supports markdown formatting"),e.qZA(),e.TgZ(15,"textarea",18,19),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.note=a)}),e.qZA()(),e.TgZ(17,"mat-form-field",14)(18,"mat-label"),e._uU(19,"Summary (optional)"),e.qZA(),e.TgZ(20,"textarea",20),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.summary=a)}),e.qZA()(),e.TgZ(21,"mat-form-field",14)(22,"mat-label"),e._uU(23,"Banner image (optional)"),e.qZA(),e._UZ(24,"input",21,16),e.qZA(),e.TgZ(26,"mat-form-field",14)(27,"mat-label"),e._uU(28,"Tags (optional, comma separated)"),e.qZA(),e._UZ(29,"input",22,16),e.qZA(),e._UZ(31,"input",23),e.YNc(32,ZS,1,2,"emoji-mart",24),e.TgZ(33,"mat-icon",25),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.isEmojiPickerVisible=!a.isEmojiPickerVisible)}),e._uU(34,"sentiment_satisfied"),e.qZA()(),e.TgZ(35,"div",26)(36,"button",27),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.onCancel())}),e._uU(37,"Cancel"),e.qZA(),e._uU(38,"\xa0 "),e.TgZ(39,"button",28),e._uU(40,"Publish Article"),e.qZA()()()}if(2&r){const t=e.oxw();e.Q6J("formGroup",t.articleForm),e.xp6(15),e.Q6J("ngModel",t.note),e.xp6(5),e.Q6J("ngModel",t.summary),e.xp6(12),e.Q6J("ngIf",t.isEmojiPickerVisible),e.xp6(7),e.Q6J("disabled",!t.articleForm.valid)}}function GS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"emoji-mart",29),e.NdJ("emojiSelect",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.addEmojiNote(a))}),e.qZA()}2&r&&e.Q6J("isNative",!0)("showPreview",!1)}function WS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"form",12),e.NdJ("ngSubmit",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.onSubmitNote())}),e.TgZ(1,"div",13)(2,"mat-form-field",14)(3,"mat-label"),e._uU(4,"What's on your mind?"),e.qZA(),e._UZ(5,"textarea",30,31),e.qZA(),e.YNc(7,GS,1,2,"emoji-mart",24),e.TgZ(8,"mat-icon",25),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.isEmojiPickerVisible=!a.isEmojiPickerVisible)}),e._uU(9,"sentiment_satisfied"),e.qZA()(),e.TgZ(10,"div",26)(11,"button",27),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.onCancel())}),e._uU(12,"Cancel"),e.qZA(),e._uU(13,"\xa0 "),e.TgZ(14,"button",28),e._uU(15,"Publish Note"),e.qZA()()()}if(2&r){const t=e.oxw();e.Q6J("formGroup",t.noteForm),e.xp6(7),e.Q6J("ngIf",t.isEmojiPickerVisible),e.xp6(7),e.Q6J("disabled",!t.noteForm.valid)}}class I_{constructor(i,t,n,a,l,v,I,W,G){this.snackBar=i,this.articleService=t,this.queueService=n,this.utilities=a,this.appState=l,this.location=v,this.fb=I,this.navigation=W,this.profileService=G,this.noteForm=this.fb.group({content:["",so.required],expiration:[""],dateControl:[]}),this.articleForm=this.fb.group({content:["",so.required],title:["",so.required],summary:[""],image:[""],slug:[""],tags:[""],published_at:[""]}),this.note="",this.blog={title:"",content:"",tags:""},this.title="",this.summary="",this.eventType="text",this.dateControl=new ic(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(i=>{i&&this.articleForm.controls.slug.setValue(this.createSlug(i))}))}changedArticle(){const i=this.articleService.get(this.selectedArticle);i?(null==i.summary&&(i.summary=""),null==i.image&&(i.image=""),null==i.title&&(i.title=""),this.articleForm.setValue({content:i.content,title:i.title,summary:i.summary,image:i.image,slug:i.slug?i.slug:"",tags:i.metatags?i.metatags.toString():"",published_at:i.published_at?i.published_at.toString():""})):this.articleForm.reset()}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}noteTypeChanged(){"article"==this.eventType&&this.queueService.enque(this.appState.getPublicKey(),"Article")}createSlug(i){return(i=(i=i.toLowerCase()).replace(/[\s\W]+/g,"-")).replace(/^-+|-+$/g,"")}addEmojiNote(i){let t=this.noteContent.nativeElement.selectionStart,n=this.noteForm.controls.content.value,a=n?.substring(0,t)+i.emoji.native+n?.substring(t,n.length);this.noteForm.controls.content.setValue(a),this.isEmojiPickerVisible=!1,this.noteContent.nativeElement.focus()}addEmojiArticle(i){let t=this.articleContent.nativeElement.selectionStart,n=this.articleForm.controls.content.value,a=n?.substring(0,t)+i.emoji.native+n?.substring(t,n.length);this.articleForm.controls.content.setValue(a),this.isEmojiPickerVisible=!1,this.articleContent.nativeElement.focus()}formatSlug(){this.articleForm.controls.slug.setValue(this.createSlug(this.articleForm.controls.slug.value))}onSubmitArticle(){var i=this;return(0,ve.Z)(function*(){const t=i.articleForm.controls,n={content:t.content.value,title:t.title.value,summary:t.summary.value,image:t.image.value,slug:t.slug.value,tags:t.tags.value};t.published_at.value&&(n.published_at=Number(t.published_at.value)),yield i.navigation.saveArticle(n),i.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 qS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",14)(1,"button",15),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().ngIf,l=e.oxw();return e.KtG(l.open(a.rootEventId))}),e.TgZ(2,"mat-icon"),e._uU(3,"keyboard_double_arrow_up"),e.qZA(),e._uU(4,"View Thread"),e.qZA()()}}function QS(r,i){if(1&r&&(e.TgZ(0,"div",16),e._UZ(1,"app-event",13),e.qZA()),2&r){const t=i.ngIf;e.xp6(1),e.Q6J("event",t)}}function JS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",14)(1,"button",15),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().ngIf,l=e.oxw();return e.KtG(l.open(a.parentEventId))}),e.TgZ(2,"mat-icon"),e._uU(3,"keyboard_arrow_up"),e.qZA(),e._uU(4,"View Parent"),e.qZA()()}}I_.\u0275fac=function(i){return new(i||I_)(e.Y36(ko.ux),e.Y36(ge),e.Y36(In),e.Y36(Pi.dU),e.Y36(ce.i),e.Y36(F.Ye),e.Y36(wm),e.Y36(ra),e.Y36(Bn))},I_.\u0275cmp=e.Xpm({type:I_,selectors:[["app-editor"]],viewQuery:function(i,t){if(1&i&&(e.Gf(YS,5),e.Gf(HS,5),e.Gf(US,5)),2&i){let n;e.iGM(n=e.CRH())&&(t.picker=n.first),e.iGM(n=e.CRH())&&(t.noteContent=n.first),e.iGM(n=e.CRH())&&(t.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(i,t){if(1&i&&(e.TgZ(0,"div",0)(1,"div",1)(2,"mat-button-toggle-group",2,3),e.NdJ("change",function(){return t.noteTypeChanged()})("ngModelChange",function(a){return t.eventType=a}),e.TgZ(4,"mat-button-toggle",4),e._uU(5,"Note"),e.qZA(),e.TgZ(6,"mat-button-toggle",5),e._uU(7,"Article"),e.qZA()()(),e.YNc(8,VS,6,2,"mat-form-field",6),e.YNc(9,zS,41,5,"form",7),e.YNc(10,WS,16,3,"form",7),e.qZA()),2&i){const n=e.MAs(3);e.xp6(2),e.Q6J("ngModel",t.eventType),e.xp6(6),e.Q6J("ngIf","article"==n.value),e.xp6(1),e.Q6J("ngIf","article"==n.value),e.xp6(1),e.Q6J("ngIf","text"==n.value)}},dependencies:[F.sg,F.O5,Za,Aa,Ta,Mt.lW,fu,ae.ey,ar,eo,QF,Pc,_a,ua,kl,Ma,As,pm,vt,Ui,rC,aC,S_,Ih],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 KS=function(r,i,t,n){return{"is-root":r,"has-root":i,"no-lines":t,lines:n}},$S=function(r,i){return{"no-lines":r,lines:i}};function XS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",1)(1,"div",2)(2,"mat-accordion",3)(3,"mat-expansion-panel")(4,"mat-expansion-panel-header")(5,"mat-panel-title"),e._uU(6,"Options"),e.qZA(),e._UZ(7,"mat-panel-description"),e.qZA(),e.TgZ(8,"p")(9,"mat-slide-toggle",4),e.NdJ("change",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.optionsService.save())})("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.optionsService.values.showLines=a)}),e._uU(10,"Show lines"),e.qZA()()()()(),e.YNc(11,qS,5,0,"mat-card",5),e.YNc(12,QS,2,1,"div",6),e.ALo(13,"async"),e.TgZ(14,"div",7),e.YNc(15,JS,5,0,"mat-card",5),e.TgZ(16,"div",8)(17,"app-event-header",9),e._UZ(18,"app-date",10)(19,"app-directory-icon",9),e.qZA(),e._UZ(20,"app-event-actions",11),e.qZA(),e._UZ(21,"app-content",12)(22,"app-event-reactions",13)(23,"app-event-buttons",13)(24,"app-event-thread",13),e.qZA()()}if(2&r){const t=i.ngIf,n=e.oxw();e.xp6(9),e.Q6J("ngModel",n.optionsService.values.showLines),e.xp6(2),e.Q6J("ngIf",t.rootEventId),e.xp6(1),e.Q6J("ngIf",e.lcZ(13,15,n.ui.parentEvent$)),e.xp6(2),e.Q6J("ngClass",e.l5B(17,KS,!t.parentEventId,t.parentEventId,!n.optionsService.values.showLines,n.optionsService.values.showLines)),e.xp6(1),e.Q6J("ngIf",t.parentEventId),e.xp6(2),e.Q6J("pubkey",t.pubkey),e.xp6(1),e.Q6J("date",t.created_at),e.xp6(1),e.Q6J("pubkey",t.pubkey),e.xp6(1),e.Q6J("event",t)("pubkey",t.pubkey),e.xp6(1),e.Q6J("ngClass",e.WLB(22,$S,!n.optionsService.values.showLines,n.optionsService.values.showLines))("event",t),e.xp6(1),e.Q6J("event",t),e.xp6(1),e.Q6J("event",t),e.xp6(1),e.Q6J("event",t)}}class kf{constructor(i,t,n,a,l,v,I,W,G,ye,Ge){this.appState=i,this.activatedRoute=t,this.cd=n,this.optionsService=a,this.navigation=l,this.profiles=v,this.thread=I,this.validator=W,this.utilities=G,this.router=ye,this.ui=Ge,this.initialLoad=!0}open(i){this.router.navigate(["/e",i])}likes(i){}dislikes(i){}replies(i){}filteredThread(){}repliesTo(i){if(!i)return;let t=i.tags.filter(n=>"p"===n[0]).map(n=>n[1]);return t=t.filter(n=>n!==i.pubkey),t}ngOnInit(){var i=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 t=(0,ve.Z)(function*(n){const a=n.get("id");if(a){if(a.startsWith("naddr")){const l=yr.decode(a);if("naddr"==l.type){const v=l.data;if(v.kind==Hi.Article)return void i.router.navigate(["/a",v.pubkey,v.identifier])}}i.navigation.currentEvent?.id!=a&&i.ui.setEventId(a)}else i.router.navigateByUrl("/")});return function(n){return t.apply(this,arguments)}}())}trackByFn(i,t){return t.id}ngOnDestroy(){this.sub&&this.sub.unsub(),this.ui.clear()}}kf.\u0275fac=function(i){return new(i||kf)(e.Y36(ce.i),e.Y36(Ht.gz),e.Y36(e.sBO),e.Y36(Rr.I),e.Y36(ra),e.Y36(Bn),e.Y36(gc),e.Y36(vr.Y),e.Y36(Pi.dU),e.Y36(Ht.F0),e.Y36(Gr))},kf.\u0275cmp=e.Xpm({type:kf,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(i,t){1&i&&(e.YNc(0,XS,25,25,"div",0),e.ALo(1,"async"),e._UZ(2,"mat-divider")),2&i&&e.Q6J("ngIf",e.lcZ(1,1,t.ui.event$))},dependencies:[F.mk,F.O5,Mt.lW,Ia,ar,Qi,Yn.pp,Yn.ib,Yn.yz,Yn.yK,Yn.u4,hu,ua,Ma,as,vo,Ps,ss,Ah,bu,yu,_c,bf,F.Ov],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 O_{constructor(i,t,n,a,l,v,I,W,G,ye,Ge){this.uploadService=i,this.nostr=t,this.optionsService=n,this.relayService=a,this.dialog=l,this.appState=v,this.profileService=I,this.theme=W,this.db=G,this.snackBar=ye,this.dataService=Ge,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(i){var t=this;return(0,ve.Z)(function*(){t.optionsService.values.primaryRelay=i.url,t.optionsService.save()})()}deleteRelays(){var i=this;return(0,ve.Z)(function*(){yield i.relayService.deleteRelays([])})()}clearProfileCache(){var i=this;return(0,ve.Z)(function*(){i.wipedNonFollow=!0})()}clearNotesCache(){var i=this;return(0,ve.Z)(function*(){i.wipedNotes=!0})()}getDefaultRelays(){var i=this;return(0,ve.Z)(function*(){yield i.relayService.appendRelays(i.nostr.defaultRelays)})()}getRelays(){var i=this;return(0,ve.Z)(function*(){const t=yield i.nostr.relays();yield i.relayService.appendRelays(t)})()}ngOnInit(){this.appState.updateTitle("Relays"),this.appState.showBackButton=!1,this.appState.actions=[{icon:"add_circle",tooltip:"Add Relay",click:()=>{this.addRelay()}}]}registerHandler(i,t){navigator.registerProtocolHandler(i,`/?${t}=%s`)}addRelay(){var i=this;this.dialog.open(Ga,{data:{read:!0,write:!0},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=(0,ve.Z)(function*(a){a&&(-1===a.url.indexOf("://")&&(a.url="wss://"+a.url),yield i.relayService.appendRelay(a.url,a.read,a.write))});return function(a){return n.apply(this,arguments)}}())}}O_.\u0275fac=function(i){return new(i||O_)(e.Y36(pg.C),e.Y36(ps),e.Y36(Rr.I),e.Y36(Sa),e.Y36(vi),e.Y36(ce.i),e.Y36(Bn),e.Y36(oe),e.Y36(Fi),e.Y36(ko.ux),e.Y36(Wr))},O_.\u0275cmp=e.Xpm({type:O_,selectors:[["app-relays-management"]],viewQuery:function(i,t){if(1&i&&e.Gf(Yn.pp,5),2&i){let n;e.iGM(n=e.CRH())&&(t.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(i,t){1&i&&(e.TgZ(0,"div",0)(1,"div",1)(2,"mat-accordion")(3,"mat-expansion-panel")(4,"mat-expansion-panel-header")(5,"mat-panel-title"),e._uU(6,"Options"),e.qZA(),e._UZ(7,"mat-panel-description"),e.qZA(),e.TgZ(8,"div",2)(9,"button",3),e.NdJ("click",function(){return t.getRelays()}),e._uU(10,"Append from extension"),e.qZA(),e.TgZ(11,"button",3),e.NdJ("click",function(){return t.getDefaultRelays()}),e._uU(12,"Append from app"),e.qZA(),e._UZ(13,"br"),e.TgZ(14,"button",4),e.NdJ("click",function(){return t.dataService.publishContactsAndRelays()}),e._uU(15,"Publish relay (and following) list"),e.qZA(),e.TgZ(16,"button",4),e.NdJ("click",function(){return t.dataService.publishRelays()}),e._uU(17,"Publish relay (NIP-65) list"),e.qZA(),e._UZ(18,"br")(19,"br"),e.TgZ(20,"button",5),e.NdJ("click",function(){return t.deleteRelays()}),e._uU(21,"Delete all relays"),e.qZA()()()()(),e._UZ(22,"app-relays",6),e.qZA()),2&i&&(e.xp6(22),e.Q6J("relays",t.relayService.items))},dependencies:[Mt.lW,Yn.pp,Yn.ib,Yn.yz,Yn.yK,Yn.u4,Ff],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 e6=function(r,i){return["/b",r,i]};function t6(r,i){if(1&r&&(e.TgZ(0,"mat-card-title")(1,"a",8),e._uU(2),e.qZA()()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("routerLink",e.WLB(2,e6,t.badge.pubkey,t.badge.slug)),e.xp6(1),e.Oqu(t.badge.name)}}function n6(r,i){if(1&r&&(e.TgZ(0,"mat-card-title"),e._uU(1),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Oqu(t.badge.name)}}function r6(r,i){if(1&r&&(e.TgZ(0,"mat-chip"),e._uU(1),e.qZA()),2&r){const t=i.$implicit;e.xp6(1),e.hij("#",t,"")}}function a6(r,i){if(1&r&&(e.TgZ(0,"mat-card",1)(1,"mat-card-header",2),e.YNc(2,t6,3,5,"mat-card-title",3),e.YNc(3,n6,2,1,"mat-card-title",3),e.TgZ(4,"mat-card-subtitle"),e._uU(5),e.qZA()(),e._UZ(6,"img",4),e.TgZ(7,"mat-card-content")(8,"p",5),e._uU(9),e.qZA(),e.TgZ(10,"mat-chip-set",6),e.YNc(11,r6,2,1,"mat-chip",7),e.qZA(),e.TgZ(12,"p"),e.Hsn(13),e.qZA()()()),2&r){const t=e.oxw();e.xp6(2),e.Q6J("ngIf",!t.preview),e.xp6(1),e.Q6J("ngIf",t.preview),e.xp6(2),e.Oqu(t.badge.slug),e.xp6(1),e.Q6J("src",t.thumbUrl(t.badge.thumb),e.LSH),e.xp6(3),e.Oqu(t.badge.description),e.xp6(2),e.Q6J("ngForOf",t.badge.hashtags)}}var dd=new WeakMap,ev=new WeakMap;class Oh{set badge(i){Kt(this,dd,i),this.update()}get badge(){return ot(this,dd)}set id(i){var t=this;Kt(this,ev,i),i?this.badgeService.getBadge(i).then(function(){var n=(0,ve.Z)(function*(a){null!=a&&(Kt(t,dd,a),t.update())});return function(a){return n.apply(this,arguments)}}()):Kt(this,dd,void 0)}get id(){return ot(this,ev)}constructor(i,t){Ue(this,dd,{writable:!0,value:void 0}),Ue(this,ev,{writable:!0,value:void 0}),this.utilities=i,this.badgeService=t,Kt(this,ev,""),this.preview=!1}update(){!ot(this,dd)?.slug&&ot(this,dd).tags&&Kt(this,dd,this.badgeService.denormalizeBadge(ot(this,dd)))}ngOnInit(){}imageUrl(i){if(i||(i=this.badge?.thumb),i)return this.utilities.sanitizeImageUrl(i)}thumbUrl(i){if(i||(i=this.badge?.image),i)return this.utilities.sanitizeImageUrl(i)}}function s6(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,"\xa0Accepted"),e.qZA())}function l6(r,i){if(1&r&&(e.TgZ(0,"mat-icon",8),e._uU(1,"verified"),e.qZA(),e.YNc(2,s6,2,0,"span",9),e.ALo(3,"async")),2&r){const t=e.oxw();e.xp6(2),e.Q6J("ngIf",!1===e.lcZ(3,1,t.appState.displayLabels$))}}function c6(r,i){1&r&&e._UZ(0,"app-badge-card",13),2&r&&e.Q6J("id",i.$implicit)}function d6(r,i){if(1&r&&(e.TgZ(0,"div",11),e.YNc(1,c6,1,1,"app-badge-card",12),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.profileBadges)}}function u6(r,i){if(1&r&&e.YNc(0,d6,2,1,"div",10),2&r){const t=e.oxw();e.Q6J("ngIf",t.profileBadgesSub.events)}}function h6(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,"\xa0Awarded"),e.qZA())}function m6(r,i){if(1&r&&(e.TgZ(0,"mat-icon",8),e._uU(1,"emoji_events"),e.qZA(),e.YNc(2,h6,2,0,"span",9),e.ALo(3,"async")),2&r){const t=e.oxw();e.xp6(2),e.Q6J("ngIf",!1===e.lcZ(3,1,t.appState.displayLabels$))}}function f6(r,i){if(1&r&&(e.TgZ(0,"app-badge-card",13)(1,"div",14),e._uU(2," Issued by:\xa0"),e._UZ(3,"app-profile-name",4)(4,"br"),e._uU(5," Issued date: "),e._UZ(6,"app-date",15),e.qZA()()),2&r){const t=i.$implicit,n=e.oxw(3);e.Q6J("id",n.getId(t)),e.xp6(3),e.Q6J("pubkey",t.pubkey),e.xp6(3),e.Q6J("date",t.created_at)}}function p6(r,i){if(1&r&&(e.TgZ(0,"div",11),e.YNc(1,f6,7,3,"app-badge-card",12),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.receivedBadgesSub.events)}}function g6(r,i){if(1&r&&e.YNc(0,p6,2,1,"div",10),2&r){const t=e.oxw();e.Q6J("ngIf",t.receivedBadgesSub.events)}}function _6(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,"\xa0Created"),e.qZA())}function b6(r,i){if(1&r&&(e.TgZ(0,"mat-icon",8),e._uU(1,"badge"),e.qZA(),e.YNc(2,_6,2,0,"span",9),e.ALo(3,"async")),2&r){const t=e.oxw();e.xp6(2),e.Q6J("ngIf",!1===e.lcZ(3,1,t.appState.displayLabels$))}}function y6(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"app-badge-card",17)(1,"button",18),e.NdJ("click",function(){const l=e.CHM(t).$implicit,v=e.oxw(3);return e.KtG(v.edit(l))}),e._uU(2,"EDIT"),e.qZA()()}2&r&&e.Q6J("badge",i.$implicit)}function v6(r,i){if(1&r&&(e.TgZ(0,"div",11),e.YNc(1,y6,3,1,"app-badge-card",16),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.badgeDefinitionsSub.events)}}function w6(r,i){if(1&r&&e.YNc(0,v6,2,1,"div",10),2&r){const t=e.oxw();e.Q6J("ngIf",t.badgeDefinitionsSub.events)}}Oh.\u0275fac=function(i){return new(i||Oh)(e.Y36(Pi.dU),e.Y36(na))},Oh.\u0275cmp=e.Xpm({type:Oh,selectors:[["app-badge-card"]],inputs:{badge:"badge",id:"id",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(i,t){1&i&&(e.F$t(),e.YNc(0,a6,14,6,"mat-card",0)),2&i&&e.Q6J("ngIf",t.badge)},dependencies:[F.sg,F.O5,Ht.rH,Ia,Ns,sh,Pp,oh,Bm,dc,nu],styles:[".badge-card[_ngcontent-%COMP%]{max-width:256px}.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 N_{constructor(i,t,n,a,l,v,I,W,G){this.relayService=i,this.activatedRoute=t,this.utilities=n,this.router=a,this.eventService=l,this.appState=v,this.badgeService=I,this.queueService=W,this.cd=G,this.subscriptions=[],this.pubkey=""}ngOnInit(){var i=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 t=(0,ve.Z)(function*(n){i.tabIndex=n.t});return function(n){return t.apply(this,arguments)}}())),this.subscriptions.push(this.activatedRoute.paramMap.subscribe(function(){var t=(0,ve.Z)(function*(n){const a=n.get("id");a&&(i.pubkey=a,i.receivedBadgesSub=i.relayService.download([{kinds:[8],"#p":[i.pubkey]}],void 0,"Event"),i.profileBadgesSub=i.relayService.download([{kinds:[30008],authors:[i.pubkey],"#d":["profile_badges"]}],void 0,"Replaceable"),i.badgeDefinitionsSub=i.relayService.download([{kinds:[30009],authors:[i.pubkey]}],void 0,"Replaceable"),i.cd.detectChanges())});return function(n){return t.apply(this,arguments)}}()))}get profileBadges(){return this.profileBadgesSub&&0!=this.profileBadgesSub.events.length?this.eventService.tagsOfTypeValues(this.profileBadgesSub.events[0],"a"):[]}getId(i){return this.eventService.firstATag(i)}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(i){this.router.navigate([],{queryParams:{t:i.index},replaceUrl:!0})}edit(i){this.badgeService.selectedBadge=i,this.router.navigateByUrl("/editor/badges")}issue(i){this.badgeService.selectedBadge=i,this.router.navigateByUrl("/editor/badges")}createBadgeType(){}assignBadge(){}}function x6(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div")(1,"div")(2,"div")(3,"p"),e._uU(4,"Just paste your (or someone else's) Nostr public key (npub) here:"),e.qZA(),e.TgZ(5,"mat-form-field",18)(6,"mat-icon",19),e._uU(7,"person_add"),e.qZA(),e.TgZ(8,"mat-label"),e._uU(9,"Public Key"),e.qZA(),e.TgZ(10,"input",20),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.readOnlyKey=a)}),e.qZA()(),e.TgZ(11,"div")(12,"button",21),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.anonymous(a.readOnlyKey))}),e._uU(13,"Connect (read-only)"),e.qZA()()()()()}if(2&r){const t=e.oxw();e.xp6(10),e.Q6J("ngModel",t.readOnlyKey)}}N_.\u0275fac=function(i){return new(i||N_)(e.Y36(Sa),e.Y36(Ht.gz),e.Y36(Pi.dU),e.Y36(Ht.F0),e.Y36(Ar),e.Y36(ce.i),e.Y36(na),e.Y36(In),e.Y36(e.sBO))},N_.\u0275cmp=e.Xpm({type:N_,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,"id",4,"ngFor","ngForOf"],[3,"id"],[1,"dimmed"],[3,"date"],[3,"badge",4,"ngFor","ngForOf"],[3,"badge"],["mat-stroked-button","",1,"badge-card-button",3,"click"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0)(1,"div",1)(2,"mat-accordion")(3,"mat-expansion-panel")(4,"mat-expansion-panel-header")(5,"mat-panel-title"),e._uU(6,"Options"),e.qZA(),e._UZ(7,"mat-panel-description"),e.qZA(),e.TgZ(8,"div",2)(9,"button",3),e._uU(10,"Badge Editor"),e.qZA()()()()(),e._UZ(11,"app-event-header",4),e.TgZ(12,"mat-tab-group",5),e.NdJ("selectedTabChange",function(a){return t.onTabChanged(a)}),e.TgZ(13,"mat-tab"),e.YNc(14,l6,4,3,"ng-template",6),e.YNc(15,u6,1,1,"ng-template",7),e.qZA(),e.TgZ(16,"mat-tab"),e.YNc(17,m6,4,3,"ng-template",6),e.YNc(18,g6,1,1,"ng-template",7),e.qZA(),e.TgZ(19,"mat-tab"),e.YNc(20,b6,4,3,"ng-template",6),e.YNc(21,w6,1,1,"ng-template",7),e.qZA()()()),2&i&&(e.xp6(11),e.Q6J("pubkey",t.pubkey),e.xp6(1),e.Q6J("selectedIndex",t.tabIndex))},dependencies:[F.sg,F.O5,Ht.rH,Mt.lW,ar,_y,by,Eh,hf,Yn.pp,Yn.ib,Yn.yz,Yn.yK,Yn.u4,ed,vo,_c,Oh,F.Ov],styles:[".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 L_{constructor(i,t,n,a){this.authService=i,this.theme=t,this.router=n,this.security=a,this.privateKey="",this.privateKeyHex="",this.publicKey="",this.publicKeyHex="",this.password="",this.error="",this.readOnlyLogin=!1,this.readOnlyKey="npub1sg6plzptd64u62a878hep2kev88swjh3tw00gjsfl8f237lmu63q0uf63m"}connect(){var i=this;return(0,ve.Z)(function*(){(yield i.authService.login()).authenticated()&&i.router.navigateByUrl("/")})()}anonymous(i){var t=this;return(0,ve.Z)(function*(){(yield t.authService.anonymous(i)).authenticated()&&t.router.navigateByUrl("/")})()}persistKey(){var i=this;return(0,ve.Z)(function*(){setTimeout((0,ve.Z)(function*(){if(!i.privateKeyHex||!i.publicKeyHex)return;const t=yield i.security.encryptData(i.privateKeyHex,i.password),n=yield i.security.decryptData(t,i.password);i.privateKeyHex==n?(localStorage.setItem("blockcore:notes:nostr:prvkey",t),localStorage.setItem("blockcore:notes:nostr:pubkey",i.publicKeyHex),i.router.navigateByUrl("/")):(i.error="Unable to encrypt and decrypt. Cannot continue.",console.error(i.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")?yr.decode(this.privateKey).data:this.privateKey;try{this.publicKeyHex=jt(this.privateKeyHex),this.publicKey=yr.npubEncode(this.publicKeyHex)}catch(i){this.error=i.message}}else this.publicKey=""}}function F6(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",11)(1,"mat-card-content")(2,"h1"),e._uU(3,"Who are you?"),e.qZA(),e.TgZ(4,"p"),e._uU(5,"Add some (optional) basics about yourself. This information will be public."),e.qZA(),e.TgZ(6,"p")(7,"mat-form-field",12)(8,"mat-icon",13),e._uU(9,"badge"),e.qZA(),e.TgZ(10,"mat-label"),e._uU(11,"Display Name"),e.qZA(),e.TgZ(12,"input",14),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.profile.display_name=a)}),e.qZA()()(),e.TgZ(13,"p")(14,"mat-form-field",12)(15,"mat-icon",13),e._uU(16,"alternate_email"),e.qZA(),e.TgZ(17,"mat-label"),e._uU(18,"Nickname"),e.qZA(),e.TgZ(19,"input",14),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.profile.name=a)}),e.qZA()()(),e.TgZ(20,"p")(21,"mat-form-field",12)(22,"mat-icon",13),e._uU(23,"help_outline"),e.qZA(),e.TgZ(24,"mat-label"),e._uU(25,"About"),e.qZA(),e.TgZ(26,"textarea",15),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.profile.about=a)}),e.qZA()()(),e.TgZ(27,"p")(28,"mat-form-field",12)(29,"mat-icon",13),e._uU(30,"image"),e.qZA(),e.TgZ(31,"mat-label"),e._uU(32,"Profile Image"),e.qZA(),e.TgZ(33,"input",14),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.profile.picture=a)}),e.qZA()()(),e.TgZ(34,"p")(35,"mat-form-field",12)(36,"mat-icon",13),e._uU(37,"how_to_reg"),e.qZA(),e.TgZ(38,"mat-label"),e._uU(39,"E-mail/Domain Identifier (NIP05)"),e.qZA(),e.TgZ(40,"input",14),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.profile.nip05=a)}),e.qZA()()(),e.TgZ(41,"div",16)(42,"button",17),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.step=2)}),e._uU(43,"Continue"),e.qZA()()()()}if(2&r){const t=e.oxw();e.xp6(12),e.Q6J("ngModel",t.profile.display_name),e.xp6(7),e.Q6J("ngModel",t.profile.name),e.xp6(7),e.Q6J("ngModel",t.profile.about),e.xp6(7),e.Q6J("ngModel",t.profile.picture),e.xp6(7),e.Q6J("ngModel",t.profile.nip05)}}function C6(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",11)(1,"mat-card-content")(2,"h1"),e._uU(3,"Your secret recovery phrase"),e.qZA(),e.TgZ(4,"p",18),e._uU(5),e.qZA(),e._UZ(6,"br"),e.TgZ(7,"button",19)(8,"mat-icon"),e._uU(9,"content_copy"),e.qZA(),e._uU(10," Copy "),e.qZA(),e._UZ(11,"br")(12,"br"),e.TgZ(13,"p",20),e._uU(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."),e.qZA(),e.TgZ(15,"p"),e._uU(16,"Keep it safe, keep it hidden."),e.qZA(),e.TgZ(17,"div",16)(18,"button",17),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.step=1)}),e._uU(19,"Back"),e.qZA(),e.TgZ(20,"button",17),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.step=3)}),e._uU(21,"Continue"),e.qZA()()()()}if(2&r){const t=e.oxw();e.xp6(5),e.Oqu(t.mnemonic),e.xp6(2),e.Q6J("cdkCopyToClipboard",t.mnemonic)}}function k6(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",11)(1,"mat-card-content")(2,"h1"),e._uU(3,"Private and Public Keys"),e.qZA(),e._uU(4," Your personal private key:"),e._UZ(5,"br"),e.TgZ(6,"p",21),e._uU(7),e.qZA(),e.TgZ(8,"form")(9,"mat-form-field",22)(10,"mat-icon",23),e._uU(11,"person_add"),e.qZA(),e.TgZ(12,"mat-label"),e._uU(13,"Public Key"),e.qZA(),e.TgZ(14,"input",24),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.publicKey=a)}),e.qZA()(),e.TgZ(15,"mat-form-field",22)(16,"mat-icon",23),e._uU(17,"password"),e.qZA(),e.TgZ(18,"mat-label"),e._uU(19,"Password (optional)"),e.qZA(),e.TgZ(20,"input",25),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.password=a)}),e.qZA()(),e._UZ(21,"br"),e.qZA(),e.TgZ(22,"p",20),e._uU(23,"From your secret recovery phrase, your public key and private key are derived. Some Nostr clients require the private key to be imported."),e.qZA(),e.TgZ(24,"div",16)(25,"button",17),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.step=2)}),e._uU(26,"Back"),e.qZA(),e.TgZ(27,"button",17),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.persistKey())}),e._uU(28,"Save and Log In"),e.qZA()()()()}if(2&r){const t=e.oxw();e.xp6(7),e.Oqu(t.privateKey),e.xp6(7),e.Q6J("readonly",!0)("ngModel",t.publicKey),e.xp6(6),e.Q6J("ngModel",t.password)}}L_.\u0275fac=function(i){return new(i||L_)(e.Y36(Os.$),e.Y36(oe),e.Y36(Ht.F0),e.Y36(sl))},L_.\u0275cmp=e.Xpm({type:L_,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(i,t){1&i&&(e.TgZ(0,"div",0)(1,"div",1)(2,"a",2),e._UZ(3,"img",3),e.qZA(),e.TgZ(4,"div",4)(5,"span",5),e._uU(6,"Blockcore"),e.qZA(),e._uU(7," Notes"),e.qZA(),e._UZ(8,"div",6),e.TgZ(9,"button",7),e.NdJ("click",function(){return t.theme.darkMode=!t.theme.darkMode}),e.TgZ(10,"mat-icon",8),e._uU(11),e.qZA()()(),e.TgZ(12,"div",9)(13,"mat-card",10)(14,"mat-card-content")(15,"h1"),e._uU(16,"Log in"),e.qZA(),e.TgZ(17,"p"),e._uU(18,"If you already have an existing Nostr profile, you can restore it on Notes with these options."),e.qZA(),e.TgZ(19,"button",11),e.NdJ("click",function(){return t.connect()}),e._uU(20,"Connect using extension"),e.qZA(),e.TgZ(21,"div",12),e._uU(22," Good security. Requires the Nostr extension to be installed, like "),e.TgZ(23,"a",13),e._uU(24,"Blockcore Wallet"),e.qZA()(),e.TgZ(25,"button",14),e._uU(26,"Nostr connect (Coming soon)"),e.qZA(),e.TgZ(27,"div",12),e._uU(28,"Great security. Use an app like "),e.TgZ(29,"a",15),e._uU(30,"Nostrum"),e.qZA()(),e.TgZ(31,"button",16),e._uU(32,"Private Key"),e.qZA(),e.TgZ(33,"div",12),e._uU(34,"Enter a private key or recovery phrase. Stored encrypted with password. Less secure option."),e.qZA(),e.TgZ(35,"button",11),e.NdJ("click",function(){return t.readOnlyLogin=!t.readOnlyLogin}),e._uU(36,"Public Key"),e.qZA(),e.TgZ(37,"div",12),e._uU(38,"Very secure. Enter a public key for read-only login."),e.qZA(),e.YNc(39,x6,14,1,"div",17),e.qZA()()()()),2&i&&(e.xp6(11),e.Oqu(t.theme.darkMode?"dark_mode":"light_mode"),e.xp6(28),e.Q6J("ngIf",t.readOnlyLogin))},dependencies:[F.O5,Ht.rH,Za,Aa,Ta,ol,Mt.lW,Mt.RK,Ia,Ns,ar,_a,ua,Ma],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 R_{constructor(i,t,n,a,l,v,I){this.utilities=i,this.dataService=t,this.profileService=n,this.authService=a,this.theme=l,this.router=v,this.security=I,this.privateKey="",this.privateKeyHex="",this.publicKey="",this.publicKeyHex="",this.password="",this.error="",this.profile={},this.step=1,this.mnemonic=""}ngOnInit(){this.mnemonic=Oo.generateSeedWords(),this.privateKeyHex=Oo.privateKeyFromSeedWords(this.mnemonic),this.privateKey=yr.nsecEncode(this.privateKeyHex),this.updatePublicKey()}connect(){var i=this;return(0,ve.Z)(function*(){(yield i.authService.login()).authenticated()&&i.router.navigateByUrl("/")})()}anonymous(i){var t=this;return(0,ve.Z)(function*(){(yield t.authService.anonymous(i)).authenticated()&&t.router.navigateByUrl("/")})()}persistKey(){var i=this;return(0,ve.Z)(function*(){setTimeout((0,ve.Z)(function*(){if(!i.privateKeyHex||!i.publicKeyHex)return;const t=yield i.security.encryptData(i.privateKeyHex,i.password),n=yield i.security.decryptData(t,i.password);if(i.privateKeyHex==n){localStorage.setItem("blockcore:notes:nostr:prvkey",t),localStorage.setItem("blockcore:notes:nostr:pubkey",i.publicKeyHex),i.profile.npub=i.publicKey,i.profile.pubkey=i.publicKeyHex;const a=i.utilities.reduceProfile(i.profile);let l=i.dataService.createEventWithPubkey(Hi.Metadata,JSON.stringify(a),i.publicKeyHex),v=l;v.id=yield pr(l),Dr(v)||(i.error="Unable to validate the event. Cannot continue.");const I=po(v,i.privateKeyHex);v.sig=I,i.mnemonic="",i.privateKey="",i.privateKeyHex="",i.publicKey="",i.publicKeyHex="",i.password="",i.profile=null,i.profileService.newProfileEvent=v,i.router.navigateByUrl("/")}else i.error="Unable to encrypt and decrypt. Cannot continue.",console.error(i.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")?yr.decode(this.privateKey).data:this.privateKey;try{this.publicKeyHex=jt(this.privateKeyHex),this.publicKey=yr.npubEncode(this.publicKeyHex)}catch(i){this.error=i.message}}else this.publicKey=""}}function D6(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-chip-row",5),e.NdJ("removed",function(){const l=e.CHM(t).$implicit,v=e.oxw();return e.KtG(v.remove(l))})("edited",function(a){const v=e.CHM(t).$implicit,I=e.oxw();return e.KtG(I.edit(v,a))}),e._uU(1),e.TgZ(2,"button",6)(3,"mat-icon"),e._uU(4,"cancel"),e.qZA()()()}if(2&r){const t=i.$implicit;e.Q6J("editable",!0)("aria-description","press enter to edit "+t),e.xp6(1),e.hij(" ",t," "),e.xp6(1),e.uIk("aria-label","remove "+t)}}R_.\u0275fac=function(i){return new(i||R_)(e.Y36(Pi.dU),e.Y36(Wr),e.Y36(Bn),e.Y36(Os.$),e.Y36(oe),e.Y36(Ht.F0),e.Y36(sl))},R_.\u0275cmp=e.Xpm({type:R_,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(i,t){1&i&&(e.TgZ(0,"div",0)(1,"div",1)(2,"a",2),e._UZ(3,"img",3),e.qZA(),e.TgZ(4,"div",4)(5,"span",5),e._uU(6,"Blockcore"),e.qZA(),e._uU(7," Notes"),e.qZA(),e._UZ(8,"div",6),e.TgZ(9,"button",7),e.NdJ("click",function(){return t.theme.darkMode=!t.theme.darkMode}),e.TgZ(10,"mat-icon",8),e._uU(11),e.qZA()()(),e.TgZ(12,"div",9),e.YNc(13,F6,44,5,"mat-card",10),e.YNc(14,C6,22,2,"mat-card",10),e.YNc(15,k6,29,4,"mat-card",10),e.qZA()()),2&i&&(e.xp6(11),e.Oqu(t.theme.darkMode?"dark_mode":"light_mode"),e.xp6(2),e.Q6J("ngIf",1==t.step),e.xp6(1),e.Q6J("ngIf",2==t.step),e.xp6(1),e.Q6J("ngIf",3==t.step))},dependencies:[F.O5,Ht.rH,Za,Aa,Ta,ol,Mt.lW,Mt.RK,Mt.cs,Ia,Ns,ar,Pc,_a,ua,kl,Ma,rl,mf],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 P_{constructor(){this.addOnBlur=!0,this.separatorKeysCodes=[A.K5,A.OC],this.tags=[]}add(i){const t=(i.value||"").trim();t&&this.tags.push(t),i.chipInput.clear()}remove(i){const t=this.tags.indexOf(i);t>=0&&this.tags.splice(t,1)}edit(i,t){const n=t.value.trim();if(!n)return void this.remove(i);const a=this.tags.indexOf(i);a>=0&&(this.tags[a]=n)}}function M6(r,i){if(1&r&&(e.TgZ(0,"mat-option",14),e._uU(1),e.qZA()),2&r){const t=i.$implicit;e.Q6J("value",t.slug),e.xp6(1),e.Oqu(t.name)}}function E6(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-form-field",11)(1,"mat-label"),e._uU(2,"Existing badge designs"),e.qZA(),e.TgZ(3,"mat-select",12),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.selectedBadge=a)})("selectionChange",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.changedArticle())}),e._UZ(4,"mat-option"),e.YNc(5,M6,2,2,"mat-option",13),e.qZA()()}if(2&r){const t=e.oxw();e.xp6(3),e.Q6J("value",t.selectedBadge),e.xp6(2),e.Q6J("ngForOf",t.badgeService.editable)}}function T6(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"form",15),e.NdJ("ngSubmit",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.onSubmitArticle())}),e.TgZ(1,"div",16)(2,"mat-form-field",17)(3,"mat-label"),e._uU(4,"Name"),e.qZA(),e._UZ(5,"input",18,19),e.qZA(),e.TgZ(7,"mat-form-field",17)(8,"mat-label"),e._uU(9,"URL (slug)"),e.qZA(),e.TgZ(10,"input",20,19),e.NdJ("blur",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.formatSlug())}),e.qZA()(),e.TgZ(12,"mat-form-field",17)(13,"mat-label"),e._uU(14,"Description"),e.qZA(),e._UZ(15,"textarea",21),e.qZA(),e.TgZ(16,"mat-form-field",17)(17,"mat-label"),e._uU(18,"Badge Graphics (1024x1024)"),e.qZA(),e._UZ(19,"input",22,19),e.qZA(),e.TgZ(21,"mat-form-field",17)(22,"mat-label"),e._uU(23,"Badge Thumbnail"),e.qZA(),e._UZ(24,"input",23,19),e.qZA(),e._UZ(26,"app-tags",24),e.qZA(),e.TgZ(27,"div",25)(28,"button",26),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.onCancel())}),e._uU(29,"Cancel"),e.qZA(),e._uU(30,"\xa0 "),e.TgZ(31,"button",27),e._uU(32,"Publish Badge Design"),e.qZA()()()}if(2&r){const t=e.oxw();e.Q6J("formGroup",t.form),e.xp6(26),e.Q6J("tags",t.badge.hashtags),e.xp6(5),e.Q6J("disabled",!t.form.valid)}}P_.\u0275fac=function(i){return new(i||P_)},P_.\u0275cmp=e.Xpm({type:P_,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(i,t){if(1&i&&(e.TgZ(0,"mat-form-field",0)(1,"mat-label"),e._uU(2,"Tags"),e.qZA(),e.TgZ(3,"mat-chip-grid",1,2),e.YNc(5,D6,5,4,"mat-chip-row",3),e.TgZ(6,"input",4),e.NdJ("matChipInputTokenEnd",function(a){return t.add(a)}),e.qZA()()()),2&i){const n=e.MAs(4);e.xp6(5),e.Q6J("ngForOf",t.tags),e.xp6(1),e.Q6J("matChipInputFor",n)("matChipInputSeparatorKeyCodes",t.separatorKeysCodes)("matChipInputAddOnBlur",t.addOnBlur)}},dependencies:[F.sg,Aa,Ta,ar,dh,lg,ng,rg],styles:[".tags-chip-list[_ngcontent-%COMP%]{width:100%}"]});class B_{constructor(i,t,n,a,l,v,I,W,G,ye){this.snackBar=i,this.badgeService=t,this.queueService=n,this.utilities=a,this.appState=l,this.eventService=v,this.location=I,this.fb=W,this.navigation=G,this.profileService=ye,this.form=this.fb.group({name:["",so.required],description:["",so.required],image:["",so.required],thumb:[""],slug:["",so.required]}),this.note="",this.badge={name:"",description:"",image:"",thumb:"",slug:"",hashtags:["Collectible","Membership","Recognition"]},this.title="",this.summary="",this.eventType="badge",this.dateControl=new ic(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(i=>{this.updateBadge()}),this.queueService.enque(this.appState.getPublicKey(),"BadgeDefinition"),this.subscriptions.push(this.form.controls.name.valueChanges.subscribe(i=>{i&&this.form.controls.slug.setValue(this.createSlug(i))})),this.badgeService.selectedBadge&&(this.selectedBadge=this.badgeService.selectedBadge.slug,this.changedArticle(),this.badgeService.selectedBadge=void 0)}changedArticle(){let i=this.badgeService.selectedBadge||this.badgeService.getDefinition(this.selectedBadge);if(!i)return this.form.reset(),void(this.badge.hashtags=["Collectible","Membership","Recognition"]);null==i.name&&(i.name=""),null==i.image&&(i.image=""),null==i.thumb&&(i.thumb=""),null==i.description&&(i.description=""),this.form.setValue({name:i.name,description:i.description,image:i.image,thumb:i.thumb,slug:i.slug?i.slug:""}),this.updateBadge(i)}updateBadge(i){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,i&&(this.badge.hashtags=this.eventService.hashTags(i))}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}noteTypeChanged(){"badge"==this.eventType&&this.queueService.enque(this.appState.getPublicKey(),"BadgeDefinition")}createSlug(i){return(i=(i=i.toLowerCase()).replace(/[\s\W]+/g,"-")).replace(/^-+|-+$/g,"")}formatSlug(){this.form.controls.slug.setValue(this.createSlug(this.form.controls.slug.value))}onSubmitArticle(){var i=this;return(0,ve.Z)(function*(){const t=i.form.controls,n={name:t.name.value,description:t.description.value,image:t.image.value,thumb:t.thumb.value,slug:t.slug.value,hashtags:i.badge.hashtags};yield i.navigation.saveBadgeDefinition(n),i.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 A6(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"p")(1,"button",8),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.showIssuing=!a.showIssuing)}),e._uU(2,"ISSUE BADGE"),e.qZA(),e.TgZ(3,"button",8),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().$implicit,l=e.oxw(2);return e.KtG(l.edit(a))}),e._uU(4,"EDIT"),e.qZA()()}}function S6(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div")(1,"mat-form-field",9)(2,"mat-label"),e._uU(3,"Pub Key (hex format only, line separated, add relay comma separated at the end)"),e.qZA(),e.TgZ(4,"textarea",10),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw(3);return e.KtG(l.pubkeys=a)}),e.qZA()(),e._UZ(5,"br"),e.TgZ(6,"button",11),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().$implicit,l=e.oxw(2);return e.KtG(l.issueBadge(a))}),e._uU(7,"Publish Badge Reward"),e.qZA()()}if(2&r){const t=e.oxw(3);e.xp6(4),e.Q6J("ngModel",t.pubkeys),e.xp6(2),e.Q6J("disabled",0==t.pubkeys.length)}}function I6(r,i){if(1&r&&(e.TgZ(0,"app-badge-card",4),e._uU(1," Created by:\xa0"),e._UZ(2,"app-profile-name",5)(3,"br"),e._uU(4," Last updated: "),e._UZ(5,"app-date",6),e.YNc(6,A6,5,0,"p",7),e.YNc(7,S6,8,2,"div",7),e.qZA()),2&r){const t=i.$implicit,n=e.oxw(2);e.Q6J("badge",t),e.xp6(2),e.Q6J("pubkey",t.pubkey),e.xp6(3),e.Q6J("date",t.created_at),e.xp6(1),e.Q6J("ngIf",n.appState.getPublicKey()==t.pubkey),e.xp6(1),e.Q6J("ngIf",n.showIssuing)}}function O6(r,i){if(1&r&&(e.TgZ(0,"div",2),e.YNc(1,I6,8,5,"app-badge-card",3),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.sub.events)}}B_.\u0275fac=function(i){return new(i||B_)(e.Y36(ko.ux),e.Y36(na),e.Y36(In),e.Y36(Pi.dU),e.Y36(ce.i),e.Y36(Ar),e.Y36(F.Ye),e.Y36(wm),e.Y36(ra),e.Y36(Bn))},B_.\u0275cmp=e.Xpm({type:B_,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(i,t){if(1&i&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"mat-button-toggle-group",3,4),e.NdJ("change",function(){return t.noteTypeChanged()})("ngModelChange",function(a){return t.eventType=a}),e.TgZ(5,"mat-button-toggle",5),e._uU(6,"Badge"),e.qZA()()(),e.YNc(7,E6,6,2,"mat-form-field",6),e.YNc(8,T6,33,3,"form",7),e.qZA(),e.TgZ(9,"div",8)(10,"h2",9),e._uU(11,"Badge Design Preview"),e.qZA(),e._UZ(12,"br")(13,"app-badge-card",10),e.qZA()()),2&i){const n=e.MAs(4);e.xp6(3),e.Q6J("ngModel",t.eventType),e.xp6(4),e.Q6J("ngIf","badge"==n.value),e.xp6(1),e.Q6J("ngIf","badge"==n.value),e.xp6(5),e.Q6J("badge",t.badge)("preview",!0)}},dependencies:[F.sg,F.O5,Za,Aa,Ta,Mt.lW,fu,ae.ey,Pc,_a,ua,kl,Ma,As,pm,vt,Ui,rC,aC,Ih,Oh,P_],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 Df{constructor(i,t,n,a,l,v,I,W){this.snackBar=i,this.relayService=t,this.badgeService=n,this.appState=a,this.activatedRoute=l,this.router=v,this.navigation=I,this.utilities=W,this.showIssuing=!1,this.pubkeys="",this.subscriptions=[]}ngOnDestroy(){this.relayService.unsubscribe(this.sub.id),this.utilities.unsubscribe(this.subscriptions)}edit(i){this.badgeService.selectedBadge=i,this.router.navigateByUrl("/editor/badges")}issueBadge(i){var t=this;return(0,ve.Z)(function*(){const n=t.pubkeys.split(/\r?\n/),a=[];for(let l=0;ly.e(22).then(y.bind(y,6022)).then(r=>r.AboutModule)},{path:"about/licenses",component:gA.d,canActivate:[xr.P],resolve:{data:Pr.T}},{path:"settings",component:Th,canActivate:[xr.P],resolve:{data:Pr.T}},{path:"relays",component:O_,canActivate:[xr.P],resolve:{data:Pr.T}},{path:"development",component:D_,canActivate:[xr.P],resolve:{data:Pr.T}},{path:"queue",component:x_,canActivate:[xr.P],resolve:{data:Pr.T}},{path:"logout",component:_h}];class Mf{}Mf.\u0275fac=function(i){return new(i||Mf)},Mf.\u0275mod=e.oAB({type:Mf}),Mf.\u0275inj=e.cJS({imports:[Ht.Bz.forRoot(N6,{scrollOffset:[0,0],scrollPositionRestoration:"enabled",anchorScrolling:"enabled"}),Ht.Bz]});var xM=y(1781);class L6{constructor(){this.prefix="web+nostr:"}removeHandler(i){return i.indexOf("://")>-1?i.substring(i.indexOf("://")+3):i}decode(i){if(!i.startsWith(this.prefix))throw new Error("Invalid Nostr URI: "+i);var t=i.slice(this.prefix.length,i.indexOf(":",this.prefix.length)).toLowerCase(),a=i.slice(this.prefix.length+t.length+1).split("?"),l=a[0];let v;return l.indexOf("/")>-1&&(l=l.substring(0,l.length-1)),a.length>1&&(v=xM.parse(a[1])),{address:l,scheme:t,options:v}}transform(i){const t=i.address,n=i.scheme,a=i;return delete a.address,delete a.scheme,{address:t,scheme:n,options:a}}encode(i){var t=xM.stringify(i.options);return i.scheme+":"+i.address+(t?"?":"")+t}}const xu=new Qc.y(vn.Z);var R6=y(4033),FM=y(576);const B6={connector:()=>new D.x};function CM(r,i=B6){const{connector:t}=i;return(0,Ds.e)((n,a)=>{const l=t();(0,Cd.Xf)(r(function P6(r){return new Qc.y(i=>r.subscribe(i))}(l))).subscribe(a),a.add(n.subscribe(l))})}const Y_="Service workers are disabled or not supported by this browser";class tv{constructor(i){if(this.serviceWorker=i,i){const n=(0,Bl.R)(i,"controllerchange").pipe((0,rr.U)(()=>i.controller)),a=(0,P.P)(()=>(0,U.of)(i.controller)),l=(0,ob.z)(a,n);this.worker=l.pipe((0,Qe.h)(ye=>!!ye)),this.registration=this.worker.pipe((0,bs.w)(()=>i.getRegistration()));const G=(0,Bl.R)(i,"message").pipe((0,rr.U)(ye=>ye.data)).pipe((0,Qe.h)(ye=>ye&&ye.type)).pipe(function H6(r){return r?i=>CM(r)(i):i=>function Y6(r,i){const t=(0,FM.m)(r)?r:()=>r;return(0,FM.m)(i)?CM(i,{connector:t}):n=>new R6.c(n,t)}(new D.x)(i)}());G.connect(),this.events=G}else this.worker=this.events=this.registration=function U6(r){return(0,P.P)(()=>(0,tl._)(new Error(r)))}(Y_)}postMessage(i,t){return this.worker.pipe((0,Se.q)(1),(0,Yd.b)(n=>{n.postMessage({action:i,...t})})).toPromise().then(()=>{})}postMessageWithOperation(i,t,n){const a=this.waitForOperationCompleted(n),l=this.postMessage(i,t);return Promise.all([l,a]).then(([,v])=>v)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(i){let t;return t="string"==typeof i?n=>n.type===i:n=>i.includes(n.type),this.events.pipe((0,Qe.h)(t))}nextEventOfType(i){return this.eventsOfType(i).pipe((0,Se.q)(1))}waitForOperationCompleted(i){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,Qe.h)(t=>t.nonce===i),(0,Se.q)(1),(0,rr.U)(t=>{if(void 0!==t.result)return t.result;throw new Error(t.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let j6=(()=>{class r{get isEnabled(){return this.sw.isEnabled}constructor(t){if(this.sw=t,this.pushManager=null,this.subscriptionChanges=new D.x,!t.isEnabled)return this.messages=xu,this.notificationClicks=xu,void(this.subscription=xu);this.messages=this.sw.eventsOfType("PUSH").pipe((0,rr.U)(a=>a.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,rr.U)(a=>a.data)),this.pushManager=this.sw.registration.pipe((0,rr.U)(a=>a.pushManager));const n=this.pushManager.pipe((0,bs.w)(a=>a.getSubscription()));this.subscription=(0,Ye.T)(n,this.subscriptionChanges)}requestSubscription(t){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(Y_));const n={userVisibleOnly:!0};let a=this.decodeBase64(t.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),l=new Uint8Array(new ArrayBuffer(a.length));for(let v=0;vv.subscribe(n)),(0,Se.q)(1)).toPromise().then(v=>(this.subscriptionChanges.next(v),v))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,Se.q)(1),(0,bs.w)(n=>{if(null===n)throw new Error("Not subscribed to push notifications.");return n.unsubscribe().then(a=>{if(!a)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(Y_))}decodeBase64(t){return atob(t)}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(tv))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})(),oC=(()=>{class r{get isEnabled(){return this.sw.isEnabled}constructor(t){if(this.sw=t,!t.isEnabled)return this.versionUpdates=xu,this.available=xu,this.activated=xu,void(this.unrecoverable=xu);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.available=this.versionUpdates.pipe((0,Qe.h)(n=>"VERSION_READY"===n.type),(0,rr.U)(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(Y_));const t=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:t},t)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Y_));const t=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:t},t)}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(tv))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})();class sC{}const kM=new e.OlP("NGSW_REGISTER_SCRIPT");function V6(r,i,t,n){return()=>{if(!(0,F.NF)(n)||!("serviceWorker"in navigator)||!1===t.enabled)return;let a;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof t.registrationStrategy)a=t.registrationStrategy();else{const[v,...I]=(t.registrationStrategy||"registerWhenStable:30000").split(":");switch(v){case"registerImmediately":a=(0,U.of)(null);break;case"registerWithDelay":a=DM(+I[0]||0);break;case"registerWhenStable":a=I[0]?(0,Ye.T)(MM(r),DM(+I[0])):MM(r);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${t.registrationStrategy}`)}}r.get(e.R0b).runOutsideAngular(()=>a.pipe((0,Se.q)(1)).subscribe(()=>navigator.serviceWorker.register(i,{scope:t.scope}).catch(v=>console.error("Service worker registration failed with:",v))))}}function DM(r){return(0,U.of)(null).pipe(Pl(r))}function MM(r){return r.get(e.z2F).isStable.pipe((0,Qe.h)(t=>t))}function Z6(r,i){return new tv((0,F.NF)(i)&&!1!==r.enabled?navigator.serviceWorker:void 0)}let z6=(()=>{class r{static register(t,n={}){return{ngModule:r,providers:[{provide:kM,useValue:t},{provide:sC,useValue:n},{provide:tv,useFactory:Z6,deps:[sC,e.Lbi]},{provide:e.ip1,useFactory:V6,deps:[e.zs3,kM,sC,e.Lbi],multi:!0}]}}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[j6,oC]}),r})();class Nh{constructor(i,t){this.updates=i,this.snackBar=t,this.updateClient()}updateClient(){this.updates.versionUpdates.subscribe(i=>{switch(i.type){case"VERSION_DETECTED":console.log(`Downloading new app version: ${i.version.hash}`);break;case"VERSION_READY":console.log(`Current app version: ${i.currentVersion.hash}`),console.log(`New app version ready for use: ${i.latestVersion.hash}`),this.doAppUpdate();break;case"VERSION_INSTALLATION_FAILED":console.log(`Failed to install app version '${i.version.hash}': ${i.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())}}Nh.\u0275fac=function(i){return new(i||Nh)(e.LFG(oC),e.LFG(ko.ux))},Nh.\u0275prov=e.Yz7({token:Nh,factory:Nh.\u0275fac,providedIn:"root"});var W6=y(590);class Lh{constructor(i,t){if(!(0,e.X6Q)()){const n=i.isStable.pipe((0,W6.P)(v=>!0===v)),a=function G6(r=0,i=Il.z){return r<0&&(r=0),(0,il.H)(r,r,i)}(216e5);(0,ob.z)(n,a).subscribe((0,ve.Z)(function*(){try{const v=yield t.checkForUpdate();console.log(v?"A new version is available.":"Already on the latest version.")}catch(v){console.error("Failed to check for updates:",v)}}))}}}Lh.\u0275fac=function(i){return new(i||Lh)(e.LFG(e.z2F),e.LFG(oC))},Lh.\u0275prov=e.Yz7({token:Lh,factory:Lh.\u0275fac});class Ef{constructor(i,t,n){this.router=i,this.appState=t,this.profileService=n,this.resultsChanged=new je.X(null),this.results$=this.resultsChanged.asObservable()}search(i){var t=this;return(0,ve.Z)(function*(){if(i)if(console.log("Searching for: ",i),i.startsWith("npub")){const n=yr.decode(i);t.resetSearch(),t.router.navigate(["/p",n.data])}else if(i.startsWith("nevent")){const n=yr.decode(i);t.resetSearch(),t.router.navigate(["/p",n.data])}else{const n=yield t.profileService.search(i.toLowerCase());t.updateResults(n),n||(t.resetSearch(),t.router.navigate(["/p",i]))}})()}updateResults(i){this.resultsChanged.next(i)}open(i){console.log("SELECTED:",i),i&&(this.resetSearch(),this.router.navigate(["/p",i.pubkey]))}resetSearch(){this.appState.searchText="",this.appState.showSearch=!1}}Ef.\u0275fac=function(i){return new(i||Ef)(e.LFG(Ht.F0),e.LFG(ce.i),e.LFG(Bn))},Ef.\u0275prov=e.Yz7({token:Ef,factory:Ef.\u0275fac,providedIn:"root"});const q6=["panel"];function Q6(r,i){if(1&r&&(e.TgZ(0,"div",0,1),e.Hsn(2),e.qZA()),2&r){const t=i.id,n=e.oxw();e.Q6J("id",n.id)("ngClass",n._classList)("@panelAnimation",n.isOpen?"visible":"hidden"),e.uIk("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby(t))}}const J6=["*"],K6=(0,xe.X$)("panelAnimation",[(0,xe.SB)("void, hidden",(0,xe.oB)({opacity:0,transform:"scaleY(0.8)"})),(0,xe.eR)(":enter, hidden => visible",[(0,xe.ru)([(0,xe.jt)("0.03s linear",(0,xe.oB)({opacity:1})),(0,xe.jt)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,xe.oB)({transform:"scaleY(1)"}))])]),(0,xe.eR)(":leave, visible => hidden",[(0,xe.jt)("0.075s linear",(0,xe.oB)({opacity:0}))])]);let $6=0;class X6{constructor(i,t){this.source=i,this.option=t}}const eI=(0,ae.Kr)(class{}),EM=new e.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function tI(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1}}});let iI=(()=>{class r extends eI{get isOpen(){return this._isOpen&&this.showPanel}_setColor(t){this._color=t,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(t){this._autoActiveFirstOption=(0,st.Ig)(t)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(t){this._autoSelectActiveOption=(0,st.Ig)(t)}set classList(t){this._classList=t&&t.length?(0,st.du)(t).reduce((n,a)=>(n[a]=!0,n),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(t,n,a,l){super(),this._changeDetectorRef=t,this._elementRef=n,this._defaults=a,this._activeOptionChanges=yo.w0.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this._autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this._autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.optionSelected=new e.vpe,this.opened=new e.vpe,this.closed=new e.vpe,this.optionActivated=new e.vpe,this._classList={},this.id="mat-autocomplete-"+$6++,this.inertGroups=l?.SAFARI||!1}ngAfterContentInit(){this._keyManager=new g.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(t=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[t]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(t){this.panel&&(this.panel.nativeElement.scrollTop=t)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(t){const n=new X6(this,t);this.optionSelected.emit(n)}_getPanelAriaLabelledby(t){return this.ariaLabel?null:this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}_setVisibilityClasses(t){t[this._visibleClass]=this.showPanel,t[this._hiddenClass]=!this.showPanel}_setThemeClasses(t){t["mat-primary"]="primary"===this._color,t["mat-warn"]="warn"===this._color,t["mat-accent"]="accent"===this._color}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(EM),e.Y36(x.t4))},r.\u0275dir=e.lG2({type:r,viewQuery:function(t,n){if(1&t&&(e.Gf(e.Rgc,7),e.Gf(q6,5)),2&t){let a;e.iGM(a=e.CRH())&&(n.template=a.first),e.iGM(a=e.CRH())&&(n.panel=a.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:[e.qOj]}),r})(),nI=(()=>{class r extends iI{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(t){this._hideSingleSelectionIndicator=(0,st.Ig)(t),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const t of this.options)t._changeDetectorRef.markForCheck()}}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-autocomplete"]],contentQueries:function(t,n,a){if(1&t&&(e.Suo(a,ae.K7,5),e.Suo(a,ae.ey,5)),2&t){let l;e.iGM(l=e.CRH())&&(n.optionGroups=l),e.iGM(l=e.CRH())&&(n.options=l)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{disableRipple:"disableRipple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matAutocomplete"],features:[e._Bn([{provide:ae.HF,useExisting:r}]),e.qOj],ngContentSelectors:J6,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(t,n){1&t&&(e.F$t(),e.YNc(0,Q6,3,5,"ng-template"))},dependencies:[F.mk],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:[K6]},changeDetection:0}),r})();const rI={provide:ga,useExisting:(0,e.Gpc)(()=>AM),multi:!0},TM=new e.OlP("mat-autocomplete-scroll-strategy"),oI={provide:TM,deps:[_.aV],useFactory:function aI(r){return()=>r.scrollStrategies.reposition()}};let sI=(()=>{class r{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(t){this._autocompleteDisabled=(0,st.Ig)(t)}constructor(t,n,a,l,v,I,W,G,ye,Ge,yt){this._element=t,this._overlay=n,this._viewContainerRef=a,this._zone=l,this._changeDetectorRef=v,this._dir=W,this._formField=G,this._document=ye,this._viewportRuler=Ge,this._defaults=yt,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=yo.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new D.x,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=(0,P.P)(()=>{const It=this.autocomplete?this.autocomplete.options:null;return It?It.changes.pipe((0,N.O)(It),(0,bs.w)(()=>(0,Ye.T)(...It.map(Yt=>Yt.onSelectionChange)))):this._zone.onStable.pipe((0,Se.q)(1),(0,bs.w)(()=>this.optionSelections))}),this._scrollStrategy=I}ngAfterViewInit(){const t=this._getWindow();typeof t<"u"&&this._zone.runOutsideAngular(()=>t.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(t){t.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const t=this._getWindow();typeof t<"u"&&t.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(0,Ye.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,Qe.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,Qe.h)(()=>this._overlayAttached)):(0,U.of)()).pipe((0,rr.U)(t=>t instanceof ae.rN?t:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,Ye.T)((0,Bl.R)(this._document,"click"),(0,Bl.R)(this._document,"auxclick"),(0,Bl.R)(this._document,"touchend")).pipe((0,Qe.h)(t=>{const n=(0,x.sA)(t),a=this._formField?this._formField._elementRef.nativeElement:null,l=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&n!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!a||!a.contains(n))&&(!l||!l.contains(n))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(n)}))}writeValue(t){Promise.resolve(null).then(()=>this._assignOptionValue(t))}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this._element.nativeElement.disabled=t}_handleKeydown(t){const n=t.keyCode,a=(0,A.Vb)(t);if(n===A.hY&&!a&&t.preventDefault(),this.activeOption&&n===A.K5&&this.panelOpen&&!a)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){const l=this.autocomplete._keyManager.activeItem,v=n===A.LH||n===A.JH;n===A.Mf||v&&!a&&this.panelOpen?this.autocomplete._keyManager.onKeydown(t):v&&this._canOpen()&&this.openPanel(),(v||this.autocomplete._keyManager.activeItem!==l)&&(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(t){let n=t.target,a=n.value;"number"===n.type&&(a=""==a?null:parseFloat(a)),this._previousValue!==a&&(this._previousValue=a,this._pendingAutoselectedOption=null,this._onChange(a),this._canOpen()&&this._document.activeElement===t.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(t=!1){this._formField&&"auto"===this._formField.floatLabel&&(t?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const t=this._zone.onStable.pipe((0,Se.q)(1)),n=this.autocomplete.options.changes.pipe((0,Yd.b)(()=>this._positionStrategy.reapplyLastPosition()),Pl(0));return(0,Ye.T)(t,n).pipe((0,bs.w)(()=>(this._zone.run(()=>{const a=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),a!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,Se.q)(1)).subscribe(a=>this._setValueAndClose(a))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(t){const n=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(t):t;this._updateNativeInputValue(n??"")}_updateNativeInputValue(t){this._formField?this._formField._control.value=t:this._element.nativeElement.value=t,this._previousValue=t}_setValueAndClose(t){const n=t?t.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(t){this.autocomplete.options.forEach(n=>{n!==t&&n.selected&&n.deselect()})}_attachOverlay(){let t=this._overlayRef;t?(this._positionStrategy.setOrigin(this._getConnectedElement()),t.updateSize({width:this._getPanelWidth()})):(this._portal=new k.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),t=this._overlay.create(this._getOverlayConfig()),this._overlayRef=t,this._handleOverlayEvents(t),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&t&&t.updateSize({width:this._getPanelWidth()})})),t&&!t.hasAttached()&&(t.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 _.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const t=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(t),this._positionStrategy=t,t}_setStrategyPositions(t){const n=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],a=this._aboveClass,l=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:a},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:a}];let v;v="above"===this.position?l:"below"===this.position?n:[...n,...l],t.withPositions(v)}_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 t=this.autocomplete;t.autoActiveFirstOption?t._keyManager.setFirstItemActive():t._keyManager.setActiveItem(-1)}_canOpen(){const t=this._element.nativeElement;return!t.readOnly&&!t.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(t){const n=this.autocomplete,a=(0,ae.CB)(t,n.options,n.optionGroups);if(0===t&&1===a)n._setScrollTop(0);else if(n.panel){const l=n.options.toArray()[t];if(l){const v=l._getHostElement(),I=(0,ae.jH)(v.offsetTop,v.offsetHeight,n._getScrollTop(),n.panel.nativeElement.offsetHeight);n._setScrollTop(I)}}}_handleOverlayEvents(t){t.keydownEvents().subscribe(n=>{(n.keyCode===A.hY&&!(0,A.Vb)(n)||n.keyCode===A.LH&&(0,A.Vb)(n,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),n.stopPropagation(),n.preventDefault())}),t.outsidePointerEvents().subscribe()}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(_.aV),e.Y36(e.s_b),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(TM),e.Y36(S.Is,8),e.Y36(rc,9),e.Y36(F.K0,8),e.Y36(Mr.rL),e.Y36(EM,8))},r.\u0275dir=e.lG2({type:r,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[e.TTD]}),r})(),AM=(()=>{class r extends sI{constructor(){super(...arguments),this._aboveClass="mat-mdc-autocomplete-panel-above"}}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(t,n){1&t&&e.NdJ("focusin",function(){return n._handleFocus()})("blur",function(){return n._onTouched()})("input",function(l){return n._handleInput(l)})("keydown",function(l){return n._handleKeydown(l)})("click",function(){return n._handleClick()}),2&t&&e.uIk("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:[e._Bn([rI]),e.qOj]}),r})(),lI=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[oI],imports:[_.U8,ae.Ng,ae.BQ,F.ez,Mr.ZD,ae.Ng,ae.BQ]}),r})();class Fu{constructor(i){this.utilities=i}transform(i){return i?Fu.time(i):"00:00:00"}static time(i){var t=Math.floor(i/60/60),n=Math.floor(i/60)-60*t,a=i%60;return t.toString().padStart(2,"0")+":"+n.toString().padStart(2,"0")+":"+a.toString().padStart(2,"0")}}Fu.\u0275fac=function(i){return new(i||Fu)(e.Y36(Pi.dU,16))},Fu.\u0275pipe=e.Yjl({name:"time",type:Fu,pure:!0});const cI=["knob"],dI=["valueIndicatorContainer"];function uI(r,i){if(1&r&&(e.TgZ(0,"div",4,5)(2,"div",6)(3,"span",7),e._uU(4),e.qZA()()()),2&r){const t=e.oxw();e.xp6(4),e.Oqu(t.valueIndicatorText)}}const hI=["trackActive"];function mI(r,i){if(1&r&&e._UZ(0,"div"),2&r){const t=i.$implicit,n=i.index,a=e.oxw(3);e.Tol(0===t?"mdc-slider__tick-mark--active":"mdc-slider__tick-mark--inactive"),e.Udp("transform",a._calcTickMarkTransform(n))}}function fI(r,i){if(1&r&&(e.ynx(0),e.YNc(1,mI,1,4,"div",11),e.BQk()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t._tickMarks)}}function pI(r,i){if(1&r&&(e.TgZ(0,"div",8,9),e.YNc(2,fI,2,1,"ng-container",10),e.qZA()),2&r){const t=e.oxw();e.xp6(2),e.Q6J("ngIf",t._cachedWidth)}}function gI(r,i){if(1&r&&e._UZ(0,"mat-slider-visual-thumb",7),2&r){const t=e.oxw();e.Q6J("discrete",t.discrete)("thumbPosition",1)("valueIndicatorText",t.startValueIndicatorText)}}const _I=["*"],iv=new e.OlP("_MatSlider"),SM=new e.OlP("_MatSliderThumb"),IM=new e.OlP("_MatSliderRangeThumb"),OM=new e.OlP("_MatSliderVisualThumb");let bI=(()=>{class r{constructor(t,n,a,l){this._cdr=t,this._ngZone=n,this._slider=l,this._isHovered=!1,this._isActive=!1,this._isValueIndicatorVisible=!1,this._onPointerMove=v=>{if(this._sliderInput._isFocused)return;const I=this._hostElement.getBoundingClientRect(),W=this._isSliderThumbHovered(v,I);this._isHovered=W,W?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=a.nativeElement}ngAfterViewInit(){this._ripple.radius=24,this._sliderInput=this._slider._getInput(this.thumbPosition),this._sliderInputEl=this._sliderInput._hostElement;const t=this._sliderInputEl;this._ngZone.runOutsideAngular(()=>{t.addEventListener("pointermove",this._onPointerMove),t.addEventListener("pointerdown",this._onDragStart),t.addEventListener("pointerup",this._onDragEnd),t.addEventListener("pointerleave",this._onMouseLeave),t.addEventListener("focus",this._onFocus),t.addEventListener("blur",this._onBlur)})}ngOnDestroy(){const t=this._sliderInputEl;t.removeEventListener("pointermove",this._onPointerMove),t.removeEventListener("pointerdown",this._onDragStart),t.removeEventListener("pointerup",this._onDragEnd),t.removeEventListener("pointerleave",this._onMouseLeave),t.removeEventListener("focus",this._onFocus),t.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(t){return 0===t?.state||1===t?.state}_showRipple(t,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}:t,centered:!0,persistent:!0})}_hideRipple(t){if(t?.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(t,n){const a=n.width/2,W=t.clientY-(n.y+a);return Math.pow(t.clientX-(n.x+a),2)+Math.pow(W,2){class r extends yI{get disabled(){return this._disabled}set disabled(t){this._disabled=(0,st.Ig)(t);const n=this._getInput(2),a=this._getInput(1);n&&(n.disabled=this._disabled),a&&(a.disabled=this._disabled)}get discrete(){return this._discrete}set discrete(t){this._discrete=(0,st.Ig)(t),this._updateValueIndicatorUIs()}get showTickMarks(){return this._showTickMarks}set showTickMarks(t){this._showTickMarks=(0,st.Ig)(t)}get min(){return this._min}set min(t){const n=(0,st.su)(t,this._min);this._min!==n&&this._updateMin(n)}_updateMin(t){const n=this._min;this._min=t,this._isRange?this._updateMinRange({old:n,new:t}):this._updateMinNonRange(t),this._onMinMaxOrStepChange()}_updateMinRange(t){const n=this._getInput(2),a=this._getInput(1),l=n.value,v=a.value;a.min=t.new,n.min=Math.max(t.new,a.value),a.max=Math.min(n.max,n.value),a._updateWidthInactive(),n._updateWidthInactive(),t.newt.old?this._onTranslateXChangeBySideEffect(a,n):this._onTranslateXChangeBySideEffect(n,a),l!==n.value&&this._onValueChange(n),v!==a.value&&this._onValueChange(a)}_updateMaxNonRange(t){const n=this._getInput(2);if(n){const a=n.value;n.max=t,n._updateThumbUIByValue(),this._updateTrackUI(n),a!==n.value&&this._onValueChange(n)}}get step(){return this._step}set step(t){const n=(0,st.su)(t,this._step);this._step!==n&&this._updateStep(n)}_updateStep(t){this._step=t,this._isRange?this._updateStepRange():this._updateStepNonRange(),this._onMinMaxOrStepChange()}_updateStepRange(){const t=this._getInput(2),n=this._getInput(1),a=t.value,l=n.value,v=n.value;t.min=this._min,n.max=this._max,t.step=this._step,n.step=this._step,this._platform.SAFARI&&(t.value=t.value,n.value=n.value),t.min=Math.max(this._min,n.value),n.max=Math.min(this._max,t.value),n._updateWidthInactive(),t._updateWidthInactive(),t.value`${G}`,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"===W,this._dirChangeSubscription=this._dir.change.subscribe(()=>this._onDirChange()),this._isRtl="rtl"===this._dir.value}ngAfterViewInit(){this._platform.isBrowser&&this._updateDimensions();const t=this._getInput(2),n=this._getInput(1);this._isRange=!!t&&!!n,this._cdr.detectChanges();const a=this._getThumb(2);this._rippleRadius=a._ripple.radius,this._inputPadding=this._rippleRadius-this._knobRadius,this._inputOffset=this._knobRadius,this._isRange?this._initUIRange(t,n):this._initUINonRange(t),this._updateTrackUI(t),this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._observeHostResize(),this._cdr.detectChanges()}_initUINonRange(t){t.initProps(),t.initUI(),this._updateValueIndicatorUI(t),this._hasViewInitialized=!0,t._updateThumbUIByValue()}_initUIRange(t,n){t.initProps(),t.initUI(),n.initProps(),n.initUI(),t._updateMinMax(),n._updateMinMax(),t._updateStaticStyles(),n._updateStaticStyles(),this._updateValueIndicatorUIs(),this._hasViewInitialized=!0,t._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 t=this._getInput(2),n=this._getInput(1);t._setIsLeftThumb(),n._setIsLeftThumb(),t.translateX=t._calcTranslateXByValue(),n.translateX=n._calcTranslateXByValue(),t._updateStaticStyles(),n._updateStaticStyles(),t._updateWidthInactive(),n._updateWidthInactive(),t._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(t=2){const n=this._getInput(t);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(t){const n=this._trackActive.nativeElement.style,a=t.left!==n.left&&t.right!==n.right;n.left=t.left,n.right=t.right,n.transformOrigin=t.transformOrigin,a?(this._elementRef.nativeElement.classList.add("mat-mdc-slider-disable-track-animation"),this._ngZone.onStable.pipe((0,Se.q)(1)).subscribe(()=>{this._elementRef.nativeElement.classList.remove("mat-mdc-slider-disable-track-animation"),n.transform=t.transform})):n.transform=t.transform}_calcTickMarkTransform(t){return`translateX(${t*(this._tickMarkTrackWidth/(this._tickMarks.length-1))}px`}_onTranslateXChange(t){this._hasViewInitialized&&(this._updateThumbUI(t),this._updateTrackUI(t),this._updateOverlappingThumbUI(t))}_onTranslateXChangeBySideEffect(t,n){this._hasViewInitialized&&(t._updateThumbUIByValue(),n._updateThumbUIByValue())}_onValueChange(t){this._hasViewInitialized&&(this._updateValueIndicatorUI(t),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 t=this._getInput(2),n=this._getInput(1);t._updateThumbUIByValue(),n._updateThumbUIByValue(),t._updateStaticStyles(),n._updateStaticStyles(),t._updateMinMax(),n._updateMinMax(),t._updateWidthInactive(),n._updateWidthInactive()}else{const t=this._getInput(2);t&&t._updateThumbUIByValue()}this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.detectChanges()}}_areThumbsOverlapping(){const t=this._getInput(1),n=this._getInput(2);return!(!t||!n)&&n.translateX-t.translateX<20}_updateOverlappingThumbClassNames(t){const n=t.getSibling(),a=this._getThumb(t.thumbPosition);this._getThumb(n.thumbPosition)._hostElement.classList.remove("mdc-slider__thumb--top"),a._hostElement.classList.toggle("mdc-slider__thumb--top",this._thumbsOverlap)}_updateOverlappingThumbUI(t){!this._isRange||this._skipUpdate()||this._thumbsOverlap!==this._areThumbsOverlapping()&&(this._thumbsOverlap=!this._thumbsOverlap,this._updateOverlappingThumbClassNames(t))}_updateThumbUI(t){this._skipUpdate()||(this._getThumb(2===t.thumbPosition?2:1)._hostElement.style.transform=`translateX(${t.translateX}px)`)}_updateValueIndicatorUI(t){if(this._skipUpdate())return;const n=this.displayWith(t.value);if(this._hasViewInitialized?t._valuetext=n:t._hostElement.setAttribute("aria-valuetext",n),this.discrete){1===t.thumbPosition?this.startValueIndicatorText=n:this.endValueIndicatorText=n;const a=this._getThumb(t.thumbPosition);n.length<3?a._hostElement.classList.add("mdc-slider__thumb--short-value"):a._hostElement.classList.remove("mdc-slider__thumb--short-value")}}_updateValueIndicatorUIs(){const t=this._getInput(2),n=this._getInput(1);t&&this._updateValueIndicatorUI(t),n&&this._updateValueIndicatorUI(n)}_updateTickMarkTrackUI(){if(!this.showTickMarks||this._skipUpdate())return;const t=this._step&&this._step>0?this._step:1,a=(Math.floor(this.max/t)*t-this.min)/(this.max-this.min);this._tickMarkTrackWidth=this._cachedWidth*a-6}_updateTrackUI(t){this._skipUpdate()||(this._isRange?this._updateTrackUIRange(t):this._updateTrackUINonRange(t))}_updateTrackUIRange(t){const n=t.getSibling();if(!n||!this._cachedWidth)return;const a=Math.abs(n.translateX-t.translateX)/this._cachedWidth;this._setTrackActiveStyles(t._isLeftThumb&&this._cachedWidth?{left:"auto",right:this._cachedWidth-n.translateX+"px",transformOrigin:"right",transform:`scaleX(${a})`}:{left:`${n.translateX}px`,right:"auto",transformOrigin:"left",transform:`scaleX(${a})`})}_updateTrackUINonRange(t){this._setTrackActiveStyles(this._isRtl?{left:"auto",right:"0px",transformOrigin:"right",transform:`scaleX(${1-t.fillPercentage})`}:{left:"0px",right:"auto",transformOrigin:"left",transform:`scaleX(${t.fillPercentage})`})}_updateTickMarkUI(){if(!this.showTickMarks||void 0===this.step||void 0===this.min||void 0===this.max)return;const t=this.step>0?this.step:1;this._isRange?this._updateTickMarkUIRange(t):this._updateTickMarkUINonRange(t),this._isRtl&&this._tickMarks.reverse()}_updateTickMarkUINonRange(t){const n=this._getValue();let a=Math.max(Math.round((n-this.min)/t),0),l=Math.max(Math.round((this.max-n)/t),0);this._isRtl?a++:l++,this._tickMarks=Array(a).fill(0).concat(Array(l).fill(1))}_updateTickMarkUIRange(t){const n=this._getValue(),a=this._getValue(1),l=Math.max(Math.floor((a-this.min)/t),0),v=Math.max(Math.floor((n-a)/t)+1,0),I=Math.max(Math.floor((this.max-n)/t),0);this._tickMarks=Array(l).fill(1).concat(Array(v).fill(0),Array(I).fill(1))}_getInput(t){return 2===t&&this._input?this._input:this._inputs?.length?1===t?this._inputs.first:this._inputs.last:void 0}_getThumb(t){return 2===t?this._thumbs?.last:this._thumbs?.first}_setTransition(t){this._hasAnimation=t&&!this._noopAnimations,this._elementRef.nativeElement.classList.toggle("mat-mdc-slider-with-animation",this._hasAnimation)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(x.t4),e.Y36(e.SBq),e.Y36(S.Is,8),e.Y36(ae.Y2,8),e.Y36(e.QbO,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-slider"]],contentQueries:function(t,n,a){if(1&t&&(e.Suo(a,SM,5),e.Suo(a,IM,4)),2&t){let l;e.iGM(l=e.CRH())&&(n._input=l.first),e.iGM(l=e.CRH())&&(n._inputs=l)}},viewQuery:function(t,n){if(1&t&&(e.Gf(hI,5),e.Gf(OM,5)),2&t){let a;e.iGM(a=e.CRH())&&(n._trackActive=a.first),e.iGM(a=e.CRH())&&(n._thumbs=a)}},hostAttrs:[1,"mat-mdc-slider","mdc-slider"],hostVars:10,hostBindings:function(t,n){2&t&&e.ekj("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:[e._Bn([{provide:iv,useExisting:r}]),e.qOj],ngContentSelectors:_I,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(t,n){1&t&&(e.F$t(),e.Hsn(0),e.TgZ(1,"div",0),e._UZ(2,"div",1),e.TgZ(3,"div",2),e._UZ(4,"div",3,4),e.qZA(),e.YNc(6,pI,3,1,"div",5),e.qZA(),e.YNc(7,gI,1,3,"mat-slider-visual-thumb",6),e._UZ(8,"mat-slider-visual-thumb",7)),2&t&&(e.xp6(6),e.Q6J("ngIf",n.showTickMarks),e.xp6(1),e.Q6J("ngIf",n._isRange),e.xp6(1),e.Q6J("discrete",n.discrete)("thumbPosition",2)("valueIndicatorText",n.endValueIndicatorText))},dependencies:[F.sg,F.O5,bI],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}),r})();const xI={provide:ga,useExisting:(0,e.Gpc)(()=>lC),multi:!0};let lC=(()=>{class r{get value(){return(0,st.su)(this._hostElement.value)}set value(t){const n=(0,st.su)(t).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(t){this._translateX=t}get min(){return(0,st.su)(this._hostElement.min)}set min(t){this._hostElement.min=(0,st.su)(t).toString(),this._cdr.detectChanges()}get max(){return(0,st.su)(this._hostElement.max)}set max(t){this._hostElement.max=(0,st.su)(t).toString(),this._cdr.detectChanges()}get step(){return(0,st.su)(this._hostElement.step)}set step(t){this._hostElement.step=(0,st.su)(t).toString(),this._cdr.detectChanges()}get disabled(){return(0,st.Ig)(this._hostElement.disabled)}set disabled(t){this._hostElement.disabled=(0,st.Ig)(t),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(t){this._isFocused=t}constructor(t,n,a,l){this._ngZone=t,this._elementRef=n,this._cdr=a,this._slider=l,this.valueChange=new e.vpe,this.dragStart=new e.vpe,this.dragEnd=new e.vpe,this.thumbPosition=2,this._knobRadius=8,this._isActive=!1,this._isFocused=!1,this._hasSetInitialValue=!1,this._destroyed=new D.x,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(t){this.disabled||0!==t.button||(this._isActive=!0,this._setIsFocused(!0),this._updateWidthActive(),this._slider._updateDimensions(),this._slider.step||this._updateThumbUIByPointerEvent(t,{withAnimation:!0}),this.disabled||(this._handleValueCorrection(t),this.dragStart.emit({source:this,parent:this._slider,value:this.value})))}_handleValueCorrection(t){this._skipUIUpdate=!0,setTimeout(()=>{this._skipUIUpdate=!1,this._fixValue(t)},0)}_fixValue(t){const n=t.clientX-this._slider._cachedLeft,a=this._slider._cachedWidth,l=0===this._slider.step?1:this._slider.step,v=Math.floor((this._slider.max-this._slider.min)/l),G=Math.round((this._slider._isRtl?1-n/a:n/a)*v)/v*(this._slider.max-this._slider.min)+this._slider.min,ye=Math.round(G/l)*l;if(ye===this.value)return this._slider._onValueChange(this),void(this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(t,{withAnimation:this._slider._hasAnimation}));this.value=ye,this.valueChange.emit(this.value),this._onChangeFn(this.value),this._slider._onValueChange(this),this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(t,{withAnimation:this._slider._hasAnimation})}_onPointerMove(t){!this._slider.step&&this._isActive&&this._updateThumbUIByPointerEvent(t)}_onPointerUp(){this._isActive&&(this._isActive=!1,this.dragEnd.emit({source:this,parent:this._slider,value:this.value}),setTimeout(()=>this._updateWidthInactive()))}_clamp(t){return Math.max(Math.min(t,this._slider._cachedWidth),0)}_calcTranslateXByValue(){return this._slider._isRtl?(1-this.percentage)*this._slider._cachedWidth:this.percentage*this._slider._cachedWidth}_calcTranslateXByPointerEvent(t){return t.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(t){this.translateX=this._clamp(this._calcTranslateXByValue()),this._updateThumbUI(t)}_updateThumbUIByPointerEvent(t,n){this.translateX=this._clamp(this._calcTranslateXByPointerEvent(t)),this._updateThumbUI(n)}_updateThumbUI(t){this._slider._setTransition(!!t?.withAnimation),this._slider._onTranslateXChange(this)}writeValue(t){this.value=t}registerOnChange(t){this._onChangeFn=t}registerOnTouched(t){this._onTouchedFn=t}setDisabledState(t){this.disabled=t}focus(){this._hostElement.focus()}blur(){this._hostElement.blur()}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(iv))},r.\u0275dir=e.lG2({type:r,selectors:[["input","matSliderThumb",""]],hostAttrs:["type","range",1,"mdc-slider__input"],hostVars:1,hostBindings:function(t,n){1&t&&e.NdJ("change",function(){return n._onChange()})("input",function(){return n._onInput()})("blur",function(){return n._onBlur()})("focus",function(){return n._onFocus()}),2&t&&e.uIk("aria-valuetext",n._valuetext)},inputs:{value:"value"},outputs:{valueChange:"valueChange",dragStart:"dragStart",dragEnd:"dragEnd"},exportAs:["matSliderThumb"],features:[e._Bn([xI,{provide:SM,useExisting:r}])]}),r})(),kI=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ae.BQ,F.ez,ae.si]}),r})();function DI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",8),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.media.rate())}),e.TgZ(1,"mat-icon"),e._uU(2,"speed"),e.qZA()()}}function MI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",8),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.media.rewind(10))}),e.TgZ(1,"mat-icon"),e._uU(2,"replay_10"),e.qZA()()}}function EI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",8),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.media.resume())}),e.TgZ(1,"mat-icon"),e._uU(2,"play_arrow"),e.qZA()()}}function TI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",8),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.media.pause())}),e.TgZ(1,"mat-icon"),e._uU(2,"pause"),e.qZA()()}}function AI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",8),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.media.forward(10))}),e.TgZ(1,"mat-icon"),e._uU(2,"forward_10"),e.qZA()()}}function SI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",8),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.media.mute())}),e.TgZ(1,"mat-icon"),e._uU(2,"volume_off"),e.qZA()()}}function II(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",8),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.media.mute())}),e.TgZ(1,"mat-icon"),e._uU(2,"volume_up"),e.qZA()()}}function OI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"div",4),e.YNc(3,DI,3,0,"button",5),e.YNc(4,MI,3,0,"button",5),e.TgZ(5,"button",6),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.media.previous())}),e.TgZ(6,"mat-icon"),e._uU(7,"skip_previous"),e.qZA()(),e.YNc(8,EI,3,0,"button",5),e.YNc(9,TI,3,0,"button",5),e.TgZ(10,"button",6),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.media.next())}),e.TgZ(11,"mat-icon"),e._uU(12,"skip_next"),e.qZA()(),e.YNc(13,AI,3,0,"button",5),e.YNc(14,SI,3,0,"button",5),e.YNc(15,II,3,0,"button",5),e.qZA()(),e._UZ(16,"div",7),e.qZA()}if(2&r){const t=e.oxw();e.xp6(3),e.Q6J("ngIf","Podcast"===(null==t.media.current?null:t.media.current.type)),e.xp6(1),e.Q6J("ngIf","Podcast"===(null==t.media.current?null:t.media.current.type)),e.xp6(1),e.Q6J("disabled",!t.media.canPrevious),e.xp6(3),e.Q6J("ngIf",t.media.paused),e.xp6(1),e.Q6J("ngIf",!t.media.paused),e.xp6(1),e.Q6J("disabled",!t.media.canNext),e.xp6(3),e.Q6J("ngIf","Podcast"===(null==t.media.current?null:t.media.current.type)),e.xp6(1),e.Q6J("ngIf",!t.media.videoMode&&t.media.muted),e.xp6(1),e.Q6J("ngIf",!t.media.videoMode&&!t.media.muted)}}function NI(r,i){if(1&r&&(e.TgZ(0,"div",13),e._UZ(1,"img",14),e.TgZ(2,"div",15)(3,"div",16),e._uU(4),e.qZA(),e.TgZ(5,"div",17),e._uU(6),e.qZA()()()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("src",null==t.media.current?null:t.media.current.artwork,e.LSH),e.xp6(3),e.Oqu(null==t.media.current?null:t.media.current.title),e.xp6(2),e.Oqu(null==t.media.current?null:t.media.current.artist)}}function LI(r,i){if(1&r&&e._UZ(0,"iframe",19),2&r){const t=e.oxw(3);e.Q6J("src",t.media.youtubeUrl,e.uOi)}}function RI(r,i){if(1&r&&(e.TgZ(0,"div",13),e.YNc(1,LI,1,1,"iframe",18),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.media.youtubeUrl)}}function PI(r,i){if(1&r&&(e.TgZ(0,"div",13)(1,"video",20),e._UZ(2,"source",21),e.qZA()()),2&r){const t=e.oxw(2);e.xp6(2),e.Q6J("src",t.media.videoUrl,e.LSH)}}function BI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",30),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.media.rate())}),e.TgZ(1,"mat-icon"),e._uU(2,"speed"),e.qZA()()}}function YI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",31),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.media.rewind(10))}),e.TgZ(1,"mat-icon"),e._uU(2,"replay_10"),e.qZA()()}}function HI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",32),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.media.resume())}),e.TgZ(1,"mat-icon"),e._uU(2,"play_arrow"),e.qZA()()}}function UI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",33),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.media.pause())}),e.TgZ(1,"mat-icon"),e._uU(2,"pause"),e.qZA()()}}function jI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",34),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.media.forward(10))}),e.TgZ(1,"mat-icon"),e._uU(2,"forward_10"),e.qZA()()}}function VI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",35)(1,"div",36),e._uU(2),e.ALo(3,"time"),e.qZA(),e.TgZ(4,"div",37)(5,"mat-slider",38)(6,"input",39),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw(3);return e.KtG(l.media.time=a)}),e.qZA()()(),e.TgZ(7,"div",40),e._uU(8),e.ALo(9,"time"),e.qZA()()}if(2&r){const t=e.oxw(3);e.xp6(2),e.Oqu(e.lcZ(3,7,t.media.time)),e.xp6(3),e.Q6J("displayWith",t.formatLabel)("max",t.media.duration)("min",0)("step",1),e.xp6(1),e.Q6J("ngModel",t.media.time),e.xp6(2),e.Oqu(e.lcZ(9,9,t.media.duration))}}function ZI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",3)(1,"div",4),e.YNc(2,BI,3,0,"button",22),e.YNc(3,YI,3,0,"button",23),e.TgZ(4,"button",24),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.media.previous())}),e.TgZ(5,"mat-icon"),e._uU(6,"skip_previous"),e.qZA()(),e.YNc(7,HI,3,0,"button",25),e.YNc(8,UI,3,0,"button",26),e.TgZ(9,"button",27),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.media.next())}),e.TgZ(10,"mat-icon"),e._uU(11,"skip_next"),e.qZA()(),e.YNc(12,jI,3,0,"button",28),e.qZA(),e.YNc(13,VI,10,11,"div",29),e.qZA()}if(2&r){const t=e.oxw(2);e.xp6(2),e.Q6J("ngIf","Podcast"===(null==t.media.current?null:t.media.current.type)),e.xp6(1),e.Q6J("ngIf","Podcast"===(null==t.media.current?null:t.media.current.type)),e.xp6(1),e.Q6J("disabled",!t.media.canPrevious),e.xp6(3),e.Q6J("ngIf",t.media.paused),e.xp6(1),e.Q6J("ngIf",!t.media.paused),e.xp6(1),e.Q6J("disabled",!t.media.canNext),e.xp6(3),e.Q6J("ngIf","Podcast"===(null==t.media.current?null:t.media.current.type)),e.xp6(1),e.Q6J("ngIf",!t.media.videoMode&&!t.miniplayer)}}function zI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",46),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.expanded=!0)}),e.TgZ(1,"mat-icon"),e._uU(2,"expand_less"),e.qZA()()}}function GI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",46),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.expanded=!1)}),e.TgZ(1,"mat-icon"),e._uU(2,"expand_more"),e.qZA()()}}function WI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",41)(1,"div",42),e.YNc(2,zI,3,0,"button",43),e.YNc(3,GI,3,0,"button",43),e.TgZ(4,"button",44)(5,"mat-icon"),e._uU(6,"queue_music"),e.qZA()(),e.TgZ(7,"button",45),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.media.exit())}),e.TgZ(8,"mat-icon"),e._uU(9,"close"),e.qZA()()()()}if(2&r){const t=e.oxw(2);e.xp6(2),e.Q6J("ngIf",!t.expanded),e.xp6(1),e.Q6J("ngIf",t.expanded)}}function qI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",51),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.media.mute())}),e.TgZ(1,"mat-icon"),e._uU(2,"volume_off"),e.qZA()()}}function QI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",52),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.media.mute())}),e.TgZ(1,"mat-icon"),e._uU(2,"volume_up"),e.qZA()()}}function JI(r,i){1&r&&(e.TgZ(0,"button",44)(1,"mat-icon"),e._uU(2,"queue_music"),e.qZA()())}function KI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",45),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.media.exit())}),e.TgZ(1,"mat-icon"),e._uU(2,"close"),e.qZA()()}}function $I(r,i){if(1&r&&(e.TgZ(0,"div",41)(1,"div",42),e.YNc(2,qI,3,0,"button",47),e.YNc(3,QI,3,0,"button",48),e.YNc(4,JI,3,0,"button",49),e.YNc(5,KI,3,0,"button",50),e.qZA()()),2&r){const t=e.oxw(2);e.xp6(2),e.Q6J("ngIf",t.media.muted),e.xp6(1),e.Q6J("ngIf",!t.media.muted),e.xp6(1),e.Q6J("ngIf",!t.miniplayer),e.xp6(1),e.Q6J("ngIf",!t.miniplayer)}}const XI=function(r,i){return{"media-player-large":r,"media-player-maximized":i}};function e5(r,i){if(1&r&&(e.TgZ(0,"div",9),e.YNc(1,NI,7,3,"div",10),e.YNc(2,RI,2,1,"div",10),e.YNc(3,PI,3,1,"div",10),e.YNc(4,ZI,14,8,"div",11),e.YNc(5,WI,10,2,"div",12),e.YNc(6,$I,6,4,"div",12),e.qZA()),2&r){const t=e.oxw();e.Q6J("ngClass",e.WLB(7,XI,t.expanded,t.maximized)),e.xp6(1),e.Q6J("ngIf",!t.media.videoMode&&!t.miniplayer),e.xp6(1),e.Q6J("ngIf","YouTube"===(null==t.media.current?null:t.media.current.type)&&!t.miniplayer),e.xp6(1),e.Q6J("ngIf","Video"===(null==t.media.current?null:t.media.current.type)&&!t.miniplayer),e.xp6(1),e.Q6J("ngIf",!t.maximized),e.xp6(1),e.Q6J("ngIf",!t.maximized&&t.media.videoMode),e.xp6(1),e.Q6J("ngIf",!t.maximized&&!t.media.videoMode)}}class H_{constructor(i,t,n,a,l){this.options=i,this.media=t,this.profileService=n,this.utilities=a,this.dialog=l,this.miniplayer=!1,this.expanded=!1,this.maximized=!1}ngOnInit(){console.log("miniplayer:",this.miniplayer)}formatLabel(i){return Fu.time(i)}minimize(){window.resizeTo(200,5)}mediaConnect(){const i=document.querySelector("audio");i?(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",(0,ve.Z)(function*(){try{yield i.play()}catch(t){console.error(t.name,t.message)}})),navigator.mediaSession.setActionHandler("pause",()=>{i.pause()}),i.addEventListener("play",()=>{navigator.mediaSession.playbackState="playing"}),i.addEventListener("pause",()=>{navigator.mediaSession.playbackState="paused"})):console.log("Unable to find audio element")}}H_.\u0275fac=function(i){return new(i||H_)(e.Y36(Rr.I),e.Y36(cc),e.Y36(Bn),e.Y36(Pi.dU),e.Y36(vi))},H_.\u0275cmp=e.Xpm({type:H_,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"],["sandbox","allow-scripts allow-same-origin allow-presentation","id","ytplayer","class","youtube-video","type","text/html","frameborder","0","allowfullscreen","","allow","autoplay",3,"src",4,"ngIf"],["sandbox","allow-scripts allow-same-origin allow-presentation","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(i,t){1&i&&(e.YNc(0,OI,17,9,"div",0),e.YNc(1,e5,7,10,"div",1)),2&i&&(e.Q6J("ngIf",t.miniplayer),e.xp6(1),e.Q6J("ngIf",!t.miniplayer))},dependencies:[F.mk,F.O5,Ht.rH,Mt.RK,ar,eo,_a,ua,Ma,vI,lC,Fu],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 t5=["drawer"],n5=["draweraccount"],r5=["searchInput"],NM=function(r){return{rightToLeft:r}};function a5(r,i){if(1&r&&(e.TgZ(0,"div",2),e._UZ(1,"router-outlet"),e.qZA()),2&r){const t=e.oxw();e.Q6J("ngClass",e.VKq(2,NM,"rtl"===t.appState.documentDirection))("dir",t.appState.documentDirection)}}function o5(r,i){1&r&&e._UZ(0,"app-media-player",44),2&r&&e.Q6J("miniplayer",!0)}function s5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",45),e.NdJ("click",function(){e.CHM(t),e.oxw();const a=e.MAs(20);return e.KtG(a.toggle())}),e.TgZ(1,"mat-icon"),e._uU(2,"menu"),e.qZA()()}}function l5(r,i){1&r&&e._UZ(0,"img",46)}function c5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",47),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.goBack())}),e.TgZ(1,"mat-icon",48),e._uU(2,"arrow_back"),e.qZA()()}}function d5(r,i){if(1&r&&(e.TgZ(0,"div",49),e._uU(1),e.ALo(2,"async"),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Oqu(e.lcZ(2,1,t.appState.title$))}}function u5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",51),e.NdJ("click",function(){const l=e.CHM(t).$implicit;return e.KtG(l.click())}),e.TgZ(1,"mat-icon"),e._uU(2),e.qZA()()}if(2&r){const t=i.$implicit;e.Q6J("matTooltip",t.tooltip),e.xp6(2),e.Oqu(t.icon)}}function h5(r,i){if(1&r&&(e.TgZ(0,"span"),e.YNc(1,u5,3,2,"button",50),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.appState.actions)}}function m5(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw().$implicit;e.xp6(1),e.Oqu(t.display_name)}}function f5(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw().$implicit;e.xp6(1),e.Oqu(t.name)}}function p5(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw().$implicit;e.xp6(1),e.hij("(",t.nip05,")")}}function g5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-option",58),e.NdJ("onSelectionChange",function(){const l=e.CHM(t).$implicit,v=e.oxw(3);return e.KtG(v.searchService.open(l))}),e.TgZ(1,"span"),e._UZ(2,"img",59),e.qZA(),e.YNc(3,m5,2,1,"span",12),e.YNc(4,f5,2,1,"span",12),e.YNc(5,p5,2,1,"span",12),e.qZA()}if(2&r){const t=i.$implicit;e.Q6J("value",t.id),e.xp6(2),e.Q6J("src",t.picture,e.LSH),e.xp6(1),e.Q6J("ngIf",t.display_name),e.xp6(1),e.Q6J("ngIf",!t.display_name),e.xp6(1),e.Q6J("ngIf",t.nip05)}}function _5(r,i){if(1&r&&(e.TgZ(0,"form",52)(1,"mat-form-field",53)(2,"mat-label"),e._uU(3,"Search"),e.qZA(),e._UZ(4,"input",54,55),e.TgZ(6,"mat-autocomplete",null,56),e.YNc(8,g5,6,5,"mat-option",57),e.ALo(9,"async"),e.qZA()()()),2&r){const t=e.MAs(7),n=e.oxw(2);e.xp6(4),e.Q6J("formControl",n.searchControl)("matAutocomplete",t),e.xp6(4),e.Q6J("ngForOf",e.lcZ(9,3,n.searchService.results$))}}function b5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",47),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.searchVisibility(!1))}),e.TgZ(1,"mat-icon"),e._uU(2,"close"),e.qZA()()}}function y5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",47),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.searchVisibility(!0))}),e.TgZ(1,"mat-icon"),e._uU(2,"search"),e.qZA()()}}function v5(r,i){1&r&&e._UZ(0,"button",60),2&r&&e.Q6J("mtBasicSpinner",!0)}function w5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"img",61),e.NdJ("click",function(){e.CHM(t),e.oxw();const a=e.MAs(61);return e.KtG(a.toggle())}),e.qZA()}if(2&r){const t=e.oxw(2);e.Q6J("src",null==t.profile?null:t.profile.picture,e.LSH)}}function x5(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,"Home"),e.qZA())}function F5(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,"Feed"),e.qZA())}function C5(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,"Notifications"),e.qZA())}function k5(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,"People"),e.qZA())}function D5(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,"Circles"),e.qZA())}function M5(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,"Notes"),e.qZA())}function E5(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,"Relays"),e.qZA())}function T5(r,i){1&r&&(e.TgZ(0,"mat-icon"),e._uU(1,"chevron_left"),e.qZA())}function A5(r,i){1&r&&(e.TgZ(0,"mat-icon"),e._uU(1,"chevron_right"),e.qZA())}function S5(r,i){if(1&r&&e._UZ(0,"img",62),2&r){const t=e.oxw(2);e.Q6J("src",null==t.profile?null:t.profile.banner,e.LSH)}}function I5(r,i){if(1&r&&e._UZ(0,"img",62),2&r){const t=e.oxw(2);e.Q6J("src",t.bgimagePath,e.LSH)}}function O5(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,"@"),e.qZA())}function N5(r,i){1&r&&e._UZ(0,"app-media-player",63)}const L5=function(r,i){return{"sidenav-labels":r,"sidenav-small":i}},R5=function(){return["/"]},Vs=function(){return{exact:!0}},P5=function(){return["/feed"]},B5=function(){return["/notifications"]},Y5=function(){return["/people"]},H5=function(){return["/circles"]},U5=function(){return["/notes"]},j5=function(){return["/relays"]},V5=function(r){return{"new-post-small":r}},LM=function(){return["/profile"]},Z5=function(r){return["/following",r]},z5=function(r){return["/p",r]},G5=function(r){return["/badges",r]},W5=function(){return["/settings"]},q5=function(){return["/about"]},Q5=function(){return["/logout"]};function J5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",3)(1,"div",4),e._UZ(2,"img",5),e.YNc(3,o5,1,1,"app-media-player",6),e.qZA(),e.TgZ(4,"mat-toolbar",7),e.YNc(5,s5,3,0,"button",8),e.ALo(6,"async"),e._UZ(7,"span"),e.YNc(8,l5,1,0,"img",9),e.ALo(9,"async"),e.YNc(10,c5,3,0,"button",10),e.YNc(11,d5,3,3,"div",11),e.YNc(12,h5,2,1,"span",12),e.YNc(13,_5,10,5,"form",13),e.YNc(14,b5,3,0,"button",10),e.YNc(15,y5,3,0,"button",10),e.YNc(16,v5,1,1,"button",14),e.YNc(17,w5,1,1,"img",15),e.qZA(),e.TgZ(18,"mat-sidenav-container",16)(19,"mat-sidenav",17,18),e.ALo(21,"async"),e.ALo(22,"async"),e.ALo(23,"async"),e.TgZ(24,"mat-nav-list")(25,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleMenu())}),e.TgZ(26,"mat-icon"),e._uU(27,"home"),e.qZA(),e.YNc(28,x5,2,0,"span",12),e.qZA(),e.TgZ(29,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleMenu())}),e.TgZ(30,"mat-icon"),e._uU(31,"notes"),e.qZA(),e.YNc(32,F5,2,0,"span",12),e.qZA(),e.TgZ(33,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleMenu())}),e.TgZ(34,"mat-icon",20),e.ALo(35,"async"),e.ALo(36,"async"),e._uU(37,"notifications"),e.qZA(),e.YNc(38,C5,2,0,"span",12),e.qZA(),e.TgZ(39,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleMenu())}),e.TgZ(40,"mat-icon"),e._uU(41,"people"),e.qZA(),e.YNc(42,k5,2,0,"span",12),e.qZA(),e.TgZ(43,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleMenu())}),e.TgZ(44,"mat-icon"),e._uU(45,"animation"),e.qZA(),e.YNc(46,D5,2,0,"span",12),e.qZA(),e.TgZ(47,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleMenu())}),e.TgZ(48,"mat-icon"),e._uU(49,"bookmarks"),e.qZA(),e.YNc(50,M5,2,0,"span",12),e.qZA(),e.TgZ(51,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleMenu())}),e.TgZ(52,"mat-icon"),e._uU(53,"dns"),e.qZA(),e.YNc(54,E5,2,0,"span",12),e.qZA(),e.TgZ(55,"a",21),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleMenuSize())}),e.YNc(56,T5,2,0,"mat-icon",12),e.YNc(57,A5,2,0,"mat-icon",12),e.qZA()(),e.TgZ(58,"div",22)(59,"img",23),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.navigationService.createNote())}),e.qZA()()(),e.TgZ(60,"mat-sidenav",24,25)(62,"div",26)(63,"button",27),e.NdJ("click",function(){e.CHM(t);const a=e.MAs(61);return e.KtG(a.toggle())}),e.TgZ(64,"mat-icon"),e._uU(65,"close"),e.qZA()(),e.TgZ(66,"button",28),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.theme.darkMode=!a.theme.darkMode)}),e.TgZ(67,"mat-icon",29),e._uU(68),e.qZA()(),e.TgZ(69,"header")(70,"div",30),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.openProfile())}),e.YNc(71,S5,1,1,"img",31),e.YNc(72,I5,1,1,"img",31),e.TgZ(73,"div",32)(74,"h3"),e.YNc(75,O5,2,0,"span",12),e._uU(76),e.qZA(),e.TgZ(77,"p"),e._uU(78),e.qZA()()(),e.TgZ(79,"a",33),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleProfileMenu())}),e.TgZ(80,"div",34),e._UZ(81,"img",35),e.qZA()()(),e.TgZ(82,"div",36)(83,"div",37)(84,"ul")(85,"li"),e._uU(86,"0 "),e.TgZ(87,"span"),e._uU(88,"Followers"),e.qZA()(),e.TgZ(89,"li")(90,"a",38),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleProfileMenu())}),e._uU(91),e.TgZ(92,"span"),e._uU(93,"Following"),e.qZA()()()()()()(),e._UZ(94,"mat-divider"),e.TgZ(95,"mat-nav-list")(96,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleProfileMenu())}),e.TgZ(97,"mat-icon"),e._uU(98,"person"),e.qZA(),e.TgZ(99,"span"),e._uU(100,"View profile"),e.qZA()(),e.TgZ(101,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleProfileMenu())}),e.TgZ(102,"mat-icon"),e._uU(103,"edit"),e.qZA(),e.TgZ(104,"span"),e._uU(105,"Edit profile"),e.qZA()(),e.TgZ(106,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleProfileMenu())}),e.TgZ(107,"mat-icon"),e._uU(108,"badge"),e.qZA(),e.TgZ(109,"span"),e._uU(110,"Badges"),e.qZA()(),e.TgZ(111,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleProfileMenu())}),e.TgZ(112,"mat-icon"),e._uU(113,"settings"),e.qZA(),e.TgZ(114,"span"),e._uU(115,"Settings"),e.qZA()(),e.TgZ(116,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleProfileMenu())}),e.TgZ(117,"mat-icon"),e._uU(118,"help_outline"),e.qZA(),e.TgZ(119,"span"),e._uU(120,"About"),e.qZA()(),e.TgZ(121,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleProfileMenu())}),e.TgZ(122,"mat-icon"),e._uU(123,"logout"),e.qZA(),e.TgZ(124,"span"),e._uU(125,"Logout"),e.qZA()()(),e._UZ(126,"mat-menu",39,40),e.qZA(),e.TgZ(128,"mat-sidenav-content")(129,"div",41)(130,"div",42),e._UZ(131,"router-outlet"),e.qZA(),e.YNc(132,N5,1,0,"app-media-player",43),e.qZA()()()()}if(2&r){const t=e.oxw();e.Q6J("ngClass",e.VKq(82,NM,"rtl"===t.appState.documentDirection))("dir",t.appState.documentDirection),e.xp6(3),e.Q6J("ngIf",t.options.values.showMediaPlayer),e.xp6(2),e.Q6J("ngIf",!t.appState.showSearch&&!0===e.lcZ(6,68,t.isHandset$)),e.xp6(3),e.Q6J("ngIf",t.appState.showLogo&&!t.appState.showSearch&&!1===e.lcZ(9,70,t.isHandset$)),e.xp6(2),e.Q6J("ngIf",!t.appState.showSearch&&t.appState.showBackButton),e.xp6(1),e.Q6J("ngIf",!t.appState.showSearch),e.xp6(1),e.Q6J("ngIf",!t.appState.showSearch),e.xp6(1),e.Q6J("ngIf",t.appState.showSearch),e.xp6(1),e.Q6J("ngIf",t.appState.showSearch),e.xp6(1),e.Q6J("ngIf",!t.appState.showSearch),e.xp6(1),e.Q6J("ngIf",!t.appState.connected),e.xp6(1),e.Q6J("ngIf",!t.appState.showSearch),e.xp6(2),e.Q6J("ngClass",e.WLB(84,L5,t.displayLabels,!t.displayLabels))("mode",e.lcZ(22,74,t.isHandset$)?"over":"side")("opened",!1===e.lcZ(23,76,t.isHandset$)),e.uIk("role",e.lcZ(21,72,t.isHandset$)?"dialog":"navigation"),e.xp6(6),e.Q6J("routerLink",e.DdM(87,R5))("routerLinkActiveOptions",e.DdM(88,Vs)),e.xp6(3),e.Q6J("ngIf",t.displayLabels),e.xp6(1),e.Q6J("routerLink",e.DdM(89,P5))("routerLinkActiveOptions",e.DdM(90,Vs)),e.xp6(3),e.Q6J("ngIf",t.displayLabels),e.xp6(1),e.Q6J("routerLink",e.DdM(91,B5))("routerLinkActiveOptions",e.DdM(92,Vs)),e.xp6(1),e.Q6J("matBadgeHidden",0==e.lcZ(35,78,t.ui.unreadNotifications$))("matBadge",e.lcZ(36,80,t.ui.unreadNotifications$)),e.xp6(4),e.Q6J("ngIf",t.displayLabels),e.xp6(1),e.Q6J("routerLink",e.DdM(93,Y5))("routerLinkActiveOptions",e.DdM(94,Vs)),e.xp6(3),e.Q6J("ngIf",t.displayLabels),e.xp6(1),e.Q6J("routerLink",e.DdM(95,H5))("routerLinkActiveOptions",e.DdM(96,Vs)),e.xp6(3),e.Q6J("ngIf",t.displayLabels),e.xp6(1),e.Q6J("routerLink",e.DdM(97,U5))("routerLinkActiveOptions",e.DdM(98,Vs)),e.xp6(3),e.Q6J("ngIf",t.displayLabels),e.xp6(1),e.Q6J("routerLink",e.DdM(99,j5))("routerLinkActiveOptions",e.DdM(100,Vs)),e.xp6(3),e.Q6J("ngIf",t.displayLabels),e.xp6(2),e.Q6J("ngIf",t.displayLabels),e.xp6(1),e.Q6J("ngIf",!t.displayLabels),e.xp6(1),e.Q6J("ngClass",e.VKq(101,V5,!t.displayLabels)),e.xp6(2),e.Q6J("mode","over"),e.uIk("role","navigation"),e.xp6(8),e.Oqu(t.theme.darkMode?"dark_mode":"light_mode"),e.xp6(3),e.Q6J("ngIf",null==t.profile?null:t.profile.banner),e.xp6(1),e.Q6J("ngIf",!(null!=t.profile&&t.profile.banner)),e.xp6(3),e.Q6J("ngIf",null==t.profile?null:t.profile.name),e.xp6(1),e.Oqu(null==t.profile?null:t.profile.name),e.xp6(2),e.Oqu(null==t.profile?null:t.profile.about),e.xp6(1),e.Q6J("routerLink",e.DdM(103,LM)),e.xp6(2),e.Q6J("src",null==t.profile?null:t.profile.picture,e.LSH),e.xp6(9),e.Q6J("routerLink",e.VKq(104,Z5,t.appState.getPublicKey())),e.xp6(1),e.hij(" ",t.profileService.following.length," "),e.xp6(5),e.Q6J("routerLink",e.VKq(106,z5,t.appState.getPublicKey()))("routerLinkActiveOptions",e.DdM(108,Vs)),e.xp6(5),e.Q6J("routerLink",e.DdM(109,LM))("routerLinkActiveOptions",e.DdM(110,Vs)),e.xp6(5),e.Q6J("routerLink",e.VKq(111,G5,t.appState.getPublicKey()))("routerLinkActiveOptions",e.DdM(113,Vs)),e.xp6(5),e.Q6J("routerLink",e.DdM(114,W5))("routerLinkActiveOptions",e.DdM(115,Vs)),e.xp6(5),e.Q6J("routerLink",e.DdM(116,q5))("routerLinkActiveOptions",e.DdM(117,Vs)),e.xp6(5),e.Q6J("routerLink",e.DdM(118,Q5))("routerLinkActiveOptions",e.DdM(119,Vs)),e.xp6(11),e.Q6J("ngIf",t.options.values.showMediaPlayer)}}class U_{constructor(i,t,n,a,l,v,I,W,G,ye,Ge,yt,It,Yt,Gt,oi,ai,Ji,Ci,Wi,nn,_n,ur){var Vn=this;this.cd=i,this.options=t,this.db=n,this.appState=a,this.authService=l,this.router=v,this.appUpdateService=I,this.appUpdateCheckService=W,this.dialog=G,this.location=ye,this.labelService=Ge,this.breakpointObserver=yt,this.relayService=It,this.dataService=Yt,this.circleService=Gt,this.profileService=oi,this.badgeService=ai,this.navigationService=Ji,this.translate=Ci,this.ui=Wi,this.bottomSheet=nn,this.searchService=_n,this.theme=ur,this.authenticated=!1,this.bgimagePath="/assets/profile-bg.png",this.searchControl=new ic,this.displayLabels=!0,this.isHandset$=this.breakpointObserver.observe("(max-width: 599px)").pipe((0,rr.U)(qr=>qr.matches),(0,Fl.d)()),this.discoveredProfileDate=0,this.visibilityHandler||(this.visibilityHandler=addEventListener("visibilitychange",qr=>{this.appState.visibility("visible"===document.visibilityState)})),this.displayLabels=!this.options.values.hideSideLabels;const Er=globalThis.location.search;if(Er){const qr=Object.fromEntries(new URLSearchParams(Er));if(this.appState.params=qr,this.appState.params.nostr){const Ir=(new L6).decode(this.appState.params.nostr);Ir&&Ir.scheme&&Ir.address&&this.router.navigate(["nevent"===Ir.scheme?"/e":"/p",Ir.address])}}this.authService.authInfo$.subscribe(function(){var qr=(0,ve.Z)(function*(Gs){Vn.authenticated=Gs.authenticated(),Vn.authenticated&&(yield Vn.initialize())});return function(Gs){return qr.apply(this,arguments)}}()),this.profileService.profile$.subscribe(qr=>{this.profile=qr})}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(i){this.appState.showSearch=i,this.appState.searchText="",i&&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 i=this;return(0,ve.Z)(function*(){console.log("INITIALIZE IS RUNNING...."),i.translate.addLangs(["en","no"]),i.translate.setDefaultLang("en"),i.options.values.language&&(i.appState.setLanguage(i.options.values.language),["ar","fa","he"].includes(i.options.values.language)?(i.appState.documentDirection="rtl",i.options.values.dir="rtl"):(i.appState.documentDirection="ltr",i.options.values.dir="ltr")),yield i.db.initialize("blockcore-"+i.appState.getPublicKey()),yield i.circleService.initialize(),yield i.profileService.initialize(i.appState.getPublicKey()),yield i.relayService.initialize(),yield i.badgeService.initialize(),yield i.dataService.initialize(),yield i.labelService.initialize(),i.appState.connected$.subscribe(()=>{console.log("Connected to relay.. this can sometimes be triggered multiple times."),i.profileService.newProfileEvent&&setTimeout((0,ve.Z)(function*(){const t=JSON.parse(i.profileService.newProfileEvent.content);t.id=i.profileService.newProfileEvent?.id,t.pubkey=i.profileService.newProfileEvent?.pubkey,yield i.profileService.updateProfile(t.pubkey,t),yield i.dataService.publishEvent(i.profileService.newProfileEvent),i.profileService.newProfileEvent=void 0}),1e3)}),i.appState.setInitialized()})()}ngOnInit(){var i=this;return(0,ve.Z)(function*(){i.theme.init(),i.sharedWorker=new SharedWorker("/assets/shared.worker.js"),i.sharedWorker.port.onmessage=t=>{console.log(t.data)},i.sharedWorker.port.start(),i.searchControl.valueChanges.subscribe(function(){var t=(0,ve.Z)(function*(n){i.appState.searchText=n,n&&(n.length<=1||(yield i.searchService.search(n)))});return function(n){return t.apply(this,arguments)}}())})()}}function RM(r){return new e.vHH(3e3,!1)}function SO(){return typeof window<"u"&&typeof window.document<"u"}function cC(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Cu(r){switch(r.length){case 0:return new xe.ZN;case 1:return r[0];default:return new xe.ZE(r)}}function PM(r,i,t,n,a=new Map,l=new Map){const v=[],I=[];let W=-1,G=null;if(n.forEach(ye=>{const Ge=ye.get("offset"),yt=Ge==W,It=yt&&G||new Map;ye.forEach((Yt,Gt)=>{let oi=Gt,ai=Yt;if("offset"!==Gt)switch(oi=i.normalizePropertyName(oi,v),ai){case xe.k1:ai=a.get(Gt);break;case xe.l3:ai=l.get(Gt);break;default:ai=i.normalizeStyleValue(Gt,oi,ai,v)}It.set(oi,ai)}),yt||I.push(It),G=It,W=Ge}),v.length)throw function yO(r){return new e.vHH(3502,!1)}();return I}function dC(r,i,t,n){switch(i){case"start":r.onStart(()=>n(t&&uC(t,"start",r)));break;case"done":r.onDone(()=>n(t&&uC(t,"done",r)));break;case"destroy":r.onDestroy(()=>n(t&&uC(t,"destroy",r)))}}function uC(r,i,t){const l=hC(r.element,r.triggerName,r.fromState,r.toState,i||r.phaseName,t.totalTime??r.totalTime,!!t.disabled),v=r._data;return null!=v&&(l._data=v),l}function hC(r,i,t,n,a="",l=0,v){return{element:r,triggerName:i,fromState:t,toState:n,phaseName:a,totalTime:l,disabled:!!v}}function Zs(r,i,t){let n=r.get(i);return n||r.set(i,n=t),n}function BM(r){const i=r.indexOf(":");return[r.substring(1,i),r.slice(i+1)]}U_.\u0275fac=function(i){return new(i||U_)(e.Y36(e.sBO),e.Y36(Rr.I),e.Y36(Fi),e.Y36(ce.i),e.Y36(Os.$),e.Y36(Ht.F0),e.Y36(Nh),e.Y36(Lh),e.Y36(vi),e.Y36(F.Ye),e.Y36(os),e.Y36(ke.Yg),e.Y36(Sa),e.Y36(Wr),e.Y36(ba),e.Y36(Bn),e.Y36(na),e.Y36(ra),e.Y36(pl.sK),e.Y36(Gr),e.Y36(ei),e.Y36(Ef),e.Y36(oe))},U_.\u0275cmp=e.Xpm({type:U_,selectors:[["app-root"]],viewQuery:function(i,t){if(1&i&&(e.Gf(t5,5),e.Gf(n5,5),e.Gf(r5,5)),2&i){let n;e.iGM(n=e.CRH())&&(t.drawer=n.first),e.iGM(n=e.CRH())&&(t.draweraccount=n.first),e.iGM(n=e.CRH())&&(t.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(i,t){1&i&&(e.YNc(0,a5,2,4,"div",0),e.YNc(1,J5,133,120,"div",1)),2&i&&(e.Q6J("ngIf",!t.authenticated),e.xp6(1),e.Q6J("ngIf",t.authenticated))},dependencies:[F.mk,F.sg,F.O5,Ht.lC,Ht.rH,Ht.Od,S.Lv,Za,Aa,Ta,Mt.RK,ae.ey,GD,eC,tC,XF,ar,qF,Qi,fc,Ys,QD,eo,nI,AM,Pc,_a,ua,kl,rl,lp,VD,H_,F.Ov],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 mC=(r,i)=>!1,YM=(r,i,t)=>[],HM=null;function fC(r){const i=r.parentNode||r.host;return i===HM?null:i}(cC()||typeof Element<"u")&&(SO()?(HM=(()=>document.documentElement)(),mC=(r,i)=>{for(;i;){if(i===r)return!0;i=fC(i)}return!1}):mC=(r,i)=>r.contains(i),YM=(r,i,t)=>{if(t)return Array.from(r.querySelectorAll(i));const n=r.querySelector(i);return n?[n]:[]});let Rh=null,UM=!1;const jM=mC,VM=YM;let ZM=(()=>{class r{validateStyleProperty(t){return function OO(r){Rh||(Rh=function NO(){return typeof document<"u"?document.body:null}()||{},UM=!!Rh.style&&"WebkitAppearance"in Rh.style);let i=!0;return Rh.style&&!function IO(r){return"ebkit"==r.substring(1,6)}(r)&&(i=r in Rh.style,!i&&UM&&(i="Webkit"+r.charAt(0).toUpperCase()+r.slice(1)in Rh.style)),i}(t)}matchesElement(t,n){return!1}containsElement(t,n){return jM(t,n)}getParentElement(t){return fC(t)}query(t,n,a){return VM(t,n,a)}computeStyle(t,n,a){return a||""}animate(t,n,a,l,v,I=[],W){return new xe.ZN(a,l)}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})(),pC=(()=>{class r{}return r.NOOP=new ZM,r})();const LO=1e3,gC="ng-enter",nv="ng-leave",rv="ng-trigger",av=".ng-trigger",GM="ng-animating",_C=".ng-animating";function ud(r){if("number"==typeof r)return r;const i=r.match(/^(-?[\.\d]+)(m?s)/);return!i||i.length<2?0:bC(parseFloat(i[1]),i[2])}function bC(r,i){return"s"===i?r*LO:r}function ov(r,i,t){return r.hasOwnProperty("duration")?r:function PO(r,i,t){let a,l=0,v="";if("string"==typeof r){const I=r.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===I)return i.push(RM()),{duration:0,delay:0,easing:""};a=bC(parseFloat(I[1]),I[2]);const W=I[3];null!=W&&(l=bC(parseFloat(W),I[4]));const G=I[5];G&&(v=G)}else a=r;if(!t){let I=!1,W=i.length;a<0&&(i.push(function K5(){return new e.vHH(3100,!1)}()),I=!0),l<0&&(i.push(function $5(){return new e.vHH(3101,!1)}()),I=!0),I&&i.splice(W,0,RM())}return{duration:a,delay:l,easing:v}}(r,i,t)}function j_(r,i={}){return Object.keys(r).forEach(t=>{i[t]=r[t]}),i}function WM(r){const i=new Map;return Object.keys(r).forEach(t=>{i.set(t,r[t])}),i}function ku(r,i=new Map,t){if(t)for(let[n,a]of t)i.set(n,a);for(let[n,a]of r)i.set(n,a);return i}function QM(r,i,t){return t?i+":"+t+";":""}function JM(r){let i="";for(let t=0;t{const l=vC(a);t&&!t.has(a)&&t.set(a,r.style[l]),r.style[l]=n}),cC()&&JM(r))}function Ph(r,i){r.style&&(i.forEach((t,n)=>{const a=vC(n);r.style[a]=""}),cC()&&JM(r))}function V_(r){return Array.isArray(r)?1==r.length?r[0]:(0,xe.vP)(r):r}const yC=new RegExp("{{\\s*(.+?)\\s*}}","g");function KM(r){let i=[];if("string"==typeof r){let t;for(;t=yC.exec(r);)i.push(t[1]);yC.lastIndex=0}return i}function Z_(r,i,t){const n=r.toString(),a=n.replace(yC,(l,v)=>{let I=i[v];return null==I&&(t.push(function eO(r){return new e.vHH(3003,!1)}()),I=""),I.toString()});return a==n?r:a}function sv(r){const i=[];let t=r.next();for(;!t.done;)i.push(t.value),t=r.next();return i}const HO=/-+([a-z0-9])/g;function vC(r){return r.replace(HO,(...i)=>i[1].toUpperCase())}function UO(r){return r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function zs(r,i,t){switch(i.type){case 7:return r.visitTrigger(i,t);case 0:return r.visitState(i,t);case 1:return r.visitTransition(i,t);case 2:return r.visitSequence(i,t);case 3:return r.visitGroup(i,t);case 4:return r.visitAnimate(i,t);case 5:return r.visitKeyframes(i,t);case 6:return r.visitStyle(i,t);case 8:return r.visitReference(i,t);case 9:return r.visitAnimateChild(i,t);case 10:return r.visitAnimateRef(i,t);case 11:return r.visitQuery(i,t);case 12:return r.visitStagger(i,t);default:throw function tO(r){return new e.vHH(3004,!1)}()}}function $M(r,i){return window.getComputedStyle(r)[i]}const dv="*";function WO(r,i){const t=[];return"string"==typeof r?r.split(/\s*,\s*/).forEach(n=>function qO(r,i,t){if(":"==r[0]){const W=function QO(r,i){switch(r){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,n)=>parseFloat(n)>parseFloat(t);case":decrement":return(t,n)=>parseFloat(n) *"}}(r,t);if("function"==typeof W)return void i.push(W);r=W}const n=r.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==n||n.length<4)return t.push(function fO(r){return new e.vHH(3015,!1)}()),i;const a=n[1],l=n[2],v=n[3];i.push(XM(a,v));"<"==l[0]&&!(a==dv&&v==dv)&&i.push(XM(v,a))}(n,t,i)):t.push(r),t}const uv=new Set(["true","1"]),hv=new Set(["false","0"]);function XM(r,i){const t=uv.has(r)||hv.has(r),n=uv.has(i)||hv.has(i);return(a,l)=>{let v=r==dv||r==a,I=i==dv||i==l;return!v&&t&&"boolean"==typeof a&&(v=a?uv.has(r):hv.has(r)),!I&&n&&"boolean"==typeof l&&(I=l?uv.has(i):hv.has(i)),v&&I}}const JO=new RegExp("s*:selfs*,?","g");function wC(r,i,t,n){return new KO(r).build(i,t,n)}class KO{constructor(i){this._driver=i}build(i,t,n){const a=new eN(t);return this._resetContextStyleTimingState(a),zs(this,V_(i),a)}_resetContextStyleTimingState(i){i.currentQuerySelector="",i.collectedStyles=new Map,i.collectedStyles.set("",new Map),i.currentTime=0}visitTrigger(i,t){let n=t.queryCount=0,a=t.depCount=0;const l=[],v=[];return"@"==i.name.charAt(0)&&t.errors.push(function nO(){return new e.vHH(3006,!1)}()),i.definitions.forEach(I=>{if(this._resetContextStyleTimingState(t),0==I.type){const W=I,G=W.name;G.toString().split(/\s*,\s*/).forEach(ye=>{W.name=ye,l.push(this.visitState(W,t))}),W.name=G}else if(1==I.type){const W=this.visitTransition(I,t);n+=W.queryCount,a+=W.depCount,v.push(W)}else t.errors.push(function rO(){return new e.vHH(3007,!1)}())}),{type:7,name:i.name,states:l,transitions:v,queryCount:n,depCount:a,options:null}}visitState(i,t){const n=this.visitStyle(i.styles,t),a=i.options&&i.options.params||null;if(n.containsDynamicStyles){const l=new Set,v=a||{};n.styles.forEach(I=>{I instanceof Map&&I.forEach(W=>{KM(W).forEach(G=>{v.hasOwnProperty(G)||l.add(G)})})}),l.size&&(sv(l.values()),t.errors.push(function aO(r,i){return new e.vHH(3008,!1)}()))}return{type:0,name:i.name,style:n,options:a?{params:a}:null}}visitTransition(i,t){t.queryCount=0,t.depCount=0;const n=zs(this,V_(i.animation),t);return{type:1,matchers:WO(i.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:Bh(i.options)}}visitSequence(i,t){return{type:2,steps:i.steps.map(n=>zs(this,n,t)),options:Bh(i.options)}}visitGroup(i,t){const n=t.currentTime;let a=0;const l=i.steps.map(v=>{t.currentTime=n;const I=zs(this,v,t);return a=Math.max(a,t.currentTime),I});return t.currentTime=a,{type:3,steps:l,options:Bh(i.options)}}visitAnimate(i,t){const n=function iN(r,i){if(r.hasOwnProperty("duration"))return r;if("number"==typeof r)return xC(ov(r,i).duration,0,"");const t=r;if(t.split(/\s+/).some(l=>"{"==l.charAt(0)&&"{"==l.charAt(1))){const l=xC(0,0,"");return l.dynamic=!0,l.strValue=t,l}const a=ov(t,i);return xC(a.duration,a.delay,a.easing)}(i.timings,t.errors);t.currentAnimateTimings=n;let a,l=i.styles?i.styles:(0,xe.oB)({});if(5==l.type)a=this.visitKeyframes(l,t);else{let v=i.styles,I=!1;if(!v){I=!0;const G={};n.easing&&(G.easing=n.easing),v=(0,xe.oB)(G)}t.currentTime+=n.duration+n.delay;const W=this.visitStyle(v,t);W.isEmptyStep=I,a=W}return t.currentAnimateTimings=null,{type:4,timings:n,style:a,options:null}}visitStyle(i,t){const n=this._makeStyleAst(i,t);return this._validateStyleAst(n,t),n}_makeStyleAst(i,t){const n=[],a=Array.isArray(i.styles)?i.styles:[i.styles];for(let I of a)"string"==typeof I?I===xe.l3?n.push(I):t.errors.push(new e.vHH(3002,!1)):n.push(WM(I));let l=!1,v=null;return n.forEach(I=>{if(I instanceof Map&&(I.has("easing")&&(v=I.get("easing"),I.delete("easing")),!l))for(let W of I.values())if(W.toString().indexOf("{{")>=0){l=!0;break}}),{type:6,styles:n,easing:v,offset:i.offset,containsDynamicStyles:l,options:null}}_validateStyleAst(i,t){const n=t.currentAnimateTimings;let a=t.currentTime,l=t.currentTime;n&&l>0&&(l-=n.duration+n.delay),i.styles.forEach(v=>{"string"!=typeof v&&v.forEach((I,W)=>{const G=t.collectedStyles.get(t.currentQuerySelector),ye=G.get(W);let Ge=!0;ye&&(l!=a&&l>=ye.startTime&&a<=ye.endTime&&(t.errors.push(function sO(r,i,t,n,a){return new e.vHH(3010,!1)}()),Ge=!1),l=ye.startTime),Ge&&G.set(W,{startTime:l,endTime:a}),t.options&&function YO(r,i,t){const n=i.params||{},a=KM(r);a.length&&a.forEach(l=>{n.hasOwnProperty(l)||t.push(function X5(r){return new e.vHH(3001,!1)}())})}(I,t.options,t.errors)})})}visitKeyframes(i,t){const n={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function lO(){return new e.vHH(3011,!1)}()),n;let l=0;const v=[];let I=!1,W=!1,G=0;const ye=i.steps.map(ai=>{const Ji=this._makeStyleAst(ai,t);let Ci=null!=Ji.offset?Ji.offset:function tN(r){if("string"==typeof r)return null;let i=null;if(Array.isArray(r))r.forEach(t=>{if(t instanceof Map&&t.has("offset")){const n=t;i=parseFloat(n.get("offset")),n.delete("offset")}});else if(r instanceof Map&&r.has("offset")){const t=r;i=parseFloat(t.get("offset")),t.delete("offset")}return i}(Ji.styles),Wi=0;return null!=Ci&&(l++,Wi=Ji.offset=Ci),W=W||Wi<0||Wi>1,I=I||Wi0&&l{const Ci=yt>0?Ji==It?1:yt*Ji:v[Ji],Wi=Ci*oi;t.currentTime=Yt+Gt.delay+Wi,Gt.duration=Wi,this._validateStyleAst(ai,t),ai.offset=Ci,n.styles.push(ai)}),n}visitReference(i,t){return{type:8,animation:zs(this,V_(i.animation),t),options:Bh(i.options)}}visitAnimateChild(i,t){return t.depCount++,{type:9,options:Bh(i.options)}}visitAnimateRef(i,t){return{type:10,animation:this.visitReference(i.animation,t),options:Bh(i.options)}}visitQuery(i,t){const n=t.currentQuerySelector,a=i.options||{};t.queryCount++,t.currentQuery=i;const[l,v]=function $O(r){const i=!!r.split(/\s*,\s*/).find(t=>":self"==t);return i&&(r=r.replace(JO,"")),r=r.replace(/@\*/g,av).replace(/@\w+/g,t=>av+"-"+t.slice(1)).replace(/:animating/g,_C),[r,i]}(i.selector);t.currentQuerySelector=n.length?n+" "+l:l,Zs(t.collectedStyles,t.currentQuerySelector,new Map);const I=zs(this,V_(i.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:l,limit:a.limit||0,optional:!!a.optional,includeSelf:v,animation:I,originalSelector:i.selector,options:Bh(i.options)}}visitStagger(i,t){t.currentQuery||t.errors.push(function hO(){return new e.vHH(3013,!1)}());const n="full"===i.timings?{duration:0,delay:0,easing:"full"}:ov(i.timings,t.errors,!0);return{type:12,animation:zs(this,V_(i.animation),t),timings:n,options:null}}}class eN{constructor(i){this.errors=i,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 Bh(r){return r?(r=j_(r)).params&&(r.params=function XO(r){return r?j_(r):null}(r.params)):r={},r}function xC(r,i,t){return{duration:r,delay:i,easing:t}}function FC(r,i,t,n,a,l,v=null,I=!1){return{type:1,element:r,keyframes:i,preStyleProps:t,postStyleProps:n,duration:a,delay:l,totalTime:a+l,easing:v,subTimeline:I}}class mv{constructor(){this._map=new Map}get(i){return this._map.get(i)||[]}append(i,t){let n=this._map.get(i);n||this._map.set(i,n=[]),n.push(...t)}has(i){return this._map.has(i)}clear(){this._map.clear()}}const aN=new RegExp(":enter","g"),sN=new RegExp(":leave","g");function CC(r,i,t,n,a,l=new Map,v=new Map,I,W,G=[]){return(new lN).buildKeyframes(r,i,t,n,a,l,v,I,W,G)}class lN{buildKeyframes(i,t,n,a,l,v,I,W,G,ye=[]){G=G||new mv;const Ge=new kC(i,t,G,a,l,ye,[]);Ge.options=W;const yt=W.delay?ud(W.delay):0;Ge.currentTimeline.delayNextStep(yt),Ge.currentTimeline.setStyles([v],null,Ge.errors,W),zs(this,n,Ge);const It=Ge.timelines.filter(Yt=>Yt.containsAnimation());if(It.length&&I.size){let Yt;for(let Gt=It.length-1;Gt>=0;Gt--){const oi=It[Gt];if(oi.element===t){Yt=oi;break}}Yt&&!Yt.allowOnlyTimelineStyles()&&Yt.setStyles([I],null,Ge.errors,W)}return It.length?It.map(Yt=>Yt.buildKeyframes()):[FC(t,[],[],[],0,yt,"",!1)]}visitTrigger(i,t){}visitState(i,t){}visitTransition(i,t){}visitAnimateChild(i,t){const n=t.subInstructions.get(t.element);if(n){const a=t.createSubContext(i.options),l=t.currentTimeline.currentTime,v=this._visitSubInstructions(n,a,a.options);l!=v&&t.transformIntoNewTimeline(v)}t.previousNode=i}visitAnimateRef(i,t){const n=t.createSubContext(i.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([i.options,i.animation.options],t,n),this.visitReference(i.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=i}_applyAnimationRefDelays(i,t,n){for(const a of i){const l=a?.delay;if(l){const v="number"==typeof l?l:ud(Z_(l,a?.params??{},t.errors));n.delayNextStep(v)}}}_visitSubInstructions(i,t,n){let l=t.currentTimeline.currentTime;const v=null!=n.duration?ud(n.duration):null,I=null!=n.delay?ud(n.delay):null;return 0!==v&&i.forEach(W=>{const G=t.appendInstructionToTimeline(W,v,I);l=Math.max(l,G.duration+G.delay)}),l}visitReference(i,t){t.updateOptions(i.options,!0),zs(this,i.animation,t),t.previousNode=i}visitSequence(i,t){const n=t.subContextCount;let a=t;const l=i.options;if(l&&(l.params||l.delay)&&(a=t.createSubContext(l),a.transformIntoNewTimeline(),null!=l.delay)){6==a.previousNode.type&&(a.currentTimeline.snapshotCurrentStyles(),a.previousNode=fv);const v=ud(l.delay);a.delayNextStep(v)}i.steps.length&&(i.steps.forEach(v=>zs(this,v,a)),a.currentTimeline.applyStylesToKeyframe(),a.subContextCount>n&&a.transformIntoNewTimeline()),t.previousNode=i}visitGroup(i,t){const n=[];let a=t.currentTimeline.currentTime;const l=i.options&&i.options.delay?ud(i.options.delay):0;i.steps.forEach(v=>{const I=t.createSubContext(i.options);l&&I.delayNextStep(l),zs(this,v,I),a=Math.max(a,I.currentTimeline.currentTime),n.push(I.currentTimeline)}),n.forEach(v=>t.currentTimeline.mergeTimelineCollectedStyles(v)),t.transformIntoNewTimeline(a),t.previousNode=i}_visitTiming(i,t){if(i.dynamic){const n=i.strValue;return ov(t.params?Z_(n,t.params,t.errors):n,t.errors)}return{duration:i.duration,delay:i.delay,easing:i.easing}}visitAnimate(i,t){const n=t.currentAnimateTimings=this._visitTiming(i.timings,t),a=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),a.snapshotCurrentStyles());const l=i.style;5==l.type?this.visitKeyframes(l,t):(t.incrementTime(n.duration),this.visitStyle(l,t),a.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=i}visitStyle(i,t){const n=t.currentTimeline,a=t.currentAnimateTimings;!a&&n.hasCurrentStyleProperties()&&n.forwardFrame();const l=a&&a.easing||i.easing;i.isEmptyStep?n.applyEmptyStep(l):n.setStyles(i.styles,l,t.errors,t.options),t.previousNode=i}visitKeyframes(i,t){const n=t.currentAnimateTimings,a=t.currentTimeline.duration,l=n.duration,I=t.createSubContext().currentTimeline;I.easing=n.easing,i.styles.forEach(W=>{I.forwardTime((W.offset||0)*l),I.setStyles(W.styles,W.easing,t.errors,t.options),I.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(I),t.transformIntoNewTimeline(a+l),t.previousNode=i}visitQuery(i,t){const n=t.currentTimeline.currentTime,a=i.options||{},l=a.delay?ud(a.delay):0;l&&(6===t.previousNode.type||0==n&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=fv);let v=n;const I=t.invokeQuery(i.selector,i.originalSelector,i.limit,i.includeSelf,!!a.optional,t.errors);t.currentQueryTotal=I.length;let W=null;I.forEach((G,ye)=>{t.currentQueryIndex=ye;const Ge=t.createSubContext(i.options,G);l&&Ge.delayNextStep(l),G===t.element&&(W=Ge.currentTimeline),zs(this,i.animation,Ge),Ge.currentTimeline.applyStylesToKeyframe(),v=Math.max(v,Ge.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(v),W&&(t.currentTimeline.mergeTimelineCollectedStyles(W),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=i}visitStagger(i,t){const n=t.parentContext,a=t.currentTimeline,l=i.timings,v=Math.abs(l.duration),I=v*(t.currentQueryTotal-1);let W=v*t.currentQueryIndex;switch(l.duration<0?"reverse":l.easing){case"reverse":W=I-W;break;case"full":W=n.currentStaggerTime}const ye=t.currentTimeline;W&&ye.delayNextStep(W);const Ge=ye.currentTime;zs(this,i.animation,t),t.previousNode=i,n.currentStaggerTime=a.currentTime-Ge+(a.startTime-n.currentTimeline.startTime)}}const fv={};class kC{constructor(i,t,n,a,l,v,I,W){this._driver=i,this.element=t,this.subInstructions=n,this._enterClassName=a,this._leaveClassName=l,this.errors=v,this.timelines=I,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=fv,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=W||new pv(this._driver,t,0),I.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(i,t){if(!i)return;const n=i;let a=this.options;null!=n.duration&&(a.duration=ud(n.duration)),null!=n.delay&&(a.delay=ud(n.delay));const l=n.params;if(l){let v=a.params;v||(v=this.options.params={}),Object.keys(l).forEach(I=>{(!t||!v.hasOwnProperty(I))&&(v[I]=Z_(l[I],v,this.errors))})}}_copyOptions(){const i={};if(this.options){const t=this.options.params;if(t){const n=i.params={};Object.keys(t).forEach(a=>{n[a]=t[a]})}}return i}createSubContext(i=null,t,n){const a=t||this.element,l=new kC(this._driver,a,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(a,n||0));return l.previousNode=this.previousNode,l.currentAnimateTimings=this.currentAnimateTimings,l.options=this._copyOptions(),l.updateOptions(i),l.currentQueryIndex=this.currentQueryIndex,l.currentQueryTotal=this.currentQueryTotal,l.parentContext=this,this.subContextCount++,l}transformIntoNewTimeline(i){return this.previousNode=fv,this.currentTimeline=this.currentTimeline.fork(this.element,i),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(i,t,n){const a={duration:t??i.duration,delay:this.currentTimeline.currentTime+(n??0)+i.delay,easing:""},l=new cN(this._driver,i.element,i.keyframes,i.preStyleProps,i.postStyleProps,a,i.stretchStartingKeyframe);return this.timelines.push(l),a}incrementTime(i){this.currentTimeline.forwardTime(this.currentTimeline.duration+i)}delayNextStep(i){i>0&&this.currentTimeline.delayNextStep(i)}invokeQuery(i,t,n,a,l,v){let I=[];if(a&&I.push(this.element),i.length>0){i=(i=i.replace(aN,"."+this._enterClassName)).replace(sN,"."+this._leaveClassName);let G=this._driver.query(this.element,i,1!=n);0!==n&&(G=n<0?G.slice(G.length+n,G.length):G.slice(0,n)),I.push(...G)}return!l&&0==I.length&&v.push(function mO(r){return new e.vHH(3014,!1)}()),I}}class pv{constructor(i,t,n,a){this._driver=i,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=a,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(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(i){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+i),t&&this.snapshotCurrentStyles()):this.startTime+=i}fork(i,t){return this.applyStylesToKeyframe(),new pv(this._driver,i,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(i){this.applyStylesToKeyframe(),this.duration=i,this._loadKeyframe()}_updateStyle(i,t){this._localTimelineStyles.set(i,t),this._globalTimelineStyles.set(i,t),this._styleSummary.set(i,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(i){i&&this._previousKeyframe.set("easing",i);for(let[t,n]of this._globalTimelineStyles)this._backFill.set(t,n||xe.l3),this._currentKeyframe.set(t,xe.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(i,t,n,a){t&&this._previousKeyframe.set("easing",t);const l=a&&a.params||{},v=function dN(r,i){const t=new Map;let n;return r.forEach(a=>{if("*"===a){n=n||i.keys();for(let l of n)t.set(l,xe.l3)}else ku(a,t)}),t}(i,this._globalTimelineStyles);for(let[I,W]of v){const G=Z_(W,l,n);this._pendingStyles.set(I,G),this._localTimelineStyles.has(I)||this._backFill.set(I,this._globalTimelineStyles.get(I)??xe.l3),this._updateStyle(I,G)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((i,t)=>{this._currentKeyframe.set(t,i)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((i,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,i)}))}snapshotCurrentStyles(){for(let[i,t]of this._localTimelineStyles)this._pendingStyles.set(i,t),this._updateStyle(i,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const i=[];for(let t in this._currentKeyframe)i.push(t);return i}mergeTimelineCollectedStyles(i){i._styleSummary.forEach((t,n)=>{const a=this._styleSummary.get(n);(!a||t.time>a.time)&&this._updateStyle(n,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const i=new Set,t=new Set,n=1===this._keyframes.size&&0===this.duration;let a=[];this._keyframes.forEach((I,W)=>{const G=ku(I,new Map,this._backFill);G.forEach((ye,Ge)=>{ye===xe.k1?i.add(Ge):ye===xe.l3&&t.add(Ge)}),n||G.set("offset",W/this.duration),a.push(G)});const l=i.size?sv(i.values()):[],v=t.size?sv(t.values()):[];if(n){const I=a[0],W=new Map(I);I.set("offset",0),W.set("offset",1),a=[I,W]}return FC(this.element,a,l,v,this.duration,this.startTime,this.easing,!1)}}class cN extends pv{constructor(i,t,n,a,l,v,I=!1){super(i,t,v.delay),this.keyframes=n,this.preStyleProps=a,this.postStyleProps=l,this._stretchStartingKeyframe=I,this.timings={duration:v.duration,delay:v.delay,easing:v.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let i=this.keyframes,{delay:t,duration:n,easing:a}=this.timings;if(this._stretchStartingKeyframe&&t){const l=[],v=n+t,I=t/v,W=ku(i[0]);W.set("offset",0),l.push(W);const G=ku(i[0]);G.set("offset",n3(I)),l.push(G);const ye=i.length-1;for(let Ge=1;Ge<=ye;Ge++){let yt=ku(i[Ge]);const It=yt.get("offset");yt.set("offset",n3((t+It*n)/v)),l.push(yt)}n=v,t=0,a="",i=l}return FC(this.element,i,this.preStyleProps,this.postStyleProps,n,t,a,!0)}}function n3(r,i=3){const t=Math.pow(10,i-1);return Math.round(r*t)/t}class DC{}const uN=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 hN extends DC{normalizePropertyName(i,t){return vC(i)}normalizeStyleValue(i,t,n,a){let l="";const v=n.toString().trim();if(uN.has(t)&&0!==n&&"0"!==n)if("number"==typeof n)l="px";else{const I=n.match(/^[+-]?[\d\.]+([a-z]*)$/);I&&0==I[1].length&&a.push(function iO(r,i){return new e.vHH(3005,!1)}())}return v+l}}function r3(r,i,t,n,a,l,v,I,W,G,ye,Ge,yt){return{type:0,element:r,triggerName:i,isRemovalTransition:a,fromState:t,fromStyles:l,toState:n,toStyles:v,timelines:I,queriedElements:W,preStyleProps:G,postStyleProps:ye,totalTime:Ge,errors:yt}}const MC={};class a3{constructor(i,t,n){this._triggerName=i,this.ast=t,this._stateStyles=n}match(i,t,n,a){return function mN(r,i,t,n,a){return r.some(l=>l(i,t,n,a))}(this.ast.matchers,i,t,n,a)}buildStyles(i,t,n){let a=this._stateStyles.get("*");return void 0!==i&&(a=this._stateStyles.get(i?.toString())||a),a?a.buildStyles(t,n):new Map}build(i,t,n,a,l,v,I,W,G,ye){const Ge=[],yt=this.ast.options&&this.ast.options.params||MC,Yt=this.buildStyles(n,I&&I.params||MC,Ge),Gt=W&&W.params||MC,oi=this.buildStyles(a,Gt,Ge),ai=new Set,Ji=new Map,Ci=new Map,Wi="void"===a,nn={params:fN(Gt,yt),delay:this.ast.options?.delay},_n=ye?[]:CC(i,t,this.ast.animation,l,v,Yt,oi,nn,G,Ge);let ur=0;if(_n.forEach(Er=>{ur=Math.max(Er.duration+Er.delay,ur)}),Ge.length)return r3(t,this._triggerName,n,a,Wi,Yt,oi,[],[],Ji,Ci,ur,Ge);_n.forEach(Er=>{const qr=Er.element,Gs=Zs(Ji,qr,new Set);Er.preStyleProps.forEach(Po=>Gs.add(Po));const Ir=Zs(Ci,qr,new Set);Er.postStyleProps.forEach(Po=>Ir.add(Po)),qr!==t&&ai.add(qr)});const Vn=sv(ai.values());return r3(t,this._triggerName,n,a,Wi,Yt,oi,_n,Vn,Ji,Ci,ur)}}function fN(r,i){const t=j_(i);for(const n in r)r.hasOwnProperty(n)&&null!=r[n]&&(t[n]=r[n]);return t}class pN{constructor(i,t,n){this.styles=i,this.defaultParams=t,this.normalizer=n}buildStyles(i,t){const n=new Map,a=j_(this.defaultParams);return Object.keys(i).forEach(l=>{const v=i[l];null!==v&&(a[l]=v)}),this.styles.styles.forEach(l=>{"string"!=typeof l&&l.forEach((v,I)=>{v&&(v=Z_(v,a,t));const W=this.normalizer.normalizePropertyName(I,t);v=this.normalizer.normalizeStyleValue(I,W,v,t),n.set(I,v)})}),n}}class _N{constructor(i,t,n){this.name=i,this.ast=t,this._normalizer=n,this.transitionFactories=[],this.states=new Map,t.states.forEach(a=>{this.states.set(a.name,new pN(a.style,a.options&&a.options.params||{},n))}),o3(this.states,"true","1"),o3(this.states,"false","0"),t.transitions.forEach(a=>{this.transitionFactories.push(new a3(i,a,this.states))}),this.fallbackTransition=function bN(r,i,t){return new a3(r,{type:1,animation:{type:2,steps:[],options:null},matchers:[(v,I)=>!0],options:null,queryCount:0,depCount:0},i)}(i,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(i,t,n,a){return this.transitionFactories.find(v=>v.match(i,t,n,a))||null}matchStyles(i,t,n){return this.fallbackTransition.buildStyles(i,t,n)}}function o3(r,i,t){r.has(i)?r.has(t)||r.set(t,r.get(i)):r.has(t)&&r.set(i,r.get(t))}const yN=new mv;class vN{constructor(i,t,n){this.bodyNode=i,this._driver=t,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(i,t){const n=[],a=[],l=wC(this._driver,t,n,a);if(n.length)throw function vO(r){return new e.vHH(3503,!1)}();this._animations.set(i,l)}_buildPlayer(i,t,n){const a=i.element,l=PM(0,this._normalizer,0,i.keyframes,t,n);return this._driver.animate(a,l,i.duration,i.delay,i.easing,[],!0)}create(i,t,n={}){const a=[],l=this._animations.get(i);let v;const I=new Map;if(l?(v=CC(this._driver,t,l,gC,nv,new Map,new Map,n,yN,a),v.forEach(ye=>{const Ge=Zs(I,ye.element,new Map);ye.postStyleProps.forEach(yt=>Ge.set(yt,null))})):(a.push(function wO(){return new e.vHH(3300,!1)}()),v=[]),a.length)throw function xO(r){return new e.vHH(3504,!1)}();I.forEach((ye,Ge)=>{ye.forEach((yt,It)=>{ye.set(It,this._driver.computeStyle(Ge,It,xe.l3))})});const G=Cu(v.map(ye=>{const Ge=I.get(ye.element);return this._buildPlayer(ye,new Map,Ge)}));return this._playersById.set(i,G),G.onDestroy(()=>this.destroy(i)),this.players.push(G),G}destroy(i){const t=this._getPlayer(i);t.destroy(),this._playersById.delete(i);const n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(i){const t=this._playersById.get(i);if(!t)throw function FO(r){return new e.vHH(3301,!1)}();return t}listen(i,t,n,a){const l=hC(t,"","","");return dC(this._getPlayer(i),n,l,a),()=>{}}command(i,t,n,a){if("register"==n)return void this.register(i,a[0]);if("create"==n)return void this.create(i,t,a[0]||{});const l=this._getPlayer(i);switch(n){case"play":l.play();break;case"pause":l.pause();break;case"reset":l.reset();break;case"restart":l.restart();break;case"finish":l.finish();break;case"init":l.init();break;case"setPosition":l.setPosition(parseFloat(a[0]));break;case"destroy":this.destroy(i)}}}const s3="ng-animate-queued",EC="ng-animate-disabled",kN=[],l3={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},DN={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},bl="__ng_removed";class TC{get params(){return this.options.params}constructor(i,t=""){this.namespaceId=t;const n=i&&i.hasOwnProperty("value");if(this.value=function AN(r){return r??null}(n?i.value:i),n){const l=j_(i);delete l.value,this.options=l}else this.options={};this.options.params||(this.options.params={})}absorbOptions(i){const t=i.params;if(t){const n=this.options.params;Object.keys(t).forEach(a=>{null==n[a]&&(n[a]=t[a])})}}}const z_="void",AC=new TC(z_);class MN{constructor(i,t,n){this.id=i,this.hostElement=t,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+i,yl(t,this._hostClassName)}listen(i,t,n,a){if(!this._triggers.has(t))throw function CO(r,i){return new e.vHH(3302,!1)}();if(null==n||0==n.length)throw function kO(r){return new e.vHH(3303,!1)}();if(!function SN(r){return"start"==r||"done"==r}(n))throw function DO(r,i){return new e.vHH(3400,!1)}();const l=Zs(this._elementListeners,i,[]),v={name:t,phase:n,callback:a};l.push(v);const I=Zs(this._engine.statesByElement,i,new Map);return I.has(t)||(yl(i,rv),yl(i,rv+"-"+t),I.set(t,AC)),()=>{this._engine.afterFlush(()=>{const W=l.indexOf(v);W>=0&&l.splice(W,1),this._triggers.has(t)||I.delete(t)})}}register(i,t){return!this._triggers.has(i)&&(this._triggers.set(i,t),!0)}_getTrigger(i){const t=this._triggers.get(i);if(!t)throw function MO(r){return new e.vHH(3401,!1)}();return t}trigger(i,t,n,a=!0){const l=this._getTrigger(t),v=new SC(this.id,t,i);let I=this._engine.statesByElement.get(i);I||(yl(i,rv),yl(i,rv+"-"+t),this._engine.statesByElement.set(i,I=new Map));let W=I.get(t);const G=new TC(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&W&&G.absorbOptions(W.options),I.set(t,G),W||(W=AC),G.value!==z_&&W.value===G.value){if(!function NN(r,i){const t=Object.keys(r),n=Object.keys(i);if(t.length!=n.length)return!1;for(let a=0;a{Ph(i,oi),yc(i,ai)})}return}const yt=Zs(this._engine.playersByElement,i,[]);yt.forEach(Gt=>{Gt.namespaceId==this.id&&Gt.triggerName==t&&Gt.queued&&Gt.destroy()});let It=l.matchTransition(W.value,G.value,i,G.params),Yt=!1;if(!It){if(!a)return;It=l.fallbackTransition,Yt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:t,transition:It,fromState:W,toState:G,player:v,isFallbackTransition:Yt}),Yt||(yl(i,s3),v.onStart(()=>{Tf(i,s3)})),v.onDone(()=>{let Gt=this.players.indexOf(v);Gt>=0&&this.players.splice(Gt,1);const oi=this._engine.playersByElement.get(i);if(oi){let ai=oi.indexOf(v);ai>=0&&oi.splice(ai,1)}}),this.players.push(v),yt.push(v),v}deregister(i){this._triggers.delete(i),this._engine.statesByElement.forEach(t=>t.delete(i)),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(a=>a.name!=i))})}clearElementCache(i){this._engine.statesByElement.delete(i),this._elementListeners.delete(i);const t=this._engine.playersByElement.get(i);t&&(t.forEach(n=>n.destroy()),this._engine.playersByElement.delete(i))}_signalRemovalForInnerTriggers(i,t){const n=this._engine.driver.query(i,av,!0);n.forEach(a=>{if(a[bl])return;const l=this._engine.fetchNamespacesByElement(a);l.size?l.forEach(v=>v.triggerLeaveAnimation(a,t,!1,!0)):this.clearElementCache(a)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(a=>this.clearElementCache(a)))}triggerLeaveAnimation(i,t,n,a){const l=this._engine.statesByElement.get(i),v=new Map;if(l){const I=[];if(l.forEach((W,G)=>{if(v.set(G,W.value),this._triggers.has(G)){const ye=this.trigger(i,G,z_,a);ye&&I.push(ye)}}),I.length)return this._engine.markElementAsRemoved(this.id,i,!0,t,v),n&&Cu(I).onDone(()=>this._engine.processLeaveNode(i)),!0}return!1}prepareLeaveAnimationListeners(i){const t=this._elementListeners.get(i),n=this._engine.statesByElement.get(i);if(t&&n){const a=new Set;t.forEach(l=>{const v=l.name;if(a.has(v))return;a.add(v);const W=this._triggers.get(v).fallbackTransition,G=n.get(v)||AC,ye=new TC(z_),Ge=new SC(this.id,v,i);this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:v,transition:W,fromState:G,toState:ye,player:Ge,isFallbackTransition:!0})})}}removeNode(i,t){const n=this._engine;if(i.childElementCount&&this._signalRemovalForInnerTriggers(i,t),this.triggerLeaveAnimation(i,t,!0))return;let a=!1;if(n.totalAnimations){const l=n.players.length?n.playersByQueriedElement.get(i):[];if(l&&l.length)a=!0;else{let v=i;for(;v=v.parentNode;)if(n.statesByElement.get(v)){a=!0;break}}}if(this.prepareLeaveAnimationListeners(i),a)n.markElementAsRemoved(this.id,i,!1,t);else{const l=i[bl];(!l||l===l3)&&(n.afterFlush(()=>this.clearElementCache(i)),n.destroyInnerAnimations(i),n._onRemovalComplete(i,t))}}insertNode(i,t){yl(i,this._hostClassName)}drainQueuedTransitions(i){const t=[];return this._queue.forEach(n=>{const a=n.player;if(a.destroyed)return;const l=n.element,v=this._elementListeners.get(l);v&&v.forEach(I=>{if(I.name==n.triggerName){const W=hC(l,n.triggerName,n.fromState.value,n.toState.value);W._data=i,dC(n.player,I.phase,W,I.callback)}}),a.markedForDestroy?this._engine.afterFlush(()=>{a.destroy()}):t.push(n)}),this._queue=[],t.sort((n,a)=>{const l=n.transition.ast.depCount,v=a.transition.ast.depCount;return 0==l||0==v?l-v:this._engine.driver.containsElement(n.element,a.element)?1:-1})}destroy(i){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,i)}elementContainsData(i){let t=!1;return this._elementListeners.has(i)&&(t=!0),t=!!this._queue.find(n=>n.element===i)||t,t}}class EN{_onRemovalComplete(i,t){this.onRemovalComplete(i,t)}constructor(i,t,n){this.bodyNode=i,this.driver=t,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=(a,l)=>{}}get queuedPlayers(){const i=[];return this._namespaceList.forEach(t=>{t.players.forEach(n=>{n.queued&&i.push(n)})}),i}createNamespace(i,t){const n=new MN(i,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[i]=n}_balanceNamespaceList(i,t){const n=this._namespaceList,a=this.namespacesByHostElement;if(n.length-1>=0){let v=!1,I=this.driver.getParentElement(t);for(;I;){const W=a.get(I);if(W){const G=n.indexOf(W);n.splice(G+1,0,i),v=!0;break}I=this.driver.getParentElement(I)}v||n.unshift(i)}else n.push(i);return a.set(t,i),i}register(i,t){let n=this._namespaceLookup[i];return n||(n=this.createNamespace(i,t)),n}registerTrigger(i,t,n){let a=this._namespaceLookup[i];a&&a.register(t,n)&&this.totalAnimations++}destroy(i,t){if(!i)return;const n=this._fetchNamespace(i);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[i];const a=this._namespaceList.indexOf(n);a>=0&&this._namespaceList.splice(a,1)}),this.afterFlushAnimationsDone(()=>n.destroy(t))}_fetchNamespace(i){return this._namespaceLookup[i]}fetchNamespacesByElement(i){const t=new Set,n=this.statesByElement.get(i);if(n)for(let a of n.values())if(a.namespaceId){const l=this._fetchNamespace(a.namespaceId);l&&t.add(l)}return t}trigger(i,t,n,a){if(gv(t)){const l=this._fetchNamespace(i);if(l)return l.trigger(t,n,a),!0}return!1}insertNode(i,t,n,a){if(!gv(t))return;const l=t[bl];if(l&&l.setForRemoval){l.setForRemoval=!1,l.setForMove=!0;const v=this.collectedLeaveElements.indexOf(t);v>=0&&this.collectedLeaveElements.splice(v,1)}if(i){const v=this._fetchNamespace(i);v&&v.insertNode(t,n)}a&&this.collectEnterElement(t)}collectEnterElement(i){this.collectedEnterElements.push(i)}markElementAsDisabled(i,t){t?this.disabledNodes.has(i)||(this.disabledNodes.add(i),yl(i,EC)):this.disabledNodes.has(i)&&(this.disabledNodes.delete(i),Tf(i,EC))}removeNode(i,t,n,a){if(gv(t)){const l=i?this._fetchNamespace(i):null;if(l?l.removeNode(t,a):this.markElementAsRemoved(i,t,!1,a),n){const v=this.namespacesByHostElement.get(t);v&&v.id!==i&&v.removeNode(t,a)}}else this._onRemovalComplete(t,a)}markElementAsRemoved(i,t,n,a,l){this.collectedLeaveElements.push(t),t[bl]={namespaceId:i,setForRemoval:a,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:l}}listen(i,t,n,a,l){return gv(t)?this._fetchNamespace(i).listen(t,n,a,l):()=>{}}_buildInstruction(i,t,n,a,l){return i.transition.build(this.driver,i.element,i.fromState.value,i.toState.value,n,a,i.fromState.options,i.toState.options,t,l)}destroyInnerAnimations(i){let t=this.driver.query(i,av,!0);t.forEach(n=>this.destroyActiveAnimationsForElement(n)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(i,_C,!0),t.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(i){const t=this.playersByElement.get(i);t&&t.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(i){const t=this.playersByQueriedElement.get(i);t&&t.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(i=>{if(this.players.length)return Cu(this.players).onDone(()=>i());i()})}processLeaveNode(i){const t=i[bl];if(t&&t.setForRemoval){if(i[bl]=l3,t.namespaceId){this.destroyInnerAnimations(i);const n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(i)}this._onRemovalComplete(i,t.setForRemoval)}i.classList?.contains(EC)&&this.markElementAsDisabled(i,!1),this.driver.query(i,".ng-animate-disabled",!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(i=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,a)=>this._balanceNamespaceList(n,a)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;nn()),this._flushFns=[],this._whenQuietFns.length){const n=this._whenQuietFns;this._whenQuietFns=[],t.length?Cu(t).onDone(()=>{n.forEach(a=>a())}):n.forEach(a=>a())}}reportError(i){throw function EO(r){return new e.vHH(3402,!1)}()}_flushAnimations(i,t){const n=new mv,a=[],l=new Map,v=[],I=new Map,W=new Map,G=new Map,ye=new Set;this.disabledNodes.forEach(dn=>{ye.add(dn);const Cn=this.driver.query(dn,".ng-animate-queued",!0);for(let Tn=0;Tn{const Tn=gC+Gt++;Yt.set(Cn,Tn),dn.forEach(wr=>yl(wr,Tn))});const oi=[],ai=new Set,Ji=new Set;for(let dn=0;dnai.add(wr)):Ji.add(Cn))}const Ci=new Map,Wi=u3(yt,Array.from(ai));Wi.forEach((dn,Cn)=>{const Tn=nv+Gt++;Ci.set(Cn,Tn),dn.forEach(wr=>yl(wr,Tn))}),i.push(()=>{It.forEach((dn,Cn)=>{const Tn=Yt.get(Cn);dn.forEach(wr=>Tf(wr,Tn))}),Wi.forEach((dn,Cn)=>{const Tn=Ci.get(Cn);dn.forEach(wr=>Tf(wr,Tn))}),oi.forEach(dn=>{this.processLeaveNode(dn)})});const nn=[],_n=[];for(let dn=this._namespaceList.length-1;dn>=0;dn--)this._namespaceList[dn].drainQueuedTransitions(t).forEach(Tn=>{const wr=Tn.player,Mo=Tn.element;if(nn.push(wr),this.collectedEnterElements.length){const zo=Mo[bl];if(zo&&zo.setForMove){if(zo.previousTriggersValues&&zo.previousTriggersValues.has(Tn.triggerName)){const jh=zo.previousTriggersValues.get(Tn.triggerName),vl=this.statesByElement.get(Tn.element);if(vl&&vl.has(Tn.triggerName)){const Rv=vl.get(Tn.triggerName);Rv.value=jh,vl.set(Tn.triggerName,Rv)}}return void wr.destroy()}}const wc=!Ge||!this.driver.containsElement(Ge,Mo),Ws=Ci.get(Mo),Du=Yt.get(Mo),La=this._buildInstruction(Tn,n,Du,Ws,wc);if(La.errors&&La.errors.length)return void _n.push(La);if(wc)return wr.onStart(()=>Ph(Mo,La.fromStyles)),wr.onDestroy(()=>yc(Mo,La.toStyles)),void a.push(wr);if(Tn.isFallbackTransition)return wr.onStart(()=>Ph(Mo,La.fromStyles)),wr.onDestroy(()=>yc(Mo,La.toStyles)),void a.push(wr);const sE=[];La.timelines.forEach(zo=>{zo.stretchStartingKeyframe=!0,this.disabledNodes.has(zo.element)||sE.push(zo)}),La.timelines=sE,n.append(Mo,La.timelines),v.push({instruction:La,player:wr,element:Mo}),La.queriedElements.forEach(zo=>Zs(I,zo,[]).push(wr)),La.preStyleProps.forEach((zo,jh)=>{if(zo.size){let vl=W.get(jh);vl||W.set(jh,vl=new Set),zo.forEach((Rv,$C)=>vl.add($C))}}),La.postStyleProps.forEach((zo,jh)=>{let vl=G.get(jh);vl||G.set(jh,vl=new Set),zo.forEach((Rv,$C)=>vl.add($C))})});if(_n.length){const dn=[];_n.forEach(Cn=>{dn.push(function TO(r,i){return new e.vHH(3505,!1)}())}),nn.forEach(Cn=>Cn.destroy()),this.reportError(dn)}const ur=new Map,Vn=new Map;v.forEach(dn=>{const Cn=dn.element;n.has(Cn)&&(Vn.set(Cn,Cn),this._beforeAnimationBuild(dn.player.namespaceId,dn.instruction,ur))}),a.forEach(dn=>{const Cn=dn.element;this._getPreviousPlayers(Cn,!1,dn.namespaceId,dn.triggerName,null).forEach(wr=>{Zs(ur,Cn,[]).push(wr),wr.destroy()})});const Er=oi.filter(dn=>m3(dn,W,G)),qr=new Map;d3(qr,this.driver,Ji,G,xe.l3).forEach(dn=>{m3(dn,W,G)&&Er.push(dn)});const Ir=new Map;It.forEach((dn,Cn)=>{d3(Ir,this.driver,new Set(dn),W,xe.k1)}),Er.forEach(dn=>{const Cn=qr.get(dn),Tn=Ir.get(dn);qr.set(dn,new Map([...Array.from(Cn?.entries()??[]),...Array.from(Tn?.entries()??[])]))});const Po=[],Pf=[],pd={};v.forEach(dn=>{const{element:Cn,player:Tn,instruction:wr}=dn;if(n.has(Cn)){if(ye.has(Cn))return Tn.onDestroy(()=>yc(Cn,wr.toStyles)),Tn.disabled=!0,Tn.overrideTotalTime(wr.totalTime),void a.push(Tn);let Mo=pd;if(Vn.size>1){let Ws=Cn;const Du=[];for(;Ws=Ws.parentNode;){const La=Vn.get(Ws);if(La){Mo=La;break}Du.push(Ws)}Du.forEach(La=>Vn.set(La,Mo))}const wc=this._buildAnimation(Tn.namespaceId,wr,ur,l,Ir,qr);if(Tn.setRealPlayer(wc),Mo===pd)Po.push(Tn);else{const Ws=this.playersByElement.get(Mo);Ws&&Ws.length&&(Tn.parentPlayer=Cu(Ws)),a.push(Tn)}}else Ph(Cn,wr.fromStyles),Tn.onDestroy(()=>yc(Cn,wr.toStyles)),Pf.push(Tn),ye.has(Cn)&&a.push(Tn)}),Pf.forEach(dn=>{const Cn=l.get(dn.element);if(Cn&&Cn.length){const Tn=Cu(Cn);dn.setRealPlayer(Tn)}}),a.forEach(dn=>{dn.parentPlayer?dn.syncPlayerEvents(dn.parentPlayer):dn.destroy()});for(let dn=0;dn!wc.destroyed);Mo.length?IN(this,Cn,Mo):this.processLeaveNode(Cn)}return oi.length=0,Po.forEach(dn=>{this.players.push(dn),dn.onDone(()=>{dn.destroy();const Cn=this.players.indexOf(dn);this.players.splice(Cn,1)}),dn.play()}),Po}elementContainsData(i,t){let n=!1;const a=t[bl];return a&&a.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(i).elementContainsData(t)||n}afterFlush(i){this._flushFns.push(i)}afterFlushAnimationsDone(i){this._whenQuietFns.push(i)}_getPreviousPlayers(i,t,n,a,l){let v=[];if(t){const I=this.playersByQueriedElement.get(i);I&&(v=I)}else{const I=this.playersByElement.get(i);if(I){const W=!l||l==z_;I.forEach(G=>{G.queued||!W&&G.triggerName!=a||v.push(G)})}}return(n||a)&&(v=v.filter(I=>!(n&&n!=I.namespaceId||a&&a!=I.triggerName))),v}_beforeAnimationBuild(i,t,n){const l=t.element,v=t.isRemovalTransition?void 0:i,I=t.isRemovalTransition?void 0:t.triggerName;for(const W of t.timelines){const G=W.element,ye=G!==l,Ge=Zs(n,G,[]);this._getPreviousPlayers(G,ye,v,I,t.toState).forEach(It=>{const Yt=It.getRealPlayer();Yt.beforeDestroy&&Yt.beforeDestroy(),It.destroy(),Ge.push(It)})}Ph(l,t.fromStyles)}_buildAnimation(i,t,n,a,l,v){const I=t.triggerName,W=t.element,G=[],ye=new Set,Ge=new Set,yt=t.timelines.map(Yt=>{const Gt=Yt.element;ye.add(Gt);const oi=Gt[bl];if(oi&&oi.removedBeforeQueried)return new xe.ZN(Yt.duration,Yt.delay);const ai=Gt!==W,Ji=function ON(r){const i=[];return h3(r,i),i}((n.get(Gt)||kN).map(ur=>ur.getRealPlayer())).filter(ur=>!!ur.element&&ur.element===Gt),Ci=l.get(Gt),Wi=v.get(Gt),nn=PM(0,this._normalizer,0,Yt.keyframes,Ci,Wi),_n=this._buildPlayer(Yt,nn,Ji);if(Yt.subTimeline&&a&&Ge.add(Gt),ai){const ur=new SC(i,I,Gt);ur.setRealPlayer(_n),G.push(ur)}return _n});G.forEach(Yt=>{Zs(this.playersByQueriedElement,Yt.element,[]).push(Yt),Yt.onDone(()=>function TN(r,i,t){let n=r.get(i);if(n){if(n.length){const a=n.indexOf(t);n.splice(a,1)}0==n.length&&r.delete(i)}return n}(this.playersByQueriedElement,Yt.element,Yt))}),ye.forEach(Yt=>yl(Yt,GM));const It=Cu(yt);return It.onDestroy(()=>{ye.forEach(Yt=>Tf(Yt,GM)),yc(W,t.toStyles)}),Ge.forEach(Yt=>{Zs(a,Yt,[]).push(It)}),It}_buildPlayer(i,t,n){return t.length>0?this.driver.animate(i.element,t,i.duration,i.delay,i.easing,n):new xe.ZN(i.duration,i.delay)}}class SC{constructor(i,t,n){this.namespaceId=i,this.triggerName=t,this.element=n,this._player=new xe.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(i){this._containsRealPlayer||(this._player=i,this._queuedCallbacks.forEach((t,n)=>{t.forEach(a=>dC(i,n,void 0,a))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(i.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(i){this.totalTime=i}syncPlayerEvents(i){const t=this._player;t.triggerCallback&&i.onStart(()=>t.triggerCallback("start")),i.onDone(()=>this.finish()),i.onDestroy(()=>this.destroy())}_queueEvent(i,t){Zs(this._queuedCallbacks,i,[]).push(t)}onDone(i){this.queued&&this._queueEvent("done",i),this._player.onDone(i)}onStart(i){this.queued&&this._queueEvent("start",i),this._player.onStart(i)}onDestroy(i){this.queued&&this._queueEvent("destroy",i),this._player.onDestroy(i)}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(i){this.queued||this._player.setPosition(i)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(i){const t=this._player;t.triggerCallback&&t.triggerCallback(i)}}function gv(r){return r&&1===r.nodeType}function c3(r,i){const t=r.style.display;return r.style.display=i??"none",t}function d3(r,i,t,n,a){const l=[];t.forEach(W=>l.push(c3(W)));const v=[];n.forEach((W,G)=>{const ye=new Map;W.forEach(Ge=>{const yt=i.computeStyle(G,Ge,a);ye.set(Ge,yt),(!yt||0==yt.length)&&(G[bl]=DN,v.push(G))}),r.set(G,ye)});let I=0;return t.forEach(W=>c3(W,l[I++])),v}function u3(r,i){const t=new Map;if(r.forEach(I=>t.set(I,[])),0==i.length)return t;const n=1,a=new Set(i),l=new Map;function v(I){if(!I)return n;let W=l.get(I);if(W)return W;const G=I.parentNode;return W=t.has(G)?G:a.has(G)?n:v(G),l.set(I,W),W}return i.forEach(I=>{const W=v(I);W!==n&&t.get(W).push(I)}),t}function yl(r,i){r.classList?.add(i)}function Tf(r,i){r.classList?.remove(i)}function IN(r,i,t){Cu(t).onDone(()=>r.processLeaveNode(i))}function h3(r,i){for(let t=0;ta.add(l)):i.set(r,n),t.delete(r),!0}class _v{constructor(i,t,n){this.bodyNode=i,this._driver=t,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(a,l)=>{},this._transitionEngine=new EN(i,t,n),this._timelineEngine=new vN(i,t,n),this._transitionEngine.onRemovalComplete=(a,l)=>this.onRemovalComplete(a,l)}registerTrigger(i,t,n,a,l){const v=i+"-"+a;let I=this._triggerCache[v];if(!I){const W=[],G=[],ye=wC(this._driver,l,W,G);if(W.length)throw function bO(r,i){return new e.vHH(3404,!1)}();I=function gN(r,i,t){return new _N(r,i,t)}(a,ye,this._normalizer),this._triggerCache[v]=I}this._transitionEngine.registerTrigger(t,a,I)}register(i,t){this._transitionEngine.register(i,t)}destroy(i,t){this._transitionEngine.destroy(i,t)}onInsert(i,t,n,a){this._transitionEngine.insertNode(i,t,n,a)}onRemove(i,t,n,a){this._transitionEngine.removeNode(i,t,a||!1,n)}disableAnimations(i,t){this._transitionEngine.markElementAsDisabled(i,t)}process(i,t,n,a){if("@"==n.charAt(0)){const[l,v]=BM(n);this._timelineEngine.command(l,t,v,a)}else this._transitionEngine.trigger(i,t,n,a)}listen(i,t,n,a,l){if("@"==n.charAt(0)){const[v,I]=BM(n);return this._timelineEngine.listen(v,t,I,l)}return this._transitionEngine.listen(i,t,n,a,l)}flush(i=-1){this._transitionEngine.flush(i)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let RN=(()=>{class r{constructor(t,n,a){this._element=t,this._startStyles=n,this._endStyles=a,this._state=0;let l=r.initialStylesByElement.get(t);l||r.initialStylesByElement.set(t,l=new Map),this._initialStyles=l}start(){this._state<1&&(this._startStyles&&yc(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(yc(this._element,this._initialStyles),this._endStyles&&(yc(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(r.initialStylesByElement.delete(this._element),this._startStyles&&(Ph(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ph(this._element,this._endStyles),this._endStyles=null),yc(this._element,this._initialStyles),this._state=3)}}return r.initialStylesByElement=new WeakMap,r})();function IC(r){let i=null;return r.forEach((t,n)=>{(function PN(r){return"display"===r||"position"===r})(n)&&(i=i||new Map,i.set(n,t))}),i}class f3{constructor(i,t,n,a){this.element=i,this.keyframes=t,this.options=n,this._specialStyles=a,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(i=>i()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const i=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,i,this.options),this._finalKeyframe=i.length?i[i.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(i){const t=[];return i.forEach(n=>{t.push(Object.fromEntries(n))}),t}_triggerWebAnimation(i,t,n){return i.animate(this._convertKeyframesToObject(t),n)}onStart(i){this._originalOnStartFns.push(i),this._onStartFns.push(i)}onDone(i){this._originalOnDoneFns.push(i),this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(i=>i()),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(i=>i()),this._onDestroyFns=[])}setPosition(i){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=i*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const i=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,a)=>{"offset"!==a&&i.set(a,this._finished?n:$M(this.element,a))}),this.currentSnapshot=i}triggerCallback(i){const t="start"===i?this._onStartFns:this._onDoneFns;t.forEach(n=>n()),t.length=0}}class BN{validateStyleProperty(i){return!0}validateAnimatableStyleProperty(i){return!0}matchesElement(i,t){return!1}containsElement(i,t){return jM(i,t)}getParentElement(i){return fC(i)}query(i,t,n){return VM(i,t,n)}computeStyle(i,t,n){return window.getComputedStyle(i)[t]}animate(i,t,n,a,l,v=[]){const W={duration:n,delay:a,fill:0==a?"both":"forwards"};l&&(W.easing=l);const G=new Map,ye=v.filter(It=>It instanceof f3);(function jO(r,i){return 0===r||0===i})(n,a)&&ye.forEach(It=>{It.currentSnapshot.forEach((Yt,Gt)=>G.set(Gt,Yt))});let Ge=function BO(r){return r.length?r[0]instanceof Map?r:r.map(i=>WM(i)):[]}(t).map(It=>ku(It));Ge=function VO(r,i,t){if(t.size&&i.length){let n=i[0],a=[];if(t.forEach((l,v)=>{n.has(v)||a.push(v),n.set(v,l)}),a.length)for(let l=1;lv.set(I,$M(r,I)))}}return i}(i,Ge,G);const yt=function LN(r,i){let t=null,n=null;return Array.isArray(i)&&i.length?(t=IC(i[0]),i.length>1&&(n=IC(i[i.length-1]))):i instanceof Map&&(t=IC(i)),t||n?new RN(r,t,n):null}(i,Ge);return new f3(i,Ge,W,yt)}}let YN=(()=>{class r extends xe._j{constructor(t,n){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(n.body,{id:"0",encapsulation:e.ifc.None,styles:[],data:{animation:[]}})}build(t){const n=this._nextAnimationId.toString();this._nextAnimationId++;const a=Array.isArray(t)?(0,xe.vP)(t):t;return p3(this._renderer,null,n,"register",[a]),new HN(n,this._renderer)}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(e.FYo),e.LFG(F.K0))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})();class HN extends xe.LC{constructor(i,t){super(),this._id=i,this._renderer=t}create(i,t){return new UN(this._id,i,t||{},this._renderer)}}class UN{constructor(i,t,n,a){this.id=i,this.element=t,this._renderer=a,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(i,t){return this._renderer.listen(this.element,`@@${this.id}:${i}`,t)}_command(i,...t){return p3(this._renderer,this.element,this.id,i,t)}onDone(i){this._listen("done",i)}onStart(i){this._listen("start",i)}onDestroy(i){this._listen("destroy",i)}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(i){this._command("setPosition",i)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function p3(r,i,t,n,a){return r.setProperty(i,`@@${t}:${n}`,a)}const g3="@.disabled";let jN=(()=>{class r{constructor(t,n,a){this.delegate=t,this.engine=n,this._zone=a,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),n.onRemovalComplete=(l,v)=>{const I=v?.parentNode(l);I&&v.removeChild(I,l)}}createRenderer(t,n){const l=this.delegate.createRenderer(t,n);if(!(t&&n&&n.data&&n.data.animation)){let ye=this._rendererCache.get(l);return ye||(ye=new _3("",l,this.engine,()=>this._rendererCache.delete(l)),this._rendererCache.set(l,ye)),ye}const v=n.id,I=n.id+"-"+this._currentId;this._currentId++,this.engine.register(I,t);const W=ye=>{Array.isArray(ye)?ye.forEach(W):this.engine.registerTrigger(v,I,t,ye.name,ye)};return n.data.animation.forEach(W),new VN(this,I,l,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,n,a){t>=0&&tn(a)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(l=>{const[v,I]=l;v(I)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([n,a]))}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 r.\u0275fac=function(t){return new(t||r)(e.LFG(e.FYo),e.LFG(_v),e.LFG(e.R0b))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})();class _3{constructor(i,t,n,a){this.namespaceId=i,this.delegate=t,this.engine=n,this._onDestroy=a,this.destroyNode=this.delegate.destroyNode?l=>t.destroyNode(l):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(i,t){return this.delegate.createElement(i,t)}createComment(i){return this.delegate.createComment(i)}createText(i){return this.delegate.createText(i)}appendChild(i,t){this.delegate.appendChild(i,t),this.engine.onInsert(this.namespaceId,t,i,!1)}insertBefore(i,t,n,a=!0){this.delegate.insertBefore(i,t,n),this.engine.onInsert(this.namespaceId,t,i,a)}removeChild(i,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}selectRootElement(i,t){return this.delegate.selectRootElement(i,t)}parentNode(i){return this.delegate.parentNode(i)}nextSibling(i){return this.delegate.nextSibling(i)}setAttribute(i,t,n,a){this.delegate.setAttribute(i,t,n,a)}removeAttribute(i,t,n){this.delegate.removeAttribute(i,t,n)}addClass(i,t){this.delegate.addClass(i,t)}removeClass(i,t){this.delegate.removeClass(i,t)}setStyle(i,t,n,a){this.delegate.setStyle(i,t,n,a)}removeStyle(i,t,n){this.delegate.removeStyle(i,t,n)}setProperty(i,t,n){"@"==t.charAt(0)&&t==g3?this.disableAnimations(i,!!n):this.delegate.setProperty(i,t,n)}setValue(i,t){this.delegate.setValue(i,t)}listen(i,t,n){return this.delegate.listen(i,t,n)}disableAnimations(i,t){this.engine.disableAnimations(i,t)}}class VN extends _3{constructor(i,t,n,a,l){super(t,n,a,l),this.factory=i,this.namespaceId=t}setProperty(i,t,n){"@"==t.charAt(0)?"."==t.charAt(1)&&t==g3?this.disableAnimations(i,n=void 0===n||!!n):this.engine.process(this.namespaceId,i,t.slice(1),n):this.delegate.setProperty(i,t,n)}listen(i,t,n){if("@"==t.charAt(0)){const a=function ZN(r){switch(r){case"body":return document.body;case"document":return document;case"window":return window;default:return r}}(i);let l=t.slice(1),v="";return"@"!=l.charAt(0)&&([l,v]=function zN(r){const i=r.indexOf(".");return[r.substring(0,i),r.slice(i+1)]}(l)),this.engine.listen(this.namespaceId,a,l,v,I=>{this.factory.scheduleListenerCallback(I._data||-1,n,I)})}return this.delegate.listen(i,t,n)}}let GN=(()=>{class r extends _v{constructor(t,n,a,l){super(t.body,n,a)}ngOnDestroy(){this.flush()}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(F.K0),e.LFG(pC),e.LFG(DC),e.LFG(e.z2F))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})();const b3=[{provide:xe._j,useClass:YN},{provide:DC,useFactory:function WN(){return new hN}},{provide:_v,useClass:GN},{provide:e.FYo,useFactory:function qN(r,i,t){return new jN(r,i,t)},deps:[f.se,_v,e.R0b]}],OC=[{provide:pC,useFactory:()=>new BN},{provide:e.QbO,useValue:"BrowserAnimations"},...b3],y3=[{provide:pC,useClass:ZM},{provide:e.QbO,useValue:"NoopAnimations"},...b3];let QN=(()=>{class r{static withConfig(t){return{ngModule:r,providers:t.disableAnimations?y3:OC}}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:OC,imports:[f.b2]}),r})(),sL=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ae.BQ,F.ez,ae.si,ae.BQ]}),r})(),dL=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ae.uc,ae.BQ,ae.uc,ae.BQ]}),r})(),pL=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})(),FL=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[pL,ae.BQ,ae.BQ]}),r})(),PL=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[Mr.Cl]}),r})(),e8=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ae.BQ,PL,ae.BQ]}),r})(),R3=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})(),p8=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ae.BQ,ae.si,R3,ae.BQ,R3]}),r})(),g8=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[S.vT]}),r})(),qC=(()=>{class r{constructor(){this.changes=new D.x,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();const M8={provide:qC,deps:[[new e.FiY,new e.tp0,qC]],useFactory:function D8(r){return r||new qC}};let A8=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[M8,ae.rD],imports:[ae.BQ,F.ez,k.eL,g8,Ip,ae.si,ae.BQ]}),r})(),QC=(()=>{class r{constructor(){this.changes=new D.x,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(t,n,a)=>{if(0==a||0==n)return`0 of ${a}`;const l=t*n;return`${l+1} \u2013 ${l<(a=Math.max(a,0))?Math.min(l+n,a):l+n} of ${a}`}}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();const L8={provide:QC,deps:[[new e.FiY,new e.tp0,QC]],useFactory:function N8(r){return r||new QC}};let R8=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[L8],imports:[F.ez,Mt.ot,cf,Gm]}),r})(),B8=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ae.BQ]}),r})(),U8=(()=>{class r{constructor(){this.changes=new D.x,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(t,n){return`${t} \u2013 ${n}`}formatYearRangeLabel(t,n){return`${t} to ${n}`}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();class Hh{constructor(i,t){this.start=i,this.end=t}}const j3={provide:new e.OlP("mat-datepicker-scroll-strategy"),deps:[_.aV],useFactory:function J8(r){return()=>r.scrollStrategies.reposition()}};let z3=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[U8,j3],imports:[F.ez,Mt.ot,_.U8,g.rt,k.eL,ae.BQ,Mr.ZD]}),r})(),G3=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ae.si,ae.BQ,ae.BQ]}),r})();const nR=["connectionContainer"],rR=["inputContainer"],aR=["label"];function oR(r,i){1&r&&(e.ynx(0),e.TgZ(1,"div",14),e._UZ(2,"div",15)(3,"div",16)(4,"div",17),e.qZA(),e.TgZ(5,"div",18),e._UZ(6,"div",15)(7,"div",16)(8,"div",17),e.qZA(),e.BQk())}function sR(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",19),e.NdJ("cdkObserveContent",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.updateOutlineGap())}),e.Hsn(1,1),e.qZA()}if(2&r){const t=e.oxw();e.Q6J("cdkObserveContentDisabled","outline"!=t.appearance)}}function lR(r,i){if(1&r&&(e.ynx(0),e.Hsn(1,2),e.TgZ(2,"span"),e._uU(3),e.qZA(),e.BQk()),2&r){const t=e.oxw(2);e.xp6(3),e.Oqu(t._control.placeholder)}}function cR(r,i){1&r&&e.Hsn(0,3,["*ngSwitchCase","true"])}function dR(r,i){1&r&&(e.TgZ(0,"span",23),e._uU(1," *"),e.qZA())}function uR(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"label",20,21),e.NdJ("cdkObserveContent",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.updateOutlineGap())}),e.YNc(2,lR,4,1,"ng-container",12),e.YNc(3,cR,1,0,"ng-content",12),e.YNc(4,dR,2,0,"span",22),e.qZA()}if(2&r){const t=e.oxw();e.ekj("mat-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-form-field-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-accent","accent"==t.color)("mat-warn","warn"==t.color),e.Q6J("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),e.uIk("for",t._control.id)("aria-owns",t._control.id),e.xp6(2),e.Q6J("ngSwitchCase",!1),e.xp6(1),e.Q6J("ngSwitchCase",!0),e.xp6(1),e.Q6J("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function hR(r,i){1&r&&(e.TgZ(0,"div",24),e.Hsn(1,4),e.qZA())}function mR(r,i){if(1&r&&(e.TgZ(0,"div",25),e._UZ(1,"span",26),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.ekj("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function fR(r,i){if(1&r&&(e.TgZ(0,"div"),e.Hsn(1,5),e.qZA()),2&r){const t=e.oxw();e.Q6J("@transitionMessages",t._subscriptAnimationState)}}function pR(r,i){if(1&r&&(e.TgZ(0,"div",30),e._uU(1),e.qZA()),2&r){const t=e.oxw(2);e.Q6J("id",t._hintLabelId),e.xp6(1),e.Oqu(t.hintLabel)}}function gR(r,i){if(1&r&&(e.TgZ(0,"div",27),e.YNc(1,pR,2,2,"div",28),e.Hsn(2,6),e._UZ(3,"div",29),e.Hsn(4,7),e.qZA()),2&r){const t=e.oxw();e.Q6J("@transitionMessages",t._subscriptAnimationState),e.xp6(1),e.Q6J("ngIf",t.hintLabel)}}const _R=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],bR=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],yR=new e.OlP("MatHint");let W3=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["mat-label"]]}),r})(),vR=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["mat-placeholder"]]}),r})(),q3=0;const xR=(0,ae.pj)(class{constructor(r){this._elementRef=r}},"primary"),FR=new e.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let CR=(()=>{class r extends xR{get appearance(){return this._appearance}set appearance(t){const n=this._appearance;this._appearance=t||this._defaults?.appearance||"legacy","outline"===this._appearance&&n!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=(0,st.Ig)(t)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}constructor(t,n,a,l,v,I,W){super(t),this._changeDetectorRef=n,this._dir=a,this._defaults=l,this._platform=v,this._ngZone=I,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new D.x,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+q3++,this._labelId="mat-form-field-label-"+q3++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==W,this.appearance=l?.appearance||"legacy",l&&(this._hideRequiredMarker=Boolean(l.hideRequiredMarker),l.color&&(this.color=this.defaultColor=l.color))}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${t.controlType}`),t.stateChanges.pipe((0,N.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe((0,qi.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,qi.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,Ye.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,N.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,N.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,qi.R)(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(t){const n=this._control?this._control.ngControl:null;return n&&n[t]}_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,(0,Bl.R)(this._label.nativeElement,"transitionend").pipe((0,Se.q)(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 t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const n=this._hintChildren?this._hintChildren.find(l=>"start"===l.align):null,a=this._hintChildren?this._hintChildren.find(l=>"end"===l.align):null;n?t.push(n.id):this._hintLabel&&t.push(this._hintLabelId),a&&t.push(a.id)}else this._errorChildren&&t.push(...this._errorChildren.map(n=>n.id));this._control.setDescribedByIds(t)}}_validateControlChild(){}updateOutlineGap(){const t=this._label?this._label.nativeElement:null,n=this._connectionContainerRef.nativeElement,a=".mat-form-field-outline-start",l=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!t||!t.children.length||!t.textContent.trim()){const ye=n.querySelectorAll(`${a}, ${l}`);for(let Ge=0;Ge0?.75*Yt+10:0}for(let ye=0;ye{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[F.ez,ae.BQ,al.Q8,ae.BQ]}),r})(),K3=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[ae.rD],imports:[On,J3,ae.BQ,On,J3]}),r})();function kR(r,i){}const $3_params_enterAnimationDuration="150ms",$3_params_exitAnimationDuration="75ms";class X3 extends Et{constructor(){super(...arguments),this.enterAnimationDuration=mi.params.enterAnimationDuration,this.exitAnimationDuration=mi.params.exitAnimationDuration}}let DR=(()=>{class r extends ze{_onAnimationDone({toState:t,totalTime:n}){"enter"===t?this._openAnimationDone(n):"exit"===t&&this._animationStateChanged.next({state:"closed",totalTime:n})}_onAnimationStart({toState:t,totalTime:n}){"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:n}):("exit"===t||"void"===t)&&this._animationStateChanged.next({state:"closing",totalTime:n})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}constructor(t,n,a,l,v,I,W,G,ye){super(t,n,a,l,v,I,W,ye),this._changeDetectorRef=G,this._state="enter"}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||$3_params_enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||$3_params_exitAnimationDuration}}}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(g.qV),e.Y36(F.K0,8),e.Y36(X3),e.Y36(g.ic),e.Y36(e.R0b),e.Y36(_.Iu),e.Y36(e.sBO),e.Y36(g.tE))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(t,n){1&t&&e.WFA("@dialogContainer.start",function(l){return n._onAnimationStart(l)})("@dialogContainer.done",function(l){return n._onAnimationDone(l)}),2&t&&(e.Ikx("id",n._config.id),e.uIk("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),e.d8E("@dialogContainer",n._getAnimationState()))},features:[e.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,n){1&t&&e.YNc(0,kR,0,0,"ng-template",0)},dependencies:[k.Pl],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:[hn.dialogContainer]}}),r})();class MR extends Ee{}const ER=new e.OlP("MatDialogData"),TR=new e.OlP("mat-dialog-default-options"),eE=new e.OlP("mat-dialog-scroll-strategy"),SR={provide:eE,deps:[_.aV],useFactory:function AR(r){return()=>r.scrollStrategies.block()}};let IR=(()=>{class r extends Di{constructor(t,n,a,l,v,I,W,G){super(t,n,l,I,W,v,MR,DR,ER,G),this.dialogConfigClass=X3}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(_.aV),e.LFG(e.zs3),e.LFG(F.Ye,8),e.LFG(TR,8),e.LFG(eE),e.LFG(r,12),e.LFG(_.Xj),e.LFG(e.QbO,8))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})(),OR=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[IR,SR],imports:[pe,_.U8,k.eL,ae.BQ,ae.BQ]}),r})();const tE=new e.OlP("ngx-mat-date-formats");class Iv extends ae._A{isSameTime(i,t){return null==i||null==t||this.getHour(i)===this.getHour(t)&&this.getMinute(i)===this.getMinute(t)&&this.getSecond(i)===this.getSecond(t)}copyTime(i,t){this.setHour(i,this.getHour(t)),this.setMinute(i,this.getMinute(t)),this.setSecond(i,this.getSecond(t))}compareDateWithTime(i,t,n){let a=super.compareDate(i,t)||this.getHour(i)-this.getHour(t)||this.getMinute(i)-this.getMinute(t);return n&&(a=a||this.getSecond(i)-this.getSecond(t)),a}setTimeByDefaultValues(i,t){if(!Array.isArray(t))throw Error("@Input DefaultTime should be an array");this.setHour(i,t[0]||0),this.setMinute(i,t[1]||0),this.setSecond(i,t[2]||0)}}const GR=new e.OlP("NGX_MAT_DATE_RANGE_SELECTION_STRATEGY");let WR=(()=>{class r{constructor(t){this._dateAdapter=t}selectionFinished(t,n){let{start:a,end:l}=n;return null==a?a=t:null==l&&t&&this._dateAdapter.compareDate(t,a)>=0?l=t:(a=t,l=null),new Hh(a,l)}createPreview(t,n){let a=null,l=null;return n.start&&!n.end&&t&&(a=n.start,l=t),new Hh(a,l)}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(Iv))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})();function iE(r){return Error(`NgxMatDatepicker: No provider found for ${r}. You must import one of the following modules at your application root: NgxMatNativeDateModule, NgxMatMomentModule, or provide a custom implementation.`)}(0,ae.pj)(class{constructor(r){this._elementRef=r}});const QR={provide:ga,useExisting:(0,e.Gpc)(()=>rE),multi:!0},JR={provide:Va,useExisting:(0,e.Gpc)(()=>rE),multi:!0};class Nv{constructor(i,t){this.target=i,this.targetElement=t,this.value=this.target.value}}let Uh,rE=(()=>{class r{constructor(t,n,a,l){if(this._elementRef=t,this._dateAdapter=n,this._dateFormats=a,this._formField=l,this.dateChange=new e.vpe,this.dateInput=new e.vpe,this._valueChange=new e.vpe,this.stateChanges=new e.vpe,this._onTouched=()=>{},this._cvaOnChange=()=>{},this._validatorOnChange=()=>{},this._datepickerSubscription=yo.w0.EMPTY,this._localeSubscription=yo.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatetimePickerParse:{text:this._elementRef.nativeElement.value}},this._minValidator=v=>{const I=this._getValidDateOrNull(this._dateAdapter.deserialize(v.value));return!this.min||!I||this._dateAdapter.compareDateWithTime(this.min,I,this._datepicker.showSeconds)<=0?null:{matDatetimePickerMin:{min:this.min,actual:I}}},this._maxValidator=v=>{const I=this._getValidDateOrNull(this._dateAdapter.deserialize(v.value));return!this.max||!I||this._dateAdapter.compareDateWithTime(this.max,I,this._datepicker.showSeconds)>=0?null:{matDatetimePickerMax:{max:this.max,actual:I}}},this._filterValidator=v=>{const I=this._getValidDateOrNull(this._dateAdapter.deserialize(v.value));return this._dateFilter&&I&&!this._dateFilter(I)?{matDatetimePickerFilter:!0}:null},this._validator=so.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw iE("NgxMatDateAdapter");if(!this._dateFormats)throw iE("NGX_MAT_DATE_FORMATS");this._localeSubscription=n.localeChanges.subscribe(()=>{this.value=this.value})}set ngxMatDatetimePicker(t){t&&(this._datepicker=t,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 Nv(this,this._elementRef.nativeElement)),this.dateChange.emit(new Nv(this,this._elementRef.nativeElement))}))}set ngxMatDatetimePickerFilter(t){this._dateFilter=t,this._validatorOnChange()}get value(){return this._value}set value(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=!t||this._dateAdapter.isValid(t),t=this._getValidDateOrNull(t);const n=this.value;this._value=t,this._formatValue(t),this._dateAdapter.sameDate(n,t)||this._valueChange.emit(t)}get min(){return this._min}set min(t){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._validatorOnChange()}get max(){return this._max}set max(t){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._validatorOnChange()}get disabled(){return!!this._disabled}set disabled(t){const n=null!=t&&"false"!=`${t}`,a=this._elementRef.nativeElement;this._disabled!==n&&(this._disabled=n,this.stateChanges.emit(void 0)),n&&a.blur&&a.blur()}ngOnDestroy(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this.stateChanges.complete()}registerOnValidatorChange(t){this._validatorOnChange=t}validate(t){return this._validator?this._validator(t):null}getPopupConnectionElementRef(){return this.getConnectedOverlayOrigin()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}writeValue(t){this.value=t}registerOnChange(t){this._cvaOnChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_onKeydown(t){this._datepicker&&t.altKey&&t.keyCode===A.JH&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),t.preventDefault())}_onInput(t){const n=this._lastValueValid;let a=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=!a||this._dateAdapter.isValid(a),a=this._getValidDateOrNull(a);const l=this._dateAdapter.isSameTime(a,this._value);null!=a&&(!l||!this._dateAdapter.sameDate(a,this._value))||null==a&&null!=this._value?(this._value=a,this._cvaOnChange(a),this._valueChange.emit(a),this.dateInput.emit(new Nv(this,this._elementRef.nativeElement))):n!==this._lastValueValid&&this._validatorOnChange()}_onChange(){this.dateChange.emit(new Nv(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(t){this._elementRef.nativeElement.value=t?this._dateAdapter.format(t,this._dateFormats.display.dateInput):""}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(Iv,8),e.Y36(tE,8),e.Y36(CR,8))},r.\u0275dir=e.lG2({type:r,selectors:[["input","ngxMatDatetimePicker",""]],hostVars:5,hostBindings:function(t,n){1&t&&e.NdJ("input",function(l){return n._onInput(l.target.value)})("change",function(){return n._onChange()})("blur",function(){return n._onBlur()})("focus",function(){return n._onFocus()})("keydown",function(l){return n._onKeydown(l)}),2&t&&(e.Ikx("disabled",n.disabled),e.uIk("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:[e._Bn([QR,JR,{provide:Mm,useExisting:r}])]}),r})(),aE=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[F.ez,K3,Uc,Fm,Ip,G3]}),r})(),KR=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[j3,{provide:GR,useClass:WR}],imports:[F.ez,z3,OR,k.eL,Fm,Ip,G3,K3,aE]}),r})();try{Uh=typeof Intl<"u"}catch{Uh=!1}const $R={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"]},XR=Lv(31,r=>String(r+1)),eP={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},tP=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Lv(r,i){const t=Array(r);for(let n=0;n{class r extends Iv{constructor(t,n){super(),this.useUtcForDisplay=!0,super.setLocale(t),this.useUtcForDisplay=!n.TRIDENT,this._clampDate=n.TRIDENT||n.EDGE}getYear(t){return t.getFullYear()}getMonth(t){return t.getMonth()}getDate(t){return t.getDate()}getDayOfWeek(t){return t.getDay()}getMonthNames(t){if(Uh){const n=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return Lv(12,a=>this._stripDirectionalityCharacters(this._format(n,new Date(2017,a,1))))}return $R[t]}getDateNames(){if(Uh){const t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Lv(31,n=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,n+1))))}return XR}getDayOfWeekNames(t){if(Uh){const n=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return Lv(7,a=>this._stripDirectionalityCharacters(this._format(n,new Date(2017,0,a+1))))}return eP[t]}getYearName(t){if(Uh){const n=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(n,t))}return String(this.getYear(t))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}clone(t){return new Date(t.getTime())}createDate(t,n,a){if(n<0||n>11)throw Error(`Invalid month index "${n}". Month index has to be between 0 and 11.`);if(a<1)throw Error(`Invalid date "${a}". Date has to be greater than 0.`);let l=this._createDateWithOverflow(t,n,a);if(l.getMonth()!=n)throw Error(`Invalid date "${a}" for month with index "${n}".`);return l}today(){return new Date}parse(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null}format(t,n){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(Uh){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),n={...n,timeZone:"utc"};const a=new Intl.DateTimeFormat(this.locale,n);return this._stripDirectionalityCharacters(this._format(a,t))}return this._stripDirectionalityCharacters(t.toDateString())}addCalendarYears(t,n){return this.addCalendarMonths(t,12*n)}addCalendarMonths(t,n){let a=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+n,this.getDate(t));return this.getMonth(a)!=((this.getMonth(t)+n)%12+12)%12&&(a=this._createDateWithOverflow(this.getYear(a),this.getMonth(a),0)),a}addCalendarDays(t,n){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+n)}toIso8601(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}deserialize(t){if("string"==typeof t){if(!t)return null;if(tP.test(t)){let n=new Date(t);if(this.isValid(n))return n}}return super.deserialize(t)}isDateInstance(t){return t instanceof Date}isValid(t){return!isNaN(t.getTime())}invalid(){return new Date(NaN)}getHour(t){return t.getHours()}getMinute(t){return t.getMinutes()}getSecond(t){return t.getSeconds()}setHour(t,n){t.setHours(n)}setMinute(t,n){t.setMinutes(n)}setSecond(t,n){t.setSeconds(n)}_createDateWithOverflow(t,n,a){const l=new Date(t,n,a);return t>=0&&t<100&&l.setFullYear(this.getYear(l)-1900),l}_2digit(t){return("00"+t).slice(-2)}_stripDirectionalityCharacters(t){return t.replace(/[\u200e\u200f]/g,"")}_format(t,n){const a=new Date;return a.setUTCFullYear(n.getFullYear(),n.getMonth(),n.getDate()),a.setUTCHours(n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()),t.format(a)}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(ae.Ad,8),e.LFG(x.t4))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})();const oE={year:"numeric",month:"numeric",day:"numeric",hour12:!1,hour:"2-digit",minute:"2-digit",second:"2-digit"},nP={parse:{dateInput:oE},display:{dateInput:oE,monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let rP=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[{provide:Iv,useClass:iP}],imports:[x.ud]}),r})(),aP=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[{provide:tE,useValue:nP}],imports:[rP]}),r})();class oP{constructor(i,t="/assets/i18n/",n=".json"){this.http=i,this.prefix=t,this.suffix=n}getTranslation(i){return this.http.get(`${this.prefix}${i}${this.suffix}`)}}class Nf{constructor(){this.logs=[],this.errors=[]}}Nf.\u0275fac=function(i){return new(i||Nf)},Nf.\u0275prov=e.Yz7({token:Nf,factory:Nf.\u0275fac,providedIn:"root"});class Lf extends Es{constructor(i,t){super(i),this.platformId=i,this.debugLog=t}writeMessage(i,t){super.writeMessage(i,t),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(i),i.level>Sr.WARN&&this.debugLog.errors.push(i)}resize(i,t,n){for(;i.length>t;)i.shift();for(;i.lengthconsole.error(r))},5521:(Te,O)=>{"use strict";function y(le){if(!Number.isSafeInteger(le))throw new Error(`Wrong integer: ${le}`)}function f(...le){const pe=(xe,Ye)=>Qe=>xe(Ye(Qe));return{encode:Array.from(le).reverse().reduce((xe,Ye)=>xe?pe(xe,Ye.encode):Ye.encode,void 0),decode:le.reduce((xe,Ye)=>xe?pe(xe,Ye.decode):Ye.decode,void 0)}}function e(le){return{encode:pe=>{if(!Array.isArray(pe)||pe.length&&"number"!=typeof pe[0])throw new Error("alphabet.encode input should be an array of numbers");return pe.map(ae=>{if(y(ae),ae<0||ae>=le.length)throw new Error(`Digit index outside alphabet: ${ae} (alphabet: ${le.length})`);return le[ae]})},decode:pe=>{if(!Array.isArray(pe)||pe.length&&"string"!=typeof pe[0])throw new Error("alphabet.decode input should be array of strings");return pe.map(ae=>{if("string"!=typeof ae)throw new Error(`alphabet.decode: not string element=${ae}`);const ke=le.indexOf(ae);if(-1===ke)throw new Error(`Unknown letter: "${ae}". Allowed: ${le}`);return ke})}}}function g(le=""){if("string"!=typeof le)throw new Error("join separator should be string");return{encode:pe=>{if(!Array.isArray(pe)||pe.length&&"string"!=typeof pe[0])throw new Error("join.encode input should be array of strings");for(let ae of pe)if("string"!=typeof ae)throw new Error(`join.encode: non-string input=${ae}`);return pe.join(le)},decode:pe=>{if("string"!=typeof pe)throw new Error("join.decode input should be string");return pe.split(le)}}}function _(le,pe="="){if(y(le),"string"!=typeof pe)throw new Error("padding chr should be string");return{encode(ae){if(!Array.isArray(ae)||ae.length&&"string"!=typeof ae[0])throw new Error("padding.encode input should be array of strings");for(let ke of ae)if("string"!=typeof ke)throw new Error(`padding.encode: non-string input=${ke}`);for(;ae.length*le%8;)ae.push(pe);return ae},decode(ae){if(!Array.isArray(ae)||ae.length&&"string"!=typeof ae[0])throw new Error("padding.encode input should be array of strings");for(let xe of ae)if("string"!=typeof xe)throw new Error(`padding.decode: non-string input=${xe}`);let ke=ae.length;if(ke*le%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;ke>0&&ae[ke-1]===pe;ke--)if(!((ke-1)*le%8))throw new Error("Invalid padding: string has too much padding");return ae.slice(0,ke)}}}function x(le){if("function"!=typeof le)throw new Error("normalize fn should be function");return{encode:pe=>pe,decode:pe=>le(pe)}}function k(le,pe,ae){if(pe<2)throw new Error(`convertRadix: wrong from=${pe}, base cannot be less than 2`);if(ae<2)throw new Error(`convertRadix: wrong to=${ae}, base cannot be less than 2`);if(!Array.isArray(le))throw new Error("convertRadix: data should be array");if(!le.length)return[];let ke=0;const xe=[],Ye=Array.from(le);for(Ye.forEach(Qe=>{if(y(Qe),Qe<0||Qe>=pe)throw new Error(`Wrong integer: ${Qe}`)});;){let Qe=0,Se=!0;for(let nt=ke;ntpe?F(pe,le%pe):le,A=(le,pe)=>le+(pe-F(le,pe));function D(le,pe,ae,ke){if(!Array.isArray(le))throw new Error("convertRadix2: data should be array");if(pe<=0||pe>32)throw new Error(`convertRadix2: wrong from=${pe}`);if(ae<=0||ae>32)throw new Error(`convertRadix2: wrong to=${ae}`);if(A(pe,ae)>32)throw new Error(`convertRadix2: carry overflow from=${pe} to=${ae} carryBits=${A(pe,ae)}`);let xe=0,Ye=0;const Qe=2**ae-1,Se=[];for(const nt of le){if(y(nt),nt>=2**pe)throw new Error(`convertRadix2: invalid data word=${nt} from=${pe}`);if(xe=xe<32)throw new Error(`convertRadix2: carry overflow pos=${Ye} from=${pe}`);for(Ye+=pe;Ye>=ae;Ye-=ae)Se.push((xe>>Ye-ae&Qe)>>>0);xe&=2**Ye-1}if(xe=xe<=pe)throw new Error("Excess padding");if(!ke&&xe)throw new Error(`Non-zero padding: ${xe}`);return ke&&Ye>0&&Se.push(xe>>>0),Se}function P(le){return y(le),{encode:pe=>{if(!(pe instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return k(Array.from(pe),256,le)},decode:pe=>{if(!Array.isArray(pe)||pe.length&&"number"!=typeof pe[0])throw new Error("radix.decode input should be array of strings");return Uint8Array.from(k(pe,le,256))}}}function U(le,pe=!1){if(y(le),le<=0||le>32)throw new Error("radix2: bits should be in (0..32]");if(A(8,le)>32||A(le,8)>32)throw new Error("radix2: carry overflow");return{encode:ae=>{if(!(ae instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return D(Array.from(ae),8,le,!pe)},decode:ae=>{if(!Array.isArray(ae)||ae.length&&"number"!=typeof ae[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(D(ae,le,8,pe))}}}function S(le){if("function"!=typeof le)throw new Error("unsafeWrapper fn should be function");return function(...pe){try{return le.apply(null,pe)}catch{}}}function N(le,pe){if(y(le),"function"!=typeof pe)throw new Error("checksum fn should be function");return{encode(ae){if(!(ae instanceof Uint8Array))throw new Error("checksum.encode: input should be Uint8Array");const ke=pe(ae).slice(0,le),xe=new Uint8Array(ae.length+le);return xe.set(ae),xe.set(ke,ae.length),xe},decode(ae){if(!(ae instanceof Uint8Array))throw new Error("checksum.decode: input should be Uint8Array");const ke=ae.slice(0,-le),xe=pe(ke).slice(0,le),Ye=ae.slice(-le);for(let Qe=0;Qele.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),O.base64=f(U(6),e("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),_(6),g("")),O.base64url=f(U(6),e("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),_(6),g(""));const J=le=>f(P(58),e(le),g(""));O.base58=J("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),O.base58flickr=J("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),O.base58xrp=J("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");const Z=[0,2,3,5,6,7,9,10,11];O.base58xmr={encode(le){let pe="";for(let ae=0;aef(N(4,pe=>le(le(pe))),O.base58);const V=f(e("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),g("")),z=[996825010,642813549,513874426,1027748829,705979059];function ue(le){const pe=le>>25;let ae=(33554431&le)<<5;for(let ke=0;ke>ke&1)&&(ae^=z[ke]);return ae}function fe(le,pe,ae=1){const ke=le.length;let xe=1;for(let Ye=0;Ye126)throw new Error(`Invalid prefix (${le})`);xe=ue(xe)^Qe>>5}xe=ue(xe);for(let Ye=0;Yert)throw new TypeError(`Wrong string length: ${Ie.length} (${Ie}). Expected (8..${rt})`);const Ze=Ie.toLowerCase();if(Ie!==Ze&&Ie!==Ie.toUpperCase())throw new Error("String must be lowercase or uppercase");const Ft=(Ie=Ze).lastIndexOf("1");if(0===Ft||-1===Ft)throw new Error('Letter "1" must be present between prefix and data only');const lt=Ie.slice(0,Ft),qe=Ie.slice(Ft+1);if(qe.length<6)throw new Error("Data must be at least 6 characters long");const ei=V.decode(qe).slice(0,-6),Ht=fe(lt,ei,pe);if(!qe.endsWith(Ht))throw new Error(`Invalid checksum in ${Ie}: expected "${Ht}"`);return{prefix:lt,words:ei}}return{encode:function Qe(Ie,rt,Ze=90){if("string"!=typeof Ie)throw new Error("bech32.encode prefix should be string, not "+typeof Ie);if(!Array.isArray(rt)||rt.length&&"number"!=typeof rt[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof rt);const Ft=Ie.length+7+rt.length;if(!1!==Ze&&Ft>Ze)throw new TypeError(`Length ${Ft} exceeds limit ${Ze}`);return`${Ie=Ie.toLowerCase()}1${V.encode(rt)}${fe(Ie,rt,pe)}`},decode:Se,decodeToBytes:function we(Ie){const{prefix:rt,words:Ze}=Se(Ie,!1);return{prefix:rt,words:Ze,bytes:ke(Ze)}},decodeUnsafe:S(Se),fromWords:ke,fromWordsUnsafe:Ye,toWords:xe}}O.bech32=$("bech32"),O.bech32m=$("bech32m"),O.utf8={encode:le=>(new TextDecoder).decode(le),decode:le=>(new TextEncoder).encode(le)},O.hex=f(U(4),e("0123456789abcdef"),g(""),x(le=>{if("string"!=typeof le||le.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof le} with length ${le.length}`);return le.toLowerCase()}));const Y={utf8:O.utf8,hex:O.hex,base16:O.base16,base32:O.base32,base64:O.base64,base64url:O.base64url,base58:O.base58,base58xmr:O.base58xmr},X=`Invalid encoding type. Available types: ${Object.keys(Y).join(", ")}`;O.bytesToString=(le,pe)=>{if("string"!=typeof le||!Y.hasOwnProperty(le))throw new TypeError(X);if(!(pe instanceof Uint8Array))throw new TypeError("bytesToString() expects Uint8Array");return Y[le].encode(pe)},O.str=O.bytesToString,O.stringToBytes=(le,pe)=>{if(!Y.hasOwnProperty(le))throw new TypeError(X);if("string"!=typeof pe)throw new TypeError("stringToBytes() expects string");return Y[le].decode(pe)},O.bytes=O.stringToBytes},6837:(Te,O,y)=>{"use strict";O.Z1=O._I=O.OF=void 0;const e=y(5729),g=y(9522),_=y(8519),x=y(27),k=y(7507),F=y(5521),A=$=>"\u3042\u3044\u3053\u304f\u3057\u3093"===$[0];function D($){if("string"!=typeof $)throw new TypeError("Invalid mnemonic type: "+typeof $);return $.normalize("NFKD")}function P($){const Y=D($),X=Y.split(" ");if(![12,15,18,21,24].includes(X.length))throw new Error("Invalid mnemonic");return{nfkd:Y,words:X}}function U($){e.default.bytes($,16,20,24,28,32)}O.OF=function S($,Y=128){if(e.default.number(Y),Y%32!=0||Y>256)throw new TypeError("Invalid entropy");return function ne($,Y){return U($),J(Y).encode($).join(A(Y)?"\u3000":" ")}((0,k.randomBytes)(Y/8),$)};const N=$=>{const Y=8-$.length/4;return new Uint8Array([(0,_.sha256)($)[0]>>Y<{if("string"!=typeof Y)throw new Error(`Wordlist: non-string element: ${Y}`)}),F.utils.chain(F.utils.checksum(1,N),F.utils.radix2(11,!0),F.utils.alphabet($))}O._I=function V($,Y){try{!function Z($,Y){const{words:X}=P($),ie=J(Y).decode(X);return U(ie),ie}($,Y)}catch{return!1}return!0};O.Z1=function fe($,Y=""){return(0,g.pbkdf2)(x.sha512,P($).nfkd,($=>D(`mnemonic${$}`))(Y),{c:2048,dkLen:64})}},5729:(Te,O)=>{"use strict";function y(F){if(!Number.isSafeInteger(F)||F<0)throw new Error(`Wrong positive integer: ${F}`)}function f(F){if("boolean"!=typeof F)throw new Error(`Expected boolean, not ${F}`)}function e(F,...A){if(!(F instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(A.length>0&&!A.includes(F.length))throw new TypeError(`Expected Uint8Array of length ${A}, not of length=${F.length}`)}function g(F){if("function"!=typeof F||"function"!=typeof F.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");y(F.outputLen),y(F.blockLen)}function _(F,A=!0){if(F.destroyed)throw new Error("Hash instance has been destroyed");if(A&&F.finished)throw new Error("Hash#digest() has already been called")}function x(F,A){e(F);const D=A.outputLen;if(F.length{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.SHA2=void 0;const f=y(5729),e=y(7507);O.SHA2=class _ extends e.Hash{constructor(k,F,A,D){super(),this.blockLen=k,this.outputLen=F,this.padOffset=A,this.isLE=D,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(k),this.view=(0,e.createView)(this.buffer)}update(k){f.default.exists(this);const{view:F,buffer:A,blockLen:D}=this,P=(k=(0,e.toBytes)(k)).length;for(let U=0;UD-U&&(this.process(A,0),U=0);for(let ne=U;ne>D&P),S=Number(F&P),J=A?0:4;x.setUint32(k+(A?4:0),U,A),x.setUint32(k+J,S,A)})(A,D-8,BigInt(8*this.length),P),this.process(A,0);const S=(0,e.createView)(k),N=this.outputLen;if(N%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const J=N/4,Z=this.get();if(J>Z.length)throw new Error("_sha2: outputLen bigger than state");for(let ne=0;ne{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.add=O.toBig=O.split=O.fromBig=void 0;const y=BigInt(2**32-1),f=BigInt(32);function e(te,le=!1){return le?{h:Number(te&y),l:Number(te>>f&y)}:{h:0|Number(te>>f&y),l:0|Number(te&y)}}function g(te,le=!1){let pe=new Uint32Array(te.length),ae=new Uint32Array(te.length);for(let ke=0;ke>>0)+(ae>>>0);return{h:te+pe+(ke/2**32|0)|0,l:0|ke}}O.fromBig=e,O.split=g,O.toBig=(te,le)=>BigInt(te>>>0)<>>0),O.add=V,O.default={fromBig:e,split:g,toBig:O.toBig,shrSH:(te,le,pe)=>te>>>pe,shrSL:(te,le,pe)=>te<<32-pe|le>>>pe,rotrSH:(te,le,pe)=>te>>>pe|le<<32-pe,rotrSL:(te,le,pe)=>te<<32-pe|le>>>pe,rotrBH:(te,le,pe)=>te<<64-pe|le>>>pe-32,rotrBL:(te,le,pe)=>te>>>pe-32|le<<64-pe,rotr32H:(te,le)=>le,rotr32L:(te,le)=>te,rotlSH:(te,le,pe)=>te<>>32-pe,rotlSL:(te,le,pe)=>le<>>32-pe,rotlBH:(te,le,pe)=>le<>>64-pe,rotlBL:(te,le,pe)=>te<>>64-pe,add:V,add3L:(te,le,pe)=>(te>>>0)+(le>>>0)+(pe>>>0),add3H:(te,le,pe,ae)=>le+pe+ae+(te/2**32|0)|0,add4L:(te,le,pe,ae)=>(te>>>0)+(le>>>0)+(pe>>>0)+(ae>>>0),add4H:(te,le,pe,ae,ke)=>le+pe+ae+ke+(te/2**32|0)|0,add5H:(te,le,pe,ae,ke,xe)=>le+pe+ae+ke+xe+(te/2**32|0)|0,add5L:(te,le,pe,ae,ke)=>(te>>>0)+(le>>>0)+(pe>>>0)+(ae>>>0)+(ke>>>0)}},7882:(Te,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.crypto=void 0,O.crypto={node:void 0,web:"object"==typeof self&&"crypto"in self?self.crypto:void 0}},602:(Te,O,y)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.hmac=void 0;const f=y(5729),e=y(7507);class g extends e.Hash{constructor(k,F){super(),this.finished=!1,this.destroyed=!1,f.default.hash(k);const A=(0,e.toBytes)(F);if(this.iHash=k.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 D=this.blockLen,P=new Uint8Array(D);P.set(A.length>D?k.create().update(A).digest():A);for(let U=0;Unew g(x,k).update(F).digest(),O.hmac.create=(x,k)=>new g(x,k)},9522:(Te,O,y)=>{"use strict";var f=y(9598).default;Object.defineProperty(O,"__esModule",{value:!0}),O.pbkdf2Async=O.pbkdf2=void 0;const e=y(5729),g=y(602),_=y(7507);function x(P,U,S,N){e.default.hash(P);const J=(0,_.checkOpts)({dkLen:32,asyncTick:10},N),{c:Z,dkLen:ne,asyncTick:V}=J;if(e.default.number(Z),e.default.number(ne),e.default.number(V),Z<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const z=(0,_.toBytes)(U),ue=(0,_.toBytes)(S),fe=new Uint8Array(ne),$=g.hmac.create(P,z),Y=$._cloneInto().update(ue);return{c:Z,dkLen:ne,asyncTick:V,DK:fe,PRF:$,PRFSalt:Y}}function k(P,U,S,N,J){return P.destroy(),U.destroy(),N&&N.destroy(),J.fill(0),S}function D(){return(D=f(function*(P,U,S,N){const{c:J,dkLen:Z,asyncTick:ne,DK:V,PRF:z,PRFSalt:ue}=x(P,U,S,N);let fe;const $=new Uint8Array(4),Y=(0,_.createView)($),X=new Uint8Array(z.outputLen);for(let ie=1,te=0;te{z._cloneInto(fe).update(X).digestInto(X);for(let ae=0;ae{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.sha224=O.sha256=void 0;const f=y(4206),e=y(7507),g=(P,U,S)=>P&U^~P&S,_=(P,U,S)=>P&U^P&S^U&S,x=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]),k=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),F=new Uint32Array(64);class A extends f.SHA2{constructor(){super(64,32,8,!1),this.A=0|k[0],this.B=0|k[1],this.C=0|k[2],this.D=0|k[3],this.E=0|k[4],this.F=0|k[5],this.G=0|k[6],this.H=0|k[7]}get(){const{A:U,B:S,C:N,D:J,E:Z,F:ne,G:V,H:z}=this;return[U,S,N,J,Z,ne,V,z]}set(U,S,N,J,Z,ne,V,z){this.A=0|U,this.B=0|S,this.C=0|N,this.D=0|J,this.E=0|Z,this.F=0|ne,this.G=0|V,this.H=0|z}process(U,S){for(let $=0;$<16;$++,S+=4)F[$]=U.getUint32(S,!1);for(let $=16;$<64;$++){const Y=F[$-15],X=F[$-2],ie=(0,e.rotr)(Y,7)^(0,e.rotr)(Y,18)^Y>>>3,te=(0,e.rotr)(X,17)^(0,e.rotr)(X,19)^X>>>10;F[$]=te+F[$-7]+ie+F[$-16]|0}let{A:N,B:J,C:Z,D:ne,E:V,F:z,G:ue,H:fe}=this;for(let $=0;$<64;$++){const X=fe+((0,e.rotr)(V,6)^(0,e.rotr)(V,11)^(0,e.rotr)(V,25))+g(V,z,ue)+x[$]+F[$]|0,te=((0,e.rotr)(N,2)^(0,e.rotr)(N,13)^(0,e.rotr)(N,22))+_(N,J,Z)|0;fe=ue,ue=z,z=V,V=ne+X|0,ne=Z,Z=J,J=N,N=X+te|0}N=N+this.A|0,J=J+this.B|0,Z=Z+this.C|0,ne=ne+this.D|0,V=V+this.E|0,z=z+this.F|0,ue=ue+this.G|0,fe=fe+this.H|0,this.set(N,J,Z,ne,V,z,ue,fe)}roundClean(){F.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class D extends A{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}}O.sha256=(0,e.wrapConstructor)(()=>new A),O.sha224=(0,e.wrapConstructor)(()=>new D)},27:(Te,O,y)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.sha384=O.sha512_256=O.sha512_224=O.sha512=O.SHA512=void 0;const f=y(4206),e=y(9027),g=y(7507),[_,x]=e.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(S=>BigInt(S))),k=new Uint32Array(80),F=new Uint32Array(80);class A extends f.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:N,Al:J,Bh:Z,Bl:ne,Ch:V,Cl:z,Dh:ue,Dl:fe,Eh:$,El:Y,Fh:X,Fl:ie,Gh:te,Gl:le,Hh:pe,Hl:ae}=this;return[N,J,Z,ne,V,z,ue,fe,$,Y,X,ie,te,le,pe,ae]}set(N,J,Z,ne,V,z,ue,fe,$,Y,X,ie,te,le,pe,ae){this.Ah=0|N,this.Al=0|J,this.Bh=0|Z,this.Bl=0|ne,this.Ch=0|V,this.Cl=0|z,this.Dh=0|ue,this.Dl=0|fe,this.Eh=0|$,this.El=0|Y,this.Fh=0|X,this.Fl=0|ie,this.Gh=0|te,this.Gl=0|le,this.Hh=0|pe,this.Hl=0|ae}process(N,J){for(let Ye=0;Ye<16;Ye++,J+=4)k[Ye]=N.getUint32(J),F[Ye]=N.getUint32(J+=4);for(let Ye=16;Ye<80;Ye++){const Qe=0|k[Ye-15],Se=0|F[Ye-15],nt=e.default.rotrSH(Qe,Se,1)^e.default.rotrSH(Qe,Se,8)^e.default.shrSH(Qe,Se,7),we=e.default.rotrSL(Qe,Se,1)^e.default.rotrSL(Qe,Se,8)^e.default.shrSL(Qe,Se,7),Ie=0|k[Ye-2],rt=0|F[Ye-2],Ze=e.default.rotrSH(Ie,rt,19)^e.default.rotrBH(Ie,rt,61)^e.default.shrSH(Ie,rt,6),Ft=e.default.rotrSL(Ie,rt,19)^e.default.rotrBL(Ie,rt,61)^e.default.shrSL(Ie,rt,6),lt=e.default.add4L(we,Ft,F[Ye-7],F[Ye-16]),qe=e.default.add4H(lt,nt,Ze,k[Ye-7],k[Ye-16]);k[Ye]=0|qe,F[Ye]=0|lt}let{Ah:Z,Al:ne,Bh:V,Bl:z,Ch:ue,Cl:fe,Dh:$,Dl:Y,Eh:X,El:ie,Fh:te,Fl:le,Gh:pe,Gl:ae,Hh:ke,Hl:xe}=this;for(let Ye=0;Ye<80;Ye++){const Qe=e.default.rotrSH(X,ie,14)^e.default.rotrSH(X,ie,18)^e.default.rotrBH(X,ie,41),Se=e.default.rotrSL(X,ie,14)^e.default.rotrSL(X,ie,18)^e.default.rotrBL(X,ie,41),nt=X&te^~X&pe,Ie=e.default.add5L(xe,Se,ie&le^~ie&ae,x[Ye],F[Ye]),rt=e.default.add5H(Ie,ke,Qe,nt,_[Ye],k[Ye]),Ze=0|Ie,Ft=e.default.rotrSH(Z,ne,28)^e.default.rotrBH(Z,ne,34)^e.default.rotrBH(Z,ne,39),lt=e.default.rotrSL(Z,ne,28)^e.default.rotrBL(Z,ne,34)^e.default.rotrBL(Z,ne,39),qe=Z&V^Z&ue^V&ue,ei=ne&z^ne&fe^z&fe;ke=0|pe,xe=0|ae,pe=0|te,ae=0|le,te=0|X,le=0|ie,({h:X,l:ie}=e.default.add(0|$,0|Y,0|rt,0|Ze)),$=0|ue,Y=0|fe,ue=0|V,fe=0|z,V=0|Z,z=0|ne;const Ht=e.default.add3L(Ze,lt,ei);Z=e.default.add3H(Ht,rt,Ft,qe),ne=0|Ht}({h:Z,l:ne}=e.default.add(0|this.Ah,0|this.Al,0|Z,0|ne)),({h:V,l:z}=e.default.add(0|this.Bh,0|this.Bl,0|V,0|z)),({h:ue,l:fe}=e.default.add(0|this.Ch,0|this.Cl,0|ue,0|fe)),({h:$,l:Y}=e.default.add(0|this.Dh,0|this.Dl,0|$,0|Y)),({h:X,l:ie}=e.default.add(0|this.Eh,0|this.El,0|X,0|ie)),({h:te,l:le}=e.default.add(0|this.Fh,0|this.Fl,0|te,0|le)),({h:pe,l:ae}=e.default.add(0|this.Gh,0|this.Gl,0|pe,0|ae)),({h:ke,l:xe}=e.default.add(0|this.Hh,0|this.Hl,0|ke,0|xe)),this.set(Z,ne,V,z,ue,fe,$,Y,X,ie,te,le,pe,ae,ke,xe)}roundClean(){k.fill(0),F.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)}}O.SHA512=A;class D extends A{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 P extends A{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 U extends A{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}}O.sha512=(0,g.wrapConstructor)(()=>new A),O.sha512_224=(0,g.wrapConstructor)(()=>new D),O.sha512_256=(0,g.wrapConstructor)(()=>new P),O.sha384=(0,g.wrapConstructor)(()=>new U)},7507:(Te,O,y)=>{"use strict";var f=y(9598).default;Object.defineProperty(O,"__esModule",{value:!0}),O.randomBytes=O.wrapConstructorWithOpts=O.wrapConstructor=O.checkOpts=O.Hash=O.concatBytes=O.toBytes=O.utf8ToBytes=O.asyncLoop=O.nextTick=O.hexToBytes=O.bytesToHex=O.isLE=O.rotr=O.createView=O.u32=O.u8=void 0;const e=y(7882);if(O.u8=Y=>new Uint8Array(Y.buffer,Y.byteOffset,Y.byteLength),O.u32=Y=>new Uint32Array(Y.buffer,Y.byteOffset,Math.floor(Y.byteLength/4)),O.createView=Y=>new DataView(Y.buffer,Y.byteOffset,Y.byteLength),O.rotr=(Y,X)=>Y<<32-X|Y>>>X,O.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],!O.isLE)throw new Error("Non little-endian hardware is not supported");const F=Array.from({length:256},(Y,X)=>X.toString(16).padStart(2,"0"));function S(){return(S=f(function*(Y,X,ie){let te=Date.now();for(let le=0;le=0&&pete instanceof Uint8Array))throw new Error("Uint8Array list expected");if(1===Y.length)return Y[0];const X=Y.reduce((te,le)=>te+le.length,0),ie=new Uint8Array(X);for(let te=0,le=0;te"[object Object]"===Object.prototype.toString.call(Y)&&Y.constructor===Object)(X)))throw new TypeError("Options should be object or undefined");return Object.assign(Y,X)},O.wrapConstructor=function ue(Y){const X=te=>Y().update(J(te)).digest(),ie=Y();return X.outputLen=ie.outputLen,X.blockLen=ie.blockLen,X.create=()=>Y(),X},O.wrapConstructorWithOpts=function fe(Y){const X=(te,le)=>Y(le).update(J(te)).digest(),ie=Y({});return X.outputLen=ie.outputLen,X.blockLen=ie.blockLen,X.create=te=>Y(te),X},O.randomBytes=function $(Y=32){if(e.crypto.web)return e.crypto.web.getRandomValues(new Uint8Array(Y));if(e.crypto.node)return new Uint8Array(e.crypto.node.randomBytes(Y).buffer);throw new Error("The environment doesn't have randomBytes function")}},3439:(Te,O)=>{"use strict";O.U=void 0,O.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:(Te,O,y)=>{"use strict";var f=y(5203),e=y(5685),g=e(f("String.prototype.indexOf"));Te.exports=function(x,k){var F=f(x,!!k);return"function"==typeof F&&g(x,".prototype.")>-1?e(F):F}},5685:(Te,O,y)=>{"use strict";var f=y(4444),e=y(5203),g=e("%Function.prototype.apply%"),_=e("%Function.prototype.call%"),x=e("%Reflect.apply%",!0)||f.call(_,g),k=e("%Object.getOwnPropertyDescriptor%",!0),F=e("%Object.defineProperty%",!0),A=e("%Math.max%");if(F)try{F({},"a",{value:1})}catch{F=null}Te.exports=function(U){var S=x(f,_,arguments);return k&&F&&k(S,"length").configurable&&F(S,"length",{value:1+A(0,U.length-(arguments.length-1))}),S};var D=function(){return x(f,g,arguments)};F?F(Te.exports,"apply",{value:D}):Te.exports.apply=D},4999:Te=>{"use strict";var O=function(V){return function y(ne){return!!ne&&"object"==typeof ne}(V)&&!function f(ne){var V=Object.prototype.toString.call(ne);return"[object RegExp]"===V||"[object Date]"===V||function _(ne){return ne.$$typeof===g}(ne)}(V)},g="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function k(ne,V){return!1!==V.clone&&V.isMergeableObject(ne)?J(function x(ne){return Array.isArray(ne)?[]:{}}(ne),ne,V):ne}function F(ne,V,z){return ne.concat(V).map(function(ue){return k(ue,z)})}function P(ne){return Object.keys(ne).concat(function D(ne){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(ne).filter(function(V){return ne.propertyIsEnumerable(V)}):[]}(ne))}function U(ne,V){try{return V in ne}catch{return!1}}function J(ne,V,z){(z=z||{}).arrayMerge=z.arrayMerge||F,z.isMergeableObject=z.isMergeableObject||O,z.cloneUnlessOtherwiseSpecified=k;var ue=Array.isArray(V);return ue===Array.isArray(ne)?ue?z.arrayMerge(ne,V,z):function N(ne,V,z){var ue={};return z.isMergeableObject(ne)&&P(ne).forEach(function(fe){ue[fe]=k(ne[fe],z)}),P(V).forEach(function(fe){(function S(ne,V){return U(ne,V)&&!(Object.hasOwnProperty.call(ne,V)&&Object.propertyIsEnumerable.call(ne,V))})(ne,fe)||(ue[fe]=U(ne,fe)&&z.isMergeableObject(V[fe])?function A(ne,V){if(!V.customMerge)return J;var z=V.customMerge(ne);return"function"==typeof z?z:J}(fe,z)(ne[fe],V[fe],z):k(V[fe],z))}),ue}(ne,V,z):k(V,z)}J.all=function(V,z){if(!Array.isArray(V))throw new Error("first argument should be an array");return V.reduce(function(ue,fe){return J(ue,fe,z)},{})},Te.exports=J},4901:Te=>{"use strict";var O={single_source_shortest_paths:function(y,f,e){var g={},_={};_[f]=0;var k,F,A,D,P,S,x=O.PriorityQueue.make();for(x.push(f,0);!x.empty();)for(A in D=(k=x.pop()).cost,P=y[F=k.value]||{})P.hasOwnProperty(A)&&(S=D+P[A],(typeof _[A]>"u"||_[A]>S)&&(_[A]=S,x.push(A,S),g[A]=F));if(typeof e<"u"&&typeof _[e]>"u"){var Z=["Could not find a path from ",f," to ",e,"."].join("");throw new Error(Z)}return g},extract_shortest_path_from_predecessor_list:function(y,f){for(var e=[],g=f;g;)e.push(g),g=y[g];return e.reverse(),e},find_path:function(y,f,e){var g=O.single_source_shortest_paths(y,f,e);return O.extract_shortest_path_from_predecessor_list(g,e)},PriorityQueue:{make:function(y){var g,f=O.PriorityQueue,e={};for(g in y=y||{},f)f.hasOwnProperty(g)&&(e[g]=f[g]);return e.queue=[],e.sorter=y.sorter||f.default_sorter,e},default_sorter:function(y,f){return y.cost-f.cost},push:function(y,f){this.queue.push({value:y,cost:f}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};Te.exports=O},6316:(Te,O)=>{"use strict";var y,e;Object.defineProperty(O,"__esModule",{value:!0}),O.Doctype=O.CDATA=O.Tag=O.Style=O.Script=O.Comment=O.Directive=O.Text=O.Root=O.isTag=O.ElementType=void 0,(e=y=O.ElementType||(O.ElementType={})).Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype",O.isTag=function f(e){return e.type===y.Tag||e.type===y.Script||e.type===y.Style},O.Root=y.Root,O.Text=y.Text,O.Directive=y.Directive,O.Comment=y.Comment,O.Script=y.Script,O.Style=y.Style,O.Tag=y.Tag,O.CDATA=y.CDATA,O.Doctype=y.Doctype},8419:Te=>{"use strict";Te.exports=function(y){for(var f=[],e=y.length,g=0;g=55296&&_<=56319&&e>g+1){var x=y.charCodeAt(g+1);x>=56320&&x<=57343&&(_=1024*(_-55296)+x-56320+65536,g+=1)}_<128?f.push(_):_<2048?(f.push(_>>6|192),f.push(63&_|128)):_<55296||_>=57344&&_<65536?(f.push(_>>12|224),f.push(_>>6&63|128),f.push(63&_|128)):_>=65536&&_<=1114111?(f.push(_>>18|240),f.push(_>>12&63|128),f.push(_>>6&63|128),f.push(63&_|128)):f.push(239,191,189)}return new Uint8Array(f).buffer}},3457:Te=>{"use strict";var O="Function.prototype.bind called on incompatible ",y=Array.prototype.slice,f=Object.prototype.toString,e="[object Function]";Te.exports=function(_){var x=this;if("function"!=typeof x||f.call(x)!==e)throw new TypeError(O+x);for(var F,k=y.call(arguments,1),D=Math.max(0,x.length-k.length),P=[],U=0;U{"use strict";var f=y(3457);Te.exports=Function.prototype.bind||f},5203:(Te,O,y)=>{"use strict";var f,e=SyntaxError,g=Function,_=TypeError,x=function(pe){try{return g('"use strict"; return ('+pe+").constructor;")()}catch{}},k=Object.getOwnPropertyDescriptor;if(k)try{k({},"")}catch{k=null}var F=function(){throw new _},A=k?function(){try{return F}catch{try{return k(arguments,"callee").get}catch{return F}}}():F,D=y(2969)(),P=Object.getPrototypeOf||function(pe){return pe.__proto__},U={},S=typeof Uint8Array>"u"?f:P(Uint8Array),N={"%AggregateError%":typeof AggregateError>"u"?f:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?f:ArrayBuffer,"%ArrayIteratorPrototype%":D?P([][Symbol.iterator]()):f,"%AsyncFromSyncIteratorPrototype%":f,"%AsyncFunction%":U,"%AsyncGenerator%":U,"%AsyncGeneratorFunction%":U,"%AsyncIteratorPrototype%":U,"%Atomics%":typeof Atomics>"u"?f:Atomics,"%BigInt%":typeof BigInt>"u"?f:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?f:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?f:Float32Array,"%Float64Array%":typeof Float64Array>"u"?f:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?f:FinalizationRegistry,"%Function%":g,"%GeneratorFunction%":U,"%Int8Array%":typeof Int8Array>"u"?f:Int8Array,"%Int16Array%":typeof Int16Array>"u"?f:Int16Array,"%Int32Array%":typeof Int32Array>"u"?f:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":D?P(P([][Symbol.iterator]())):f,"%JSON%":"object"==typeof JSON?JSON:f,"%Map%":typeof Map>"u"?f:Map,"%MapIteratorPrototype%":typeof Map>"u"||!D?f:P((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?f:Promise,"%Proxy%":typeof Proxy>"u"?f:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?f:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?f:Set,"%SetIteratorPrototype%":typeof Set>"u"||!D?f:P((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?f:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":D?P(""[Symbol.iterator]()):f,"%Symbol%":D?Symbol:f,"%SyntaxError%":e,"%ThrowTypeError%":A,"%TypedArray%":S,"%TypeError%":_,"%Uint8Array%":typeof Uint8Array>"u"?f:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?f:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?f:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?f:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?f:WeakMap,"%WeakRef%":typeof WeakRef>"u"?f:WeakRef,"%WeakSet%":typeof WeakSet>"u"?f:WeakSet},J=function pe(ae){var ke;if("%AsyncFunction%"===ae)ke=x("async function () {}");else if("%GeneratorFunction%"===ae)ke=x("function* () {}");else if("%AsyncGeneratorFunction%"===ae)ke=x("async function* () {}");else if("%AsyncGenerator%"===ae){var xe=pe("%AsyncGeneratorFunction%");xe&&(ke=xe.prototype)}else if("%AsyncIteratorPrototype%"===ae){var Ye=pe("%AsyncGenerator%");Ye&&(ke=P(Ye.prototype))}return N[ae]=ke,ke},Z={"%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=y(4444),V=y(3164),z=ne.call(Function.call,Array.prototype.concat),ue=ne.call(Function.apply,Array.prototype.splice),fe=ne.call(Function.call,String.prototype.replace),$=ne.call(Function.call,String.prototype.slice),Y=ne.call(Function.call,RegExp.prototype.exec),X=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ie=/\\(\\)?/g,te=function(ae){var ke=$(ae,0,1),xe=$(ae,-1);if("%"===ke&&"%"!==xe)throw new e("invalid intrinsic syntax, expected closing `%`");if("%"===xe&&"%"!==ke)throw new e("invalid intrinsic syntax, expected opening `%`");var Ye=[];return fe(ae,X,function(Qe,Se,nt,we){Ye[Ye.length]=nt?fe(we,ie,"$1"):Se||Qe}),Ye},le=function(ae,ke){var Ye,xe=ae;if(V(Z,xe)&&(xe="%"+(Ye=Z[xe])[0]+"%"),V(N,xe)){var Qe=N[xe];if(Qe===U&&(Qe=J(xe)),typeof Qe>"u"&&!ke)throw new _("intrinsic "+ae+" exists, but is not available. Please file an issue!");return{alias:Ye,name:xe,value:Qe}}throw new e("intrinsic "+ae+" does not exist!")};Te.exports=function(ae,ke){if("string"!=typeof ae||0===ae.length)throw new _("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof ke)throw new _('"allowMissing" argument must be a boolean');if(null===Y(/^%?[^%]*%?$/,ae))throw new e("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var xe=te(ae),Ye=xe.length>0?xe[0]:"",Qe=le("%"+Ye+"%",ke),Se=Qe.name,nt=Qe.value,we=!1,Ie=Qe.alias;Ie&&(Ye=Ie[0],ue(xe,z([0,1],Ie)));for(var rt=1,Ze=!0;rt=xe.length){var ei=k(nt,Ft);nt=(Ze=!!ei)&&"get"in ei&&!("originalValue"in ei.get)?ei.get:nt[Ft]}else Ze=V(nt,Ft),nt=nt[Ft];Ze&&!we&&(N[Se]=nt)}}return nt}},2969:(Te,O,y)=>{"use strict";var f=typeof Symbol<"u"&&Symbol,e=y(1983);Te.exports=function(){return"function"==typeof f&&"function"==typeof Symbol&&"symbol"==typeof f("foo")&&"symbol"==typeof Symbol("bar")&&e()}},1983:Te=>{"use strict";Te.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var y={},f=Symbol("test"),e=Object(f);if("string"==typeof f||"[object Symbol]"!==Object.prototype.toString.call(f)||"[object Symbol]"!==Object.prototype.toString.call(e))return!1;for(f in y[f]=42,y)return!1;if("function"==typeof Object.keys&&0!==Object.keys(y).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(y).length)return!1;var _=Object.getOwnPropertySymbols(y);if(1!==_.length||_[0]!==f||!Object.prototype.propertyIsEnumerable.call(y,f))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var x=Object.getOwnPropertyDescriptor(y,f);if(42!==x.value||!0!==x.enumerable)return!1}return!0}},3164:(Te,O,y)=>{"use strict";var f=y(4444);Te.exports=f.call(Function.call,Object.prototype.hasOwnProperty)},9140:function(Te,O){!function(y){"use strict";function f(K){return null==K}var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(K,c){K.__proto__=c}||function(K,c){for(var d in c)c.hasOwnProperty(d)&&(K[d]=c[d])};var k=function(K){function c(d){var h=this.constructor,p=K.call(this,d)||this;return Object.defineProperty(p,"name",{value:h.name,enumerable:!1}),function _(K,c){var d=Object.setPrototypeOf;d?d(K,c):K.__proto__=c}(p,h.prototype),function x(K,c){void 0===c&&(c=K.constructor);var d=Error.captureStackTrace;d&&d(K,c)}(p),p}return function g(K,c){function d(){this.constructor=K}e(K,c),K.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}(c,K),c}(Error);let F=(()=>{class K extends k{constructor(d){super(d),this.message=d}getKind(){return this.constructor.kind}}return K.kind="Exception",K})(),A=(()=>{class K extends F{}return K.kind="ArgumentException",K})(),D=(()=>{class K extends F{}return K.kind="IllegalArgumentException",K})();class P{constructor(c){if(this.binarizer=c,null===c)throw new D("Binarizer must be non-null.")}getWidth(){return this.binarizer.getWidth()}getHeight(){return this.binarizer.getHeight()}getBlackRow(c,d){return this.binarizer.getBlackRow(c,d)}getBlackMatrix(){return null==this.matrix&&(this.matrix=this.binarizer.getBlackMatrix()),this.matrix}isCropSupported(){return this.binarizer.getLuminanceSource().isCropSupported()}crop(c,d,h,p){const b=this.binarizer.getLuminanceSource().crop(c,d,h,p);return new P(this.binarizer.createBinarizer(b))}isRotateSupported(){return this.binarizer.getLuminanceSource().isRotateSupported()}rotateCounterClockwise(){const c=this.binarizer.getLuminanceSource().rotateCounterClockwise();return new P(this.binarizer.createBinarizer(c))}rotateCounterClockwise45(){const c=this.binarizer.getLuminanceSource().rotateCounterClockwise45();return new P(this.binarizer.createBinarizer(c))}toString(){try{return this.getBlackMatrix().toString()}catch{return""}}}let U=(()=>{class K extends F{static getChecksumInstance(){return new K}}return K.kind="ChecksumException",K})();class S{constructor(c){this.source=c}getLuminanceSource(){return this.source}getWidth(){return this.source.getWidth()}getHeight(){return this.source.getHeight()}}class N{static arraycopy(c,d,h,p,b){for(;b--;)h[p++]=c[d++]}static currentTimeMillis(){return Date.now()}}let J=(()=>{class K extends F{}return K.kind="IndexOutOfBoundsException",K})(),Z=(()=>{class K extends J{constructor(d,h){super(h),this.index=d,this.message=h}}return K.kind="ArrayIndexOutOfBoundsException",K})();class ne{static fill(c,d){for(let h=0,p=c.length;hh)throw new D("fromIndex("+d+") > toIndex("+h+")");if(d<0)throw new Z(d);if(h>c)throw new Z(h)}static asList(...c){return c}static create(c,d,h){return Array.from({length:c}).map(b=>Array.from({length:d}).fill(h))}static createInt32Array(c,d,h){return Array.from({length:c}).map(b=>Int32Array.from({length:d}).fill(h))}static equals(c,d){if(!(c&&d&&c.length&&d.length&&c.length===d.length))return!1;for(let h=0,p=c.length;h>1,T=h(d,c[C]);if(T>0)p=C+1;else{if(!(T<0))return C;b=C-1}}return-p-1}static numberComparator(c,d){return c-d}}class V{static numberOfTrailingZeros(c){let d;if(0===c)return 32;let h=31;return d=c<<16,0!==d&&(h-=16,c=d),d=c<<8,0!==d&&(h-=8,c=d),d=c<<4,0!==d&&(h-=4,c=d),d=c<<2,0!==d&&(h-=2,c=d),h-(c<<1>>>31)}static numberOfLeadingZeros(c){if(0===c)return 32;let d=1;return c>>>16||(d+=16,c<<=16),c>>>24||(d+=8,c<<=8),c>>>28||(d+=4,c<<=4),c>>>30||(d+=2,c<<=2),d-=c>>>31,d}static toHexString(c){return c.toString(16)}static toBinaryString(c){return String(parseInt(String(c),2))}static bitCount(c){return c=(c=(858993459&(c-=c>>>1&1431655765))+(c>>>2&858993459))+(c>>>4)&252645135,63&(c+=c>>>8)+(c>>>16)}static truncDivision(c,d){return Math.trunc(c/d)}static parseInt(c,d){return parseInt(c,d)}}V.MIN_VALUE_32_BITS=-2147483648,V.MAX_VALUE=Number.MAX_SAFE_INTEGER;class z{constructor(c,d){void 0===c?(this.size=0,this.bits=new Int32Array(1)):(this.size=c,this.bits=null==d?z.makeArray(c):d)}getSize(){return this.size}getSizeInBytes(){return Math.floor((this.size+7)/8)}ensureCapacity(c){if(c>32*this.bits.length){const d=z.makeArray(c);N.arraycopy(this.bits,0,d,0,this.bits.length),this.bits=d}}get(c){return 0!=(this.bits[Math.floor(c/32)]&1<<(31&c))}set(c){this.bits[Math.floor(c/32)]|=1<<(31&c)}flip(c){this.bits[Math.floor(c/32)]^=1<<(31&c)}getNextSet(c){const d=this.size;if(c>=d)return d;const h=this.bits;let p=Math.floor(c/32),b=h[p];b&=~((1<<(31&c))-1);const C=h.length;for(;0===b;){if(++p===C)return d;b=h[p]}const T=32*p+V.numberOfTrailingZeros(b);return T>d?d:T}getNextUnset(c){const d=this.size;if(c>=d)return d;const h=this.bits;let p=Math.floor(c/32),b=~h[p];b&=~((1<<(31&c))-1);const C=h.length;for(;0===b;){if(++p===C)return d;b=~h[p]}const T=32*p+V.numberOfTrailingZeros(b);return T>d?d:T}setBulk(c,d){this.bits[Math.floor(c/32)]=d}setRange(c,d){if(dthis.size)throw new D;if(d===c)return;d--;const h=Math.floor(c/32),p=Math.floor(d/32),b=this.bits;for(let C=h;C<=p;C++)b[C]|=(2<<(Ch?0:31&c))}clear(){const c=this.bits.length,d=this.bits;for(let h=0;hthis.size)throw new D;if(d===c)return!0;d--;const p=Math.floor(c/32),b=Math.floor(d/32),C=this.bits;for(let T=p;T<=b;T++){const he=(2<<(Tp?0:31&c))&4294967295;if((C[T]&he)!==(h?he:0))return!1}return!0}appendBit(c){this.ensureCapacity(this.size+1),c&&(this.bits[Math.floor(this.size/32)]|=1<<(31&this.size)),this.size++}appendBits(c,d){if(d<0||d>32)throw new D("Num bits must be between 0 and 32");this.ensureCapacity(this.size+d);for(let h=d;h>0;h--)this.appendBit(1==(c>>h-1&1))}appendBitArray(c){const d=c.size;this.ensureCapacity(this.size+d);for(let h=0;h>1&1431655765|(1431655765&C)<<1,C=C>>2&858993459|(858993459&C)<<2,C=C>>4&252645135|(252645135&C)<<4,C=C>>8&16711935|(16711935&C)<<8,C=C>>16&65535|(65535&C)<<16,c[d-b]=C}if(this.size!==32*h){const b=32*h-this.size;let C=c[0]>>>b;for(let T=1;T>>b}c[h-1]=C}this.bits=c}static makeArray(c){return new Int32Array(Math.floor((c+31)/32))}equals(c){return c instanceof z&&this.size===c.size&&ne.equals(this.bits,c.bits)}hashCode(){return 31*this.size+ne.hashCode(this.bits)}toString(){let c="";for(let d=0,h=this.size;d{return(K=ue||(ue={}))[K.OTHER=0]="OTHER",K[K.PURE_BARCODE=1]="PURE_BARCODE",K[K.POSSIBLE_FORMATS=2]="POSSIBLE_FORMATS",K[K.TRY_HARDER=3]="TRY_HARDER",K[K.CHARACTER_SET=4]="CHARACTER_SET",K[K.ALLOWED_LENGTHS=5]="ALLOWED_LENGTHS",K[K.ASSUME_CODE_39_CHECK_DIGIT=6]="ASSUME_CODE_39_CHECK_DIGIT",K[K.ASSUME_GS1=7]="ASSUME_GS1",K[K.RETURN_CODABAR_START_END=8]="RETURN_CODABAR_START_END",K[K.NEED_RESULT_POINT_CALLBACK=9]="NEED_RESULT_POINT_CALLBACK",K[K.ALLOWED_EAN_EXTENSIONS=10]="ALLOWED_EAN_EXTENSIONS",ue;var K})(),fe=ue;let $=(()=>{class K extends F{static getFormatInstance(){return new K}}return K.kind="FormatException",K})();var Y=(()=>{return(K=Y||(Y={}))[K.Cp437=0]="Cp437",K[K.ISO8859_1=1]="ISO8859_1",K[K.ISO8859_2=2]="ISO8859_2",K[K.ISO8859_3=3]="ISO8859_3",K[K.ISO8859_4=4]="ISO8859_4",K[K.ISO8859_5=5]="ISO8859_5",K[K.ISO8859_6=6]="ISO8859_6",K[K.ISO8859_7=7]="ISO8859_7",K[K.ISO8859_8=8]="ISO8859_8",K[K.ISO8859_9=9]="ISO8859_9",K[K.ISO8859_10=10]="ISO8859_10",K[K.ISO8859_11=11]="ISO8859_11",K[K.ISO8859_13=12]="ISO8859_13",K[K.ISO8859_14=13]="ISO8859_14",K[K.ISO8859_15=14]="ISO8859_15",K[K.ISO8859_16=15]="ISO8859_16",K[K.SJIS=16]="SJIS",K[K.Cp1250=17]="Cp1250",K[K.Cp1251=18]="Cp1251",K[K.Cp1252=19]="Cp1252",K[K.Cp1256=20]="Cp1256",K[K.UnicodeBigUnmarked=21]="UnicodeBigUnmarked",K[K.UTF8=22]="UTF8",K[K.ASCII=23]="ASCII",K[K.Big5=24]="Big5",K[K.GB18030=25]="GB18030",K[K.EUC_KR=26]="EUC_KR",Y;var K})();class X{constructor(c,d,h,...p){this.valueIdentifier=c,this.name=h,this.values="number"==typeof d?Int32Array.from([d]):d,this.otherEncodingNames=p,X.VALUE_IDENTIFIER_TO_ECI.set(c,this),X.NAME_TO_ECI.set(h,this);const b=this.values;for(let C=0,T=b.length;C!==T;C++)X.VALUES_TO_ECI.set(b[C],this);for(const C of p)X.NAME_TO_ECI.set(C,this)}getValueIdentifier(){return this.valueIdentifier}getName(){return this.name}getValue(){return this.values[0]}static getCharacterSetECIByValue(c){if(c<0||c>=900)throw new $("incorect value");const d=X.VALUES_TO_ECI.get(c);if(void 0===d)throw new $("incorect value");return d}static getCharacterSetECIByName(c){const d=X.NAME_TO_ECI.get(c);if(void 0===d)throw new $("incorect value");return d}equals(c){if(!(c instanceof X))return!1;const d=c;return this.getName()===d.getName()}}X.VALUE_IDENTIFIER_TO_ECI=new Map,X.VALUES_TO_ECI=new Map,X.NAME_TO_ECI=new Map,X.Cp437=new X(Y.Cp437,Int32Array.from([0,2]),"Cp437"),X.ISO8859_1=new X(Y.ISO8859_1,Int32Array.from([1,3]),"ISO-8859-1","ISO88591","ISO8859_1"),X.ISO8859_2=new X(Y.ISO8859_2,4,"ISO-8859-2","ISO88592","ISO8859_2"),X.ISO8859_3=new X(Y.ISO8859_3,5,"ISO-8859-3","ISO88593","ISO8859_3"),X.ISO8859_4=new X(Y.ISO8859_4,6,"ISO-8859-4","ISO88594","ISO8859_4"),X.ISO8859_5=new X(Y.ISO8859_5,7,"ISO-8859-5","ISO88595","ISO8859_5"),X.ISO8859_6=new X(Y.ISO8859_6,8,"ISO-8859-6","ISO88596","ISO8859_6"),X.ISO8859_7=new X(Y.ISO8859_7,9,"ISO-8859-7","ISO88597","ISO8859_7"),X.ISO8859_8=new X(Y.ISO8859_8,10,"ISO-8859-8","ISO88598","ISO8859_8"),X.ISO8859_9=new X(Y.ISO8859_9,11,"ISO-8859-9","ISO88599","ISO8859_9"),X.ISO8859_10=new X(Y.ISO8859_10,12,"ISO-8859-10","ISO885910","ISO8859_10"),X.ISO8859_11=new X(Y.ISO8859_11,13,"ISO-8859-11","ISO885911","ISO8859_11"),X.ISO8859_13=new X(Y.ISO8859_13,15,"ISO-8859-13","ISO885913","ISO8859_13"),X.ISO8859_14=new X(Y.ISO8859_14,16,"ISO-8859-14","ISO885914","ISO8859_14"),X.ISO8859_15=new X(Y.ISO8859_15,17,"ISO-8859-15","ISO885915","ISO8859_15"),X.ISO8859_16=new X(Y.ISO8859_16,18,"ISO-8859-16","ISO885916","ISO8859_16"),X.SJIS=new X(Y.SJIS,20,"SJIS","Shift_JIS"),X.Cp1250=new X(Y.Cp1250,21,"Cp1250","windows-1250"),X.Cp1251=new X(Y.Cp1251,22,"Cp1251","windows-1251"),X.Cp1252=new X(Y.Cp1252,23,"Cp1252","windows-1252"),X.Cp1256=new X(Y.Cp1256,24,"Cp1256","windows-1256"),X.UnicodeBigUnmarked=new X(Y.UnicodeBigUnmarked,25,"UnicodeBigUnmarked","UTF-16BE","UnicodeBig"),X.UTF8=new X(Y.UTF8,26,"UTF8","UTF-8"),X.ASCII=new X(Y.ASCII,Int32Array.from([27,170]),"ASCII","US-ASCII"),X.Big5=new X(Y.Big5,28,"Big5"),X.GB18030=new X(Y.GB18030,29,"GB18030","GB2312","EUC_CN","GBK"),X.EUC_KR=new X(Y.EUC_KR,30,"EUC_KR","EUC-KR");let ie=(()=>{class K extends F{}return K.kind="UnsupportedOperationException",K})();class te{static decode(c,d){const h=this.encodingName(d);return this.customDecoder?this.customDecoder(c,h):typeof TextDecoder>"u"||this.shouldDecodeOnFallback(h)?this.decodeFallback(c,h):new TextDecoder(h).decode(c)}static shouldDecodeOnFallback(c){return!te.isBrowser()&&"ISO-8859-1"===c}static encode(c,d){const h=this.encodingName(d);return this.customEncoder?this.customEncoder(c,h):typeof TextEncoder>"u"?this.encodeFallback(c):(new TextEncoder).encode(c)}static isBrowser(){return typeof window<"u"&&"[object Window]"==={}.toString.call(window)}static encodingName(c){return"string"==typeof c?c:c.getName()}static encodingCharacterSet(c){return c instanceof X?c:X.getCharacterSetECIByName(c)}static decodeFallback(c,d){const h=this.encodingCharacterSet(d);if(te.isDecodeFallbackSupported(h)){let p="";for(let b=0,C=c.length;b3&&239===c[0]&&187===c[1]&&191===c[2];for(let Mi=0;Mi0?128&ri?T--:C=!1:128&ri&&(64&ri?(T++,32&ri?(T++,16&ri?(T++,8&ri?C=!1:he++):q++):L++):C=!1)),p&&(ri>127&&ri<160?p=!1:ri>159&&(ri<192||215===ri||247===ri)&&$t++),b&&(Ae>0?ri<64||127===ri||ri>252?b=!1:Ae--:128===ri||160===ri||ri>239?b=!1:ri>160&&ri<224?(He++,wt=0,dt++,dt>St&&(St=dt)):ri>127?(Ae++,dt=0,wt++,wt>jt&&(jt=wt)):(dt=0,wt=0))}return C&&T>0&&(C=!1),b&&Ae>0&&(b=!1),C&&(bi||L+q+he>0)?le.UTF8:b&&(le.ASSUME_SHIFT_JIS||St>=3||jt>=3)?le.SHIFT_JIS:p&&b?2===St&&2===He||10*$t>=h?le.SHIFT_JIS:le.ISO88591:p?le.ISO88591:b?le.SHIFT_JIS:C?le.UTF8:le.PLATFORM_DEFAULT_ENCODING}static format(c,...d){let h=-1;return c.replace(/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g,function p(C,T,L,q,he,Ae){if("%%"===C)return"%";if(void 0===d[++h])return;C=q?parseInt(q.substr(1)):void 0;let dt,He=he?parseInt(he.substr(1)):void 0;switch(Ae){case"s":dt=d[h];break;case"c":dt=d[h][0];break;case"f":dt=parseFloat(d[h]).toFixed(C);break;case"p":dt=parseFloat(d[h]).toPrecision(C);break;case"e":dt=parseFloat(d[h]).toExponential(C);break;case"x":dt=parseInt(d[h]).toString(He||16);break;case"d":dt=parseFloat(parseInt(d[h],He||10).toPrecision(C)).toFixed(0)}dt="object"==typeof dt?JSON.stringify(dt):(+dt).toString(He);let wt=parseInt(L),St=L&&L[0]+""=="0"?"0":" ";for(;dt.lengthC){if(-1===T)T=b-C;else if(b-C!==T)throw new D("row lengths do not match");C=b,L++}q++}else if(c.substring(q,q+d.length)===d)q+=d.length,p[b]=!0,b++;else{if(c.substring(q,q+h.length)!==h)throw new D("illegal character encountered: "+c.substring(q));q+=h.length,p[b]=!1,b++}if(b>C){if(-1===T)T=b-C;else if(b-C!==T)throw new D("row lengths do not match");L++}const he=new ae(T,L);for(let Ae=0;Ae>>(31&c)&1)}set(c,d){const h=d*this.rowSize+Math.floor(c/32);this.bits[h]|=1<<(31&c)&4294967295}unset(c,d){const h=d*this.rowSize+Math.floor(c/32);this.bits[h]&=~(1<<(31&c)&4294967295)}flip(c,d){const h=d*this.rowSize+Math.floor(c/32);this.bits[h]^=1<<(31&c)&4294967295}xor(c){if(this.width!==c.getWidth()||this.height!==c.getHeight()||this.rowSize!==c.getRowSize())throw new D("input matrix dimensions do not match");const d=new z(Math.floor(this.width/32)+1),h=this.rowSize,p=this.bits;for(let b=0,C=this.height;bthis.height||b>this.width)throw new D("The region must fit inside the matrix");const T=this.rowSize,L=this.bits;for(let q=d;qL&&(L=q),32*heT){let He=31;for(;!(Ae>>>He);)He--;32*he+He>T&&(T=32*he+He)}}}return T=0&&0===d[h];)h--;if(h<0)return null;const p=Math.floor(h/c);let b=32*Math.floor(h%c);const C=d[h];let T=31;for(;!(C>>>T);)T--;return b+=T,Int32Array.from([b,p])}getWidth(){return this.width}getHeight(){return this.height}getRowSize(){return this.rowSize}equals(c){return c instanceof ae&&this.width===c.width&&this.height===c.height&&this.rowSize===c.rowSize&&ne.equals(this.bits,c.bits)}hashCode(){let c=this.width;return c=31*c+this.width,c=31*c+this.height,c=31*c+this.rowSize,c=31*c+ne.hashCode(this.bits),c}toString(c="X ",d=" ",h="\n"){return this.buildToString(c,d,h)}buildToString(c,d,h){let p=new pe;for(let b=0,C=this.height;b{class K extends F{static getNotFoundInstance(){return new K}}return K.kind="NotFoundException",K})();class xe extends S{constructor(c){super(c),this.luminances=xe.EMPTY,this.buckets=new Int32Array(xe.LUMINANCE_BUCKETS)}getBlackRow(c,d){const h=this.getLuminanceSource(),p=h.getWidth();null==d||d.getSize()>xe.LUMINANCE_SHIFT]++;const T=xe.estimateBlackPoint(C);if(p<3)for(let L=0;L>xe.LUMINANCE_SHIFT]++}const C=xe.estimateBlackPoint(b),T=c.getMatrix();for(let L=0;Lb&&(p=he,b=c[he]),c[he]>h&&(h=c[he]);let C=0,T=0;for(let he=0;heT&&(C=he,T=He)}if(p>C){const he=p;p=C,C=he}if(C-p<=d/16)throw new ke;let L=C-1,q=-1;for(let he=C-1;he>p;he--){const Ae=he-p,He=Ae*Ae*(C-he)*(h-c[he]);He>q&&(L=he,q=He)}return L<=Ye.MINIMUM_DIMENSION&&h>=Ye.MINIMUM_DIMENSION){const p=c.getMatrix();let b=d>>Ye.BLOCK_SIZE_POWER;d&Ye.BLOCK_SIZE_MASK&&b++;let C=h>>Ye.BLOCK_SIZE_POWER;h&Ye.BLOCK_SIZE_MASK&&C++;const T=Ye.calculateBlackPoints(p,b,C,d,h),L=new ae(d,h);Ye.calculateThresholdForBlock(p,b,C,d,h,T,L),this.matrix=L}else this.matrix=super.getBlackMatrix();return this.matrix}createBinarizer(c){return new Ye(c)}static calculateThresholdForBlock(c,d,h,p,b,C,T){const L=b-Ye.BLOCK_SIZE,q=p-Ye.BLOCK_SIZE;for(let he=0;heL&&(Ae=L);const He=Ye.cap(he,2,h-3);for(let dt=0;dtq&&(wt=q);const St=Ye.cap(dt,2,d-3);let jt=0;for(let bi=-2;bi<=2;bi++){const Mi=C[He+bi];jt+=Mi[St-2]+Mi[St-1]+Mi[St]+Mi[St+1]+Mi[St+2]}Ye.thresholdBlock(c,wt,Ae,jt/25,p,T)}}}static cap(c,d,h){return ch?h:c}static thresholdBlock(c,d,h,p,b,C){for(let T=0,L=h*b+d;TC&&(he=C);for(let Ae=0;AeT&&(He=T);let dt=0,wt=255,St=0;for(let $t=0,bi=he*p+He;$tSt&&(St=ri)}if(St-wt>Ye.MIN_DYNAMIC_RANGE)for($t++,bi+=p;$t>2*Ye.BLOCK_SIZE_POWER;if(St-wt<=Ye.MIN_DYNAMIC_RANGE&&(jt=wt/2,q>0&&Ae>0)){const $t=(L[q-1][Ae]+2*L[q][Ae-1]+L[q-1][Ae-1])/4;wt<$t&&(jt=$t)}L[q][Ae]=jt}}return L}}Ye.BLOCK_SIZE_POWER=3,Ye.BLOCK_SIZE=1<>10,p[C]=L}return p}getRow(c,d){if(c<0||c>=this.getHeight())throw new D("Requested row is outside the image: "+c);const h=this.getWidth(),p=c*h;return null===d?d=this.buffer.slice(p,p+h):(d.lengthnew we(d.deviceId,d.label))})}findDeviceById(c){return Ie(this,void 0,void 0,function*(){const d=yield this.listVideoInputDevices();return d?d.find(h=>h.deviceId===c):null})}decodeFromInputVideoDevice(c,d){return Ie(this,void 0,void 0,function*(){return yield this.decodeOnceFromVideoDevice(c,d)})}decodeOnceFromVideoDevice(c,d){return Ie(this,void 0,void 0,function*(){let h;this.reset(),h=c?{deviceId:{exact:c}}:{facingMode:"environment"};const p={video:h};return yield this.decodeOnceFromConstraints(p,d)})}decodeOnceFromConstraints(c,d){return Ie(this,void 0,void 0,function*(){const h=yield navigator.mediaDevices.getUserMedia(c);return yield this.decodeOnceFromStream(h,d)})}decodeOnceFromStream(c,d){return Ie(this,void 0,void 0,function*(){this.reset();const h=yield this.attachStreamToVideo(c,d);return yield this.decodeOnce(h)})}decodeFromInputVideoDeviceContinuously(c,d,h){return Ie(this,void 0,void 0,function*(){return yield this.decodeFromVideoDevice(c,d,h)})}decodeFromVideoDevice(c,d,h){return Ie(this,void 0,void 0,function*(){let p;p=c?{deviceId:{exact:c}}:{facingMode:"environment"};const b={video:p};return yield this.decodeFromConstraints(b,d,h)})}decodeFromConstraints(c,d,h){return Ie(this,void 0,void 0,function*(){const p=yield navigator.mediaDevices.getUserMedia(c);return yield this.decodeFromStream(p,d,h)})}decodeFromStream(c,d,h){return Ie(this,void 0,void 0,function*(){this.reset();const p=yield this.attachStreamToVideo(c,d);return yield this.decodeContinuously(p,h)})}stopAsyncDecode(){this._stopAsyncDecode=!0}stopContinuousDecode(){this._stopContinuousDecode=!0}attachStreamToVideo(c,d){return Ie(this,void 0,void 0,function*(){const h=this.prepareVideoElement(d);return this.addVideoSource(h,c),this.videoElement=h,this.stream=c,yield this.playVideoOnLoadAsync(h),h})}playVideoOnLoadAsync(c){return new Promise((d,h)=>this.playVideoOnLoad(c,()=>d()))}playVideoOnLoad(c,d){this.videoEndedListener=()=>this.stopStreams(),this.videoCanPlayListener=()=>this.tryPlayVideo(c),c.addEventListener("ended",this.videoEndedListener),c.addEventListener("canplay",this.videoCanPlayListener),c.addEventListener("playing",d),this.tryPlayVideo(c)}isVideoPlaying(c){return c.currentTime>0&&!c.paused&&!c.ended&&c.readyState>2}tryPlayVideo(c){return Ie(this,void 0,void 0,function*(){if(this.isVideoPlaying(c))console.warn("Trying to play video that is already playing.");else try{yield c.play()}catch{console.warn("It was not possible to play the video.")}})}getMediaElement(c,d){const h=document.getElementById(c);if(!h)throw new A(`element with id '${c}' not found`);if(h.nodeName.toLowerCase()!==d.toLowerCase())throw new A(`element with id '${c}' must be an ${d} element`);return h}decodeFromImage(c,d){if(!c&&!d)throw new A("either imageElement with a src set or an url must be provided");return d&&!c?this.decodeFromImageUrl(d):this.decodeFromImageElement(c)}decodeFromVideo(c,d){if(!c&&!d)throw new A("Either an element with a src set or an URL must be provided");return d&&!c?this.decodeFromVideoUrl(d):this.decodeFromVideoElement(c)}decodeFromVideoContinuously(c,d,h){if(void 0===c&&void 0===d)throw new A("Either an element with a src set or an URL must be provided");return d&&!c?this.decodeFromVideoUrlContinuously(d,h):this.decodeFromVideoElementContinuously(c,h)}decodeFromImageElement(c){if(!c)throw new A("An image element must be provided.");this.reset();const d=this.prepareImageElement(c);let h;return this.imageElement=d,h=this.isImageLoaded(d)?this.decodeOnce(d,!1,!0):this._decodeOnLoadImage(d),h}decodeFromVideoElement(c){const d=this._decodeFromVideoElementSetup(c);return this._decodeOnLoadVideo(d)}decodeFromVideoElementContinuously(c,d){const h=this._decodeFromVideoElementSetup(c);return this._decodeOnLoadVideoContinuously(h,d)}_decodeFromVideoElementSetup(c){if(!c)throw new A("A video element must be provided.");this.reset();const d=this.prepareVideoElement(c);return this.videoElement=d,d}decodeFromImageUrl(c){if(!c)throw new A("An URL must be provided.");this.reset();const d=this.prepareImageElement();this.imageElement=d;const h=this._decodeOnLoadImage(d);return d.src=c,h}decodeFromVideoUrl(c){if(!c)throw new A("An URL must be provided.");this.reset();const d=this.prepareVideoElement(),h=this.decodeFromVideoElement(d);return d.src=c,h}decodeFromVideoUrlContinuously(c,d){if(!c)throw new A("An URL must be provided.");this.reset();const h=this.prepareVideoElement(),p=this.decodeFromVideoElementContinuously(h,d);return h.src=c,p}_decodeOnLoadImage(c){return new Promise((d,h)=>{this.imageLoadedListener=()=>this.decodeOnce(c,!1,!0).then(d,h),c.addEventListener("load",this.imageLoadedListener)})}_decodeOnLoadVideo(c){return Ie(this,void 0,void 0,function*(){return yield this.playVideoOnLoadAsync(c),yield this.decodeOnce(c)})}_decodeOnLoadVideoContinuously(c,d){return Ie(this,void 0,void 0,function*(){yield this.playVideoOnLoadAsync(c),this.decodeContinuously(c,d)})}isImageLoaded(c){return!(!c.complete||0===c.naturalWidth)}prepareImageElement(c){let d;return typeof c>"u"&&(d=document.createElement("img"),d.width=200,d.height=200),"string"==typeof c&&(d=this.getMediaElement(c,"img")),c instanceof HTMLImageElement&&(d=c),d}prepareVideoElement(c){let d;return!c&&typeof document<"u"&&(d=document.createElement("video"),d.width=200,d.height=200),"string"==typeof c&&(d=this.getMediaElement(c,"video")),c instanceof HTMLVideoElement&&(d=c),d.setAttribute("autoplay","true"),d.setAttribute("muted","true"),d.setAttribute("playsinline","true"),d}decodeOnce(c,d=!0,h=!0){this._stopAsyncDecode=!1;const p=(b,C)=>{if(this._stopAsyncDecode)return C(new ke("Video stream has ended before any code could be detected.")),void(this._stopAsyncDecode=void 0);try{b(this.decode(c))}catch(T){if(d&&T instanceof ke||(T instanceof U||T instanceof $)&&h)return setTimeout(p,this._timeBetweenDecodingAttempts,b,C);C(T)}};return new Promise((b,C)=>p(b,C))}decodeContinuously(c,d){this._stopContinuousDecode=!1;const h=()=>{if(this._stopContinuousDecode)this._stopContinuousDecode=void 0;else try{const p=this.decode(c);d(p,null),setTimeout(h,this.timeBetweenScansMillis)}catch(p){d(null,p),(p instanceof U||p instanceof $||p instanceof ke)&&setTimeout(h,this._timeBetweenDecodingAttempts)}};h()}decode(c){const d=this.createBinaryBitmap(c);return this.decodeBitmap(d)}_isHTMLVideoElement(c){return 0!==c.videoWidth}drawFrameOnCanvas(c,d,h){d||(d={sx:0,sy:0,sWidth:c.videoWidth,sHeight:c.videoHeight,dx:0,dy:0,dWidth:c.videoWidth,dHeight:c.videoHeight}),h||(h=this.captureCanvasContext),h.drawImage(c,d.sx,d.sy,d.sWidth,d.sHeight,d.dx,d.dy,d.dWidth,d.dHeight)}drawImageOnCanvas(c,d,h=this.captureCanvasContext){d||(d={sx:0,sy:0,sWidth:c.naturalWidth,sHeight:c.naturalHeight,dx:0,dy:0,dWidth:c.naturalWidth,dHeight:c.naturalHeight}),h||(h=this.captureCanvasContext),h.drawImage(c,d.sx,d.sy,d.sWidth,d.sHeight,d.dx,d.dy,d.dWidth,d.dHeight)}createBinaryBitmap(c){this.getCaptureCanvasContext(c),this._isHTMLVideoElement(c)?this.drawFrameOnCanvas(c):this.drawImageOnCanvas(c);const h=this.getCaptureCanvas(c),p=new nt(h),b=new Ye(p);return new P(b)}getCaptureCanvasContext(c){if(!this.captureCanvasContext){const h=this.getCaptureCanvas(c).getContext("2d");this.captureCanvasContext=h}return this.captureCanvasContext}getCaptureCanvas(c){if(!this.captureCanvas){const d=this.createCaptureCanvas(c);this.captureCanvas=d}return this.captureCanvas}decodeBitmap(c){return this.reader.decode(c,this._hints)}createCaptureCanvas(c){if(typeof document>"u")return this._destroyCaptureCanvas(),null;const d=document.createElement("canvas");let h,p;return typeof c<"u"&&(c instanceof HTMLVideoElement?(h=c.videoWidth,p=c.videoHeight):c instanceof HTMLImageElement&&(h=c.naturalWidth||c.width,p=c.naturalHeight||c.height)),d.style.width=h+"px",d.style.height=p+"px",d.width=h,d.height=p,d}stopStreams(){this.stream&&(this.stream.getVideoTracks().forEach(c=>c.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(c,d){try{c.srcObject=d}catch{c.src=URL.createObjectURL(d)}}cleanVideoSource(c){try{c.srcObject=null}catch{c.src=""}this.videoElement.removeAttribute("src")}}class Ze{constructor(c,d,h=(null==d?0:8*d.length),p,b,C=N.currentTimeMillis()){this.text=c,this.rawBytes=d,this.numBits=h,this.resultPoints=p,this.format=b,this.timestamp=C,this.text=c,this.rawBytes=d,this.numBits=null==h?null==d?0:8*d.length:h,this.resultPoints=p,this.format=b,this.resultMetadata=null,this.timestamp=null==C?N.currentTimeMillis():C}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(c,d){null===this.resultMetadata&&(this.resultMetadata=new Map),this.resultMetadata.set(c,d)}putAllMetadata(c){null!==c&&(this.resultMetadata=null===this.resultMetadata?c:new Map(c))}addResultPoints(c){const d=this.resultPoints;if(null===d)this.resultPoints=c;else if(null!==c&&c.length>0){const h=new Array(d.length+c.length);N.arraycopy(d,0,h,0,d.length),N.arraycopy(c,0,h,d.length,c.length),this.resultPoints=h}}getTimestamp(){return this.timestamp}toString(){return this.text}}var Ft=(()=>{return(K=Ft||(Ft={}))[K.AZTEC=0]="AZTEC",K[K.CODABAR=1]="CODABAR",K[K.CODE_39=2]="CODE_39",K[K.CODE_93=3]="CODE_93",K[K.CODE_128=4]="CODE_128",K[K.DATA_MATRIX=5]="DATA_MATRIX",K[K.EAN_8=6]="EAN_8",K[K.EAN_13=7]="EAN_13",K[K.ITF=8]="ITF",K[K.MAXICODE=9]="MAXICODE",K[K.PDF_417=10]="PDF_417",K[K.QR_CODE=11]="QR_CODE",K[K.RSS_14=12]="RSS_14",K[K.RSS_EXPANDED=13]="RSS_EXPANDED",K[K.UPC_A=14]="UPC_A",K[K.UPC_E=15]="UPC_E",K[K.UPC_EAN_EXTENSION=16]="UPC_EAN_EXTENSION",Ft;var K})(),lt=Ft,qe=(()=>{return(K=qe||(qe={}))[K.OTHER=0]="OTHER",K[K.ORIENTATION=1]="ORIENTATION",K[K.BYTE_SEGMENTS=2]="BYTE_SEGMENTS",K[K.ERROR_CORRECTION_LEVEL=3]="ERROR_CORRECTION_LEVEL",K[K.ISSUE_NUMBER=4]="ISSUE_NUMBER",K[K.SUGGESTED_PRICE=5]="SUGGESTED_PRICE",K[K.POSSIBLE_COUNTRY=6]="POSSIBLE_COUNTRY",K[K.UPC_EAN_EXTENSION=7]="UPC_EAN_EXTENSION",K[K.PDF417_EXTRA_METADATA=8]="PDF417_EXTRA_METADATA",K[K.STRUCTURED_APPEND_SEQUENCE=9]="STRUCTURED_APPEND_SEQUENCE",K[K.STRUCTURED_APPEND_PARITY=10]="STRUCTURED_APPEND_PARITY",qe;var K})(),ei=qe;class Ht{constructor(c,d,h,p,b=-1,C=-1){this.rawBytes=c,this.text=d,this.byteSegments=h,this.ecLevel=p,this.structuredAppendSequenceNumber=b,this.structuredAppendParity=C,this.numBits=null==c?0:8*c.length}getRawBytes(){return this.rawBytes}getNumBits(){return this.numBits}setNumBits(c){this.numBits=c}getText(){return this.text}getByteSegments(){return this.byteSegments}getECLevel(){return this.ecLevel}getErrorsCorrected(){return this.errorsCorrected}setErrorsCorrected(c){this.errorsCorrected=c}getErasures(){return this.erasures}setErasures(c){this.erasures=c}getOther(){return this.other}setOther(c){this.other=c}hasStructuredAppend(){return this.structuredAppendParity>=0&&this.structuredAppendSequenceNumber>=0}getStructuredAppendParity(){return this.structuredAppendParity}getStructuredAppendSequenceNumber(){return this.structuredAppendSequenceNumber}}class ve{exp(c){return this.expTable[c]}log(c){if(0===c)throw new D;return this.logTable[c]}static addOrSubtract(c,d){return c^d}}class st{constructor(c,d){if(0===d.length)throw new D;this.field=c;const h=d.length;if(h>1&&0===d[0]){let p=1;for(;ph.length){const C=d;d=h,h=C}let p=new Int32Array(h.length);const b=h.length-d.length;N.arraycopy(h,0,p,0,b);for(let C=b;C=c.getDegree()&&!p.isZero();){const T=p.getDegree()-c.getDegree(),L=d.multiply(p.getCoefficient(p.getDegree()),C),q=c.multiplyByMonomial(T,L),he=d.buildMonomial(T,L);h=h.addOrSubtract(he),p=p.addOrSubtract(q)}return[h,p]}toString(){let c="";for(let d=this.getDegree();d>=0;d--){let h=this.getCoefficient(d);if(0!==h){if(h<0?(c+=" - ",h=-h):c.length>0&&(c+=" + "),0===d||1!==h){const p=this.field.log(h);0===p?c+="1":1===p?c+="a":(c+="a^",c+=p)}0!==d&&(1===d?c+="x":(c+="x^",c+=d))}}return c}}let Jt=(()=>{class K extends F{}return K.kind="ArithmeticException",K})();class Et extends ve{constructor(c,d,h){super(),this.primitive=c,this.size=d,this.generatorBase=h;const p=new Int32Array(d);let b=1;for(let T=0;T=d&&(b^=c,b&=d-1);this.expTable=p;const C=new Int32Array(d);for(let T=0;T{class K extends F{}return K.kind="ReedSolomonException",K})(),ht=(()=>{class K extends F{}return K.kind="IllegalStateException",K})();class at{constructor(c){this.field=c}decode(c,d){const h=this.field,p=new st(h,c),b=new Int32Array(d);let C=!0;for(let dt=0;dt=(h/2|0);){let dt=b,wt=T;if(b=C,T=L,b.isZero())throw new Ct("r_{i-1} was zero");C=dt;let St=p.getZero();const jt=b.getCoefficient(b.getDegree()),$t=p.inverse(jt);for(;C.getDegree()>=b.getDegree()&&!C.isZero();){const bi=C.getDegree()-b.getDegree(),Mi=p.multiply(C.getCoefficient(C.getDegree()),$t);St=St.addOrSubtract(p.buildMonomial(bi,Mi)),C=C.addOrSubtract(b.multiplyByMonomial(bi,Mi))}if(L=St.multiply(T).addOrSubtract(wt),C.getDegree()>=b.getDegree())throw new ht("Division algorithm failed to reduce polynomial?")}const q=L.getCoefficient(0);if(0===q)throw new Ct("sigmaTilde(0) was zero");const he=p.inverse(q);return[L.multiplyScalar(he),C.multiplyScalar(he)]}findErrorLocations(c){const d=c.getDegree();if(1===d)return Int32Array.from([c.getCoefficient(1)]);const h=new Int32Array(d);let p=0;const b=this.field;for(let C=1;C{return(K=_t||(_t={}))[K.UPPER=0]="UPPER",K[K.LOWER=1]="LOWER",K[K.MIXED=2]="MIXED",K[K.DIGIT=3]="DIGIT",K[K.PUNCT=4]="PUNCT",K[K.BINARY=5]="BINARY",_t;var K})();let Tt=(()=>{class K{decode(d){this.ddata=d;let h=d.getBits(),p=this.extractBits(h),b=this.correctBits(p),C=K.convertBoolArrayToByteArray(b),T=K.getEncodedData(b),L=new Ht(C,T,null,null);return L.setNumBits(b.length),L}static highLevelDecode(d){return this.getEncodedData(d)}static getEncodedData(d){let h=d.length,p=_t.UPPER,b=_t.UPPER,C="",T=0;for(;T1,He,He+p-1),He+=p-1;else for(let St=p-1;St>=0;--St)Ae[He++]=0!=(wt&1<=8?K.readCode(d,h,8):K.readCode(d,h,p)<<8-p}static convertBoolArrayToByteArray(d){let h=new Uint8Array((d.length+7)/8);for(let p=0;p","?","[","]","{","}","CTRL_UL"],K.DIGIT_TABLE=["CTRL_PS"," ","0","1","2","3","4","5","6","7","8","9",",",".","CTRL_UL","CTRL_US"],K})();class ze{constructor(){}static round(c){return NaN===c?0:c<=Number.MIN_SAFE_INTEGER?Number.MIN_SAFE_INTEGER:c>=Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:c+(c<0?-.5:.5)|0}static distance(c,d,h,p){const b=c-h,C=d-p;return Math.sqrt(b*b+C*C)}static sum(c){let d=0;for(let h=0,p=c.length;h!==p;h++)d+=c[h];return d}}class pt{static floatToIntBits(c){return c}}pt.MAX_VALUE=Number.MAX_SAFE_INTEGER;class kt{constructor(c,d){this.x=c,this.y=d}getX(){return this.x}getY(){return this.y}equals(c){return c instanceof kt&&this.x===c.x&&this.y===c.y}hashCode(){return 31*pt.floatToIntBits(this.x)+pt.floatToIntBits(this.y)}toString(){return"("+this.x+","+this.y+")"}static orderBestPatterns(c){const d=this.distance(c[0],c[1]),h=this.distance(c[1],c[2]),p=this.distance(c[0],c[2]);let b,C,T;if(h>=d&&h>=p?(C=c[0],b=c[1],T=c[2]):p>=h&&p>=d?(C=c[1],b=c[0],T=c[2]):(C=c[2],b=c[0],T=c[1]),this.crossProductZ(b,C,T)<0){const L=b;b=T,T=L}c[0]=b,c[1]=C,c[2]=T}static distance(c,d){return ze.distance(c.x,c.y,d.x,d.y)}static crossProductZ(c,d,h){const p=d.x,b=d.y;return(h.x-p)*(c.y-b)-(h.y-b)*(c.x-p)}}class et{constructor(c,d){this.bits=c,this.points=d}getBits(){return this.bits}getPoints(){return this.points}}class Ee extends et{constructor(c,d,h,p,b){super(c,d),this.compact=h,this.nbDatablocks=p,this.nbLayers=b}getNbLayers(){return this.nbLayers}getNbDatablocks(){return this.nbDatablocks}isCompact(){return this.compact}}let Xe=(()=>{class K{constructor(d,h,p,b){this.image=d,this.height=d.getHeight(),this.width=d.getWidth(),null==h&&(h=K.INIT_SIZE),null==p&&(p=d.getWidth()/2|0),null==b&&(b=d.getHeight()/2|0);const C=h/2|0;if(this.leftInit=p-C,this.rightInit=p+C,this.upInit=b-C,this.downInit=b+C,this.upInit<0||this.leftInit<0||this.downInit>=this.height||this.rightInit>=this.width)throw new ke}detect(){let d=this.leftInit,h=this.rightInit,p=this.upInit,b=this.downInit,C=!1,T=!0,L=!1,q=!1,he=!1,Ae=!1,He=!1;const dt=this.width,wt=this.height;for(;T;){T=!1;let St=!0;for(;(St||!q)&&h=dt){C=!0;break}let jt=!0;for(;(jt||!he)&&b=wt){C=!0;break}let $t=!0;for(;($t||!Ae)&&d>=0;)$t=this.containsBlackPoint(p,b,d,!1),$t?(d--,T=!0,Ae=!0):Ae||d--;if(d<0){C=!0;break}let bi=!0;for(;(bi||!He)&&p>=0;)bi=this.containsBlackPoint(d,h,p,!0),bi?(p--,T=!0,He=!0):He||p--;if(p<0){C=!0;break}T&&(L=!0)}if(!C&&L){const St=h-d;let jt=null;for(let ri=1;null===jt&&rih||L<-1||L>p)throw new ke;b=!1,-1===T?(d[C]=0,b=!0):T===h&&(d[C]=h-1,b=!0),-1===L?(d[C+1]=0,b=!0):L===p&&(d[C+1]=p-1,b=!0)}b=!0;for(let C=d.length-2;C>=0&&b;C-=2){const T=Math.floor(d[C]),L=Math.floor(d[C+1]);if(T<-1||T>h||L<-1||L>p)throw new ke;b=!1,-1===T?(d[C]=0,b=!0):T===h&&(d[C]=h-1,b=!0),-1===L?(d[C+1]=0,b=!0):L===p&&(d[C+1]=p-1,b=!0)}}}class At{constructor(c,d,h,p,b,C,T,L,q){this.a11=c,this.a21=d,this.a31=h,this.a12=p,this.a22=b,this.a32=C,this.a13=T,this.a23=L,this.a33=q}static quadrilateralToQuadrilateral(c,d,h,p,b,C,T,L,q,he,Ae,He,dt,wt,St,jt){const $t=At.quadrilateralToSquare(c,d,h,p,b,C,T,L);return At.squareToQuadrilateral(q,he,Ae,He,dt,wt,St,jt).times($t)}transformPoints(c){const d=c.length,h=this.a11,p=this.a12,b=this.a13,C=this.a21,T=this.a22,L=this.a23,q=this.a31,he=this.a32,Ae=this.a33;for(let He=0;He>1&127):(p<<=10,p+=(T>>2&992)+(T>>1&31))}let b=this.getCorrectedParameterData(p,this.compact);this.compact?(this.nbLayers=1+(b>>6),this.nbDataBlocks=1+(63&b)):(this.nbLayers=1+(b>>11),this.nbDataBlocks=1+(2047&b))}getRotation(c,d){let h=0;c.forEach((p,b,C)=>{h=(p>>d-2<<1)+(1&p)+(h<<3)}),h=((1&h)<<11)+(h>>1);for(let p=0;p<4;p++)if(V.bitCount(h^this.EXPECTED_CORNER_BITS[p])<=2)return p;throw new ke}getCorrectedParameterData(c,d){let h,p;d?(h=7,p=2):(h=10,p=4);let b=h-p,C=new Int32Array(h);for(let L=h-1;L>=0;--L)C[L]=15&c,c>>=4;try{new at(Et.AZTEC_PARAM).decode(C,b)}catch{throw new ke}let T=0;for(let L=0;L2){let St=this.distancePoint(wt,Ae)*this.nbCenterLayers/(this.distancePoint(b,d)*(this.nbCenterLayers+2));if(St<.75||St>1.25||!this.isWhiteOrBlackRectangle(Ae,He,dt,wt))break}d=Ae,h=He,p=dt,b=wt,C=!C}if(5!==this.nbCenterLayers&&7!==this.nbCenterLayers)throw new ke;this.compact=5===this.nbCenterLayers;let T=new kt(d.getX()+.5,d.getY()-.5),L=new kt(h.getX()+.5,h.getY()+.5),q=new kt(p.getX()-.5,p.getY()+.5),he=new kt(b.getX()-.5,b.getY()-.5);return this.expandSquare([T,L,q,he],2*this.nbCenterLayers-3,2*this.nbCenterLayers)}getMatrixCenter(){let c,d,h,p;try{let T=new Xe(this.image).detect();c=T[0],d=T[1],h=T[2],p=T[3]}catch{let L=this.image.getWidth()/2,q=this.image.getHeight()/2;c=this.getFirstDifferent(new Qt(L+7,q-7),!1,1,-1).toResultPoint(),d=this.getFirstDifferent(new Qt(L+7,q+7),!1,1,1).toResultPoint(),h=this.getFirstDifferent(new Qt(L-7,q+7),!1,-1,1).toResultPoint(),p=this.getFirstDifferent(new Qt(L-7,q-7),!1,-1,-1).toResultPoint()}let b=ze.round((c.getX()+p.getX()+d.getX()+h.getX())/4),C=ze.round((c.getY()+p.getY()+d.getY()+h.getY())/4);try{let T=new Xe(this.image,15,b,C).detect();c=T[0],d=T[1],h=T[2],p=T[3]}catch{c=this.getFirstDifferent(new Qt(b+7,C-7),!1,1,-1).toResultPoint(),d=this.getFirstDifferent(new Qt(b+7,C+7),!1,1,1).toResultPoint(),h=this.getFirstDifferent(new Qt(b-7,C+7),!1,-1,1).toResultPoint(),p=this.getFirstDifferent(new Qt(b-7,C-7),!1,-1,-1).toResultPoint()}return b=ze.round((c.getX()+p.getX()+d.getX()+h.getX())/4),C=ze.round((c.getY()+p.getY()+d.getY()+h.getY())/4),new Qt(b,C)}getMatrixCornerPoints(c){return this.expandSquare(c,2*this.nbCenterLayers,this.getDimension())}sampleGrid(c,d,h,p,b){let C=Vt.getInstance(),T=this.getDimension(),L=T/2-this.nbCenterLayers,q=T/2+this.nbCenterLayers;return C.sampleGrid(c,T,T,L,L,q,L,q,q,L,q,d.getX(),d.getY(),h.getX(),h.getY(),p.getX(),p.getY(),b.getX(),b.getY())}sampleLine(c,d,h){let p=0,b=this.distanceResultPoint(c,d),C=b/h,T=c.getX(),L=c.getY(),q=C*(d.getX()-c.getX())/b,he=C*(d.getY()-c.getY())/b;for(let Ae=0;Ae.1&&Ae<.9?0:Ae<=.1===q?1:-1}getFirstDifferent(c,d,h,p){let b=c.getX()+h,C=c.getY()+p;for(;this.isValid(b,C)&&this.image.get(b,C)===d;)b+=h,C+=p;for(b-=h,C-=p;this.isValid(b,C)&&this.image.get(b,C)===d;)b+=h;for(b-=h;this.isValid(b,C)&&this.image.get(b,C)===d;)C+=p;return C-=p,new Qt(b,C)}expandSquare(c,d,h){let p=h/(2*d),b=c[0].getX()-c[2].getX(),C=c[0].getY()-c[2].getY(),T=(c[0].getX()+c[2].getX())/2,L=(c[0].getY()+c[2].getY())/2,q=new kt(T+p*b,L+p*C),he=new kt(T-p*b,L-p*C);return b=c[1].getX()-c[3].getX(),C=c[1].getY()-c[3].getY(),T=(c[1].getX()+c[3].getX())/2,L=(c[1].getY()+c[3].getY())/2,[q,new kt(T+p*b,L+p*C),he,new kt(T-p*b,L-p*C)]}isValid(c,d){return c>=0&&c0&&d{h.foundPossibleResultPoint(p)})}}reset(){}}class vi{decode(c,d){try{return this.doDecode(c,d)}catch{if(d&&!0===d.get(fe.TRY_HARDER)&&c.isRotateSupported()){const b=c.rotateCounterClockwise(),C=this.doDecode(b,d),T=C.getResultMetadata();let L=270;null!==T&&!0===T.get(ei.ORIENTATION)&&(L+=T.get(ei.ORIENTATION)%360),C.putMetadata(ei.ORIENTATION,L);const q=C.getResultPoints();if(null!==q){const he=b.getHeight();for(let Ae=0;Ae>(C?8:5));let L;L=C?p:15;const q=Math.trunc(p/2);for(let he=0;he=p)break;try{b=c.getBlackRow(dt,b)}catch{continue}for(let wt=0;wt<2;wt++){if(1===wt&&(b.reverse(),d&&!0===d.get(fe.NEED_RESULT_POINT_CALLBACK))){const St=new Map;d.forEach((jt,$t)=>St.set($t,jt)),St.delete(fe.NEED_RESULT_POINT_CALLBACK),d=St}try{const St=this.decodeRow(dt,b,d);if(1===wt){St.putMetadata(ei.ORIENTATION,180);const jt=St.getResultPoints();null!==jt&&(jt[0]=new kt(h-jt[0].getX()-1,jt[0].getY()),jt[1]=new kt(h-jt[1].getX()-1,jt[1].getY()))}return St}catch{}}}throw new ke}static recordPattern(c,d,h){const p=h.length;for(let q=0;q=b)throw new ke;let C=!c.get(d),T=0,L=d;for(;L0&&p>=0;)c.get(--d)!==b&&(p--,b=!b);if(p>=0)throw new ke;vi.recordPattern(c,d+1,h)}static patternMatchVariance(c,d,h){const p=c.length;let b=0,C=0;for(let q=0;qAe?he-Ae:Ae-he;if(He>h)return Number.POSITIVE_INFINITY;L+=He}return L/b}}class ni extends vi{static findStartPattern(c){const d=c.getSize(),h=c.getNextSet(0);let p=0,b=Int32Array.from([0,0,0,0,0,0]),C=h,T=!1;for(let q=h;q=0&&c.isRange(Math.max(0,C-(q-C)/2),C,!1))return Int32Array.from([C,q,Ae]);C+=b[0]+b[1],b=b.slice(2,b.length-1),b[p-1]=0,b[p]=0,p--}else p++;b[p]=1,T=!T}throw new ke}static decodeCode(c,d,h){vi.recordPattern(c,h,d);let p=ni.MAX_AVG_VARIANCE,b=-1;for(let C=0;C=0)return b;throw new ke}decodeRow(c,d,h){const p=h&&!0===h.get(fe.ASSUME_GS1),b=ni.findStartPattern(d),C=b[2];let T=0;const L=new Uint8Array(20);let q;switch(L[T++]=C,C){case ni.CODE_START_A:q=ni.CODE_CODE_A;break;case ni.CODE_START_B:q=ni.CODE_CODE_B;break;case ni.CODE_START_C:q=ni.CODE_CODE_C;break;default:throw new $}let he=!1,Ae=!1,He="",dt=b[0],wt=b[1];const St=Int32Array.from([0,0,0,0,0,0]);let jt=0,$t=0,bi=C,Mi=0,ri=!0,Sn=!1,cn=!1;for(;!he;){const po=Ae;switch(Ae=!1,jt=$t,$t=ni.decodeCode(d,St,wt),L[T++]=$t,$t!==ni.CODE_STOP&&(ri=!0),$t!==ni.CODE_STOP&&(Mi++,bi+=Mi*$t),dt=wt,wt+=St.reduce((Zl,us)=>Zl+us,0),$t){case ni.CODE_START_A:case ni.CODE_START_B:case ni.CODE_START_C:throw new $}switch(q){case ni.CODE_CODE_A:if($t<64)He+=String.fromCharCode(cn===Sn?" ".charCodeAt(0)+$t:" ".charCodeAt(0)+$t+128),cn=!1;else if($t<96)He+=String.fromCharCode(cn===Sn?$t-64:$t+64),cn=!1;else switch($t!==ni.CODE_STOP&&(ri=!1),$t){case ni.CODE_FNC_1:p&&(He+=0===He.length?"]C1":String.fromCharCode(29));break;case ni.CODE_FNC_2:case ni.CODE_FNC_3:break;case ni.CODE_FNC_4_A:!Sn&&cn?(Sn=!0,cn=!1):Sn&&cn?(Sn=!1,cn=!1):cn=!0;break;case ni.CODE_SHIFT:Ae=!0,q=ni.CODE_CODE_B;break;case ni.CODE_CODE_B:q=ni.CODE_CODE_B;break;case ni.CODE_CODE_C:q=ni.CODE_CODE_C;break;case ni.CODE_STOP:he=!0}break;case ni.CODE_CODE_B:if($t<96)He+=String.fromCharCode(cn===Sn?" ".charCodeAt(0)+$t:" ".charCodeAt(0)+$t+128),cn=!1;else switch($t!==ni.CODE_STOP&&(ri=!1),$t){case ni.CODE_FNC_1:p&&(He+=0===He.length?"]C1":String.fromCharCode(29));break;case ni.CODE_FNC_2:case ni.CODE_FNC_3:break;case ni.CODE_FNC_4_B:!Sn&&cn?(Sn=!0,cn=!1):Sn&&cn?(Sn=!1,cn=!1):cn=!0;break;case ni.CODE_SHIFT:Ae=!0,q=ni.CODE_CODE_A;break;case ni.CODE_CODE_A:q=ni.CODE_CODE_A;break;case ni.CODE_CODE_C:q=ni.CODE_CODE_C;break;case ni.CODE_STOP:he=!0}break;case ni.CODE_CODE_C:if($t<100)$t<10&&(He+="0"),He+=$t;else switch($t!==ni.CODE_STOP&&(ri=!1),$t){case ni.CODE_FNC_1:p&&(He+=0===He.length?"]C1":String.fromCharCode(29));break;case ni.CODE_CODE_A:q=ni.CODE_CODE_A;break;case ni.CODE_CODE_B:q=ni.CODE_CODE_B;break;case ni.CODE_STOP:he=!0}}po&&(q=q===ni.CODE_CODE_A?ni.CODE_CODE_B:ni.CODE_CODE_A)}const Hi=wt-dt;if(wt=d.getNextUnset(wt),!d.isRange(wt,Math.min(d.getSize(),wt+(wt-dt)/2),!1))throw new ke;if(bi-=Mi*jt,bi%103!==jt)throw new U;const Jr=He.length;if(0===Jr)throw new ke;Jr>0&&ri&&(He=He.substring(0,q===ni.CODE_CODE_C?Jr-2:Jr-1));const Un=(b[1]+b[0])/2,ir=dt+Hi/2,pr=L.length,Dr=new Uint8Array(pr);for(let po=0;po{class K extends vi{constructor(d=!1,h=!1){super(),this.usingCheckDigit=d,this.extendedMode=h,this.decodeRowResult="",this.counters=new Int32Array(9)}decodeRow(d,h,p){let b=this.counters;b.fill(0),this.decodeRowResult="";let q,he,C=K.findAsteriskPattern(h,b),T=h.getNextSet(C[1]),L=h.getSize();do{K.recordPattern(h,T,b);let jt=K.toNarrowWidePattern(b);if(jt<0)throw new ke;q=K.patternToChar(jt),this.decodeRowResult+=q,he=T;for(let $t of b)T+=$t;T=h.getNextSet(T)}while("*"!==q);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);let dt,Ae=0;for(let jt of b)Ae+=jt;if(T!==L&&2*(T-he-Ae)p&&(C=q);p=C,b=0;let T=0,L=0;for(let q=0;qp&&(L|=1<0;q++){let he=d[q];if(he>p&&(b--,2*he>=T))return-1}return L}}while(b>3);return-1}static patternToChar(d){for(let h=0;h="A"&&T<="Z"))throw new $;L=String.fromCharCode(T.charCodeAt(0)+32);break;case"$":if(!(T>="A"&&T<="Z"))throw new $;L=String.fromCharCode(T.charCodeAt(0)-64);break;case"%":if(T>="A"&&T<="E")L=String.fromCharCode(T.charCodeAt(0)-38);else if(T>="F"&&T<="J")L=String.fromCharCode(T.charCodeAt(0)-11);else if(T>="K"&&T<="O")L=String.fromCharCode(T.charCodeAt(0)+16);else if(T>="P"&&T<="T")L=String.fromCharCode(T.charCodeAt(0)+43);else if("U"===T)L="\0";else if("V"===T)L="@";else if("W"===T)L="`";else{if("X"!==T&&"Y"!==T&&"Z"!==T)throw new $;L="\x7f"}break;case"/":if(T>="A"&&T<="O")L=String.fromCharCode(T.charCodeAt(0)-32);else{if("Z"!==T)throw new $;L=":"}}p+=L,b++}else p+=C}return p}}return K.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%",K.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],K.ASTERISK_ENCODING=148,K})();class Dt extends vi{constructor(){super(...arguments),this.narrowLineWidth=-1}decodeRow(c,d,h){let p=this.decodeStart(d),b=this.decodeEnd(d),C=new pe;Dt.decodeMiddle(d,p[1],b[0],C);let T=C.toString(),L=null;null!=h&&(L=h.get(fe.ALLOWED_LENGTHS)),null==L&&(L=Dt.DEFAULT_ALLOWED_LENGTHS);let q=T.length,he=!1,Ae=0;for(let wt of L){if(q===wt){he=!0;break}wt>Ae&&(Ae=wt)}if(!he&&q>Ae&&(he=!0),!he)throw new $;const He=[new kt(p[1],c),new kt(b[0],c)];return new Ze(T,null,0,He,lt.ITF,(new Date).getTime())}static decodeMiddle(c,d,h,p){let b=new Int32Array(10),C=new Int32Array(5),T=new Int32Array(5);for(b.fill(0),C.fill(0),T.fill(0);d0&&p>=0&&!c.get(p);p--)h--;if(0!==h)throw new ke}static skipWhiteSpace(c){const d=c.getSize(),h=c.getNextSet(0);if(h===d)throw new ke;return h}decodeEnd(c){c.reverse();try{let h,d=Dt.skipWhiteSpace(c);try{h=Dt.findGuardPattern(c,d,Dt.END_PATTERN_REVERSED[0])}catch(b){b instanceof ke&&(h=Dt.findGuardPattern(c,d,Dt.END_PATTERN_REVERSED[1]))}this.validateQuietZone(c,h[0]);let p=h[0];return h[0]=c.getSize()-h[1],h[1]=c.getSize()-p,h}finally{c.reverse()}}static findGuardPattern(c,d,h){let p=h.length,b=new Int32Array(p),C=c.getSize(),T=!1,L=0,q=d;b.fill(0);for(let he=d;he=0)return h%10;throw new ke}}Dt.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])],Dt.MAX_AVG_VARIANCE=.38,Dt.MAX_INDIVIDUAL_VARIANCE=.5,Dt.DEFAULT_ALLOWED_LENGTHS=[6,8,10,12,14],Dt.START_PATTERN=Int32Array.from([1,1,1,1]),Dt.END_PATTERN_REVERSED=[Int32Array.from([1,1,2]),Int32Array.from([1,1,3])];class vt extends vi{constructor(){super(...arguments),this.decodeRowStringBuffer=""}static findStartGuardPattern(c){let h,d=!1,p=0,b=Int32Array.from([0,0,0]);for(;!d;){b=Int32Array.from([0,0,0]),h=vt.findGuardPattern(c,p,!1,this.START_END_PATTERN,b);let C=h[0];p=h[1];let T=C-(p-C);T>=0&&(d=c.isRange(T,C,!1))}return h}static checkChecksum(c){return vt.checkStandardUPCEANChecksum(c)}static checkStandardUPCEANChecksum(c){let d=c.length;if(0===d)return!1;let h=parseInt(c.charAt(d-1),10);return vt.getStandardUPCEANChecksum(c.substring(0,d-1))===h}static getStandardUPCEANChecksum(c){let d=c.length,h=0;for(let p=d-1;p>=0;p-=2){let b=c.charAt(p).charCodeAt(0)-"0".charCodeAt(0);if(b<0||b>9)throw new $;h+=b}h*=3;for(let p=d-2;p>=0;p-=2){let b=c.charAt(p).charCodeAt(0)-"0".charCodeAt(0);if(b<0||b>9)throw new $;h+=b}return(1e3-h)%10}static decodeEnd(c,d){return vt.findGuardPattern(c,d,!1,vt.START_END_PATTERN,new Int32Array(vt.START_END_PATTERN.length).fill(0))}static findGuardPatternWithoutCounters(c,d,h,p){return this.findGuardPattern(c,d,h,p,new Int32Array(p.length))}static findGuardPattern(c,d,h,p,b){let C=c.getSize(),T=0,L=d=h?c.getNextUnset(d):c.getNextSet(d),q=p.length,he=h;for(let Ae=d;Ae=0)return C;throw new ke}}vt.MAX_AVG_VARIANCE=.48,vt.MAX_INDIVIDUAL_VARIANCE=.7,vt.START_END_PATTERN=Int32Array.from([1,1,1]),vt.MIDDLE_PATTERN=Int32Array.from([1,1,1,1,1]),vt.END_PATTERN=Int32Array.from([1,1,1,1,1,1]),vt.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 Ui{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(c,d,h){let p=this.decodeRowStringBuffer,b=this.decodeMiddle(d,h,p),C=p.toString(),T=Ui.parseExtensionString(C),L=[new kt((h[0]+h[1])/2,c),new kt(b,c)],q=new Ze(C,null,0,L,lt.UPC_EAN_EXTENSION,(new Date).getTime());return null!=T&&q.putAllMetadata(T),q}decodeMiddle(c,d,h){let p=this.decodeMiddleCounters;p[0]=0,p[1]=0,p[2]=0,p[3]=0;let b=c.getSize(),C=d[1],T=0;for(let q=0;q<5&&C=10&&(T|=1<<4-q),4!==q&&(C=c.getNextSet(C),C=c.getNextUnset(C))}if(5!==h.length)throw new ke;let L=this.determineCheckDigit(T);if(Ui.extensionChecksum(h.toString())!==L)throw new ke;return C}static extensionChecksum(c){let d=c.length,h=0;for(let p=d-2;p>=0;p-=2)h+=c.charAt(p).charCodeAt(0)-"0".charCodeAt(0);h*=3;for(let p=d-1;p>=0;p-=2)h+=c.charAt(p).charCodeAt(0)-"0".charCodeAt(0);return h*=3,h%10}determineCheckDigit(c){for(let d=0;d<10;d++)if(c===this.CHECK_DIGIT_ENCODINGS[d])return d;throw new ke}static parseExtensionString(c){if(5!==c.length)return null;let d=Ui.parseExtension5String(c);return null==d?null:new Map([[ei.SUGGESTED_PRICE,d]])}static parseExtension5String(c){let d;switch(c.charAt(0)){case"0":d="\xa3";break;case"5":d="$";break;case"9":switch(c){case"90000":return null;case"99991":return"0.00";case"99990":return"Used"}d="";break;default:d=""}let h=parseInt(c.substring(1)),b=h%100;return d+(h/100).toString()+"."+(b<10?"0"+b:b.toString())}}class Ni{constructor(){this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}decodeRow(c,d,h){let p=this.decodeRowStringBuffer,b=this.decodeMiddle(d,h,p),C=p.toString(),T=Ni.parseExtensionString(C),L=[new kt((h[0]+h[1])/2,c),new kt(b,c)],q=new Ze(C,null,0,L,lt.UPC_EAN_EXTENSION,(new Date).getTime());return null!=T&&q.putAllMetadata(T),q}decodeMiddle(c,d,h){let p=this.decodeMiddleCounters;p[0]=0,p[1]=0,p[2]=0,p[3]=0;let b=c.getSize(),C=d[1],T=0;for(let L=0;L<2&&C=10&&(T|=1<<1-L),1!==L&&(C=c.getNextSet(C),C=c.getNextUnset(C))}if(2!==h.length)throw new ke;if(parseInt(h.toString())%4!==T)throw new ke;return C}static parseExtensionString(c){return 2!==c.length?null:new Map([[ei.ISSUE_NUMBER,parseInt(c)]])}}class un{static decodeRow(c,d,h){let p=vt.findGuardPattern(d,h,!1,this.EXTENSION_START_PATTERN,new Int32Array(this.EXTENSION_START_PATTERN.length).fill(0));try{return(new Ui).decodeRow(c,d,p)}catch{return(new Ni).decodeRow(c,d,p)}}}un.EXTENSION_START_PATTERN=Int32Array.from([1,1,2]);class mi extends vt{constructor(){super(),this.decodeRowStringBuffer="",mi.L_AND_G_PATTERNS=mi.L_PATTERNS.map(c=>Int32Array.from(c));for(let c=10;c<20;c++){let d=mi.L_PATTERNS[c-10],h=new Int32Array(d.length);for(let p=0;p=d.getSize()||!d.isRange(he,Ae,!1))throw new ke;let He=L.toString();if(He.length<8)throw new $;if(!mi.checkChecksum(He))throw new U;let dt=(p[1]+p[0])/2,wt=(q[1]+q[0])/2,St=this.getBarcodeFormat(),jt=[new kt(dt,c),new kt(wt,c)],$t=new Ze(He,null,0,jt,St,(new Date).getTime()),bi=0;try{let ri=un.decodeRow(c,d,q[1]);$t.putMetadata(ei.UPC_EAN_EXTENSION,ri.getText()),$t.putAllMetadata(ri.getResultMetadata()),$t.addResultPoints(ri.getResultPoints()),bi=ri.getText().length}catch{}let Mi=null==h?null:h.get(fe.ALLOWED_EAN_EXTENSIONS);if(null!=Mi){let ri=!1;for(let Sn in Mi)if(bi.toString()===Sn){ri=!0;break}if(!ri)throw new ke}return $t}decodeEnd(c,d){return mi.findGuardPattern(c,d,!1,mi.START_END_PATTERN,new Int32Array(mi.START_END_PATTERN.length).fill(0))}static checkChecksum(c){return mi.checkStandardUPCEANChecksum(c)}static checkStandardUPCEANChecksum(c){let d=c.length;if(0===d)return!1;let h=parseInt(c.charAt(d-1),10);return mi.getStandardUPCEANChecksum(c.substring(0,d-1))===h}static getStandardUPCEANChecksum(c){let d=c.length,h=0;for(let p=d-1;p>=0;p-=2){let b=c.charAt(p).charCodeAt(0)-"0".charCodeAt(0);if(b<0||b>9)throw new $;h+=b}h*=3;for(let p=d-2;p>=0;p-=2){let b=c.charAt(p).charCodeAt(0)-"0".charCodeAt(0);if(b<0||b>9)throw new $;h+=b}return(1e3-h)%10}}let hn=(()=>{class K extends mi{constructor(){super(),this.decodeMiddleCounters=Int32Array.from([0,0,0,0])}decodeMiddle(d,h,p){let b=this.decodeMiddleCounters;b[0]=0,b[1]=0,b[2]=0,b[3]=0;let C=d.getSize(),T=h[1],L=0;for(let he=0;he<6&&T=10&&(L|=1<<5-he)}p=K.determineFirstDigit(p,L),T=mi.findGuardPattern(d,T,!0,mi.MIDDLE_PATTERN,new Int32Array(mi.MIDDLE_PATTERN.length).fill(0))[1];for(let he=0;he<6&&Tq);p[0]=0,p[1]=0,p[2]=0,p[3]=0;const b=c.getSize();let C=d[1],T=0;for(let q=0;q<6&&C=10&&(T|=1<<5-q)}return{rowOffset:C,resultString:oe.determineNumSysAndCheckDigit(h,T)}}decodeEnd(c,d){return oe.findGuardPatternWithoutCounters(c,d,!0,oe.MIDDLE_END_PATTERN)}checkChecksum(c){return mi.checkChecksum(oe.convertUPCEtoUPCA(c))}static determineNumSysAndCheckDigit(c,d){for(let h=0;h<=1;h++)for(let p=0;p<10;p++)if(d===this.NUMSYS_AND_CHECK_DIGIT_PATTERNS[h][p])return String.fromCharCode("0".charCodeAt(0)+h)+c+String.fromCharCode("0".charCodeAt(0)+p);throw ke.getNotFoundInstance()}getBarcodeFormat(){return lt.UPC_E}static convertUPCEtoUPCA(c){const d=c.slice(1,7).split("").map(b=>b.charCodeAt(0)),h=new pe;h.append(c.charAt(0));let p=d[5];switch(p){case 0:case 1:case 2:h.appendChars(d,0,2),h.append(p),h.append("0000"),h.appendChars(d,2,3);break;case 3:h.appendChars(d,0,3),h.append("00000"),h.appendChars(d,3,2);break;case 4:h.appendChars(d,0,4),h.append("00000"),h.append(d[4]);break;default:h.appendChars(d,0,5),h.append("0000"),h.append(p)}return c.length>=8&&h.append(c.charAt(7)),h.toString()}}oe.MIDDLE_END_PATTERN=Int32Array.from([1,1,1,1,1,1]),oe.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 ce extends vi{constructor(c){super();let d=null==c?null:c.get(fe.POSSIBLE_FORMATS),h=[];f(d)?(h.push(new hn),h.push(new Ce),h.push(new Mt),h.push(new oe)):(d.indexOf(lt.EAN_13)>-1&&h.push(new hn),d.indexOf(lt.UPC_A)>-1&&h.push(new Ce),d.indexOf(lt.EAN_8)>-1&&h.push(new Mt),d.indexOf(lt.UPC_E)>-1&&h.push(new oe)),this.readers=h}decodeRow(c,d,h){for(let p of this.readers)try{const b=p.decodeRow(c,d,h),C=b.getBarcodeFormat()===lt.EAN_13&&"0"===b.getText().charAt(0),T=null==h?null:h.get(fe.POSSIBLE_FORMATS),L=null==T||T.includes(lt.UPC_A);if(C&&L){const q=b.getRawBytes(),he=new Ze(b.getText().substring(1),q,q?q.length:null,b.getResultPoints(),lt.UPC_A);return he.putAllMetadata(b.getResultMetadata()),he}return b}catch{}throw new ke}reset(){for(let c of this.readers)c.reset()}}let Re=(()=>{class K extends vi{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(d,h){for(let p=0;pb&&(b=h[C],p=C);d[p]++}static decrement(d,h){let p=0,b=h[0];for(let C=1;C=K.MIN_FINDER_PATTERN_RATIO&&b<=K.MAX_FINDER_PATTERN_RATIO){let C=Number.MAX_SAFE_INTEGER,T=Number.MIN_SAFE_INTEGER;for(let L of d)L>T&&(T=L),L=T-L-1&&(he-=pi.combins(p-q-(T-L),T-L-2)),T-L-1>1){let Ae=0;for(let He=p-q-(T-L-2);He>d;He--)Ae+=pi.combins(p-q-He-1,T-L-3);he-=Ae*(T-1-L)}else p-q>d&&he--;b+=he}p-=q}return b}static combins(c,d){let h,p;c-d>d?(p=d,h=c-d):(p=c-d,h=d);let b=1,C=1;for(let T=c;T>h;T--)b*=T,C<=p&&(b/=C,C++);for(;C<=p;)b/=C,C++;return b}}class Kt{static buildBitArray(c){let d=2*c.length-1;null==c[c.length-1].getRightChar()&&(d-=1);let p=new z(12*d),b=0,T=c[0].getRightChar().getValue();for(let L=11;L>=0;--L)T&1<=0;--Ae)he&1<=0;--He)Ae&1<{class K extends ot{constructor(d,h){super(d),this.value=h}getValue(){return this.value}isFNC1(){return this.value===K.FNC1}}return K.FNC1="$",K})();class Oe extends ot{constructor(c,d,h){super(c),h?(this.remaining=!0,this.remainingValue=this.remainingValue):(this.remaining=!1,this.remainingValue=0),this.newString=d}getNewString(){return this.newString}isRemaining(){return this.remaining}getRemainingValue(){return this.remainingValue}}let ct=(()=>{class K extends ot{constructor(d,h,p){if(super(d),h<0||h>10||p<0||p>10)throw new $;this.firstDigit=h,this.secondDigit=p}getFirstDigit(){return this.firstDigit}getSecondDigit(){return this.secondDigit}getValue(){return 10*this.firstDigit+this.secondDigit}isFirstDigitFNC1(){return this.firstDigit===K.FNC1}isSecondDigitFNC1(){return this.secondDigit===K.FNC1}isAnyFNC1(){return this.firstDigit===K.FNC1||this.secondDigit===K.FNC1}}return K.FNC1=10,K})();class Je{constructor(){}static parseFieldsInGeneralPurpose(c){if(!c)return null;if(c.length<2)throw new ke;let d=c.substring(0,2);for(let b of Je.TWO_DIGIT_DATA_LENGTH)if(b[0]===d)return b[1]===Je.VARIABLE_LENGTH?Je.processVariableAI(2,b[2],c):Je.processFixedAI(2,b[1],c);if(c.length<3)throw new ke;let h=c.substring(0,3);for(let b of Je.THREE_DIGIT_DATA_LENGTH)if(b[0]===h)return b[1]===Je.VARIABLE_LENGTH?Je.processVariableAI(3,b[2],c):Je.processFixedAI(3,b[1],c);for(let b of Je.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH)if(b[0]===h)return b[1]===Je.VARIABLE_LENGTH?Je.processVariableAI(4,b[2],c):Je.processFixedAI(4,b[1],c);if(c.length<4)throw new ke;let p=c.substring(0,4);for(let b of Je.FOUR_DIGIT_DATA_LENGTH)if(b[0]===p)return b[1]===Je.VARIABLE_LENGTH?Je.processVariableAI(4,b[2],c):Je.processFixedAI(4,b[1],c);throw new ke}static processFixedAI(c,d,h){if(h.lengththis.information.getSize())return c+4<=this.information.getSize();for(let d=c;dthis.information.getSize()){let b=this.extractNumericValueFromBitArray(c,4);return new ct(this.information.getSize(),0===b?ct.FNC1:b-1,ct.FNC1)}let d=this.extractNumericValueFromBitArray(c,7);return new ct(c+7,(d-8)/11,(d-8)%11)}extractNumericValueFromBitArray(c,d){return Nt.extractNumericValueFromBitArray(this.information,c,d)}static extractNumericValueFromBitArray(c,d,h){let p=0;for(let b=0;bthis.information.getSize())return!1;let d=this.extractNumericValueFromBitArray(c,5);if(d>=5&&d<16)return!0;if(c+7>this.information.getSize())return!1;let h=this.extractNumericValueFromBitArray(c,7);if(h>=64&&h<116)return!0;if(c+8>this.information.getSize())return!1;let p=this.extractNumericValueFromBitArray(c,8);return p>=232&&p<253}decodeIsoIec646(c){let d=this.extractNumericValueFromBitArray(c,5);if(15===d)return new je(c+5,je.FNC1);if(d>=5&&d<15)return new je(c+5,"0"+(d-5));let b,h=this.extractNumericValueFromBitArray(c,7);if(h>=64&&h<90)return new je(c+7,""+(h+1));if(h>=90&&h<116)return new je(c+7,""+(h+7));switch(this.extractNumericValueFromBitArray(c,8)){case 232:b="!";break;case 233:b='"';break;case 234:b="%";break;case 235:b="&";break;case 236:b="'";break;case 237:b="(";break;case 238:b=")";break;case 239:b="*";break;case 240:b="+";break;case 241:b=",";break;case 242:b="-";break;case 243:b=".";break;case 244:b="/";break;case 245:b=":";break;case 246:b=";";break;case 247:b="<";break;case 248:b="=";break;case 249:b=">";break;case 250:b="?";break;case 251:b="_";break;case 252:b=" ";break;default:throw new $}return new je(c+8,b)}isStillAlpha(c){if(c+5>this.information.getSize())return!1;let d=this.extractNumericValueFromBitArray(c,5);if(d>=5&&d<16)return!0;if(c+6>this.information.getSize())return!1;let h=this.extractNumericValueFromBitArray(c,6);return h>=16&&h<63}decodeAlphanumeric(c){let d=this.extractNumericValueFromBitArray(c,5);if(15===d)return new je(c+5,je.FNC1);if(d>=5&&d<15)return new je(c+5,"0"+(d-5));let p,h=this.extractNumericValueFromBitArray(c,6);if(h>=32&&h<58)return new je(c+6,""+(h+33));switch(h){case 58:p="*";break;case 59:p=",";break;case 60:p="-";break;case 61:p=".";break;case 62:p="/";break;default:throw new ht("Decoding invalid alphanumeric value: "+h)}return new je(c+6,p)}isAlphaTo646ToAlphaLatch(c){if(c+1>this.information.getSize())return!1;for(let d=0;d<5&&d+cthis.information.getSize())return!1;for(let d=c;dthis.information.getSize())return!1;for(let d=0;d<4&&d+c{class K extends Ke{constructor(d){super(d)}encodeCompressedGtin(d,h){d.append("(01)");let p=d.length();d.append("9"),this.encodeCompressedGtinWithoutAI(d,h,p)}encodeCompressedGtinWithoutAI(d,h,p){for(let b=0;b<4;++b){let C=this.getGeneralDecoder().extractNumericValueFromBitArray(h+10*b,10);C/100==0&&d.append("0"),C/10==0&&d.append("0"),d.append(C)}K.appendCheckDigit(d,p)}static appendCheckDigit(d,h){let p=0;for(let b=0;b<13;b++){let C=d.charAt(b+h).charCodeAt(0)-"0".charCodeAt(0);p+=1&b?C:3*C}p=10-p%10,10===p&&(p=0),d.append(p)}}return K.GTIN_SIZE=40,K})(),Ne=(()=>{class K extends $e{constructor(d){super(d)}parseInformation(){let d=new pe;d.append("(01)");let h=d.length(),p=this.getGeneralDecoder().extractNumericValueFromBitArray(K.HEADER_SIZE,4);return d.append(p),this.encodeCompressedGtinWithoutAI(d,K.HEADER_SIZE+4,h),this.getGeneralDecoder().decodeAllCodes(d,K.HEADER_SIZE+44)}}return K.HEADER_SIZE=4,K})(),gt=(()=>{class K extends Ke{constructor(d){super(d)}parseInformation(){let d=new pe;return this.getGeneralDecoder().decodeAllCodes(d,K.HEADER_SIZE)}}return K.HEADER_SIZE=5,K})();class Pt extends $e{constructor(c){super(c)}encodeCompressedWeight(c,d,h){let p=this.getGeneralDecoder().extractNumericValueFromBitArray(d,h);this.addWeightCode(c,p);let b=this.checkWeight(p),C=1e5;for(let T=0;T<5;++T)b/C==0&&c.append("0"),C/=10;c.append(b)}}let ti=(()=>{class K extends Pt{constructor(d){super(d)}parseInformation(){if(this.getInformation().getSize()!=K.HEADER_SIZE+Pt.GTIN_SIZE+K.WEIGHT_SIZE)throw new ke;let d=new pe;return this.encodeCompressedGtin(d,K.HEADER_SIZE),this.encodeCompressedWeight(d,K.HEADER_SIZE+Pt.GTIN_SIZE,K.WEIGHT_SIZE),d.toString()}}return K.HEADER_SIZE=5,K.WEIGHT_SIZE=15,K})();class ui extends ti{constructor(c){super(c)}addWeightCode(c,d){c.append("(3103)")}checkWeight(c){return c}}class Ei extends ti{constructor(c){super(c)}addWeightCode(c,d){c.append(d<1e4?"(3202)":"(3203)")}checkWeight(c){return c<1e4?c:c-1e4}}let Vi=(()=>{class K extends $e{constructor(d){super(d)}parseInformation(){if(this.getInformation().getSize(){class K extends $e{constructor(d){super(d)}parseInformation(){if(this.getInformation().getSize(){class K extends Pt{constructor(d,h,p){super(d),this.dateCode=p,this.firstAIdigits=h}parseInformation(){if(this.getInformation().getSize()!=K.HEADER_SIZE+K.GTIN_SIZE+K.WEIGHT_SIZE+K.DATE_SIZE)throw new ke;let d=new pe;return this.encodeCompressedGtin(d,K.HEADER_SIZE),this.encodeCompressedWeight(d,K.HEADER_SIZE+K.GTIN_SIZE,K.WEIGHT_SIZE),this.encodeCompressedDate(d,K.HEADER_SIZE+K.GTIN_SIZE+K.WEIGHT_SIZE),d.toString()}encodeCompressedDate(d,h){let p=this.getGeneralDecoder().extractNumericValueFromBitArray(h,K.DATE_SIZE);if(38400==p)return;d.append("("),d.append(this.dateCode),d.append(")");let b=p%32;p/=32;let C=p%12+1;p/=12;let T=p;T/10==0&&d.append("0"),d.append(T),C/10==0&&d.append("0"),d.append(C),b/10==0&&d.append("0"),d.append(b)}addWeightCode(d,h){d.append("("),d.append(this.firstAIdigits),d.append(h/1e5),d.append(")")}checkWeight(d){return d%1e5}}return K.HEADER_SIZE=8,K.WEIGHT_SIZE=20,K.DATE_SIZE=16,K})();function Yr(K){try{if(K.get(1))return new Ne(K);if(!K.get(2))return new gt(K);switch(Nt.extractNumericValueFromBitArray(K,1,4)){case 4:return new ui(K);case 5:return new Ei(K)}switch(Nt.extractNumericValueFromBitArray(K,1,5)){case 12:return new Vi(K);case 13:return new mn(K)}switch(Nt.extractNumericValueFromBitArray(K,1,7)){case 56:return new An(K,"310","11");case 57:return new An(K,"320","11");case 58:return new An(K,"310","13");case 59:return new An(K,"320","13");case 60:return new An(K,"310","15");case 61:return new An(K,"320","15");case 62:return new An(K,"310","17");case 63:return new An(K,"320","17")}}catch(c){throw console.log(c),new ht("unknown decoder: "+K)}}class sr{constructor(c,d,h,p){this.leftchar=c,this.rightchar=d,this.finderpattern=h,this.maybeLast=p}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(c,d){return c instanceof sr&&sr.equalsOrNull(c.leftchar,d.leftchar)&&sr.equalsOrNull(c.rightchar,d.rightchar)&&sr.equalsOrNull(c.finderpattern,d.finderpattern)}static equalsOrNull(c,d){return null===c?null===d:sr.equals(c,d)}hashCode(){return this.leftchar.getValue()^this.rightchar.getValue()^this.finderpattern.getValue()}}class kn{constructor(c,d,h){this.pairs=c,this.rowNumber=d,this.wasReversed=h}getPairs(){return this.pairs}getRowNumber(){return this.rowNumber}isReversed(){return this.wasReversed}isEquivalent(c){return this.checkEqualitity(this,c)}toString(){return"{ "+this.pairs+" }"}equals(c,d){return c instanceof kn&&this.checkEqualitity(c,d)&&c.wasReversed===d.wasReversed}checkEqualitity(c,d){if(!c||!d)return;let h;return c.forEach((p,b)=>{d.forEach(C=>{p.getLeftChar().getValue()===C.getLeftChar().getValue()&&p.getRightChar().getValue()===C.getRightChar().getValue()&&p.getFinderPatter().getValue()===C.getFinderPatter().getValue()&&(h=!0)})}),h}}class si extends Re{constructor(c){super(...arguments),this.pairs=new Array(si.MAX_PAIRS),this.rows=new Array,this.startEnd=[2],this.verbose=!0===c}decodeRow(c,d,h){this.pairs.length=0,this.startFromEven=!1;try{return si.constructResult(this.decodeRow2pairs(c,d))}catch(p){this.verbose&&console.log(p)}return this.pairs.length=0,this.startFromEven=!0,si.constructResult(this.decodeRow2pairs(c,d))}reset(){this.pairs.length=0,this.rows.length=0}decodeRow2pairs(c,d){let p,h=!1;for(;!h;)try{this.pairs.push(this.retrieveNextPair(d,this.pairs,c))}catch(b){if(b instanceof ke){if(!this.pairs.length)throw new ke;h=!0}}if(this.checkChecksum())return this.pairs;if(p=!!this.rows.length,this.storeRow(c,!1),p){let b=this.checkRowsBoolean(!1);if(null!=b||(b=this.checkRowsBoolean(!0),null!=b))return b}throw new ke}checkRowsBoolean(c){if(this.rows.length>25)return this.rows.length=0,null;this.pairs.length=0,c&&(this.rows=this.rows.reverse());let d=null;try{d=this.checkRows(new Array,0)}catch(h){this.verbose&&console.log(h)}return c&&(this.rows=this.rows.reverse()),d}checkRows(c,d){for(let h=d;hd.length)continue;let h=!0;for(let p=0;pc){b=C.isEquivalent(this.pairs);break}p=C.isEquivalent(this.pairs),h++}b||p||si.isPartialRow(this.pairs,this.rows)||(this.rows.push(h,new kn(this.pairs,c,d)),this.removePartialRows(this.pairs,this.rows))}removePartialRows(c,d){for(let h of d)if(h.getPairs().length!==c.length)for(let p of h.getPairs())for(let b of c)if(sr.equals(p,b))break}static isPartialRow(c,d){for(let h of d){let p=!0;for(let b of c){let C=!1;for(let T of h.getPairs())if(b.equals(T)){C=!0;break}if(!C){p=!1;break}}if(p)return!0}return!1}getRows(){return this.rows}static constructResult(c){let p=Yr(Kt.buildBitArray(c)).parseInformation(),b=c[0].getFinderPattern().getResultPoints(),C=c[c.length-1].getFinderPattern().getResultPoints();return new Ze(p,null,null,[b[0],b[1],C[0],C[1]],lt.RSS_EXPANDED,null)}checkChecksum(){let c=this.pairs.get(0),d=c.getLeftChar(),h=c.getRightChar();if(null==h)return!1;let p=h.getChecksumPortion(),b=2;for(let T=1;T=0?h:this.isEmptyPair(d)?0:d[d.length-1].getFinderPattern().getStartEnd()[1];let T=d.length%2!=0;this.startFromEven&&(T=!T);let L=!1;for(;C=0&&!c.get(q);)q--;q++,p=this.startEnd[0]-q,b=q,C=this.startEnd[1]}else b=this.startEnd[0],C=c.getNextUnset(this.startEnd[1]+1),p=C-this.startEnd[1];let L,T=this.getDecodeFinderCounters();N.arraycopy(T,0,T,1,T.length-1),T[0]=p;try{L=this.parseFinderValue(T,si.FINDER_PATTERNS)}catch{return null}return new Wt(L,[b,C],b,C,d)}decodeDataCharacter(c,d,h,p){let b=this.getDataCharacterCounters();for(let ir=0;ir.3)throw new ke;let q=this.getOddCounts(),he=this.getEvenCounts(),Ae=this.getOddRoundingErrors(),He=this.getEvenRoundingErrors();for(let ir=0;ir8){if(pr>8.7)throw new ke;Dr=8}let no=ir/2;1&ir?(he[no]=Dr,He[no]=pr-Dr):(q[no]=Dr,Ae[no]=pr-Dr)}this.adjustOddEvenCounts(17);let dt=4*d.getValue()+(h?0:2)+(p?0:1)-1,wt=0,St=0;for(let ir=q.length-1;ir>=0;ir--)si.isNotA1left(d,h,p)&&(St+=q[ir]*si.WEIGHTS[dt][2*ir]),wt+=q[ir];let jt=0;for(let ir=he.length-1;ir>=0;ir--)si.isNotA1left(d,h,p)&&(jt+=he[ir]*si.WEIGHTS[dt][2*ir+1]);let $t=St+jt;if(1&wt||wt>13||wt<4)throw new ke;let bi=(13-wt)/2,Mi=si.SYMBOL_WIDEST[bi],ri=9-Mi,Sn=pi.getRSSvalue(q,Mi,!0),cn=pi.getRSSvalue(he,ri,!1);return new Ue(Sn*si.EVEN_TOTAL_SUBSET[bi]+cn+si.GSUM[bi],$t)}static isNotA1left(c,d,h){return!(0==c.getValue()&&d&&h)}adjustOddEvenCounts(c){let d=ze.sum(new Int32Array(this.getOddCounts())),h=ze.sum(new Int32Array(this.getEvenCounts())),p=!1,b=!1;d>13?b=!0:d<4&&(p=!0);let C=!1,T=!1;h>13?T=!0:h<4&&(C=!0);let L=d+h-c,q=1==(1&d),he=0==(1&h);if(1==L)if(q){if(he)throw new ke;b=!0}else{if(!he)throw new ke;T=!0}else if(-1==L)if(q){if(he)throw new ke;p=!0}else{if(!he)throw new ke;C=!0}else{if(0!=L)throw new ke;if(q){if(!he)throw new ke;d1)for(let T of this.possibleRightPairs)if(T.getCount()>1&&en.checkChecksum(C,T))return en.constructResult(C,T);throw new ke}static addOrTally(c,d){if(null==d)return;let h=!1;for(let p of c)if(p.getValue()===d.getValue()){p.incrementCount(),h=!0;break}h||c.push(d)}reset(){this.possibleLeftPairs.length=0,this.possibleRightPairs.length=0}static constructResult(c,d){let h=4537077*c.getValue()+d.getValue(),p=new String(h).toString(),b=new pe;for(let q=13-p.length;q>0;q--)b.append("0");b.append(p);let C=0;for(let q=0;q<13;q++){let he=b.charAt(q).charCodeAt(0)-"0".charCodeAt(0);C+=1&q?he:3*he}C=10-C%10,10===C&&(C=0),b.append(C.toString());let T=c.getFinderPattern().getResultPoints(),L=d.getFinderPattern().getResultPoints();return new Ze(b.toString(),null,0,[T[0],T[1],L[0],L[1]],lt.RSS_14,(new Date).getTime())}static checkChecksum(c,d){let h=(c.getChecksumPortion()+16*d.getChecksumPortion())%79,p=9*c.getFinderPattern().getValue()+d.getFinderPattern().getValue();return p>72&&p--,p>8&&p--,h===p}decodePair(c,d,h,p){try{let b=this.findFinderPattern(c,d),C=this.parseFoundFinderPattern(c,h,d,b),T=null==p?null:p.get(fe.NEED_RESULT_POINT_CALLBACK);if(null!=T){let he=(b[0]+b[1])/2;d&&(he=c.getSize()-1-he),T.foundPossibleResultPoint(new kt(he,h))}let L=this.decodeDataCharacter(c,C,!0),q=this.decodeDataCharacter(c,C,!1);return new xn(1597*L.getValue()+q.getValue(),L.getChecksumPortion()+4*q.getChecksumPortion(),C)}catch{return null}}decodeDataCharacter(c,d,h){let p=this.getDataCharacterCounters();for(let jt=0;jt8&&(bi=8);let Mi=Math.floor(jt/2);1&jt?(L[Mi]=bi,he[Mi]=$t-bi):(T[Mi]=bi,q[Mi]=$t-bi)}this.adjustOddEvenCounts(h,b);let Ae=0,He=0;for(let jt=T.length-1;jt>=0;jt--)He*=9,He+=T[jt],Ae+=T[jt];let dt=0,wt=0;for(let jt=L.length-1;jt>=0;jt--)dt*=9,dt+=L[jt],wt+=L[jt];let St=He+3*dt;if(h){if(1&Ae||Ae>12||Ae<4)throw new ke;let jt=(12-Ae)/2,$t=en.OUTSIDE_ODD_WIDEST[jt],bi=9-$t,Mi=pi.getRSSvalue(T,$t,!1),ri=pi.getRSSvalue(L,bi,!0);return new Ue(Mi*en.OUTSIDE_EVEN_TOTAL_SUBSET[jt]+ri+en.OUTSIDE_GSUM[jt],St)}{if(1&wt||wt>10||wt<4)throw new ke;let jt=(10-wt)/2,$t=en.INSIDE_ODD_WIDEST[jt],bi=9-$t,Mi=pi.getRSSvalue(T,$t,!0),ri=pi.getRSSvalue(L,bi,!1);return new Ue(ri*en.INSIDE_ODD_TOTAL_SUBSET[jt]+Mi+en.INSIDE_GSUM[jt],St)}}findFinderPattern(c,d){let h=this.getDecodeFinderCounters();h[0]=0,h[1]=0,h[2]=0,h[3]=0;let p=c.getSize(),b=!1,C=0;for(;C=0&&b!==c.get(C);)C--;C++;const T=p[0]-C,L=this.getDecodeFinderCounters(),q=new Int32Array(L.length);N.arraycopy(L,0,q,1,L.length-1),q[0]=T;const he=this.parseFinderValue(q,en.FINDER_PATTERNS);let Ae=C,He=p[1];return h&&(Ae=c.getSize()-1-Ae,He=c.getSize()-1-He),new Wt(he,[C,p[1]],Ae,He,d)}adjustOddEvenCounts(c,d){let h=ze.sum(new Int32Array(this.getOddCounts())),p=ze.sum(new Int32Array(this.getEvenCounts())),b=!1,C=!1,T=!1,L=!1;c?(h>12?C=!0:h<4&&(b=!0),p>12?L=!0:p<4&&(T=!0)):(h>11?C=!0:h<5&&(b=!0),p>10?L=!0:p<4&&(T=!0));let q=h+p-d,he=(1&h)==(c?1:0),Ae=1==(1&p);if(1===q)if(he){if(Ae)throw new ke;C=!0}else{if(!Ae)throw new ke;L=!0}else if(-1===q)if(he){if(Ae)throw new ke;b=!0}else{if(!Ae)throw new ke;T=!0}else{if(0!==q)throw new ke;if(he){if(!Ae)throw new ke;hc.reset())}}class Ki{constructor(c,d,h){this.ecCodewords=c,this.ecBlocks=[d],h&&this.ecBlocks.push(h)}getECCodewords(){return this.ecCodewords}getECBlocks(){return this.ecBlocks}}class bn{constructor(c,d){this.count=c,this.dataCodewords=d}getCount(){return this.count}getDataCodewords(){return this.dataCodewords}}class fi{constructor(c,d,h,p,b,C){this.versionNumber=c,this.symbolSizeRows=d,this.symbolSizeColumns=h,this.dataRegionSizeRows=p,this.dataRegionSizeColumns=b,this.ecBlocks=C;let T=0;const L=C.getECCodewords(),q=C.getECBlocks();for(let he of q)T+=he.getCount()*(he.getDataCodewords()+L);this.totalCodewords=T}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(c,d){if(1&c||1&d)throw new $;for(let h of fi.VERSIONS)if(h.symbolSizeRows===c&&h.symbolSizeColumns===d)return h;throw new $}toString(){return""+this.versionNumber}static buildVersions(){return[new fi(1,10,10,8,8,new Ki(5,new bn(1,3))),new fi(2,12,12,10,10,new Ki(7,new bn(1,5))),new fi(3,14,14,12,12,new Ki(10,new bn(1,8))),new fi(4,16,16,14,14,new Ki(12,new bn(1,12))),new fi(5,18,18,16,16,new Ki(14,new bn(1,18))),new fi(6,20,20,18,18,new Ki(18,new bn(1,22))),new fi(7,22,22,20,20,new Ki(20,new bn(1,30))),new fi(8,24,24,22,22,new Ki(24,new bn(1,36))),new fi(9,26,26,24,24,new Ki(28,new bn(1,44))),new fi(10,32,32,14,14,new Ki(36,new bn(1,62))),new fi(11,36,36,16,16,new Ki(42,new bn(1,86))),new fi(12,40,40,18,18,new Ki(48,new bn(1,114))),new fi(13,44,44,20,20,new Ki(56,new bn(1,144))),new fi(14,48,48,22,22,new Ki(68,new bn(1,174))),new fi(15,52,52,24,24,new Ki(42,new bn(2,102))),new fi(16,64,64,14,14,new Ki(56,new bn(2,140))),new fi(17,72,72,16,16,new Ki(36,new bn(4,92))),new fi(18,80,80,18,18,new Ki(48,new bn(4,114))),new fi(19,88,88,20,20,new Ki(56,new bn(4,144))),new fi(20,96,96,22,22,new Ki(68,new bn(4,174))),new fi(21,104,104,24,24,new Ki(56,new bn(6,136))),new fi(22,120,120,18,18,new Ki(68,new bn(6,175))),new fi(23,132,132,20,20,new Ki(62,new bn(8,163))),new fi(24,144,144,22,22,new Ki(62,new bn(8,156),new bn(2,155))),new fi(25,8,18,6,16,new Ki(7,new bn(1,5))),new fi(26,8,32,6,14,new Ki(11,new bn(1,10))),new fi(27,12,26,10,24,new Ki(14,new bn(1,16))),new fi(28,12,36,10,16,new Ki(18,new bn(1,22))),new fi(29,16,36,14,16,new Ki(24,new bn(1,32))),new fi(30,16,48,14,22,new Ki(28,new bn(1,49)))]}}fi.VERSIONS=fi.buildVersions();class on{constructor(c){const d=c.getHeight();if(d<8||d>144||1&d)throw new $;this.version=on.readVersion(c),this.mappingBitMatrix=this.extractDataRegion(c),this.readMappingMatrix=new ae(this.mappingBitMatrix.getWidth(),this.mappingBitMatrix.getHeight())}getVersion(){return this.version}static readVersion(c){const d=c.getHeight(),h=c.getWidth();return fi.getVersionForDimensions(d,h)}readCodewords(){const c=new Int8Array(this.version.getTotalCodewords());let d=0,h=4,p=0;const b=this.mappingBitMatrix.getHeight(),C=this.mappingBitMatrix.getWidth();let T=!1,L=!1,q=!1,he=!1;do{if(h!==b||0!==p||T)if(h===b-2&&0===p&&3&C&&!L)c[d++]=255&this.readCorner2(b,C),h-=2,p+=2,L=!0;else if(h!==b+4||2!==p||7&C||q)if(h!==b-2||0!==p||4!=(7&C)||he){do{h=0&&!this.readMappingMatrix.get(p,h)&&(c[d++]=255&this.readUtah(h,p,b,C)),h-=2,p+=2}while(h>=0&&p=0&&p=0);h+=3,p+=1}else c[d++]=255&this.readCorner4(b,C),h-=2,p+=2,he=!0;else c[d++]=255&this.readCorner3(b,C),h-=2,p+=2,q=!0;else c[d++]=255&this.readCorner1(b,C),h-=2,p+=2,T=!0}while(h7?St-1:St]=c[Ae++]}if(Ae!==c.length)throw new D;return C}getNumDataCodewords(){return this.numDataCodewords}getCodewords(){return this.codewords}}class lr{constructor(c){this.bytes=c,this.byteOffset=0,this.bitOffset=0}getBitOffset(){return this.bitOffset}getByteOffset(){return this.byteOffset}readBits(c){if(c<1||c>32||c>this.available())throw new D(""+c);let d=0,h=this.bitOffset,p=this.byteOffset;const b=this.bytes;if(h>0){const C=8-h,T=c>8-T<>L,c-=T,h+=T,8===h&&(h=0,p++)}if(c>0){for(;c>=8;)d=d<<8|255&b[p],p++,c-=8;if(c>0){const C=8-c;d=d<>C<>C,h+=c}}return this.bitOffset=h,this.byteOffset=p,d}available(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset}}var gn=(()=>{return(K=gn||(gn={}))[K.PAD_ENCODE=0]="PAD_ENCODE",K[K.ASCII_ENCODE=1]="ASCII_ENCODE",K[K.C40_ENCODE=2]="C40_ENCODE",K[K.TEXT_ENCODE=3]="TEXT_ENCODE",K[K.ANSIX12_ENCODE=4]="ANSIX12_ENCODE",K[K.EDIFACT_ENCODE=5]="EDIFACT_ENCODE",K[K.BASE256_ENCODE=6]="BASE256_ENCODE",gn;var K})();class wn{static decode(c){const d=new lr(c),h=new pe,p=new pe,b=new Array;let C=gn.ASCII_ENCODE;do{if(C===gn.ASCII_ENCODE)C=this.decodeAsciiSegment(d,h,p);else{switch(C){case gn.C40_ENCODE:this.decodeC40Segment(d,h);break;case gn.TEXT_ENCODE:this.decodeTextSegment(d,h);break;case gn.ANSIX12_ENCODE:this.decodeAnsiX12Segment(d,h);break;case gn.EDIFACT_ENCODE:this.decodeEdifactSegment(d,h);break;case gn.BASE256_ENCODE:this.decodeBase256Segment(d,h,b);break;default:throw new $}C=gn.ASCII_ENCODE}}while(C!==gn.PAD_ENCODE&&d.available()>0);return p.length()>0&&h.append(p.toString()),new Ht(c,h.toString(),0===b.length?null:b,null)}static decodeAsciiSegment(c,d,h){let p=!1;do{let b=c.readBits(8);if(0===b)throw new $;if(b<=128)return p&&(b+=128),d.append(String.fromCharCode(b-1)),gn.ASCII_ENCODE;if(129===b)return gn.PAD_ENCODE;if(b<=229){const C=b-130;C<10&&d.append("0"),d.append(""+C)}else switch(b){case 230:return gn.C40_ENCODE;case 231:return gn.BASE256_ENCODE;case 232:d.append(String.fromCharCode(29));break;case 233:case 234:case 241:break;case 235:p=!0;break;case 236:d.append("[)>\x1e05\x1d"),h.insert(0,"\x1e\x04");break;case 237:d.append("[)>\x1e06\x1d"),h.insert(0,"\x1e\x04");break;case 238:return gn.ANSIX12_ENCODE;case 239:return gn.TEXT_ENCODE;case 240:return gn.EDIFACT_ENCODE;default:if(254!==b||0!==c.available())throw new $}}while(c.available()>0);return gn.ASCII_ENCODE}static decodeC40Segment(c,d){let h=!1;const p=[];let b=0;do{if(8===c.available())return;const C=c.readBits(8);if(254===C)return;this.parseTwoBytes(C,c.readBits(8),p);for(let T=0;T<3;T++){const L=p[T];switch(b){case 0:if(L<3)b=L+1;else{if(!(L0)}static decodeTextSegment(c,d){let h=!1,p=[],b=0;do{if(8===c.available())return;const C=c.readBits(8);if(254===C)return;this.parseTwoBytes(C,c.readBits(8),p);for(let T=0;T<3;T++){const L=p[T];switch(b){case 0:if(L<3)b=L+1;else{if(!(L0)}static decodeAnsiX12Segment(c,d){const h=[];do{if(8===c.available())return;const p=c.readBits(8);if(254===p)return;this.parseTwoBytes(p,c.readBits(8),h);for(let b=0;b<3;b++){const C=h[b];switch(C){case 0:d.append("\r");break;case 1:d.append("*");break;case 2:d.append(">");break;case 3:d.append(" ");break;default:if(C<14)d.append(String.fromCharCode(C+44));else{if(!(C<40))throw new $;d.append(String.fromCharCode(C+51))}}}}while(c.available()>0)}static parseTwoBytes(c,d,h){let p=(c<<8)+d-1,b=Math.floor(p/1600);h[0]=b,p-=1600*b,b=Math.floor(p/40),h[1]=b,h[2]=p-40*b}static decodeEdifactSegment(c,d){do{if(c.available()<=16)return;for(let h=0;h<4;h++){let p=c.readBits(6);if(31===p){const b=8-c.getBitOffset();return void(8!==b&&c.readBits(b))}32&p||(p|=64),d.append(String.fromCharCode(p))}}while(c.available()>0)}static decodeBase256Segment(c,d,h){let p=1+c.getByteOffset();const b=this.unrandomize255State(c.readBits(8),p++);let C;if(C=0===b?c.available()/8|0:b<250?b:250*(b-249)+this.unrandomize255State(c.readBits(8),p++),C<0)throw new $;const T=new Uint8Array(C);for(let L=0;L=0?p:p+256}}wn.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"],wn.C40_SHIFT2_SET_CHARS=["!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","@","[","\\","]","^","_"],wn.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"],wn.TEXT_SHIFT2_SET_CHARS=wn.C40_SHIFT2_SET_CHARS,wn.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 Fr{constructor(){this.rsDecoder=new at(Et.DATA_MATRIX_FIELD_256)}decode(c){const d=new on(c),h=d.getVersion(),p=d.readCodewords(),b=zn.getDataBlocks(p,h);let C=0;for(let q of b)C+=q.getNumDataCodewords();const T=new Uint8Array(C),L=b.length;for(let q=0;qT&&(he=T,Ae[0]=d,Ae[1]=h,Ae[2]=p,Ae[3]=b),he>L&&(he=L,Ae[0]=h,Ae[1]=p,Ae[2]=b,Ae[3]=d),he>q&&(Ae[0]=p,Ae[1]=b,Ae[2]=d,Ae[3]=h),Ae}detectSolid2(c){let d=c[0],h=c[1],p=c[2],b=c[3],C=this.transitionsBetween(d,b),T=Zi.shiftPoint(h,p,4*(C+1)),L=Zi.shiftPoint(p,h,4*(C+1));return this.transitionsBetween(T,d)this.transitionsBetween(L,Ae)+this.transitionsBetween(q,Ae)?he:Ae:he:this.isValid(Ae)?Ae:null}shiftToModuleCenter(c){let d=c[0],h=c[1],p=c[2],b=c[3],C=this.transitionsBetween(d,b)+1,T=this.transitionsBetween(p,b)+1,L=Zi.shiftPoint(d,h,4*T),q=Zi.shiftPoint(p,h,4*C);C=this.transitionsBetween(L,b)+1,T=this.transitionsBetween(q,b)+1,1==(1&C)&&(C+=1),1==(1&T)&&(T+=1);let He,dt,he=(d.getX()+h.getX()+p.getX()+b.getX())/4,Ae=(d.getY()+h.getY()+p.getY()+b.getY())/4;return d=Zi.moveAway(d,he,Ae),h=Zi.moveAway(h,he,Ae),p=Zi.moveAway(p,he,Ae),b=Zi.moveAway(b,he,Ae),L=Zi.shiftPoint(d,h,4*T),L=Zi.shiftPoint(L,b,4*C),He=Zi.shiftPoint(h,d,4*T),He=Zi.shiftPoint(He,p,4*C),q=Zi.shiftPoint(p,b,4*T),q=Zi.shiftPoint(q,h,4*C),dt=Zi.shiftPoint(b,p,4*T),dt=Zi.shiftPoint(dt,d,4*C),[L,He,q,dt]}isValid(c){return c.getX()>=0&&c.getX()0&&c.getY()Math.abs(b-h);if(T){let St=h;h=p,p=St,St=b,b=C,C=St}let L=Math.abs(b-h),q=Math.abs(C-p),he=-L/2,Ae=p0){if(jt===C)break;jt+=Ae,he-=L}}return dt}}let tn=(()=>{class K{constructor(){this.decoder=new Fr}decode(d,h=null){let p,b;if(null!=h&&h.has(fe.PURE_BARCODE)){const he=K.extractPureBits(d.getBlackMatrix());p=this.decoder.decode(he),b=K.NO_POINTS}else{const he=new Zi(d.getBlackMatrix()).detect();p=this.decoder.decode(he.getBits()),b=he.getPoints()}const C=p.getRawBytes(),T=new Ze(p.getText(),C,8*C.length,b,lt.DATA_MATRIX,N.currentTimeMillis()),L=p.getByteSegments();null!=L&&T.putMetadata(ei.BYTE_SEGMENTS,L);const q=p.getECLevel();return null!=q&&T.putMetadata(ei.ERROR_CORRECTION_LEVEL,q),T}reset(){}static extractPureBits(d){const h=d.getTopLeftOnBit(),p=d.getBottomRightOnBit();if(null==h||null==p)throw new ke;const b=this.moduleSize(h,d);let C=h[1],L=h[0];const he=(p[0]-L+1)/b,Ae=(p[1]-C+1)/b;if(he<=0||Ae<=0)throw new ke;const He=b/2;C+=He,L+=He;const dt=new ae(he,Ae);for(let wt=0;wt{return(K=Li||(Li={}))[K.L=0]="L",K[K.M=1]="M",K[K.Q=2]="Q",K[K.H=3]="H",Li;var K})();class yn{constructor(c,d,h){this.value=c,this.stringValue=d,this.bits=h,yn.FOR_BITS.set(h,this),yn.FOR_VALUE.set(c,this)}getValue(){return this.value}getBits(){return this.bits}static fromString(c){switch(c){case"L":return yn.L;case"M":return yn.M;case"Q":return yn.Q;case"H":return yn.H;default:throw new A(c+"not available")}}toString(){return this.stringValue}equals(c){return c instanceof yn&&this.value===c.value}static forBits(c){if(c<0||c>=yn.FOR_BITS.size)throw new D;return yn.FOR_BITS.get(c)}}yn.FOR_BITS=new Map,yn.FOR_VALUE=new Map,yn.L=new yn(Li.L,"L",1),yn.M=new yn(Li.M,"M",0),yn.Q=new yn(Li.Q,"Q",3),yn.H=new yn(Li.H,"H",2);class Jn{constructor(c){this.errorCorrectionLevel=yn.forBits(c>>3&3),this.dataMask=7&c}static numBitsDiffering(c,d){return V.bitCount(c^d)}static decodeFormatInformation(c,d){const h=Jn.doDecodeFormatInformation(c,d);return null!==h?h:Jn.doDecodeFormatInformation(c^Jn.FORMAT_INFO_MASK_QR,d^Jn.FORMAT_INFO_MASK_QR)}static doDecodeFormatInformation(c,d){let h=Number.MAX_SAFE_INTEGER,p=0;for(const b of Jn.FORMAT_INFO_DECODE_LOOKUP){const C=b[0];if(C===c||C===d)return new Jn(b[1]);let T=Jn.numBitsDiffering(c,C);T40)throw new D;return Ii.VERSIONS[c-1]}static decodeVersionInformation(c){let d=Number.MAX_SAFE_INTEGER,h=0;for(let p=0;p6&&(d.setRegion(c-11,0,3,6),d.setRegion(0,c-11,6,3)),d}toString(){return""+this.versionNumber}}Ii.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]),Ii.VERSIONS=[new Ii(1,new Int32Array(0),new Ut(7,new tt(1,19)),new Ut(10,new tt(1,16)),new Ut(13,new tt(1,13)),new Ut(17,new tt(1,9))),new Ii(2,Int32Array.from([6,18]),new Ut(10,new tt(1,34)),new Ut(16,new tt(1,28)),new Ut(22,new tt(1,22)),new Ut(28,new tt(1,16))),new Ii(3,Int32Array.from([6,22]),new Ut(15,new tt(1,55)),new Ut(26,new tt(1,44)),new Ut(18,new tt(2,17)),new Ut(22,new tt(2,13))),new Ii(4,Int32Array.from([6,26]),new Ut(20,new tt(1,80)),new Ut(18,new tt(2,32)),new Ut(26,new tt(2,24)),new Ut(16,new tt(4,9))),new Ii(5,Int32Array.from([6,30]),new Ut(26,new tt(1,108)),new Ut(24,new tt(2,43)),new Ut(18,new tt(2,15),new tt(2,16)),new Ut(22,new tt(2,11),new tt(2,12))),new Ii(6,Int32Array.from([6,34]),new Ut(18,new tt(2,68)),new Ut(16,new tt(4,27)),new Ut(24,new tt(4,19)),new Ut(28,new tt(4,15))),new Ii(7,Int32Array.from([6,22,38]),new Ut(20,new tt(2,78)),new Ut(18,new tt(4,31)),new Ut(18,new tt(2,14),new tt(4,15)),new Ut(26,new tt(4,13),new tt(1,14))),new Ii(8,Int32Array.from([6,24,42]),new Ut(24,new tt(2,97)),new Ut(22,new tt(2,38),new tt(2,39)),new Ut(22,new tt(4,18),new tt(2,19)),new Ut(26,new tt(4,14),new tt(2,15))),new Ii(9,Int32Array.from([6,26,46]),new Ut(30,new tt(2,116)),new Ut(22,new tt(3,36),new tt(2,37)),new Ut(20,new tt(4,16),new tt(4,17)),new Ut(24,new tt(4,12),new tt(4,13))),new Ii(10,Int32Array.from([6,28,50]),new Ut(18,new tt(2,68),new tt(2,69)),new Ut(26,new tt(4,43),new tt(1,44)),new Ut(24,new tt(6,19),new tt(2,20)),new Ut(28,new tt(6,15),new tt(2,16))),new Ii(11,Int32Array.from([6,30,54]),new Ut(20,new tt(4,81)),new Ut(30,new tt(1,50),new tt(4,51)),new Ut(28,new tt(4,22),new tt(4,23)),new Ut(24,new tt(3,12),new tt(8,13))),new Ii(12,Int32Array.from([6,32,58]),new Ut(24,new tt(2,92),new tt(2,93)),new Ut(22,new tt(6,36),new tt(2,37)),new Ut(26,new tt(4,20),new tt(6,21)),new Ut(28,new tt(7,14),new tt(4,15))),new Ii(13,Int32Array.from([6,34,62]),new Ut(26,new tt(4,107)),new Ut(22,new tt(8,37),new tt(1,38)),new Ut(24,new tt(8,20),new tt(4,21)),new Ut(22,new tt(12,11),new tt(4,12))),new Ii(14,Int32Array.from([6,26,46,66]),new Ut(30,new tt(3,115),new tt(1,116)),new Ut(24,new tt(4,40),new tt(5,41)),new Ut(20,new tt(11,16),new tt(5,17)),new Ut(24,new tt(11,12),new tt(5,13))),new Ii(15,Int32Array.from([6,26,48,70]),new Ut(22,new tt(5,87),new tt(1,88)),new Ut(24,new tt(5,41),new tt(5,42)),new Ut(30,new tt(5,24),new tt(7,25)),new Ut(24,new tt(11,12),new tt(7,13))),new Ii(16,Int32Array.from([6,26,50,74]),new Ut(24,new tt(5,98),new tt(1,99)),new Ut(28,new tt(7,45),new tt(3,46)),new Ut(24,new tt(15,19),new tt(2,20)),new Ut(30,new tt(3,15),new tt(13,16))),new Ii(17,Int32Array.from([6,30,54,78]),new Ut(28,new tt(1,107),new tt(5,108)),new Ut(28,new tt(10,46),new tt(1,47)),new Ut(28,new tt(1,22),new tt(15,23)),new Ut(28,new tt(2,14),new tt(17,15))),new Ii(18,Int32Array.from([6,30,56,82]),new Ut(30,new tt(5,120),new tt(1,121)),new Ut(26,new tt(9,43),new tt(4,44)),new Ut(28,new tt(17,22),new tt(1,23)),new Ut(28,new tt(2,14),new tt(19,15))),new Ii(19,Int32Array.from([6,30,58,86]),new Ut(28,new tt(3,113),new tt(4,114)),new Ut(26,new tt(3,44),new tt(11,45)),new Ut(26,new tt(17,21),new tt(4,22)),new Ut(26,new tt(9,13),new tt(16,14))),new Ii(20,Int32Array.from([6,34,62,90]),new Ut(28,new tt(3,107),new tt(5,108)),new Ut(26,new tt(3,41),new tt(13,42)),new Ut(30,new tt(15,24),new tt(5,25)),new Ut(28,new tt(15,15),new tt(10,16))),new Ii(21,Int32Array.from([6,28,50,72,94]),new Ut(28,new tt(4,116),new tt(4,117)),new Ut(26,new tt(17,42)),new Ut(28,new tt(17,22),new tt(6,23)),new Ut(30,new tt(19,16),new tt(6,17))),new Ii(22,Int32Array.from([6,26,50,74,98]),new Ut(28,new tt(2,111),new tt(7,112)),new Ut(28,new tt(17,46)),new Ut(30,new tt(7,24),new tt(16,25)),new Ut(24,new tt(34,13))),new Ii(23,Int32Array.from([6,30,54,78,102]),new Ut(30,new tt(4,121),new tt(5,122)),new Ut(28,new tt(4,47),new tt(14,48)),new Ut(30,new tt(11,24),new tt(14,25)),new Ut(30,new tt(16,15),new tt(14,16))),new Ii(24,Int32Array.from([6,28,54,80,106]),new Ut(30,new tt(6,117),new tt(4,118)),new Ut(28,new tt(6,45),new tt(14,46)),new Ut(30,new tt(11,24),new tt(16,25)),new Ut(30,new tt(30,16),new tt(2,17))),new Ii(25,Int32Array.from([6,32,58,84,110]),new Ut(26,new tt(8,106),new tt(4,107)),new Ut(28,new tt(8,47),new tt(13,48)),new Ut(30,new tt(7,24),new tt(22,25)),new Ut(30,new tt(22,15),new tt(13,16))),new Ii(26,Int32Array.from([6,30,58,86,114]),new Ut(28,new tt(10,114),new tt(2,115)),new Ut(28,new tt(19,46),new tt(4,47)),new Ut(28,new tt(28,22),new tt(6,23)),new Ut(30,new tt(33,16),new tt(4,17))),new Ii(27,Int32Array.from([6,34,62,90,118]),new Ut(30,new tt(8,122),new tt(4,123)),new Ut(28,new tt(22,45),new tt(3,46)),new Ut(30,new tt(8,23),new tt(26,24)),new Ut(30,new tt(12,15),new tt(28,16))),new Ii(28,Int32Array.from([6,26,50,74,98,122]),new Ut(30,new tt(3,117),new tt(10,118)),new Ut(28,new tt(3,45),new tt(23,46)),new Ut(30,new tt(4,24),new tt(31,25)),new Ut(30,new tt(11,15),new tt(31,16))),new Ii(29,Int32Array.from([6,30,54,78,102,126]),new Ut(30,new tt(7,116),new tt(7,117)),new Ut(28,new tt(21,45),new tt(7,46)),new Ut(30,new tt(1,23),new tt(37,24)),new Ut(30,new tt(19,15),new tt(26,16))),new Ii(30,Int32Array.from([6,26,52,78,104,130]),new Ut(30,new tt(5,115),new tt(10,116)),new Ut(28,new tt(19,47),new tt(10,48)),new Ut(30,new tt(15,24),new tt(25,25)),new Ut(30,new tt(23,15),new tt(25,16))),new Ii(31,Int32Array.from([6,30,56,82,108,134]),new Ut(30,new tt(13,115),new tt(3,116)),new Ut(28,new tt(2,46),new tt(29,47)),new Ut(30,new tt(42,24),new tt(1,25)),new Ut(30,new tt(23,15),new tt(28,16))),new Ii(32,Int32Array.from([6,34,60,86,112,138]),new Ut(30,new tt(17,115)),new Ut(28,new tt(10,46),new tt(23,47)),new Ut(30,new tt(10,24),new tt(35,25)),new Ut(30,new tt(19,15),new tt(35,16))),new Ii(33,Int32Array.from([6,30,58,86,114,142]),new Ut(30,new tt(17,115),new tt(1,116)),new Ut(28,new tt(14,46),new tt(21,47)),new Ut(30,new tt(29,24),new tt(19,25)),new Ut(30,new tt(11,15),new tt(46,16))),new Ii(34,Int32Array.from([6,34,62,90,118,146]),new Ut(30,new tt(13,115),new tt(6,116)),new Ut(28,new tt(14,46),new tt(23,47)),new Ut(30,new tt(44,24),new tt(7,25)),new Ut(30,new tt(59,16),new tt(1,17))),new Ii(35,Int32Array.from([6,30,54,78,102,126,150]),new Ut(30,new tt(12,121),new tt(7,122)),new Ut(28,new tt(12,47),new tt(26,48)),new Ut(30,new tt(39,24),new tt(14,25)),new Ut(30,new tt(22,15),new tt(41,16))),new Ii(36,Int32Array.from([6,24,50,76,102,128,154]),new Ut(30,new tt(6,121),new tt(14,122)),new Ut(28,new tt(6,47),new tt(34,48)),new Ut(30,new tt(46,24),new tt(10,25)),new Ut(30,new tt(2,15),new tt(64,16))),new Ii(37,Int32Array.from([6,28,54,80,106,132,158]),new Ut(30,new tt(17,122),new tt(4,123)),new Ut(28,new tt(29,46),new tt(14,47)),new Ut(30,new tt(49,24),new tt(10,25)),new Ut(30,new tt(24,15),new tt(46,16))),new Ii(38,Int32Array.from([6,32,58,84,110,136,162]),new Ut(30,new tt(4,122),new tt(18,123)),new Ut(28,new tt(13,46),new tt(32,47)),new Ut(30,new tt(48,24),new tt(14,25)),new Ut(30,new tt(42,15),new tt(32,16))),new Ii(39,Int32Array.from([6,26,54,82,110,138,166]),new Ut(30,new tt(20,117),new tt(4,118)),new Ut(28,new tt(40,47),new tt(7,48)),new Ut(30,new tt(43,24),new tt(22,25)),new Ut(30,new tt(10,15),new tt(67,16))),new Ii(40,Int32Array.from([6,30,58,86,114,142,170]),new Ut(30,new tt(19,118),new tt(6,119)),new Ut(28,new tt(18,47),new tt(31,48)),new Ut(30,new tt(34,24),new tt(34,25)),new Ut(30,new tt(20,15),new tt(61,16)))];var Gn=(()=>{return(K=Gn||(Gn={}))[K.DATA_MASK_000=0]="DATA_MASK_000",K[K.DATA_MASK_001=1]="DATA_MASK_001",K[K.DATA_MASK_010=2]="DATA_MASK_010",K[K.DATA_MASK_011=3]="DATA_MASK_011",K[K.DATA_MASK_100=4]="DATA_MASK_100",K[K.DATA_MASK_101=5]="DATA_MASK_101",K[K.DATA_MASK_110=6]="DATA_MASK_110",K[K.DATA_MASK_111=7]="DATA_MASK_111",Gn;var K})();class Wn{constructor(c,d){this.value=c,this.isMasked=d}unmaskBitMatrix(c,d){for(let h=0;h0==(K+c&1))],[Gn.DATA_MASK_001,new Wn(Gn.DATA_MASK_001,(K,c)=>0==(1&K))],[Gn.DATA_MASK_010,new Wn(Gn.DATA_MASK_010,(K,c)=>c%3==0)],[Gn.DATA_MASK_011,new Wn(Gn.DATA_MASK_011,(K,c)=>(K+c)%3==0)],[Gn.DATA_MASK_100,new Wn(Gn.DATA_MASK_100,(K,c)=>0==(Math.floor(K/2)+Math.floor(c/3)&1))],[Gn.DATA_MASK_101,new Wn(Gn.DATA_MASK_101,(K,c)=>K*c%6==0)],[Gn.DATA_MASK_110,new Wn(Gn.DATA_MASK_110,(K,c)=>K*c%6<3)],[Gn.DATA_MASK_111,new Wn(Gn.DATA_MASK_111,(K,c)=>0==(K+c+K*c%3&1))]]);class aa{constructor(c){const d=c.getHeight();if(d<21||1!=(3&d))throw new $;this.bitMatrix=c}readFormatInformation(){if(null!=this.parsedFormatInfo)return this.parsedFormatInfo;let c=0;for(let b=0;b<6;b++)c=this.copyBit(b,8,c);c=this.copyBit(7,8,c),c=this.copyBit(8,8,c),c=this.copyBit(8,7,c);for(let b=5;b>=0;b--)c=this.copyBit(8,b,c);const d=this.bitMatrix.getHeight();let h=0;const p=d-7;for(let b=d-1;b>=p;b--)h=this.copyBit(8,b,h);for(let b=d-8;b=0;C--)for(let T=c-9;T>=p;T--)h=this.copyBit(T,C,h);let b=Ii.decodeVersionInformation(h);if(null!==b&&b.getDimensionForVersion()===c)return this.parsedVersion=b,b;h=0;for(let C=5;C>=0;C--)for(let T=c-9;T>=p;T--)h=this.copyBit(C,T,h);if(b=Ii.decodeVersionInformation(h),null!==b&&b.getDimensionForVersion()===c)return this.parsedVersion=b,b;throw new $}copyBit(c,d,h){return(this.isMirror?this.bitMatrix.get(d,c):this.bitMatrix.get(c,d))?h<<1|1:h<<1}readCodewords(){const c=this.readFormatInformation(),d=this.readVersion(),h=Wn.values.get(c.getDataMask()),p=this.bitMatrix.getHeight();h.unmaskBitMatrix(this.bitMatrix,p);const b=d.buildFunctionPattern();let C=!0;const T=new Uint8Array(d.getTotalCodewords());let L=0,q=0,he=0;for(let Ae=p-1;Ae>0;Ae-=2){6===Ae&&Ae--;for(let He=0;He=0&&T[he].codewords.length!==q;)he--;he++;const Ae=q-p.getECCodewordsPerBlock();let He=0;for(let wt=0;wt{return(K=_r||(_r={}))[K.TERMINATOR=0]="TERMINATOR",K[K.NUMERIC=1]="NUMERIC",K[K.ALPHANUMERIC=2]="ALPHANUMERIC",K[K.STRUCTURED_APPEND=3]="STRUCTURED_APPEND",K[K.BYTE=4]="BYTE",K[K.ECI=5]="ECI",K[K.KANJI=6]="KANJI",K[K.FNC1_FIRST_POSITION=7]="FNC1_FIRST_POSITION",K[K.FNC1_SECOND_POSITION=8]="FNC1_SECOND_POSITION",K[K.HANZI=9]="HANZI",_r;var K})();class Ri{constructor(c,d,h,p){this.value=c,this.stringValue=d,this.characterCountBitsForVersions=h,this.bits=p,Ri.FOR_BITS.set(p,this),Ri.FOR_VALUE.set(c,this)}static forBits(c){const d=Ri.FOR_BITS.get(c);if(void 0===d)throw new D;return d}getCharacterCountBits(c){const d=c.getVersionNumber();let h;return h=d<=9?0:d<=26?1:2,this.characterCountBitsForVersions[h]}getValue(){return this.value}getBits(){return this.bits}equals(c){return c instanceof Ri&&this.value===c.value}toString(){return this.stringValue}}Ri.FOR_BITS=new Map,Ri.FOR_VALUE=new Map,Ri.TERMINATOR=new Ri(_r.TERMINATOR,"TERMINATOR",Int32Array.from([0,0,0]),0),Ri.NUMERIC=new Ri(_r.NUMERIC,"NUMERIC",Int32Array.from([10,12,14]),1),Ri.ALPHANUMERIC=new Ri(_r.ALPHANUMERIC,"ALPHANUMERIC",Int32Array.from([9,11,13]),2),Ri.STRUCTURED_APPEND=new Ri(_r.STRUCTURED_APPEND,"STRUCTURED_APPEND",Int32Array.from([0,0,0]),3),Ri.BYTE=new Ri(_r.BYTE,"BYTE",Int32Array.from([8,16,16]),4),Ri.ECI=new Ri(_r.ECI,"ECI",Int32Array.from([0,0,0]),7),Ri.KANJI=new Ri(_r.KANJI,"KANJI",Int32Array.from([8,10,12]),8),Ri.FNC1_FIRST_POSITION=new Ri(_r.FNC1_FIRST_POSITION,"FNC1_FIRST_POSITION",Int32Array.from([0,0,0]),5),Ri.FNC1_SECOND_POSITION=new Ri(_r.FNC1_SECOND_POSITION,"FNC1_SECOND_POSITION",Int32Array.from([0,0,0]),9),Ri.HANZI=new Ri(_r.HANZI,"HANZI",Int32Array.from([8,10,12]),13);let oa=(()=>{class K{static decode(d,h,p,b){const C=new lr(d);let T=new pe;const L=new Array;let q=-1,he=-1;try{let dt,Ae=null,He=!1;do{if(C.available()<4)dt=Ri.TERMINATOR;else{const wt=C.readBits(4);dt=Ri.forBits(wt)}switch(dt){case Ri.TERMINATOR:break;case Ri.FNC1_FIRST_POSITION:case Ri.FNC1_SECOND_POSITION:He=!0;break;case Ri.STRUCTURED_APPEND:if(C.available()<16)throw new $;q=C.readBits(8),he=C.readBits(8);break;case Ri.ECI:const wt=K.parseECIValue(C);if(Ae=X.getCharacterSetECIByValue(wt),null===Ae)throw new $;break;case Ri.HANZI:const St=C.readBits(4),jt=C.readBits(dt.getCharacterCountBits(h));St===K.GB2312_SUBSET&&K.decodeHanziSegment(C,T,jt);break;default:const $t=C.readBits(dt.getCharacterCountBits(h));switch(dt){case Ri.NUMERIC:K.decodeNumericSegment(C,T,$t);break;case Ri.ALPHANUMERIC:K.decodeAlphanumericSegment(C,T,$t,He);break;case Ri.BYTE:K.decodeByteSegment(C,T,$t,Ae,L,b);break;case Ri.KANJI:K.decodeKanjiSegment(C,T,$t);break;default:throw new $}}}while(dt!==Ri.TERMINATOR)}catch{throw new $}return new Ht(d,T.toString(),0===L.length?null:L,null===p?null:p.toString(),q,he)}static decodeHanziSegment(d,h,p){if(13*p>d.available())throw new $;const b=new Uint8Array(2*p);let C=0;for(;p>0;){const T=d.readBits(13);let L=T/96<<8&4294967295|T%96;L+=L<959?41377:42657,b[C]=L>>8&255,b[C+1]=255&L,C+=2,p--}try{h.append(te.decode(b,le.GB2312))}catch(T){throw new $(T)}}static decodeKanjiSegment(d,h,p){if(13*p>d.available())throw new $;const b=new Uint8Array(2*p);let C=0;for(;p>0;){const T=d.readBits(13);let L=T/192<<8&4294967295|T%192;L+=L<7936?33088:49472,b[C]=L>>8,b[C+1]=L,C+=2,p--}try{h.append(te.decode(b,le.SHIFT_JIS))}catch(T){throw new $(T)}}static decodeByteSegment(d,h,p,b,C,T){if(8*p>d.available())throw new $;const L=new Uint8Array(p);for(let he=0;he=K.ALPHANUMERIC_CHARS.length)throw new $;return K.ALPHANUMERIC_CHARS[d]}static decodeAlphanumericSegment(d,h,p,b){const C=h.length();for(;p>1;){if(d.available()<11)throw new $;const T=d.readBits(11);h.append(K.toAlphaNumericChar(Math.floor(T/45))),h.append(K.toAlphaNumericChar(T%45)),p-=2}if(1===p){if(d.available()<6)throw new $;h.append(K.toAlphaNumericChar(d.readBits(6)))}if(b)for(let T=C;T=3;){if(d.available()<10)throw new $;const b=d.readBits(10);if(b>=1e3)throw new $;h.append(K.toAlphaNumericChar(Math.floor(b/100))),h.append(K.toAlphaNumericChar(Math.floor(b/10)%10)),h.append(K.toAlphaNumericChar(b%10)),p-=3}if(2===p){if(d.available()<7)throw new $;const b=d.readBits(7);if(b>=100)throw new $;h.append(K.toAlphaNumericChar(Math.floor(b/10))),h.append(K.toAlphaNumericChar(b%10))}else if(1===p){if(d.available()<4)throw new $;const b=d.readBits(4);if(b>=10)throw new $;h.append(K.toAlphaNumericChar(b))}}static parseECIValue(d){const h=d.readBits(8);if(!(128&h))return 127&h;if(128==(192&h))return(63&h)<<8&4294967295|d.readBits(8);if(192==(224&h))return(31&h)<<16&4294967295|d.readBits(16);throw new $}}return K.ALPHANUMERIC_CHARS="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",K.GB2312_SUBSET=1,K})();class Bo{constructor(c){this.mirrored=c}isMirrored(){return this.mirrored}applyMirroredCorrection(c){if(!this.mirrored||null===c||c.length<3)return;const d=c[0];c[0]=c[2],c[2]=d}}class ho{constructor(){this.rsDecoder=new at(Et.QR_CODE_FIELD_256)}decodeBooleanArray(c,d){return this.decodeBitMatrix(ae.parseFromBooleanArray(c),d)}decodeBitMatrix(c,d){const h=new aa(c);let p=null;try{return this.decodeBitMatrixParser(h,d)}catch(b){p=b}try{h.remask(),h.setMirror(!0),h.readVersion(),h.readFormatInformation(),h.mirror();const b=this.decodeBitMatrixParser(h,d);return b.setOther(new Bo(!0)),b}catch(b){throw null!==p?p:b}}decodeBitMatrixParser(c,d){const h=c.readVersion(),p=c.readFormatInformation().getErrorCorrectionLevel(),b=c.readCodewords(),C=uo.getDataBlocks(b,h,p);let T=0;for(const he of C)T+=he.getNumDataCodewords();const L=new Uint8Array(T);let q=0;for(const he of C){const Ae=he.getCodewords(),He=he.getNumDataCodewords();this.correctErrors(Ae,He);for(let dt=0;dt=h)return!1;return!0}crossCheckVertical(c,d,h,p){const b=this.image,C=b.getHeight(),T=this.crossCheckStateCount;T[0]=0,T[1]=0,T[2]=0;let L=c;for(;L>=0&&b.get(d,L)&&T[1]<=h;)T[1]++,L--;if(L<0||T[1]>h)return NaN;for(;L>=0&&!b.get(d,L)&&T[0]<=h;)T[0]++,L--;if(T[0]>h)return NaN;for(L=c+1;Lh)return NaN;for(;Lh||5*Math.abs(T[0]+T[1]+T[2]-p)>=2*p?NaN:this.foundPatternCross(T)?Ra.centerFromEnd(T,L):NaN}handlePossibleCenter(c,d,h){const p=c[0]+c[1]+c[2],b=Ra.centerFromEnd(c,h),C=this.crossCheckVertical(d,b,2*c[1],p);if(!isNaN(C)){const T=(c[0]+c[1]+c[2])/3;for(const q of this.possibleCenters)if(q.aboutEquals(T,C,b))return q.combineEstimate(C,b,T);const L=new Hr(b,C,T);this.possibleCenters.push(L),null!=this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(L)}return null}}class Pa extends kt{constructor(c,d,h,p){super(c,d),this.estimatedModuleSize=h,this.count=p,void 0===p&&(this.count=1)}getEstimatedModuleSize(){return this.estimatedModuleSize}getCount(){return this.count}aboutEquals(c,d,h){if(Math.abs(d-this.getY())<=c&&Math.abs(h-this.getX())<=c){const p=Math.abs(c-this.estimatedModuleSize);return p<=1||p<=this.estimatedModuleSize}return!1}combineEstimate(c,d,h){const p=this.count+1,b=(this.count*this.getX()+d)/p,C=(this.count*this.getY()+c)/p;return new Pa(b,C,(this.count*this.estimatedModuleSize+h)/p,p)}}class Tr{constructor(c){this.bottomLeft=c[0],this.topLeft=c[1],this.topRight=c[2]}getBottomLeft(){return this.bottomLeft}getTopLeft(){return this.topLeft}getTopRight(){return this.topRight}}let Go=(()=>{class K{constructor(d,h){this.image=d,this.resultPointCallback=h,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(5),this.resultPointCallback=h}getImage(){return this.image}getPossibleCenters(){return this.possibleCenters}find(d){const h=null!=d&&void 0!==d.get(fe.TRY_HARDER),p=null!=d&&void 0!==d.get(fe.PURE_BARCODE),b=this.image,C=b.getHeight(),T=b.getWidth();let L=Math.floor(3*C/(4*K.MAX_MODULES));(Lhe[2]&&(He+=jt-he[2]-L,wt=T-1)}dt=0,he[0]=0,he[1]=0,he[2]=0,he[3]=0,he[4]=0}else he[0]=he[2],he[1]=he[3],he[2]=he[4],he[3]=1,he[4]=0,dt=3;else he[++dt]++;K.foundPatternCross(he)&&!0===this.handlePossibleCenter(he,He,T,p)&&(L=he[0],this.hasSkipped&&(q=this.haveMultiplyConfirmedCenters()))}const Ae=this.selectBestPatterns();return kt.orderBestPatterns(Ae),new Tr(Ae)}static centerFromEnd(d,h){return h-d[4]-d[3]-d[2]/2}static foundPatternCross(d){let h=0;for(let C=0;C<5;C++){const T=d[C];if(0===T)return!1;h+=T}if(h<7)return!1;const p=h/7,b=p/2;return Math.abs(p-d[0])=T&&h>=T&&L.get(h-T,d-T);)C[2]++,T++;if(d=T&&h>=T&&!L.get(h-T,d-T)&&C[1]<=p;)C[1]++,T++;if(dp)return!1;for(;d>=T&&h>=T&&L.get(h-T,d-T)&&C[0]<=p;)C[0]++,T++;if(C[0]>p)return!1;const q=L.getHeight(),he=L.getWidth();for(T=1;d+T=q||h+T>=he)return!1;for(;d+T=q||h+T>=he||C[3]>=p)return!1;for(;d+T=p)&&Math.abs(C[0]+C[1]+C[2]+C[3]+C[4]-b)<2*b&&K.foundPatternCross(C)}crossCheckVertical(d,h,p,b){const C=this.image,T=C.getHeight(),L=this.getCrossCheckStateCount();let q=d;for(;q>=0&&C.get(h,q);)L[2]++,q--;if(q<0)return NaN;for(;q>=0&&!C.get(h,q)&&L[1]<=p;)L[1]++,q--;if(q<0||L[1]>p)return NaN;for(;q>=0&&C.get(h,q)&&L[0]<=p;)L[0]++,q--;if(L[0]>p)return NaN;for(q=d+1;q=p)return NaN;for(;q=p||5*Math.abs(L[0]+L[1]+L[2]+L[3]+L[4]-b)>=2*b?NaN:K.foundPatternCross(L)?K.centerFromEnd(L,q):NaN}crossCheckHorizontal(d,h,p,b){const C=this.image,T=C.getWidth(),L=this.getCrossCheckStateCount();let q=d;for(;q>=0&&C.get(q,h);)L[2]++,q--;if(q<0)return NaN;for(;q>=0&&!C.get(q,h)&&L[1]<=p;)L[1]++,q--;if(q<0||L[1]>p)return NaN;for(;q>=0&&C.get(q,h)&&L[0]<=p;)L[0]++,q--;if(L[0]>p)return NaN;for(q=d+1;q=p)return NaN;for(;q=p||5*Math.abs(L[0]+L[1]+L[2]+L[3]+L[4]-b)>=b?NaN:K.foundPatternCross(L)?K.centerFromEnd(L,q):NaN}handlePossibleCenter(d,h,p,b){const C=d[0]+d[1]+d[2]+d[3]+d[4];let T=K.centerFromEnd(d,p),L=this.crossCheckVertical(h,Math.floor(T),d[2],C);if(!isNaN(L)&&(T=this.crossCheckHorizontal(Math.floor(T),Math.floor(L),d[2],C),!isNaN(T)&&(!b||this.crossCheckDiagonal(Math.floor(L),Math.floor(T),d[2],C)))){const q=C/7;let he=!1;const Ae=this.possibleCenters;for(let He=0,dt=Ae.length;He=K.CENTER_QUORUM){if(null!=h)return this.hasSkipped=!0,Math.floor((Math.abs(h.getX()-p.getX())-Math.abs(h.getY()-p.getY()))/2);h=p}return 0}haveMultiplyConfirmedCenters(){let d=0,h=0;const p=this.possibleCenters.length;for(const T of this.possibleCenters)T.getCount()>=K.CENTER_QUORUM&&(d++,h+=T.getEstimatedModuleSize());if(d<3)return!1;const b=h/p;let C=0;for(const T of this.possibleCenters)C+=Math.abs(T.getEstimatedModuleSize()-b);return C<=.05*h}selectBestPatterns(){const d=this.possibleCenters.length;if(d<3)throw new ke;const h=this.possibleCenters;let p;if(d>3){let b=0,C=0;for(const q of this.possibleCenters){const he=q.getEstimatedModuleSize();b+=he,C+=he*he}p=b/d;let T=Math.sqrt(C/d-p*p);h.sort((q,he)=>{const Ae=Math.abs(he.getEstimatedModuleSize()-p),He=Math.abs(q.getEstimatedModuleSize()-p);return AeHe?1:0});const L=Math.max(.2*p,T);for(let q=0;q3;q++)Math.abs(h[q].getEstimatedModuleSize()-p)>L&&(h.splice(q,1),q--)}if(h.length>3){let b=0;for(const C of h)b+=C.getEstimatedModuleSize();p=b/h.length,h.sort((C,T)=>{if(T.getCount()===C.getCount()){const L=Math.abs(T.getEstimatedModuleSize()-p),q=Math.abs(C.getEstimatedModuleSize()-p);return Lq?-1:0}return T.getCount()-C.getCount()}),h.splice(3)}return[h[0],h[1],h[2]]}}return K.CENTER_QUORUM=2,K.MIN_SKIP=3,K.MAX_MODULES=57,K})();class Cr{constructor(c){this.image=c}getImage(){return this.image}getResultPointCallback(){return this.resultPointCallback}detect(c){this.resultPointCallback=null==c?null:c.get(fe.NEED_RESULT_POINT_CALLBACK);const h=new Go(this.image,this.resultPointCallback).find(c);return this.processFinderPatternInfo(h)}processFinderPatternInfo(c){const d=c.getTopLeft(),h=c.getTopRight(),p=c.getBottomLeft(),b=this.calculateModuleSize(d,h,p);if(b<1)throw new ke("No pattern found in proccess finder.");const C=Cr.computeDimension(d,h,p,b),T=Ii.getProvisionalVersionForDimension(C),L=T.getDimensionForVersion()-7;let q=null;if(T.getAlignmentPatternCenters().length>0){const dt=h.getX()-d.getX()+p.getX(),wt=h.getY()-d.getY()+p.getY(),St=1-3/L,jt=Math.floor(d.getX()+St*(dt-d.getX())),$t=Math.floor(d.getY()+St*(wt-d.getY()));for(let bi=4;bi<=16;bi<<=1)try{q=this.findAlignmentInRegion(b,jt,$t,bi);break}catch(Mi){if(!(Mi instanceof ke))throw Mi}}const he=Cr.createTransform(d,h,p,q,C),Ae=Cr.sampleGrid(this.image,he,C);let He;return He=null===q?[p,d,h]:[p,d,h,q],new et(Ae,He)}static createTransform(c,d,h,p,b){const C=b-3.5;let T,L,q,he;return null!==p?(T=p.getX(),L=p.getY(),q=C-3,he=q):(T=d.getX()-c.getX()+h.getX(),L=d.getY()-c.getY()+h.getY(),q=C,he=C),At.quadrilateralToQuadrilateral(3.5,3.5,C,3.5,q,he,3.5,C,c.getX(),c.getY(),d.getX(),d.getY(),T,L,h.getX(),h.getY())}static sampleGrid(c,d,h){return Vt.getInstance().sampleGridWithTransform(c,h,h,d)}static computeDimension(c,d,h,p){const b=ze.round(kt.distance(c,d)/p),C=ze.round(kt.distance(c,h)/p);let T=Math.floor((b+C)/2)+7;switch(3&T){case 0:T++;break;case 2:T--;break;case 3:throw new ke("Dimensions could be not found.")}return T}calculateModuleSize(c,d,h){return(this.calculateModuleSizeOneWay(c,d)+this.calculateModuleSizeOneWay(c,h))/2}calculateModuleSizeOneWay(c,d){const h=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(c.getX()),Math.floor(c.getY()),Math.floor(d.getX()),Math.floor(d.getY())),p=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(d.getX()),Math.floor(d.getY()),Math.floor(c.getX()),Math.floor(c.getY()));return isNaN(h)?p/7:isNaN(p)?h/7:(h+p)/14}sizeOfBlackWhiteBlackRunBothWays(c,d,h,p){let b=this.sizeOfBlackWhiteBlackRun(c,d,h,p),C=1,T=c-(h-c);T<0?(C=c/(c-T),T=0):T>=this.image.getWidth()&&(C=(this.image.getWidth()-1-c)/(T-c),T=this.image.getWidth()-1);let L=Math.floor(d-(p-d)*C);return C=1,L<0?(C=d/(d-L),L=0):L>=this.image.getHeight()&&(C=(this.image.getHeight()-1-d)/(L-d),L=this.image.getHeight()-1),T=Math.floor(c+(T-c)*C),b+=this.sizeOfBlackWhiteBlackRun(c,d,T,L),b-1}sizeOfBlackWhiteBlackRun(c,d,h,p){const b=Math.abs(p-d)>Math.abs(h-c);if(b){let dt=c;c=d,d=dt,dt=h,h=p,p=dt}const C=Math.abs(h-c),T=Math.abs(p-d);let L=-C/2;const q=c0){if(wt===p)break;wt+=he,L-=C}}return 2===Ae?ze.distance(h+q,p,c,d):NaN}findAlignmentInRegion(c,d,h,p){const b=Math.floor(p*c),C=Math.max(0,d-b),T=Math.min(this.image.getWidth()-1,d+b);if(T-C<3*c)throw new ke("Alignment top exceeds estimated module size.");const L=Math.max(0,h-b),q=Math.min(this.image.getHeight()-1,h+b);if(q-L<3*c)throw new ke("Alignment bottom exceeds estimated module size.");return new Ra(this.image,C,L,T-C,q-L,c,this.resultPointCallback).find()}}class tr{constructor(){this.decoder=new ho}getDecoder(){return this.decoder}decode(c,d){let h,p;if(null!=d&&void 0!==d.get(fe.PURE_BARCODE)){const L=tr.extractPureBits(c.getBlackMatrix());h=this.decoder.decodeBitMatrix(L,d),p=tr.NO_POINTS}else{const L=new Cr(c.getBlackMatrix()).detect(d);h=this.decoder.decodeBitMatrix(L.getBits(),d),p=L.getPoints()}h.getOther()instanceof Bo&&h.getOther().applyMirroredCorrection(p);const b=new Ze(h.getText(),h.getRawBytes(),void 0,p,lt.QR_CODE,void 0),C=h.getByteSegments();null!==C&&b.putMetadata(ei.BYTE_SEGMENTS,C);const T=h.getECLevel();return null!==T&&b.putMetadata(ei.ERROR_CORRECTION_LEVEL,T),h.hasStructuredAppend()&&(b.putMetadata(ei.STRUCTURED_APPEND_SEQUENCE,h.getStructuredAppendSequenceNumber()),b.putMetadata(ei.STRUCTURED_APPEND_PARITY,h.getStructuredAppendParity())),b}reset(){}static extractPureBits(c){const d=c.getTopLeftOnBit(),h=c.getBottomRightOnBit();if(null===d||null===h)throw new ke;const p=this.moduleSize(d,c);let b=d[1],C=h[1],T=d[0],L=h[0];if(T>=L||b>=C)throw new ke;if(C-b!=L-T&&(L=T+(C-b),L>=c.getWidth()))throw new ke;const q=Math.round((L-T+1)/p),he=Math.round((C-b+1)/p);if(q<=0||he<=0)throw new ke;if(he!==q)throw new ke;const Ae=Math.floor(p/2);b+=Ae,T+=Ae;const He=T+Math.floor((q-1)*p)-L;if(He>0){if(He>Ae)throw new ke;T-=He}const dt=b+Math.floor((he-1)*p)-C;if(dt>0){if(dt>Ae)throw new ke;b-=dt}const wt=new ae(q,he);for(let St=0;St0;){const He=Xi.findGuardPattern(c,b,--p,h,!1,C,q);if(null==He){p++;break}Ae=He}T[0]=new kt(Ae[0],p),T[1]=new kt(Ae[1],p),L=!0;break}}let he=p+1;if(L){let Ae=0,He=Int32Array.from([Math.trunc(T[0].getX()),Math.trunc(T[1].getX())]);for(;heXi.SKIPPED_ROW_COUNT_MAX)break;Ae++}}he-=Ae+1,T[2]=new kt(He[0],he),T[3]=new kt(He[1],he)}return he-p0&&q++Ae?he-Ae:Ae-he;if(He>h)return 1/0;L+=He}return L/b}}Xi.INDEXES_START_PATTERN=Int32Array.from([0,4,1,5]),Xi.INDEXES_STOP_PATTERN=Int32Array.from([6,2,7,3]),Xi.MAX_AVG_VARIANCE=.42,Xi.MAX_INDIVIDUAL_VARIANCE=.8,Xi.START_PATTERN=Int32Array.from([8,1,1,1,1,1,1,3]),Xi.STOP_PATTERN=Int32Array.from([7,1,1,3,1,1,1,2,1]),Xi.MAX_PIXEL_DRIFT=3,Xi.MAX_PATTERN_DRIFT=5,Xi.SKIPPED_ROW_COUNT_MAX=25,Xi.ROW_STEP=5,Xi.BARCODE_MIN_HEIGHT=10;class Nn{constructor(c,d){if(0===d.length)throw new D;this.field=c;let h=d.length;if(h>1&&0===d[0]){let p=1;for(;ph.length){let C=d;d=h,h=C}let p=new Int32Array(h.length),b=h.length-d.length;N.arraycopy(h,0,p,0,b);for(let C=b;C=0;d--){let h=this.getCoefficient(d);0!==h&&(h<0?(c.append(" - "),h=-h):c.length()>0&&c.append(" + "),(0===d||1!==h)&&c.append(h),0!==d&&(1===d?c.append("x"):(c.append("x^"),c.append(d))))}return c.toString()}}class Ba{add(c,d){return(c+d)%this.modulus}subtract(c,d){return(this.modulus+c-d)%this.modulus}exp(c){return this.expTable[c]}log(c){if(0===c)throw new D;return this.logTable[c]}inverse(c){if(0===c)throw new Jt;return this.expTable[this.modulus-this.logTable[c]-1]}multiply(c,d){return 0===c||0===d?0:this.expTable[(this.logTable[c]+this.logTable[d])%(this.modulus-1)]}getSize(){return this.modulus}equals(c){return c===this}}class Yo extends Ba{constructor(c,d){super(),this.modulus=c,this.expTable=new Int32Array(c),this.logTable=new Int32Array(c);let h=1;for(let p=0;p0;wt--){let St=p.evaluateAt(this.field.exp(wt));b[d-wt]=St,0!==St&&(C=!0)}if(!C)return 0;let T=this.field.getOne();if(null!=h)for(const wt of h){let St=this.field.exp(c.length-1-wt),jt=new Nn(this.field,new Int32Array([this.field.subtract(0,St),1]));T=T.multiply(jt)}let L=new Nn(this.field,b),q=this.runEuclideanAlgorithm(this.field.buildMonomial(d,1),L,d),he=q[0],Ae=q[1],He=this.findErrorLocations(he),dt=this.findErrorMagnitudes(Ae,he,He);for(let wt=0;wt=Math.round(h/2);){let He=p,dt=C;if(p=b,C=T,p.isZero())throw U.getChecksumInstance();b=He;let wt=this.field.getZero(),St=p.getCoefficient(p.getDegree()),jt=this.field.inverse(St);for(;b.getDegree()>=p.getDegree()&&!b.isZero();){let $t=b.getDegree()-p.getDegree(),bi=this.field.multiply(b.getCoefficient(b.getDegree()),jt);wt=wt.add(this.field.buildMonomial($t,bi)),b=b.subtract(p.multiplyByMonomial($t,bi))}T=wt.multiply(C).subtract(dt).negative()}let L=T.getCoefficient(0);if(0===L)throw U.getChecksumInstance();let q=this.field.inverse(L);return[T.multiply(q),b.multiply(q)]}findErrorLocations(c){let d=c.getDegree(),h=new Int32Array(d),p=0;for(let b=1;b0){let L=h?this.topLeft:this.topRight,q=Math.trunc(L.getY()-c);q<0&&(q=0);let he=new kt(L.getX(),q);h?p=he:C=he}if(d>0){let L=h?this.bottomLeft:this.bottomRight,q=Math.trunc(L.getY()+d);q>=this.image.getHeight()&&(q=this.image.getHeight()-1);let he=new kt(L.getX(),q);h?b=he:T=he}return new Or(this.image,p,b,C,T)}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 qs{constructor(c,d,h,p){this.columnCount=c,this.errorCorrectionLevel=p,this.rowCountUpperPart=d,this.rowCountLowerPart=h,this.rowCount=d+h}getColumnCount(){return this.columnCount}getErrorCorrectionLevel(){return this.errorCorrectionLevel}getRowCount(){return this.rowCount}getRowCountUpperPart(){return this.rowCountUpperPart}getRowCountLowerPart(){return this.rowCountLowerPart}}class wo{constructor(){this.buffer=""}static form(c,d){let h=-1;return c.replace(/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g,function p(C,T,L,q,he,Ae){if("%%"===C)return"%";if(void 0===d[++h])return;C=q?parseInt(q.substr(1)):void 0;let dt,He=he?parseInt(he.substr(1)):void 0;switch(Ae){case"s":dt=d[h];break;case"c":dt=d[h][0];break;case"f":dt=parseFloat(d[h]).toFixed(C);break;case"p":dt=parseFloat(d[h]).toPrecision(C);break;case"e":dt=parseFloat(d[h]).toExponential(C);break;case"x":dt=parseInt(d[h]).toString(He||16);break;case"d":dt=parseFloat(parseInt(d[h],He||10).toPrecision(C)).toFixed(0)}dt="object"==typeof dt?JSON.stringify(dt):(+dt).toString(He);let wt=parseInt(L),St=L&&L[0]+""=="0"?"0":" ";for(;dt.length{class K{constructor(d){this.boundingBox=new Or(d),this.codewords=new Array(d.getMaxY()-d.getMinY()+1)}getCodewordNearby(d){let h=this.getCodeword(d);if(null!=h)return h;for(let p=1;p=0&&(h=this.codewords[b],null!=h)||(b=this.imageRowToCodewordIndex(d)+p,bh,getValue:()=>p};b.getValue()>c?(c=b.getValue(),d=[],d.push(b.getKey())):b.getValue()===c&&d.push(b.getKey())}return zi.toIntArray(d)}getConfidence(c){return this.values.get(c)}}class Eo extends Ho{constructor(c,d){super(c),this._isLeft=d}setRowNumbers(){for(let c of this.getCodewords())c?.setRowNumberAsRowIndicatorColumn()}adjustCompleteIndicatorColumnRowNumbers(c){let d=this.getCodewords();this.setRowNumbers(),this.removeIncorrectCodewords(d,c);let h=this.getBoundingBox(),p=this._isLeft?h.getTopLeft():h.getTopRight(),b=this._isLeft?h.getBottomLeft():h.getBottomRight(),C=this.imageRowToCodewordIndex(Math.trunc(p.getY())),T=this.imageRowToCodewordIndex(Math.trunc(b.getY())),L=-1,q=1,he=0;for(let Ae=C;Ae=c.getRowCount()||dt>Ae)d[Ae]=null;else{let wt;wt=q>2?(q-2)*dt:dt;let St=wt>=Ae;for(let jt=1;jt<=wt&&!St;jt++)St=null!=d[Ae-jt];St?d[Ae]=null:(L=He.getRowNumber(),he=1)}}}getRowHeights(){let c=this.getBarcodeMetadata();if(null==c)return null;this.adjustIncompleteIndicatorColumnRowNumbers(c);let d=new Int32Array(c.getRowCount());for(let h of this.getCodewords())if(null!=h){let p=h.getRowNumber();if(p>=d.length)continue;d[p]++}return d}adjustIncompleteIndicatorColumnRowNumbers(c){let d=this.getBoundingBox(),h=this._isLeft?d.getTopLeft():d.getTopRight(),p=this._isLeft?d.getBottomLeft():d.getBottomRight(),b=this.imageRowToCodewordIndex(Math.trunc(h.getY())),C=this.imageRowToCodewordIndex(Math.trunc(p.getY())),T=this.getCodewords(),L=-1;for(let q=b;q=c.getRowCount()?T[q]=null:L=he.getRowNumber())}}getBarcodeMetadata(){let c=this.getCodewords(),d=new qa,h=new qa,p=new qa,b=new qa;for(let T of c){if(null==T)continue;T.setRowNumberAsRowIndicatorColumn();let L=T.getValue()%30,q=T.getRowNumber();switch(this._isLeft||(q+=2),q%3){case 0:h.setValue(3*L+1);break;case 1:b.setValue(L/3),p.setValue(L%3);break;case 2:d.setValue(L+1)}}if(0===d.getValue().length||0===h.getValue().length||0===p.getValue().length||0===b.getValue().length||d.getValue()[0]<1||h.getValue()[0]+p.getValue()[0]zi.MAX_ROWS_IN_BARCODE)return null;let C=new qs(d.getValue()[0],h.getValue()[0],p.getValue()[0],b.getValue()[0]);return this.removeIncorrectCodewords(c,C),C}removeIncorrectCodewords(c,d){for(let h=0;hd.getRowCount())c[h]=null;else switch(this._isLeft||(C+=2),C%3){case 0:3*b+1!==d.getRowCountUpperPart()&&(c[h]=null);break;case 1:(Math.trunc(b/3)!==d.getErrorCorrectionLevel()||b%3!==d.getRowCountLowerPart())&&(c[h]=null);break;case 2:b+1!==d.getColumnCount()&&(c[h]=null)}}}isLeft(){return this._isLeft}toString(){return"IsLeft: "+this._isLeft+"\n"+super.toString()}}class io{constructor(c,d){this.ADJUST_ROW_NUMBER_SKIP=2,this.barcodeMetadata=c,this.barcodeColumnCount=c.getColumnCount(),this.boundingBox=d,this.detectionResultColumns=new Array(this.barcodeColumnCount+2)}getDetectionResultColumns(){this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[0]),this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[this.barcodeColumnCount+1]);let d,c=zi.MAX_CODEWORDS_IN_BARCODE;do{d=c,c=this.adjustRowNumbersAndGetCount()}while(c>0&&c0&&b0&&(T[0]=h[d-1],T[4]=b[d-1],T[5]=C[d-1]),d>1&&(T[8]=h[d-2],T[10]=b[d-2],T[11]=C[d-2]),d{class K{constructor(d,h,p,b){this.rowNumber=K.BARCODE_ROW_UNKNOWN,this.startX=Math.trunc(d),this.endX=Math.trunc(h),this.bucket=Math.trunc(p),this.value=Math.trunc(b)}hasValidRowNumber(){return this.isValidRowNumber(this.rowNumber)}isValidRowNumber(d){return d!==K.BARCODE_ROW_UNKNOWN&&this.bucket===d%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(d){this.rowNumber=d}toString(){return this.rowNumber+"|"+this.value}}return K.BARCODE_ROW_UNKNOWN=-1,K})();class hr{static initialize(){for(let c=0;c>=1;h=1&d,hr.RATIOS_TABLE[c]||(hr.RATIOS_TABLE[c]=new Array(zi.BARS_IN_MODULE)),hr.RATIOS_TABLE[c][zi.BARS_IN_MODULE-p-1]=Math.fround(b/zi.MODULES_IN_CODEWORD)}}this.bSymbolTableReady=!0}static getDecodedValue(c){let d=hr.getDecodedCodewordValue(hr.sampleBitCounts(c));return-1!==d?d:hr.getClosestDecodedValue(c)}static sampleBitCounts(c){let d=ze.sum(c),h=new Int32Array(zi.BARS_IN_MODULE),p=0,b=0;for(let C=0;C1)for(let C=0;C=p)break}Tnew Array(zi.BARS_IN_MODULE));class Uo{constructor(){this.segmentCount=-1,this.fileSize=-1,this.timestamp=-1,this.checksum=-1}getSegmentIndex(){return this.segmentIndex}setSegmentIndex(c){this.segmentIndex=c}getFileId(){return this.fileId}setFileId(c){this.fileId=c}getOptionalData(){return this.optionalData}setOptionalData(c){this.optionalData=c}isLastSegment(){return this.lastSegment}setLastSegment(c){this.lastSegment=c}getSegmentCount(){return this.segmentCount}setSegmentCount(c){this.segmentCount=c}getSender(){return this.sender||null}setSender(c){this.sender=c}getAddressee(){return this.addressee||null}setAddressee(c){this.addressee=c}getFileName(){return this.fileName}setFileName(c){this.fileName=c}getFileSize(){return this.fileSize}setFileSize(c){this.fileSize=c}getChecksum(){return this.checksum}setChecksum(c){this.checksum=c}getTimestamp(){return this.timestamp}setTimestamp(c){this.timestamp=c}}class wa{static parseLong(c,d){return parseInt(c,d)}}let ta=(()=>{class K extends F{}return K.kind="NullPointerException",K})();class Qa{writeBytes(c){this.writeBytesOffset(c,0,c.length)}writeBytesOffset(c,d,h){if(null==c)throw new ta;if(d<0||d>c.length||h<0||d+h>c.length||d+h<0)throw new J;if(0!==h)for(let p=0;p0&&this.grow(c)}grow(c){let h=this.buf.length<<1;if(h-c<0&&(h=c),h<0){if(c<0)throw new To;h=V.MAX_VALUE}this.buf=ne.copyOfUint8Array(this.buf,h)}write(c){this.ensureCapacity(this.count+1),this.buf[this.count]=c,this.count+=1}writeBytesOffset(c,d,h){if(d<0||d>c.length||h<0||d+h-c.length>0)throw new J;this.ensureCapacity(this.count+h),N.arraycopy(c,d,this.buf,this.count,h),this.count+=h}writeTo(c){c.writeBytesOffset(this.buf,0,this.count)}reset(){this.count=0}toByteArray(){return ne.copyOfUint8Array(this.buf,this.count)}size(){return this.count}toString(c){return c?"string"==typeof c?this.toString_string(c):this.toString_number(c):this.toString_void()}toString_void(){return new String(this.buf).toString()}toString_string(c){return new String(this.buf).toString()}toString_number(c){return new String(this.buf).toString()}close(){}}var an=(()=>{return(K=an||(an={}))[K.ALPHA=0]="ALPHA",K[K.LOWER=1]="LOWER",K[K.MIXED=2]="MIXED",K[K.PUNCT=3]="PUNCT",K[K.ALPHA_SHIFT=4]="ALPHA_SHIFT",K[K.PUNCT_SHIFT=5]="PUNCT_SHIFT",an;var K})();function Ur(){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 cr;function jr(K){if(typeof cr>"u"&&(cr=Ur()),null===cr)throw new Error("BigInt is not supported!");return cr(K)}class Xt{static decode(c,d){let h=new pe(""),p=X.ISO8859_1;h.enableDecoding(p);let b=1,C=c[b++],T=new Uo;for(;bc[0])throw $.getFormatInstance();let p=new Int32Array(Xt.NUMBER_OF_SEQUENCE_CODEWORDS);for(let T=0;T0){for(let He=0;He<6;++He)C.write(Number(jr(L)>>jr(8*(5-He))));L=0,T=0}}p===d[0]&&Ae0){for(let dt=0;dt<6;++dt)C.write(Number(jr(L)>>jr(8*(5-dt))));L=0,T=0}}}return b.append(te.decode(C.toByteArray(),h)),p}static numericCompaction(c,d,h){let p=0,b=!1,C=new Int32Array(Xt.MAX_NUMERIC_CODEWORDS);for(;d0&&(h.append(Xt.decodeBase900toBase10(C,p)),p=0)}return d}static decodeBase900toBase10(c,d){let h=jr(0);for(let b=0;b@[\\]_`~!\r\t,:\n-.$/\"|*()?{}'",Xt.MIXED_CHARS="0123456789&\r\t,:#-.$/+%*=^",Xt.EXP900=Ur()?function Ao(){let K=[];K[0]=jr(1);let c=jr(900);K[1]=c;for(let d=2;d<16;d++)K[d]=K[d-1]*c;return K}():[],Xt.NUMBER_OF_SEQUENCE_CODEWORDS=2;class pn{constructor(){}static decode(c,d,h,p,b,C,T){let Ae,L=new Or(c,d,h,p,b),q=null,he=null;for(let wt=!0;;wt=!1){if(null!=d&&(q=pn.getRowIndicatorColumn(c,L,d,!0,C,T)),null!=p&&(he=pn.getRowIndicatorColumn(c,L,p,!1,C,T)),Ae=pn.merge(q,he),null==Ae)throw ke.getNotFoundInstance();let St=Ae.getBoundingBox();if(!wt||null==St||!(St.getMinY()L.getMaxY()))break;L=St}Ae.setBoundingBox(L);let He=Ae.getBarcodeColumnCount()+1;Ae.setDetectionResultColumn(0,q),Ae.setDetectionResultColumn(He,he);let dt=null!=q;for(let wt=1;wt<=He;wt++){let jt,St=dt?wt:He-wt;if(void 0!==Ae.getDetectionResultColumn(St))continue;jt=0===St||St===He?new Eo(L,0===St):new Ho(L),Ae.setDetectionResultColumn(St,jt);let $t=-1,bi=$t;for(let Mi=L.getMinY();Mi<=L.getMaxY();Mi++){if($t=pn.getStartColumn(Ae,St,Mi,dt),$t<0||$t>L.getMaxX()){if(-1===bi)continue;$t=bi}let ri=pn.detectCodeword(c,L.getMinX(),L.getMaxX(),dt,$t,Mi,C,T);null!=ri&&(jt.setCodeword(Mi,ri),bi=$t,C=Math.min(C,ri.getWidth()),T=Math.max(T,ri.getWidth()))}}return pn.createDecoderResult(Ae)}static merge(c,d){if(null==c&&null==d)return null;let h=pn.getBarcodeMetadata(c,d);if(null==h)return null;let p=Or.merge(pn.adjustBoundingBox(c),pn.adjustBoundingBox(d));return new io(h,p)}static adjustBoundingBox(c){if(null==c)return null;let d=c.getRowHeights();if(null==d)return null;let h=pn.getMax(d),p=0;for(let T of d)if(p+=h-T,T>0)break;let b=c.getCodewords();for(let T=0;p>0&&null==b[T];T++)p--;let C=0;for(let T=d.length-1;T>=0&&(C+=h-d[T],!(d[T]>0));T--);for(let T=b.length-1;C>0&&null==b[T];T--)C--;return c.getBoundingBox().addMissingRows(p,C,c.isLeft())}static getMax(c){let d=-1;for(let h of c)d=Math.max(d,h);return d}static getBarcodeMetadata(c,d){let h,p;return null==c||null==(h=c.getBarcodeMetadata())?null==d?null:d.getBarcodeMetadata():null==d||null==(p=d.getBarcodeMetadata())?h:h.getColumnCount()!==p.getColumnCount()&&h.getErrorCorrectionLevel()!==p.getErrorCorrectionLevel()&&h.getRowCount()!==p.getRowCount()?null:h}static getRowIndicatorColumn(c,d,h,p,b,C){let T=new Eo(d,p);for(let L=0;L<2;L++){let q=0===L?1:-1,he=Math.trunc(Math.trunc(h.getX()));for(let Ae=Math.trunc(Math.trunc(h.getY()));Ae<=d.getMaxY()&&Ae>=d.getMinY();Ae+=q){let He=pn.detectCodeword(c,0,c.getWidth(),p,he,Ae,b,C);null!=He&&(T.setCodeword(Ae,He),he=p?He.getStartX():He.getEndX())}}return T}static adjustCodewordCount(c,d){let h=d[0][1],p=h.getValue(),b=c.getBarcodeColumnCount()*c.getBarcodeRowCount()-pn.getNumberOfECCodeWords(c.getBarcodeECLevel());if(0===p.length){if(b<1||b>zi.MAX_CODEWORDS_IN_BARCODE)throw ke.getNotFoundInstance();h.setValue(b)}else p[0]!==b&&h.setValue(b)}static createDecoderResult(c){let d=pn.createBarcodeMatrix(c);pn.adjustCodewordCount(c,d);let h=new Array,p=new Int32Array(c.getBarcodeRowCount()*c.getBarcodeColumnCount()),b=[],C=new Array;for(let L=0;L0;){for(let L=0;Lnew Array(c.getBarcodeColumnCount()+2));for(let p=0;p=0){if(C>=d.length)continue;d[C][h].setValue(b.getValue())}}h++}return d}static isValidBarcodeColumn(c,d){return d>=0&&d<=c.getBarcodeColumnCount()+1}static getStartColumn(c,d,h,p){let b=p?1:-1,C=null;if(pn.isValidBarcodeColumn(c,d-b)&&(C=c.getDetectionResultColumn(d-b).getCodeword(h)),null!=C)return p?C.getEndX():C.getStartX();if(C=c.getDetectionResultColumn(d).getCodewordNearby(h),null!=C)return p?C.getStartX():C.getEndX();if(pn.isValidBarcodeColumn(c,d-b)&&(C=c.getDetectionResultColumn(d-b).getCodewordNearby(h)),null!=C)return p?C.getEndX():C.getStartX();let T=0;for(;pn.isValidBarcodeColumn(c,d-b);){d-=b;for(let L of c.getDetectionResultColumn(d).getCodewords())if(null!=L)return(p?L.getEndX():L.getStartX())+b*T*(L.getEndX()-L.getStartX());T++}return p?c.getBoundingBox().getMinX():c.getBoundingBox().getMaxX()}static detectCodeword(c,d,h,p,b,C,T,L){b=pn.adjustCodewordStartColumn(c,d,h,p,b,C);let q=pn.getModuleBitCount(c,d,h,p,b,C);if(null==q)return null;let he,Ae=ze.sum(q);if(p)he=b+Ae;else{for(let wt=0;wt=d)&&q=d:Tpn.CODEWORD_SKEW_SIZE)return b;T+=L}L=-L,p=!p}return T}static checkCodewordSkew(c,d,h){return d-pn.CODEWORD_SKEW_SIZE<=c&&c<=h+pn.CODEWORD_SKEW_SIZE}static decodeCodewords(c,d,h){if(0===c.length)throw $.getFormatInstance();let p=1<h/2+pn.MAX_ERRORS||h<0||h>pn.MAX_EC_CODEWORDS)throw U.getChecksumInstance();return pn.errorCorrection.decode(c,h,d)}static verifyCodewordCount(c,d){if(c.length<4)throw $.getFormatInstance();let h=c[0];if(h>c.length)throw $.getFormatInstance();if(0===h){if(!(d>=1;return d}static getCodewordBucketNumber(c){return c instanceof Int32Array?this.getCodewordBucketNumber_Int32Array(c):this.getCodewordBucketNumber_number(c)}static getCodewordBucketNumber_number(c){return pn.getCodewordBucketNumber(pn.getBitCountForCodeword(c))}static getCodewordBucketNumber_Int32Array(c){return(c[0]-c[2]+c[4]-c[6]+9)%9}static toString(c){let d=new wo;for(let h=0;hC)}static getMaxWidth(c,d){return null==c||null==d?0:Math.trunc(Math.abs(c.getX()-d.getX()))}static getMinWidth(c,d){return null==c||null==d?V.MAX_VALUE:Math.trunc(Math.abs(c.getX()-d.getX()))}static getMaxCodewordWidth(c){return Math.floor(Math.max(Math.max(dr.getMaxWidth(c[0],c[4]),dr.getMaxWidth(c[6],c[2])*zi.MODULES_IN_CODEWORD/zi.MODULES_IN_STOP_PATTERN),Math.max(dr.getMaxWidth(c[1],c[5]),dr.getMaxWidth(c[7],c[3])*zi.MODULES_IN_CODEWORD/zi.MODULES_IN_STOP_PATTERN)))}static getMinCodewordWidth(c){return Math.floor(Math.min(Math.min(dr.getMinWidth(c[0],c[4]),dr.getMinWidth(c[6],c[2])*zi.MODULES_IN_CODEWORD/zi.MODULES_IN_STOP_PATTERN),Math.min(dr.getMinWidth(c[1],c[5]),dr.getMinWidth(c[7],c[3])*zi.MODULES_IN_CODEWORD/zi.MODULES_IN_STOP_PATTERN)))}reset(){}}let xa=(()=>{class K extends F{}return K.kind="ReaderException",K})();class So{constructor(c,d){this.verbose=!0===c,d&&this.setHints(d)}decode(c,d){return d&&this.setHints(d),this.decodeInternal(c)}decodeWithState(c){return null==this.readers&&this.setHints(null),this.decodeInternal(c)}setHints(c){this.hints=c;const d=!f(c)&&!0===c.get(fe.TRY_HARDER),h=f(c)?null:c.get(fe.POSSIBLE_FORMATS),p=new Array;if(!f(h)){const b=h.some(C=>C===lt.UPC_A||C===lt.UPC_E||C===lt.EAN_13||C===lt.EAN_8||C===lt.CODABAR||C===lt.CODE_39||C===lt.CODE_93||C===lt.CODE_128||C===lt.ITF||C===lt.RSS_14||C===lt.RSS_EXPANDED);b&&!d&&p.push(new er(c,this.verbose)),h.includes(lt.QR_CODE)&&p.push(new tr),h.includes(lt.DATA_MATRIX)&&p.push(new tn),h.includes(lt.AZTEC)&&p.push(new wi),h.includes(lt.PDF_417)&&p.push(new dr),b&&d&&p.push(new er(c,this.verbose))}0===p.length&&(d||p.push(new er(c,this.verbose)),p.push(new tr),p.push(new tn),p.push(new wi),p.push(new dr),d&&p.push(new er(c,this.verbose))),this.readers=p}reset(){if(null!==this.readers)for(const c of this.readers)c.reset()}decodeInternal(c){if(null===this.readers)throw new xa("No readers where selected, nothing can be read.");for(const d of this.readers)try{return d.decode(c,this.hints)}catch(h){if(h instanceof xa)continue}throw new ke("No MultiFormat Readers were able to detect the code.")}}var Ya=(()=>{return(K=Ya||(Ya={}))[K.ERROR_CORRECTION=0]="ERROR_CORRECTION",K[K.CHARACTER_SET=1]="CHARACTER_SET",K[K.DATA_MATRIX_SHAPE=2]="DATA_MATRIX_SHAPE",K[K.MIN_SIZE=3]="MIN_SIZE",K[K.MAX_SIZE=4]="MAX_SIZE",K[K.MARGIN=5]="MARGIN",K[K.PDF417_COMPACT=6]="PDF417_COMPACT",K[K.PDF417_COMPACTION=7]="PDF417_COMPACTION",K[K.PDF417_DIMENSIONS=8]="PDF417_DIMENSIONS",K[K.AZTEC_LAYERS=9]="AZTEC_LAYERS",K[K.QR_VERSION=10]="QR_VERSION",Ya;var K})(),Rn=Ya;class Qr{constructor(c){this.field=c,this.cachedGenerators=[],this.cachedGenerators.push(new st(c,Int32Array.from([1])))}buildGenerator(c){const d=this.cachedGenerators;if(c>=d.length){let h=d[d.length-1];const p=this.field;for(let b=d.length;b<=c;b++){const C=h.multiply(new st(p,Int32Array.from([1,p.exp(b-1+p.getGeneratorBase())])));d.push(C),h=C}}return d[c]}encode(c,d){if(0===d)throw new D("No error correction bytes");const h=c.length-d;if(h<=0)throw new D("No data bytes provided");const p=this.buildGenerator(d),b=new Int32Array(h);N.arraycopy(c,0,b,0,h);let C=new st(this.field,b);C=C.multiplyByMonomial(d,1);const L=C.divide(p)[1].getCoefficients(),q=d-L.length;for(let he=0;he{class K{constructor(){}static applyMaskPenaltyRule1(d){return K.applyMaskPenaltyRule1Internal(d,!0)+K.applyMaskPenaltyRule1Internal(d,!1)}static applyMaskPenaltyRule2(d){let h=0;const p=d.getArray(),b=d.getWidth(),C=d.getHeight();for(let T=0;T=5&&(p+=K.N1+(q-5)),q=1,he=He)}q>=5&&(p+=K.N1+(q-5))}return p}}return K.N1=3,K.N2=3,K.N3=40,K.N4=10,K})();class Dn{constructor(c,d){this.width=c,this.height=d;const h=new Array(d);for(let p=0;p!==d;p++)h[p]=new Uint8Array(c);this.bytes=h}getHeight(){return this.height}getWidth(){return this.width}get(c,d){return this.bytes[d][c]}getArray(){return this.bytes}setNumber(c,d,h){this.bytes[d][c]=h}setBoolean(c,d,h){this.bytes[d][c]=h?1:0}clear(c){for(const d of this.bytes)ne.fill(d,c)}equals(c){if(!(c instanceof Dn))return!1;const d=c;if(this.width!==d.width||this.height!==d.height)return!1;for(let h=0,p=this.height;h{class K{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 d=new pe;return d.append("<<\n"),d.append(" mode: "),d.append(this.mode?this.mode.toString():"null"),d.append("\n ecLevel: "),d.append(this.ecLevel?this.ecLevel.toString():"null"),d.append("\n version: "),d.append(this.version?this.version.toString():"null"),d.append("\n maskPattern: "),d.append(this.maskPattern.toString()),this.matrix?(d.append("\n matrix:\n"),d.append(this.matrix.toString())):d.append("\n matrix: null\n"),d.append(">>\n"),d.toString()}setMode(d){this.mode=d}setECLevel(d){this.ecLevel=d}setVersion(d){this.version=d}setMaskPattern(d){this.maskPattern=d}setMatrix(d){this.matrix=d}static isValidMaskPattern(d){return d>=0&&d{class K extends F{}return K.kind="WriterException",K})();class Yi{constructor(){}static clearMatrix(c){c.clear(255)}static buildMatrix(c,d,h,p,b){Yi.clearMatrix(b),Yi.embedBasicPatterns(h,b),Yi.embedTypeInfo(d,p,b),Yi.maybeEmbedVersionInfo(h,b),Yi.embedDataBits(c,p,b)}static embedBasicPatterns(c,d){Yi.embedPositionDetectionPatternsAndSeparators(d),Yi.embedDarkDotAtLeftBottomCorner(d),Yi.maybeEmbedPositionAdjustmentPatterns(c,d),Yi.embedTimingPatterns(d)}static embedTypeInfo(c,d,h){const p=new z;Yi.makeTypeInfoBits(c,d,p);for(let b=0,C=p.getSize();b0;){for(6===C&&(C-=1);T>=0&&T=h;)c^=d<=0)for(let L=0;L!==C;L++){const q=p[L];q>=0&&Yi.isEmpty(d.get(q,T))&&Yi.embedPositionAdjustmentPattern(q-2,T-2,d)}}}}Yi.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])]),Yi.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])]),Yi.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])]),Yi.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])]),Yi.VERSION_INFO_POLY=7973,Yi.TYPE_INFO_POLY=1335,Yi.TYPE_INFO_MASK_PATTERN=21522;class Wo{constructor(c,d){this.dataBytes=c,this.errorCorrectionBytes=d}getDataBytes(){return this.dataBytes}getErrorCorrectionBytes(){return this.errorCorrectionBytes}}class qn{constructor(){}static calculateMaskPenalty(c){return ma.applyMaskPenaltyRule1(c)+ma.applyMaskPenaltyRule2(c)+ma.applyMaskPenaltyRule3(c)+ma.applyMaskPenaltyRule4(c)}static encode(c,d,h=null){let p=qn.DEFAULT_BYTE_MODE_ENCODING;const b=null!==h&&void 0!==h.get(Rn.CHARACTER_SET);b&&(p=h.get(Rn.CHARACTER_SET).toString());const C=this.chooseMode(c,p),T=new z;if(C===Ri.BYTE&&(b||qn.DEFAULT_BYTE_MODE_ENCODING!==p)){const Mi=X.getCharacterSetECIByName(p);void 0!==Mi&&this.appendECI(Mi,T)}this.appendModeInfo(C,T);const L=new z;let q;if(this.appendBytes(c,C,L,p),null!==h&&void 0!==h.get(Rn.QR_VERSION)){const Mi=Number.parseInt(h.get(Rn.QR_VERSION).toString(),10);q=Ii.getVersionForNumber(Mi);const ri=this.calculateBitsNeeded(C,T,L,q);if(!this.willFit(ri,q,d))throw new Mn("Data too big for requested version")}else q=this.recommendVersion(d,C,T,L);const he=new z;he.appendBitArray(T);const Ae=C===Ri.BYTE?L.getSizeInBytes():c.length;this.appendLengthInfo(Ae,q,C,he),he.appendBitArray(L);const He=q.getECBlocksForLevel(d),dt=q.getTotalCodewords()-He.getTotalECCodewords();this.terminateBits(dt,he);const wt=this.interleaveWithECBytes(he,q.getTotalCodewords(),dt,He.getNumBlocks()),St=new fa;St.setECLevel(d),St.setMode(C),St.setVersion(q);const jt=q.getDimensionForVersion(),$t=new Dn(jt,jt),bi=this.chooseMaskPattern(wt,d,q,$t);return St.setMaskPattern(bi),Yi.buildMatrix(wt,d,q,bi,$t),St.setMatrix($t),St}static recommendVersion(c,d,h,p){const b=this.calculateBitsNeeded(d,h,p,Ii.getVersionForNumber(1)),C=this.chooseVersion(b,c),T=this.calculateBitsNeeded(d,h,p,C);return this.chooseVersion(T,c)}static calculateBitsNeeded(c,d,h,p){return d.getSize()+c.getCharacterCountBits(p)+h.getSize()}static getAlphanumericCode(c){return c159)&&(b<224||b>235))return!1}return!0}static chooseMaskPattern(c,d,h,p){let b=Number.MAX_SAFE_INTEGER,C=-1;for(let T=0;T=(c+7)/8}static terminateBits(c,d){const h=8*c;if(d.getSize()>h)throw new Mn("data bits cannot fit in the QR Code"+d.getSize()+" > "+h);for(let C=0;C<4&&d.getSize()0)for(let C=p;C<8;C++)d.appendBit(!1);const b=c-d.getSizeInBytes();for(let C=0;C=h)throw new Mn("Block ID too large");const T=c%h,L=h-T,q=Math.floor(c/h),he=q+1,Ae=Math.floor(d/h),He=Ae+1,dt=q-Ae,wt=he-He;if(dt!==wt)throw new Mn("EC bytes mismatch");if(h!==L+T)throw new Mn("RS blocks mismatch");if(c!==(Ae+dt)*L+(He+wt)*T)throw new Mn("Total bytes mismatch");p=1<=0&&d<=9}static appendNumericBytes(c,d){const h=c.length;let p=0;for(;p=33088&&L<=40956?q=L-33088:L>=57408&&L<=60351&&(q=L-49472),-1===q)throw new Mn("Invalid byte sequence");d.appendBits(192*(q>>8)+(255&q),13)}}static appendECI(c,d){d.appendBits(Ri.ECI.getBits(),4),d.appendBits(c.getValue(),8)}}qn.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]),qn.DEFAULT_BYTE_MODE_ENCODING=X.UTF8.getName();let mr=(()=>{class K{write(d,h,p,b=null){if(0===d.length)throw new D("Found empty contents");if(h<0||p<0)throw new D("Requested dimensions are too small: "+h+"x"+p);let C=yn.L,T=K.QUIET_ZONE_SIZE;null!==b&&(void 0!==b.get(Rn.ERROR_CORRECTION)&&(C=yn.fromString(b.get(Rn.ERROR_CORRECTION).toString())),void 0!==b.get(Rn.MARGIN)&&(T=Number.parseInt(b.get(Rn.MARGIN).toString(),10)));const L=qn.encode(d,C,b);return this.renderResult(L,h,p,T)}writeToDom(d,h,p,b,C=null){"string"==typeof d&&(d=document.querySelector(d));const T=this.write(h,p,b,C);d&&d.appendChild(T)}renderResult(d,h,p,b){const C=d.getMatrix();if(null===C)throw new ht;const T=C.getWidth(),L=C.getHeight(),q=T+2*b,he=L+2*b,Ae=Math.max(h,q),He=Math.max(p,he),dt=Math.min(Math.floor(Ae/q),Math.floor(He/he)),wt=Math.floor((Ae-T*dt)/2),St=Math.floor((He-L*dt)/2),jt=this.createSVGElement(Ae,He);for(let $t=0,bi=St;$t{class K{encode(d,h,p,b,C){if(0===d.length)throw new D("Found empty contents");if(h!==lt.QR_CODE)throw new D("Can only encode QR_CODE, but got "+h);if(p<0||b<0)throw new D(`Requested dimensions are too small: ${p}x${b}`);let T=yn.L,L=K.QUIET_ZONE_SIZE;null!==C&&(void 0!==C.get(Rn.ERROR_CORRECTION)&&(T=yn.fromString(C.get(Rn.ERROR_CORRECTION).toString())),void 0!==C.get(Rn.MARGIN)&&(L=Number.parseInt(C.get(Rn.MARGIN).toString(),10)));const q=qn.encode(d,T,C);return K.renderResult(q,p,b,L)}static renderResult(d,h,p,b){const C=d.getMatrix();if(null===C)throw new ht;const T=C.getWidth(),L=C.getHeight(),q=T+2*b,he=L+2*b,Ae=Math.max(h,q),He=Math.max(p,he),dt=Math.min(Math.floor(Ae/q),Math.floor(He/he)),wt=Math.floor((Ae-T*dt)/2),St=Math.floor((He-L*dt)/2),jt=new ae(Ae,He);for(let $t=0,bi=St;$t{class K extends Qe{constructor(d,h,p,b,C,T,L,q){if(super(T,L),this.yuvData=d,this.dataWidth=h,this.dataHeight=p,this.left=b,this.top=C,b+T>h||C+L>p)throw new D("Crop rectangle does not fit within image data.");q&&this.reverseHorizontal(T,L)}getRow(d,h){if(d<0||d>=this.getHeight())throw new D("Requested row is outside the image: "+d);const p=this.getWidth();return(null==h||h.length>16&255)+(Ae>>7&510)+(255&Ae))/4&255}this.luminances=q}else this.luminances=c;if(void 0===p&&(this.dataWidth=d),void 0===b&&(this.dataHeight=h),void 0===C&&(this.left=0),void 0===T&&(this.top=0),this.left+d>this.dataWidth||this.top+h>this.dataHeight)throw new D("Crop rectangle does not fit within image data.")}getRow(c,d){if(c<0||c>=this.getHeight())throw new D("Requested row is outside the image: "+c);const h=this.getWidth();return(null==d||d.length"}}class it extends _e{constructor(c,d,h){super(c,0,0),this.binaryShiftStart=d,this.binaryShiftByteCount=h}appendTo(c,d){for(let h=0;h62?c.appendBits(this.binaryShiftByteCount-31,16):c.appendBits(0===h?Math.min(this.binaryShiftByteCount,31):this.binaryShiftByteCount-31,5)),c.appendBits(d[this.binaryShiftStart+h],8)}addBinaryShift(c,d){return new it(this,c,d)}toString(){return"<"+this.binaryShiftStart+"::"+(this.binaryShiftStart+this.binaryShiftByteCount-1)+">"}}function ft(K,c,d){return new _e(K,c,d)}const _i=["UPPER","LOWER","DIGIT","MIXED","PUNCT"],yi=0,ln=1,Bt=2,di=3,ji=4,Qn=new _e(null,0,0),Ln=[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 la=function Nr(K){for(let c of K)ne.fill(c,-1);return K[yi][ji]=0,K[ln][ji]=0,K[ln][yi]=28,K[di][ji]=0,K[Bt][ji]=0,K[Bt][yi]=15,K}(ne.createInt32Array(6,6));class fr{constructor(c,d,h,p){this.token=c,this.mode=d,this.binaryShiftByteCount=h,this.bitCount=p}getMode(){return this.mode}getToken(){return this.token}getBinaryShiftByteCount(){return this.binaryShiftByteCount}getBitCount(){return this.bitCount}latchAndAppend(c,d){let h=this.bitCount,p=this.token;if(c!==this.mode){let C=Ln[this.mode][c];p=ft(p,65535&C,C>>16),h+=C>>16}let b=c===Bt?4:5;return p=ft(p,d,b),new fr(p,c,0,h+b)}shiftAndAppend(c,d){let h=this.token,p=this.mode===Bt?4:5;return h=ft(h,la[this.mode][c],p),h=ft(h,d,5),new fr(h,this.mode,0,this.bitCount+p+5)}addBinaryShiftChar(c){let d=this.token,h=this.mode,p=this.bitCount;if(this.mode===ji||this.mode===Bt){let T=Ln[h][yi];d=ft(d,65535&T,T>>16),p+=T>>16,h=yi}let C=new fr(d,h,this.binaryShiftByteCount+1,p+(0===this.binaryShiftByteCount||31===this.binaryShiftByteCount?18:62===this.binaryShiftByteCount?9:8));return 2078===C.binaryShiftByteCount&&(C=C.endBinaryShift(c+1)),C}endBinaryShift(c){if(0===this.binaryShiftByteCount)return this;let d=this.token;return d=function ut(K,c,d){return new it(K,c,d)}(d,c-this.binaryShiftByteCount,this.binaryShiftByteCount),new fr(d,this.mode,0,this.bitCount)}isBetterThanOrEqualTo(c){let d=this.bitCount+(Ln[this.mode][c.mode]>>16);return this.binaryShiftByteCountc.binaryShiftByteCount&&c.binaryShiftByteCount>0&&(d+=10),d<=c.bitCount}toBitArray(c){let d=[];for(let p=this.endBinaryShift(c.length).token;null!==p;p=p.getPrevious())d.unshift(p);let h=new z;for(const p of d)p.appendTo(h,c);return h}toString(){return le.format("%s bits=%d bytes=%d",_i[this.mode],this.bitCount,this.binaryShiftByteCount)}static calculateBinaryShiftCost(c){return c.binaryShiftByteCount>62?21:c.binaryShiftByteCount>31?20:c.binaryShiftByteCount>0?10:0}}fr.INITIAL_STATE=new fr(Qn,yi,0,0);const Ha=function ka(K){const c=le.getCharCode(" "),d=le.getCharCode("."),h=le.getCharCode(",");K[yi][c]=1;const p=le.getCharCode("Z"),b=le.getCharCode("A");for(let He=b;He<=p;He++)K[yi][He]=He-b+2;K[ln][c]=1;const C=le.getCharCode("z"),T=le.getCharCode("a");for(let He=T;He<=C;He++)K[ln][He]=He-T+2;K[Bt][c]=1;const L=le.getCharCode("9"),q=le.getCharCode("0");for(let He=q;He<=L;He++)K[Bt][He]=He-q+2;K[Bt][h]=12,K[Bt][d]=13;const he=["\0"," ","\x01","\x02","\x03","\x04","\x05","\x06","\x07","\b","\t","\n","\v","\f","\r","\x1b","\x1c","\x1d","\x1e","\x1f","@","\\","^","_","`","|","~","\x7f"];for(let He=0;He","?","[","]","{","}"];for(let He=0;He0&&(K[ji][le.getCharCode(Ae[He])]=He);return K}(ne.createInt32Array(5,256));class fo{constructor(c){this.text=c}encode(){const c=le.getCharCode(" "),d=le.getCharCode("\n");let h=sn.singletonList(fr.INITIAL_STATE);for(let b=0;b0?(h=fo.updateStateListForPair(h,b,C),b++):h=this.updateStateListForChar(h,b)}return sn.min(h,(b,C)=>b.getBitCount()-C.getBitCount()).toBitArray(this.text)}updateStateListForChar(c,d){const h=[];for(let p of c)this.updateStateForChar(p,d,h);return fo.simplifyStates(h)}updateStateForChar(c,d,h){let p=255&this.text[d],b=Ha[c.getMode()][p]>0,C=null;for(let T=0;T<=ji;T++){let L=Ha[T][p];if(L>0){if(null==C&&(C=c.endBinaryShift(d)),!b||T===c.getMode()||T===Bt){const q=C.latchAndAppend(T,L);h.push(q)}if(!b&&la[c.getMode()][T]>=0){const q=C.shiftAndAppend(T,L);h.push(q)}}}if(c.getBinaryShiftByteCount()>0||0===Ha[c.getMode()][p]){let T=c.addBinaryShiftChar(d);h.push(T)}}static updateStateListForPair(c,d,h){const p=[];for(let b of c)this.updateStateForPair(b,d,h,p);return this.simplifyStates(p)}static updateStateForPair(c,d,h,p){let b=c.endBinaryShift(d);if(p.push(b.latchAndAppend(ji,h)),c.getMode()!==ji&&p.push(b.shiftAndAppend(ji,h)),3===h||4===h){let C=b.latchAndAppend(Bt,16-h).latchAndAppend(Bt,1);p.push(C)}if(c.getBinaryShiftByteCount()>0){let C=c.addBinaryShiftChar(d).addBinaryShiftChar(d+1);p.push(C)}}static simplifyStates(c){let d=[];for(const h of c){let p=!0;for(const b of d){if(b.isBetterThanOrEqualTo(h)){p=!1;break}h.isBetterThanOrEqualTo(b)&&(d=d.filter(C=>C!==b))}p&&d.push(h)}return d}}class Hn{constructor(){}static encodeBytes(c){return Hn.encode(c,Hn.DEFAULT_EC_PERCENT,Hn.DEFAULT_AZTEC_LAYERS)}static encode(c,d,h){let T,L,q,he,Ae,p=new fo(c).encode(),b=V.truncDivision(p.getSize()*d,100)+11,C=p.getSize()+b;if(h!==Hn.DEFAULT_AZTEC_LAYERS){if(T=h<0,L=Math.abs(h),L>(T?Hn.MAX_NB_BITS_COMPACT:Hn.MAX_NB_BITS))throw new D(le.format("Illegal value %s for layers",h));q=Hn.totalBitsInLayer(L,T),he=Hn.WORD_SIZE[L];let ri=q-q%he;if(Ae=Hn.stuffBits(p,he),Ae.getSize()+b>ri)throw new D("Data to large for user specified layer");if(T&&Ae.getSize()>64*he)throw new D("Data to large for user specified layer")}else{he=0,Ae=null;for(let ri=0;;ri++){if(ri>Hn.MAX_NB_BITS)throw new D("Data too large for an Aztec code");if(T=ri<=3,L=T?ri+1:ri,q=Hn.totalBitsInLayer(L,T),C>q)continue;(null==Ae||he!==Hn.WORD_SIZE[L])&&(he=Hn.WORD_SIZE[L],Ae=Hn.stuffBits(p,he));let Sn=q-q%he;if(!(T&&Ae.getSize()>64*he)&&Ae.getSize()+b<=Sn)break}}let $t,He=Hn.generateCheckWords(Ae,q,he),dt=Ae.getSize()/he,wt=Hn.generateModeMessage(T,L,dt),St=(T?11:14)+4*L,jt=new Int32Array(St);if(T){$t=St;for(let ri=0;ri=p||c.get(C+L))&&(T|=1<0&&X.has(this.stack[this.stack.length-1]);){var ie=this.stack.pop();null===(fe=(ue=this.cbs).onclosetag)||void 0===fe||fe.call(ue,ie,!0)}this.isVoidElement(z)||(this.stack.push(z),N.has(z)?this.foreignContext.push(!0):J.has(z)&&this.foreignContext.push(!1)),null===(Y=($=this.cbs).onopentagname)||void 0===Y||Y.call($,z),this.cbs.onopentag&&(this.attribs={})},V.prototype.endOpenTag=function(z){var ue,fe;this.startIndex=this.openTagStart,this.attribs&&(null===(fe=(ue=this.cbs).onopentag)||void 0===fe||fe.call(ue,this.tagname,this.attribs,z),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},V.prototype.onopentagend=function(z){this.endIndex=z,this.endOpenTag(!1),this.startIndex=z+1},V.prototype.onclosetag=function(z,ue){var fe,$,Y,X,ie,te;this.endIndex=ue;var le=this.getSlice(z,ue);if(this.lowerCaseTagNames&&(le=le.toLowerCase()),(N.has(le)||J.has(le))&&this.foreignContext.pop(),this.isVoidElement(le))!this.options.xmlMode&&"br"===le&&(null===($=(fe=this.cbs).onopentagname)||void 0===$||$.call(fe,"br"),null===(X=(Y=this.cbs).onopentag)||void 0===X||X.call(Y,"br",{},!0),null===(te=(ie=this.cbs).onclosetag)||void 0===te||te.call(ie,"br",!1));else{var pe=this.stack.lastIndexOf(le);if(-1!==pe)if(this.cbs.onclosetag)for(var ae=this.stack.length-pe;ae--;)this.cbs.onclosetag(this.stack.pop(),0!==ae);else this.stack.length=pe;else!this.options.xmlMode&&"p"===le&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=ue+1},V.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)},V.prototype.closeCurrentTag=function(z){var ue,fe,$=this.tagname;this.endOpenTag(z),this.stack[this.stack.length-1]===$&&(null===(fe=(ue=this.cbs).onclosetag)||void 0===fe||fe.call(ue,$,!z),this.stack.pop())},V.prototype.onattribname=function(z,ue){this.startIndex=z;var fe=this.getSlice(z,ue);this.attribname=this.lowerCaseAttributeNames?fe.toLowerCase():fe},V.prototype.onattribdata=function(z,ue){this.attribvalue+=this.getSlice(z,ue)},V.prototype.onattribentity=function(z){this.attribvalue+=(0,x.fromCodePoint)(z)},V.prototype.onattribend=function(z,ue){var fe,$;this.endIndex=ue,null===($=(fe=this.cbs).onattribute)||void 0===$||$.call(fe,this.attribname,this.attribvalue,z===_.QuoteType.Double?'"':z===_.QuoteType.Single?"'":z===_.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},V.prototype.getInstructionName=function(z){var ue=z.search(Z),fe=ue<0?z:z.substr(0,ue);return this.lowerCaseTagNames&&(fe=fe.toLowerCase()),fe},V.prototype.ondeclaration=function(z,ue){this.endIndex=ue;var fe=this.getSlice(z,ue);if(this.cbs.onprocessinginstruction){var $=this.getInstructionName(fe);this.cbs.onprocessinginstruction("!".concat($),"!".concat(fe))}this.startIndex=ue+1},V.prototype.onprocessinginstruction=function(z,ue){this.endIndex=ue;var fe=this.getSlice(z,ue);if(this.cbs.onprocessinginstruction){var $=this.getInstructionName(fe);this.cbs.onprocessinginstruction("?".concat($),"?".concat(fe))}this.startIndex=ue+1},V.prototype.oncomment=function(z,ue,fe){var $,Y,X,ie;this.endIndex=ue,null===(Y=($=this.cbs).oncomment)||void 0===Y||Y.call($,this.getSlice(z,ue-fe)),null===(ie=(X=this.cbs).oncommentend)||void 0===ie||ie.call(X),this.startIndex=ue+1},V.prototype.oncdata=function(z,ue,fe){var $,Y,X,ie,te,le,pe,ae,ke,xe;this.endIndex=ue;var Ye=this.getSlice(z,ue-fe);this.options.xmlMode||this.options.recognizeCDATA?(null===(Y=($=this.cbs).oncdatastart)||void 0===Y||Y.call($),null===(ie=(X=this.cbs).ontext)||void 0===ie||ie.call(X,Ye),null===(le=(te=this.cbs).oncdataend)||void 0===le||le.call(te)):(null===(ae=(pe=this.cbs).oncomment)||void 0===ae||ae.call(pe,"[CDATA[".concat(Ye,"]]")),null===(xe=(ke=this.cbs).oncommentend)||void 0===xe||xe.call(ke)),this.startIndex=ue+1},V.prototype.onend=function(){var z,ue;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var fe=this.stack.length;fe>0;this.cbs.onclosetag(this.stack[--fe],!0));}null===(ue=(z=this.cbs).onend)||void 0===ue||ue.call(z)},V.prototype.reset=function(){var z,ue,fe,$;null===(ue=(z=this.cbs).onreset)||void 0===ue||ue.call(z),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,null===($=(fe=this.cbs).onparserinit)||void 0===$||$.call(fe,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},V.prototype.parseComplete=function(z){this.reset(),this.end(z)},V.prototype.getSlice=function(z,ue){for(;z-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var fe=this.buffers[0].slice(z-this.bufferOffset,ue-this.bufferOffset);ue-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),fe+=this.buffers[0].slice(0,ue-this.bufferOffset);return fe},V.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},V.prototype.write=function(z){var ue,fe;this.ended?null===(fe=(ue=this.cbs).onerror)||void 0===fe||fe.call(ue,new Error(".write() after done!")):(this.buffers.push(z),this.tokenizer.running&&(this.tokenizer.write(z),this.writeIndex++))},V.prototype.end=function(z){var ue,fe;this.ended?null===(fe=(ue=this.cbs).onerror)||void 0===fe||fe.call(ue,Error(".end() after done!")):(z&&this.write(z),this.ended=!0,this.tokenizer.end())},V.prototype.pause=function(){this.tokenizer.pause()},V.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.QuoteType=void 0;var D,S,f=y(6569),e=(()=>{return(S=e||(e={}))[S.Tab=9]="Tab",S[S.NewLine=10]="NewLine",S[S.FormFeed=12]="FormFeed",S[S.CarriageReturn=13]="CarriageReturn",S[S.Space=32]="Space",S[S.ExclamationMark=33]="ExclamationMark",S[S.Num=35]="Num",S[S.Amp=38]="Amp",S[S.SingleQuote=39]="SingleQuote",S[S.DoubleQuote=34]="DoubleQuote",S[S.Dash=45]="Dash",S[S.Slash=47]="Slash",S[S.Zero=48]="Zero",S[S.Nine=57]="Nine",S[S.Semi=59]="Semi",S[S.Lt=60]="Lt",S[S.Eq=61]="Eq",S[S.Gt=62]="Gt",S[S.Questionmark=63]="Questionmark",S[S.UpperA=65]="UpperA",S[S.LowerA=97]="LowerA",S[S.UpperF=70]="UpperF",S[S.LowerF=102]="LowerF",S[S.UpperZ=90]="UpperZ",S[S.LowerZ=122]="LowerZ",S[S.LowerX=120]="LowerX",S[S.OpeningSquareBracket=91]="OpeningSquareBracket",e;var S})(),g=(()=>{return(S=g||(g={}))[S.Text=1]="Text",S[S.BeforeTagName=2]="BeforeTagName",S[S.InTagName=3]="InTagName",S[S.InSelfClosingTag=4]="InSelfClosingTag",S[S.BeforeClosingTagName=5]="BeforeClosingTagName",S[S.InClosingTagName=6]="InClosingTagName",S[S.AfterClosingTagName=7]="AfterClosingTagName",S[S.BeforeAttributeName=8]="BeforeAttributeName",S[S.InAttributeName=9]="InAttributeName",S[S.AfterAttributeName=10]="AfterAttributeName",S[S.BeforeAttributeValue=11]="BeforeAttributeValue",S[S.InAttributeValueDq=12]="InAttributeValueDq",S[S.InAttributeValueSq=13]="InAttributeValueSq",S[S.InAttributeValueNq=14]="InAttributeValueNq",S[S.BeforeDeclaration=15]="BeforeDeclaration",S[S.InDeclaration=16]="InDeclaration",S[S.InProcessingInstruction=17]="InProcessingInstruction",S[S.BeforeComment=18]="BeforeComment",S[S.CDATASequence=19]="CDATASequence",S[S.InSpecialComment=20]="InSpecialComment",S[S.InCommentLike=21]="InCommentLike",S[S.BeforeSpecialS=22]="BeforeSpecialS",S[S.SpecialStartSequence=23]="SpecialStartSequence",S[S.InSpecialTag=24]="InSpecialTag",S[S.BeforeEntity=25]="BeforeEntity",S[S.BeforeNumericEntity=26]="BeforeNumericEntity",S[S.InNamedEntity=27]="InNamedEntity",S[S.InNumericEntity=28]="InNumericEntity",S[S.InHexEntity=29]="InHexEntity",g;var S})();function _(S){return S===e.Space||S===e.NewLine||S===e.Tab||S===e.FormFeed||S===e.CarriageReturn}function x(S){return S===e.Slash||S===e.Gt||_(S)}function k(S){return S>=e.Zero&&S<=e.Nine}(S=D=O.QuoteType||(O.QuoteType={}))[S.NoValue=0]="NoValue",S[S.Unquoted=1]="Unquoted",S[S.Single=2]="Single",S[S.Double=3]="Double";var P={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])},U=function(){function S(N,J){var Z=N.xmlMode,ne=void 0!==Z&&Z,V=N.decodeEntities,z=void 0===V||V;this.cbs=J,this.state=g.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=g.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?f.xmlDecodeTree:f.htmlDecodeTree}return S.prototype.reset=function(){this.state=g.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=g.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},S.prototype.write=function(N){this.offset+=this.buffer.length,this.buffer=N,this.parse()},S.prototype.end=function(){this.running&&this.finish()},S.prototype.pause=function(){this.running=!1},S.prototype.resume=function(){this.running=!0,this.indexthis.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=g.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&N===e.Amp&&(this.state=g.BeforeEntity)},S.prototype.stateSpecialStartSequence=function(N){var J=this.sequenceIndex===this.currentSequence.length;if(J?x(N):(32|N)===this.currentSequence[this.sequenceIndex]){if(!J)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=g.InTagName,this.stateInTagName(N)},S.prototype.stateInSpecialTag=function(N){if(this.sequenceIndex===this.currentSequence.length){if(N===e.Gt||_(N)){var J=this.index-this.currentSequence.length;if(this.sectionStart=e.LowerA&&S<=e.LowerZ||S>=e.UpperA&&S<=e.UpperZ}(N)},S.prototype.startSpecial=function(N,J){this.isSpecial=!0,this.currentSequence=N,this.sequenceIndex=J,this.state=g.SpecialStartSequence},S.prototype.stateBeforeTagName=function(N){if(N===e.ExclamationMark)this.state=g.BeforeDeclaration,this.sectionStart=this.index+1;else if(N===e.Questionmark)this.state=g.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(N)){var J=32|N;this.sectionStart=this.index,this.xmlMode||J!==P.TitleEnd[2]?this.state=this.xmlMode||J!==P.ScriptEnd[2]?g.InTagName:g.BeforeSpecialS:this.startSpecial(P.TitleEnd,3)}else N===e.Slash?this.state=g.BeforeClosingTagName:(this.state=g.Text,this.stateText(N))},S.prototype.stateInTagName=function(N){x(N)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=g.BeforeAttributeName,this.stateBeforeAttributeName(N))},S.prototype.stateBeforeClosingTagName=function(N){_(N)||(N===e.Gt?this.state=g.Text:(this.state=this.isTagStartChar(N)?g.InClosingTagName:g.InSpecialComment,this.sectionStart=this.index))},S.prototype.stateInClosingTagName=function(N){(N===e.Gt||_(N))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=g.AfterClosingTagName,this.stateAfterClosingTagName(N))},S.prototype.stateAfterClosingTagName=function(N){(N===e.Gt||this.fastForwardTo(e.Gt))&&(this.state=g.Text,this.sectionStart=this.index+1)},S.prototype.stateBeforeAttributeName=function(N){N===e.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=g.InSpecialTag,this.sequenceIndex=0):this.state=g.Text,this.baseState=this.state,this.sectionStart=this.index+1):N===e.Slash?this.state=g.InSelfClosingTag:_(N)||(this.state=g.InAttributeName,this.sectionStart=this.index)},S.prototype.stateInSelfClosingTag=function(N){N===e.Gt?(this.cbs.onselfclosingtag(this.index),this.state=g.Text,this.baseState=g.Text,this.sectionStart=this.index+1,this.isSpecial=!1):_(N)||(this.state=g.BeforeAttributeName,this.stateBeforeAttributeName(N))},S.prototype.stateInAttributeName=function(N){(N===e.Eq||x(N))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=g.AfterAttributeName,this.stateAfterAttributeName(N))},S.prototype.stateAfterAttributeName=function(N){N===e.Eq?this.state=g.BeforeAttributeValue:N===e.Slash||N===e.Gt?(this.cbs.onattribend(D.NoValue,this.index),this.state=g.BeforeAttributeName,this.stateBeforeAttributeName(N)):_(N)||(this.cbs.onattribend(D.NoValue,this.index),this.state=g.InAttributeName,this.sectionStart=this.index)},S.prototype.stateBeforeAttributeValue=function(N){N===e.DoubleQuote?(this.state=g.InAttributeValueDq,this.sectionStart=this.index+1):N===e.SingleQuote?(this.state=g.InAttributeValueSq,this.sectionStart=this.index+1):_(N)||(this.sectionStart=this.index,this.state=g.InAttributeValueNq,this.stateInAttributeValueNoQuotes(N))},S.prototype.handleInAttributeValue=function(N,J){N===J||!this.decodeEntities&&this.fastForwardTo(J)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(J===e.DoubleQuote?D.Double:D.Single,this.index),this.state=g.BeforeAttributeName):this.decodeEntities&&N===e.Amp&&(this.baseState=this.state,this.state=g.BeforeEntity)},S.prototype.stateInAttributeValueDoubleQuotes=function(N){this.handleInAttributeValue(N,e.DoubleQuote)},S.prototype.stateInAttributeValueSingleQuotes=function(N){this.handleInAttributeValue(N,e.SingleQuote)},S.prototype.stateInAttributeValueNoQuotes=function(N){_(N)||N===e.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(D.Unquoted,this.index),this.state=g.BeforeAttributeName,this.stateBeforeAttributeName(N)):this.decodeEntities&&N===e.Amp&&(this.baseState=this.state,this.state=g.BeforeEntity)},S.prototype.stateBeforeDeclaration=function(N){N===e.OpeningSquareBracket?(this.state=g.CDATASequence,this.sequenceIndex=0):this.state=N===e.Dash?g.BeforeComment:g.InDeclaration},S.prototype.stateInDeclaration=function(N){(N===e.Gt||this.fastForwardTo(e.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=g.Text,this.sectionStart=this.index+1)},S.prototype.stateInProcessingInstruction=function(N){(N===e.Gt||this.fastForwardTo(e.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=g.Text,this.sectionStart=this.index+1)},S.prototype.stateBeforeComment=function(N){N===e.Dash?(this.state=g.InCommentLike,this.currentSequence=P.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=g.InDeclaration},S.prototype.stateInSpecialComment=function(N){(N===e.Gt||this.fastForwardTo(e.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=g.Text,this.sectionStart=this.index+1)},S.prototype.stateBeforeSpecialS=function(N){var J=32|N;J===P.ScriptEnd[3]?this.startSpecial(P.ScriptEnd,4):J===P.StyleEnd[3]?this.startSpecial(P.StyleEnd,4):(this.state=g.InTagName,this.stateInTagName(N))},S.prototype.stateBeforeEntity=function(N){this.entityExcess=1,this.entityResult=0,N===e.Num?this.state=g.BeforeNumericEntity:N===e.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=g.InNamedEntity,this.stateInNamedEntity(N))},S.prototype.stateInNamedEntity=function(N){if(this.entityExcess+=1,this.trieIndex=(0,f.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,N),this.trieIndex<0)return this.emitNamedEntity(),void this.index--;this.trieCurrent=this.entityTrie[this.trieIndex];var J=this.trieCurrent&f.BinTrieFlags.VALUE_LENGTH;if(J){var Z=(J>>14)-1;if(this.allowLegacyEntity()||N===e.Semi){var ne=this.index-this.entityExcess+1;ne>this.sectionStart&&this.emitPartial(this.sectionStart,ne),this.entityResult=this.trieIndex,this.trieIndex+=Z,this.entityExcess=0,this.sectionStart=this.index+1,0===Z&&this.emitNamedEntity()}else this.trieIndex+=Z}},S.prototype.emitNamedEntity=function(){if(this.state=this.baseState,0!==this.entityResult)switch((this.entityTrie[this.entityResult]&f.BinTrieFlags.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~f.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])}},S.prototype.stateBeforeNumericEntity=function(N){(32|N)===e.LowerX?(this.entityExcess++,this.state=g.InHexEntity):(this.state=g.InNumericEntity,this.stateInNumericEntity(N))},S.prototype.emitNumericEntity=function(N){var J=this.index-this.entityExcess-1;J+2+Number(this.state===g.InHexEntity)!==this.index&&(J>this.sectionStart&&this.emitPartial(this.sectionStart,J),this.sectionStart=this.index+Number(N),this.emitCodePoint((0,f.replaceCodePoint)(this.entityResult))),this.state=this.baseState},S.prototype.stateInNumericEntity=function(N){N===e.Semi?this.emitNumericEntity(!0):k(N)?(this.entityResult=10*this.entityResult+(N-e.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},S.prototype.stateInHexEntity=function(N){N===e.Semi?this.emitNumericEntity(!0):k(N)?(this.entityResult=16*this.entityResult+(N-e.Zero),this.entityExcess++):function A(S){return S>=e.UpperA&&S<=e.UpperF||S>=e.LowerA&&S<=e.LowerF}(N)?(this.entityResult=16*this.entityResult+((32|N)-e.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},S.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===g.Text||this.baseState===g.InSpecialTag)},S.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===g.Text||this.state===g.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===g.InAttributeValueDq||this.state===g.InAttributeValueSq||this.state===g.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},S.prototype.shouldContinue=function(){return this.index{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.attributeNames=O.elementNames=void 0,O.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(y){return[y.toLowerCase(),y]})),O.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(y){return[y.toLowerCase(),y]}))},1175:function(Te,O,y){"use strict";var f=this&&this.__assign||function(){return f=Object.assign||function($){for(var Y,X=1,ie=arguments.length;X")}($);case x.Comment:return function fe($){return"\x3c!--".concat($.data,"--\x3e")}($);case x.CDATA:return function ue($){return"")}($);case x.Script:case x.Style:case x.Tag:return function ne($,Y){var X;"foreign"===Y.xmlMode&&($.name=null!==(X=F.elementNames.get($.name))&&void 0!==X?X:$.name,$.parent&&J.has($.parent.name)&&(Y=f(f({},Y),{xmlMode:!1}))),!Y.xmlMode&&Z.has($.name)&&(Y=f(f({},Y),{xmlMode:"foreign"}));var ie="<".concat($.name),te=function P($,Y){var X;if($){var ie=!1===(null!==(X=Y.encodeEntities)&&void 0!==X?X:Y.decodeEntities)?D:Y.xmlMode||"utf8"!==Y.encodeEntities?k.encodeXML:k.escapeAttribute;return Object.keys($).map(function(te){var le,pe,ae=null!==(le=$[te])&&void 0!==le?le:"";return"foreign"===Y.xmlMode&&(te=null!==(pe=F.attributeNames.get(te))&&void 0!==pe?pe:te),Y.emptyAttrs||Y.xmlMode||""!==ae?"".concat(te,'="').concat(ie(ae),'"'):te}).join(" ")}}($.attribs,Y);return te&&(ie+=" ".concat(te)),0===$.children.length&&(Y.xmlMode?!1!==Y.selfClosingTags:Y.selfClosingTags&&U.has($.name))?(Y.xmlMode||(ie+=" "),ie+="/>"):(ie+=">",$.children.length>0&&(ie+=S($.children,Y)),(Y.xmlMode||!U.has($.name))&&(ie+=""))),ie}($,Y);case x.Text:return function z($,Y){var X,ie=$.data||"";return!1!==(null!==(X=Y.encodeEntities)&&void 0!==X?X:Y.decodeEntities)&&!(!Y.xmlMode&&$.parent&&A.has($.parent.name))&&(ie=Y.xmlMode||"utf8"!==Y.encodeEntities?(0,k.encodeXML)(ie):(0,k.escapeText)(ie)),ie}($,Y)}}O.render=S,O.default=S;var J=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),Z=new Set(["svg","math"])},3437:function(Te,O,y){"use strict";var f=this&&this.__createBinding||(Object.create?function(F,A,D,P){void 0===P&&(P=D);var U=Object.getOwnPropertyDescriptor(A,D);(!U||("get"in U?!A.__esModule:U.writable||U.configurable))&&(U={enumerable:!0,get:function(){return A[D]}}),Object.defineProperty(F,P,U)}:function(F,A,D,P){void 0===P&&(P=D),F[P]=A[D]}),e=this&&this.__exportStar||function(F,A){for(var D in F)"default"!==D&&!Object.prototype.hasOwnProperty.call(A,D)&&f(A,F,D)};Object.defineProperty(O,"__esModule",{value:!0}),O.DomHandler=void 0;var g=y(6316),_=y(2105);e(y(2105),O);var x={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},k=function(){function F(A,D,P){this.dom=[],this.root=new _.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof D&&(P=D,D=x),"object"==typeof A&&(D=A,A=void 0),this.callback=A??null,this.options=D??x,this.elementCB=P??null}return F.prototype.onparserinit=function(A){this.parser=A},F.prototype.onreset=function(){this.dom=[],this.root=new _.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},F.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},F.prototype.onerror=function(A){this.handleCallback(A)},F.prototype.onclosetag=function(){this.lastNode=null;var A=this.tagStack.pop();this.options.withEndIndices&&(A.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(A)},F.prototype.onopentag=function(A,D){var U=new _.Element(A,D,void 0,this.options.xmlMode?g.ElementType.Tag:void 0);this.addNode(U),this.tagStack.push(U)},F.prototype.ontext=function(A){var D=this.lastNode;if(D&&D.type===g.ElementType.Text)D.data+=A,this.options.withEndIndices&&(D.endIndex=this.parser.endIndex);else{var P=new _.Text(A);this.addNode(P),this.lastNode=P}},F.prototype.oncomment=function(A){if(this.lastNode&&this.lastNode.type===g.ElementType.Comment)this.lastNode.data+=A;else{var D=new _.Comment(A);this.addNode(D),this.lastNode=D}},F.prototype.oncommentend=function(){this.lastNode=null},F.prototype.oncdatastart=function(){var A=new _.Text(""),D=new _.CDATA([A]);this.addNode(D),A.parent=D,this.lastNode=A},F.prototype.oncdataend=function(){this.lastNode=null},F.prototype.onprocessinginstruction=function(A,D){var P=new _.ProcessingInstruction(A,D);this.addNode(P)},F.prototype.handleCallback=function(A){if("function"==typeof this.callback)this.callback(A,this.dom);else if(A)throw A},F.prototype.addNode=function(A){var D=this.tagStack[this.tagStack.length-1],P=D.children[D.children.length-1];this.options.withStartIndices&&(A.startIndex=this.parser.startIndex),this.options.withEndIndices&&(A.endIndex=this.parser.endIndex),D.children.push(A),P&&(A.prev=P,P.next=A),A.parent=D,this.lastNode=null},F}();O.DomHandler=k,O.default=k},2105:function(Te,O,y){"use strict";var Y,f=this&&this.__extends||(Y=function(X,ie){return(Y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(te,le){te.__proto__=le}||function(te,le){for(var pe in le)Object.prototype.hasOwnProperty.call(le,pe)&&(te[pe]=le[pe])})(X,ie)},function(X,ie){if("function"!=typeof ie&&null!==ie)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");function te(){this.constructor=X}Y(X,ie),X.prototype=null===ie?Object.create(ie):(te.prototype=ie.prototype,new te)}),e=this&&this.__assign||function(){return e=Object.assign||function(Y){for(var X,ie=1,te=arguments.length;ie0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(X.prototype,"childNodes",{get:function(){return this.children},set:function(ie){this.children=ie},enumerable:!1,configurable:!0}),X}(_);O.NodeWithChildren=D;var P=function(Y){function X(){var ie=null!==Y&&Y.apply(this,arguments)||this;return ie.type=g.ElementType.CDATA,ie}return f(X,Y),Object.defineProperty(X.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),X}(D);O.CDATA=P;var U=function(Y){function X(){var ie=null!==Y&&Y.apply(this,arguments)||this;return ie.type=g.ElementType.Root,ie}return f(X,Y),Object.defineProperty(X.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),X}(D);O.Document=U;var S=function(Y){function X(ie,te,le,pe){void 0===le&&(le=[]),void 0===pe&&(pe="script"===ie?g.ElementType.Script:"style"===ie?g.ElementType.Style:g.ElementType.Tag);var ae=Y.call(this,le)||this;return ae.name=ie,ae.attribs=te,ae.type=pe,ae}return f(X,Y),Object.defineProperty(X.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(X.prototype,"tagName",{get:function(){return this.name},set:function(ie){this.name=ie},enumerable:!1,configurable:!0}),Object.defineProperty(X.prototype,"attributes",{get:function(){var ie=this;return Object.keys(this.attribs).map(function(te){var le,pe;return{name:te,value:ie.attribs[te],namespace:null===(le=ie["x-attribsNamespace"])||void 0===le?void 0:le[te],prefix:null===(pe=ie["x-attribsPrefix"])||void 0===pe?void 0:pe[te]}})},enumerable:!1,configurable:!0}),X}(D);function N(Y){return(0,g.isTag)(Y)}function J(Y){return Y.type===g.ElementType.CDATA}function Z(Y){return Y.type===g.ElementType.Text}function ne(Y){return Y.type===g.ElementType.Comment}function V(Y){return Y.type===g.ElementType.Directive}function z(Y){return Y.type===g.ElementType.Root}function fe(Y,X){var ie;if(void 0===X&&(X=!1),Z(Y))ie=new k(Y.data);else if(ne(Y))ie=new F(Y.data);else if(N(Y)){var te=X?$(Y.children):[],le=new S(Y.name,e({},Y.attribs),te);te.forEach(function(xe){return xe.parent=le}),null!=Y.namespace&&(le.namespace=Y.namespace),Y["x-attribsNamespace"]&&(le["x-attribsNamespace"]=e({},Y["x-attribsNamespace"])),Y["x-attribsPrefix"]&&(le["x-attribsPrefix"]=e({},Y["x-attribsPrefix"])),ie=le}else if(J(Y)){te=X?$(Y.children):[];var pe=new P(te);te.forEach(function(Ye){return Ye.parent=pe}),ie=pe}else if(z(Y)){te=X?$(Y.children):[];var ae=new U(te);te.forEach(function(Ye){return Ye.parent=ae}),Y["x-mode"]&&(ae["x-mode"]=Y["x-mode"]),ie=ae}else{if(!V(Y))throw new Error("Not implemented yet: ".concat(Y.type));var ke=new A(Y.name,Y.data);null!=Y["x-name"]&&(ke["x-name"]=Y["x-name"],ke["x-publicId"]=Y["x-publicId"],ke["x-systemId"]=Y["x-systemId"]),ie=ke}return ie.startIndex=Y.startIndex,ie.endIndex=Y.endIndex,null!=Y.sourceCodeLocation&&(ie.sourceCodeLocation=Y.sourceCodeLocation),ie}function $(Y){for(var X=Y.map(function(te){return fe(te,!0)}),ie=1;ie{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.getFeed=void 0;var f=y(8149),e=y(4279);O.getFeed=function g(N){var J=D(S,N);return J?"feed"===J.name?function _(N){var J,Z=N.children,ne={type:"atom",items:(0,e.getElementsByTagName)("entry",Z).map(function(ue){var fe,$=ue.children,Y={media:A($)};U(Y,"id","id",$),U(Y,"title","title",$);var X=null===(fe=D("link",$))||void 0===fe?void 0:fe.attribs.href;X&&(Y.link=X);var ie=P("summary",$)||P("content",$);ie&&(Y.description=ie);var te=P("updated",$);return te&&(Y.pubDate=new Date(te)),Y})};U(ne,"id","id",Z),U(ne,"title","title",Z);var V=null===(J=D("link",Z))||void 0===J?void 0:J.attribs.href;V&&(ne.link=V),U(ne,"description","subtitle",Z);var z=P("updated",Z);return z&&(ne.updated=new Date(z)),U(ne,"author","email",Z,!0),ne}(J):function x(N){var J,Z,ne=null!==(Z=null===(J=D("channel",N.children))||void 0===J?void 0:J.children)&&void 0!==Z?Z:[],V={type:N.name.substr(0,3),id:"",items:(0,e.getElementsByTagName)("item",N.children).map(function(ue){var fe=ue.children,$={media:A(fe)};U($,"id","guid",fe),U($,"title","title",fe),U($,"link","link",fe),U($,"description","description",fe);var Y=P("pubDate",fe);return Y&&($.pubDate=new Date(Y)),$})};U(V,"title","title",ne),U(V,"link","link",ne),U(V,"description","description",ne);var z=P("lastBuildDate",ne);return z&&(V.updated=new Date(z)),U(V,"author","managingEditor",ne,!0),V}(J):null};var k=["url","type","lang"],F=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function A(N){return(0,e.getElementsByTagName)("media:content",N).map(function(J){for(var Z=J.attribs,ne={medium:Z.medium,isDefault:!!Z.isDefault},V=0,z=k;V{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.uniqueSort=O.compareDocumentPosition=O.DocumentPosition=O.removeSubsets=void 0;var g,k,f=y(3437);function _(k,F){var A=[],D=[];if(k===F)return 0;for(var P=(0,f.hasChildren)(k)?k:k.parent;P;)A.unshift(P),P=P.parent;for(P=(0,f.hasChildren)(F)?F:F.parent;P;)D.unshift(P),P=P.parent;for(var U=Math.min(A.length,D.length),S=0;SJ.indexOf(ne)?N===F?g.FOLLOWING|g.CONTAINED_BY:g.FOLLOWING:N===k?g.PRECEDING|g.CONTAINS:g.PRECEDING}O.removeSubsets=function e(k){for(var F=k.length;--F>=0;){var A=k[F];if(F>0&&k.lastIndexOf(A,F-1)>=0)k.splice(F,1);else for(var D=A.parent;D;D=D.parent)if(k.includes(D)){k.splice(F,1);break}}return k},(k=g=O.DocumentPosition||(O.DocumentPosition={}))[k.DISCONNECTED=1]="DISCONNECTED",k[k.PRECEDING=2]="PRECEDING",k[k.FOLLOWING=4]="FOLLOWING",k[k.CONTAINS=8]="CONTAINS",k[k.CONTAINED_BY=16]="CONTAINED_BY",O.compareDocumentPosition=_,O.uniqueSort=function x(k){return(k=k.filter(function(F,A,D){return!D.includes(F,A+1)})).sort(function(F,A){var D=_(F,A);return D&g.PRECEDING?-1:D&g.FOLLOWING?1:0}),k}},5722:function(Te,O,y){"use strict";var f=this&&this.__createBinding||(Object.create?function(_,x,k,F){void 0===F&&(F=k);var A=Object.getOwnPropertyDescriptor(x,k);(!A||("get"in A?!x.__esModule:A.writable||A.configurable))&&(A={enumerable:!0,get:function(){return x[k]}}),Object.defineProperty(_,F,A)}:function(_,x,k,F){void 0===F&&(F=k),_[F]=x[k]}),e=this&&this.__exportStar||function(_,x){for(var k in _)"default"!==k&&!Object.prototype.hasOwnProperty.call(x,k)&&f(x,_,k)};Object.defineProperty(O,"__esModule",{value:!0}),O.hasChildren=O.isDocument=O.isComment=O.isText=O.isCDATA=O.isTag=void 0,e(y(8149),O),e(y(74),O),e(y(6180),O),e(y(5904),O),e(y(4279),O),e(y(863),O),e(y(4477),O);var g=y(3437);Object.defineProperty(O,"isTag",{enumerable:!0,get:function(){return g.isTag}}),Object.defineProperty(O,"isCDATA",{enumerable:!0,get:function(){return g.isCDATA}}),Object.defineProperty(O,"isText",{enumerable:!0,get:function(){return g.isText}}),Object.defineProperty(O,"isComment",{enumerable:!0,get:function(){return g.isComment}}),Object.defineProperty(O,"isDocument",{enumerable:!0,get:function(){return g.isDocument}}),Object.defineProperty(O,"hasChildren",{enumerable:!0,get:function(){return g.hasChildren}})},4279:(Te,O,y)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.getElementsByTagType=O.getElementsByTagName=O.getElementById=O.getElements=O.testElement=void 0;var f=y(3437),e=y(5904),g={tag_name:function(S){return"function"==typeof S?function(N){return(0,f.isTag)(N)&&S(N.name)}:"*"===S?f.isTag:function(N){return(0,f.isTag)(N)&&N.name===S}},tag_type:function(S){return"function"==typeof S?function(N){return S(N.type)}:function(N){return N.type===S}},tag_contains:function(S){return"function"==typeof S?function(N){return(0,f.isText)(N)&&S(N.data)}:function(N){return(0,f.isText)(N)&&N.data===S}}};function _(S,N){return"function"==typeof N?function(J){return(0,f.isTag)(J)&&N(J.attribs[S])}:function(J){return(0,f.isTag)(J)&&J.attribs[S]===N}}function x(S,N){return function(J){return S(J)||N(J)}}function k(S){var N=Object.keys(S).map(function(J){var Z=S[J];return Object.prototype.hasOwnProperty.call(g,J)?g[J](Z):_(J,Z)});return 0===N.length?null:N.reduce(x)}O.testElement=function F(S,N){var J=k(S);return!J||J(N)},O.getElements=function A(S,N,J,Z){void 0===Z&&(Z=1/0);var ne=k(S);return ne?(0,e.filter)(ne,N,J,Z):[]},O.getElementById=function D(S,N,J){return void 0===J&&(J=!0),Array.isArray(N)||(N=[N]),(0,e.findOne)(_("id",S),N,J)},O.getElementsByTagName=function P(S,N,J,Z){return void 0===J&&(J=!0),void 0===Z&&(Z=1/0),(0,e.filter)(g.tag_name(S),N,J,Z)},O.getElementsByTagType=function U(S,N,J,Z){return void 0===J&&(J=!0),void 0===Z&&(Z=1/0),(0,e.filter)(g.tag_type(S),N,J,Z)}},6180:(Te,O)=>{"use strict";function y(k){if(k.prev&&(k.prev.next=k.next),k.next&&(k.next.prev=k.prev),k.parent){var F=k.parent.children;F.splice(F.lastIndexOf(k),1)}}Object.defineProperty(O,"__esModule",{value:!0}),O.prepend=O.prependChild=O.append=O.appendChild=O.replaceElement=O.removeElement=void 0,O.removeElement=y,O.replaceElement=function f(k,F){var A=F.prev=k.prev;A&&(A.next=F);var D=F.next=k.next;D&&(D.prev=F);var P=F.parent=k.parent;if(P){var U=P.children;U[U.lastIndexOf(k)]=F,k.parent=null}},O.appendChild=function e(k,F){if(y(F),F.next=null,F.parent=k,k.children.push(F)>1){var A=k.children[k.children.length-2];A.next=F,F.prev=A}else F.prev=null},O.append=function g(k,F){y(F);var A=k.parent,D=k.next;if(F.next=D,F.prev=k,k.next=F,F.parent=A,D){if(D.prev=F,A){var P=A.children;P.splice(P.lastIndexOf(D),0,F)}}else A&&A.children.push(F)},O.prependChild=function _(k,F){if(y(F),F.parent=k,F.prev=null,1!==k.children.unshift(F)){var A=k.children[1];A.prev=F,F.next=A}else F.next=null},O.prepend=function x(k,F){y(F);var A=k.parent;if(A){var D=A.children;D.splice(D.indexOf(k),0,F)}k.prev&&(k.prev.next=F),F.parent=A,F.prev=k.prev,F.next=k,k.prev=F}},5904:(Te,O,y)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.findAll=O.existsOne=O.findOne=O.findOneChild=O.find=O.filter=void 0;var f=y(3437);function g(A,D,P,U){for(var S=[],N=0,J=D;N0){var ne=g(A,Z.children,P,U);if(S.push.apply(S,ne),(U-=ne.length)<=0)break}}return S}O.filter=function e(A,D,P,U){return void 0===P&&(P=!0),void 0===U&&(U=1/0),Array.isArray(D)||(D=[D]),g(A,D,P,U)},O.find=g,O.findOneChild=function _(A,D){return D.find(A)},O.findOne=function x(A,D,P){void 0===P&&(P=!0);for(var U=null,S=0;S0&&(U=x(A,N.children,!0)))}return U},O.existsOne=function k(A,D){return D.some(function(P){return(0,f.isTag)(P)&&(A(P)||P.children.length>0&&k(A,P.children))})},O.findAll=function F(A,D){for(var P,N,U=[],S=D.filter(f.isTag);N=S.shift();){var J=null===(P=N.children)||void 0===P?void 0:P.filter(f.isTag);J&&J.length>0&&S.unshift.apply(S,J),A(N)&&U.push(N)}return U}},8149:function(Te,O,y){"use strict";var f=this&&this.__importDefault||function(P){return P&&P.__esModule?P:{default:P}};Object.defineProperty(O,"__esModule",{value:!0}),O.innerText=O.textContent=O.getText=O.getInnerHTML=O.getOuterHTML=void 0;var e=y(3437),g=f(y(1175)),_=y(6316);function x(P,U){return(0,g.default)(P,U)}O.getOuterHTML=x,O.getInnerHTML=function k(P,U){return(0,e.hasChildren)(P)?P.children.map(function(S){return x(S,U)}).join(""):""},O.getText=function F(P){return Array.isArray(P)?P.map(F).join(""):(0,e.isTag)(P)?"br"===P.name?"\n":F(P.children):(0,e.isCDATA)(P)?F(P.children):(0,e.isText)(P)?P.data:""},O.textContent=function A(P){return Array.isArray(P)?P.map(A).join(""):(0,e.hasChildren)(P)&&!(0,e.isComment)(P)?A(P.children):(0,e.isText)(P)?P.data:""},O.innerText=function D(P){return Array.isArray(P)?P.map(D).join(""):(0,e.hasChildren)(P)&&(P.type===_.ElementType.Tag||(0,e.isCDATA)(P))?D(P.children):(0,e.isText)(P)?P.data:""}},74:(Te,O,y)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.prevElementSibling=O.nextElementSibling=O.getName=O.hasAttrib=O.getAttributeValue=O.getSiblings=O.getParent=O.getChildren=void 0;var f=y(3437);function e(P){return(0,f.hasChildren)(P)?P.children:[]}function g(P){return P.parent||null}O.getChildren=e,O.getParent=g,O.getSiblings=function _(P){var N=g(P);if(null!=N)return e(N);for(var J=[P],Z=P.prev,ne=P.next;null!=Z;)J.unshift(Z),Z=Z.prev;for(;null!=ne;)J.push(ne),ne=ne.next;return J},O.getAttributeValue=function x(P,U){var S;return null===(S=P.attribs)||void 0===S?void 0:S[U]},O.hasAttrib=function k(P,U){return null!=P.attribs&&Object.prototype.hasOwnProperty.call(P.attribs,U)&&null!=P.attribs[U]},O.getName=function F(P){return P.name},O.nextElementSibling=function A(P){for(var S=P.next;null!==S&&!(0,f.isTag)(S);)S=S.next;return S},O.prevElementSibling=function D(P){for(var S=P.prev;null!==S&&!(0,f.isTag)(S);)S=S.prev;return S}},6569:function(Te,O,y){"use strict";var f=this&&this.__importDefault||function(Z){return Z&&Z.__esModule?Z:{default:Z}};Object.defineProperty(O,"__esModule",{value:!0}),O.decodeXML=O.decodeHTMLStrict=O.decodeHTML=O.determineBranch=O.BinTrieFlags=O.fromCodePoint=O.replaceCodePoint=O.decodeCodePoint=O.xmlDecodeTree=O.htmlDecodeTree=void 0;var e=f(y(1575));O.htmlDecodeTree=e.default;var g=f(y(9704));O.xmlDecodeTree=g.default;var _=f(y(3906));O.decodeCodePoint=_.default;var x=y(3906);Object.defineProperty(O,"replaceCodePoint",{enumerable:!0,get:function(){return x.replaceCodePoint}}),Object.defineProperty(O,"fromCodePoint",{enumerable:!0,get:function(){return x.fromCodePoint}});var F,Z,k=(()=>{return(Z=k||(k={}))[Z.NUM=35]="NUM",Z[Z.SEMI=59]="SEMI",Z[Z.ZERO=48]="ZERO",Z[Z.NINE=57]="NINE",Z[Z.LOWER_A=97]="LOWER_A",Z[Z.LOWER_F=102]="LOWER_F",Z[Z.LOWER_X=120]="LOWER_X",Z[Z.To_LOWER_BIT=32]="To_LOWER_BIT",k;var Z})();function A(Z){return function(V,z){for(var ue="",fe=0,$=0;($=V.indexOf("&",$))>=0;)if(ue+=V.slice(fe,$),fe=$,V.charCodeAt($+=1)!==k.NUM){for(var pe=0,ae=1,ke=0,xe=Z[ke];$>14)-1))break;ke+=Qe}}var Qe;0!==pe&&(ue+=1==(Qe=(Z[pe]&F.VALUE_LENGTH)>>14)?String.fromCharCode(Z[pe]&~F.VALUE_LENGTH):2===Qe?String.fromCharCode(Z[pe+1]):String.fromCharCode(Z[pe+1],Z[pe+2]),fe=$-ae+1)}else{var Y=$+1,X=10,ie=V.charCodeAt(Y);(ie|k.To_LOWER_BIT)===k.LOWER_X&&(X=16,$+=1,Y+=1);do{ie=V.charCodeAt(++$)}while(ie>=k.ZERO&&ie<=k.NINE||16===X&&(ie|k.To_LOWER_BIT)>=k.LOWER_A&&(ie|k.To_LOWER_BIT)<=k.LOWER_F);if(Y!==$){var te=V.substring(Y,$),le=parseInt(te,X);if(V.charCodeAt($)===k.SEMI)$+=1;else if(z)continue;ue+=(0,_.default)(le),fe=$}}return ue+V.slice(fe)}}function D(Z,ne,V,z){var ue=(ne&F.BRANCH_LENGTH)>>7,fe=ne&F.JUMP_TABLE;if(0===ue)return 0!==fe&&z===fe?V:-1;if(fe){var $=z-fe;return $<0||$>=ue?-1:Z[V+$]-1}for(var Y=V,X=Y+ue-1;Y<=X;){var ie=Y+X>>>1,te=Z[ie];if(tez))return Z[ie+ue];X=ie-1}}return-1}(Z=F=O.BinTrieFlags||(O.BinTrieFlags={}))[Z.VALUE_LENGTH=49152]="VALUE_LENGTH",Z[Z.BRANCH_LENGTH=16256]="BRANCH_LENGTH",Z[Z.JUMP_TABLE=127]="JUMP_TABLE",O.determineBranch=D;var P=A(e.default),U=A(g.default);O.decodeHTML=function S(Z){return P(Z,!1)},O.decodeHTMLStrict=function N(Z){return P(Z,!0)},O.decodeXML=function J(Z){return U(Z,!0)}},3906:(Te,O)=>{"use strict";var y;Object.defineProperty(O,"__esModule",{value:!0}),O.replaceCodePoint=O.fromCodePoint=void 0;var f=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 e(_){var x;return _>=55296&&_<=57343||_>1114111?65533:null!==(x=f.get(_))&&void 0!==x?x:_}O.fromCodePoint=null!==(y=String.fromCodePoint)&&void 0!==y?y:function(_){var x="";return _>65535&&(_-=65536,x+=String.fromCharCode(_>>>10&1023|55296),_=56320|1023&_),x+String.fromCharCode(_)},O.replaceCodePoint=e,O.default=function g(_){return(0,O.fromCodePoint)(e(_))}},6836:function(Te,O,y){"use strict";var f=this&&this.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(O,"__esModule",{value:!0}),O.encodeNonAsciiHTML=O.encodeHTML=void 0;var e=f(y(5754)),g=y(681),_=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function F(A,D){for(var S,P="",U=0;null!==(S=A.exec(D));){var N=S.index;P+=D.substring(U,N);var J=D.charCodeAt(N),Z=e.default.get(J);if("object"==typeof Z){if(N+1{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.escapeText=O.escapeAttribute=O.escapeUTF8=O.escape=O.encodeXML=O.getCodePoint=O.xmlReplacer=void 0,O.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var y=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function f(g){for(var k,_="",x=0;null!==(k=O.xmlReplacer.exec(g));){var F=k.index,A=g.charCodeAt(F),D=y.get(A);void 0!==D?(_+=g.substring(x,F)+D,x=F+1):(_+="".concat(g.substring(x,F),"&#x").concat((0,O.getCodePoint)(g,F).toString(16),";"),x=O.xmlReplacer.lastIndex+=Number(55296==(64512&A)))}return _+g.substr(x)}function e(g,_){return function(k){for(var F,A=0,D="";F=g.exec(k);)A!==F.index&&(D+=k.substring(A,F.index)),D+=_.get(F[0].charCodeAt(0)),A=F.index+1;return D+k.substring(A)}}O.getCodePoint=null!=String.prototype.codePointAt?function(g,_){return g.codePointAt(_)}:function(g,_){return 55296==(64512&g.charCodeAt(_))?1024*(g.charCodeAt(_)-55296)+g.charCodeAt(_+1)-56320+65536:g.charCodeAt(_)},O.encodeXML=f,O.escape=f,O.escapeUTF8=e(/[&<>'"]/g,y),O.escapeAttribute=e(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),O.escapeText=e(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))},1575:(Te,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.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(y){return y.charCodeAt(0)}))},9704:(Te,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=new Uint16Array("\u0200aglq\t\x15\x18\x1b\u026d\x0f\0\0\x12p;\u4026os;\u4027t;\u403et;\u403cuot;\u4022".split("").map(function(y){return y.charCodeAt(0)}))},5754:(Te,O)=>{"use strict";function y(f){for(var e=1;e{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.decodeXMLStrict=O.decodeHTML5Strict=O.decodeHTML4Strict=O.decodeHTML5=O.decodeHTML4=O.decodeHTMLStrict=O.decodeHTML=O.decodeXML=O.encodeHTML5=O.encodeHTML4=O.encodeNonAsciiHTML=O.encodeHTML=O.escapeText=O.escapeAttribute=O.escapeUTF8=O.escape=O.encodeXML=O.encode=O.decodeStrict=O.decode=O.EncodingMode=O.DecodingMode=O.EntityLevel=void 0;var _,N,x,k,f=y(6569),e=y(6836),g=y(681);(N=_=O.EntityLevel||(O.EntityLevel={}))[N.XML=0]="XML",N[N.HTML=1]="HTML",function(N){N[N.Legacy=0]="Legacy",N[N.Strict=1]="Strict"}(x=O.DecodingMode||(O.DecodingMode={})),function(N){N[N.UTF8=0]="UTF8",N[N.ASCII=1]="ASCII",N[N.Extensive=2]="Extensive",N[N.Attribute=3]="Attribute",N[N.Text=4]="Text"}(k=O.EncodingMode||(O.EncodingMode={})),O.decode=function F(N,J){void 0===J&&(J=_.XML);var Z="number"==typeof J?{level:J}:J;return Z.level===_.HTML?Z.mode===x.Strict?(0,f.decodeHTMLStrict)(N):(0,f.decodeHTML)(N):(0,f.decodeXML)(N)},O.decodeStrict=function A(N,J){void 0===J&&(J=_.XML);var Z="number"==typeof J?{level:J}:J;return Z.level===_.HTML?Z.mode===x.Legacy?(0,f.decodeHTML)(N):(0,f.decodeHTMLStrict)(N):(0,f.decodeXML)(N)},O.encode=function D(N,J){void 0===J&&(J=_.XML);var Z="number"==typeof J?{level:J}:J;return Z.mode===k.UTF8?(0,g.escapeUTF8)(N):Z.mode===k.Attribute?(0,g.escapeAttribute)(N):Z.mode===k.Text?(0,g.escapeText)(N):Z.level===_.HTML?Z.mode===k.ASCII?(0,e.encodeNonAsciiHTML)(N):(0,e.encodeHTML)(N):(0,g.encodeXML)(N)};var P=y(681);Object.defineProperty(O,"encodeXML",{enumerable:!0,get:function(){return P.encodeXML}}),Object.defineProperty(O,"escape",{enumerable:!0,get:function(){return P.escape}}),Object.defineProperty(O,"escapeUTF8",{enumerable:!0,get:function(){return P.escapeUTF8}}),Object.defineProperty(O,"escapeAttribute",{enumerable:!0,get:function(){return P.escapeAttribute}}),Object.defineProperty(O,"escapeText",{enumerable:!0,get:function(){return P.escapeText}});var U=y(6836);Object.defineProperty(O,"encodeHTML",{enumerable:!0,get:function(){return U.encodeHTML}}),Object.defineProperty(O,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return U.encodeNonAsciiHTML}}),Object.defineProperty(O,"encodeHTML4",{enumerable:!0,get:function(){return U.encodeHTML}}),Object.defineProperty(O,"encodeHTML5",{enumerable:!0,get:function(){return U.encodeHTML}});var S=y(6569);Object.defineProperty(O,"decodeXML",{enumerable:!0,get:function(){return S.decodeXML}}),Object.defineProperty(O,"decodeHTML",{enumerable:!0,get:function(){return S.decodeHTML}}),Object.defineProperty(O,"decodeHTMLStrict",{enumerable:!0,get:function(){return S.decodeHTMLStrict}}),Object.defineProperty(O,"decodeHTML4",{enumerable:!0,get:function(){return S.decodeHTML}}),Object.defineProperty(O,"decodeHTML5",{enumerable:!0,get:function(){return S.decodeHTML}}),Object.defineProperty(O,"decodeHTML4Strict",{enumerable:!0,get:function(){return S.decodeHTMLStrict}}),Object.defineProperty(O,"decodeHTML5Strict",{enumerable:!0,get:function(){return S.decodeHTMLStrict}}),Object.defineProperty(O,"decodeXMLStrict",{enumerable:!0,get:function(){return S.decodeXML}})},1188:(Te,O,y)=>{const{bech32:f,hex:e,utf8:g}=y(5521),_={bech32:"bc",pubKeyHash:0,scriptHash:5,validWitnessVersions:[0]},x={bech32:"tb",pubKeyHash:111,scriptHash:196,validWitnessVersions:[0]},k={bech32:"bcrt",pubKeyHash:111,scriptHash:196,validWitnessVersions:[0]},F={bech32:"sb",pubKeyHash:63,scriptHash:123,validWitnessVersions:[0]},A=["option_data_loss_protect","initial_routing_sync","option_upfront_shutdown_script","gossip_queries","var_onion_optin","gossip_queries_ex","option_static_remotekey","payment_secret","basic_mpp","option_support_large_channel"],D={m:BigInt(1e3),u:BigInt(1e6),n:BigInt(1e9),p:BigInt(1e12)},P=BigInt("2100000000000000000"),U=BigInt(1e11),S={payment_hash:1,payment_secret:16,description:13,payee:19,description_hash:23,expiry:6,min_final_cltv_expiry:24,fallback_address:9,route_hint:3,feature_bits:5,metadata:27},N={};for(let $=0,Y=Object.keys(S);$e.encode(f.fromWordsUnsafe($)),16:$=>e.encode(f.fromWordsUnsafe($)),13:$=>g.encode(f.fromWordsUnsafe($)),19:$=>e.encode(f.fromWordsUnsafe($)),23:$=>e.encode(f.fromWordsUnsafe($)),27:$=>e.encode(f.fromWordsUnsafe($)),6:ne,24:ne,3:function V($){const Y=[];let X,ie,te,le,pe,ae=f.fromWordsUnsafe($);for(;ae.length>0;)X=e.encode(ae.slice(0,33)),ie=e.encode(ae.slice(33,41)),te=parseInt(e.encode(ae.slice(41,45)),16),le=parseInt(e.encode(ae.slice(45,49)),16),pe=parseInt(e.encode(ae.slice(49,51)),16),ae=ae.slice(51),Y.push({pubkey:X,short_channel_id:ie,fee_base_msat:te,fee_proportional_millionths:le,cltv_expiry_delta:pe});return Y},5:function z($){const Y=$.slice().reverse().map(te=>[!!(1&te),!!(2&te),!!(4&te),!!(8&te),!!(16&te)]).reduce((te,le)=>te.concat(le),[]);for(;Y.length<2*A.length;)Y.push(!1);const X={};A.forEach((te,le)=>{let pe;pe=Y[2*le]?"required":Y[2*le+1]?"supported":"unsupported",X[te]=pe});const ie=Y.slice(2*A.length);return X.extra_bits={start_bit:2*A.length,bits:ie,has_required:ie.reduce((te,le,pe)=>pe%2!=0?te||!1:te||le,!1)},X}};function Z($){return Y=>({tagCode:parseInt($),words:f.encode("unknown",Y,Number.MAX_SAFE_INTEGER)})}function ne($){return $.reverse().reduce((Y,X,ie)=>Y+X*Math.pow(32,ie),0)}function ue($,Y){let X,ie;if($.slice(-1).match(/^[munp]$/))X=$.slice(-1),ie=$.slice(0,-1);else{if($.slice(-1).match(/^[^munp0-9]$/))throw new Error("Not a valid multiplier for the amount");ie=$}if(!ie.match(/^\d+$/))throw new Error("Not a valid human readable amount");const te=BigInt(ie),le=X?te*U/D[X]:te*U;if("p"===X&&te%BigInt(10)!==BigInt(0)||le>P)throw new Error("Amount is outside of valid range");return Y?le.toString():le}Te.exports={decode:function fe($,Y){if("string"!=typeof $)throw new Error("Lightning Payment Request must be string");if("ln"!==$.slice(0,2).toLowerCase())throw new Error("Not a proper lightning payment request");const X=[],ie=f.decode($,Number.MAX_SAFE_INTEGER);$=$.toLowerCase();const te=ie.prefix;let le=ie.words,pe=$.slice(te.length+1),ae=le.slice(-104);le=le.slice(0,-104);let ke=te.match(/^ln(\S+?)(\d*)([a-zA-Z]?)$/);if(ke&&!ke[2]&&(ke=te.match(/^ln(\S+)$/)),!ke)throw new Error("Not a proper lightning payment request");X.push({name:"lightning_network",letters:"ln"});const xe=ke[1];let Ye;if(Y){if(void 0===Y.bech32||void 0===Y.pubKeyHash||void 0===Y.scriptHash||!Array.isArray(Y.validWitnessVersions))throw new Error("Invalid network");Ye=Y}else switch(xe){case _.bech32:Ye=_;break;case x.bech32:Ye=x;break;case k.bech32:Ye=k;break;case F.bech32:Ye=F}if(!Ye||Ye.bech32!==xe)throw new Error("Unknown coin bech32 prefix");X.push({name:"coin_network",letters:xe,value:Ye});const Qe=ke[2];let Se;Qe?(Se=ue(Qe+ke[3],!0),X.push({name:"amount",letters:ke[2]+ke[3],value:Se})):Se=null,X.push({name:"separator",letters:"1"});const nt=ne(le.slice(0,7));let we,Ie,rt,Ze;for(le=le.slice(7),X.push({name:"timestamp",letters:pe.slice(0,7),value:nt}),pe=pe.slice(7);le.length>0;){const qe=le[0].toString();we=N[qe]||"unknown_tag",Ie=J[qe]||Z(qe),le=le.slice(1),rt=ne(le.slice(0,2)),le=le.slice(2),Ze=le.slice(0,rt),le=le.slice(rt),X.push({name:we,tag:pe[0],letters:pe.slice(0,3+rt),value:Ie(Ze)}),pe=pe.slice(3+rt)}X.push({name:"signature",letters:pe.slice(0,104),value:e.encode(f.fromWordsUnsafe(ae))}),pe=pe.slice(104),X.push({name:"checksum",letters:pe});let Ft={paymentRequest:$,sections:X,get expiry(){let qe=X.find(ei=>"expiry"===ei.name);if(qe)return lt("timestamp")+qe.value},get route_hints(){return X.filter(qe=>"route_hint"===qe.name).map(qe=>qe.value)}};for(let qe in S)"route_hint"!==qe&&Object.defineProperty(Ft,qe,{get:()=>lt(qe)});return Ft;function lt(qe){let ei=X.find(Ht=>Ht.name===qe);return ei?ei.value:void 0}},hrpToMillisat:ue}},7088:function(Te,O,y){!function(f){"use strict";f.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(g){return/^nm$/i.test(g)},meridiem:function(g,_,x){return g<12?x?"vm":"VM":x?"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(g){return g+(1===g||8===g||g>=20?"ste":"de")},week:{dow:1,doy:4}})}(y(5439))},2502:function(Te,O,y){!function(f){"use strict";var e=function(F){return 0===F?0:1===F?1:2===F?2:F%100>=3&&F%100<=10?3:F%100>=11?4:5},g={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"]},_=function(F){return function(A,D,P,U){var S=e(A),N=g[F][e(A)];return 2===S&&(N=N[D?0:1]),N.replace(/%d/i,A)}},x=["\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"];f.defineLocale("ar-dz",{months:x,monthsShort:x,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(F){return"\u0645"===F},meridiem:function(F,A,D){return F<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:_("s"),ss:_("s"),m:_("m"),mm:_("m"),h:_("h"),hh:_("h"),d:_("d"),dd:_("d"),M:_("M"),MM:_("M"),y:_("y"),yy:_("y")},postformat:function(F){return F.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(y(5439))},128:function(Te,O,y){!function(f){"use strict";f.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}})}(y(5439))},4519:function(Te,O,y){!function(f){"use strict";var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},g=function(A){return 0===A?0:1===A?1:2===A?2:A%100>=3&&A%100<=10?3:A%100>=11?4:5},_={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"]},x=function(A){return function(D,P,U,S){var N=g(D),J=_[A][g(D)];return 2===N&&(J=J[P?0:1]),J.replace(/%d/i,D)}},k=["\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"];f.defineLocale("ar-ly",{months:k,monthsShort:k,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(A){return"\u0645"===A},meridiem:function(A,D,P){return A<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:x("s"),ss:x("s"),m:x("m"),mm:x("m"),h:x("h"),hh:x("h"),d:x("d"),dd:x("d"),M:x("M"),MM:x("M"),y:x("y"),yy:x("y")},preparse:function(A){return A.replace(/\u060c/g,",")},postformat:function(A){return A.replace(/\d/g,function(D){return e[D]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(y(5439))},5443:function(Te,O,y){!function(f){"use strict";f.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}})}(y(5439))},7642:function(Te,O,y){!function(f){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},g={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};f.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(x){return"\u0645"===x},meridiem:function(x,k,F){return x<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(x){return x.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(k){return g[k]}).replace(/\u060c/g,",")},postformat:function(x){return x.replace(/\d/g,function(k){return e[k]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(y(5439))},8592:function(Te,O,y){!function(f){"use strict";f.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}})}(y(5439))},7038:function(Te,O,y){!function(f){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},g={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},_=function(D){return 0===D?0:1===D?1:2===D?2:D%100>=3&&D%100<=10?3:D%100>=11?4:5},x={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"]},k=function(D){return function(P,U,S,N){var J=_(P),Z=x[D][_(P)];return 2===J&&(Z=Z[U?0:1]),Z.replace(/%d/i,P)}},F=["\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"];f.defineLocale("ar",{months:F,monthsShort:F,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(D){return"\u0645"===D},meridiem:function(D,P,U){return D<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:k("s"),ss:k("s"),m:k("m"),mm:k("m"),h:k("h"),hh:k("h"),d:k("d"),dd:k("d"),M:k("M"),MM:k("M"),y:k("y"),yy:k("y")},preparse:function(D){return D.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(P){return g[P]}).replace(/\u060c/g,",")},postformat:function(D){return D.replace(/\d/g,function(P){return e[P]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(y(5439))},1213:function(Te,O,y){!function(f){"use strict";var e={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"};f.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(_){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(_)},meridiem:function(_,x,k){return _<4?"gec\u0259":_<12?"s\u0259h\u0259r":_<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(_){if(0===_)return _+"-\u0131nc\u0131";var x=_%10;return _+(e[x]||e[_%100-x]||e[_>=100?100:null])},week:{dow:1,doy:7}})}(y(5439))},9191:function(Te,O,y){!function(f){"use strict";function g(x,k,F){return"m"===F?k?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===F?k?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":x+" "+function e(x,k){var F=x.split("_");return k%10==1&&k%100!=11?F[0]:k%10>=2&&k%10<=4&&(k%100<10||k%100>=20)?F[1]:F[2]}({ss:k?"\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:k?"\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:k?"\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"}[F],+x)}f.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:g,mm:g,h:g,hh:g,d:"\u0434\u0437\u0435\u043d\u044c",dd:g,M:"\u043c\u0435\u0441\u044f\u0446",MM:g,y:"\u0433\u043e\u0434",yy:g},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(x){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(x)},meridiem:function(x,k,F){return x<4?"\u043d\u043e\u0447\u044b":x<12?"\u0440\u0430\u043d\u0456\u0446\u044b":x<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(x,k){switch(k){case"M":case"d":case"DDD":case"w":case"W":return x%10!=2&&x%10!=3||x%100==12||x%100==13?x+"-\u044b":x+"-\u0456";case"D":return x+"-\u0433\u0430";default:return x}},week:{dow:1,doy:7}})}(y(5439))},322:function(Te,O,y){!function(f){"use strict";f.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(g){var _=g%10,x=g%100;return 0===g?g+"-\u0435\u0432":0===x?g+"-\u0435\u043d":x>10&&x<20?g+"-\u0442\u0438":1===_?g+"-\u0432\u0438":2===_?g+"-\u0440\u0438":7===_||8===_?g+"-\u043c\u0438":g+"-\u0442\u0438"},week:{dow:1,doy:7}})}(y(5439))},8042:function(Te,O,y){!function(f){"use strict";f.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}})}(y(5439))},5903:function(Te,O,y){!function(f){"use strict";var e={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},g={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};f.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(x){return x.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(k){return g[k]})},postformat:function(x){return x.replace(/\d/g,function(k){return e[k]})},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(x,k){return 12===x&&(x=0),"\u09b0\u09be\u09a4"===k?x<4?x:x+12:"\u09ad\u09cb\u09b0"===k||"\u09b8\u0995\u09be\u09b2"===k?x:"\u09a6\u09c1\u09aa\u09c1\u09b0"===k?x>=3?x:x+12:"\u09ac\u09bf\u0995\u09be\u09b2"===k||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===k?x+12:void 0},meridiem:function(x,k,F){return x<4?"\u09b0\u09be\u09a4":x<6?"\u09ad\u09cb\u09b0":x<12?"\u09b8\u0995\u09be\u09b2":x<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":x<18?"\u09ac\u09bf\u0995\u09be\u09b2":x<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(y(5439))},9620:function(Te,O,y){!function(f){"use strict";var e={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},g={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};f.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(x){return x.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(k){return g[k]})},postformat:function(x){return x.replace(/\d/g,function(k){return e[k]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(x,k){return 12===x&&(x=0),"\u09b0\u09be\u09a4"===k&&x>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===k&&x<5||"\u09ac\u09bf\u0995\u09be\u09b2"===k?x+12:x},meridiem:function(x,k,F){return x<4?"\u09b0\u09be\u09a4":x<10?"\u09b8\u0995\u09be\u09b2":x<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":x<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(y(5439))},9645:function(Te,O,y){!function(f){"use strict";var e={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},g={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};f.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(x){return x.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(k){return g[k]})},postformat:function(x){return x.replace(/\d/g,function(k){return e[k]})},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(x,k){return 12===x&&(x=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===k&&x>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===k&&x<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===k?x+12:x},meridiem:function(x,k,F){return x<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":x<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":x<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":x<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(y(5439))},5020:function(Te,O,y){!function(f){"use strict";function e(Z,ne,V){return Z+" "+function x(Z,ne){return 2===ne?function k(Z){var ne={m:"v",b:"v",d:"z"};return void 0===ne[Z.charAt(0)]?Z:ne[Z.charAt(0)]+Z.substring(1)}(Z):Z}({mm:"munutenn",MM:"miz",dd:"devezh"}[V],Z)}function _(Z){return Z>9?_(Z%10):Z}var F=[/^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],A=/^(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,N=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];f.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:N,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:N,monthsRegex:A,monthsShortRegex:A,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:F,longMonthsParse:F,shortMonthsParse:F,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:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:function g(Z){switch(_(Z)){case 1:case 3:case 4:case 5:case 9:return Z+" bloaz";default:return Z+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(Z){return Z+(1===Z?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(Z){return"g.m."===Z},meridiem:function(Z,ne,V){return Z<12?"a.m.":"g.m."}})}(y(5439))},4792:function(Te,O,y){!function(f){"use strict";function e(_,x,k){var F=_+" ";switch(k){case"ss":return F+(1===_?"sekunda":2===_||3===_||4===_?"sekunde":"sekundi");case"m":return x?"jedna minuta":"jedne minute";case"mm":return F+(1===_?"minuta":2===_||3===_||4===_?"minute":"minuta");case"h":return x?"jedan sat":"jednog sata";case"hh":return F+(1===_?"sat":2===_||3===_||4===_?"sata":"sati");case"dd":return F+(1===_?"dan":"dana");case"MM":return F+(1===_?"mjesec":2===_||3===_||4===_?"mjeseca":"mjeseci");case"yy":return F+(1===_?"godina":2===_||3===_||4===_?"godine":"godina")}}f.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:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(y(5439))},7980:function(Te,O,y){!function(f){"use strict";f.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(g,_){var x=1===g?"r":2===g?"n":3===g?"r":4===g?"t":"\xe8";return("w"===_||"W"===_)&&(x="a"),g+x},week:{dow:1,doy:4}})}(y(5439))},7322:function(Te,O,y){!function(f){"use strict";var e={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("_")},g="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),_=[/^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],x=/^(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 k(D){return D>1&&D<5&&1!=~~(D/10)}function F(D,P,U,S){var N=D+" ";switch(U){case"s":return P||S?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return P||S?N+(k(D)?"sekundy":"sekund"):N+"sekundami";case"m":return P?"minuta":S?"minutu":"minutou";case"mm":return P||S?N+(k(D)?"minuty":"minut"):N+"minutami";case"h":return P?"hodina":S?"hodinu":"hodinou";case"hh":return P||S?N+(k(D)?"hodiny":"hodin"):N+"hodinami";case"d":return P||S?"den":"dnem";case"dd":return P||S?N+(k(D)?"dny":"dn\xed"):N+"dny";case"M":return P||S?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return P||S?N+(k(D)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):N+"m\u011bs\xedci";case"y":return P||S?"rok":"rokem";case"yy":return P||S?N+(k(D)?"roky":"let"):N+"lety"}}f.defineLocale("cs",{months:e,monthsShort:g,monthsRegex:x,monthsShortRegex:x,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:_,longMonthsParse:_,shortMonthsParse:_,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:F,ss:F,m:F,mm:F,h:F,hh:F,d:F,dd:F,M:F,MM:F,y:F,yy:F},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},365:function(Te,O,y){!function(f){"use strict";f.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(g){return g+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(g)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(g)?"\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}})}(y(5439))},2092:function(Te,O,y){!function(f){"use strict";f.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(g){var x="";return g>20?x=40===g||50===g||60===g||80===g||100===g?"fed":"ain":g>0&&(x=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][g]),g+x},week:{dow:1,doy:4}})}(y(5439))},7387:function(Te,O,y){!function(f){"use strict";f.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}})}(y(5439))},9459:function(Te,O,y){!function(f){"use strict";function e(_,x,k,F){var A={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[_+" Tage",_+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[_+" Monate",_+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[_+" Jahre",_+" Jahren"]};return x?A[k][0]:A[k][1]}f.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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},3694:function(Te,O,y){!function(f){"use strict";function e(_,x,k,F){var A={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[_+" Tage",_+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[_+" Monate",_+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[_+" Jahre",_+" Jahren"]};return x?A[k][0]:A[k][1]}f.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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},4307:function(Te,O,y){!function(f){"use strict";function e(_,x,k,F){var A={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[_+" Tage",_+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[_+" Monate",_+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[_+" Jahre",_+" Jahren"]};return x?A[k][0]:A[k][1]}f.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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},9659:function(Te,O,y){!function(f){"use strict";var e=["\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"],g=["\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"];f.defineLocale("dv",{months:e,monthsShort:e,weekdays:g,weekdaysShort:g,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(x){return"\u0789\u078a"===x},meridiem:function(x,k,F){return x<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(x){return x.replace(/\u060c/g,",")},postformat:function(x){return x.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(y(5439))},3460:function(Te,O,y){!function(f){"use strict";f.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(_,x){return _?"string"==typeof x&&/D/.test(x.substring(0,x.indexOf("MMMM")))?this._monthsGenitiveEl[_.month()]:this._monthsNominativeEl[_.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(_,x,k){return _>11?k?"\u03bc\u03bc":"\u039c\u039c":k?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(_){return"\u03bc"===(_+"").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(_,x){var k=this._calendarEl[_],F=x&&x.hours();return function e(_){return typeof Function<"u"&&_ instanceof Function||"[object Function]"===Object.prototype.toString.call(_)}(k)&&(k=k.apply(x)),k.replace("{}",F%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}})}(y(5439))},4369:function(Te,O,y){!function(f){"use strict";f.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(g){var _=g%10;return g+(1==~~(g%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")},week:{dow:0,doy:4}})}(y(5439))},530:function(Te,O,y){!function(f){"use strict";f.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(g){var _=g%10;return g+(1==~~(g%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")}})}(y(5439))},9998:function(Te,O,y){!function(f){"use strict";f.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(g){var _=g%10;return g+(1==~~(g%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")},week:{dow:1,doy:4}})}(y(5439))},3391:function(Te,O,y){!function(f){"use strict";f.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(g){var _=g%10;return g+(1==~~(g%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")},week:{dow:1,doy:4}})}(y(5439))},5414:function(Te,O,y){!function(f){"use strict";f.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(g){var _=g%10;return g+(1==~~(g%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")}})}(y(5439))},9615:function(Te,O,y){!function(f){"use strict";f.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(g){var _=g%10;return g+(1==~~(g%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")},week:{dow:0,doy:6}})}(y(5439))},1248:function(Te,O,y){!function(f){"use strict";f.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(g){var _=g%10;return g+(1==~~(g%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")},week:{dow:1,doy:4}})}(y(5439))},3767:function(Te,O,y){!function(f){"use strict";f.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(g){var _=g%10;return g+(1==~~(g%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")},week:{dow:1,doy:4}})}(y(5439))},4530:function(Te,O,y){!function(f){"use strict";f.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(g){return"p"===g.charAt(0).toLowerCase()},meridiem:function(g,_,x){return g>11?x?"p.t.m.":"P.T.M.":x?"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}})}(y(5439))},8944:function(Te,O,y){!function(f){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),g="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),_=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],x=/^(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;f.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(F,A){return F?/-MMM-/.test(A)?g[F.month()]:e[F.month()]:e},monthsRegex:x,monthsShortRegex:x,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:_,longMonthsParse:_,shortMonthsParse:_,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}})}(y(5439))},9116:function(Te,O,y){!function(f){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),g="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),_=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],x=/^(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;f.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(F,A){return F?/-MMM-/.test(A)?g[F.month()]:e[F.month()]:e},monthsRegex:x,monthsShortRegex:x,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:_,longMonthsParse:_,shortMonthsParse:_,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"})}(y(5439))},3609:function(Te,O,y){!function(f){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),g="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),_=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],x=/^(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;f.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(F,A){return F?/-MMM-/.test(A)?g[F.month()]:e[F.month()]:e},monthsRegex:x,monthsShortRegex:x,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:_,longMonthsParse:_,shortMonthsParse:_,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}})}(y(5439))},6866:function(Te,O,y){!function(f){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),g="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),_=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],x=/^(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;f.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(F,A){return F?/-MMM-/.test(A)?g[F.month()]:e[F.month()]:e},monthsRegex:x,monthsShortRegex:x,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:_,longMonthsParse:_,shortMonthsParse:_,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"})}(y(5439))},6725:function(Te,O,y){!function(f){"use strict";function e(_,x,k,F){var A={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[_+"sekundi",_+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[_+" minuti",_+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[_+" tunni",_+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[_+" kuu",_+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[_+" aasta",_+" aastat"]};return x?A[k][2]?A[k][2]:A[k][1]:F?A[k][0]:A[k][1]}f.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:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d p\xe4eva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},7931:function(Te,O,y){!function(f){"use strict";f.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}})}(y(5439))},6417:function(Te,O,y){!function(f){"use strict";var e={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},g={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};f.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(x){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(x)},meridiem:function(x,k,F){return x<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(x){return x.replace(/[\u06f0-\u06f9]/g,function(k){return g[k]}).replace(/\u060c/g,",")},postformat:function(x){return x.replace(/\d/g,function(k){return e[k]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(y(5439))},944:function(Te,O,y){!function(f){"use strict";var e="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),g=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",e[7],e[8],e[9]];function _(F,A,D,P){var U="";switch(D){case"s":return P?"muutaman sekunnin":"muutama sekunti";case"ss":U=P?"sekunnin":"sekuntia";break;case"m":return P?"minuutin":"minuutti";case"mm":U=P?"minuutin":"minuuttia";break;case"h":return P?"tunnin":"tunti";case"hh":U=P?"tunnin":"tuntia";break;case"d":return P?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":U=P?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return P?"kuukauden":"kuukausi";case"MM":U=P?"kuukauden":"kuukautta";break;case"y":return P?"vuoden":"vuosi";case"yy":U=P?"vuoden":"vuotta"}return function x(F,A){return F<10?A?g[F]:e[F]:F}(F,P)+" "+U}f.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:_,ss:_,m:_,mm:_,h:_,hh:_,d:_,dd:_,M:_,MM:_,y:_,yy:_},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},1766:function(Te,O,y){!function(f){"use strict";f.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(g){return g},week:{dow:1,doy:4}})}(y(5439))},5867:function(Te,O,y){!function(f){"use strict";f.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}})}(y(5439))},6848:function(Te,O,y){!function(f){"use strict";f.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(g,_){switch(_){default:case"M":case"Q":case"D":case"DDD":case"d":return g+(1===g?"er":"e");case"w":case"W":return g+(1===g?"re":"e")}}})}(y(5439))},7773:function(Te,O,y){!function(f){"use strict";f.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(g,_){switch(_){default:case"M":case"Q":case"D":case"DDD":case"d":return g+(1===g?"er":"e");case"w":case"W":return g+(1===g?"re":"e")}},week:{dow:1,doy:4}})}(y(5439))},1636:function(Te,O,y){!function(f){"use strict";var _=/(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,x=[/^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];f.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:_,monthsShortRegex:_,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:x,longMonthsParse:x,shortMonthsParse:x,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(F,A){switch(A){case"D":return F+(1===F?"er":"");default:case"M":case"Q":case"DDD":case"d":return F+(1===F?"er":"e");case"w":case"W":return F+(1===F?"re":"e")}},week:{dow:1,doy:4}})}(y(5439))},4940:function(Te,O,y){!function(f){"use strict";var e="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),g="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");f.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(x,k){return x?/-MMM-/.test(k)?g[x.month()]:e[x.month()]:e},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(x){return x+(1===x||8===x||x>=20?"ste":"de")},week:{dow:1,doy:4}})}(y(5439))},1402:function(Te,O,y){!function(f){"use strict";f.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(A){return A+(1===A?"d":A%10==2?"na":"mh")},week:{dow:1,doy:4}})}(y(5439))},6924:function(Te,O,y){!function(f){"use strict";f.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(A){return A+(1===A?"d":A%10==2?"na":"mh")},week:{dow:1,doy:4}})}(y(5439))},6398:function(Te,O,y){!function(f){"use strict";f.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(g){return 0===g.indexOf("un")?"n"+g:"en "+g},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}})}(y(5439))},2457:function(Te,O,y){!function(f){"use strict";function e(_,x,k,F){var A={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:[_+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",_+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[_+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",_+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[_+" \u0935\u0930\u093e\u0902\u0928\u0940",_+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[_+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",_+" \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:[_+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",_+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[_+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",_+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return F?A[k][0]:A[k][1]}f.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:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(_,x){return"D"===x?_+"\u0935\u0947\u0930":_},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(_,x){return 12===_&&(_=0),"\u0930\u093e\u0924\u0940"===x?_<4?_:_+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===x?_:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===x?_>12?_:_+12:"\u0938\u093e\u0902\u091c\u0947"===x?_+12:void 0},meridiem:function(_,x,k){return _<4?"\u0930\u093e\u0924\u0940":_<12?"\u0938\u0915\u093e\u0933\u0940\u0902":_<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":_<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(y(5439))},2545:function(Te,O,y){!function(f){"use strict";function e(_,x,k,F){var A={s:["thoddea sekondamni","thodde sekond"],ss:[_+" sekondamni",_+" sekond"],m:["eka mintan","ek minut"],mm:[_+" mintamni",_+" mintam"],h:["eka voran","ek vor"],hh:[_+" voramni",_+" voram"],d:["eka disan","ek dis"],dd:[_+" disamni",_+" dis"],M:["eka mhoinean","ek mhoino"],MM:[_+" mhoineamni",_+" mhoine"],y:["eka vorsan","ek voros"],yy:[_+" vorsamni",_+" vorsam"]};return F?A[k][0]:A[k][1]}f.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:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(_,x){return"D"===x?_+"er":_},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(_,x){return 12===_&&(_=0),"rati"===x?_<4?_:_+12:"sokallim"===x?_:"donparam"===x?_>12?_:_+12:"sanje"===x?_+12:void 0},meridiem:function(_,x,k){return _<4?"rati":_<12?"sokallim":_<16?"donparam":_<20?"sanje":"rati"}})}(y(5439))},2641:function(Te,O,y){!function(f){"use strict";var e={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},g={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};f.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(x){return x.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(k){return g[k]})},postformat:function(x){return x.replace(/\d/g,function(k){return e[k]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(x,k){return 12===x&&(x=0),"\u0ab0\u0abe\u0aa4"===k?x<4?x:x+12:"\u0ab8\u0ab5\u0abe\u0ab0"===k?x:"\u0aac\u0aaa\u0acb\u0ab0"===k?x>=10?x:x+12:"\u0ab8\u0abe\u0a82\u0a9c"===k?x+12:void 0},meridiem:function(x,k,F){return x<4?"\u0ab0\u0abe\u0aa4":x<10?"\u0ab8\u0ab5\u0abe\u0ab0":x<17?"\u0aac\u0aaa\u0acb\u0ab0":x<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(y(5439))},7536:function(Te,O,y){!function(f){"use strict";f.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(g){return 2===g?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":g+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(g){return 2===g?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":g+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(g){return 2===g?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":g+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(g){return 2===g?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":g%10==0&&10!==g?g+" \u05e9\u05e0\u05d4":g+" \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(g){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(g)},meridiem:function(g,_,x){return g<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":g<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":g<12?x?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":g<18?x?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(y(5439))},6335:function(Te,O,y){!function(f){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},g={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},_=[/^\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];f.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:_,longMonthsParse:_,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(F){return F.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(A){return g[A]})},postformat:function(F){return F.replace(/\d/g,function(A){return e[A]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(F,A){return 12===F&&(F=0),"\u0930\u093e\u0924"===A?F<4?F:F+12:"\u0938\u0941\u092c\u0939"===A?F:"\u0926\u094b\u092a\u0939\u0930"===A?F>=10?F:F+12:"\u0936\u093e\u092e"===A?F+12:void 0},meridiem:function(F,A,D){return F<4?"\u0930\u093e\u0924":F<10?"\u0938\u0941\u092c\u0939":F<17?"\u0926\u094b\u092a\u0939\u0930":F<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(y(5439))},7458:function(Te,O,y){!function(f){"use strict";function e(_,x,k){var F=_+" ";switch(k){case"ss":return F+(1===_?"sekunda":2===_||3===_||4===_?"sekunde":"sekundi");case"m":return x?"jedna minuta":"jedne minute";case"mm":return F+(1===_?"minuta":2===_||3===_||4===_?"minute":"minuta");case"h":return x?"jedan sat":"jednog sata";case"hh":return F+(1===_?"sat":2===_||3===_||4===_?"sata":"sati");case"dd":return F+(1===_?"dan":"dana");case"MM":return F+(1===_?"mjesec":2===_||3===_||4===_?"mjeseca":"mjeseci");case"yy":return F+(1===_?"godina":2===_||3===_||4===_?"godine":"godina")}}f.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:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(y(5439))},6540:function(Te,O,y){!function(f){"use strict";var e="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function g(k,F,A,D){var P=k;switch(A){case"s":return D||F?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return P+(D||F)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(D||F?" perc":" perce");case"mm":return P+(D||F?" perc":" perce");case"h":return"egy"+(D||F?" \xf3ra":" \xf3r\xe1ja");case"hh":return P+(D||F?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(D||F?" nap":" napja");case"dd":return P+(D||F?" nap":" napja");case"M":return"egy"+(D||F?" h\xf3nap":" h\xf3napja");case"MM":return P+(D||F?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(D||F?" \xe9v":" \xe9ve");case"yy":return P+(D||F?" \xe9v":" \xe9ve")}return""}function _(k){return(k?"":"[m\xfalt] ")+"["+e[this.day()]+"] LT[-kor]"}f.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(k){return"u"===k.charAt(1).toLowerCase()},meridiem:function(k,F,A){return k<12?!0===A?"de":"DE":!0===A?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return _.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return _.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%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:4}})}(y(5439))},5283:function(Te,O,y){!function(f){"use strict";f.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(g){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(g)},meridiem:function(g){return g<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":g<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":g<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(g,_){switch(_){case"DDD":case"w":case"W":case"DDDo":return 1===g?g+"-\u056b\u0576":g+"-\u0580\u0564";default:return g}},week:{dow:1,doy:7}})}(y(5439))},8780:function(Te,O,y){!function(f){"use strict";f.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(g,_){return 12===g&&(g=0),"pagi"===_?g:"siang"===_?g>=11?g:g+12:"sore"===_||"malam"===_?g+12:void 0},meridiem:function(g,_,x){return g<11?"pagi":g<15?"siang":g<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}})}(y(5439))},4205:function(Te,O,y){!function(f){"use strict";function e(x){return x%100==11||x%10!=1}function g(x,k,F,A){var D=x+" ";switch(F){case"s":return k||A?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return e(x)?D+(k||A?"sek\xfandur":"sek\xfandum"):D+"sek\xfanda";case"m":return k?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return e(x)?D+(k||A?"m\xedn\xfatur":"m\xedn\xfatum"):k?D+"m\xedn\xfata":D+"m\xedn\xfatu";case"hh":return e(x)?D+(k||A?"klukkustundir":"klukkustundum"):D+"klukkustund";case"d":return k?"dagur":A?"dag":"degi";case"dd":return e(x)?k?D+"dagar":D+(A?"daga":"d\xf6gum"):k?D+"dagur":D+(A?"dag":"degi");case"M":return k?"m\xe1nu\xf0ur":A?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return e(x)?k?D+"m\xe1nu\xf0ir":D+(A?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):k?D+"m\xe1nu\xf0ur":D+(A?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return k||A?"\xe1r":"\xe1ri";case"yy":return e(x)?D+(k||A?"\xe1r":"\xe1rum"):D+(k||A?"\xe1r":"\xe1ri")}}f.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:g,ss:g,m:g,mm:g,h:"klukkustund",hh:g,d:g,dd:g,M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},9985:function(Te,O,y){!function(f){"use strict";f.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(g){return(/^[0-9].+$/.test(g)?"tra":"in")+" "+g},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}})}(y(5439))},4211:function(Te,O,y){!function(f){"use strict";f.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}})}(y(5439))},1003:function(Te,O,y){!function(f){"use strict";f.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(g,_){return"\u5143"===_[1]?1:parseInt(_[1]||g,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(g){return"\u5348\u5f8c"===g},meridiem:function(g,_,x){return g<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(g){return g.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(g){return this.week()!==g.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(g,_){switch(_){case"y":return 1===g?"\u5143\u5e74":g+"\u5e74";case"d":case"D":case"DDD":return g+"\u65e5";default:return g}},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"}})}(y(5439))},420:function(Te,O,y){!function(f){"use strict";f.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(g,_){return 12===g&&(g=0),"enjing"===_?g:"siyang"===_?g>=11?g:g+12:"sonten"===_||"ndalu"===_?g+12:void 0},meridiem:function(g,_,x){return g<11?"enjing":g<15?"siyang":g<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}})}(y(5439))},851:function(Te,O,y){!function(f){"use strict";f.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(g){return g.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(_,x,k){return"\u10d8"===k?x+"\u10e8\u10d8":x+k+"\u10e8\u10d8"})},past:function(g){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(g)?g.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(g)?g.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):g},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(g){return 0===g?g:1===g?g+"-\u10da\u10d8":g<20||g<=100&&g%20==0||g%100==0?"\u10db\u10d4-"+g:g+"-\u10d4"},week:{dow:1,doy:7}})}(y(5439))},6074:function(Te,O,y){!function(f){"use strict";var e={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"};f.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(_){return _+(e[_]||e[_%10]||e[_>=100?100:null])},week:{dow:1,doy:7}})}(y(5439))},3343:function(Te,O,y){!function(f){"use strict";var e={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},g={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};f.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(x){return"\u179b\u17d2\u1784\u17b6\u1785"===x},meridiem:function(x,k,F){return x<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(x){return x.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(k){return g[k]})},postformat:function(x){return x.replace(/\d/g,function(k){return e[k]})},week:{dow:1,doy:4}})}(y(5439))},4799:function(Te,O,y){!function(f){"use strict";var e={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},g={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};f.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(x){return x.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(k){return g[k]})},postformat:function(x){return x.replace(/\d/g,function(k){return e[k]})},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(x,k){return 12===x&&(x=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===k?x<4?x:x+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===k?x:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===k?x>=10?x:x+12:"\u0cb8\u0c82\u0c9c\u0cc6"===k?x+12:void 0},meridiem:function(x,k,F){return x<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":x<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":x<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":x<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(x){return x+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(y(5439))},3549:function(Te,O,y){!function(f){"use strict";f.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(g,_){switch(_){case"d":case"D":case"DDD":return g+"\uc77c";case"M":return g+"\uc6d4";case"w":case"W":return g+"\uc8fc";default:return g}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(g){return"\uc624\ud6c4"===g},meridiem:function(g,_,x){return g<12?"\uc624\uc804":"\uc624\ud6c4"}})}(y(5439))},1037:function(Te,O,y){!function(f){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},g={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},_=["\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"];f.defineLocale("ku",{months:_,monthsShort:_,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(k){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(k)},meridiem:function(k,F,A){return k<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(k){return k.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(F){return g[F]}).replace(/\u060c/g,",")},postformat:function(k){return k.replace(/\d/g,function(F){return e[F]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(y(5439))},3125:function(Te,O,y){!function(f){"use strict";var e={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"};f.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(_){return _+(e[_]||e[_%10]||e[_>=100?100:null])},week:{dow:1,doy:7}})}(y(5439))},9586:function(Te,O,y){!function(f){"use strict";function e(F,A,D,P){var U={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 A?U[D][0]:U[D][1]}function x(F){if(F=parseInt(F,10),isNaN(F))return!1;if(F<0)return!0;if(F<10)return 4<=F&&F<=7;if(F<100){var A=F%10;return x(0===A?F/10:A)}if(F<1e4){for(;F>=10;)F/=10;return x(F)}return x(F/=1e3)}f.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 g(F){return x(F.substr(0,F.indexOf(" ")))?"a "+F:"an "+F},past:function _(F){return x(F.substr(0,F.indexOf(" ")))?"viru "+F:"virun "+F},s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d M\xe9int",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},2349:function(Te,O,y){!function(f){"use strict";f.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(g){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===g},meridiem:function(g,_,x){return g<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(g){return"\u0e97\u0eb5\u0ec8"+g}})}(y(5439))},2400:function(Te,O,y){!function(f){"use strict";var e={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 _(D,P,U,S){return P?k(U)[0]:S?k(U)[1]:k(U)[2]}function x(D){return D%10==0||D>10&&D<20}function k(D){return e[D].split("_")}function F(D,P,U,S){var N=D+" ";return 1===D?N+_(0,P,U[0],S):P?N+(x(D)?k(U)[1]:k(U)[0]):S?N+k(U)[1]:N+(x(D)?k(U)[1]:k(U)[2])}f.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 g(D,P,U,S){return P?"kelios sekund\u0117s":S?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:F,m:_,mm:F,h:_,hh:F,d:_,dd:F,M:_,MM:F,y:_,yy:F},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(D){return D+"-oji"},week:{dow:1,doy:4}})}(y(5439))},9991:function(Te,O,y){!function(f){"use strict";var e={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 g(A,D,P){return P?D%10==1&&D%100!=11?A[2]:A[3]:D%10==1&&D%100!=11?A[0]:A[1]}function _(A,D,P){return A+" "+g(e[P],A,D)}function x(A,D,P){return g(e[P],A,D)}f.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 k(A,D){return D?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:_,m:x,mm:_,h:x,hh:_,d:x,dd:_,M:x,MM:_,y:x,yy:_},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},8477:function(Te,O,y){!function(f){"use strict";var e={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(_,x){return 1===_?x[0]:_>=2&&_<=4?x[1]:x[2]},translate:function(_,x,k){var F=e.words[k];return 1===k.length?x?F[0]:F[1]:_+" "+e.correctGrammaticalCase(_,F)}};f.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:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(y(5439))},5118:function(Te,O,y){!function(f){"use strict";f.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}})}(y(5439))},5943:function(Te,O,y){!function(f){"use strict";f.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(g){var _=g%10,x=g%100;return 0===g?g+"-\u0435\u0432":0===x?g+"-\u0435\u043d":x>10&&x<20?g+"-\u0442\u0438":1===_?g+"-\u0432\u0438":2===_?g+"-\u0440\u0438":7===_||8===_?g+"-\u043c\u0438":g+"-\u0442\u0438"},week:{dow:1,doy:7}})}(y(5439))},3849:function(Te,O,y){!function(f){"use strict";f.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(g,_){return 12===g&&(g=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===_&&g>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===_||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===_?g+12:g},meridiem:function(g,_,x){return g<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":g<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":g<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":g<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(y(5439))},1977:function(Te,O,y){!function(f){"use strict";function e(_,x,k,F){switch(k){case"s":return x?"\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 _+(x?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return _+(x?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return _+(x?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return _+(x?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return _+(x?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return _+(x?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return _}}f.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(_){return"\u04ae\u0425"===_},meridiem:function(_,x,k){return _<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:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(_,x){switch(x){case"d":case"D":case"DDD":return _+" \u04e9\u0434\u04e9\u0440";default:return _}}})}(y(5439))},6184:function(Te,O,y){!function(f){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},g={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function _(k,F,A,D){var P="";if(F)switch(A){case"s":P="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":P="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":P="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":P="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":P="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":P="%d \u0924\u093e\u0938";break;case"d":P="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":P="%d \u0926\u093f\u0935\u0938";break;case"M":P="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":P="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":P="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":P="%d \u0935\u0930\u094d\u0937\u0947"}else switch(A){case"s":P="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":P="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":P="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":P="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":P="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":P="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":P="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":P="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":P="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":P="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":P="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":P="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return P.replace(/%d/i,k)}f.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:_,ss:_,m:_,mm:_,h:_,hh:_,d:_,dd:_,M:_,MM:_,y:_,yy:_},preparse:function(k){return k.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(F){return g[F]})},postformat:function(k){return k.replace(/\d/g,function(F){return e[F]})},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(k,F){return 12===k&&(k=0),"\u092a\u0939\u093e\u091f\u0947"===F||"\u0938\u0915\u093e\u0933\u0940"===F?k:"\u0926\u0941\u092a\u093e\u0930\u0940"===F||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===F||"\u0930\u093e\u0924\u094d\u0930\u0940"===F?k>=12?k:k+12:void 0},meridiem:function(k,F,A){return k>=0&&k<6?"\u092a\u0939\u093e\u091f\u0947":k<12?"\u0938\u0915\u093e\u0933\u0940":k<17?"\u0926\u0941\u092a\u093e\u0930\u0940":k<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(y(5439))},4524:function(Te,O,y){!function(f){"use strict";f.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(g,_){return 12===g&&(g=0),"pagi"===_?g:"tengahari"===_?g>=11?g:g+12:"petang"===_||"malam"===_?g+12:void 0},meridiem:function(g,_,x){return g<11?"pagi":g<15?"tengahari":g<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}})}(y(5439))},485:function(Te,O,y){!function(f){"use strict";f.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(g,_){return 12===g&&(g=0),"pagi"===_?g:"tengahari"===_?g>=11?g:g+12:"petang"===_||"malam"===_?g+12:void 0},meridiem:function(g,_,x){return g<11?"pagi":g<15?"tengahari":g<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}})}(y(5439))},6681:function(Te,O,y){!function(f){"use strict";f.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}})}(y(5439))},2024:function(Te,O,y){!function(f){"use strict";var e={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},g={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};f.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(x){return x.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(k){return g[k]})},postformat:function(x){return x.replace(/\d/g,function(k){return e[k]})},week:{dow:1,doy:4}})}(y(5439))},2688:function(Te,O,y){!function(f){"use strict";f.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}})}(y(5439))},8914:function(Te,O,y){!function(f){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},g={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};f.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(x){return x.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(k){return g[k]})},postformat:function(x){return x.replace(/\d/g,function(k){return e[k]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(x,k){return 12===x&&(x=0),"\u0930\u093e\u0924\u093f"===k?x<4?x:x+12:"\u092c\u093f\u0939\u093e\u0928"===k?x:"\u0926\u093f\u0909\u0901\u0938\u094b"===k?x>=10?x:x+12:"\u0938\u093e\u0901\u091d"===k?x+12:void 0},meridiem:function(x,k,F){return x<3?"\u0930\u093e\u0924\u093f":x<12?"\u092c\u093f\u0939\u093e\u0928":x<16?"\u0926\u093f\u0909\u0901\u0938\u094b":x<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}})}(y(5439))},2272:function(Te,O,y){!function(f){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),g="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),_=[/^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],x=/^(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;f.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(F,A){return F?/-MMM-/.test(A)?g[F.month()]:e[F.month()]:e},monthsRegex:x,monthsShortRegex:x,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:_,longMonthsParse:_,shortMonthsParse:_,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(F){return F+(1===F||8===F||F>=20?"ste":"de")},week:{dow:1,doy:4}})}(y(5439))},1758:function(Te,O,y){!function(f){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),g="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),_=[/^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],x=/^(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;f.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(F,A){return F?/-MMM-/.test(A)?g[F.month()]:e[F.month()]:e},monthsRegex:x,monthsShortRegex:x,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:_,longMonthsParse:_,shortMonthsParse:_,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(F){return F+(1===F||8===F||F>=20?"ste":"de")},week:{dow:1,doy:4}})}(y(5439))},1510:function(Te,O,y){!function(f){"use strict";f.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}})}(y(5439))},2797:function(Te,O,y){!function(f){"use strict";f.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(g,_){var x=1===g?"r":2===g?"n":3===g?"r":4===g?"t":"\xe8";return("w"===_||"W"===_)&&(x="a"),g+x},week:{dow:1,doy:4}})}(y(5439))},7944:function(Te,O,y){!function(f){"use strict";var e={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},g={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};f.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(x){return x.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(k){return g[k]})},postformat:function(x){return x.replace(/\d/g,function(k){return e[k]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(x,k){return 12===x&&(x=0),"\u0a30\u0a3e\u0a24"===k?x<4?x:x+12:"\u0a38\u0a35\u0a47\u0a30"===k?x:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===k?x>=10?x:x+12:"\u0a38\u0a3c\u0a3e\u0a2e"===k?x+12:void 0},meridiem:function(x,k,F){return x<4?"\u0a30\u0a3e\u0a24":x<10?"\u0a38\u0a35\u0a47\u0a30":x<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":x<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(y(5439))},1605:function(Te,O,y){!function(f){"use strict";var e="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),g="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),_=[/^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 x(A){return A%10<5&&A%10>1&&~~(A/10)%10!=1}function k(A,D,P){var U=A+" ";switch(P){case"ss":return U+(x(A)?"sekundy":"sekund");case"m":return D?"minuta":"minut\u0119";case"mm":return U+(x(A)?"minuty":"minut");case"h":return D?"godzina":"godzin\u0119";case"hh":return U+(x(A)?"godziny":"godzin");case"ww":return U+(x(A)?"tygodnie":"tygodni");case"MM":return U+(x(A)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return U+(x(A)?"lata":"lat")}}f.defineLocale("pl",{months:function(A,D){return A?/D MMMM/.test(D)?g[A.month()]:e[A.month()]:e},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:_,longMonthsParse:_,shortMonthsParse:_,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:k,m:k,mm:k,h:k,hh:k,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:k,M:"miesi\u0105c",MM:k,y:"rok",yy:k},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},3840:function(Te,O,y){!function(f){"use strict";f.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"})}(y(5439))},4225:function(Te,O,y){!function(f){"use strict";f.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}})}(y(5439))},5128:function(Te,O,y){!function(f){"use strict";function e(_,x,k){var A=" ";return(_%100>=20||_>=100&&_%100==0)&&(A=" de "),_+A+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[k]}f.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:e,m:"un minut",mm:e,h:"o or\u0103",hh:e,d:"o zi",dd:e,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:e,M:"o lun\u0103",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})}(y(5439))},5127:function(Te,O,y){!function(f){"use strict";function g(k,F,A){return"m"===A?F?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":k+" "+function e(k,F){var A=k.split("_");return F%10==1&&F%100!=11?A[0]:F%10>=2&&F%10<=4&&(F%100<10||F%100>=20)?A[1]:A[2]}({ss:F?"\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:F?"\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"}[A],+k)}var _=[/^\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];f.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:_,longMonthsParse:_,shortMonthsParse:_,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(k){if(k.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(k){if(k.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:g,m:g,mm:g,h:"\u0447\u0430\u0441",hh:g,d:"\u0434\u0435\u043d\u044c",dd:g,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:g,M:"\u043c\u0435\u0441\u044f\u0446",MM:g,y:"\u0433\u043e\u0434",yy:g},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(k){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(k)},meridiem:function(k,F,A){return k<4?"\u043d\u043e\u0447\u0438":k<12?"\u0443\u0442\u0440\u0430":k<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(k,F){switch(F){case"M":case"d":case"DDD":return k+"-\u0439";case"D":return k+"-\u0433\u043e";case"w":case"W":return k+"-\u044f";default:return k}},week:{dow:1,doy:4}})}(y(5439))},2525:function(Te,O,y){!function(f){"use strict";var e=["\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"],g=["\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"];f.defineLocale("sd",{months:e,monthsShort:e,weekdays:g,weekdaysShort:g,weekdaysMin:g,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(x){return"\u0634\u0627\u0645"===x},meridiem:function(x,k,F){return x<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(x){return x.replace(/\u060c/g,",")},postformat:function(x){return x.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(y(5439))},9893:function(Te,O,y){!function(f){"use strict";f.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}})}(y(5439))},3123:function(Te,O,y){!function(f){"use strict";f.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(g){return g+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(g){return"\u0db4.\u0dc0."===g||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===g},meridiem:function(g,_,x){return g>11?x?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":x?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(y(5439))},3027:function(Te,O,y){!function(f){"use strict";var e="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),g="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function _(F){return F>1&&F<5}function x(F,A,D,P){var U=F+" ";switch(D){case"s":return A||P?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return A||P?U+(_(F)?"sekundy":"sek\xfand"):U+"sekundami";case"m":return A?"min\xfata":P?"min\xfatu":"min\xfatou";case"mm":return A||P?U+(_(F)?"min\xfaty":"min\xfat"):U+"min\xfatami";case"h":return A?"hodina":P?"hodinu":"hodinou";case"hh":return A||P?U+(_(F)?"hodiny":"hod\xedn"):U+"hodinami";case"d":return A||P?"de\u0148":"d\u0148om";case"dd":return A||P?U+(_(F)?"dni":"dn\xed"):U+"d\u0148ami";case"M":return A||P?"mesiac":"mesiacom";case"MM":return A||P?U+(_(F)?"mesiace":"mesiacov"):U+"mesiacmi";case"y":return A||P?"rok":"rokom";case"yy":return A||P?U+(_(F)?"roky":"rokov"):U+"rokmi"}}f.defineLocale("sk",{months:e,monthsShort:g,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:x,ss:x,m:x,mm:x,h:x,hh:x,d:x,dd:x,M:x,MM:x,y:x,yy:x},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},8106:function(Te,O,y){!function(f){"use strict";function e(_,x,k,F){var A=_+" ";switch(k){case"s":return x||F?"nekaj sekund":"nekaj sekundami";case"ss":return A+(1===_?x?"sekundo":"sekundi":2===_?x||F?"sekundi":"sekundah":_<5?x||F?"sekunde":"sekundah":"sekund");case"m":return x?"ena minuta":"eno minuto";case"mm":return A+(1===_?x?"minuta":"minuto":2===_?x||F?"minuti":"minutama":_<5?x||F?"minute":"minutami":x||F?"minut":"minutami");case"h":return x?"ena ura":"eno uro";case"hh":return A+(1===_?x?"ura":"uro":2===_?x||F?"uri":"urama":_<5?x||F?"ure":"urami":x||F?"ur":"urami");case"d":return x||F?"en dan":"enim dnem";case"dd":return A+(1===_?x||F?"dan":"dnem":2===_?x||F?"dni":"dnevoma":x||F?"dni":"dnevi");case"M":return x||F?"en mesec":"enim mesecem";case"MM":return A+(1===_?x||F?"mesec":"mesecem":2===_?x||F?"meseca":"mesecema":_<5?x||F?"mesece":"meseci":x||F?"mesecev":"meseci");case"y":return x||F?"eno leto":"enim letom";case"yy":return A+(1===_?x||F?"leto":"letom":2===_?x||F?"leti":"letoma":_<5?x||F?"leta":"leti":x||F?"let":"leti")}}f.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:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(y(5439))},8799:function(Te,O,y){!function(f){"use strict";f.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(g){return"M"===g.charAt(0)},meridiem:function(g,_,x){return g<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}})}(y(5439))},2872:function(Te,O,y){!function(f){"use strict";var e={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(_,x){return _%10>=1&&_%10<=4&&(_%100<10||_%100>=20)?_%10==1?x[0]:x[1]:x[2]},translate:function(_,x,k,F){var D,A=e.words[k];return 1===k.length?"y"===k&&x?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":F||x?A[0]:A[1]:(D=e.correctGrammaticalCase(_,A),"yy"===k&&x&&"\u0433\u043e\u0434\u0438\u043d\u0443"===D?_+" \u0433\u043e\u0434\u0438\u043d\u0430":_+" "+D)}};f.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:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:e.translate,dd:e.translate,M:e.translate,MM:e.translate,y:e.translate,yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(y(5439))},7954:function(Te,O,y){!function(f){"use strict";var e={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(_,x){return _%10>=1&&_%10<=4&&(_%100<10||_%100>=20)?_%10==1?x[0]:x[1]:x[2]},translate:function(_,x,k,F){var D,A=e.words[k];return 1===k.length?"y"===k&&x?"jedna godina":F||x?A[0]:A[1]:(D=e.correctGrammaticalCase(_,A),"yy"===k&&x&&"godinu"===D?_+" godina":_+" "+D)}};f.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:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:e.translate,dd:e.translate,M:e.translate,MM:e.translate,y:e.translate,yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(y(5439))},6167:function(Te,O,y){!function(f){"use strict";f.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(g,_,x){return g<11?"ekuseni":g<15?"emini":g<19?"entsambama":"ebusuku"},meridiemHour:function(g,_){return 12===g&&(g=0),"ekuseni"===_?g:"emini"===_?g>=11?g:g+12:"entsambama"===_||"ebusuku"===_?0===g?0:g+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(y(5439))},9713:function(Te,O,y){!function(f){"use strict";f.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(g){var _=g%10;return g+(1==~~(g%100/10)?":e":1===_||2===_?":a":":e")},week:{dow:1,doy:4}})}(y(5439))},1982:function(Te,O,y){!function(f){"use strict";f.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}})}(y(5439))},2732:function(Te,O,y){!function(f){"use strict";var e={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},g={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};f.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(x){return x+"\u0bb5\u0ba4\u0bc1"},preparse:function(x){return x.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(k){return g[k]})},postformat:function(x){return x.replace(/\d/g,function(k){return e[k]})},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(x,k,F){return x<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":x<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":x<10?" \u0b95\u0bbe\u0bb2\u0bc8":x<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":x<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":x<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(x,k){return 12===x&&(x=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===k?x<2?x:x+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===k||"\u0b95\u0bbe\u0bb2\u0bc8"===k||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===k&&x>=10?x:x+12},week:{dow:0,doy:6}})}(y(5439))},3636:function(Te,O,y){!function(f){"use strict";f.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(g,_){return 12===g&&(g=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===_?g<4?g:g+12:"\u0c09\u0c26\u0c2f\u0c02"===_?g:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===_?g>=10?g:g+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===_?g+12:void 0},meridiem:function(g,_,x){return g<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":g<10?"\u0c09\u0c26\u0c2f\u0c02":g<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":g<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(y(5439))},2115:function(Te,O,y){!function(f){"use strict";f.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(g){var _=g%10;return g+(1==~~(g%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")},week:{dow:1,doy:4}})}(y(5439))},9801:function(Te,O,y){!function(f){"use strict";var e={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"};f.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(_,x){return 12===_&&(_=0),"\u0448\u0430\u0431"===x?_<4?_:_+12:"\u0441\u0443\u0431\u04b3"===x?_:"\u0440\u04ef\u0437"===x?_>=11?_:_+12:"\u0431\u0435\u0433\u043e\u04b3"===x?_+12:void 0},meridiem:function(_,x,k){return _<4?"\u0448\u0430\u0431":_<11?"\u0441\u0443\u0431\u04b3":_<16?"\u0440\u04ef\u0437":_<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(_){return _+(e[_]||e[_%10]||e[_>=100?100:null])},week:{dow:1,doy:7}})}(y(5439))},4486:function(Te,O,y){!function(f){"use strict";f.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(g){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===g},meridiem:function(g,_,x){return g<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"}})}(y(5439))},1310:function(Te,O,y){!function(f){"use strict";var e={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"};f.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(_,x){switch(x){case"d":case"D":case"Do":case"DD":return _;default:if(0===_)return _+"'unjy";var k=_%10;return _+(e[k]||e[_%100-k]||e[_>=100?100:null])}},week:{dow:1,doy:7}})}(y(5439))},2360:function(Te,O,y){!function(f){"use strict";f.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(g){return g},week:{dow:1,doy:4}})}(y(5439))},6645:function(Te,O,y){!function(f){"use strict";var e="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function x(A,D,P,U){var S=function k(A){var D=Math.floor(A%1e3/100),P=Math.floor(A%100/10),U=A%10,S="";return D>0&&(S+=e[D]+"vatlh"),P>0&&(S+=(""!==S?" ":"")+e[P]+"maH"),U>0&&(S+=(""!==S?" ":"")+e[U]),""===S?"pagh":S}(A);switch(P){case"ss":return S+" lup";case"mm":return S+" tup";case"hh":return S+" rep";case"dd":return S+" jaj";case"MM":return S+" jar";case"yy":return S+" DIS"}}f.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 g(A){var D=A;return-1!==A.indexOf("jaj")?D.slice(0,-3)+"leS":-1!==A.indexOf("jar")?D.slice(0,-3)+"waQ":-1!==A.indexOf("DIS")?D.slice(0,-3)+"nem":D+" pIq"},past:function _(A){var D=A;return-1!==A.indexOf("jaj")?D.slice(0,-3)+"Hu\u2019":-1!==A.indexOf("jar")?D.slice(0,-3)+"wen":-1!==A.indexOf("DIS")?D.slice(0,-3)+"ben":D+" ret"},s:"puS lup",ss:x,m:"wa\u2019 tup",mm:x,h:"wa\u2019 rep",hh:x,d:"wa\u2019 jaj",dd:x,M:"wa\u2019 jar",MM:x,y:"wa\u2019 DIS",yy:x},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},8374:function(Te,O,y){!function(f){"use strict";var e={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"};f.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(_,x,k){return _<12?k?"\xf6\xf6":"\xd6\xd6":k?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(_){return"\xf6s"===_||"\xd6S"===_},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(_,x){switch(x){case"d":case"D":case"Do":case"DD":return _;default:if(0===_)return _+"'\u0131nc\u0131";var k=_%10;return _+(e[k]||e[_%100-k]||e[_>=100?100:null])}},week:{dow:1,doy:7}})}(y(5439))},256:function(Te,O,y){!function(f){"use strict";function g(_,x,k,F){var A={s:["viensas secunds","'iensas secunds"],ss:[_+" secunds",_+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[_+" m\xeduts",_+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[_+" \xfeoras",_+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[_+" ziuas",_+" ziuas"],M:["'n mes","'iens mes"],MM:[_+" mesen",_+" mesen"],y:["'n ar","'iens ar"],yy:[_+" ars",_+" ars"]};return F||x?A[k][0]:A[k][1]}f.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(_){return"d'o"===_.toLowerCase()},meridiem:function(_,x,k){return _>11?k?"d'o":"D'O":k?"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: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:4}})}(y(5439))},1631:function(Te,O,y){!function(f){"use strict";f.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}})}(y(5439))},1595:function(Te,O,y){!function(f){"use strict";f.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}})}(y(5439))},6050:function(Te,O,y){!function(f){"use strict";f.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(g,_){return 12===g&&(g=0),"\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"===_?g:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===_||"\u0643\u06d5\u0686"===_?g+12:g>=11?g:g+12},meridiem:function(g,_,x){var k=100*g+_;return k<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":k<900?"\u0633\u06d5\u06be\u06d5\u0631":k<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":k<1230?"\u0686\u06c8\u0634":k<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(g,_){switch(_){case"d":case"D":case"DDD":return g+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return g+"-\u06be\u06d5\u067e\u062a\u06d5";default:return g}},preparse:function(g){return g.replace(/\u060c/g,",")},postformat:function(g){return g.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(y(5439))},5610:function(Te,O,y){!function(f){"use strict";function g(F,A,D){return"m"===D?A?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===D?A?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":F+" "+function e(F,A){var D=F.split("_");return A%10==1&&A%100!=11?D[0]:A%10>=2&&A%10<=4&&(A%100<10||A%100>=20)?D[1]:D[2]}({ss:A?"\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:A?"\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:A?"\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"}[D],+F)}function x(F){return function(){return F+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}f.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 _(F,A){var D={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===F?D.nominative.slice(1,7).concat(D.nominative.slice(0,1)):F?D[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(A)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(A)?"genitive":"nominative"][F.day()]:D.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:x("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:x("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:x("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:x("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return x("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return x("[\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:g,m:g,mm:g,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:g,d:"\u0434\u0435\u043d\u044c",dd:g,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:g,y:"\u0440\u0456\u043a",yy:g},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(F){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(F)},meridiem:function(F,A,D){return F<4?"\u043d\u043e\u0447\u0456":F<12?"\u0440\u0430\u043d\u043a\u0443":F<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(F,A){switch(A){case"M":case"d":case"DDD":case"w":case"W":return F+"-\u0439";case"D":return F+"-\u0433\u043e";default:return F}},week:{dow:1,doy:7}})}(y(5439))},6077:function(Te,O,y){!function(f){"use strict";var e=["\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"],g=["\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"];f.defineLocale("ur",{months:e,monthsShort:e,weekdays:g,weekdaysShort:g,weekdaysMin:g,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(x){return"\u0634\u0627\u0645"===x},meridiem:function(x,k,F){return x<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(x){return x.replace(/\u060c/g,",")},postformat:function(x){return x.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(y(5439))},2207:function(Te,O,y){!function(f){"use strict";f.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}})}(y(5439))},2862:function(Te,O,y){!function(f){"use strict";f.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}})}(y(5439))},8093:function(Te,O,y){!function(f){"use strict";f.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(g){return/^ch$/i.test(g)},meridiem:function(g,_,x){return g<12?x?"sa":"SA":x?"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(g){return g},week:{dow:1,doy:4}})}(y(5439))},5590:function(Te,O,y){!function(f){"use strict";f.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(g){var _=g%10;return g+(1==~~(g%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")},week:{dow:1,doy:4}})}(y(5439))},9058:function(Te,O,y){!function(f){"use strict";f.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}})}(y(5439))},7908:function(Te,O,y){!function(f){"use strict";f.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(g,_){return 12===g&&(g=0),"\u51cc\u6668"===_||"\u65e9\u4e0a"===_||"\u4e0a\u5348"===_?g:"\u4e0b\u5348"===_||"\u665a\u4e0a"===_?g+12:g>=11?g:g+12},meridiem:function(g,_,x){var k=100*g+_;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1130?"\u4e0a\u5348":k<1230?"\u4e2d\u5348":k<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(g){return g.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(g){return this.week()!==g.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(g,_){switch(_){case"d":case"D":case"DDD":return g+"\u65e5";case"M":return g+"\u6708";case"w":case"W":return g+"\u5468";default:return g}},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}})}(y(5439))},8867:function(Te,O,y){!function(f){"use strict";f.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(g,_){return 12===g&&(g=0),"\u51cc\u6668"===_||"\u65e9\u4e0a"===_||"\u4e0a\u5348"===_?g:"\u4e2d\u5348"===_?g>=11?g:g+12:"\u4e0b\u5348"===_||"\u665a\u4e0a"===_?g+12:void 0},meridiem:function(g,_,x){var k=100*g+_;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1200?"\u4e0a\u5348":1200===k?"\u4e2d\u5348":k<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(g,_){switch(_){case"d":case"D":case"DDD":return g+"\u65e5";case"M":return g+"\u6708";case"w":case"W":return g+"\u9031";default:return g}},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"}})}(y(5439))},1133:function(Te,O,y){!function(f){"use strict";f.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(g,_){return 12===g&&(g=0),"\u51cc\u6668"===_||"\u65e9\u4e0a"===_||"\u4e0a\u5348"===_?g:"\u4e2d\u5348"===_?g>=11?g:g+12:"\u4e0b\u5348"===_||"\u665a\u4e0a"===_?g+12:void 0},meridiem:function(g,_,x){var k=100*g+_;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1130?"\u4e0a\u5348":k<1230?"\u4e2d\u5348":k<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(g,_){switch(_){case"d":case"D":case"DDD":return g+"\u65e5";case"M":return g+"\u6708";case"w":case"W":return g+"\u9031";default:return g}},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"}})}(y(5439))},3291:function(Te,O,y){!function(f){"use strict";f.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(g,_){return 12===g&&(g=0),"\u51cc\u6668"===_||"\u65e9\u4e0a"===_||"\u4e0a\u5348"===_?g:"\u4e2d\u5348"===_?g>=11?g:g+12:"\u4e0b\u5348"===_||"\u665a\u4e0a"===_?g+12:void 0},meridiem:function(g,_,x){var k=100*g+_;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1130?"\u4e0a\u5348":k<1230?"\u4e2d\u5348":k<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(g,_){switch(_){case"d":case"D":case"DDD":return g+"\u65e5";case"M":return g+"\u6708";case"w":case"W":return g+"\u9031";default:return g}},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"}})}(y(5439))},5439:function(Te,O,y){(Te=y.nmd(Te)).exports=function(){"use strict";var f,ne;function e(){return f.apply(null,arguments)}function _(E){return E instanceof Array||"[object Array]"===Object.prototype.toString.call(E)}function x(E){return null!=E&&"[object Object]"===Object.prototype.toString.call(E)}function k(E,j){return Object.prototype.hasOwnProperty.call(E,j)}function F(E){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(E).length;var j;for(j in E)if(k(E,j))return!1;return!0}function A(E){return void 0===E}function D(E){return"number"==typeof E||"[object Number]"===Object.prototype.toString.call(E)}function P(E){return E instanceof Date||"[object Date]"===Object.prototype.toString.call(E)}function U(E,j){var De,ge=[],Ve=E.length;for(De=0;De>>0;for(De=0;De0)for(ge=0;ge=0?ge?"+":"":"-")+Math.pow(10,Math.max(0,j-De.length)).toString().substr(1)+De}var Ie=/(\[[^\[]*\])|(\\)?([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,rt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ze={},Ft={};function lt(E,j,ge,De){var Ve=De;"string"==typeof De&&(Ve=function(){return this[De]()}),E&&(Ft[E]=Ve),j&&(Ft[j[0]]=function(){return we(Ve.apply(this,arguments),j[1],j[2])}),ge&&(Ft[ge]=function(){return this.localeData().ordinal(Ve.apply(this,arguments),E)})}function qe(E){return E.match(/\[[\s\S]/)?E.replace(/^\[|\]$/g,""):E.replace(/\\/g,"")}function Ht(E,j){return E.isValid()?(j=ve(j,E.localeData()),Ze[j]=Ze[j]||function ei(E){var ge,De,j=E.match(Ie);for(ge=0,De=j.length;ge=0&&rt.test(E);)E=E.replace(rt,De),rt.lastIndex=0,ge-=1;return E}var kt={};function et(E,j){var ge=E.toLowerCase();kt[ge]=kt[ge+"s"]=kt[j]=E}function Ee(E){return"string"==typeof E?kt[E]||kt[E.toLowerCase()]:void 0}function Xe(E){var ge,De,j={};for(De in E)k(E,De)&&(ge=Ee(De))&&(j[ge]=E[De]);return j}var bt={};function At(E,j){bt[E]=j}function Vt(E){return E%4==0&&E%100!=0||E%400==0}function Qt(E){return E<0?Math.ceil(E)||0:Math.floor(E)}function zt(E){var j=+E,ge=0;return 0!==j&&isFinite(j)&&(ge=Qt(j)),ge}function wi(E,j){return function(ge){return null!=ge?(vi(this,E,ge),e.updateOffset(this,j),this):Di(this,E)}}function Di(E,j){return E.isValid()?E._d["get"+(E._isUTC?"UTC":"")+j]():NaN}function vi(E,j,ge){E.isValid()&&!isNaN(ge)&&("FullYear"===j&&Vt(E.year())&&1===E.month()&&29===E.date()?(ge=zt(ge),E._d["set"+(E._isUTC?"UTC":"")+j](ge,E.month(),si(ge,E.month()))):E._d["set"+(E._isUTC?"UTC":"")+j](ge))}var ot,Dt=/\d/,vt=/\d\d/,Ui=/\d{3}/,Ni=/\d{4}/,un=/[+-]?\d{6}/,mi=/\d\d?/,hn=/\d\d\d\d?/,Mt=/\d\d\d\d\d\d?/,Ce=/\d{1,3}/,oe=/\d{1,4}/,ce=/[+-]?\d{1,6}/,Re=/\d+/,Ue=/[+-]?\d+/,Wt=/Z|[+-]\d\d:?\d\d/gi,pi=/Z|[+-]\d\d(?::?\d\d)?/gi,Ai=/[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 je(E,j,ge){ot[E]=ae(j)?j:function(De,Ve){return De&&ge?ge:j}}function Oe(E,j){return k(ot,E)?ot[E](j._strict,j._locale):new RegExp(function ct(E){return Je(E.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(j,ge,De,Ve,Ot){return ge||De||Ve||Ot}))}(E))}function Je(E){return E.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ot={};var Nt={};function Ke(E,j){var ge,Ve,De=j;for("string"==typeof E&&(E=[E]),D(j)&&(De=function(Ot,ci){ci[j]=zt(Ot)}),Ve=E.length,ge=0;ge68?1900:2e3)};var Li=wi("FullYear",!0);function Jn(E,j,ge,De,Ve,Ot,ci){var fn;return E<100&&E>=0?(fn=new Date(E+400,j,ge,De,Ve,Ot,ci),isFinite(fn.getFullYear())&&fn.setFullYear(E)):fn=new Date(E,j,ge,De,Ve,Ot,ci),fn}function Ut(E){var j,ge;return E<100&&E>=0?((ge=Array.prototype.slice.call(arguments))[0]=E+400,j=new Date(Date.UTC.apply(null,ge)),isFinite(j.getUTCFullYear())&&j.setUTCFullYear(E)):j=new Date(Date.UTC.apply(null,arguments)),j}function tt(E,j,ge){var De=7+j-ge;return-(7+Ut(E,0,De).getUTCDay()-j)%7+De-1}function Ii(E,j,ge,De,Ve){var On,gr,fn=1+7*(j-1)+(7+ge-De)%7+tt(E,De,Ve);return fn<=0?gr=$n(On=E-1)+fn:fn>$n(E)?(On=E+1,gr=fn-$n(E)):(On=E,gr=fn),{year:On,dayOfYear:gr}}function Gn(E,j,ge){var Ot,ci,De=tt(E.year(),j,ge),Ve=Math.floor((E.dayOfYear()-De-1)/7)+1;return Ve<1?Ot=Ve+Wn(ci=E.year()-1,j,ge):Ve>Wn(E.year(),j,ge)?(Ot=Ve-Wn(E.year(),j,ge),ci=E.year()+1):(ci=E.year(),Ot=Ve),{week:Ot,year:ci}}function Wn(E,j,ge){var De=tt(E,j,ge),Ve=tt(E+1,j,ge);return($n(E)-De+Ve)/7}lt("w",["ww",2],"wo","week"),lt("W",["WW",2],"Wo","isoWeek"),et("week","w"),et("isoWeek","W"),At("week",5),At("isoWeek",5),je("w",mi),je("ww",mi,vt),je("W",mi),je("WW",mi,vt),$e(["w","ww","W","WW"],function(E,j,ge,De){j[De.substr(0,1)]=zt(E)});function Ra(E,j){return E.slice(j,7).concat(E.slice(0,j))}lt("d",0,"do","day"),lt("dd",0,0,function(E){return this.localeData().weekdaysMin(this,E)}),lt("ddd",0,0,function(E){return this.localeData().weekdaysShort(this,E)}),lt("dddd",0,0,function(E){return this.localeData().weekdays(this,E)}),lt("e",0,0,"weekday"),lt("E",0,0,"isoWeekday"),et("day","d"),et("weekday","e"),et("isoWeekday","E"),At("day",11),At("weekday",11),At("isoWeekday",11),je("d",mi),je("e",mi),je("E",mi),je("dd",function(E,j){return j.weekdaysMinRegex(E)}),je("ddd",function(E,j){return j.weekdaysShortRegex(E)}),je("dddd",function(E,j){return j.weekdaysRegex(E)}),$e(["dd","ddd","dddd"],function(E,j,ge,De){var Ve=ge._locale.weekdaysParse(E,De,ge._strict);null!=Ve?j.d=Ve:Z(ge).invalidWeekday=E}),$e(["d","e","E"],function(E,j,ge,De){j[De]=zt(E)});var Pa="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Tr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Go="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Cr=Ai,tr=Ai,zi=Ai;function Ba(E,j,ge){var De,Ve,Ot,ci=E.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],De=0;De<7;++De)Ot=N([2e3,1]).day(De),this._minWeekdaysParse[De]=this.weekdaysMin(Ot,"").toLocaleLowerCase(),this._shortWeekdaysParse[De]=this.weekdaysShort(Ot,"").toLocaleLowerCase(),this._weekdaysParse[De]=this.weekdays(Ot,"").toLocaleLowerCase();return ge?"dddd"===j?-1!==(Ve=kn.call(this._weekdaysParse,ci))?Ve:null:"ddd"===j?-1!==(Ve=kn.call(this._shortWeekdaysParse,ci))?Ve:null:-1!==(Ve=kn.call(this._minWeekdaysParse,ci))?Ve:null:"dddd"===j?-1!==(Ve=kn.call(this._weekdaysParse,ci))||-1!==(Ve=kn.call(this._shortWeekdaysParse,ci))||-1!==(Ve=kn.call(this._minWeekdaysParse,ci))?Ve:null:"ddd"===j?-1!==(Ve=kn.call(this._shortWeekdaysParse,ci))||-1!==(Ve=kn.call(this._weekdaysParse,ci))||-1!==(Ve=kn.call(this._minWeekdaysParse,ci))?Ve:null:-1!==(Ve=kn.call(this._minWeekdaysParse,ci))||-1!==(Ve=kn.call(this._weekdaysParse,ci))||-1!==(Ve=kn.call(this._shortWeekdaysParse,ci))?Ve:null}function Eo(){function E(Xa,is){return is.length-Xa.length}var Ot,ci,fn,On,gr,j=[],ge=[],De=[],Ve=[];for(Ot=0;Ot<7;Ot++)ci=N([2e3,1]).day(Ot),fn=Je(this.weekdaysMin(ci,"")),On=Je(this.weekdaysShort(ci,"")),gr=Je(this.weekdays(ci,"")),j.push(fn),ge.push(On),De.push(gr),Ve.push(fn),Ve.push(On),Ve.push(gr);j.sort(E),ge.sort(E),De.sort(E),Ve.sort(E),this._weekdaysRegex=new RegExp("^("+Ve.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+De.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+ge.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+j.join("|")+")","i")}function io(){return this.hours()%12||12}function hr(E,j){lt(E,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),j)})}function Uo(E,j){return j._meridiemParse}lt("H",["HH",2],0,"hour"),lt("h",["hh",2],0,io),lt("k",["kk",2],0,function xo(){return this.hours()||24}),lt("hmm",0,0,function(){return""+io.apply(this)+we(this.minutes(),2)}),lt("hmmss",0,0,function(){return""+io.apply(this)+we(this.minutes(),2)+we(this.seconds(),2)}),lt("Hmm",0,0,function(){return""+this.hours()+we(this.minutes(),2)}),lt("Hmmss",0,0,function(){return""+this.hours()+we(this.minutes(),2)+we(this.seconds(),2)}),hr("a",!0),hr("A",!1),et("hour","h"),At("hour",13),je("a",Uo),je("A",Uo),je("H",mi),je("h",mi),je("k",mi),je("HH",mi,vt),je("hh",mi,vt),je("kk",mi,vt),je("hmm",hn),je("hmmss",Mt),je("Hmm",hn),je("Hmmss",Mt),Ke(["H","HH"],ui),Ke(["k","kk"],function(E,j,ge){var De=zt(E);j[ui]=24===De?0:De}),Ke(["a","A"],function(E,j,ge){ge._isPm=ge._locale.isPM(E),ge._meridiem=E}),Ke(["h","hh"],function(E,j,ge){j[ui]=zt(E),Z(ge).bigHour=!0}),Ke("hmm",function(E,j,ge){var De=E.length-2;j[ui]=zt(E.substr(0,De)),j[Ei]=zt(E.substr(De)),Z(ge).bigHour=!0}),Ke("hmmss",function(E,j,ge){var De=E.length-4,Ve=E.length-2;j[ui]=zt(E.substr(0,De)),j[Ei]=zt(E.substr(De,2)),j[Vi]=zt(E.substr(Ve)),Z(ge).bigHour=!0}),Ke("Hmm",function(E,j,ge){var De=E.length-2;j[ui]=zt(E.substr(0,De)),j[Ei]=zt(E.substr(De))}),Ke("Hmmss",function(E,j,ge){var De=E.length-4,Ve=E.length-2;j[ui]=zt(E.substr(0,De)),j[Ei]=zt(E.substr(De,2)),j[Vi]=zt(E.substr(Ve))});var Qa=wi("Hours",!0);var cr,Ja={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:xn,monthsShort:en,week:{dow:0,doy:6},weekdays:Pa,weekdaysMin:Go,weekdaysShort:Tr,meridiemParse:/[ap]\.?m?\.?/i},an={},Ur={};function jr(E,j){var ge,De=Math.min(E.length,j.length);for(ge=0;ge0;){if(Ve=dr(Ot.slice(0,ge).join("-")))return Ve;if(De&&De.length>=ge&&jr(Ot,De)>=ge-1)break;ge--}j++}return cr}(E)}function Ya(E){var j,ge=E._a;return ge&&-2===Z(E).overflow&&(j=ge[Pt]<0||ge[Pt]>11?Pt:ge[ti]<1||ge[ti]>si(ge[gt],ge[Pt])?ti:ge[ui]<0||ge[ui]>24||24===ge[ui]&&(0!==ge[Ei]||0!==ge[Vi]||0!==ge[mn])?ui:ge[Ei]<0||ge[Ei]>59?Ei:ge[Vi]<0||ge[Vi]>59?Vi:ge[mn]<0||ge[mn]>999?mn:-1,Z(E)._overflowDayOfYear&&(jti)&&(j=ti),Z(E)._overflowWeeks&&-1===j&&(j=An),Z(E)._overflowWeekday&&-1===j&&(j=Yr),Z(E).overflow=j),E}var Rn=/^\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)?)?$/,Qr=/^\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=/Z|[+-]\d\d(?::?\d\d)?/,Dn=[["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]],fa=[["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/]],Mn=/^\/?Date\((-?\d+)/i,Yi=/^(?:(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}))$/,Wo={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function qn(E){var j,ge,Ot,ci,fn,On,De=E._i,Ve=Rn.exec(De)||Qr.exec(De),gr=Dn.length,Xa=fa.length;if(Ve){for(Z(E).iso=!0,j=0,ge=gr;j7)&&(On=!0)):(Ot=E._locale._week.dow,ci=E._locale._week.doy,gr=Gn(ji(),Ot,ci),ge=ia(j.gg,E._a[gt],gr.year),De=ia(j.w,gr.week),null!=j.d?((Ve=j.d)<0||Ve>6)&&(On=!0):null!=j.e?(Ve=j.e+Ot,(j.e<0||j.e>6)&&(On=!0)):Ve=Ot),De<1||De>Wn(ge,Ot,ci)?Z(E)._overflowWeeks=!0:null!=On?Z(E)._overflowWeekday=!0:(fn=Ii(ge,De,Ve,Ot,ci),E._a[gt]=fn.year,E._dayOfYear=fn.dayOfYear)}(E),null!=E._dayOfYear&&(ci=ia(E._a[gt],Ve[gt]),(E._dayOfYear>$n(ci)||0===E._dayOfYear)&&(Z(E)._overflowDayOfYear=!0),ge=Ut(ci,0,E._dayOfYear),E._a[Pt]=ge.getUTCMonth(),E._a[ti]=ge.getUTCDate()),j=0;j<3&&null==E._a[j];++j)E._a[j]=De[j]=Ve[j];for(;j<7;j++)E._a[j]=De[j]=null==E._a[j]?2===j?1:0:E._a[j];24===E._a[ui]&&0===E._a[Ei]&&0===E._a[Vi]&&0===E._a[mn]&&(E._nextDay=!0,E._a[ui]=0),E._d=(E._useUTC?Ut:Jn).apply(null,De),Ot=E._useUTC?E._d.getUTCDay():E._d.getDay(),null!=E._tzm&&E._d.setUTCMinutes(E._d.getUTCMinutes()-E._tzm),E._nextDay&&(E._a[ui]=24),E._w&&typeof E._w.d<"u"&&E._w.d!==Ot&&(Z(E).weekdayMismatch=!0)}}function it(E){if(E._f!==e.ISO_8601)if(E._f!==e.RFC_2822){E._a=[],Z(E).empty=!0;var ge,De,Ve,Ot,ci,gr,Xa,j=""+E._i,fn=j.length,On=0;for(Xa=(Ve=ve(E._f,E._locale).match(Ie)||[]).length,ge=0;ge0&&Z(E).unusedInput.push(ci),j=j.slice(j.indexOf(De)+De.length),On+=De.length),Ft[Ot]?(De?Z(E).empty=!1:Z(E).unusedTokens.push(Ot),Ne(Ot,De,E)):E._strict&&!De&&Z(E).unusedTokens.push(Ot);Z(E).charsLeftOver=fn-On,j.length>0&&Z(E).unusedInput.push(j),E._a[ui]<=12&&!0===Z(E).bigHour&&E._a[ui]>0&&(Z(E).bigHour=void 0),Z(E).parsedDateParts=E._a.slice(0),Z(E).meridiem=E._meridiem,E._a[ui]=function ut(E,j,ge){var De;return null==ge?j:null!=E.meridiemHour?E.meridiemHour(j,ge):(null!=E.isPM&&((De=E.isPM(ge))&&j<12&&(j+=12),!De&&12===j&&(j=0)),j)}(E._locale,E._a[ui],E._meridiem),null!==(gr=Z(E).era)&&(E._a[gt]=E._locale.erasConvertYear(gr,E._a[gt])),Co(E),Ya(E)}else Ca(E);else qn(E)}function ln(E){var j=E._i,ge=E._f;return E._locale=E._locale||Vr(E._l),null===j||void 0===ge&&""===j?z({nullInput:!0}):("string"==typeof j&&(E._i=j=E._locale.preparse(j)),X(j)?new Y(Ya(j)):(P(j)?E._d=j:_(ge)?function ft(E){var j,ge,De,Ve,Ot,ci,fn=!1,On=E._f.length;if(0===On)return Z(E).invalidFormat=!0,void(E._d=new Date(NaN));for(Ve=0;Vethis?this:E:z()});function Nr(E,j){var ge,De;if(1===j.length&&_(j[0])&&(j=j[0]),!j.length)return ji();for(ge=j[0],De=1;De=0?new Date(E+400,j,ge)-yr:new Date(E,j,ge).valueOf()}function Ka(E,j,ge){return E<100&&E>=0?Date.UTC(E+400,j,ge)-yr:Date.UTC(E,j,ge)}function Fs(E,j){return j.erasAbbrRegex(E)}function jo(){var Ve,Ot,E=[],j=[],ge=[],De=[],ci=this.eras();for(Ve=0,Ot=ci.length;Ve(Ot=Wn(E,De,Ve))&&(j=Ot),zh.call(this,E,j,ge,De,Ve))}function zh(E,j,ge,De,Ve){var Ot=Ii(E,j,ge,De,Ve),ci=Ut(Ot.year,0,Ot.dayOfYear);return this.year(ci.getUTCFullYear()),this.month(ci.getUTCMonth()),this.date(ci.getUTCDate()),this}lt("N",0,0,"eraAbbr"),lt("NN",0,0,"eraAbbr"),lt("NNN",0,0,"eraAbbr"),lt("NNNN",0,0,"eraName"),lt("NNNNN",0,0,"eraNarrow"),lt("y",["y",1],"yo","eraYear"),lt("y",["yy",2],0,"eraYear"),lt("y",["yyy",3],0,"eraYear"),lt("y",["yyyy",4],0,"eraYear"),je("N",Fs),je("NN",Fs),je("NNN",Fs),je("NNNN",function vd(E,j){return j.erasNameRegex(E)}),je("NNNNN",function xl(E,j){return j.erasNarrowRegex(E)}),Ke(["N","NN","NNN","NNNN","NNNNN"],function(E,j,ge,De){var Ve=ge._locale.erasParse(E,De,ge._strict);Ve?Z(ge).era=Ve:Z(ge).invalidEra=E}),je("y",Re),je("yy",Re),je("yyy",Re),je("yyyy",Re),je("yo",function Lr(E,j){return j._eraYearOrdinalRegex||Re}),Ke(["y","yy","yyy","yyyy"],gt),Ke(["yo"],function(E,j,ge,De){var Ve;ge._locale._eraYearOrdinalRegex&&(Ve=E.match(ge._locale._eraYearOrdinalRegex)),j[gt]=ge._locale.eraYearOrdinalParse?ge._locale.eraYearOrdinalParse(E,Ve):parseInt(E,10)}),lt(0,["gg",2],0,function(){return this.weekYear()%100}),lt(0,["GG",2],0,function(){return this.isoWeekYear()%100}),$s("gggg","weekYear"),$s("ggggg","weekYear"),$s("GGGG","isoWeekYear"),$s("GGGGG","isoWeekYear"),et("weekYear","gg"),et("isoWeekYear","GG"),At("weekYear",1),At("isoWeekYear",1),je("G",Ue),je("g",Ue),je("GG",mi,vt),je("gg",mi,vt),je("GGGG",oe,Ni),je("gggg",oe,Ni),je("GGGGG",ce,un),je("ggggg",ce,un),$e(["gggg","ggggg","GGGG","GGGGG"],function(E,j,ge,De){j[De.substr(0,2)]=zt(E)}),$e(["gg","GG"],function(E,j,ge,De){j[De]=e.parseTwoDigitYear(E)}),lt("Q",0,"Qo","quarter"),et("quarter","Q"),At("quarter",7),je("Q",Dt),Ke("Q",function(E,j){j[Pt]=3*(zt(E)-1)}),lt("D",["DD",2],"Do","date"),et("date","D"),At("date",9),je("D",mi),je("DD",mi,vt),je("Do",function(E,j){return E?j._dayOfMonthOrdinalParse||j._ordinalParse:j._dayOfMonthOrdinalParseLenient}),Ke(["D","DD"],ti),Ke("Do",function(E,j){j[ti]=zt(E.match(mi)[0])});var Gh=wi("Date",!0);lt("DDD",["DDDD",3],"DDDo","dayOfYear"),et("dayOfYear","DDD"),At("dayOfYear",4),je("DDD",Ce),je("DDDD",Ui),Ke(["DDD","DDDD"],function(E,j,ge){ge._dayOfYear=zt(E)}),lt("m",["mm",2],0,"minute"),et("minute","m"),At("minute",14),je("m",mi),je("mm",mi,vt),Ke(["m","mm"],Ei);var Fd=wi("Minutes",!1);lt("s",["ss",2],0,"second"),et("second","s"),At("second",15),je("s",mi),je("ss",mi,vt),Ke(["s","ss"],Vi);var es,Ec,el=wi("Seconds",!1);for(lt("S",0,0,function(){return~~(this.millisecond()/100)}),lt(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),lt(0,["SSS",3],0,"millisecond"),lt(0,["SSSS",4],0,function(){return 10*this.millisecond()}),lt(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),lt(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),lt(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),lt(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),lt(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),et("millisecond","ms"),At("millisecond",16),je("S",Ce,Dt),je("SS",Ce,vt),je("SSS",Ce,Ui),es="SSSS";es.length<=9;es+="S")je(es,Re);function da(E,j){j[mn]=zt(1e3*("0."+E))}for(es="S";es.length<=9;es+="S")Ke(es,da);Ec=wi("Milliseconds",!1),lt("z",0,0,"zoneAbbr"),lt("zz",0,0,"zoneName");var ki=Y.prototype;function Vo(E){return E}ki.add=Dr,ki.calendar=function Me(E,j){1===arguments.length&&(arguments[0]?Zl(arguments[0])?(E=arguments[0],j=void 0):function xs(E){var Ve,j=x(E)&&!F(E),ge=!1,De=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(Ve=0;Vege.valueOf():ge.valueOf()9999?Ht(ge,j?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ae(Date.prototype.toISOString)?j?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Ht(ge,"Z")):Ht(ge,j?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ki.inspect=function Xn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var ge,De,E="moment",j="";return this.isLocal()||(E=0===this.utcOffset()?"moment.utc":"moment.parseZone",j="Z"),ge="["+E+'("]',De=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(ge+De+"-MM-DD[T]HH:mm:ss.SSS"+j+'[")]')},typeof Symbol<"u"&&null!=Symbol.for&&(ki[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ki.toJSON=function wl(){return this.isValid()?this.toISOString():null},ki.toString=function jn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ki.unix=function Gl(){return Math.floor(this.valueOf()/1e3)},ki.valueOf=function Fc(){return this._d.valueOf()-6e4*(this._offset||0)},ki.creationData=function Vh(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ki.eraName=function ja(){var E,j,ge,De=this.localeData().eras();for(E=0,j=De.length;Ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ki.isLocal=function $t(){return!!this.isValid()&&!this._isUTC},ki.isUtcOffset=function bi(){return!!this.isValid()&&this._isUTC},ki.isUtc=Mi,ki.isUTC=Mi,ki.zoneAbbr=function Tc(){return this._isUTC?"UTC":""},ki.zoneName=function Cs(){return this._isUTC?"Coordinated Universal Time":""},ki.dates=te("dates accessor is deprecated. Use date instead.",Gh),ki.months=te("months accessor is deprecated. Use month instead",gn),ki.years=te("years accessor is deprecated. Use year instead",Li),ki.zone=te("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function he(E,j){return null!=E?("string"!=typeof E&&(E=-E),this.utcOffset(E,j),this):-this.utcOffset()}),ki.isDSTShifted=te("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function jt(){if(!A(this._isDSTShifted))return this._isDSTShifted;var j,E={};return $(E,this),(E=ln(E))._a?(j=E._isUTC?N(E._a):ji(E._a),this._isDSTShifted=this.isValid()&&function h(E,j,ge){var ci,De=Math.min(E.length,j.length),Ve=Math.abs(E.length-j.length),Ot=0;for(ci=0;ci0):this._isDSTShifted=!1,this._isDSTShifted});var H=Ye.prototype;function Q(E,j,ge,De){var Ve=Vr(),Ot=N().set(De,j);return Ve[ge](Ot,E)}function R(E,j,ge){if(D(E)&&(j=E,E=void 0),E=E||"",null!=j)return Q(E,j,ge,"month");var De,Ve=[];for(De=0;De<12;De++)Ve[De]=Q(E,De,ge,"month");return Ve}function se(E,j,ge,De){"boolean"==typeof E?(D(j)&&(ge=j,j=void 0),j=j||""):(ge=j=E,E=!1,D(j)&&(ge=j,j=void 0),j=j||"");var ci,Ve=Vr(),Ot=E?Ve._week.dow:0,fn=[];if(null!=ge)return Q(j,(ge+Ot)%7,De,"day");for(ci=0;ci<7;ci++)fn[ci]=Q(j,(ci+Ot)%7,De,"day");return fn}H.calendar=function nt(E,j,ge){var De=this._calendar[E]||this._calendar.sameElse;return ae(De)?De.call(j,ge):De},H.longDateFormat=function Jt(E){var j=this._longDateFormat[E],ge=this._longDateFormat[E.toUpperCase()];return j||!ge?j:(this._longDateFormat[E]=ge.match(Ie).map(function(De){return"MMMM"===De||"MM"===De||"DD"===De||"dddd"===De?De.slice(1):De}).join(""),this._longDateFormat[E])},H.invalidDate=function Ct(){return this._invalidDate},H.ordinal=function _t(E){return this._ordinal.replace("%d",E)},H.preparse=Vo,H.postformat=Vo,H.relativeTime=function ze(E,j,ge,De){var Ve=this._relativeTime[ge];return ae(Ve)?Ve(E,j,ge,De):Ve.replace(/%d/i,E)},H.pastFuture=function pt(E,j){var ge=this._relativeTime[E>0?"future":"past"];return ae(ge)?ge(j):ge.replace(/%s/i,j)},H.set=function ke(E){var j,ge;for(ge in E)k(E,ge)&&(ae(j=E[ge])?this[ge]=j:this["_"+ge]=j);this._config=E,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},H.eras=function Ks(E,j){var ge,De,Ve,Ot=this._eras||Vr("en")._eras;for(ge=0,De=Ot.length;ge=0)return Ot[De]},H.erasConvertYear=function bd(E,j){var ge=E.since<=E.until?1:-1;return void 0===j?e(E.since).year():e(E.since).year()+(j-E.offset)*ge},H.erasAbbrRegex=function $o(E){return k(this,"_erasAbbrRegex")||jo.call(this),E?this._erasAbbrRegex:this._erasRegex},H.erasNameRegex=function Dc(E){return k(this,"_erasNameRegex")||jo.call(this),E?this._erasNameRegex:this._erasRegex},H.erasNarrowRegex=function ql(E){return k(this,"_erasNarrowRegex")||jo.call(this),E?this._erasNarrowRegex:this._erasRegex},H.months=function bn(E,j){return E?_(this._months)?this._months[E.month()]:this._months[(this._months.isFormat||er).test(j)?"format":"standalone"][E.month()]:_(this._months)?this._months:this._months.standalone},H.monthsShort=function fi(E,j){return E?_(this._monthsShort)?this._monthsShort[E.month()]:this._monthsShort[er.test(j)?"format":"standalone"][E.month()]:_(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},H.monthsParse=function zn(E,j,ge){var De,Ve,Ot;if(this._monthsParseExact)return on.call(this,E,j,ge);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),De=0;De<12;De++){if(Ve=N([2e3,De]),ge&&!this._longMonthsParse[De]&&(this._longMonthsParse[De]=new RegExp("^"+this.months(Ve,"").replace(".","")+"$","i"),this._shortMonthsParse[De]=new RegExp("^"+this.monthsShort(Ve,"").replace(".","")+"$","i")),!ge&&!this._monthsParse[De]&&(Ot="^"+this.months(Ve,"")+"|^"+this.monthsShort(Ve,""),this._monthsParse[De]=new RegExp(Ot.replace(".",""),"i")),ge&&"MMMM"===j&&this._longMonthsParse[De].test(E))return De;if(ge&&"MMM"===j&&this._shortMonthsParse[De].test(E))return De;if(!ge&&this._monthsParse[De].test(E))return De}},H.monthsRegex=function Zi(E){return this._monthsParseExact?(k(this,"_monthsRegex")||tn.call(this),E?this._monthsStrictRegex:this._monthsRegex):(k(this,"_monthsRegex")||(this._monthsRegex=Ki),this._monthsStrictRegex&&E?this._monthsStrictRegex:this._monthsRegex)},H.monthsShortRegex=function Fr(E){return this._monthsParseExact?(k(this,"_monthsRegex")||tn.call(this),E?this._monthsShortStrictRegex:this._monthsShortRegex):(k(this,"_monthsShortRegex")||(this._monthsShortRegex=Wa),this._monthsShortStrictRegex&&E?this._monthsShortStrictRegex:this._monthsShortRegex)},H.week=function aa(E){return Gn(E,this._week.dow,this._week.doy).week},H.firstDayOfYear=function Ri(){return this._week.doy},H.firstDayOfWeek=function _r(){return this._week.dow},H.weekdays=function mo(E,j){var ge=_(this._weekdays)?this._weekdays:this._weekdays[E&&!0!==E&&this._weekdays.isFormat.test(j)?"format":"standalone"];return!0===E?Ra(ge,this._week.dow):E?ge[E.day()]:ge},H.weekdaysMin=function Nn(E){return!0===E?Ra(this._weekdaysMin,this._week.dow):E?this._weekdaysMin[E.day()]:this._weekdaysMin},H.weekdaysShort=function Xi(E){return!0===E?Ra(this._weekdaysShort,this._week.dow):E?this._weekdaysShort[E.day()]:this._weekdaysShort},H.weekdaysParse=function Yo(E,j,ge){var De,Ve,Ot;if(this._weekdaysParseExact)return Ba.call(this,E,j,ge);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),De=0;De<7;De++){if(Ve=N([2e3,1]).day(De),ge&&!this._fullWeekdaysParse[De]&&(this._fullWeekdaysParse[De]=new RegExp("^"+this.weekdays(Ve,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[De]=new RegExp("^"+this.weekdaysShort(Ve,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[De]=new RegExp("^"+this.weekdaysMin(Ve,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[De]||(Ot="^"+this.weekdays(Ve,"")+"|^"+this.weekdaysShort(Ve,"")+"|^"+this.weekdaysMin(Ve,""),this._weekdaysParse[De]=new RegExp(Ot.replace(".",""),"i")),ge&&"dddd"===j&&this._fullWeekdaysParse[De].test(E))return De;if(ge&&"ddd"===j&&this._shortWeekdaysParse[De].test(E))return De;if(ge&&"dd"===j&&this._minWeekdaysParse[De].test(E))return De;if(!ge&&this._weekdaysParse[De].test(E))return De}},H.weekdaysRegex=function wo(E){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Eo.call(this),E?this._weekdaysStrictRegex:this._weekdaysRegex):(k(this,"_weekdaysRegex")||(this._weekdaysRegex=Cr),this._weekdaysStrictRegex&&E?this._weekdaysStrictRegex:this._weekdaysRegex)},H.weekdaysShortRegex=function Ho(E){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Eo.call(this),E?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(k(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tr),this._weekdaysShortStrictRegex&&E?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},H.weekdaysMinRegex=function qa(E){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Eo.call(this),E?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(k(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=zi),this._weekdaysMinStrictRegex&&E?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},H.isPM=function wa(E){return"p"===(E+"").toLowerCase().charAt(0)},H.meridiem=function To(E,j,ge){return E>11?ge?"pm":"PM":ge?"am":"AM"},xa("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(E){var j=E%10;return E+(1===zt(E%100/10)?"th":1===j?"st":2===j?"nd":3===j?"rd":"th")}}),e.lang=te("moment.lang is deprecated. Use moment.locale instead.",xa),e.langData=te("moment.langData is deprecated. Use moment.localeData instead.",Vr);var Oi=Math.abs;function Pi(E,j,ge,De){var Ve=cn(j,ge);return E._milliseconds+=De*Ve._milliseconds,E._days+=De*Ve._days,E._months+=De*Ve._months,E._bubble()}function na(E){return E<0?Math.floor(E):Math.ceil(E)}function $a(E){return 4800*E/146097}function tl(E){return 146097*E/4800}function oo(E){return function(){return this.as(E)}}var Wh=oo("ms"),il=oo("s"),Cd=oo("m"),qh=oo("h"),Fl=oo("d"),ts=oo("w"),Qh=oo("M"),Jh=oo("Q"),Kh=oo("y");function nl(E){return function(){return this.isValid()?this._data[E]:NaN}}var Au=nl("milliseconds"),$h=nl("seconds"),Ac=nl("minutes"),Q_=nl("hours"),Sc=nl("days"),Yf=nl("months"),Ic=nl("years");var Ms=Math.round,ms={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Xh(E,j,ge,De,Ve){return Ve.relativeTime(j||1,!!ge,E,De)}var Su=Math.abs;function Es(E){return(E>0)-(E<0)||+E}function Kl(){if(!this.isValid())return this.localeData().invalidDate();var De,Ve,Ot,ci,On,gr,Xa,is,E=Su(this._milliseconds)/1e3,j=Su(this._days),ge=Su(this._months),fn=this.asSeconds();return fn?(De=Qt(E/60),Ve=Qt(De/60),E%=60,De%=60,Ot=Qt(ge/12),ge%=12,ci=E?E.toFixed(3).replace(/\.?0+$/,""):"",On=fn<0?"-":"",gr=Es(this._months)!==Es(fn)?"-":"",Xa=Es(this._days)!==Es(fn)?"-":"",is=Es(this._milliseconds)!==Es(fn)?"-":"",On+"P"+(Ot?gr+Ot+"Y":"")+(ge?gr+ge+"M":"")+(j?Xa+j+"D":"")+(Ve||De||E?"T":"")+(Ve?is+Ve+"H":"")+(De?is+De+"M":"")+(E?is+ci+"S":"")):"P0D"}var or=K.prototype;return or.isValid=function Hn(){return this._isValid},or.abs=function Fi(){var E=this._data;return this._milliseconds=Oi(this._milliseconds),this._days=Oi(this._days),this._months=Oi(this._months),E.milliseconds=Oi(E.milliseconds),E.seconds=Oi(E.seconds),E.minutes=Oi(E.minutes),E.hours=Oi(E.hours),E.months=Oi(E.months),E.years=Oi(E.years),this},or.add=function vr(E,j){return Pi(this,E,j,1)},or.subtract=function Ar(E,j){return Pi(this,E,j,-1)},or.as=function rr(E){if(!this.isValid())return NaN;var j,ge,De=this._milliseconds;if("month"===(E=Ee(E))||"quarter"===E||"year"===E)switch(j=this._days+De/864e5,ge=this._months+$a(j),E){case"month":return ge;case"quarter":return ge/3;case"year":return ge/12}else switch(j=this._days+Math.round(tl(this._months)),E){case"week":return j/7+De/6048e5;case"day":return j+De/864e5;case"hour":return 24*j+De/36e5;case"minute":return 1440*j+De/6e4;case"second":return 86400*j+De/1e3;case"millisecond":return Math.floor(864e5*j)+De;default:throw new Error("Unknown unit "+E)}},or.asMilliseconds=Wh,or.asSeconds=il,or.asMinutes=Cd,or.asHours=qh,or.asDays=Fl,or.asWeeks=ts,or.asMonths=Qh,or.asQuarters=Jh,or.asYears=Kh,or.valueOf=function Ds(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*zt(this._months/12):NaN},or._bubble=function pa(){var Ve,Ot,ci,fn,On,E=this._milliseconds,j=this._days,ge=this._months,De=this._data;return E>=0&&j>=0&&ge>=0||E<=0&&j<=0&&ge<=0||(E+=864e5*na(tl(ge)+j),j=0,ge=0),De.milliseconds=E%1e3,Ve=Qt(E/1e3),De.seconds=Ve%60,Ot=Qt(Ve/60),De.minutes=Ot%60,ci=Qt(Ot/60),De.hours=ci%24,j+=Qt(ci/24),ge+=On=Qt($a(j)),j-=na(tl(On)),fn=Qt(ge/12),ge%=12,De.days=j,De.months=ge,De.years=fn,this},or.clone=function Jl(){return cn(this)},or.get=function kd(E){return E=Ee(E),this.isValid()?this[E+"s"]():NaN},or.milliseconds=Au,or.seconds=$h,or.minutes=Ac,or.hours=Q_,or.days=Sc,or.weeks=function Dd(){return Qt(this.days()/7)},or.months=Yf,or.years=Ic,or.humanize=function Sr(E,j){if(!this.isValid())return this.localeData().invalidDate();var Ve,Ot,ge=!1,De=ms;return"object"==typeof E&&(j=E,E=!1),"boolean"==typeof E&&(ge=E),"object"==typeof j&&(De=Object.assign({},ms,j),null!=j.s&&null==j.ss&&(De.ss=j.s-1)),Ot=function Md(E,j,ge,De){var Ve=cn(E).abs(),Ot=Ms(Ve.as("s")),ci=Ms(Ve.as("m")),fn=Ms(Ve.as("h")),On=Ms(Ve.as("d")),gr=Ms(Ve.as("M")),Xa=Ms(Ve.as("w")),is=Ms(Ve.as("y")),Kr=Ot<=ge.ss&&["s",Ot]||Ot0,Kr[4]=De,Xh.apply(null,Kr)}(this,!ge,De,Ve=this.localeData()),ge&&(Ot=Ve.pastFuture(+this,Ot)),Ve.postformat(Ot)},or.toISOString=Kl,or.toString=Kl,or.toJSON=Kl,or.locale=Io,or.localeData=Oo,or.toIsoString=te("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Kl),or.lang=hs,lt("X",0,0,"unix"),lt("x",0,0,"valueOf"),je("x",Ue),je("X",/[+-]?\d+(\.\d{1,3})?/),Ke("X",function(E,j,ge){ge._d=new Date(1e3*parseFloat(E))}),Ke("x",function(E,j,ge){ge._d=new Date(zt(E))}),e.version="2.29.4",function g(E){f=E}(ji),e.fn=ki,e.min=function la(){return Nr("isBefore",[].slice.call(arguments,0))},e.max=function fr(){return Nr("isAfter",[].slice.call(arguments,0))},e.now=function(){return Date.now?Date.now():+new Date},e.utc=N,e.unix=function _o(E){return ji(1e3*E)},e.months=function be(E,j){return R(E,j,"months")},e.isDate=P,e.locale=xa,e.invalid=z,e.duration=cn,e.isMoment=X,e.weekdays=function We(E,j,ge){return se(E,j,ge,"weekdays")},e.parseZone=function ks(){return ji.apply(null,arguments).parseZone()},e.localeData=Vr,e.isDuration=c,e.monthsShort=function Le(E,j){return R(E,j,"monthsShort")},e.weekdaysMin=function li(E,j,ge){return se(E,j,ge,"weekdaysMin")},e.defineLocale=So,e.updateLocale=function sa(E,j){if(null!=j){var ge,De,Ve=Ja;null!=an[E]&&null!=an[E].parentLocale?an[E].set(xe(an[E]._config,j)):(null!=(De=dr(E))&&(Ve=De._config),j=xe(Ve,j),null==De&&(j.abbr=E),(ge=new Ye(j)).parentLocale=an[E],an[E]=ge),xa(E)}else null!=an[E]&&(null!=an[E].parentLocale?(an[E]=an[E].parentLocale,E===xa()&&xa(E)):null!=an[E]&&delete an[E]);return an[E]},e.locales=function ha(){return Qe(an)},e.weekdaysShort=function Rt(E,j,ge){return se(E,j,ge,"weekdaysShort")},e.normalizeUnits=Ee,e.relativeTimeRounding=function em(E){return void 0===E?Ms:"function"==typeof E&&(Ms=E,!0)},e.relativeTimeThreshold=function Oc(E,j){return void 0!==ms[E]&&(void 0===j?ms[E]:(ms[E]=j,"s"===E&&(ms.ss=j-1),!0))},e.calendarFormat=function re(E,j){var ge=E.diff(j,"days",!0);return ge<-6?"sameElse":ge<-1?"lastWeek":ge<0?"lastDay":ge<1?"sameDay":ge<2?"nextDay":ge<7?"nextWeek":"sameElse"},e.prototype=ki,e.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"},e}()},7024:(Te,O,y)=>{var f="function"==typeof Map&&Map.prototype,e=Object.getOwnPropertyDescriptor&&f?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,g=f&&e&&"function"==typeof e.get?e.get:null,_=f&&Map.prototype.forEach,x="function"==typeof Set&&Set.prototype,k=Object.getOwnPropertyDescriptor&&x?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,F=x&&k&&"function"==typeof k.get?k.get:null,A=x&&Set.prototype.forEach,P="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,S="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,J="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,Z=Boolean.prototype.valueOf,ne=Object.prototype.toString,V=Function.prototype.toString,z=String.prototype.match,ue=String.prototype.slice,fe=String.prototype.replace,$=String.prototype.toUpperCase,Y=String.prototype.toLowerCase,X=RegExp.prototype.test,ie=Array.prototype.concat,te=Array.prototype.join,le=Array.prototype.slice,pe=Math.floor,ae="function"==typeof BigInt?BigInt.prototype.valueOf:null,ke=Object.getOwnPropertySymbols,xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,Ye="function"==typeof Symbol&&"object"==typeof Symbol.iterator,Qe="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol,1)?Symbol.toStringTag:null,Se=Object.prototype.propertyIsEnumerable,nt=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(Dt){return Dt.__proto__}:null);function we(Dt,vt){if(Dt===1/0||Dt===-1/0||Dt!=Dt||Dt&&Dt>-1e3&&Dt<1e3||X.call(/e/,vt))return vt;var Ui=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof Dt){var Ni=Dt<0?-pe(-Dt):pe(Dt);if(Ni!==Dt){var un=String(Ni),mi=ue.call(vt,un.length+1);return fe.call(un,Ui,"$&_")+"."+fe.call(fe.call(mi,/([0-9]{3})/g,"$&_"),/_$/,"")}}return fe.call(vt,Ui,"$&_")}var Ie=y(4654),rt=Ie.custom,Ze=Ct(rt)?rt:null;function Ft(Dt,vt,Ui){var Ni="double"===(Ui.quoteStyle||vt)?'"':"'";return Ni+Dt+Ni}function lt(Dt){return fe.call(String(Dt),/"/g,""")}function qe(Dt){return!("[object Array]"!==Tt(Dt)||Qe&&"object"==typeof Dt&&Qe in Dt)}function Ht(Dt){return!("[object RegExp]"!==Tt(Dt)||Qe&&"object"==typeof Dt&&Qe in Dt)}function Ct(Dt){if(Ye)return Dt&&"object"==typeof Dt&&Dt instanceof Symbol;if("symbol"==typeof Dt)return!0;if(!Dt||"object"!=typeof Dt||!xe)return!1;try{return xe.call(Dt),!0}catch{}return!1}Te.exports=function Dt(vt,Ui,Ni,un){var mi=Ui||{};if(_t(mi,"quoteStyle")&&"single"!==mi.quoteStyle&&"double"!==mi.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(_t(mi,"maxStringLength")&&("number"==typeof mi.maxStringLength?mi.maxStringLength<0&&mi.maxStringLength!==1/0:null!==mi.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var hn=!_t(mi,"customInspect")||mi.customInspect;if("boolean"!=typeof hn&&"symbol"!==hn)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(_t(mi,"indent")&&null!==mi.indent&&"\t"!==mi.indent&&!(parseInt(mi.indent,10)===mi.indent&&mi.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(_t(mi,"numericSeparator")&&"boolean"!=typeof mi.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Mt=mi.numericSeparator;if(typeof vt>"u")return"undefined";if(null===vt)return"null";if("boolean"==typeof vt)return vt?"true":"false";if("string"==typeof vt)return Zt(vt,mi);if("number"==typeof vt){if(0===vt)return 1/0/vt>0?"0":"-0";var Ce=String(vt);return Mt?we(vt,Ce):Ce}if("bigint"==typeof vt){var oe=String(vt)+"n";return Mt?we(vt,oe):oe}var ce=typeof mi.depth>"u"?5:mi.depth;if(typeof Ni>"u"&&(Ni=0),Ni>=ce&&ce>0&&"object"==typeof vt)return qe(vt)?"[Array]":"[Object]";var Re=function vi(Dt,vt){var Ui;if("\t"===Dt.indent)Ui="\t";else{if(!("number"==typeof Dt.indent&&Dt.indent>0))return null;Ui=te.call(Array(Dt.indent+1)," ")}return{base:Ui,prev:te.call(Array(vt+1),Ui)}}(mi,Ni);if(typeof un>"u")un=[];else if(pt(un,vt)>=0)return"[Circular]";function Ue(ui,Ei,Vi){if(Ei&&(un=le.call(un)).push(Ei),Vi){var mn={depth:mi.depth};return _t(mi,"quoteStyle")&&(mn.quoteStyle=mi.quoteStyle),Dt(ui,mn,Ni+1,un)}return Dt(ui,mi,Ni+1,un)}if("function"==typeof vt&&!Ht(vt)){var Wt=function ze(Dt){if(Dt.name)return Dt.name;var vt=z.call(V.call(Dt),/^function\s*([\w$]+)/);return vt?vt[1]:null}(vt),pi=rn(vt,Ue);return"[Function"+(Wt?": "+Wt:" (anonymous)")+"]"+(pi.length>0?" { "+te.call(pi,", ")+" }":"")}if(Ct(vt)){var Kt=Ye?fe.call(String(vt),/^(Symbol\(.*\))_[^)]*$/,"$1"):xe.call(vt);return"object"!=typeof vt||Ye?Kt:Qt(Kt)}if(function At(Dt){return!(!Dt||"object"!=typeof Dt)&&(typeof HTMLElement<"u"&&Dt instanceof HTMLElement||"string"==typeof Dt.nodeName&&"function"==typeof Dt.getAttribute)}(vt)){for(var Ai="<"+Y.call(String(vt.nodeName)),ot=vt.attributes||[],je=0;je"}if(qe(vt)){if(0===vt.length)return"[]";var Oe=rn(vt,Ue);return Re&&!function Di(Dt){for(var vt=0;vt=0)return!1;return!0}(Oe)?"["+ni(Oe,Re)+"]":"[ "+te.call(Oe,", ")+" ]"}if(function ve(Dt){return!("[object Error]"!==Tt(Dt)||Qe&&"object"==typeof Dt&&Qe in Dt)}(vt)){var ct=rn(vt,Ue);return"cause"in Error.prototype||!("cause"in vt)||Se.call(vt,"cause")?0===ct.length?"["+String(vt)+"]":"{ ["+String(vt)+"] "+te.call(ct,", ")+" }":"{ ["+String(vt)+"] "+te.call(ie.call("[cause]: "+Ue(vt.cause),ct),", ")+" }"}if("object"==typeof vt&&hn){if(Ze&&"function"==typeof vt[Ze]&&Ie)return Ie(vt,{depth:ce-Ni});if("symbol"!==hn&&"function"==typeof vt.inspect)return vt.inspect()}if(function kt(Dt){if(!g||!Dt||"object"!=typeof Dt)return!1;try{g.call(Dt);try{F.call(Dt)}catch{return!0}return Dt instanceof Map}catch{}return!1}(vt)){var Je=[];return _.call(vt,function(ui,Ei){Je.push(Ue(Ei,vt,!0)+" => "+Ue(ui,vt))}),wi("Map",g.call(vt),Je,Re)}if(function Xe(Dt){if(!F||!Dt||"object"!=typeof Dt)return!1;try{F.call(Dt);try{g.call(Dt)}catch{return!0}return Dt instanceof Set}catch{}return!1}(vt)){var Nt=[];return A.call(vt,function(ui){Nt.push(Ue(ui,vt))}),wi("Set",F.call(vt),Nt,Re)}if(function et(Dt){if(!P||!Dt||"object"!=typeof Dt)return!1;try{P.call(Dt,P);try{S.call(Dt,S)}catch{return!0}return Dt instanceof WeakMap}catch{}return!1}(vt))return zt("WeakMap");if(function bt(Dt){if(!S||!Dt||"object"!=typeof Dt)return!1;try{S.call(Dt,S);try{P.call(Dt,P)}catch{return!0}return Dt instanceof WeakSet}catch{}return!1}(vt))return zt("WeakSet");if(function Ee(Dt){if(!J||!Dt||"object"!=typeof Dt)return!1;try{return J.call(Dt),!0}catch{}return!1}(vt))return zt("WeakRef");if(function Jt(Dt){return!("[object Number]"!==Tt(Dt)||Qe&&"object"==typeof Dt&&Qe in Dt)}(vt))return Qt(Ue(Number(vt)));if(function ht(Dt){if(!Dt||"object"!=typeof Dt||!ae)return!1;try{return ae.call(Dt),!0}catch{}return!1}(vt))return Qt(Ue(ae.call(vt)));if(function Et(Dt){return!("[object Boolean]"!==Tt(Dt)||Qe&&"object"==typeof Dt&&Qe in Dt)}(vt))return Qt(Z.call(vt));if(function st(Dt){return!("[object String]"!==Tt(Dt)||Qe&&"object"==typeof Dt&&Qe in Dt)}(vt))return Qt(Ue(String(vt)));if(!function ei(Dt){return!("[object Date]"!==Tt(Dt)||Qe&&"object"==typeof Dt&&Qe in Dt)}(vt)&&!Ht(vt)){var Ke=rn(vt,Ue),$e=nt?nt(vt)===Object.prototype:vt instanceof Object||vt.constructor===Object,Ne=vt instanceof Object?"":"null prototype",gt=!$e&&Qe&&Object(vt)===vt&&Qe in vt?ue.call(Tt(vt),8,-1):Ne?"Object":"",ti=($e||"function"!=typeof vt.constructor?"":vt.constructor.name?vt.constructor.name+" ":"")+(gt||Ne?"["+te.call(ie.call([],gt||[],Ne||[]),": ")+"] ":"");return 0===Ke.length?ti+"{}":Re?ti+"{"+ni(Ke,Re)+"}":ti+"{ "+te.call(Ke,", ")+" }"}return String(vt)};var at=Object.prototype.hasOwnProperty||function(Dt){return Dt in this};function _t(Dt,vt){return at.call(Dt,vt)}function Tt(Dt){return ne.call(Dt)}function pt(Dt,vt){if(Dt.indexOf)return Dt.indexOf(vt);for(var Ui=0,Ni=Dt.length;Uivt.maxStringLength){var Ui=Dt.length-vt.maxStringLength,Ni="... "+Ui+" more character"+(Ui>1?"s":"");return Zt(ue.call(Dt,0,vt.maxStringLength),vt)+Ni}return Ft(fe.call(fe.call(Dt,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Vt),"single",vt)}function Vt(Dt){var vt=Dt.charCodeAt(0),Ui={8:"b",9:"t",10:"n",12:"f",13:"r"}[vt];return Ui?"\\"+Ui:"\\x"+(vt<16?"0":"")+$.call(vt.toString(16))}function Qt(Dt){return"Object("+Dt+")"}function zt(Dt){return Dt+" { ? }"}function wi(Dt,vt,Ui,Ni){return Dt+" ("+vt+") {"+(Ni?ni(Ui,Ni):te.call(Ui,", "))+"}"}function ni(Dt,vt){if(0===Dt.length)return"";var Ui="\n"+vt.prev+vt.base;return Ui+te.call(Dt,","+Ui)+"\n"+vt.prev}function rn(Dt,vt){var Ui=qe(Dt),Ni=[];if(Ui){Ni.length=Dt.length;for(var un=0;un=k)return ue;N=x(D),J=[],","===N.slice(-1)?(N=N.replace(P,""),$()):fe()}function fe(){for(x(F),Z="",ne="in descriptor";;){if(V=g.charAt(z),"in descriptor"===ne)if(_(V))Z&&(J.push(Z),Z="",ne="after descriptor");else{if(","===V)return z+=1,Z&&J.push(Z),void $();if("("===V)Z+=V,ne="in parens";else{if(""===V)return Z&&J.push(Z),void $();Z+=V}}else if("in parens"===ne)if(")"===V)Z+=V,ne="in descriptor";else{if(""===V)return J.push(Z),void $();Z+=V}else if("after descriptor"===ne&&!_(V)){if(""===V)return void $();ne="in descriptor",z-=1}z+=1}}function $(){var X,ie,te,le,ae,ke,xe,Ye,Qe,Y=!1,pe={};for(le=0;le-1&&(Tt.onTap(),pt=!0);pt&&(at.stopPropagation&&at.stopPropagation(),le=!0,setTimeout(function(){le=!1},x.features.isOldAndroid?600:30))},xe=function(at,_t,Tt){x[(Tt?"add":"remove")+"Class"](at,"pswp__"+_t)},Ye=function(){var at=1===ie.getNumItemsFn();at!==X&&(xe(P,"ui--one-slide",at),X=at)},Qe=function(){xe(Z,"share-modal--hidden",ne)},Se=function(){return(ne=!ne)?(x.removeClass(Z,"pswp__share-modal--fade-in"),setTimeout(function(){ne&&Qe()},300)):(Qe(),setTimeout(function(){ne||x.addClass(Z,"pswp__share-modal--fade-in")},30)),ne||we(),!1},nt=function(at){var _t=(at=at||window.event).target||at.srcElement;return _.shout("shareLinkClick",at,_t),!(!_t.href||!_t.hasAttribute("download")&&(window.open(_t.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||Se(),1))},we=function(){for(var _t,ze,pt,kt,at="",et=0;et